@metamask-previews/design-system-shared 0.40.0-preview.ed9c7b0 → 0.42.0-preview.f03faa2
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 +21 -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 -1
- package/dist/types/Text/Text.types.cjs.map +1 -1
- package/dist/types/Text/Text.types.d.cts +2 -1
- package/dist/types/Text/Text.types.d.cts.map +1 -1
- package/dist/types/Text/Text.types.d.mts +2 -1
- package/dist/types/Text/Text.types.d.mts.map +1 -1
- package/dist/types/Text/Text.types.mjs +2 -1
- package/dist/types/Text/Text.types.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.42.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Added `Pause` and `Play` to `IconName` ([#1612](https://github.com/MetaMask/metamask-design-system/pull/1612))
|
|
15
|
+
|
|
16
|
+
## [0.41.0]
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- Added `TextVariant.DisplayXl` (`'display-xl'`) ([#1587](https://github.com/MetaMask/metamask-design-system/pull/1587))
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- Updated `FontFamily.Hero` to represent Grotzec Cond Bold ([#1586](https://github.com/MetaMask/metamask-design-system/pull/1586))
|
|
25
|
+
- The value remains `'hero'`
|
|
26
|
+
- Updated the `Share` icon artwork to a box-and-arrow glyph ([#1588](https://github.com/MetaMask/metamask-design-system/pull/1588))
|
|
27
|
+
|
|
10
28
|
## [0.40.0]
|
|
11
29
|
|
|
12
30
|
### Added
|
|
@@ -391,7 +409,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
391
409
|
- **Initial release** - MetaMask Design System Shared
|
|
392
410
|
- Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
|
|
393
411
|
|
|
394
|
-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.
|
|
412
|
+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.42.0...HEAD
|
|
413
|
+
[0.42.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.41.0...@metamask/design-system-shared@0.42.0
|
|
414
|
+
[0.41.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.40.0...@metamask/design-system-shared@0.41.0
|
|
395
415
|
[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
416
|
[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
417
|
[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
|
|
@@ -172,10 +172,12 @@ exports.IconName = {
|
|
|
172
172
|
Musd: 'Musd',
|
|
173
173
|
NoPhotography: 'NoPhotography',
|
|
174
174
|
Notification: 'Notification',
|
|
175
|
+
Pause: 'Pause',
|
|
175
176
|
PeopleFilled: 'PeopleFilled',
|
|
176
177
|
People: 'People',
|
|
177
178
|
Pin: 'Pin',
|
|
178
179
|
Plant: 'Plant',
|
|
180
|
+
Play: 'Play',
|
|
179
181
|
Plug: 'Plug',
|
|
180
182
|
PopUp: 'PopUp',
|
|
181
183
|
Predictions: 'Predictions',
|
|
@@ -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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AAE,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;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"]}
|
|
1
|
+
{"version":3,"file":"Icon.types.cj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c;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 Pause: 'Pause',\n PeopleFilled: 'PeopleFilled',\n People: 'People',\n Pin: 'Pin',\n Plant: 'Plant',\n Play: 'Play',\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"]}
|
|
@@ -167,10 +167,12 @@ export declare const IconName: {
|
|
|
167
167
|
readonly Musd: "Musd";
|
|
168
168
|
readonly NoPhotography: "NoPhotography";
|
|
169
169
|
readonly Notification: "Notification";
|
|
170
|
+
readonly Pause: "Pause";
|
|
170
171
|
readonly PeopleFilled: "PeopleFilled";
|
|
171
172
|
readonly People: "People";
|
|
172
173
|
readonly Pin: "Pin";
|
|
173
174
|
readonly Plant: "Plant";
|
|
175
|
+
readonly Play: "Play";
|
|
174
176
|
readonly Plug: "Plug";
|
|
175
177
|
readonly PopUp: "PopUp";
|
|
176
178
|
readonly Predictions: "Predictions";
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+LX,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"}
|
|
@@ -167,10 +167,12 @@ export declare const IconName: {
|
|
|
167
167
|
readonly Musd: "Musd";
|
|
168
168
|
readonly NoPhotography: "NoPhotography";
|
|
169
169
|
readonly Notification: "Notification";
|
|
170
|
+
readonly Pause: "Pause";
|
|
170
171
|
readonly PeopleFilled: "PeopleFilled";
|
|
171
172
|
readonly People: "People";
|
|
172
173
|
readonly Pin: "Pin";
|
|
173
174
|
readonly Plant: "Plant";
|
|
175
|
+
readonly Play: "Play";
|
|
174
176
|
readonly Plug: "Plug";
|
|
175
177
|
readonly PopUp: "PopUp";
|
|
176
178
|
readonly Predictions: "Predictions";
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+LX,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"}
|
|
@@ -169,10 +169,12 @@ export const IconName = {
|
|
|
169
169
|
Musd: 'Musd',
|
|
170
170
|
NoPhotography: 'NoPhotography',
|
|
171
171
|
Notification: 'Notification',
|
|
172
|
+
Pause: 'Pause',
|
|
172
173
|
PeopleFilled: 'PeopleFilled',
|
|
173
174
|
People: 'People',
|
|
174
175
|
Pin: 'Pin',
|
|
175
176
|
Plant: 'Plant',
|
|
177
|
+
Play: 'Play',
|
|
176
178
|
Plug: 'Plug',
|
|
177
179
|
PopUp: 'PopUp',
|
|
178
180
|
Predictions: 'Predictions',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.types.mjs","sourceRoot":"","sources":["../../../src/types/Icon/Icon.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAA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Aa,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"]}
|
|
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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S,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 Pause: 'Pause',\n PeopleFilled: 'PeopleFilled',\n People: 'People',\n Pin: 'Pin',\n Plant: 'Plant',\n Play: 'Play',\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"]}
|
|
@@ -30,7 +30,7 @@ exports.FontFamily = {
|
|
|
30
30
|
Default: 'default',
|
|
31
31
|
/** Accent: MM Sans */
|
|
32
32
|
Accent: 'accent',
|
|
33
|
-
/** Hero:
|
|
33
|
+
/** Hero: Grotzec Cond Bold */
|
|
34
34
|
Hero: 'hero',
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
@@ -39,6 +39,7 @@ exports.FontFamily = {
|
|
|
39
39
|
*/
|
|
40
40
|
exports.TextVariant = {
|
|
41
41
|
// Display Sizes
|
|
42
|
+
DisplayXl: 'display-xl',
|
|
42
43
|
DisplayLg: 'display-lg',
|
|
43
44
|
DisplayMd: 'display-md',
|
|
44
45
|
// Heading Sizes
|
|
@@ -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,sBAAsB;IACtB,MAAM,EAAE,QAAQ;IAChB,
|
|
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,sBAAsB;IACtB,MAAM,EAAE,QAAQ;IAChB,8BAA8B;IAC9B,IAAI,EAAE,MAAM;CACJ,CAAC;AAIX;;;GAGG;AACU,QAAA,WAAW,GAAG;IACzB,gBAAgB;IAChB,SAAS,EAAE,YAAY;IACvB,SAAS,EAAE,YAAY;IACvB,SAAS,E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Ac,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: MM Sans */\n Accent: 'accent',\n /** Hero: Grotzec Cond Bold */\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 DisplayXl: 'display-xl',\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: MM Sans\n * Hero: MM Poly\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"]}
|
|
@@ -30,7 +30,7 @@ export declare const FontFamily: {
|
|
|
30
30
|
readonly Default: "default";
|
|
31
31
|
/** Accent: MM Sans */
|
|
32
32
|
readonly Accent: "accent";
|
|
33
|
-
/** Hero:
|
|
33
|
+
/** Hero: Grotzec Cond Bold */
|
|
34
34
|
readonly Hero: "hero";
|
|
35
35
|
};
|
|
36
36
|
export type FontFamily = (typeof FontFamily)[keyof typeof FontFamily];
|
|
@@ -39,6 +39,7 @@ export type FontFamily = (typeof FontFamily)[keyof typeof FontFamily];
|
|
|
39
39
|
* Identical values across React and React Native platforms.
|
|
40
40
|
*/
|
|
41
41
|
export declare const TextVariant: {
|
|
42
|
+
readonly DisplayXl: "display-xl";
|
|
42
43
|
readonly DisplayLg: "display-lg";
|
|
43
44
|
readonly DisplayMd: "display-md";
|
|
44
45
|
readonly HeadingLg: "heading-lg";
|
|
@@ -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,sBAAsB;;IAEtB,
|
|
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,CA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,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"}
|
|
@@ -30,7 +30,7 @@ export declare const FontFamily: {
|
|
|
30
30
|
readonly Default: "default";
|
|
31
31
|
/** Accent: MM Sans */
|
|
32
32
|
readonly Accent: "accent";
|
|
33
|
-
/** Hero:
|
|
33
|
+
/** Hero: Grotzec Cond Bold */
|
|
34
34
|
readonly Hero: "hero";
|
|
35
35
|
};
|
|
36
36
|
export type FontFamily = (typeof FontFamily)[keyof typeof FontFamily];
|
|
@@ -39,6 +39,7 @@ export type FontFamily = (typeof FontFamily)[keyof typeof FontFamily];
|
|
|
39
39
|
* Identical values across React and React Native platforms.
|
|
40
40
|
*/
|
|
41
41
|
export declare const TextVariant: {
|
|
42
|
+
readonly DisplayXl: "display-xl";
|
|
42
43
|
readonly DisplayLg: "display-lg";
|
|
43
44
|
readonly DisplayMd: "display-md";
|
|
44
45
|
readonly HeadingLg: "heading-lg";
|
|
@@ -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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;;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"}
|
|
@@ -27,7 +27,7 @@ export const FontFamily = {
|
|
|
27
27
|
Default: 'default',
|
|
28
28
|
/** Accent: MM Sans */
|
|
29
29
|
Accent: 'accent',
|
|
30
|
-
/** Hero:
|
|
30
|
+
/** Hero: Grotzec Cond Bold */
|
|
31
31
|
Hero: 'hero',
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
@@ -36,6 +36,7 @@ export const FontFamily = {
|
|
|
36
36
|
*/
|
|
37
37
|
export const TextVariant = {
|
|
38
38
|
// Display Sizes
|
|
39
|
+
DisplayXl: 'display-xl',
|
|
39
40
|
DisplayLg: 'display-lg',
|
|
40
41
|
DisplayMd: 'display-md',
|
|
41
42
|
// Heading Sizes
|
|
@@ -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,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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: MM Sans */\n Accent: 'accent',\n /** Hero: Grotzec Cond Bold */\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 DisplayXl: 'display-xl',\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: MM Sans\n * Hero: MM Poly\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.42.0-preview.f03faa2",
|
|
4
4
|
"description": "Shared types for design system libraries",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"react": "19.2.3",
|
|
64
64
|
"react-test-renderer": "19.2.3",
|
|
65
65
|
"ts-jest": "^29.2.5",
|
|
66
|
-
"tsx": "^4.
|
|
66
|
+
"tsx": "^4.23.15",
|
|
67
67
|
"typescript": "~5.2.2"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|