chore: upgrade design tokens to v8.2.2#26842
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
The committed fixture schema is out of date. To update, comment: |
2477bd5 to
5ddacfd
Compare
| "@metamask/design-system-react-native": "^0.8.0", | ||
| "@metamask/design-system-twrnc-preset": "^0.3.0", | ||
| "@metamask/design-tokens": "^8.2.1", | ||
| "@metamask/design-tokens": "^8.2.2", |
There was a problem hiding this comment.
The only source code change in this PR is this single version bump. All other file changes in this PR are auto-generated snapshot updates that reflect the downstream effects of this token version change.
| "color": "#131416", | ||
| "fontFamily": "Geist-Bold", | ||
| "fontSize": 18, | ||
| "fontSize": 20, |
There was a problem hiding this comment.
These snapshot updates are auto-generated and reflect a single typography token change introduced in design-tokens v8.2.2: the heading/body text style using Geist-Bold changed from fontSize 18 to fontSize 20. This same change propagates uniformly across all 100+ snapshot files in this PR.
| checksum: 10/2ab9e2c148f55874819c550a2e038c050d906709c33315edd200ddaeb7677b5f121f50fa2f43c06ce94b5fc66b59450c81b8927088721d8ad6ee559cf864f442 | ||
| languageName: node | ||
| linkType: hard | ||
|
|
There was a problem hiding this comment.
The yarn.lock checksum update here is expected and verifies the integrity of the new 8.2.2 package. Reviewers can confirm the version resolves correctly by checking the MetaMask design-system releases linked in the PR description.
5ddacfd to
a68e696
Compare
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Key observations:
The affected components span many areas (Banners, Modals, Settings, Ramps, Stake, Card, Account Connect, Network Selector, etc.), but since E2E tests focus on functional behavior rather than exact styling, no E2E tests are needed to validate this change. The unit test snapshots have already been updated to reflect the new typography values. Performance Test Selection: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #26842 +/- ##
==========================================
+ Coverage 81.32% 81.60% +0.28%
==========================================
Files 4487 4597 +110
Lines 116867 120430 +3563
Branches 25295 26337 +1042
==========================================
+ Hits 95039 98282 +3243
- Misses 15179 15258 +79
- Partials 6649 6890 +241 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|



Description
Upgraded
@metamask/design-tokensfrom^8.2.1to^8.2.2to pull in the latest typography token updates from the design system.References:
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Screens showing
HeadingMdorSectionHeadingBefore / After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk: changes are limited to typography token updates reflected in Jest snapshots (font size changes), with no functional logic changes.
Overview
Updates typography styling to align with the latest
@metamask/design-tokensrelease, primarily increasing heading/labelfontSizevalues from18to20.Regenerates a large set of Jest snapshots across banners and multiple UI flows (e.g., Ramp, Earn, permissions) to match the new rendered text styles.
Written by Cursor Bugbot for commit a68e696. This will update automatically on new commits. Configure here.