@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
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { PropsWithChildren, ElementType, ReactNode, ReactElement, Ref } from 'react';
|
|
2
|
+
import { SvgIcon, IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
|
3
|
+
|
|
4
|
+
declare const alwaysPalette: {
|
|
5
|
+
white: string;
|
|
6
|
+
black: string;
|
|
7
|
+
transparent: string;
|
|
8
|
+
current: string;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
type SharedPrimaryPaletteAlias = 'brand' | 'alert' | 'positive' | 'warning' | 'info';
|
|
12
|
+
type SharedSecondaryPaletteAlias = `${SharedPrimaryPaletteAlias}-secondary`;
|
|
13
|
+
type SharedPaletteAlias = SharedPrimaryPaletteAlias | SharedSecondaryPaletteAlias;
|
|
14
|
+
type DeprecatedAccentAlias = 'accent';
|
|
15
|
+
type BackgroundPaletteAlias = 'primary' | 'secondary' | DeprecatedAccentAlias | SharedPaletteAlias;
|
|
16
|
+
type ForegroundPaletteAlias = 'primary' | 'secondary' | 'tertiary' | 'muted' | 'on-color' | DeprecatedAccentAlias | SharedPaletteAlias;
|
|
17
|
+
type LinePaletteAlias = 'primary' | 'secondary' | 'tertiary' | 'muted' | DeprecatedAccentAlias | SharedPaletteAlias;
|
|
18
|
+
type AlwaysPalette = typeof alwaysPalette;
|
|
19
|
+
type AlwaysPaletteAlias = keyof AlwaysPalette;
|
|
20
|
+
type ForegroundColor = ForegroundPaletteAlias | AlwaysPaletteAlias;
|
|
21
|
+
type LineColor = LinePaletteAlias | AlwaysPaletteAlias;
|
|
22
|
+
type BackgroundColor = BackgroundPaletteAlias | AlwaysPaletteAlias;
|
|
23
|
+
type ShadowVariant = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
24
|
+
type ShadowVariantInvert = `${Exclude<ShadowVariant, 'none'>}-invert`;
|
|
25
|
+
type TextVariantTypography = 'display1' | 'display2' | 'display3' | 'title1' | 'title2' | 'title3' | 'title4' | 'headline1' | 'body1' | 'label1' | 'label2' | 'label3' | 'label4' | 'caption1' | 'caption2' | 'legal1';
|
|
26
|
+
type TextVariantUi = 'ui1' | 'ui2' | 'ui3' | 'ui4' | 'ui5' | 'ui6';
|
|
27
|
+
type TextVariantWithoutEmphasized = TextVariantTypography | TextVariantUi;
|
|
28
|
+
type TextVariant = TextVariantWithoutEmphasized | `${TextVariantWithoutEmphasized}/emphasized`;
|
|
29
|
+
type FontAlias = 'sans' | 'sans-alt' | 'serif' | 'serif-alt' | 'mono';
|
|
30
|
+
type FontWeightDescriptive = 'thin' | 'extralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
|
|
31
|
+
type TextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
|
|
32
|
+
type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
33
|
+
type SpacingAlias = '0' | 'px' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '4.5' | '5' | '5.5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40' | '44' | '48' | '52' | '56' | '60' | '64' | '72' | '80' | '96';
|
|
34
|
+
type BorderRadius = TShirtSize;
|
|
35
|
+
type BorderWidth = 'none' | 'thin' | 'medium' | 'thick';
|
|
36
|
+
type Flex = '1' | 'auto' | 'initial' | 'none';
|
|
37
|
+
type FlexGrow = '0' | '1' | '2' | '3';
|
|
38
|
+
type FlexShrink = '0' | '1';
|
|
39
|
+
type FlexAlignContent = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'space-between' | 'space-around';
|
|
40
|
+
type FlexAlignItems = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
|
|
41
|
+
type FlexAlignSelf = 'auto' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
|
|
42
|
+
type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
43
|
+
type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
44
|
+
type FlexJustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
|
|
45
|
+
type FlexBasis = 'min-content';
|
|
46
|
+
type Display = 'block' | 'inline-block' | 'inline' | 'flex' | 'inline-flex' | 'table' | 'inline-table' | 'table-caption' | 'table-cell' | 'table-column' | 'table-column-group' | 'table-footer-group' | 'table-header-group' | 'table-row-group' | 'table-row' | 'flow-root' | 'grid' | 'contents';
|
|
47
|
+
type Overflow = 'auto' | 'hidden' | 'clip' | 'visible' | 'scroll';
|
|
48
|
+
type Position = 'static' | 'fixed' | 'absolute' | 'relative' | 'sticky';
|
|
49
|
+
interface BorderStyleProps {
|
|
50
|
+
/** Add a border radius to all corners of the box. */
|
|
51
|
+
borderRadius?: BorderRadius;
|
|
52
|
+
/** Add a border radius to top left corner of the box. */
|
|
53
|
+
borderTopStartRadius?: BorderRadius;
|
|
54
|
+
/** Add a border radius to top right corner of the box. */
|
|
55
|
+
borderTopEndRadius?: BorderRadius;
|
|
56
|
+
/** Add a border radius to bottom left corner of the box. */
|
|
57
|
+
borderBottomStartRadius?: BorderRadius;
|
|
58
|
+
/** Add a border radius to bottom right corner of the box. */
|
|
59
|
+
borderBottomEndRadius?: BorderRadius;
|
|
60
|
+
/** Adds a custom border color from the palette */
|
|
61
|
+
borderColor?: LineColor;
|
|
62
|
+
/** Start border color */
|
|
63
|
+
borderStartColor?: LineColor;
|
|
64
|
+
/** End border color */
|
|
65
|
+
borderEndColor?: LineColor;
|
|
66
|
+
/** Top border color */
|
|
67
|
+
borderTopColor?: LineColor;
|
|
68
|
+
/** Bottom border color */
|
|
69
|
+
borderBottomColor?: LineColor;
|
|
70
|
+
/** Shorthand property to the width of an element's border. */
|
|
71
|
+
borderWidth?: BorderWidth;
|
|
72
|
+
/** Sets the width of the top and bottom border of an element. */
|
|
73
|
+
borderVerticalWidth?: BorderWidth;
|
|
74
|
+
/** Sets the width of the start (left) and end (right) border of an element. */
|
|
75
|
+
borderHorizontalWidth?: BorderWidth;
|
|
76
|
+
/** Sets the width of the start (left) border of an element. */
|
|
77
|
+
borderStartWidth?: BorderWidth;
|
|
78
|
+
/** Sets the width of the end (right) border of an element. */
|
|
79
|
+
borderEndWidth?: BorderWidth;
|
|
80
|
+
/** Sets the width of the top border of an element. */
|
|
81
|
+
borderTopWidth?: BorderWidth;
|
|
82
|
+
/** Sets the width of the bottom border of an element. */
|
|
83
|
+
borderBottomWidth?: BorderWidth;
|
|
84
|
+
}
|
|
85
|
+
interface ShadowStyleProps {
|
|
86
|
+
/** Sets the variant of the shadow. */
|
|
87
|
+
dropShadow?: ShadowVariant;
|
|
88
|
+
/** Sets the variant of the inset shadow. */
|
|
89
|
+
insetShadow?: ShadowVariant | ShadowVariantInvert;
|
|
90
|
+
}
|
|
91
|
+
interface LayoutStyleProps {
|
|
92
|
+
/** 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. */
|
|
93
|
+
display?: Display;
|
|
94
|
+
/** 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. */
|
|
95
|
+
overflow?: Overflow;
|
|
96
|
+
/** 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. */
|
|
97
|
+
overflowX?: Overflow;
|
|
98
|
+
/** 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. */
|
|
99
|
+
overflowY?: Overflow;
|
|
100
|
+
/** Sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements. */
|
|
101
|
+
position?: Position;
|
|
102
|
+
}
|
|
103
|
+
interface SpacingStyleProps {
|
|
104
|
+
/** Apply inner spacing on all sides. */
|
|
105
|
+
spacing?: SpacingAlias;
|
|
106
|
+
/** Apply inner spacing on the leading and trailing sides. */
|
|
107
|
+
spacingHorizontal?: SpacingAlias;
|
|
108
|
+
/** Apply inner spacing on the top and bottom sides. */
|
|
109
|
+
spacingVertical?: SpacingAlias;
|
|
110
|
+
/** Apply inner spacing on the bottom side. */
|
|
111
|
+
spacingBottom?: SpacingAlias;
|
|
112
|
+
/** Apply inner spacing on the trailing side. */
|
|
113
|
+
spacingEnd?: SpacingAlias;
|
|
114
|
+
/** Apply inner spacing on the leading side. */
|
|
115
|
+
spacingStart?: SpacingAlias;
|
|
116
|
+
/** Apply inner spacing on the top side. */
|
|
117
|
+
spacingTop?: SpacingAlias;
|
|
118
|
+
/** Apply negative outer spacing on all sides. */
|
|
119
|
+
offset?: SpacingAlias;
|
|
120
|
+
/** Apply negative outer spacing on the top and bottom sides. */
|
|
121
|
+
offsetVertical?: SpacingAlias;
|
|
122
|
+
/** Apply negative outer spacing on the leading and trailing sides. */
|
|
123
|
+
offsetHorizontal?: SpacingAlias;
|
|
124
|
+
/** Apply negative outer spacing on the bottom side. */
|
|
125
|
+
offsetBottom?: SpacingAlias;
|
|
126
|
+
/** Apply negative outer spacing on the trailing side. */
|
|
127
|
+
offsetEnd?: SpacingAlias;
|
|
128
|
+
/** Apply negative outer spacing on the leading side. */
|
|
129
|
+
offsetStart?: SpacingAlias;
|
|
130
|
+
/** Apply negative outer spacing on the top side. */
|
|
131
|
+
offsetTop?: SpacingAlias;
|
|
132
|
+
/** Control the horizontal gutters between grid and flexbox items. */
|
|
133
|
+
columnGap?: SpacingAlias;
|
|
134
|
+
/** Control the vertical gutters between grid and flexbox items. */
|
|
135
|
+
rowGap?: SpacingAlias;
|
|
136
|
+
}
|
|
137
|
+
interface FlexStyleProps {
|
|
138
|
+
/** Sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis. */
|
|
139
|
+
alignContent?: FlexAlignContent;
|
|
140
|
+
/** 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. */
|
|
141
|
+
alignItems?: FlexAlignItems;
|
|
142
|
+
/** 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. */
|
|
143
|
+
alignSelf?: FlexAlignSelf;
|
|
144
|
+
/** Sets how a flex item will grow or shrink to fit the space available in its flex container. */
|
|
145
|
+
flex?: Flex;
|
|
146
|
+
/** Sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed). */
|
|
147
|
+
flexDirection?: FlexDirection;
|
|
148
|
+
/** 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. */
|
|
149
|
+
flexGrow?: FlexGrow;
|
|
150
|
+
/** 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. */
|
|
151
|
+
flexShrink?: FlexShrink;
|
|
152
|
+
/** 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. */
|
|
153
|
+
flexWrap?: FlexWrap;
|
|
154
|
+
/** 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. */
|
|
155
|
+
justifyContent?: FlexJustifyContent;
|
|
156
|
+
/** 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 */
|
|
157
|
+
flexBasis?: FlexBasis;
|
|
158
|
+
}
|
|
159
|
+
interface TextStyleProps {
|
|
160
|
+
/** Color of a Text or Icon element */
|
|
161
|
+
color?: ForegroundColor;
|
|
162
|
+
/** Color of placeholder text */
|
|
163
|
+
placeholderColor?: ForegroundColor;
|
|
164
|
+
/** Font family for the text */
|
|
165
|
+
fontFamily?: TextVariant | FontAlias;
|
|
166
|
+
/** Font size of the text */
|
|
167
|
+
fontSize?: TextVariant;
|
|
168
|
+
/** Letter spacing of the text */
|
|
169
|
+
letterSpacing?: TextVariant;
|
|
170
|
+
/**
|
|
171
|
+
* Font weight of the text
|
|
172
|
+
*
|
|
173
|
+
* @deprecated Consider using an `emphasized` text variant instead. For example: `display1/emphasized`
|
|
174
|
+
*/
|
|
175
|
+
fontWeight?: TextVariant | FontWeightDescriptive;
|
|
176
|
+
/** Line height of the text */
|
|
177
|
+
lineHeight?: TextVariant;
|
|
178
|
+
/** Text alignment of the text */
|
|
179
|
+
textAlign?: 'center' | 'justify' | 'start' | 'end';
|
|
180
|
+
/** Sets the text transform for the text */
|
|
181
|
+
textTransform?: TextVariant | TextTransform;
|
|
182
|
+
}
|
|
183
|
+
interface BackgroundStyleProps {
|
|
184
|
+
/** Sets the background color. */
|
|
185
|
+
backgroundColor?: BackgroundColor;
|
|
186
|
+
}
|
|
187
|
+
interface SizeStyleProps {
|
|
188
|
+
/** Sets the width of an element. */
|
|
189
|
+
width?: 'full' | 'fit' | 'screen';
|
|
190
|
+
/** Sets the height of an element. */
|
|
191
|
+
height?: 'full' | 'fit' | 'screen';
|
|
192
|
+
}
|
|
193
|
+
interface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, SpacingStyleProps, SizeStyleProps, ShadowStyleProps {
|
|
194
|
+
/**
|
|
195
|
+
* When asChild is set to true, the component's child will be cloned and passed
|
|
196
|
+
* the props and behavior required to make it functional.
|
|
197
|
+
*/
|
|
198
|
+
asChild?: boolean;
|
|
199
|
+
/**
|
|
200
|
+
* Customize tag name.
|
|
201
|
+
*/
|
|
202
|
+
as?: ElementType;
|
|
203
|
+
}
|
|
204
|
+
interface UniversalStackProps extends Omit<UniversalBoxProps, 'flexDirection'> {
|
|
205
|
+
gap?: SpacingAlias;
|
|
206
|
+
separator?: ReactNode | ((index: number) => ReactNode);
|
|
207
|
+
}
|
|
208
|
+
interface UniversalTextProps extends PropsWithChildren, TextStyleProps, UniversalBoxProps {
|
|
209
|
+
/** Style of text. */
|
|
210
|
+
variant?: TextVariant;
|
|
211
|
+
/** Color of the text. */
|
|
212
|
+
color?: ForegroundColor;
|
|
213
|
+
}
|
|
214
|
+
interface UniversalIconProps {
|
|
215
|
+
/** Icon to render from the icons package. */
|
|
216
|
+
name: SvgIcon;
|
|
217
|
+
/** Size of the icon. */
|
|
218
|
+
size?: IconSize;
|
|
219
|
+
/** Variant for icon. Either fill or outline. */
|
|
220
|
+
variant?: IconVariant;
|
|
221
|
+
/** Color of the icon. */
|
|
222
|
+
color?: ForegroundColor;
|
|
223
|
+
}
|
|
224
|
+
type SVGElementProps = Omit<React.HTMLAttributes<SVGSVGElement>, 'color'>;
|
|
225
|
+
interface IconPropsWithSVGProps extends UniversalIconProps, SVGElementProps {
|
|
226
|
+
}
|
|
227
|
+
type IconSlotRenderProps = Omit<IconPropsWithSVGProps, 'name'>;
|
|
228
|
+
/**
|
|
229
|
+
* We are changing the slot prop from ReactNode to ReactElement to avoid
|
|
230
|
+
* confusing and useless options like number and string, however,
|
|
231
|
+
* there are cases where folks are using null/undefined to dynamically opt-out
|
|
232
|
+
* of rendering the icon. We want to still allow that.
|
|
233
|
+
*/
|
|
234
|
+
type BackwardsCompatibleReactElement = null | undefined | ReactElement;
|
|
235
|
+
/**
|
|
236
|
+
* Used anywhere we offer an icon which can be customized.
|
|
237
|
+
*
|
|
238
|
+
* Passing an SvgIcon is the happy path.
|
|
239
|
+
*
|
|
240
|
+
* @example
|
|
241
|
+
* import { Calendar } from "@yahoo/uds-icons"
|
|
242
|
+
* <IconSlot icon={Calendar} />
|
|
243
|
+
*/
|
|
244
|
+
type UniversalIconSlot = SvgIcon | BackwardsCompatibleReactElement | ((iconProps: IconSlotRenderProps) => BackwardsCompatibleReactElement);
|
|
245
|
+
type SwitchSize = 'sm' | 'md';
|
|
246
|
+
interface UniversalSwitchProps {
|
|
247
|
+
/**
|
|
248
|
+
* Size of the switch.
|
|
249
|
+
* @default 'md'
|
|
250
|
+
*/
|
|
251
|
+
size?: SwitchSize;
|
|
252
|
+
/**
|
|
253
|
+
* The label of the switch. Can be a ReactNode for rich html labels.
|
|
254
|
+
* Will not be labelled if omitted. User MUST then use `aria-label` attribute,
|
|
255
|
+
* wrap in a `<label>` tag or `htmlFor` to add an external label for a11y.
|
|
256
|
+
*/
|
|
257
|
+
label?: string | ReactNode | (() => ReactNode);
|
|
258
|
+
/**
|
|
259
|
+
* Controlled value of the switch. Will be an uncontrolled input if not present.
|
|
260
|
+
*/
|
|
261
|
+
isOn?: boolean;
|
|
262
|
+
/**
|
|
263
|
+
* Set the initial value to default when uncontrolled.
|
|
264
|
+
*/
|
|
265
|
+
defaultIsOn?: boolean;
|
|
266
|
+
/** An icon to be displayed on the on state of the input. */
|
|
267
|
+
onIcon?: UniversalIconSlot;
|
|
268
|
+
/** An icon to be displayed on the off state of the input. */
|
|
269
|
+
offIcon?: UniversalIconSlot;
|
|
270
|
+
/**
|
|
271
|
+
* Disables animations when true.
|
|
272
|
+
*/
|
|
273
|
+
reduceMotion?: boolean;
|
|
274
|
+
/**
|
|
275
|
+
* On which side of the input is the label displayed.
|
|
276
|
+
* @default 'start'
|
|
277
|
+
*/
|
|
278
|
+
labelPosition?: 'start' | 'end';
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
type DivProps = React.HTMLAttributes<HTMLDivElement>;
|
|
282
|
+
interface BoxProps extends UniversalBoxProps, DivProps {
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
|
|
286
|
+
type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
|
|
287
|
+
type VariantWithInherit = Exclude<UniversalTextProps['variant'], undefined> | 'inherit';
|
|
288
|
+
type TextProps<TagName extends TextElementTagName = TextElementTagName> = {
|
|
289
|
+
/** Ref passed to the inner container. */
|
|
290
|
+
ref?: Ref<HTMLElement>;
|
|
291
|
+
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
292
|
+
as?: TagName;
|
|
293
|
+
variant?: VariantWithInherit;
|
|
294
|
+
color?: ColorWithInherit;
|
|
295
|
+
} & JSX.IntrinsicElements[TagName] & Omit<UniversalTextProps, 'variant' | 'color'>;
|
|
296
|
+
|
|
297
|
+
export type { BoxProps as B, DivProps as D, IconPropsWithSVGProps as I, TextProps as T, UniversalTextProps as U, UniversalStackProps as a, UniversalSwitchProps as b };
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { PropsWithChildren, ElementType, ReactNode, ReactElement, Ref } from 'react';
|
|
2
|
+
import { SvgIcon, IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
|
3
|
+
|
|
4
|
+
declare const alwaysPalette: {
|
|
5
|
+
white: string;
|
|
6
|
+
black: string;
|
|
7
|
+
transparent: string;
|
|
8
|
+
current: string;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
type SharedPrimaryPaletteAlias = 'brand' | 'alert' | 'positive' | 'warning' | 'info';
|
|
12
|
+
type SharedSecondaryPaletteAlias = `${SharedPrimaryPaletteAlias}-secondary`;
|
|
13
|
+
type SharedPaletteAlias = SharedPrimaryPaletteAlias | SharedSecondaryPaletteAlias;
|
|
14
|
+
type DeprecatedAccentAlias = 'accent';
|
|
15
|
+
type BackgroundPaletteAlias = 'primary' | 'secondary' | DeprecatedAccentAlias | SharedPaletteAlias;
|
|
16
|
+
type ForegroundPaletteAlias = 'primary' | 'secondary' | 'tertiary' | 'muted' | 'on-color' | DeprecatedAccentAlias | SharedPaletteAlias;
|
|
17
|
+
type LinePaletteAlias = 'primary' | 'secondary' | 'tertiary' | 'muted' | DeprecatedAccentAlias | SharedPaletteAlias;
|
|
18
|
+
type AlwaysPalette = typeof alwaysPalette;
|
|
19
|
+
type AlwaysPaletteAlias = keyof AlwaysPalette;
|
|
20
|
+
type ForegroundColor = ForegroundPaletteAlias | AlwaysPaletteAlias;
|
|
21
|
+
type LineColor = LinePaletteAlias | AlwaysPaletteAlias;
|
|
22
|
+
type BackgroundColor = BackgroundPaletteAlias | AlwaysPaletteAlias;
|
|
23
|
+
type ShadowVariant = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
24
|
+
type ShadowVariantInvert = `${Exclude<ShadowVariant, 'none'>}-invert`;
|
|
25
|
+
type TextVariantTypography = 'display1' | 'display2' | 'display3' | 'title1' | 'title2' | 'title3' | 'title4' | 'headline1' | 'body1' | 'label1' | 'label2' | 'label3' | 'label4' | 'caption1' | 'caption2' | 'legal1';
|
|
26
|
+
type TextVariantUi = 'ui1' | 'ui2' | 'ui3' | 'ui4' | 'ui5' | 'ui6';
|
|
27
|
+
type TextVariantWithoutEmphasized = TextVariantTypography | TextVariantUi;
|
|
28
|
+
type TextVariant = TextVariantWithoutEmphasized | `${TextVariantWithoutEmphasized}/emphasized`;
|
|
29
|
+
type FontAlias = 'sans' | 'sans-alt' | 'serif' | 'serif-alt' | 'mono';
|
|
30
|
+
type FontWeightDescriptive = 'thin' | 'extralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
|
|
31
|
+
type TextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
|
|
32
|
+
type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
33
|
+
type SpacingAlias = '0' | 'px' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '4.5' | '5' | '5.5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40' | '44' | '48' | '52' | '56' | '60' | '64' | '72' | '80' | '96';
|
|
34
|
+
type BorderRadius = TShirtSize;
|
|
35
|
+
type BorderWidth = 'none' | 'thin' | 'medium' | 'thick';
|
|
36
|
+
type Flex = '1' | 'auto' | 'initial' | 'none';
|
|
37
|
+
type FlexGrow = '0' | '1' | '2' | '3';
|
|
38
|
+
type FlexShrink = '0' | '1';
|
|
39
|
+
type FlexAlignContent = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'space-between' | 'space-around';
|
|
40
|
+
type FlexAlignItems = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
|
|
41
|
+
type FlexAlignSelf = 'auto' | 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
|
|
42
|
+
type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
43
|
+
type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
|
|
44
|
+
type FlexJustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
|
|
45
|
+
type FlexBasis = 'min-content';
|
|
46
|
+
type Display = 'block' | 'inline-block' | 'inline' | 'flex' | 'inline-flex' | 'table' | 'inline-table' | 'table-caption' | 'table-cell' | 'table-column' | 'table-column-group' | 'table-footer-group' | 'table-header-group' | 'table-row-group' | 'table-row' | 'flow-root' | 'grid' | 'contents';
|
|
47
|
+
type Overflow = 'auto' | 'hidden' | 'clip' | 'visible' | 'scroll';
|
|
48
|
+
type Position = 'static' | 'fixed' | 'absolute' | 'relative' | 'sticky';
|
|
49
|
+
interface BorderStyleProps {
|
|
50
|
+
/** Add a border radius to all corners of the box. */
|
|
51
|
+
borderRadius?: BorderRadius;
|
|
52
|
+
/** Add a border radius to top left corner of the box. */
|
|
53
|
+
borderTopStartRadius?: BorderRadius;
|
|
54
|
+
/** Add a border radius to top right corner of the box. */
|
|
55
|
+
borderTopEndRadius?: BorderRadius;
|
|
56
|
+
/** Add a border radius to bottom left corner of the box. */
|
|
57
|
+
borderBottomStartRadius?: BorderRadius;
|
|
58
|
+
/** Add a border radius to bottom right corner of the box. */
|
|
59
|
+
borderBottomEndRadius?: BorderRadius;
|
|
60
|
+
/** Adds a custom border color from the palette */
|
|
61
|
+
borderColor?: LineColor;
|
|
62
|
+
/** Start border color */
|
|
63
|
+
borderStartColor?: LineColor;
|
|
64
|
+
/** End border color */
|
|
65
|
+
borderEndColor?: LineColor;
|
|
66
|
+
/** Top border color */
|
|
67
|
+
borderTopColor?: LineColor;
|
|
68
|
+
/** Bottom border color */
|
|
69
|
+
borderBottomColor?: LineColor;
|
|
70
|
+
/** Shorthand property to the width of an element's border. */
|
|
71
|
+
borderWidth?: BorderWidth;
|
|
72
|
+
/** Sets the width of the top and bottom border of an element. */
|
|
73
|
+
borderVerticalWidth?: BorderWidth;
|
|
74
|
+
/** Sets the width of the start (left) and end (right) border of an element. */
|
|
75
|
+
borderHorizontalWidth?: BorderWidth;
|
|
76
|
+
/** Sets the width of the start (left) border of an element. */
|
|
77
|
+
borderStartWidth?: BorderWidth;
|
|
78
|
+
/** Sets the width of the end (right) border of an element. */
|
|
79
|
+
borderEndWidth?: BorderWidth;
|
|
80
|
+
/** Sets the width of the top border of an element. */
|
|
81
|
+
borderTopWidth?: BorderWidth;
|
|
82
|
+
/** Sets the width of the bottom border of an element. */
|
|
83
|
+
borderBottomWidth?: BorderWidth;
|
|
84
|
+
}
|
|
85
|
+
interface ShadowStyleProps {
|
|
86
|
+
/** Sets the variant of the shadow. */
|
|
87
|
+
dropShadow?: ShadowVariant;
|
|
88
|
+
/** Sets the variant of the inset shadow. */
|
|
89
|
+
insetShadow?: ShadowVariant | ShadowVariantInvert;
|
|
90
|
+
}
|
|
91
|
+
interface LayoutStyleProps {
|
|
92
|
+
/** 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. */
|
|
93
|
+
display?: Display;
|
|
94
|
+
/** 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. */
|
|
95
|
+
overflow?: Overflow;
|
|
96
|
+
/** 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. */
|
|
97
|
+
overflowX?: Overflow;
|
|
98
|
+
/** 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. */
|
|
99
|
+
overflowY?: Overflow;
|
|
100
|
+
/** Sets how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements. */
|
|
101
|
+
position?: Position;
|
|
102
|
+
}
|
|
103
|
+
interface SpacingStyleProps {
|
|
104
|
+
/** Apply inner spacing on all sides. */
|
|
105
|
+
spacing?: SpacingAlias;
|
|
106
|
+
/** Apply inner spacing on the leading and trailing sides. */
|
|
107
|
+
spacingHorizontal?: SpacingAlias;
|
|
108
|
+
/** Apply inner spacing on the top and bottom sides. */
|
|
109
|
+
spacingVertical?: SpacingAlias;
|
|
110
|
+
/** Apply inner spacing on the bottom side. */
|
|
111
|
+
spacingBottom?: SpacingAlias;
|
|
112
|
+
/** Apply inner spacing on the trailing side. */
|
|
113
|
+
spacingEnd?: SpacingAlias;
|
|
114
|
+
/** Apply inner spacing on the leading side. */
|
|
115
|
+
spacingStart?: SpacingAlias;
|
|
116
|
+
/** Apply inner spacing on the top side. */
|
|
117
|
+
spacingTop?: SpacingAlias;
|
|
118
|
+
/** Apply negative outer spacing on all sides. */
|
|
119
|
+
offset?: SpacingAlias;
|
|
120
|
+
/** Apply negative outer spacing on the top and bottom sides. */
|
|
121
|
+
offsetVertical?: SpacingAlias;
|
|
122
|
+
/** Apply negative outer spacing on the leading and trailing sides. */
|
|
123
|
+
offsetHorizontal?: SpacingAlias;
|
|
124
|
+
/** Apply negative outer spacing on the bottom side. */
|
|
125
|
+
offsetBottom?: SpacingAlias;
|
|
126
|
+
/** Apply negative outer spacing on the trailing side. */
|
|
127
|
+
offsetEnd?: SpacingAlias;
|
|
128
|
+
/** Apply negative outer spacing on the leading side. */
|
|
129
|
+
offsetStart?: SpacingAlias;
|
|
130
|
+
/** Apply negative outer spacing on the top side. */
|
|
131
|
+
offsetTop?: SpacingAlias;
|
|
132
|
+
/** Control the horizontal gutters between grid and flexbox items. */
|
|
133
|
+
columnGap?: SpacingAlias;
|
|
134
|
+
/** Control the vertical gutters between grid and flexbox items. */
|
|
135
|
+
rowGap?: SpacingAlias;
|
|
136
|
+
}
|
|
137
|
+
interface FlexStyleProps {
|
|
138
|
+
/** Sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis. */
|
|
139
|
+
alignContent?: FlexAlignContent;
|
|
140
|
+
/** 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. */
|
|
141
|
+
alignItems?: FlexAlignItems;
|
|
142
|
+
/** 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. */
|
|
143
|
+
alignSelf?: FlexAlignSelf;
|
|
144
|
+
/** Sets how a flex item will grow or shrink to fit the space available in its flex container. */
|
|
145
|
+
flex?: Flex;
|
|
146
|
+
/** Sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed). */
|
|
147
|
+
flexDirection?: FlexDirection;
|
|
148
|
+
/** 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. */
|
|
149
|
+
flexGrow?: FlexGrow;
|
|
150
|
+
/** 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. */
|
|
151
|
+
flexShrink?: FlexShrink;
|
|
152
|
+
/** 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. */
|
|
153
|
+
flexWrap?: FlexWrap;
|
|
154
|
+
/** 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. */
|
|
155
|
+
justifyContent?: FlexJustifyContent;
|
|
156
|
+
/** 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 */
|
|
157
|
+
flexBasis?: FlexBasis;
|
|
158
|
+
}
|
|
159
|
+
interface TextStyleProps {
|
|
160
|
+
/** Color of a Text or Icon element */
|
|
161
|
+
color?: ForegroundColor;
|
|
162
|
+
/** Color of placeholder text */
|
|
163
|
+
placeholderColor?: ForegroundColor;
|
|
164
|
+
/** Font family for the text */
|
|
165
|
+
fontFamily?: TextVariant | FontAlias;
|
|
166
|
+
/** Font size of the text */
|
|
167
|
+
fontSize?: TextVariant;
|
|
168
|
+
/** Letter spacing of the text */
|
|
169
|
+
letterSpacing?: TextVariant;
|
|
170
|
+
/**
|
|
171
|
+
* Font weight of the text
|
|
172
|
+
*
|
|
173
|
+
* @deprecated Consider using an `emphasized` text variant instead. For example: `display1/emphasized`
|
|
174
|
+
*/
|
|
175
|
+
fontWeight?: TextVariant | FontWeightDescriptive;
|
|
176
|
+
/** Line height of the text */
|
|
177
|
+
lineHeight?: TextVariant;
|
|
178
|
+
/** Text alignment of the text */
|
|
179
|
+
textAlign?: 'center' | 'justify' | 'start' | 'end';
|
|
180
|
+
/** Sets the text transform for the text */
|
|
181
|
+
textTransform?: TextVariant | TextTransform;
|
|
182
|
+
}
|
|
183
|
+
interface BackgroundStyleProps {
|
|
184
|
+
/** Sets the background color. */
|
|
185
|
+
backgroundColor?: BackgroundColor;
|
|
186
|
+
}
|
|
187
|
+
interface SizeStyleProps {
|
|
188
|
+
/** Sets the width of an element. */
|
|
189
|
+
width?: 'full' | 'fit' | 'screen';
|
|
190
|
+
/** Sets the height of an element. */
|
|
191
|
+
height?: 'full' | 'fit' | 'screen';
|
|
192
|
+
}
|
|
193
|
+
interface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, SpacingStyleProps, SizeStyleProps, ShadowStyleProps {
|
|
194
|
+
/**
|
|
195
|
+
* When asChild is set to true, the component's child will be cloned and passed
|
|
196
|
+
* the props and behavior required to make it functional.
|
|
197
|
+
*/
|
|
198
|
+
asChild?: boolean;
|
|
199
|
+
/**
|
|
200
|
+
* Customize tag name.
|
|
201
|
+
*/
|
|
202
|
+
as?: ElementType;
|
|
203
|
+
}
|
|
204
|
+
interface UniversalStackProps extends Omit<UniversalBoxProps, 'flexDirection'> {
|
|
205
|
+
gap?: SpacingAlias;
|
|
206
|
+
separator?: ReactNode | ((index: number) => ReactNode);
|
|
207
|
+
}
|
|
208
|
+
interface UniversalTextProps extends PropsWithChildren, TextStyleProps, UniversalBoxProps {
|
|
209
|
+
/** Style of text. */
|
|
210
|
+
variant?: TextVariant;
|
|
211
|
+
/** Color of the text. */
|
|
212
|
+
color?: ForegroundColor;
|
|
213
|
+
}
|
|
214
|
+
interface UniversalIconProps {
|
|
215
|
+
/** Icon to render from the icons package. */
|
|
216
|
+
name: SvgIcon;
|
|
217
|
+
/** Size of the icon. */
|
|
218
|
+
size?: IconSize;
|
|
219
|
+
/** Variant for icon. Either fill or outline. */
|
|
220
|
+
variant?: IconVariant;
|
|
221
|
+
/** Color of the icon. */
|
|
222
|
+
color?: ForegroundColor;
|
|
223
|
+
}
|
|
224
|
+
type SVGElementProps = Omit<React.HTMLAttributes<SVGSVGElement>, 'color'>;
|
|
225
|
+
interface IconPropsWithSVGProps extends UniversalIconProps, SVGElementProps {
|
|
226
|
+
}
|
|
227
|
+
type IconSlotRenderProps = Omit<IconPropsWithSVGProps, 'name'>;
|
|
228
|
+
/**
|
|
229
|
+
* We are changing the slot prop from ReactNode to ReactElement to avoid
|
|
230
|
+
* confusing and useless options like number and string, however,
|
|
231
|
+
* there are cases where folks are using null/undefined to dynamically opt-out
|
|
232
|
+
* of rendering the icon. We want to still allow that.
|
|
233
|
+
*/
|
|
234
|
+
type BackwardsCompatibleReactElement = null | undefined | ReactElement;
|
|
235
|
+
/**
|
|
236
|
+
* Used anywhere we offer an icon which can be customized.
|
|
237
|
+
*
|
|
238
|
+
* Passing an SvgIcon is the happy path.
|
|
239
|
+
*
|
|
240
|
+
* @example
|
|
241
|
+
* import { Calendar } from "@yahoo/uds-icons"
|
|
242
|
+
* <IconSlot icon={Calendar} />
|
|
243
|
+
*/
|
|
244
|
+
type UniversalIconSlot = SvgIcon | BackwardsCompatibleReactElement | ((iconProps: IconSlotRenderProps) => BackwardsCompatibleReactElement);
|
|
245
|
+
type SwitchSize = 'sm' | 'md';
|
|
246
|
+
interface UniversalSwitchProps {
|
|
247
|
+
/**
|
|
248
|
+
* Size of the switch.
|
|
249
|
+
* @default 'md'
|
|
250
|
+
*/
|
|
251
|
+
size?: SwitchSize;
|
|
252
|
+
/**
|
|
253
|
+
* The label of the switch. Can be a ReactNode for rich html labels.
|
|
254
|
+
* Will not be labelled if omitted. User MUST then use `aria-label` attribute,
|
|
255
|
+
* wrap in a `<label>` tag or `htmlFor` to add an external label for a11y.
|
|
256
|
+
*/
|
|
257
|
+
label?: string | ReactNode | (() => ReactNode);
|
|
258
|
+
/**
|
|
259
|
+
* Controlled value of the switch. Will be an uncontrolled input if not present.
|
|
260
|
+
*/
|
|
261
|
+
isOn?: boolean;
|
|
262
|
+
/**
|
|
263
|
+
* Set the initial value to default when uncontrolled.
|
|
264
|
+
*/
|
|
265
|
+
defaultIsOn?: boolean;
|
|
266
|
+
/** An icon to be displayed on the on state of the input. */
|
|
267
|
+
onIcon?: UniversalIconSlot;
|
|
268
|
+
/** An icon to be displayed on the off state of the input. */
|
|
269
|
+
offIcon?: UniversalIconSlot;
|
|
270
|
+
/**
|
|
271
|
+
* Disables animations when true.
|
|
272
|
+
*/
|
|
273
|
+
reduceMotion?: boolean;
|
|
274
|
+
/**
|
|
275
|
+
* On which side of the input is the label displayed.
|
|
276
|
+
* @default 'start'
|
|
277
|
+
*/
|
|
278
|
+
labelPosition?: 'start' | 'end';
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
type DivProps = React.HTMLAttributes<HTMLDivElement>;
|
|
282
|
+
interface BoxProps extends UniversalBoxProps, DivProps {
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
|
|
286
|
+
type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
|
|
287
|
+
type VariantWithInherit = Exclude<UniversalTextProps['variant'], undefined> | 'inherit';
|
|
288
|
+
type TextProps<TagName extends TextElementTagName = TextElementTagName> = {
|
|
289
|
+
/** Ref passed to the inner container. */
|
|
290
|
+
ref?: Ref<HTMLElement>;
|
|
291
|
+
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
292
|
+
as?: TagName;
|
|
293
|
+
variant?: VariantWithInherit;
|
|
294
|
+
color?: ColorWithInherit;
|
|
295
|
+
} & JSX.IntrinsicElements[TagName] & Omit<UniversalTextProps, 'variant' | 'color'>;
|
|
296
|
+
|
|
297
|
+
export type { BoxProps as B, DivProps as D, IconPropsWithSVGProps as I, TextProps as T, UniversalTextProps as U, UniversalStackProps as a, UniversalSwitchProps as b };
|