Release 35.0.0#1106
Closed
georgewrmarshall wants to merge 5 commits into
Closed
Conversation
Contributor
📖 Storybook Preview |
Contributor
📖 Storybook Preview |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 35.0.0
This release continues the ADR-0003 and ADR-0004 migration across atomic primitives, adds the new React Native
Tagcomponent, and tightens release documentation around the higher-risk breaking changes in theIconandBoxsurfaces.📦 Package Versions
@metamask/design-system-shared: 0.13.0@metamask/design-system-react: 0.18.0@metamask/design-system-react-native: 0.20.0@metamask/design-system-tailwind-preset: 0.6.2🔄 Shared Type Updates (0.13.0)
Icon and Box shared contracts (#1042, #1026, #1053)
What Changed:
IconName,IconSize, andIconColorto@metamask/design-system-sharedas the canonical cross-platform icon contract and asset sourceBoxPropsSharedplus the shared Box const objects as the canonical cross-platform Box contractTagSeverityandTagPropsSharedto support the React NativeTagcomponentBoxBackgroundColorandBoxBorderColor*-Alternativemembers that no longer exist in the token setImpact:
🌐 React Web Updates (0.18.0)
Changed
ButtonTertiaryto usetext-defaultfor its standard text treatment, reducing emphasis for tertiary actions (chore(button): ButtonTertiary uses text-default (web + RN) #1099)IconName,IconSize, andIconColorin@metamask/design-system-shared(chore: centralize Icon types and assets (ADR-0003/ADR-0004) #1042)@metamask/design-system-reactcontinue to workpackages/design-system-react/MIGRATION.md#from-version-0170-to-0180Boxcontracts in@metamask/design-system-sharedand removed staleBoxBackgroundColor/BoxBorderColor*-Alternativemembers (feat(shared): migrate Box to ADR-0003 and ADR-0004 shared types (DSYS-482) #1026)packages/design-system-react/MIGRATION.md#from-version-0170-to-0180📱 React Native Updates (0.20.0)
Added
Tagfor compact status and metadata labeling in React Native layouts, with severity styling and optional start/end icon support (feat: Add Tag component for React Native #1053)Changed
ButtonTertiaryto usetext-defaultfor its standard text treatment, reducing emphasis for tertiary actions (chore(button): ButtonTertiary uses text-default (web + RN) #1099)IconName,IconSize, andIconColorin@metamask/design-system-shared(chore: centralize Icon types and assets (ADR-0003/ADR-0004) #1042)@metamask/design-system-react-nativecontinue to workpackages/design-system-react-native/MIGRATION.md#from-version-0190-to-0200Boxcontracts in@metamask/design-system-sharedand removed staleBoxBackgroundColor/BoxBorderColor*-Alternativemembers (feat(shared): migrate Box to ADR-0003 and ADR-0004 shared types (DSYS-482) #1026)packages/design-system-react-native/MIGRATION.md#from-version-0190-to-0200🎨 Tailwind Preset Updates (0.6.2)
Changed
Shared Icon Contract Centralization (Both Platforms)
What Changed:
IconName,IconSize, andIconColornow come from@metamask/design-system-shared@metamask/design-system-reactand@metamask/design-system-react-nativecontinue to re-export themMigration:
Impact:
Iconis an atomic primitive used broadly across downstream appsShared Box Contract Centralization and Stale Token Removal (Both Platforms)
What Changed:
BoxFlexDirection,BoxFlexWrap,BoxAlignItems,BoxJustifyContent,BoxBackgroundColor,BoxBorderColor,BoxSpacing, andBoxBorderWidthnow come from@metamask/design-system-sharedBoxBackgroundColor.WarningAlternative,BoxBackgroundColor.SuccessAlternative,BoxBorderColor.WarningAlternative,BoxBorderColor.SuccessAlternative, andBoxBorderColor.InfoAlternativewere removedMigration:
Impact:
Boxis a foundational layout primitiveSee migration guides for complete instructions:
✅ Checklist
yarn changelog:validate)0.12.0→0.13.0) - shared type additions and breaking Box contract updates0.17.1→0.18.0) - breaking atomic primitive updates in a pre-1.0 package0.19.0→0.20.0) - breaking atomic primitive updates plus additiveTag0.6.1→0.6.2) - release alignment only, no consumer-facing changesPre-merge author checklist
yarn build && yarn test && yarn lint)yarn changelog:validate)Pre-merge reviewer checklist
Note
Low Risk
Mostly version/changelog updates; no runtime code changes in this diff, but consumers may still be impacted by the documented breaking API surface changes in
Box/Iconcontracts if included in the release set.Overview
Bumps the monorepo to release
35.0.0, updating package versions fordesign-system-shared(0.13.0),design-system-react(0.18.0),design-system-react-native(0.20.0), anddesign-system-tailwind-preset(0.6.2).Updates changelogs to publish the latest release notes (including documented breaking
Icon/Boxcontract alignment and a new React NativeTag), and removes the0.17.0 → 0.18.0section fromdesign-system-react’sMIGRATION.mdwhile leaving its TOC entry.Reviewed by Cursor Bugbot for commit 777605b. Bugbot is set up for automated code reviews on this repo. Configure here.