@metamask-previews/design-system-react 0.5.0-preview.c47bb52 → 0.6.0-preview.0abe95c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.6.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add `ButtonHero` component for prominent call-to-action buttons in hero sections and landing pages ([#843](https://github.com/MetaMask/metamask-design-system/pull/843))
|
|
15
|
+
- Extends base Button component with all standard `ButtonBase` props (`variant`, `size`, `disabled`, etc.) plus additional styling optimized for large, attention-grabbing CTAs
|
|
16
|
+
- Import and use like standard Button: `import { ButtonHero } from '@metamask/design-system-react'`
|
|
17
|
+
- Provides consistent, accessible hero button pattern across MetaMask applications
|
|
18
|
+
- Fully typed with `ButtonHeroProps` interface
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Updated `@metamask/utils` peer dependency from 11.8.0 to 11.8.1 ([#838](https://github.com/MetaMask/metamask-design-system/pull/838))
|
|
23
|
+
|
|
10
24
|
## [0.5.0]
|
|
11
25
|
|
|
12
26
|
### Added
|
|
@@ -95,7 +109,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
95
109
|
- Full TypeScript support with type definitions and enums
|
|
96
110
|
- Tailwind CSS integration with design token support
|
|
97
111
|
|
|
98
|
-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.
|
|
112
|
+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.6.0...HEAD
|
|
113
|
+
[0.6.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.5.0...@metamask/design-system-react@0.6.0
|
|
99
114
|
[0.5.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.4.1...@metamask/design-system-react@0.5.0
|
|
100
115
|
[0.4.1]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.4.0...@metamask/design-system-react@0.4.1
|
|
101
116
|
[0.4.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.3.1...@metamask/design-system-react@0.4.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/design-system-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0-preview.0abe95c",
|
|
4
4
|
"description": "Design system react ui components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@metamask-previews/design-system-shared": "0.1.1-preview.
|
|
53
|
+
"@metamask-previews/design-system-shared": "0.1.1-preview.0abe95c",
|
|
54
54
|
"@metamask/jazzicon": "^2.0.0",
|
|
55
55
|
"@radix-ui/react-slot": "^1.1.0",
|
|
56
56
|
"blo": "^2.0.0",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@figma/code-connect": "^1.0.0",
|
|
61
61
|
"@jest/globals": "^29.7.0",
|
|
62
|
-
"@metamask-previews/design-system-tailwind-preset": "0.6.1-preview.
|
|
62
|
+
"@metamask-previews/design-system-tailwind-preset": "0.6.1-preview.0abe95c",
|
|
63
63
|
"@metamask/auto-changelog": "^5.3.0",
|
|
64
|
-
"@metamask/utils": "^11.
|
|
65
|
-
"@storybook/react": "^9.
|
|
64
|
+
"@metamask/utils": "^11.9.0",
|
|
65
|
+
"@storybook/react": "^9.1.17",
|
|
66
66
|
"@svgr/cli": "^8.1.0",
|
|
67
67
|
"@testing-library/jest-dom": "^6.6.3",
|
|
68
68
|
"@testing-library/react": "^16.0.1",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"peerDependencies": {
|
|
84
84
|
"@metamask/design-system-tailwind-preset": "^0.6.0",
|
|
85
85
|
"@metamask/design-tokens": "^8.1.0",
|
|
86
|
-
"@metamask/utils": "^11.
|
|
86
|
+
"@metamask/utils": "^11.9.0",
|
|
87
87
|
"react": "^17.0.0 || ^18.0.0",
|
|
88
88
|
"react-dom": "^17.0.0 || ^18.0.0"
|
|
89
89
|
},
|