@metamask-previews/design-system-shared 0.39.0-preview.af0f2ca → 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 +14 -1
- package/dist/types/Icon/Icon.types.cjs +2 -0
- package/dist/types/Icon/Icon.types.cjs.map +1 -1
- package/dist/types/Icon/Icon.types.d.cts +2 -0
- package/dist/types/Icon/Icon.types.d.cts.map +1 -1
- package/dist/types/Icon/Icon.types.d.mts +2 -0
- package/dist/types/Icon/Icon.types.d.mts.map +1 -1
- package/dist/types/Icon/Icon.types.mjs +2 -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,18 @@ 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
|
+
|
|
10
22
|
## [0.39.0]
|
|
11
23
|
|
|
12
24
|
### Added
|
|
@@ -379,7 +391,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
379
391
|
- **Initial release** - MetaMask Design System Shared
|
|
380
392
|
- Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
|
|
381
393
|
|
|
382
|
-
[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
|
|
383
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
|
|
384
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
|
|
385
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
|
|
@@ -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',
|
|
@@ -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;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,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AAE,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 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 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"]}
|
|
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,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AAW;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";
|
|
@@ -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;;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.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;;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"}
|
|
@@ -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";
|
|
@@ -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',
|
|
@@ -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,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,EAAE,KAAK;IACV,UAAU,EAAE,YAAY;IACxB,EAAE,EAAE,IAAI;IACR,SAAS,EAAE,WAAW;IACtB,IA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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 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 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"]}
|
|
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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,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,QAAQ;IAChB,yBAAyB;IACzB,IAAI,EAAE,MAAM;CACJ,CAAC;AAIX;;;GAGG;AACU,QAAA,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;IACjB,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,SAAS;IACjB,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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":[],"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,OA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AKG;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;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;A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EjF;;;;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,QAA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uC;IACvC,eAAe,EAAE,kBAAkB;IACnC,6DAA6D;IAC7D,SAAS,EAAE,YAAY;IACvB,qFAAqF;IACrF,cAAc,EAAE,sBAAsB;IACtC,iGAAiG;IACjG,cAAc,EAAE,sBAAsB;IACtC,iFAAiF;IACjF,cAAc,EAAE,sBAAsB;IACtC,2CAA2C;IAC3C,kBAAkB,EAAE,0BAA0B;IAC9C;;;;OAIG;IACH,mBAAmB,EAAE,4BAA4B;IACjD,2CAA2C;IAC3C,qBAAqB,EAAE,8BAA8B;IACrD,0FAA0F;IAC1F,YAAY,EAAE,oBAAoB;IAClC,yDAAyD;IACzD,gBAAgB,EAAE,wBAAwB;IAC1C,+EAA+E;IAC/E,YAAY,EAAE,oBAAoB;IAClC;;;;OAIG;IACH,iBAAiB,EAAE,0BAA0B;IAC7C,kDAAkD;IAClD,mBAAmB,EAAE,4BAA4B;IACjD,oFAAoF;IACpF,cAAc,EAAE,sBAAsB;IACtC,iFAAiF;IACjF,cAAc,EAAE,sBAAsB;IACtC;;;;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"]}
|
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"
|