@metamask-previews/design-system-shared 0.21.0-preview.1f40f69f → 0.24.0-preview.2222cbb5
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 +40 -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 +13 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -4
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +10 -4
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +7 -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/ButtonIcon/ButtonIcon.types.cjs +4 -0
- package/dist/types/ButtonIcon/ButtonIcon.types.cjs.map +1 -1
- package/dist/types/ButtonIcon/ButtonIcon.types.d.cts +4 -0
- package/dist/types/ButtonIcon/ButtonIcon.types.d.cts.map +1 -1
- package/dist/types/ButtonIcon/ButtonIcon.types.d.mts +4 -0
- package/dist/types/ButtonIcon/ButtonIcon.types.d.mts.map +1 -1
- package/dist/types/ButtonIcon/ButtonIcon.types.mjs +4 -0
- package/dist/types/ButtonIcon/ButtonIcon.types.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/SectionHeader/SectionHeader.types.cjs.map +1 -1
- package/dist/types/SectionHeader/SectionHeader.types.d.cts +5 -0
- package/dist/types/SectionHeader/SectionHeader.types.d.cts.map +1 -1
- package/dist/types/SectionHeader/SectionHeader.types.d.mts +5 -0
- package/dist/types/SectionHeader/SectionHeader.types.d.mts.map +1 -1
- package/dist/types/SectionHeader/SectionHeader.types.mjs.map +1 -1
- 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/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,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.24.0]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **BREAKING:** Removed `TextButtonPropsShared` export; cross-platform `TextButton` type alignment is deferred pending design coordination ([#1259](https://github.com/MetaMask/metamask-design-system/pull/1259))
|
|
15
|
+
|
|
16
|
+
## [0.23.0]
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- Added `SwitchPropsShared` for cross-platform `Switch` support ([#1022](https://github.com/MetaMask/metamask-design-system/pull/1022))
|
|
21
|
+
- Added `SegmentedControlPropsShared` for cross-platform `SegmentedControl` support ([#1242](https://github.com/MetaMask/metamask-design-system/pull/1242))
|
|
22
|
+
- Added `ListItemSelectPropsShared` and `ListItemMultiSelectPropsShared` for cross-platform list selection rows ([#1230](https://github.com/MetaMask/metamask-design-system/pull/1230))
|
|
23
|
+
- Added `Trophy` to `IconName` ([#1235](https://github.com/MetaMask/metamask-design-system/pull/1235))
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Added `accessoryGap` to `ListItemPropsShared` to control spacing between row accessories and inner content ([#1232](https://github.com/MetaMask/metamask-design-system/pull/1232))
|
|
28
|
+
- **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))
|
|
29
|
+
- See [Migration Guide](./MIGRATION.md#from-version-0220-to-0230)
|
|
30
|
+
- **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))
|
|
31
|
+
- See [design-system-react-native Migration Guide](../design-system-react-native/MIGRATION.md#content-shell-accessories-removed-row-accessories-moved-to-listitem)
|
|
32
|
+
|
|
33
|
+
## [0.22.0]
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- Added `ListItemPropsShared` and related shared types for cross-platform `ListItem` support ([#1203](https://github.com/MetaMask/metamask-design-system/pull/1203))
|
|
38
|
+
- 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))
|
|
39
|
+
- Added `TextButtonPropsShared` to align `TextButton` API across React and React Native ([#1224](https://github.com/MetaMask/metamask-design-system/pull/1224))
|
|
40
|
+
- Added `AvatarNetworkSize` as a named export from the shared package ([#1225](https://github.com/MetaMask/metamask-design-system/pull/1225))
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- **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))
|
|
45
|
+
|
|
10
46
|
## [0.21.0]
|
|
11
47
|
|
|
12
48
|
### Added
|
|
@@ -219,7 +255,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
219
255
|
- **Initial release** - MetaMask Design System Shared
|
|
220
256
|
- Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
|
|
221
257
|
|
|
222
|
-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.
|
|
258
|
+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.24.0...HEAD
|
|
259
|
+
[0.24.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.23.0...@metamask/design-system-shared@0.24.0
|
|
260
|
+
[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
|
|
261
|
+
[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
|
|
223
262
|
[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
|
|
224
263
|
[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
|
|
225
264
|
[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
|
|
@@ -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 = exports.
|
|
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; } });
|
|
@@ -50,6 +52,9 @@ Object.defineProperty(exports, "ButtonSize", { enumerable: true, get: function (
|
|
|
50
52
|
// Button types (ADR-0003 + ADR-0004)
|
|
51
53
|
var Button_1 = require("./types/Button/index.cjs");
|
|
52
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; } });
|
|
53
58
|
// AvatarToken types (ADR-0003 + ADR-0004)
|
|
54
59
|
var AvatarToken_1 = require("./types/AvatarToken/index.cjs");
|
|
55
60
|
Object.defineProperty(exports, "AvatarTokenSize", { enumerable: true, get: function () { return AvatarToken_1.AvatarTokenSize; } });
|
|
@@ -100,12 +105,12 @@ Object.defineProperty(exports, "AvatarGroupVariant", { enumerable: true, get: fu
|
|
|
100
105
|
// SensitiveText types (ADR-0003 + ADR-0004)
|
|
101
106
|
var SensitiveText_1 = require("./types/SensitiveText/index.cjs");
|
|
102
107
|
Object.defineProperty(exports, "SensitiveTextLength", { enumerable: true, get: function () { return SensitiveText_1.SensitiveTextLength; } });
|
|
103
|
-
//
|
|
104
|
-
var
|
|
105
|
-
Object.defineProperty(exports, "
|
|
106
|
-
//
|
|
107
|
-
var
|
|
108
|
-
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; } });
|
|
109
114
|
// SelectButton types (ADR-0003 + ADR-0004)
|
|
110
115
|
var SelectButton_1 = require("./types/SelectButton/index.cjs");
|
|
111
116
|
Object.defineProperty(exports, "SelectButtonSize", { enumerable: true, get: function () { return SelectButton_1.SelectButtonSize; } });
|
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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AIV,0CAA0C;AAC1C,6DAI6B;AAH3B,8GAAA,eAAe,OAAA;AACf,iHAAA,kBAAkB,OAAA;AAIpB,4CAA4C;AAC5C,iEAI+B;AAH7B,oHAAA,mBAAmB,OAAA;AAKrB,2CAA2C;AAC3C,+DAG8B;AAF5B,mHAAA,mBAAmB,OAAA;AAarB,kDAAkD;AAClD,4EAGsC;AAFpC,6HAAA,wBAAwB,OAAA;AAI1B,2CAA2C;AAC3C,+DAK8B;AAJ5B,gHAAA,gBAAgB,OAAA;AAChB,oHAAA,oBAAoB,OAAA;AACpB,mHAAA,mBAAmB,OAAA;AAOrB,oCAAoC;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// 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,9 +1,13 @@
|
|
|
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";
|
|
@@ -21,7 +25,7 @@ export { KeyValueRowVariant, type KeyValueRowPropsShared, } from "./types/KeyVal
|
|
|
21
25
|
export { type ButtonFilterPropsShared } from "./types/ButtonFilter/index.cjs";
|
|
22
26
|
export { ButtonBaseSize, ButtonHeroSize, ButtonSize, type ButtonBasePropsShared, } from "./types/ButtonBase/index.cjs";
|
|
23
27
|
export { ButtonVariant, type ButtonPropsShared } from "./types/Button/index.cjs";
|
|
24
|
-
export { type AvatarNetworkPropsShared } from "./types/AvatarNetwork/index.cjs";
|
|
28
|
+
export { AvatarNetworkSize, type AvatarNetworkPropsShared, } from "./types/AvatarNetwork/index.cjs";
|
|
25
29
|
export { AvatarTokenSize, type AvatarTokenPropsShared, } from "./types/AvatarToken/index.cjs";
|
|
26
30
|
export { type BadgeIconPropsShared } from "./types/BadgeIcon/index.cjs";
|
|
27
31
|
export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./types/BannerAlert/index.cjs";
|
|
@@ -40,9 +44,11 @@ export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBac
|
|
|
40
44
|
export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.cjs";
|
|
41
45
|
export { AvatarGroupSize, AvatarGroupVariant, type AvatarGroupPropsShared, } from "./types/AvatarGroup/index.cjs";
|
|
42
46
|
export { SensitiveTextLength, type CustomLength, type SensitiveTextPropsShared, } from "./types/SensitiveText/index.cjs";
|
|
43
|
-
export {
|
|
44
|
-
export { type
|
|
45
|
-
export {
|
|
47
|
+
export { FilterButtonVariant, type FilterButtonPropsShared, } from "./types/FilterButton/index.cjs";
|
|
48
|
+
export { type FilterButtonGroupPropsShared } from "./types/FilterButtonGroup/index.cjs";
|
|
49
|
+
export { type SegmentedControlPropsShared } from "./types/SegmentedControl/index.cjs";
|
|
50
|
+
export { type SwitchPropsShared } from "./types/Switch/index.cjs";
|
|
51
|
+
export { FilterButtonGroupContext, type FilterButtonGroupContextValue, } from "./contexts/FilterButtonGroup/index.cjs";
|
|
46
52
|
export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant, type SelectButtonPropsShared, } from "./types/SelectButton/index.cjs";
|
|
47
53
|
export { type SectionHeaderPropsShared } from "./types/SectionHeader/index.cjs";
|
|
48
54
|
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":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O,EAAE,KAAK,mBAAmB,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.d.mts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
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";
|
|
@@ -21,7 +25,7 @@ export { KeyValueRowVariant, type KeyValueRowPropsShared, } from "./types/KeyVal
|
|
|
21
25
|
export { type ButtonFilterPropsShared } from "./types/ButtonFilter/index.mjs";
|
|
22
26
|
export { ButtonBaseSize, ButtonHeroSize, ButtonSize, type ButtonBasePropsShared, } from "./types/ButtonBase/index.mjs";
|
|
23
27
|
export { ButtonVariant, type ButtonPropsShared } from "./types/Button/index.mjs";
|
|
24
|
-
export { type AvatarNetworkPropsShared } from "./types/AvatarNetwork/index.mjs";
|
|
28
|
+
export { AvatarNetworkSize, type AvatarNetworkPropsShared, } from "./types/AvatarNetwork/index.mjs";
|
|
25
29
|
export { AvatarTokenSize, type AvatarTokenPropsShared, } from "./types/AvatarToken/index.mjs";
|
|
26
30
|
export { type BadgeIconPropsShared } from "./types/BadgeIcon/index.mjs";
|
|
27
31
|
export { BannerAlertSeverity, type BannerAlertPropsShared, } from "./types/BannerAlert/index.mjs";
|
|
@@ -40,9 +44,11 @@ export { BoxFlexDirection, BoxFlexWrap, BoxAlignItems, BoxJustifyContent, BoxBac
|
|
|
40
44
|
export { IconColor, IconName, IconSize, type IconPropsShared, } from "./types/Icon/index.mjs";
|
|
41
45
|
export { AvatarGroupSize, AvatarGroupVariant, type AvatarGroupPropsShared, } from "./types/AvatarGroup/index.mjs";
|
|
42
46
|
export { SensitiveTextLength, type CustomLength, type SensitiveTextPropsShared, } from "./types/SensitiveText/index.mjs";
|
|
43
|
-
export {
|
|
44
|
-
export { type
|
|
45
|
-
export {
|
|
47
|
+
export { FilterButtonVariant, type FilterButtonPropsShared, } from "./types/FilterButton/index.mjs";
|
|
48
|
+
export { type FilterButtonGroupPropsShared } from "./types/FilterButtonGroup/index.mjs";
|
|
49
|
+
export { type SegmentedControlPropsShared } from "./types/SegmentedControl/index.mjs";
|
|
50
|
+
export { type SwitchPropsShared } from "./types/Switch/index.mjs";
|
|
51
|
+
export { FilterButtonGroupContext, type FilterButtonGroupContextValue, } from "./contexts/FilterButtonGroup/index.mjs";
|
|
46
52
|
export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant, type SelectButtonPropsShared, } from "./types/SelectButton/index.mjs";
|
|
47
53
|
export { type SectionHeaderPropsShared } from "./types/SectionHeader/index.mjs";
|
|
48
54
|
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,EACpB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,GACjB,iCAA6B;AAE9B,OAAO,E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,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)
|
|
@@ -23,6 +24,8 @@ export { KeyValueRowVariant } from "./types/KeyValueRow/index.mjs";
|
|
|
23
24
|
export { ButtonBaseSize, ButtonHeroSize, ButtonSize } from "./types/ButtonBase/index.mjs";
|
|
24
25
|
// Button types (ADR-0003 + ADR-0004)
|
|
25
26
|
export { ButtonVariant } from "./types/Button/index.mjs";
|
|
27
|
+
// AvatarNetwork types (ADR-0003 + ADR-0004)
|
|
28
|
+
export { AvatarNetworkSize } from "./types/AvatarNetwork/index.mjs";
|
|
26
29
|
// AvatarToken types (ADR-0003 + ADR-0004)
|
|
27
30
|
export { AvatarTokenSize } from "./types/AvatarToken/index.mjs";
|
|
28
31
|
// BannerAlert types (ADR-0003 + ADR-0004)
|
|
@@ -46,10 +49,10 @@ export { IconColor, IconName, IconSize } from "./types/Icon/index.mjs";
|
|
|
46
49
|
export { AvatarGroupSize, AvatarGroupVariant } from "./types/AvatarGroup/index.mjs";
|
|
47
50
|
// SensitiveText types (ADR-0003 + ADR-0004)
|
|
48
51
|
export { SensitiveTextLength } from "./types/SensitiveText/index.mjs";
|
|
49
|
-
//
|
|
50
|
-
export {
|
|
51
|
-
//
|
|
52
|
-
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";
|
|
53
56
|
// SelectButton types (ADR-0003 + ADR-0004)
|
|
54
57
|
export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant } from "./types/SelectButton/index.mjs";
|
|
55
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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A0B,iCAAuB;AAEvE,4CAA4C;AAC5C,OAAO,EACL,iBAAiB,EAElB,wCAA8B;AAE/B,0CAA0C;AAC1C,OAAO,EACL,eAAe,EAEhB,sCAA4B;AAK7B,0CAA0C;AAC1C,OAAO,EACL,mBAAmB,EAEpB,sCAA4B;AAK7B,2CAA2C;AAC3C,OAAO,EACL,+BAA+B,EAC/B,oBAAoB,EAGrB,uCAA6B;AAE9B,yCAAyC;AACzC,OAAO,EACL,cAAc,EACd,iBAAiB,EAElB,qCAA2B;AAE5B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EAErB,wCAA8B;AAE/B,mCAAmC;AACnC,OAAO,EACL,UAAU,EACV,SAAS,EACT,UAAU,EACV,SAAS,EACT,WAAW,EAEZ,+BAAqB;AAWtB,iCAAiC;AACjC,OAAO,EACL,iBAAiB,EAElB,wCAA8B;AAK/B,kCAAkC;AAClC,OAAO,EAAE,WAAW,EAAuB,8BAAoB;AAE/D,kCAAkC;AAClC,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,kBAAkB,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// 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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarIcon.types.mjs","sourceRoot":"","sources":["../../../src/types/AvatarIcon/AvatarIcon.types.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,IAAI,cAAc,EAAE,gCAAsB;AAEjE;;;GAGG;AACH,MAAM,CAAC,MAAM,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.mjs","sourceRoot":"","sources":["../../../src/types/AvatarIcon/AvatarIcon.types.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,IAAI,cAAc,EAAE,gCAAsB;AAEjE;;;GAGG;AACH,MAAM,CAAC,MAAM,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"]}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AvatarNetworkSize = void 0;
|
|
4
|
+
const AvatarBase_types_1 = require("../AvatarBase/AvatarBase.types.cjs");
|
|
5
|
+
exports.AvatarNetworkSize = AvatarBase_types_1.AvatarBaseSize;
|
|
3
6
|
//# sourceMappingURL=AvatarNetwork.types.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarNetwork.types.cjs","sourceRoot":"","sources":["../../../src/types/AvatarNetwork/AvatarNetwork.types.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * AvatarNetwork component shared props (ADR-0004)\n * Platform-independent properties shared across React and React Native.\n
|
|
1
|
+
{"version":3,"file":"AvatarNetwork.types.cjs","sourceRoot":"","sources":["../../../src/types/AvatarNetwork/AvatarNetwork.types.ts"],"names":[],"mappings":";;;AAAA,yEAAgE;AAEnD,QAAA,iBAAiB,GAAG,iCAAc,CAAC","sourcesContent":["import { AvatarBaseSize } from '../AvatarBase/AvatarBase.types';\n\nexport const AvatarNetworkSize = AvatarBaseSize;\nexport type AvatarNetworkSize = AvatarBaseSize;\n\n/**\n * AvatarNetwork component shared props (ADR-0003 + ADR-0004)\n * Platform-independent properties shared across React and React Native.\n */\nexport type AvatarNetworkPropsShared = {\n /**\n * Optional name of the network.\n * Used as alt text for the image, and the first letter is used as fallback\n * text when no explicit fallbackText is provided.\n */\n name?: string;\n /**\n * Optional text to display when no image is provided or when the image\n * fails to load. If not provided, the first letter of name is used.\n */\n fallbackText?: string;\n /**\n * Optional prop to control the size of the avatar network.\n *\n * @default AvatarNetworkSize.Md\n */\n size?: AvatarNetworkSize;\n};\n"]}
|