Skip to content

Release 23.0.0#947

Merged
georgewrmarshall merged 4 commits into
mainfrom
release/23.0.0
Feb 26, 2026
Merged

Release 23.0.0#947
georgewrmarshall merged 4 commits into
mainfrom
release/23.0.0

Conversation

@georgewrmarshall

@georgewrmarshall georgewrmarshall commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

Release 23.0.0

This release includes typography token updates for improved text hierarchy and the new TextField component for React Native.

📦 Package Versions

  • @metamask/design-tokens: 8.2.2
  • @metamask/design-system-react-native: 0.9.0

🎨 Design Token Updates

Typography Scale Refinement (#936)

Updated the typography scale for improved text hierarchy:

What Changed:

  • fontSize.5 increased from 18px to 20px, affecting HeadingMd, SectionHeading, BodyLg, and ButtonLabelLg typography tokens
  • SectionHeading on large screens now uses 24px (up from 20px) to maintain consistent hierarchy with HeadingMd
  • These tokens map to TextVariant.HeadingMd, TextVariant.SectionHeading, TextVariant.BodyLg, and TextVariant.ButtonLabelLg used in the Text component from both @metamask/design-system-react and @metamask/design-system-react-native packages
  • Typography documentation updated to reflect the refined sizes

Impact:

  • Better visual hierarchy for section and page headings
  • Improved consistency across responsive breakpoints
  • More maintainable type scale with fewer similar sizes
  • Affects Text components in both React Web and React Native packages (peer dependency)

Why no React Web version bump?

  • design-tokens is a peer dependency, so consumers control which version they use
  • The React Web component package code itself didn't change
  • Following strict semantic versioning: only packages with code/API changes are bumped

📱 React Native Updates (0.9.0)

Added

  • Added TextField component for text input fields (feat: TextField migration #910)
    • Boxed, press-to-focus wrapper around Input component
    • Supports configurable sizes, optional start/end accessories
    • Includes error and disabled states with custom styling
    • Full accessibility support and comprehensive test coverage

✅ Checklist

  • Changelogs updated with human-readable descriptions
  • Changelog validation passed (yarn changelog:validate)
  • Version bumps follow semantic versioning
    • design-tokens: patch (8.2.1 → 8.2.2) - typography refinement
    • design-system-react-native: minor (0.8.0 → 0.9.0) - new TextField component
    • design-system-react: no bump - component code unchanged, consumes design-tokens as peer dependency
  • No breaking changes
  • PR references included in changelog entries

- Updated design-tokens changelog to describe typography scale changes
- Updated design-system-react-native changelog to describe TextField component
- Updated design-system-react changelog to describe Text variant updates
@georgewrmarshall georgewrmarshall requested a review from a team as a code owner February 26, 2026 19:17
@github-actions

Copy link
Copy Markdown
Contributor

📖 Storybook Preview

### Changed

- Updated typography scale for improved text hierarchy ([#936](https://github.com/MetaMask/metamask-design-system/pull/936))
- `fontSize.5` increased from 18px to 20px, affecting `HeadingMd`, `SectionHeading`, `BodyLg`, and `ButtonLabelLg` typography tokens

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typography scale change affects four specific tokens across all platforms. This impacts HeadingMd and SectionHeading (primary changes), plus BodyLg and ButtonLabelLg which share fontSize.5.


- Updated typography scale for improved text hierarchy ([#936](https://github.com/MetaMask/metamask-design-system/pull/936))
- `fontSize.5` increased from 18px to 20px, affecting `HeadingMd`, `SectionHeading`, `BodyLg`, and `ButtonLabelLg` typography tokens
- `SectionHeading` on large screens now uses 24px (up from 20px) to maintain consistent hierarchy with `HeadingMd`

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Responsive behavior: SectionHeading increases to 24px on large screens to maintain 1:1 relationship with HeadingMd, ensuring consistent implementation logic across breakpoints.

{
"name": "@metamask/design-tokens",
"version": "8.2.1",
"version": "8.2.2",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patch version bump for design-tokens is appropriate: typography size refinement is non-breaking since it only affects visual presentation without changing APIs or component interfaces.

@georgewrmarshall georgewrmarshall self-assigned this Feb 26, 2026

### Added

- Added `TextField` component for text input fields ([#910](https://github.com/MetaMask/metamask-design-system/pull/910))

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TextField component is the primary feature addition justifying the minor version bump. Provides a complete form input solution with press-to-focus behavior, size variants, accessories, and comprehensive state management.

{
"name": "@metamask/design-system-react-native",
"version": "0.8.0",
"version": "0.9.0",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor version bump appropriate for React Native package: new TextField component extends the API surface without breaking existing functionality. Consumers can adopt incrementally.

@georgewrmarshall georgewrmarshall enabled auto-merge (squash) February 26, 2026 19:26
- Keep design-system-react at 0.9.0 since component code didn't change
- Only bump design-tokens for typography changes
- Only bump design-system-react-native for new TextField component
- Updated design-tokens changelog to mention cross-package TextVariant impact
- Updated typography scale for improved text hierarchy ([#936](https://github.com/MetaMask/metamask-design-system/pull/936))
- `fontSize.5` increased from 18px to 20px, affecting `HeadingMd`, `SectionHeading`, `BodyLg`, and `ButtonLabelLg` typography tokens
- `SectionHeading` on large screens now uses 24px (up from 20px) to maintain consistent hierarchy with `HeadingMd`
- These tokens map to `TextVariant.HeadingMd`, `TextVariant.SectionHeading`, `TextVariant.BodyLg`, and `TextVariant.ButtonLabelLg` used in the `Text` component from both `@metamask/design-system-react` and `@metamask/design-system-react-native` packages

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cross-package impact: These typography tokens map directly to TextVariant enums used by the Text component in both react and react-native packages. Since design-tokens is a peer dependency, consumers can upgrade independently without requiring new component package versions.

@github-actions

Copy link
Copy Markdown
Contributor

📖 Storybook Preview

@georgewrmarshall georgewrmarshall merged commit 00b6d5f into main Feb 26, 2026
43 checks passed
@georgewrmarshall georgewrmarshall deleted the release/23.0.0 branch February 26, 2026 20:09
georgewrmarshall added a commit that referenced this pull request Mar 3, 2026
## Release 23.0.0

This release includes typography updates for improved text hierarchy and
the new TextField component for React Native.

### 📦 Package Versions

- `@metamask/design-tokens`: **8.2.2**
- `@metamask/design-system-react`: **0.9.1**  
- `@metamask/design-system-react-native`: **0.9.0**

### 🎨 Design Token Updates

#### Typography Scale Refinement (#936)

Updated the typography scale for improved text hierarchy across all
platforms:

**What Changed:**
- `fontSize.5` increased from 18px to 20px, affecting `HeadingMd`,
`SectionHeading`, `BodyLg`, and `ButtonLabelLg` typography tokens
- `SectionHeading` on large screens now uses 24px (up from 20px) to
maintain consistent hierarchy with `HeadingMd`
- Typography documentation updated to reflect the refined sizes

**Impact:**
- Better visual hierarchy for section and page headings
- Improved consistency across responsive breakpoints
- More maintainable type scale with fewer similar sizes

### ⚛️ React Web Updates (0.9.1)

#### Changed
- Updated `Text` component typography sizes for improved text hierarchy
(#936)
- `TextVariant.HeadingMd` and `TextVariant.SectionHeading` now use 20px
on small screens (up from 18px)
- `TextVariant.SectionHeading` now uses 24px on large screens (up from
20px) for consistent hierarchy with `HeadingMd`
- `TextVariant.BodyLg` and `TextVariant.ButtonLabelLg` also updated to
20px
  - Typography documentation updated for accuracy

### 📱 React Native Updates (0.9.0)

#### Added
- Added `TextField` component for text input fields (#910)
  - Boxed, press-to-focus wrapper around `Input` component
  - Supports configurable sizes, optional start/end accessories
  - Includes error and disabled states with custom styling
  - Full accessibility support and comprehensive test coverage

### ✅ Checklist

- [x] Changelogs updated with human-readable descriptions
- [x] Changelog validation passed (`yarn changelog:validate`)
- [x] Version bumps follow semantic versioning
  - design-tokens: patch (8.2.1 → 8.2.2) - typography refinement
- design-system-react: patch (0.9.0 → 0.9.1) - component update using
new tokens
- design-system-react-native: minor (0.8.0 → 0.9.0) - new TextField
component
- [x] No breaking changes
- [x] PR references included in changelog entries

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Primarily version/changelog updates; the only functional impact
described is typography token/`Text` sizing tweaks and a new RN
`TextField` component, which may affect UI layout but not
security-critical logic.
> 
> **Overview**
> Bumps the monorepo release to `23.0.0` and updates package versions:
`@metamask/design-tokens` `8.2.1`→`8.2.2`,
`@metamask/design-system-react` `0.9.0`→`0.9.1`, and
`@metamask/design-system-react-native` `0.8.0`→`0.9.0`.
> 
> Changelogs are updated to document **typography scale adjustments**
(notably `fontSize.5` 18px→20px and larger `SectionHeading` on large
screens) and the corresponding `Text` variant size updates in React,
plus the addition of a new React Native `TextField` component.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
efba7fa. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants