Skip to content

Release/39.0.0#1167

Merged
georgewrmarshall merged 3 commits into
mainfrom
release/39.0.0
May 8, 2026
Merged

Release/39.0.0#1167
georgewrmarshall merged 3 commits into
mainfrom
release/39.0.0

Conversation

@brianacnguyen

@brianacnguyen brianacnguyen commented May 8, 2026

Copy link
Copy Markdown
Contributor

Release 39.0.0

This release ships Extension-aligned modal and loading primitives on web, new icons across shared + both platforms, matching Tailwind preset animations, and a breaking follow-up to the React Native Toast API introduced in 0.23.0.

Package versions

  • @metamask/design-tokens: 8.4.0
  • @metamask/design-system-shared: 0.17.0
  • @metamask/design-system-react: 0.22.0
  • @metamask/design-system-react-native: 0.24.0
  • @metamask/design-system-tailwind-preset: 0.8.0
  • @metamask/design-system-twrnc-preset: 0.4.2

Shared updates (0.17.0)

Icon additions (#1157, #1161, #1162, #1163)

What changed

  • Extended shared IconName with ListArrow, Musd, MusdFilled, refreshed Candlestick, and added Group, PieChart, and Predictions.

Impact

  • React and React Native stay aligned on icon names and assets when consuming @metamask/design-system-shared.

React web (0.22.0)

Added

  • Modal and useModalContext for composing modal dialogs (#1136)
  • ModalContent (with ModalContentSize and MODAL_CONTENT_IGNORE_OUTSIDE_CLICK_ATTR) (#1139)
  • Skeleton loading placeholders (#1146)
  • HeaderBase for flexible headers during Extension migration (#1142)
  • Icons: ListArrow, Musd, MusdFilled, Candlestick refresh, Group, PieChart, Predictions (#1157, #1161, #1162, #1163)

React Native (0.24.0)

Added

Changed

  • BREAKING: Toast API tightened after the 0.23.0 Toaster migration (#1143): use toast(...) / toast.dismiss(), rename iconPropsiconAlertProps, remove ToastSeverity.Info, optional hasNoTimeout with auto-dismiss default, close affordance always shown. See React Native migration guide.
  • Expanded HeaderBase migration guidance for Mobile (#1100)

Tailwind preset (0.8.0)

Added

  • animate-skeleton-pulse / skeleton-pulse for design-system Skeleton (#1146)
  • animate-slide-up / slide-up for ModalContent entrance (#1139)

TWRNC preset (0.4.2)

Changed

  • Broadened react peer range to >=18.2.0 for RN 0.76 / React 19 stacks (#844)

Breaking changes

Toast runtime API (React Native only)

What changed

  • toast.showtoast(...); toast.hidetoast.dismiss()
  • iconPropsiconAlertProps
  • ToastSeverity.Info removed
  • hasNoTimeout optional (defaults to timed dismiss)
  • Close control always on surface

Migration

// Before (0.23.x patterns targeted by this follow-up)
toast.show({
  title: 'Saved',
  severity: ToastSeverity.Info,
  iconProps: { testID: 'toast-icon' },
});
toast.hide();

// After (0.24.0)
toast({
  title: 'Saved',
  severity: ToastSeverity.Default,
  iconAlertProps: { testID: 'toast-icon' },
});
toast.dismiss();

Impact

  • Apps already on <Toaster /> from 0.23.0 must adjust call sites that still used toast.show / toast.hide, ToastSeverity.Info, or iconProps.

See Toast version bump section (update the 0.x.0 placeholder heading/TOC to 0.24.0 when you finalize the migration anchor).


✅ Checklist

  • Changelogs updated with human-readable descriptions
  • Changelog validation passed (yarn changelog:validate)
  • Version bumps follow semantic versioning
    • design-system-shared: minor (0.16.0 → 0.17.0) — shared icon set additions and asset fixes
    • design-system-react: minor (0.21.0 → 0.22.0) — extension migration components and icons
    • design-system-react-native: minor (0.23.0 → 0.24.0) — breaking Toast follow-up (refactor: align Toast API with severity and accessory #1143), icons, Musd fix
    • design-system-tailwind-preset: minor (0.7.0 → 0.8.0) — animate-slide-up and animate-skeleton-pulse for ModalContent / Skeleton
    • design-system-twrnc-preset: patch (0.4.1 → 0.4.2) — wider react peer range
  • Breaking changes documented with migration guidance (React Native Toast — see MIGRATION.md link above)
  • Migration guides updated with before/after examples (Toast 0.23 → 0.24)
  • PR references included in changelog entries

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've reviewed the Reviewing Release PRs guide
  • Package versions follow semantic versioning
  • Changelog entries are consumer-facing (not commit message regurgitation)
  • Breaking changes are documented in MIGRATION.md with examples (React Native Toast0.23.0 → 0.24.0)
  • All unreleased changes are accounted for in changelogs

Note

Medium Risk
Primarily a release/version bump, but it changes published package versions and updates peer dependency requirements, which can affect downstream installs. React Native release notes include a breaking Toast API change that consumers must account for when upgrading.

Overview
Bumps the monorepo release to 39.0.0 and increments package versions for @metamask/design-system-react (0.22.0), @metamask/design-system-react-native (0.24.0), @metamask/design-system-shared (0.17.0), and @metamask/design-system-tailwind-preset (0.8.0), updating corresponding changelogs and compare links.

Updates @metamask/design-system-react to require @metamask/design-system-tailwind-preset@^0.8.0 (and aligns yarn.lock). Changelogs capture the release contents, including new modal/skeleton/header additions on web, icon set updates across packages, and a breaking React Native Toast API tightening for Toaster/toast(...) usage.

Reviewed by Cursor Bugbot for commit 4e3ea63. Bugbot is set up for automated code reviews on this repo. Configure here.

@brianacnguyen brianacnguyen self-assigned this May 8, 2026
@brianacnguyen brianacnguyen requested a review from a team as a code owner May 8, 2026 04:10
@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

📖 Storybook Preview

@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

📖 Storybook Preview

@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

📖 Storybook Preview

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit de01749. Configure here.

@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

📖 Storybook Preview

@georgewrmarshall georgewrmarshall left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

package.json and changelogs LGTM! But the PR description isn't accurate it mentions "adds Tailwind CSS v4 integration via @metamask/design-tokens/tailwind/theme.css" which was in the last release. Do you mind updating the PR description to accurately reflect what is in this release

@georgewrmarshall georgewrmarshall merged commit fe9a38f into main May 8, 2026
44 checks passed
@georgewrmarshall georgewrmarshall deleted the release/39.0.0 branch May 8, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants