@yahoo/uds 3.59.0-beta.1 → 3.59.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.
- package/cli/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-darwin-x64 +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/cli/codemods/flattenButtonVariant.ts +2 -1
- package/cli/preload.ts +1 -1
- package/cli/tsconfig.json +10 -1
- package/cli/utils/purgeCSS.ts +24 -12
- package/dist/Box-BSYsXHzh.d.cts +34 -0
- package/dist/Box-BWU5UmHC.d.cts +34 -0
- package/dist/Box-C5a5zIIo.d.ts +34 -0
- package/dist/Box-C9fHZ3nr.d.ts +34 -0
- package/dist/Pressable-5JJUWRN1.d.cts +44 -0
- package/dist/Pressable-DjYpKTPO.d.cts +44 -0
- package/dist/Pressable-Q1KS3YU1.d.ts +44 -0
- package/dist/Pressable-jfrkzoAe.d.ts +44 -0
- package/dist/Text-1qIcMDEP.d.cts +297 -0
- package/dist/Text-1qIcMDEP.d.ts +297 -0
- package/dist/Text-BQhCLqTc.d.ts +88 -0
- package/dist/Text-CJRvqui_.d.cts +88 -0
- package/dist/Text-Dw9vuP5i.d.cts +88 -0
- package/dist/Text-ksXYBDQ6.d.ts +88 -0
- package/dist/VStack-Ch6JJPQE.d.cts +83 -0
- package/dist/VStack-CkK4XZ1Y.d.ts +83 -0
- package/dist/VStack-DdYKhUxh.d.ts +83 -0
- package/dist/VStack-OvZNhyoq.d.cts +83 -0
- package/dist/chunk-4BOF3VWD.cjs +1 -0
- package/dist/chunk-4CPVEVKO.cjs +1 -0
- package/dist/chunk-4I3UGCX7.js +2 -0
- package/dist/chunk-4OO7CUA6.js +1 -0
- package/dist/chunk-4UB6EIVI.cjs +1 -0
- package/dist/chunk-4VD23ARR.cjs +2 -0
- package/dist/chunk-5R7POUAI.cjs +1 -0
- package/dist/chunk-66IO4LQQ.cjs +1 -0
- package/dist/chunk-CCW6IDIM.js +2 -0
- package/dist/chunk-CKTDV4QK.cjs +1 -0
- package/dist/chunk-DE7HKKF7.cjs +1 -0
- package/dist/chunk-DJK7XG62.cjs +1 -0
- package/dist/chunk-DXLUH24B.cjs +1 -0
- package/dist/chunk-DXNJK3DK.js +1 -0
- package/dist/chunk-EWJ3J526.js +2 -0
- package/dist/chunk-FP76653E.cjs +1 -0
- package/dist/chunk-GA64SR3T.js +2 -0
- package/dist/chunk-GF4A6TFM.js +2 -0
- package/dist/chunk-H7DBPPWM.js +1 -0
- package/dist/chunk-HMRYK2NP.js +1 -0
- package/dist/chunk-J7PUOUXC.cjs +1 -0
- package/dist/chunk-K5YXKPQS.js +2 -0
- package/dist/chunk-KLQ3KKQY.cjs +1 -0
- package/dist/chunk-KMRYZOR7.js +2 -0
- package/dist/chunk-KQTBZT7T.js +2 -0
- package/dist/chunk-L3JHNF65.js +3 -0
- package/dist/chunk-LBBFEPKC.cjs +2 -0
- package/dist/chunk-MXEZ3L4I.js +2 -0
- package/dist/chunk-N4PLNTDV.cjs +2 -0
- package/dist/chunk-NNZ2U4VM.js +2 -0
- package/dist/chunk-OSJVSN23.js +2 -0
- package/dist/chunk-QLETZKZI.cjs +2 -0
- package/dist/chunk-QLXJH36U.cjs +1 -0
- package/dist/chunk-QNM2JS62.js +2 -0
- package/dist/chunk-QQ4MS32D.js +2 -0
- package/dist/chunk-R4JM3BY7.js +3 -0
- package/dist/chunk-R72INVUM.cjs +2 -0
- package/dist/chunk-RI3JVWBJ.js +2 -0
- package/dist/chunk-THCRN4KF.cjs +1 -0
- package/dist/chunk-TN3TGUL4.cjs +2 -0
- package/dist/chunk-UQJ7WV2P.cjs +1 -0
- package/dist/chunk-V5UIHMW2.js +2 -0
- package/dist/chunk-V7E46T44.cjs +1 -0
- package/dist/chunk-VTOQOUNP.js +1 -0
- package/dist/chunk-W4J7ZS6U.cjs +1 -0
- package/dist/chunk-WXDJBIBP.js +2 -0
- package/dist/chunk-YB2KIANK.js +2 -0
- package/dist/chunk-YYYUPBMK.cjs +1 -0
- package/dist/client/Menu.cjs +2 -0
- package/dist/client/Menu.d.cts +624 -0
- package/dist/client/Menu.d.ts +624 -0
- package/dist/client/Menu.js +3 -0
- package/dist/client/index.cjs +2 -0
- package/dist/client/index.d.cts +534 -0
- package/dist/client/index.d.ts +534 -0
- package/dist/client/index.js +2 -0
- package/dist/defaultTokensConfig.cjs +1 -23
- package/dist/defaultTokensConfig.d.cts +8893 -8891
- package/dist/defaultTokensConfig.d.ts +8893 -8891
- package/dist/defaultTokensConfig.js +1 -22
- package/dist/domAnimation-26D6WPCP.cjs +1 -0
- package/dist/domAnimation-FQC75V5T.js +1 -0
- package/dist/domMax-7KVFVNKB.cjs +1 -0
- package/dist/domMax-XRPNJ6D3.js +1 -0
- package/dist/experimental/client/SwitchV2.cjs +1 -0
- package/dist/experimental/client/SwitchV2.d.cts +43 -0
- package/dist/experimental/client/SwitchV2.d.ts +43 -0
- package/dist/experimental/client/SwitchV2.js +1 -0
- package/dist/experimental/client/index.cjs +3 -0
- package/dist/experimental/client/index.d.cts +135 -0
- package/dist/experimental/client/index.d.ts +135 -0
- package/dist/experimental/client/index.js +3 -0
- package/dist/experimental/index.cjs +2 -0
- package/dist/experimental/index.d.cts +86 -0
- package/dist/experimental/index.d.ts +86 -0
- package/dist/experimental/index.js +2 -0
- package/dist/fixtures.cjs +820 -3
- package/dist/fixtures.d.cts +2 -2
- package/dist/fixtures.d.ts +2 -2
- package/dist/fixtures.js +820 -3
- package/dist/flags.cjs +1 -26
- package/dist/flags.d.cts +13 -15
- package/dist/flags.d.ts +13 -15
- package/dist/flags.js +1 -24
- package/dist/index-BPXfpHkp.d.cts +245 -0
- package/dist/index-Bcr3i5Fo.d.cts +245 -0
- package/dist/index-DfNmJjc_.d.ts +245 -0
- package/dist/index-JgnxLMoN.d.ts +245 -0
- package/dist/index.cjs +1 -177
- package/dist/index.d.cts +377 -80
- package/dist/index.d.ts +377 -80
- package/dist/index.js +1 -59
- package/dist/metafile-cjs.json +1 -0
- package/dist/metafile-esm.json +1 -0
- package/dist/styles/toast.css +1 -0
- package/dist/styles/toast.d.cts +2 -0
- package/dist/styles/toast.d.ts +2 -0
- package/dist/tailwind/plugin.cjs +1 -0
- package/dist/tailwind/plugin.d.cts +85 -0
- package/dist/tailwind/plugin.d.ts +85 -0
- package/dist/tailwind/plugin.js +1 -0
- package/dist/tailwind/purger.cjs +5 -0
- package/dist/tailwind/purger.d.cts +17 -0
- package/dist/tailwind/purger.d.ts +17 -0
- package/dist/tailwind/purger.js +6 -0
- package/dist/tailwind/tsMorph.cjs +1 -11
- package/dist/tailwind/tsMorph.d.cts +31 -2
- package/dist/tailwind/tsMorph.d.ts +31 -2
- package/dist/tailwind/tsMorph.js +2 -4
- package/dist/tailwind/utils.cjs +1 -0
- package/dist/tailwind/utils.d.cts +153 -0
- package/dist/tailwind/utils.d.ts +153 -0
- package/dist/tailwind/utils.js +1 -0
- package/dist/tokens/automation/configs.cjs +1 -0
- package/dist/tokens/automation/configs.d.cts +110 -0
- package/dist/tokens/automation/configs.d.ts +110 -0
- package/dist/tokens/automation/configs.js +1 -0
- package/dist/tokens/automation/properties.cjs +1 -287
- package/dist/tokens/automation/properties.d.cts +7 -88
- package/dist/tokens/automation/properties.d.ts +7 -88
- package/dist/tokens/automation/properties.js +1 -288
- package/dist/tokens/index.cjs +1 -107
- package/dist/tokens/index.d.cts +2066 -41
- package/dist/tokens/index.d.ts +2066 -41
- package/dist/tokens/index.js +1 -28
- package/dist/tokens/parseTokens.cjs +1 -73
- package/dist/tokens/parseTokens.d.cts +22 -20
- package/dist/tokens/parseTokens.d.ts +22 -20
- package/dist/tokens/parseTokens.js +1 -74
- package/dist/types-BvOFo15W.d.cts +8 -0
- package/dist/types-BvOFo15W.d.ts +8 -0
- package/dist/types-DYstZLNq.d.cts +10615 -0
- package/dist/types-DYstZLNq.d.ts +10615 -0
- package/dist/types-gGaZxCMr.d.cts +10615 -0
- package/dist/types-gGaZxCMr.d.ts +10615 -0
- package/package.json +45 -52
- package/cli/FlattenButtonVariant.mock.tsx +0 -17
- package/dist/_virtual/rolldown_runtime.cjs +0 -35
- package/dist/_virtual/rolldown_runtime.js +0 -22
- package/dist/components/Box.cjs +0 -101
- package/dist/components/Box.d.cts +0 -36
- package/dist/components/Box.d.cts.map +0 -1
- package/dist/components/Box.d.ts +0 -36
- package/dist/components/Box.d.ts.map +0 -1
- package/dist/components/Box.js +0 -101
- package/dist/components/Box.js.map +0 -1
- package/dist/components/Divider/Divider.cjs +0 -47
- package/dist/components/Divider/Divider.d.cts +0 -39
- package/dist/components/Divider/Divider.d.cts.map +0 -1
- package/dist/components/Divider/Divider.d.ts +0 -39
- package/dist/components/Divider/Divider.d.ts.map +0 -1
- package/dist/components/Divider/Divider.js +0 -47
- package/dist/components/Divider/Divider.js.map +0 -1
- package/dist/components/Divider/DividerCore.cjs +0 -76
- package/dist/components/Divider/DividerCore.d.cts +0 -16
- package/dist/components/Divider/DividerCore.d.cts.map +0 -1
- package/dist/components/Divider/DividerCore.d.ts +0 -16
- package/dist/components/Divider/DividerCore.d.ts.map +0 -1
- package/dist/components/Divider/DividerCore.js +0 -76
- package/dist/components/Divider/DividerCore.js.map +0 -1
- package/dist/components/Divider/DividerInternal.cjs +0 -28
- package/dist/components/Divider/DividerInternal.d.cts +0 -13
- package/dist/components/Divider/DividerInternal.d.cts.map +0 -1
- package/dist/components/Divider/DividerInternal.d.ts +0 -13
- package/dist/components/Divider/DividerInternal.d.ts.map +0 -1
- package/dist/components/Divider/DividerInternal.js +0 -28
- package/dist/components/Divider/DividerInternal.js.map +0 -1
- package/dist/components/Divider/index.cjs +0 -4
- package/dist/components/Divider/index.d.cts +0 -2
- package/dist/components/Divider/index.d.ts +0 -2
- package/dist/components/Divider/index.js +0 -4
- package/dist/components/FormLabel.cjs +0 -33
- package/dist/components/FormLabel.d.cts +0 -27
- package/dist/components/FormLabel.d.cts.map +0 -1
- package/dist/components/FormLabel.d.ts +0 -27
- package/dist/components/FormLabel.d.ts.map +0 -1
- package/dist/components/FormLabel.js +0 -32
- package/dist/components/FormLabel.js.map +0 -1
- package/dist/components/HStack.cjs +0 -51
- package/dist/components/HStack.d.cts +0 -40
- package/dist/components/HStack.d.cts.map +0 -1
- package/dist/components/HStack.d.ts +0 -40
- package/dist/components/HStack.d.ts.map +0 -1
- package/dist/components/HStack.js +0 -51
- package/dist/components/HStack.js.map +0 -1
- package/dist/components/Icon.cjs +0 -67
- package/dist/components/Icon.d.cts +0 -39
- package/dist/components/Icon.d.cts.map +0 -1
- package/dist/components/Icon.d.ts +0 -39
- package/dist/components/Icon.d.ts.map +0 -1
- package/dist/components/Icon.js +0 -67
- package/dist/components/Icon.js.map +0 -1
- package/dist/components/IconSlot.cjs +0 -57
- package/dist/components/IconSlot.d.cts +0 -32
- package/dist/components/IconSlot.d.cts.map +0 -1
- package/dist/components/IconSlot.d.ts +0 -32
- package/dist/components/IconSlot.d.ts.map +0 -1
- package/dist/components/IconSlot.js +0 -55
- package/dist/components/IconSlot.js.map +0 -1
- package/dist/components/Image.cjs +0 -96
- package/dist/components/Image.d.cts +0 -92
- package/dist/components/Image.d.cts.map +0 -1
- package/dist/components/Image.d.ts +0 -92
- package/dist/components/Image.d.ts.map +0 -1
- package/dist/components/Image.js +0 -96
- package/dist/components/Image.js.map +0 -1
- package/dist/components/Link.cjs +0 -98
- package/dist/components/Link.d.cts +0 -46
- package/dist/components/Link.d.cts.map +0 -1
- package/dist/components/Link.d.ts +0 -46
- package/dist/components/Link.d.ts.map +0 -1
- package/dist/components/Link.js +0 -98
- package/dist/components/Link.js.map +0 -1
- package/dist/components/Text.cjs +0 -156
- package/dist/components/Text.d.cts +0 -91
- package/dist/components/Text.d.cts.map +0 -1
- package/dist/components/Text.d.ts +0 -91
- package/dist/components/Text.d.ts.map +0 -1
- package/dist/components/Text.js +0 -156
- package/dist/components/Text.js.map +0 -1
- package/dist/components/VStack.cjs +0 -51
- package/dist/components/VStack.d.cts +0 -40
- package/dist/components/VStack.d.cts.map +0 -1
- package/dist/components/VStack.d.ts +0 -40
- package/dist/components/VStack.d.ts.map +0 -1
- package/dist/components/VStack.js +0 -51
- package/dist/components/VStack.js.map +0 -1
- package/dist/components/client/AnimateHeightChange.cjs +0 -48
- package/dist/components/client/AnimateHeightChange.d.cts +0 -21
- package/dist/components/client/AnimateHeightChange.d.cts.map +0 -1
- package/dist/components/client/AnimateHeightChange.d.ts +0 -21
- package/dist/components/client/AnimateHeightChange.d.ts.map +0 -1
- package/dist/components/client/AnimateHeightChange.js +0 -48
- package/dist/components/client/AnimateHeightChange.js.map +0 -1
- package/dist/components/client/Avatar/Avatar.cjs +0 -33
- package/dist/components/client/Avatar/Avatar.d.cts +0 -31
- package/dist/components/client/Avatar/Avatar.d.cts.map +0 -1
- package/dist/components/client/Avatar/Avatar.d.ts +0 -31
- package/dist/components/client/Avatar/Avatar.d.ts.map +0 -1
- package/dist/components/client/Avatar/Avatar.js +0 -33
- package/dist/components/client/Avatar/Avatar.js.map +0 -1
- package/dist/components/client/Avatar/AvatarIcon.cjs +0 -64
- package/dist/components/client/Avatar/AvatarIcon.d.cts +0 -37
- package/dist/components/client/Avatar/AvatarIcon.d.cts.map +0 -1
- package/dist/components/client/Avatar/AvatarIcon.d.ts +0 -37
- package/dist/components/client/Avatar/AvatarIcon.d.ts.map +0 -1
- package/dist/components/client/Avatar/AvatarIcon.js +0 -64
- package/dist/components/client/Avatar/AvatarIcon.js.map +0 -1
- package/dist/components/client/Avatar/AvatarImage.cjs +0 -88
- package/dist/components/client/Avatar/AvatarImage.d.cts +0 -45
- package/dist/components/client/Avatar/AvatarImage.d.cts.map +0 -1
- package/dist/components/client/Avatar/AvatarImage.d.ts +0 -45
- package/dist/components/client/Avatar/AvatarImage.d.ts.map +0 -1
- package/dist/components/client/Avatar/AvatarImage.js +0 -88
- package/dist/components/client/Avatar/AvatarImage.js.map +0 -1
- package/dist/components/client/Avatar/AvatarText.cjs +0 -50
- package/dist/components/client/Avatar/AvatarText.d.cts +0 -40
- package/dist/components/client/Avatar/AvatarText.d.cts.map +0 -1
- package/dist/components/client/Avatar/AvatarText.d.ts +0 -40
- package/dist/components/client/Avatar/AvatarText.d.ts.map +0 -1
- package/dist/components/client/Avatar/AvatarText.js +0 -50
- package/dist/components/client/Avatar/AvatarText.js.map +0 -1
- package/dist/components/client/Avatar/index.cjs +0 -11
- package/dist/components/client/Avatar/index.d.cts +0 -5
- package/dist/components/client/Avatar/index.d.ts +0 -5
- package/dist/components/client/Avatar/index.js +0 -8
- package/dist/components/client/Avatar/utils.cjs +0 -66
- package/dist/components/client/Avatar/utils.d.cts +0 -44
- package/dist/components/client/Avatar/utils.d.cts.map +0 -1
- package/dist/components/client/Avatar/utils.d.ts +0 -44
- package/dist/components/client/Avatar/utils.d.ts.map +0 -1
- package/dist/components/client/Avatar/utils.js +0 -61
- package/dist/components/client/Avatar/utils.js.map +0 -1
- package/dist/components/client/Badge.cjs +0 -106
- package/dist/components/client/Badge.d.cts +0 -35
- package/dist/components/client/Badge.d.cts.map +0 -1
- package/dist/components/client/Badge.d.ts +0 -35
- package/dist/components/client/Badge.d.ts.map +0 -1
- package/dist/components/client/Badge.js +0 -105
- package/dist/components/client/Badge.js.map +0 -1
- package/dist/components/client/Button.cjs +0 -226
- package/dist/components/client/Button.d.cts +0 -41
- package/dist/components/client/Button.d.cts.map +0 -1
- package/dist/components/client/Button.d.ts +0 -41
- package/dist/components/client/Button.d.ts.map +0 -1
- package/dist/components/client/Button.js +0 -225
- package/dist/components/client/Button.js.map +0 -1
- package/dist/components/client/Checkbox.cjs +0 -215
- package/dist/components/client/Checkbox.d.cts +0 -43
- package/dist/components/client/Checkbox.d.cts.map +0 -1
- package/dist/components/client/Checkbox.d.ts +0 -43
- package/dist/components/client/Checkbox.d.ts.map +0 -1
- package/dist/components/client/Checkbox.js +0 -212
- package/dist/components/client/Checkbox.js.map +0 -1
- package/dist/components/client/Chip/Chip.cjs +0 -67
- package/dist/components/client/Chip/Chip.d.cts +0 -37
- package/dist/components/client/Chip/Chip.d.cts.map +0 -1
- package/dist/components/client/Chip/Chip.d.ts +0 -37
- package/dist/components/client/Chip/Chip.d.ts.map +0 -1
- package/dist/components/client/Chip/Chip.js +0 -66
- package/dist/components/client/Chip/Chip.js.map +0 -1
- package/dist/components/client/Chip/ChipBase.cjs +0 -88
- package/dist/components/client/Chip/ChipBase.d.cts +0 -23
- package/dist/components/client/Chip/ChipBase.d.cts.map +0 -1
- package/dist/components/client/Chip/ChipBase.d.ts +0 -23
- package/dist/components/client/Chip/ChipBase.d.ts.map +0 -1
- package/dist/components/client/Chip/ChipBase.js +0 -86
- package/dist/components/client/Chip/ChipBase.js.map +0 -1
- package/dist/components/client/Chip/ChipButton.cjs +0 -36
- package/dist/components/client/Chip/ChipButton.d.cts +0 -14
- package/dist/components/client/Chip/ChipButton.d.cts.map +0 -1
- package/dist/components/client/Chip/ChipButton.d.ts +0 -14
- package/dist/components/client/Chip/ChipButton.d.ts.map +0 -1
- package/dist/components/client/Chip/ChipButton.js +0 -35
- package/dist/components/client/Chip/ChipButton.js.map +0 -1
- package/dist/components/client/Chip/ChipDismissible.cjs +0 -57
- package/dist/components/client/Chip/ChipDismissible.d.cts +0 -14
- package/dist/components/client/Chip/ChipDismissible.d.cts.map +0 -1
- package/dist/components/client/Chip/ChipDismissible.d.ts +0 -14
- package/dist/components/client/Chip/ChipDismissible.d.ts.map +0 -1
- package/dist/components/client/Chip/ChipDismissible.js +0 -56
- package/dist/components/client/Chip/ChipDismissible.js.map +0 -1
- package/dist/components/client/Chip/ChipLink.cjs +0 -38
- package/dist/components/client/Chip/ChipLink.d.cts +0 -14
- package/dist/components/client/Chip/ChipLink.d.cts.map +0 -1
- package/dist/components/client/Chip/ChipLink.d.ts +0 -14
- package/dist/components/client/Chip/ChipLink.d.ts.map +0 -1
- package/dist/components/client/Chip/ChipLink.js +0 -37
- package/dist/components/client/Chip/ChipLink.js.map +0 -1
- package/dist/components/client/Chip/ChipToggle.cjs +0 -53
- package/dist/components/client/Chip/ChipToggle.d.cts +0 -14
- package/dist/components/client/Chip/ChipToggle.d.cts.map +0 -1
- package/dist/components/client/Chip/ChipToggle.d.ts +0 -14
- package/dist/components/client/Chip/ChipToggle.d.ts.map +0 -1
- package/dist/components/client/Chip/ChipToggle.js +0 -52
- package/dist/components/client/Chip/ChipToggle.js.map +0 -1
- package/dist/components/client/Chip/index.cjs +0 -13
- package/dist/components/client/Chip/index.d.cts +0 -6
- package/dist/components/client/Chip/index.d.ts +0 -6
- package/dist/components/client/Chip/index.js +0 -9
- package/dist/components/client/IconButton.cjs +0 -127
- package/dist/components/client/IconButton.d.cts +0 -38
- package/dist/components/client/IconButton.d.cts.map +0 -1
- package/dist/components/client/IconButton.d.ts +0 -38
- package/dist/components/client/IconButton.d.ts.map +0 -1
- package/dist/components/client/IconButton.js +0 -127
- package/dist/components/client/IconButton.js.map +0 -1
- package/dist/components/client/Input/Input.cjs +0 -209
- package/dist/components/client/Input/Input.d.cts +0 -57
- package/dist/components/client/Input/Input.d.cts.map +0 -1
- package/dist/components/client/Input/Input.d.ts +0 -57
- package/dist/components/client/Input/Input.d.ts.map +0 -1
- package/dist/components/client/Input/Input.js +0 -208
- package/dist/components/client/Input/Input.js.map +0 -1
- package/dist/components/client/Input/InputHelpText.cjs +0 -55
- package/dist/components/client/Input/InputHelpText.d.cts +0 -42
- package/dist/components/client/Input/InputHelpText.d.cts.map +0 -1
- package/dist/components/client/Input/InputHelpText.d.ts +0 -42
- package/dist/components/client/Input/InputHelpText.d.ts.map +0 -1
- package/dist/components/client/Input/InputHelpText.js +0 -55
- package/dist/components/client/Input/InputHelpText.js.map +0 -1
- package/dist/components/client/Input/InputHelpTextInternal.cjs +0 -57
- package/dist/components/client/Input/InputHelpTextInternal.d.cts +0 -38
- package/dist/components/client/Input/InputHelpTextInternal.d.cts.map +0 -1
- package/dist/components/client/Input/InputHelpTextInternal.d.ts +0 -38
- package/dist/components/client/Input/InputHelpTextInternal.d.ts.map +0 -1
- package/dist/components/client/Input/InputHelpTextInternal.js +0 -57
- package/dist/components/client/Input/InputHelpTextInternal.js.map +0 -1
- package/dist/components/client/Input/index.cjs +0 -7
- package/dist/components/client/Input/index.d.cts +0 -3
- package/dist/components/client/Input/index.d.ts +0 -3
- package/dist/components/client/Input/index.js +0 -6
- package/dist/components/client/Menu/Menu.Content.cjs +0 -163
- package/dist/components/client/Menu/Menu.Content.d.cts +0 -215
- package/dist/components/client/Menu/Menu.Content.d.cts.map +0 -1
- package/dist/components/client/Menu/Menu.Content.d.ts +0 -215
- package/dist/components/client/Menu/Menu.Content.d.ts.map +0 -1
- package/dist/components/client/Menu/Menu.Content.js +0 -163
- package/dist/components/client/Menu/Menu.Content.js.map +0 -1
- package/dist/components/client/Menu/Menu.Divider.cjs +0 -74
- package/dist/components/client/Menu/Menu.Divider.d.cts +0 -54
- package/dist/components/client/Menu/Menu.Divider.d.cts.map +0 -1
- package/dist/components/client/Menu/Menu.Divider.d.ts +0 -54
- package/dist/components/client/Menu/Menu.Divider.d.ts.map +0 -1
- package/dist/components/client/Menu/Menu.Divider.js +0 -74
- package/dist/components/client/Menu/Menu.Divider.js.map +0 -1
- package/dist/components/client/Menu/Menu.Item.cjs +0 -80
- package/dist/components/client/Menu/Menu.Item.d.cts +0 -79
- package/dist/components/client/Menu/Menu.Item.d.cts.map +0 -1
- package/dist/components/client/Menu/Menu.Item.d.ts +0 -79
- package/dist/components/client/Menu/Menu.Item.d.ts.map +0 -1
- package/dist/components/client/Menu/Menu.Item.js +0 -80
- package/dist/components/client/Menu/Menu.Item.js.map +0 -1
- package/dist/components/client/Menu/Menu.ItemBase.cjs +0 -163
- package/dist/components/client/Menu/Menu.ItemBase.d.cts +0 -32
- package/dist/components/client/Menu/Menu.ItemBase.d.cts.map +0 -1
- package/dist/components/client/Menu/Menu.ItemBase.d.ts +0 -32
- package/dist/components/client/Menu/Menu.ItemBase.d.ts.map +0 -1
- package/dist/components/client/Menu/Menu.ItemBase.js +0 -162
- package/dist/components/client/Menu/Menu.ItemBase.js.map +0 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.cjs +0 -138
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +0 -93
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts.map +0 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +0 -93
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts.map +0 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.js +0 -138
- package/dist/components/client/Menu/Menu.ItemCheckbox.js.map +0 -1
- package/dist/components/client/Menu/Menu.Provider.cjs +0 -63
- package/dist/components/client/Menu/Menu.Provider.d.cts +0 -138
- package/dist/components/client/Menu/Menu.Provider.d.cts.map +0 -1
- package/dist/components/client/Menu/Menu.Provider.d.ts +0 -138
- package/dist/components/client/Menu/Menu.Provider.d.ts.map +0 -1
- package/dist/components/client/Menu/Menu.Provider.js +0 -63
- package/dist/components/client/Menu/Menu.Provider.js.map +0 -1
- package/dist/components/client/Menu/Menu.Trigger.cjs +0 -75
- package/dist/components/client/Menu/Menu.Trigger.d.cts +0 -79
- package/dist/components/client/Menu/Menu.Trigger.d.cts.map +0 -1
- package/dist/components/client/Menu/Menu.Trigger.d.ts +0 -79
- package/dist/components/client/Menu/Menu.Trigger.d.ts.map +0 -1
- package/dist/components/client/Menu/Menu.Trigger.js +0 -75
- package/dist/components/client/Menu/Menu.Trigger.js.map +0 -1
- package/dist/components/client/Menu/Menu.cjs +0 -10
- package/dist/components/client/Menu/Menu.d.cts +0 -2
- package/dist/components/client/Menu/Menu.d.ts +0 -2
- package/dist/components/client/Menu/Menu.index.cjs +0 -56
- package/dist/components/client/Menu/Menu.index.d.cts +0 -16
- package/dist/components/client/Menu/Menu.index.d.cts.map +0 -1
- package/dist/components/client/Menu/Menu.index.d.ts +0 -16
- package/dist/components/client/Menu/Menu.index.d.ts.map +0 -1
- package/dist/components/client/Menu/Menu.index.js +0 -28
- package/dist/components/client/Menu/Menu.index.js.map +0 -1
- package/dist/components/client/Menu/Menu.js +0 -5
- package/dist/components/client/Menu/index.cjs +0 -10
- package/dist/components/client/Menu/index.d.cts +0 -9
- package/dist/components/client/Menu/index.d.ts +0 -9
- package/dist/components/client/Menu/index.js +0 -5
- package/dist/components/client/Menu/utils/transformAriakitPlacement.cjs +0 -39
- package/dist/components/client/Menu/utils/transformAriakitPlacement.d.cts +0 -32
- package/dist/components/client/Menu/utils/transformAriakitPlacement.d.cts.map +0 -1
- package/dist/components/client/Menu/utils/transformAriakitPlacement.d.ts +0 -32
- package/dist/components/client/Menu/utils/transformAriakitPlacement.d.ts.map +0 -1
- package/dist/components/client/Menu/utils/transformAriakitPlacement.js +0 -39
- package/dist/components/client/Menu/utils/transformAriakitPlacement.js.map +0 -1
- package/dist/components/client/Pressable.cjs +0 -112
- package/dist/components/client/Pressable.d.cts +0 -46
- package/dist/components/client/Pressable.d.cts.map +0 -1
- package/dist/components/client/Pressable.d.ts +0 -46
- package/dist/components/client/Pressable.d.ts.map +0 -1
- package/dist/components/client/Pressable.js +0 -112
- package/dist/components/client/Pressable.js.map +0 -1
- package/dist/components/client/Radio/Radio.cjs +0 -226
- package/dist/components/client/Radio/Radio.d.cts +0 -43
- package/dist/components/client/Radio/Radio.d.cts.map +0 -1
- package/dist/components/client/Radio/Radio.d.ts +0 -43
- package/dist/components/client/Radio/Radio.d.ts.map +0 -1
- package/dist/components/client/Radio/Radio.js +0 -223
- package/dist/components/client/Radio/Radio.js.map +0 -1
- package/dist/components/client/Radio/RadioGroupProvider.cjs +0 -98
- package/dist/components/client/Radio/RadioGroupProvider.d.cts +0 -38
- package/dist/components/client/Radio/RadioGroupProvider.d.cts.map +0 -1
- package/dist/components/client/Radio/RadioGroupProvider.d.ts +0 -38
- package/dist/components/client/Radio/RadioGroupProvider.d.ts.map +0 -1
- package/dist/components/client/Radio/RadioGroupProvider.js +0 -97
- package/dist/components/client/Radio/RadioGroupProvider.js.map +0 -1
- package/dist/components/client/Radio/RadioGroupStore.cjs +0 -41
- package/dist/components/client/Radio/RadioGroupStore.d.cts +0 -21
- package/dist/components/client/Radio/RadioGroupStore.d.cts.map +0 -1
- package/dist/components/client/Radio/RadioGroupStore.d.ts +0 -21
- package/dist/components/client/Radio/RadioGroupStore.d.ts.map +0 -1
- package/dist/components/client/Radio/RadioGroupStore.js +0 -40
- package/dist/components/client/Radio/RadioGroupStore.js.map +0 -1
- package/dist/components/client/Radio/index.cjs +0 -7
- package/dist/components/client/Radio/index.d.cts +0 -3
- package/dist/components/client/Radio/index.d.ts +0 -3
- package/dist/components/client/Radio/index.js +0 -6
- package/dist/components/client/Radio/useRadioGroup.cjs +0 -81
- package/dist/components/client/Radio/useRadioGroup.d.cts +0 -31
- package/dist/components/client/Radio/useRadioGroup.d.cts.map +0 -1
- package/dist/components/client/Radio/useRadioGroup.d.ts +0 -31
- package/dist/components/client/Radio/useRadioGroup.d.ts.map +0 -1
- package/dist/components/client/Radio/useRadioGroup.js +0 -80
- package/dist/components/client/Radio/useRadioGroup.js.map +0 -1
- package/dist/components/client/SpringMotionConfig.cjs +0 -99
- package/dist/components/client/SpringMotionConfig.d.cts +0 -58
- package/dist/components/client/SpringMotionConfig.d.cts.map +0 -1
- package/dist/components/client/SpringMotionConfig.d.ts +0 -58
- package/dist/components/client/SpringMotionConfig.d.ts.map +0 -1
- package/dist/components/client/SpringMotionConfig.js +0 -99
- package/dist/components/client/SpringMotionConfig.js.map +0 -1
- package/dist/components/client/Switch.cjs +0 -218
- package/dist/components/client/Switch.d.cts +0 -42
- package/dist/components/client/Switch.d.cts.map +0 -1
- package/dist/components/client/Switch.d.ts +0 -42
- package/dist/components/client/Switch.d.ts.map +0 -1
- package/dist/components/client/Switch.js +0 -217
- package/dist/components/client/Switch.js.map +0 -1
- package/dist/components/client/index.cjs +0 -50
- package/dist/components/client/index.d.cts +0 -33
- package/dist/components/client/index.d.ts +0 -33
- package/dist/components/client/index.js +0 -25
- package/dist/components/client/motionFeatures/domAnimation.cjs +0 -11
- package/dist/components/client/motionFeatures/domAnimation.d.cts +0 -2
- package/dist/components/client/motionFeatures/domAnimation.d.ts +0 -2
- package/dist/components/client/motionFeatures/domAnimation.js +0 -5
- package/dist/components/client/motionFeatures/domMax.cjs +0 -11
- package/dist/components/client/motionFeatures/domMax.d.cts +0 -2
- package/dist/components/client/motionFeatures/domMax.d.ts +0 -2
- package/dist/components/client/motionFeatures/domMax.js +0 -5
- package/dist/components/experimental/Spinner.cjs +0 -30
- package/dist/components/experimental/Spinner.d.cts +0 -21
- package/dist/components/experimental/Spinner.d.cts.map +0 -1
- package/dist/components/experimental/Spinner.d.ts +0 -21
- package/dist/components/experimental/Spinner.d.ts.map +0 -1
- package/dist/components/experimental/Spinner.js +0 -30
- package/dist/components/experimental/Spinner.js.map +0 -1
- package/dist/components/experimental/Table.cjs +0 -110
- package/dist/components/experimental/Table.d.cts +0 -85
- package/dist/components/experimental/Table.d.cts.map +0 -1
- package/dist/components/experimental/Table.d.ts +0 -85
- package/dist/components/experimental/Table.d.ts.map +0 -1
- package/dist/components/experimental/Table.js +0 -109
- package/dist/components/experimental/Table.js.map +0 -1
- package/dist/components/experimental/Table.mocks.cjs +0 -58
- package/dist/components/experimental/Table.mocks.d.cts +0 -20
- package/dist/components/experimental/Table.mocks.d.cts.map +0 -1
- package/dist/components/experimental/Table.mocks.d.ts +0 -20
- package/dist/components/experimental/Table.mocks.d.ts.map +0 -1
- package/dist/components/experimental/Table.mocks.js +0 -56
- package/dist/components/experimental/Table.mocks.js.map +0 -1
- package/dist/components/experimental/client/Accordion.cjs +0 -79
- package/dist/components/experimental/client/Accordion.d.cts +0 -31
- package/dist/components/experimental/client/Accordion.d.cts.map +0 -1
- package/dist/components/experimental/client/Accordion.d.ts +0 -31
- package/dist/components/experimental/client/Accordion.d.ts.map +0 -1
- package/dist/components/experimental/client/Accordion.js +0 -79
- package/dist/components/experimental/client/Accordion.js.map +0 -1
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.cjs +0 -15
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts +0 -8
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts.map +0 -1
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.ts +0 -8
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.ts.map +0 -1
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.js +0 -14
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.js.map +0 -1
- package/dist/components/experimental/client/Modal.cjs +0 -61
- package/dist/components/experimental/client/Modal.d.cts +0 -27
- package/dist/components/experimental/client/Modal.d.cts.map +0 -1
- package/dist/components/experimental/client/Modal.d.ts +0 -27
- package/dist/components/experimental/client/Modal.d.ts.map +0 -1
- package/dist/components/experimental/client/Modal.js +0 -58
- package/dist/components/experimental/client/Modal.js.map +0 -1
- package/dist/components/experimental/client/Popover.cjs +0 -44
- package/dist/components/experimental/client/Popover.d.cts +0 -29
- package/dist/components/experimental/client/Popover.d.cts.map +0 -1
- package/dist/components/experimental/client/Popover.d.ts +0 -29
- package/dist/components/experimental/client/Popover.d.ts.map +0 -1
- package/dist/components/experimental/client/Popover.js +0 -34
- package/dist/components/experimental/client/Popover.js.map +0 -1
- package/dist/components/experimental/client/SwitchV2.cjs +0 -183
- package/dist/components/experimental/client/SwitchV2.d.cts +0 -43
- package/dist/components/experimental/client/SwitchV2.d.cts.map +0 -1
- package/dist/components/experimental/client/SwitchV2.d.ts +0 -43
- package/dist/components/experimental/client/SwitchV2.d.ts.map +0 -1
- package/dist/components/experimental/client/SwitchV2.js +0 -180
- package/dist/components/experimental/client/SwitchV2.js.map +0 -1
- package/dist/components/experimental/client/Tabs.cjs +0 -75
- package/dist/components/experimental/client/Tabs.d.cts +0 -31
- package/dist/components/experimental/client/Tabs.d.cts.map +0 -1
- package/dist/components/experimental/client/Tabs.d.ts +0 -31
- package/dist/components/experimental/client/Tabs.d.ts.map +0 -1
- package/dist/components/experimental/client/Tabs.js +0 -72
- package/dist/components/experimental/client/Tabs.js.map +0 -1
- package/dist/components/experimental/client/Toast.cjs +0 -167
- package/dist/components/experimental/client/Toast.d.cts +0 -31
- package/dist/components/experimental/client/Toast.d.cts.map +0 -1
- package/dist/components/experimental/client/Toast.d.ts +0 -31
- package/dist/components/experimental/client/Toast.d.ts.map +0 -1
- package/dist/components/experimental/client/Toast.js +0 -164
- package/dist/components/experimental/client/Toast.js.map +0 -1
- package/dist/components/experimental/client/index.cjs +0 -38
- package/dist/components/experimental/client/index.d.cts +0 -8
- package/dist/components/experimental/client/index.d.ts +0 -8
- package/dist/components/experimental/client/index.js +0 -11
- package/dist/components/experimental/index.cjs +0 -39
- package/dist/components/experimental/index.d.cts +0 -11
- package/dist/components/experimental/index.d.ts +0 -11
- package/dist/components/experimental/index.js +0 -12
- package/dist/components/index.cjs +0 -67
- package/dist/components/index.d.cts +0 -40
- package/dist/components/index.d.ts +0 -40
- package/dist/components/index.js +0 -33
- package/dist/defaultTokensConfig.d.cts.map +0 -1
- package/dist/defaultTokensConfig.d.ts.map +0 -1
- package/dist/defaultTokensConfig.js.map +0 -1
- package/dist/fixtures/macros/typesToConstants.cjs +0 -29
- package/dist/fixtures/macros/typesToConstants.d.cts +0 -5
- package/dist/fixtures/macros/typesToConstants.d.cts.map +0 -1
- package/dist/fixtures/macros/typesToConstants.d.ts +0 -5
- package/dist/fixtures/macros/typesToConstants.d.ts.map +0 -1
- package/dist/fixtures/macros/typesToConstants.js +0 -28
- package/dist/fixtures/macros/typesToConstants.js.map +0 -1
- package/dist/fixtures/utils/getScaleModeRamp.cjs +0 -43
- package/dist/fixtures/utils/getScaleModeRamp.d.cts +0 -9
- package/dist/fixtures/utils/getScaleModeRamp.d.cts.map +0 -1
- package/dist/fixtures/utils/getScaleModeRamp.d.ts +0 -9
- package/dist/fixtures/utils/getScaleModeRamp.d.ts.map +0 -1
- package/dist/fixtures/utils/getScaleModeRamp.js +0 -43
- package/dist/fixtures/utils/getScaleModeRamp.js.map +0 -1
- package/dist/fixtures/utils/getTailwindAsUdsColors.cjs +0 -69
- package/dist/fixtures/utils/getTailwindAsUdsColors.d.cts +0 -9
- package/dist/fixtures/utils/getTailwindAsUdsColors.d.cts.map +0 -1
- package/dist/fixtures/utils/getTailwindAsUdsColors.d.ts +0 -9
- package/dist/fixtures/utils/getTailwindAsUdsColors.d.ts.map +0 -1
- package/dist/fixtures/utils/getTailwindAsUdsColors.js +0 -68
- package/dist/fixtures/utils/getTailwindAsUdsColors.js.map +0 -1
- package/dist/flags.d.cts.map +0 -1
- package/dist/flags.d.ts.map +0 -1
- package/dist/flags.js.map +0 -1
- package/dist/generated/autoVariants.cjs +0 -448
- package/dist/generated/autoVariants.d.cts +0 -110
- package/dist/generated/autoVariants.d.cts.map +0 -1
- package/dist/generated/autoVariants.d.ts +0 -110
- package/dist/generated/autoVariants.d.ts.map +0 -1
- package/dist/generated/autoVariants.js +0 -448
- package/dist/generated/autoVariants.js.map +0 -1
- package/dist/generated/generatedConfigs.cjs +0 -25475
- package/dist/generated/generatedConfigs.js +0 -25466
- package/dist/generated/generatedConfigs.js.map +0 -1
- package/dist/generated/tailwindPurge.cjs +0 -2979
- package/dist/generated/tailwindPurge.d.cts +0 -19
- package/dist/generated/tailwindPurge.d.cts.map +0 -1
- package/dist/generated/tailwindPurge.d.ts +0 -19
- package/dist/generated/tailwindPurge.d.ts.map +0 -1
- package/dist/generated/tailwindPurge.js +0 -2976
- package/dist/generated/tailwindPurge.js.map +0 -1
- package/dist/generated/universalTokensConfigAuto.cjs +0 -7922
- package/dist/generated/universalTokensConfigAuto.d.cts +0 -8906
- package/dist/generated/universalTokensConfigAuto.d.cts.map +0 -1
- package/dist/generated/universalTokensConfigAuto.d.ts +0 -8906
- package/dist/generated/universalTokensConfigAuto.d.ts.map +0 -1
- package/dist/generated/universalTokensConfigAuto.js +0 -7922
- package/dist/generated/universalTokensConfigAuto.js.map +0 -1
- package/dist/hooks/useForkRef.cjs +0 -27
- package/dist/hooks/useForkRef.d.cts +0 -7
- package/dist/hooks/useForkRef.d.cts.map +0 -1
- package/dist/hooks/useForkRef.d.ts +0 -7
- package/dist/hooks/useForkRef.d.ts.map +0 -1
- package/dist/hooks/useForkRef.js +0 -27
- package/dist/hooks/useForkRef.js.map +0 -1
- package/dist/hooks/useNestedBorderRadius.cjs +0 -80
- package/dist/hooks/useNestedBorderRadius.d.cts +0 -38
- package/dist/hooks/useNestedBorderRadius.d.cts.map +0 -1
- package/dist/hooks/useNestedBorderRadius.d.ts +0 -38
- package/dist/hooks/useNestedBorderRadius.d.ts.map +0 -1
- package/dist/hooks/useNestedBorderRadius.js +0 -80
- package/dist/hooks/useNestedBorderRadius.js.map +0 -1
- package/dist/hooks/useRtl.cjs +0 -48
- package/dist/hooks/useRtl.d.cts +0 -21
- package/dist/hooks/useRtl.d.cts.map +0 -1
- package/dist/hooks/useRtl.d.ts +0 -21
- package/dist/hooks/useRtl.d.ts.map +0 -1
- package/dist/hooks/useRtl.js +0 -46
- package/dist/hooks/useRtl.js.map +0 -1
- package/dist/providers/ColorModeProvider.cjs +0 -23
- package/dist/providers/ColorModeProvider.d.cts +0 -21
- package/dist/providers/ColorModeProvider.d.cts.map +0 -1
- package/dist/providers/ColorModeProvider.d.ts +0 -21
- package/dist/providers/ColorModeProvider.d.ts.map +0 -1
- package/dist/providers/ColorModeProvider.js +0 -21
- package/dist/providers/ColorModeProvider.js.map +0 -1
- package/dist/providers/ScaleModeProvider.cjs +0 -26
- package/dist/providers/ScaleModeProvider.d.cts +0 -21
- package/dist/providers/ScaleModeProvider.d.cts.map +0 -1
- package/dist/providers/ScaleModeProvider.d.ts +0 -21
- package/dist/providers/ScaleModeProvider.d.ts.map +0 -1
- package/dist/providers/ScaleModeProvider.js +0 -24
- package/dist/providers/ScaleModeProvider.js.map +0 -1
- package/dist/providers/ThemeProvider.cjs +0 -21
- package/dist/providers/ThemeProvider.d.cts +0 -20
- package/dist/providers/ThemeProvider.d.cts.map +0 -1
- package/dist/providers/ThemeProvider.d.ts +0 -20
- package/dist/providers/ThemeProvider.d.ts.map +0 -1
- package/dist/providers/ThemeProvider.js +0 -21
- package/dist/providers/ThemeProvider.js.map +0 -1
- package/dist/scripts/utils/tsMorph.cjs +0 -140
- package/dist/scripts/utils/tsMorph.d.cts +0 -33
- package/dist/scripts/utils/tsMorph.d.cts.map +0 -1
- package/dist/scripts/utils/tsMorph.d.ts +0 -33
- package/dist/scripts/utils/tsMorph.d.ts.map +0 -1
- package/dist/scripts/utils/tsMorph.js +0 -130
- package/dist/scripts/utils/tsMorph.js.map +0 -1
- package/dist/styles/styler.cjs +0 -117
- package/dist/styles/styler.d.cts +0 -194
- package/dist/styles/styler.d.cts.map +0 -1
- package/dist/styles/styler.d.ts +0 -194
- package/dist/styles/styler.d.ts.map +0 -1
- package/dist/styles/styler.js +0 -113
- package/dist/styles/styler.js.map +0 -1
- package/dist/styles/stylerTypes.cjs +0 -1
- package/dist/styles/stylerTypes.d.cts +0 -43
- package/dist/styles/stylerTypes.d.cts.map +0 -1
- package/dist/styles/stylerTypes.d.ts +0 -43
- package/dist/styles/stylerTypes.d.ts.map +0 -1
- package/dist/styles/stylerTypes.js +0 -1
- package/dist/styles/variants.cjs +0 -1343
- package/dist/styles/variants.d.cts +0 -1834
- package/dist/styles/variants.d.cts.map +0 -1
- package/dist/styles/variants.d.ts +0 -1834
- package/dist/styles/variants.d.ts.map +0 -1
- package/dist/styles/variants.js +0 -1344
- package/dist/styles/variants.js.map +0 -1
- package/dist/tailwind/base/addColorModeVars.cjs +0 -17
- package/dist/tailwind/base/addColorModeVars.d.cts +0 -11
- package/dist/tailwind/base/addColorModeVars.d.cts.map +0 -1
- package/dist/tailwind/base/addColorModeVars.d.ts +0 -11
- package/dist/tailwind/base/addColorModeVars.d.ts.map +0 -1
- package/dist/tailwind/base/addColorModeVars.js +0 -18
- package/dist/tailwind/base/addColorModeVars.js.map +0 -1
- package/dist/tailwind/base/addColorModeVarsV2.cjs +0 -40
- package/dist/tailwind/base/addColorModeVarsV2.d.cts +0 -11
- package/dist/tailwind/base/addColorModeVarsV2.d.cts.map +0 -1
- package/dist/tailwind/base/addColorModeVarsV2.d.ts +0 -11
- package/dist/tailwind/base/addColorModeVarsV2.d.ts.map +0 -1
- package/dist/tailwind/base/addColorModeVarsV2.js +0 -41
- package/dist/tailwind/base/addColorModeVarsV2.js.map +0 -1
- package/dist/tailwind/base/addFontFaceDeclarations.cjs +0 -11
- package/dist/tailwind/base/addFontFaceDeclarations.d.cts +0 -11
- package/dist/tailwind/base/addFontFaceDeclarations.d.cts.map +0 -1
- package/dist/tailwind/base/addFontFaceDeclarations.d.ts +0 -11
- package/dist/tailwind/base/addFontFaceDeclarations.d.ts.map +0 -1
- package/dist/tailwind/base/addFontFaceDeclarations.js +0 -12
- package/dist/tailwind/base/addFontFaceDeclarations.js.map +0 -1
- package/dist/tailwind/base/addFontVars.cjs +0 -10
- package/dist/tailwind/base/addFontVars.d.cts +0 -11
- package/dist/tailwind/base/addFontVars.d.cts.map +0 -1
- package/dist/tailwind/base/addFontVars.d.ts +0 -11
- package/dist/tailwind/base/addFontVars.d.ts.map +0 -1
- package/dist/tailwind/base/addFontVars.js +0 -11
- package/dist/tailwind/base/addFontVars.js.map +0 -1
- package/dist/tailwind/base/addMotionVars.cjs +0 -10
- package/dist/tailwind/base/addMotionVars.d.cts +0 -11
- package/dist/tailwind/base/addMotionVars.d.cts.map +0 -1
- package/dist/tailwind/base/addMotionVars.d.ts +0 -11
- package/dist/tailwind/base/addMotionVars.d.ts.map +0 -1
- package/dist/tailwind/base/addMotionVars.js +0 -11
- package/dist/tailwind/base/addMotionVars.js.map +0 -1
- package/dist/tailwind/base/addScaleModeVars.cjs +0 -22
- package/dist/tailwind/base/addScaleModeVars.d.cts +0 -11
- package/dist/tailwind/base/addScaleModeVars.d.cts.map +0 -1
- package/dist/tailwind/base/addScaleModeVars.d.ts +0 -11
- package/dist/tailwind/base/addScaleModeVars.d.ts.map +0 -1
- package/dist/tailwind/base/addScaleModeVars.js +0 -23
- package/dist/tailwind/base/addScaleModeVars.js.map +0 -1
- package/dist/tailwind/base/types.cjs +0 -1
- package/dist/tailwind/base/types.d.cts +0 -12
- package/dist/tailwind/base/types.d.cts.map +0 -1
- package/dist/tailwind/base/types.d.ts +0 -12
- package/dist/tailwind/base/types.d.ts.map +0 -1
- package/dist/tailwind/base/types.js +0 -1
- package/dist/tailwind/components/getButtonStyles.cjs +0 -166
- package/dist/tailwind/components/getButtonStyles.d.cts +0 -10
- package/dist/tailwind/components/getButtonStyles.d.cts.map +0 -1
- package/dist/tailwind/components/getButtonStyles.d.ts +0 -10
- package/dist/tailwind/components/getButtonStyles.d.ts.map +0 -1
- package/dist/tailwind/components/getButtonStyles.js +0 -165
- package/dist/tailwind/components/getButtonStyles.js.map +0 -1
- package/dist/tailwind/components/getFocusRingStyles.cjs +0 -29
- package/dist/tailwind/components/getFocusRingStyles.d.cts +0 -15
- package/dist/tailwind/components/getFocusRingStyles.d.cts.map +0 -1
- package/dist/tailwind/components/getFocusRingStyles.d.ts +0 -15
- package/dist/tailwind/components/getFocusRingStyles.d.ts.map +0 -1
- package/dist/tailwind/components/getFocusRingStyles.js +0 -30
- package/dist/tailwind/components/getFocusRingStyles.js.map +0 -1
- package/dist/tailwind/components/getGroupedTextStyles.cjs +0 -18
- package/dist/tailwind/components/getGroupedTextStyles.d.cts +0 -14
- package/dist/tailwind/components/getGroupedTextStyles.d.cts.map +0 -1
- package/dist/tailwind/components/getGroupedTextStyles.d.ts +0 -14
- package/dist/tailwind/components/getGroupedTextStyles.d.ts.map +0 -1
- package/dist/tailwind/components/getGroupedTextStyles.js +0 -18
- package/dist/tailwind/components/getGroupedTextStyles.js.map +0 -1
- package/dist/tailwind/components/getHitTargetStyles.cjs +0 -22
- package/dist/tailwind/components/getHitTargetStyles.d.cts +0 -8
- package/dist/tailwind/components/getHitTargetStyles.d.cts.map +0 -1
- package/dist/tailwind/components/getHitTargetStyles.d.ts +0 -8
- package/dist/tailwind/components/getHitTargetStyles.d.ts.map +0 -1
- package/dist/tailwind/components/getHitTargetStyles.js +0 -21
- package/dist/tailwind/components/getHitTargetStyles.js.map +0 -1
- package/dist/tailwind/components/getIconButtonStyles.cjs +0 -39
- package/dist/tailwind/components/getIconButtonStyles.d.cts +0 -11
- package/dist/tailwind/components/getIconButtonStyles.d.cts.map +0 -1
- package/dist/tailwind/components/getIconButtonStyles.d.ts +0 -11
- package/dist/tailwind/components/getIconButtonStyles.d.ts.map +0 -1
- package/dist/tailwind/components/getIconButtonStyles.js +0 -39
- package/dist/tailwind/components/getIconButtonStyles.js.map +0 -1
- package/dist/tailwind/components/getIconStyles.cjs +0 -15
- package/dist/tailwind/components/getIconStyles.d.cts +0 -11
- package/dist/tailwind/components/getIconStyles.d.cts.map +0 -1
- package/dist/tailwind/components/getIconStyles.d.ts +0 -11
- package/dist/tailwind/components/getIconStyles.d.ts.map +0 -1
- package/dist/tailwind/components/getIconStyles.js +0 -15
- package/dist/tailwind/components/getIconStyles.js.map +0 -1
- package/dist/tailwind/components/getInputStyles.cjs +0 -16
- package/dist/tailwind/components/getInputStyles.d.cts +0 -11
- package/dist/tailwind/components/getInputStyles.d.cts.map +0 -1
- package/dist/tailwind/components/getInputStyles.d.ts +0 -11
- package/dist/tailwind/components/getInputStyles.d.ts.map +0 -1
- package/dist/tailwind/components/getInputStyles.js +0 -16
- package/dist/tailwind/components/getInputStyles.js.map +0 -1
- package/dist/tailwind/components/getResponsiveTextStyles.cjs +0 -71
- package/dist/tailwind/components/getResponsiveTextStyles.d.cts +0 -35
- package/dist/tailwind/components/getResponsiveTextStyles.d.cts.map +0 -1
- package/dist/tailwind/components/getResponsiveTextStyles.d.ts +0 -35
- package/dist/tailwind/components/getResponsiveTextStyles.d.ts.map +0 -1
- package/dist/tailwind/components/getResponsiveTextStyles.js +0 -66
- package/dist/tailwind/components/getResponsiveTextStyles.js.map +0 -1
- package/dist/tailwind/components/types.cjs +0 -1
- package/dist/tailwind/components/types.d.cts +0 -10
- package/dist/tailwind/components/types.d.cts.map +0 -1
- package/dist/tailwind/components/types.d.ts +0 -10
- package/dist/tailwind/components/types.d.ts.map +0 -1
- package/dist/tailwind/components/types.js +0 -1
- package/dist/tailwind/components/utils.cjs +0 -45
- package/dist/tailwind/components/utils.d.cts +0 -19
- package/dist/tailwind/components/utils.d.cts.map +0 -1
- package/dist/tailwind/components/utils.d.ts +0 -19
- package/dist/tailwind/components/utils.d.ts.map +0 -1
- package/dist/tailwind/components/utils.js +0 -41
- package/dist/tailwind/components/utils.js.map +0 -1
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.cjs +0 -68
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts +0 -20
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts.map +0 -1
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts +0 -20
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts.map +0 -1
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.js +0 -68
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.js.map +0 -1
- package/dist/tailwind/postcss.config.cjs +0 -9
- package/dist/tailwind/postcss.config.d.cts +0 -1
- package/dist/tailwind/postcss.config.d.ts +0 -1
- package/dist/tailwind/postcss.config.js +0 -15
- package/dist/tailwind/postcss.config.js.map +0 -1
- package/dist/tailwind/purger/index.cjs +0 -7
- package/dist/tailwind/purger/index.d.cts +0 -2
- package/dist/tailwind/purger/index.d.ts +0 -2
- package/dist/tailwind/purger/index.js +0 -4
- package/dist/tailwind/tailwind.config.cjs +0 -31
- package/dist/tailwind/tailwind.config.d.cts +0 -19
- package/dist/tailwind/tailwind.config.d.cts.map +0 -1
- package/dist/tailwind/tailwind.config.d.ts +0 -20
- package/dist/tailwind/tailwind.config.d.ts.map +0 -1
- package/dist/tailwind/tailwind.config.js +0 -32
- package/dist/tailwind/tailwind.config.js.map +0 -1
- package/dist/tailwind/tailwind.d.cjs +0 -1
- package/dist/tailwind/tailwind.d.cts +0 -7
- package/dist/tailwind/tailwind.d.cts.map +0 -1
- package/dist/tailwind/tailwind.d.ts +0 -7
- package/dist/tailwind/tailwind.d.ts.map +0 -1
- package/dist/tailwind/tailwindPlugin.cjs +0 -303
- package/dist/tailwind/tailwindPlugin.d.cts +0 -62
- package/dist/tailwind/tailwindPlugin.d.cts.map +0 -1
- package/dist/tailwind/tailwindPlugin.d.ts +0 -62
- package/dist/tailwind/tailwindPlugin.d.ts.map +0 -1
- package/dist/tailwind/tailwindPlugin.js +0 -296
- package/dist/tailwind/tailwindPlugin.js.map +0 -1
- package/dist/tailwind/theme/getFontFamilyTheme.cjs +0 -24
- package/dist/tailwind/theme/getFontFamilyTheme.d.cts +0 -7
- package/dist/tailwind/theme/getFontFamilyTheme.d.cts.map +0 -1
- package/dist/tailwind/theme/getFontFamilyTheme.d.ts +0 -7
- package/dist/tailwind/theme/getFontFamilyTheme.d.ts.map +0 -1
- package/dist/tailwind/theme/getFontFamilyTheme.js +0 -24
- package/dist/tailwind/theme/getFontFamilyTheme.js.map +0 -1
- package/dist/tailwind/utils/addFontsPlugin.cjs +0 -15
- package/dist/tailwind/utils/addFontsPlugin.d.cts +0 -18
- package/dist/tailwind/utils/addFontsPlugin.d.cts.map +0 -1
- package/dist/tailwind/utils/addFontsPlugin.d.ts +0 -18
- package/dist/tailwind/utils/addFontsPlugin.d.ts.map +0 -1
- package/dist/tailwind/utils/addFontsPlugin.js +0 -14
- package/dist/tailwind/utils/addFontsPlugin.js.map +0 -1
- package/dist/tailwind/utils/getColorModeStyles.cjs +0 -22
- package/dist/tailwind/utils/getColorModeStyles.d.cts +0 -18
- package/dist/tailwind/utils/getColorModeStyles.d.cts.map +0 -1
- package/dist/tailwind/utils/getColorModeStyles.d.ts +0 -18
- package/dist/tailwind/utils/getColorModeStyles.d.ts.map +0 -1
- package/dist/tailwind/utils/getColorModeStyles.js +0 -22
- package/dist/tailwind/utils/getColorModeStyles.js.map +0 -1
- package/dist/tailwind/utils/getFontFaceDeclarations.cjs +0 -20
- package/dist/tailwind/utils/getFontFaceDeclarations.d.cts +0 -12
- package/dist/tailwind/utils/getFontFaceDeclarations.d.cts.map +0 -1
- package/dist/tailwind/utils/getFontFaceDeclarations.d.ts +0 -12
- package/dist/tailwind/utils/getFontFaceDeclarations.d.ts.map +0 -1
- package/dist/tailwind/utils/getFontFaceDeclarations.js +0 -21
- package/dist/tailwind/utils/getFontFaceDeclarations.js.map +0 -1
- package/dist/tailwind/utils/getFontStyles.cjs +0 -41
- package/dist/tailwind/utils/getFontStyles.d.cts +0 -25
- package/dist/tailwind/utils/getFontStyles.d.cts.map +0 -1
- package/dist/tailwind/utils/getFontStyles.d.ts +0 -25
- package/dist/tailwind/utils/getFontStyles.d.ts.map +0 -1
- package/dist/tailwind/utils/getFontStyles.js +0 -42
- package/dist/tailwind/utils/getFontStyles.js.map +0 -1
- package/dist/tailwind/utils/getMotionStyles.cjs +0 -38
- package/dist/tailwind/utils/getMotionStyles.d.cts +0 -25
- package/dist/tailwind/utils/getMotionStyles.d.cts.map +0 -1
- package/dist/tailwind/utils/getMotionStyles.d.ts +0 -25
- package/dist/tailwind/utils/getMotionStyles.d.ts.map +0 -1
- package/dist/tailwind/utils/getMotionStyles.js +0 -38
- package/dist/tailwind/utils/getMotionStyles.js.map +0 -1
- package/dist/tailwind/utils/getScaleModeStyles.cjs +0 -25
- package/dist/tailwind/utils/getScaleModeStyles.d.cts +0 -29
- package/dist/tailwind/utils/getScaleModeStyles.d.cts.map +0 -1
- package/dist/tailwind/utils/getScaleModeStyles.d.ts +0 -29
- package/dist/tailwind/utils/getScaleModeStyles.d.ts.map +0 -1
- package/dist/tailwind/utils/getScaleModeStyles.js +0 -25
- package/dist/tailwind/utils/getScaleModeStyles.js.map +0 -1
- package/dist/tailwind/utils/getShadowPresetValues.cjs +0 -81
- package/dist/tailwind/utils/getShadowPresetValues.d.cts +0 -57
- package/dist/tailwind/utils/getShadowPresetValues.d.cts.map +0 -1
- package/dist/tailwind/utils/getShadowPresetValues.d.ts +0 -57
- package/dist/tailwind/utils/getShadowPresetValues.d.ts.map +0 -1
- package/dist/tailwind/utils/getShadowPresetValues.js +0 -80
- package/dist/tailwind/utils/getShadowPresetValues.js.map +0 -1
- package/dist/tailwind/utils/getShadowStyles.cjs +0 -18
- package/dist/tailwind/utils/getShadowStyles.d.cts +0 -17
- package/dist/tailwind/utils/getShadowStyles.d.cts.map +0 -1
- package/dist/tailwind/utils/getShadowStyles.d.ts +0 -17
- package/dist/tailwind/utils/getShadowStyles.d.ts.map +0 -1
- package/dist/tailwind/utils/getShadowStyles.js +0 -19
- package/dist/tailwind/utils/getShadowStyles.js.map +0 -1
- package/dist/tailwind/utils/getShadowVars.cjs +0 -26
- package/dist/tailwind/utils/getShadowVars.d.cts +0 -8
- package/dist/tailwind/utils/getShadowVars.d.cts.map +0 -1
- package/dist/tailwind/utils/getShadowVars.d.ts +0 -8
- package/dist/tailwind/utils/getShadowVars.d.ts.map +0 -1
- package/dist/tailwind/utils/getShadowVars.js +0 -27
- package/dist/tailwind/utils/getShadowVars.js.map +0 -1
- package/dist/tailwind/utils/index.cjs +0 -22
- package/dist/tailwind/utils/index.d.cts +0 -10
- package/dist/tailwind/utils/index.d.ts +0 -10
- package/dist/tailwind/utils/index.js +0 -12
- package/dist/tokens/automation/configs/avatar.cjs +0 -310
- package/dist/tokens/automation/configs/avatar.d.cts +0 -19
- package/dist/tokens/automation/configs/avatar.d.cts.map +0 -1
- package/dist/tokens/automation/configs/avatar.d.ts +0 -19
- package/dist/tokens/automation/configs/avatar.d.ts.map +0 -1
- package/dist/tokens/automation/configs/avatar.js +0 -310
- package/dist/tokens/automation/configs/avatar.js.map +0 -1
- package/dist/tokens/automation/configs/badge.cjs +0 -324
- package/dist/tokens/automation/configs/badge.d.cts +0 -15
- package/dist/tokens/automation/configs/badge.d.cts.map +0 -1
- package/dist/tokens/automation/configs/badge.d.ts +0 -15
- package/dist/tokens/automation/configs/badge.d.ts.map +0 -1
- package/dist/tokens/automation/configs/badge.js +0 -324
- package/dist/tokens/automation/configs/badge.js.map +0 -1
- package/dist/tokens/automation/configs/checkbox.cjs +0 -256
- package/dist/tokens/automation/configs/checkbox.d.cts +0 -15
- package/dist/tokens/automation/configs/checkbox.d.cts.map +0 -1
- package/dist/tokens/automation/configs/checkbox.d.ts +0 -15
- package/dist/tokens/automation/configs/checkbox.d.ts.map +0 -1
- package/dist/tokens/automation/configs/checkbox.js +0 -256
- package/dist/tokens/automation/configs/checkbox.js.map +0 -1
- package/dist/tokens/automation/configs/chip.cjs +0 -552
- package/dist/tokens/automation/configs/chip.d.cts +0 -19
- package/dist/tokens/automation/configs/chip.d.cts.map +0 -1
- package/dist/tokens/automation/configs/chip.d.ts +0 -19
- package/dist/tokens/automation/configs/chip.d.ts.map +0 -1
- package/dist/tokens/automation/configs/chip.js +0 -552
- package/dist/tokens/automation/configs/chip.js.map +0 -1
- package/dist/tokens/automation/configs/divider.cjs +0 -119
- package/dist/tokens/automation/configs/divider.d.cts +0 -14
- package/dist/tokens/automation/configs/divider.d.cts.map +0 -1
- package/dist/tokens/automation/configs/divider.d.ts +0 -14
- package/dist/tokens/automation/configs/divider.d.ts.map +0 -1
- package/dist/tokens/automation/configs/divider.js +0 -119
- package/dist/tokens/automation/configs/divider.js.map +0 -1
- package/dist/tokens/automation/configs/index.cjs +0 -22
- package/dist/tokens/automation/configs/index.d.cts +0 -11
- package/dist/tokens/automation/configs/index.d.ts +0 -11
- package/dist/tokens/automation/configs/index.js +0 -13
- package/dist/tokens/automation/configs/input.cjs +0 -473
- package/dist/tokens/automation/configs/input.d.cts +0 -15
- package/dist/tokens/automation/configs/input.d.cts.map +0 -1
- package/dist/tokens/automation/configs/input.d.ts +0 -15
- package/dist/tokens/automation/configs/input.d.ts.map +0 -1
- package/dist/tokens/automation/configs/input.js +0 -473
- package/dist/tokens/automation/configs/input.js.map +0 -1
- package/dist/tokens/automation/configs/link.cjs +0 -194
- package/dist/tokens/automation/configs/link.d.cts +0 -15
- package/dist/tokens/automation/configs/link.d.cts.map +0 -1
- package/dist/tokens/automation/configs/link.d.ts +0 -15
- package/dist/tokens/automation/configs/link.d.ts.map +0 -1
- package/dist/tokens/automation/configs/link.js +0 -194
- package/dist/tokens/automation/configs/link.js.map +0 -1
- package/dist/tokens/automation/configs/menu.cjs +0 -309
- package/dist/tokens/automation/configs/menu.d.cts +0 -19
- package/dist/tokens/automation/configs/menu.d.cts.map +0 -1
- package/dist/tokens/automation/configs/menu.d.ts +0 -19
- package/dist/tokens/automation/configs/menu.d.ts.map +0 -1
- package/dist/tokens/automation/configs/menu.js +0 -309
- package/dist/tokens/automation/configs/menu.js.map +0 -1
- package/dist/tokens/automation/configs/radio.cjs +0 -228
- package/dist/tokens/automation/configs/radio.d.cts +0 -15
- package/dist/tokens/automation/configs/radio.d.cts.map +0 -1
- package/dist/tokens/automation/configs/radio.d.ts +0 -15
- package/dist/tokens/automation/configs/radio.d.ts.map +0 -1
- package/dist/tokens/automation/configs/radio.js +0 -228
- package/dist/tokens/automation/configs/radio.js.map +0 -1
- package/dist/tokens/automation/configs/switch.cjs +0 -296
- package/dist/tokens/automation/configs/switch.d.cts +0 -15
- package/dist/tokens/automation/configs/switch.d.cts.map +0 -1
- package/dist/tokens/automation/configs/switch.d.ts +0 -15
- package/dist/tokens/automation/configs/switch.d.ts.map +0 -1
- package/dist/tokens/automation/configs/switch.js +0 -296
- package/dist/tokens/automation/configs/switch.js.map +0 -1
- package/dist/tokens/automation/index.cjs +0 -45
- package/dist/tokens/automation/index.d.cts +0 -27
- package/dist/tokens/automation/index.d.ts +0 -27
- package/dist/tokens/automation/index.js +0 -16
- package/dist/tokens/automation/mapTextVariantFixtureToValue.cjs +0 -8
- package/dist/tokens/automation/mapTextVariantFixtureToValue.d.cts +0 -5
- package/dist/tokens/automation/mapTextVariantFixtureToValue.d.cts.map +0 -1
- package/dist/tokens/automation/mapTextVariantFixtureToValue.d.ts +0 -5
- package/dist/tokens/automation/mapTextVariantFixtureToValue.d.ts.map +0 -1
- package/dist/tokens/automation/mapTextVariantFixtureToValue.js +0 -9
- package/dist/tokens/automation/mapTextVariantFixtureToValue.js.map +0 -1
- package/dist/tokens/automation/properties.d.cts.map +0 -1
- package/dist/tokens/automation/properties.d.ts.map +0 -1
- package/dist/tokens/automation/properties.js.map +0 -1
- package/dist/tokens/automation/types/ComponentConfig.cjs +0 -1
- package/dist/tokens/automation/types/ComponentConfig.d.cts +0 -55
- package/dist/tokens/automation/types/ComponentConfig.d.cts.map +0 -1
- package/dist/tokens/automation/types/ComponentConfig.d.ts +0 -55
- package/dist/tokens/automation/types/ComponentConfig.d.ts.map +0 -1
- package/dist/tokens/automation/types/ComponentConfig.js +0 -1
- package/dist/tokens/automation/types/ComponentDB.cjs +0 -1
- package/dist/tokens/automation/types/ComponentDB.d.cts +0 -1
- package/dist/tokens/automation/types/ComponentDB.d.ts +0 -1
- package/dist/tokens/automation/types/ComponentDB.js +0 -1
- package/dist/tokens/automation/types/ComponentStyles.cjs +0 -1
- package/dist/tokens/automation/types/ComponentStyles.d.cts +0 -36
- package/dist/tokens/automation/types/ComponentStyles.d.cts.map +0 -1
- package/dist/tokens/automation/types/ComponentStyles.d.ts +0 -36
- package/dist/tokens/automation/types/ComponentStyles.d.ts.map +0 -1
- package/dist/tokens/automation/types/ComponentStyles.js +0 -1
- package/dist/tokens/automation/types/index.cjs +0 -1
- package/dist/tokens/automation/types/index.d.cts +0 -3
- package/dist/tokens/automation/types/index.d.ts +0 -3
- package/dist/tokens/automation/types/index.js +0 -1
- package/dist/tokens/automation/utils/cartesianProduct.cjs +0 -7
- package/dist/tokens/automation/utils/cartesianProduct.d.cts +0 -8
- package/dist/tokens/automation/utils/cartesianProduct.d.cts.map +0 -1
- package/dist/tokens/automation/utils/cartesianProduct.d.ts +0 -8
- package/dist/tokens/automation/utils/cartesianProduct.d.ts.map +0 -1
- package/dist/tokens/automation/utils/cartesianProduct.js +0 -7
- package/dist/tokens/automation/utils/cartesianProduct.js.map +0 -1
- package/dist/tokens/automation/utils/coalesceConfigVariant.cjs +0 -21
- package/dist/tokens/automation/utils/coalesceConfigVariant.d.cts +0 -17
- package/dist/tokens/automation/utils/coalesceConfigVariant.d.cts.map +0 -1
- package/dist/tokens/automation/utils/coalesceConfigVariant.d.ts +0 -17
- package/dist/tokens/automation/utils/coalesceConfigVariant.d.ts.map +0 -1
- package/dist/tokens/automation/utils/coalesceConfigVariant.js +0 -22
- package/dist/tokens/automation/utils/coalesceConfigVariant.js.map +0 -1
- package/dist/tokens/automation/utils/defaults.cjs +0 -15
- package/dist/tokens/automation/utils/defaults.d.cts +0 -9
- package/dist/tokens/automation/utils/defaults.d.cts.map +0 -1
- package/dist/tokens/automation/utils/defaults.d.ts +0 -9
- package/dist/tokens/automation/utils/defaults.d.ts.map +0 -1
- package/dist/tokens/automation/utils/defaults.js +0 -14
- package/dist/tokens/automation/utils/defaults.js.map +0 -1
- package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.cjs +0 -26
- package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.d.cts +0 -11
- package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.d.cts.map +0 -1
- package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.d.ts +0 -11
- package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.d.ts.map +0 -1
- package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.js +0 -26
- package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.js.map +0 -1
- package/dist/tokens/automation/utils/generateSchemaKey.cjs +0 -14
- package/dist/tokens/automation/utils/generateSchemaKey.d.cts +0 -19
- package/dist/tokens/automation/utils/generateSchemaKey.d.cts.map +0 -1
- package/dist/tokens/automation/utils/generateSchemaKey.d.ts +0 -19
- package/dist/tokens/automation/utils/generateSchemaKey.d.ts.map +0 -1
- package/dist/tokens/automation/utils/generateSchemaKey.js +0 -14
- package/dist/tokens/automation/utils/generateSchemaKey.js.map +0 -1
- package/dist/tokens/automation/utils/getConfigComponentVariant.cjs +0 -17
- package/dist/tokens/automation/utils/getConfigComponentVariant.d.cts +0 -9
- package/dist/tokens/automation/utils/getConfigComponentVariant.d.cts.map +0 -1
- package/dist/tokens/automation/utils/getConfigComponentVariant.d.ts +0 -9
- package/dist/tokens/automation/utils/getConfigComponentVariant.d.ts.map +0 -1
- package/dist/tokens/automation/utils/getConfigComponentVariant.js +0 -18
- package/dist/tokens/automation/utils/getConfigComponentVariant.js.map +0 -1
- package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.cjs +0 -26
- package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.d.cts +0 -10
- package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.d.cts.map +0 -1
- package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.d.ts +0 -10
- package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.d.ts.map +0 -1
- package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.js +0 -24
- package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.js.map +0 -1
- package/dist/tokens/automation/utils/getConfigVariantProperties.cjs +0 -24
- package/dist/tokens/automation/utils/getConfigVariantProperties.d.cts +0 -20
- package/dist/tokens/automation/utils/getConfigVariantProperties.d.cts.map +0 -1
- package/dist/tokens/automation/utils/getConfigVariantProperties.d.ts +0 -20
- package/dist/tokens/automation/utils/getConfigVariantProperties.d.ts.map +0 -1
- package/dist/tokens/automation/utils/getConfigVariantProperties.js +0 -25
- package/dist/tokens/automation/utils/getConfigVariantProperties.js.map +0 -1
- package/dist/tokens/automation/utils/getConfigVariantPseudoStates.cjs +0 -34
- package/dist/tokens/automation/utils/getConfigVariantPseudoStates.d.cts +0 -12
- package/dist/tokens/automation/utils/getConfigVariantPseudoStates.d.cts.map +0 -1
- package/dist/tokens/automation/utils/getConfigVariantPseudoStates.d.ts +0 -12
- package/dist/tokens/automation/utils/getConfigVariantPseudoStates.d.ts.map +0 -1
- package/dist/tokens/automation/utils/getConfigVariantPseudoStates.js +0 -35
- package/dist/tokens/automation/utils/getConfigVariantPseudoStates.js.map +0 -1
- package/dist/tokens/automation/utils/getConfigVariants.cjs +0 -39
- package/dist/tokens/automation/utils/getConfigVariants.d.cts +0 -20
- package/dist/tokens/automation/utils/getConfigVariants.d.cts.map +0 -1
- package/dist/tokens/automation/utils/getConfigVariants.d.ts +0 -20
- package/dist/tokens/automation/utils/getConfigVariants.d.ts.map +0 -1
- package/dist/tokens/automation/utils/getConfigVariants.js +0 -38
- package/dist/tokens/automation/utils/getConfigVariants.js.map +0 -1
- package/dist/tokens/automation/utils/index.cjs +0 -516
- package/dist/tokens/automation/utils/index.d.cts +0 -146
- package/dist/tokens/automation/utils/index.d.cts.map +0 -1
- package/dist/tokens/automation/utils/index.d.ts +0 -146
- package/dist/tokens/automation/utils/index.d.ts.map +0 -1
- package/dist/tokens/automation/utils/index.js +0 -483
- package/dist/tokens/automation/utils/index.js.map +0 -1
- package/dist/tokens/automation/utils/mapColorFixtureToValue.cjs +0 -20
- package/dist/tokens/automation/utils/mapColorFixtureToValue.d.cts +0 -5
- package/dist/tokens/automation/utils/mapColorFixtureToValue.d.cts.map +0 -1
- package/dist/tokens/automation/utils/mapColorFixtureToValue.d.ts +0 -5
- package/dist/tokens/automation/utils/mapColorFixtureToValue.d.ts.map +0 -1
- package/dist/tokens/automation/utils/mapColorFixtureToValue.js +0 -21
- package/dist/tokens/automation/utils/mapColorFixtureToValue.js.map +0 -1
- package/dist/tokens/automation/utils/subcomponents.cjs +0 -11
- package/dist/tokens/automation/utils/subcomponents.d.cts +0 -9
- package/dist/tokens/automation/utils/subcomponents.d.cts.map +0 -1
- package/dist/tokens/automation/utils/subcomponents.d.ts +0 -9
- package/dist/tokens/automation/utils/subcomponents.d.ts.map +0 -1
- package/dist/tokens/automation/utils/subcomponents.js +0 -11
- package/dist/tokens/automation/utils/subcomponents.js.map +0 -1
- package/dist/tokens/automation/utils/variableData.cjs +0 -32
- package/dist/tokens/automation/utils/variableData.d.cts +0 -19
- package/dist/tokens/automation/utils/variableData.d.cts.map +0 -1
- package/dist/tokens/automation/utils/variableData.d.ts +0 -19
- package/dist/tokens/automation/utils/variableData.d.ts.map +0 -1
- package/dist/tokens/automation/utils/variableData.js +0 -29
- package/dist/tokens/automation/utils/variableData.js.map +0 -1
- package/dist/tokens/automation/utils/variantConfigGuards.cjs +0 -9
- package/dist/tokens/automation/utils/variantConfigGuards.d.cts +0 -13
- package/dist/tokens/automation/utils/variantConfigGuards.d.cts.map +0 -1
- package/dist/tokens/automation/utils/variantConfigGuards.d.ts +0 -13
- package/dist/tokens/automation/utils/variantConfigGuards.d.ts.map +0 -1
- package/dist/tokens/automation/utils/variantConfigGuards.js +0 -8
- package/dist/tokens/automation/utils/variantConfigGuards.js.map +0 -1
- package/dist/tokens/configs/borderRadius.cjs +0 -25
- package/dist/tokens/configs/borderRadius.d.cts +0 -8
- package/dist/tokens/configs/borderRadius.d.cts.map +0 -1
- package/dist/tokens/configs/borderRadius.d.ts +0 -8
- package/dist/tokens/configs/borderRadius.d.ts.map +0 -1
- package/dist/tokens/configs/borderRadius.js +0 -24
- package/dist/tokens/configs/borderRadius.js.map +0 -1
- package/dist/tokens/configs/borderWidth.cjs +0 -19
- package/dist/tokens/configs/borderWidth.d.cts +0 -8
- package/dist/tokens/configs/borderWidth.d.cts.map +0 -1
- package/dist/tokens/configs/borderWidth.d.ts +0 -8
- package/dist/tokens/configs/borderWidth.d.ts.map +0 -1
- package/dist/tokens/configs/borderWidth.js +0 -18
- package/dist/tokens/configs/borderWidth.js.map +0 -1
- package/dist/tokens/configs/button.cjs +0 -948
- package/dist/tokens/configs/button.d.cts +0 -8
- package/dist/tokens/configs/button.d.cts.map +0 -1
- package/dist/tokens/configs/button.d.ts +0 -8
- package/dist/tokens/configs/button.d.ts.map +0 -1
- package/dist/tokens/configs/button.js +0 -947
- package/dist/tokens/configs/button.js.map +0 -1
- package/dist/tokens/configs/colorMode.cjs +0 -18
- package/dist/tokens/configs/colorMode.d.cts +0 -7
- package/dist/tokens/configs/colorMode.d.cts.map +0 -1
- package/dist/tokens/configs/colorMode.d.ts +0 -7
- package/dist/tokens/configs/colorMode.d.ts.map +0 -1
- package/dist/tokens/configs/colorMode.js +0 -19
- package/dist/tokens/configs/colorMode.js.map +0 -1
- package/dist/tokens/configs/font.cjs +0 -13
- package/dist/tokens/configs/font.d.cts +0 -7
- package/dist/tokens/configs/font.d.cts.map +0 -1
- package/dist/tokens/configs/font.d.ts +0 -7
- package/dist/tokens/configs/font.d.ts.map +0 -1
- package/dist/tokens/configs/font.js +0 -13
- package/dist/tokens/configs/font.js.map +0 -1
- package/dist/tokens/configs/iconButton.cjs +0 -32
- package/dist/tokens/configs/iconButton.d.cts +0 -7
- package/dist/tokens/configs/iconButton.d.cts.map +0 -1
- package/dist/tokens/configs/iconButton.d.ts +0 -7
- package/dist/tokens/configs/iconButton.d.ts.map +0 -1
- package/dist/tokens/configs/iconButton.js +0 -33
- package/dist/tokens/configs/iconButton.js.map +0 -1
- package/dist/tokens/configs/motion.cjs +0 -137
- package/dist/tokens/configs/motion.d.cts +0 -43
- package/dist/tokens/configs/motion.d.cts.map +0 -1
- package/dist/tokens/configs/motion.d.ts +0 -43
- package/dist/tokens/configs/motion.d.ts.map +0 -1
- package/dist/tokens/configs/motion.js +0 -133
- package/dist/tokens/configs/motion.js.map +0 -1
- package/dist/tokens/configs/palette.cjs +0 -402
- package/dist/tokens/configs/palette.d.cts +0 -14
- package/dist/tokens/configs/palette.d.cts.map +0 -1
- package/dist/tokens/configs/palette.d.ts +0 -14
- package/dist/tokens/configs/palette.d.ts.map +0 -1
- package/dist/tokens/configs/palette.js +0 -400
- package/dist/tokens/configs/palette.js.map +0 -1
- package/dist/tokens/configs/scaleMode.cjs +0 -30
- package/dist/tokens/configs/scaleMode.d.cts +0 -7
- package/dist/tokens/configs/scaleMode.d.cts.map +0 -1
- package/dist/tokens/configs/scaleMode.d.ts +0 -7
- package/dist/tokens/configs/scaleMode.d.ts.map +0 -1
- package/dist/tokens/configs/scaleMode.js +0 -31
- package/dist/tokens/configs/scaleMode.js.map +0 -1
- package/dist/tokens/configs/shadow.cjs +0 -332
- package/dist/tokens/configs/shadow.d.cts +0 -7
- package/dist/tokens/configs/shadow.d.cts.map +0 -1
- package/dist/tokens/configs/shadow.d.ts +0 -7
- package/dist/tokens/configs/shadow.d.ts.map +0 -1
- package/dist/tokens/configs/shadow.js +0 -332
- package/dist/tokens/configs/shadow.js.map +0 -1
- package/dist/tokens/configs/sizes.cjs +0 -26
- package/dist/tokens/configs/sizes.d.cts +0 -11
- package/dist/tokens/configs/sizes.d.cts.map +0 -1
- package/dist/tokens/configs/sizes.d.ts +0 -11
- package/dist/tokens/configs/sizes.d.ts.map +0 -1
- package/dist/tokens/configs/sizes.js +0 -22
- package/dist/tokens/configs/sizes.js.map +0 -1
- package/dist/tokens/configs/spectrum.cjs +0 -731
- package/dist/tokens/configs/spectrum.d.cts +0 -8
- package/dist/tokens/configs/spectrum.d.cts.map +0 -1
- package/dist/tokens/configs/spectrum.d.ts +0 -8
- package/dist/tokens/configs/spectrum.d.ts.map +0 -1
- package/dist/tokens/configs/spectrum.js +0 -730
- package/dist/tokens/configs/spectrum.js.map +0 -1
- package/dist/tokens/configs/typography.cjs +0 -411
- package/dist/tokens/configs/typography.d.cts +0 -365
- package/dist/tokens/configs/typography.d.cts.map +0 -1
- package/dist/tokens/configs/typography.d.ts +0 -365
- package/dist/tokens/configs/typography.d.ts.map +0 -1
- package/dist/tokens/configs/typography.js +0 -399
- package/dist/tokens/configs/typography.js.map +0 -1
- package/dist/tokens/configs/yosConfig.cjs +0 -19103
- package/dist/tokens/configs/yosConfig.d.cts +0 -19811
- package/dist/tokens/configs/yosConfig.d.cts.map +0 -1
- package/dist/tokens/configs/yosConfig.d.ts +0 -19811
- package/dist/tokens/configs/yosConfig.d.ts.map +0 -1
- package/dist/tokens/configs/yosConfig.js +0 -19103
- package/dist/tokens/configs/yosConfig.js.map +0 -1
- package/dist/tokens/consts/buttonMotionTokens.cjs +0 -82
- package/dist/tokens/consts/buttonMotionTokens.d.cts +0 -85
- package/dist/tokens/consts/buttonMotionTokens.d.cts.map +0 -1
- package/dist/tokens/consts/buttonMotionTokens.d.ts +0 -85
- package/dist/tokens/consts/buttonMotionTokens.d.ts.map +0 -1
- package/dist/tokens/consts/buttonMotionTokens.js +0 -78
- package/dist/tokens/consts/buttonMotionTokens.js.map +0 -1
- package/dist/tokens/consts/cssTokens.cjs +0 -110
- package/dist/tokens/consts/cssTokens.d.cts +0 -73
- package/dist/tokens/consts/cssTokens.d.cts.map +0 -1
- package/dist/tokens/consts/cssTokens.d.ts +0 -73
- package/dist/tokens/consts/cssTokens.d.ts.map +0 -1
- package/dist/tokens/consts/cssTokens.js +0 -79
- package/dist/tokens/consts/cssTokens.js.map +0 -1
- package/dist/tokens/consts/defaultModes.cjs +0 -17
- package/dist/tokens/consts/defaultModes.d.cts +0 -12
- package/dist/tokens/consts/defaultModes.d.cts.map +0 -1
- package/dist/tokens/consts/defaultModes.d.ts +0 -12
- package/dist/tokens/consts/defaultModes.d.ts.map +0 -1
- package/dist/tokens/consts/defaultModes.js +0 -12
- package/dist/tokens/consts/defaultModes.js.map +0 -1
- package/dist/tokens/consts/fontDeclarationsMap.cjs +0 -652
- package/dist/tokens/consts/fontDeclarationsMap.d.cts +0 -538
- package/dist/tokens/consts/fontDeclarationsMap.d.cts.map +0 -1
- package/dist/tokens/consts/fontDeclarationsMap.d.ts +0 -538
- package/dist/tokens/consts/fontDeclarationsMap.d.ts.map +0 -1
- package/dist/tokens/consts/fontDeclarationsMap.js +0 -652
- package/dist/tokens/consts/fontDeclarationsMap.js.map +0 -1
- package/dist/tokens/parseButtonVariants.cjs +0 -37
- package/dist/tokens/parseButtonVariants.d.cts +0 -24
- package/dist/tokens/parseButtonVariants.d.cts.map +0 -1
- package/dist/tokens/parseButtonVariants.d.ts +0 -24
- package/dist/tokens/parseButtonVariants.d.ts.map +0 -1
- package/dist/tokens/parseButtonVariants.js +0 -36
- package/dist/tokens/parseButtonVariants.js.map +0 -1
- package/dist/tokens/parseTokens.d.cts.map +0 -1
- package/dist/tokens/parseTokens.d.ts.map +0 -1
- package/dist/tokens/parseTokens.js.map +0 -1
- package/dist/tokens/types.cjs +0 -1
- package/dist/tokens/types.d.cts +0 -1076
- package/dist/tokens/types.d.cts.map +0 -1
- package/dist/tokens/types.d.ts +0 -1076
- package/dist/tokens/types.d.ts.map +0 -1
- package/dist/tokens/types.js +0 -1
- package/dist/tokens/utils/entries.cjs +0 -17
- package/dist/tokens/utils/entries.d.cts +0 -13
- package/dist/tokens/utils/entries.d.cts.map +0 -1
- package/dist/tokens/utils/entries.d.ts +0 -13
- package/dist/tokens/utils/entries.d.ts.map +0 -1
- package/dist/tokens/utils/entries.js +0 -17
- package/dist/tokens/utils/entries.js.map +0 -1
- package/dist/tokens/utils/fromEntries.cjs +0 -17
- package/dist/tokens/utils/fromEntries.d.cts +0 -13
- package/dist/tokens/utils/fromEntries.d.cts.map +0 -1
- package/dist/tokens/utils/fromEntries.d.ts +0 -13
- package/dist/tokens/utils/fromEntries.d.ts.map +0 -1
- package/dist/tokens/utils/fromEntries.js +0 -17
- package/dist/tokens/utils/fromEntries.js.map +0 -1
- package/dist/tokens/utils/mapValues.cjs +0 -12
- package/dist/tokens/utils/mapValues.d.cts +0 -6
- package/dist/tokens/utils/mapValues.d.cts.map +0 -1
- package/dist/tokens/utils/mapValues.d.ts +0 -6
- package/dist/tokens/utils/mapValues.d.ts.map +0 -1
- package/dist/tokens/utils/mapValues.js +0 -12
- package/dist/tokens/utils/mapValues.js.map +0 -1
- package/dist/types.cjs +0 -1
- package/dist/types.d.cts +0 -7
- package/dist/types.d.cts.map +0 -1
- package/dist/types.d.ts +0 -7
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -1
- package/dist/utils/assertUnreachable.cjs +0 -9
- package/dist/utils/assertUnreachable.d.cts +0 -5
- package/dist/utils/assertUnreachable.d.cts.map +0 -1
- package/dist/utils/assertUnreachable.d.ts +0 -5
- package/dist/utils/assertUnreachable.d.ts.map +0 -1
- package/dist/utils/assertUnreachable.js +0 -9
- package/dist/utils/assertUnreachable.js.map +0 -1
- package/dist/utils/composeRefs.cjs +0 -21
- package/dist/utils/composeRefs.d.cts +0 -10
- package/dist/utils/composeRefs.d.cts.map +0 -1
- package/dist/utils/composeRefs.d.ts +0 -10
- package/dist/utils/composeRefs.d.ts.map +0 -1
- package/dist/utils/composeRefs.js +0 -21
- package/dist/utils/composeRefs.js.map +0 -1
- package/dist/utils/createSlot.cjs +0 -78
- package/dist/utils/createSlot.d.cts +0 -7
- package/dist/utils/createSlot.d.cts.map +0 -1
- package/dist/utils/createSlot.d.ts +0 -7
- package/dist/utils/createSlot.d.ts.map +0 -1
- package/dist/utils/createSlot.js +0 -78
- package/dist/utils/createSlot.js.map +0 -1
- package/dist/utils/entries.cjs +0 -9
- package/dist/utils/entries.d.cts +0 -5
- package/dist/utils/entries.d.cts.map +0 -1
- package/dist/utils/entries.d.ts +0 -5
- package/dist/utils/entries.d.ts.map +0 -1
- package/dist/utils/entries.js +0 -9
- package/dist/utils/entries.js.map +0 -1
- package/dist/utils/falsyToString.cjs +0 -9
- package/dist/utils/falsyToString.d.cts +0 -5
- package/dist/utils/falsyToString.d.cts.map +0 -1
- package/dist/utils/falsyToString.d.ts +0 -5
- package/dist/utils/falsyToString.d.ts.map +0 -1
- package/dist/utils/falsyToString.js +0 -9
- package/dist/utils/falsyToString.js.map +0 -1
- package/dist/utils/getMotionVar.cjs +0 -15
- package/dist/utils/getMotionVar.d.cts +0 -17
- package/dist/utils/getMotionVar.d.cts.map +0 -1
- package/dist/utils/getMotionVar.d.ts +0 -17
- package/dist/utils/getMotionVar.d.ts.map +0 -1
- package/dist/utils/getMotionVar.js +0 -16
- package/dist/utils/getMotionVar.js.map +0 -1
- package/dist/utils/intersperse.cjs +0 -48
- package/dist/utils/intersperse.d.cts +0 -34
- package/dist/utils/intersperse.d.cts.map +0 -1
- package/dist/utils/intersperse.d.ts +0 -34
- package/dist/utils/intersperse.d.ts.map +0 -1
- package/dist/utils/intersperse.js +0 -46
- package/dist/utils/intersperse.js.map +0 -1
- package/dist/utils/mapValues.cjs +0 -12
- package/dist/utils/mapValues.d.cts +0 -6
- package/dist/utils/mapValues.d.cts.map +0 -1
- package/dist/utils/mapValues.d.ts +0 -6
- package/dist/utils/mapValues.d.ts.map +0 -1
- package/dist/utils/mapValues.js +0 -12
- package/dist/utils/mapValues.js.map +0 -1
- package/dist/utils/mergeSlotProps.cjs +0 -29
- package/dist/utils/mergeSlotProps.d.cts +0 -6
- package/dist/utils/mergeSlotProps.d.cts.map +0 -1
- package/dist/utils/mergeSlotProps.d.ts +0 -6
- package/dist/utils/mergeSlotProps.d.ts.map +0 -1
- package/dist/utils/mergeSlotProps.js +0 -29
- package/dist/utils/mergeSlotProps.js.map +0 -1
- package/src/components/Box.tsx +0 -181
- package/src/components/Divider/Divider.tsx +0 -44
- package/src/components/Divider/DividerCore.tsx +0 -101
- package/src/components/Divider/DividerInternal.tsx +0 -56
- package/src/components/Divider/index.ts +0 -1
- package/src/components/FormLabel.tsx +0 -66
- package/src/components/HStack.tsx +0 -53
- package/src/components/Icon.tsx +0 -82
- package/src/components/IconSlot.tsx +0 -82
- package/src/components/Image.tsx +0 -162
- package/src/components/Link.tsx +0 -134
- package/src/components/Text.tsx +0 -272
- package/src/components/VStack.tsx +0 -53
- package/src/components/client/AnimateHeightChange.tsx +0 -50
- package/src/components/client/Avatar/Avatar.tsx +0 -31
- package/src/components/client/Avatar/AvatarIcon.tsx +0 -103
- package/src/components/client/Avatar/AvatarImage.tsx +0 -147
- package/src/components/client/Avatar/AvatarText.tsx +0 -88
- package/src/components/client/Avatar/index.ts +0 -4
- package/src/components/client/Avatar/utils.ts +0 -105
- package/src/components/client/Badge.tsx +0 -133
- package/src/components/client/Button.tsx +0 -312
- package/src/components/client/Checkbox.tsx +0 -377
- package/src/components/client/Chip/Chip.tsx +0 -81
- package/src/components/client/Chip/ChipBase.tsx +0 -151
- package/src/components/client/Chip/ChipButton.tsx +0 -54
- package/src/components/client/Chip/ChipDismissible.tsx +0 -90
- package/src/components/client/Chip/ChipLink.tsx +0 -60
- package/src/components/client/Chip/ChipToggle.tsx +0 -79
- package/src/components/client/Chip/index.ts +0 -5
- package/src/components/client/IconButton.tsx +0 -198
- package/src/components/client/Input/Input.tsx +0 -323
- package/src/components/client/Input/InputHelpText.tsx +0 -52
- package/src/components/client/Input/InputHelpTextInternal.tsx +0 -81
- package/src/components/client/Input/index.ts +0 -2
- package/src/components/client/Menu/Menu.Content.tsx +0 -391
- package/src/components/client/Menu/Menu.Divider.tsx +0 -102
- package/src/components/client/Menu/Menu.Item.tsx +0 -114
- package/src/components/client/Menu/Menu.ItemBase.tsx +0 -265
- package/src/components/client/Menu/Menu.ItemCheckbox.tsx +0 -197
- package/src/components/client/Menu/Menu.Provider.tsx +0 -154
- package/src/components/client/Menu/Menu.Trigger.tsx +0 -119
- package/src/components/client/Menu/Menu.index.tsx +0 -9
- package/src/components/client/Menu/Menu.tsx +0 -2
- package/src/components/client/Menu/index.ts +0 -7
- package/src/components/client/Menu/utils/transformAriakitPlacement.ts +0 -66
- package/src/components/client/Pressable.tsx +0 -194
- package/src/components/client/Radio/Radio.tsx +0 -351
- package/src/components/client/Radio/RadioGroupProvider.tsx +0 -122
- package/src/components/client/Radio/RadioGroupStore.tsx +0 -56
- package/src/components/client/Radio/index.ts +0 -2
- package/src/components/client/Radio/useRadioGroup.ts +0 -149
- package/src/components/client/SpringMotionConfig.tsx +0 -151
- package/src/components/client/Switch.tsx +0 -377
- package/src/components/client/index.ts +0 -30
- package/src/components/client/motionFeatures/domAnimation.ts +0 -2
- package/src/components/client/motionFeatures/domMax.ts +0 -2
- package/src/components/experimental/Spinner.tsx +0 -30
- package/src/components/experimental/Table.mocks.tsx +0 -38
- package/src/components/experimental/Table.tsx +0 -239
- package/src/components/experimental/client/Accordion.tsx +0 -77
- package/src/components/experimental/client/AvoidMotionLibraryProvider.tsx +0 -10
- package/src/components/experimental/client/Modal.tsx +0 -68
- package/src/components/experimental/client/Popover.tsx +0 -63
- package/src/components/experimental/client/SwitchV2.tsx +0 -343
- package/src/components/experimental/client/Tabs.tsx +0 -106
- package/src/components/experimental/client/Toast.tsx +0 -186
- package/src/components/experimental/client/index.ts +0 -15
- package/src/components/experimental/index.ts +0 -48
- package/src/components/index.ts +0 -41
- package/src/defaultTokensConfig.ts +0 -31
- package/src/fixtures/index.ts +0 -638
- package/src/fixtures/macros/typesToConstants.ts +0 -42
- package/src/fixtures/utils/getScaleModeRamp.ts +0 -48
- package/src/fixtures/utils/getTailwindAsUdsColors.ts +0 -115
- package/src/flags.ts +0 -45
- package/src/hooks/useForkRef.ts +0 -34
- package/src/hooks/useNestedBorderRadius.ts +0 -138
- package/src/hooks/useRtl.ts +0 -64
- package/src/index.ts +0 -4
- package/src/providers/ColorModeProvider.tsx +0 -21
- package/src/providers/ScaleModeProvider.tsx +0 -29
- package/src/providers/ThemeProvider.tsx +0 -26
- package/src/styles/styler.ts +0 -194
- package/src/styles/stylerTypes.ts +0 -81
- package/src/styles/toast.css +0 -0
- package/src/styles/variants.ts +0 -1351
- package/src/tailwind/base/addColorModeVars.ts +0 -23
- package/src/tailwind/base/addColorModeVarsV2.ts +0 -57
- package/src/tailwind/base/addFontFaceDeclarations.ts +0 -13
- package/src/tailwind/base/addFontVars.ts +0 -9
- package/src/tailwind/base/addMotionVars.ts +0 -9
- package/src/tailwind/base/addScaleModeVars.ts +0 -33
- package/src/tailwind/base/types.ts +0 -8
- package/src/tailwind/components/getButtonStyles.ts +0 -240
- package/src/tailwind/components/getFocusRingStyles.ts +0 -32
- package/src/tailwind/components/getGroupedTextStyles.ts +0 -29
- package/src/tailwind/components/getHitTargetStyles.ts +0 -23
- package/src/tailwind/components/getIconButtonStyles.ts +0 -49
- package/src/tailwind/components/getIconStyles.ts +0 -13
- package/src/tailwind/components/getInputStyles.ts +0 -20
- package/src/tailwind/components/getResponsiveTextStyles.ts +0 -161
- package/src/tailwind/components/types.ts +0 -14
- package/src/tailwind/components/utils.ts +0 -73
- package/src/tailwind/defaultTailwindThemeAsUdsConfig.ts +0 -78
- package/src/tailwind/postcss.config.ts +0 -6
- package/src/tailwind/purger/index.ts +0 -1
- package/src/tailwind/tailwind.config.ts +0 -50
- package/src/tailwind/tailwind.d.ts +0 -5
- package/src/tailwind/tailwindPlugin.ts +0 -724
- package/src/tailwind/theme/getFontFamilyTheme.ts +0 -28
- package/src/tailwind/tsMorph.ts +0 -1
- package/src/tailwind/uds.css +0 -3
- package/src/tailwind/utils/addFontsPlugin.ts +0 -17
- package/src/tailwind/utils/getColorModeStyles.ts +0 -21
- package/src/tailwind/utils/getFontFaceDeclarations.ts +0 -12
- package/src/tailwind/utils/getFontStyles.ts +0 -38
- package/src/tailwind/utils/getMotionStyles.ts +0 -35
- package/src/tailwind/utils/getScaleModeStyles.ts +0 -23
- package/src/tailwind/utils/getShadowPresetValues.ts +0 -133
- package/src/tailwind/utils/getShadowStyles.ts +0 -26
- package/src/tailwind/utils/getShadowVars.ts +0 -40
- package/src/tailwind/utils/index.ts +0 -9
- package/src/tokens/automation/configs/avatar.ts +0 -297
- package/src/tokens/automation/configs/badge.ts +0 -306
- package/src/tokens/automation/configs/checkbox.ts +0 -226
- package/src/tokens/automation/configs/chip.ts +0 -521
- package/src/tokens/automation/configs/divider.ts +0 -112
- package/src/tokens/automation/configs/index.ts +0 -10
- package/src/tokens/automation/configs/input.ts +0 -496
- package/src/tokens/automation/configs/link.ts +0 -183
- package/src/tokens/automation/configs/menu.ts +0 -344
- package/src/tokens/automation/configs/radio.ts +0 -225
- package/src/tokens/automation/configs/switch.ts +0 -323
- package/src/tokens/automation/index.ts +0 -5
- package/src/tokens/automation/mapTextVariantFixtureToValue.ts +0 -8
- package/src/tokens/automation/properties.ts +0 -433
- package/src/tokens/automation/types/ComponentConfig.ts +0 -116
- package/src/tokens/automation/types/ComponentDB.ts +0 -1
- package/src/tokens/automation/types/ComponentStyles.ts +0 -47
- package/src/tokens/automation/types/index.ts +0 -2
- package/src/tokens/automation/utils/cartesianProduct.ts +0 -13
- package/src/tokens/automation/utils/coalesceConfigVariant.ts +0 -49
- package/src/tokens/automation/utils/defaults.ts +0 -29
- package/src/tokens/automation/utils/generateKeyFromFlatConfigPath.ts +0 -15
- package/src/tokens/automation/utils/generateSchemaKey.ts +0 -29
- package/src/tokens/automation/utils/getConfigComponentVariant.ts +0 -28
- package/src/tokens/automation/utils/getConfigVariantComponentStatesMatrix.ts +0 -40
- package/src/tokens/automation/utils/getConfigVariantProperties.ts +0 -32
- package/src/tokens/automation/utils/getConfigVariantPseudoStates.ts +0 -70
- package/src/tokens/automation/utils/getConfigVariants.ts +0 -73
- package/src/tokens/automation/utils/index.ts +0 -939
- package/src/tokens/automation/utils/mapColorFixtureToValue.ts +0 -34
- package/src/tokens/automation/utils/subcomponents.ts +0 -13
- package/src/tokens/automation/utils/variableData.ts +0 -79
- package/src/tokens/automation/utils/variantConfigGuards.ts +0 -17
- package/src/tokens/configs/borderRadius.ts +0 -23
- package/src/tokens/configs/borderWidth.ts +0 -17
- package/src/tokens/configs/button.ts +0 -888
- package/src/tokens/configs/colorMode.ts +0 -14
- package/src/tokens/configs/font.ts +0 -9
- package/src/tokens/configs/iconButton.ts +0 -28
- package/src/tokens/configs/motion.ts +0 -135
- package/src/tokens/configs/palette.ts +0 -124
- package/src/tokens/configs/scaleMode.ts +0 -28
- package/src/tokens/configs/shadow.ts +0 -286
- package/src/tokens/configs/sizes.ts +0 -23
- package/src/tokens/configs/spectrum.ts +0 -729
- package/src/tokens/configs/typography.ts +0 -417
- package/src/tokens/configs/yosConfig.ts +0 -7651
- package/src/tokens/consts/buttonMotionTokens.ts +0 -99
- package/src/tokens/consts/cssTokens.ts +0 -110
- package/src/tokens/consts/defaultModes.ts +0 -15
- package/src/tokens/consts/fontDeclarationsMap.ts +0 -509
- package/src/tokens/index.ts +0 -15
- package/src/tokens/parseButtonVariants.ts +0 -59
- package/src/tokens/parseTokens.ts +0 -122
- package/src/tokens/types.ts +0 -1882
- package/src/tokens/utils/entries.ts +0 -14
- package/src/tokens/utils/fromEntries.ts +0 -11
- package/src/tokens/utils/mapValues.ts +0 -15
- package/src/types.ts +0 -2
- package/src/utils/assertUnreachable.ts +0 -6
- package/src/utils/composeRefs.ts +0 -23
- package/src/utils/createSlot.tsx +0 -131
- package/src/utils/entries.ts +0 -6
- package/src/utils/falsyToString.ts +0 -3
- package/src/utils/getMotionVar.ts +0 -18
- package/src/utils/intersperse.ts +0 -45
- package/src/utils/mapValues.ts +0 -15
- package/src/utils/mergeSlotProps.ts +0 -70
package/src/tokens/types.ts
DELETED
|
@@ -1,1882 +0,0 @@
|
|
|
1
|
-
import type { IconSize, IconVariant, SvgIcon } from '@yahoo/uds-icons/types';
|
|
2
|
-
import type { Spring } from 'motion/react';
|
|
3
|
-
import type {
|
|
4
|
-
CSSProperties,
|
|
5
|
-
ElementType,
|
|
6
|
-
HTMLAttributes,
|
|
7
|
-
PropsWithChildren,
|
|
8
|
-
ReactElement,
|
|
9
|
-
ReactNode,
|
|
10
|
-
Ref,
|
|
11
|
-
} from 'react';
|
|
12
|
-
import type { IntRange } from 'type-fest';
|
|
13
|
-
|
|
14
|
-
import type { UniversalTokensConfigAuto } from '../../generated/universalTokensConfigAuto';
|
|
15
|
-
import type { alwaysPalette } from './configs/palette';
|
|
16
|
-
import type {
|
|
17
|
-
BUTTON_CSS_VAR_MAP,
|
|
18
|
-
ICON_BUTTON_CSS_VAR_MAP,
|
|
19
|
-
MOTION_PREFIX,
|
|
20
|
-
UDS_PREFIX,
|
|
21
|
-
} from './consts/cssTokens';
|
|
22
|
-
import type { FONT_DECLARATIONS_MAP } from './consts/fontDeclarationsMap';
|
|
23
|
-
|
|
24
|
-
/* -------------------------------------------------------------------------- */
|
|
25
|
-
/* UTILS */
|
|
26
|
-
/* -------------------------------------------------------------------------- */
|
|
27
|
-
type ClassNameWithoutDot<T extends string> = T extends `.${infer U}` ? U : never;
|
|
28
|
-
type ExtractUrlFromFontFaceRule<T extends string> = T extends `url('${infer U}') format('woff2')`
|
|
29
|
-
? U
|
|
30
|
-
: never;
|
|
31
|
-
type UnjoinClassNames<T extends string> = T extends `${infer U}.${infer V}` ? U | V : T;
|
|
32
|
-
/** Ensure an array has a max length of N */
|
|
33
|
-
type MaxLengthArray<T, N extends number, A extends T[] = []> = A['length'] extends N
|
|
34
|
-
? A
|
|
35
|
-
: T[] extends A
|
|
36
|
-
? T[]
|
|
37
|
-
: A | MaxLengthArray<T, N, [...A, T]>;
|
|
38
|
-
|
|
39
|
-
/* -------------------------------------------------------------------------- */
|
|
40
|
-
/* COLOR */
|
|
41
|
-
/* -------------------------------------------------------------------------- */
|
|
42
|
-
|
|
43
|
-
type PaletteType = keyof PaletteConfig;
|
|
44
|
-
type PaletteValue = { hue: Hue; step: HueStep; opacity?: OpacityStep };
|
|
45
|
-
type Palette = { [key in PaletteType]: keyof PaletteConfig[key] };
|
|
46
|
-
|
|
47
|
-
type Hue =
|
|
48
|
-
| 'gray'
|
|
49
|
-
| 'purple'
|
|
50
|
-
| 'indigo'
|
|
51
|
-
| 'blue'
|
|
52
|
-
| 'cyan'
|
|
53
|
-
| 'teal'
|
|
54
|
-
| 'mint'
|
|
55
|
-
| 'green'
|
|
56
|
-
| 'lime'
|
|
57
|
-
| 'citron'
|
|
58
|
-
| 'yellow'
|
|
59
|
-
| 'brown'
|
|
60
|
-
| 'nude'
|
|
61
|
-
| 'orange'
|
|
62
|
-
| 'sunset'
|
|
63
|
-
| 'red'
|
|
64
|
-
| 'rose'
|
|
65
|
-
| 'pink'
|
|
66
|
-
| 'magenta'
|
|
67
|
-
| 'carbon';
|
|
68
|
-
|
|
69
|
-
type HueStep =
|
|
70
|
-
| '0'
|
|
71
|
-
| '1'
|
|
72
|
-
| '2'
|
|
73
|
-
| '3'
|
|
74
|
-
| '4'
|
|
75
|
-
| '5'
|
|
76
|
-
| '6'
|
|
77
|
-
| '7'
|
|
78
|
-
| '8'
|
|
79
|
-
| '9'
|
|
80
|
-
| '10'
|
|
81
|
-
| '11'
|
|
82
|
-
| '12'
|
|
83
|
-
| '13'
|
|
84
|
-
| '14'
|
|
85
|
-
| '15';
|
|
86
|
-
|
|
87
|
-
type SpectrumColor = `${Hue}-${HueStep}`;
|
|
88
|
-
|
|
89
|
-
type SharedPrimaryPaletteAlias = 'brand' | 'alert' | 'positive' | 'warning' | 'info';
|
|
90
|
-
type SharedSecondaryPaletteAlias = `${SharedPrimaryPaletteAlias}-secondary`;
|
|
91
|
-
type SharedPaletteAlias = SharedPrimaryPaletteAlias | SharedSecondaryPaletteAlias;
|
|
92
|
-
type DeprecatedAccentAlias = 'accent';
|
|
93
|
-
|
|
94
|
-
type OpacityStep = `${Percentage}`;
|
|
95
|
-
|
|
96
|
-
/* ------------------------------- BACKGROUND ------------------------------- */
|
|
97
|
-
type BackgroundPaletteAlias = 'primary' | 'secondary' | DeprecatedAccentAlias | SharedPaletteAlias;
|
|
98
|
-
type BackgroundPalette = Record<BackgroundPaletteAlias, PaletteValue>;
|
|
99
|
-
|
|
100
|
-
/* ------------------------------- FOREGROUND ------------------------------- */
|
|
101
|
-
type ForegroundPaletteAlias =
|
|
102
|
-
| 'primary'
|
|
103
|
-
| 'secondary'
|
|
104
|
-
| 'tertiary'
|
|
105
|
-
| 'muted'
|
|
106
|
-
| 'on-color'
|
|
107
|
-
| DeprecatedAccentAlias
|
|
108
|
-
| SharedPaletteAlias;
|
|
109
|
-
type ForegroundPalette = Record<ForegroundPaletteAlias, PaletteValue>;
|
|
110
|
-
|
|
111
|
-
/* ---------------------------------- LINE ---------------------------------- */
|
|
112
|
-
type LinePaletteAlias =
|
|
113
|
-
| 'primary'
|
|
114
|
-
| 'secondary'
|
|
115
|
-
| 'tertiary'
|
|
116
|
-
| 'muted'
|
|
117
|
-
| DeprecatedAccentAlias
|
|
118
|
-
| SharedPaletteAlias;
|
|
119
|
-
type LinePalette = Record<LinePaletteAlias, PaletteValue>;
|
|
120
|
-
|
|
121
|
-
/* --------------------------------- SHADOW --------------------------------- */
|
|
122
|
-
type ShadowPaletteAlias = 'primary' | 'secondary';
|
|
123
|
-
type ShadowPalette = Record<ShadowPaletteAlias, PaletteValue>;
|
|
124
|
-
|
|
125
|
-
/* --------------------------------- ALWAYS --------------------------------- */
|
|
126
|
-
type AlwaysPalette = typeof alwaysPalette;
|
|
127
|
-
type AlwaysPaletteAlias = keyof AlwaysPalette;
|
|
128
|
-
|
|
129
|
-
/* -------------------------- COLOR PROPERTY VALUES ------------------------- */
|
|
130
|
-
type ForegroundColor = ForegroundPaletteAlias | AlwaysPaletteAlias;
|
|
131
|
-
type LineColor = LinePaletteAlias | AlwaysPaletteAlias;
|
|
132
|
-
type BackgroundColor = BackgroundPaletteAlias | AlwaysPaletteAlias;
|
|
133
|
-
type ShadowColor = ShadowPaletteAlias | SpectrumColor | AlwaysPaletteAlias;
|
|
134
|
-
|
|
135
|
-
type PropertyToPaletteAliasMap = {
|
|
136
|
-
backgroundColor: BackgroundColor;
|
|
137
|
-
borderColor: LineColor;
|
|
138
|
-
color: ForegroundColor;
|
|
139
|
-
};
|
|
140
|
-
|
|
141
|
-
/* -------------------------------------------------------------------------- */
|
|
142
|
-
/* SHADOW TYPES */
|
|
143
|
-
/* -------------------------------------------------------------------------- */
|
|
144
|
-
type ShadowSpectrumColor = { type: 'spectrum'; value: SpectrumColor };
|
|
145
|
-
type ShadowPaletteColor = { type: 'palette'; value: ShadowColor };
|
|
146
|
-
type ShadowAlwaysColor = { type: 'always'; value: AlwaysPaletteAlias };
|
|
147
|
-
type ShadowColorConfig = ShadowPaletteColor | ShadowSpectrumColor | ShadowAlwaysColor;
|
|
148
|
-
|
|
149
|
-
type ShadowOffset = `-${Exclude<SpacingAlias, '0'>}` | SpacingAlias;
|
|
150
|
-
type ShadowOpacity = `${IntRange<0, 101>}`;
|
|
151
|
-
type ShadowSpreadRadius = `-${Exclude<SpacingAlias, '0'>}` | SpacingAlias;
|
|
152
|
-
|
|
153
|
-
type ShadowPreset = {
|
|
154
|
-
offsetX: ShadowOffset;
|
|
155
|
-
offsetY: ShadowOffset;
|
|
156
|
-
blur: SpacingAlias;
|
|
157
|
-
spread: ShadowSpreadRadius;
|
|
158
|
-
color: ShadowColorConfig;
|
|
159
|
-
opacity: ShadowOpacity;
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
type ShadowVariant = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
163
|
-
type ShadowVariantInvert = `${Exclude<ShadowVariant, 'none'>}-invert`;
|
|
164
|
-
type ShadowVariantWithInvert = ShadowVariant | ShadowVariantInvert;
|
|
165
|
-
type ShadowVariantConfig = MaxLengthArray<ShadowPreset, 3>;
|
|
166
|
-
type ShadowType = 'drop' | 'inset';
|
|
167
|
-
type ShadowTypeConfig = Record<ShadowVariant, ShadowVariantConfig>;
|
|
168
|
-
|
|
169
|
-
type ShadowConfig = {
|
|
170
|
-
drop: Record<ShadowVariant, ShadowVariantConfig>;
|
|
171
|
-
inset: Record<ShadowVariant | ShadowVariantInvert, ShadowVariantConfig>;
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
/* -------------------------------------------------------------------------- */
|
|
175
|
-
/* UNITS */
|
|
176
|
-
/* -------------------------------------------------------------------------- */
|
|
177
|
-
|
|
178
|
-
type Percentage = IntRange<0, 101>;
|
|
179
|
-
|
|
180
|
-
type PixelsUnit = { value: number; type: 'px' };
|
|
181
|
-
type RemsUnit = { value: number; type: 'rem' };
|
|
182
|
-
type UnitlessUnit = { value: number; type: 'unitless' };
|
|
183
|
-
type PercentageUnit = { value: Percentage; type: 'percentage' };
|
|
184
|
-
|
|
185
|
-
/* -------------------------------------------------------------------------- */
|
|
186
|
-
/* BREAKPOINTS */
|
|
187
|
-
/* -------------------------------------------------------------------------- */
|
|
188
|
-
|
|
189
|
-
type BreakpointValue = PixelsUnit;
|
|
190
|
-
|
|
191
|
-
type BreakpointsConfig = {
|
|
192
|
-
sm: BreakpointValue;
|
|
193
|
-
md: BreakpointValue;
|
|
194
|
-
lg: BreakpointValue;
|
|
195
|
-
xl: BreakpointValue;
|
|
196
|
-
'2xl': BreakpointValue;
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
type Breakpoint = keyof BreakpointsConfig;
|
|
200
|
-
type BreakpointWithBase = Breakpoint | 'base';
|
|
201
|
-
|
|
202
|
-
/* -------------------------------------------------------------------------- */
|
|
203
|
-
/* TYPOGRAPHY */
|
|
204
|
-
/* -------------------------------------------------------------------------- */
|
|
205
|
-
type TextVariantTypography =
|
|
206
|
-
| 'display1'
|
|
207
|
-
| 'display2'
|
|
208
|
-
| 'display3'
|
|
209
|
-
| 'title1'
|
|
210
|
-
| 'title2'
|
|
211
|
-
| 'title3'
|
|
212
|
-
| 'title4'
|
|
213
|
-
| 'headline1'
|
|
214
|
-
| 'body1'
|
|
215
|
-
| 'label1'
|
|
216
|
-
| 'label2'
|
|
217
|
-
| 'label3'
|
|
218
|
-
| 'label4'
|
|
219
|
-
| 'caption1'
|
|
220
|
-
| 'caption2'
|
|
221
|
-
| 'legal1';
|
|
222
|
-
|
|
223
|
-
type TextVariantUi = 'ui1' | 'ui2' | 'ui3' | 'ui4' | 'ui5' | 'ui6';
|
|
224
|
-
type TextVariantWithoutEmphasized = TextVariantTypography | TextVariantUi;
|
|
225
|
-
type TextVariant = TextVariantWithoutEmphasized | `${TextVariantWithoutEmphasized}/emphasized`;
|
|
226
|
-
|
|
227
|
-
type FontAlias = 'sans' | 'sans-alt' | 'serif' | 'serif-alt' | 'mono';
|
|
228
|
-
type FontType = 'sans' | 'serif' | 'mono';
|
|
229
|
-
type FontID = keyof typeof FONT_DECLARATIONS_MAP;
|
|
230
|
-
type FontDeclaration = (typeof FONT_DECLARATIONS_MAP)[FontID]['declarations'][number];
|
|
231
|
-
type FontFamilyCDNUrl = ExtractUrlFromFontFaceRule<FontDeclaration['src']>;
|
|
232
|
-
type FontConfig = Record<FontAlias, FontID>;
|
|
233
|
-
type FontCssVar = `--${typeof UDS_PREFIX}-font-${FontAlias}`;
|
|
234
|
-
|
|
235
|
-
type FontWeightNumeric = `${IntRange<100, 901, 100>}`;
|
|
236
|
-
type FontWeightDescriptive =
|
|
237
|
-
| 'thin'
|
|
238
|
-
| 'extralight'
|
|
239
|
-
| 'light'
|
|
240
|
-
| 'regular'
|
|
241
|
-
| 'medium'
|
|
242
|
-
| 'semibold'
|
|
243
|
-
| 'bold'
|
|
244
|
-
| 'extrabold'
|
|
245
|
-
| 'black';
|
|
246
|
-
|
|
247
|
-
type TextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
|
|
248
|
-
type TextDecorationLine = 'none' | 'underline';
|
|
249
|
-
type LetterSpacing = 'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest';
|
|
250
|
-
type LineClampAlias = `${IntRange<1, 7>}`;
|
|
251
|
-
type LineHeight = number;
|
|
252
|
-
type FontSize = number;
|
|
253
|
-
|
|
254
|
-
type TextTransformConfig = Record<TextVariantWithoutEmphasized, TextTransform>;
|
|
255
|
-
type FontSizeConfig = Record<TextVariantWithoutEmphasized, FontSize>;
|
|
256
|
-
type FontFamilyConfig = Record<TextVariantWithoutEmphasized, FontAlias>;
|
|
257
|
-
type FontWeightConfig = Record<TextVariantWithoutEmphasized, number>;
|
|
258
|
-
type FontSlantConfig = Record<TextVariantWithoutEmphasized, number>;
|
|
259
|
-
type FontWidthConfig = Record<TextVariantWithoutEmphasized, number>;
|
|
260
|
-
type LineHeightConfig = Record<TextVariantWithoutEmphasized, LineHeight>;
|
|
261
|
-
type TextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform';
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* Defines a structured CSS value, separating the raw value from its unit type.
|
|
265
|
-
* 'unitless' is for unitless values like line-height or font-weight.
|
|
266
|
-
*/
|
|
267
|
-
type TypographyUnitValue = PixelsUnit | UnitlessUnit;
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Defines the structure for a single, responsive CSS property.
|
|
271
|
-
* The value can now be a simple string (for properties like fontFamily)
|
|
272
|
-
* or a structured CssValue object (for properties like fontSize).
|
|
273
|
-
*/
|
|
274
|
-
type TypographyResponsiveProperty<T> = {
|
|
275
|
-
/**
|
|
276
|
-
* The base value for the property, applying from 0px up to the 'sm' breakpoint.
|
|
277
|
-
*/
|
|
278
|
-
base: T;
|
|
279
|
-
/**
|
|
280
|
-
* Responsive overrides for each breakpoint. If this key is present, it must
|
|
281
|
-
* contain a value for every defined breakpoint.
|
|
282
|
-
*/
|
|
283
|
-
breakpoints: Record<Breakpoint, T>;
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
type TypographyStyleProperty =
|
|
287
|
-
| 'fontFamily'
|
|
288
|
-
| 'fontSize'
|
|
289
|
-
| 'fontWeight'
|
|
290
|
-
| 'lineHeight'
|
|
291
|
-
| 'textTransform'
|
|
292
|
-
| 'fontSlant'
|
|
293
|
-
| 'fontWidth';
|
|
294
|
-
|
|
295
|
-
type TypographyStyle = {
|
|
296
|
-
fontFamily: TypographyResponsiveProperty<FontAlias>;
|
|
297
|
-
textTransform: TypographyResponsiveProperty<TextTransform>;
|
|
298
|
-
fontSize: TypographyResponsiveProperty<TypographyUnitValue>;
|
|
299
|
-
fontWeight: TypographyResponsiveProperty<TypographyUnitValue>;
|
|
300
|
-
lineHeight: TypographyResponsiveProperty<TypographyUnitValue>;
|
|
301
|
-
fontSlant: TypographyResponsiveProperty<TypographyUnitValue>;
|
|
302
|
-
fontWidth: TypographyResponsiveProperty<TypographyUnitValue>;
|
|
303
|
-
};
|
|
304
|
-
|
|
305
|
-
type TypographyConfig = Record<TextVariant, TypographyStyle>;
|
|
306
|
-
|
|
307
|
-
type GlobalDefaultsConfig = {
|
|
308
|
-
breakpoint: Breakpoint | 'base';
|
|
309
|
-
enableResponsiveType: boolean;
|
|
310
|
-
};
|
|
311
|
-
|
|
312
|
-
/* -------------------------------------------------------------------------- */
|
|
313
|
-
/* SIZING */
|
|
314
|
-
/* -------------------------------------------------------------------------- */
|
|
315
|
-
// TODO - ensure we have a consistent naming convention for these types, and carry the same
|
|
316
|
-
// convention across the entire design system (primary | secondary, fill | outline, etc)
|
|
317
|
-
type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
318
|
-
type TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;
|
|
319
|
-
|
|
320
|
-
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
321
|
-
type AvatarSizeConfig = Record<AvatarSize, number>;
|
|
322
|
-
type AvatarShape = BorderRadius;
|
|
323
|
-
|
|
324
|
-
type IconSizeConfig = Record<IconSize, number>;
|
|
325
|
-
|
|
326
|
-
/* -------------------------------------------------------------------------- */
|
|
327
|
-
/* LAYOUT */
|
|
328
|
-
/* -------------------------------------------------------------------------- */
|
|
329
|
-
|
|
330
|
-
type SpacingAlias =
|
|
331
|
-
| '0'
|
|
332
|
-
| 'px'
|
|
333
|
-
| '0.5'
|
|
334
|
-
| '1'
|
|
335
|
-
| '1.5'
|
|
336
|
-
| '2'
|
|
337
|
-
| '2.5'
|
|
338
|
-
| '3'
|
|
339
|
-
| '3.5'
|
|
340
|
-
| '4'
|
|
341
|
-
| '4.5'
|
|
342
|
-
| '5'
|
|
343
|
-
| '5.5'
|
|
344
|
-
| '6'
|
|
345
|
-
| '7'
|
|
346
|
-
| '8'
|
|
347
|
-
| '9'
|
|
348
|
-
| '10'
|
|
349
|
-
| '11'
|
|
350
|
-
| '12'
|
|
351
|
-
| '14'
|
|
352
|
-
| '16'
|
|
353
|
-
| '20'
|
|
354
|
-
| '24'
|
|
355
|
-
| '28'
|
|
356
|
-
| '32'
|
|
357
|
-
| '36'
|
|
358
|
-
| '40'
|
|
359
|
-
| '44'
|
|
360
|
-
| '48'
|
|
361
|
-
| '52'
|
|
362
|
-
| '56'
|
|
363
|
-
| '60'
|
|
364
|
-
| '64'
|
|
365
|
-
| '72'
|
|
366
|
-
| '80'
|
|
367
|
-
| '96';
|
|
368
|
-
|
|
369
|
-
type SpacingConfig = Record<SpacingAlias, number>;
|
|
370
|
-
|
|
371
|
-
/* -------------------------------------------------------------------------- */
|
|
372
|
-
/* OTHER TOKENS */
|
|
373
|
-
/* -------------------------------------------------------------------------- */
|
|
374
|
-
|
|
375
|
-
type BorderRadius = TShirtSize;
|
|
376
|
-
type BorderRadiusConfig = Record<BorderRadius, number>;
|
|
377
|
-
|
|
378
|
-
type BorderWidth = 'none' | 'thin' | 'medium' | 'thick';
|
|
379
|
-
type BorderWidthConfig = Record<BorderWidth, number>;
|
|
380
|
-
|
|
381
|
-
/* -------------------------------------------------------------------------- */
|
|
382
|
-
/* MODE CONFIGS */
|
|
383
|
-
/* -------------------------------------------------------------------------- */
|
|
384
|
-
type ColorModeConfig = Record<ColorMode, ColorsConfig>;
|
|
385
|
-
|
|
386
|
-
type ColorsConfig = {
|
|
387
|
-
palette: PaletteConfig;
|
|
388
|
-
spectrum: SpectrumConfig;
|
|
389
|
-
};
|
|
390
|
-
|
|
391
|
-
type SpectrumValue = Record<HueStep, string>;
|
|
392
|
-
type SpectrumConfig = Record<Hue, SpectrumValue>;
|
|
393
|
-
|
|
394
|
-
type PaletteConfig = {
|
|
395
|
-
background: BackgroundPalette;
|
|
396
|
-
foreground: ForegroundPalette;
|
|
397
|
-
line: LinePalette;
|
|
398
|
-
shadow: ShadowPalette;
|
|
399
|
-
};
|
|
400
|
-
|
|
401
|
-
type ScaleConfig = {
|
|
402
|
-
avatarSizes: AvatarSizeConfig;
|
|
403
|
-
iconSizes: IconSizeConfig;
|
|
404
|
-
borderRadius: BorderRadiusConfig;
|
|
405
|
-
borderWidth: BorderWidthConfig;
|
|
406
|
-
};
|
|
407
|
-
|
|
408
|
-
type ScaleModeConfig = Record<ScaleMode, ScaleConfig>;
|
|
409
|
-
|
|
410
|
-
/* -------------------------------------------------------------------------- */
|
|
411
|
-
/* BUTTON CONFIG */
|
|
412
|
-
/* -------------------------------------------------------------------------- */
|
|
413
|
-
|
|
414
|
-
type ButtonSize = TShirtSizeCommon;
|
|
415
|
-
type ButtonPalette = 'brand' | 'accent' | 'alert' | 'positive' | 'warning' | 'info';
|
|
416
|
-
type ButtonVariant = 'primary' | 'secondary' | 'tertiary';
|
|
417
|
-
type ButtonState = 'hover' | 'pressed';
|
|
418
|
-
type ButtonKind = 'fill' | 'outline' | 'ghost';
|
|
419
|
-
type ButtonMotionProperty = 'scale';
|
|
420
|
-
type ButtonMotionEffect = 'up' | 'down' | 'none';
|
|
421
|
-
type ButtonColorEffect = 'none' | 'custom';
|
|
422
|
-
type ButtonColorProperty = 'backgroundColor' | 'borderColor' | 'color';
|
|
423
|
-
type ButtonSizeProperty = keyof ButtonSizeConfig;
|
|
424
|
-
|
|
425
|
-
// TODO: Temporary solution for collapsing palette and variant
|
|
426
|
-
type ButtonVariantFlat =
|
|
427
|
-
// primary, secondary, tertiary (formerly "accent" palette)
|
|
428
|
-
| ButtonVariant
|
|
429
|
-
// brand, alert, positive, warning
|
|
430
|
-
| `${Exclude<ButtonPalette, 'accent'>}`
|
|
431
|
-
// brand-secondary, brand-tertiary, etc..
|
|
432
|
-
| `${Exclude<ButtonPalette, 'accent'>}-${Exclude<ButtonVariant, 'primary'>}`;
|
|
433
|
-
|
|
434
|
-
type ButtonColorEffectConfig = {
|
|
435
|
-
options: ButtonColorEffect[];
|
|
436
|
-
value: ButtonColorEffect;
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
type ButtonMotionEffectConfig = {
|
|
440
|
-
options: ButtonMotionEffect[];
|
|
441
|
-
value: ButtonMotionEffect;
|
|
442
|
-
};
|
|
443
|
-
|
|
444
|
-
type ButtonSpectrumColor = {
|
|
445
|
-
type: 'spectrum';
|
|
446
|
-
value: SpectrumColor;
|
|
447
|
-
};
|
|
448
|
-
type ButtonPaletteColor<T> = {
|
|
449
|
-
type: 'palette';
|
|
450
|
-
value: T;
|
|
451
|
-
};
|
|
452
|
-
type AlwaysPaletteColor<T> = {
|
|
453
|
-
type: 'always';
|
|
454
|
-
value: T;
|
|
455
|
-
};
|
|
456
|
-
|
|
457
|
-
type ButtonColorConfig<Property extends ButtonColorProperty> =
|
|
458
|
-
| ButtonPaletteColor<PropertyToPaletteAliasMap[Property]>
|
|
459
|
-
| ButtonSpectrumColor;
|
|
460
|
-
|
|
461
|
-
type ButtonColorPropertyConfig = {
|
|
462
|
-
[key in ButtonColorProperty]: ButtonColorConfig<key>;
|
|
463
|
-
};
|
|
464
|
-
|
|
465
|
-
type ButtonMotionPropertyConfig = {
|
|
466
|
-
[key in ButtonMotionProperty]: ButtonMotionEffect;
|
|
467
|
-
};
|
|
468
|
-
|
|
469
|
-
type ConfigurableShadowField<T> = {
|
|
470
|
-
value: T | 'custom';
|
|
471
|
-
config: ShadowVariantConfig | null;
|
|
472
|
-
};
|
|
473
|
-
|
|
474
|
-
type ConfigurableDropShadowValues = ConfigurableShadowField<ShadowVariant>['value'];
|
|
475
|
-
type ConfigurableInsetShadowValues = ConfigurableShadowField<ShadowVariantWithInvert>['value'];
|
|
476
|
-
|
|
477
|
-
type ButtonShadowPropertyConfig = {
|
|
478
|
-
dropShadow: ConfigurableShadowField<ShadowVariant>;
|
|
479
|
-
insetShadow: ConfigurableShadowField<ShadowVariantWithInvert>;
|
|
480
|
-
};
|
|
481
|
-
|
|
482
|
-
type ButtonBaseConfig = {
|
|
483
|
-
borderWidth: BorderWidth;
|
|
484
|
-
borderRadius: BorderRadius;
|
|
485
|
-
} & ButtonColorPropertyConfig &
|
|
486
|
-
ButtonMotionPropertyConfig &
|
|
487
|
-
ButtonShadowPropertyConfig;
|
|
488
|
-
|
|
489
|
-
type ButtonSizeConfig = {
|
|
490
|
-
spacingHorizontal: SpacingAlias;
|
|
491
|
-
spacingVertical: SpacingAlias;
|
|
492
|
-
gap: SpacingAlias;
|
|
493
|
-
iconSize: IconSize;
|
|
494
|
-
textVariant: TextVariant;
|
|
495
|
-
};
|
|
496
|
-
|
|
497
|
-
type ButtonVariantConfig = {
|
|
498
|
-
kind: ButtonKind;
|
|
499
|
-
base: ButtonBaseConfig;
|
|
500
|
-
effect: ButtonStateEffectConfig;
|
|
501
|
-
state: ButtonStateConfig;
|
|
502
|
-
};
|
|
503
|
-
|
|
504
|
-
type ButtonPaletteConfig = {
|
|
505
|
-
[variant in ButtonVariant]: ButtonVariantConfig;
|
|
506
|
-
};
|
|
507
|
-
|
|
508
|
-
type ButtonStateConfig = {
|
|
509
|
-
[state in ButtonState]: ButtonColorPropertyConfig &
|
|
510
|
-
ButtonMotionPropertyConfig &
|
|
511
|
-
ButtonShadowPropertyConfig;
|
|
512
|
-
};
|
|
513
|
-
|
|
514
|
-
type ButtonColorEffectConfigMap = {
|
|
515
|
-
[property in ButtonColorProperty]: ButtonColorEffectConfig;
|
|
516
|
-
};
|
|
517
|
-
|
|
518
|
-
type ButtonMotionEffectConfigMap = {
|
|
519
|
-
[property in ButtonMotionProperty]: ButtonMotionEffectConfig;
|
|
520
|
-
};
|
|
521
|
-
|
|
522
|
-
type ButtonStateEffectConfig = {
|
|
523
|
-
[state in ButtonState]: ButtonColorEffectConfigMap & ButtonMotionEffectConfigMap;
|
|
524
|
-
};
|
|
525
|
-
|
|
526
|
-
type ButtonDefaultsConfig = {
|
|
527
|
-
palette: ButtonPalette;
|
|
528
|
-
variant: ButtonVariant;
|
|
529
|
-
size: ButtonSize;
|
|
530
|
-
};
|
|
531
|
-
|
|
532
|
-
interface ButtonConfig {
|
|
533
|
-
defaults: ButtonDefaultsConfig;
|
|
534
|
-
size: {
|
|
535
|
-
[size in ButtonSize]: ButtonSizeConfig;
|
|
536
|
-
};
|
|
537
|
-
palette: {
|
|
538
|
-
[palette in ButtonPalette]: ButtonPaletteConfig;
|
|
539
|
-
};
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
type ButtonCssVarMap = typeof BUTTON_CSS_VAR_MAP;
|
|
543
|
-
type ButtonCssVar = ButtonCssVarMap[keyof ButtonCssVarMap];
|
|
544
|
-
type ButtonStateCssProperty = keyof Omit<ButtonBaseConfig, 'scale'>;
|
|
545
|
-
type ButtonSizeCssProperty = keyof Pick<
|
|
546
|
-
ButtonCssVarMap,
|
|
547
|
-
'padding' | 'columnGap' | 'fontWeight' | 'fontSize' | 'lineHeight' | 'textTransform' | 'iconSize'
|
|
548
|
-
>;
|
|
549
|
-
|
|
550
|
-
type ButtonStateCssVar = Pick<ButtonCssVarMap, ButtonStateCssProperty>[ButtonStateCssProperty];
|
|
551
|
-
type ButtonSizeCssVar = Pick<ButtonCssVarMap, ButtonSizeCssProperty>[ButtonSizeCssProperty];
|
|
552
|
-
type ButtonStateVarsMap = Record<ButtonStateCssVar, string>;
|
|
553
|
-
type ButtonSizeVarsMap = Record<ButtonSizeCssVar, string>;
|
|
554
|
-
|
|
555
|
-
type ButtonPseudoStyles<ClassName extends string> = {
|
|
556
|
-
[key in `.${ButtonState}`]: Record<ClassName, ButtonStateVarsMap>;
|
|
557
|
-
};
|
|
558
|
-
|
|
559
|
-
type ButtonStateVarsWithPseudoStyles<T extends string> = Record<T, ButtonStateVarsMap> &
|
|
560
|
-
ButtonPseudoStyles<T>;
|
|
561
|
-
|
|
562
|
-
/* -------------------------------------------------------------------------- */
|
|
563
|
-
/* BUTTON CSS */
|
|
564
|
-
/* -------------------------------------------------------------------------- */
|
|
565
|
-
|
|
566
|
-
type ButtonClassMap = {
|
|
567
|
-
'.uds-button': {
|
|
568
|
-
/** Hardcoded in tailwind plugin */
|
|
569
|
-
display: CSSProperties['display'];
|
|
570
|
-
alignItems: CSSProperties['alignItems'];
|
|
571
|
-
whiteSpace: CSSProperties['whiteSpace'];
|
|
572
|
-
/** Driven by css variables */
|
|
573
|
-
borderRadius: string;
|
|
574
|
-
color: string;
|
|
575
|
-
backgroundColor: string;
|
|
576
|
-
boxShadow: string;
|
|
577
|
-
padding: string;
|
|
578
|
-
columnGap: string;
|
|
579
|
-
fontFamily: string;
|
|
580
|
-
fontWeight: string;
|
|
581
|
-
fontSize: string;
|
|
582
|
-
lineHeight: string;
|
|
583
|
-
textTransform: string;
|
|
584
|
-
};
|
|
585
|
-
} & ButtonStateVarsWithPseudoStyles<
|
|
586
|
-
| `.uds-button-${ButtonPalette}`
|
|
587
|
-
| `.uds-button-${ButtonVariant}`
|
|
588
|
-
| `.uds-button-${ButtonPalette}.uds-button-${ButtonVariant}`
|
|
589
|
-
> &
|
|
590
|
-
Record<`.uds-button-${ButtonSize}`, ButtonSizeVarsMap> &
|
|
591
|
-
ButtonPseudoStyles<'.uds-button'>;
|
|
592
|
-
|
|
593
|
-
type ButtonClassName = UnjoinClassNames<
|
|
594
|
-
ClassNameWithoutDot<Exclude<keyof ButtonClassMap, `.${ButtonState}`>>
|
|
595
|
-
>;
|
|
596
|
-
|
|
597
|
-
/* -------------------------------------------------------------------------- */
|
|
598
|
-
/* ICON BUTTON */
|
|
599
|
-
/* -------------------------------------------------------------------------- */
|
|
600
|
-
type IconButtonSize = Extract<TShirtSize, 'xs' | TShirtSizeCommon | 'xl'>;
|
|
601
|
-
|
|
602
|
-
interface IconButtonSizeConfig {
|
|
603
|
-
spacing: SpacingAlias;
|
|
604
|
-
iconSize: IconSize;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
interface IconButtonDefaultsConfig extends Omit<ButtonDefaultsConfig, 'size'> {
|
|
608
|
-
size: IconButtonSize; // New size property specific to IconButtonDefaultsConfig
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
interface IconButtonConfig {
|
|
612
|
-
defaults: IconButtonDefaultsConfig;
|
|
613
|
-
size: {
|
|
614
|
-
[size in IconButtonSize]: IconButtonSizeConfig;
|
|
615
|
-
};
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
type IconButtonCssVarMap = typeof ICON_BUTTON_CSS_VAR_MAP;
|
|
619
|
-
type IconButtonCssVar = IconButtonCssVarMap[keyof IconButtonCssVarMap];
|
|
620
|
-
type IconButtonSizeCssVar = IconButtonCssVarMap[keyof IconButtonCssVarMap];
|
|
621
|
-
type IconButtonSizeVarsMap = Record<IconButtonSizeCssVar, string>;
|
|
622
|
-
/* -------------------------------------------------------------------------- */
|
|
623
|
-
/* ICON BUTTON CSS */
|
|
624
|
-
/* -------------------------------------------------------------------------- */
|
|
625
|
-
|
|
626
|
-
type IconButtonClassMap = {
|
|
627
|
-
'.uds-icon-button': {
|
|
628
|
-
/** Hardcoded in tailwind plugin */
|
|
629
|
-
display: CSSProperties['display'];
|
|
630
|
-
alignItems: CSSProperties['alignItems'];
|
|
631
|
-
padding: string;
|
|
632
|
-
};
|
|
633
|
-
} & Record<`.uds-icon-button-${IconButtonSize}`, IconButtonSizeVarsMap>;
|
|
634
|
-
|
|
635
|
-
type IconButtonClassName = UnjoinClassNames<ClassNameWithoutDot<keyof IconButtonClassMap>>;
|
|
636
|
-
|
|
637
|
-
/* -------------------------------------------------------------------------- */
|
|
638
|
-
/* TEXT INPUT */
|
|
639
|
-
/* -------------------------------------------------------------------------- */
|
|
640
|
-
type InputSize = Extract<TShirtSizeCommon, 'md' | 'lg'>;
|
|
641
|
-
|
|
642
|
-
/* -------------------------------------------------------------------------- */
|
|
643
|
-
/* FULL TOKENS CONFIG */
|
|
644
|
-
|
|
645
|
-
/* -------------------------------------------------------------------------- */
|
|
646
|
-
|
|
647
|
-
interface UniversalTokensConfig extends UniversalTokensConfigAuto {
|
|
648
|
-
version: string;
|
|
649
|
-
colorMode: ColorModeConfig;
|
|
650
|
-
scaleMode: ScaleModeConfig;
|
|
651
|
-
font: FontConfig;
|
|
652
|
-
button: ButtonConfig;
|
|
653
|
-
iconButton: IconButtonConfig;
|
|
654
|
-
motion: MotionConfig;
|
|
655
|
-
shadow: ShadowConfig;
|
|
656
|
-
breakpoints: BreakpointsConfig;
|
|
657
|
-
typography: TypographyConfig;
|
|
658
|
-
globalDefaults: GlobalDefaultsConfig;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
/* -------------------------------------------------------------------------- */
|
|
662
|
-
/* CSS VARIABLES */
|
|
663
|
-
/* -------------------------------------------------------------------------- */
|
|
664
|
-
type UdsCssVar = FontCssVar | ButtonCssVar | IconButtonCssVar;
|
|
665
|
-
|
|
666
|
-
/* -------------------------------------------------------------------------- */
|
|
667
|
-
/* MODES */
|
|
668
|
-
/* -------------------------------------------------------------------------- */
|
|
669
|
-
type PlatformMode = 'web' | 'ios' | 'android';
|
|
670
|
-
type ColorMode = 'light' | 'dark';
|
|
671
|
-
type ColorModeForApp = ColorMode | 'system';
|
|
672
|
-
type ScaleMode = 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge';
|
|
673
|
-
type ScaleModeForApp = ScaleMode | 'system';
|
|
674
|
-
type HighContrastMode = boolean;
|
|
675
|
-
type RegionMode = '🇺🇸 US' | '🇩🇪 DE' | '🇫🇷 FR' | '🇨🇳 CN';
|
|
676
|
-
|
|
677
|
-
interface Modes {
|
|
678
|
-
colorMode: ColorMode;
|
|
679
|
-
scaleMode: ScaleMode;
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
/* -------------------------------------------------------------------------- */
|
|
683
|
-
/* MOTION */
|
|
684
|
-
/* -------------------------------------------------------------------------- */
|
|
685
|
-
type Animation = 'none' | 'spin' | 'ping' | 'pulse' | 'bounce';
|
|
686
|
-
type TransitionDelay = '0' | '75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000';
|
|
687
|
-
type TransitionDuration = '0' | '75' | '100' | '150' | '200' | '300' | '500' | '700' | '1000';
|
|
688
|
-
type TransitionTiming = 'linear' | 'in' | 'out' | 'in-out';
|
|
689
|
-
|
|
690
|
-
/* -------------------------- Spring motion configs ------------------------- */
|
|
691
|
-
type MotionVariant = 'damped' | 'smooth' | 'subtle' | 'bouncy' | 'veryBouncy';
|
|
692
|
-
type MotionVariantSpeed = '1' | '2' | '3' | '4';
|
|
693
|
-
type MotionSpringConfigOptions = 'damping' | 'stiffness';
|
|
694
|
-
type MotionSpringConfig = Required<Pick<Spring, MotionSpringConfigOptions>>;
|
|
695
|
-
type MotionCssVar =
|
|
696
|
-
`--${typeof MOTION_PREFIX}-${MotionVariant}-${MotionVariantSpeed}-${keyof MotionSpringConfig}`;
|
|
697
|
-
type MotionVariantValues = {
|
|
698
|
-
[key in MotionVariantSpeed]: MotionSpringConfig;
|
|
699
|
-
};
|
|
700
|
-
type MotionConfig = Record<MotionVariant, MotionVariantValues>;
|
|
701
|
-
|
|
702
|
-
/* -------------------------------------------------------------------------- */
|
|
703
|
-
/* MISC */
|
|
704
|
-
/* -------------------------------------------------------------------------- */
|
|
705
|
-
type AriaAttribute =
|
|
706
|
-
| 'busy'
|
|
707
|
-
| 'checked'
|
|
708
|
-
| 'disabled'
|
|
709
|
-
| 'expanded'
|
|
710
|
-
| 'hidden'
|
|
711
|
-
| 'pressed'
|
|
712
|
-
| 'readonly'
|
|
713
|
-
| 'required'
|
|
714
|
-
| 'selected'
|
|
715
|
-
| 'invalid';
|
|
716
|
-
|
|
717
|
-
type DataAttribute =
|
|
718
|
-
| 'active'
|
|
719
|
-
| 'active-item'
|
|
720
|
-
| 'autofill'
|
|
721
|
-
| 'backdrop'
|
|
722
|
-
| 'enter'
|
|
723
|
-
| 'leave'
|
|
724
|
-
| 'focus-visible';
|
|
725
|
-
|
|
726
|
-
/* -------------------------------------------------------------------------- */
|
|
727
|
-
/* FLEX */
|
|
728
|
-
/* -------------------------------------------------------------------------- */
|
|
729
|
-
type Flex = '1' | 'auto' | 'initial' | 'none';
|
|
730
|
-
type FlexGrow = '0' | '1' | '2' | '3';
|
|
731
|
-
type FlexShrink = '0' | '1';
|
|
732
|
-
type FlexAlignContent =
|
|
733
|
-
| 'flex-start'
|
|
734
|
-
| 'flex-end'
|
|
735
|
-
| 'center'
|
|
736
|
-
| 'stretch'
|
|
737
|
-
| 'space-between'
|
|
738
|
-
| 'space-around';
|
|
739
|
-
type FlexAlignItems = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
|
|
740
|
-
type FlexAlignSelf = 'auto' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
|
|
741
|
-
type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
742
|
-
type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
743
|
-
type FlexJustifyContent =
|
|
744
|
-
| 'flex-start'
|
|
745
|
-
| 'flex-end'
|
|
746
|
-
| 'center'
|
|
747
|
-
| 'space-between'
|
|
748
|
-
| 'space-around'
|
|
749
|
-
| 'space-evenly';
|
|
750
|
-
type FlexBasis = 'min-content';
|
|
751
|
-
|
|
752
|
-
/* -------------------------------------------------------------------------- */
|
|
753
|
-
/* LAYOUT */
|
|
754
|
-
/* -------------------------------------------------------------------------- */
|
|
755
|
-
type Display =
|
|
756
|
-
| 'block'
|
|
757
|
-
| 'inline-block'
|
|
758
|
-
| 'inline'
|
|
759
|
-
| 'flex'
|
|
760
|
-
| 'inline-flex'
|
|
761
|
-
| 'table'
|
|
762
|
-
| 'inline-table'
|
|
763
|
-
| 'table-caption'
|
|
764
|
-
| 'table-cell'
|
|
765
|
-
| 'table-column'
|
|
766
|
-
| 'table-column-group'
|
|
767
|
-
| 'table-footer-group'
|
|
768
|
-
| 'table-header-group'
|
|
769
|
-
| 'table-row-group'
|
|
770
|
-
| 'table-row'
|
|
771
|
-
| 'flow-root'
|
|
772
|
-
| 'grid'
|
|
773
|
-
| 'contents';
|
|
774
|
-
type Overflow = 'auto' | 'hidden' | 'clip' | 'visible' | 'scroll';
|
|
775
|
-
type Position = 'static' | 'fixed' | 'absolute' | 'relative' | 'sticky';
|
|
776
|
-
|
|
777
|
-
/* -------------------------------------------------------------------------- */
|
|
778
|
-
/* Motion props */
|
|
779
|
-
/* -------------------------------------------------------------------------- */
|
|
780
|
-
type ScaleEffectMap = {
|
|
781
|
-
none: {
|
|
782
|
-
[key in Exclude<TShirtSize, 'none' | 'full'>]: '1';
|
|
783
|
-
};
|
|
784
|
-
down: {
|
|
785
|
-
xs: '0.9875';
|
|
786
|
-
sm: '0.97';
|
|
787
|
-
md: '0.875';
|
|
788
|
-
lg: '0.75';
|
|
789
|
-
xl: '0.5';
|
|
790
|
-
};
|
|
791
|
-
up: {
|
|
792
|
-
xs: '1.0125';
|
|
793
|
-
sm: '1.03';
|
|
794
|
-
md: '1.125';
|
|
795
|
-
lg: '1.25';
|
|
796
|
-
xl: '2';
|
|
797
|
-
};
|
|
798
|
-
};
|
|
799
|
-
|
|
800
|
-
/* -------------------------------------------------------------------------- */
|
|
801
|
-
/* STYLE PROPS */
|
|
802
|
-
/* -------------------------------------------------------------------------- */
|
|
803
|
-
type ImageStyleProps = {
|
|
804
|
-
/**
|
|
805
|
-
* Determines how the image should be resized to fit its container.
|
|
806
|
-
*/
|
|
807
|
-
contentFit?: 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';
|
|
808
|
-
};
|
|
809
|
-
|
|
810
|
-
interface BorderStyleProps {
|
|
811
|
-
/** Add a border radius to all corners of the box. */
|
|
812
|
-
borderRadius?: BorderRadius;
|
|
813
|
-
/** Add a border radius to top left corner of the box. */
|
|
814
|
-
borderTopStartRadius?: BorderRadius;
|
|
815
|
-
/** Add a border radius to top right corner of the box. */
|
|
816
|
-
borderTopEndRadius?: BorderRadius;
|
|
817
|
-
/** Add a border radius to bottom left corner of the box. */
|
|
818
|
-
borderBottomStartRadius?: BorderRadius;
|
|
819
|
-
/** Add a border radius to bottom right corner of the box. */
|
|
820
|
-
borderBottomEndRadius?: BorderRadius;
|
|
821
|
-
/** Adds a custom border color from the palette */
|
|
822
|
-
borderColor?: LineColor;
|
|
823
|
-
/** Start border color */
|
|
824
|
-
borderStartColor?: LineColor;
|
|
825
|
-
/** End border color */
|
|
826
|
-
borderEndColor?: LineColor;
|
|
827
|
-
/** Top border color */
|
|
828
|
-
borderTopColor?: LineColor;
|
|
829
|
-
/** Bottom border color */
|
|
830
|
-
borderBottomColor?: LineColor;
|
|
831
|
-
/** Shorthand property to the width of an element's border. */
|
|
832
|
-
borderWidth?: BorderWidth;
|
|
833
|
-
/** Sets the width of the top and bottom border of an element. */
|
|
834
|
-
borderVerticalWidth?: BorderWidth;
|
|
835
|
-
/** Sets the width of the start (left) and end (right) border of an element. */
|
|
836
|
-
borderHorizontalWidth?: BorderWidth;
|
|
837
|
-
/** Sets the width of the start (left) border of an element. */
|
|
838
|
-
borderStartWidth?: BorderWidth;
|
|
839
|
-
/** Sets the width of the end (right) border of an element. */
|
|
840
|
-
borderEndWidth?: BorderWidth;
|
|
841
|
-
/** Sets the width of the top border of an element. */
|
|
842
|
-
borderTopWidth?: BorderWidth;
|
|
843
|
-
/** Sets the width of the bottom border of an element. */
|
|
844
|
-
borderBottomWidth?: BorderWidth;
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
interface ShadowStyleProps {
|
|
848
|
-
/** Sets the variant of the shadow. */
|
|
849
|
-
dropShadow?: ShadowVariant;
|
|
850
|
-
/** Sets the variant of the inset shadow. */
|
|
851
|
-
insetShadow?: ShadowVariant | ShadowVariantInvert;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
interface LayoutStyleProps {
|
|
855
|
-
/** Sets whether an element is treated as a block or inline box and the layout used for its children, such as flow layout, grid or flex. */
|
|
856
|
-
display?: Display;
|
|
857
|
-
/** Shorthand property which sets the desired behavior when content does not fit in the parent element box (overflows) in the horizontal and/or vertical direction. */
|
|
858
|
-
overflow?: Overflow;
|
|
859
|
-
/** Sets what shows when content overflows a block-level element's left and right edges. This may be nothing, a scroll bar, or the overflow content. This property may also be set by using the overflow shorthand property. */
|
|
860
|
-
overflowX?: Overflow;
|
|
861
|
-
/** sets what shows when content overflows a block-level element's top and bottom edges. This may be nothing, a scroll bar, or the overflow content. This property may also be set by using the overflow shorthand property. */
|
|
862
|
-
overflowY?: Overflow;
|
|
863
|
-
/** Sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements. */
|
|
864
|
-
position?: Position;
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
interface SpacingStyleProps {
|
|
868
|
-
/** Apply inner spacing on all sides. */
|
|
869
|
-
spacing?: SpacingAlias;
|
|
870
|
-
/** Apply inner spacing on the leading and trailing sides. */
|
|
871
|
-
spacingHorizontal?: SpacingAlias;
|
|
872
|
-
/** Apply inner spacing on the top and bottom sides. */
|
|
873
|
-
spacingVertical?: SpacingAlias;
|
|
874
|
-
/** Apply inner spacing on the bottom side. */
|
|
875
|
-
spacingBottom?: SpacingAlias;
|
|
876
|
-
/** Apply inner spacing on the trailing side. */
|
|
877
|
-
spacingEnd?: SpacingAlias;
|
|
878
|
-
/** Apply inner spacing on the leading side. */
|
|
879
|
-
spacingStart?: SpacingAlias;
|
|
880
|
-
/** Apply inner spacing on the top side. */
|
|
881
|
-
spacingTop?: SpacingAlias;
|
|
882
|
-
/** Apply negative outer spacing on all sides. */
|
|
883
|
-
offset?: SpacingAlias;
|
|
884
|
-
/** Apply negative outer spacing on the top and bottom sides. */
|
|
885
|
-
offsetVertical?: SpacingAlias;
|
|
886
|
-
/** Apply negative outer spacing on the leading and trailing sides. */
|
|
887
|
-
offsetHorizontal?: SpacingAlias;
|
|
888
|
-
/** Apply negative outer spacing on the bottom side. */
|
|
889
|
-
offsetBottom?: SpacingAlias;
|
|
890
|
-
/** Apply negative outer spacing on the trailing side. */
|
|
891
|
-
offsetEnd?: SpacingAlias;
|
|
892
|
-
/** Apply negative outer spacing on the leading side. */
|
|
893
|
-
offsetStart?: SpacingAlias;
|
|
894
|
-
/** Apply negative outer spacing on the top side. */
|
|
895
|
-
offsetTop?: SpacingAlias;
|
|
896
|
-
/** Control the horizontal gutters between grid and flexbox items. */
|
|
897
|
-
columnGap?: SpacingAlias;
|
|
898
|
-
/** Control the vertical gutters between grid and flexbox items. */
|
|
899
|
-
rowGap?: SpacingAlias;
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
interface FlexStyleProps {
|
|
903
|
-
/** Sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis. */
|
|
904
|
-
alignContent?: FlexAlignContent;
|
|
905
|
-
/** Sets the align-self value on all direct children as a group. In Flexbox, it controls the alignment of items on the Cross Axis. In Grid Layout, it controls the alignment of items on the Block Axis within their grid area. */
|
|
906
|
-
alignItems?: FlexAlignItems;
|
|
907
|
-
/** Overrides a grid or flex item's align-items value. In Grid, it aligns the item inside the grid area. In Flexbox, it aligns the item on the cross axis. */
|
|
908
|
-
alignSelf?: FlexAlignSelf;
|
|
909
|
-
/** Sets how a flex item will grow or shrink to fit the space available in its flex container. */
|
|
910
|
-
flex?: Flex;
|
|
911
|
-
/** Sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed). */
|
|
912
|
-
flexDirection?: FlexDirection;
|
|
913
|
-
/** Sets the flex grow factor, which specifies how much of the flex container's remaining space should be assigned to the flex item's main size. */
|
|
914
|
-
flexGrow?: FlexGrow;
|
|
915
|
-
/** Sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, items shrink to fit according to flex-shrink. */
|
|
916
|
-
flexShrink?: FlexShrink;
|
|
917
|
-
/** Sets whether flex items are forced onto one line or can wrap onto multiple lines. If wrapping is allowed, it sets the direction that lines are stacked. */
|
|
918
|
-
flexWrap?: FlexWrap;
|
|
919
|
-
/** Defines how the browser distributes space between and around content items along the main-axis of a flex container, and the inline axis of a grid container. */
|
|
920
|
-
justifyContent?: FlexJustifyContent;
|
|
921
|
-
/** Sets the initial main size of a flex item. It sets the size of the content box unless otherwise set with box-sizing. https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis */
|
|
922
|
-
flexBasis?: FlexBasis;
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
interface StateStyleProps {
|
|
926
|
-
interactable?: boolean;
|
|
927
|
-
focusable?: boolean;
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
interface TextStyleProps {
|
|
931
|
-
/** Color of a Text or Icon element */
|
|
932
|
-
color?: ForegroundColor;
|
|
933
|
-
/** Color of placeholder text */
|
|
934
|
-
placeholderColor?: ForegroundColor;
|
|
935
|
-
/** Font family for the text */
|
|
936
|
-
fontFamily?: TextVariant | FontAlias;
|
|
937
|
-
/** Font size of the text */
|
|
938
|
-
fontSize?: TextVariant;
|
|
939
|
-
/**
|
|
940
|
-
* Font weight of the text
|
|
941
|
-
*
|
|
942
|
-
* @deprecated Consider using an `emphasized` text variant instead. For example: `display1/emphasized`
|
|
943
|
-
*/
|
|
944
|
-
fontWeight?: TextVariant | FontWeightDescriptive;
|
|
945
|
-
/** Line height of the text */
|
|
946
|
-
lineHeight?: TextVariant;
|
|
947
|
-
/** Text alignment of the text */
|
|
948
|
-
textAlign?: 'center' | 'justify' | 'start' | 'end';
|
|
949
|
-
/** Sets the text transform for the text */
|
|
950
|
-
textTransform?: TextVariant | TextTransform;
|
|
951
|
-
}
|
|
952
|
-
|
|
953
|
-
interface BackgroundStyleProps {
|
|
954
|
-
/** Sets the background color. */
|
|
955
|
-
backgroundColor?: BackgroundColor;
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
type CustomSizingStyleProps = {
|
|
959
|
-
iconSize?: IconSize;
|
|
960
|
-
avatarSize?: AvatarSize;
|
|
961
|
-
};
|
|
962
|
-
|
|
963
|
-
interface SizeStyleProps {
|
|
964
|
-
/** Sets the width of an element. */
|
|
965
|
-
width?: 'full' | 'fit' | 'screen';
|
|
966
|
-
/** Sets the height of an element. */
|
|
967
|
-
height?: 'full' | 'fit' | 'screen';
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
type StyleProps = BackgroundStyleProps &
|
|
971
|
-
BorderStyleProps &
|
|
972
|
-
LayoutStyleProps &
|
|
973
|
-
FlexStyleProps &
|
|
974
|
-
SpacingStyleProps &
|
|
975
|
-
TextStyleProps &
|
|
976
|
-
ImageStyleProps &
|
|
977
|
-
CustomSizingStyleProps &
|
|
978
|
-
ShadowStyleProps &
|
|
979
|
-
SizeStyleProps;
|
|
980
|
-
|
|
981
|
-
/* -------------------------------------------------------------------------- */
|
|
982
|
-
/* UNIVERSAL COMPONENT PROPS */
|
|
983
|
-
|
|
984
|
-
/* -------------------------------------------------------------------------- */
|
|
985
|
-
interface UniversalBoxProps
|
|
986
|
-
extends PropsWithChildren,
|
|
987
|
-
BackgroundStyleProps,
|
|
988
|
-
BorderStyleProps,
|
|
989
|
-
FlexStyleProps,
|
|
990
|
-
LayoutStyleProps,
|
|
991
|
-
SpacingStyleProps,
|
|
992
|
-
SizeStyleProps,
|
|
993
|
-
ShadowStyleProps {
|
|
994
|
-
/**
|
|
995
|
-
* When asChild is set to true, the component's child will be cloned and passed
|
|
996
|
-
* the props and behavior required to make it functional.
|
|
997
|
-
*/
|
|
998
|
-
asChild?: boolean;
|
|
999
|
-
/**
|
|
1000
|
-
* Customize tag name.
|
|
1001
|
-
*/
|
|
1002
|
-
as?: ElementType;
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
interface UniversalStackProps extends Omit<UniversalBoxProps, 'flexDirection'> {
|
|
1006
|
-
gap?: SpacingAlias;
|
|
1007
|
-
separator?: ReactNode | ((index: number) => ReactNode);
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
|
-
interface UniversalTextProps extends PropsWithChildren, TextStyleProps, UniversalBoxProps {
|
|
1011
|
-
/** Style of text. */
|
|
1012
|
-
variant?: TextVariant;
|
|
1013
|
-
/** Color of the text. */
|
|
1014
|
-
color?: ForegroundColor;
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
interface UniversalIconProps {
|
|
1018
|
-
/** Icon to render from the icons package. */
|
|
1019
|
-
name: SvgIcon;
|
|
1020
|
-
/** Size of the icon. */
|
|
1021
|
-
size?: IconSize;
|
|
1022
|
-
/** Variant for icon. Either fill or outline. */
|
|
1023
|
-
variant?: IconVariant;
|
|
1024
|
-
/** Color of the icon. */
|
|
1025
|
-
color?: ForegroundColor;
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
type SVGElementProps = Omit<React.HTMLAttributes<SVGSVGElement>, 'color'>;
|
|
1029
|
-
|
|
1030
|
-
interface IconPropsWithSVGProps extends UniversalIconProps, SVGElementProps {}
|
|
1031
|
-
|
|
1032
|
-
type IconSlotRenderProps = Omit<IconPropsWithSVGProps, 'name'>;
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
* We are changing the slot prop from ReactNode to ReactElement to avoid
|
|
1036
|
-
* confusing and useless options like number and string, however,
|
|
1037
|
-
* there are cases where folks are using null/undefined to dynamically opt-out
|
|
1038
|
-
* of rendering the icon. We want to still allow that.
|
|
1039
|
-
*/
|
|
1040
|
-
type BackwardsCompatibleReactElement = null | undefined | ReactElement;
|
|
1041
|
-
|
|
1042
|
-
/**
|
|
1043
|
-
* Used anywhere we offer an icon which can be customized.
|
|
1044
|
-
*
|
|
1045
|
-
* Passing an SvgIcon is the happy path.
|
|
1046
|
-
*
|
|
1047
|
-
* @example
|
|
1048
|
-
* import { Calendar } from "@yahoo/uds-icons"
|
|
1049
|
-
* <IconSlot icon={Calendar} />
|
|
1050
|
-
*/
|
|
1051
|
-
type UniversalIconSlot =
|
|
1052
|
-
// Pass an svg by reference
|
|
1053
|
-
| SvgIcon
|
|
1054
|
-
// Customize the icon <Icon name={Arrow} />, <IconButton />, <Pressable />
|
|
1055
|
-
| BackwardsCompatibleReactElement
|
|
1056
|
-
// Given the default props (like variant and color), render something that needed to know those defaults
|
|
1057
|
-
| ((iconProps: IconSlotRenderProps) => BackwardsCompatibleReactElement);
|
|
1058
|
-
|
|
1059
|
-
interface UniversalPressableProps extends Omit<UniversalBoxProps, 'as'> {
|
|
1060
|
-
onPress?: () => void;
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
interface UniversalIconButtonProps {
|
|
1064
|
-
/**
|
|
1065
|
-
* The variant of the button
|
|
1066
|
-
* @default is assigned in the configurator
|
|
1067
|
-
*/
|
|
1068
|
-
variant?: ButtonVariantFlat;
|
|
1069
|
-
/** The size of the button. */
|
|
1070
|
-
size?: IconButtonSize;
|
|
1071
|
-
/** The icon variant
|
|
1072
|
-
* @default 'outline'
|
|
1073
|
-
*/
|
|
1074
|
-
iconVariant?: IconVariant;
|
|
1075
|
-
/** Icon to render from the icons package. */
|
|
1076
|
-
name: SvgIcon;
|
|
1077
|
-
/** Allows setting the HTML `name` attribute on `button` because we are using `name` for an `SVGIcon` instead. */
|
|
1078
|
-
htmlName?: string;
|
|
1079
|
-
/** Render the button with a loading state. */
|
|
1080
|
-
loading?: boolean;
|
|
1081
|
-
/** Disable any motion effects configured in the configurator */
|
|
1082
|
-
disableEffects?: boolean;
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
interface UniversalButtonProps extends Pick<SizeStyleProps, 'width'> {
|
|
1086
|
-
/**
|
|
1087
|
-
* The variant of the button
|
|
1088
|
-
* @default is assigned in the configurator
|
|
1089
|
-
*/
|
|
1090
|
-
variant?: ButtonVariantFlat;
|
|
1091
|
-
|
|
1092
|
-
/**
|
|
1093
|
-
* The size of the button
|
|
1094
|
-
* @default is assigned in the configurator
|
|
1095
|
-
*/
|
|
1096
|
-
size?: ButtonSize;
|
|
1097
|
-
/** The icon variant for start and end icons
|
|
1098
|
-
* @default 'outline'
|
|
1099
|
-
*/
|
|
1100
|
-
iconVariant?: IconVariant;
|
|
1101
|
-
/** The icon to render at the start of the button. Can be a UDS icon, an Icon component, ReactNode, or a function that returns a ReactNode. */
|
|
1102
|
-
startIcon?: UniversalIconSlot;
|
|
1103
|
-
/** The icon to render at the end of the button. Can be a UDS icon, an Icon component, ReactNode, or a function that returns a ReactNode. */
|
|
1104
|
-
endIcon?: UniversalIconSlot;
|
|
1105
|
-
/** Render the button with a loading state. */
|
|
1106
|
-
loading?: boolean;
|
|
1107
|
-
/** Disable any motion effects configured in the configurator */
|
|
1108
|
-
disableEffects?: boolean;
|
|
1109
|
-
/**
|
|
1110
|
-
* When asChild is set to true, the component's child will be cloned and passed
|
|
1111
|
-
* the props and behavior required to make it functional.
|
|
1112
|
-
*/
|
|
1113
|
-
asChild?: boolean;
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
interface UniversalImageProps extends Omit<UniversalBoxProps, 'width' | 'height'>, ImageStyleProps {
|
|
1117
|
-
/** The source URL of the image. */
|
|
1118
|
-
src: string;
|
|
1119
|
-
/** Provides fallback (alternate) text to display when the image specified by the Image element is not loaded. */
|
|
1120
|
-
alt?: string;
|
|
1121
|
-
/** Width of the image in px. */
|
|
1122
|
-
width?: number;
|
|
1123
|
-
/** Height of the image in pixel. */
|
|
1124
|
-
height?: number;
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
type ImgElementProps = Omit<
|
|
1128
|
-
React.ImgHTMLAttributes<HTMLImageElement>,
|
|
1129
|
-
'size' | 'color' | 'height' | 'width' | 'alt' | 'src'
|
|
1130
|
-
>;
|
|
1131
|
-
|
|
1132
|
-
interface ImagePropsWithImgProps extends UniversalImageProps, ImgElementProps {}
|
|
1133
|
-
|
|
1134
|
-
interface UniversalFormLabelProps extends Omit<UniversalTextProps, 'variant' | 'color'> {
|
|
1135
|
-
/**
|
|
1136
|
-
* Customize tag name.
|
|
1137
|
-
*/
|
|
1138
|
-
as?: ElementType;
|
|
1139
|
-
|
|
1140
|
-
/** The style of text. @default 'label2' */
|
|
1141
|
-
variant?: UniversalTextProps['variant'] | 'inherit';
|
|
1142
|
-
|
|
1143
|
-
/** If true, renders a red asterisk to indicate the field is required. */
|
|
1144
|
-
required?: boolean;
|
|
1145
|
-
|
|
1146
|
-
/**
|
|
1147
|
-
* Sets the color of the label text.
|
|
1148
|
-
* @default muted
|
|
1149
|
-
*/
|
|
1150
|
-
color?: ForegroundColor | 'inherit';
|
|
1151
|
-
|
|
1152
|
-
/** If true, the required * is styled with an alert color if the input is required. */
|
|
1153
|
-
hasError?: boolean;
|
|
1154
|
-
|
|
1155
|
-
/** Whether to show an asterisk on required labels. @default false */
|
|
1156
|
-
showRequiredAsterisk?: boolean;
|
|
1157
|
-
|
|
1158
|
-
/** The contents of the label. If missing, uses children. **/
|
|
1159
|
-
label?: string | ReactNode | (() => ReactNode);
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
interface UniversalInputProps extends Pick<UniversalBoxProps, 'width'> {
|
|
1163
|
-
/** Label text to associate with the input. */
|
|
1164
|
-
label?: string | ReactNode | (() => ReactNode);
|
|
1165
|
-
/** If true, the input is disabled and non-interactive. */
|
|
1166
|
-
disabled?: boolean;
|
|
1167
|
-
/** If true, the `label` is displayed as required and the input element is required. */
|
|
1168
|
-
required?: boolean;
|
|
1169
|
-
/** Description or error message */
|
|
1170
|
-
helpText?: string | ReactNode | (() => ReactNode);
|
|
1171
|
-
/** Helper text icon */
|
|
1172
|
-
helperTextIcon?: UniversalIconSlot;
|
|
1173
|
-
/** If true, the input displays its error state styling, which includes styling the startIcon. */
|
|
1174
|
-
hasError?: boolean;
|
|
1175
|
-
/**
|
|
1176
|
-
* The size of the input.
|
|
1177
|
-
* @default 'md'
|
|
1178
|
-
*/
|
|
1179
|
-
size?: InputSize;
|
|
1180
|
-
/** An icon to be displayed at the start of the input. */
|
|
1181
|
-
startIcon?: UniversalIconSlot;
|
|
1182
|
-
/** An icon to be displayed at the end of the input. */
|
|
1183
|
-
endIcon?: UniversalIconSlot;
|
|
1184
|
-
/** If true, forces reduced motion. Otherwise, respects the user's setting. */
|
|
1185
|
-
reduceMotion?: boolean;
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
type DividerVariant = 'primary' | 'secondary' | 'tertiary' | 'muted';
|
|
1189
|
-
|
|
1190
|
-
interface UniversalDividerProps {
|
|
1191
|
-
/**
|
|
1192
|
-
* Use a pre-defined variant.
|
|
1193
|
-
* @default 'primary'
|
|
1194
|
-
*/
|
|
1195
|
-
variant?: DividerVariant;
|
|
1196
|
-
|
|
1197
|
-
/**
|
|
1198
|
-
* Set to true to scale the divider vertically.
|
|
1199
|
-
*/
|
|
1200
|
-
vertical?: boolean;
|
|
1201
|
-
|
|
1202
|
-
/** When there are children, where are they placed?
|
|
1203
|
-
* @default 'center'
|
|
1204
|
-
*/
|
|
1205
|
-
contentPosition?: 'start' | 'center' | 'end';
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
interface UniversalLinkProps {
|
|
1209
|
-
/** Text style */
|
|
1210
|
-
textVariant?: TextVariantWithoutEmphasized;
|
|
1211
|
-
/** The color style of the link. */
|
|
1212
|
-
variant?: Extract<ForegroundPaletteAlias, 'primary' | 'secondary' | 'tertiary' | 'on-color'>;
|
|
1213
|
-
/** An icon to be displayed at the start of the component. */
|
|
1214
|
-
startIcon?: UniversalIconSlot;
|
|
1215
|
-
/** An icon to be displayed at the end of the component. */
|
|
1216
|
-
endIcon?: UniversalIconSlot;
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
|
-
type CheckboxValue = boolean | 'indeterminate';
|
|
1220
|
-
type CheckboxVariant = 'primary' | 'secondary';
|
|
1221
|
-
type CheckboxSize = 'sm' | 'md';
|
|
1222
|
-
|
|
1223
|
-
interface UniversalCheckboxProps {
|
|
1224
|
-
/**
|
|
1225
|
-
* Variant of the checkbox.
|
|
1226
|
-
* @default 'primary'
|
|
1227
|
-
*/
|
|
1228
|
-
variant?: CheckboxVariant;
|
|
1229
|
-
|
|
1230
|
-
/**
|
|
1231
|
-
* Size of the checkbox.
|
|
1232
|
-
* @default 'md'
|
|
1233
|
-
*/
|
|
1234
|
-
size?: CheckboxSize;
|
|
1235
|
-
|
|
1236
|
-
/**
|
|
1237
|
-
* The label of the checkbox. Can be a ReactNode for rich html labels.
|
|
1238
|
-
* Will not be labelled if omitted. User MUST then use `aria-label` attribute,
|
|
1239
|
-
* wrap in a `<label>` tag or `htmlFor` to add an external label for a11y.
|
|
1240
|
-
*/
|
|
1241
|
-
label?: string | ReactNode | (() => ReactNode);
|
|
1242
|
-
|
|
1243
|
-
/**
|
|
1244
|
-
* Controlled value of the checkbox. Will be an uncontrolled input if not present.
|
|
1245
|
-
*/
|
|
1246
|
-
checked?: CheckboxValue;
|
|
1247
|
-
|
|
1248
|
-
/**
|
|
1249
|
-
* If true, the checkbox displays its error state.
|
|
1250
|
-
*/
|
|
1251
|
-
hasError?: boolean;
|
|
1252
|
-
|
|
1253
|
-
/**
|
|
1254
|
-
* Disables animations when true.
|
|
1255
|
-
*/
|
|
1256
|
-
reduceMotion?: boolean;
|
|
1257
|
-
|
|
1258
|
-
/**
|
|
1259
|
-
* On which side of the input is the label displayed.
|
|
1260
|
-
* @default 'start'
|
|
1261
|
-
*/
|
|
1262
|
-
labelPosition?: 'start' | 'end';
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
type RadioValue = boolean;
|
|
1266
|
-
type RadioVariant = 'primary' | 'secondary';
|
|
1267
|
-
type RadioSize = 'sm' | 'md';
|
|
1268
|
-
|
|
1269
|
-
interface UniversalRadioProps {
|
|
1270
|
-
/**
|
|
1271
|
-
* Variant of the radio.
|
|
1272
|
-
* @default 'primary'
|
|
1273
|
-
*/
|
|
1274
|
-
variant?: RadioVariant;
|
|
1275
|
-
|
|
1276
|
-
/**
|
|
1277
|
-
* Size of the radio.
|
|
1278
|
-
* @default 'md'
|
|
1279
|
-
*/
|
|
1280
|
-
size?: RadioSize;
|
|
1281
|
-
|
|
1282
|
-
/**
|
|
1283
|
-
* The label of the radio. Can be a ReactNode for rich html labels.
|
|
1284
|
-
* Will not be labelled if omitted. User MUST then use `aria-label` attribute,
|
|
1285
|
-
* wrap in a `<label>` tag or `htmlFor` to add an external label for a11y.
|
|
1286
|
-
*/
|
|
1287
|
-
label?: string | ReactNode | (() => ReactNode);
|
|
1288
|
-
|
|
1289
|
-
/**
|
|
1290
|
-
* The value of the radio.
|
|
1291
|
-
* @default ''
|
|
1292
|
-
*/
|
|
1293
|
-
value?: string;
|
|
1294
|
-
|
|
1295
|
-
/**
|
|
1296
|
-
* Whether the radio is checked.
|
|
1297
|
-
*/
|
|
1298
|
-
checked?: boolean;
|
|
1299
|
-
|
|
1300
|
-
/**
|
|
1301
|
-
* If true, the radio displays its error state.
|
|
1302
|
-
*/
|
|
1303
|
-
hasError?: boolean;
|
|
1304
|
-
|
|
1305
|
-
/**
|
|
1306
|
-
* Disables animations when true.
|
|
1307
|
-
*/
|
|
1308
|
-
reduceMotion?: boolean;
|
|
1309
|
-
|
|
1310
|
-
/**
|
|
1311
|
-
* On which side of the input is the label displayed.
|
|
1312
|
-
* @default 'start'
|
|
1313
|
-
*/
|
|
1314
|
-
labelPosition?: 'start' | 'end';
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
interface UniversalRadioGroupProps {
|
|
1318
|
-
/**
|
|
1319
|
-
* The name used for all radio inputs in the group.
|
|
1320
|
-
*/
|
|
1321
|
-
name?: string;
|
|
1322
|
-
|
|
1323
|
-
/**
|
|
1324
|
-
* The value of the selected radio item.
|
|
1325
|
-
*/
|
|
1326
|
-
value?: string;
|
|
1327
|
-
|
|
1328
|
-
/**
|
|
1329
|
-
* The default value of the selected radio item for uncontrolled radio groups.
|
|
1330
|
-
*/
|
|
1331
|
-
defaultValue?: string;
|
|
1332
|
-
|
|
1333
|
-
/** Callback when the user interacts to select a different radio item. */
|
|
1334
|
-
onChange?: (value: string | undefined) => void;
|
|
1335
|
-
|
|
1336
|
-
/**
|
|
1337
|
-
* When asChild is set to true, the component's child will be cloned and passed
|
|
1338
|
-
* the props and behavior required to make it functional.
|
|
1339
|
-
*/
|
|
1340
|
-
asChild?: boolean;
|
|
1341
|
-
}
|
|
1342
|
-
|
|
1343
|
-
type SwitchSize = 'sm' | 'md';
|
|
1344
|
-
|
|
1345
|
-
interface UniversalSwitchProps {
|
|
1346
|
-
/**
|
|
1347
|
-
* Size of the switch.
|
|
1348
|
-
* @default 'md'
|
|
1349
|
-
*/
|
|
1350
|
-
size?: SwitchSize;
|
|
1351
|
-
|
|
1352
|
-
/**
|
|
1353
|
-
* The label of the switch. Can be a ReactNode for rich html labels.
|
|
1354
|
-
* Will not be labelled if omitted. User MUST then use `aria-label` attribute,
|
|
1355
|
-
* wrap in a `<label>` tag or `htmlFor` to add an external label for a11y.
|
|
1356
|
-
*/
|
|
1357
|
-
label?: string | ReactNode | (() => ReactNode);
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* Controlled value of the switch. Will be an uncontrolled input if not present.
|
|
1361
|
-
*/
|
|
1362
|
-
isOn?: boolean;
|
|
1363
|
-
|
|
1364
|
-
/**
|
|
1365
|
-
* Set the initial value to default when uncontrolled.
|
|
1366
|
-
*/
|
|
1367
|
-
defaultIsOn?: boolean;
|
|
1368
|
-
|
|
1369
|
-
/** An icon to be displayed on the on state of the input. */
|
|
1370
|
-
onIcon?: UniversalIconSlot;
|
|
1371
|
-
|
|
1372
|
-
/** An icon to be displayed on the off state of the input. */
|
|
1373
|
-
offIcon?: UniversalIconSlot;
|
|
1374
|
-
|
|
1375
|
-
/**
|
|
1376
|
-
* Disables animations when true.
|
|
1377
|
-
*/
|
|
1378
|
-
reduceMotion?: boolean;
|
|
1379
|
-
|
|
1380
|
-
/**
|
|
1381
|
-
* On which side of the input is the label displayed.
|
|
1382
|
-
* @default 'start'
|
|
1383
|
-
*/
|
|
1384
|
-
labelPosition?: 'start' | 'end';
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
|
-
type ChipVariant = 'primary' | 'secondary' | 'brand' | 'brand-secondary';
|
|
1388
|
-
type ChipSize = 'sm' | 'md';
|
|
1389
|
-
|
|
1390
|
-
interface UniversalChipBaseProps extends PropsWithChildren {
|
|
1391
|
-
/**
|
|
1392
|
-
* Controls the foreground and background contrast.
|
|
1393
|
-
* @default "primary"
|
|
1394
|
-
*/
|
|
1395
|
-
variant?: ChipVariant;
|
|
1396
|
-
|
|
1397
|
-
/**
|
|
1398
|
-
* Adjusts padding and font size.
|
|
1399
|
-
* @default "md"
|
|
1400
|
-
*/
|
|
1401
|
-
size?: ChipSize;
|
|
1402
|
-
|
|
1403
|
-
/**
|
|
1404
|
-
* Optional icon displayed at the start of the chip.
|
|
1405
|
-
*/
|
|
1406
|
-
startIcon?: UniversalIconSlot;
|
|
1407
|
-
|
|
1408
|
-
/**
|
|
1409
|
-
* Optional icon displayed at the end of the chip.
|
|
1410
|
-
*/
|
|
1411
|
-
endIcon?: UniversalIconSlot;
|
|
1412
|
-
|
|
1413
|
-
/**
|
|
1414
|
-
* Optional minimum width of the chip before label is truncated.
|
|
1415
|
-
*/
|
|
1416
|
-
minWidth?: number;
|
|
1417
|
-
|
|
1418
|
-
/**
|
|
1419
|
-
* Maximum width of the chip before label is truncated.
|
|
1420
|
-
*/
|
|
1421
|
-
maxWidth?: number;
|
|
1422
|
-
|
|
1423
|
-
/**
|
|
1424
|
-
* Customize tag name.
|
|
1425
|
-
*/
|
|
1426
|
-
as?: ElementType;
|
|
1427
|
-
|
|
1428
|
-
/** If true, forces reduced motion. Otherwise, respects the user's setting. */
|
|
1429
|
-
reduceMotion?: boolean;
|
|
1430
|
-
|
|
1431
|
-
/** Whether the chip is disabled. @default false */
|
|
1432
|
-
disabled?: boolean;
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
interface UniversalChipDismissibleProps
|
|
1436
|
-
extends Omit<UniversalChipBaseProps, 'endIcon' | 'asChild' | 'layerClassNames'> {
|
|
1437
|
-
/**
|
|
1438
|
-
* Handler for dismiss action (e.g., closing the chip).
|
|
1439
|
-
*/
|
|
1440
|
-
onDismiss?: () => void;
|
|
1441
|
-
|
|
1442
|
-
/**
|
|
1443
|
-
* Provide an accessible label for the dismiss button.
|
|
1444
|
-
*/
|
|
1445
|
-
dismissButtonAriaLabel?: string;
|
|
1446
|
-
|
|
1447
|
-
/**
|
|
1448
|
-
* Custom icon to use for the dismiss button.
|
|
1449
|
-
*/
|
|
1450
|
-
dismissIcon?: UniversalIconSlot;
|
|
1451
|
-
}
|
|
1452
|
-
|
|
1453
|
-
interface UniversalChipToggleProps
|
|
1454
|
-
extends Omit<UniversalChipBaseProps, 'asChild' | 'layerClassNames'> {
|
|
1455
|
-
isToggled?: boolean;
|
|
1456
|
-
|
|
1457
|
-
/**
|
|
1458
|
-
* Handler for toggle action.
|
|
1459
|
-
*/
|
|
1460
|
-
onToggle?: (isToggled: boolean) => void;
|
|
1461
|
-
}
|
|
1462
|
-
|
|
1463
|
-
type UniversalChipButtonProps = Omit<
|
|
1464
|
-
UniversalChipToggleProps,
|
|
1465
|
-
'isToggled' | 'onToggle' | 'asChild'
|
|
1466
|
-
>;
|
|
1467
|
-
|
|
1468
|
-
interface UniversalChipLinkProps extends Omit<UniversalChipBaseProps, 'layerClassNames'> {
|
|
1469
|
-
href?: string;
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
|
-
interface UniversalChipProps
|
|
1473
|
-
extends UniversalChipToggleProps,
|
|
1474
|
-
UniversalChipLinkProps,
|
|
1475
|
-
UniversalChipButtonProps,
|
|
1476
|
-
UniversalChipDismissibleProps {
|
|
1477
|
-
// @deprecated Use `slotProps.anchor` instead
|
|
1478
|
-
linkProps?: Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'type'>;
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
type BadgeVariant =
|
|
1482
|
-
| 'primary'
|
|
1483
|
-
| 'secondary'
|
|
1484
|
-
| 'brand'
|
|
1485
|
-
| 'brand-secondary'
|
|
1486
|
-
| 'alert'
|
|
1487
|
-
| 'alert-secondary'
|
|
1488
|
-
| 'positive'
|
|
1489
|
-
| 'positive-secondary'
|
|
1490
|
-
| 'warning'
|
|
1491
|
-
| 'warning-secondary'
|
|
1492
|
-
| 'info'
|
|
1493
|
-
| 'info-secondary';
|
|
1494
|
-
type BadgeSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
1495
|
-
|
|
1496
|
-
interface UniversalBadgeProps extends PropsWithChildren {
|
|
1497
|
-
/**
|
|
1498
|
-
* Customize tag name.
|
|
1499
|
-
*/
|
|
1500
|
-
as?: ElementType;
|
|
1501
|
-
|
|
1502
|
-
/**
|
|
1503
|
-
* Controls the foreground and background contrast.
|
|
1504
|
-
* @default "primary"
|
|
1505
|
-
*/
|
|
1506
|
-
variant?: BadgeVariant;
|
|
1507
|
-
|
|
1508
|
-
/**
|
|
1509
|
-
* Adjusts padding and font size.
|
|
1510
|
-
* @default "md"
|
|
1511
|
-
*/
|
|
1512
|
-
size?: BadgeSize;
|
|
1513
|
-
|
|
1514
|
-
/**
|
|
1515
|
-
* CSS color override of the background. Defaults to variant definition.
|
|
1516
|
-
*/
|
|
1517
|
-
backgroundColor?: string;
|
|
1518
|
-
|
|
1519
|
-
/**
|
|
1520
|
-
* CSS color override of the text. Defaults to variant definition.
|
|
1521
|
-
*/
|
|
1522
|
-
color?: string;
|
|
1523
|
-
|
|
1524
|
-
/**
|
|
1525
|
-
* CSS color override of the icon. Defaults to variant definition.
|
|
1526
|
-
*/
|
|
1527
|
-
iconColor?: string;
|
|
1528
|
-
|
|
1529
|
-
/**
|
|
1530
|
-
* CSS color override of the border. Defaults to variant definition.
|
|
1531
|
-
*/
|
|
1532
|
-
borderColor?: string;
|
|
1533
|
-
|
|
1534
|
-
/**
|
|
1535
|
-
* Optional icon displayed at the start of the badge.
|
|
1536
|
-
*/
|
|
1537
|
-
startIcon?: UniversalIconSlot;
|
|
1538
|
-
|
|
1539
|
-
/**
|
|
1540
|
-
* Optional icon displayed at the end of the badge.
|
|
1541
|
-
*/
|
|
1542
|
-
endIcon?: UniversalIconSlot;
|
|
1543
|
-
|
|
1544
|
-
/**
|
|
1545
|
-
* Optional minium width of the badge.
|
|
1546
|
-
*/
|
|
1547
|
-
minWidth?: number;
|
|
1548
|
-
|
|
1549
|
-
/**
|
|
1550
|
-
* Maximum width of the badge before label is truncated.
|
|
1551
|
-
*/
|
|
1552
|
-
maxWidth?: number | 'full';
|
|
1553
|
-
}
|
|
1554
|
-
|
|
1555
|
-
type AvatarVariant = 'primary' | 'secondary';
|
|
1556
|
-
|
|
1557
|
-
type AvatarAbbreviationStrategy =
|
|
1558
|
-
| 'first'
|
|
1559
|
-
| 'last'
|
|
1560
|
-
| 'firstAndLast'
|
|
1561
|
-
| 'firstTwo'
|
|
1562
|
-
| 'firstThree'
|
|
1563
|
-
| 'firstOfEach'
|
|
1564
|
-
| ((name: string) => string);
|
|
1565
|
-
|
|
1566
|
-
/** Props common to all Avatar variants */
|
|
1567
|
-
interface UniversalAvatarBaseProps {
|
|
1568
|
-
/** Avatar size key. @default "md" */
|
|
1569
|
-
size?: AvatarSize;
|
|
1570
|
-
/** Avatar variant. @default "primary" */
|
|
1571
|
-
variant?: 'primary' | 'secondary';
|
|
1572
|
-
/** Custom size in pixels */
|
|
1573
|
-
customSize?: number;
|
|
1574
|
-
/** Abbreviation strategy for text variant. @default "firstAndLast" */
|
|
1575
|
-
abbreviationStrategy?: AvatarAbbreviationStrategy;
|
|
1576
|
-
/** Alt text for the image */
|
|
1577
|
-
alt?: string;
|
|
1578
|
-
/** Custom class name */
|
|
1579
|
-
className?: string;
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
/** Props for Avatar image variant */
|
|
1583
|
-
interface UniversalAvatarImageProps extends UniversalAvatarBaseProps {
|
|
1584
|
-
/** Source URL for the image */
|
|
1585
|
-
src: string;
|
|
1586
|
-
/** Optional srcSet for responsive images */
|
|
1587
|
-
srcSet?: string;
|
|
1588
|
-
/**
|
|
1589
|
-
* Additional properties for the img element,
|
|
1590
|
-
* excluding controlled attributes.
|
|
1591
|
-
* @deprecated Use slotProps.image instead
|
|
1592
|
-
*/
|
|
1593
|
-
imageProps?: Omit<
|
|
1594
|
-
ImagePropsWithImgProps,
|
|
1595
|
-
'src' | 'srcSet' | 'alt' | 'className' | 'height' | 'width'
|
|
1596
|
-
>;
|
|
1597
|
-
/** Fallback text if image fails to load */
|
|
1598
|
-
fallback?: string;
|
|
1599
|
-
}
|
|
1600
|
-
|
|
1601
|
-
/** Props for Avatar text variant */
|
|
1602
|
-
interface UniversalAvatarTextProps extends UniversalAvatarBaseProps {
|
|
1603
|
-
/** Name for generating initials */
|
|
1604
|
-
name?: string;
|
|
1605
|
-
/** Predefined initials */
|
|
1606
|
-
initials?: string;
|
|
1607
|
-
}
|
|
1608
|
-
|
|
1609
|
-
/** Props for Avatar icon variant */
|
|
1610
|
-
interface UniversalAvatarIconProps extends Omit<UniversalAvatarBaseProps, 'abbreviationStrategy'> {
|
|
1611
|
-
/** Optional icon override */
|
|
1612
|
-
icon?: UniversalIconSlot;
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
|
-
/** Combined Avatar component props */
|
|
1616
|
-
type UniversalAvatarProps = UniversalAvatarImageProps;
|
|
1617
|
-
|
|
1618
|
-
/* -------------------------------------------------------------------------- */
|
|
1619
|
-
/* MENU PROPS */
|
|
1620
|
-
|
|
1621
|
-
/* -------------------------------------------------------------------------- */
|
|
1622
|
-
|
|
1623
|
-
interface UniversalMenuItemProps
|
|
1624
|
-
extends Omit<UniversalPressableProps, 'asChild'>,
|
|
1625
|
-
PropsWithChildren {
|
|
1626
|
-
/** The icon to show at the end */
|
|
1627
|
-
endIcon?: UniversalIconSlot;
|
|
1628
|
-
/** The icon to show at the start */
|
|
1629
|
-
startIcon?: UniversalIconSlot;
|
|
1630
|
-
/**
|
|
1631
|
-
* The variant of text to use.
|
|
1632
|
-
* @default label2 (label1 if checked)
|
|
1633
|
-
*/
|
|
1634
|
-
textVariant?: TextVariant;
|
|
1635
|
-
/** HTML name attribute */
|
|
1636
|
-
name?: string;
|
|
1637
|
-
/** Whether the item is in a checked/active state */
|
|
1638
|
-
active?: boolean;
|
|
1639
|
-
/** Whether the item is disabled */
|
|
1640
|
-
disabled?: boolean;
|
|
1641
|
-
|
|
1642
|
-
/** Slots to customize the rendering */
|
|
1643
|
-
slots?: {
|
|
1644
|
-
// Root is a `AriakitMenuItem`
|
|
1645
|
-
root?: (
|
|
1646
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1647
|
-
props: HTMLAttributes<any> & {
|
|
1648
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1649
|
-
ref?: Ref<any>;
|
|
1650
|
-
},
|
|
1651
|
-
) => ReactNode;
|
|
1652
|
-
};
|
|
1653
|
-
}
|
|
1654
|
-
|
|
1655
|
-
export type {
|
|
1656
|
-
AlwaysPalette,
|
|
1657
|
-
AlwaysPaletteAlias,
|
|
1658
|
-
AlwaysPaletteColor,
|
|
1659
|
-
Animation,
|
|
1660
|
-
AriaAttribute,
|
|
1661
|
-
AvatarAbbreviationStrategy,
|
|
1662
|
-
AvatarShape,
|
|
1663
|
-
AvatarSize,
|
|
1664
|
-
AvatarSizeConfig,
|
|
1665
|
-
AvatarVariant,
|
|
1666
|
-
BackgroundColor,
|
|
1667
|
-
BackgroundPalette,
|
|
1668
|
-
BackgroundPaletteAlias,
|
|
1669
|
-
BackgroundStyleProps,
|
|
1670
|
-
BadgeSize,
|
|
1671
|
-
BadgeVariant,
|
|
1672
|
-
BorderRadius,
|
|
1673
|
-
BorderRadiusConfig,
|
|
1674
|
-
BorderStyleProps,
|
|
1675
|
-
BorderWidth,
|
|
1676
|
-
BorderWidthConfig,
|
|
1677
|
-
Breakpoint,
|
|
1678
|
-
BreakpointsConfig,
|
|
1679
|
-
BreakpointWithBase,
|
|
1680
|
-
ButtonBaseConfig,
|
|
1681
|
-
ButtonClassMap,
|
|
1682
|
-
ButtonClassName,
|
|
1683
|
-
ButtonColorConfig,
|
|
1684
|
-
ButtonColorEffect,
|
|
1685
|
-
ButtonColorEffectConfig,
|
|
1686
|
-
ButtonColorProperty,
|
|
1687
|
-
ButtonColorPropertyConfig,
|
|
1688
|
-
ButtonConfig,
|
|
1689
|
-
ButtonKind,
|
|
1690
|
-
ButtonMotionEffect,
|
|
1691
|
-
ButtonMotionProperty,
|
|
1692
|
-
ButtonMotionPropertyConfig,
|
|
1693
|
-
ButtonPalette,
|
|
1694
|
-
ButtonPaletteColor,
|
|
1695
|
-
ButtonPaletteConfig,
|
|
1696
|
-
ButtonShadowPropertyConfig,
|
|
1697
|
-
ButtonSize,
|
|
1698
|
-
ButtonSizeConfig,
|
|
1699
|
-
ButtonSizeProperty,
|
|
1700
|
-
ButtonSpectrumColor,
|
|
1701
|
-
ButtonState,
|
|
1702
|
-
ButtonStateConfig,
|
|
1703
|
-
ButtonStateEffectConfig,
|
|
1704
|
-
ButtonVariant,
|
|
1705
|
-
ButtonVariantConfig,
|
|
1706
|
-
ButtonVariantFlat,
|
|
1707
|
-
CheckboxSize,
|
|
1708
|
-
CheckboxValue,
|
|
1709
|
-
CheckboxVariant,
|
|
1710
|
-
ChipSize,
|
|
1711
|
-
ChipVariant,
|
|
1712
|
-
ColorMode,
|
|
1713
|
-
ColorModeConfig,
|
|
1714
|
-
ColorModeForApp,
|
|
1715
|
-
ColorsConfig,
|
|
1716
|
-
ConfigurableDropShadowValues,
|
|
1717
|
-
ConfigurableInsetShadowValues,
|
|
1718
|
-
CustomSizingStyleProps,
|
|
1719
|
-
DataAttribute,
|
|
1720
|
-
Display,
|
|
1721
|
-
DividerVariant,
|
|
1722
|
-
Flex,
|
|
1723
|
-
FlexAlignContent,
|
|
1724
|
-
FlexAlignItems,
|
|
1725
|
-
FlexAlignSelf,
|
|
1726
|
-
FlexBasis,
|
|
1727
|
-
FlexDirection,
|
|
1728
|
-
FlexGrow,
|
|
1729
|
-
FlexJustifyContent,
|
|
1730
|
-
FlexShrink,
|
|
1731
|
-
FlexStyleProps,
|
|
1732
|
-
FlexWrap,
|
|
1733
|
-
FontAlias,
|
|
1734
|
-
FontConfig,
|
|
1735
|
-
FontCssVar,
|
|
1736
|
-
FontFamilyCDNUrl,
|
|
1737
|
-
FontFamilyConfig,
|
|
1738
|
-
FontID,
|
|
1739
|
-
FontSize,
|
|
1740
|
-
FontSizeConfig,
|
|
1741
|
-
FontSlantConfig,
|
|
1742
|
-
FontType,
|
|
1743
|
-
FontWeightConfig,
|
|
1744
|
-
FontWeightDescriptive,
|
|
1745
|
-
FontWeightNumeric,
|
|
1746
|
-
FontWidthConfig,
|
|
1747
|
-
ForegroundColor,
|
|
1748
|
-
ForegroundPalette,
|
|
1749
|
-
ForegroundPaletteAlias,
|
|
1750
|
-
GlobalDefaultsConfig,
|
|
1751
|
-
HighContrastMode,
|
|
1752
|
-
Hue,
|
|
1753
|
-
HueStep,
|
|
1754
|
-
IconButtonClassMap,
|
|
1755
|
-
IconButtonClassName,
|
|
1756
|
-
IconButtonConfig,
|
|
1757
|
-
IconButtonDefaultsConfig,
|
|
1758
|
-
IconButtonSize,
|
|
1759
|
-
IconPropsWithSVGProps,
|
|
1760
|
-
IconSize,
|
|
1761
|
-
IconSizeConfig,
|
|
1762
|
-
IconSlotRenderProps,
|
|
1763
|
-
IconVariant,
|
|
1764
|
-
ImagePropsWithImgProps,
|
|
1765
|
-
ImageStyleProps,
|
|
1766
|
-
InputSize,
|
|
1767
|
-
LayoutStyleProps,
|
|
1768
|
-
LetterSpacing,
|
|
1769
|
-
LineClampAlias,
|
|
1770
|
-
LineColor,
|
|
1771
|
-
LineHeight,
|
|
1772
|
-
LineHeightConfig,
|
|
1773
|
-
LinePalette,
|
|
1774
|
-
LinePaletteAlias,
|
|
1775
|
-
Modes,
|
|
1776
|
-
MotionConfig,
|
|
1777
|
-
MotionCssVar,
|
|
1778
|
-
MotionSpringConfig,
|
|
1779
|
-
MotionSpringConfigOptions,
|
|
1780
|
-
MotionVariant,
|
|
1781
|
-
MotionVariantSpeed,
|
|
1782
|
-
MotionVariantValues,
|
|
1783
|
-
OpacityStep,
|
|
1784
|
-
Overflow,
|
|
1785
|
-
Palette,
|
|
1786
|
-
PaletteConfig,
|
|
1787
|
-
PaletteType,
|
|
1788
|
-
PaletteValue,
|
|
1789
|
-
Percentage,
|
|
1790
|
-
PercentageUnit,
|
|
1791
|
-
PixelsUnit,
|
|
1792
|
-
PlatformMode,
|
|
1793
|
-
Position,
|
|
1794
|
-
PropertyToPaletteAliasMap,
|
|
1795
|
-
RadioSize,
|
|
1796
|
-
RadioValue,
|
|
1797
|
-
RadioVariant,
|
|
1798
|
-
RegionMode,
|
|
1799
|
-
RemsUnit,
|
|
1800
|
-
ScaleConfig,
|
|
1801
|
-
ScaleEffectMap,
|
|
1802
|
-
ScaleMode,
|
|
1803
|
-
ScaleModeConfig,
|
|
1804
|
-
ScaleModeForApp,
|
|
1805
|
-
ShadowColor,
|
|
1806
|
-
ShadowColorConfig,
|
|
1807
|
-
ShadowConfig,
|
|
1808
|
-
ShadowOffset,
|
|
1809
|
-
ShadowOpacity,
|
|
1810
|
-
ShadowPalette,
|
|
1811
|
-
ShadowPaletteAlias,
|
|
1812
|
-
ShadowPreset,
|
|
1813
|
-
ShadowSpreadRadius,
|
|
1814
|
-
ShadowStyleProps,
|
|
1815
|
-
ShadowType,
|
|
1816
|
-
ShadowTypeConfig,
|
|
1817
|
-
ShadowVariant,
|
|
1818
|
-
ShadowVariantConfig,
|
|
1819
|
-
ShadowVariantInvert,
|
|
1820
|
-
ShadowVariantWithInvert,
|
|
1821
|
-
SharedPaletteAlias,
|
|
1822
|
-
SpacingAlias,
|
|
1823
|
-
SpacingConfig,
|
|
1824
|
-
SpacingStyleProps,
|
|
1825
|
-
SpectrumColor,
|
|
1826
|
-
SpectrumConfig,
|
|
1827
|
-
StateStyleProps,
|
|
1828
|
-
StyleProps,
|
|
1829
|
-
SwitchSize,
|
|
1830
|
-
TextDecorationLine,
|
|
1831
|
-
TextProperty,
|
|
1832
|
-
TextStyleProps,
|
|
1833
|
-
TextTransform,
|
|
1834
|
-
TextTransformConfig,
|
|
1835
|
-
TextVariant,
|
|
1836
|
-
TextVariantTypography,
|
|
1837
|
-
TextVariantUi,
|
|
1838
|
-
TextVariantWithoutEmphasized,
|
|
1839
|
-
TransitionDelay,
|
|
1840
|
-
TransitionDuration,
|
|
1841
|
-
TransitionTiming,
|
|
1842
|
-
TShirtSize,
|
|
1843
|
-
TShirtSizeCommon,
|
|
1844
|
-
TypographyConfig,
|
|
1845
|
-
TypographyResponsiveProperty,
|
|
1846
|
-
TypographyStyle,
|
|
1847
|
-
TypographyStyleProperty,
|
|
1848
|
-
TypographyUnitValue,
|
|
1849
|
-
UdsCssVar,
|
|
1850
|
-
UnitlessUnit,
|
|
1851
|
-
UniversalAvatarIconProps,
|
|
1852
|
-
UniversalAvatarImageProps,
|
|
1853
|
-
UniversalAvatarProps,
|
|
1854
|
-
UniversalAvatarTextProps,
|
|
1855
|
-
UniversalBadgeProps,
|
|
1856
|
-
UniversalBoxProps,
|
|
1857
|
-
UniversalButtonProps,
|
|
1858
|
-
UniversalCheckboxProps,
|
|
1859
|
-
UniversalChipBaseProps,
|
|
1860
|
-
UniversalChipButtonProps,
|
|
1861
|
-
UniversalChipDismissibleProps,
|
|
1862
|
-
UniversalChipLinkProps,
|
|
1863
|
-
UniversalChipProps,
|
|
1864
|
-
UniversalChipToggleProps,
|
|
1865
|
-
UniversalDividerProps,
|
|
1866
|
-
UniversalFormLabelProps,
|
|
1867
|
-
UniversalIconButtonProps,
|
|
1868
|
-
UniversalIconProps,
|
|
1869
|
-
UniversalIconSlot,
|
|
1870
|
-
UniversalImageProps,
|
|
1871
|
-
UniversalInputProps,
|
|
1872
|
-
UniversalLinkProps,
|
|
1873
|
-
UniversalMenuItemProps,
|
|
1874
|
-
UniversalPressableProps,
|
|
1875
|
-
UniversalRadioGroupProps,
|
|
1876
|
-
UniversalRadioProps,
|
|
1877
|
-
UniversalStackProps,
|
|
1878
|
-
UniversalSwitchProps,
|
|
1879
|
-
UniversalTextProps,
|
|
1880
|
-
UniversalTokensConfig,
|
|
1881
|
-
UniversalTokensConfigAuto,
|
|
1882
|
-
};
|