@metamask-previews/design-system-shared 0.37.0-preview.fa32350 → 0.40.0-preview.01bfd7c
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 +33 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types/HeaderSubpage/HeaderSubpage.types.cjs +3 -0
- package/dist/types/HeaderSubpage/HeaderSubpage.types.cjs.map +1 -0
- package/dist/types/HeaderSubpage/HeaderSubpage.types.d.cts +53 -0
- package/dist/types/HeaderSubpage/HeaderSubpage.types.d.cts.map +1 -0
- package/dist/types/HeaderSubpage/HeaderSubpage.types.d.mts +53 -0
- package/dist/types/HeaderSubpage/HeaderSubpage.types.d.mts.map +1 -0
- package/dist/types/HeaderSubpage/HeaderSubpage.types.mjs +2 -0
- package/dist/types/HeaderSubpage/HeaderSubpage.types.mjs.map +1 -0
- package/dist/types/HeaderSubpage/index.cjs +3 -0
- package/dist/types/HeaderSubpage/index.cjs.map +1 -0
- package/dist/types/HeaderSubpage/index.d.cts +2 -0
- package/dist/types/HeaderSubpage/index.d.cts.map +1 -0
- package/dist/types/HeaderSubpage/index.d.mts +2 -0
- package/dist/types/HeaderSubpage/index.d.mts.map +1 -0
- package/dist/types/HeaderSubpage/index.mjs +2 -0
- package/dist/types/HeaderSubpage/index.mjs.map +1 -0
- package/dist/types/Icon/Icon.types.cjs +4 -0
- package/dist/types/Icon/Icon.types.cjs.map +1 -1
- package/dist/types/Icon/Icon.types.d.cts +4 -0
- package/dist/types/Icon/Icon.types.d.cts.map +1 -1
- package/dist/types/Icon/Icon.types.d.mts +4 -0
- package/dist/types/Icon/Icon.types.d.mts.map +1 -1
- package/dist/types/Icon/Icon.types.mjs +4 -0
- package/dist/types/Icon/Icon.types.mjs.map +1 -1
- package/dist/types/Text/Text.types.cjs +2 -2
- package/dist/types/Text/Text.types.cjs.map +1 -1
- package/dist/types/Text/Text.types.d.cts +4 -4
- package/dist/types/Text/Text.types.d.cts.map +1 -1
- package/dist/types/Text/Text.types.d.mts +4 -4
- package/dist/types/Text/Text.types.d.mts.map +1 -1
- package/dist/types/Text/Text.types.mjs +2 -2
- package/dist/types/Text/Text.types.mjs.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.40.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Added `ArrowSquareOut` to `IconName` ([#1544](https://github.com/MetaMask/metamask-design-system/pull/1544))
|
|
15
|
+
- Added `Clipboard` to `IconName` ([#1543](https://github.com/MetaMask/metamask-design-system/pull/1543))
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Updated `MoreVertical` icon artwork to use larger dots ([#1544](https://github.com/MetaMask/metamask-design-system/pull/1544))
|
|
20
|
+
- Updated `ListArrow` icon artwork to use a downward sort arrow ([#1537](https://github.com/MetaMask/metamask-design-system/pull/1537))
|
|
21
|
+
|
|
22
|
+
## [0.39.0]
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- Added `PeopleFilled` to `IconName` ([#1520](https://github.com/MetaMask/metamask-design-system/pull/1520))
|
|
27
|
+
|
|
28
|
+
## [0.38.0]
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
|
|
32
|
+
- Added `Infinity` to `IconName` ([#1512](https://github.com/MetaMask/metamask-design-system/pull/1512))
|
|
33
|
+
- Added `HeaderSubpagePropsShared` for cross-platform `HeaderSubpage` support ([#1505](https://github.com/MetaMask/metamask-design-system/pull/1505))
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- Redrew the `CopySuccess` icon silhouette to match `Copy` ([#1517](https://github.com/MetaMask/metamask-design-system/pull/1517))
|
|
38
|
+
|
|
10
39
|
## [0.37.0]
|
|
11
40
|
|
|
12
41
|
### Added
|
|
@@ -362,7 +391,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
362
391
|
- **Initial release** - MetaMask Design System Shared
|
|
363
392
|
- Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
|
|
364
393
|
|
|
365
|
-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.
|
|
394
|
+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.40.0...HEAD
|
|
395
|
+
[0.40.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.39.0...@metamask/design-system-shared@0.40.0
|
|
396
|
+
[0.39.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.38.0...@metamask/design-system-shared@0.39.0
|
|
397
|
+
[0.38.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.37.0...@metamask/design-system-shared@0.38.0
|
|
366
398
|
[0.37.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.36.0...@metamask/design-system-shared@0.37.0
|
|
367
399
|
[0.36.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.35.0...@metamask/design-system-shared@0.36.0
|
|
368
400
|
[0.35.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.34.0...@metamask/design-system-shared@0.35.0
|
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,OAA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;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 { ContentVariant, type ContentPropsShared } 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-0003 + ADR-0004)\nexport {\n BannerBaseActionButtonLayout,\n type BannerBasePropsShared,\n} 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// KeyValueSelect types (ADR-0003 + ADR-0004)\nexport {\n KeyValueSelectVariant,\n type KeyValueSelectPropsShared,\n type KeyValueSelectSelectButtonPropsShared,\n} from './types/KeyValueSelect';\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 ButtonSemanticSize,\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 FilterButtonSize,\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 {\n SegmentedControlSize,\n type SegmentedControlPropsShared,\n} from './types/SegmentedControl';\n\n// Switch types (ADR-0004)\nexport { type SwitchPropsShared } from './types/Switch';\n\n// Slider types (ADR-0004)\nexport {\n SliderMarkColor,\n type SliderPropsShared,\n type SliderMark,\n} from './types/Slider';\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
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,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AA0B;AAC1B,mDAIwB;AAHtB,yGAAA,eAAe,OAAA;AAKjB,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 { ContentVariant, type ContentPropsShared } 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-0003 + ADR-0004)\nexport {\n BannerBaseActionButtonLayout,\n type BannerBasePropsShared,\n} 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// KeyValueSelect types (ADR-0003 + ADR-0004)\nexport {\n KeyValueSelectVariant,\n type KeyValueSelectPropsShared,\n type KeyValueSelectSelectButtonPropsShared,\n} from './types/KeyValueSelect';\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 ButtonSemanticSize,\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 FilterButtonSize,\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 {\n SegmentedControlSize,\n type SegmentedControlPropsShared,\n} from './types/SegmentedControl';\n\n// Switch types (ADR-0004)\nexport { type SwitchPropsShared } from './types/Switch';\n\n// Slider types (ADR-0004)\nexport {\n SliderMarkColor,\n type SliderPropsShared,\n type SliderMark,\n} from './types/Slider';\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\n// HeaderSubpage types (ADR-0004)\nexport { type HeaderSubpagePropsShared } from './types/HeaderSubpage';\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -54,4 +54,5 @@ export { FilterButtonGroupContext, type FilterButtonGroupContextValue, } from ".
|
|
|
54
54
|
export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant, type SelectButtonPropsShared, } from "./types/SelectButton/index.cjs";
|
|
55
55
|
export { type SectionHeaderPropsShared } from "./types/SectionHeader/index.cjs";
|
|
56
56
|
export { ToastSeverity, type ToastPropsShared } from "./types/Toast/index.cjs";
|
|
57
|
+
export { type HeaderSubpagePropsShared } from "./types/HeaderSubpage/index.cjs";
|
|
57
58
|
//# sourceMappingURL=index.d.cts.map
|
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;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,EAAE,cAAc,EAAE,KAAK,kBAAkB,EAAE,kCAAwB;AAG1E,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;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AG9E,OAAO,EACL,oBAAoB,EACpB,KAAK,2BAA2B,GACjC,2CAAiC;AAGlC,OAAO,EAAE,KAAK,iBAAiB,EAAE,iCAAuB;AAGxD,OAAO,EACL,eAAe,EACf,KAAK,iBAAiB,EACtB,KAAK,UAAU,GAChB,iCAAuB;AAGxB,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;AAGrE,OAAO,EAAE,KAAK,wBAAwB,EAAE,wCAA8B"}
|
package/dist/index.d.mts
CHANGED
|
@@ -54,4 +54,5 @@ export { FilterButtonGroupContext, type FilterButtonGroupContextValue, } from ".
|
|
|
54
54
|
export { SelectButtonSize, SelectButtonEndArrow, SelectButtonVariant, type SelectButtonPropsShared, } from "./types/SelectButton/index.mjs";
|
|
55
55
|
export { type SectionHeaderPropsShared } from "./types/SectionHeader/index.mjs";
|
|
56
56
|
export { ToastSeverity, type ToastPropsShared } from "./types/Toast/index.mjs";
|
|
57
|
+
export { type HeaderSubpagePropsShared } from "./types/HeaderSubpage/index.mjs";
|
|
57
58
|
//# sourceMappingURL=index.d.mts.map
|
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;AAE9B,OAAO,EAAE,gBAAgB,EAAE,wCAAoC;AAG/D,OAAO,EACL,cAAc,EACd,eAAe,EACf,KAAK,qBAAqB,GAC3B,qCAA2B;AAG5B,OAAO,EACL,cAAc,EAC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,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,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,uBAAuB,GAC7B,uCAA6B;AAG9B,OAAO,EAAE,KAAK,4BAA4B,EAAE,4CAAkC;AAG9E,OAAO,EACL,oBAAoB,EACpB,KAAK,2BAA2B,GACjC,2CAAiC;AAGlC,OAAO,EAAE,KAAK,iBAAiB,EAAE,iCAAuB;AAGxD,OAAO,EACL,eAAe,EACf,KAAK,iBAAiB,EACtB,KAAK,UAAU,GAChB,iCAAuB;AAGxB,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;AAGrE,OAAO,EAAE,KAAK,wBAAwB,EAAE,wCAA8B"}
|
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,OAAO,EAAE,gBAAgB,EAAE,wCAAoC;AAE/D,yCAAyC;AACzC,OAAO,EACL,c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ACL,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,gBAAgB,EAChB,mBAAmB,EAEpB,uCAA6B;AAK9B,oCAAoC;AACpC,OAAO,EACL,oBAAoB,EAErB,2CAAiC;AAKlC,0BAA0B;AAC1B,OAAO,EACL,eAAe,EAGhB,iCAAuB;AAExB,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 { ContentVariant, type ContentPropsShared } 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-0003 + ADR-0004)\nexport {\n BannerBaseActionButtonLayout,\n type BannerBasePropsShared,\n} 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// KeyValueSelect types (ADR-0003 + ADR-0004)\nexport {\n KeyValueSelectVariant,\n type KeyValueSelectPropsShared,\n type KeyValueSelectSelectButtonPropsShared,\n} from './types/KeyValueSelect';\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 ButtonSemanticSize,\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 FilterButtonSize,\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 {\n SegmentedControlSize,\n type SegmentedControlPropsShared,\n} from './types/SegmentedControl';\n\n// Switch types (ADR-0004)\nexport { type SwitchPropsShared } from './types/Switch';\n\n// Slider types (ADR-0004)\nexport {\n SliderMarkColor,\n type SliderPropsShared,\n type SliderMark,\n} from './types/Slider';\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
|
+
{"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,EAA8B,qCAA2B;AAEhF,0CAA0C;AAC1C,OAAO,EACL,iBAAiB,EACjB,eAAe,EAEhB,sCAA4B;AAE7B,sCAAsC;AACtC,OAAO,EAAE,cAAc,EAA2B,kCAAwB;AAW1E,uCAAuC;AACvC,OAAO,EAAE,gBAAgB,EAA4B,mCAAyB;AAE9E,wCAAwC;AACxC,OAAO,EACL,iBAAiB,EAElB,oCAA0B;AAE3B,yCAAyC;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Ae,EACf,kBAAkB,EAEnB,sCAA4B;AAE7B,4CAA4C;AAC5C,OAAO,EACL,mBAAmB,EAGpB,wCAA8B;AAE/B,2CAA2C;AAC3C,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EAEpB,uCAA6B;AAK9B,oCAAoC;AACpC,OAAO,EACL,oBAAoB,EAErB,2CAAiC;AAKlC,0BAA0B;AAC1B,OAAO,EACL,eAAe,EAGhB,iCAAuB;AAExB,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 { ContentVariant, type ContentPropsShared } 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-0003 + ADR-0004)\nexport {\n BannerBaseActionButtonLayout,\n type BannerBasePropsShared,\n} 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// KeyValueSelect types (ADR-0003 + ADR-0004)\nexport {\n KeyValueSelectVariant,\n type KeyValueSelectPropsShared,\n type KeyValueSelectSelectButtonPropsShared,\n} from './types/KeyValueSelect';\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 ButtonSemanticSize,\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 FilterButtonSize,\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 {\n SegmentedControlSize,\n type SegmentedControlPropsShared,\n} from './types/SegmentedControl';\n\n// Switch types (ADR-0004)\nexport { type SwitchPropsShared } from './types/Switch';\n\n// Slider types (ADR-0004)\nexport {\n SliderMarkColor,\n type SliderPropsShared,\n type SliderMark,\n} from './types/Slider';\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\n// HeaderSubpage types (ADR-0004)\nexport { type HeaderSubpagePropsShared } from './types/HeaderSubpage';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderSubpage.types.cjs","sourceRoot":"","sources":["../../../src/types/HeaderSubpage/HeaderSubpage.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode } from 'react';\n\nimport type { BoxSpacing } from '../Box';\n\n/**\n * HeaderSubpage shared props (ADR-0004).\n * Platform-independent properties shared across React and React Native.\n */\nexport type HeaderSubpagePropsShared = {\n /**\n * Optional leading visual (e.g. avatar), rendered before the title stack.\n */\n avatar?: ReactNode;\n /**\n * Optional title (string or node).\n * Default text styling: BodyMd, Medium, TextDefault.\n */\n title?: ReactNode;\n /**\n * Optional node rendered after the title (e.g. badges).\n */\n titleEndAccessory?: ReactNode;\n /**\n * Optional description (string or node).\n * Default text styling: BodySm, Medium, TextAlternative.\n */\n description?: ReactNode;\n /**\n * Callback when the back button is pressed.\n * If provided, a back button will be rendered as the start accessory.\n */\n onBack?: () => void;\n /**\n * Callback when the close button is pressed.\n * If provided, a close button will be added to the end accessories.\n */\n onClose?: () => void;\n /**\n * Optional content before the identity content.\n * Takes priority over `startButtonIconProps` and back shortcuts.\n */\n startAccessory?: ReactNode;\n /**\n * Optional content after the identity content.\n * Takes priority over `endButtonIconProps` and close shortcuts.\n */\n endAccessory?: ReactNode;\n /**\n * Gap between start/end accessories and the identity content.\n *\n * @default 2\n */\n accessoryGap?: BoxSpacing;\n};\n"]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { BoxSpacing } from "../Box/index.cjs";
|
|
3
|
+
/**
|
|
4
|
+
* HeaderSubpage shared props (ADR-0004).
|
|
5
|
+
* Platform-independent properties shared across React and React Native.
|
|
6
|
+
*/
|
|
7
|
+
export type HeaderSubpagePropsShared = {
|
|
8
|
+
/**
|
|
9
|
+
* Optional leading visual (e.g. avatar), rendered before the title stack.
|
|
10
|
+
*/
|
|
11
|
+
avatar?: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Optional title (string or node).
|
|
14
|
+
* Default text styling: BodyMd, Medium, TextDefault.
|
|
15
|
+
*/
|
|
16
|
+
title?: ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Optional node rendered after the title (e.g. badges).
|
|
19
|
+
*/
|
|
20
|
+
titleEndAccessory?: ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Optional description (string or node).
|
|
23
|
+
* Default text styling: BodySm, Medium, TextAlternative.
|
|
24
|
+
*/
|
|
25
|
+
description?: ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* Callback when the back button is pressed.
|
|
28
|
+
* If provided, a back button will be rendered as the start accessory.
|
|
29
|
+
*/
|
|
30
|
+
onBack?: () => void;
|
|
31
|
+
/**
|
|
32
|
+
* Callback when the close button is pressed.
|
|
33
|
+
* If provided, a close button will be added to the end accessories.
|
|
34
|
+
*/
|
|
35
|
+
onClose?: () => void;
|
|
36
|
+
/**
|
|
37
|
+
* Optional content before the identity content.
|
|
38
|
+
* Takes priority over `startButtonIconProps` and back shortcuts.
|
|
39
|
+
*/
|
|
40
|
+
startAccessory?: ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* Optional content after the identity content.
|
|
43
|
+
* Takes priority over `endButtonIconProps` and close shortcuts.
|
|
44
|
+
*/
|
|
45
|
+
endAccessory?: ReactNode;
|
|
46
|
+
/**
|
|
47
|
+
* Gap between start/end accessories and the identity content.
|
|
48
|
+
*
|
|
49
|
+
* @default 2
|
|
50
|
+
*/
|
|
51
|
+
accessoryGap?: BoxSpacing;
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=HeaderSubpage.types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderSubpage.types.d.cts","sourceRoot":"","sources":["../../../src/types/HeaderSubpage/HeaderSubpage.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc;AAEvC,OAAO,KAAK,EAAE,UAAU,EAAE,yBAAe;AAEzC;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;OAIG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { BoxSpacing } from "../Box/index.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* HeaderSubpage shared props (ADR-0004).
|
|
5
|
+
* Platform-independent properties shared across React and React Native.
|
|
6
|
+
*/
|
|
7
|
+
export type HeaderSubpagePropsShared = {
|
|
8
|
+
/**
|
|
9
|
+
* Optional leading visual (e.g. avatar), rendered before the title stack.
|
|
10
|
+
*/
|
|
11
|
+
avatar?: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Optional title (string or node).
|
|
14
|
+
* Default text styling: BodyMd, Medium, TextDefault.
|
|
15
|
+
*/
|
|
16
|
+
title?: ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Optional node rendered after the title (e.g. badges).
|
|
19
|
+
*/
|
|
20
|
+
titleEndAccessory?: ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Optional description (string or node).
|
|
23
|
+
* Default text styling: BodySm, Medium, TextAlternative.
|
|
24
|
+
*/
|
|
25
|
+
description?: ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* Callback when the back button is pressed.
|
|
28
|
+
* If provided, a back button will be rendered as the start accessory.
|
|
29
|
+
*/
|
|
30
|
+
onBack?: () => void;
|
|
31
|
+
/**
|
|
32
|
+
* Callback when the close button is pressed.
|
|
33
|
+
* If provided, a close button will be added to the end accessories.
|
|
34
|
+
*/
|
|
35
|
+
onClose?: () => void;
|
|
36
|
+
/**
|
|
37
|
+
* Optional content before the identity content.
|
|
38
|
+
* Takes priority over `startButtonIconProps` and back shortcuts.
|
|
39
|
+
*/
|
|
40
|
+
startAccessory?: ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* Optional content after the identity content.
|
|
43
|
+
* Takes priority over `endButtonIconProps` and close shortcuts.
|
|
44
|
+
*/
|
|
45
|
+
endAccessory?: ReactNode;
|
|
46
|
+
/**
|
|
47
|
+
* Gap between start/end accessories and the identity content.
|
|
48
|
+
*
|
|
49
|
+
* @default 2
|
|
50
|
+
*/
|
|
51
|
+
accessoryGap?: BoxSpacing;
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=HeaderSubpage.types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderSubpage.types.d.mts","sourceRoot":"","sources":["../../../src/types/HeaderSubpage/HeaderSubpage.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc;AAEvC,OAAO,KAAK,EAAE,UAAU,EAAE,yBAAe;AAEzC;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;OAIG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderSubpage.types.mjs","sourceRoot":"","sources":["../../../src/types/HeaderSubpage/HeaderSubpage.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode } from 'react';\n\nimport type { BoxSpacing } from '../Box';\n\n/**\n * HeaderSubpage shared props (ADR-0004).\n * Platform-independent properties shared across React and React Native.\n */\nexport type HeaderSubpagePropsShared = {\n /**\n * Optional leading visual (e.g. avatar), rendered before the title stack.\n */\n avatar?: ReactNode;\n /**\n * Optional title (string or node).\n * Default text styling: BodyMd, Medium, TextDefault.\n */\n title?: ReactNode;\n /**\n * Optional node rendered after the title (e.g. badges).\n */\n titleEndAccessory?: ReactNode;\n /**\n * Optional description (string or node).\n * Default text styling: BodySm, Medium, TextAlternative.\n */\n description?: ReactNode;\n /**\n * Callback when the back button is pressed.\n * If provided, a back button will be rendered as the start accessory.\n */\n onBack?: () => void;\n /**\n * Callback when the close button is pressed.\n * If provided, a close button will be added to the end accessories.\n */\n onClose?: () => void;\n /**\n * Optional content before the identity content.\n * Takes priority over `startButtonIconProps` and back shortcuts.\n */\n startAccessory?: ReactNode;\n /**\n * Optional content after the identity content.\n * Takes priority over `endButtonIconProps` and close shortcuts.\n */\n endAccessory?: ReactNode;\n /**\n * Gap between start/end accessories and the identity content.\n *\n * @default 2\n */\n accessoryGap?: BoxSpacing;\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/types/HeaderSubpage/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type HeaderSubpagePropsShared } from './HeaderSubpage.types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/types/HeaderSubpage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,kCAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/types/HeaderSubpage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,kCAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/types/HeaderSubpage/index.ts"],"names":[],"mappings":"","sourcesContent":["export { type HeaderSubpagePropsShared } from './HeaderSubpage.types';\n"]}
|
|
@@ -69,6 +69,7 @@ exports.IconName = {
|
|
|
69
69
|
ArrowDown: 'ArrowDown',
|
|
70
70
|
ArrowLeft: 'ArrowLeft',
|
|
71
71
|
ArrowRight: 'ArrowRight',
|
|
72
|
+
ArrowSquareOut: 'ArrowSquareOut',
|
|
72
73
|
ArrowUp: 'ArrowUp',
|
|
73
74
|
AttachMoney: 'AttachMoney',
|
|
74
75
|
Backspace: 'Backspace',
|
|
@@ -92,6 +93,7 @@ exports.IconName = {
|
|
|
92
93
|
CheckBold: 'CheckBold',
|
|
93
94
|
Check: 'Check',
|
|
94
95
|
CircleX: 'CircleX',
|
|
96
|
+
Clipboard: 'Clipboard',
|
|
95
97
|
ClockFilled: 'ClockFilled',
|
|
96
98
|
Clock: 'Clock',
|
|
97
99
|
Close: 'Close',
|
|
@@ -142,6 +144,7 @@ exports.IconName = {
|
|
|
142
144
|
HomeFilled: 'HomeFilled',
|
|
143
145
|
Home: 'Home',
|
|
144
146
|
Image: 'Image',
|
|
147
|
+
Infinity: 'Infinity',
|
|
145
148
|
Info: 'Info',
|
|
146
149
|
Keep: 'Keep',
|
|
147
150
|
Key: 'Key',
|
|
@@ -169,6 +172,7 @@ exports.IconName = {
|
|
|
169
172
|
Musd: 'Musd',
|
|
170
173
|
NoPhotography: 'NoPhotography',
|
|
171
174
|
Notification: 'Notification',
|
|
175
|
+
PeopleFilled: 'PeopleFilled',
|
|
172
176
|
People: 'People',
|
|
173
177
|
Pin: 'Pin',
|
|
174
178
|
Plant: 'Plant',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.types.cjs","sourceRoot":"","sources":["../../../src/types/Icon/Icon.types.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,SAAS,GAAG;IACvB,gCAAgC;IAChC,WAAW,EAAE,mBAAmB;IAChC,+BAA+B;IAC/B,eAAe,EAAE,uBAAuB;IACxC,8DAA8D;IAC9D,SAAS,EAAE,iBAAiB;IAC5B,gGAAgG;IAChG,WAAW,EAAE,mBAAmB;IAChC,sFAAsF;IACtF,cAAc,EAAE,sBAAsB;IACtC,kGAAkG;IAClG,cAAc,EAAE,sBAAsB;IACtC,0DAA0D;IAC1D,kBAAkB,EAAE,0BAA0B;IAC9C,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,uFAAuF;IACvF,YAAY,EAAE,oBAAoB;IAClC,4CAA4C;IAC5C,gBAAgB,EAAE,wBAAwB;IAC1C,gFAAgF;IAChF,YAAY,EAAE,oBAAoB;IAClC,sFAAsF;IACtF,cAAc,EAAE,sBAAsB;IACtC,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,iFAAiF;IACjF,cAAc,EAAE,sBAAsB;IACtC,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,uFAAuF;IACvF,WAAW,EAAE,mBAAmB;IACh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["/**\n * Icon - color (ADR-0003)\n * All icon color values shared across React and React Native platforms.\n */\nexport const IconColor = {\n /** For default neutral icons */\n IconDefault: 'text-icon-default',\n /** For softer neutral icons */\n IconAlternative: 'text-icon-alternative',\n /** For the weakest contrast neutral icons (not accessible) */\n IconMuted: 'text-icon-muted',\n /** For elements used on top of icon/default fills (e.g. checkmark on monochromatic checkbox) */\n IconInverse: 'text-icon-inverse',\n /** For elements used on top of overlay/alternative. Used for text, icon, or border */\n OverlayInverse: 'text-overlay-inverse',\n /** For interactive, active, and selected semantics. Used for text, background, icon, or border */\n PrimaryDefault: 'text-primary-default',\n /** For softer variants of primary interactive elements */\n PrimaryAlternative: 'text-primary-alternative',\n /** For elements used on top of primary/default. Used for text, icon, or border */\n PrimaryInverse: 'text-primary-inverse',\n /** For critical alert semantic elements. Used for text, background, icon, or border */\n ErrorDefault: 'text-error-default',\n /** For softer variants of error elements */\n ErrorAlternative: 'text-error-alternative',\n /** For elements used on top of error/default. Used for text, icon, or border */\n ErrorInverse: 'text-error-inverse',\n /** For caution alert semantic elements. Used for text, background, icon, or border */\n WarningDefault: 'text-warning-default',\n /** For elements used on top of warning/default. Used for text, icon, or border */\n WarningInverse: 'text-warning-inverse',\n /** For positive semantic elements. Used for text, background, icon, or border */\n SuccessDefault: 'text-success-default',\n /** For elements used on top of success/default. Used for text, icon, or border */\n SuccessInverse: 'text-success-inverse',\n /** For informational read-only elements. Used for text, background, icon, or border */\n InfoDefault: 'text-info-default',\n /** For elements used on top of info/default. Used for text, icon, or border */\n InfoInverse: 'text-info-inverse',\n} as const;\n\nexport type IconColor = (typeof IconColor)[keyof typeof IconColor];\n\n// /////////////////////////////////////////////////////\n// DO NOT EDIT - generated by generate-icons.ts\n// /////////////////////////////////////////////////////\n\n/**\n * Icon - name\n * All icon names shared across React and React Native platforms.\n * This block is auto-generated — do not edit directly.\n * Run `yarn generate:icons` from the repo root to regenerate.\n */\nexport const IconName = {\n Accessibility: 'Accessibility',\n Activity: 'Activity',\n AddCircle: 'AddCircle',\n AddSquare: 'AddSquare',\n Add: 'Add',\n AfterHours: 'AfterHours',\n Ai: 'Ai',\n AppleLogo: 'AppleLogo',\n Apps: 'Apps',\n Arrow2Down: 'Arrow2Down',\n Arrow2Left: 'Arrow2Left',\n Arrow2Right: 'Arrow2Right',\n Arrow2UpRight: 'Arrow2UpRight',\n Arrow2Up: 'Arrow2Up',\n ArrowDoubleRight: 'ArrowDoubleRight',\n ArrowDown: 'ArrowDown',\n ArrowLeft: 'ArrowLeft',\n ArrowRight: 'ArrowRight',\n ArrowUp: 'ArrowUp',\n AttachMoney: 'AttachMoney',\n Backspace: 'Backspace',\n Ban: 'Ban',\n Bank: 'Bank',\n Book: 'Book',\n Bookmark: 'Bookmark',\n Bridge: 'Bridge',\n BuySell: 'BuySell',\n Calculator: 'Calculator',\n Calendar: 'Calendar',\n Call: 'Call',\n Camera: 'Camera',\n Campaign: 'Campaign',\n CandlestickFilled: 'CandlestickFilled',\n Candlestick: 'Candlestick',\n Card: 'Card',\n Cash: 'Cash',\n Category: 'Category',\n Chart: 'Chart',\n CheckBold: 'CheckBold',\n Check: 'Check',\n CircleX: 'CircleX',\n ClockFilled: 'ClockFilled',\n Clock: 'Clock',\n Close: 'Close',\n Code: 'Code',\n Coin: 'Coin',\n Collapse: 'Collapse',\n Confirmation: 'Confirmation',\n Connect: 'Connect',\n CopySuccess: 'CopySuccess',\n Copy: 'Copy',\n Customize: 'Customize',\n Danger: 'Danger',\n Data: 'Data',\n Details: 'Details',\n Diagram: 'Diagram',\n DocumentCode: 'DocumentCode',\n Download: 'Download',\n Edit: 'Edit',\n Error: 'Error',\n Ethereum: 'Ethereum',\n Exchange: 'Exchange',\n Expand: 'Expand',\n Explore: 'Explore',\n Export: 'Export',\n Extension: 'Extension',\n EyeSlash: 'EyeSlash',\n Eye: 'Eye',\n FaceId: 'FaceId',\n Feedback: 'Feedback',\n File: 'File',\n Filter: 'Filter',\n Fingerprint: 'Fingerprint',\n Fire: 'Fire',\n Flag: 'Flag',\n FlashFilled: 'FlashFilled',\n Flash: 'Flash',\n Flask: 'Flask',\n Forest: 'Forest',\n FullCircle: 'FullCircle',\n Gas: 'Gas',\n Gift: 'Gift',\n GlobalSearch: 'GlobalSearch',\n Global: 'Global',\n Hardware: 'Hardware',\n HeartStraightFilled: 'HeartStraightFilled',\n HeartStraight: 'HeartStraight',\n Hierarchy: 'Hierarchy',\n HomeFilled: 'HomeFilled',\n Home: 'Home',\n Image: 'Image',\n Info: 'Info',\n Keep: 'Keep',\n Key: 'Key',\n Link: 'Link',\n ListArrow: 'ListArrow',\n Loading: 'Loading',\n Location: 'Location',\n LockSlash: 'LockSlash',\n Lock: 'Lock',\n Logout: 'Logout',\n Mail: 'Mail',\n Menu: 'Menu',\n Merge: 'Merge',\n MessageQuestion: 'MessageQuestion',\n Messages: 'Messages',\n MetamaskFoxOutline: 'MetamaskFoxOutline',\n MinusBold: 'MinusBold',\n Minus: 'Minus',\n Mobile: 'Mobile',\n MoneyBag: 'MoneyBag',\n Monitor: 'Monitor',\n MoreHorizontal: 'MoreHorizontal',\n MoreVertical: 'MoreVertical',\n MusdFilled: 'MusdFilled',\n Musd: 'Musd',\n NoPhotography: 'NoPhotography',\n Notification: 'Notification',\n People: 'People',\n Pin: 'Pin',\n Plant: 'Plant',\n Plug: 'Plug',\n PopUp: 'PopUp',\n Predictions: 'Predictions',\n ProgrammingArrows: 'ProgrammingArrows',\n QrCode: 'QrCode',\n Question: 'Question',\n Receive: 'Receive',\n Received: 'Received',\n Refresh: 'Refresh',\n RemoveMinus: 'RemoveMinus',\n Rocket: 'Rocket',\n Save: 'Save',\n ScanBarcode: 'ScanBarcode',\n Scan: 'Scan',\n Search: 'Search',\n SecurityKey: 'SecurityKey',\n SecuritySearch: 'SecuritySearch',\n SecuritySlash: 'SecuritySlash',\n SecurityTick: 'SecurityTick',\n SecurityTime: 'SecurityTime',\n Security: 'Security',\n Send: 'Send',\n Setting: 'Setting',\n Share: 'Share',\n ShieldLock: 'ShieldLock',\n SidePanel: 'SidePanel',\n Sms: 'Sms',\n SnapsMobile: 'SnapsMobile',\n Snaps: 'Snaps',\n Sparkle: 'Sparkle',\n Speed: 'Speed',\n Speedometer: 'Speedometer',\n Stake: 'Stake',\n StarFilled: 'StarFilled',\n Star: 'Star',\n SwapHorizontal: 'SwapHorizontal',\n SwapVertical: 'SwapVertical',\n Tag: 'Tag',\n Telegram: 'Telegram',\n ThumbDownFilled: 'ThumbDownFilled',\n ThumbDown: 'ThumbDown',\n ThumbUpFilled: 'ThumbUpFilled',\n ThumbUp: 'ThumbUp',\n Tint: 'Tint',\n Trash: 'Trash',\n TrendDown: 'TrendDown',\n TrendUp: 'TrendUp',\n Trophy: 'Trophy',\n Unpin: 'Unpin',\n Upload: 'Upload',\n Usb: 'Usb',\n UserCheck: 'UserCheck',\n UserCircleAdd: 'UserCircleAdd',\n UserCircleRemove: 'UserCircleRemove',\n UserCircle: 'UserCircle',\n VerifiedFilled: 'VerifiedFilled',\n Videocam: 'Videocam',\n Wallet: 'Wallet',\n Warning: 'Warning',\n WebTraffic: 'WebTraffic',\n WifiOff: 'WifiOff',\n Wifi: 'Wifi',\n X: 'X',\n} as const;\n\nexport type IconName = (typeof IconName)[keyof typeof IconName];\n\n// END generated IconName\n\n/**\n * Icon - size\n * Common icon sizes shared across React and React Native platforms.\n */\nexport const IconSize = {\n /** Extra small - 12px */\n Xs: 'xs',\n /** Small - 16px */\n Sm: 'sm',\n /** Medium - 20px (Default) */\n Md: 'md',\n /** Large - 24px */\n Lg: 'lg',\n /** Extra large - 32px */\n Xl: 'xl',\n} as const;\n\nexport type IconSize = (typeof IconSize)[keyof typeof IconSize];\n\n/**\n * Icon component shared props (ADR-0004).\n */\nexport type IconPropsShared = {\n /**\n * Required prop to specify which icon to render from the icon set.\n */\n name: IconName;\n /**\n * Optional prop that sets the color of the icon using predefined theme colors.\n *\n * @default IconColor.IconDefault\n */\n color?: IconColor;\n /**\n * Optional prop to control the size of the icon.\n * Different sizes map to specific pixel dimensions.\n *\n * @default IconSize.Md\n */\n size?: IconSize;\n};\n"]}
|
|
1
|
+
{"version":3,"file":"Icon.types.cjs","sourceRoot":"","sources":["../../../src/types/Icon/Icon.types.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,SAAS,GAAG;IACvB,gCAAgC;IAChC,WAAW,EAAE,mBAAmB;IAChC,+BAA+B;IAC/B,eAAe,EAAE,uBAAuB;IACxC,8DAA8D;IAC9D,SAAS,EAAE,iBAAiB;IAC5B,gGAAgG;IAChG,WAAW,EAAE,mBAAmB;IAChC,sFAAsF;IACtF,cAAc,EAAE,sBAAsB;IACtC,kGAAkG;IAClG,cAAc,EAAE,sBAAsB;IACtC,0DAA0D;IAC1D,kBAAkB,EAAE,0BAA0B;IAC9C,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,uFAAuF;IACvF,YAAY,EAAE,oBAAoB;IAClC,4CAA4C;IAC5C,gBAAgB,EAAE,wBAAwB;IAC1C,gFAAgF;IAChF,YAAY,EAAE,oBAAoB;IAClC,sFAAsF;IACtF,cAAc,EAAE,sBAAsB;IACtC,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,iFAAiF;IACjF,cAAc,EAAE,sBAAsB;IACtC,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,uFAAuF;IACvF,WAAW,EAAE,mBAAmB;IAChC,+EAA+E;IAC/E,WAAW,EAAE,mBAAmB;CACxB,CAAC;AAIX,wDAAwD;AACxD,+CAA+C;AAC/C,wDAAwD;AAExD;;;;;GAKG;AACU,QAAA,QAAQ,GAAG;IACtB,aAAa,EAAE,eAAe;IAC9B,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,GAAG,EAAE,KAAK;IACV,UAAU,EAAE,YAAY;IACxB,EAAE,EAAE,IAAI;IACR,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,UAAU,EAA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;IACZ,cAAc,EAAE,gBAAgB;IAChC,YAAY,EAAE,cAAc;IAC5B,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,iBAAiB;IAClC,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,eAAe;IAC9B,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;IACV,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,eAAe;IAC9B,gBAAgB,EAAE,kBAAkB;IACpC,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE,gBAAgB;IAChC,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,CAAC,EAAE,GAAG;CACE,CAAC;AAIX,yBAAyB;AAEzB;;;GAGG;AACU,QAAA,QAAQ,GAAG;IACtB,yBAAyB;IACzB,EAAE,EAAE,IAAI;IACR,mBAAmB;IACnB,EAAE,EAAE,IAAI;IACR,8BAA8B;IAC9B,EAAE,EAAE,IAAI;IACR,mBAAmB;IACnB,EAAE,EAAE,IAAI;IACR,yBAAyB;IACzB,EAAE,EAAE,IAAI;CACA,CAAC","sourcesContent":["/**\n * Icon - color (ADR-0003)\n * All icon color values shared across React and React Native platforms.\n */\nexport const IconColor = {\n /** For default neutral icons */\n IconDefault: 'text-icon-default',\n /** For softer neutral icons */\n IconAlternative: 'text-icon-alternative',\n /** For the weakest contrast neutral icons (not accessible) */\n IconMuted: 'text-icon-muted',\n /** For elements used on top of icon/default fills (e.g. checkmark on monochromatic checkbox) */\n IconInverse: 'text-icon-inverse',\n /** For elements used on top of overlay/alternative. Used for text, icon, or border */\n OverlayInverse: 'text-overlay-inverse',\n /** For interactive, active, and selected semantics. Used for text, background, icon, or border */\n PrimaryDefault: 'text-primary-default',\n /** For softer variants of primary interactive elements */\n PrimaryAlternative: 'text-primary-alternative',\n /** For elements used on top of primary/default. Used for text, icon, or border */\n PrimaryInverse: 'text-primary-inverse',\n /** For critical alert semantic elements. Used for text, background, icon, or border */\n ErrorDefault: 'text-error-default',\n /** For softer variants of error elements */\n ErrorAlternative: 'text-error-alternative',\n /** For elements used on top of error/default. Used for text, icon, or border */\n ErrorInverse: 'text-error-inverse',\n /** For caution alert semantic elements. Used for text, background, icon, or border */\n WarningDefault: 'text-warning-default',\n /** For elements used on top of warning/default. Used for text, icon, or border */\n WarningInverse: 'text-warning-inverse',\n /** For positive semantic elements. Used for text, background, icon, or border */\n SuccessDefault: 'text-success-default',\n /** For elements used on top of success/default. Used for text, icon, or border */\n SuccessInverse: 'text-success-inverse',\n /** For informational read-only elements. Used for text, background, icon, or border */\n InfoDefault: 'text-info-default',\n /** For elements used on top of info/default. Used for text, icon, or border */\n InfoInverse: 'text-info-inverse',\n} as const;\n\nexport type IconColor = (typeof IconColor)[keyof typeof IconColor];\n\n// /////////////////////////////////////////////////////\n// DO NOT EDIT - generated by generate-icons.ts\n// /////////////////////////////////////////////////////\n\n/**\n * Icon - name\n * All icon names shared across React and React Native platforms.\n * This block is auto-generated — do not edit directly.\n * Run `yarn generate:icons` from the repo root to regenerate.\n */\nexport const IconName = {\n Accessibility: 'Accessibility',\n Activity: 'Activity',\n AddCircle: 'AddCircle',\n AddSquare: 'AddSquare',\n Add: 'Add',\n AfterHours: 'AfterHours',\n Ai: 'Ai',\n AppleLogo: 'AppleLogo',\n Apps: 'Apps',\n Arrow2Down: 'Arrow2Down',\n Arrow2Left: 'Arrow2Left',\n Arrow2Right: 'Arrow2Right',\n Arrow2UpRight: 'Arrow2UpRight',\n Arrow2Up: 'Arrow2Up',\n ArrowDoubleRight: 'ArrowDoubleRight',\n ArrowDown: 'ArrowDown',\n ArrowLeft: 'ArrowLeft',\n ArrowRight: 'ArrowRight',\n ArrowSquareOut: 'ArrowSquareOut',\n ArrowUp: 'ArrowUp',\n AttachMoney: 'AttachMoney',\n Backspace: 'Backspace',\n Ban: 'Ban',\n Bank: 'Bank',\n Book: 'Book',\n Bookmark: 'Bookmark',\n Bridge: 'Bridge',\n BuySell: 'BuySell',\n Calculator: 'Calculator',\n Calendar: 'Calendar',\n Call: 'Call',\n Camera: 'Camera',\n Campaign: 'Campaign',\n CandlestickFilled: 'CandlestickFilled',\n Candlestick: 'Candlestick',\n Card: 'Card',\n Cash: 'Cash',\n Category: 'Category',\n Chart: 'Chart',\n CheckBold: 'CheckBold',\n Check: 'Check',\n CircleX: 'CircleX',\n Clipboard: 'Clipboard',\n ClockFilled: 'ClockFilled',\n Clock: 'Clock',\n Close: 'Close',\n Code: 'Code',\n Coin: 'Coin',\n Collapse: 'Collapse',\n Confirmation: 'Confirmation',\n Connect: 'Connect',\n CopySuccess: 'CopySuccess',\n Copy: 'Copy',\n Customize: 'Customize',\n Danger: 'Danger',\n Data: 'Data',\n Details: 'Details',\n Diagram: 'Diagram',\n DocumentCode: 'DocumentCode',\n Download: 'Download',\n Edit: 'Edit',\n Error: 'Error',\n Ethereum: 'Ethereum',\n Exchange: 'Exchange',\n Expand: 'Expand',\n Explore: 'Explore',\n Export: 'Export',\n Extension: 'Extension',\n EyeSlash: 'EyeSlash',\n Eye: 'Eye',\n FaceId: 'FaceId',\n Feedback: 'Feedback',\n File: 'File',\n Filter: 'Filter',\n Fingerprint: 'Fingerprint',\n Fire: 'Fire',\n Flag: 'Flag',\n FlashFilled: 'FlashFilled',\n Flash: 'Flash',\n Flask: 'Flask',\n Forest: 'Forest',\n FullCircle: 'FullCircle',\n Gas: 'Gas',\n Gift: 'Gift',\n GlobalSearch: 'GlobalSearch',\n Global: 'Global',\n Hardware: 'Hardware',\n HeartStraightFilled: 'HeartStraightFilled',\n HeartStraight: 'HeartStraight',\n Hierarchy: 'Hierarchy',\n HomeFilled: 'HomeFilled',\n Home: 'Home',\n Image: 'Image',\n Infinity: 'Infinity',\n Info: 'Info',\n Keep: 'Keep',\n Key: 'Key',\n Link: 'Link',\n ListArrow: 'ListArrow',\n Loading: 'Loading',\n Location: 'Location',\n LockSlash: 'LockSlash',\n Lock: 'Lock',\n Logout: 'Logout',\n Mail: 'Mail',\n Menu: 'Menu',\n Merge: 'Merge',\n MessageQuestion: 'MessageQuestion',\n Messages: 'Messages',\n MetamaskFoxOutline: 'MetamaskFoxOutline',\n MinusBold: 'MinusBold',\n Minus: 'Minus',\n Mobile: 'Mobile',\n MoneyBag: 'MoneyBag',\n Monitor: 'Monitor',\n MoreHorizontal: 'MoreHorizontal',\n MoreVertical: 'MoreVertical',\n MusdFilled: 'MusdFilled',\n Musd: 'Musd',\n NoPhotography: 'NoPhotography',\n Notification: 'Notification',\n PeopleFilled: 'PeopleFilled',\n People: 'People',\n Pin: 'Pin',\n Plant: 'Plant',\n Plug: 'Plug',\n PopUp: 'PopUp',\n Predictions: 'Predictions',\n ProgrammingArrows: 'ProgrammingArrows',\n QrCode: 'QrCode',\n Question: 'Question',\n Receive: 'Receive',\n Received: 'Received',\n Refresh: 'Refresh',\n RemoveMinus: 'RemoveMinus',\n Rocket: 'Rocket',\n Save: 'Save',\n ScanBarcode: 'ScanBarcode',\n Scan: 'Scan',\n Search: 'Search',\n SecurityKey: 'SecurityKey',\n SecuritySearch: 'SecuritySearch',\n SecuritySlash: 'SecuritySlash',\n SecurityTick: 'SecurityTick',\n SecurityTime: 'SecurityTime',\n Security: 'Security',\n Send: 'Send',\n Setting: 'Setting',\n Share: 'Share',\n ShieldLock: 'ShieldLock',\n SidePanel: 'SidePanel',\n Sms: 'Sms',\n SnapsMobile: 'SnapsMobile',\n Snaps: 'Snaps',\n Sparkle: 'Sparkle',\n Speed: 'Speed',\n Speedometer: 'Speedometer',\n Stake: 'Stake',\n StarFilled: 'StarFilled',\n Star: 'Star',\n SwapHorizontal: 'SwapHorizontal',\n SwapVertical: 'SwapVertical',\n Tag: 'Tag',\n Telegram: 'Telegram',\n ThumbDownFilled: 'ThumbDownFilled',\n ThumbDown: 'ThumbDown',\n ThumbUpFilled: 'ThumbUpFilled',\n ThumbUp: 'ThumbUp',\n Tint: 'Tint',\n Trash: 'Trash',\n TrendDown: 'TrendDown',\n TrendUp: 'TrendUp',\n Trophy: 'Trophy',\n Unpin: 'Unpin',\n Upload: 'Upload',\n Usb: 'Usb',\n UserCheck: 'UserCheck',\n UserCircleAdd: 'UserCircleAdd',\n UserCircleRemove: 'UserCircleRemove',\n UserCircle: 'UserCircle',\n VerifiedFilled: 'VerifiedFilled',\n Videocam: 'Videocam',\n Wallet: 'Wallet',\n Warning: 'Warning',\n WebTraffic: 'WebTraffic',\n WifiOff: 'WifiOff',\n Wifi: 'Wifi',\n X: 'X',\n} as const;\n\nexport type IconName = (typeof IconName)[keyof typeof IconName];\n\n// END generated IconName\n\n/**\n * Icon - size\n * Common icon sizes shared across React and React Native platforms.\n */\nexport const IconSize = {\n /** Extra small - 12px */\n Xs: 'xs',\n /** Small - 16px */\n Sm: 'sm',\n /** Medium - 20px (Default) */\n Md: 'md',\n /** Large - 24px */\n Lg: 'lg',\n /** Extra large - 32px */\n Xl: 'xl',\n} as const;\n\nexport type IconSize = (typeof IconSize)[keyof typeof IconSize];\n\n/**\n * Icon component shared props (ADR-0004).\n */\nexport type IconPropsShared = {\n /**\n * Required prop to specify which icon to render from the icon set.\n */\n name: IconName;\n /**\n * Optional prop that sets the color of the icon using predefined theme colors.\n *\n * @default IconColor.IconDefault\n */\n color?: IconColor;\n /**\n * Optional prop to control the size of the icon.\n * Different sizes map to specific pixel dimensions.\n *\n * @default IconSize.Md\n */\n size?: IconSize;\n};\n"]}
|
|
@@ -64,6 +64,7 @@ export declare const IconName: {
|
|
|
64
64
|
readonly ArrowDown: "ArrowDown";
|
|
65
65
|
readonly ArrowLeft: "ArrowLeft";
|
|
66
66
|
readonly ArrowRight: "ArrowRight";
|
|
67
|
+
readonly ArrowSquareOut: "ArrowSquareOut";
|
|
67
68
|
readonly ArrowUp: "ArrowUp";
|
|
68
69
|
readonly AttachMoney: "AttachMoney";
|
|
69
70
|
readonly Backspace: "Backspace";
|
|
@@ -87,6 +88,7 @@ export declare const IconName: {
|
|
|
87
88
|
readonly CheckBold: "CheckBold";
|
|
88
89
|
readonly Check: "Check";
|
|
89
90
|
readonly CircleX: "CircleX";
|
|
91
|
+
readonly Clipboard: "Clipboard";
|
|
90
92
|
readonly ClockFilled: "ClockFilled";
|
|
91
93
|
readonly Clock: "Clock";
|
|
92
94
|
readonly Close: "Close";
|
|
@@ -137,6 +139,7 @@ export declare const IconName: {
|
|
|
137
139
|
readonly HomeFilled: "HomeFilled";
|
|
138
140
|
readonly Home: "Home";
|
|
139
141
|
readonly Image: "Image";
|
|
142
|
+
readonly Infinity: "Infinity";
|
|
140
143
|
readonly Info: "Info";
|
|
141
144
|
readonly Keep: "Keep";
|
|
142
145
|
readonly Key: "Key";
|
|
@@ -164,6 +167,7 @@ export declare const IconName: {
|
|
|
164
167
|
readonly Musd: "Musd";
|
|
165
168
|
readonly NoPhotography: "NoPhotography";
|
|
166
169
|
readonly Notification: "Notification";
|
|
170
|
+
readonly PeopleFilled: "PeopleFilled";
|
|
167
171
|
readonly People: "People";
|
|
168
172
|
readonly Pin: "Pin";
|
|
169
173
|
readonly Plant: "Plant";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.types.d.cts","sourceRoot":"","sources":["../../../src/types/Icon/Icon.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,SAAS;IACpB,gCAAgC;;IAEhC,+BAA+B;;IAE/B,8DAA8D;;IAE9D,gGAAgG;;IAEhG,sFAAsF;;IAEtF,kGAAkG;;IAElG,0DAA0D;;IAE1D,kFAAkF;;IAElF,uFAAuF;;IAEvF,4CAA4C;;IAE5C,gFAAgF;;IAEh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;IAEnB,yBAAyB;;CAEjB,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAEhE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,CAAC"}
|
|
@@ -64,6 +64,7 @@ export declare const IconName: {
|
|
|
64
64
|
readonly ArrowDown: "ArrowDown";
|
|
65
65
|
readonly ArrowLeft: "ArrowLeft";
|
|
66
66
|
readonly ArrowRight: "ArrowRight";
|
|
67
|
+
readonly ArrowSquareOut: "ArrowSquareOut";
|
|
67
68
|
readonly ArrowUp: "ArrowUp";
|
|
68
69
|
readonly AttachMoney: "AttachMoney";
|
|
69
70
|
readonly Backspace: "Backspace";
|
|
@@ -87,6 +88,7 @@ export declare const IconName: {
|
|
|
87
88
|
readonly CheckBold: "CheckBold";
|
|
88
89
|
readonly Check: "Check";
|
|
89
90
|
readonly CircleX: "CircleX";
|
|
91
|
+
readonly Clipboard: "Clipboard";
|
|
90
92
|
readonly ClockFilled: "ClockFilled";
|
|
91
93
|
readonly Clock: "Clock";
|
|
92
94
|
readonly Close: "Close";
|
|
@@ -137,6 +139,7 @@ export declare const IconName: {
|
|
|
137
139
|
readonly HomeFilled: "HomeFilled";
|
|
138
140
|
readonly Home: "Home";
|
|
139
141
|
readonly Image: "Image";
|
|
142
|
+
readonly Infinity: "Infinity";
|
|
140
143
|
readonly Info: "Info";
|
|
141
144
|
readonly Keep: "Keep";
|
|
142
145
|
readonly Key: "Key";
|
|
@@ -164,6 +167,7 @@ export declare const IconName: {
|
|
|
164
167
|
readonly Musd: "Musd";
|
|
165
168
|
readonly NoPhotography: "NoPhotography";
|
|
166
169
|
readonly Notification: "Notification";
|
|
170
|
+
readonly PeopleFilled: "PeopleFilled";
|
|
167
171
|
readonly People: "People";
|
|
168
172
|
readonly Pin: "Pin";
|
|
169
173
|
readonly Plant: "Plant";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.types.d.mts","sourceRoot":"","sources":["../../../src/types/Icon/Icon.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,SAAS;IACpB,gCAAgC;;IAEhC,+BAA+B;;IAE/B,8DAA8D;;IAE9D,gGAAgG;;IAEhG,sFAAsF;;IAEtF,kGAAkG;;IAElG,0DAA0D;;IAE1D,kFAAkF;;IAElF,uFAAuF;;IAEvF,4CAA4C;;IAE5C,gFAAgF;;IAEhF,sFAAsF;;IAEtF,kFAAkF;;IAElF,iFAAiF;;IAEjF,kFAAkF;;IAElF,uFAAuF;;IAEvF,+EAA+E;;CAEvE,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAMnE;;;;;GAKG;AACH,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"Icon.types.d.mts","sourceRoot":"","sources":["../../../src/types/Icon/Icon.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,SAAS;IACpB,gCAAgC;;IAEhC,+BAA+B;;IAE/B,8DAA8D;;IAE9D,gGAAgG;;IAEhG,sFAAsF;;IAEtF,kGAAkG;;IAElG,0DAA0D;;IAE1D,kFAAkF;;IAElF,uFAAuF;;IAEvF,4CAA4C;;IAE5C,gFAAgF;;IAEhF,sFAAsF;;IAEtF,kFAAkF;;IAElF,iFAAiF;;IAEjF,kFAAkF;;IAElF,uFAAuF;;IAEvF,+EAA+E;;CAEvE,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAMnE;;;;;GAKG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6LX,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAIhE;;;GAGG;AACH,eAAO,MAAM,QAAQ;IACnB,yBAAyB;;IAEzB,mBAAmB;;IAEnB,8BAA8B;;IAE9B,mBAAmB;;IAEnB,yBAAyB;;CAEjB,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC;AAEhE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,CAAC"}
|
|
@@ -66,6 +66,7 @@ export const IconName = {
|
|
|
66
66
|
ArrowDown: 'ArrowDown',
|
|
67
67
|
ArrowLeft: 'ArrowLeft',
|
|
68
68
|
ArrowRight: 'ArrowRight',
|
|
69
|
+
ArrowSquareOut: 'ArrowSquareOut',
|
|
69
70
|
ArrowUp: 'ArrowUp',
|
|
70
71
|
AttachMoney: 'AttachMoney',
|
|
71
72
|
Backspace: 'Backspace',
|
|
@@ -89,6 +90,7 @@ export const IconName = {
|
|
|
89
90
|
CheckBold: 'CheckBold',
|
|
90
91
|
Check: 'Check',
|
|
91
92
|
CircleX: 'CircleX',
|
|
93
|
+
Clipboard: 'Clipboard',
|
|
92
94
|
ClockFilled: 'ClockFilled',
|
|
93
95
|
Clock: 'Clock',
|
|
94
96
|
Close: 'Close',
|
|
@@ -139,6 +141,7 @@ export const IconName = {
|
|
|
139
141
|
HomeFilled: 'HomeFilled',
|
|
140
142
|
Home: 'Home',
|
|
141
143
|
Image: 'Image',
|
|
144
|
+
Infinity: 'Infinity',
|
|
142
145
|
Info: 'Info',
|
|
143
146
|
Keep: 'Keep',
|
|
144
147
|
Key: 'Key',
|
|
@@ -166,6 +169,7 @@ export const IconName = {
|
|
|
166
169
|
Musd: 'Musd',
|
|
167
170
|
NoPhotography: 'NoPhotography',
|
|
168
171
|
Notification: 'Notification',
|
|
172
|
+
PeopleFilled: 'PeopleFilled',
|
|
169
173
|
People: 'People',
|
|
170
174
|
Pin: 'Pin',
|
|
171
175
|
Plant: 'Plant',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.types.mjs","sourceRoot":"","sources":["../../../src/types/Icon/Icon.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,gCAAgC;IAChC,WAAW,EAAE,mBAAmB;IAChC,+BAA+B;IAC/B,eAAe,EAAE,uBAAuB;IACxC,8DAA8D;IAC9D,SAAS,EAAE,iBAAiB;IAC5B,gGAAgG;IAChG,WAAW,EAAE,mBAAmB;IAChC,sFAAsF;IACtF,cAAc,EAAE,sBAAsB;IACtC,kGAAkG;IAClG,cAAc,EAAE,sBAAsB;IACtC,0DAA0D;IAC1D,kBAAkB,EAAE,0BAA0B;IAC9C,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,uFAAuF;IACvF,YAAY,EAAE,oBAAoB;IAClC,4CAA4C;IAC5C,gBAAgB,EAAE,wBAAwB;IAC1C,gFAAgF;IAChF,YAAY,EAAE,oBAAoB;IAClC,sFAAsF;IACtF,cAAc,EAAE,sBAAsB;IACtC,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,iFAAiF;IACjF,cAAc,EAAE,sBAAsB;IACtC,kF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,IAAI;IACR,mBAAmB;IACnB,EAAE,EAAE,IAAI;IACR,yBAAyB;IACzB,EAAE,EAAE,IAAI;CACA,CAAC","sourcesContent":["/**\n * Icon - color (ADR-0003)\n * All icon color values shared across React and React Native platforms.\n */\nexport const IconColor = {\n /** For default neutral icons */\n IconDefault: 'text-icon-default',\n /** For softer neutral icons */\n IconAlternative: 'text-icon-alternative',\n /** For the weakest contrast neutral icons (not accessible) */\n IconMuted: 'text-icon-muted',\n /** For elements used on top of icon/default fills (e.g. checkmark on monochromatic checkbox) */\n IconInverse: 'text-icon-inverse',\n /** For elements used on top of overlay/alternative. Used for text, icon, or border */\n OverlayInverse: 'text-overlay-inverse',\n /** For interactive, active, and selected semantics. Used for text, background, icon, or border */\n PrimaryDefault: 'text-primary-default',\n /** For softer variants of primary interactive elements */\n PrimaryAlternative: 'text-primary-alternative',\n /** For elements used on top of primary/default. Used for text, icon, or border */\n PrimaryInverse: 'text-primary-inverse',\n /** For critical alert semantic elements. Used for text, background, icon, or border */\n ErrorDefault: 'text-error-default',\n /** For softer variants of error elements */\n ErrorAlternative: 'text-error-alternative',\n /** For elements used on top of error/default. Used for text, icon, or border */\n ErrorInverse: 'text-error-inverse',\n /** For caution alert semantic elements. Used for text, background, icon, or border */\n WarningDefault: 'text-warning-default',\n /** For elements used on top of warning/default. Used for text, icon, or border */\n WarningInverse: 'text-warning-inverse',\n /** For positive semantic elements. Used for text, background, icon, or border */\n SuccessDefault: 'text-success-default',\n /** For elements used on top of success/default. Used for text, icon, or border */\n SuccessInverse: 'text-success-inverse',\n /** For informational read-only elements. Used for text, background, icon, or border */\n InfoDefault: 'text-info-default',\n /** For elements used on top of info/default. Used for text, icon, or border */\n InfoInverse: 'text-info-inverse',\n} as const;\n\nexport type IconColor = (typeof IconColor)[keyof typeof IconColor];\n\n// /////////////////////////////////////////////////////\n// DO NOT EDIT - generated by generate-icons.ts\n// /////////////////////////////////////////////////////\n\n/**\n * Icon - name\n * All icon names shared across React and React Native platforms.\n * This block is auto-generated — do not edit directly.\n * Run `yarn generate:icons` from the repo root to regenerate.\n */\nexport const IconName = {\n Accessibility: 'Accessibility',\n Activity: 'Activity',\n AddCircle: 'AddCircle',\n AddSquare: 'AddSquare',\n Add: 'Add',\n AfterHours: 'AfterHours',\n Ai: 'Ai',\n AppleLogo: 'AppleLogo',\n Apps: 'Apps',\n Arrow2Down: 'Arrow2Down',\n Arrow2Left: 'Arrow2Left',\n Arrow2Right: 'Arrow2Right',\n Arrow2UpRight: 'Arrow2UpRight',\n Arrow2Up: 'Arrow2Up',\n ArrowDoubleRight: 'ArrowDoubleRight',\n ArrowDown: 'ArrowDown',\n ArrowLeft: 'ArrowLeft',\n ArrowRight: 'ArrowRight',\n ArrowUp: 'ArrowUp',\n AttachMoney: 'AttachMoney',\n Backspace: 'Backspace',\n Ban: 'Ban',\n Bank: 'Bank',\n Book: 'Book',\n Bookmark: 'Bookmark',\n Bridge: 'Bridge',\n BuySell: 'BuySell',\n Calculator: 'Calculator',\n Calendar: 'Calendar',\n Call: 'Call',\n Camera: 'Camera',\n Campaign: 'Campaign',\n CandlestickFilled: 'CandlestickFilled',\n Candlestick: 'Candlestick',\n Card: 'Card',\n Cash: 'Cash',\n Category: 'Category',\n Chart: 'Chart',\n CheckBold: 'CheckBold',\n Check: 'Check',\n CircleX: 'CircleX',\n ClockFilled: 'ClockFilled',\n Clock: 'Clock',\n Close: 'Close',\n Code: 'Code',\n Coin: 'Coin',\n Collapse: 'Collapse',\n Confirmation: 'Confirmation',\n Connect: 'Connect',\n CopySuccess: 'CopySuccess',\n Copy: 'Copy',\n Customize: 'Customize',\n Danger: 'Danger',\n Data: 'Data',\n Details: 'Details',\n Diagram: 'Diagram',\n DocumentCode: 'DocumentCode',\n Download: 'Download',\n Edit: 'Edit',\n Error: 'Error',\n Ethereum: 'Ethereum',\n Exchange: 'Exchange',\n Expand: 'Expand',\n Explore: 'Explore',\n Export: 'Export',\n Extension: 'Extension',\n EyeSlash: 'EyeSlash',\n Eye: 'Eye',\n FaceId: 'FaceId',\n Feedback: 'Feedback',\n File: 'File',\n Filter: 'Filter',\n Fingerprint: 'Fingerprint',\n Fire: 'Fire',\n Flag: 'Flag',\n FlashFilled: 'FlashFilled',\n Flash: 'Flash',\n Flask: 'Flask',\n Forest: 'Forest',\n FullCircle: 'FullCircle',\n Gas: 'Gas',\n Gift: 'Gift',\n GlobalSearch: 'GlobalSearch',\n Global: 'Global',\n Hardware: 'Hardware',\n HeartStraightFilled: 'HeartStraightFilled',\n HeartStraight: 'HeartStraight',\n Hierarchy: 'Hierarchy',\n HomeFilled: 'HomeFilled',\n Home: 'Home',\n Image: 'Image',\n Info: 'Info',\n Keep: 'Keep',\n Key: 'Key',\n Link: 'Link',\n ListArrow: 'ListArrow',\n Loading: 'Loading',\n Location: 'Location',\n LockSlash: 'LockSlash',\n Lock: 'Lock',\n Logout: 'Logout',\n Mail: 'Mail',\n Menu: 'Menu',\n Merge: 'Merge',\n MessageQuestion: 'MessageQuestion',\n Messages: 'Messages',\n MetamaskFoxOutline: 'MetamaskFoxOutline',\n MinusBold: 'MinusBold',\n Minus: 'Minus',\n Mobile: 'Mobile',\n MoneyBag: 'MoneyBag',\n Monitor: 'Monitor',\n MoreHorizontal: 'MoreHorizontal',\n MoreVertical: 'MoreVertical',\n MusdFilled: 'MusdFilled',\n Musd: 'Musd',\n NoPhotography: 'NoPhotography',\n Notification: 'Notification',\n People: 'People',\n Pin: 'Pin',\n Plant: 'Plant',\n Plug: 'Plug',\n PopUp: 'PopUp',\n Predictions: 'Predictions',\n ProgrammingArrows: 'ProgrammingArrows',\n QrCode: 'QrCode',\n Question: 'Question',\n Receive: 'Receive',\n Received: 'Received',\n Refresh: 'Refresh',\n RemoveMinus: 'RemoveMinus',\n Rocket: 'Rocket',\n Save: 'Save',\n ScanBarcode: 'ScanBarcode',\n Scan: 'Scan',\n Search: 'Search',\n SecurityKey: 'SecurityKey',\n SecuritySearch: 'SecuritySearch',\n SecuritySlash: 'SecuritySlash',\n SecurityTick: 'SecurityTick',\n SecurityTime: 'SecurityTime',\n Security: 'Security',\n Send: 'Send',\n Setting: 'Setting',\n Share: 'Share',\n ShieldLock: 'ShieldLock',\n SidePanel: 'SidePanel',\n Sms: 'Sms',\n SnapsMobile: 'SnapsMobile',\n Snaps: 'Snaps',\n Sparkle: 'Sparkle',\n Speed: 'Speed',\n Speedometer: 'Speedometer',\n Stake: 'Stake',\n StarFilled: 'StarFilled',\n Star: 'Star',\n SwapHorizontal: 'SwapHorizontal',\n SwapVertical: 'SwapVertical',\n Tag: 'Tag',\n Telegram: 'Telegram',\n ThumbDownFilled: 'ThumbDownFilled',\n ThumbDown: 'ThumbDown',\n ThumbUpFilled: 'ThumbUpFilled',\n ThumbUp: 'ThumbUp',\n Tint: 'Tint',\n Trash: 'Trash',\n TrendDown: 'TrendDown',\n TrendUp: 'TrendUp',\n Trophy: 'Trophy',\n Unpin: 'Unpin',\n Upload: 'Upload',\n Usb: 'Usb',\n UserCheck: 'UserCheck',\n UserCircleAdd: 'UserCircleAdd',\n UserCircleRemove: 'UserCircleRemove',\n UserCircle: 'UserCircle',\n VerifiedFilled: 'VerifiedFilled',\n Videocam: 'Videocam',\n Wallet: 'Wallet',\n Warning: 'Warning',\n WebTraffic: 'WebTraffic',\n WifiOff: 'WifiOff',\n Wifi: 'Wifi',\n X: 'X',\n} as const;\n\nexport type IconName = (typeof IconName)[keyof typeof IconName];\n\n// END generated IconName\n\n/**\n * Icon - size\n * Common icon sizes shared across React and React Native platforms.\n */\nexport const IconSize = {\n /** Extra small - 12px */\n Xs: 'xs',\n /** Small - 16px */\n Sm: 'sm',\n /** Medium - 20px (Default) */\n Md: 'md',\n /** Large - 24px */\n Lg: 'lg',\n /** Extra large - 32px */\n Xl: 'xl',\n} as const;\n\nexport type IconSize = (typeof IconSize)[keyof typeof IconSize];\n\n/**\n * Icon component shared props (ADR-0004).\n */\nexport type IconPropsShared = {\n /**\n * Required prop to specify which icon to render from the icon set.\n */\n name: IconName;\n /**\n * Optional prop that sets the color of the icon using predefined theme colors.\n *\n * @default IconColor.IconDefault\n */\n color?: IconColor;\n /**\n * Optional prop to control the size of the icon.\n * Different sizes map to specific pixel dimensions.\n *\n * @default IconSize.Md\n */\n size?: IconSize;\n};\n"]}
|
|
1
|
+
{"version":3,"file":"Icon.types.mjs","sourceRoot":"","sources":["../../../src/types/Icon/Icon.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,gCAAgC;IAChC,WAAW,EAAE,mBAAmB;IAChC,+BAA+B;IAC/B,eAAe,EAAE,uBAAuB;IACxC,8DAA8D;IAC9D,SAAS,EAAE,iBAAiB;IAC5B,gGAAgG;IAChG,WAAW,EAAE,mBAAmB;IAChC,sFAAsF;IACtF,cAAc,EAAE,sBAAsB;IACtC,kGAAkG;IAClG,cAAc,EAAE,sBAAsB;IACtC,0DAA0D;IAC1D,kBAAkB,EAAE,0BAA0B;IAC9C,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,uFAAuF;IACvF,YAAY,EAAE,oBAAoB;IAClC,4CAA4C;IAC5C,gBAAgB,EAAE,wBAAwB;IAC1C,gFAAgF;IAChF,YAAY,EAAE,oBAAoB;IAClC,sFAAsF;IACtF,cAAc,EAAE,sBAAsB;IACtC,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,iFAAiF;IACjF,cAAc,EAAE,sBAAsB;IACtC,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,uFAAuF;IACvF,WAAW,EAAE,mBAAmB;IAChC,+EAA+E;IAC/E,WAAW,EAAE,mBAAmB;CACxB,CAAC;AAIX,wDAAwD;AACxD,+CAA+C;AAC/C,wDAAwD;AAExD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,aAAa,EAAE,eAAe;IAC9B,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,GAAG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AAS;IAClB,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,cAAc,EAAE,gBAAgB;IAChC,YAAY,EAAE,cAAc;IAC5B,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,iBAAiB;IAClC,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,eAAe;IAC9B,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;IACV,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,eAAe;IAC9B,gBAAgB,EAAE,kBAAkB;IACpC,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE,gBAAgB;IAChC,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,CAAC,EAAE,GAAG;CACE,CAAC;AAIX,yBAAyB;AAEzB;;;GAGG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,yBAAyB;IACzB,EAAE,EAAE,IAAI;IACR,mBAAmB;IACnB,EAAE,EAAE,IAAI;IACR,8BAA8B;IAC9B,EAAE,EAAE,IAAI;IACR,mBAAmB;IACnB,EAAE,EAAE,IAAI;IACR,yBAAyB;IACzB,EAAE,EAAE,IAAI;CACA,CAAC","sourcesContent":["/**\n * Icon - color (ADR-0003)\n * All icon color values shared across React and React Native platforms.\n */\nexport const IconColor = {\n /** For default neutral icons */\n IconDefault: 'text-icon-default',\n /** For softer neutral icons */\n IconAlternative: 'text-icon-alternative',\n /** For the weakest contrast neutral icons (not accessible) */\n IconMuted: 'text-icon-muted',\n /** For elements used on top of icon/default fills (e.g. checkmark on monochromatic checkbox) */\n IconInverse: 'text-icon-inverse',\n /** For elements used on top of overlay/alternative. Used for text, icon, or border */\n OverlayInverse: 'text-overlay-inverse',\n /** For interactive, active, and selected semantics. Used for text, background, icon, or border */\n PrimaryDefault: 'text-primary-default',\n /** For softer variants of primary interactive elements */\n PrimaryAlternative: 'text-primary-alternative',\n /** For elements used on top of primary/default. Used for text, icon, or border */\n PrimaryInverse: 'text-primary-inverse',\n /** For critical alert semantic elements. Used for text, background, icon, or border */\n ErrorDefault: 'text-error-default',\n /** For softer variants of error elements */\n ErrorAlternative: 'text-error-alternative',\n /** For elements used on top of error/default. Used for text, icon, or border */\n ErrorInverse: 'text-error-inverse',\n /** For caution alert semantic elements. Used for text, background, icon, or border */\n WarningDefault: 'text-warning-default',\n /** For elements used on top of warning/default. Used for text, icon, or border */\n WarningInverse: 'text-warning-inverse',\n /** For positive semantic elements. Used for text, background, icon, or border */\n SuccessDefault: 'text-success-default',\n /** For elements used on top of success/default. Used for text, icon, or border */\n SuccessInverse: 'text-success-inverse',\n /** For informational read-only elements. Used for text, background, icon, or border */\n InfoDefault: 'text-info-default',\n /** For elements used on top of info/default. Used for text, icon, or border */\n InfoInverse: 'text-info-inverse',\n} as const;\n\nexport type IconColor = (typeof IconColor)[keyof typeof IconColor];\n\n// /////////////////////////////////////////////////////\n// DO NOT EDIT - generated by generate-icons.ts\n// /////////////////////////////////////////////////////\n\n/**\n * Icon - name\n * All icon names shared across React and React Native platforms.\n * This block is auto-generated — do not edit directly.\n * Run `yarn generate:icons` from the repo root to regenerate.\n */\nexport const IconName = {\n Accessibility: 'Accessibility',\n Activity: 'Activity',\n AddCircle: 'AddCircle',\n AddSquare: 'AddSquare',\n Add: 'Add',\n AfterHours: 'AfterHours',\n Ai: 'Ai',\n AppleLogo: 'AppleLogo',\n Apps: 'Apps',\n Arrow2Down: 'Arrow2Down',\n Arrow2Left: 'Arrow2Left',\n Arrow2Right: 'Arrow2Right',\n Arrow2UpRight: 'Arrow2UpRight',\n Arrow2Up: 'Arrow2Up',\n ArrowDoubleRight: 'ArrowDoubleRight',\n ArrowDown: 'ArrowDown',\n ArrowLeft: 'ArrowLeft',\n ArrowRight: 'ArrowRight',\n ArrowSquareOut: 'ArrowSquareOut',\n ArrowUp: 'ArrowUp',\n AttachMoney: 'AttachMoney',\n Backspace: 'Backspace',\n Ban: 'Ban',\n Bank: 'Bank',\n Book: 'Book',\n Bookmark: 'Bookmark',\n Bridge: 'Bridge',\n BuySell: 'BuySell',\n Calculator: 'Calculator',\n Calendar: 'Calendar',\n Call: 'Call',\n Camera: 'Camera',\n Campaign: 'Campaign',\n CandlestickFilled: 'CandlestickFilled',\n Candlestick: 'Candlestick',\n Card: 'Card',\n Cash: 'Cash',\n Category: 'Category',\n Chart: 'Chart',\n CheckBold: 'CheckBold',\n Check: 'Check',\n CircleX: 'CircleX',\n Clipboard: 'Clipboard',\n ClockFilled: 'ClockFilled',\n Clock: 'Clock',\n Close: 'Close',\n Code: 'Code',\n Coin: 'Coin',\n Collapse: 'Collapse',\n Confirmation: 'Confirmation',\n Connect: 'Connect',\n CopySuccess: 'CopySuccess',\n Copy: 'Copy',\n Customize: 'Customize',\n Danger: 'Danger',\n Data: 'Data',\n Details: 'Details',\n Diagram: 'Diagram',\n DocumentCode: 'DocumentCode',\n Download: 'Download',\n Edit: 'Edit',\n Error: 'Error',\n Ethereum: 'Ethereum',\n Exchange: 'Exchange',\n Expand: 'Expand',\n Explore: 'Explore',\n Export: 'Export',\n Extension: 'Extension',\n EyeSlash: 'EyeSlash',\n Eye: 'Eye',\n FaceId: 'FaceId',\n Feedback: 'Feedback',\n File: 'File',\n Filter: 'Filter',\n Fingerprint: 'Fingerprint',\n Fire: 'Fire',\n Flag: 'Flag',\n FlashFilled: 'FlashFilled',\n Flash: 'Flash',\n Flask: 'Flask',\n Forest: 'Forest',\n FullCircle: 'FullCircle',\n Gas: 'Gas',\n Gift: 'Gift',\n GlobalSearch: 'GlobalSearch',\n Global: 'Global',\n Hardware: 'Hardware',\n HeartStraightFilled: 'HeartStraightFilled',\n HeartStraight: 'HeartStraight',\n Hierarchy: 'Hierarchy',\n HomeFilled: 'HomeFilled',\n Home: 'Home',\n Image: 'Image',\n Infinity: 'Infinity',\n Info: 'Info',\n Keep: 'Keep',\n Key: 'Key',\n Link: 'Link',\n ListArrow: 'ListArrow',\n Loading: 'Loading',\n Location: 'Location',\n LockSlash: 'LockSlash',\n Lock: 'Lock',\n Logout: 'Logout',\n Mail: 'Mail',\n Menu: 'Menu',\n Merge: 'Merge',\n MessageQuestion: 'MessageQuestion',\n Messages: 'Messages',\n MetamaskFoxOutline: 'MetamaskFoxOutline',\n MinusBold: 'MinusBold',\n Minus: 'Minus',\n Mobile: 'Mobile',\n MoneyBag: 'MoneyBag',\n Monitor: 'Monitor',\n MoreHorizontal: 'MoreHorizontal',\n MoreVertical: 'MoreVertical',\n MusdFilled: 'MusdFilled',\n Musd: 'Musd',\n NoPhotography: 'NoPhotography',\n Notification: 'Notification',\n PeopleFilled: 'PeopleFilled',\n People: 'People',\n Pin: 'Pin',\n Plant: 'Plant',\n Plug: 'Plug',\n PopUp: 'PopUp',\n Predictions: 'Predictions',\n ProgrammingArrows: 'ProgrammingArrows',\n QrCode: 'QrCode',\n Question: 'Question',\n Receive: 'Receive',\n Received: 'Received',\n Refresh: 'Refresh',\n RemoveMinus: 'RemoveMinus',\n Rocket: 'Rocket',\n Save: 'Save',\n ScanBarcode: 'ScanBarcode',\n Scan: 'Scan',\n Search: 'Search',\n SecurityKey: 'SecurityKey',\n SecuritySearch: 'SecuritySearch',\n SecuritySlash: 'SecuritySlash',\n SecurityTick: 'SecurityTick',\n SecurityTime: 'SecurityTime',\n Security: 'Security',\n Send: 'Send',\n Setting: 'Setting',\n Share: 'Share',\n ShieldLock: 'ShieldLock',\n SidePanel: 'SidePanel',\n Sms: 'Sms',\n SnapsMobile: 'SnapsMobile',\n Snaps: 'Snaps',\n Sparkle: 'Sparkle',\n Speed: 'Speed',\n Speedometer: 'Speedometer',\n Stake: 'Stake',\n StarFilled: 'StarFilled',\n Star: 'Star',\n SwapHorizontal: 'SwapHorizontal',\n SwapVertical: 'SwapVertical',\n Tag: 'Tag',\n Telegram: 'Telegram',\n ThumbDownFilled: 'ThumbDownFilled',\n ThumbDown: 'ThumbDown',\n ThumbUpFilled: 'ThumbUpFilled',\n ThumbUp: 'ThumbUp',\n Tint: 'Tint',\n Trash: 'Trash',\n TrendDown: 'TrendDown',\n TrendUp: 'TrendUp',\n Trophy: 'Trophy',\n Unpin: 'Unpin',\n Upload: 'Upload',\n Usb: 'Usb',\n UserCheck: 'UserCheck',\n UserCircleAdd: 'UserCircleAdd',\n UserCircleRemove: 'UserCircleRemove',\n UserCircle: 'UserCircle',\n VerifiedFilled: 'VerifiedFilled',\n Videocam: 'Videocam',\n Wallet: 'Wallet',\n Warning: 'Warning',\n WebTraffic: 'WebTraffic',\n WifiOff: 'WifiOff',\n Wifi: 'Wifi',\n X: 'X',\n} as const;\n\nexport type IconName = (typeof IconName)[keyof typeof IconName];\n\n// END generated IconName\n\n/**\n * Icon - size\n * Common icon sizes shared across React and React Native platforms.\n */\nexport const IconSize = {\n /** Extra small - 12px */\n Xs: 'xs',\n /** Small - 16px */\n Sm: 'sm',\n /** Medium - 20px (Default) */\n Md: 'md',\n /** Large - 24px */\n Lg: 'lg',\n /** Extra large - 32px */\n Xl: 'xl',\n} as const;\n\nexport type IconSize = (typeof IconSize)[keyof typeof IconSize];\n\n/**\n * Icon component shared props (ADR-0004).\n */\nexport type IconPropsShared = {\n /**\n * Required prop to specify which icon to render from the icon set.\n */\n name: IconName;\n /**\n * Optional prop that sets the color of the icon using predefined theme colors.\n *\n * @default IconColor.IconDefault\n */\n color?: IconColor;\n /**\n * Optional prop to control the size of the icon.\n * Different sizes map to specific pixel dimensions.\n *\n * @default IconSize.Md\n */\n size?: IconSize;\n};\n"]}
|
|
@@ -28,9 +28,9 @@ exports.FontStyle = {
|
|
|
28
28
|
exports.FontFamily = {
|
|
29
29
|
/** Default: Inter */
|
|
30
30
|
Default: 'default',
|
|
31
|
-
/** Accent:
|
|
31
|
+
/** Accent: Grotzec Cond */
|
|
32
32
|
Accent: 'accent',
|
|
33
|
-
/** Hero:
|
|
33
|
+
/** Hero: Grotzec Cond */
|
|
34
34
|
Hero: 'hero',
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.types.cjs","sourceRoot":"","sources":["../../../src/types/Text/Text.types.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACU,QAAA,UAAU,GAAG;IACxB,mBAAmB;IACnB,IAAI,EAAE,MAAM;IACZ,mBAAmB;IACnB,MAAM,EAAE,QAAQ;IAChB,mBAAmB;IACnB,OAAO,EAAE,SAAS;CACV,CAAC;AAIX;;;GAGG;AACU,QAAA,SAAS,GAAG;IACvB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIX;;;GAGG;AACU,QAAA,UAAU,GAAG;IACxB,qBAAqB;IACrB,OAAO,EAAE,SAAS;IAClB,
|
|
1
|
+
{"version":3,"file":"Text.types.cjs","sourceRoot":"","sources":["../../../src/types/Text/Text.types.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACU,QAAA,UAAU,GAAG;IACxB,mBAAmB;IACnB,IAAI,EAAE,MAAM;IACZ,mBAAmB;IACnB,MAAM,EAAE,QAAQ;IAChB,mBAAmB;IACnB,OAAO,EAAE,SAAS;CACV,CAAC;AAIX;;;GAGG;AACU,QAAA,SAAS,GAAG;IACvB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIX;;;GAGG;AACU,QAAA,UAAU,GAAG;IACxB,qBAAqB;IACrB,OAAO,EAAE,SAAS;IAClB,2BAA2B;IAC3B,MAAM,EAAE,Q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;;;OAIG;IACH,mBAAmB,EAAE,4BAA4B;IACjD,4CAA4C;IAC5C,qBAAqB,EAAE,8BAA8B;IACrD,yFAAyF;IACzF,cAAc,EAAE,sBAAsB;IACtC,iFAAiF;IACjF,cAAc,EAAE,sBAAsB;IACtC;;;;OAIG;IACH,mBAAmB,EAAE,4BAA4B;IACjD,2CAA2C;IAC3C,qBAAqB,EAAE,8BAA8B;IACrD,sFAAsF;IACtF,WAAW,EAAE,mBAAmB;IAChC,8EAA8E;IAC9E,WAAW,EAAE,mBAAmB;IAChC,sCAAsC;IACtC,WAAW,EAAE,kBAAkB;IAC/B;;;;OAIG;IACH,OAAO,EAAE,cAAc;CACf,CAAC","sourcesContent":["import type { ReactNode } from 'react';\n\n/**\n * Text - fontWeight (ADR-0003)\n * Semantic values shared across React and React Native platforms.\n */\nexport const FontWeight = {\n /** Weight - 600 */\n Bold: 'bold',\n /** Weight - 500 */\n Medium: 'medium',\n /** Weight - 400 */\n Regular: 'regular',\n} as const;\n\nexport type FontWeight = (typeof FontWeight)[keyof typeof FontWeight];\n\n/**\n * Text - fontStyle (ADR-0003)\n * Semantic values shared across React and React Native platforms.\n */\nexport const FontStyle = {\n Italic: 'italic',\n Normal: 'normal',\n} as const;\n\nexport type FontStyle = (typeof FontStyle)[keyof typeof FontStyle];\n\n/**\n * Text - fontFamily (ADR-0003)\n * Semantic values shared across React and React Native platforms.\n */\nexport const FontFamily = {\n /** Default: Inter */\n Default: 'default',\n /** Accent: Grotzec Cond */\n Accent: 'accent',\n /** Hero: Grotzec Cond */\n Hero: 'hero',\n} as const;\n\nexport type FontFamily = (typeof FontFamily)[keyof typeof FontFamily];\n\n/**\n * Text - variant (ADR-0003)\n * Identical values across React and React Native platforms.\n */\nexport const TextVariant = {\n // Display Sizes\n DisplayLg: 'display-lg',\n DisplayMd: 'display-md',\n\n // Heading Sizes\n HeadingLg: 'heading-lg',\n HeadingMd: 'heading-md',\n HeadingSm: 'heading-sm',\n\n // Body Sizes\n BodyLg: 'body-lg',\n BodyMd: 'body-md',\n BodySm: 'body-sm',\n BodyXs: 'body-xs',\n\n // Special Typography Variants\n PageHeading: 'page-heading',\n SectionHeading: 'section-heading',\n ButtonLabelMd: 'button-label-md',\n ButtonLabelLg: 'button-label-lg',\n AmountDisplayLg: 'amount-display-lg',\n} as const;\n\nexport type TextVariant = (typeof TextVariant)[keyof typeof TextVariant];\n\n/**\n * Text - color (ADR-0003)\n * All text color values shared across React and React Native platforms.\n */\nexport const TextColor = {\n /** For default neutral text. */\n TextDefault: 'text-default',\n /** For softer contrast neutral text */\n TextAlternative: 'text-alternative',\n /** For the softest contrast neutral text (not accessible) */\n TextMuted: 'text-muted',\n /** For elements used on top of overlay/alternative. Used for text, icon or border */\n OverlayInverse: 'text-overlay-inverse',\n /** For interactive, active, and selected semantics. Used for text, background, icon or border */\n PrimaryDefault: 'text-primary-default',\n /** For elements used on top of primary/default. Used for text, icon or border */\n PrimaryInverse: 'text-primary-inverse',\n /** For softer variants of primary text. */\n PrimaryAlternative: 'text-primary-alternative',\n /**\n * For primary text in a hover state.\n *\n * @note On React Native, hover as an interaction state does not exist — use `PrimaryDefaultPressed` instead.\n */\n PrimaryDefaultHover: 'text-primary-default-hover',\n /** For primary text in a pressed state. */\n PrimaryDefaultPressed: 'text-primary-default-pressed',\n /** For the critical alert semantic elements. Used for text, background, icon or border */\n ErrorDefault: 'text-error-default',\n /** For the stronger contrast error semantic elements. */\n ErrorAlternative: 'text-error-alternative',\n /** For elements used on top of error/default. Used for text, icon or border */\n ErrorInverse: 'text-error-inverse',\n /**\n * For critical alert text in a hover state.\n *\n * @note On React Native, hover as an interaction state does not exist — use `ErrorDefaultPressed` instead.\n */\n ErrorDefaultHover: 'text-error-default-hover',\n /** For critical alert text in a pressed state. */\n ErrorDefaultPressed: 'text-error-default-pressed',\n /** For the positive semantic elements. Used for text, background, icon or border */\n SuccessDefault: 'text-success-default',\n /** For elements used on top of success/default. Used for text, icon or border */\n SuccessInverse: 'text-success-inverse',\n /**\n * For positive text in a hover state.\n *\n * @note On React Native, hover as an interaction state does not exist — use `SuccessDefaultPressed` instead.\n */\n SuccessDefaultHover: 'text-success-default-hover',\n /** For positive text in a pressed state. */\n SuccessDefaultPressed: 'text-success-default-pressed',\n /** For the caution alert semantic elements. Used for text, background, icon or border */\n WarningDefault: 'text-warning-default',\n /** For elements used on top of warning/default. Used for text, icon or border */\n WarningInverse: 'text-warning-inverse',\n /**\n * For caution text in a hover state.\n *\n * @note On React Native, hover as an interaction state does not exist — use `WarningDefaultPressed` instead.\n */\n WarningDefaultHover: 'text-warning-default-hover',\n /** For caution text in a pressed state. */\n WarningDefaultPressed: 'text-warning-default-pressed',\n /** For informational read-only elements. Used for text, background, icon or border */\n InfoDefault: 'text-info-default',\n /** For elements used on top of info/default. Used for text, icon or border */\n InfoInverse: 'text-info-inverse',\n /** Make the text color transparent */\n Transparent: 'text-transparent',\n /**\n * Inherit the color of the parent element.\n *\n * @platform web — CSS cascade has no equivalent in React Native; fails silently on mobile.\n */\n Inherit: 'text-inherit',\n} as const;\n\nexport type TextColor = (typeof TextColor)[keyof typeof TextColor];\n\n/**\n * Text component shared props (ADR-0004).\n * Platform-independent props shared across React and React Native.\n */\nexport type TextPropsShared = {\n /**\n * Optional prop to change the font size of the component.\n * Different variants map to specific HTML elements by default.\n *\n * @default TextVariant.BodyMd\n */\n variant?: TextVariant;\n /**\n * The text content or elements to be rendered within the component.\n */\n children: ReactNode;\n /**\n * Optional prop that sets the color of the text using predefined theme colors.\n *\n * @default TextColor.TextDefault\n */\n color?: TextColor;\n /**\n * Optional prop to control the font weight of the text.\n * Regular: 400\n * Medium: 500\n * Bold: 600\n */\n fontWeight?: FontWeight;\n /**\n * Optional prop to adjust the font family.\n * Default: Inter\n * Accent: Grotzec Cond\n * Hero: Grotzec Cond\n */\n fontFamily?: FontFamily;\n /**\n * Optional prop to control the font style of the text.\n * Options: Normal, Italic\n */\n fontStyle?: FontStyle;\n};\n"]}
|
|
@@ -28,9 +28,9 @@ export type FontStyle = (typeof FontStyle)[keyof typeof FontStyle];
|
|
|
28
28
|
export declare const FontFamily: {
|
|
29
29
|
/** Default: Inter */
|
|
30
30
|
readonly Default: "default";
|
|
31
|
-
/** Accent:
|
|
31
|
+
/** Accent: Grotzec Cond */
|
|
32
32
|
readonly Accent: "accent";
|
|
33
|
-
/** Hero:
|
|
33
|
+
/** Hero: Grotzec Cond */
|
|
34
34
|
readonly Hero: "hero";
|
|
35
35
|
};
|
|
36
36
|
export type FontFamily = (typeof FontFamily)[keyof typeof FontFamily];
|
|
@@ -166,8 +166,8 @@ export type TextPropsShared = {
|
|
|
166
166
|
/**
|
|
167
167
|
* Optional prop to adjust the font family.
|
|
168
168
|
* Default: Inter
|
|
169
|
-
* Accent:
|
|
170
|
-
* Hero:
|
|
169
|
+
* Accent: Grotzec Cond
|
|
170
|
+
* Hero: Grotzec Cond
|
|
171
171
|
*/
|
|
172
172
|
fontFamily?: FontFamily;
|
|
173
173
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.types.d.cts","sourceRoot":"","sources":["../../../src/types/Text/Text.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc;AAEvC;;;GAGG;AACH,eAAO,MAAM,UAAU;IACrB,mBAAmB;;IAEnB,mBAAmB;;IAEnB,mBAAmB;;CAEX,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEtE;;;GAGG;AACH,eAAO,MAAM,SAAS;;;CAGZ,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEnE;;;GAGG;AACH,eAAO,MAAM,UAAU;IACrB,qBAAqB;;IAErB,
|
|
1
|
+
{"version":3,"file":"Text.types.d.cts","sourceRoot":"","sources":["../../../src/types/Text/Text.types.ts"],"names":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,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEnE;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC"}
|
|
@@ -28,9 +28,9 @@ export type FontStyle = (typeof FontStyle)[keyof typeof FontStyle];
|
|
|
28
28
|
export declare const FontFamily: {
|
|
29
29
|
/** Default: Inter */
|
|
30
30
|
readonly Default: "default";
|
|
31
|
-
/** Accent:
|
|
31
|
+
/** Accent: Grotzec Cond */
|
|
32
32
|
readonly Accent: "accent";
|
|
33
|
-
/** Hero:
|
|
33
|
+
/** Hero: Grotzec Cond */
|
|
34
34
|
readonly Hero: "hero";
|
|
35
35
|
};
|
|
36
36
|
export type FontFamily = (typeof FontFamily)[keyof typeof FontFamily];
|
|
@@ -166,8 +166,8 @@ export type TextPropsShared = {
|
|
|
166
166
|
/**
|
|
167
167
|
* Optional prop to adjust the font family.
|
|
168
168
|
* Default: Inter
|
|
169
|
-
* Accent:
|
|
170
|
-
* Hero:
|
|
169
|
+
* Accent: Grotzec Cond
|
|
170
|
+
* Hero: Grotzec Cond
|
|
171
171
|
*/
|
|
172
172
|
fontFamily?: FontFamily;
|
|
173
173
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.types.d.mts","sourceRoot":"","sources":["../../../src/types/Text/Text.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc;AAEvC;;;GAGG;A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ACpB,gCAAgC;;IAEhC,uCAAuC;;IAEvC,6DAA6D;;IAE7D,qFAAqF;;IAErF,iGAAiG;;IAEjG,iFAAiF;;IAEjF,2CAA2C;;IAE3C;;;;OAIG;;IAEH,2CAA2C;;IAE3C,0FAA0F;;IAE1F,yDAAyD;;IAEzD,+EAA+E;;IAE/E;;;;OAIG;;IAEH,kDAAkD;;IAElD,oFAAoF;;IAEpF,iFAAiF;;IAEjF;;;;OAIG;;IAEH,4CAA4C;;IAE5C,yFAAyF;;IAEzF,iFAAiF;;IAEjF;;;;OAIG;;IAEH,2CAA2C;;IAE3C,sFAAsF;;IAEtF,8EAA8E;;IAE9E,sCAAsC;;IAEtC;;;;OAIG;;CAEK,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEnE;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC"}
|
|
@@ -25,9 +25,9 @@ export const FontStyle = {
|
|
|
25
25
|
export const FontFamily = {
|
|
26
26
|
/** Default: Inter */
|
|
27
27
|
Default: 'default',
|
|
28
|
-
/** Accent:
|
|
28
|
+
/** Accent: Grotzec Cond */
|
|
29
29
|
Accent: 'accent',
|
|
30
|
-
/** Hero:
|
|
30
|
+
/** Hero: Grotzec Cond */
|
|
31
31
|
Hero: 'hero',
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.types.mjs","sourceRoot":"","sources":["../../../src/types/Text/Text.types.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,mBAAmB;IACnB,IAAI,EAAE,MAAM;IACZ,mBAAmB;IACnB,MAAM,EAAE,QAAQ;IAChB,mBAAmB;IACnB,OAAO,EAAE,SAAS;CACV,CAAC;AAIX;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIX;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,qBAAqB;IACrB,OAAO,EAAE,SAAS;IAClB,
|
|
1
|
+
{"version":3,"file":"Text.types.mjs","sourceRoot":"","sources":["../../../src/types/Text/Text.types.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,mBAAmB;IACnB,IAAI,EAAE,MAAM;IACZ,mBAAmB;IACnB,MAAM,EAAE,QAAQ;IAChB,mBAAmB;IACnB,OAAO,EAAE,SAAS;CACV,CAAC;AAIX;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIX;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,qBAAqB;IACrB,OAAO,EAAE,SAAS;IAClB,2BAA2B;IAC3B,MAAM,EAAE,QAAQ;IAChB,yBAAyB;IACzB,IAAI,EAAE,MAAM;CACJ,CAAC;AAIX;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,gBAAgB;IAChB,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,YAAY;IAEvB,gBAAgB;IAChB,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,YAAY;IAEvB,aAAa;IACb,MAAM,EAAE,SAAS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ACtF,WAAW,EAAE,mBAAmB;IAChC,8EAA8E;IAC9E,WAAW,EAAE,mBAAmB;IAChC,sCAAsC;IACtC,WAAW,EAAE,kBAAkB;IAC/B;;;;OAIG;IACH,OAAO,EAAE,cAAc;CACf,CAAC","sourcesContent":["import type { ReactNode } from 'react';\n\n/**\n * Text - fontWeight (ADR-0003)\n * Semantic values shared across React and React Native platforms.\n */\nexport const FontWeight = {\n /** Weight - 600 */\n Bold: 'bold',\n /** Weight - 500 */\n Medium: 'medium',\n /** Weight - 400 */\n Regular: 'regular',\n} as const;\n\nexport type FontWeight = (typeof FontWeight)[keyof typeof FontWeight];\n\n/**\n * Text - fontStyle (ADR-0003)\n * Semantic values shared across React and React Native platforms.\n */\nexport const FontStyle = {\n Italic: 'italic',\n Normal: 'normal',\n} as const;\n\nexport type FontStyle = (typeof FontStyle)[keyof typeof FontStyle];\n\n/**\n * Text - fontFamily (ADR-0003)\n * Semantic values shared across React and React Native platforms.\n */\nexport const FontFamily = {\n /** Default: Inter */\n Default: 'default',\n /** Accent: Grotzec Cond */\n Accent: 'accent',\n /** Hero: Grotzec Cond */\n Hero: 'hero',\n} as const;\n\nexport type FontFamily = (typeof FontFamily)[keyof typeof FontFamily];\n\n/**\n * Text - variant (ADR-0003)\n * Identical values across React and React Native platforms.\n */\nexport const TextVariant = {\n // Display Sizes\n DisplayLg: 'display-lg',\n DisplayMd: 'display-md',\n\n // Heading Sizes\n HeadingLg: 'heading-lg',\n HeadingMd: 'heading-md',\n HeadingSm: 'heading-sm',\n\n // Body Sizes\n BodyLg: 'body-lg',\n BodyMd: 'body-md',\n BodySm: 'body-sm',\n BodyXs: 'body-xs',\n\n // Special Typography Variants\n PageHeading: 'page-heading',\n SectionHeading: 'section-heading',\n ButtonLabelMd: 'button-label-md',\n ButtonLabelLg: 'button-label-lg',\n AmountDisplayLg: 'amount-display-lg',\n} as const;\n\nexport type TextVariant = (typeof TextVariant)[keyof typeof TextVariant];\n\n/**\n * Text - color (ADR-0003)\n * All text color values shared across React and React Native platforms.\n */\nexport const TextColor = {\n /** For default neutral text. */\n TextDefault: 'text-default',\n /** For softer contrast neutral text */\n TextAlternative: 'text-alternative',\n /** For the softest contrast neutral text (not accessible) */\n TextMuted: 'text-muted',\n /** For elements used on top of overlay/alternative. Used for text, icon or border */\n OverlayInverse: 'text-overlay-inverse',\n /** For interactive, active, and selected semantics. Used for text, background, icon or border */\n PrimaryDefault: 'text-primary-default',\n /** For elements used on top of primary/default. Used for text, icon or border */\n PrimaryInverse: 'text-primary-inverse',\n /** For softer variants of primary text. */\n PrimaryAlternative: 'text-primary-alternative',\n /**\n * For primary text in a hover state.\n *\n * @note On React Native, hover as an interaction state does not exist — use `PrimaryDefaultPressed` instead.\n */\n PrimaryDefaultHover: 'text-primary-default-hover',\n /** For primary text in a pressed state. */\n PrimaryDefaultPressed: 'text-primary-default-pressed',\n /** For the critical alert semantic elements. Used for text, background, icon or border */\n ErrorDefault: 'text-error-default',\n /** For the stronger contrast error semantic elements. */\n ErrorAlternative: 'text-error-alternative',\n /** For elements used on top of error/default. Used for text, icon or border */\n ErrorInverse: 'text-error-inverse',\n /**\n * For critical alert text in a hover state.\n *\n * @note On React Native, hover as an interaction state does not exist — use `ErrorDefaultPressed` instead.\n */\n ErrorDefaultHover: 'text-error-default-hover',\n /** For critical alert text in a pressed state. */\n ErrorDefaultPressed: 'text-error-default-pressed',\n /** For the positive semantic elements. Used for text, background, icon or border */\n SuccessDefault: 'text-success-default',\n /** For elements used on top of success/default. Used for text, icon or border */\n SuccessInverse: 'text-success-inverse',\n /**\n * For positive text in a hover state.\n *\n * @note On React Native, hover as an interaction state does not exist — use `SuccessDefaultPressed` instead.\n */\n SuccessDefaultHover: 'text-success-default-hover',\n /** For positive text in a pressed state. */\n SuccessDefaultPressed: 'text-success-default-pressed',\n /** For the caution alert semantic elements. Used for text, background, icon or border */\n WarningDefault: 'text-warning-default',\n /** For elements used on top of warning/default. Used for text, icon or border */\n WarningInverse: 'text-warning-inverse',\n /**\n * For caution text in a hover state.\n *\n * @note On React Native, hover as an interaction state does not exist — use `WarningDefaultPressed` instead.\n */\n WarningDefaultHover: 'text-warning-default-hover',\n /** For caution text in a pressed state. */\n WarningDefaultPressed: 'text-warning-default-pressed',\n /** For informational read-only elements. Used for text, background, icon or border */\n InfoDefault: 'text-info-default',\n /** For elements used on top of info/default. Used for text, icon or border */\n InfoInverse: 'text-info-inverse',\n /** Make the text color transparent */\n Transparent: 'text-transparent',\n /**\n * Inherit the color of the parent element.\n *\n * @platform web — CSS cascade has no equivalent in React Native; fails silently on mobile.\n */\n Inherit: 'text-inherit',\n} as const;\n\nexport type TextColor = (typeof TextColor)[keyof typeof TextColor];\n\n/**\n * Text component shared props (ADR-0004).\n * Platform-independent props shared across React and React Native.\n */\nexport type TextPropsShared = {\n /**\n * Optional prop to change the font size of the component.\n * Different variants map to specific HTML elements by default.\n *\n * @default TextVariant.BodyMd\n */\n variant?: TextVariant;\n /**\n * The text content or elements to be rendered within the component.\n */\n children: ReactNode;\n /**\n * Optional prop that sets the color of the text using predefined theme colors.\n *\n * @default TextColor.TextDefault\n */\n color?: TextColor;\n /**\n * Optional prop to control the font weight of the text.\n * Regular: 400\n * Medium: 500\n * Bold: 600\n */\n fontWeight?: FontWeight;\n /**\n * Optional prop to adjust the font family.\n * Default: Inter\n * Accent: Grotzec Cond\n * Hero: Grotzec Cond\n */\n fontFamily?: FontFamily;\n /**\n * Optional prop to control the font style of the text.\n * Options: Normal, Italic\n */\n fontStyle?: FontStyle;\n};\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/design-system-shared",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0-preview.01bfd7c",
|
|
4
4
|
"description": "Shared types for design system libraries",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
"@svgr/plugin-svgo": "^8.1.0",
|
|
57
57
|
"@ts-bridge/cli": "^0.6.3",
|
|
58
58
|
"@types/jest": "^27.4.1",
|
|
59
|
-
"@types/react": "^19.
|
|
60
|
-
"@types/react-test-renderer": "^19.
|
|
59
|
+
"@types/react": "^19.2.0",
|
|
60
|
+
"@types/react-test-renderer": "^19.2.0",
|
|
61
61
|
"deepmerge": "^4.2.2",
|
|
62
62
|
"jest": "^29.7.0",
|
|
63
|
-
"react": "19.
|
|
64
|
-
"react-test-renderer": "19.
|
|
63
|
+
"react": "19.2.3",
|
|
64
|
+
"react-test-renderer": "19.2.3",
|
|
65
65
|
"ts-jest": "^29.2.5",
|
|
66
66
|
"tsx": "^4.20.6",
|
|
67
67
|
"typescript": "~5.2.2"
|