@metamask-previews/design-system-shared 0.36.0-preview.ab30982 → 0.37.0-preview.36f0cd7
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 +12 -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 +1 -1
- package/dist/types/Text/Text.types.cjs.map +1 -1
- package/dist/types/Text/Text.types.d.cts +2 -2
- package/dist/types/Text/Text.types.d.mts +2 -2
- package/dist/types/Text/Text.types.mjs +1 -1
- package/dist/types/Text/Text.types.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.37.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Added `HeartStraight` and `HeartStraightFilled` to `IconName` ([#1503](https://github.com/MetaMask/metamask-design-system/pull/1503))
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Restored the Telegram `Icon` artwork to the official logo ([#1500](https://github.com/MetaMask/metamask-design-system/pull/1500))
|
|
19
|
+
|
|
10
20
|
## [0.36.0]
|
|
11
21
|
|
|
12
22
|
### Changed
|
|
@@ -352,7 +362,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
352
362
|
- **Initial release** - MetaMask Design System Shared
|
|
353
363
|
- Adding CAIP-10 address utilities ([#817](https://github.com/MetaMask/metamask-design-system/pull/817))
|
|
354
364
|
|
|
355
|
-
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.
|
|
365
|
+
[Unreleased]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.37.0...HEAD
|
|
366
|
+
[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
|
|
356
367
|
[0.36.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.35.0...@metamask/design-system-shared@0.36.0
|
|
357
368
|
[0.35.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.34.0...@metamask/design-system-shared@0.35.0
|
|
358
369
|
[0.34.0]: https://github.com/MetaMask/metamask-design-system/compare/@metamask/design-system-shared@0.33.0...@metamask/design-system-shared@0.34.0
|
|
@@ -136,6 +136,8 @@ exports.IconName = {
|
|
|
136
136
|
GlobalSearch: 'GlobalSearch',
|
|
137
137
|
Global: 'Global',
|
|
138
138
|
Hardware: 'Hardware',
|
|
139
|
+
HeartStraightFilled: 'HeartStraightFilled',
|
|
140
|
+
HeartStraight: 'HeartStraight',
|
|
139
141
|
Hierarchy: 'Hierarchy',
|
|
140
142
|
HomeFilled: 'HomeFilled',
|
|
141
143
|
Home: 'Home',
|
|
@@ -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;IA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ChB,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 Hierarchy: 'Hierarchy',\n HomeFilled: 'HomeFilled',\n Home: 'Home',\n Image: 'Image',\n Info: 'Info',\n Keep: 'Keep',\n Key: 'Key',\n Link: 'Link',\n ListArrow: 'ListArrow',\n Loading: 'Loading',\n Location: 'Location',\n LockSlash: 'LockSlash',\n Lock: 'Lock',\n Logout: 'Logout',\n Mail: 'Mail',\n Menu: 'Menu',\n Merge: 'Merge',\n MessageQuestion: 'MessageQuestion',\n Messages: 'Messages',\n MetamaskFoxOutline: 'MetamaskFoxOutline',\n MinusBold: 'MinusBold',\n Minus: 'Minus',\n Mobile: 'Mobile',\n MoneyBag: 'MoneyBag',\n Monitor: 'Monitor',\n MoreHorizontal: 'MoreHorizontal',\n MoreVertical: 'MoreVertical',\n MusdFilled: 'MusdFilled',\n Musd: 'Musd',\n NoPhotography: 'NoPhotography',\n Notification: 'Notification',\n People: 'People',\n Pin: 'Pin',\n Plant: 'Plant',\n Plug: 'Plug',\n PopUp: 'PopUp',\n Predictions: 'Predictions',\n ProgrammingArrows: 'ProgrammingArrows',\n QrCode: 'QrCode',\n Question: 'Question',\n Receive: 'Receive',\n Received: 'Received',\n Refresh: 'Refresh',\n RemoveMinus: 'RemoveMinus',\n Rocket: 'Rocket',\n Save: 'Save',\n ScanBarcode: 'ScanBarcode',\n Scan: 'Scan',\n Search: 'Search',\n SecurityKey: 'SecurityKey',\n SecuritySearch: 'SecuritySearch',\n SecuritySlash: 'SecuritySlash',\n SecurityTick: 'SecurityTick',\n SecurityTime: 'SecurityTime',\n Security: 'Security',\n Send: 'Send',\n Setting: 'Setting',\n Share: 'Share',\n ShieldLock: 'ShieldLock',\n SidePanel: 'SidePanel',\n Sms: 'Sms',\n SnapsMobile: 'SnapsMobile',\n Snaps: 'Snaps',\n Sparkle: 'Sparkle',\n Speed: 'Speed',\n Speedometer: 'Speedometer',\n Stake: 'Stake',\n StarFilled: 'StarFilled',\n Star: 'Star',\n SwapHorizontal: 'SwapHorizontal',\n SwapVertical: 'SwapVertical',\n Tag: 'Tag',\n Telegram: 'Telegram',\n ThumbDownFilled: 'ThumbDownFilled',\n ThumbDown: 'ThumbDown',\n ThumbUpFilled: 'ThumbUpFilled',\n ThumbUp: 'ThumbUp',\n Tint: 'Tint',\n Trash: 'Trash',\n TrendDown: 'TrendDown',\n TrendUp: 'TrendUp',\n Trophy: 'Trophy',\n Unpin: 'Unpin',\n Upload: 'Upload',\n Usb: 'Usb',\n UserCheck: 'UserCheck',\n UserCircleAdd: 'UserCircleAdd',\n UserCircleRemove: 'UserCircleRemove',\n UserCircle: 'UserCircle',\n VerifiedFilled: 'VerifiedFilled',\n Videocam: 'Videocam',\n Wallet: 'Wallet',\n Warning: 'Warning',\n WebTraffic: 'WebTraffic',\n WifiOff: 'WifiOff',\n Wifi: 'Wifi',\n X: 'X',\n} as const;\n\nexport type IconName = (typeof IconName)[keyof typeof IconName];\n\n// END generated IconName\n\n/**\n * Icon - size\n * Common icon sizes shared across React and React Native platforms.\n */\nexport const IconSize = {\n /** Extra small - 12px */\n Xs: 'xs',\n /** Small - 16px */\n Sm: 'sm',\n /** Medium - 20px (Default) */\n Md: 'md',\n /** Large - 24px */\n Lg: 'lg',\n /** Extra large - 32px */\n Xl: 'xl',\n} as const;\n\nexport type IconSize = (typeof IconSize)[keyof typeof IconSize];\n\n/**\n * Icon component shared props (ADR-0004).\n */\nexport type IconPropsShared = {\n /**\n * Required prop to specify which icon to render from the icon set.\n */\n name: IconName;\n /**\n * Optional prop that sets the color of the icon using predefined theme colors.\n *\n * @default IconColor.IconDefault\n */\n color?: IconColor;\n /**\n * Optional prop to control the size of the icon.\n * Different sizes map to specific pixel dimensions.\n *\n * @default IconSize.Md\n */\n size?: IconSize;\n};\n"]}
|
|
1
|
+
{"version":3,"file":"Icon.types.cjs","sourceRoot":"","sources":["../../../src/types/Icon/Icon.types.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,SAAS,GAAG;IACvB,gCAAgC;IAChC,WAAW,EAAE,mBAAmB;IAChC,+BAA+B;IAC/B,eAAe,EAAE,uBAAuB;IACxC,8DAA8D;IAC9D,SAAS,EAAE,iBAAiB;IAC5B,gGAAgG;IAChG,WAAW,EAAE,mBAAmB;IAChC,sFAAsF;IACtF,cAAc,EAAE,sBAAsB;IACtC,kGAAkG;IAClG,cAAc,EAAE,sBAAsB;IACtC,0DAA0D;IAC1D,kBAAkB,EAAE,0BAA0B;IAC9C,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,uFAAuF;IACvF,YAAY,EAAE,oBAAoB;IAClC,4CAA4C;IAC5C,gBAAgB,EAAE,wBAAwB;IAC1C,gFAAgF;IAChF,YAAY,EAAE,oBAAoB;IAClC,sFAAsF;IACtF,cAAc,EAAE,sBAAsB;IACtC,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,iFAAiF;IACjF,cAAc,EAAE,sBAAsB;IACtC,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,uFAAuF;IACvF,WAAW,EAAE,mBAAmB;IAChC,+EAA+E;IAC/E,WAAW,EAA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icon color values shared across React and React Native platforms.\n */\nexport const IconColor = {\n /** For default neutral icons */\n IconDefault: 'text-icon-default',\n /** For softer neutral icons */\n IconAlternative: 'text-icon-alternative',\n /** For the weakest contrast neutral icons (not accessible) */\n IconMuted: 'text-icon-muted',\n /** For elements used on top of icon/default fills (e.g. checkmark on monochromatic checkbox) */\n IconInverse: 'text-icon-inverse',\n /** For elements used on top of overlay/alternative. Used for text, icon, or border */\n OverlayInverse: 'text-overlay-inverse',\n /** For interactive, active, and selected semantics. Used for text, background, icon, or border */\n PrimaryDefault: 'text-primary-default',\n /** For softer variants of primary interactive elements */\n PrimaryAlternative: 'text-primary-alternative',\n /** For elements used on top of primary/default. Used for text, icon, or border */\n PrimaryInverse: 'text-primary-inverse',\n /** For critical alert semantic elements. Used for text, background, icon, or border */\n ErrorDefault: 'text-error-default',\n /** For softer variants of error elements */\n ErrorAlternative: 'text-error-alternative',\n /** For elements used on top of error/default. Used for text, icon, or border */\n ErrorInverse: 'text-error-inverse',\n /** For caution alert semantic elements. Used for text, background, icon, or border */\n WarningDefault: 'text-warning-default',\n /** For elements used on top of warning/default. Used for text, icon, or border */\n WarningInverse: 'text-warning-inverse',\n /** For positive semantic elements. Used for text, background, icon, or border */\n SuccessDefault: 'text-success-default',\n /** For elements used on top of success/default. Used for text, icon, or border */\n SuccessInverse: 'text-success-inverse',\n /** For informational read-only elements. Used for text, background, icon, or border */\n InfoDefault: 'text-info-default',\n /** For elements used on top of info/default. Used for text, icon, or border */\n InfoInverse: 'text-info-inverse',\n} as const;\n\nexport type IconColor = (typeof IconColor)[keyof typeof IconColor];\n\n// /////////////////////////////////////////////////////\n// DO NOT EDIT - generated by generate-icons.ts\n// /////////////////////////////////////////////////////\n\n/**\n * Icon - name\n * All icon names shared across React and React Native platforms.\n * This block is auto-generated — do not edit directly.\n * Run `yarn generate:icons` from the repo root to regenerate.\n */\nexport const IconName = {\n Accessibility: 'Accessibility',\n Activity: 'Activity',\n AddCircle: 'AddCircle',\n AddSquare: 'AddSquare',\n Add: 'Add',\n AfterHours: 'AfterHours',\n Ai: 'Ai',\n AppleLogo: 'AppleLogo',\n Apps: 'Apps',\n Arrow2Down: 'Arrow2Down',\n Arrow2Left: 'Arrow2Left',\n Arrow2Right: 'Arrow2Right',\n Arrow2UpRight: 'Arrow2UpRight',\n Arrow2Up: 'Arrow2Up',\n ArrowDoubleRight: 'ArrowDoubleRight',\n ArrowDown: 'ArrowDown',\n ArrowLeft: 'ArrowLeft',\n ArrowRight: 'ArrowRight',\n ArrowUp: 'ArrowUp',\n AttachMoney: 'AttachMoney',\n Backspace: 'Backspace',\n Ban: 'Ban',\n Bank: 'Bank',\n Book: 'Book',\n Bookmark: 'Bookmark',\n Bridge: 'Bridge',\n BuySell: 'BuySell',\n Calculator: 'Calculator',\n Calendar: 'Calendar',\n Call: 'Call',\n Camera: 'Camera',\n Campaign: 'Campaign',\n CandlestickFilled: 'CandlestickFilled',\n Candlestick: 'Candlestick',\n Card: 'Card',\n Cash: 'Cash',\n Category: 'Category',\n Chart: 'Chart',\n CheckBold: 'CheckBold',\n Check: 'Check',\n CircleX: 'CircleX',\n ClockFilled: 'ClockFilled',\n Clock: 'Clock',\n Close: 'Close',\n Code: 'Code',\n Coin: 'Coin',\n Collapse: 'Collapse',\n Confirmation: 'Confirmation',\n Connect: 'Connect',\n CopySuccess: 'CopySuccess',\n Copy: 'Copy',\n Customize: 'Customize',\n Danger: 'Danger',\n Data: 'Data',\n Details: 'Details',\n Diagram: 'Diagram',\n DocumentCode: 'DocumentCode',\n Download: 'Download',\n Edit: 'Edit',\n Error: 'Error',\n Ethereum: 'Ethereum',\n Exchange: 'Exchange',\n Expand: 'Expand',\n Explore: 'Explore',\n Export: 'Export',\n Extension: 'Extension',\n EyeSlash: 'EyeSlash',\n Eye: 'Eye',\n FaceId: 'FaceId',\n Feedback: 'Feedback',\n File: 'File',\n Filter: 'Filter',\n Fingerprint: 'Fingerprint',\n Fire: 'Fire',\n Flag: 'Flag',\n FlashFilled: 'FlashFilled',\n Flash: 'Flash',\n Flask: 'Flask',\n Forest: 'Forest',\n FullCircle: 'FullCircle',\n Gas: 'Gas',\n Gift: 'Gift',\n GlobalSearch: 'GlobalSearch',\n Global: 'Global',\n Hardware: 'Hardware',\n HeartStraightFilled: 'HeartStraightFilled',\n HeartStraight: 'HeartStraight',\n Hierarchy: 'Hierarchy',\n HomeFilled: 'HomeFilled',\n Home: 'Home',\n Image: 'Image',\n Info: 'Info',\n Keep: 'Keep',\n Key: 'Key',\n Link: 'Link',\n ListArrow: 'ListArrow',\n Loading: 'Loading',\n Location: 'Location',\n LockSlash: 'LockSlash',\n Lock: 'Lock',\n Logout: 'Logout',\n Mail: 'Mail',\n Menu: 'Menu',\n Merge: 'Merge',\n MessageQuestion: 'MessageQuestion',\n Messages: 'Messages',\n MetamaskFoxOutline: 'MetamaskFoxOutline',\n MinusBold: 'MinusBold',\n Minus: 'Minus',\n Mobile: 'Mobile',\n MoneyBag: 'MoneyBag',\n Monitor: 'Monitor',\n MoreHorizontal: 'MoreHorizontal',\n MoreVertical: 'MoreVertical',\n MusdFilled: 'MusdFilled',\n Musd: 'Musd',\n NoPhotography: 'NoPhotography',\n Notification: 'Notification',\n People: 'People',\n Pin: 'Pin',\n Plant: 'Plant',\n Plug: 'Plug',\n PopUp: 'PopUp',\n Predictions: 'Predictions',\n ProgrammingArrows: 'ProgrammingArrows',\n QrCode: 'QrCode',\n Question: 'Question',\n Receive: 'Receive',\n Received: 'Received',\n Refresh: 'Refresh',\n RemoveMinus: 'RemoveMinus',\n Rocket: 'Rocket',\n Save: 'Save',\n ScanBarcode: 'ScanBarcode',\n Scan: 'Scan',\n Search: 'Search',\n SecurityKey: 'SecurityKey',\n SecuritySearch: 'SecuritySearch',\n SecuritySlash: 'SecuritySlash',\n SecurityTick: 'SecurityTick',\n SecurityTime: 'SecurityTime',\n Security: 'Security',\n Send: 'Send',\n Setting: 'Setting',\n Share: 'Share',\n ShieldLock: 'ShieldLock',\n SidePanel: 'SidePanel',\n Sms: 'Sms',\n SnapsMobile: 'SnapsMobile',\n Snaps: 'Snaps',\n Sparkle: 'Sparkle',\n Speed: 'Speed',\n Speedometer: 'Speedometer',\n Stake: 'Stake',\n StarFilled: 'StarFilled',\n Star: 'Star',\n SwapHorizontal: 'SwapHorizontal',\n SwapVertical: 'SwapVertical',\n Tag: 'Tag',\n Telegram: 'Telegram',\n ThumbDownFilled: 'ThumbDownFilled',\n ThumbDown: 'ThumbDown',\n ThumbUpFilled: 'ThumbUpFilled',\n ThumbUp: 'ThumbUp',\n Tint: 'Tint',\n Trash: 'Trash',\n TrendDown: 'TrendDown',\n TrendUp: 'TrendUp',\n Trophy: 'Trophy',\n Unpin: 'Unpin',\n Upload: 'Upload',\n Usb: 'Usb',\n UserCheck: 'UserCheck',\n UserCircleAdd: 'UserCircleAdd',\n UserCircleRemove: 'UserCircleRemove',\n UserCircle: 'UserCircle',\n VerifiedFilled: 'VerifiedFilled',\n Videocam: 'Videocam',\n Wallet: 'Wallet',\n Warning: 'Warning',\n WebTraffic: 'WebTraffic',\n WifiOff: 'WifiOff',\n Wifi: 'Wifi',\n X: 'X',\n} as const;\n\nexport type IconName = (typeof IconName)[keyof typeof IconName];\n\n// END generated IconName\n\n/**\n * Icon - size\n * Common icon sizes shared across React and React Native platforms.\n */\nexport const IconSize = {\n /** Extra small - 12px */\n Xs: 'xs',\n /** Small - 16px */\n Sm: 'sm',\n /** Medium - 20px (Default) */\n Md: 'md',\n /** Large - 24px */\n Lg: 'lg',\n /** Extra large - 32px */\n Xl: 'xl',\n} as const;\n\nexport type IconSize = (typeof IconSize)[keyof typeof IconSize];\n\n/**\n * Icon component shared props (ADR-0004).\n */\nexport type IconPropsShared = {\n /**\n * Required prop to specify which icon to render from the icon set.\n */\n name: IconName;\n /**\n * Optional prop that sets the color of the icon using predefined theme colors.\n *\n * @default IconColor.IconDefault\n */\n color?: IconColor;\n /**\n * Optional prop to control the size of the icon.\n * Different sizes map to specific pixel dimensions.\n *\n * @default IconSize.Md\n */\n size?: IconSize;\n};\n"]}
|
|
@@ -131,6 +131,8 @@ export declare const IconName: {
|
|
|
131
131
|
readonly GlobalSearch: "GlobalSearch";
|
|
132
132
|
readonly Global: "Global";
|
|
133
133
|
readonly Hardware: "Hardware";
|
|
134
|
+
readonly HeartStraightFilled: "HeartStraightFilled";
|
|
135
|
+
readonly HeartStraight: "HeartStraight";
|
|
134
136
|
readonly Hierarchy: "Hierarchy";
|
|
135
137
|
readonly HomeFilled: "HomeFilled";
|
|
136
138
|
readonly Home: "Home";
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyLX,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"}
|
|
@@ -131,6 +131,8 @@ export declare const IconName: {
|
|
|
131
131
|
readonly GlobalSearch: "GlobalSearch";
|
|
132
132
|
readonly Global: "Global";
|
|
133
133
|
readonly Hardware: "Hardware";
|
|
134
|
+
readonly HeartStraightFilled: "HeartStraightFilled";
|
|
135
|
+
readonly HeartStraight: "HeartStraight";
|
|
134
136
|
readonly Hierarchy: "Hierarchy";
|
|
135
137
|
readonly HomeFilled: "HomeFilled";
|
|
136
138
|
readonly Home: "Home";
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyLX,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"}
|
|
@@ -133,6 +133,8 @@ export const IconName = {
|
|
|
133
133
|
GlobalSearch: 'GlobalSearch',
|
|
134
134
|
Global: 'Global',
|
|
135
135
|
Hardware: 'Hardware',
|
|
136
|
+
HeartStraightFilled: 'HeartStraightFilled',
|
|
137
|
+
HeartStraight: 'HeartStraight',
|
|
136
138
|
Hierarchy: 'Hierarchy',
|
|
137
139
|
HomeFilled: 'HomeFilled',
|
|
138
140
|
Home: 'Home',
|
|
@@ -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;I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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 Hierarchy: 'Hierarchy',\n HomeFilled: 'HomeFilled',\n Home: 'Home',\n Image: 'Image',\n Info: 'Info',\n Keep: 'Keep',\n Key: 'Key',\n Link: 'Link',\n ListArrow: 'ListArrow',\n Loading: 'Loading',\n Location: 'Location',\n LockSlash: 'LockSlash',\n Lock: 'Lock',\n Logout: 'Logout',\n Mail: 'Mail',\n Menu: 'Menu',\n Merge: 'Merge',\n MessageQuestion: 'MessageQuestion',\n Messages: 'Messages',\n MetamaskFoxOutline: 'MetamaskFoxOutline',\n MinusBold: 'MinusBold',\n Minus: 'Minus',\n Mobile: 'Mobile',\n MoneyBag: 'MoneyBag',\n Monitor: 'Monitor',\n MoreHorizontal: 'MoreHorizontal',\n MoreVertical: 'MoreVertical',\n MusdFilled: 'MusdFilled',\n Musd: 'Musd',\n NoPhotography: 'NoPhotography',\n Notification: 'Notification',\n People: 'People',\n Pin: 'Pin',\n Plant: 'Plant',\n Plug: 'Plug',\n PopUp: 'PopUp',\n Predictions: 'Predictions',\n ProgrammingArrows: 'ProgrammingArrows',\n QrCode: 'QrCode',\n Question: 'Question',\n Receive: 'Receive',\n Received: 'Received',\n Refresh: 'Refresh',\n RemoveMinus: 'RemoveMinus',\n Rocket: 'Rocket',\n Save: 'Save',\n ScanBarcode: 'ScanBarcode',\n Scan: 'Scan',\n Search: 'Search',\n SecurityKey: 'SecurityKey',\n SecuritySearch: 'SecuritySearch',\n SecuritySlash: 'SecuritySlash',\n SecurityTick: 'SecurityTick',\n SecurityTime: 'SecurityTime',\n Security: 'Security',\n Send: 'Send',\n Setting: 'Setting',\n Share: 'Share',\n ShieldLock: 'ShieldLock',\n SidePanel: 'SidePanel',\n Sms: 'Sms',\n SnapsMobile: 'SnapsMobile',\n Snaps: 'Snaps',\n Sparkle: 'Sparkle',\n Speed: 'Speed',\n Speedometer: 'Speedometer',\n Stake: 'Stake',\n StarFilled: 'StarFilled',\n Star: 'Star',\n SwapHorizontal: 'SwapHorizontal',\n SwapVertical: 'SwapVertical',\n Tag: 'Tag',\n Telegram: 'Telegram',\n ThumbDownFilled: 'ThumbDownFilled',\n ThumbDown: 'ThumbDown',\n ThumbUpFilled: 'ThumbUpFilled',\n ThumbUp: 'ThumbUp',\n Tint: 'Tint',\n Trash: 'Trash',\n TrendDown: 'TrendDown',\n TrendUp: 'TrendUp',\n Trophy: 'Trophy',\n Unpin: 'Unpin',\n Upload: 'Upload',\n Usb: 'Usb',\n UserCheck: 'UserCheck',\n UserCircleAdd: 'UserCircleAdd',\n UserCircleRemove: 'UserCircleRemove',\n UserCircle: 'UserCircle',\n VerifiedFilled: 'VerifiedFilled',\n Videocam: 'Videocam',\n Wallet: 'Wallet',\n Warning: 'Warning',\n WebTraffic: 'WebTraffic',\n WifiOff: 'WifiOff',\n Wifi: 'Wifi',\n X: 'X',\n} as const;\n\nexport type IconName = (typeof IconName)[keyof typeof IconName];\n\n// END generated IconName\n\n/**\n * Icon - size\n * Common icon sizes shared across React and React Native platforms.\n */\nexport const IconSize = {\n /** Extra small - 12px */\n Xs: 'xs',\n /** Small - 16px */\n Sm: 'sm',\n /** Medium - 20px (Default) */\n Md: 'md',\n /** Large - 24px */\n Lg: 'lg',\n /** Extra large - 32px */\n Xl: 'xl',\n} as const;\n\nexport type IconSize = (typeof IconSize)[keyof typeof IconSize];\n\n/**\n * Icon component shared props (ADR-0004).\n */\nexport type IconPropsShared = {\n /**\n * Required prop to specify which icon to render from the icon set.\n */\n name: IconName;\n /**\n * Optional prop that sets the color of the icon using predefined theme colors.\n *\n * @default IconColor.IconDefault\n */\n color?: IconColor;\n /**\n * Optional prop to control the size of the icon.\n * Different sizes map to specific pixel dimensions.\n *\n * @default IconSize.Md\n */\n size?: IconSize;\n};\n"]}
|
|
1
|
+
{"version":3,"file":"Icon.types.mjs","sourceRoot":"","sources":["../../../src/types/Icon/Icon.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,gCAAgC;IAChC,WAAW,EAAE,mBAAmB;IAChC,+BAA+B;IAC/B,eAAe,EAAE,uBAAuB;IACxC,8DAA8D;IAC9D,SAAS,EAAE,iBAAiB;IAC5B,gGAAgG;IAChG,WAAW,EAAE,mBAAmB;IAChC,sFAAsF;IACtF,cAAc,EAAE,sBAAsB;IACtC,kGAAkG;IAClG,cAAc,EAAE,sBAAsB;IACtC,0DAA0D;IAC1D,kBAAkB,EAAE,0BAA0B;IAC9C,kFAAkF;IAClF,cAAc,EAAE,sBAAsB;IACtC,uFAAuF;IACvF,YAAY,EAAE,oBAAoB;IAClC,4CAA4C;IAC5C,gBAAgB,EAAE,wBAAwB;IAC1C,gFAAgF;IAChF,YAAY,EAAE,oBAAoB;IAClC,sFAAsF;IACtF,cAAc,EAAE,s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AyB;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 Info: 'Info',\n Keep: 'Keep',\n Key: 'Key',\n Link: 'Link',\n ListArrow: 'ListArrow',\n Loading: 'Loading',\n Location: 'Location',\n LockSlash: 'LockSlash',\n Lock: 'Lock',\n Logout: 'Logout',\n Mail: 'Mail',\n Menu: 'Menu',\n Merge: 'Merge',\n MessageQuestion: 'MessageQuestion',\n Messages: 'Messages',\n MetamaskFoxOutline: 'MetamaskFoxOutline',\n MinusBold: 'MinusBold',\n Minus: 'Minus',\n Mobile: 'Mobile',\n MoneyBag: 'MoneyBag',\n Monitor: 'Monitor',\n MoreHorizontal: 'MoreHorizontal',\n MoreVertical: 'MoreVertical',\n MusdFilled: 'MusdFilled',\n Musd: 'Musd',\n NoPhotography: 'NoPhotography',\n Notification: 'Notification',\n People: 'People',\n Pin: 'Pin',\n Plant: 'Plant',\n Plug: 'Plug',\n PopUp: 'PopUp',\n Predictions: 'Predictions',\n ProgrammingArrows: 'ProgrammingArrows',\n QrCode: 'QrCode',\n Question: 'Question',\n Receive: 'Receive',\n Received: 'Received',\n Refresh: 'Refresh',\n RemoveMinus: 'RemoveMinus',\n Rocket: 'Rocket',\n Save: 'Save',\n ScanBarcode: 'ScanBarcode',\n Scan: 'Scan',\n Search: 'Search',\n SecurityKey: 'SecurityKey',\n SecuritySearch: 'SecuritySearch',\n SecuritySlash: 'SecuritySlash',\n SecurityTick: 'SecurityTick',\n SecurityTime: 'SecurityTime',\n Security: 'Security',\n Send: 'Send',\n Setting: 'Setting',\n Share: 'Share',\n ShieldLock: 'ShieldLock',\n SidePanel: 'SidePanel',\n Sms: 'Sms',\n SnapsMobile: 'SnapsMobile',\n Snaps: 'Snaps',\n Sparkle: 'Sparkle',\n Speed: 'Speed',\n Speedometer: 'Speedometer',\n Stake: 'Stake',\n StarFilled: 'StarFilled',\n Star: 'Star',\n SwapHorizontal: 'SwapHorizontal',\n SwapVertical: 'SwapVertical',\n Tag: 'Tag',\n Telegram: 'Telegram',\n ThumbDownFilled: 'ThumbDownFilled',\n ThumbDown: 'ThumbDown',\n ThumbUpFilled: 'ThumbUpFilled',\n ThumbUp: 'ThumbUp',\n Tint: 'Tint',\n Trash: 'Trash',\n TrendDown: 'TrendDown',\n TrendUp: 'TrendUp',\n Trophy: 'Trophy',\n Unpin: 'Unpin',\n Upload: 'Upload',\n Usb: 'Usb',\n UserCheck: 'UserCheck',\n UserCircleAdd: 'UserCircleAdd',\n UserCircleRemove: 'UserCircleRemove',\n UserCircle: 'UserCircle',\n VerifiedFilled: 'VerifiedFilled',\n Videocam: 'Videocam',\n Wallet: 'Wallet',\n Warning: 'Warning',\n WebTraffic: 'WebTraffic',\n WifiOff: 'WifiOff',\n Wifi: 'Wifi',\n X: 'X',\n} as const;\n\nexport type IconName = (typeof IconName)[keyof typeof IconName];\n\n// END generated IconName\n\n/**\n * Icon - size\n * Common icon sizes shared across React and React Native platforms.\n */\nexport const IconSize = {\n /** Extra small - 12px */\n Xs: 'xs',\n /** Small - 16px */\n Sm: 'sm',\n /** Medium - 20px (Default) */\n Md: 'md',\n /** Large - 24px */\n Lg: 'lg',\n /** Extra large - 32px */\n Xl: 'xl',\n} as const;\n\nexport type IconSize = (typeof IconSize)[keyof typeof IconSize];\n\n/**\n * Icon component shared props (ADR-0004).\n */\nexport type IconPropsShared = {\n /**\n * Required prop to specify which icon to render from the icon set.\n */\n name: IconName;\n /**\n * Optional prop that sets the color of the icon using predefined theme colors.\n *\n * @default IconColor.IconDefault\n */\n color?: IconColor;\n /**\n * Optional prop to control the size of the icon.\n * Different sizes map to specific pixel dimensions.\n *\n * @default IconSize.Md\n */\n size?: IconSize;\n};\n"]}
|
|
@@ -1 +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,oBAAoB;IACpB,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,MAAM,EAAE,SAAS;IAEjB,8BAA8B;IAC9B,WAAW,EAAE,cAAc;IAC3B,cAAc,EAAE,iBAAiB;IACjC,aAAa,EAAE,iBAAiB;IAChC,aAAa,EAAE,iBAAiB;IAChC,eAAe,E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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:
|
|
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,oBAAoB;IACpB,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,MAAM,EAAE,SAAS;IAEjB,8BAA8B;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BAAkB;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: MM Poly */\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: 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"]}
|
|
@@ -26,7 +26,7 @@ export type FontStyle = (typeof FontStyle)[keyof typeof FontStyle];
|
|
|
26
26
|
* Semantic values shared across React and React Native platforms.
|
|
27
27
|
*/
|
|
28
28
|
export declare const FontFamily: {
|
|
29
|
-
/** Default:
|
|
29
|
+
/** Default: Inter */
|
|
30
30
|
readonly Default: "default";
|
|
31
31
|
/** Accent: MM Sans */
|
|
32
32
|
readonly Accent: "accent";
|
|
@@ -165,7 +165,7 @@ export type TextPropsShared = {
|
|
|
165
165
|
fontWeight?: FontWeight;
|
|
166
166
|
/**
|
|
167
167
|
* Optional prop to adjust the font family.
|
|
168
|
-
* Default:
|
|
168
|
+
* Default: Inter
|
|
169
169
|
* Accent: MM Sans
|
|
170
170
|
* Hero: MM Poly
|
|
171
171
|
*/
|
|
@@ -26,7 +26,7 @@ export type FontStyle = (typeof FontStyle)[keyof typeof FontStyle];
|
|
|
26
26
|
* Semantic values shared across React and React Native platforms.
|
|
27
27
|
*/
|
|
28
28
|
export declare const FontFamily: {
|
|
29
|
-
/** Default:
|
|
29
|
+
/** Default: Inter */
|
|
30
30
|
readonly Default: "default";
|
|
31
31
|
/** Accent: MM Sans */
|
|
32
32
|
readonly Accent: "accent";
|
|
@@ -165,7 +165,7 @@ export type TextPropsShared = {
|
|
|
165
165
|
fontWeight?: FontWeight;
|
|
166
166
|
/**
|
|
167
167
|
* Optional prop to adjust the font family.
|
|
168
|
-
* Default:
|
|
168
|
+
* Default: Inter
|
|
169
169
|
* Accent: MM Sans
|
|
170
170
|
* Hero: MM Poly
|
|
171
171
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.types.mjs","sourceRoot":"","sources":["../../../src/types/Text/Text.types.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,mBAAmB;IACnB,IAAI,EAAE,MAAM;IACZ,mBAAmB;IACnB,MAAM,EAAE,QAAQ;IAChB,mBAAmB;IACnB,OAAO,EAAE,SAAS;CACV,CAAC;AAIX;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIX;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,qBAAqB;IACrB,OAAO,EAAE,SAAS;IAClB,sBAAsB;IACtB,MAAM,EAAE,QAAQ;IAChB,oBAAoB;IACpB,IAAI,EAAE,MAAM;CACJ,CAAC;AAIX;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,gBAAgB;IAChB,SAAS,EAAE,YAAY;IAC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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:
|
|
1
|
+
{"version":3,"file":"Text.types.mjs","sourceRoot":"","sources":["../../../src/types/Text/Text.types.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,mBAAmB;IACnB,IAAI,EAAE,MAAM;IACZ,mBAAmB;IACnB,MAAM,EAAE,QAAQ;IAChB,mBAAmB;IACnB,OAAO,EAAE,SAAS;CACV,CAAC;AAIX;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACR,CAAC;AAIX;;;GAGG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,qBAAqB;IACrB,OAAO,EAAE,SAAS;IACl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BAAsB;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: MM Sans */\n Accent: 'accent',\n /** Hero: MM Poly */\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: 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"]}
|