Commit a35008b
authored
chore: upgrade design system libraries to v34 (#29149)
## **Description**
Upgraded the mobile design system dependencies to the latest MetaMask
design system release (`v34.0.0`).
This updates `@metamask/design-system-react-native` from `^0.17.0` to
`^0.19.0` and `@metamask/design-system-twrnc-preset` from `^0.4.1` to
`^0.4.2`, with the corresponding lockfile updates including
`@metamask/design-system-shared@0.12.0`.
I checked the release notes and migration guide for the April 21, 2026
release and verified that this repo already satisfies the new React
Native peer minimums. I also scanned for the release's documented
breaking-change touchpoints (`HeaderRoot`, `Icon` prop typing, and
`isReactNodeRenderable`) and did not find any required app code changes
for this dependency-only upgrade.
## **Changelog**
CHANGELOG entry: null
## **Related issues**
Fixes:
## **Manual testing steps**
```gherkin
Feature: design system dependency upgrade
Scenario: app builds and existing design system usage remains compatible
Given the app is using the upgraded design system package versions
When the TypeScript checks and app validation are run
Then the dependency update should not require additional source changes
```
## **Screenshots/Recordings**
### **Before**
N/A
### **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
- [ ] I've included tests if applicable
- [ ] I've documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [ ] 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
- [ ] I've tested with a power user scenario
- [ ] I've instrumented key operations with Sentry traces for production
performance metrics
## **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]
> **Medium Risk**
> Upgrades `@metamask/design-system-react-native`/`twrnc-preset`, which
can introduce subtle UI/behavior changes and enforces higher React
Native-related peer minimums; primary risk is build/runtime
compatibility across platforms.
>
> **Overview**
> Upgrades the MetaMask mobile design system dependencies
(`@metamask/design-system-react-native` `0.17.0` → `0.19.0`,
`@metamask/design-system-twrnc-preset` `0.4.1` → `0.4.2`) and updates
the lockfile (including `@metamask/design-system-shared` to `0.12.0` and
newer peer minimums for React
Native/gesture-handler/reanimated/safe-area-context).
>
> Updates several deprecated in-repo component wrappers’ JSDoc to add
direct links to the upstream design system migration guide sections (no
functional code changes in these components).
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
52076e6. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent edf69ec commit a35008b
15 files changed
Lines changed: 36 additions & 23 deletions
File tree
- app/component-library
- components-temp
- ButtonFilter
- Buttons/ButtonHero
- components
- Banners/Banner/foundation/BannerBase
- BottomSheets
- BottomSheetHeader
- BottomSheet
- Buttons
- ButtonIcon
- Button
- foundation/ButtonBase
- variants/ButtonLink
- Checkbox
- Form/TextField
- foundation/Input
- List/ListItem
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments