@metamask/design-system-react 0.4.0 → 0.4.1

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 CHANGED
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.4.1]
11
+
12
+ ### Fixed
13
+
14
+ - Fixed Avatar components shrinking in flex layouts ([#825](https://github.com/MetaMask/metamask-design-system/pull/825))
15
+ - Removed unnecessary peer dependencies ([#828](https://github.com/MetaMask/metamask-design-system/pull/828))
16
+ - Bump @metamask/utils from 11.7.0 to 11.8.0 ([#827](https://github.com/MetaMask/metamask-design-system/pull/827))
17
+
10
18
  ## [0.4.0]
11
19
 
12
20
  ### Added
@@ -79,7 +87,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
79
87
  - Full TypeScript support with type definitions and enums
80
88
  - Tailwind CSS integration with design token support
81
89
 
82
- [Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.4.0...HEAD
90
+ [Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.4.1...HEAD
91
+ [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
83
92
  [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
84
93
  [0.3.1]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.3.0...@metamask/design-system-react@0.3.1
85
94
  [0.3.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-react@0.2.0...@metamask/design-system-react@0.3.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask/design-system-react",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
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/design-system-shared": "^0.1.0",
53
+ "@metamask/design-system-shared": "^0.1.1",
54
54
  "@metamask/jazzicon": "^2.0.0",
55
55
  "@radix-ui/react-slot": "^1.1.0",
56
56
  "blo": "^2.0.0",
@@ -61,8 +61,7 @@
61
61
  "@jest/globals": "^29.7.0",
62
62
  "@metamask/auto-changelog": "^5.0.2",
63
63
  "@metamask/design-system-tailwind-preset": "^0.6.1",
64
- "@metamask/utils": "^11.7.0",
65
- "@solana/addresses": "^2.0.0",
64
+ "@metamask/utils": "^11.8.0",
66
65
  "@storybook/react": "^9.0.17",
67
66
  "@svgr/cli": "^8.1.0",
68
67
  "@testing-library/jest-dom": "^6.6.3",
@@ -72,7 +71,6 @@
72
71
  "@types/node": "^16.18.54",
73
72
  "@types/react": "^18.2.0",
74
73
  "@types/react-dom": "^18.2.0",
75
- "bitcoin-address-validation": ">=2.0.0",
76
74
  "deepmerge": "^4.2.2",
77
75
  "jest": "^29.7.0",
78
76
  "jest-environment-jsdom": "^29.7.0",
@@ -84,12 +82,9 @@
84
82
  "peerDependencies": {
85
83
  "@metamask/design-system-tailwind-preset": "^0.6.0",
86
84
  "@metamask/design-tokens": "^8.1.0",
87
- "@metamask/utils": "^11.7.0",
88
- "@solana/addresses": "^2.0.0",
89
- "bitcoin-address-validation": ">=2.0.0",
85
+ "@metamask/utils": "^11.8.0",
90
86
  "react": "^17.0.0 || ^18.0.0",
91
- "react-dom": "^17.0.0 || ^18.0.0",
92
- "tailwindcss": "^3.0.0"
87
+ "react-dom": "^17.0.0 || ^18.0.0"
93
88
  },
94
89
  "engines": {
95
90
  "node": "^18.18 || >=20"
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=make-props-optional.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"make-props-optional.cjs","sourceRoot":"","sources":["../../src/types/make-props-optional.ts"],"names":[],"mappings":"","sourcesContent":["export type MakePropsOptional<Props> = {\n [K in keyof Props]?: Props[K];\n};\n"]}
@@ -1,4 +0,0 @@
1
- export type MakePropsOptional<Props> = {
2
- [K in keyof Props]?: Props[K];
3
- };
4
- //# sourceMappingURL=make-props-optional.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"make-props-optional.d.cts","sourceRoot":"","sources":["../../src/types/make-props-optional.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,CAAC,KAAK,IAAI;KACpC,CAAC,IAAI,MAAM,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;CAC9B,CAAC"}
@@ -1,4 +0,0 @@
1
- export type MakePropsOptional<Props> = {
2
- [K in keyof Props]?: Props[K];
3
- };
4
- //# sourceMappingURL=make-props-optional.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"make-props-optional.d.mts","sourceRoot":"","sources":["../../src/types/make-props-optional.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,CAAC,KAAK,IAAI;KACpC,CAAC,IAAI,MAAM,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;CAC9B,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=make-props-optional.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"make-props-optional.mjs","sourceRoot":"","sources":["../../src/types/make-props-optional.ts"],"names":[],"mappings":"","sourcesContent":["export type MakePropsOptional<Props> = {\n [K in keyof Props]?: Props[K];\n};\n"]}