Skip to content

Commit 4dd4b2d

Browse files
chore: bumped design-system-react-native to version 0.24.0 (#30073)
## **Description** This pull request bumps `@metamask/design-system-react-native` from `^0.23.0` to `^0.24.0` so the app tracks the latest MetaMask design system for React Native. Yarn resolves `0.24.0`, which also updates the transitive dependency `@metamask/design-system-shared` from `0.16.0` to `0.17.0`. ## **Changelog** CHANGELOG entry: null ## **Related issues** Fixes: N/A ## **Manual testing steps** ```gherkin Feature: Design system dependency upgrade Scenario: App installs and launches with updated design system Given dependencies are installed from the updated lockfile When the developer builds and launches the app on iOS or Android Then the app starts without crashes attributable to the design-system package Scenario: Representative UI still renders Given the user is on a screen that uses @metamask/design-system-react-native components When the user navigates and interacts as usual Then layout and controls behave as before with no obvious visual regressions ``` ## **Screenshots/Recordings** ### **Before** N/A — dependency version bump only; no UI change is required by this PR. ### **After** N/A ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I've included tests if applicable - [x] I've documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I've applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. #### Performance checks (if applicable) - [ ] I've tested on Android - Ideally on a mid-range device; emulator is acceptable - [ ] I've tested with a power user scenario - Use these [power-user SRPs](https://consensyssoftware.atlassian.net/wiki/spaces/TL1/pages/edit-v2/401401446401?draftShareId=9d77e1e1-4bdc-4be1-9ebb-ccd916988d93) to import wallets with many accounts and tokens - [ ] I've instrumented key operations with Sentry traces for production performance metrics - See [`trace()`](/app/util/trace.ts) for usage and [`addToken`](/app/components/Views/AddAsset/components/AddCustomToken/AddCustomToken.tsx#L274) for an example ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk dependency bump, but it can introduce UI/behavior regressions in components that consume the design system at runtime. > > **Overview** > Updates the app’s MetaMask React Native design system dependency from `@metamask/design-system-react-native@^0.23.0` to `^0.24.0`. > > Refreshes `yarn.lock` to resolve `@metamask/design-system-react-native@0.24.0` and its updated transitive `@metamask/design-system-shared` requirement (`^0.17.0`). > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 0575d93. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 0fe8aaa commit 4dd4b2d

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
"@metamask/core-backend": "^6.3.0",
260260
"@metamask/delegation-controller": "^2.0.2",
261261
"@metamask/delegation-deployments": "^1.0.0",
262-
"@metamask/design-system-react-native": "^0.23.0",
262+
"@metamask/design-system-react-native": "^0.24.0",
263263
"@metamask/design-system-twrnc-preset": "^0.4.2",
264264
"@metamask/design-tokens": "^8.4.0",
265265
"@metamask/earn-controller": "^12.1.0",

yarn.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8303,11 +8303,11 @@ __metadata:
83038303
languageName: node
83048304
linkType: hard
83058305

8306-
"@metamask/design-system-react-native@npm:^0.23.0":
8307-
version: 0.23.0
8308-
resolution: "@metamask/design-system-react-native@npm:0.23.0"
8306+
"@metamask/design-system-react-native@npm:^0.24.0":
8307+
version: 0.24.0
8308+
resolution: "@metamask/design-system-react-native@npm:0.24.0"
83098309
dependencies:
8310-
"@metamask/design-system-shared": "npm:^0.16.0"
8310+
"@metamask/design-system-shared": "npm:^0.17.0"
83118311
fast-text-encoding: "npm:^1.0.6"
83128312
react-native-jazzicon: "npm:^0.1.2"
83138313
peerDependencies:
@@ -8320,18 +8320,18 @@ __metadata:
83208320
react-native-gesture-handler: ">=2.25.0"
83218321
react-native-reanimated: ">=3.17.0"
83228322
react-native-safe-area-context: ">=5.0.0"
8323-
checksum: 10/76c88e0cb8e263361eeb53b63c90dfc6718502012cc00cc76c18d2ec5e70520b63717ed66c03103c7846f8405934a15cb91e571e87eaa2255963c6657953a270
8323+
checksum: 10/fb7c4d525077511e0557f2c581e8e99449ab16f0153ea9cc56a4de4d8e2c4aa62af663f72e7dfc3efce0df7f8073c54711c358023968904f114abe6781027065
83248324
languageName: node
83258325
linkType: hard
83268326

8327-
"@metamask/design-system-shared@npm:^0.16.0":
8328-
version: 0.16.0
8329-
resolution: "@metamask/design-system-shared@npm:0.16.0"
8327+
"@metamask/design-system-shared@npm:^0.17.0":
8328+
version: 0.17.0
8329+
resolution: "@metamask/design-system-shared@npm:0.17.0"
83308330
dependencies:
83318331
"@metamask/utils": "npm:^11.11.0"
83328332
peerDependencies:
83338333
react: ^17.0.0 || ^18.0.0 || ^19.0.0
8334-
checksum: 10/3311b3ac9c2e24eb39d6fac9df34e2c2d2390e189ca1a71e335ea7a49f8bc423e2bc4676ce26b1a37e78f27b6ec8178016930c288711f363ca18cdff0a0d44be
8334+
checksum: 10/168af1fe87414eec9e12f31cea7d9c6081b0671dd6752b3fb4e57311384a2a59f4fd795bc883923d4a2b59162cdae7cdbcdfc3b6ad1bdb432c1f75c6a7b40341
83358335
languageName: node
83368336
linkType: hard
83378337

@@ -35344,7 +35344,7 @@ __metadata:
3534435344
"@metamask/core-backend": "npm:^6.3.0"
3534535345
"@metamask/delegation-controller": "npm:^2.0.2"
3534635346
"@metamask/delegation-deployments": "npm:^1.0.0"
35347-
"@metamask/design-system-react-native": "npm:^0.23.0"
35347+
"@metamask/design-system-react-native": "npm:^0.24.0"
3534835348
"@metamask/design-system-twrnc-preset": "npm:^0.4.2"
3534935349
"@metamask/design-tokens": "npm:^8.4.0"
3535035350
"@metamask/earn-controller": "npm:^12.1.0"

0 commit comments

Comments
 (0)