@yahoo/uds 3.66.1 → 3.67.0-beta.1
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 -2
- package/cli/preload.ts +1 -1
- package/cli/tsconfig.json +1 -10
- package/cli/utils/purgeCSS.ts +14 -24
- package/dist/_virtual/rolldown_runtime.cjs +44 -0
- package/dist/_virtual/rolldown_runtime.js +24 -0
- package/dist/components/Box.cjs +105 -0
- package/dist/{Box-Dw6erJKC.d.cts → components/Box.d.cts} +8 -7
- package/dist/{Box-BkZ2BCj8.d.ts → components/Box.d.ts} +8 -7
- package/dist/components/Box.js +104 -0
- package/dist/components/Divider/Divider.cjs +47 -0
- package/dist/components/Divider/Divider.d.cts +38 -0
- package/dist/components/Divider/Divider.d.ts +38 -0
- package/dist/components/Divider/Divider.js +46 -0
- package/dist/components/Divider/DividerCore.cjs +76 -0
- package/dist/components/Divider/DividerCore.d.cts +15 -0
- package/dist/components/Divider/DividerCore.d.ts +15 -0
- package/dist/components/Divider/DividerCore.js +75 -0
- package/dist/components/Divider/DividerInternal.cjs +28 -0
- package/dist/components/Divider/DividerInternal.d.cts +12 -0
- package/dist/components/Divider/DividerInternal.d.ts +12 -0
- package/dist/components/Divider/DividerInternal.js +27 -0
- package/dist/components/Divider/index.cjs +4 -0
- package/dist/components/Divider/index.d.cts +2 -0
- package/dist/components/Divider/index.d.ts +2 -0
- package/dist/components/Divider/index.js +4 -0
- package/dist/components/FormLabel.cjs +33 -0
- package/dist/components/FormLabel.d.cts +26 -0
- package/dist/components/FormLabel.d.ts +26 -0
- package/dist/components/FormLabel.js +31 -0
- package/dist/components/HStack.cjs +51 -0
- package/dist/components/HStack.d.cts +39 -0
- package/dist/components/HStack.d.ts +39 -0
- package/dist/components/HStack.js +50 -0
- package/dist/components/Icon.cjs +67 -0
- package/dist/components/Icon.d.cts +38 -0
- package/dist/components/Icon.d.ts +38 -0
- package/dist/components/Icon.js +66 -0
- package/dist/components/IconSlot.cjs +57 -0
- package/dist/components/IconSlot.d.cts +31 -0
- package/dist/components/IconSlot.d.ts +31 -0
- package/dist/components/IconSlot.js +54 -0
- package/dist/components/Image.cjs +96 -0
- package/dist/components/Image.d.cts +91 -0
- package/dist/components/Image.d.ts +91 -0
- package/dist/components/Image.js +95 -0
- package/dist/components/Link.cjs +98 -0
- package/dist/components/Link.d.cts +45 -0
- package/dist/components/Link.d.ts +45 -0
- package/dist/components/Link.js +97 -0
- package/dist/components/Text.cjs +157 -0
- package/dist/components/Text.d.cts +90 -0
- package/dist/components/Text.d.ts +90 -0
- package/dist/components/Text.js +156 -0
- package/dist/components/VStack.cjs +51 -0
- package/dist/components/VStack.d.cts +39 -0
- package/dist/components/VStack.d.ts +39 -0
- package/dist/components/VStack.js +50 -0
- package/dist/components/client/AnimateHeightChange.cjs +48 -0
- package/dist/components/client/AnimateHeightChange.d.cts +20 -0
- package/dist/components/client/AnimateHeightChange.d.ts +20 -0
- package/dist/components/client/AnimateHeightChange.js +47 -0
- package/dist/components/client/Avatar/Avatar.cjs +33 -0
- package/dist/components/client/Avatar/Avatar.d.cts +30 -0
- package/dist/components/client/Avatar/Avatar.d.ts +30 -0
- package/dist/components/client/Avatar/Avatar.js +32 -0
- package/dist/components/client/Avatar/AvatarIcon.cjs +64 -0
- package/dist/components/client/Avatar/AvatarIcon.d.cts +36 -0
- package/dist/components/client/Avatar/AvatarIcon.d.ts +36 -0
- package/dist/components/client/Avatar/AvatarIcon.js +63 -0
- package/dist/components/client/Avatar/AvatarImage.cjs +88 -0
- package/dist/components/client/Avatar/AvatarImage.d.cts +44 -0
- package/dist/components/client/Avatar/AvatarImage.d.ts +44 -0
- package/dist/components/client/Avatar/AvatarImage.js +87 -0
- package/dist/components/client/Avatar/AvatarText.cjs +50 -0
- package/dist/components/client/Avatar/AvatarText.d.cts +39 -0
- package/dist/components/client/Avatar/AvatarText.d.ts +39 -0
- package/dist/components/client/Avatar/AvatarText.js +49 -0
- package/dist/components/client/Avatar/index.cjs +11 -0
- package/dist/components/client/Avatar/index.d.cts +5 -0
- package/dist/components/client/Avatar/index.d.ts +5 -0
- package/dist/components/client/Avatar/index.js +8 -0
- package/dist/components/client/Avatar/utils.cjs +66 -0
- package/dist/components/client/Avatar/utils.d.cts +43 -0
- package/dist/components/client/Avatar/utils.d.ts +43 -0
- package/dist/components/client/Avatar/utils.js +60 -0
- package/dist/components/client/Badge.cjs +106 -0
- package/dist/components/client/Badge.d.cts +34 -0
- package/dist/components/client/Badge.d.ts +34 -0
- package/dist/components/client/Badge.js +104 -0
- package/dist/components/client/Button.cjs +312 -0
- package/dist/components/client/Button.d.cts +74 -0
- package/dist/components/client/Button.d.ts +74 -0
- package/dist/components/client/Button.js +308 -0
- package/dist/components/client/Checkbox.cjs +215 -0
- package/dist/components/client/Checkbox.d.cts +42 -0
- package/dist/components/client/Checkbox.d.ts +42 -0
- package/dist/components/client/Checkbox.js +211 -0
- package/dist/components/client/Chip/Chip.cjs +67 -0
- package/dist/components/client/Chip/Chip.d.cts +36 -0
- package/dist/components/client/Chip/Chip.d.ts +36 -0
- package/dist/components/client/Chip/Chip.js +65 -0
- package/dist/components/client/Chip/ChipBase.cjs +88 -0
- package/dist/components/client/Chip/ChipBase.d.cts +22 -0
- package/dist/components/client/Chip/ChipBase.d.ts +22 -0
- package/dist/components/client/Chip/ChipBase.js +85 -0
- package/dist/components/client/Chip/ChipButton.cjs +36 -0
- package/dist/components/client/Chip/ChipButton.d.cts +13 -0
- package/dist/components/client/Chip/ChipButton.d.ts +13 -0
- package/dist/components/client/Chip/ChipButton.js +34 -0
- package/dist/components/client/Chip/ChipDismissible.cjs +57 -0
- package/dist/components/client/Chip/ChipDismissible.d.cts +13 -0
- package/dist/components/client/Chip/ChipDismissible.d.ts +13 -0
- package/dist/components/client/Chip/ChipDismissible.js +55 -0
- package/dist/components/client/Chip/ChipLink.cjs +38 -0
- package/dist/components/client/Chip/ChipLink.d.cts +13 -0
- package/dist/components/client/Chip/ChipLink.d.ts +13 -0
- package/dist/components/client/Chip/ChipLink.js +36 -0
- package/dist/components/client/Chip/ChipToggle.cjs +53 -0
- package/dist/components/client/Chip/ChipToggle.d.cts +13 -0
- package/dist/components/client/Chip/ChipToggle.d.ts +13 -0
- package/dist/components/client/Chip/ChipToggle.js +51 -0
- package/dist/components/client/Chip/index.cjs +13 -0
- package/dist/components/client/Chip/index.d.cts +6 -0
- package/dist/components/client/Chip/index.d.ts +6 -0
- package/dist/components/client/Chip/index.js +9 -0
- package/dist/components/client/IconButton.cjs +129 -0
- package/dist/components/client/IconButton.d.cts +37 -0
- package/dist/components/client/IconButton.d.ts +37 -0
- package/dist/components/client/IconButton.js +128 -0
- package/dist/components/client/Input/Input.cjs +209 -0
- package/dist/components/client/Input/Input.d.cts +56 -0
- package/dist/components/client/Input/Input.d.ts +56 -0
- package/dist/components/client/Input/Input.js +207 -0
- package/dist/components/client/Input/InputHelpText.cjs +55 -0
- package/dist/components/client/Input/InputHelpText.d.cts +41 -0
- package/dist/components/client/Input/InputHelpText.d.ts +41 -0
- package/dist/components/client/Input/InputHelpText.js +54 -0
- package/dist/components/client/Input/InputHelpTextInternal.cjs +57 -0
- package/dist/components/client/Input/InputHelpTextInternal.d.cts +37 -0
- package/dist/components/client/Input/InputHelpTextInternal.d.ts +37 -0
- package/dist/components/client/Input/InputHelpTextInternal.js +56 -0
- package/dist/components/client/Input/index.cjs +7 -0
- package/dist/components/client/Input/index.d.cts +3 -0
- package/dist/components/client/Input/index.d.ts +3 -0
- package/dist/components/client/Input/index.js +6 -0
- package/dist/components/client/Menu/Menu.Content.cjs +162 -0
- package/dist/components/client/Menu/Menu.Content.d.cts +214 -0
- package/dist/components/client/Menu/Menu.Content.d.ts +214 -0
- package/dist/components/client/Menu/Menu.Content.js +161 -0
- package/dist/components/client/Menu/Menu.Divider.cjs +74 -0
- package/dist/components/client/Menu/Menu.Divider.d.cts +53 -0
- package/dist/components/client/Menu/Menu.Divider.d.ts +53 -0
- package/dist/components/client/Menu/Menu.Divider.js +73 -0
- package/dist/components/client/Menu/Menu.Item.cjs +80 -0
- package/dist/components/client/Menu/Menu.Item.d.cts +78 -0
- package/dist/components/client/Menu/Menu.Item.d.ts +78 -0
- package/dist/components/client/Menu/Menu.Item.js +79 -0
- package/dist/components/client/Menu/Menu.ItemBase.cjs +163 -0
- package/dist/components/client/Menu/Menu.ItemBase.d.cts +31 -0
- package/dist/components/client/Menu/Menu.ItemBase.d.ts +31 -0
- package/dist/components/client/Menu/Menu.ItemBase.js +161 -0
- package/dist/components/client/Menu/Menu.ItemCheckbox.cjs +138 -0
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +92 -0
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +92 -0
- package/dist/components/client/Menu/Menu.ItemCheckbox.js +137 -0
- package/dist/components/client/Menu/Menu.Provider.cjs +63 -0
- package/dist/components/client/Menu/Menu.Provider.d.cts +137 -0
- package/dist/components/client/Menu/Menu.Provider.d.ts +137 -0
- package/dist/components/client/Menu/Menu.Provider.js +62 -0
- package/dist/components/client/Menu/Menu.Trigger.cjs +75 -0
- package/dist/components/client/Menu/Menu.Trigger.d.cts +78 -0
- package/dist/components/client/Menu/Menu.Trigger.d.ts +78 -0
- package/dist/components/client/Menu/Menu.Trigger.js +74 -0
- package/dist/components/client/Menu/Menu.cjs +10 -0
- package/dist/components/client/Menu/Menu.d.cts +2 -0
- package/dist/components/client/Menu/Menu.d.ts +2 -0
- package/dist/components/client/Menu/Menu.index.cjs +56 -0
- package/dist/components/client/Menu/Menu.index.d.cts +15 -0
- package/dist/components/client/Menu/Menu.index.d.ts +15 -0
- package/dist/components/client/Menu/Menu.index.js +27 -0
- package/dist/components/client/Menu/Menu.js +5 -0
- package/dist/components/client/Menu/index.cjs +10 -0
- package/dist/components/client/Menu/index.d.cts +9 -0
- package/dist/components/client/Menu/index.d.ts +9 -0
- package/dist/components/client/Menu/index.js +5 -0
- package/dist/components/client/Menu/utils/transformAriakitPlacement.cjs +39 -0
- package/dist/components/client/Menu/utils/transformAriakitPlacement.d.cts +31 -0
- package/dist/components/client/Menu/utils/transformAriakitPlacement.d.ts +31 -0
- package/dist/components/client/Menu/utils/transformAriakitPlacement.js +38 -0
- package/dist/components/client/Pressable.cjs +112 -0
- package/dist/{Pressable-DKUSyadp.d.cts → components/client/Pressable.d.cts} +8 -7
- package/dist/{Pressable-CTm_RY-u.d.ts → components/client/Pressable.d.ts} +8 -7
- package/dist/components/client/Pressable.js +111 -0
- package/dist/components/client/Radio/Radio.cjs +226 -0
- package/dist/components/client/Radio/Radio.d.cts +42 -0
- package/dist/components/client/Radio/Radio.d.ts +42 -0
- package/dist/components/client/Radio/Radio.js +222 -0
- package/dist/components/client/Radio/RadioGroupProvider.cjs +98 -0
- package/dist/components/client/Radio/RadioGroupProvider.d.cts +37 -0
- package/dist/components/client/Radio/RadioGroupProvider.d.ts +37 -0
- package/dist/components/client/Radio/RadioGroupProvider.js +96 -0
- package/dist/components/client/Radio/RadioGroupStore.cjs +41 -0
- package/dist/components/client/Radio/RadioGroupStore.d.cts +20 -0
- package/dist/components/client/Radio/RadioGroupStore.d.ts +20 -0
- package/dist/components/client/Radio/RadioGroupStore.js +39 -0
- package/dist/components/client/Radio/index.cjs +7 -0
- package/dist/components/client/Radio/index.d.cts +3 -0
- package/dist/components/client/Radio/index.d.ts +3 -0
- package/dist/components/client/Radio/index.js +6 -0
- package/dist/components/client/Radio/useRadioGroup.cjs +81 -0
- package/dist/components/client/Radio/useRadioGroup.d.cts +30 -0
- package/dist/components/client/Radio/useRadioGroup.d.ts +30 -0
- package/dist/components/client/Radio/useRadioGroup.js +79 -0
- package/dist/components/client/SpringMotionConfig.cjs +99 -0
- package/dist/components/client/SpringMotionConfig.d.cts +57 -0
- package/dist/components/client/SpringMotionConfig.d.ts +57 -0
- package/dist/components/client/SpringMotionConfig.js +98 -0
- package/dist/components/client/Switch.cjs +218 -0
- package/dist/components/client/Switch.d.cts +41 -0
- package/dist/components/client/Switch.d.ts +41 -0
- package/dist/components/client/Switch.js +216 -0
- package/dist/components/client/index.cjs +50 -0
- package/dist/components/client/index.d.cts +33 -0
- package/dist/components/client/index.d.ts +33 -0
- package/dist/components/client/index.js +25 -0
- package/dist/components/client/motionFeatures/domAnimation.cjs +11 -0
- package/dist/components/client/motionFeatures/domAnimation.d.cts +2 -0
- package/dist/components/client/motionFeatures/domAnimation.d.ts +2 -0
- package/dist/components/client/motionFeatures/domAnimation.js +5 -0
- package/dist/components/client/motionFeatures/domMax.cjs +11 -0
- package/dist/components/client/motionFeatures/domMax.d.cts +2 -0
- package/dist/components/client/motionFeatures/domMax.d.ts +2 -0
- package/dist/components/client/motionFeatures/domMax.js +5 -0
- package/dist/components/experimental/Spinner.cjs +30 -0
- package/dist/components/experimental/Spinner.d.cts +20 -0
- package/dist/components/experimental/Spinner.d.ts +20 -0
- package/dist/components/experimental/Spinner.js +29 -0
- package/dist/components/experimental/Table.cjs +110 -0
- package/dist/components/experimental/Table.d.cts +84 -0
- package/dist/components/experimental/Table.d.ts +84 -0
- package/dist/components/experimental/Table.js +108 -0
- package/dist/components/experimental/Table.mocks.cjs +58 -0
- package/dist/components/experimental/Table.mocks.d.cts +19 -0
- package/dist/components/experimental/Table.mocks.d.ts +19 -0
- package/dist/components/experimental/Table.mocks.js +55 -0
- package/dist/components/experimental/client/Accordion.cjs +79 -0
- package/dist/components/experimental/client/Accordion.d.cts +30 -0
- package/dist/components/experimental/client/Accordion.d.ts +30 -0
- package/dist/components/experimental/client/Accordion.js +78 -0
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.cjs +15 -0
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts +7 -0
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.ts +7 -0
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.js +13 -0
- package/dist/components/experimental/client/Modal.cjs +61 -0
- package/dist/components/experimental/client/Modal.d.cts +26 -0
- package/dist/components/experimental/client/Modal.d.ts +26 -0
- package/dist/components/experimental/client/Modal.js +57 -0
- package/dist/components/experimental/client/Popover.cjs +44 -0
- package/dist/components/experimental/client/Popover.d.cts +28 -0
- package/dist/components/experimental/client/Popover.d.ts +28 -0
- package/dist/components/experimental/client/Popover.js +33 -0
- package/dist/components/experimental/client/SwitchV2.cjs +183 -0
- package/dist/{experimental/client/SwitchV2.d.ts → components/experimental/client/SwitchV2.d.cts} +15 -16
- package/dist/{experimental/client/SwitchV2.d.cts → components/experimental/client/SwitchV2.d.ts} +15 -16
- package/dist/components/experimental/client/SwitchV2.js +179 -0
- package/dist/components/experimental/client/Tabs.cjs +75 -0
- package/dist/components/experimental/client/Tabs.d.cts +30 -0
- package/dist/components/experimental/client/Tabs.d.ts +30 -0
- package/dist/components/experimental/client/Tabs.js +71 -0
- package/dist/components/experimental/client/Toast.cjs +167 -0
- package/dist/components/experimental/client/Toast.d.cts +30 -0
- package/dist/components/experimental/client/Toast.d.ts +30 -0
- package/dist/components/experimental/client/Toast.js +163 -0
- package/dist/components/experimental/client/index.cjs +38 -0
- package/dist/components/experimental/client/index.d.cts +8 -0
- package/dist/components/experimental/client/index.d.ts +8 -0
- package/dist/components/experimental/client/index.js +11 -0
- package/dist/components/experimental/index.cjs +39 -0
- package/dist/components/experimental/index.d.cts +11 -0
- package/dist/components/experimental/index.d.ts +11 -0
- package/dist/components/experimental/index.js +12 -0
- package/dist/components/index.cjs +67 -0
- package/dist/components/index.d.cts +40 -0
- package/dist/components/index.d.ts +40 -0
- package/dist/components/index.js +33 -0
- package/dist/defaultTokensConfig.cjs +22 -1
- package/dist/defaultTokensConfig.d.cts +12691 -12694
- package/dist/defaultTokensConfig.d.ts +12691 -12694
- package/dist/defaultTokensConfig.js +20 -1
- package/dist/fixtures.cjs +1 -816
- package/dist/fixtures.js +1 -816
- package/dist/flags.cjs +26 -1
- package/dist/flags.d.cts +15 -14
- package/dist/flags.d.ts +15 -14
- package/dist/flags.js +23 -1
- package/dist/generated/autoVariants.cjs +512 -0
- package/dist/generated/autoVariants.d.cts +115 -0
- package/dist/generated/autoVariants.d.ts +115 -0
- package/dist/generated/autoVariants.js +511 -0
- package/dist/generated/generatedConfigs.cjs +27726 -0
- package/dist/generated/generatedConfigs.js +27714 -0
- package/dist/generated/tailwindPurge.cjs +3320 -0
- package/dist/{tailwind/purger.d.cts → generated/tailwindPurge.d.cts} +6 -5
- package/dist/{tailwind/purger.d.ts → generated/tailwindPurge.d.ts} +6 -5
- package/dist/generated/tailwindPurge.js +3316 -0
- package/dist/generated/universalTokensConfigAuto.cjs +11579 -0
- package/dist/generated/universalTokensConfigAuto.d.cts +12770 -0
- package/dist/generated/universalTokensConfigAuto.d.ts +12770 -0
- package/dist/generated/universalTokensConfigAuto.js +11578 -0
- package/dist/hooks/useForkRef.cjs +27 -0
- package/dist/hooks/useForkRef.d.cts +6 -0
- package/dist/hooks/useForkRef.d.ts +6 -0
- package/dist/hooks/useForkRef.js +26 -0
- package/dist/hooks/useRtl.cjs +48 -0
- package/dist/hooks/useRtl.d.cts +20 -0
- package/dist/hooks/useRtl.d.ts +20 -0
- package/dist/hooks/useRtl.js +45 -0
- package/dist/index.cjs +183 -1
- package/dist/index.d.cts +82 -383
- package/dist/index.d.ts +82 -383
- package/dist/index.js +59 -1
- package/dist/providers/ColorModeProvider.cjs +23 -0
- package/dist/providers/ColorModeProvider.d.cts +20 -0
- package/dist/providers/ColorModeProvider.d.ts +20 -0
- package/dist/providers/ColorModeProvider.js +20 -0
- package/dist/providers/ScaleModeProvider.cjs +26 -0
- package/dist/providers/ScaleModeProvider.d.cts +20 -0
- package/dist/providers/ScaleModeProvider.d.ts +20 -0
- package/dist/providers/ScaleModeProvider.js +23 -0
- package/dist/providers/ThemeProvider.cjs +21 -0
- package/dist/providers/ThemeProvider.d.cts +19 -0
- package/dist/providers/ThemeProvider.d.ts +19 -0
- package/dist/providers/ThemeProvider.js +20 -0
- package/dist/scripts/utils/tsMorph.cjs +140 -0
- package/dist/scripts/utils/tsMorph.d.cts +32 -0
- package/dist/scripts/utils/tsMorph.d.ts +32 -0
- package/dist/scripts/utils/tsMorph.js +129 -0
- package/dist/styles/styler.cjs +117 -0
- package/dist/styles/styler.d.cts +200 -0
- package/dist/styles/styler.d.ts +200 -0
- package/dist/styles/styler.js +112 -0
- package/dist/styles/stylerTypes.cjs +1 -0
- package/dist/styles/stylerTypes.d.cts +38 -0
- package/dist/styles/stylerTypes.d.ts +38 -0
- package/dist/styles/stylerTypes.js +1 -0
- package/dist/styles/variants.cjs +1513 -0
- package/dist/styles/variants.d.cts +2067 -0
- package/dist/styles/variants.d.ts +2067 -0
- package/dist/styles/variants.js +1513 -0
- package/dist/tailwind/base/addColorModeVars.cjs +21 -0
- package/dist/tailwind/base/addColorModeVars.d.cts +10 -0
- package/dist/tailwind/base/addColorModeVars.d.ts +10 -0
- package/dist/tailwind/base/addColorModeVars.js +19 -0
- package/dist/tailwind/base/addColorModeVarsV2.cjs +45 -0
- package/dist/tailwind/base/addColorModeVarsV2.d.cts +10 -0
- package/dist/tailwind/base/addColorModeVarsV2.d.ts +10 -0
- package/dist/tailwind/base/addColorModeVarsV2.js +43 -0
- package/dist/tailwind/base/addFontFaceDeclarations.cjs +11 -0
- package/dist/tailwind/base/addFontFaceDeclarations.d.cts +10 -0
- package/dist/tailwind/base/addFontFaceDeclarations.d.ts +10 -0
- package/dist/tailwind/base/addFontFaceDeclarations.js +11 -0
- package/dist/tailwind/base/addFontVars.cjs +10 -0
- package/dist/tailwind/base/addFontVars.d.cts +10 -0
- package/dist/tailwind/base/addFontVars.d.ts +10 -0
- package/dist/tailwind/base/addFontVars.js +10 -0
- package/dist/tailwind/base/addMotionVars.cjs +10 -0
- package/dist/tailwind/base/addMotionVars.d.cts +10 -0
- package/dist/tailwind/base/addMotionVars.d.ts +10 -0
- package/dist/tailwind/base/addMotionVars.js +10 -0
- package/dist/tailwind/base/addScaleModeVars.cjs +22 -0
- package/dist/tailwind/base/addScaleModeVars.d.cts +9 -0
- package/dist/tailwind/base/addScaleModeVars.d.ts +9 -0
- package/dist/tailwind/base/addScaleModeVars.js +22 -0
- package/dist/tailwind/components/getFocusRingStyles.cjs +29 -0
- package/dist/tailwind/components/getFocusRingStyles.d.cts +14 -0
- package/dist/tailwind/components/getFocusRingStyles.d.ts +14 -0
- package/dist/tailwind/components/getFocusRingStyles.js +29 -0
- package/dist/tailwind/components/getGroupedTextStyles.cjs +20 -0
- package/dist/tailwind/components/getGroupedTextStyles.d.cts +19 -0
- package/dist/tailwind/components/getGroupedTextStyles.d.ts +19 -0
- package/dist/tailwind/components/getGroupedTextStyles.js +19 -0
- package/dist/tailwind/components/getHitTargetStyles.cjs +22 -0
- package/dist/tailwind/components/getHitTargetStyles.d.cts +7 -0
- package/dist/tailwind/components/getHitTargetStyles.d.ts +7 -0
- package/dist/tailwind/components/getHitTargetStyles.js +20 -0
- package/dist/tailwind/components/getIconStyles.cjs +15 -0
- package/dist/tailwind/components/getIconStyles.d.cts +10 -0
- package/dist/tailwind/components/getIconStyles.d.ts +10 -0
- package/dist/tailwind/components/getIconStyles.js +14 -0
- package/dist/tailwind/components/getInputStyles.cjs +16 -0
- package/dist/tailwind/components/getInputStyles.d.cts +10 -0
- package/dist/tailwind/components/getInputStyles.d.ts +10 -0
- package/dist/tailwind/components/getInputStyles.js +15 -0
- package/dist/tailwind/components/getResponsiveTextStyles.cjs +73 -0
- package/dist/tailwind/components/getResponsiveTextStyles.d.cts +37 -0
- package/dist/tailwind/components/getResponsiveTextStyles.d.ts +37 -0
- package/dist/tailwind/components/getResponsiveTextStyles.js +67 -0
- package/dist/tailwind/components/types.cjs +1 -0
- package/dist/tailwind/components/types.d.cts +9 -0
- package/dist/tailwind/components/types.d.ts +9 -0
- package/dist/tailwind/components/types.js +1 -0
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.cjs +68 -0
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts +19 -0
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts +19 -0
- package/dist/tailwind/defaultTailwindThemeAsUdsConfig.js +67 -0
- package/dist/tailwind/plugins/a11y.cjs +34 -0
- package/dist/tailwind/plugins/a11y.d.cts +13 -0
- package/dist/tailwind/plugins/a11y.d.ts +13 -0
- package/dist/tailwind/plugins/a11y.js +32 -0
- package/dist/tailwind/plugins/borders.cjs +54 -0
- package/dist/tailwind/plugins/borders.d.cts +13 -0
- package/dist/tailwind/plugins/borders.d.ts +13 -0
- package/dist/tailwind/plugins/borders.js +52 -0
- package/dist/tailwind/plugins/colors.cjs +69 -0
- package/dist/tailwind/plugins/colors.d.cts +13 -0
- package/dist/tailwind/plugins/colors.d.ts +13 -0
- package/dist/tailwind/plugins/colors.js +67 -0
- package/dist/tailwind/plugins/components.cjs +28 -0
- package/dist/tailwind/plugins/components.d.cts +13 -0
- package/dist/tailwind/plugins/components.d.ts +13 -0
- package/dist/tailwind/plugins/components.js +26 -0
- package/dist/tailwind/plugins/elevation.cjs +30 -0
- package/dist/tailwind/plugins/elevation.d.cts +13 -0
- package/dist/tailwind/plugins/elevation.d.ts +13 -0
- package/dist/tailwind/plugins/elevation.js +28 -0
- package/dist/tailwind/plugins/icons.cjs +13 -0
- package/dist/tailwind/plugins/icons.d.cts +13 -0
- package/dist/tailwind/plugins/icons.d.ts +13 -0
- package/dist/tailwind/plugins/icons.js +11 -0
- package/dist/tailwind/plugins/input.cjs +20 -0
- package/dist/tailwind/plugins/input.d.cts +16 -0
- package/dist/tailwind/plugins/input.d.ts +16 -0
- package/dist/tailwind/plugins/input.js +18 -0
- package/dist/tailwind/plugins/motion.cjs +14 -0
- package/dist/tailwind/plugins/motion.d.cts +13 -0
- package/dist/tailwind/plugins/motion.d.ts +13 -0
- package/dist/tailwind/plugins/motion.js +12 -0
- package/dist/tailwind/plugins/nestedBorderRadius.cjs +19 -0
- package/dist/tailwind/plugins/nestedBorderRadius.d.cts +13 -0
- package/dist/tailwind/plugins/nestedBorderRadius.d.ts +13 -0
- package/dist/tailwind/plugins/nestedBorderRadius.js +17 -0
- package/dist/tailwind/plugins/scaleMode.cjs +17 -0
- package/dist/tailwind/plugins/scaleMode.d.cts +16 -0
- package/dist/tailwind/plugins/scaleMode.d.ts +16 -0
- package/dist/tailwind/plugins/scaleMode.js +15 -0
- package/dist/tailwind/plugins/shadows.cjs +45 -0
- package/dist/tailwind/plugins/shadows.d.cts +13 -0
- package/dist/tailwind/plugins/shadows.d.ts +13 -0
- package/dist/tailwind/plugins/shadows.js +43 -0
- package/dist/tailwind/plugins/sizing.cjs +32 -0
- package/dist/tailwind/plugins/sizing.d.cts +16 -0
- package/dist/tailwind/plugins/sizing.d.ts +16 -0
- package/dist/tailwind/plugins/sizing.js +30 -0
- package/dist/tailwind/plugins/spacing.cjs +13 -0
- package/dist/tailwind/plugins/spacing.d.cts +13 -0
- package/dist/tailwind/plugins/spacing.d.ts +13 -0
- package/dist/tailwind/plugins/spacing.js +11 -0
- package/dist/tailwind/plugins/typography.cjs +77 -0
- package/dist/tailwind/plugins/typography.d.cts +13 -0
- package/dist/tailwind/plugins/typography.d.ts +13 -0
- package/dist/tailwind/plugins/typography.js +75 -0
- package/dist/tailwind/postcss.config.cjs +9 -0
- package/dist/tailwind/postcss.config.d.cts +1 -0
- package/dist/tailwind/postcss.config.d.ts +1 -0
- package/dist/tailwind/postcss.config.js +13 -0
- package/dist/tailwind/purger/index.cjs +7 -0
- package/dist/tailwind/purger/index.d.cts +2 -0
- package/dist/tailwind/purger/index.d.ts +2 -0
- package/dist/tailwind/purger/index.js +4 -0
- package/dist/tailwind/tailwind.config.cjs +31 -0
- package/dist/tailwind/tailwind.config.d.cts +18 -0
- package/dist/tailwind/tailwind.config.d.ts +19 -0
- package/dist/tailwind/tailwind.config.js +31 -0
- package/dist/tailwind/tailwind.d.cjs +1 -0
- package/dist/tailwind/tailwind.d.cts +6 -0
- package/dist/tailwind/tailwind.d.ts +6 -0
- package/dist/tailwind/tailwindPlugin.cjs +36 -0
- package/dist/tailwind/tailwindPlugin.d.cts +22 -0
- package/dist/tailwind/tailwindPlugin.d.ts +22 -0
- package/dist/tailwind/tailwindPlugin.js +34 -0
- package/dist/tailwind/theme/getFontFamilyTheme.cjs +24 -0
- package/dist/tailwind/theme/getFontFamilyTheme.d.cts +6 -0
- package/dist/tailwind/theme/getFontFamilyTheme.d.ts +6 -0
- package/dist/tailwind/theme/getFontFamilyTheme.js +23 -0
- package/dist/tailwind/tsMorph.cjs +11 -1
- package/dist/tailwind/tsMorph.d.cts +2 -31
- package/dist/tailwind/tsMorph.d.ts +2 -31
- package/dist/tailwind/tsMorph.js +4 -2
- package/dist/tailwind/utils/addFontsPlugin.cjs +15 -0
- package/dist/tailwind/utils/addFontsPlugin.d.cts +17 -0
- package/dist/tailwind/utils/addFontsPlugin.d.ts +17 -0
- package/dist/tailwind/utils/addFontsPlugin.js +13 -0
- package/dist/tailwind/utils/composeTailwindPlugins.cjs +72 -0
- package/dist/tailwind/utils/composeTailwindPlugins.d.cts +59 -0
- package/dist/tailwind/utils/composeTailwindPlugins.d.ts +59 -0
- package/dist/tailwind/utils/composeTailwindPlugins.js +63 -0
- package/dist/tailwind/utils/getColorModeStyles.cjs +22 -0
- package/dist/tailwind/utils/getColorModeStyles.d.cts +17 -0
- package/dist/tailwind/utils/getColorModeStyles.d.ts +17 -0
- package/dist/tailwind/utils/getColorModeStyles.js +21 -0
- package/dist/tailwind/utils/getElevationStyles.cjs +12 -0
- package/dist/tailwind/utils/getElevationStyles.d.cts +14 -0
- package/dist/tailwind/utils/getElevationStyles.d.ts +14 -0
- package/dist/tailwind/utils/getElevationStyles.js +12 -0
- package/dist/tailwind/utils/getFontFaceDeclarations.cjs +20 -0
- package/dist/tailwind/utils/getFontFaceDeclarations.d.cts +11 -0
- package/dist/tailwind/utils/getFontFaceDeclarations.d.ts +11 -0
- package/dist/tailwind/utils/getFontFaceDeclarations.js +20 -0
- package/dist/tailwind/utils/getFontStyles.cjs +41 -0
- package/dist/tailwind/utils/getFontStyles.d.cts +24 -0
- package/dist/tailwind/utils/getFontStyles.d.ts +24 -0
- package/dist/tailwind/utils/getFontStyles.js +41 -0
- package/dist/tailwind/utils/getMotionStyles.cjs +38 -0
- package/dist/tailwind/utils/getMotionStyles.d.cts +24 -0
- package/dist/tailwind/utils/getMotionStyles.d.ts +24 -0
- package/dist/tailwind/utils/getMotionStyles.js +37 -0
- package/dist/tailwind/utils/getNestedBorderRadiusUtilities.cjs +52 -0
- package/dist/tailwind/utils/getNestedBorderRadiusUtilities.d.cts +27 -0
- package/dist/tailwind/utils/getNestedBorderRadiusUtilities.d.ts +27 -0
- package/dist/tailwind/utils/getNestedBorderRadiusUtilities.js +51 -0
- package/dist/tailwind/utils/getScaleModeStyles.cjs +25 -0
- package/dist/tailwind/utils/getScaleModeStyles.d.cts +28 -0
- package/dist/tailwind/utils/getScaleModeStyles.d.ts +28 -0
- package/dist/tailwind/utils/getScaleModeStyles.js +24 -0
- package/dist/tailwind/utils/getShadowPresetValues.cjs +81 -0
- package/dist/tailwind/utils/getShadowPresetValues.d.cts +56 -0
- package/dist/tailwind/utils/getShadowPresetValues.d.ts +56 -0
- package/dist/tailwind/utils/getShadowPresetValues.js +79 -0
- package/dist/tailwind/utils/getShadowStyles.cjs +20 -0
- package/dist/tailwind/utils/getShadowStyles.d.cts +20 -0
- package/dist/tailwind/utils/getShadowStyles.d.ts +20 -0
- package/dist/tailwind/utils/getShadowStyles.js +19 -0
- package/dist/tailwind/utils/getShadowVars.cjs +26 -0
- package/dist/tailwind/utils/getShadowVars.d.cts +7 -0
- package/dist/tailwind/utils/getShadowVars.d.ts +7 -0
- package/dist/tailwind/utils/getShadowVars.js +26 -0
- package/dist/tailwind/utils/index.cjs +25 -0
- package/dist/tailwind/utils/index.d.cts +11 -0
- package/dist/tailwind/utils/index.d.ts +11 -0
- package/dist/tailwind/utils/index.js +13 -0
- package/dist/tokens/automation/configs/avatar.cjs +310 -0
- package/dist/tokens/automation/configs/avatar.d.cts +18 -0
- package/dist/tokens/automation/configs/avatar.d.ts +18 -0
- package/dist/tokens/automation/configs/avatar.js +309 -0
- package/dist/tokens/automation/configs/badge.cjs +324 -0
- package/dist/tokens/automation/configs/badge.d.cts +14 -0
- package/dist/tokens/automation/configs/badge.d.ts +14 -0
- package/dist/tokens/automation/configs/badge.js +323 -0
- package/dist/tokens/automation/configs/button.cjs +447 -0
- package/dist/tokens/automation/configs/button.d.cts +14 -0
- package/dist/tokens/automation/configs/button.d.ts +14 -0
- package/dist/tokens/automation/configs/button.js +446 -0
- package/dist/tokens/automation/configs/checkbox.cjs +256 -0
- package/dist/tokens/automation/configs/checkbox.d.cts +14 -0
- package/dist/tokens/automation/configs/checkbox.d.ts +14 -0
- package/dist/tokens/automation/configs/checkbox.js +255 -0
- package/dist/tokens/automation/configs/chip.cjs +552 -0
- package/dist/tokens/automation/configs/chip.d.cts +18 -0
- package/dist/tokens/automation/configs/chip.d.ts +18 -0
- package/dist/tokens/automation/configs/chip.js +551 -0
- package/dist/tokens/automation/configs/divider.cjs +119 -0
- package/dist/tokens/automation/configs/divider.d.cts +13 -0
- package/dist/tokens/automation/configs/divider.d.ts +13 -0
- package/dist/tokens/automation/configs/divider.js +118 -0
- package/dist/tokens/automation/configs/iconButton.cjs +72 -0
- package/dist/tokens/automation/configs/iconButton.d.cts +14 -0
- package/dist/tokens/automation/configs/iconButton.d.ts +14 -0
- package/dist/tokens/automation/configs/iconButton.js +71 -0
- package/dist/tokens/automation/configs/index.cjs +26 -0
- package/dist/tokens/automation/configs/index.d.cts +13 -0
- package/dist/tokens/automation/configs/index.d.ts +13 -0
- package/dist/tokens/automation/configs/index.js +15 -0
- package/dist/tokens/automation/configs/input.cjs +473 -0
- package/dist/tokens/automation/configs/input.d.cts +14 -0
- package/dist/tokens/automation/configs/input.d.ts +14 -0
- package/dist/tokens/automation/configs/input.js +472 -0
- package/dist/tokens/automation/configs/link.cjs +194 -0
- package/dist/tokens/automation/configs/link.d.cts +14 -0
- package/dist/tokens/automation/configs/link.d.ts +14 -0
- package/dist/tokens/automation/configs/link.js +193 -0
- package/dist/tokens/automation/configs/menu.cjs +309 -0
- package/dist/tokens/automation/configs/menu.d.cts +18 -0
- package/dist/tokens/automation/configs/menu.d.ts +18 -0
- package/dist/tokens/automation/configs/menu.js +308 -0
- package/dist/tokens/automation/configs/radio.cjs +228 -0
- package/dist/tokens/automation/configs/radio.d.cts +14 -0
- package/dist/tokens/automation/configs/radio.d.ts +14 -0
- package/dist/tokens/automation/configs/radio.js +227 -0
- package/dist/tokens/automation/configs/switch.cjs +296 -0
- package/dist/tokens/automation/configs/switch.d.cts +14 -0
- package/dist/tokens/automation/configs/switch.d.ts +14 -0
- package/dist/tokens/automation/configs/switch.js +295 -0
- package/dist/tokens/automation/index.cjs +46 -0
- package/dist/tokens/automation/index.d.cts +30 -0
- package/dist/tokens/automation/index.d.ts +29 -0
- package/dist/tokens/automation/index.js +16 -0
- package/dist/tokens/automation/mapTextVariantFixtureToValue.cjs +8 -0
- package/dist/tokens/automation/mapTextVariantFixtureToValue.d.cts +4 -0
- package/dist/tokens/automation/mapTextVariantFixtureToValue.d.ts +4 -0
- package/dist/tokens/automation/mapTextVariantFixtureToValue.js +8 -0
- package/dist/tokens/automation/properties.cjs +316 -1
- package/dist/tokens/automation/properties.d.cts +94 -7
- package/dist/tokens/automation/properties.d.ts +94 -7
- package/dist/tokens/automation/properties.js +316 -1
- package/dist/tokens/automation/types/ComponentConfig.cjs +1 -0
- package/dist/tokens/automation/types/ComponentConfig.d.cts +54 -0
- package/dist/tokens/automation/types/ComponentConfig.d.ts +54 -0
- package/dist/tokens/automation/types/ComponentConfig.js +1 -0
- package/dist/tokens/automation/types/ComponentDB.cjs +1 -0
- package/dist/tokens/automation/types/ComponentDB.d.cts +1 -0
- package/dist/tokens/automation/types/ComponentDB.d.ts +1 -0
- package/dist/tokens/automation/types/ComponentDB.js +1 -0
- package/dist/tokens/automation/types/ComponentStyles.cjs +1 -0
- package/dist/tokens/automation/types/ComponentStyles.d.cts +35 -0
- package/dist/tokens/automation/types/ComponentStyles.d.ts +35 -0
- package/dist/tokens/automation/types/ComponentStyles.js +1 -0
- package/dist/tokens/automation/types/index.cjs +1 -0
- package/dist/tokens/automation/types/index.d.cts +3 -0
- package/dist/tokens/automation/types/index.d.ts +3 -0
- package/dist/tokens/automation/types/index.js +1 -0
- package/dist/tokens/automation/utils/cartesianProduct.cjs +7 -0
- package/dist/tokens/automation/utils/cartesianProduct.d.cts +7 -0
- package/dist/tokens/automation/utils/cartesianProduct.d.ts +7 -0
- package/dist/tokens/automation/utils/cartesianProduct.js +6 -0
- package/dist/tokens/automation/utils/coalesceConfigVariant.cjs +21 -0
- package/dist/tokens/automation/utils/coalesceConfigVariant.d.cts +16 -0
- package/dist/tokens/automation/utils/coalesceConfigVariant.d.ts +16 -0
- package/dist/tokens/automation/utils/coalesceConfigVariant.js +21 -0
- package/dist/tokens/automation/utils/defaults.cjs +15 -0
- package/dist/tokens/automation/utils/defaults.d.cts +8 -0
- package/dist/tokens/automation/utils/defaults.d.ts +8 -0
- package/dist/tokens/automation/utils/defaults.js +13 -0
- package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.cjs +26 -0
- package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.d.cts +10 -0
- package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.d.ts +10 -0
- package/dist/tokens/automation/utils/generateKeyFromFlatConfigPath.js +25 -0
- package/dist/tokens/automation/utils/generateSchemaKey.cjs +14 -0
- package/dist/tokens/automation/utils/generateSchemaKey.d.cts +18 -0
- package/dist/tokens/automation/utils/generateSchemaKey.d.ts +18 -0
- package/dist/tokens/automation/utils/generateSchemaKey.js +13 -0
- package/dist/tokens/automation/utils/getConfigComponentVariant.cjs +17 -0
- package/dist/tokens/automation/utils/getConfigComponentVariant.d.cts +8 -0
- package/dist/tokens/automation/utils/getConfigComponentVariant.d.ts +8 -0
- package/dist/tokens/automation/utils/getConfigComponentVariant.js +17 -0
- package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.cjs +26 -0
- package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.d.cts +9 -0
- package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.d.ts +9 -0
- package/dist/tokens/automation/utils/getConfigVariantComponentStatesMatrix.js +23 -0
- package/dist/tokens/automation/utils/getConfigVariantProperties.cjs +24 -0
- package/dist/tokens/automation/utils/getConfigVariantProperties.d.cts +19 -0
- package/dist/tokens/automation/utils/getConfigVariantProperties.d.ts +19 -0
- package/dist/tokens/automation/utils/getConfigVariantProperties.js +24 -0
- package/dist/tokens/automation/utils/getConfigVariantPseudoStates.cjs +34 -0
- package/dist/tokens/automation/utils/getConfigVariantPseudoStates.d.cts +11 -0
- package/dist/tokens/automation/utils/getConfigVariantPseudoStates.d.ts +11 -0
- package/dist/tokens/automation/utils/getConfigVariantPseudoStates.js +34 -0
- package/dist/tokens/automation/utils/getConfigVariants.cjs +39 -0
- package/dist/tokens/automation/utils/getConfigVariants.d.cts +19 -0
- package/dist/tokens/automation/utils/getConfigVariants.d.ts +19 -0
- package/dist/tokens/automation/utils/getConfigVariants.js +37 -0
- package/dist/tokens/automation/utils/index.cjs +681 -0
- package/dist/tokens/automation/utils/index.d.cts +146 -0
- package/dist/tokens/automation/utils/index.d.ts +146 -0
- package/dist/tokens/automation/utils/index.js +646 -0
- package/dist/tokens/automation/utils/mapColorFixtureToValue.cjs +20 -0
- package/dist/tokens/automation/utils/mapColorFixtureToValue.d.cts +4 -0
- package/dist/tokens/automation/utils/mapColorFixtureToValue.d.ts +4 -0
- package/dist/tokens/automation/utils/mapColorFixtureToValue.js +20 -0
- package/dist/tokens/automation/utils/subcomponents.cjs +11 -0
- package/dist/tokens/automation/utils/subcomponents.d.cts +8 -0
- package/dist/tokens/automation/utils/subcomponents.d.ts +8 -0
- package/dist/tokens/automation/utils/subcomponents.js +10 -0
- package/dist/tokens/automation/utils/variableData.cjs +32 -0
- package/dist/tokens/automation/utils/variableData.d.cts +18 -0
- package/dist/tokens/automation/utils/variableData.d.ts +18 -0
- package/dist/tokens/automation/utils/variableData.js +28 -0
- package/dist/tokens/automation/utils/variantConfigGuards.cjs +9 -0
- package/dist/tokens/automation/utils/variantConfigGuards.d.cts +12 -0
- package/dist/tokens/automation/utils/variantConfigGuards.d.ts +12 -0
- package/dist/tokens/automation/utils/variantConfigGuards.js +7 -0
- package/dist/tokens/configs/borderRadius.cjs +25 -0
- package/dist/tokens/configs/borderRadius.d.cts +7 -0
- package/dist/tokens/configs/borderRadius.d.ts +7 -0
- package/dist/tokens/configs/borderRadius.js +23 -0
- package/dist/tokens/configs/borderWidth.cjs +19 -0
- package/dist/tokens/configs/borderWidth.d.cts +7 -0
- package/dist/tokens/configs/borderWidth.d.ts +7 -0
- package/dist/tokens/configs/borderWidth.js +17 -0
- package/dist/tokens/configs/colorMode.cjs +18 -0
- package/dist/tokens/configs/colorMode.d.cts +6 -0
- package/dist/tokens/configs/colorMode.d.ts +6 -0
- package/dist/tokens/configs/colorMode.js +18 -0
- package/dist/tokens/configs/font.cjs +13 -0
- package/dist/tokens/configs/font.d.cts +6 -0
- package/dist/tokens/configs/font.d.ts +6 -0
- package/dist/tokens/configs/font.js +12 -0
- package/dist/tokens/configs/motion.cjs +137 -0
- package/dist/tokens/configs/motion.d.cts +42 -0
- package/dist/tokens/configs/motion.d.ts +42 -0
- package/dist/tokens/configs/motion.js +132 -0
- package/dist/tokens/configs/palette.cjs +402 -0
- package/dist/tokens/configs/palette.d.cts +13 -0
- package/dist/tokens/configs/palette.d.ts +13 -0
- package/dist/tokens/configs/palette.js +399 -0
- package/dist/tokens/configs/scaleMode.cjs +30 -0
- package/dist/tokens/configs/scaleMode.d.cts +6 -0
- package/dist/tokens/configs/scaleMode.d.ts +6 -0
- package/dist/tokens/configs/scaleMode.js +30 -0
- package/dist/tokens/configs/shadow.cjs +332 -0
- package/dist/tokens/configs/shadow.d.cts +6 -0
- package/dist/tokens/configs/shadow.d.ts +6 -0
- package/dist/tokens/configs/shadow.js +331 -0
- package/dist/tokens/configs/sizes.cjs +26 -0
- package/dist/tokens/configs/sizes.d.cts +10 -0
- package/dist/tokens/configs/sizes.d.ts +10 -0
- package/dist/tokens/configs/sizes.js +21 -0
- package/dist/tokens/configs/spectrum.cjs +731 -0
- package/dist/tokens/configs/spectrum.d.cts +7 -0
- package/dist/tokens/configs/spectrum.d.ts +7 -0
- package/dist/tokens/configs/spectrum.js +729 -0
- package/dist/tokens/configs/typography.cjs +411 -0
- package/dist/tokens/configs/typography.d.cts +364 -0
- package/dist/tokens/configs/typography.d.ts +364 -0
- package/dist/tokens/configs/typography.js +398 -0
- package/dist/tokens/configs/yosConfig.cjs +22037 -0
- package/dist/tokens/configs/yosConfig.d.cts +23036 -0
- package/dist/tokens/configs/yosConfig.d.ts +23036 -0
- package/dist/tokens/configs/yosConfig.js +22036 -0
- package/dist/tokens/consts/cssTokens.cjs +98 -0
- package/dist/tokens/consts/cssTokens.d.cts +51 -0
- package/dist/tokens/consts/cssTokens.d.ts +51 -0
- package/dist/tokens/consts/cssTokens.js +59 -0
- package/dist/tokens/consts/defaultModes.cjs +17 -0
- package/dist/tokens/consts/defaultModes.d.cts +11 -0
- package/dist/tokens/consts/defaultModes.d.ts +11 -0
- package/dist/tokens/consts/defaultModes.js +11 -0
- package/dist/tokens/consts/fontDeclarationsMap.cjs +652 -0
- package/dist/tokens/consts/fontDeclarationsMap.d.cts +537 -0
- package/dist/tokens/consts/fontDeclarationsMap.d.ts +537 -0
- package/dist/tokens/consts/fontDeclarationsMap.js +651 -0
- package/dist/tokens/index.cjs +113 -1
- package/dist/tokens/index.d.cts +43 -2257
- package/dist/tokens/index.d.ts +43 -2257
- package/dist/tokens/index.js +28 -1
- package/dist/tokens/parseButtonVariants.cjs +11 -0
- package/dist/tokens/parseButtonVariants.d.cts +13 -0
- package/dist/tokens/parseButtonVariants.d.ts +13 -0
- package/dist/tokens/parseButtonVariants.js +10 -0
- package/dist/tokens/parseTokens.cjs +121 -1
- package/dist/tokens/parseTokens.d.cts +20 -23
- package/dist/tokens/parseTokens.d.ts +20 -23
- package/dist/tokens/parseTokens.js +121 -1
- package/dist/tokens/types.cjs +1 -0
- package/dist/tokens/types.d.cts +1005 -0
- package/dist/tokens/types.d.ts +1005 -0
- package/dist/tokens/types.js +1 -0
- package/dist/tokens/utils/entries.cjs +17 -0
- package/dist/tokens/utils/entries.d.cts +12 -0
- package/dist/tokens/utils/entries.d.ts +12 -0
- package/dist/tokens/utils/entries.js +16 -0
- package/dist/tokens/utils/fromEntries.cjs +17 -0
- package/dist/tokens/utils/fromEntries.d.cts +12 -0
- package/dist/tokens/utils/fromEntries.d.ts +12 -0
- package/dist/tokens/utils/fromEntries.js +16 -0
- package/dist/tokens/utils/mapValues.cjs +12 -0
- package/dist/tokens/utils/mapValues.d.cts +5 -0
- package/dist/tokens/utils/mapValues.d.ts +5 -0
- package/dist/tokens/utils/mapValues.js +11 -0
- package/dist/tokens/utils/opacity.cjs +27 -0
- package/dist/tokens/utils/opacity.d.cts +19 -0
- package/dist/tokens/utils/opacity.d.ts +19 -0
- package/dist/tokens/utils/opacity.js +25 -0
- package/dist/types.cjs +1 -0
- package/dist/types.d.cts +6 -0
- package/dist/types.d.ts +6 -0
- package/dist/types.js +1 -0
- package/dist/utils/assertUnreachable.cjs +9 -0
- package/dist/utils/assertUnreachable.d.cts +4 -0
- package/dist/utils/assertUnreachable.d.ts +4 -0
- package/dist/utils/assertUnreachable.js +8 -0
- package/dist/utils/composeRefs.cjs +21 -0
- package/dist/utils/composeRefs.d.cts +9 -0
- package/dist/utils/composeRefs.d.ts +9 -0
- package/dist/utils/composeRefs.js +20 -0
- package/dist/utils/createSlot.cjs +78 -0
- package/dist/utils/createSlot.d.cts +6 -0
- package/dist/utils/createSlot.d.ts +6 -0
- package/dist/utils/createSlot.js +77 -0
- package/dist/utils/entries.cjs +9 -0
- package/dist/utils/entries.d.cts +4 -0
- package/dist/utils/entries.d.ts +4 -0
- package/dist/utils/entries.js +8 -0
- package/dist/utils/falsyToString.cjs +9 -0
- package/dist/utils/falsyToString.d.cts +4 -0
- package/dist/utils/falsyToString.d.ts +4 -0
- package/dist/utils/falsyToString.js +8 -0
- package/dist/utils/getMotionVar.cjs +15 -0
- package/dist/utils/getMotionVar.d.cts +16 -0
- package/dist/utils/getMotionVar.d.ts +16 -0
- package/dist/utils/getMotionVar.js +15 -0
- package/dist/utils/intersperse.cjs +48 -0
- package/dist/utils/intersperse.d.cts +33 -0
- package/dist/utils/intersperse.d.ts +33 -0
- package/dist/utils/intersperse.js +45 -0
- package/dist/utils/mapValues.cjs +12 -0
- package/dist/utils/mapValues.d.cts +5 -0
- package/dist/utils/mapValues.d.ts +5 -0
- package/dist/utils/mapValues.js +11 -0
- package/dist/utils/mergeSlotProps.cjs +29 -0
- package/dist/utils/mergeSlotProps.d.cts +5 -0
- package/dist/utils/mergeSlotProps.d.ts +5 -0
- package/dist/utils/mergeSlotProps.js +28 -0
- package/package.json +51 -46
- package/dist/Box-DwoY1xsp.d.cts +0 -34
- package/dist/Box-ncdx_6JJ.d.ts +0 -34
- package/dist/Pressable-XywV25nD.d.ts +0 -44
- package/dist/Pressable-vZoRdY_i.d.cts +0 -44
- package/dist/Text-B7LaBovi.d.cts +0 -88
- package/dist/Text-D9E-Ivs4.d.cts +0 -324
- package/dist/Text-D9E-Ivs4.d.ts +0 -324
- package/dist/Text-DP7Wj9fr.d.ts +0 -88
- package/dist/Text-DRla3SiI.d.ts +0 -88
- package/dist/Text-PCg-YzOz.d.cts +0 -88
- package/dist/VStack-B89J1tAJ.d.cts +0 -83
- package/dist/VStack-BH_tBQAO.d.cts +0 -83
- package/dist/VStack-CwNak3GT.d.ts +0 -83
- package/dist/VStack-YuhJZCys.d.ts +0 -83
- package/dist/chunk-27DQUYOD.cjs +0 -1
- package/dist/chunk-3KGHFL34.cjs +0 -1
- package/dist/chunk-4DI4U2ZJ.js +0 -2
- package/dist/chunk-4NLPM4LX.js +0 -1
- package/dist/chunk-566E2KOV.cjs +0 -1
- package/dist/chunk-5PTFNIFE.js +0 -2
- package/dist/chunk-6PEIP4LR.cjs +0 -1
- package/dist/chunk-6V7QEDMR.js +0 -2
- package/dist/chunk-AJIPOPZP.js +0 -1
- package/dist/chunk-B2TS37PH.cjs +0 -1
- package/dist/chunk-BRD7KJ5B.cjs +0 -2
- package/dist/chunk-C67TSNYO.cjs +0 -2
- package/dist/chunk-DDL45GZJ.js +0 -2
- package/dist/chunk-EPEWMEHA.js +0 -3
- package/dist/chunk-FK3YMO3H.cjs +0 -1
- package/dist/chunk-FKDU4FOZ.js +0 -2
- package/dist/chunk-FP7OSHKI.cjs +0 -1
- package/dist/chunk-GF4A6TFM.js +0 -2
- package/dist/chunk-HKI5AZ7O.js +0 -1
- package/dist/chunk-HTZHSZZP.cjs +0 -1
- package/dist/chunk-IMKUVCCQ.cjs +0 -2
- package/dist/chunk-IOYNZUNZ.js +0 -2
- package/dist/chunk-IPJKEKXB.cjs +0 -2
- package/dist/chunk-K3SGTZBD.js +0 -2
- package/dist/chunk-KOMSMI5O.cjs +0 -1
- package/dist/chunk-LBWNL2O7.cjs +0 -1
- package/dist/chunk-LK3ZQP3J.cjs +0 -1
- package/dist/chunk-LYHJT3E5.js +0 -2
- package/dist/chunk-NJH5V24C.cjs +0 -1
- package/dist/chunk-NNSZGTMQ.js +0 -2
- package/dist/chunk-O4OSO3V4.cjs +0 -2
- package/dist/chunk-OCCSRSJM.js +0 -2
- package/dist/chunk-OPJ5SIFC.js +0 -2
- package/dist/chunk-ORB5CU37.cjs +0 -1
- package/dist/chunk-P4XYWMJE.cjs +0 -2
- package/dist/chunk-Q5LASIAY.js +0 -3
- package/dist/chunk-QIGG4KRS.js +0 -2
- package/dist/chunk-QLXJH36U.cjs +0 -1
- package/dist/chunk-QUNKTR5G.cjs +0 -1
- package/dist/chunk-R7SUOHEQ.js +0 -1
- package/dist/chunk-S5ISY44L.cjs +0 -1
- package/dist/chunk-SPP3MH4Z.js +0 -2
- package/dist/chunk-VX5NJRUI.js +0 -2
- package/dist/chunk-W6B4I24P.js +0 -1
- package/dist/chunk-WR3CRR6L.js +0 -2
- package/dist/chunk-XK6V5SIG.cjs +0 -1
- package/dist/chunk-XN3JP4KW.cjs +0 -1
- package/dist/chunk-YZE72XPR.js +0 -2
- package/dist/client/Menu.cjs +0 -2
- package/dist/client/Menu.d.cts +0 -624
- package/dist/client/Menu.d.ts +0 -624
- package/dist/client/Menu.js +0 -3
- package/dist/client/index.cjs +0 -2
- package/dist/client/index.d.cts +0 -534
- package/dist/client/index.d.ts +0 -534
- package/dist/client/index.js +0 -2
- package/dist/domAnimation-26D6WPCP.cjs +0 -1
- package/dist/domAnimation-FQC75V5T.js +0 -1
- package/dist/domMax-7KVFVNKB.cjs +0 -1
- package/dist/domMax-XRPNJ6D3.js +0 -1
- package/dist/experimental/client/SwitchV2.cjs +0 -1
- package/dist/experimental/client/SwitchV2.js +0 -1
- package/dist/experimental/client/index.cjs +0 -3
- package/dist/experimental/client/index.d.cts +0 -135
- package/dist/experimental/client/index.d.ts +0 -135
- package/dist/experimental/client/index.js +0 -3
- package/dist/experimental/index.cjs +0 -2
- package/dist/experimental/index.d.cts +0 -86
- package/dist/experimental/index.d.ts +0 -86
- package/dist/experimental/index.js +0 -2
- package/dist/index-Ba60jeat.d.cts +0 -251
- package/dist/index-BrIj1pmg.d.ts +0 -251
- package/dist/index-DUswrIxa.d.cts +0 -251
- package/dist/index-DVUIyCVF.d.ts +0 -251
- package/dist/metafile-cjs.json +0 -1
- package/dist/metafile-esm.json +0 -1
- package/dist/styles/toast.css +0 -1
- package/dist/styles/toast.d.cts +0 -2
- package/dist/styles/toast.d.ts +0 -2
- package/dist/tailwind/plugin.cjs +0 -1
- package/dist/tailwind/plugin.d.cts +0 -84
- package/dist/tailwind/plugin.d.ts +0 -84
- package/dist/tailwind/plugin.js +0 -2
- package/dist/tailwind/purger.cjs +0 -5
- package/dist/tailwind/purger.js +0 -6
- package/dist/tailwind/utils.cjs +0 -1
- package/dist/tailwind/utils.d.cts +0 -164
- package/dist/tailwind/utils.d.ts +0 -164
- package/dist/tailwind/utils.js +0 -1
- package/dist/tokens/automation/configs.cjs +0 -1
- package/dist/tokens/automation/configs.d.cts +0 -128
- package/dist/tokens/automation/configs.d.ts +0 -128
- package/dist/tokens/automation/configs.js +0 -1
- package/dist/types-fpiurdUk.d.cts +0 -6
- package/dist/types-fpiurdUk.d.ts +0 -6
- package/dist/universalTokensConfigAuto-BHqbAL0M.d.cts +0 -14360
- package/dist/universalTokensConfigAuto-BHqbAL0M.d.ts +0 -14360
- package/dist/universalTokensConfigAuto-D1z2ow2N.d.cts +0 -14360
- package/dist/universalTokensConfigAuto-D1z2ow2N.d.ts +0 -14360
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
import { createConfigurableProperty, createLayerConfig, createVariantConfigWithProperties } from "../utils/index.js";
|
|
3
|
+
import { alwaysPaletteAliases, backgroundPaletteColors, borderRadii, borderWidths, buttonVariantsFlat, foregroundPaletteColors, iconSizes, linePaletteColors, opacitySteps, scaleEffects, shadowVariants, shadowVariantsWithInvert, spacingAliases, spectrumColors, textVariants } from "@yahoo/uds/fixtures";
|
|
4
|
+
|
|
5
|
+
//#region src/tokens/automation/configs/button.ts
|
|
6
|
+
function defineComponentConfig(config) {
|
|
7
|
+
return config;
|
|
8
|
+
}
|
|
9
|
+
const ButtonConfig = defineComponentConfig({
|
|
10
|
+
label: "Button",
|
|
11
|
+
description: "Customizing your own buttons involves adjusting text styles, icon sizes, and spacing values to create a personalized button.",
|
|
12
|
+
variants: {
|
|
13
|
+
size: createVariantConfigWithProperties({
|
|
14
|
+
label: "Size",
|
|
15
|
+
description: "These sizes will apply across all variants",
|
|
16
|
+
isConfigurable: true,
|
|
17
|
+
default: "md",
|
|
18
|
+
options: [
|
|
19
|
+
"sm",
|
|
20
|
+
"md",
|
|
21
|
+
"lg"
|
|
22
|
+
],
|
|
23
|
+
layers: {
|
|
24
|
+
root: createLayerConfig({
|
|
25
|
+
label: "root",
|
|
26
|
+
properties: {
|
|
27
|
+
spacingHorizontal: createConfigurableProperty({
|
|
28
|
+
name: "spacingHorizontal",
|
|
29
|
+
label: "Spacing horizontal",
|
|
30
|
+
typeOfFixture: ["spacingAliases"],
|
|
31
|
+
values: [spacingAliases],
|
|
32
|
+
defaults: {
|
|
33
|
+
sm: "3",
|
|
34
|
+
md: "4",
|
|
35
|
+
lg: "5"
|
|
36
|
+
}
|
|
37
|
+
}),
|
|
38
|
+
spacingVertical: createConfigurableProperty({
|
|
39
|
+
name: "spacingVertical",
|
|
40
|
+
label: "Spacing vertical",
|
|
41
|
+
typeOfFixture: ["spacingAliases"],
|
|
42
|
+
values: [spacingAliases],
|
|
43
|
+
defaults: {
|
|
44
|
+
sm: "1",
|
|
45
|
+
md: "2",
|
|
46
|
+
lg: "3.5"
|
|
47
|
+
}
|
|
48
|
+
}),
|
|
49
|
+
gap: createConfigurableProperty({
|
|
50
|
+
name: "gap",
|
|
51
|
+
label: "Gap",
|
|
52
|
+
typeOfFixture: ["spacingAliases"],
|
|
53
|
+
values: [spacingAliases],
|
|
54
|
+
defaults: {
|
|
55
|
+
sm: "1.5",
|
|
56
|
+
md: "1.5",
|
|
57
|
+
lg: "1.5"
|
|
58
|
+
}
|
|
59
|
+
}),
|
|
60
|
+
textVariant: createConfigurableProperty({
|
|
61
|
+
name: "textVariant",
|
|
62
|
+
label: "Text variant",
|
|
63
|
+
typeOfFixture: ["textVariants"],
|
|
64
|
+
values: [textVariants],
|
|
65
|
+
defaults: {
|
|
66
|
+
sm: "ui1",
|
|
67
|
+
md: "ui1",
|
|
68
|
+
lg: "ui1"
|
|
69
|
+
}
|
|
70
|
+
})
|
|
71
|
+
}
|
|
72
|
+
}),
|
|
73
|
+
icon: createLayerConfig({
|
|
74
|
+
label: "icon",
|
|
75
|
+
properties: { size: createConfigurableProperty({
|
|
76
|
+
name: "iconSize",
|
|
77
|
+
label: "Icon size",
|
|
78
|
+
typeOfFixture: ["iconSizes"],
|
|
79
|
+
values: [iconSizes],
|
|
80
|
+
defaults: {
|
|
81
|
+
sm: "sm",
|
|
82
|
+
md: "sm",
|
|
83
|
+
lg: "sm"
|
|
84
|
+
}
|
|
85
|
+
}) }
|
|
86
|
+
})
|
|
87
|
+
}
|
|
88
|
+
}),
|
|
89
|
+
variant: createVariantConfigWithProperties({
|
|
90
|
+
label: "Variants",
|
|
91
|
+
description: "",
|
|
92
|
+
isConfigurable: true,
|
|
93
|
+
default: "primary",
|
|
94
|
+
options: buttonVariantsFlat,
|
|
95
|
+
layers: {
|
|
96
|
+
root: createLayerConfig({
|
|
97
|
+
label: "root",
|
|
98
|
+
properties: {
|
|
99
|
+
borderWidth: createConfigurableProperty({
|
|
100
|
+
name: "borderWidth",
|
|
101
|
+
label: "Border width",
|
|
102
|
+
typeOfFixture: ["borderWidths"],
|
|
103
|
+
values: [borderWidths],
|
|
104
|
+
pseudoStates: [
|
|
105
|
+
"hover",
|
|
106
|
+
"pressed",
|
|
107
|
+
"disabled"
|
|
108
|
+
],
|
|
109
|
+
defaults: {
|
|
110
|
+
primary: "thin",
|
|
111
|
+
secondary: "none",
|
|
112
|
+
tertiary: "none",
|
|
113
|
+
brand: "none",
|
|
114
|
+
"brand-secondary": "none",
|
|
115
|
+
"brand-tertiary": "none",
|
|
116
|
+
alert: "none",
|
|
117
|
+
"alert-secondary": "none",
|
|
118
|
+
"alert-tertiary": "none",
|
|
119
|
+
warning: "none",
|
|
120
|
+
"warning-secondary": "none",
|
|
121
|
+
"warning-tertiary": "none",
|
|
122
|
+
positive: "none",
|
|
123
|
+
"positive-secondary": "none",
|
|
124
|
+
"positive-tertiary": "none",
|
|
125
|
+
info: "none",
|
|
126
|
+
"info-secondary": "none",
|
|
127
|
+
"info-tertiary": "none"
|
|
128
|
+
}
|
|
129
|
+
}),
|
|
130
|
+
borderRadius: createConfigurableProperty({
|
|
131
|
+
name: "borderRadius",
|
|
132
|
+
label: "Border radius",
|
|
133
|
+
typeOfFixture: ["borderRadii"],
|
|
134
|
+
values: [borderRadii],
|
|
135
|
+
pseudoStates: [
|
|
136
|
+
"hover",
|
|
137
|
+
"pressed",
|
|
138
|
+
"disabled"
|
|
139
|
+
],
|
|
140
|
+
defaults: {
|
|
141
|
+
primary: "full",
|
|
142
|
+
secondary: "full",
|
|
143
|
+
tertiary: "full",
|
|
144
|
+
brand: "full",
|
|
145
|
+
"brand-secondary": "full",
|
|
146
|
+
"brand-tertiary": "full",
|
|
147
|
+
alert: "full",
|
|
148
|
+
"alert-secondary": "full",
|
|
149
|
+
"alert-tertiary": "full",
|
|
150
|
+
warning: "full",
|
|
151
|
+
"warning-secondary": "full",
|
|
152
|
+
"warning-tertiary": "full",
|
|
153
|
+
positive: "full",
|
|
154
|
+
"positive-secondary": "full",
|
|
155
|
+
"positive-tertiary": "full",
|
|
156
|
+
info: "full",
|
|
157
|
+
"info-secondary": "full",
|
|
158
|
+
"info-tertiary": "full"
|
|
159
|
+
}
|
|
160
|
+
}),
|
|
161
|
+
borderColor: createConfigurableProperty({
|
|
162
|
+
name: "borderColor",
|
|
163
|
+
label: "Border color",
|
|
164
|
+
typeOfFixture: [
|
|
165
|
+
"spectrumColors",
|
|
166
|
+
"linePaletteColors",
|
|
167
|
+
"alwaysPaletteAliases"
|
|
168
|
+
],
|
|
169
|
+
values: [
|
|
170
|
+
spectrumColors,
|
|
171
|
+
linePaletteColors,
|
|
172
|
+
alwaysPaletteAliases
|
|
173
|
+
],
|
|
174
|
+
pseudoStates: [
|
|
175
|
+
"hover",
|
|
176
|
+
"pressed",
|
|
177
|
+
"disabled"
|
|
178
|
+
],
|
|
179
|
+
defaults: {
|
|
180
|
+
primary: "tertiary",
|
|
181
|
+
secondary: "tertiary",
|
|
182
|
+
tertiary: "tertiary",
|
|
183
|
+
brand: "tertiary",
|
|
184
|
+
"brand-secondary": "tertiary",
|
|
185
|
+
"brand-tertiary": "tertiary",
|
|
186
|
+
alert: "tertiary",
|
|
187
|
+
"alert-secondary": "tertiary",
|
|
188
|
+
"alert-tertiary": "tertiary",
|
|
189
|
+
warning: "tertiary",
|
|
190
|
+
"warning-secondary": "tertiary",
|
|
191
|
+
"warning-tertiary": "tertiary",
|
|
192
|
+
positive: "tertiary",
|
|
193
|
+
"positive-secondary": "tertiary",
|
|
194
|
+
"positive-tertiary": "tertiary",
|
|
195
|
+
info: "tertiary",
|
|
196
|
+
"info-secondary": "tertiary",
|
|
197
|
+
"info-tertiary": "tertiary"
|
|
198
|
+
}
|
|
199
|
+
}),
|
|
200
|
+
backgroundColor: createConfigurableProperty({
|
|
201
|
+
name: "backgroundColor",
|
|
202
|
+
label: "Background color",
|
|
203
|
+
typeOfFixture: [
|
|
204
|
+
"spectrumColors",
|
|
205
|
+
"backgroundPaletteColors",
|
|
206
|
+
"alwaysPaletteAliases"
|
|
207
|
+
],
|
|
208
|
+
values: [
|
|
209
|
+
spectrumColors,
|
|
210
|
+
backgroundPaletteColors,
|
|
211
|
+
alwaysPaletteAliases
|
|
212
|
+
],
|
|
213
|
+
pseudoStates: [
|
|
214
|
+
"hover",
|
|
215
|
+
"pressed",
|
|
216
|
+
"disabled"
|
|
217
|
+
],
|
|
218
|
+
defaults: {
|
|
219
|
+
primary: "accent",
|
|
220
|
+
secondary: "accent",
|
|
221
|
+
tertiary: "accent",
|
|
222
|
+
brand: "brand",
|
|
223
|
+
"brand-secondary": "accent",
|
|
224
|
+
"brand-tertiary": "accent",
|
|
225
|
+
alert: "alert",
|
|
226
|
+
"alert-secondary": "accent",
|
|
227
|
+
"alert-tertiary": "accent",
|
|
228
|
+
warning: "warning",
|
|
229
|
+
"warning-secondary": "accent",
|
|
230
|
+
"warning-tertiary": "accent",
|
|
231
|
+
positive: "positive",
|
|
232
|
+
"positive-secondary": "accent",
|
|
233
|
+
"positive-tertiary": "accent",
|
|
234
|
+
info: "accent",
|
|
235
|
+
"info-secondary": "accent",
|
|
236
|
+
"info-tertiary": "accent"
|
|
237
|
+
}
|
|
238
|
+
}),
|
|
239
|
+
color: createConfigurableProperty({
|
|
240
|
+
name: "color",
|
|
241
|
+
label: "Text color",
|
|
242
|
+
typeOfFixture: [
|
|
243
|
+
"spectrumColors",
|
|
244
|
+
"foregroundPaletteColors",
|
|
245
|
+
"alwaysPaletteAliases"
|
|
246
|
+
],
|
|
247
|
+
values: [
|
|
248
|
+
spectrumColors,
|
|
249
|
+
foregroundPaletteColors,
|
|
250
|
+
alwaysPaletteAliases
|
|
251
|
+
],
|
|
252
|
+
pseudoStates: [
|
|
253
|
+
"hover",
|
|
254
|
+
"pressed",
|
|
255
|
+
"disabled"
|
|
256
|
+
],
|
|
257
|
+
defaults: {
|
|
258
|
+
primary: "primary",
|
|
259
|
+
secondary: "primary",
|
|
260
|
+
tertiary: "primary",
|
|
261
|
+
brand: "primary",
|
|
262
|
+
"brand-secondary": "primary",
|
|
263
|
+
"brand-tertiary": "primary",
|
|
264
|
+
alert: "primary",
|
|
265
|
+
"alert-secondary": "primary",
|
|
266
|
+
"alert-tertiary": "primary",
|
|
267
|
+
warning: "primary",
|
|
268
|
+
"warning-secondary": "primary",
|
|
269
|
+
"warning-tertiary": "primary",
|
|
270
|
+
positive: "primary",
|
|
271
|
+
"positive-secondary": "primary",
|
|
272
|
+
"positive-tertiary": "primary",
|
|
273
|
+
info: "info",
|
|
274
|
+
"info-secondary": "primary",
|
|
275
|
+
"info-tertiary": "primary"
|
|
276
|
+
}
|
|
277
|
+
}),
|
|
278
|
+
opacity: createConfigurableProperty({
|
|
279
|
+
name: "opacity",
|
|
280
|
+
label: "Opacity",
|
|
281
|
+
typeOfFixture: ["opacitySteps"],
|
|
282
|
+
values: [opacitySteps],
|
|
283
|
+
skipRestState: true,
|
|
284
|
+
pseudoStates: ["disabled"],
|
|
285
|
+
defaults: {
|
|
286
|
+
primary: "100",
|
|
287
|
+
secondary: "100",
|
|
288
|
+
tertiary: "100",
|
|
289
|
+
brand: "100",
|
|
290
|
+
"brand-secondary": "100",
|
|
291
|
+
"brand-tertiary": "100",
|
|
292
|
+
alert: "100",
|
|
293
|
+
"alert-secondary": "100",
|
|
294
|
+
"alert-tertiary": "100",
|
|
295
|
+
warning: "100",
|
|
296
|
+
"warning-secondary": "100",
|
|
297
|
+
"warning-tertiary": "100",
|
|
298
|
+
positive: "100",
|
|
299
|
+
"positive-secondary": "100",
|
|
300
|
+
"positive-tertiary": "100",
|
|
301
|
+
info: "100",
|
|
302
|
+
"info-secondary": "100",
|
|
303
|
+
"info-tertiary": "100"
|
|
304
|
+
}
|
|
305
|
+
}),
|
|
306
|
+
shadow: createConfigurableProperty({
|
|
307
|
+
name: "shadow",
|
|
308
|
+
label: "Shadow",
|
|
309
|
+
typeOfFixture: ["shadowVariants"],
|
|
310
|
+
values: [shadowVariants],
|
|
311
|
+
pseudoStates: [
|
|
312
|
+
"hover",
|
|
313
|
+
"pressed",
|
|
314
|
+
"disabled"
|
|
315
|
+
],
|
|
316
|
+
defaults: {
|
|
317
|
+
primary: "none",
|
|
318
|
+
secondary: "none",
|
|
319
|
+
tertiary: "none",
|
|
320
|
+
brand: "none",
|
|
321
|
+
"brand-secondary": "none",
|
|
322
|
+
"brand-tertiary": "none",
|
|
323
|
+
alert: "none",
|
|
324
|
+
"alert-secondary": "none",
|
|
325
|
+
"alert-tertiary": "none",
|
|
326
|
+
warning: "none",
|
|
327
|
+
"warning-secondary": "none",
|
|
328
|
+
"warning-tertiary": "none",
|
|
329
|
+
positive: "none",
|
|
330
|
+
"positive-secondary": "none",
|
|
331
|
+
"positive-tertiary": "none",
|
|
332
|
+
info: "none",
|
|
333
|
+
"info-secondary": "none",
|
|
334
|
+
"info-tertiary": "none"
|
|
335
|
+
}
|
|
336
|
+
}),
|
|
337
|
+
insetShadow: createConfigurableProperty({
|
|
338
|
+
name: "insetShadow",
|
|
339
|
+
label: "Inset shadow",
|
|
340
|
+
typeOfFixture: ["shadowVariantsWithInvert"],
|
|
341
|
+
values: [shadowVariantsWithInvert],
|
|
342
|
+
pseudoStates: [
|
|
343
|
+
"hover",
|
|
344
|
+
"pressed",
|
|
345
|
+
"disabled"
|
|
346
|
+
],
|
|
347
|
+
defaults: {
|
|
348
|
+
primary: "none",
|
|
349
|
+
secondary: "none",
|
|
350
|
+
tertiary: "none",
|
|
351
|
+
brand: "none",
|
|
352
|
+
"brand-secondary": "none",
|
|
353
|
+
"brand-tertiary": "none",
|
|
354
|
+
alert: "none",
|
|
355
|
+
"alert-secondary": "none",
|
|
356
|
+
"alert-tertiary": "none",
|
|
357
|
+
warning: "none",
|
|
358
|
+
"warning-secondary": "none",
|
|
359
|
+
"warning-tertiary": "none",
|
|
360
|
+
positive: "none",
|
|
361
|
+
"positive-secondary": "none",
|
|
362
|
+
"positive-tertiary": "none",
|
|
363
|
+
info: "none",
|
|
364
|
+
"info-secondary": "none",
|
|
365
|
+
"info-tertiary": "none"
|
|
366
|
+
}
|
|
367
|
+
}),
|
|
368
|
+
scaleEffect: createConfigurableProperty({
|
|
369
|
+
name: "scaleEffect",
|
|
370
|
+
label: "Scale",
|
|
371
|
+
typeOfFixture: ["scaleEffects"],
|
|
372
|
+
values: [scaleEffects],
|
|
373
|
+
skipRestState: true,
|
|
374
|
+
pseudoStates: ["hover", "pressed"],
|
|
375
|
+
defaults: {
|
|
376
|
+
primary: "none",
|
|
377
|
+
secondary: "none",
|
|
378
|
+
tertiary: "none",
|
|
379
|
+
brand: "none",
|
|
380
|
+
"brand-secondary": "none",
|
|
381
|
+
"brand-tertiary": "none",
|
|
382
|
+
alert: "none",
|
|
383
|
+
"alert-secondary": "none",
|
|
384
|
+
"alert-tertiary": "none",
|
|
385
|
+
warning: "none",
|
|
386
|
+
"warning-secondary": "none",
|
|
387
|
+
"warning-tertiary": "none",
|
|
388
|
+
positive: "none",
|
|
389
|
+
"positive-secondary": "none",
|
|
390
|
+
"positive-tertiary": "none",
|
|
391
|
+
info: "none",
|
|
392
|
+
"info-secondary": "none",
|
|
393
|
+
"info-tertiary": "none"
|
|
394
|
+
}
|
|
395
|
+
})
|
|
396
|
+
}
|
|
397
|
+
}),
|
|
398
|
+
icon: createLayerConfig({
|
|
399
|
+
label: "icon",
|
|
400
|
+
properties: { color: createConfigurableProperty({
|
|
401
|
+
name: "color",
|
|
402
|
+
label: "Icon color",
|
|
403
|
+
typeOfFixture: [
|
|
404
|
+
"spectrumColors",
|
|
405
|
+
"foregroundPaletteColors",
|
|
406
|
+
"alwaysPaletteAliases"
|
|
407
|
+
],
|
|
408
|
+
values: [
|
|
409
|
+
spectrumColors,
|
|
410
|
+
foregroundPaletteColors,
|
|
411
|
+
alwaysPaletteAliases
|
|
412
|
+
],
|
|
413
|
+
pseudoStates: [
|
|
414
|
+
"hover",
|
|
415
|
+
"pressed",
|
|
416
|
+
"disabled"
|
|
417
|
+
],
|
|
418
|
+
defaults: {
|
|
419
|
+
primary: "primary",
|
|
420
|
+
secondary: "primary",
|
|
421
|
+
tertiary: "primary",
|
|
422
|
+
brand: "primary",
|
|
423
|
+
"brand-secondary": "primary",
|
|
424
|
+
"brand-tertiary": "primary",
|
|
425
|
+
alert: "primary",
|
|
426
|
+
"alert-secondary": "primary",
|
|
427
|
+
"alert-tertiary": "primary",
|
|
428
|
+
warning: "primary",
|
|
429
|
+
"warning-secondary": "primary",
|
|
430
|
+
"warning-tertiary": "primary",
|
|
431
|
+
positive: "primary",
|
|
432
|
+
"positive-secondary": "primary",
|
|
433
|
+
"positive-tertiary": "primary",
|
|
434
|
+
info: "primary",
|
|
435
|
+
"info-secondary": "primary",
|
|
436
|
+
"info-tertiary": "primary"
|
|
437
|
+
}
|
|
438
|
+
}) }
|
|
439
|
+
})
|
|
440
|
+
}
|
|
441
|
+
})
|
|
442
|
+
}
|
|
443
|
+
});
|
|
444
|
+
|
|
445
|
+
//#endregion
|
|
446
|
+
export { ButtonConfig };
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
|
|
3
|
+
const require_tokens_automation_utils_index = require('../utils/index.cjs');
|
|
4
|
+
let __yahoo_uds_fixtures = require("@yahoo/uds/fixtures");
|
|
5
|
+
|
|
6
|
+
//#region src/tokens/automation/configs/checkbox.ts
|
|
7
|
+
function defineComponentConfig(config) {
|
|
8
|
+
return config;
|
|
9
|
+
}
|
|
10
|
+
const CheckboxConfig = defineComponentConfig({
|
|
11
|
+
label: "Checkbox",
|
|
12
|
+
description: "A checkbox is a small, interactive element that lets users select one or more options from a list.",
|
|
13
|
+
variants: {
|
|
14
|
+
size: require_tokens_automation_utils_index.createVariantConfigWithProperties({
|
|
15
|
+
label: "size",
|
|
16
|
+
isConfigurable: true,
|
|
17
|
+
options: ["sm", "md"],
|
|
18
|
+
default: "md",
|
|
19
|
+
description: "",
|
|
20
|
+
layers: {
|
|
21
|
+
root: require_tokens_automation_utils_index.createLayerConfig({
|
|
22
|
+
label: "root",
|
|
23
|
+
properties: {
|
|
24
|
+
gap: require_tokens_automation_utils_index.createConfigurableProperty({
|
|
25
|
+
name: "gap",
|
|
26
|
+
label: "Gap",
|
|
27
|
+
typeOfFixture: ["spacingAliases"],
|
|
28
|
+
values: [__yahoo_uds_fixtures.spacingAliases],
|
|
29
|
+
defaults: {
|
|
30
|
+
sm: "2",
|
|
31
|
+
md: "2.5"
|
|
32
|
+
}
|
|
33
|
+
}),
|
|
34
|
+
textVariant: require_tokens_automation_utils_index.createConfigurableProperty({
|
|
35
|
+
name: "textVariant",
|
|
36
|
+
label: "Text variant",
|
|
37
|
+
typeOfFixture: ["textVariants"],
|
|
38
|
+
values: [__yahoo_uds_fixtures.textVariants],
|
|
39
|
+
defaults: {
|
|
40
|
+
sm: "label4",
|
|
41
|
+
md: "label2"
|
|
42
|
+
}
|
|
43
|
+
})
|
|
44
|
+
}
|
|
45
|
+
}),
|
|
46
|
+
checkbox: require_tokens_automation_utils_index.createLayerConfig({
|
|
47
|
+
label: "checkbox",
|
|
48
|
+
properties: {
|
|
49
|
+
borderWidth: require_tokens_automation_utils_index.createConfigurableProperty({
|
|
50
|
+
name: "borderWidth",
|
|
51
|
+
label: "Checkbox border width",
|
|
52
|
+
typeOfFixture: ["borderWidths"],
|
|
53
|
+
values: [__yahoo_uds_fixtures.borderWidths],
|
|
54
|
+
defaults: {
|
|
55
|
+
sm: "thin",
|
|
56
|
+
md: "thin"
|
|
57
|
+
}
|
|
58
|
+
}),
|
|
59
|
+
height: require_tokens_automation_utils_index.createConfigurableProperty({
|
|
60
|
+
name: "height",
|
|
61
|
+
label: "Checkbox height",
|
|
62
|
+
typeOfFixture: ["spacingAliases"],
|
|
63
|
+
values: [__yahoo_uds_fixtures.spacingAliases],
|
|
64
|
+
defaults: {
|
|
65
|
+
sm: "4",
|
|
66
|
+
md: "5"
|
|
67
|
+
}
|
|
68
|
+
}),
|
|
69
|
+
width: require_tokens_automation_utils_index.createConfigurableProperty({
|
|
70
|
+
name: "width",
|
|
71
|
+
label: "Checkbox width",
|
|
72
|
+
typeOfFixture: ["spacingAliases"],
|
|
73
|
+
values: [__yahoo_uds_fixtures.spacingAliases],
|
|
74
|
+
defaults: {
|
|
75
|
+
sm: "4",
|
|
76
|
+
md: "5"
|
|
77
|
+
}
|
|
78
|
+
})
|
|
79
|
+
}
|
|
80
|
+
})
|
|
81
|
+
}
|
|
82
|
+
}),
|
|
83
|
+
variant: require_tokens_automation_utils_index.createVariantConfigWithComponentStates({
|
|
84
|
+
label: "variant",
|
|
85
|
+
description: "",
|
|
86
|
+
isConfigurable: true,
|
|
87
|
+
options: [
|
|
88
|
+
"primary",
|
|
89
|
+
"secondary",
|
|
90
|
+
"alert",
|
|
91
|
+
"alert-secondary"
|
|
92
|
+
],
|
|
93
|
+
default: "primary",
|
|
94
|
+
componentStates: { value: require_tokens_automation_utils_index.createComponentStates({
|
|
95
|
+
label: "value",
|
|
96
|
+
options: [
|
|
97
|
+
"checked",
|
|
98
|
+
"unchecked",
|
|
99
|
+
"indeterminate"
|
|
100
|
+
],
|
|
101
|
+
layers: {
|
|
102
|
+
root: require_tokens_automation_utils_index.createLayerConfig({
|
|
103
|
+
label: "root",
|
|
104
|
+
properties: { color: require_tokens_automation_utils_index.createConfigurableProperty({
|
|
105
|
+
name: "color",
|
|
106
|
+
label: "Label color",
|
|
107
|
+
typeOfFixture: [
|
|
108
|
+
"spectrumColors",
|
|
109
|
+
"foregroundPaletteColors",
|
|
110
|
+
"alwaysPaletteAliases"
|
|
111
|
+
],
|
|
112
|
+
values: [
|
|
113
|
+
__yahoo_uds_fixtures.spectrumColors,
|
|
114
|
+
__yahoo_uds_fixtures.foregroundPaletteColors,
|
|
115
|
+
__yahoo_uds_fixtures.alwaysPaletteAliases
|
|
116
|
+
],
|
|
117
|
+
pseudoStates: [
|
|
118
|
+
"hover",
|
|
119
|
+
"pressed",
|
|
120
|
+
"disabled"
|
|
121
|
+
],
|
|
122
|
+
defaults: {
|
|
123
|
+
primary: "primary",
|
|
124
|
+
secondary: "primary",
|
|
125
|
+
alert: "primary",
|
|
126
|
+
"alert-secondary": "primary"
|
|
127
|
+
}
|
|
128
|
+
}) }
|
|
129
|
+
}),
|
|
130
|
+
checkbox: require_tokens_automation_utils_index.createLayerConfig({
|
|
131
|
+
label: "checkbox",
|
|
132
|
+
properties: {
|
|
133
|
+
borderColor: require_tokens_automation_utils_index.createConfigurableProperty({
|
|
134
|
+
name: "borderColor",
|
|
135
|
+
label: "border color",
|
|
136
|
+
typeOfFixture: [
|
|
137
|
+
"spectrumColors",
|
|
138
|
+
"linePaletteColors",
|
|
139
|
+
"alwaysPaletteAliases"
|
|
140
|
+
],
|
|
141
|
+
values: [
|
|
142
|
+
__yahoo_uds_fixtures.spectrumColors,
|
|
143
|
+
__yahoo_uds_fixtures.linePaletteColors,
|
|
144
|
+
__yahoo_uds_fixtures.alwaysPaletteAliases
|
|
145
|
+
],
|
|
146
|
+
pseudoStates: [
|
|
147
|
+
"hover",
|
|
148
|
+
"pressed",
|
|
149
|
+
"disabled"
|
|
150
|
+
],
|
|
151
|
+
defaults: {
|
|
152
|
+
primary: "tertiary",
|
|
153
|
+
secondary: "tertiary",
|
|
154
|
+
alert: "tertiary",
|
|
155
|
+
"alert-secondary": "tertiary"
|
|
156
|
+
}
|
|
157
|
+
}),
|
|
158
|
+
backgroundColor: require_tokens_automation_utils_index.createConfigurableProperty({
|
|
159
|
+
name: "backgroundColor",
|
|
160
|
+
label: "Checkbox background color",
|
|
161
|
+
typeOfFixture: [
|
|
162
|
+
"spectrumColors",
|
|
163
|
+
"backgroundPaletteColors",
|
|
164
|
+
"alwaysPaletteAliases"
|
|
165
|
+
],
|
|
166
|
+
values: [
|
|
167
|
+
__yahoo_uds_fixtures.spectrumColors,
|
|
168
|
+
__yahoo_uds_fixtures.backgroundPaletteColors,
|
|
169
|
+
__yahoo_uds_fixtures.alwaysPaletteAliases
|
|
170
|
+
],
|
|
171
|
+
pseudoStates: [
|
|
172
|
+
"hover",
|
|
173
|
+
"pressed",
|
|
174
|
+
"disabled"
|
|
175
|
+
],
|
|
176
|
+
defaults: {
|
|
177
|
+
primary: "secondary",
|
|
178
|
+
secondary: "secondary",
|
|
179
|
+
alert: "secondary",
|
|
180
|
+
"alert-secondary": "secondary"
|
|
181
|
+
}
|
|
182
|
+
}),
|
|
183
|
+
shadow: require_tokens_automation_utils_index.createConfigurableProperty({
|
|
184
|
+
name: "shadow",
|
|
185
|
+
label: "Drop shadow",
|
|
186
|
+
typeOfFixture: ["shadowVariants"],
|
|
187
|
+
supportsCustom: true,
|
|
188
|
+
values: [__yahoo_uds_fixtures.shadowVariants],
|
|
189
|
+
pseudoStates: [
|
|
190
|
+
"hover",
|
|
191
|
+
"pressed",
|
|
192
|
+
"disabled"
|
|
193
|
+
],
|
|
194
|
+
defaults: {
|
|
195
|
+
primary: "none",
|
|
196
|
+
secondary: "none",
|
|
197
|
+
alert: "md",
|
|
198
|
+
"alert-secondary": "none"
|
|
199
|
+
}
|
|
200
|
+
}),
|
|
201
|
+
insetShadow: require_tokens_automation_utils_index.createConfigurableProperty({
|
|
202
|
+
name: "insetShadow",
|
|
203
|
+
label: "Inset shadow",
|
|
204
|
+
typeOfFixture: ["shadowVariantsWithInvert"],
|
|
205
|
+
supportsCustom: true,
|
|
206
|
+
values: [__yahoo_uds_fixtures.shadowVariantsWithInvert],
|
|
207
|
+
pseudoStates: [
|
|
208
|
+
"hover",
|
|
209
|
+
"pressed",
|
|
210
|
+
"disabled"
|
|
211
|
+
],
|
|
212
|
+
defaults: {
|
|
213
|
+
primary: "2xl-invert",
|
|
214
|
+
secondary: "md-invert",
|
|
215
|
+
alert: "md",
|
|
216
|
+
"alert-secondary": "xl"
|
|
217
|
+
}
|
|
218
|
+
})
|
|
219
|
+
}
|
|
220
|
+
}),
|
|
221
|
+
checkboxIcon: require_tokens_automation_utils_index.createLayerConfig({
|
|
222
|
+
label: "checkboxIcon",
|
|
223
|
+
properties: { color: require_tokens_automation_utils_index.createConfigurableProperty({
|
|
224
|
+
name: "color",
|
|
225
|
+
label: "Icon color",
|
|
226
|
+
typeOfFixture: [
|
|
227
|
+
"spectrumColors",
|
|
228
|
+
"foregroundPaletteColors",
|
|
229
|
+
"alwaysPaletteAliases"
|
|
230
|
+
],
|
|
231
|
+
values: [
|
|
232
|
+
__yahoo_uds_fixtures.spectrumColors,
|
|
233
|
+
__yahoo_uds_fixtures.foregroundPaletteColors,
|
|
234
|
+
__yahoo_uds_fixtures.alwaysPaletteAliases
|
|
235
|
+
],
|
|
236
|
+
pseudoStates: [
|
|
237
|
+
"hover",
|
|
238
|
+
"pressed",
|
|
239
|
+
"disabled"
|
|
240
|
+
],
|
|
241
|
+
defaults: {
|
|
242
|
+
primary: "primary",
|
|
243
|
+
secondary: "primary",
|
|
244
|
+
alert: "primary",
|
|
245
|
+
"alert-secondary": "primary"
|
|
246
|
+
}
|
|
247
|
+
}) }
|
|
248
|
+
})
|
|
249
|
+
}
|
|
250
|
+
}) }
|
|
251
|
+
})
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
|
|
255
|
+
//#endregion
|
|
256
|
+
exports.CheckboxConfig = CheckboxConfig;
|