Skip to content

Release 24.0.0#954

Merged
georgewrmarshall merged 4 commits into
mainfrom
release/24.0.0
Mar 4, 2026
Merged

Release 24.0.0#954
georgewrmarshall merged 4 commits into
mainfrom
release/24.0.0

Conversation

@georgewrmarshall

@georgewrmarshall georgewrmarshall commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Release 24.0.0

This release includes BadgeCount type migration updates and new React Native components.

📦 Package Versions

  • @metamask/design-system-shared: 0.3.0
  • @metamask/design-system-react: 0.10.0
  • @metamask/design-system-react-native: 0.10.0

🔄 Shared + React Type Updates

BadgeCount ADR Migration (#942)

Updated BadgeCount types to follow ADR-0003 and ADR-0004 patterns across shared, React, and React Native packages.

What Changed:

  • BadgeCountSize now uses const-object + string-union typing instead of enum-based typing
  • Shared BadgeCount props/types are centralized in @metamask/design-system-shared
  • Platform packages consume and re-export shared BadgeCount types

Impact:

  • Consistent type architecture across packages
  • Better alignment with design-system ADRs
  • Potentially breaking for enum-specific consumer type usage

📱 React Native Updates (0.10.0)

Added

⚠️ Breaking Changes

✅ Checklist

  • Changelogs updated with human-readable descriptions
  • Changelog validation passed (yarn changelog:validate)
  • Version bumps follow semantic versioning
    • design-system-shared: minor (0.2.0 → 0.3.0)
    • design-system-react: minor (0.9.0 → 0.10.0)
    • design-system-react-native: minor (0.9.0 → 0.10.0)
  • Breaking changes documented with migration guidance
  • PR references included in changelog entries

Note

Low Risk
Changes are limited to version bumps and changelog updates; no runtime code is modified. The main risk is downstream impact from the documented breaking BadgeCount type export migration when consumers upgrade.

Overview
Bumps the monorepo and package versions for the 24.0.0 release (@metamask/design-system-react/react-native to 0.10.0, @metamask/design-system-shared to 0.3.0).

Updates changelogs to publish release notes, including a breaking BadgeCount type export migration to the const-object + string-union pattern and documenting newly added React Native components in 0.10.0.

Written by Cursor Bugbot for commit 6c194fe. This will update automatically on new commits. Configure here.

@georgewrmarshall georgewrmarshall requested a review from a team as a code owner March 4, 2026 00:16
@github-actions

github-actions Bot commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

📖 Storybook Preview


### Changed

- **BREAKING:** Updated `BadgeCount` type exports to use the ADR-0003/ADR-0004 const-object + string-union pattern instead of TypeScript enums ([#942](https://github.com/MetaMask/metamask-design-system/pull/942))

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.

Breaking change is well-documented with concrete examples of the enum-to-const-object migration pattern, including the specific import changes consumers need to make.

- Added `ActionListItem` component for standardized list row actions ([#951](https://github.com/MetaMask/metamask-design-system/pull/951))
- Added `SensitiveText` component for sensitive value display and reveal interactions ([#922](https://github.com/MetaMask/metamask-design-system/pull/922))
- Added `ButtonSemantic` component for semantic intent button variants ([#950](https://github.com/MetaMask/metamask-design-system/pull/950))
- Added `BottomSheetHeader` component for consistent bottom sheet header layouts ([#927](https://github.com/MetaMask/metamask-design-system/pull/927))

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.

Five new components added in this release provide critical UI primitives for mobile applications: action lists, sensitive data display, semantic buttons, hero CTAs, and bottom sheet headers.

{
"name": "@metamask/design-system-react-native",
"version": "0.9.0",
"version": "0.10.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.

Critical dependency relationship: design-system-react and design-system-react-native both consume shared BadgeCount types from design-system-shared v0.3.0, requiring coordinated version bumps across all three packages.


- Added shared `BadgeCount` types and constants for cross-package reuse ([#942](https://github.com/MetaMask/metamask-design-system/pull/942))
- Added `BadgeCountSize` const object and derived `BadgeCountSize` string union type
- Added `BadgeCountPropsShared` as the shared base props contract used by React and React Native implementations

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.

Shared types foundation enables the ADR-0003/ADR-0004 architecture pattern where BadgeCount const objects and types are defined once and reused across both React and React Native packages.

Comment thread package.json
{
"name": "@metamask/metamask-design-system",
"version": "23.0.0",
"version": "24.0.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.

Monorepo root version tracks the release cadence but does not publish to npm. The three published packages (design-system-react, design-system-react-native, design-system-shared) maintain their own semantic versions.

@georgewrmarshall georgewrmarshall self-assigned this Mar 4, 2026
@georgewrmarshall georgewrmarshall enabled auto-merge (squash) March 4, 2026 00:22
@github-actions

github-actions Bot commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

📖 Storybook Preview

@georgewrmarshall georgewrmarshall merged commit 0c7cd78 into main Mar 4, 2026
43 checks passed
@georgewrmarshall georgewrmarshall deleted the release/24.0.0 branch March 4, 2026 18:52
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.

3 participants