@metamask-previews/design-system-shared 0.20.0-preview.f5c2542 → 0.23.0-preview.0a4d6f8
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 +45 -1
- package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.cjs +7 -0
- package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.cjs.map +1 -0
- package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.d.cts +11 -0
- package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.d.cts.map +1 -0
- package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.d.mts +11 -0
- package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.d.mts.map +1 -0
- package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.mjs +4 -0
- package/dist/contexts/FilterButtonGroup/FilterButtonGroup.context.mjs.map +1 -0
- package/dist/contexts/FilterButtonGroup/index.cjs +6 -0
- package/dist/contexts/FilterButtonGroup/index.cjs.map +1 -0
- package/dist/contexts/FilterButtonGroup/index.d.cts +2 -0
- package/dist/contexts/FilterButtonGroup/index.d.cts.map +1 -0
- package/dist/contexts/FilterButtonGroup/index.d.mts +2 -0
- package/dist/contexts/FilterButtonGroup/index.d.mts.map +1 -0
- package/dist/contexts/FilterButtonGroup/index.mjs +2 -0
- package/dist/contexts/FilterButtonGroup/index.mjs.map +1 -0
- package/dist/index.cjs +19 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -4
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +12 -4
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +9 -4
- package/dist/index.mjs.map +1 -1
- package/dist/types/AvatarIcon/AvatarIcon.types.cjs +2 -2
- package/dist/types/AvatarIcon/AvatarIcon.types.cjs.map +1 -1
- package/dist/types/AvatarIcon/AvatarIcon.types.d.cts +3 -3
- package/dist/types/AvatarIcon/AvatarIcon.types.d.mts +3 -3
- package/dist/types/AvatarIcon/AvatarIcon.types.mjs +2 -2
- package/dist/types/AvatarIcon/AvatarIcon.types.mjs.map +1 -1
- package/dist/types/AvatarNetwork/AvatarNetwork.types.cjs +3 -0
- package/dist/types/AvatarNetwork/AvatarNetwork.types.cjs.map +1 -1
- package/dist/types/AvatarNetwork/AvatarNetwork.types.d.cts +16 -3
- package/dist/types/AvatarNetwork/AvatarNetwork.types.d.cts.map +1 -1
- package/dist/types/AvatarNetwork/AvatarNetwork.types.d.mts +16 -3
- package/dist/types/AvatarNetwork/AvatarNetwork.types.d.mts.map +1 -1
- package/dist/types/AvatarNetwork/AvatarNetwork.types.mjs +2 -1
- package/dist/types/AvatarNetwork/AvatarNetwork.types.mjs.map +1 -1
- package/dist/types/AvatarNetwork/index.cjs +3 -0
- package/dist/types/AvatarNetwork/index.cjs.map +1 -1
- package/dist/types/AvatarNetwork/index.d.cts +1 -1
- package/dist/types/AvatarNetwork/index.d.cts.map +1 -1
- package/dist/types/AvatarNetwork/index.d.mts +1 -1
- package/dist/types/AvatarNetwork/index.d.mts.map +1 -1
- package/dist/types/AvatarNetwork/index.mjs +1 -1
- package/dist/types/AvatarNetwork/index.mjs.map +1 -1
- package/dist/types/Content/Content.types.cjs.map +1 -1
- package/dist/types/Content/Content.types.d.cts +0 -20
- package/dist/types/Content/Content.types.d.cts.map +1 -1
- package/dist/types/Content/Content.types.d.mts +0 -20
- package/dist/types/Content/Content.types.d.mts.map +1 -1
- package/dist/types/Content/Content.types.mjs.map +1 -1
- package/dist/types/{SegmentButton/SegmentButton.types.cjs → FilterButton/FilterButton.types.cjs} +4 -4
- package/dist/types/FilterButton/FilterButton.types.cjs.map +1 -0
- package/dist/types/FilterButton/FilterButton.types.d.cts +31 -0
- package/dist/types/FilterButton/FilterButton.types.d.cts.map +1 -0
- package/dist/types/FilterButton/FilterButton.types.d.mts +31 -0
- package/dist/types/FilterButton/FilterButton.types.d.mts.map +1 -0
- package/dist/types/{SegmentButton/SegmentButton.types.mjs → FilterButton/FilterButton.types.mjs} +3 -3
- package/dist/types/FilterButton/FilterButton.types.mjs.map +1 -0
- package/dist/types/FilterButton/index.cjs +6 -0
- package/dist/types/FilterButton/index.cjs.map +1 -0
- package/dist/types/FilterButton/index.d.cts +2 -0
- package/dist/types/FilterButton/index.d.cts.map +1 -0
- package/dist/types/FilterButton/index.d.mts +2 -0
- package/dist/types/FilterButton/index.d.mts.map +1 -0
- package/dist/types/FilterButton/index.mjs +2 -0
- package/dist/types/FilterButton/index.mjs.map +1 -0
- package/dist/types/FilterButtonGroup/FilterButtonGroup.types.cjs +3 -0
- package/dist/types/FilterButtonGroup/FilterButtonGroup.types.cjs.map +1 -0
- package/dist/types/FilterButtonGroup/FilterButtonGroup.types.d.cts +20 -0
- package/dist/types/FilterButtonGroup/FilterButtonGroup.types.d.cts.map +1 -0
- package/dist/types/FilterButtonGroup/FilterButtonGroup.types.d.mts +20 -0
- package/dist/types/FilterButtonGroup/FilterButtonGroup.types.d.mts.map +1 -0
- package/dist/types/FilterButtonGroup/FilterButtonGroup.types.mjs +2 -0
- package/dist/types/FilterButtonGroup/FilterButtonGroup.types.mjs.map +1 -0
- package/dist/types/FilterButtonGroup/index.cjs.map +1 -0
- package/dist/types/FilterButtonGroup/index.d.cts +2 -0
- package/dist/types/FilterButtonGroup/index.d.cts.map +1 -0
- package/dist/types/FilterButtonGroup/index.d.mts +2 -0
- package/dist/types/FilterButtonGroup/index.d.mts.map +1 -0
- package/dist/types/FilterButtonGroup/index.mjs.map +1 -0
- package/dist/types/Icon/Icon.types.cjs +1 -0
- package/dist/types/Icon/Icon.types.cjs.map +1 -1
- package/dist/types/Icon/Icon.types.d.cts +1 -0
- package/dist/types/Icon/Icon.types.d.cts.map +1 -1
- package/dist/types/Icon/Icon.types.d.mts +1 -0
- package/dist/types/Icon/Icon.types.d.mts.map +1 -1
- package/dist/types/Icon/Icon.types.mjs +1 -0
- package/dist/types/Icon/Icon.types.mjs.map +1 -1
- package/dist/types/IconAlert/IconAlert.types.cjs +2 -2
- package/dist/types/IconAlert/IconAlert.types.cjs.map +1 -1
- package/dist/types/IconAlert/IconAlert.types.d.cts +2 -2
- package/dist/types/IconAlert/IconAlert.types.d.mts +2 -2
- package/dist/types/IconAlert/IconAlert.types.mjs +2 -2
- package/dist/types/IconAlert/IconAlert.types.mjs.map +1 -1
- package/dist/types/{SegmentGroup/SegmentGroup.types.cjs → ListItem/ListItem.types.cjs} +1 -1
- package/dist/types/ListItem/ListItem.types.cjs.map +1 -0
- package/dist/types/ListItem/ListItem.types.d.cts +31 -0
- package/dist/types/ListItem/ListItem.types.d.cts.map +1 -0
- package/dist/types/ListItem/ListItem.types.d.mts +31 -0
- package/dist/types/ListItem/ListItem.types.d.mts.map +1 -0
- package/dist/types/ListItem/ListItem.types.mjs +2 -0
- package/dist/types/ListItem/ListItem.types.mjs.map +1 -0
- package/dist/types/ListItem/index.cjs +3 -0
- package/dist/types/ListItem/index.cjs.map +1 -0
- package/dist/types/ListItem/index.d.cts +2 -0
- package/dist/types/ListItem/index.d.cts.map +1 -0
- package/dist/types/ListItem/index.d.mts +2 -0
- package/dist/types/ListItem/index.d.mts.map +1 -0
- package/dist/types/ListItem/index.mjs +2 -0
- package/dist/types/ListItem/index.mjs.map +1 -0
- package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.cjs +3 -0
- package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.cjs.map +1 -0
- package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.d.cts +11 -0
- package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.d.cts.map +1 -0
- package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.d.mts +11 -0
- package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.d.mts.map +1 -0
- package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.mjs +2 -0
- package/dist/types/ListItemMultiSelect/ListItemMultiSelect.types.mjs.map +1 -0
- package/dist/types/ListItemMultiSelect/index.cjs +3 -0
- package/dist/types/ListItemMultiSelect/index.cjs.map +1 -0
- package/dist/types/ListItemMultiSelect/index.d.cts +2 -0
- package/dist/types/ListItemMultiSelect/index.d.cts.map +1 -0
- package/dist/types/ListItemMultiSelect/index.d.mts +2 -0
- package/dist/types/ListItemMultiSelect/index.d.mts.map +1 -0
- package/dist/types/ListItemMultiSelect/index.mjs +2 -0
- package/dist/types/ListItemMultiSelect/index.mjs.map +1 -0
- package/dist/types/ListItemSelect/ListItemSelect.types.cjs +3 -0
- package/dist/types/ListItemSelect/ListItemSelect.types.cjs.map +1 -0
- package/dist/types/ListItemSelect/ListItemSelect.types.d.cts +16 -0
- package/dist/types/ListItemSelect/ListItemSelect.types.d.cts.map +1 -0
- package/dist/types/ListItemSelect/ListItemSelect.types.d.mts +16 -0
- package/dist/types/ListItemSelect/ListItemSelect.types.d.mts.map +1 -0
- package/dist/types/ListItemSelect/ListItemSelect.types.mjs +2 -0
- package/dist/types/ListItemSelect/ListItemSelect.types.mjs.map +1 -0
- package/dist/types/ListItemSelect/index.cjs +3 -0
- package/dist/types/ListItemSelect/index.cjs.map +1 -0
- package/dist/types/ListItemSelect/index.d.cts +2 -0
- package/dist/types/ListItemSelect/index.d.cts.map +1 -0
- package/dist/types/ListItemSelect/index.d.mts +2 -0
- package/dist/types/ListItemSelect/index.d.mts.map +1 -0
- package/dist/types/ListItemSelect/index.mjs +2 -0
- package/dist/types/ListItemSelect/index.mjs.map +1 -0
- package/dist/types/SegmentedControl/SegmentedControl.types.cjs +3 -0
- package/dist/types/SegmentedControl/SegmentedControl.types.cjs.map +1 -0
- package/dist/types/SegmentedControl/SegmentedControl.types.d.cts +28 -0
- package/dist/types/SegmentedControl/SegmentedControl.types.d.cts.map +1 -0
- package/dist/types/SegmentedControl/SegmentedControl.types.d.mts +28 -0
- package/dist/types/SegmentedControl/SegmentedControl.types.d.mts.map +1 -0
- package/dist/types/SegmentedControl/SegmentedControl.types.mjs +2 -0
- package/dist/types/SegmentedControl/SegmentedControl.types.mjs.map +1 -0
- package/dist/types/SegmentedControl/index.cjs +3 -0
- package/dist/types/SegmentedControl/index.cjs.map +1 -0
- package/dist/types/SegmentedControl/index.d.cts +2 -0
- package/dist/types/SegmentedControl/index.d.cts.map +1 -0
- package/dist/types/SegmentedControl/index.d.mts +2 -0
- package/dist/types/SegmentedControl/index.d.mts.map +1 -0
- package/dist/types/SegmentedControl/index.mjs +2 -0
- package/dist/types/SegmentedControl/index.mjs.map +1 -0
- package/dist/types/Switch/Switch.types.cjs +3 -0
- package/dist/types/Switch/Switch.types.cjs.map +1 -0
- package/dist/types/Switch/Switch.types.d.cts +23 -0
- package/dist/types/Switch/Switch.types.d.cts.map +1 -0
- package/dist/types/Switch/Switch.types.d.mts +23 -0
- package/dist/types/Switch/Switch.types.d.mts.map +1 -0
- package/dist/types/Switch/Switch.types.mjs +2 -0
- package/dist/types/Switch/Switch.types.mjs.map +1 -0
- package/dist/types/Switch/index.cjs +3 -0
- package/dist/types/Switch/index.cjs.map +1 -0
- package/dist/types/Switch/index.d.cts +2 -0
- package/dist/types/Switch/index.d.cts.map +1 -0
- package/dist/types/Switch/index.d.mts +2 -0
- package/dist/types/Switch/index.d.mts.map +1 -0
- package/dist/types/Switch/index.mjs +2 -0
- package/dist/types/Switch/index.mjs.map +1 -0
- package/dist/types/Tag/Tag.types.cjs +1 -1
- package/dist/types/Tag/Tag.types.cjs.map +1 -1
- package/dist/types/Tag/Tag.types.d.cts +1 -1
- package/dist/types/Tag/Tag.types.d.mts +1 -1
- package/dist/types/Tag/Tag.types.mjs +1 -1
- package/dist/types/Tag/Tag.types.mjs.map +1 -1
- package/dist/types/TextArea/TextArea.types.cjs.map +1 -1
- package/dist/types/TextArea/TextArea.types.d.cts +0 -3
- package/dist/types/TextArea/TextArea.types.d.cts.map +1 -1
- package/dist/types/TextArea/TextArea.types.d.mts +0 -3
- package/dist/types/TextArea/TextArea.types.d.mts.map +1 -1
- package/dist/types/TextArea/TextArea.types.mjs.map +1 -1
- package/dist/types/TextButton/TextButton.types.cjs +3 -0
- package/dist/types/TextButton/TextButton.types.cjs.map +1 -0
- package/dist/types/TextButton/TextButton.types.d.cts +12 -0
- package/dist/types/TextButton/TextButton.types.d.cts.map +1 -0
- package/dist/types/TextButton/TextButton.types.d.mts +12 -0
- package/dist/types/TextButton/TextButton.types.d.mts.map +1 -0
- package/dist/types/TextButton/TextButton.types.mjs +2 -0
- package/dist/types/TextButton/TextButton.types.mjs.map +1 -0
- package/dist/types/TextButton/index.cjs +3 -0
- package/dist/types/TextButton/index.cjs.map +1 -0
- package/dist/types/TextButton/index.d.cts +2 -0
- package/dist/types/TextButton/index.d.cts.map +1 -0
- package/dist/types/TextButton/index.d.mts +2 -0
- package/dist/types/TextButton/index.d.mts.map +1 -0
- package/dist/types/TextButton/index.mjs +2 -0
- package/dist/types/TextButton/index.mjs.map +1 -0
- package/dist/types/Toast/Toast.constants.cjs +8 -0
- package/dist/types/Toast/Toast.constants.cjs.map +1 -0
- package/dist/types/Toast/Toast.constants.d.cts +3 -0
- package/dist/types/Toast/Toast.constants.d.cts.map +1 -0
- package/dist/types/Toast/Toast.constants.d.mts +3 -0
- package/dist/types/Toast/Toast.constants.d.mts.map +1 -0
- package/dist/types/Toast/Toast.constants.mjs +5 -0
- package/dist/types/Toast/Toast.constants.mjs.map +1 -0
- package/dist/types/Toast/index.cjs +4 -1
- package/dist/types/Toast/index.cjs.map +1 -1
- package/dist/types/Toast/index.d.cts +1 -0
- package/dist/types/Toast/index.d.cts.map +1 -1
- package/dist/types/Toast/index.d.mts +1 -0
- package/dist/types/Toast/index.d.mts.map +1 -1
- package/dist/types/Toast/index.mjs +1 -0
- package/dist/types/Toast/index.mjs.map +1 -1
- package/dist/utils/merge-tw-class-name.cjs +23 -0
- package/dist/utils/merge-tw-class-name.cjs.map +1 -0
- package/dist/utils/merge-tw-class-name.d.cts +19 -0
- package/dist/utils/merge-tw-class-name.d.cts.map +1 -0
- package/dist/utils/merge-tw-class-name.d.mts +19 -0
- package/dist/utils/merge-tw-class-name.d.mts.map +1 -0
- package/dist/utils/merge-tw-class-name.mjs +19 -0
- package/dist/utils/merge-tw-class-name.mjs.map +1 -0
- package/package.json +2 -2
- package/dist/contexts/SegmentGroup/SegmentGroup.context.cjs +0 -7
- package/dist/contexts/SegmentGroup/SegmentGroup.context.cjs.map +0 -1
- package/dist/contexts/SegmentGroup/SegmentGroup.context.d.cts +0 -8
- package/dist/contexts/SegmentGroup/SegmentGroup.context.d.cts.map +0 -1
- package/dist/contexts/SegmentGroup/SegmentGroup.context.d.mts +0 -8
- package/dist/contexts/SegmentGroup/SegmentGroup.context.d.mts.map +0 -1
- package/dist/contexts/SegmentGroup/SegmentGroup.context.mjs +0 -4
- package/dist/contexts/SegmentGroup/SegmentGroup.context.mjs.map +0 -1
- package/dist/contexts/SegmentGroup/index.cjs +0 -6
- package/dist/contexts/SegmentGroup/index.cjs.map +0 -1
- package/dist/contexts/SegmentGroup/index.d.cts +0 -2
- package/dist/contexts/SegmentGroup/index.d.cts.map +0 -1
- package/dist/contexts/SegmentGroup/index.d.mts +0 -2
- package/dist/contexts/SegmentGroup/index.d.mts.map +0 -1
- package/dist/contexts/SegmentGroup/index.mjs +0 -2
- package/dist/contexts/SegmentGroup/index.mjs.map +0 -1
- package/dist/types/SegmentButton/SegmentButton.types.cjs.map +0 -1
- package/dist/types/SegmentButton/SegmentButton.types.d.cts +0 -31
- package/dist/types/SegmentButton/SegmentButton.types.d.cts.map +0 -1
- package/dist/types/SegmentButton/SegmentButton.types.d.mts +0 -31
- package/dist/types/SegmentButton/SegmentButton.types.d.mts.map +0 -1
- package/dist/types/SegmentButton/SegmentButton.types.mjs.map +0 -1
- package/dist/types/SegmentButton/index.cjs +0 -6
- package/dist/types/SegmentButton/index.cjs.map +0 -1
- package/dist/types/SegmentButton/index.d.cts +0 -2
- package/dist/types/SegmentButton/index.d.cts.map +0 -1
- package/dist/types/SegmentButton/index.d.mts +0 -2
- package/dist/types/SegmentButton/index.d.mts.map +0 -1
- package/dist/types/SegmentButton/index.mjs +0 -2
- package/dist/types/SegmentButton/index.mjs.map +0 -1
- package/dist/types/SegmentGroup/SegmentGroup.types.cjs.map +0 -1
- package/dist/types/SegmentGroup/SegmentGroup.types.d.cts +0 -20
- package/dist/types/SegmentGroup/SegmentGroup.types.d.cts.map +0 -1
- package/dist/types/SegmentGroup/SegmentGroup.types.d.mts +0 -20
- package/dist/types/SegmentGroup/SegmentGroup.types.d.mts.map +0 -1
- package/dist/types/SegmentGroup/SegmentGroup.types.mjs +0 -2
- package/dist/types/SegmentGroup/SegmentGroup.types.mjs.map +0 -1
- package/dist/types/SegmentGroup/index.cjs.map +0 -1
- package/dist/types/SegmentGroup/index.d.cts +0 -2
- package/dist/types/SegmentGroup/index.d.cts.map +0 -1
- package/dist/types/SegmentGroup/index.d.mts +0 -2
- package/dist/types/SegmentGroup/index.d.mts.map +0 -1
- package/dist/types/SegmentGroup/index.mjs.map +0 -1
- /package/dist/types/{SegmentGroup → FilterButtonGroup}/index.cjs +0 -0
- /package/dist/types/{SegmentGroup → FilterButtonGroup}/index.mjs +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,47 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.23.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Added `SwitchPropsShared` for cross-platform `Switch` support ([#1022](https://github.com/MetaMask/metamask-design-system/pull/1022))
|
|
15
|
+
- Added `SegmentedControlPropsShared` for cross-platform `SegmentedControl` support ([#1242](https://github.com/MetaMask/metamask-design-system/pull/1242))
|
|
16
|
+
- Added `ListItemSelectPropsShared` and `ListItemMultiSelectPropsShared` for cross-platform list selection rows ([#1230](https://github.com/MetaMask/metamask-design-system/pull/1230))
|
|
17
|
+
- Added `Trophy` to `IconName` ([#1235](https://github.com/MetaMask/metamask-design-system/pull/1235))
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- Added `accessoryGap` to `ListItemPropsShared` to control spacing between row accessories and inner content ([#1232](https://github.com/MetaMask/metamask-design-system/pull/1232))
|
|
22
|
+
- **BREAKING:** Renamed `SegmentButton`/`SegmentGroup` shared types and context to `FilterButton`/`FilterButtonGroup`; prop shapes are unchanged ([#1240](https://github.com/MetaMask/metamask-design-system/pull/1240))
|
|
23
|
+
- See [Migration Guide](./MIGRATION.md#from-version-0220-to-0230)
|
|
24
|
+
- **BREAKING:** Removed `startAccessory`/`endAccessory` from `ContentPropsShared` and removed `topAccessory`/`bottomAccessory`; row accessories belong on `ListItemPropsShared` instead ([#1231](https://github.com/MetaMask/metamask-design-system/pull/1231))
|
|
25
|
+
- See [design-system-react-native Migration Guide](../design-system-react-native/MIGRATION.md#content-shell-accessories-removed-row-accessories-moved-to-listitem)
|
|
26
|
+
|
|
27
|
+
## [0.22.0]
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
- Added `ListItemPropsShared` and related shared types for cross-platform `ListItem` support ([#1203](https://github.com/MetaMask/metamask-design-system/pull/1203))
|
|
32
|
+
- Added `ToastPropsShared`, `ToastSeverity`, and `Toast` animation constants to shared package, consolidating the Toast type definitions used by React and React Native ([#1190](https://github.com/MetaMask/metamask-design-system/pull/1190))
|
|
33
|
+
- Added `TextButtonPropsShared` to align `TextButton` API across React and React Native ([#1224](https://github.com/MetaMask/metamask-design-system/pull/1224))
|
|
34
|
+
- Added `AvatarNetworkSize` as a named export from the shared package ([#1225](https://github.com/MetaMask/metamask-design-system/pull/1225))
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
|
|
38
|
+
- **BREAKING:** `AvatarIconSeverity.Error`, `IconAlertSeverity.Error`, and `TagSeverity.Error` renamed to `.Danger`; severity vocabulary standardized to use `Danger` for destructive/critical states ([#1159](https://github.com/MetaMask/metamask-design-system/pull/1159))
|
|
39
|
+
|
|
40
|
+
## [0.21.0]
|
|
41
|
+
|
|
42
|
+
### Added
|
|
43
|
+
|
|
44
|
+
- Added `ContentPropsShared` and `ContentVerticalAlignment` so React Native can compose list-style rows and related layout patterns ([#1192](https://github.com/MetaMask/metamask-design-system/pull/1192))
|
|
45
|
+
|
|
46
|
+
### Changed
|
|
47
|
+
|
|
48
|
+
- **BREAKING:** Dropped Node.js 18 support for the release line; no public API changes were needed in `@metamask/design-system-shared`, but consumers must run on Node 20 or newer ([#1206](https://github.com/MetaMask/metamask-design-system/pull/1206))
|
|
49
|
+
- **BREAKING:** Updated `TextAreaPropsShared` to remove `inputElement` so React Native `TextArea` can render the root `TextInput` directly ([#1205](https://github.com/MetaMask/metamask-design-system/pull/1205))
|
|
50
|
+
|
|
10
51
|
## [0.20.0]
|
|
11
52
|
|
|
12
53
|
### Added
|
|
@@ -208,7 +249,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
208
249
|
- **Initial release** - MetaMask Design System Shared
|
|
209
250
|
- Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
|
|
210
251
|
|
|
211
|
-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.
|
|
252
|
+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.23.0...HEAD
|
|
253
|
+
[0.23.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.22.0...@metamask/design-system-shared@0.23.0
|
|
254
|
+
[0.22.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.21.0...@metamask/design-system-shared@0.22.0
|
|
255
|
+
[0.21.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.20.0...@metamask/design-system-shared@0.21.0
|
|
212
256
|
[0.20.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.19.0...@metamask/design-system-shared@0.20.0
|
|
213
257
|
[0.19.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.18.0...@metamask/design-system-shared@0.19.0
|
|
214
258
|
[0.18.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.17.0...@metamask/design-system-shared@0.18.0
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FilterButtonGroupContext = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
exports.FilterButtonGroupContext = (0, react_1.createContext)(null);
|
|
6
|
+
exports.FilterButtonGroupContext.displayName = 'FilterButtonGroupContext';
|
|
7
|
+
//# sourceMappingURL=FilterButtonGroup.context.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterButtonGroup.context.cjs","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/FilterButtonGroup.context.ts"],"names":[],"mappings":";;;AAAA,iCAAsC;AAazB,QAAA,wBAAwB,GACnC,IAAA,qBAAa,EAAuC,IAAI,CAAC,CAAC;AAE5D,gCAAwB,CAAC,WAAW,GAAG,0BAA0B,CAAC","sourcesContent":["import { createContext } from 'react';\n\nimport type { ButtonBaseSize } from '../../types/ButtonBase/ButtonBase.types';\nimport type { FilterButtonVariant } from '../../types/FilterButton/FilterButton.types';\n\nexport type FilterButtonGroupContextValue = {\n value: string;\n onChange: (nextValue: string) => void;\n variant?: FilterButtonVariant;\n size?: ButtonBaseSize;\n isEqualWidth?: boolean;\n};\n\nexport const FilterButtonGroupContext =\n createContext<FilterButtonGroupContextValue | null>(null);\n\nFilterButtonGroupContext.displayName = 'FilterButtonGroupContext';\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ButtonBaseSize } from "../../types/ButtonBase/ButtonBase.types.cjs";
|
|
2
|
+
import type { FilterButtonVariant } from "../../types/FilterButton/FilterButton.types.cjs";
|
|
3
|
+
export type FilterButtonGroupContextValue = {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (nextValue: string) => void;
|
|
6
|
+
variant?: FilterButtonVariant;
|
|
7
|
+
size?: ButtonBaseSize;
|
|
8
|
+
isEqualWidth?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const FilterButtonGroupContext: import("react").Context<FilterButtonGroupContextValue | null>;
|
|
11
|
+
//# sourceMappingURL=FilterButtonGroup.context.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterButtonGroup.context.d.cts","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/FilterButtonGroup.context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,oDAAgD;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,wDAAoD;AAEvF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,wBAAwB,+DACsB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ButtonBaseSize } from "../../types/ButtonBase/ButtonBase.types.mjs";
|
|
2
|
+
import type { FilterButtonVariant } from "../../types/FilterButton/FilterButton.types.mjs";
|
|
3
|
+
export type FilterButtonGroupContextValue = {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (nextValue: string) => void;
|
|
6
|
+
variant?: FilterButtonVariant;
|
|
7
|
+
size?: ButtonBaseSize;
|
|
8
|
+
isEqualWidth?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const FilterButtonGroupContext: import("react").Context<FilterButtonGroupContextValue | null>;
|
|
11
|
+
//# sourceMappingURL=FilterButtonGroup.context.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterButtonGroup.context.d.mts","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/FilterButtonGroup.context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,oDAAgD;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,wDAAoD;AAEvF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,wBAAwB,+DACsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterButtonGroup.context.mjs","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/FilterButtonGroup.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,cAAc;AAatC,MAAM,CAAC,MAAM,wBAAwB,GACnC,aAAa,CAAuC,IAAI,CAAC,CAAC;AAE5D,wBAAwB,CAAC,WAAW,GAAG,0BAA0B,CAAC","sourcesContent":["import { createContext } from 'react';\n\nimport type { ButtonBaseSize } from '../../types/ButtonBase/ButtonBase.types';\nimport type { FilterButtonVariant } from '../../types/FilterButton/FilterButton.types';\n\nexport type FilterButtonGroupContextValue = {\n value: string;\n onChange: (nextValue: string) => void;\n variant?: FilterButtonVariant;\n size?: ButtonBaseSize;\n isEqualWidth?: boolean;\n};\n\nexport const FilterButtonGroupContext =\n createContext<FilterButtonGroupContextValue | null>(null);\n\nFilterButtonGroupContext.displayName = 'FilterButtonGroupContext';\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FilterButtonGroupContext = void 0;
|
|
4
|
+
var FilterButtonGroup_context_1 = require("./FilterButtonGroup.context.cjs");
|
|
5
|
+
Object.defineProperty(exports, "FilterButtonGroupContext", { enumerable: true, get: function () { return FilterButtonGroup_context_1.FilterButtonGroupContext; } });
|
|
6
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/index.ts"],"names":[],"mappings":";;;AAAA,6EAGqC;AAFnC,qIAAA,wBAAwB,OAAA","sourcesContent":["export {\n FilterButtonGroupContext,\n type FilterButtonGroupContextValue,\n} from './FilterButtonGroup.context';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,wCAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,wCAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/contexts/FilterButtonGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAEzB,wCAAoC","sourcesContent":["export {\n FilterButtonGroupContext,\n type FilterButtonGroupContextValue,\n} from './FilterButtonGroup.context';\n"]}
|
package/dist/index.cjs
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.ToastSeverity = exports.SelectButtonVariant = exports.SelectButtonEndArrow = exports.SelectButtonSize = void 0;
|
|
3
|
+
exports.AvatarGroupSize = exports.IconSize = exports.IconName = exports.IconColor = exports.BoxBorderColor = exports.BoxBackgroundColor = exports.BoxJustifyContent = exports.BoxAlignItems = exports.BoxFlexWrap = exports.BoxFlexDirection = exports.TagSeverity = exports.AvatarFaviconSize = exports.TextVariant = exports.TextColor = exports.FontWeight = exports.FontStyle = exports.FontFamily = exports.AvatarAccountVariant = exports.AvatarAccountSize = exports.ButtonIconVariant = exports.ButtonIconSize = exports.BadgeWrapperPosition = exports.BadgeWrapperPositionAnchorShape = exports.BannerAlertSeverity = exports.AvatarTokenSize = exports.AvatarNetworkSize = exports.ButtonVariant = exports.ButtonSize = exports.ButtonHeroSize = exports.ButtonBaseSize = exports.KeyValueRowVariant = exports.HeaderSearchVariant = exports.TOAST_VISIBILITY_DURATION = exports.TOAST_ANIMATION_DURATION = exports.IconAlertSeverity = exports.HelpTextSeverity = exports.ContentVerticalAlignment = exports.BadgeStatusSize = exports.BadgeStatusStatus = exports.BadgeCountSize = exports.AvatarIconSeverity = exports.AvatarIconSize = exports.AvatarBaseShape = exports.AvatarBaseSize = exports.mergeTwClassName = exports.generateIconSeed = exports.isEthereumAddress = exports.generateSeedNonEthereum = exports.generateSeedEthereum = exports.extractAccountAddress = void 0;
|
|
4
|
+
exports.ToastSeverity = exports.SelectButtonVariant = exports.SelectButtonEndArrow = exports.SelectButtonSize = exports.FilterButtonGroupContext = exports.FilterButtonVariant = exports.SensitiveTextLength = exports.AvatarGroupVariant = void 0;
|
|
5
5
|
var caip_address_1 = require("./utils/caip-address.cjs");
|
|
6
6
|
Object.defineProperty(exports, "extractAccountAddress", { enumerable: true, get: function () { return caip_address_1.extractAccountAddress; } });
|
|
7
7
|
Object.defineProperty(exports, "generateSeedEthereum", { enumerable: true, get: function () { return caip_address_1.generateSeedEthereum; } });
|
|
8
8
|
Object.defineProperty(exports, "generateSeedNonEthereum", { enumerable: true, get: function () { return caip_address_1.generateSeedNonEthereum; } });
|
|
9
9
|
Object.defineProperty(exports, "isEthereumAddress", { enumerable: true, get: function () { return caip_address_1.isEthereumAddress; } });
|
|
10
10
|
Object.defineProperty(exports, "generateIconSeed", { enumerable: true, get: function () { return caip_address_1.generateIconSeed; } });
|
|
11
|
+
var merge_tw_class_name_1 = require("./utils/merge-tw-class-name.cjs");
|
|
12
|
+
Object.defineProperty(exports, "mergeTwClassName", { enumerable: true, get: function () { return merge_tw_class_name_1.mergeTwClassName; } });
|
|
11
13
|
// AvatarBase types (ADR-0003 + ADR-0004)
|
|
12
14
|
var AvatarBase_1 = require("./types/AvatarBase/index.cjs");
|
|
13
15
|
Object.defineProperty(exports, "AvatarBaseSize", { enumerable: true, get: function () { return AvatarBase_1.AvatarBaseSize; } });
|
|
@@ -32,6 +34,10 @@ Object.defineProperty(exports, "HelpTextSeverity", { enumerable: true, get: func
|
|
|
32
34
|
// IconAlert types (ADR-0003 + ADR-0004)
|
|
33
35
|
var IconAlert_1 = require("./types/IconAlert/index.cjs");
|
|
34
36
|
Object.defineProperty(exports, "IconAlertSeverity", { enumerable: true, get: function () { return IconAlert_1.IconAlertSeverity; } });
|
|
37
|
+
// Toast types (ADR-0004)
|
|
38
|
+
var Toast_1 = require("./types/Toast/index.cjs");
|
|
39
|
+
Object.defineProperty(exports, "TOAST_ANIMATION_DURATION", { enumerable: true, get: function () { return Toast_1.TOAST_ANIMATION_DURATION; } });
|
|
40
|
+
Object.defineProperty(exports, "TOAST_VISIBILITY_DURATION", { enumerable: true, get: function () { return Toast_1.TOAST_VISIBILITY_DURATION; } });
|
|
35
41
|
// HeaderSearch types (ADR-0003 + ADR-0004)
|
|
36
42
|
var HeaderSearch_1 = require("./types/HeaderSearch/index.cjs");
|
|
37
43
|
Object.defineProperty(exports, "HeaderSearchVariant", { enumerable: true, get: function () { return HeaderSearch_1.HeaderSearchVariant; } });
|
|
@@ -46,6 +52,9 @@ Object.defineProperty(exports, "ButtonSize", { enumerable: true, get: function (
|
|
|
46
52
|
// Button types (ADR-0003 + ADR-0004)
|
|
47
53
|
var Button_1 = require("./types/Button/index.cjs");
|
|
48
54
|
Object.defineProperty(exports, "ButtonVariant", { enumerable: true, get: function () { return Button_1.ButtonVariant; } });
|
|
55
|
+
// AvatarNetwork types (ADR-0003 + ADR-0004)
|
|
56
|
+
var AvatarNetwork_1 = require("./types/AvatarNetwork/index.cjs");
|
|
57
|
+
Object.defineProperty(exports, "AvatarNetworkSize", { enumerable: true, get: function () { return AvatarNetwork_1.AvatarNetworkSize; } });
|
|
49
58
|
// AvatarToken types (ADR-0003 + ADR-0004)
|
|
50
59
|
var AvatarToken_1 = require("./types/AvatarToken/index.cjs");
|
|
51
60
|
Object.defineProperty(exports, "AvatarTokenSize", { enumerable: true, get: function () { return AvatarToken_1.AvatarTokenSize; } });
|
|
@@ -96,18 +105,18 @@ Object.defineProperty(exports, "AvatarGroupVariant", { enumerable: true, get: fu
|
|
|
96
105
|
// SensitiveText types (ADR-0003 + ADR-0004)
|
|
97
106
|
var SensitiveText_1 = require("./types/SensitiveText/index.cjs");
|
|
98
107
|
Object.defineProperty(exports, "SensitiveTextLength", { enumerable: true, get: function () { return SensitiveText_1.SensitiveTextLength; } });
|
|
99
|
-
//
|
|
100
|
-
var
|
|
101
|
-
Object.defineProperty(exports, "
|
|
102
|
-
//
|
|
103
|
-
var
|
|
104
|
-
Object.defineProperty(exports, "
|
|
108
|
+
// FilterButton types (ADR-0003 + ADR-0004)
|
|
109
|
+
var FilterButton_1 = require("./types/FilterButton/index.cjs");
|
|
110
|
+
Object.defineProperty(exports, "FilterButtonVariant", { enumerable: true, get: function () { return FilterButton_1.FilterButtonVariant; } });
|
|
111
|
+
// FilterButtonGroup context (ADR-0003 + ADR-0004)
|
|
112
|
+
var FilterButtonGroup_1 = require("./contexts/FilterButtonGroup/index.cjs");
|
|
113
|
+
Object.defineProperty(exports, "FilterButtonGroupContext", { enumerable: true, get: function () { return FilterButtonGroup_1.FilterButtonGroupContext; } });
|
|
105
114
|
// SelectButton types (ADR-0003 + ADR-0004)
|
|
106
115
|
var SelectButton_1 = require("./types/SelectButton/index.cjs");
|
|
107
116
|
Object.defineProperty(exports, "SelectButtonSize", { enumerable: true, get: function () { return SelectButton_1.SelectButtonSize; } });
|
|
108
117
|
Object.defineProperty(exports, "SelectButtonEndArrow", { enumerable: true, get: function () { return SelectButton_1.SelectButtonEndArrow; } });
|
|
109
118
|
Object.defineProperty(exports, "SelectButtonVariant", { enumerable: true, get: function () { return SelectButton_1.SelectButtonVariant; } });
|
|
110
119
|
// Toast types (ADR-0003 + ADR-0004)
|
|
111
|
-
var
|
|
112
|
-
Object.defineProperty(exports, "ToastSeverity", { enumerable: true, get: function () { return
|
|
120
|
+
var Toast_2 = require("./types/Toast/index.cjs");
|
|
121
|
+
Object.defineProperty(exports, "ToastSeverity", { enumerable: true, get: function () { return Toast_2.ToastSeverity; } });
|
|
113
122
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,yDAM8B;AAL5B,qHAAA,qBAAqB,OAAA;AACrB,oHAAA,oBAAoB,OAAA;AACpB,uHAAA,uBAAuB,OAAA;AACvB,iHAAA,iBAAiB,OAAA;AACjB,gHAAA,gBAAgB,OAAA;AAGlB,yCAAyC;AACzC,2DAI4B;AAH1B,4GAAA,cAAc,OAAA;AACd,6GAAA,eAAe,OAAA;AAIjB,yCAAyC;AACzC,2DAI4B;AAH1B,4GAAA,cAAc,OAAA;AACd,gHAAA,kBAAkB,OAAA;AAIpB,yCAAyC;AACzC,2DAAgF;AAAvE,4GAAA,cAAc,OAAA;AAEvB,0CAA0C;AAC1C,6DAI6B;AAH3B,gHAAA,iBAAiB,OAAA;AACjB,8GAAA,eAAe,OAAA;AAIjB,sCAAsC;AACtC,qDAGyB;AAFvB,mHAAA,wBAAwB,OAAA;
|
|
1
|
+
{"version":3,"file":"index.cjs","s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C;AACpC,iDAAqE;AAA5D,sGAAA,aAAa,OAAA","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\nexport { mergeTwClassName } from './utils/merge-tw-class-name';\n\n// AvatarBase types (ADR-0003 + ADR-0004)\nexport {\n AvatarBaseSize,\n AvatarBaseShape,\n type AvatarBasePropsShared,\n} from './types/AvatarBase';\n\n// AvatarIcon types (ADR-0003 + ADR-0004)\nexport {\n AvatarIconSize,\n AvatarIconSeverity,\n type AvatarIconPropsShared,\n} from './types/AvatarIcon';\n\n// BadgeCount types (ADR-0003 + ADR-0004)\nexport { BadgeCountSize, type BadgeCountPropsShared } from './types/BadgeCount';\n\n// BadgeStatus types (ADR-0003 + ADR-0004)\nexport {\n BadgeStatusStatus,\n BadgeStatusSize,\n type BadgeStatusPropsShared,\n} from './types/BadgeStatus';\n\n// Content types (ADR-0003 + ADR-0004)\nexport {\n ContentVerticalAlignment,\n type ContentPropsShared,\n} from './types/Content';\n\n// ListItem types (ADR-0004)\nexport { type ListItemPropsShared } from './types/ListItem';\n\n// ListItemSelect types (ADR-0004)\nexport { type ListItemSelectPropsShared } from './types/ListItemSelect';\n\n// ListItemMultiSelect types (ADR-0004)\nexport { type ListItemMultiSelectPropsShared } from './types/ListItemMultiSelect';\n\n// HelpText types (ADR-0003 + ADR-0004)\nexport { HelpTextSeverity, type HelpTextPropsShared } from './types/HelpText';\n\n// IconAlert types (ADR-0003 + ADR-0004)\nexport {\n IconAlertSeverity,\n type IconAlertPropsShared,\n} from './types/IconAlert';\n\n// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// Toast types (ADR-0004)\nexport {\n TOAST_ANIMATION_DURATION,\n TOAST_VISIBILITY_DURATION,\n} from './types/Toast';\n\n// TitleHub types (ADR-0004)\nexport { type TitleHubPropsShared } from './types/TitleHub';\n\n// TitleAlert types (ADR-0004)\nexport { type TitleAlertPropsShared } from './types/TitleAlert';\n\n// TitleStandard types (ADR-0004)\nexport { type TitleStandardPropsShared } from './types/TitleStandard';\n\n// TitleSubpage types (ADR-0004)\nexport { type TitleSubpagePropsShared } from './types/TitleSubpage';\n\n// BoxColumn types (ADR-0004)\nexport { type BoxColumnPropsShared } from './types/BoxColumn';\n\n// BoxRow types (ADR-0004)\nexport { type BoxRowPropsShared } from './types/BoxRow';\n\n// HeaderSearch types (ADR-0003 + ADR-0004)\nexport {\n HeaderSearchVariant,\n type HeaderSearchInlinePropsShared,\n type HeaderSearchPropsShared,\n type HeaderSearchScreenPropsShared,\n} from './types/HeaderSearch';\n\n// KeyValueColumn types (ADR-0004)\nexport { type KeyValueColumnPropsShared } from './types/KeyValueColumn';\n\n// KeyValueRow types (ADR-0003 + ADR-0004)\nexport {\n KeyValueRowVariant,\n type KeyValueRowPropsShared,\n} from './types/KeyValueRow';\n\n// ButtonFilter types (ADR-0004)\nexport { type ButtonFilterPropsShared } from './types/ButtonFilter';\n\n// ButtonBase types (ADR-0003 + ADR-0004)\nexport {\n ButtonBaseSize,\n ButtonHeroSize,\n ButtonSize,\n type ButtonBasePropsShared,\n} from './types/ButtonBase';\n\n// Button types (ADR-0003 + ADR-0004)\nexport { ButtonVariant, type ButtonPropsShared } from './types/Button';\n\n// AvatarNetwork types (ADR-0003 + ADR-0004)\nexport {\n AvatarNetworkSize,\n type AvatarNetworkPropsShared,\n} from './types/AvatarNetwork';\n\n// AvatarToken types (ADR-0003 + ADR-0004)\nexport {\n AvatarTokenSize,\n type AvatarTokenPropsShared,\n} from './types/AvatarToken';\n\n// BadgeIcon types (ADR-0004)\nexport { type BadgeIconPropsShared } from './types/BadgeIcon';\n\n// BannerAlert types (ADR-0003 + ADR-0004)\nexport {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './types/BannerAlert';\n\n// BadgeNetwork types (ADR-0004)\nexport { type BadgeNetworkPropsShared } from './types/BadgeNetwork';\n\n// BadgeWrapper types (ADR-0003 + ADR-0004)\nexport {\n BadgeWrapperPositionAnchorShape,\n BadgeWrapperPosition,\n type BadgeWrapperCustomPosition,\n type BadgeWrapperPropsShared,\n} from './types/BadgeWrapper';\n\n// ButtonIcon types (ADR-0003 + ADR-0004)\nexport {\n ButtonIconSize,\n ButtonIconVariant,\n type ButtonIconPropsShared,\n} from './types/ButtonIcon';\n\nexport {\n AvatarAccountSize,\n AvatarAccountVariant,\n type AvatarAccountPropsShared,\n} from './types/AvatarAccount';\n\n// Text types (ADR-0003 + ADR-0004)\nexport {\n FontFamily,\n FontStyle,\n FontWeight,\n TextColor,\n TextVariant,\n type TextPropsShared,\n} from './types/Text';\n\n// TextButton types (ADR-0004)\nexport { type TextButtonPropsShared } from './types/TextButton';\n\n// TextField types (ADR-0004)\nexport { type TextFieldPropsShared } from './types/TextField';\n\n// TextArea types (ADR-0004)\nexport { type TextAreaPropsShared } from './types/TextArea';\n\n// Input types (ADR-0004)\nexport { type InputPropsShared } from './types/Input';\n\n// AvatarFavicon types (ADR-0004)\nexport {\n AvatarFaviconSize,\n type AvatarFaviconPropsShared,\n} from './types/AvatarFavicon';\n\n// Checkbox types (ADR-0004)\nexport { type CheckboxPropsShared } from './types/Checkbox';\n\n// Tag types (ADR-0003 + ADR-0004)\nexport { TagSeverity, type TagPropsShared } from './types/Tag';\n\n// Box types (ADR-0003 + ADR-0004)\nexport {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n type BoxPropsShared,\n} from './types/Box';\n\n// Icon types (ADR-0003 + ADR-0004)\nexport {\n IconColor,\n IconName,\n IconSize,\n type IconPropsShared,\n} from './types/Icon';\n\n// AvatarGroup types (ADR-0003 + ADR-0004)\nexport {\n AvatarGroupSize,\n AvatarGroupVariant,\n type AvatarGroupPropsShared,\n} from './types/AvatarGroup';\n\n// SensitiveText types (ADR-0003 + ADR-0004)\nexport {\n SensitiveTextLength,\n type CustomLength,\n type SensitiveTextPropsShared,\n} from './types/SensitiveText';\n\n// FilterButton types (ADR-0003 + ADR-0004)\nexport {\n FilterButtonVariant,\n type FilterButtonPropsShared,\n} from './types/FilterButton';\n\n// FilterButtonGroup types (ADR-0003 + ADR-0004)\nexport { type FilterButtonGroupPropsShared } from './types/FilterButtonGroup';\n\n// SegmentedControl types (ADR-0004)\nexport { type SegmentedControlPropsShared } from './types/SegmentedControl';\n\n// Switch types (ADR-0004)\nexport { type SwitchPropsShared } from './types/Switch';\n\n// FilterButtonGroup context (ADR-0003 + ADR-0004)\nexport {\n FilterButtonGroupContext,\n type FilterButtonGroupContextValue,\n} from './contexts/FilterButtonGroup';\n\n// SelectButton types (ADR-0003 + ADR-0004)\nexport {\n SelectButtonSize,\n SelectButtonEndArrow,\n SelectButtonVariant,\n type SelectButtonPropsShared,\n} from './types/SelectButton';\n\n// SectionHeader types (ADR-0004)\nexport { type SectionHeaderPropsShared } from './types/SectionHeader';\n\n// Toast types (ADR-0003 + ADR-0004)\nexport { ToastSeverity, type ToastPropsShared } from './types/Toast';\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
export { extractAccountAddress, generateSeedEthereum, generateSeedNonEthereum, isEthereumAddress, generateIconSeed, } from "./utils/caip-address.cjs";
|
|
2
|
+
export { mergeTwClassName } from "./utils/merge-tw-class-name.cjs";
|
|
2
3
|
export { AvatarBaseSize, AvatarBaseShape, type AvatarBasePropsShared, } from "./types/AvatarBase/index.cjs";
|
|
3
4
|
export { AvatarIconSize, AvatarIconSeverity, type AvatarIconPropsShared, } from "./types/AvatarIcon/index.cjs";
|
|
4
5
|
export { BadgeCountSize, type BadgeCountPropsShared } from "./types/BadgeCount/index.cjs";
|
|
5
6
|
export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./types/BadgeStatus/index.cjs";
|
|
6
7
|
export { ContentVerticalAlignment, type ContentPropsShared, } from "./types/Content/index.cjs";
|
|
8
|
+
export { type ListItemPropsShared } from "./types/ListItem/index.cjs";
|
|
9
|
+
export { type ListItemSelectPropsShared } from "./types/ListItemSelect/index.cjs";
|
|
10
|
+
export { type ListItemMultiSelectPropsShared } from "./types/ListItemMultiSelect/index.cjs";
|
|
7
11
|
export { HelpTextSeverity, type HelpTextPropsShared } from "./types/HelpText/index.cjs";
|
|
8
12
|
export { IconAlertSeverity, type IconAlertPropsShared, } from "./types/IconAlert/index.cjs";
|
|
9
13
|
export { type BannerBasePropsShared } from "./types/BannerBase/index.cjs";
|
|
10
14
|
export { type TextOrChildrenPropsShared } from "./types/TextOrChildren/index.cjs";
|
|
15
|
+
export { TOAST_ANIMATION_DURATION, TOAST_VISIBILITY_DURATION, } from "./types/Toast/index.cjs";
|
|
11
16
|
export { type TitleHubPropsShared } from "./types/TitleHub/index.cjs";
|
|
12
17
|
export { type TitleAlertPropsShared } from "./types/TitleAlert/index.cjs";
|
|
13
18
|
export { type TitleStandardPropsShared } from "./types/TitleStandard/index.cjs";
|
|
@@ -20,7 +25,7 @@ export { KeyValueRowVariant, type KeyValueRowPropsShared, } from "./types/KeyVal
|
|
|
20
25
|
export { type ButtonFilterPropsShared } from "./types/ButtonFilter/index.cjs";
|
|
21
26
|
export { ButtonBaseSize, ButtonHeroSize, ButtonSize, type ButtonBasePropsShared, } from "./types/ButtonBase/index.cjs";
|
|
22
27
|
export { ButtonVariant, type ButtonPropsShared } from "./types/Button/index.cjs";
|
|
23
|
-
export { type AvatarNetworkPropsShared } from "./types/AvatarNetwork/index.cjs";
|
|
28
|
+
export { AvatarNetworkSize, type AvatarNetworkPropsShared, } from "./types/AvatarNetwork/index.cjs";
|
|
24
29
|
export { AvatarTokenSize, type AvatarTokenPropsShared, } from "./types/AvatarToken/index.cjs";
|
|
25
30
|
export { type BadgeIconPropsShared } from "./types/BadgeIcon/index.cjs";
|
|
26
31
|
export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./types/BannerAlert/index.cjs";
|
|
@@ -29,6 +34,7 @@ export { BadgeWrapperPositionAnchorShape, BadgeWrapperPosition, type BadgeWrappe
|
|
|
29
34
|
export { ButtonIconSize, ButtonIconVariant, type ButtonIconPropsShared, } from "./types/ButtonIcon/index.cjs";
|
|
30
35
|
export { AvatarAccountSize, AvatarAccountVariant, type AvatarAccountPropsShared, } from "./types/AvatarAccount/index.cjs";
|
|
31
36
|
export { FontFamily, FontStyle, FontWeight, TextColor, TextVariant, type TextPropsShared, } from "./types/Text/index.cjs";
|
|
37
|
+
export { type TextButtonPropsShared } from "./types/TextButton/index.cjs";
|
|
32
38
|
export { type TextFieldPropsShared } from "./types/TextField/index.cjs";
|
|
33
39
|
export { type TextAreaPropsShared } from "./types/TextArea/index.cjs";
|
|
34
40
|
export { type InputPropsShared } from "./types/Input/index.cjs";
|
|
@@ -39,9 +45,11 @@ export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBac
|
|
|
39
45
|
export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.cjs";
|
|
40
46
|
export { AvatarGroupSize, AvatarGroupVariant, type AvatarGroupPropsShared, } from "./types/AvatarGroup/index.cjs";
|
|
41
47
|
export { SensitiveTextLength, type CustomLength, type SensitiveTextPropsShared, } from "./types/SensitiveText/index.cjs";
|
|
42
|
-
export {
|
|
43
|
-
export { type
|
|
44
|
-
export {
|
|
48
|
+
export { FilterButtonVariant, type FilterButtonPropsShared, } from "./types/FilterButton/index.cjs";
|
|
49
|
+
export { type FilterButtonGroupPropsShared } from "./types/FilterButtonGroup/index.cjs";
|
|
50
|
+
export { type SegmentedControlPropsShared } from "./types/SegmentedControl/index.cjs";
|
|
51
|
+
export { type SwitchPropsShared } from "./types/Switch/index.cjs";
|
|
52
|
+
export { FilterButtonGroupContext, type FilterButtonGroupContextValue, } from "./contexts/FilterButtonGroup/index.cjs";
|
|
45
53
|
export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant, type SelectButtonPropsShared, } from "./types/SelectButton/index.cjs";
|
|
46
54
|
export { type SectionHeaderPropsShared } from "./types/SectionHeader/index.cjs";
|
|
47
55
|
export { ToastSeverity, type ToastPropsShared } from "./types/Toast/index.cjs";
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,GACjB,iCAA6B;
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,GACjB,iCAA6B;AAE9B,OAAO,EAAE,gBAAgB,EAAE,wCAAoC;AAG/D,OAAO,EACL,cAAc,EACd,eAAe,EACf,KAAK,qBAAqB,GAC3B,qCAA2B;AAG5B,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,KAAK,qBAAqB,GAC3B,qCAA2B;AAG5B,OAAO,EAAE,cAAc,EAAE,KAAK,qBAAqB,EAAE,qCAA2B;AAGhF,OAAO,EACL,iBAAiB,EACjB,eAAe,EACf,KAAK,sBAAsB,GAC5B,sCAA4B;AAG7B,OAAO,EACL,wBAAwB,EACxB,KAAK,kBAAkB,GACxB,kCAAwB;AAGzB,OAAO,EAAE,KAAK,mBAAmB,EAAE,mCAAyB;AAG5D,OAAO,EAAE,KAAK,yBAAyB,EAAE,yCAA+B;AAGxE,OAAO,EAAE,KAAK,8BAA8B,EAAE,8CAAoC;AAGlF,OAAO,EAAE,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,mCAAyB;AAG9E,OAAO,EACL,iBAAiB,EACjB,KAAK,oBAAoB,GAC1B,oCAA0B;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AAK,6BAA6B,GACnC,+CAAqC;AAGtC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,KAAK,uBAAuB,GAC7B,uCAA6B;AAG9B,OAAO,EAAE,KAAK,wBAAwB,EAAE,wCAA8B;AAGtE,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,gCAAsB"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
export { extractAccountAddress, generateSeedEthereum, generateSeedNonEthereum, isEthereumAddress, generateIconSeed, } from "./utils/caip-address.mjs";
|
|
2
|
+
export { mergeTwClassName } from "./utils/merge-tw-class-name.mjs";
|
|
2
3
|
export { AvatarBaseSize, AvatarBaseShape, type AvatarBasePropsShared, } from "./types/AvatarBase/index.mjs";
|
|
3
4
|
export { AvatarIconSize, AvatarIconSeverity, type AvatarIconPropsShared, } from "./types/AvatarIcon/index.mjs";
|
|
4
5
|
export { BadgeCountSize, type BadgeCountPropsShared } from "./types/BadgeCount/index.mjs";
|
|
5
6
|
export { BadgeStatusStatus, BadgeStatusSize, type BadgeStatusPropsShared, } from "./types/BadgeStatus/index.mjs";
|
|
6
7
|
export { ContentVerticalAlignment, type ContentPropsShared, } from "./types/Content/index.mjs";
|
|
8
|
+
export { type ListItemPropsShared } from "./types/ListItem/index.mjs";
|
|
9
|
+
export { type ListItemSelectPropsShared } from "./types/ListItemSelect/index.mjs";
|
|
10
|
+
export { type ListItemMultiSelectPropsShared } from "./types/ListItemMultiSelect/index.mjs";
|
|
7
11
|
export { HelpTextSeverity, type HelpTextPropsShared } from "./types/HelpText/index.mjs";
|
|
8
12
|
export { IconAlertSeverity, type IconAlertPropsShared, } from "./types/IconAlert/index.mjs";
|
|
9
13
|
export { type BannerBasePropsShared } from "./types/BannerBase/index.mjs";
|
|
10
14
|
export { type TextOrChildrenPropsShared } from "./types/TextOrChildren/index.mjs";
|
|
15
|
+
export { TOAST_ANIMATION_DURATION, TOAST_VISIBILITY_DURATION, } from "./types/Toast/index.mjs";
|
|
11
16
|
export { type TitleHubPropsShared } from "./types/TitleHub/index.mjs";
|
|
12
17
|
export { type TitleAlertPropsShared } from "./types/TitleAlert/index.mjs";
|
|
13
18
|
export { type TitleStandardPropsShared } from "./types/TitleStandard/index.mjs";
|
|
@@ -20,7 +25,7 @@ export { KeyValueRowVariant, type KeyValueRowPropsShared, } from "./types/KeyVal
|
|
|
20
25
|
export { type ButtonFilterPropsShared } from "./types/ButtonFilter/index.mjs";
|
|
21
26
|
export { ButtonBaseSize, ButtonHeroSize, ButtonSize, type ButtonBasePropsShared, } from "./types/ButtonBase/index.mjs";
|
|
22
27
|
export { ButtonVariant, type ButtonPropsShared } from "./types/Button/index.mjs";
|
|
23
|
-
export { type AvatarNetworkPropsShared } from "./types/AvatarNetwork/index.mjs";
|
|
28
|
+
export { AvatarNetworkSize, type AvatarNetworkPropsShared, } from "./types/AvatarNetwork/index.mjs";
|
|
24
29
|
export { AvatarTokenSize, type AvatarTokenPropsShared, } from "./types/AvatarToken/index.mjs";
|
|
25
30
|
export { type BadgeIconPropsShared } from "./types/BadgeIcon/index.mjs";
|
|
26
31
|
export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./types/BannerAlert/index.mjs";
|
|
@@ -29,6 +34,7 @@ export { BadgeWrapperPositionAnchorShape, BadgeWrapperPosition, type BadgeWrappe
|
|
|
29
34
|
export { ButtonIconSize, ButtonIconVariant, type ButtonIconPropsShared, } from "./types/ButtonIcon/index.mjs";
|
|
30
35
|
export { AvatarAccountSize, AvatarAccountVariant, type AvatarAccountPropsShared, } from "./types/AvatarAccount/index.mjs";
|
|
31
36
|
export { FontFamily, FontStyle, FontWeight, TextColor, TextVariant, type TextPropsShared, } from "./types/Text/index.mjs";
|
|
37
|
+
export { type TextButtonPropsShared } from "./types/TextButton/index.mjs";
|
|
32
38
|
export { type TextFieldPropsShared } from "./types/TextField/index.mjs";
|
|
33
39
|
export { type TextAreaPropsShared } from "./types/TextArea/index.mjs";
|
|
34
40
|
export { type InputPropsShared } from "./types/Input/index.mjs";
|
|
@@ -39,9 +45,11 @@ export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBac
|
|
|
39
45
|
export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.mjs";
|
|
40
46
|
export { AvatarGroupSize, AvatarGroupVariant, type AvatarGroupPropsShared, } from "./types/AvatarGroup/index.mjs";
|
|
41
47
|
export { SensitiveTextLength, type CustomLength, type SensitiveTextPropsShared, } from "./types/SensitiveText/index.mjs";
|
|
42
|
-
export {
|
|
43
|
-
export { type
|
|
44
|
-
export {
|
|
48
|
+
export { FilterButtonVariant, type FilterButtonPropsShared, } from "./types/FilterButton/index.mjs";
|
|
49
|
+
export { type FilterButtonGroupPropsShared } from "./types/FilterButtonGroup/index.mjs";
|
|
50
|
+
export { type SegmentedControlPropsShared } from "./types/SegmentedControl/index.mjs";
|
|
51
|
+
export { type SwitchPropsShared } from "./types/Switch/index.mjs";
|
|
52
|
+
export { FilterButtonGroupContext, type FilterButtonGroupContextValue, } from "./contexts/FilterButtonGroup/index.mjs";
|
|
45
53
|
export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant, type SelectButtonPropsShared, } from "./types/SelectButton/index.mjs";
|
|
46
54
|
export { type SectionHeaderPropsShared } from "./types/SectionHeader/index.mjs";
|
|
47
55
|
export { ToastSeverity, type ToastPropsShared } from "./types/Toast/index.mjs";
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,GACjB,iCAA6B;
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,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AAmB,EAAE,mCAAyB;AAG5D,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,8BAAoB;AAG/D,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,cAAc,GACpB,8BAAoB;AAGrB,OAAO,EACL,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,KAAK,eAAe,GACrB,+BAAqB;AAGtB,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,KAAK,sBAAsB,GAC5B,sCAA4B;AAG7B,OAAO,EACL,mBAAmB,EACnB,KAAK,YAAY,EACjB,KAAK,wBAAwB,GAC9B,wCAA8B;AAG/B,OAAO,EACL,mBAAmB,EACnB,KAAK,uBAAuB,GAC7B,uCAA6B;AAG9B,OAAO,EAAE,KAAK,4BAA4B,EAAE,4CAAkC;AAG9E,OAAO,EAAE,KAAK,2BAA2B,EAAE,2CAAiC;AAG5E,OAAO,EAAE,KAAK,iBAAiB,EAAE,iCAAuB;AAGxD,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,+CAAqC;AAGtC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,KAAK,uBAAuB,GAC7B,uCAA6B;AAG9B,OAAO,EAAE,KAAK,wBAAwB,EAAE,wCAA8B;AAGtE,OAAO,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,gCAAsB"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { extractAccountAddress, generateSeedEthereum, generateSeedNonEthereum, isEthereumAddress, generateIconSeed } from "./utils/caip-address.mjs";
|
|
2
|
+
export { mergeTwClassName } from "./utils/merge-tw-class-name.mjs";
|
|
2
3
|
// AvatarBase types (ADR-0003 + ADR-0004)
|
|
3
4
|
export { AvatarBaseSize, AvatarBaseShape } from "./types/AvatarBase/index.mjs";
|
|
4
5
|
// AvatarIcon types (ADR-0003 + ADR-0004)
|
|
@@ -13,6 +14,8 @@ export { ContentVerticalAlignment } from "./types/Content/index.mjs";
|
|
|
13
14
|
export { HelpTextSeverity } from "./types/HelpText/index.mjs";
|
|
14
15
|
// IconAlert types (ADR-0003 + ADR-0004)
|
|
15
16
|
export { IconAlertSeverity } from "./types/IconAlert/index.mjs";
|
|
17
|
+
// Toast types (ADR-0004)
|
|
18
|
+
export { TOAST_ANIMATION_DURATION, TOAST_VISIBILITY_DURATION } from "./types/Toast/index.mjs";
|
|
16
19
|
// HeaderSearch types (ADR-0003 + ADR-0004)
|
|
17
20
|
export { HeaderSearchVariant } from "./types/HeaderSearch/index.mjs";
|
|
18
21
|
// KeyValueRow types (ADR-0003 + ADR-0004)
|
|
@@ -21,6 +24,8 @@ export { KeyValueRowVariant } from "./types/KeyValueRow/index.mjs";
|
|
|
21
24
|
export { ButtonBaseSize, ButtonHeroSize, ButtonSize } from "./types/ButtonBase/index.mjs";
|
|
22
25
|
// Button types (ADR-0003 + ADR-0004)
|
|
23
26
|
export { ButtonVariant } from "./types/Button/index.mjs";
|
|
27
|
+
// AvatarNetwork types (ADR-0003 + ADR-0004)
|
|
28
|
+
export { AvatarNetworkSize } from "./types/AvatarNetwork/index.mjs";
|
|
24
29
|
// AvatarToken types (ADR-0003 + ADR-0004)
|
|
25
30
|
export { AvatarTokenSize } from "./types/AvatarToken/index.mjs";
|
|
26
31
|
// BannerAlert types (ADR-0003 + ADR-0004)
|
|
@@ -44,10 +49,10 @@ export { IconColor, IconName, IconSize } from "./types/Icon/index.mjs";
|
|
|
44
49
|
export { AvatarGroupSize, AvatarGroupVariant } from "./types/AvatarGroup/index.mjs";
|
|
45
50
|
// SensitiveText types (ADR-0003 + ADR-0004)
|
|
46
51
|
export { SensitiveTextLength } from "./types/SensitiveText/index.mjs";
|
|
47
|
-
//
|
|
48
|
-
export {
|
|
49
|
-
//
|
|
50
|
-
export {
|
|
52
|
+
// FilterButton types (ADR-0003 + ADR-0004)
|
|
53
|
+
export { FilterButtonVariant } from "./types/FilterButton/index.mjs";
|
|
54
|
+
// FilterButtonGroup context (ADR-0003 + ADR-0004)
|
|
55
|
+
export { FilterButtonGroupContext } from "./contexts/FilterButtonGroup/index.mjs";
|
|
51
56
|
// SelectButton types (ADR-0003 + ADR-0004)
|
|
52
57
|
export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant } from "./types/SelectButton/index.mjs";
|
|
53
58
|
// Toast types (ADR-0003 + ADR-0004)
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EACjB,iCAA6B;AAE9B,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,eAAe,EAEhB,qCAA2B;AAE5B,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,kBAAkB,EAEnB,qCAA2B;AAE5B,yCAAyC;AACzC,OAAO,EAAE,cAAc,EAA8B,qCAA2B;AAEhF,0CAA0C;AAC1C,OAAO,EACL,iBAAiB,EACjB,eAAe,EAEhB,sCAA4B;AAE7B,sCAAsC;AACtC,OAAO,EACL,wBAAwB,EAEzB,kCAAwB;
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EACjB,iCAA6B;AAE9B,OAAO,EAAE,gBAAgB,EAAE,wCAAoC;AAE/D,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,eAAe,EAEhB,qCAA2B;AAE5B,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,kBAAkB,EAEnB,qCAA2B;AAE5B,yCAAyC;AACzC,OAAO,EAAE,cAAc,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kB,EAClB,cAAc,EAIf,8BAAoB;AAErB,mCAAmC;AACnC,OAAO,EACL,SAAS,EACT,QAAQ,EACR,QAAQ,EAET,+BAAqB;AAEtB,0CAA0C;AAC1C,OAAO,EACL,eAAe,EACf,kBAAkB,EAEnB,sCAA4B;AAE7B,4CAA4C;AAC5C,OAAO,EACL,mBAAmB,EAGpB,wCAA8B;AAE/B,2CAA2C;AAC3C,OAAO,EACL,mBAAmB,EAEpB,uCAA6B;AAW9B,kDAAkD;AAClD,OAAO,EACL,wBAAwB,EAEzB,+CAAqC;AAEtC,2CAA2C;AAC3C,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EAEpB,uCAA6B;AAK9B,oCAAoC;AACpC,OAAO,EAAE,aAAa,EAAyB,gCAAsB","sourcesContent":["export {\n extractAccountAddress,\n generateSeedEthereum,\n generateSeedNonEthereum,\n isEthereumAddress,\n generateIconSeed,\n} from './utils/caip-address';\n\nexport { mergeTwClassName } from './utils/merge-tw-class-name';\n\n// AvatarBase types (ADR-0003 + ADR-0004)\nexport {\n AvatarBaseSize,\n AvatarBaseShape,\n type AvatarBasePropsShared,\n} from './types/AvatarBase';\n\n// AvatarIcon types (ADR-0003 + ADR-0004)\nexport {\n AvatarIconSize,\n AvatarIconSeverity,\n type AvatarIconPropsShared,\n} from './types/AvatarIcon';\n\n// BadgeCount types (ADR-0003 + ADR-0004)\nexport { BadgeCountSize, type BadgeCountPropsShared } from './types/BadgeCount';\n\n// BadgeStatus types (ADR-0003 + ADR-0004)\nexport {\n BadgeStatusStatus,\n BadgeStatusSize,\n type BadgeStatusPropsShared,\n} from './types/BadgeStatus';\n\n// Content types (ADR-0003 + ADR-0004)\nexport {\n ContentVerticalAlignment,\n type ContentPropsShared,\n} from './types/Content';\n\n// ListItem types (ADR-0004)\nexport { type ListItemPropsShared } from './types/ListItem';\n\n// ListItemSelect types (ADR-0004)\nexport { type ListItemSelectPropsShared } from './types/ListItemSelect';\n\n// ListItemMultiSelect types (ADR-0004)\nexport { type ListItemMultiSelectPropsShared } from './types/ListItemMultiSelect';\n\n// HelpText types (ADR-0003 + ADR-0004)\nexport { HelpTextSeverity, type HelpTextPropsShared } from './types/HelpText';\n\n// IconAlert types (ADR-0003 + ADR-0004)\nexport {\n IconAlertSeverity,\n type IconAlertPropsShared,\n} from './types/IconAlert';\n\n// BannerBase types (ADR-0004)\nexport { type BannerBasePropsShared } from './types/BannerBase';\n\n// TextOrChildren types (ADR-0004)\nexport { type TextOrChildrenPropsShared } from './types/TextOrChildren';\n\n// Toast types (ADR-0004)\nexport {\n TOAST_ANIMATION_DURATION,\n TOAST_VISIBILITY_DURATION,\n} from './types/Toast';\n\n// TitleHub types (ADR-0004)\nexport { type TitleHubPropsShared } from './types/TitleHub';\n\n// TitleAlert types (ADR-0004)\nexport { type TitleAlertPropsShared } from './types/TitleAlert';\n\n// TitleStandard types (ADR-0004)\nexport { type TitleStandardPropsShared } from './types/TitleStandard';\n\n// TitleSubpage types (ADR-0004)\nexport { type TitleSubpagePropsShared } from './types/TitleSubpage';\n\n// BoxColumn types (ADR-0004)\nexport { type BoxColumnPropsShared } from './types/BoxColumn';\n\n// BoxRow types (ADR-0004)\nexport { type BoxRowPropsShared } from './types/BoxRow';\n\n// HeaderSearch types (ADR-0003 + ADR-0004)\nexport {\n HeaderSearchVariant,\n type HeaderSearchInlinePropsShared,\n type HeaderSearchPropsShared,\n type HeaderSearchScreenPropsShared,\n} from './types/HeaderSearch';\n\n// KeyValueColumn types (ADR-0004)\nexport { type KeyValueColumnPropsShared } from './types/KeyValueColumn';\n\n// KeyValueRow types (ADR-0003 + ADR-0004)\nexport {\n KeyValueRowVariant,\n type KeyValueRowPropsShared,\n} from './types/KeyValueRow';\n\n// ButtonFilter types (ADR-0004)\nexport { type ButtonFilterPropsShared } from './types/ButtonFilter';\n\n// ButtonBase types (ADR-0003 + ADR-0004)\nexport {\n ButtonBaseSize,\n ButtonHeroSize,\n ButtonSize,\n type ButtonBasePropsShared,\n} from './types/ButtonBase';\n\n// Button types (ADR-0003 + ADR-0004)\nexport { ButtonVariant, type ButtonPropsShared } from './types/Button';\n\n// AvatarNetwork types (ADR-0003 + ADR-0004)\nexport {\n AvatarNetworkSize,\n type AvatarNetworkPropsShared,\n} from './types/AvatarNetwork';\n\n// AvatarToken types (ADR-0003 + ADR-0004)\nexport {\n AvatarTokenSize,\n type AvatarTokenPropsShared,\n} from './types/AvatarToken';\n\n// BadgeIcon types (ADR-0004)\nexport { type BadgeIconPropsShared } from './types/BadgeIcon';\n\n// BannerAlert types (ADR-0003 + ADR-0004)\nexport {\n BannerAlertSeverity,\n type BannerAlertPropsShared,\n} from './types/BannerAlert';\n\n// BadgeNetwork types (ADR-0004)\nexport { type BadgeNetworkPropsShared } from './types/BadgeNetwork';\n\n// BadgeWrapper types (ADR-0003 + ADR-0004)\nexport {\n BadgeWrapperPositionAnchorShape,\n BadgeWrapperPosition,\n type BadgeWrapperCustomPosition,\n type BadgeWrapperPropsShared,\n} from './types/BadgeWrapper';\n\n// ButtonIcon types (ADR-0003 + ADR-0004)\nexport {\n ButtonIconSize,\n ButtonIconVariant,\n type ButtonIconPropsShared,\n} from './types/ButtonIcon';\n\nexport {\n AvatarAccountSize,\n AvatarAccountVariant,\n type AvatarAccountPropsShared,\n} from './types/AvatarAccount';\n\n// Text types (ADR-0003 + ADR-0004)\nexport {\n FontFamily,\n FontStyle,\n FontWeight,\n TextColor,\n TextVariant,\n type TextPropsShared,\n} from './types/Text';\n\n// TextButton types (ADR-0004)\nexport { type TextButtonPropsShared } from './types/TextButton';\n\n// TextField types (ADR-0004)\nexport { type TextFieldPropsShared } from './types/TextField';\n\n// TextArea types (ADR-0004)\nexport { type TextAreaPropsShared } from './types/TextArea';\n\n// Input types (ADR-0004)\nexport { type InputPropsShared } from './types/Input';\n\n// AvatarFavicon types (ADR-0004)\nexport {\n AvatarFaviconSize,\n type AvatarFaviconPropsShared,\n} from './types/AvatarFavicon';\n\n// Checkbox types (ADR-0004)\nexport { type CheckboxPropsShared } from './types/Checkbox';\n\n// Tag types (ADR-0003 + ADR-0004)\nexport { TagSeverity, type TagPropsShared } from './types/Tag';\n\n// Box types (ADR-0003 + ADR-0004)\nexport {\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n type BoxSpacing,\n type BoxBorderWidth,\n type BoxPropsShared,\n} from './types/Box';\n\n// Icon types (ADR-0003 + ADR-0004)\nexport {\n IconColor,\n IconName,\n IconSize,\n type IconPropsShared,\n} from './types/Icon';\n\n// AvatarGroup types (ADR-0003 + ADR-0004)\nexport {\n AvatarGroupSize,\n AvatarGroupVariant,\n type AvatarGroupPropsShared,\n} from './types/AvatarGroup';\n\n// SensitiveText types (ADR-0003 + ADR-0004)\nexport {\n SensitiveTextLength,\n type CustomLength,\n type SensitiveTextPropsShared,\n} from './types/SensitiveText';\n\n// FilterButton types (ADR-0003 + ADR-0004)\nexport {\n FilterButtonVariant,\n type FilterButtonPropsShared,\n} from './types/FilterButton';\n\n// FilterButtonGroup types (ADR-0003 + ADR-0004)\nexport { type FilterButtonGroupPropsShared } from './types/FilterButtonGroup';\n\n// SegmentedControl types (ADR-0004)\nexport { type SegmentedControlPropsShared } from './types/SegmentedControl';\n\n// Switch types (ADR-0004)\nexport { type SwitchPropsShared } from './types/Switch';\n\n// FilterButtonGroup context (ADR-0003 + ADR-0004)\nexport {\n FilterButtonGroupContext,\n type FilterButtonGroupContextValue,\n} from './contexts/FilterButtonGroup';\n\n// SelectButton types (ADR-0003 + ADR-0004)\nexport {\n SelectButtonSize,\n SelectButtonEndArrow,\n SelectButtonVariant,\n type SelectButtonPropsShared,\n} from './types/SelectButton';\n\n// SectionHeader types (ADR-0004)\nexport { type SectionHeaderPropsShared } from './types/SectionHeader';\n\n// Toast types (ADR-0003 + ADR-0004)\nexport { ToastSeverity, type ToastPropsShared } from './types/Toast';\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarIcon.types.cjs","sourceRoot":"","sources":["../../../src/types/AvatarIcon/AvatarIcon.types.ts"],"names":[],"mappings":";;;AAGA,sDAAiE;AAAxD,4GAAA,cAAc,OAAkB;AAEzC;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAChC;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM;IACZ;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"AvatarIcon.types.cjs","sourceRoot":"","sources":["../../../src/types/AvatarIcon/AvatarIcon.types.ts"],"names":[],"mappings":";;;AAGA,sDAAiE;AAAxD,4GAAA,cAAc,OAAkB;AAEzC;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAChC;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM;IACZ;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAChB;;OAEG;IACH,OAAO,EAAE,SAAS;CACV,CAAC","sourcesContent":["import type { AvatarBaseSize as AvatarIconSize } from '../AvatarBase';\nimport type { IconName } from '../Icon/Icon.types';\n\nexport { AvatarBaseSize as AvatarIconSize } from '../AvatarBase';\n\n/**\n * AvatarIcon - severity\n * Convert from enum to const object (ADR-0003)\n */\nexport const AvatarIconSeverity = {\n /**\n * Represents a neutral severity\n */\n Neutral: 'neutral',\n /**\n * Represents an info severity\n */\n Info: 'info',\n /**\n * Represents a success severity\n */\n Success: 'success',\n /**\n * Represents a danger (destructive) severity\n */\n Danger: 'danger',\n /**\n * Represents a warning severity\n */\n Warning: 'warning',\n} as const;\nexport type AvatarIconSeverity =\n (typeof AvatarIconSeverity)[keyof typeof AvatarIconSeverity];\n\n/**\n * AvatarIcon component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native\n */\nexport type AvatarIconPropsShared = {\n /**\n * Required icon name from the icon set\n */\n iconName: IconName;\n /**\n * Optional prop to control the size of the avatar\n *\n * @default AvatarIconSize.Md\n */\n size?: AvatarIconSize;\n /**\n * Optional prop to control the severity of the avatar\n * Possible values:\n * - AvatarIconSeverity.Neutral\n * - AvatarIconSeverity.Info\n * - AvatarIconSeverity.Success\n * - AvatarIconSeverity.Danger\n * - AvatarIconSeverity.Warning\n *\n * @default AvatarIconSeverity.Neutral\n */\n severity?: AvatarIconSeverity;\n};\n"]}
|
|
@@ -19,9 +19,9 @@ export declare const AvatarIconSeverity: {
|
|
|
19
19
|
*/
|
|
20
20
|
readonly Success: "success";
|
|
21
21
|
/**
|
|
22
|
-
* Represents
|
|
22
|
+
* Represents a danger (destructive) severity
|
|
23
23
|
*/
|
|
24
|
-
readonly
|
|
24
|
+
readonly Danger: "danger";
|
|
25
25
|
/**
|
|
26
26
|
* Represents a warning severity
|
|
27
27
|
*/
|
|
@@ -49,7 +49,7 @@ export type AvatarIconPropsShared = {
|
|
|
49
49
|
* - AvatarIconSeverity.Neutral
|
|
50
50
|
* - AvatarIconSeverity.Info
|
|
51
51
|
* - AvatarIconSeverity.Success
|
|
52
|
-
* - AvatarIconSeverity.
|
|
52
|
+
* - AvatarIconSeverity.Danger
|
|
53
53
|
* - AvatarIconSeverity.Warning
|
|
54
54
|
*
|
|
55
55
|
* @default AvatarIconSeverity.Neutral
|
|
@@ -19,9 +19,9 @@ export declare const AvatarIconSeverity: {
|
|
|
19
19
|
*/
|
|
20
20
|
readonly Success: "success";
|
|
21
21
|
/**
|
|
22
|
-
* Represents
|
|
22
|
+
* Represents a danger (destructive) severity
|
|
23
23
|
*/
|
|
24
|
-
readonly
|
|
24
|
+
readonly Danger: "danger";
|
|
25
25
|
/**
|
|
26
26
|
* Represents a warning severity
|
|
27
27
|
*/
|
|
@@ -49,7 +49,7 @@ export type AvatarIconPropsShared = {
|
|
|
49
49
|
* - AvatarIconSeverity.Neutral
|
|
50
50
|
* - AvatarIconSeverity.Info
|
|
51
51
|
* - AvatarIconSeverity.Success
|
|
52
|
-
* - AvatarIconSeverity.
|
|
52
|
+
* - AvatarIconSeverity.Danger
|
|
53
53
|
* - AvatarIconSeverity.Warning
|
|
54
54
|
*
|
|
55
55
|
* @default AvatarIconSeverity.Neutral
|