Skip to content

Commit 801dff0

Browse files
Release 30.0.0 (#1057)
## Release 30.0.0 This release adds the `NoPhotography` icon and continues ADR-0003/ADR-0004 type migrations for `AvatarToken` and `AvatarAccount` across all platforms, plus an internal `IconSize` token alignment in React Native. ### 📦 Package Versions - `@metamask/design-system-shared`: **0.8.0** - `@metamask/design-system-react`: **0.15.0** - `@metamask/design-system-react-native`: **0.15.0** ### 🔄 Shared Type Updates (0.8.0) #### AvatarToken and AvatarAccount Type Additions ([#1009](#1009), [#1015](#1015)) **What Changed:** - Added `AvatarToken` shared types (`AvatarTokenSize`, `AvatarTokenPropsShared`) - Added `AvatarAccount` shared types (`AvatarAccountPropsShared`) **Impact:** - Enables consistent `AvatarToken` and `AvatarAccount` implementations across React and React Native - Continues ADR-0003/ADR-0004 const-object + string-union pattern adoption ### 🌐 React Web Updates (0.15.0) #### Added - Added `NoPhotography` icon ([#1056](#1056)) #### Changed - **BREAKING:** Updated `AvatarToken` and `AvatarAccount` exports to use shared const-object + string-union types (ADR-0003/ADR-0004); normal use is unaffected ([#1009](#1009), [#1015](#1015)) ### 📱 React Native Updates (0.15.0) #### Added - Added `NoPhotography` icon ([#1056](#1056)) #### Changed - **BREAKING:** Updated `IconSize` underlying string values to semantic t-shirt size tokens; normal use is unaffected ([#1049](#1049)) - **BREAKING:** Updated `AvatarToken` and `AvatarAccount` exports to use shared const-object + string-union types (ADR-0003/ADR-0004); normal use is unaffected ([#1009](#1009), [#1015](#1015)) ### ⚠️ Breaking Changes All breaking changes in this release are internal type/value alignment changes. Normal consumer usage is unaffected. ### ✅ Checklist - [x] Changelogs updated with human-readable descriptions - [x] Changelog validation passed (`yarn changelog:validate`) - [x] Version bumps follow semantic versioning - [x] design-system-shared: minor (0.7.0 → 0.8.0) - new shared types added - [x] design-system-react: minor (0.14.0 → 0.15.0) - new icon + type migrations - [x] design-system-react-native: minor (0.14.0 → 0.15.0) - new icon + type migrations - [x] Breaking changes documented in changelogs - [x] PR references included in changelog entries ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) - [x] I've reviewed the [Release Workflow](./.cursor/rules/release-workflow.md) cursor rule - [ ] All tests pass (`yarn build && yarn test && yarn lint`) - [x] Changelog validation passes (`yarn changelog:validate`) ## **Pre-merge reviewer checklist** - [ ] I've reviewed the [Reviewing Release PRs](./docs/reviewing-release-prs.md) guide - [ ] Package versions follow semantic versioning - [ ] Changelog entries are consumer-facing (not commit message regurgitation) - [ ] Breaking changes are documented with examples - [ ] All unreleased changes are accounted for in changelogs <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Only version bumps and changelog updates; no runtime code changes, so risk is low aside from potential downstream impact of publishing new package versions. > > **Overview** > Bumps the monorepo release to `30.0.0` and increments package versions for `@metamask/design-system-react` and `@metamask/design-system-react-native` to `0.15.0`, and `@metamask/design-system-shared` to `0.8.0`. > > Updates the package changelogs to document the new release entries (including `NoPhotography` icon and ADR-0003/ADR-0004 type export migrations, plus React Native `IconSize` token alignment) and advances the `[Unreleased]` compare links accordingly. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit a1d8f0e. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 9f06b06 commit 801dff0

7 files changed

Lines changed: 38 additions & 7 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/metamask-design-system",
3-
"version": "29.0.0",
3+
"version": "30.0.0",
44
"private": true,
55
"description": "The MetaMask Design System monorepo",
66
"repository": {

packages/design-system-react-native/CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.15.0]
11+
12+
### Added
13+
14+
- Added `NoPhotography` icon ([#1056](https://github.com/MetaMask/metamask-design-system/pull/1056))
15+
16+
### Changed
17+
18+
- **BREAKING:** Updated `IconSize` underlying string values to semantic t-shirt size tokens; normal use is unaffected ([#1049](https://github.com/MetaMask/metamask-design-system/pull/1049))
19+
- **BREAKING:** Updated `AvatarToken` and `AvatarAccount` exports to use shared const-object + string-union types (ADR-0003/ADR-0004); normal use is unaffected ([#1009](https://github.com/MetaMask/metamask-design-system/pull/1009), [#1015](https://github.com/MetaMask/metamask-design-system/pull/1015))
20+
1021
## [0.14.0]
1122

1223
### Added
@@ -288,7 +299,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
288299
- Full TypeScript support with type definitions and enums
289300
- React Native integration with TWRNC preset support
290301

291-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.14.0...HEAD
302+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.15.0...HEAD
303+
[0.15.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.14.0...@metamask/design-system-react-native@0.15.0
292304
[0.14.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.13.0...@metamask/design-system-react-native@0.14.0
293305
[0.13.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.12.0...@metamask/design-system-react-native@0.13.0
294306
[0.12.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react-native@0.11.0...@metamask/design-system-react-native@0.12.0

packages/design-system-react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/design-system-react-native",
3-
"version": "0.14.0",
3+
"version": "0.15.0",
44
"description": "Design System React Native",
55
"keywords": [
66
"MetaMask",

packages/design-system-react/CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.15.0]
11+
12+
### Added
13+
14+
- Added `NoPhotography` icon ([#1056](https://github.com/MetaMask/metamask-design-system/pull/1056))
15+
16+
### Changed
17+
18+
- **BREAKING:** Updated `AvatarToken` and `AvatarAccount` exports to use shared const-object + string-union types (ADR-0003/ADR-0004); normal use is unaffected ([#1009](https://github.com/MetaMask/metamask-design-system/pull/1009), [#1015](https://github.com/MetaMask/metamask-design-system/pull/1015))
19+
1020
## [0.14.0]
1121

1222
### Changed
@@ -215,7 +225,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
215225
- Full TypeScript support with type definitions and enums
216226
- Tailwind CSS integration with design token support
217227

218-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.14.0...HEAD
228+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.15.0...HEAD
229+
[0.15.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.14.0...@metamask/design-system-react@0.15.0
219230
[0.14.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.13.0...@metamask/design-system-react@0.14.0
220231
[0.13.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.12.0...@metamask/design-system-react@0.13.0
221232
[0.12.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.11.0...@metamask/design-system-react@0.12.0

packages/design-system-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/design-system-react",
3-
"version": "0.14.0",
3+
"version": "0.15.0",
44
"description": "Design system react ui components",
55
"keywords": [
66
"MetaMask",

packages/design-system-shared/CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.8.0]
11+
12+
### Added
13+
14+
- Added `AvatarToken` shared types (`AvatarTokenSize`, `AvatarTokenPropsShared`) for cross-platform use ([#1009](https://github.com/MetaMask/metamask-design-system/pull/1009))
15+
- Added `AvatarAccount` shared types (`AvatarAccountPropsShared`) for cross-platform use ([#1015](https://github.com/MetaMask/metamask-design-system/pull/1015))
16+
1017
## [0.7.0]
1118

1219
### Added
@@ -87,7 +94,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8794
- **Initial release** - MetaMask Design System Shared
8895
- Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
8996

90-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.7.0...HEAD
97+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.8.0...HEAD
98+
[0.8.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.7.0...@metamask/design-system-shared@0.8.0
9199
[0.7.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.6.0...@metamask/design-system-shared@0.7.0
92100
[0.6.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.5.0...@metamask/design-system-shared@0.6.0
93101
[0.5.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.4.0...@metamask/design-system-shared@0.5.0

packages/design-system-shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/design-system-shared",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"description": "Shared types for design system libraries",
55
"keywords": [
66
"MetaMask",

0 commit comments

Comments
 (0)