@metamask/design-system-react 0.23.1 → 0.24.0

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.
Files changed (88) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/dist/components/BannerAlert/BannerAlert.d.cts +58 -30
  3. package/dist/components/BannerAlert/BannerAlert.d.cts.map +1 -1
  4. package/dist/components/BannerAlert/BannerAlert.d.mts +58 -30
  5. package/dist/components/BannerAlert/BannerAlert.d.mts.map +1 -1
  6. package/dist/components/BannerBase/BannerBase.d.cts +58 -30
  7. package/dist/components/BannerBase/BannerBase.d.cts.map +1 -1
  8. package/dist/components/BannerBase/BannerBase.d.mts +58 -30
  9. package/dist/components/BannerBase/BannerBase.d.mts.map +1 -1
  10. package/dist/components/Icon/icons/FlashFilled.cjs +32 -0
  11. package/dist/components/Icon/icons/FlashFilled.cjs.map +1 -0
  12. package/dist/components/Icon/icons/FlashFilled.d.cts +4 -0
  13. package/dist/components/Icon/icons/FlashFilled.d.cts.map +1 -0
  14. package/dist/components/Icon/icons/FlashFilled.d.mts +4 -0
  15. package/dist/components/Icon/icons/FlashFilled.d.mts.map +1 -0
  16. package/dist/components/Icon/icons/FlashFilled.mjs +7 -0
  17. package/dist/components/Icon/icons/FlashFilled.mjs.map +1 -0
  18. package/dist/components/Icon/icons/index.cjs +2 -0
  19. package/dist/components/Icon/icons/index.cjs.map +1 -1
  20. package/dist/components/Icon/icons/index.d.cts +1 -0
  21. package/dist/components/Icon/icons/index.d.cts.map +1 -1
  22. package/dist/components/Icon/icons/index.d.mts +1 -0
  23. package/dist/components/Icon/icons/index.d.mts.map +1 -1
  24. package/dist/components/Icon/icons/index.mjs +2 -0
  25. package/dist/components/Icon/icons/index.mjs.map +1 -1
  26. package/dist/components/Modal/Modal.types.cjs.map +1 -1
  27. package/dist/components/Modal/Modal.types.d.cts +2 -2
  28. package/dist/components/Modal/Modal.types.d.cts.map +1 -1
  29. package/dist/components/Modal/Modal.types.d.mts +2 -2
  30. package/dist/components/Modal/Modal.types.d.mts.map +1 -1
  31. package/dist/components/Modal/Modal.types.mjs.map +1 -1
  32. package/dist/components/ModalFocus/ModalFocus.types.cjs.map +1 -1
  33. package/dist/components/ModalFocus/ModalFocus.types.d.cts +2 -2
  34. package/dist/components/ModalFocus/ModalFocus.types.d.cts.map +1 -1
  35. package/dist/components/ModalFocus/ModalFocus.types.d.mts +2 -2
  36. package/dist/components/ModalFocus/ModalFocus.types.d.mts.map +1 -1
  37. package/dist/components/ModalFocus/ModalFocus.types.mjs.map +1 -1
  38. package/dist/components/Text/Text.cjs +3 -1
  39. package/dist/components/Text/Text.cjs.map +1 -1
  40. package/dist/components/Text/Text.constants.cjs.map +1 -1
  41. package/dist/components/Text/Text.constants.d.cts +1 -1
  42. package/dist/components/Text/Text.constants.d.cts.map +1 -1
  43. package/dist/components/Text/Text.constants.d.mts +1 -1
  44. package/dist/components/Text/Text.constants.d.mts.map +1 -1
  45. package/dist/components/Text/Text.constants.mjs.map +1 -1
  46. package/dist/components/Text/Text.d.cts.map +1 -1
  47. package/dist/components/Text/Text.d.mts.map +1 -1
  48. package/dist/components/Text/Text.mjs +3 -1
  49. package/dist/components/Text/Text.mjs.map +1 -1
  50. package/dist/components/Text/Text.types.cjs.map +1 -1
  51. package/dist/components/Text/Text.types.d.cts +2 -2
  52. package/dist/components/Text/Text.types.d.cts.map +1 -1
  53. package/dist/components/Text/Text.types.d.mts +2 -2
  54. package/dist/components/Text/Text.types.d.mts.map +1 -1
  55. package/dist/components/Text/Text.types.mjs.map +1 -1
  56. package/dist/components/TextField/TextField.cjs +77 -0
  57. package/dist/components/TextField/TextField.cjs.map +1 -0
  58. package/dist/components/TextField/TextField.d.cts +324 -0
  59. package/dist/components/TextField/TextField.d.cts.map +1 -0
  60. package/dist/components/TextField/TextField.d.mts +324 -0
  61. package/dist/components/TextField/TextField.d.mts.map +1 -0
  62. package/dist/components/TextField/TextField.mjs +58 -0
  63. package/dist/components/TextField/TextField.mjs.map +1 -0
  64. package/dist/components/TextField/TextField.types.cjs +26 -0
  65. package/dist/components/TextField/TextField.types.cjs.map +1 -0
  66. package/dist/components/TextField/TextField.types.d.cts +102 -0
  67. package/dist/components/TextField/TextField.types.d.cts.map +1 -0
  68. package/dist/components/TextField/TextField.types.d.mts +102 -0
  69. package/dist/components/TextField/TextField.types.d.mts.map +1 -0
  70. package/dist/components/TextField/TextField.types.mjs +23 -0
  71. package/dist/components/TextField/TextField.types.mjs.map +1 -0
  72. package/dist/components/TextField/index.cjs +9 -0
  73. package/dist/components/TextField/index.cjs.map +1 -0
  74. package/dist/components/TextField/index.d.cts +4 -0
  75. package/dist/components/TextField/index.d.cts.map +1 -0
  76. package/dist/components/TextField/index.d.mts +4 -0
  77. package/dist/components/TextField/index.d.mts.map +1 -0
  78. package/dist/components/TextField/index.mjs +3 -0
  79. package/dist/components/TextField/index.mjs.map +1 -0
  80. package/dist/components/index.cjs +5 -1
  81. package/dist/components/index.cjs.map +1 -1
  82. package/dist/components/index.d.cts +2 -0
  83. package/dist/components/index.d.cts.map +1 -1
  84. package/dist/components/index.d.mts +2 -0
  85. package/dist/components/index.d.mts.map +1 -1
  86. package/dist/components/index.mjs +1 -0
  87. package/dist/components/index.mjs.map +1 -1
  88. package/package.json +7 -5
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/components/Icon/icons/index.ts"],"names":[],"mappings":"AAIA,OAAO,aAAa,4BAAwB;AAC5C,OAAO,QAAQ,uBAAmB;AAClC,OAAO,OAAO,sBAAkB;AAChC,OAAO,SAAS,wBAAoB;AACpC,OAAO,SAAS,wBAAoB;AACpC,OAAO,GAAG,kBAAc;AACxB,OAAO,UAAU,yBAAqB;AACtC,OAAO,EAAE,iBAAa;AACtB,OAAO,cAAc,6BAAyB;AAC9C,OAAO,SAAS,wBAAoB;AACpC,OAAO,IAAI,mBAAe;AAC1B,OAAO,UAAU,yBAAqB;AACtC,OAAO,UAAU,yBAAqB;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AAc;IACd,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,QAAQ;IACR,IAAI;IACJ,qBAAqB;IACrB,gBAAgB;IAChB,kBAAkB;IAClB,sBAAsB;IACtB,aAAa;IACb,OAAO;IACP,KAAK;IACL,UAAU;IACV,WAAW;IACX,YAAY;IACZ,SAAS;IACT,cAAc;IACd,KAAK;IACL,GAAG;IACH,WAAW;IACX,SAAS;IACT,UAAU;IACV,KAAK;IACL,WAAW;IACX,IAAI;IACJ,OAAO;IACP,KAAK;IACL,WAAW;IACX,MAAM;IACN,KAAK;IACL,UAAU;IACV,IAAI;IACJ,KAAK;IACL,UAAU;IACV,OAAO;IACP,cAAc;IACd,YAAY;IACZ,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,GAAG;IACH,QAAQ;IACR,eAAe;IACf,SAAS;IACT,aAAa;IACb,OAAO;IACP,IAAI;IACJ,OAAO;IACP,SAAS;IACT,KAAK;IACL,SAAS;IACT,OAAO;IACP,IAAI;IACJ,MAAM;IACN,cAAc;IACd,KAAK;IACL,UAAU;IACV,MAAM;IACN,GAAG;IACH,SAAS;IACT,aAAa;IACb,gBAAgB;IAChB,UAAU;IACV,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,MAAM;IACN,OAAO;IACP,UAAU;IACV,OAAO;IACP,OAAO;IACP,IAAI;IACJ,CAAC;CACO,CAAC","sourcesContent":["// This file is auto-generated — do not edit manually\n// Run `yarn generate:icons` from the repo root to regenerate\nimport type { ForwardRefExoticComponent, RefAttributes, SVGProps } from 'react';\n\nimport Accessibility from './Accessibility';\nimport Activity from './Activity';\nimport AddCard from './AddCard';\nimport AddCircle from './AddCircle';\nimport AddSquare from './AddSquare';\nimport Add from './Add';\nimport AfterHours from './AfterHours';\nimport Ai from './Ai';\nimport AlternateEmail from './AlternateEmail';\nimport AppleLogo from './AppleLogo';\nimport Apps from './Apps';\nimport Arrow2Down from './Arrow2Down';\nimport Arrow2Left from './Arrow2Left';\nimport Arrow2Right from './Arrow2Right';\nimport Arrow2UpRight from './Arrow2UpRight';\nimport Arrow2Up from './Arrow2Up';\nimport ArrowCircleDown from './ArrowCircleDown';\nimport ArrowCircleUp from './ArrowCircleUp';\nimport ArrowDoubleLeft from './ArrowDoubleLeft';\nimport ArrowDoubleRight from './ArrowDoubleRight';\nimport ArrowDown from './ArrowDown';\nimport ArrowDropDownCircle from './ArrowDropDownCircle';\nimport ArrowLeft from './ArrowLeft';\nimport ArrowRight from './ArrowRight';\nimport ArrowUp from './ArrowUp';\nimport AttachMoney from './AttachMoney';\nimport Attachment from './Attachment';\nimport Backspace from './Backspace';\nimport Ban from './Ban';\nimport BankAssured from './BankAssured';\nimport Bank from './Bank';\nimport Bold from './Bold';\nimport Book from './Book';\nimport Bookmark from './Bookmark';\nimport Bridge from './Bridge';\nimport Briefcase from './Briefcase';\nimport Bulb from './Bulb';\nimport BuySell from './BuySell';\nimport Cake from './Cake';\nimport Calculator from './Calculator';\nimport Calendar from './Calendar';\nimport Call from './Call';\nimport Camera from './Camera';\nimport Campaign from './Campaign';\nimport Candlestick from './Candlestick';\nimport CardPos from './CardPos';\nimport Card from './Card';\nimport Cash from './Cash';\nimport Category from './Category';\nimport Chart from './Chart';\nimport CheckBold from './CheckBold';\nimport Check from './Check';\nimport CircleX from './CircleX';\nimport Clear from './Clear';\nimport ClockFilled from './ClockFilled';\nimport Clock from './Clock';\nimport Close from './Close';\nimport CloudDownload from './CloudDownload';\nimport CloudUpload from './CloudUpload';\nimport Cloud from './Cloud';\nimport CodeCircle from './CodeCircle';\nimport Code from './Code';\nimport Coin from './Coin';\nimport Collapse from './Collapse';\nimport Confirmation from './Confirmation';\nimport Connect from './Connect';\nimport CopySuccess from './CopySuccess';\nimport Copy from './Copy';\nimport CorporateFare from './CorporateFare';\nimport CreditCheck from './CreditCheck';\nimport CurrencyFranc from './CurrencyFranc';\nimport CurrencyLira from './CurrencyLira';\nimport CurrencyPound from './CurrencyPound';\nimport CurrencyYuan from './CurrencyYuan';\nimport Customize from './Customize';\nimport Danger from './Danger';\nimport DarkFilled from './DarkFilled';\nimport Dark from './Dark';\nimport Data from './Data';\nimport Description from './Description';\nimport Details from './Details';\nimport Diagram from './Diagram';\nimport DocumentCode from './DocumentCode';\nimport Download from './Download';\nimport Draft from './Draft';\nimport EcoLeaf from './EcoLeaf';\nimport EditSquare from './EditSquare';\nimport Edit from './Edit';\nimport EncryptedAdd from './EncryptedAdd';\nimport Eraser from './Eraser';\nimport Error from './Error';\nimport Ethereum from './Ethereum';\nimport Exchange from './Exchange';\nimport ExpandVertical from './ExpandVertical';\nimport Expand from './Expand';\nimport ExploreFilled from './ExploreFilled';\nimport Explore from './Explore';\nimport Export from './Export';\nimport Extension from './Extension';\nimport EyeSlash from './EyeSlash';\nimport Eye from './Eye';\nimport FaceId from './FaceId';\nimport Feedback from './Feedback';\nimport File from './File';\nimport Filter from './Filter';\nimport Fingerprint from './Fingerprint';\nimport Fire from './Fire';\nimport FirstPage from './FirstPage';\nimport Flag from './Flag';\nimport FlashSlash from './FlashSlash';\nimport Flash from './Flash';\nimport Flask from './Flask';\nimport Flower from './Flower';\nimport Folder from './Folder';\nimport Forest from './Forest';\nimport FullCircle from './FullCircle';\nimport Gas from './Gas';\nimport Gift from './Gift';\nimport GlobalSearch from './GlobalSearch';\nimport Global from './Global';\nimport Graph from './Graph';\nimport Group from './Group';\nimport Hardware from './Hardware';\nimport HashTag from './HashTag';\nimport HeartFilled from './HeartFilled';\nimport Heart from './Heart';\nimport Hierarchy from './Hierarchy';\nimport HomeFilled from './HomeFilled';\nimport Home from './Home';\nimport Image from './Image';\nimport Info from './Info';\nimport Inventory from './Inventory';\nimport Joystick from './Joystick';\nimport KeepFilled from './KeepFilled';\nimport Keep from './Keep';\nimport Key from './Key';\nimport LastPage from './LastPage';\nimport LightFilled from './LightFilled';\nimport Light from './Light';\nimport Link from './Link';\nimport ListArrow from './ListArrow';\nimport Loading from './Loading';\nimport Location from './Location';\nimport LockSlash from './LockSlash';\nimport Lock from './Lock';\nimport LockedFilled from './LockedFilled';\nimport Login from './Login';\nimport Logout from './Logout';\nimport Mail from './Mail';\nimport Map from './Map';\nimport Menu from './Menu';\nimport Merge from './Merge';\nimport MessageQuestion from './MessageQuestion';\nimport Messages from './Messages';\nimport MetamaskFoxOutline from './MetamaskFoxOutline';\nimport Mic from './Mic';\nimport MinusBold from './MinusBold';\nimport MinusSquare from './MinusSquare';\nimport Minus from './Minus';\nimport Mobile from './Mobile';\nimport MoneyBag from './MoneyBag';\nimport Money from './Money';\nimport Monitor from './Monitor';\nimport MoreHorizontal from './MoreHorizontal';\nimport MoreVertical from './MoreVertical';\nimport MountainFlag from './MountainFlag';\nimport MusdFilled from './MusdFilled';\nimport Musd from './Musd';\nimport MusicNote from './MusicNote';\nimport NoPhotography from './NoPhotography';\nimport Notification from './Notification';\nimport PageInfo from './PageInfo';\nimport Palette from './Palette';\nimport PasswordCheck from './PasswordCheck';\nimport Pending from './Pending';\nimport People from './People';\nimport PersonCancel from './PersonCancel';\nimport PieChart from './PieChart';\nimport Pin from './Pin';\nimport Plant from './Plant';\nimport Plug from './Plug';\nimport PlusAndMinus from './PlusAndMinus';\nimport PolicyAlert from './PolicyAlert';\nimport PopUp from './PopUp';\nimport Predictions from './Predictions';\nimport Print from './Print';\nimport PriorityHigh from './PriorityHigh';\nimport PrivacyTip from './PrivacyTip';\nimport ProgrammingArrows from './ProgrammingArrows';\nimport Publish from './Publish';\nimport QrCode from './QrCode';\nimport Question from './Question';\nimport Receive from './Receive';\nimport Received from './Received';\nimport Refresh from './Refresh';\nimport RemoveMinus from './RemoveMinus';\nimport Report from './Report';\nimport Rocket from './Rocket';\nimport SaveFilled from './SaveFilled';\nimport Save from './Save';\nimport Saving from './Saving';\nimport ScanBarcode from './ScanBarcode';\nimport ScanFocus from './ScanFocus';\nimport Scan from './Scan';\nimport Search from './Search';\nimport SecurityAlert from './SecurityAlert';\nimport SecurityCross from './SecurityCross';\nimport SecurityKey from './SecurityKey';\nimport SecuritySearch from './SecuritySearch';\nimport SecuritySlash from './SecuritySlash';\nimport SecurityTick from './SecurityTick';\nimport SecurityTime from './SecurityTime';\nimport SecurityUser from './SecurityUser';\nimport Security from './Security';\nimport Send from './Send';\nimport SentimentDissatisfied from './SentimentDissatisfied';\nimport SentimentNeutral from './SentimentNeutral';\nimport SentimentSatisfied from './SentimentSatisfied';\nimport SentimentVerySatisfied from './SentimentVerySatisfied';\nimport SettingFilled from './SettingFilled';\nimport Setting from './Setting';\nimport Share from './Share';\nimport ShieldLock from './ShieldLock';\nimport ShoppingBag from './ShoppingBag';\nimport ShoppingCart from './ShoppingCart';\nimport SidePanel from './SidePanel';\nimport SignalCellular from './SignalCellular';\nimport Slash from './Slash';\nimport Sms from './Sms';\nimport SnapsMobile from './SnapsMobile';\nimport SnapsPlus from './SnapsPlus';\nimport SnapsRound from './SnapsRound';\nimport Snaps from './Snaps';\nimport SortByAlpha from './SortByAlpha';\nimport Sort from './Sort';\nimport Sparkle from './Sparkle';\nimport Speed from './Speed';\nimport Speedometer from './Speedometer';\nimport Square from './Square';\nimport Stake from './Stake';\nimport StarFilled from './StarFilled';\nimport Star from './Star';\nimport Start from './Start';\nimport Storefront from './Storefront';\nimport Student from './Student';\nimport SwapHorizontal from './SwapHorizontal';\nimport SwapVertical from './SwapVertical';\nimport TabClose from './TabClose';\nimport TableRow from './TableRow';\nimport Tablet from './Tablet';\nimport Tag from './Tag';\nimport Telegram from './Telegram';\nimport ThumbDownFilled from './ThumbDownFilled';\nimport ThumbDown from './ThumbDown';\nimport ThumbUpFilled from './ThumbUpFilled';\nimport ThumbUp from './ThumbUp';\nimport Tint from './Tint';\nimport Tooltip from './Tooltip';\nimport Translate from './Translate';\nimport Trash from './Trash';\nimport TrendDown from './TrendDown';\nimport TrendUp from './TrendUp';\nimport Undo from './Undo';\nimport Unfold from './Unfold';\nimport UnlockedFilled from './UnlockedFilled';\nimport Unpin from './Unpin';\nimport UploadFile from './UploadFile';\nimport Upload from './Upload';\nimport Usb from './Usb';\nimport UserCheck from './UserCheck';\nimport UserCircleAdd from './UserCircleAdd';\nimport UserCircleRemove from './UserCircleRemove';\nimport UserCircle from './UserCircle';\nimport User from './User';\nimport VerifiedFilled from './VerifiedFilled';\nimport Verified from './Verified';\nimport Videocam from './Videocam';\nimport ViewColumn from './ViewColumn';\nimport ViewInAr from './ViewInAr';\nimport VolumeOff from './VolumeOff';\nimport VolumeUp from './VolumeUp';\nimport WalletFilled from './WalletFilled';\nimport Wallet from './Wallet';\nimport Warning from './Warning';\nimport WebTraffic from './WebTraffic';\nimport Widgets from './Widgets';\nimport WifiOff from './WifiOff';\nimport Wifi from './Wifi';\nimport X from './X';\n\nexport const Icons = {\n Accessibility,\n Activity,\n AddCard,\n AddCircle,\n AddSquare,\n Add,\n AfterHours,\n Ai,\n AlternateEmail,\n AppleLogo,\n Apps,\n Arrow2Down,\n Arrow2Left,\n Arrow2Right,\n Arrow2UpRight,\n Arrow2Up,\n ArrowCircleDown,\n ArrowCircleUp,\n ArrowDoubleLeft,\n ArrowDoubleRight,\n ArrowDown,\n ArrowDropDownCircle,\n ArrowLeft,\n ArrowRight,\n ArrowUp,\n AttachMoney,\n Attachment,\n Backspace,\n Ban,\n BankAssured,\n Bank,\n Bold,\n Book,\n Bookmark,\n Bridge,\n Briefcase,\n Bulb,\n BuySell,\n Cake,\n Calculator,\n Calendar,\n Call,\n Camera,\n Campaign,\n Candlestick,\n CardPos,\n Card,\n Cash,\n Category,\n Chart,\n CheckBold,\n Check,\n CircleX,\n Clear,\n ClockFilled,\n Clock,\n Close,\n CloudDownload,\n CloudUpload,\n Cloud,\n CodeCircle,\n Code,\n Coin,\n Collapse,\n Confirmation,\n Connect,\n CopySuccess,\n Copy,\n CorporateFare,\n CreditCheck,\n CurrencyFranc,\n CurrencyLira,\n CurrencyPound,\n CurrencyYuan,\n Customize,\n Danger,\n DarkFilled,\n Dark,\n Data,\n Description,\n Details,\n Diagram,\n DocumentCode,\n Download,\n Draft,\n EcoLeaf,\n EditSquare,\n Edit,\n EncryptedAdd,\n Eraser,\n Error,\n Ethereum,\n Exchange,\n ExpandVertical,\n Expand,\n ExploreFilled,\n Explore,\n Export,\n Extension,\n EyeSlash,\n Eye,\n FaceId,\n Feedback,\n File,\n Filter,\n Fingerprint,\n Fire,\n FirstPage,\n Flag,\n FlashSlash,\n Flash,\n Flask,\n Flower,\n Folder,\n Forest,\n FullCircle,\n Gas,\n Gift,\n GlobalSearch,\n Global,\n Graph,\n Group,\n Hardware,\n HashTag,\n HeartFilled,\n Heart,\n Hierarchy,\n HomeFilled,\n Home,\n Image,\n Info,\n Inventory,\n Joystick,\n KeepFilled,\n Keep,\n Key,\n LastPage,\n LightFilled,\n Light,\n Link,\n ListArrow,\n Loading,\n Location,\n LockSlash,\n Lock,\n LockedFilled,\n Login,\n Logout,\n Mail,\n Map,\n Menu,\n Merge,\n MessageQuestion,\n Messages,\n MetamaskFoxOutline,\n Mic,\n MinusBold,\n MinusSquare,\n Minus,\n Mobile,\n MoneyBag,\n Money,\n Monitor,\n MoreHorizontal,\n MoreVertical,\n MountainFlag,\n MusdFilled,\n Musd,\n MusicNote,\n NoPhotography,\n Notification,\n PageInfo,\n Palette,\n PasswordCheck,\n Pending,\n People,\n PersonCancel,\n PieChart,\n Pin,\n Plant,\n Plug,\n PlusAndMinus,\n PolicyAlert,\n PopUp,\n Predictions,\n Print,\n PriorityHigh,\n PrivacyTip,\n ProgrammingArrows,\n Publish,\n QrCode,\n Question,\n Receive,\n Received,\n Refresh,\n RemoveMinus,\n Report,\n Rocket,\n SaveFilled,\n Save,\n Saving,\n ScanBarcode,\n ScanFocus,\n Scan,\n Search,\n SecurityAlert,\n SecurityCross,\n SecurityKey,\n SecuritySearch,\n SecuritySlash,\n SecurityTick,\n SecurityTime,\n SecurityUser,\n Security,\n Send,\n SentimentDissatisfied,\n SentimentNeutral,\n SentimentSatisfied,\n SentimentVerySatisfied,\n SettingFilled,\n Setting,\n Share,\n ShieldLock,\n ShoppingBag,\n ShoppingCart,\n SidePanel,\n SignalCellular,\n Slash,\n Sms,\n SnapsMobile,\n SnapsPlus,\n SnapsRound,\n Snaps,\n SortByAlpha,\n Sort,\n Sparkle,\n Speed,\n Speedometer,\n Square,\n Stake,\n StarFilled,\n Star,\n Start,\n Storefront,\n Student,\n SwapHorizontal,\n SwapVertical,\n TabClose,\n TableRow,\n Tablet,\n Tag,\n Telegram,\n ThumbDownFilled,\n ThumbDown,\n ThumbUpFilled,\n ThumbUp,\n Tint,\n Tooltip,\n Translate,\n Trash,\n TrendDown,\n TrendUp,\n Undo,\n Unfold,\n UnlockedFilled,\n Unpin,\n UploadFile,\n Upload,\n Usb,\n UserCheck,\n UserCircleAdd,\n UserCircleRemove,\n UserCircle,\n User,\n VerifiedFilled,\n Verified,\n Videocam,\n ViewColumn,\n ViewInAr,\n VolumeOff,\n VolumeUp,\n WalletFilled,\n Wallet,\n Warning,\n WebTraffic,\n Widgets,\n WifiOff,\n Wifi,\n X,\n} as const;\n\nexport type IconComponentType = ForwardRefExoticComponent<\n SVGProps<SVGSVGElement> & RefAttributes<SVGSVGElement>\n>;\n\nexport type IconsType = typeof Icons;\n"]}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/components/Icon/icons/index.ts"],"names":[],"mappings":"AAIA,OAAO,aAAa,4BAAwB;AAC5C,OAAO,QAAQ,uBAAmB;AAClC,OAAO,OAAO,sBAAkB;AAChC,OAAO,SAAS,wBAAoB;AACpC,OAAO,SAAS,wBAAoB;AACpC,OAAO,GAAG,kBAAc;AACxB,OAAO,UAAU,yBAAqB;AACtC,OAAO,EAAE,iBAAa;AACtB,OAAO,cAAc,6BAAyB;AAC9C,OAAO,SAAS,wBAAoB;AACpC,OAAO,IAAI,mBAAe;AAC1B,OAAO,UAAU,yBAAqB;AACtC,OAAO,UAAU,yBAAqB;AACtC,OAAO,WAAW,0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;IACb,WAAW;IACX,cAAc;IACd,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,QAAQ;IACR,IAAI;IACJ,qBAAqB;IACrB,gBAAgB;IAChB,kBAAkB;IAClB,sBAAsB;IACtB,aAAa;IACb,OAAO;IACP,KAAK;IACL,UAAU;IACV,WAAW;IACX,YAAY;IACZ,SAAS;IACT,cAAc;IACd,KAAK;IACL,GAAG;IACH,WAAW;IACX,SAAS;IACT,UAAU;IACV,KAAK;IACL,WAAW;IACX,IAAI;IACJ,OAAO;IACP,KAAK;IACL,WAAW;IACX,MAAM;IACN,KAAK;IACL,UAAU;IACV,IAAI;IACJ,KAAK;IACL,UAAU;IACV,OAAO;IACP,cAAc;IACd,YAAY;IACZ,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,GAAG;IACH,QAAQ;IACR,eAAe;IACf,SAAS;IACT,aAAa;IACb,OAAO;IACP,IAAI;IACJ,OAAO;IACP,SAAS;IACT,KAAK;IACL,SAAS;IACT,OAAO;IACP,IAAI;IACJ,MAAM;IACN,cAAc;IACd,KAAK;IACL,UAAU;IACV,MAAM;IACN,GAAG;IACH,SAAS;IACT,aAAa;IACb,gBAAgB;IAChB,UAAU;IACV,IAAI;IACJ,cAAc;IACd,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,MAAM;IACN,OAAO;IACP,UAAU;IACV,OAAO;IACP,OAAO;IACP,IAAI;IACJ,CAAC;CACO,CAAC","sourcesContent":["// This file is auto-generated — do not edit manually\n// Run `yarn generate:icons` from the repo root to regenerate\nimport type { ForwardRefExoticComponent, RefAttributes, SVGProps } from 'react';\n\nimport Accessibility from './Accessibility';\nimport Activity from './Activity';\nimport AddCard from './AddCard';\nimport AddCircle from './AddCircle';\nimport AddSquare from './AddSquare';\nimport Add from './Add';\nimport AfterHours from './AfterHours';\nimport Ai from './Ai';\nimport AlternateEmail from './AlternateEmail';\nimport AppleLogo from './AppleLogo';\nimport Apps from './Apps';\nimport Arrow2Down from './Arrow2Down';\nimport Arrow2Left from './Arrow2Left';\nimport Arrow2Right from './Arrow2Right';\nimport Arrow2UpRight from './Arrow2UpRight';\nimport Arrow2Up from './Arrow2Up';\nimport ArrowCircleDown from './ArrowCircleDown';\nimport ArrowCircleUp from './ArrowCircleUp';\nimport ArrowDoubleLeft from './ArrowDoubleLeft';\nimport ArrowDoubleRight from './ArrowDoubleRight';\nimport ArrowDown from './ArrowDown';\nimport ArrowDropDownCircle from './ArrowDropDownCircle';\nimport ArrowLeft from './ArrowLeft';\nimport ArrowRight from './ArrowRight';\nimport ArrowUp from './ArrowUp';\nimport AttachMoney from './AttachMoney';\nimport Attachment from './Attachment';\nimport Backspace from './Backspace';\nimport Ban from './Ban';\nimport BankAssured from './BankAssured';\nimport Bank from './Bank';\nimport Bold from './Bold';\nimport Book from './Book';\nimport Bookmark from './Bookmark';\nimport Bridge from './Bridge';\nimport Briefcase from './Briefcase';\nimport Bulb from './Bulb';\nimport BuySell from './BuySell';\nimport Cake from './Cake';\nimport Calculator from './Calculator';\nimport Calendar from './Calendar';\nimport Call from './Call';\nimport Camera from './Camera';\nimport Campaign from './Campaign';\nimport Candlestick from './Candlestick';\nimport CardPos from './CardPos';\nimport Card from './Card';\nimport Cash from './Cash';\nimport Category from './Category';\nimport Chart from './Chart';\nimport CheckBold from './CheckBold';\nimport Check from './Check';\nimport CircleX from './CircleX';\nimport Clear from './Clear';\nimport ClockFilled from './ClockFilled';\nimport Clock from './Clock';\nimport Close from './Close';\nimport CloudDownload from './CloudDownload';\nimport CloudUpload from './CloudUpload';\nimport Cloud from './Cloud';\nimport CodeCircle from './CodeCircle';\nimport Code from './Code';\nimport Coin from './Coin';\nimport Collapse from './Collapse';\nimport Confirmation from './Confirmation';\nimport Connect from './Connect';\nimport CopySuccess from './CopySuccess';\nimport Copy from './Copy';\nimport CorporateFare from './CorporateFare';\nimport CreditCheck from './CreditCheck';\nimport CurrencyFranc from './CurrencyFranc';\nimport CurrencyLira from './CurrencyLira';\nimport CurrencyPound from './CurrencyPound';\nimport CurrencyYuan from './CurrencyYuan';\nimport Customize from './Customize';\nimport Danger from './Danger';\nimport DarkFilled from './DarkFilled';\nimport Dark from './Dark';\nimport Data from './Data';\nimport Description from './Description';\nimport Details from './Details';\nimport Diagram from './Diagram';\nimport DocumentCode from './DocumentCode';\nimport Download from './Download';\nimport Draft from './Draft';\nimport EcoLeaf from './EcoLeaf';\nimport EditSquare from './EditSquare';\nimport Edit from './Edit';\nimport EncryptedAdd from './EncryptedAdd';\nimport Eraser from './Eraser';\nimport Error from './Error';\nimport Ethereum from './Ethereum';\nimport Exchange from './Exchange';\nimport ExpandVertical from './ExpandVertical';\nimport Expand from './Expand';\nimport ExploreFilled from './ExploreFilled';\nimport Explore from './Explore';\nimport Export from './Export';\nimport Extension from './Extension';\nimport EyeSlash from './EyeSlash';\nimport Eye from './Eye';\nimport FaceId from './FaceId';\nimport Feedback from './Feedback';\nimport File from './File';\nimport Filter from './Filter';\nimport Fingerprint from './Fingerprint';\nimport Fire from './Fire';\nimport FirstPage from './FirstPage';\nimport Flag from './Flag';\nimport FlashFilled from './FlashFilled';\nimport FlashSlash from './FlashSlash';\nimport Flash from './Flash';\nimport Flask from './Flask';\nimport Flower from './Flower';\nimport Folder from './Folder';\nimport Forest from './Forest';\nimport FullCircle from './FullCircle';\nimport Gas from './Gas';\nimport Gift from './Gift';\nimport GlobalSearch from './GlobalSearch';\nimport Global from './Global';\nimport Graph from './Graph';\nimport Group from './Group';\nimport Hardware from './Hardware';\nimport HashTag from './HashTag';\nimport HeartFilled from './HeartFilled';\nimport Heart from './Heart';\nimport Hierarchy from './Hierarchy';\nimport HomeFilled from './HomeFilled';\nimport Home from './Home';\nimport Image from './Image';\nimport Info from './Info';\nimport Inventory from './Inventory';\nimport Joystick from './Joystick';\nimport KeepFilled from './KeepFilled';\nimport Keep from './Keep';\nimport Key from './Key';\nimport LastPage from './LastPage';\nimport LightFilled from './LightFilled';\nimport Light from './Light';\nimport Link from './Link';\nimport ListArrow from './ListArrow';\nimport Loading from './Loading';\nimport Location from './Location';\nimport LockSlash from './LockSlash';\nimport Lock from './Lock';\nimport LockedFilled from './LockedFilled';\nimport Login from './Login';\nimport Logout from './Logout';\nimport Mail from './Mail';\nimport Map from './Map';\nimport Menu from './Menu';\nimport Merge from './Merge';\nimport MessageQuestion from './MessageQuestion';\nimport Messages from './Messages';\nimport MetamaskFoxOutline from './MetamaskFoxOutline';\nimport Mic from './Mic';\nimport MinusBold from './MinusBold';\nimport MinusSquare from './MinusSquare';\nimport Minus from './Minus';\nimport Mobile from './Mobile';\nimport MoneyBag from './MoneyBag';\nimport Money from './Money';\nimport Monitor from './Monitor';\nimport MoreHorizontal from './MoreHorizontal';\nimport MoreVertical from './MoreVertical';\nimport MountainFlag from './MountainFlag';\nimport MusdFilled from './MusdFilled';\nimport Musd from './Musd';\nimport MusicNote from './MusicNote';\nimport NoPhotography from './NoPhotography';\nimport Notification from './Notification';\nimport PageInfo from './PageInfo';\nimport Palette from './Palette';\nimport PasswordCheck from './PasswordCheck';\nimport Pending from './Pending';\nimport People from './People';\nimport PersonCancel from './PersonCancel';\nimport PieChart from './PieChart';\nimport Pin from './Pin';\nimport Plant from './Plant';\nimport Plug from './Plug';\nimport PlusAndMinus from './PlusAndMinus';\nimport PolicyAlert from './PolicyAlert';\nimport PopUp from './PopUp';\nimport Predictions from './Predictions';\nimport Print from './Print';\nimport PriorityHigh from './PriorityHigh';\nimport PrivacyTip from './PrivacyTip';\nimport ProgrammingArrows from './ProgrammingArrows';\nimport Publish from './Publish';\nimport QrCode from './QrCode';\nimport Question from './Question';\nimport Receive from './Receive';\nimport Received from './Received';\nimport Refresh from './Refresh';\nimport RemoveMinus from './RemoveMinus';\nimport Report from './Report';\nimport Rocket from './Rocket';\nimport SaveFilled from './SaveFilled';\nimport Save from './Save';\nimport Saving from './Saving';\nimport ScanBarcode from './ScanBarcode';\nimport ScanFocus from './ScanFocus';\nimport Scan from './Scan';\nimport Search from './Search';\nimport SecurityAlert from './SecurityAlert';\nimport SecurityCross from './SecurityCross';\nimport SecurityKey from './SecurityKey';\nimport SecuritySearch from './SecuritySearch';\nimport SecuritySlash from './SecuritySlash';\nimport SecurityTick from './SecurityTick';\nimport SecurityTime from './SecurityTime';\nimport SecurityUser from './SecurityUser';\nimport Security from './Security';\nimport Send from './Send';\nimport SentimentDissatisfied from './SentimentDissatisfied';\nimport SentimentNeutral from './SentimentNeutral';\nimport SentimentSatisfied from './SentimentSatisfied';\nimport SentimentVerySatisfied from './SentimentVerySatisfied';\nimport SettingFilled from './SettingFilled';\nimport Setting from './Setting';\nimport Share from './Share';\nimport ShieldLock from './ShieldLock';\nimport ShoppingBag from './ShoppingBag';\nimport ShoppingCart from './ShoppingCart';\nimport SidePanel from './SidePanel';\nimport SignalCellular from './SignalCellular';\nimport Slash from './Slash';\nimport Sms from './Sms';\nimport SnapsMobile from './SnapsMobile';\nimport SnapsPlus from './SnapsPlus';\nimport SnapsRound from './SnapsRound';\nimport Snaps from './Snaps';\nimport SortByAlpha from './SortByAlpha';\nimport Sort from './Sort';\nimport Sparkle from './Sparkle';\nimport Speed from './Speed';\nimport Speedometer from './Speedometer';\nimport Square from './Square';\nimport Stake from './Stake';\nimport StarFilled from './StarFilled';\nimport Star from './Star';\nimport Start from './Start';\nimport Storefront from './Storefront';\nimport Student from './Student';\nimport SwapHorizontal from './SwapHorizontal';\nimport SwapVertical from './SwapVertical';\nimport TabClose from './TabClose';\nimport TableRow from './TableRow';\nimport Tablet from './Tablet';\nimport Tag from './Tag';\nimport Telegram from './Telegram';\nimport ThumbDownFilled from './ThumbDownFilled';\nimport ThumbDown from './ThumbDown';\nimport ThumbUpFilled from './ThumbUpFilled';\nimport ThumbUp from './ThumbUp';\nimport Tint from './Tint';\nimport Tooltip from './Tooltip';\nimport Translate from './Translate';\nimport Trash from './Trash';\nimport TrendDown from './TrendDown';\nimport TrendUp from './TrendUp';\nimport Undo from './Undo';\nimport Unfold from './Unfold';\nimport UnlockedFilled from './UnlockedFilled';\nimport Unpin from './Unpin';\nimport UploadFile from './UploadFile';\nimport Upload from './Upload';\nimport Usb from './Usb';\nimport UserCheck from './UserCheck';\nimport UserCircleAdd from './UserCircleAdd';\nimport UserCircleRemove from './UserCircleRemove';\nimport UserCircle from './UserCircle';\nimport User from './User';\nimport VerifiedFilled from './VerifiedFilled';\nimport Verified from './Verified';\nimport Videocam from './Videocam';\nimport ViewColumn from './ViewColumn';\nimport ViewInAr from './ViewInAr';\nimport VolumeOff from './VolumeOff';\nimport VolumeUp from './VolumeUp';\nimport WalletFilled from './WalletFilled';\nimport Wallet from './Wallet';\nimport Warning from './Warning';\nimport WebTraffic from './WebTraffic';\nimport Widgets from './Widgets';\nimport WifiOff from './WifiOff';\nimport Wifi from './Wifi';\nimport X from './X';\n\nexport const Icons = {\n Accessibility,\n Activity,\n AddCard,\n AddCircle,\n AddSquare,\n Add,\n AfterHours,\n Ai,\n AlternateEmail,\n AppleLogo,\n Apps,\n Arrow2Down,\n Arrow2Left,\n Arrow2Right,\n Arrow2UpRight,\n Arrow2Up,\n ArrowCircleDown,\n ArrowCircleUp,\n ArrowDoubleLeft,\n ArrowDoubleRight,\n ArrowDown,\n ArrowDropDownCircle,\n ArrowLeft,\n ArrowRight,\n ArrowUp,\n AttachMoney,\n Attachment,\n Backspace,\n Ban,\n BankAssured,\n Bank,\n Bold,\n Book,\n Bookmark,\n Bridge,\n Briefcase,\n Bulb,\n BuySell,\n Cake,\n Calculator,\n Calendar,\n Call,\n Camera,\n Campaign,\n Candlestick,\n CardPos,\n Card,\n Cash,\n Category,\n Chart,\n CheckBold,\n Check,\n CircleX,\n Clear,\n ClockFilled,\n Clock,\n Close,\n CloudDownload,\n CloudUpload,\n Cloud,\n CodeCircle,\n Code,\n Coin,\n Collapse,\n Confirmation,\n Connect,\n CopySuccess,\n Copy,\n CorporateFare,\n CreditCheck,\n CurrencyFranc,\n CurrencyLira,\n CurrencyPound,\n CurrencyYuan,\n Customize,\n Danger,\n DarkFilled,\n Dark,\n Data,\n Description,\n Details,\n Diagram,\n DocumentCode,\n Download,\n Draft,\n EcoLeaf,\n EditSquare,\n Edit,\n EncryptedAdd,\n Eraser,\n Error,\n Ethereum,\n Exchange,\n ExpandVertical,\n Expand,\n ExploreFilled,\n Explore,\n Export,\n Extension,\n EyeSlash,\n Eye,\n FaceId,\n Feedback,\n File,\n Filter,\n Fingerprint,\n Fire,\n FirstPage,\n Flag,\n FlashFilled,\n FlashSlash,\n Flash,\n Flask,\n Flower,\n Folder,\n Forest,\n FullCircle,\n Gas,\n Gift,\n GlobalSearch,\n Global,\n Graph,\n Group,\n Hardware,\n HashTag,\n HeartFilled,\n Heart,\n Hierarchy,\n HomeFilled,\n Home,\n Image,\n Info,\n Inventory,\n Joystick,\n KeepFilled,\n Keep,\n Key,\n LastPage,\n LightFilled,\n Light,\n Link,\n ListArrow,\n Loading,\n Location,\n LockSlash,\n Lock,\n LockedFilled,\n Login,\n Logout,\n Mail,\n Map,\n Menu,\n Merge,\n MessageQuestion,\n Messages,\n MetamaskFoxOutline,\n Mic,\n MinusBold,\n MinusSquare,\n Minus,\n Mobile,\n MoneyBag,\n Money,\n Monitor,\n MoreHorizontal,\n MoreVertical,\n MountainFlag,\n MusdFilled,\n Musd,\n MusicNote,\n NoPhotography,\n Notification,\n PageInfo,\n Palette,\n PasswordCheck,\n Pending,\n People,\n PersonCancel,\n PieChart,\n Pin,\n Plant,\n Plug,\n PlusAndMinus,\n PolicyAlert,\n PopUp,\n Predictions,\n Print,\n PriorityHigh,\n PrivacyTip,\n ProgrammingArrows,\n Publish,\n QrCode,\n Question,\n Receive,\n Received,\n Refresh,\n RemoveMinus,\n Report,\n Rocket,\n SaveFilled,\n Save,\n Saving,\n ScanBarcode,\n ScanFocus,\n Scan,\n Search,\n SecurityAlert,\n SecurityCross,\n SecurityKey,\n SecuritySearch,\n SecuritySlash,\n SecurityTick,\n SecurityTime,\n SecurityUser,\n Security,\n Send,\n SentimentDissatisfied,\n SentimentNeutral,\n SentimentSatisfied,\n SentimentVerySatisfied,\n SettingFilled,\n Setting,\n Share,\n ShieldLock,\n ShoppingBag,\n ShoppingCart,\n SidePanel,\n SignalCellular,\n Slash,\n Sms,\n SnapsMobile,\n SnapsPlus,\n SnapsRound,\n Snaps,\n SortByAlpha,\n Sort,\n Sparkle,\n Speed,\n Speedometer,\n Square,\n Stake,\n StarFilled,\n Star,\n Start,\n Storefront,\n Student,\n SwapHorizontal,\n SwapVertical,\n TabClose,\n TableRow,\n Tablet,\n Tag,\n Telegram,\n ThumbDownFilled,\n ThumbDown,\n ThumbUpFilled,\n ThumbUp,\n Tint,\n Tooltip,\n Translate,\n Trash,\n TrendDown,\n TrendUp,\n Undo,\n Unfold,\n UnlockedFilled,\n Unpin,\n UploadFile,\n Upload,\n Usb,\n UserCheck,\n UserCircleAdd,\n UserCircleRemove,\n UserCircle,\n User,\n VerifiedFilled,\n Verified,\n Videocam,\n ViewColumn,\n ViewInAr,\n VolumeOff,\n VolumeUp,\n WalletFilled,\n Wallet,\n Warning,\n WebTraffic,\n Widgets,\n WifiOff,\n Wifi,\n X,\n} as const;\n\nexport type IconComponentType = ForwardRefExoticComponent<\n SVGProps<SVGSVGElement> & RefAttributes<SVGSVGElement>\n>;\n\nexport type IconsType = typeof Icons;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.types.cjs","sourceRoot":"","sources":["../../../src/components/Modal/Modal.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ReactNode, RefObject } from 'react';\n\nimport type { FocusableElement } from '../ModalFocus/ModalFocus.types';\n\nexport type ModalProps = Omit<ComponentProps<'div'>, 'children'> & {\n /**\n * Whether the modal is open. When `false`, nothing is rendered (and the\n * portal subtree is unmounted, releasing focus state).\n */\n isOpen: boolean;\n /**\n * Fired when the modal requests close — wire your state setter here.\n * Triggered by the configured close-on-overlay-click and close-on-escape\n * behaviors as well as any custom close affordances inside `children`.\n */\n onClose: () => void;\n /**\n * The modal subtree. Typically composed of `ModalOverlay` and\n * `ModalContent` (which read shared behavior via `useModalContext`).\n */\n children: ReactNode;\n /**\n * Optional prop for additional CSS classes to be applied to the Modal root.\n * Merged with the component's defaults via `twMerge`.\n */\n className?: string;\n /**\n * When `true`, clicking the overlay (outside the modal content) closes the\n * modal.\n *\n * @default true\n */\n isClosedOnOutsideClick?: boolean;\n /**\n * When `true`, pressing Escape closes the modal. When `false`, ensure the\n * modal exposes a visible/keyboard-reachable close affordance for\n * keyboard-only users.\n *\n * @default true\n */\n isClosedOnEscapeKey?: boolean;\n /**\n * When `true`, the first focusable element within the modal subtree is\n * focused on mount.\n *\n * @default true\n */\n autoFocus?: boolean;\n /**\n * The element to receive focus when the modal opens. Overrides `autoFocus`'s\n * \"first focusable\" behavior.\n */\n initialFocusRef?: RefObject<FocusableElement>;\n /**\n * The element to receive focus when the modal closes/unmounts.\n */\n finalFocusRef?: RefObject<FocusableElement>;\n /**\n * When `true`, focus is restored to the element that opened the modal once\n * the modal closes. Ignored when `finalFocusRef` is provided.\n *\n * @default false\n */\n restoreFocus?: boolean;\n};\n"]}
1
+ {"version":3,"file":"Modal.types.cjs","sourceRoot":"","sources":["../../../src/components/Modal/Modal.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ReactNode, RefObject } from 'react';\n\nimport type { FocusableElement } from '../ModalFocus/ModalFocus.types';\n\nexport type ModalProps = Omit<ComponentProps<'div'>, 'children'> & {\n /**\n * Whether the modal is open. When `false`, nothing is rendered (and the\n * portal subtree is unmounted, releasing focus state).\n */\n isOpen: boolean;\n /**\n * Fired when the modal requests close — wire your state setter here.\n * Triggered by the configured close-on-overlay-click and close-on-escape\n * behaviors as well as any custom close affordances inside `children`.\n */\n onClose: () => void;\n /**\n * The modal subtree. Typically composed of `ModalOverlay` and\n * `ModalContent` (which read shared behavior via `useModalContext`).\n */\n children: ReactNode;\n /**\n * Optional prop for additional CSS classes to be applied to the Modal root.\n * Merged with the component's defaults via `twMerge`.\n */\n className?: string;\n /**\n * When `true`, clicking the overlay (outside the modal content) closes the\n * modal.\n *\n * @default true\n */\n isClosedOnOutsideClick?: boolean;\n /**\n * When `true`, pressing Escape closes the modal. When `false`, ensure the\n * modal exposes a visible/keyboard-reachable close affordance for\n * keyboard-only users.\n *\n * @default true\n */\n isClosedOnEscapeKey?: boolean;\n /**\n * When `true`, the first focusable element within the modal subtree is\n * focused on mount.\n *\n * @default true\n */\n autoFocus?: boolean;\n /**\n * The element to receive focus when the modal opens. Overrides `autoFocus`'s\n * \"first focusable\" behavior.\n */\n initialFocusRef?: RefObject<FocusableElement | null>;\n /**\n * The element to receive focus when the modal closes/unmounts.\n */\n finalFocusRef?: RefObject<FocusableElement | null>;\n /**\n * When `true`, focus is restored to the element that opened the modal once\n * the modal closes. Ignored when `finalFocusRef` is provided.\n *\n * @default false\n */\n restoreFocus?: boolean;\n};\n"]}
@@ -48,11 +48,11 @@ export type ModalProps = Omit<ComponentProps<'div'>, 'children'> & {
48
48
  * The element to receive focus when the modal opens. Overrides `autoFocus`'s
49
49
  * "first focusable" behavior.
50
50
  */
51
- initialFocusRef?: RefObject<FocusableElement>;
51
+ initialFocusRef?: RefObject<FocusableElement | null>;
52
52
  /**
53
53
  * The element to receive focus when the modal closes/unmounts.
54
54
  */
55
- finalFocusRef?: RefObject<FocusableElement>;
55
+ finalFocusRef?: RefObject<FocusableElement | null>;
56
56
  /**
57
57
  * When `true`, focus is restored to the element that opened the modal once
58
58
  * the modal closes. Ignored when `finalFocusRef` is provided.
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.types.d.cts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc;AAElE,OAAO,KAAK,EAAE,gBAAgB,EAAE,2CAAuC;AAEvE,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,CAA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C;IACpB;;;OAGG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACrD;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACnD;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
@@ -48,11 +48,11 @@ export type ModalProps = Omit<ComponentProps<'div'>, 'children'> & {
48
48
  * The element to receive focus when the modal opens. Overrides `autoFocus`'s
49
49
  * "first focusable" behavior.
50
50
  */
51
- initialFocusRef?: RefObject<FocusableElement>;
51
+ initialFocusRef?: RefObject<FocusableElement | null>;
52
52
  /**
53
53
  * The element to receive focus when the modal closes/unmounts.
54
54
  */
55
- finalFocusRef?: RefObject<FocusableElement>;
55
+ finalFocusRef?: RefObject<FocusableElement | null>;
56
56
  /**
57
57
  * When `true`, focus is restored to the element that opened the modal once
58
58
  * the modal closes. Ignored when `finalFocusRef` is provided.
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.types.d.mts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc;AAElE,OAAO,KAAK,EAAE,gBAAgB,EAAE,2CAAuC;AAEvE,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;IACjE;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC9C;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
1
+ {"version":3,"file":"Modal.types.d.mts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc;AAElE,OAAO,KAAK,EAAE,gBAAgB,EAAE,2CAAuC;AAEvE,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;IACjE;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACrD;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACnD;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.types.mjs","sourceRoot":"","sources":["../../../src/components/Modal/Modal.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ReactNode, RefObject } from 'react';\n\nimport type { FocusableElement } from '../ModalFocus/ModalFocus.types';\n\nexport type ModalProps = Omit<ComponentProps<'div'>, 'children'> & {\n /**\n * Whether the modal is open. When `false`, nothing is rendered (and the\n * portal subtree is unmounted, releasing focus state).\n */\n isOpen: boolean;\n /**\n * Fired when the modal requests close — wire your state setter here.\n * Triggered by the configured close-on-overlay-click and close-on-escape\n * behaviors as well as any custom close affordances inside `children`.\n */\n onClose: () => void;\n /**\n * The modal subtree. Typically composed of `ModalOverlay` and\n * `ModalContent` (which read shared behavior via `useModalContext`).\n */\n children: ReactNode;\n /**\n * Optional prop for additional CSS classes to be applied to the Modal root.\n * Merged with the component's defaults via `twMerge`.\n */\n className?: string;\n /**\n * When `true`, clicking the overlay (outside the modal content) closes the\n * modal.\n *\n * @default true\n */\n isClosedOnOutsideClick?: boolean;\n /**\n * When `true`, pressing Escape closes the modal. When `false`, ensure the\n * modal exposes a visible/keyboard-reachable close affordance for\n * keyboard-only users.\n *\n * @default true\n */\n isClosedOnEscapeKey?: boolean;\n /**\n * When `true`, the first focusable element within the modal subtree is\n * focused on mount.\n *\n * @default true\n */\n autoFocus?: boolean;\n /**\n * The element to receive focus when the modal opens. Overrides `autoFocus`'s\n * \"first focusable\" behavior.\n */\n initialFocusRef?: RefObject<FocusableElement>;\n /**\n * The element to receive focus when the modal closes/unmounts.\n */\n finalFocusRef?: RefObject<FocusableElement>;\n /**\n * When `true`, focus is restored to the element that opened the modal once\n * the modal closes. Ignored when `finalFocusRef` is provided.\n *\n * @default false\n */\n restoreFocus?: boolean;\n};\n"]}
1
+ {"version":3,"file":"Modal.types.mjs","sourceRoot":"","sources":["../../../src/components/Modal/Modal.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ReactNode, RefObject } from 'react';\n\nimport type { FocusableElement } from '../ModalFocus/ModalFocus.types';\n\nexport type ModalProps = Omit<ComponentProps<'div'>, 'children'> & {\n /**\n * Whether the modal is open. When `false`, nothing is rendered (and the\n * portal subtree is unmounted, releasing focus state).\n */\n isOpen: boolean;\n /**\n * Fired when the modal requests close — wire your state setter here.\n * Triggered by the configured close-on-overlay-click and close-on-escape\n * behaviors as well as any custom close affordances inside `children`.\n */\n onClose: () => void;\n /**\n * The modal subtree. Typically composed of `ModalOverlay` and\n * `ModalContent` (which read shared behavior via `useModalContext`).\n */\n children: ReactNode;\n /**\n * Optional prop for additional CSS classes to be applied to the Modal root.\n * Merged with the component's defaults via `twMerge`.\n */\n className?: string;\n /**\n * When `true`, clicking the overlay (outside the modal content) closes the\n * modal.\n *\n * @default true\n */\n isClosedOnOutsideClick?: boolean;\n /**\n * When `true`, pressing Escape closes the modal. When `false`, ensure the\n * modal exposes a visible/keyboard-reachable close affordance for\n * keyboard-only users.\n *\n * @default true\n */\n isClosedOnEscapeKey?: boolean;\n /**\n * When `true`, the first focusable element within the modal subtree is\n * focused on mount.\n *\n * @default true\n */\n autoFocus?: boolean;\n /**\n * The element to receive focus when the modal opens. Overrides `autoFocus`'s\n * \"first focusable\" behavior.\n */\n initialFocusRef?: RefObject<FocusableElement | null>;\n /**\n * The element to receive focus when the modal closes/unmounts.\n */\n finalFocusRef?: RefObject<FocusableElement | null>;\n /**\n * When `true`, focus is restored to the element that opened the modal once\n * the modal closes. Ignored when `finalFocusRef` is provided.\n *\n * @default false\n */\n restoreFocus?: boolean;\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ModalFocus.types.cjs","sourceRoot":"","sources":["../../../src/components/ModalFocus/ModalFocus.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode, RefObject } from 'react';\n\nexport type FocusableElement = {\n focus(options?: FocusOptions): void;\n};\n\nexport type ModalFocusProps = {\n /**\n * The `ref` of the element to receive focus initially.\n */\n initialFocusRef?: RefObject<FocusableElement>;\n /**\n * The `ref` of the element to return focus to when `ModalFocus`\n * unmounts.\n */\n finalFocusRef?: RefObject<FocusableElement>;\n /**\n * If `true`, focus will be restored to the element that\n * triggered the `ModalFocus` once it unmounts.\n *\n * Ignored when `finalFocusRef` is provided.\n *\n * @default false\n */\n restoreFocus?: boolean;\n /**\n * The node to lock focus to.\n */\n children: ReactNode;\n /**\n * If `true`, the first focusable element within `children`\n * will be auto-focused once `ModalFocus` mounts.\n *\n * @default true\n */\n autoFocus?: boolean;\n};\n"]}
1
+ {"version":3,"file":"ModalFocus.types.cjs","sourceRoot":"","sources":["../../../src/components/ModalFocus/ModalFocus.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode, RefObject } from 'react';\n\nexport type FocusableElement = {\n focus(options?: FocusOptions): void;\n};\n\nexport type ModalFocusProps = {\n /**\n * The `ref` of the element to receive focus initially.\n */\n initialFocusRef?: RefObject<FocusableElement | null>;\n /**\n * The `ref` of the element to return focus to when `ModalFocus`\n * unmounts.\n */\n finalFocusRef?: RefObject<FocusableElement | null>;\n /**\n * If `true`, focus will be restored to the element that\n * triggered the `ModalFocus` once it unmounts.\n *\n * Ignored when `finalFocusRef` is provided.\n *\n * @default false\n */\n restoreFocus?: boolean;\n /**\n * The node to lock focus to.\n */\n children: ReactNode;\n /**\n * If `true`, the first focusable element within `children`\n * will be auto-focused once `ModalFocus` mounts.\n *\n * @default true\n */\n autoFocus?: boolean;\n};\n"]}
@@ -6,12 +6,12 @@ export type ModalFocusProps = {
6
6
  /**
7
7
  * The `ref` of the element to receive focus initially.
8
8
  */
9
- initialFocusRef?: RefObject<FocusableElement>;
9
+ initialFocusRef?: RefObject<FocusableElement | null>;
10
10
  /**
11
11
  * The `ref` of the element to return focus to when `ModalFocus`
12
12
  * unmounts.
13
13
  */
14
- finalFocusRef?: RefObject<FocusableElement>;
14
+ finalFocusRef?: RefObject<FocusableElement | null>;
15
15
  /**
16
16
  * If `true`, focus will be restored to the element that
17
17
  * triggered the `ModalFocus` once it unmounts.
@@ -1 +1 @@
1
- {"version":3,"file":"ModalFocus.types.d.cts","sourceRoot":"","sources":["../../../src/components/ModalFocus/ModalFocus.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc;AAElD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC9C;;;OAGG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
1
+ {"version":3,"file":"ModalFocus.types.d.cts","sourceRoot":"","sources":["../../../src/components/ModalFocus/ModalFocus.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc;AAElD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACrD;;;OAGG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACnD;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
@@ -6,12 +6,12 @@ export type ModalFocusProps = {
6
6
  /**
7
7
  * The `ref` of the element to receive focus initially.
8
8
  */
9
- initialFocusRef?: RefObject<FocusableElement>;
9
+ initialFocusRef?: RefObject<FocusableElement | null>;
10
10
  /**
11
11
  * The `ref` of the element to return focus to when `ModalFocus`
12
12
  * unmounts.
13
13
  */
14
- finalFocusRef?: RefObject<FocusableElement>;
14
+ finalFocusRef?: RefObject<FocusableElement | null>;
15
15
  /**
16
16
  * If `true`, focus will be restored to the element that
17
17
  * triggered the `ModalFocus` once it unmounts.
@@ -1 +1 @@
1
- {"version":3,"file":"ModalFocus.types.d.mts","sourceRoot":"","sources":["../../../src/components/ModalFocus/ModalFocus.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc;AAElD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC9C;;;OAGG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
1
+ {"version":3,"file":"ModalFocus.types.d.mts","sourceRoot":"","sources":["../../../src/components/ModalFocus/ModalFocus.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc;AAElD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACrD;;;OAGG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACnD;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ModalFocus.types.mjs","sourceRoot":"","sources":["../../../src/components/ModalFocus/ModalFocus.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode, RefObject } from 'react';\n\nexport type FocusableElement = {\n focus(options?: FocusOptions): void;\n};\n\nexport type ModalFocusProps = {\n /**\n * The `ref` of the element to receive focus initially.\n */\n initialFocusRef?: RefObject<FocusableElement>;\n /**\n * The `ref` of the element to return focus to when `ModalFocus`\n * unmounts.\n */\n finalFocusRef?: RefObject<FocusableElement>;\n /**\n * If `true`, focus will be restored to the element that\n * triggered the `ModalFocus` once it unmounts.\n *\n * Ignored when `finalFocusRef` is provided.\n *\n * @default false\n */\n restoreFocus?: boolean;\n /**\n * The node to lock focus to.\n */\n children: ReactNode;\n /**\n * If `true`, the first focusable element within `children`\n * will be auto-focused once `ModalFocus` mounts.\n *\n * @default true\n */\n autoFocus?: boolean;\n};\n"]}
1
+ {"version":3,"file":"ModalFocus.types.mjs","sourceRoot":"","sources":["../../../src/components/ModalFocus/ModalFocus.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode, RefObject } from 'react';\n\nexport type FocusableElement = {\n focus(options?: FocusOptions): void;\n};\n\nexport type ModalFocusProps = {\n /**\n * The `ref` of the element to receive focus initially.\n */\n initialFocusRef?: RefObject<FocusableElement | null>;\n /**\n * The `ref` of the element to return focus to when `ModalFocus`\n * unmounts.\n */\n finalFocusRef?: RefObject<FocusableElement | null>;\n /**\n * If `true`, focus will be restored to the element that\n * triggered the `ModalFocus` once it unmounts.\n *\n * Ignored when `finalFocusRef` is provided.\n *\n * @default false\n */\n restoreFocus?: boolean;\n /**\n * The node to lock focus to.\n */\n children: ReactNode;\n /**\n * If `true`, the first focusable element within `children`\n * will be auto-focused once `ModalFocus` mounts.\n *\n * @default true\n */\n autoFocus?: boolean;\n};\n"]}
@@ -12,7 +12,9 @@ const Text_constants_1 = require("./Text.constants.cjs");
12
12
  const Text = ({ variant = design_system_shared_1.TextVariant.BodyMd, children, className, fontWeight, fontFamily = design_system_shared_1.FontFamily.Default, fontStyle, textTransform, textAlign, overflowWrap, ellipsis, asChild, color = design_system_shared_1.TextColor.TextDefault, style, ...props }) => {
13
13
  // When asChild is true, use Radix Slot to merge props onto the child component.
14
14
  // Otherwise, render the semantic HTML element mapped to this variant (e.g. h1-h4, p).
15
- const Component = asChild ? react_slot_1.Slot : Text_constants_1.MAP_TEXT_VARIANT_TAG[variant];
15
+ const Component = asChild
16
+ ? react_slot_1.Slot
17
+ : Text_constants_1.MAP_TEXT_VARIANT_TAG[variant];
16
18
  const mergedClassName = `${(0, tw_merge_1.twMerge)(color, Text_constants_1.TWCLASSMAP_TEXT_VARIANT_FONTSTYLE[variant], fontWeight
17
19
  ? Text_constants_1.TWCLASSMAP_TEXT_FONTWEIGHT[fontWeight]
18
20
  : Text_constants_1.TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT[variant], fontStyle ? Text_constants_1.TWCLASSMAP_TEXT_FONTSTYLE[fontStyle] : undefined, Text_constants_1.TWCLASSMAP_TEXT_FONTFAMILY[fontFamily], textTransform, textAlign, overflowWrap, ellipsis && 'truncate', className)}`;
@@ -1 +1 @@
1
- {"version":3,"file":"Text.cjs","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":";;;;;;AAAA,yEAIwC;AACxC,qDAA4C;AAC5C,kDAA0B;AAE1B,uDAA+C;AAE/C,yDAO0B;AAGnB,MAAM,IAAI,GAAwB,CAAC,EACxC,OAAO,GAAG,kCAAW,CAAC,MAAM,EAC5B,QAAQ,EACR,SAAS,EACT,UAAU,EACV,UAAU,GAAG,iCAAU,CAAC,OAAO,EAC/B,SAAS,EACT,aAAa,EACb,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,KAAK,GAAG,gCAAS,CAAC,WAAW,EAC7B,KAAK,EACL,GAAG,KAAK,EACT,EAAE,EAAE;IACH,gFAAgF;IAChF,sFAAsF;IACtF,MAAM,SAAS,GAAG,OAAO,CAAC,CAAC,CAAC,iBAAI,CAAC,CAAC,CAAC,qCAAoB,CAAC,OAAO,CAAC,CAAC;IAEjE,MAAM,eAAe,GAAG,GAAG,IAAA,kBAAO,EAChC,KAAK,EACL,kDAAiC,CAAC,OAAO,CAAC,EAC1C,UAAU;QACR,CAAC,CAAC,2CAA0B,CAAC,UAAU,CAAC;QACxC,CAAC,CAAC,mDAAkC,CAAC,OAAO,CAAC,EAC/C,SAAS,CAAC,CAAC,CAAC,0CAAyB,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,EAC5D,2CAA0B,CAAC,UAAU,CAAC,EACtC,aAAa,EACb,SAAS,EACT,YAAY,EACZ,QAAQ,IAAI,UAAU,EACtB,SAAS,CACV,EAAE,CAAC;IAEJ,OAAO,CACL,8BAAC,SAAS,IAAC,SAAS,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,KAAM,KAAK,IAC3D,QAAQ,CACC,CACb,CAAC;AACJ,CAAC,CAAC;AAxCW,QAAA,IAAI,QAwCf","sourcesContent":["import {\n FontFamily,\n TextColor,\n TextVariant,\n} from '@metamask/design-system-shared';\nimport { Slot } from '@radix-ui/react-slot';\nimport React from 'react';\n\nimport { twMerge } from '../../utils/tw-merge';\n\nimport {\n TWCLASSMAP_TEXT_VARIANT_FONTSTYLE,\n TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT,\n TWCLASSMAP_TEXT_FONTFAMILY,\n TWCLASSMAP_TEXT_FONTSTYLE,\n TWCLASSMAP_TEXT_FONTWEIGHT,\n MAP_TEXT_VARIANT_TAG,\n} from './Text.constants';\nimport type { TextProps } from './Text.types';\n\nexport const Text: React.FC<TextProps> = ({\n variant = TextVariant.BodyMd,\n children,\n className,\n fontWeight,\n fontFamily = FontFamily.Default,\n fontStyle,\n textTransform,\n textAlign,\n overflowWrap,\n ellipsis,\n asChild,\n color = TextColor.TextDefault,\n style,\n ...props\n}) => {\n // When asChild is true, use Radix Slot to merge props onto the child component.\n // Otherwise, render the semantic HTML element mapped to this variant (e.g. h1-h4, p).\n const Component = asChild ? Slot : MAP_TEXT_VARIANT_TAG[variant];\n\n const mergedClassName = `${twMerge(\n color,\n TWCLASSMAP_TEXT_VARIANT_FONTSTYLE[variant],\n fontWeight\n ? TWCLASSMAP_TEXT_FONTWEIGHT[fontWeight]\n : TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT[variant],\n fontStyle ? TWCLASSMAP_TEXT_FONTSTYLE[fontStyle] : undefined,\n TWCLASSMAP_TEXT_FONTFAMILY[fontFamily],\n textTransform,\n textAlign,\n overflowWrap,\n ellipsis && 'truncate',\n className,\n )}`;\n\n return (\n <Component className={mergedClassName} style={style} {...props}>\n {children}\n </Component>\n );\n};\n"]}
1
+ {"version":3,"file":"Text.cjs","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":";;;;;;AAAA,yEAIwC;AACxC,qDAA4C;AAC5C,kDAA0B;AAE1B,uDAA+C;AAE/C,yDAO0B;AAGnB,MAAM,IAAI,GAAwB,CAAC,EACxC,OAAO,GAAG,kCAAW,CAAC,MAAM,EAC5B,QAAQ,EACR,SAAS,EACT,UAAU,EACV,UAAU,GAAG,iCAAU,CAAC,OAAO,EAC/B,SAAS,EACT,aAAa,EACb,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,KAAK,GAAG,gCAAS,CAAC,WAAW,EAC7B,KAAK,EACL,GAAG,KAAK,EACT,EAAE,EAAE;IACH,gFAAgF;IAChF,sFAAsF;IACtF,MAAM,SAAS,GAAsB,OAAO;QAC1C,CAAC,CAAC,iBAAI;QACN,CAAC,CAAC,qCAAoB,CAAC,OAAO,CAAC,CAAC;IAElC,MAAM,eAAe,GAAG,GAAG,IAAA,kBAAO,EAChC,KAAK,EACL,kDAAiC,CAAC,OAAO,CAAC,EAC1C,UAAU;QACR,CAAC,CAAC,2CAA0B,CAAC,UAAU,CAAC;QACxC,CAAC,CAAC,mDAAkC,CAAC,OAAO,CAAC,EAC/C,SAAS,CAAC,CAAC,CAAC,0CAAyB,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,EAC5D,2CAA0B,CAAC,UAAU,CAAC,EACtC,aAAa,EACb,SAAS,EACT,YAAY,EACZ,QAAQ,IAAI,UAAU,EACtB,SAAS,CACV,EAAE,CAAC;IAEJ,OAAO,CACL,8BAAC,SAAS,IAAC,SAAS,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,KAAM,KAAK,IAC3D,QAAQ,CACC,CACb,CAAC;AACJ,CAAC,CAAC;AA1CW,QAAA,IAAI,QA0Cf","sourcesContent":["import {\n FontFamily,\n TextColor,\n TextVariant,\n} from '@metamask/design-system-shared';\nimport { Slot } from '@radix-ui/react-slot';\nimport React from 'react';\n\nimport { twMerge } from '../../utils/tw-merge';\n\nimport {\n TWCLASSMAP_TEXT_VARIANT_FONTSTYLE,\n TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT,\n TWCLASSMAP_TEXT_FONTFAMILY,\n TWCLASSMAP_TEXT_FONTSTYLE,\n TWCLASSMAP_TEXT_FONTWEIGHT,\n MAP_TEXT_VARIANT_TAG,\n} from './Text.constants';\nimport type { TextProps } from './Text.types';\n\nexport const Text: React.FC<TextProps> = ({\n variant = TextVariant.BodyMd,\n children,\n className,\n fontWeight,\n fontFamily = FontFamily.Default,\n fontStyle,\n textTransform,\n textAlign,\n overflowWrap,\n ellipsis,\n asChild,\n color = TextColor.TextDefault,\n style,\n ...props\n}) => {\n // When asChild is true, use Radix Slot to merge props onto the child component.\n // Otherwise, render the semantic HTML element mapped to this variant (e.g. h1-h4, p).\n const Component: React.ElementType = asChild\n ? Slot\n : MAP_TEXT_VARIANT_TAG[variant];\n\n const mergedClassName = `${twMerge(\n color,\n TWCLASSMAP_TEXT_VARIANT_FONTSTYLE[variant],\n fontWeight\n ? TWCLASSMAP_TEXT_FONTWEIGHT[fontWeight]\n : TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT[variant],\n fontStyle ? TWCLASSMAP_TEXT_FONTSTYLE[fontStyle] : undefined,\n TWCLASSMAP_TEXT_FONTFAMILY[fontFamily],\n textTransform,\n textAlign,\n overflowWrap,\n ellipsis && 'truncate',\n className,\n )}`;\n\n return (\n <Component className={mergedClassName} style={style} {...props}>\n {children}\n </Component>\n );\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Text.constants.cjs","sourceRoot":"","sources":["../../../src/components/Text/Text.constants.ts"],"names":[],"mappings":";;;AAAA,yEAKwC;AAE3B,QAAA,0BAA0B,GAA+B;IACpE,CAAC,iCAAU,CAAC,IAAI,CAAC,EAAE,WAAW;IAC9B,CAAC,iCAAU,CAAC,MAAM,CAAC,EAAE,aAAa;IAClC,CAAC,iCAAU,CAAC,OAAO,CAAC,EAAE,cAAc;CACrC,CAAC;AAEW,QAAA,0BAA0B,GAA+B;IACpE,CAAC,iCAAU,CAAC,OAAO,CAAC,EAAE,cAAc;IACpC,CAAC,iCAAU,CAAC,MAAM,CAAC,EAAE,aAAa;IAClC,CAAC,iCAAU,CAAC,IAAI,CAAC,EAAE,WAAW;CAC/B,CAAC;AAEW,QAAA,yBAAyB,GAA8B;IAClE,CAAC,gCAAS,CAAC,MAAM,CAAC,EAAE,QAAQ;IAC5B,CAAC,gCAAS,CAAC,MAAM,CAAC,EAAE,YAAY;CACjC,CAAC;AAEW,QAAA,iCAAiC,GAAgC;IAC5E,CAAC,kCAAW,CAAC,SAAS,CAAC,EACrB,oIAAoI;IACtI,CAAC,kCAAW,CAAC,SAAS,CAAC,EACrB,oIAAoI;IACtI,CAAC,kCAAW,CAAC,SAAS,CAAC,EACrB,o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kCAAW,CAAC,aAAa,CAAC,EAAE,aAAa;IAC1C,CAAC,kCAAW,CAAC,eAAe,CAAC,EAAE,0BAA0B;CAC1D,CAAC;AAEW,QAAA,oBAAoB,GAG7B;IACF,CAAC,kCAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,kCAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,kCAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,kCAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,kCAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,kCAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,kCAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,kCAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,kCAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,kCAAW,CAAC,WAAW,CAAC,EAAE,IAAI;IAC/B,CAAC,kCAAW,CAAC,cAAc,CAAC,EAAE,IAAI;IAClC,CAAC,kCAAW,CAAC,aAAa,CAAC,EAAE,MAAM;IACnC,CAAC,kCAAW,CAAC,aAAa,CAAC,EAAE,MAAM;IACnC,CAAC,kCAAW,CAAC,eAAe,CAAC,EAAE,MAAM;CACtC,CAAC","sourcesContent":["import {\n FontFamily,\n FontStyle,\n FontWeight,\n TextVariant,\n} from '@metamask/design-system-shared';\n\nexport const TWCLASSMAP_TEXT_FONTWEIGHT: Record<FontWeight, string> = {\n [FontWeight.Bold]: 'font-bold',\n [FontWeight.Medium]: 'font-medium',\n [FontWeight.Regular]: 'font-regular',\n};\n\nexport const TWCLASSMAP_TEXT_FONTFAMILY: Record<FontFamily, string> = {\n [FontFamily.Default]: 'font-default',\n [FontFamily.Accent]: 'font-accent',\n [FontFamily.Hero]: 'font-hero',\n};\n\nexport const TWCLASSMAP_TEXT_FONTSTYLE: Record<FontStyle, string> = {\n [FontStyle.Italic]: 'italic',\n [FontStyle.Normal]: 'not-italic',\n};\n\nexport const TWCLASSMAP_TEXT_VARIANT_FONTSTYLE: Record<TextVariant, string> = {\n [TextVariant.DisplayLg]:\n 'text-s-display-lg leading-s-display-lg tracking-s-display-lg md:text-l-display-lg md:leading-l-display-lg md:tracking-l-display-lg',\n [TextVariant.DisplayMd]:\n 'text-s-display-md leading-s-display-md tracking-s-display-md md:text-l-display-md md:leading-l-display-md md:tracking-l-display-md',\n [TextVariant.HeadingLg]:\n 'text-s-heading-lg leading-s-heading-lg tracking-s-heading-lg md:text-l-heading-lg md:leading-l-heading-lg md:tracking-l-heading-lg',\n [TextVariant.HeadingMd]:\n 'text-s-heading-md leading-s-heading-md tracking-s-heading-md md:text-l-heading-md md:leading-l-heading-md md:tracking-l-heading-md',\n [TextVariant.HeadingSm]:\n 'text-s-heading-sm leading-s-heading-sm tracking-s-heading-sm md:text-l-heading-sm md:leading-l-heading-sm md:tracking-l-heading-sm',\n [TextVariant.BodyLg]:\n 'text-s-body-lg leading-s-body-lg tracking-s-body-lg md:text-l-body-lg md:leading-l-body-lg md:tracking-l-body-lg',\n [TextVariant.BodyMd]:\n 'text-s-body-md leading-s-body-md tracking-s-body-md md:text-l-body-md md:leading-l-body-md md:tracking-l-body-md',\n [TextVariant.BodySm]:\n 'text-s-body-sm leading-s-body-sm tracking-s-body-sm md:text-l-body-sm md:leading-l-body-sm md:tracking-l-body-sm',\n [TextVariant.BodyXs]:\n 'text-s-body-xs leading-s-body-xs tracking-s-body-xs md:text-l-body-xs md:leading-l-body-xs md:tracking-l-body-xs',\n [TextVariant.PageHeading]:\n 'text-s-page-heading leading-s-page-heading tracking-s-page-heading md:text-l-page-heading md:leading-l-page-heading md:tracking-l-page-heading',\n [TextVariant.SectionHeading]:\n 'text-s-section-heading leading-s-section-heading tracking-s-section-heading md:text-l-section-heading md:leading-l-section-heading md:tracking-l-section-heading',\n [TextVariant.ButtonLabelMd]:\n 'text-s-button-label-md leading-s-button-label-md tracking-s-button-label-md md:text-l-button-label-md md:leading-l-button-label-md md:tracking-l-button-label-md',\n [TextVariant.ButtonLabelLg]:\n 'text-s-button-label-lg leading-s-button-label-lg tracking-s-button-label-lg md:text-l-button-label-lg md:leading-l-button-label-lg md:tracking-l-button-label-lg',\n [TextVariant.AmountDisplayLg]:\n 'text-s-amount-display-lg leading-s-amount-display-lg tracking-s-amount-display-lg md:text-l-amount-display-lg md:leading-l-amount-display-lg md:tracking-l-amount-display-lg',\n};\n\nexport const TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT: Record<TextVariant, string> = {\n [TextVariant.DisplayLg]: 'font-bold md:font-medium',\n [TextVariant.DisplayMd]: 'font-bold md:font-medium',\n [TextVariant.HeadingLg]: 'font-bold',\n [TextVariant.HeadingMd]: 'font-bold',\n [TextVariant.HeadingSm]: 'font-bold',\n [TextVariant.BodyLg]: 'font-medium',\n [TextVariant.BodyMd]: 'font-regular',\n [TextVariant.BodySm]: 'font-regular',\n [TextVariant.BodyXs]: 'font-regular',\n [TextVariant.PageHeading]: 'font-bold',\n [TextVariant.SectionHeading]: 'font-bold',\n [TextVariant.ButtonLabelMd]: 'font-medium',\n [TextVariant.ButtonLabelLg]: 'font-medium',\n [TextVariant.AmountDisplayLg]: 'font-bold md:font-medium',\n};\n\nexport const MAP_TEXT_VARIANT_TAG: Record<\n TextVariant,\n keyof JSX.IntrinsicElements\n> = {\n [TextVariant.DisplayLg]: 'h1',\n [TextVariant.DisplayMd]: 'h1',\n [TextVariant.HeadingLg]: 'h2',\n [TextVariant.HeadingMd]: 'h3',\n [TextVariant.HeadingSm]: 'h4',\n [TextVariant.BodyLg]: 'p',\n [TextVariant.BodyMd]: 'p',\n [TextVariant.BodySm]: 'p',\n [TextVariant.BodyXs]: 'p',\n [TextVariant.PageHeading]: 'h1',\n [TextVariant.SectionHeading]: 'h2',\n [TextVariant.ButtonLabelMd]: 'span',\n [TextVariant.ButtonLabelLg]: 'span',\n [TextVariant.AmountDisplayLg]: 'span',\n};\n"]}
1
+ {"version":3,"file":"Text.constants.cjs","sourceRoot":"","sources":["../../../src/components/Text/Text.constants.ts"],"names":[],"mappings":";;;AAAA,yEAKwC;AAE3B,QAAA,0BAA0B,GAA+B;IACpE,CAAC,iCAAU,CAAC,IAAI,CAAC,EAAE,WAAW;IAC9B,CAAC,iCAAU,CAAC,MAAM,CAAC,EAAE,aAAa;IAClC,CAAC,iCAAU,CAAC,OAAO,CAAC,EAAE,cAAc;CACrC,CAAC;AAEW,QAAA,0BAA0B,GAA+B;IACpE,CAAC,iCAAU,CAAC,OAAO,CAAC,EAAE,cAAc;IACpC,CAAC,iCAAU,CAAC,MAAM,CAAC,EAAE,aAAa;IAClC,CAAC,iCAAU,CAAC,IAAI,CAAC,EAAE,WAAW;CAC/B,CAAC;AAEW,QAAA,yBAAyB,GAA8B;IAClE,CAAC,gCAAS,CAAC,MAAM,CAAC,EAAE,QAAQ;IAC5B,CAAC,gCAAS,CAAC,MAAM,CAAC,EAAE,YAAY;CACjC,CAAC;AAEW,QAAA,iCAAiC,GAAgC;IAC5E,CAAC,kCAAW,CAAC,SAAS,CAAC,EACrB,oIAAoI;IACtI,CAAC,kCAAW,CAAC,SAAS,CAAC,EACrB,oIAAoI;IACtI,CAAC,kCAAW,CAAC,SAAS,CAAC,EACrB,oIAAoI;IACtI,CAAC,kCAAW,CAAC,SAAS,CAAC,EACrB,oIAAoI;IACtI,CAAC,kCAAW,CAAC,SAAS,CAAC,EACrB,oIAAoI;IACtI,CAAC,kCAAW,CAAC,MAAM,CAAC,EAClB,kHAAkH;IACpH,CAAC,kCAAW,CAAC,MAAM,CAAC,EAClB,kHAAkH;IACpH,CAAC,kCAAW,CAAC,MAAM,CAAC,EAClB,kHAAkH;IACpH,CAAC,kCAAW,CAAC,MAAM,CAAC,EAClB,kHAAkH;IACpH,CAAC,kCAAW,CAAC,WAAW,CAAC,EACvB,gJAAgJ;IAClJ,CAAC,kCAAW,CAAC,cAAc,CAAC,EAC1B,kKA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EAAE,GAAG;IACzB,CAAC,kCAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,kCAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,kCAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,kCAAW,CAAC,WAAW,CAAC,EAAE,IAAI;IAC/B,CAAC,kCAAW,CAAC,cAAc,CAAC,EAAE,IAAI;IAClC,CAAC,kCAAW,CAAC,aAAa,CAAC,EAAE,MAAM;IACnC,CAAC,kCAAW,CAAC,aAAa,CAAC,EAAE,MAAM;IACnC,CAAC,kCAAW,CAAC,eAAe,CAAC,EAAE,MAAM;CACtC,CAAC","sourcesContent":["import {\n FontFamily,\n FontStyle,\n FontWeight,\n TextVariant,\n} from '@metamask/design-system-shared';\n\nexport const TWCLASSMAP_TEXT_FONTWEIGHT: Record<FontWeight, string> = {\n [FontWeight.Bold]: 'font-bold',\n [FontWeight.Medium]: 'font-medium',\n [FontWeight.Regular]: 'font-regular',\n};\n\nexport const TWCLASSMAP_TEXT_FONTFAMILY: Record<FontFamily, string> = {\n [FontFamily.Default]: 'font-default',\n [FontFamily.Accent]: 'font-accent',\n [FontFamily.Hero]: 'font-hero',\n};\n\nexport const TWCLASSMAP_TEXT_FONTSTYLE: Record<FontStyle, string> = {\n [FontStyle.Italic]: 'italic',\n [FontStyle.Normal]: 'not-italic',\n};\n\nexport const TWCLASSMAP_TEXT_VARIANT_FONTSTYLE: Record<TextVariant, string> = {\n [TextVariant.DisplayLg]:\n 'text-s-display-lg leading-s-display-lg tracking-s-display-lg md:text-l-display-lg md:leading-l-display-lg md:tracking-l-display-lg',\n [TextVariant.DisplayMd]:\n 'text-s-display-md leading-s-display-md tracking-s-display-md md:text-l-display-md md:leading-l-display-md md:tracking-l-display-md',\n [TextVariant.HeadingLg]:\n 'text-s-heading-lg leading-s-heading-lg tracking-s-heading-lg md:text-l-heading-lg md:leading-l-heading-lg md:tracking-l-heading-lg',\n [TextVariant.HeadingMd]:\n 'text-s-heading-md leading-s-heading-md tracking-s-heading-md md:text-l-heading-md md:leading-l-heading-md md:tracking-l-heading-md',\n [TextVariant.HeadingSm]:\n 'text-s-heading-sm leading-s-heading-sm tracking-s-heading-sm md:text-l-heading-sm md:leading-l-heading-sm md:tracking-l-heading-sm',\n [TextVariant.BodyLg]:\n 'text-s-body-lg leading-s-body-lg tracking-s-body-lg md:text-l-body-lg md:leading-l-body-lg md:tracking-l-body-lg',\n [TextVariant.BodyMd]:\n 'text-s-body-md leading-s-body-md tracking-s-body-md md:text-l-body-md md:leading-l-body-md md:tracking-l-body-md',\n [TextVariant.BodySm]:\n 'text-s-body-sm leading-s-body-sm tracking-s-body-sm md:text-l-body-sm md:leading-l-body-sm md:tracking-l-body-sm',\n [TextVariant.BodyXs]:\n 'text-s-body-xs leading-s-body-xs tracking-s-body-xs md:text-l-body-xs md:leading-l-body-xs md:tracking-l-body-xs',\n [TextVariant.PageHeading]:\n 'text-s-page-heading leading-s-page-heading tracking-s-page-heading md:text-l-page-heading md:leading-l-page-heading md:tracking-l-page-heading',\n [TextVariant.SectionHeading]:\n 'text-s-section-heading leading-s-section-heading tracking-s-section-heading md:text-l-section-heading md:leading-l-section-heading md:tracking-l-section-heading',\n [TextVariant.ButtonLabelMd]:\n 'text-s-button-label-md leading-s-button-label-md tracking-s-button-label-md md:text-l-button-label-md md:leading-l-button-label-md md:tracking-l-button-label-md',\n [TextVariant.ButtonLabelLg]:\n 'text-s-button-label-lg leading-s-button-label-lg tracking-s-button-label-lg md:text-l-button-label-lg md:leading-l-button-label-lg md:tracking-l-button-label-lg',\n [TextVariant.AmountDisplayLg]:\n 'text-s-amount-display-lg leading-s-amount-display-lg tracking-s-amount-display-lg md:text-l-amount-display-lg md:leading-l-amount-display-lg md:tracking-l-amount-display-lg',\n};\n\nexport const TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT: Record<TextVariant, string> = {\n [TextVariant.DisplayLg]: 'font-bold md:font-medium',\n [TextVariant.DisplayMd]: 'font-bold md:font-medium',\n [TextVariant.HeadingLg]: 'font-bold',\n [TextVariant.HeadingMd]: 'font-bold',\n [TextVariant.HeadingSm]: 'font-bold',\n [TextVariant.BodyLg]: 'font-medium',\n [TextVariant.BodyMd]: 'font-regular',\n [TextVariant.BodySm]: 'font-regular',\n [TextVariant.BodyXs]: 'font-regular',\n [TextVariant.PageHeading]: 'font-bold',\n [TextVariant.SectionHeading]: 'font-bold',\n [TextVariant.ButtonLabelMd]: 'font-medium',\n [TextVariant.ButtonLabelLg]: 'font-medium',\n [TextVariant.AmountDisplayLg]: 'font-bold md:font-medium',\n};\n\nexport const MAP_TEXT_VARIANT_TAG: Record<\n TextVariant,\n keyof React.JSX.IntrinsicElements\n> = {\n [TextVariant.DisplayLg]: 'h1',\n [TextVariant.DisplayMd]: 'h1',\n [TextVariant.HeadingLg]: 'h2',\n [TextVariant.HeadingMd]: 'h3',\n [TextVariant.HeadingSm]: 'h4',\n [TextVariant.BodyLg]: 'p',\n [TextVariant.BodyMd]: 'p',\n [TextVariant.BodySm]: 'p',\n [TextVariant.BodyXs]: 'p',\n [TextVariant.PageHeading]: 'h1',\n [TextVariant.SectionHeading]: 'h2',\n [TextVariant.ButtonLabelMd]: 'span',\n [TextVariant.ButtonLabelLg]: 'span',\n [TextVariant.AmountDisplayLg]: 'span',\n};\n"]}
@@ -5,5 +5,5 @@ export declare const TWCLASSMAP_TEXT_FONTFAMILY: Record<FontFamily, string>;
5
5
  export declare const TWCLASSMAP_TEXT_FONTSTYLE: Record<FontStyle, string>;
6
6
  export declare const TWCLASSMAP_TEXT_VARIANT_FONTSTYLE: Record<TextVariant, string>;
7
7
  export declare const TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT: Record<TextVariant, string>;
8
- export declare const MAP_TEXT_VARIANT_TAG: Record<TextVariant, keyof JSX.IntrinsicElements>;
8
+ export declare const MAP_TEXT_VARIANT_TAG: Record<TextVariant, keyof React.JSX.IntrinsicElements>;
9
9
  //# sourceMappingURL=Text.constants.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Text.constants.d.cts","sourceRoot":"","sources":["../../../src/components/Text/Text.constants.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,UAAU,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACZ,uCAAuC;AAExC,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAIjE,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAIjE,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAG/D,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CA6BzE,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAe1E,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CACvC,WAAW,EACX,MAAM,GAAG,CAAC,iBAAiB,CAgB5B,CAAC"}
1
+ {"version":3,"file":"Text.constants.d.cts","sourceRoot":"","sources":["../../../src/components/Text/Text.constants.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,UAAU,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACZ,uCAAuC;AAExC,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAIjE,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAIjE,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAG/D,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CA6BzE,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAe1E,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CACvC,WAAW,EACX,MAAM,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAgBlC,CAAC"}
@@ -5,5 +5,5 @@ export declare const TWCLASSMAP_TEXT_FONTFAMILY: Record<FontFamily, string>;
5
5
  export declare const TWCLASSMAP_TEXT_FONTSTYLE: Record<FontStyle, string>;
6
6
  export declare const TWCLASSMAP_TEXT_VARIANT_FONTSTYLE: Record<TextVariant, string>;
7
7
  export declare const TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT: Record<TextVariant, string>;
8
- export declare const MAP_TEXT_VARIANT_TAG: Record<TextVariant, keyof JSX.IntrinsicElements>;
8
+ export declare const MAP_TEXT_VARIANT_TAG: Record<TextVariant, keyof React.JSX.IntrinsicElements>;
9
9
  //# sourceMappingURL=Text.constants.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Text.constants.d.mts","sourceRoot":"","sources":["../../../src/components/Text/Text.constants.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,UAAU,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACZ,uCAAuC;AAExC,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAIjE,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAIjE,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAG/D,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CA6BzE,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAe1E,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,MAAM,CACvC,WAAW,EACX,MAAM,GAAG,CAAC,iBAAiB,CAgB5B,CAAC"}
1
+ {"version":3,"file":"Text.constants.d.mts","sourceRoot":"","sources":["../../../src/components/Text/Text.constants.ts"],"names":[],"mappings":";AAAA,OAAO,EACL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AAW,CAAC,MAAM,CAAC,EAAE,cAAc;IACpC,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,WAAW;IACtC,CAAC,WAAW,CAAC,cAAc,CAAC,EAAE,WAAW;IACzC,CAAC,WAAW,CAAC,aAAa,CAAC,EAAE,aAAa;IAC1C,CAAC,WAAW,CAAC,aAAa,CAAC,EAAE,aAAa;IAC1C,CAAC,WAAW,CAAC,eAAe,CAAC,EAAE,0BAA0B;CAC1D,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAG7B;IACF,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,IAAI;IAC/B,CAAC,WAAW,CAAC,cAAc,CAAC,EAAE,IAAI;IAClC,CAAC,WAAW,CAAC,aAAa,CAAC,EAAE,MAAM;IACnC,CAAC,WAAW,CAAC,aAAa,CAAC,EAAE,MAAM;IACnC,CAAC,WAAW,CAAC,eAAe,CAAC,EAAE,MAAM;CACtC,CAAC","sourcesContent":["import {\n FontFamily,\n FontStyle,\n FontWeight,\n TextVariant,\n} from '@metamask/design-system-shared';\n\nexport const TWCLASSMAP_TEXT_FONTWEIGHT: Record<FontWeight, string> = {\n [FontWeight.Bold]: 'font-bold',\n [FontWeight.Medium]: 'font-medium',\n [FontWeight.Regular]: 'font-regular',\n};\n\nexport const TWCLASSMAP_TEXT_FONTFAMILY: Record<FontFamily, string> = {\n [FontFamily.Default]: 'font-default',\n [FontFamily.Accent]: 'font-accent',\n [FontFamily.Hero]: 'font-hero',\n};\n\nexport const TWCLASSMAP_TEXT_FONTSTYLE: Record<FontStyle, string> = {\n [FontStyle.Italic]: 'italic',\n [FontStyle.Normal]: 'not-italic',\n};\n\nexport const TWCLASSMAP_TEXT_VARIANT_FONTSTYLE: Record<TextVariant, string> = {\n [TextVariant.DisplayLg]:\n 'text-s-display-lg leading-s-display-lg tracking-s-display-lg md:text-l-display-lg md:leading-l-display-lg md:tracking-l-display-lg',\n [TextVariant.DisplayMd]:\n 'text-s-display-md leading-s-display-md tracking-s-display-md md:text-l-display-md md:leading-l-display-md md:tracking-l-display-md',\n [TextVariant.HeadingLg]:\n 'text-s-heading-lg leading-s-heading-lg tracking-s-heading-lg md:text-l-heading-lg md:leading-l-heading-lg md:tracking-l-heading-lg',\n [TextVariant.HeadingMd]:\n 'text-s-heading-md leading-s-heading-md tracking-s-heading-md md:text-l-heading-md md:leading-l-heading-md md:tracking-l-heading-md',\n [TextVariant.HeadingSm]:\n 'text-s-heading-sm leading-s-heading-sm tracking-s-heading-sm md:text-l-heading-sm md:leading-l-heading-sm md:tracking-l-heading-sm',\n [TextVariant.BodyLg]:\n 'text-s-body-lg leading-s-body-lg tracking-s-body-lg md:text-l-body-lg md:leading-l-body-lg md:tracking-l-body-lg',\n [TextVariant.BodyMd]:\n 'text-s-body-md leading-s-body-md tracking-s-body-md md:text-l-body-md md:leading-l-body-md md:tracking-l-body-md',\n [TextVariant.BodySm]:\n 'text-s-body-sm leading-s-body-sm tracking-s-body-sm md:text-l-body-sm md:leading-l-body-sm md:tracking-l-body-sm',\n [TextVariant.BodyXs]:\n 'text-s-body-xs leading-s-body-xs tracking-s-body-xs md:text-l-body-xs md:leading-l-body-xs md:tracking-l-body-xs',\n [TextVariant.PageHeading]:\n 'text-s-page-heading leading-s-page-heading tracking-s-page-heading md:text-l-page-heading md:leading-l-page-heading md:tracking-l-page-heading',\n [TextVariant.SectionHeading]:\n 'text-s-section-heading leading-s-section-heading tracking-s-section-heading md:text-l-section-heading md:leading-l-section-heading md:tracking-l-section-heading',\n [TextVariant.ButtonLabelMd]:\n 'text-s-button-label-md leading-s-button-label-md tracking-s-button-label-md md:text-l-button-label-md md:leading-l-button-label-md md:tracking-l-button-label-md',\n [TextVariant.ButtonLabelLg]:\n 'text-s-button-label-lg leading-s-button-label-lg tracking-s-button-label-lg md:text-l-button-label-lg md:leading-l-button-label-lg md:tracking-l-button-label-lg',\n [TextVariant.AmountDisplayLg]:\n 'text-s-amount-display-lg leading-s-amount-display-lg tracking-s-amount-display-lg md:text-l-amount-display-lg md:leading-l-amount-display-lg md:tracking-l-amount-display-lg',\n};\n\nexport const TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT: Record<TextVariant, string> = {\n [TextVariant.DisplayLg]: 'font-bold md:font-medium',\n [TextVariant.DisplayMd]: 'font-bold md:font-medium',\n [TextVariant.HeadingLg]: 'font-bold',\n [TextVariant.HeadingMd]: 'font-bold',\n [TextVariant.HeadingSm]: 'font-bold',\n [TextVariant.BodyLg]: 'font-medium',\n [TextVariant.BodyMd]: 'font-regular',\n [TextVariant.BodySm]: 'font-regular',\n [TextVariant.BodyXs]: 'font-regular',\n [TextVariant.PageHeading]: 'font-bold',\n [TextVariant.SectionHeading]: 'font-bold',\n [TextVariant.ButtonLabelMd]: 'font-medium',\n [TextVariant.ButtonLabelLg]: 'font-medium',\n [TextVariant.AmountDisplayLg]: 'font-bold md:font-medium',\n};\n\nexport const MAP_TEXT_VARIANT_TAG: Record<\n TextVariant,\n keyof JSX.IntrinsicElements\n> = {\n [TextVariant.DisplayLg]: 'h1',\n [TextVariant.DisplayMd]: 'h1',\n [TextVariant.HeadingLg]: 'h2',\n [TextVariant.HeadingMd]: 'h3',\n [TextVariant.HeadingSm]: 'h4',\n [TextVariant.BodyLg]: 'p',\n [TextVariant.BodyMd]: 'p',\n [TextVariant.BodySm]: 'p',\n [TextVariant.BodyXs]: 'p',\n [TextVariant.PageHeading]: 'h1',\n [TextVariant.SectionHeading]: 'h2',\n [TextVariant.ButtonLabelMd]: 'span',\n [TextVariant.ButtonLabelLg]: 'span',\n [TextVariant.AmountDisplayLg]: 'span',\n};\n"]}
1
+ {"version":3,"file":"Text.constants.mjs","sourceRoot":"","sources":["../../../src/components/Text/Text.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,SAAS,EACT,UAAU,EACV,WAAW,EACZ,uCAAuC;AAExC,MAAM,CAAC,MAAM,0BAA0B,GAA+B;IACpE,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,WAAW;IAC9B,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,aAAa;IAClC,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc;CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAA+B;IACpE,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc;IACpC,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,aAAa;IAClC,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,WAAW;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAA8B;IAClE,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,QAAQ;IAC5B,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,YAAY;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAgC;IAC5E,CAAC,WAAW,CAAC,SAAS,CAAC,EACrB,oIAAoI;IACtI,CAAC,WAAW,CAAC,SAAS,CAAC,EACrB,oIAAoI;IACtI,CAAC,WAAW,CAAC,SAAS,CAAC,EACrB,oIAAoI;IACtI,CAAC,WAAW,CAAC,SAAS,CAAC,EACrB,oIAAoI;IACtI,CAAC,WAAW,CAAC,SAAS,CAAC,EACrB,oIAAoI;IACtI,CAAC,WAAW,CAAC,MAAM,CAAC,EACl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SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,IAAI;IAC7B,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG;IACzB,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,IAAI;IAC/B,CAAC,WAAW,CAAC,cAAc,CAAC,EAAE,IAAI;IAClC,CAAC,WAAW,CAAC,aAAa,CAAC,EAAE,MAAM;IACnC,CAAC,WAAW,CAAC,aAAa,CAAC,EAAE,MAAM;IACnC,CAAC,WAAW,CAAC,eAAe,CAAC,EAAE,MAAM;CACtC,CAAC","sourcesContent":["import {\n FontFamily,\n FontStyle,\n FontWeight,\n TextVariant,\n} from '@metamask/design-system-shared';\n\nexport const TWCLASSMAP_TEXT_FONTWEIGHT: Record<FontWeight, string> = {\n [FontWeight.Bold]: 'font-bold',\n [FontWeight.Medium]: 'font-medium',\n [FontWeight.Regular]: 'font-regular',\n};\n\nexport const TWCLASSMAP_TEXT_FONTFAMILY: Record<FontFamily, string> = {\n [FontFamily.Default]: 'font-default',\n [FontFamily.Accent]: 'font-accent',\n [FontFamily.Hero]: 'font-hero',\n};\n\nexport const TWCLASSMAP_TEXT_FONTSTYLE: Record<FontStyle, string> = {\n [FontStyle.Italic]: 'italic',\n [FontStyle.Normal]: 'not-italic',\n};\n\nexport const TWCLASSMAP_TEXT_VARIANT_FONTSTYLE: Record<TextVariant, string> = {\n [TextVariant.DisplayLg]:\n 'text-s-display-lg leading-s-display-lg tracking-s-display-lg md:text-l-display-lg md:leading-l-display-lg md:tracking-l-display-lg',\n [TextVariant.DisplayMd]:\n 'text-s-display-md leading-s-display-md tracking-s-display-md md:text-l-display-md md:leading-l-display-md md:tracking-l-display-md',\n [TextVariant.HeadingLg]:\n 'text-s-heading-lg leading-s-heading-lg tracking-s-heading-lg md:text-l-heading-lg md:leading-l-heading-lg md:tracking-l-heading-lg',\n [TextVariant.HeadingMd]:\n 'text-s-heading-md leading-s-heading-md tracking-s-heading-md md:text-l-heading-md md:leading-l-heading-md md:tracking-l-heading-md',\n [TextVariant.HeadingSm]:\n 'text-s-heading-sm leading-s-heading-sm tracking-s-heading-sm md:text-l-heading-sm md:leading-l-heading-sm md:tracking-l-heading-sm',\n [TextVariant.BodyLg]:\n 'text-s-body-lg leading-s-body-lg tracking-s-body-lg md:text-l-body-lg md:leading-l-body-lg md:tracking-l-body-lg',\n [TextVariant.BodyMd]:\n 'text-s-body-md leading-s-body-md tracking-s-body-md md:text-l-body-md md:leading-l-body-md md:tracking-l-body-md',\n [TextVariant.BodySm]:\n 'text-s-body-sm leading-s-body-sm tracking-s-body-sm md:text-l-body-sm md:leading-l-body-sm md:tracking-l-body-sm',\n [TextVariant.BodyXs]:\n 'text-s-body-xs leading-s-body-xs tracking-s-body-xs md:text-l-body-xs md:leading-l-body-xs md:tracking-l-body-xs',\n [TextVariant.PageHeading]:\n 'text-s-page-heading leading-s-page-heading tracking-s-page-heading md:text-l-page-heading md:leading-l-page-heading md:tracking-l-page-heading',\n [TextVariant.SectionHeading]:\n 'text-s-section-heading leading-s-section-heading tracking-s-section-heading md:text-l-section-heading md:leading-l-section-heading md:tracking-l-section-heading',\n [TextVariant.ButtonLabelMd]:\n 'text-s-button-label-md leading-s-button-label-md tracking-s-button-label-md md:text-l-button-label-md md:leading-l-button-label-md md:tracking-l-button-label-md',\n [TextVariant.ButtonLabelLg]:\n 'text-s-button-label-lg leading-s-button-label-lg tracking-s-button-label-lg md:text-l-button-label-lg md:leading-l-button-label-lg md:tracking-l-button-label-lg',\n [TextVariant.AmountDisplayLg]:\n 'text-s-amount-display-lg leading-s-amount-display-lg tracking-s-amount-display-lg md:text-l-amount-display-lg md:leading-l-amount-display-lg md:tracking-l-amount-display-lg',\n};\n\nexport const TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT: Record<TextVariant, string> = {\n [TextVariant.DisplayLg]: 'font-bold md:font-medium',\n [TextVariant.DisplayMd]: 'font-bold md:font-medium',\n [TextVariant.HeadingLg]: 'font-bold',\n [TextVariant.HeadingMd]: 'font-bold',\n [TextVariant.HeadingSm]: 'font-bold',\n [TextVariant.BodyLg]: 'font-medium',\n [TextVariant.BodyMd]: 'font-regular',\n [TextVariant.BodySm]: 'font-regular',\n [TextVariant.BodyXs]: 'font-regular',\n [TextVariant.PageHeading]: 'font-bold',\n [TextVariant.SectionHeading]: 'font-bold',\n [TextVariant.ButtonLabelMd]: 'font-medium',\n [TextVariant.ButtonLabelLg]: 'font-medium',\n [TextVariant.AmountDisplayLg]: 'font-bold md:font-medium',\n};\n\nexport const MAP_TEXT_VARIANT_TAG: Record<\n TextVariant,\n keyof React.JSX.IntrinsicElements\n> = {\n [TextVariant.DisplayLg]: 'h1',\n [TextVariant.DisplayMd]: 'h1',\n [TextVariant.HeadingLg]: 'h2',\n [TextVariant.HeadingMd]: 'h3',\n [TextVariant.HeadingSm]: 'h4',\n [TextVariant.BodyLg]: 'p',\n [TextVariant.BodyMd]: 'p',\n [TextVariant.BodySm]: 'p',\n [TextVariant.BodyXs]: 'p',\n [TextVariant.PageHeading]: 'h1',\n [TextVariant.SectionHeading]: 'h2',\n [TextVariant.ButtonLabelMd]: 'span',\n [TextVariant.ButtonLabelLg]: 'span',\n [TextVariant.AmountDisplayLg]: 'span',\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.cts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,cAAc;AAY1B,OAAO,KAAK,EAAE,SAAS,EAAE,yBAAqB;AAE9C,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAwCpC,CAAC"}
1
+ {"version":3,"file":"Text.d.cts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,cAAc;AAY1B,OAAO,KAAK,EAAE,SAAS,EAAE,yBAAqB;AAE9C,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0CpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.mts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,cAAc;AAY1B,OAAO,KAAK,EAAE,SAAS,EAAE,yBAAqB;AAE9C,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAwCpC,CAAC"}
1
+ {"version":3,"file":"Text.d.mts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,cAAc;AAY1B,OAAO,KAAK,EAAE,SAAS,EAAE,yBAAqB;AAE9C,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0CpC,CAAC"}
@@ -13,7 +13,9 @@ import { TWCLASSMAP_TEXT_VARIANT_FONTSTYLE, TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT,
13
13
  export const Text = ({ variant = TextVariant.BodyMd, children, className, fontWeight, fontFamily = FontFamily.Default, fontStyle, textTransform, textAlign, overflowWrap, ellipsis, asChild, color = TextColor.TextDefault, style, ...props }) => {
14
14
  // When asChild is true, use Radix Slot to merge props onto the child component.
15
15
  // Otherwise, render the semantic HTML element mapped to this variant (e.g. h1-h4, p).
16
- const Component = asChild ? Slot : MAP_TEXT_VARIANT_TAG[variant];
16
+ const Component = asChild
17
+ ? Slot
18
+ : MAP_TEXT_VARIANT_TAG[variant];
17
19
  const mergedClassName = `${twMerge(color, TWCLASSMAP_TEXT_VARIANT_FONTSTYLE[variant], fontWeight
18
20
  ? TWCLASSMAP_TEXT_FONTWEIGHT[fontWeight]
19
21
  : TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT[variant], fontStyle ? TWCLASSMAP_TEXT_FONTSTYLE[fontStyle] : undefined, TWCLASSMAP_TEXT_FONTFAMILY[fontFamily], textTransform, textAlign, overflowWrap, ellipsis && 'truncate', className)}`;
@@ -1 +1 @@
1
- {"version":3,"file":"Text.mjs","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,UAAU,EACV,SAAS,EACT,WAAW,EACZ,uCAAuC;AACxC,OAAO,EAAE,IAAI,EAAE,6BAA6B;AAC5C,OAAO,MAAK,cAAc;;AAE1B,OAAO,EAAE,OAAO,EAAE,iCAA6B;AAE/C,OAAO,EACL,iCAAiC,EACjC,kCAAkC,EAClC,0BAA0B,EAC1B,yBAAyB,EACzB,0BAA0B,EAC1B,oBAAoB,EACrB,6BAAyB;AAG1B,MAAM,CAAC,MAAM,IAAI,GAAwB,CAAC,EACxC,OAAO,GAAG,WAAW,CAAC,MAAM,EAC5B,QAAQ,EACR,SAAS,EACT,UAAU,EACV,UAAU,GAAG,UAAU,CAAC,OAAO,EAC/B,SAAS,EACT,aAAa,EACb,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,KAAK,GAAG,SAAS,CAAC,WAAW,EAC7B,KAAK,EACL,GAAG,KAAK,EACT,EAAE,EAAE;IACH,gFAAgF;IAChF,sFAAsF;IACtF,MAAM,SAAS,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAEjE,MAAM,eAAe,GAAG,GAAG,OAAO,CAChC,KAAK,EACL,iCAAiC,CAAC,OAAO,CAAC,EAC1C,UAAU;QACR,CAAC,CAAC,0BAA0B,CAAC,UAAU,CAAC;QACxC,CAAC,CAAC,kCAAkC,CAAC,OAAO,CAAC,EAC/C,SAAS,CAAC,CAAC,CAAC,yBAAyB,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,EAC5D,0BAA0B,CAAC,UAAU,CAAC,EACtC,aAAa,EACb,SAAS,EACT,YAAY,EACZ,QAAQ,IAAI,UAAU,EACtB,SAAS,CACV,EAAE,CAAC;IAEJ,OAAO,CACL,oBAAC,SAAS,IAAC,SAAS,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,KAAM,KAAK,IAC3D,QAAQ,CACC,CACb,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import {\n FontFamily,\n TextColor,\n TextVariant,\n} from '@metamask/design-system-shared';\nimport { Slot } from '@radix-ui/react-slot';\nimport React from 'react';\n\nimport { twMerge } from '../../utils/tw-merge';\n\nimport {\n TWCLASSMAP_TEXT_VARIANT_FONTSTYLE,\n TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT,\n TWCLASSMAP_TEXT_FONTFAMILY,\n TWCLASSMAP_TEXT_FONTSTYLE,\n TWCLASSMAP_TEXT_FONTWEIGHT,\n MAP_TEXT_VARIANT_TAG,\n} from './Text.constants';\nimport type { TextProps } from './Text.types';\n\nexport const Text: React.FC<TextProps> = ({\n variant = TextVariant.BodyMd,\n children,\n className,\n fontWeight,\n fontFamily = FontFamily.Default,\n fontStyle,\n textTransform,\n textAlign,\n overflowWrap,\n ellipsis,\n asChild,\n color = TextColor.TextDefault,\n style,\n ...props\n}) => {\n // When asChild is true, use Radix Slot to merge props onto the child component.\n // Otherwise, render the semantic HTML element mapped to this variant (e.g. h1-h4, p).\n const Component = asChild ? Slot : MAP_TEXT_VARIANT_TAG[variant];\n\n const mergedClassName = `${twMerge(\n color,\n TWCLASSMAP_TEXT_VARIANT_FONTSTYLE[variant],\n fontWeight\n ? TWCLASSMAP_TEXT_FONTWEIGHT[fontWeight]\n : TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT[variant],\n fontStyle ? TWCLASSMAP_TEXT_FONTSTYLE[fontStyle] : undefined,\n TWCLASSMAP_TEXT_FONTFAMILY[fontFamily],\n textTransform,\n textAlign,\n overflowWrap,\n ellipsis && 'truncate',\n className,\n )}`;\n\n return (\n <Component className={mergedClassName} style={style} {...props}>\n {children}\n </Component>\n );\n};\n"]}
1
+ {"version":3,"file":"Text.mjs","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,UAAU,EACV,SAAS,EACT,WAAW,EACZ,uCAAuC;AACxC,OAAO,EAAE,IAAI,EAAE,6BAA6B;AAC5C,OAAO,MAAK,cAAc;;AAE1B,OAAO,EAAE,OAAO,EAAE,iCAA6B;AAE/C,OAAO,EACL,iCAAiC,EACjC,kCAAkC,EAClC,0BAA0B,EAC1B,yBAAyB,EACzB,0BAA0B,EAC1B,oBAAoB,EACrB,6BAAyB;AAG1B,MAAM,CAAC,MAAM,IAAI,GAAwB,CAAC,EACxC,OAAO,GAAG,WAAW,CAAC,MAAM,EAC5B,QAAQ,EACR,SAAS,EACT,UAAU,EACV,UAAU,GAAG,UAAU,CAAC,OAAO,EAC/B,SAAS,EACT,aAAa,EACb,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,KAAK,GAAG,SAAS,CAAC,WAAW,EAC7B,KAAK,EACL,GAAG,KAAK,EACT,EAAE,EAAE;IACH,gFAAgF;IAChF,sFAAsF;IACtF,MAAM,SAAS,GAAsB,OAAO;QAC1C,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAElC,MAAM,eAAe,GAAG,GAAG,OAAO,CAChC,KAAK,EACL,iCAAiC,CAAC,OAAO,CAAC,EAC1C,UAAU;QACR,CAAC,CAAC,0BAA0B,CAAC,UAAU,CAAC;QACxC,CAAC,CAAC,kCAAkC,CAAC,OAAO,CAAC,EAC/C,SAAS,CAAC,CAAC,CAAC,yBAAyB,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,EAC5D,0BAA0B,CAAC,UAAU,CAAC,EACtC,aAAa,EACb,SAAS,EACT,YAAY,EACZ,QAAQ,IAAI,UAAU,EACtB,SAAS,CACV,EAAE,CAAC;IAEJ,OAAO,CACL,oBAAC,SAAS,IAAC,SAAS,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,KAAM,KAAK,IAC3D,QAAQ,CACC,CACb,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import {\n FontFamily,\n TextColor,\n TextVariant,\n} from '@metamask/design-system-shared';\nimport { Slot } from '@radix-ui/react-slot';\nimport React from 'react';\n\nimport { twMerge } from '../../utils/tw-merge';\n\nimport {\n TWCLASSMAP_TEXT_VARIANT_FONTSTYLE,\n TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT,\n TWCLASSMAP_TEXT_FONTFAMILY,\n TWCLASSMAP_TEXT_FONTSTYLE,\n TWCLASSMAP_TEXT_FONTWEIGHT,\n MAP_TEXT_VARIANT_TAG,\n} from './Text.constants';\nimport type { TextProps } from './Text.types';\n\nexport const Text: React.FC<TextProps> = ({\n variant = TextVariant.BodyMd,\n children,\n className,\n fontWeight,\n fontFamily = FontFamily.Default,\n fontStyle,\n textTransform,\n textAlign,\n overflowWrap,\n ellipsis,\n asChild,\n color = TextColor.TextDefault,\n style,\n ...props\n}) => {\n // When asChild is true, use Radix Slot to merge props onto the child component.\n // Otherwise, render the semantic HTML element mapped to this variant (e.g. h1-h4, p).\n const Component: React.ElementType = asChild\n ? Slot\n : MAP_TEXT_VARIANT_TAG[variant];\n\n const mergedClassName = `${twMerge(\n color,\n TWCLASSMAP_TEXT_VARIANT_FONTSTYLE[variant],\n fontWeight\n ? TWCLASSMAP_TEXT_FONTWEIGHT[fontWeight]\n : TWCLASSMAP_TEXT_VARIANT_FONTWEIGHT[variant],\n fontStyle ? TWCLASSMAP_TEXT_FONTSTYLE[fontStyle] : undefined,\n TWCLASSMAP_TEXT_FONTFAMILY[fontFamily],\n textTransform,\n textAlign,\n overflowWrap,\n ellipsis && 'truncate',\n className,\n )}`;\n\n return (\n <Component className={mergedClassName} style={style} {...props}>\n {children}\n </Component>\n );\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Text.types.cjs","sourceRoot":"","sources":["../../../src/components/Text/Text.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { TextPropsShared } from '@metamask/design-system-shared';\n\nimport type { OverflowWrap, TextAlign, TextTransform } from '../../types';\n\nexport type TextProps = TextPropsShared & {\n /**\n * Optional prop for inline styles\n */\n style?: React.CSSProperties;\n /**\n * Optional prop for additional CSS classes to be applied to the Text component.\n */\n className?: string;\n /**\n * Optional prop to apply text transformation to the content.\n * Options: Uppercase, Lowercase, Capitalize, Normal\n */\n textTransform?: TextTransform;\n /**\n * Optional prop to control the text alignment within its container.\n * Options: Left, Center, Right, Justify\n */\n textAlign?: TextAlign;\n /**\n * Optional prop to determine how text should wrap when it reaches the edge of its container.\n * Options: BreakWord, Anywhere, Normal\n */\n overflowWrap?: OverflowWrap;\n /**\n * Optional boolean that adds an ellipsis (...) when text overflows its container.\n *\n * @default false\n */\n ellipsis?: boolean;\n /**\n * Optional boolean that determines if the component should merge its props onto its immediate child\n * instead of rendering a default DOM element.\n *\n * @default false\n */\n asChild?: boolean;\n /**\n * Optional prop for testing purposes\n */\n 'data-testid'?: string;\n};\n"]}
1
+ {"version":3,"file":"Text.types.cjs","sourceRoot":"","sources":["../../../src/components/Text/Text.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { TextPropsShared } from '@metamask/design-system-shared';\nimport type { CSSProperties } from 'react';\n\nimport type { OverflowWrap, TextAlign, TextTransform } from '../../types';\n\nexport type TextProps = TextPropsShared & {\n /**\n * Optional prop for inline styles\n */\n style?: CSSProperties;\n /**\n * Optional prop for additional CSS classes to be applied to the Text component.\n */\n className?: string;\n /**\n * Optional prop to apply text transformation to the content.\n * Options: Uppercase, Lowercase, Capitalize, Normal\n */\n textTransform?: TextTransform;\n /**\n * Optional prop to control the text alignment within its container.\n * Options: Left, Center, Right, Justify\n */\n textAlign?: TextAlign;\n /**\n * Optional prop to determine how text should wrap when it reaches the edge of its container.\n * Options: BreakWord, Anywhere, Normal\n */\n overflowWrap?: OverflowWrap;\n /**\n * Optional boolean that adds an ellipsis (...) when text overflows its container.\n *\n * @default false\n */\n ellipsis?: boolean;\n /**\n * Optional boolean that determines if the component should merge its props onto its immediate child\n * instead of rendering a default DOM element.\n *\n * @default false\n */\n asChild?: boolean;\n /**\n * Optional prop for testing purposes\n */\n 'data-testid'?: string;\n};\n"]}
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
2
1
  import type { TextPropsShared } from "@metamask/design-system-shared";
2
+ import type { CSSProperties } from "react";
3
3
  import type { OverflowWrap, TextAlign, TextTransform } from "../../types/index.cjs";
4
4
  export type TextProps = TextPropsShared & {
5
5
  /**
6
6
  * Optional prop for inline styles
7
7
  */
8
- style?: React.CSSProperties;
8
+ style?: CSSProperties;
9
9
  /**
10
10
  * Optional prop for additional CSS classes to be applied to the Text component.
11
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Text.types.d.cts","sourceRoot":"","sources":["../../../src/components/Text/Text.types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,uCAAuC;AAEtE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,8BAAoB;AAE1E,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
1
+ {"version":3,"file":"Text.types.d.cts","sourceRoot":"","sources":["../../../src/components/Text/Text.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,uCAAuC;AACtE,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,8BAAoB;AAE1E,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
2
1
  import type { TextPropsShared } from "@metamask/design-system-shared";
2
+ import type { CSSProperties } from "react";
3
3
  import type { OverflowWrap, TextAlign, TextTransform } from "../../types/index.mjs";
4
4
  export type TextProps = TextPropsShared & {
5
5
  /**
6
6
  * Optional prop for inline styles
7
7
  */
8
- style?: React.CSSProperties;
8
+ style?: CSSProperties;
9
9
  /**
10
10
  * Optional prop for additional CSS classes to be applied to the Text component.
11
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Text.types.d.mts","sourceRoot":"","sources":["../../../src/components/Text/Text.types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,uCAAuC;AAEtE,O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1 @@
1
- {"version":3,"file":"Text.types.mjs","sourceRoot":"","sources":["../../../src/components/Text/Text.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { TextPropsShared } from '@metamask/design-system-shared';\n\nimport type { OverflowWrap, TextAlign, TextTransform } from '../../types';\n\nexport type TextProps = TextPropsShared & {\n /**\n * Optional prop for inline styles\n */\n style?: React.CSSProperties;\n /**\n * Optional prop for additional CSS classes to be applied to the Text component.\n */\n className?: string;\n /**\n * Optional prop to apply text transformation to the content.\n * Options: Uppercase, Lowercase, Capitalize, Normal\n */\n textTransform?: TextTransform;\n /**\n * Optional prop to control the text alignment within its container.\n * Options: Left, Center, Right, Justify\n */\n textAlign?: TextAlign;\n /**\n * Optional prop to determine how text should wrap when it reaches the edge of its container.\n * Options: BreakWord, Anywhere, Normal\n */\n overflowWrap?: OverflowWrap;\n /**\n * Optional boolean that adds an ellipsis (...) when text overflows its container.\n *\n * @default false\n */\n ellipsis?: boolean;\n /**\n * Optional boolean that determines if the component should merge its props onto its immediate child\n * instead of rendering a default DOM element.\n *\n * @default false\n */\n asChild?: boolean;\n /**\n * Optional prop for testing purposes\n */\n 'data-testid'?: string;\n};\n"]}
1
+ {"version":3,"file":"Text.types.mjs","sourceRoot":"","sources":["../../../src/components/Text/Text.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { TextPropsShared } from '@metamask/design-system-shared';\nimport type { CSSProperties } from 'react';\n\nimport type { OverflowWrap, TextAlign, TextTransform } from '../../types';\n\nexport type TextProps = TextPropsShared & {\n /**\n * Optional prop for inline styles\n */\n style?: CSSProperties;\n /**\n * Optional prop for additional CSS classes to be applied to the Text component.\n */\n className?: string;\n /**\n * Optional prop to apply text transformation to the content.\n * Options: Uppercase, Lowercase, Capitalize, Normal\n */\n textTransform?: TextTransform;\n /**\n * Optional prop to control the text alignment within its container.\n * Options: Left, Center, Right, Justify\n */\n textAlign?: TextAlign;\n /**\n * Optional prop to determine how text should wrap when it reaches the edge of its container.\n * Options: BreakWord, Anywhere, Normal\n */\n overflowWrap?: OverflowWrap;\n /**\n * Optional boolean that adds an ellipsis (...) when text overflows its container.\n *\n * @default false\n */\n ellipsis?: boolean;\n /**\n * Optional boolean that determines if the component should merge its props onto its immediate child\n * instead of rendering a default DOM element.\n *\n * @default false\n */\n asChild?: boolean;\n /**\n * Optional prop for testing purposes\n */\n 'data-testid'?: string;\n};\n"]}