@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
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { o as UniversalStackProps, p as UniversalDividerProps } from './universalTokensConfigAuto-D1z2ow2N.cjs';
|
|
3
|
-
import { B as BoxProps, D as DivProps } from './Box-Dw6erJKC.cjs';
|
|
4
|
-
|
|
5
|
-
interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
|
|
6
|
-
layerClassNames?: {
|
|
7
|
-
root?: string;
|
|
8
|
-
text?: string;
|
|
9
|
-
line?: string;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
|
|
14
|
-
interface DividerInternalProps extends DividerCoreProps {
|
|
15
|
-
variant?: VariantWithInherit;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
type DividerProps = Omit<DividerInternalProps, 'layerClassNames'>;
|
|
19
|
-
/**
|
|
20
|
-
* **📦 A divider component that can be used to visually separate components**
|
|
21
|
-
*
|
|
22
|
-
* @description
|
|
23
|
-
* The Divider component is a visual element used to separate content and create clear groupings within a layout. It helps establish hierarchy, improve readability, and guide users through sections of an interface. Dividers can appear as horizontal or vertical lines and are commonly used between related content blocks, within menus, or in dense UI areas to reduce visual clutter.
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* ```tsx
|
|
27
|
-
* import { Divider } from '@yahoo/uds';
|
|
28
|
-
*
|
|
29
|
-
* // Default primary horizontal divider. Similar to <hr />
|
|
30
|
-
* <Divider />
|
|
31
|
-
*
|
|
32
|
-
* // A vertical divider.
|
|
33
|
-
* <Divider vertical />
|
|
34
|
-
*
|
|
35
|
-
* // A horizontal divider with the secondary styling.
|
|
36
|
-
* <Divider variant="secondary" />
|
|
37
|
-
*
|
|
38
|
-
* // A vertical divider with the tertiary styling.
|
|
39
|
-
* <Divider vertical variant="tertiary" />
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @usage
|
|
43
|
-
* - Visually separating parts of a page. Usually used in conjuction with [HStack](./h-stack) or [VStack](./v-stack).
|
|
44
|
-
*
|
|
45
|
-
* @see The {@link https://uds.build/docs/components/divider Divider Docs} for more info
|
|
46
|
-
*
|
|
47
|
-
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
|
48
|
-
*/
|
|
49
|
-
declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
|
|
50
|
-
|
|
51
|
-
type VStackProps = UniversalStackProps & DivProps;
|
|
52
|
-
/**
|
|
53
|
-
* **🥞 A layout component that arranges its children in rows using flexbox**
|
|
54
|
-
*
|
|
55
|
-
* @description
|
|
56
|
-
* VStack is a layout component that arranges its children in rows using [flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox)
|
|
57
|
-
* and can be used to compose larger layouts. VStack is similar to [Box](./box) but provides additional features like a `gap` property to
|
|
58
|
-
* add spacing between children.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```tsx
|
|
62
|
-
* import { VStack, Text } from '@yahoo/uds';
|
|
63
|
-
*
|
|
64
|
-
* <VStack gap="6">
|
|
65
|
-
* <Text variant="body1" color="primary">First</Text>
|
|
66
|
-
* <Text variant="body1" color="primary">Second</Text>
|
|
67
|
-
* <Text variant="body1" color="primary">Third</Text>
|
|
68
|
-
* </VStack>
|
|
69
|
-
* ```
|
|
70
|
-
*
|
|
71
|
-
* @usage
|
|
72
|
-
* - Create a column of items, optionally with gaps between.
|
|
73
|
-
* - Create rows that are sized to their content (height only). By default each child will fill the width of the VStack.
|
|
74
|
-
* - Create rows that fill the available space within the parent container.
|
|
75
|
-
* - Create rows of proportionate size to each other (also known as a ratio-based layout).
|
|
76
|
-
*
|
|
77
|
-
* @see The {@link https://uds.build/docs/components/v-stack VStack Docs} for more info
|
|
78
|
-
*
|
|
79
|
-
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack)
|
|
80
|
-
**/
|
|
81
|
-
declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps & react.RefAttributes<HTMLDivElement>>;
|
|
82
|
-
|
|
83
|
-
export { type DividerProps as D, type VStackProps as V, Divider as a, VStack as b };
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { o as UniversalStackProps, p as UniversalDividerProps } from './universalTokensConfigAuto-BHqbAL0M.cjs';
|
|
3
|
-
import { B as BoxProps, D as DivProps } from './Box-DwoY1xsp.cjs';
|
|
4
|
-
|
|
5
|
-
interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
|
|
6
|
-
layerClassNames?: {
|
|
7
|
-
root?: string;
|
|
8
|
-
text?: string;
|
|
9
|
-
line?: string;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
|
|
14
|
-
interface DividerInternalProps extends DividerCoreProps {
|
|
15
|
-
variant?: VariantWithInherit;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
type DividerProps = Omit<DividerInternalProps, 'layerClassNames'>;
|
|
19
|
-
/**
|
|
20
|
-
* **📦 A divider component that can be used to visually separate components**
|
|
21
|
-
*
|
|
22
|
-
* @description
|
|
23
|
-
* The Divider component is a visual element used to separate content and create clear groupings within a layout. It helps establish hierarchy, improve readability, and guide users through sections of an interface. Dividers can appear as horizontal or vertical lines and are commonly used between related content blocks, within menus, or in dense UI areas to reduce visual clutter.
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* ```tsx
|
|
27
|
-
* import { Divider } from '@yahoo/uds';
|
|
28
|
-
*
|
|
29
|
-
* // Default primary horizontal divider. Similar to <hr />
|
|
30
|
-
* <Divider />
|
|
31
|
-
*
|
|
32
|
-
* // A vertical divider.
|
|
33
|
-
* <Divider vertical />
|
|
34
|
-
*
|
|
35
|
-
* // A horizontal divider with the secondary styling.
|
|
36
|
-
* <Divider variant="secondary" />
|
|
37
|
-
*
|
|
38
|
-
* // A vertical divider with the tertiary styling.
|
|
39
|
-
* <Divider vertical variant="tertiary" />
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @usage
|
|
43
|
-
* - Visually separating parts of a page. Usually used in conjuction with [HStack](./h-stack) or [VStack](./v-stack).
|
|
44
|
-
*
|
|
45
|
-
* @see The {@link https://uds.build/docs/components/divider Divider Docs} for more info
|
|
46
|
-
*
|
|
47
|
-
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
|
48
|
-
*/
|
|
49
|
-
declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
|
|
50
|
-
|
|
51
|
-
type VStackProps = UniversalStackProps & DivProps;
|
|
52
|
-
/**
|
|
53
|
-
* **🥞 A layout component that arranges its children in rows using flexbox**
|
|
54
|
-
*
|
|
55
|
-
* @description
|
|
56
|
-
* VStack is a layout component that arranges its children in rows using [flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox)
|
|
57
|
-
* and can be used to compose larger layouts. VStack is similar to [Box](./box) but provides additional features like a `gap` property to
|
|
58
|
-
* add spacing between children.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```tsx
|
|
62
|
-
* import { VStack, Text } from '@yahoo/uds';
|
|
63
|
-
*
|
|
64
|
-
* <VStack gap="6">
|
|
65
|
-
* <Text variant="body1" color="primary">First</Text>
|
|
66
|
-
* <Text variant="body1" color="primary">Second</Text>
|
|
67
|
-
* <Text variant="body1" color="primary">Third</Text>
|
|
68
|
-
* </VStack>
|
|
69
|
-
* ```
|
|
70
|
-
*
|
|
71
|
-
* @usage
|
|
72
|
-
* - Create a column of items, optionally with gaps between.
|
|
73
|
-
* - Create rows that are sized to their content (height only). By default each child will fill the width of the VStack.
|
|
74
|
-
* - Create rows that fill the available space within the parent container.
|
|
75
|
-
* - Create rows of proportionate size to each other (also known as a ratio-based layout).
|
|
76
|
-
*
|
|
77
|
-
* @see The {@link https://uds.build/docs/components/v-stack VStack Docs} for more info
|
|
78
|
-
*
|
|
79
|
-
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack)
|
|
80
|
-
**/
|
|
81
|
-
declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps & react.RefAttributes<HTMLDivElement>>;
|
|
82
|
-
|
|
83
|
-
export { type DividerProps as D, type VStackProps as V, Divider as a, VStack as b };
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { o as UniversalStackProps, p as UniversalDividerProps } from './universalTokensConfigAuto-D1z2ow2N.js';
|
|
3
|
-
import { B as BoxProps, D as DivProps } from './Box-ncdx_6JJ.js';
|
|
4
|
-
|
|
5
|
-
interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
|
|
6
|
-
layerClassNames?: {
|
|
7
|
-
root?: string;
|
|
8
|
-
text?: string;
|
|
9
|
-
line?: string;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
|
|
14
|
-
interface DividerInternalProps extends DividerCoreProps {
|
|
15
|
-
variant?: VariantWithInherit;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
type DividerProps = Omit<DividerInternalProps, 'layerClassNames'>;
|
|
19
|
-
/**
|
|
20
|
-
* **📦 A divider component that can be used to visually separate components**
|
|
21
|
-
*
|
|
22
|
-
* @description
|
|
23
|
-
* The Divider component is a visual element used to separate content and create clear groupings within a layout. It helps establish hierarchy, improve readability, and guide users through sections of an interface. Dividers can appear as horizontal or vertical lines and are commonly used between related content blocks, within menus, or in dense UI areas to reduce visual clutter.
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* ```tsx
|
|
27
|
-
* import { Divider } from '@yahoo/uds';
|
|
28
|
-
*
|
|
29
|
-
* // Default primary horizontal divider. Similar to <hr />
|
|
30
|
-
* <Divider />
|
|
31
|
-
*
|
|
32
|
-
* // A vertical divider.
|
|
33
|
-
* <Divider vertical />
|
|
34
|
-
*
|
|
35
|
-
* // A horizontal divider with the secondary styling.
|
|
36
|
-
* <Divider variant="secondary" />
|
|
37
|
-
*
|
|
38
|
-
* // A vertical divider with the tertiary styling.
|
|
39
|
-
* <Divider vertical variant="tertiary" />
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @usage
|
|
43
|
-
* - Visually separating parts of a page. Usually used in conjuction with [HStack](./h-stack) or [VStack](./v-stack).
|
|
44
|
-
*
|
|
45
|
-
* @see The {@link https://uds.build/docs/components/divider Divider Docs} for more info
|
|
46
|
-
*
|
|
47
|
-
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
|
48
|
-
*/
|
|
49
|
-
declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
|
|
50
|
-
|
|
51
|
-
type VStackProps = UniversalStackProps & DivProps;
|
|
52
|
-
/**
|
|
53
|
-
* **🥞 A layout component that arranges its children in rows using flexbox**
|
|
54
|
-
*
|
|
55
|
-
* @description
|
|
56
|
-
* VStack is a layout component that arranges its children in rows using [flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox)
|
|
57
|
-
* and can be used to compose larger layouts. VStack is similar to [Box](./box) but provides additional features like a `gap` property to
|
|
58
|
-
* add spacing between children.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```tsx
|
|
62
|
-
* import { VStack, Text } from '@yahoo/uds';
|
|
63
|
-
*
|
|
64
|
-
* <VStack gap="6">
|
|
65
|
-
* <Text variant="body1" color="primary">First</Text>
|
|
66
|
-
* <Text variant="body1" color="primary">Second</Text>
|
|
67
|
-
* <Text variant="body1" color="primary">Third</Text>
|
|
68
|
-
* </VStack>
|
|
69
|
-
* ```
|
|
70
|
-
*
|
|
71
|
-
* @usage
|
|
72
|
-
* - Create a column of items, optionally with gaps between.
|
|
73
|
-
* - Create rows that are sized to their content (height only). By default each child will fill the width of the VStack.
|
|
74
|
-
* - Create rows that fill the available space within the parent container.
|
|
75
|
-
* - Create rows of proportionate size to each other (also known as a ratio-based layout).
|
|
76
|
-
*
|
|
77
|
-
* @see The {@link https://uds.build/docs/components/v-stack VStack Docs} for more info
|
|
78
|
-
*
|
|
79
|
-
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack)
|
|
80
|
-
**/
|
|
81
|
-
declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps & react.RefAttributes<HTMLDivElement>>;
|
|
82
|
-
|
|
83
|
-
export { type DividerProps as D, type VStackProps as V, Divider as a, VStack as b };
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { o as UniversalStackProps, p as UniversalDividerProps } from './universalTokensConfigAuto-BHqbAL0M.js';
|
|
3
|
-
import { B as BoxProps, D as DivProps } from './Box-BkZ2BCj8.js';
|
|
4
|
-
|
|
5
|
-
interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
|
|
6
|
-
layerClassNames?: {
|
|
7
|
-
root?: string;
|
|
8
|
-
text?: string;
|
|
9
|
-
line?: string;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
|
|
14
|
-
interface DividerInternalProps extends DividerCoreProps {
|
|
15
|
-
variant?: VariantWithInherit;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
type DividerProps = Omit<DividerInternalProps, 'layerClassNames'>;
|
|
19
|
-
/**
|
|
20
|
-
* **📦 A divider component that can be used to visually separate components**
|
|
21
|
-
*
|
|
22
|
-
* @description
|
|
23
|
-
* The Divider component is a visual element used to separate content and create clear groupings within a layout. It helps establish hierarchy, improve readability, and guide users through sections of an interface. Dividers can appear as horizontal or vertical lines and are commonly used between related content blocks, within menus, or in dense UI areas to reduce visual clutter.
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* ```tsx
|
|
27
|
-
* import { Divider } from '@yahoo/uds';
|
|
28
|
-
*
|
|
29
|
-
* // Default primary horizontal divider. Similar to <hr />
|
|
30
|
-
* <Divider />
|
|
31
|
-
*
|
|
32
|
-
* // A vertical divider.
|
|
33
|
-
* <Divider vertical />
|
|
34
|
-
*
|
|
35
|
-
* // A horizontal divider with the secondary styling.
|
|
36
|
-
* <Divider variant="secondary" />
|
|
37
|
-
*
|
|
38
|
-
* // A vertical divider with the tertiary styling.
|
|
39
|
-
* <Divider vertical variant="tertiary" />
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @usage
|
|
43
|
-
* - Visually separating parts of a page. Usually used in conjuction with [HStack](./h-stack) or [VStack](./v-stack).
|
|
44
|
-
*
|
|
45
|
-
* @see The {@link https://uds.build/docs/components/divider Divider Docs} for more info
|
|
46
|
-
*
|
|
47
|
-
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
|
48
|
-
*/
|
|
49
|
-
declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
|
|
50
|
-
|
|
51
|
-
type VStackProps = UniversalStackProps & DivProps;
|
|
52
|
-
/**
|
|
53
|
-
* **🥞 A layout component that arranges its children in rows using flexbox**
|
|
54
|
-
*
|
|
55
|
-
* @description
|
|
56
|
-
* VStack is a layout component that arranges its children in rows using [flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox)
|
|
57
|
-
* and can be used to compose larger layouts. VStack is similar to [Box](./box) but provides additional features like a `gap` property to
|
|
58
|
-
* add spacing between children.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```tsx
|
|
62
|
-
* import { VStack, Text } from '@yahoo/uds';
|
|
63
|
-
*
|
|
64
|
-
* <VStack gap="6">
|
|
65
|
-
* <Text variant="body1" color="primary">First</Text>
|
|
66
|
-
* <Text variant="body1" color="primary">Second</Text>
|
|
67
|
-
* <Text variant="body1" color="primary">Third</Text>
|
|
68
|
-
* </VStack>
|
|
69
|
-
* ```
|
|
70
|
-
*
|
|
71
|
-
* @usage
|
|
72
|
-
* - Create a column of items, optionally with gaps between.
|
|
73
|
-
* - Create rows that are sized to their content (height only). By default each child will fill the width of the VStack.
|
|
74
|
-
* - Create rows that fill the available space within the parent container.
|
|
75
|
-
* - Create rows of proportionate size to each other (also known as a ratio-based layout).
|
|
76
|
-
*
|
|
77
|
-
* @see The {@link https://uds.build/docs/components/v-stack VStack Docs} for more info
|
|
78
|
-
*
|
|
79
|
-
* @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack)
|
|
80
|
-
**/
|
|
81
|
-
declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps & react.RefAttributes<HTMLDivElement>>;
|
|
82
|
-
|
|
83
|
-
export { type DividerProps as D, type VStackProps as V, Divider as a, VStack as b };
|
package/dist/chunk-27DQUYOD.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var o=require("./chunk-IPJKEKXB.cjs"),r=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function t({width:t,height:e,src:i,alt:d,contentFit:a,backgroundColor:n,borderRadius:s,borderTopStartRadius:l,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:b,borderStartColor:g,borderEndColor:h,borderTopColor:u,borderBottomColor:m,borderWidth:S,borderVerticalWidth:C,borderHorizontalWidth:W,borderStartWidth:x,borderEndWidth:B,borderTopWidth:E,borderBottomWidth:w,alignContent:T,alignItems:R,alignSelf:v,flex:y,flexDirection:z,flexGrow:G,flexShrink:H,flexWrap:V,justifyContent:j,flexBasis:k,display:I,overflow:X,overflowX:q,overflowY:D,position:F,spacing:K,spacingHorizontal:N,spacingVertical:Y,spacingBottom:J,spacingEnd:P,spacingStart:A,spacingTop:L,offset:M,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=o.getStyles({contentFit:a,backgroundColor:n,borderRadius:s,borderTopStartRadius:l,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:b,borderStartColor:g,borderEndColor:h,borderTopColor:u,borderBottomColor:m,borderWidth:S,borderVerticalWidth:C,borderHorizontalWidth:W,borderStartWidth:x,borderEndWidth:B,borderTopWidth:E,borderBottomWidth:w,alignContent:T,alignItems:R,alignSelf:v,flex:y,flexDirection:z,flexGrow:G,flexShrink:H,flexWrap:V,justifyContent:j,flexBasis:k,display:I,overflow:X,overflowX:q,overflowY:D,position:F,spacing:K,spacingHorizontal:N,spacingVertical:Y,spacingBottom:J,spacingEnd:P,spacingStart:A,spacingTop:L,offset:M,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return r.jsx("img",{src:i,alt:d,className:eo,style:{width:t,height:e},...to})}t.displayName="Image",exports.Image=t;
|
package/dist/chunk-3KGHFL34.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var r=require("./chunk-IPJKEKXB.cjs"),e=require("./chunk-XN3JP4KW.cjs"),a=require("./chunk-QLXJH36U.cjs"),i=require("react/jsx-runtime"),s=a.__toESM(e.require_isFunction(),1),t=({htmlFor:e,required:a,label:t,children:l,color:c="muted",variant:n="label3",hasError:u=!1,showRequiredAsterisk:o=!1,as:h="label",className:d,...m})=>{const q=t?(0,s.default)(t)?t():t:l;return q?i.jsxs(r.Text,{variant:n,color:c,as:h,htmlFor:e,className:r.cx("cursor-[inherit]",d),...m,children:[q,a&&o&&i.jsx(r.Text,{as:"sup",color:u?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null};/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */t.displayName="FormLabel",exports.FormLabel=t;
|
package/dist/chunk-4DI4U2ZJ.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{getMotionVar as a}from"./chunk-IOYNZUNZ.js";import{FONT_DECLARATIONS_MAP as o,fromEntries as r}from"./chunk-YZE72XPR.js";import{entries as n}from"./chunk-6V7QEDMR.js";import{DROP_SHADOW_PREFIX as t,UDS_PREFIX as e,FONT_FAMILY_PREFIX as s}from"./chunk-WR3CRR6L.js";import i from"tailwindcss/plugin.js";import{motionSpringConfigOptions as d}from"@yahoo/uds/fixtures";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
function c(a,{addBase:o}){const r=h(a);for(const a of r)o({"@font-face":a})}var l=i.withOptions(function({fontIds:a}){return function({addBase:o}){c(a,{addBase:o})}});function u(a){return{light:{colorScheme:"light","--uds-light-mode-icon":"inline","--uds-dark-mode-icon":"none",...a.colorMode.light._vars},dark:{colorScheme:"dark","--uds-light-mode-icon":"none","--uds-dark-mode-icon":"inline",...a.colorMode.dark._vars}}}var f=(a,o)=>[`.uds-${a}-shadow-${o}`,{[`--${e}-${a}-shadow`]:`var(--${e}-${a}-shadow-${o})`,boxShadow:`var(--${t}, 0 0 transparent), var(--${e}-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)`}];function m({config:a,shadowType:o}){const t=a.shadow[o],e=n(t).map(([a])=>f(o,a));return r(e)}function p({config:a}){return r(n(a.elevation).map(([a])=>f("drop",`elevation-${a}`)))}function h(a){return a.flatMap(a=>{const{declarations:r,fontFamily:n}=o[a];return r.map(a=>({fontFamily:n,fontDisplay:"swap",...a}))})}function g(a){return`"${a}"`}function v(a){return r(n(a).map(([a,r])=>{const n=`--${s}-${a}`,t=o[r];return[n,[t.fontFamily,...t.fallback].map(g).join(", ")]}))}function x(o){const t=n(o).flatMap(([o,r])=>n(r).flatMap(([r,n])=>d.map(t=>[a({variant:o,speed:r,control:t}),`${n[t]}`])));return r(t)}function w(a){return{...a.borderRadius._vars,...a.borderWidth._vars,...a.avatarSizes._vars,...a.iconSizes._vars}}function $(a){return{xSmall:w(a.scaleMode.xSmall),small:w(a.scaleMode.small),medium:w(a.scaleMode.medium),large:w(a.scaleMode.large),xLarge:w(a.scaleMode.xLarge),xxLarge:w(a.scaleMode.xxLarge),xxxLarge:w(a.scaleMode.xxxLarge)}}export{c as addFontFaceDeclarations,l as addFontsPlugin,u as getColorModeStyles,p as getElevationStyles,h as getFontFaceDeclarations,v as getFontStyles,x as getMotionStyles,$ as getScaleModeStyles,m as getShadowStyles,f as shadowVariantToCSS};
|
package/dist/chunk-4NLPM4LX.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{getMotionVar as s}from"./chunk-IOYNZUNZ.js";import{createContext as n,useState as t,useEffect as e,useMemo as i,useContext as o}from"react";import{LazyMotion as r,MotionConfig as a}from"motion/react";import{jsx as f}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var m=n(!1),p=m.Provider,d={damped:{1:{damping:20.585796264350424,stiffness:62.37968115365702},2:{damping:29.312551281312288,stiffness:126.47801753759964},3:{damping:48.92799401356162,stiffness:352.3892336537332},4:{damping:123.42690994256348,stiffness:2242.474548821137}},smooth:{1:{damping:16.46863701148034,stiffness:67.80400125397502},2:{damping:23.45004102504983,stiffness:137.47610601913004},3:{damping:39.1423952108493,stiffness:383.03177571057955},4:{damping:98.7415279540508,stiffness:2437.4723356751488}},subtle:{1:{damping:13.04316051309243,stiffness:67.80400125397502},2:{damping:18.572432491839468,stiffness:137.47610601913004},3:{damping:31.000777006992646,stiffness:383.03177571057955},4:{damping:78.20329013960823,stiffness:2437.4723356751488}},bouncy:{1:{damping:9.229712940600143,stiffness:48.880672622541795},2:{damping:12.634144343496553,stiffness:91.59092691366399},3:{damping:19.40217701790486,stiffness:216.00395877230474},4:{damping:37.541723184430275,stiffness:808.7032559422912}},veryBouncy:{1:{damping:6.902290754946187,stiffness:38.92152745126911},2:{damping:9.155550514215523,stiffness:68.48134828711234},3:{damping:13.244464908166709,stiffness:143.30858570843873},4:{damping:22.17862652876726,stiffness:401.85804919502965}}},g=()=>import("./domAnimation-FQC75V5T.js").then(({domAnimation:s})=>s);function u({children:n,reducedMotion:p="user",loadFeatures:u=g,layoutVariant:c="subtle",layoutSpeed:l="3",colorVariant:y="smooth",colorSpeed:b="3"}){const h=d[c][l],N=d[y][b],[V,v]=t(h),[C,P]=t(N),S={variant:y,speed:b},j=s({...S,control:"stiffness"}),M=s({...S,control:"damping"}),k={variant:c,speed:l},x=s({...k,control:"stiffness"}),A=s({...k,control:"damping"});e(()=>{const s=getComputedStyle(document.documentElement),n={type:"spring",damping:Number(s.getPropertyValue(A)),stiffness:Number(s.getPropertyValue(x))},t={type:"spring",damping:Number(s.getPropertyValue(M)),stiffness:Number(s.getPropertyValue(j))};v(n),P(t)},[M,j,A,x]);const F=i(()=>({type:"spring",mass:1,...V,layout:V,opacity:C,color:C,borderColor:C,backgroundColor:C}),[C,V]);return o(m)?n:f(r,{features:u,strict:!0,children:f(a,{transition:F,reducedMotion:p,children:n})})}u.displayName="SpringMotionConfig";export{p as AvoidMotionLibraryProvider,u as SpringMotionConfig};
|
package/dist/chunk-566E2KOV.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./chunk-NJH5V24C.cjs"),r=require("./chunk-QLXJH36U.cjs"),t=r.__commonJS({"../../node_modules/lodash/_baseClamp.js"(e,r){r.exports=function(e,r,t){return e==e&&(void 0!==t&&(e=e<=t?e:t),void 0!==r&&(e=e>=r?e:r)),e}}}),o=r.__commonJS({"../../node_modules/lodash/_trimmedEndIndex.js"(e,r){var t=/\s/;r.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}}}),n=r.__commonJS({"../../node_modules/lodash/_baseTrim.js"(e,r){var t=o(),n=/^\s+/;r.exports=function(e){return e?e.slice(0,t(e)+1).replace(n,""):e}}}),s=r.__commonJS({"../../node_modules/lodash/toNumber.js"(r,t){var o=n(),s=e.require_isObject(),a=e.require_isSymbol(),i=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(s(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=s(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var t=u.test(e);return t||c.test(e)?l(e.slice(2),t?2:8):i.test(e)?NaN:+e}}}),a=r.__commonJS({"../../node_modules/lodash/clamp.js"(e,r){var o=t(),n=s();r.exports=function(e,r,t){return void 0===t&&(t=r,r=void 0),void 0!==t&&(t=(t=n(t))==t?t:0),void 0!==r&&(r=(r=n(r))==r?r:0),o(n(e),r,t)}}});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var i=r.__toESM(a(),1);exports.alwaysPalette={white:"#ffffff",black:"#000000",transparent:"transparent",current:"currentColor"},exports.entries=function(e){return Object.entries(e)},exports.mapValues=function(e,r){return Object.keys(e).reduce((t,o,n)=>(t[o]=r(e[o],o,n),t),{})},exports.parseOpacityStep=function(e){if(null==e)throw new Error(`Invalid opacity value: ${e}`);const r="number"==typeof e?e:parseInt(e,10);if(isNaN(r))throw new Error(`Invalid opacity value: cannot parse "${e}" as a number`);return(0,i.default)(r,0,100).toString()};
|
package/dist/chunk-5PTFNIFE.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Text as r,cx as a}from"./chunk-Q5LASIAY.js";import{require_isFunction as e}from"./chunk-QIGG4KRS.js";import{__toESM as i}from"./chunk-GF4A6TFM.js";import{jsxs as t,jsx as l}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
var o=i(e(),1),s=({htmlFor:e,required:i,label:s,children:n,color:m="muted",variant:c="label3",hasError:h=!1,showRequiredAsterisk:u=!1,as:d="label",className:p,...f})=>{const F=s?(0,o.default)(s)?s():s:n;return F?t(r,{variant:c,color:m,as:d,htmlFor:e,className:a("cursor-[inherit]",p),...f,children:[F,i&&u&&l(r,{as:"sup",color:h?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null};s.displayName="FormLabel";export{s as FormLabel};
|
package/dist/chunk-6PEIP4LR.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./chunk-B2TS37PH.cjs"),r=require("./chunk-IPJKEKXB.cjs"),t=require("react"),i=require("react/jsx-runtime"),a={horizontal:"w-full",vertical:""},o=t.forwardRef(function({vertical:o=!1,contentPosition:l="center",className:n,layerClassNames:s,children:c,...d},x){const h=o?"vertical":"horizontal",m=o?e.VStack:e.HStack,f=t.useMemo(()=>({root:r.cx(a[h],n,s?.root),label:r.cx(s?.text),line:s?.line}),[n,h,s?.root,s?.text,s?.line]),u=t.useMemo(()=>"vertical"===h?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0},[h]),v=()=>i.jsx(r.Box,{flex:"1",className:f.line,style:u});return c?i.jsxs(m,{flex:"1",alignItems:"center",className:f.root,ref:x,...d,children:["start"!==l&&i.jsx(v,{}),i.jsx(r.Box,{flex:"none",children:i.jsx(r.Text,{color:"inherit",variant:"inherit",className:f.label,children:c})}),"end"!==l&&i.jsx(v,{})]}):i.jsx(r.Box,{display:"flex",flex:"none",className:f.root,ref:x,...d,children:i.jsx(v,{})})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */o.displayName="DividerCore";var l=t.forwardRef(function({variant:e="primary",layerClassNames:a,...l},n){const s=t.useMemo(()=>({root:r.cx("inherit"!==e&&r.getStyles({dividerVariantRoot:e}),a?.root),text:r.cx("inherit"!==e?r.getStyles({dividerVariantLabel:e}):void 0,a?.text),line:r.cx("inherit"!==e&&r.getStyles({dividerVariantLine:e}),a?.line)}),[a?.line,a?.root,a?.text,e]);return i.jsx(o,{ref:n,layerClassNames:s,...l})});l.displayName="DividerInternal",exports.DividerInternal=l;
|
package/dist/chunk-6V7QEDMR.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{require_isObject as r,require_isSymbol as e}from"./chunk-WR3CRR6L.js";import{__commonJS as t,__toESM as n}from"./chunk-GF4A6TFM.js";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
var o=t({"../../node_modules/lodash/_baseClamp.js"(r,e){e.exports=function(r,e,t){return r==r&&(void 0!==t&&(r=r<=t?r:t),void 0!==e&&(r=r>=e?r:e)),r}}}),a=t({"../../node_modules/lodash/_trimmedEndIndex.js"(r,e){var t=/\s/;e.exports=function(r){for(var e=r.length;e--&&t.test(r.charAt(e)););return e}}}),s=t({"../../node_modules/lodash/_baseTrim.js"(r,e){var t=a(),n=/^\s+/;e.exports=function(r){return r?r.slice(0,t(r)+1).replace(n,""):r}}}),u=t({"../../node_modules/lodash/toNumber.js"(t,n){var o=s(),a=r(),u=e(),i=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,d=/^0o[0-7]+$/i,l=parseInt;n.exports=function(r){if("number"==typeof r)return r;if(u(r))return NaN;if(a(r)){var e="function"==typeof r.valueOf?r.valueOf():r;r=a(e)?e+"":e}if("string"!=typeof r)return 0===r?r:+r;r=o(r);var t=f.test(r);return t||d.test(r)?l(r.slice(2),t?2:8):i.test(r)?NaN:+r}}}),i={white:"#ffffff",black:"#000000",transparent:"transparent",current:"currentColor"};function f(r){return Object.entries(r)}function d(r,e){return Object.keys(r).reduce((t,n,o)=>(t[n]=e(r[n],n,o),t),{})}var l=n(t({"../../node_modules/lodash/clamp.js"(r,e){var t=o(),n=u();e.exports=function(r,e,o){return void 0===o&&(o=e,e=void 0),void 0!==o&&(o=(o=n(o))==o?o:0),void 0!==e&&(e=(e=n(e))==e?e:0),t(n(r),e,o)}}})(),1);function c(r){if(null==r)throw new Error(`Invalid opacity value: ${r}`);const e="number"==typeof r?r:parseInt(r,10);if(isNaN(e))throw new Error(`Invalid opacity value: cannot parse "${r}" as a number`);return(0,l.default)(e,0,100).toString()}export{i as alwaysPalette,f as entries,d as mapValues,c as parseOpacityStep};
|
package/dist/chunk-AJIPOPZP.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{getStyles as o}from"./chunk-Q5LASIAY.js";import{jsx as r}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function t({width:t,height:e,src:i,alt:d,contentFit:a,backgroundColor:n,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:b,borderColor:c,borderStartColor:g,borderEndColor:m,borderTopColor:h,borderBottomColor:u,borderWidth:S,borderVerticalWidth:C,borderHorizontalWidth:W,borderStartWidth:x,borderEndWidth:B,borderTopWidth:w,borderBottomWidth:E,alignContent:T,alignItems:R,alignSelf:v,flex:y,flexDirection:z,flexGrow:G,flexShrink:H,flexWrap:V,justifyContent:k,flexBasis:j,display:I,overflow:Y,overflowX:A,overflowY:D,position:F,spacing:N,spacingHorizontal:X,spacingVertical:L,spacingBottom:Q,spacingEnd:q,spacingStart:J,spacingTop:K,offset:M,offsetVertical:O,offsetHorizontal:P,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro,...to}){const eo=o({contentFit:a,backgroundColor:n,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:b,borderColor:c,borderStartColor:g,borderEndColor:m,borderTopColor:h,borderBottomColor:u,borderWidth:S,borderVerticalWidth:C,borderHorizontalWidth:W,borderStartWidth:x,borderEndWidth:B,borderTopWidth:w,borderBottomWidth:E,alignContent:T,alignItems:R,alignSelf:v,flex:y,flexDirection:z,flexGrow:G,flexShrink:H,flexWrap:V,justifyContent:k,flexBasis:j,display:I,overflow:Y,overflowX:A,overflowY:D,position:F,spacing:N,spacingHorizontal:X,spacingVertical:L,spacingBottom:Q,spacingEnd:q,spacingStart:J,spacingTop:K,offset:M,offsetVertical:O,offsetHorizontal:P,offsetBottom:U,offsetEnd:Z,offsetStart:$,offsetTop:_,columnGap:oo,rowGap:ro});return r("img",{src:i,alt:d,className:eo,style:{width:t,height:e},...to})}t.displayName="Image";export{t as Image};
|
package/dist/chunk-B2TS37PH.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var r=require("./chunk-IPJKEKXB.cjs"),e=require("./chunk-XN3JP4KW.cjs"),t=require("./chunk-QLXJH36U.cjs"),n=require("react"),a=require("react/jsx-runtime"),c=t.__toESM(e.require_isFunction(),1),i=(r,e)=>((r,e)=>{const t=(0,c.default)(e)?e:()=>e;return r.flatMap((r,e)=>0!==e?[t(e),r]:[r])})(n.Children.toArray(r),r=>{const t=(0,c.default)(e)?e(r):e;return n.isValidElement(t)?n.cloneElement(t,{...t.props,key:t.key??`interspersed-${r}`}):null}),o=n.forwardRef(function({gap:e,children:t,separator:n,...c},o){return a.jsx(r.Box,{ref:o,flexDirection:"row",rowGap:e,columnGap:e,...c,children:n?i(t,n):t})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */o.displayName="HStack";var u=n.forwardRef(function({gap:e,children:t,separator:n,...c},o){return a.jsx(r.Box,{ref:o,flexDirection:"column",columnGap:e,rowGap:e,...c,children:n?i(t,n):t})});u.displayName="VStack",exports.HStack=o,exports.VStack=u;
|
package/dist/chunk-BRD7KJ5B.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var r=require("./chunk-IMKUVCCQ.cjs"),e=require("react"),t=require("react/jsx-runtime"),l=r.createSlot(),a=e.forwardRef(function({className:e,asChild:a,onPress:n,onClick:s=n,backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:A,flexShrink:B,flexWrap:W,justifyContent:E,flexBasis:T,display:_,overflow:P,overflowX:R,overflowY:I,position:k,spacing:y,spacingHorizontal:G,spacingVertical:q,spacingBottom:N,spacingEnd:D,spacingStart:X,spacingTop:Y,offset:K,offsetVertical:Q,offsetHorizontal:U,offsetBottom:J,offsetEnd:O,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,...ar},nr){const sr=r.getStyles({backgroundColor:o,borderRadius:i,borderTopStartRadius:h,borderTopEndRadius:c,borderBottomStartRadius:d,borderBottomEndRadius:m,borderColor:u,borderStartColor:x,borderEndColor:f,borderTopColor:j,borderBottomColor:g,borderWidth:p,borderVerticalWidth:v,borderHorizontalWidth:z,borderStartWidth:C,borderEndWidth:M,borderTopWidth:F,borderBottomWidth:H,alignContent:b,alignItems:V,alignSelf:S,flex:w,flexDirection:L,flexGrow:A,flexShrink:B,flexWrap:W,justifyContent:E,flexBasis:T,display:_,overflow:P,overflowX:R,overflowY:I,position:k,spacing:y,spacingHorizontal:G,spacingVertical:q,spacingBottom:N,spacingEnd:D,spacingStart:X,spacingTop:Y,offset:K,offsetVertical:Q,offsetHorizontal:U,offsetBottom:J,offsetEnd:O,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:er,dropShadow:tr,insetShadow:lr,className:e}),or=a?l:"button";return t.jsx(or,{className:sr,ref:nr,onClick:s,tabIndex:0,...ar})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */a.displayName="Pressable";var n=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsxs("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[t.jsx("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),t.jsx("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:t.jsx("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return t.jsx(t.Fragment,{})};n.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var s=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return t.jsx(t.Fragment,{})};s.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var o=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return t.jsx(t.Fragment,{})};o.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var i=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return t.jsx(t.Fragment,{})};i.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var h=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return t.jsx(t.Fragment,{})};h.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var c=({size:r,variant:e})=>{if("outline"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===e)switch(r){case"xs":return t.jsx(t.Fragment,{children:t.jsx("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:t.jsx("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return t.jsx(t.Fragment,{children:t.jsx("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return t.jsx(t.Fragment,{})};c.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]},
|
|
2
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Pressable=a,exports.a=o,exports.e=s,exports.e2=h,exports.o=i,exports.o2=c,exports.t=n;
|
package/dist/chunk-C67TSNYO.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./chunk-HTZHSZZP.cjs"),r=require("./chunk-LBWNL2O7.cjs"),t=require("./chunk-566E2KOV.cjs"),o=require("./chunk-NJH5V24C.cjs"),n=require("tailwindcss/plugin.js"),a=require("@yahoo/uds/fixtures");function s(e){return e&&e.__esModule?e:{default:e}}/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
function i(e,{addBase:r}){const t=l(e);for(const e of t)r({"@font-face":e})}var d=s(n).default.withOptions(function({fontIds:e}){return function({addBase:r}){i(e,{addBase:r})}});var c=(e,r)=>[`.uds-${e}-shadow-${r}`,{[`--${o.UDS_PREFIX}-${e}-shadow`]:`var(--${o.UDS_PREFIX}-${e}-shadow-${r})`,boxShadow:`var(--${o.DROP_SHADOW_PREFIX}, 0 0 transparent), var(--${o.UDS_PREFIX}-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)`}];function l(e){return e.flatMap(e=>{const{declarations:t,fontFamily:o}=r.FONT_DECLARATIONS_MAP[e];return t.map(e=>({fontFamily:o,fontDisplay:"swap",...e}))})}function u(e){return`"${e}"`}function f(e){return{...e.borderRadius._vars,...e.borderWidth._vars,...e.avatarSizes._vars,...e.iconSizes._vars}}exports.addFontFaceDeclarations=i,exports.addFontsPlugin=d,exports.getColorModeStyles=function(e){return{light:{colorScheme:"light","--uds-light-mode-icon":"inline","--uds-dark-mode-icon":"none",...e.colorMode.light._vars},dark:{colorScheme:"dark","--uds-light-mode-icon":"none","--uds-dark-mode-icon":"inline",...e.colorMode.dark._vars}}},exports.getElevationStyles=function({config:e}){return r.fromEntries(t.entries(e.elevation).map(([e])=>c("drop",`elevation-${e}`)))},exports.getFontFaceDeclarations=l,exports.getFontStyles=function(e){return r.fromEntries(t.entries(e).map(([e,t])=>{const n=`--${o.FONT_FAMILY_PREFIX}-${e}`,a=r.FONT_DECLARATIONS_MAP[t];return[n,[a.fontFamily,...a.fallback].map(u).join(", ")]}))},exports.getMotionStyles=function(o){const n=t.entries(o).flatMap(([r,o])=>t.entries(o).flatMap(([t,o])=>a.motionSpringConfigOptions.map(n=>[e.getMotionVar({variant:r,speed:t,control:n}),`${o[n]}`])));return r.fromEntries(n)},exports.getScaleModeStyles=function(e){return{xSmall:f(e.scaleMode.xSmall),small:f(e.scaleMode.small),medium:f(e.scaleMode.medium),large:f(e.scaleMode.large),xLarge:f(e.scaleMode.xLarge),xxLarge:f(e.scaleMode.xxLarge),xxxLarge:f(e.scaleMode.xxxLarge)}},exports.getShadowStyles=function({config:e,shadowType:o}){const n=e.shadow[o],a=t.entries(n).map(([e])=>c(o,e));return r.fromEntries(a)},exports.shadowVariantToCSS=c;
|
package/dist/chunk-DDL45GZJ.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{createSlot as r,getStyles as l}from"./chunk-EPEWMEHA.js";import{forwardRef as e}from"react";import{jsx as t,Fragment as a,jsxs as o}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var i=r(),n=e(function({className:r,asChild:e,onPress:a,onClick:o=a,backgroundColor:n,borderRadius:h,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:u,borderColor:f,borderStartColor:m,borderEndColor:v,borderTopColor:p,borderBottomColor:z,borderWidth:C,borderVerticalWidth:M,borderHorizontalWidth:g,borderStartWidth:H,borderEndWidth:b,borderTopWidth:V,borderBottomWidth:S,alignContent:x,alignItems:w,alignSelf:L,flex:A,flexDirection:B,flexGrow:W,flexShrink:E,flexWrap:T,justifyContent:_,flexBasis:P,display:R,overflow:I,overflowX:k,overflowY:G,position:y,spacing:j,spacingHorizontal:N,spacingVertical:D,spacingBottom:X,spacingEnd:Y,spacingStart:q,spacingTop:F,offset:J,offsetVertical:K,offsetHorizontal:O,offsetBottom:Q,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:lr,dropShadow:er,insetShadow:tr,...ar},or){const ir=l({backgroundColor:n,borderRadius:h,borderTopStartRadius:c,borderTopEndRadius:d,borderBottomStartRadius:s,borderBottomEndRadius:u,borderColor:f,borderStartColor:m,borderEndColor:v,borderTopColor:p,borderBottomColor:z,borderWidth:C,borderVerticalWidth:M,borderHorizontalWidth:g,borderStartWidth:H,borderEndWidth:b,borderTopWidth:V,borderBottomWidth:S,alignContent:x,alignItems:w,alignSelf:L,flex:A,flexDirection:B,flexGrow:W,flexShrink:E,flexWrap:T,justifyContent:_,flexBasis:P,display:R,overflow:I,overflowX:k,overflowY:G,position:y,spacing:j,spacingHorizontal:N,spacingVertical:D,spacingBottom:X,spacingEnd:Y,spacingStart:q,spacingTop:F,offset:J,offsetVertical:K,offsetHorizontal:O,offsetBottom:Q,offsetEnd:U,offsetStart:Z,offsetTop:$,columnGap:rr,rowGap:lr,dropShadow:er,insetShadow:tr,className:r});return t(e?i:"button",{className:ir,ref:or,onClick:o,tabIndex:0,...ar})});n.displayName="Pressable";var h=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(a,{children:o("g",{fill:"currentColor",clipPath:"url(#Building-outline-12_svg__a)",children:[t("path",{d:"M4.875 8.125h-1.5v-1.5h1.5zm0-2.625h-1.5V4h1.5z"}),t("path",{d:"m7.5 2.643 3.75 1.31v7.297H.75V.75H7.5zM1.95 10.05H6.3v-8.1H1.95zm5.625 0h2.475V4.805l-2.475-.866z"})]})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M8.4 2.6H2.6v10.8H4V11h3v2.4h1.4zM1 15V1h9v2.524l5 1.746V15zm9.1-9.746V13.4h3.3V6.406zM4.5 4h2v2h-2zm2 3.5h-2v2h2z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M13.367 4.752H4.3v14.495h2.724v-4.533h3.619v4.533h2.714V4.762l.01.003zM21.5 21.047h-19V2.952h12.667v2.494L21.5 7.843zm-1.8-1.8V9.087L15.167 7.37v11.876zM7.929 11.095h-1.81v1.81h1.81zm-1.81-3.619h1.81v1.81h-1.81zm5.429 0h-1.81v1.81h1.81zm-1.81 3.619h1.81v1.81h-1.81z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M17.8 4.2H4.2v23.6H8V21h6v6.8h3.8zM2 30V2h18v5.725l10 3.626V30zm18.2-19.862V27.8h7.6V12.894zM10 8H7v3h3zm-3 6h3v3H7zm5-6h3v3h-3zm3 6h-3v3h3zm7.5 1h3v3h-3zm3 6h-3v3h3z"})})}if("fill"===l)switch(r){case"xs":return t(a,{children:t("g",{fill:"currentColor",clipPath:"url(#Building-fill-12_svg__a)",children:t("path",{d:"M7.5 11.25H.75V.75H7.5zM3.375 8.125h1.5v-1.5h-1.5zm0-2.625h1.5V4h-1.5zm7.875-1.547v7.297H9V3z"})})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M4.5 4v2h2V4zm2 3.5h-2v2h2zM12 4l3 1.27V15h-3zM1 1h9v14H1z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M2.5 2.952h10.857v18.095H2.5zm2.714 7.238V12h1.81v-1.81zm1.81-3.619h-1.81v1.81h1.81zm1.81 0v1.81h1.809V6.57zm1.809 3.62h-1.81V12h1.81zm-4.524 4.523v4.524h3.62v-4.524zM21.5 7.843l-6.333-3.081v16.285H21.5z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M2 2h16v28H2zm5 19v7h6v-7zM8.5 7h-3v3h3zm-3 6v3h3v-3zm9-6h-3v3h3zm-3 6v3h3v-3zM20 7l10 4.351V30H20zm3.5 8v3h3v-3z"})})}return t(a,{})};h.metadata={name:"Building",isSvgIcon:!0,variants:["outline","fill"]};var c=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"m10.843 2.896-5.77 6.966L1.15 5.98l.845-.853 2.99 2.96L9.919 2.13z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M13.5 3.89 6.951 12 2.5 7.48l.958-.993 3.394 3.447L12.452 3z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M20.264 5.852 10.37 18.366l-6.642-6.89 1.295-1.249 5.213 5.407 8.616-10.898z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M30.19 6.341 13.677 26.276 2.803 15.509l1.688-1.706 9.012 8.922L28.341 4.81z"})})}if("fill"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"M10.985 2.883 5.081 10.01 1.01 5.98l.985-.996L4.98 7.94l4.928-5.95z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M13.593 4.502 6.968 12.5 2.4 7.978 3.505 6.86l3.348 3.315 5.53-6.676z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"m20.545 5.82-10.16 12.85-6.94-7.198 1.584-1.527 5.192 5.385L18.82 4.455z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M30.33 6.328 13.687 26.423 2.662 15.51l1.829-1.848 9.005 8.916 14.832-17.91z"})})}return t(a,{})};c.metadata={name:"Check",isSvgIcon:!0,variants:["outline","fill"]};var d=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"m9.745 3.099-2.9 2.898 2.901 2.9-.849.85-2.899-2.901-2.9 2.9-.848-.849 2.9-2.9L2.25 3.1l.848-.848L5.997 5.15l2.9-2.898z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"m12.526 4.465-.99-.99L8 7.01 4.465 3.475l-.99.99L7.01 8l-3.535 3.536.99.99L8 8.99l3.536 3.536.99-.99L8.99 8z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"m13.44 11.956 6.572-6.571L18.527 3.9l-6.571 6.57L5.385 3.9 3.9 5.385l6.57 6.57-6.57 6.572 1.485 1.485 6.57-6.571 6.572 6.57 1.485-1.484z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M17.702 15.934 28.818 4.818 27.05 3.05 15.934 14.166 4.818 3.05 3.05 4.818l11.116 11.116L3.05 27.05l1.768 1.768 11.116-11.116L27.05 28.818l1.768-1.768z"})})}if("fill"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"m9.888 3.099-2.9 2.898 2.899 2.9-.99.99-2.9-2.9-2.898 2.9-.99-.99 2.898-2.9L2.108 3.1l.99-.99 2.9 2.898 2.9-2.898z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"m9.131 8 3.536-3.536-1.131-1.131L8 6.869 4.464 3.333 3.333 4.464 6.869 8l-3.536 3.535 1.131 1.132L8 9.13l3.535 3.536 1.132-1.131z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"m12 13.768 6.337 6.337 1.768-1.768L13.768 12l6.337-6.337-1.768-1.768L12 10.232 5.663 3.895 3.895 5.663 10.232 12l-6.337 6.337 1.768 1.768z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M17.91 16 28.954 4.955l-1.91-1.91L16 14.091 4.955 3.045l-1.91 1.91L14.091 16 3.045 27.045l1.91 1.91L16 17.909l11.045 11.046 1.91-1.91z"})})}return t(a,{})};d.metadata={name:"Cross",isSvgIcon:!0,variants:["outline","fill"]};var s=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"m10.698 6.597-9.4.001v-1.2h9.4z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M12.7 8.7H3.3V7.3h9.4z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M2.97 10.75h17.838v2.1H2.97z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M27 17H4.7v-2.3H27z"})})}if("fill"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"M10.799 6.698h-9.6v-1.4h9.6z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M12.8 8.8H3.2V7.2h9.6z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M2.966 10.75h18.068v2.5H2.966z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M27.3 17.3H4.7v-2.6h22.6z"})})}return t(a,{})};s.metadata={name:"Minus",isSvgIcon:!0,variants:["outline","fill"]};var u=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"M6.9 3.375a.9.9 0 1 0-1.8 0 .9.9 0 0 0 1.8 0m1.35 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0m.53 4.643a2.2 2.2 0 0 0-1.104-.293H4.324a2.224 2.224 0 0 0-2.183 1.8h7.718a2.22 2.22 0 0 0-1.08-1.507M.75 9.95a3.574 3.574 0 0 1 3.574-3.574h3.352A3.574 3.574 0 0 1 11.25 9.95v.875a.05.05 0 0 1-.05.051H.8a.05.05 0 0 1-.05-.05z"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M9.2 4.5a1.2 1.2 0 1 0-2.4 0 1.2 1.2 0 0 0 2.4 0m1.8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0m.706 6.19a2.97 2.97 0 0 0-1.472-.39H5.766a2.966 2.966 0 0 0-2.912 2.4h10.292a2.97 2.97 0 0 0-1.44-2.01M1 13.267A4.766 4.766 0 0 1 5.766 8.5h4.468A4.765 4.765 0 0 1 15 13.266v1.166c0 .038-.03.068-.068.068H1.068A.07.07 0 0 1 1 14.432z"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M14.25 7.95a2.25 2.25 0 1 0-4.5 0 2.25 2.25 0 0 0 4.5 0m1.8 0a4.05 4.05 0 1 1-8.1 0 4.05 4.05 0 0 1 8.1 0m.927 7.244A4.2 4.2 0 0 0 15 14.7H9a4.2 4.2 0 0 0-4.157 3.6h14.314a4.2 4.2 0 0 0-2.18-3.106M3 18.9a6 6 0 0 1 6-6h6a6 6 0 0 1 6 6v1.121a.08.08 0 0 1-.079.079H3.08a.08.08 0 0 1-.08-.08z"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M19.7 10a3.7 3.7 0 1 0-7.4 0 3.7 3.7 0 0 0 7.4 0m2.3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0m8 17.043q0-.681-.1-1.343a9.044 9.044 0 0 0-8.943-7.7h-9.914A9.04 9.04 0 0 0 2 27.043V28h28zM8.144 20.955a6.74 6.74 0 0 1 2.9-.655h9.913a6.744 6.744 0 0 1 6.608 5.4H4.435a6.74 6.74 0 0 1 3.71-4.745"})})}if("fill"===l)switch(r){case"xs":return t(a,{children:t("path",{fill:"currentColor",d:"M6 5.625a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5m-3.45 1.22A3.57 3.57 0 0 0 .75 9.95v.875c0 .028.023.051.05.051h10.4a.05.05 0 0 0 .05-.05V9.95a3.574 3.574 0 0 0-3.574-3.574H4.324c-.622 0-1.233.162-1.773.47"})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M8 7.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6M3.401 9.128A4.77 4.77 0 0 0 1 13.266v1.166c0 .038.03.068.068.068h13.864c.038 0 .068-.03.068-.068v-1.166A4.766 4.766 0 0 0 10.234 8.5H5.766a4.76 4.76 0 0 0-2.365.628"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M12 12a4.05 4.05 0 1 0 0-8.1 4.05 4.05 0 0 0 0 8.1m-5.824 1.606A6 6 0 0 0 3 18.9v1.121c0 .044.035.079.079.079H20.92a.08.08 0 0 0 .08-.08V18.9a6 6 0 0 0-6-6H9a6 6 0 0 0-2.824.706"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M16 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12m-8.845 2.878A9.04 9.04 0 0 0 2 27.043V28h28v-.957A9.043 9.043 0 0 0 20.957 18h-9.914a9.05 9.05 0 0 0-3.888.878"})})}return t(a,{})};u.metadata={name:"Person",isSvgIcon:!0,variants:["outline","fill"]};var f=({size:r,variant:l})=>{if("outline"===l)switch(r){case"xs":return t(a,{children:t("g",{clipPath:"url(#Progress-outline-12_svg__a)",children:t("path",{fill:"currentColor",d:"M5.924 2.025a3.9 3.9 0 1 0 3.9 3.9h1.2a5.1 5.1 0 1 1-5.1-5.1.6.6 0 1 1 0 1.2"})})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M7.9 2.7a5.2 5.2 0 1 0 5.2 5.2h1.6a6.8 6.8 0 1 1-6.8-6.8.8.8 0 1 1 0 1.6"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M12 4a8 8 0 1 0 8 8h2c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2a1 1 0 1 1 0 2"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M16.15 4.3C9.605 4.3 4.3 9.605 4.3 16.15S9.605 28 16.15 28 28 22.695 28 16.15h2.3c0 7.815-6.335 14.15-14.15 14.15S2 23.965 2 16.15 8.335 2 16.15 2a1.15 1.15 0 0 1 0 2.3"})})}if("fill"===l)switch(r){case"xs":return t(a,{children:t("g",{clipPath:"url(#Progress-fill-12_svg__a)",children:t("path",{fill:"currentColor",d:"M6 2.175A3.825 3.825 0 1 0 9.823 6h1.35A5.175 5.175 0 1 1 6 .825a.675.675 0 0 1 0 1.35"})})});case"sm":return t(a,{children:t("path",{fill:"currentColor",d:"M8 2.9A5.1 5.1 0 1 0 13.1 8h1.8A6.9 6.9 0 1 1 8 1.1a.9.9 0 1 1 0 1.8"})});case"md":return t(a,{children:t("path",{fill:"currentColor",d:"M12.15 4.3A7.85 7.85 0 1 0 20 12.15h2.3c0 5.606-4.544 10.15-10.15 10.15S2 17.756 2 12.15 6.544 2 12.15 2a1.15 1.15 0 0 1 0 2.3"})});case"lg":return t(a,{children:t("path",{fill:"currentColor",d:"M16.35 4.7C9.916 4.7 4.7 9.916 4.7 16.35S9.916 28 16.35 28 28 22.784 28 16.35h2.7c0 7.925-6.425 14.35-14.35 14.35S2 24.275 2 16.35 8.425 2 16.35 2a1.35 1.35 0 1 1 0 2.7"})})}return t(a,{})};f.metadata={name:"Progress",isSvgIcon:!0,variants:["outline","fill"]};
|
|
2
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{n as Pressable,d as a,c as e,u as e2,s as o,f as o2,h as t};
|
package/dist/chunk-EPEWMEHA.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{require_isFunction as o,variants as r}from"./chunk-LYHJT3E5.js";import{__toESM as e}from"./chunk-GF4A6TFM.js";import{textVariants as t,backgroundColors as i,foregroundColors as a,spectrumColors as n,borderRadii as s,borderWidthsWithElevation as d,lineColors as l}from"@yahoo/uds/fixtures";import{getFeatureFlags as p}from"@yahoo/uds/flags";import{clsx as f}from"clsx";import{extendTailwindMerge as c}from"tailwind-merge";import{forwardRef as u,memo as h,isValidElement as m,cloneElement as b,Children as g}from"react";import{jsx as S}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
function x(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}var{useGetStylesCache:y,skipTailwindMerge:z}=p();function v(o){const r=Object.create(null),e=Object.keys(o).sort();for(let t=0,i=e.length;t<i;t++){const i=e[t];void 0!==o[i]&&(r[i]=o[i])}return r}var C=c({extend:{theme:{borderColor:l,borderWidth:d,borderRadius:s}},override:{classGroups:{"text-color":[{text:[...a,...n]}],"bg-color":[{bg:i}],"font-family":[{font:["icons",...t]}],leading:[{leading:t}]},conflictingClassGroups:{}}}),B=(...o)=>{const r=f(o);return z?r:C(r)},W=o=>{const{base:r,variants:e,defaultVariants:t,compoundVariants:i}=o;return o=>{if(!o)return B(r);const{className:a,...n}=o;if(!e)return B(r,a);const s=[];for(const o in t){if(void 0===o)continue;if(void 0!==n[o])continue;const r=x(t[o]);s.push(e[o][r])}for(const o in n){if(void 0===o)continue;const r=x(n[o]);s.push(e[o][r])}if(!i)return B(r,s,a);let d="";for(const o of i){const{className:r,...e}=o;let i=!0;for(const o in e){const r=e[o];if(!((n[o]??t?.[o])===r)){i=!1;break}}i&&(d=B(d,r))}return B(r,s,d,a)}},w=W({variants:r}),T=new Map,R=Symbol("getStylesCacheKey"),E=(o,r)=>{if(!y)return w(o);const e=(o=>{if(o[R])return o[R];const r=v(o);let e="";for(const o in r)e+=`${o}:${r[o]}|`;return o[R]=e,e})(o);if(T.has(e))return r?.(),T.get(e);const t=w(o);return T.set(e,t),t};function N(...o){return r=>o.forEach(o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r))}function G(){const o=u((o,e)=>{const{children:i,...a}=o,n=g.toArray(i),s=n.find(t);if(s){const o=s.props.children,t=n.map(r=>r===s?g.count(o)>1?g.only(null):m(o)?o.props.children:null:r);return S(r,{...a,ref:e,children:m(o)?b(o,void 0,t):null})}return S(r,{...a,ref:e,children:i})});o.displayName="Slot";const r=u((o,r)=>{const{children:e,...t}=o;return m(e)?b(e,{...i(t,e.props),ref:r?N(r,e.ref):e.ref}):g.count(e)>1?g.only(null):null});r.displayName="SlotClone";const e=({children:o})=>o;function t(o){return m(o)&&o.type===e}function i(o,r){const e={...r};for(const t in r){const i=o[t],a=r[t];/^on[A-Z]/.test(t)?i&&a?e[t]=(...o)=>{a(...o),i(...o)}:i&&(e[t]=i):"style"===t&&(e[t]={...i,...a})}return{...o,...e}}return o}var H=G(),V=u(function({asChild:o,as:r="div",className:e,backgroundColor:t,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:n,borderBottomStartRadius:s,borderBottomEndRadius:d,borderColor:l,borderStartColor:p,borderEndColor:f,borderTopColor:c,borderBottomColor:u,borderWidth:h,borderVerticalWidth:m,borderHorizontalWidth:b,borderStartWidth:g,borderEndWidth:x,borderTopWidth:y,borderBottomWidth:z,alignContent:v,alignItems:C,alignSelf:B,flex:W,flexDirection:w,flexGrow:T,flexShrink:R,flexWrap:N,justifyContent:G,flexBasis:V,display:k="flex",overflow:j,overflowX:I,overflowY:A,position:Y,spacing:$,spacingHorizontal:D,spacingVertical:F,spacingBottom:X,spacingEnd:M,spacingStart:O,spacingTop:J,offset:K,offsetVertical:L,offsetHorizontal:P,offsetBottom:Z,offsetEnd:_,offsetStart:q,offsetTop:Q,columnGap:U,rowGap:oo,width:ro,height:eo,dropShadow:to,insetShadow:io,nestedBorderRadius:ao,nestedBorderRadiusSize:no=(ao?i:void 0),nestedBorderRadiusSpacing:so=(ao?$:void 0),nestedBorderRadiusWidth:lo=(ao?h:void 0),...po},fo){const co=E({backgroundColor:t,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:n,borderBottomStartRadius:s,borderBottomEndRadius:d,nestedBorderRadius:ao,nestedBorderRadiusSize:no,nestedBorderRadiusSpacing:so,nestedBorderRadiusWidth:lo,borderColor:l,borderStartColor:p,borderEndColor:f,borderTopColor:c,borderBottomColor:u,borderWidth:h,borderVerticalWidth:m,borderHorizontalWidth:b,borderStartWidth:g,borderEndWidth:x,borderTopWidth:y,borderBottomWidth:z,alignContent:v,alignItems:C,alignSelf:B,flex:W,flexDirection:w,flexGrow:T,flexShrink:R,flexWrap:N,justifyContent:G,flexBasis:V,display:k,overflow:j,overflowX:I,overflowY:A,position:Y,spacing:$,spacingHorizontal:D,spacingVertical:F,spacingBottom:X,spacingEnd:M,spacingStart:O,spacingTop:J,offset:K,offsetVertical:L,offsetHorizontal:P,offsetBottom:Z,offsetEnd:_,offsetStart:q,offsetTop:Q,columnGap:U,rowGap:oo,width:ro,height:eo,dropShadow:to,insetShadow:io,className:e});return S(o?H:r,{className:co,ref:fo,...po})});V.displayName="Box";var k=G(),j={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",label3:"p",label4:"p",caption1:"p",caption2:"p",legal1:"p","display1/emphasized":"h1","display2/emphasized":"h1","display3/emphasized":"h1","title1/emphasized":"h1","title2/emphasized":"h2","title3/emphasized":"h3","title4/emphasized":"h4","headline1/emphasized":"h5","body1/emphasized":"p","label1/emphasized":"p","label2/emphasized":"p","label3/emphasized":"p","label4/emphasized":"p","caption1/emphasized":"p","caption2/emphasized":"p","legal1/emphasized":"p",ui1:"span",ui2:"span",ui3:"span",ui4:"span",ui5:"span",ui6:"span","ui1/emphasized":"span","ui2/emphasized":"span","ui3/emphasized":"span","ui4/emphasized":"span","ui5/emphasized":"span","ui6/emphasized":"span",inherit:"p"},I=u(function({className:o,asChild:r,color:e="primary",variant:t="body1",as:i=j[t],fontFamily:a,fontSize:n,fontWeight:s,lineHeight:d,textTransform:l,textAlign:p,letterSpacing:f,backgroundColor:c,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:g,borderColor:x,borderStartColor:y,borderEndColor:z,borderTopColor:v,borderBottomColor:C,borderWidth:B,borderVerticalWidth:W,borderHorizontalWidth:w,borderStartWidth:T,borderEndWidth:R,borderTopWidth:N,borderBottomWidth:G,alignContent:H,alignItems:V,alignSelf:I,flex:A,flexDirection:Y,flexGrow:$,flexShrink:D,flexWrap:F,justifyContent:X,flexBasis:M,display:O,overflow:J,overflowX:K,overflowY:L,position:P,spacing:Z,spacingHorizontal:_,spacingVertical:q,spacingBottom:Q,spacingEnd:U,spacingStart:oo,spacingTop:ro,offset:eo,offsetVertical:to,offsetHorizontal:io,offsetBottom:ao,offsetEnd:no,offsetStart:so,offsetTop:lo,columnGap:po,rowGap:fo,...co},uo){const ho={...e&&"inherit"!==e?{color:e}:{},...t&&"inherit"!==t?{fontFamily:a??t,fontSize:n??t,fontWeight:s??t,lineHeight:d??t,textTransform:l??t,letterSpacing:f??t}:{},textAlign:p},mo=E({className:o,...ho,backgroundColor:c,borderRadius:u,borderTopStartRadius:h,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:g,borderColor:x,borderStartColor:y,borderEndColor:z,borderTopColor:v,borderBottomColor:C,borderWidth:B,borderVerticalWidth:W,borderHorizontalWidth:w,borderStartWidth:T,borderEndWidth:R,borderTopWidth:N,borderBottomWidth:G,alignContent:H,alignItems:V,alignSelf:I,flex:A,flexDirection:Y,flexGrow:$,flexShrink:D,flexWrap:F,justifyContent:X,flexBasis:M,display:O,overflow:J,overflowX:K,overflowY:L,position:P,spacing:Z,spacingHorizontal:_,spacingVertical:q,spacingBottom:Q,spacingEnd:U,spacingStart:oo,spacingTop:ro,offset:eo,offsetVertical:to,offsetHorizontal:io,offsetBottom:ao,offsetEnd:no,offsetStart:so,offsetTop:lo,columnGap:po,rowGap:fo});return S(r?k:i,{className:mo,ref:uo,...co})});I.displayName="Text";var A={xs:12,sm:16,md:24,lg:32},Y=u(function({name:o,size:r="md",variant:e="outline",color:t="primary",className:i,...a},n){const s=o.metadata?.variants??[],d=s.includes(e)?e:s[0]??"fill",l="multicolor"===d,p=E({flex:"none",color:l?void 0:t,className:B(i,!l&&"[&_path]:fill-current")}),f=A[r];return S("svg",{ref:n,xmlns:"http://www.w3.org/2000/svg",width:f,height:f,viewBox:`0 0 ${f} ${f}`,"aria-hidden":"true",focusable:"false",className:p,...a,children:S(o,{size:r,variant:d})})});Y.displayName="Icon";var $=e(o(),1),D=h(function({icon:o,iconProps:r,className:e,...t}){if(!o)return null;const{className:i,...a}=r||{},n=B(e,i),s=o;if(s.metadata?.isSvgIcon)return S(Y,{name:s,...a,...t,className:n});if((0,$.default)(o)){const e=o(r||{}),i=e?.props.className;return m(e)&&b(e,{...t,className:B(n,i)})}return m(o)&&b(o,{...a,...o.props,...t,className:B(n,o.props.className)})});D.displayName="IconSlot";
|
|
3
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{V as Box,Y as Icon,D as IconSlot,I as Text,G as createSlot,W as cva,B as cx,E as getStyles,R as getStylesCacheKeySymbol};
|
package/dist/chunk-FK3YMO3H.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./chunk-HTZHSZZP.cjs"),s=require("react"),t=require("motion/react"),n=require("react/jsx-runtime"),i=s.createContext(!1),o=i.Provider,r={damped:{1:{damping:20.585796264350424,stiffness:62.37968115365702},2:{damping:29.312551281312288,stiffness:126.47801753759964},3:{damping:48.92799401356162,stiffness:352.3892336537332},4:{damping:123.42690994256348,stiffness:2242.474548821137}},smooth:{1:{damping:16.46863701148034,stiffness:67.80400125397502},2:{damping:23.45004102504983,stiffness:137.47610601913004},3:{damping:39.1423952108493,stiffness:383.03177571057955},4:{damping:98.7415279540508,stiffness:2437.4723356751488}},subtle:{1:{damping:13.04316051309243,stiffness:67.80400125397502},2:{damping:18.572432491839468,stiffness:137.47610601913004},3:{damping:31.000777006992646,stiffness:383.03177571057955},4:{damping:78.20329013960823,stiffness:2437.4723356751488}},bouncy:{1:{damping:9.229712940600143,stiffness:48.880672622541795},2:{damping:12.634144343496553,stiffness:91.59092691366399},3:{damping:19.40217701790486,stiffness:216.00395877230474},4:{damping:37.541723184430275,stiffness:808.7032559422912}},veryBouncy:{1:{damping:6.902290754946187,stiffness:38.92152745126911},2:{damping:9.155550514215523,stiffness:68.48134828711234},3:{damping:13.244464908166709,stiffness:143.30858570843873},4:{damping:22.17862652876726,stiffness:401.85804919502965}}},a=()=>import("./domAnimation-26D6WPCP.cjs").then(({domAnimation:e})=>e);/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function f({children:o,reducedMotion:f="user",loadFeatures:d=a,layoutVariant:p="subtle",layoutSpeed:m="3",colorVariant:g="smooth",colorSpeed:u="3"}){const c=r[p][m],l=r[g][u],[y,M]=s.useState(c),[b,V]=s.useState(l),C={variant:g,speed:u},P=e.getMotionVar({...C,control:"stiffness"}),S=e.getMotionVar({...C,control:"damping"}),h={variant:p,speed:m},v=e.getMotionVar({...h,control:"stiffness"}),x=e.getMotionVar({...h,control:"damping"});s.useEffect(()=>{const e=getComputedStyle(document.documentElement),s={type:"spring",damping:Number(e.getPropertyValue(x)),stiffness:Number(e.getPropertyValue(v))},t={type:"spring",damping:Number(e.getPropertyValue(S)),stiffness:Number(e.getPropertyValue(P))};M(s),V(t)},[S,P,x,v]);const j=s.useMemo(()=>({type:"spring",mass:1,...y,layout:y,opacity:b,color:b,borderColor:b,backgroundColor:b}),[b,y]);return s.useContext(i)?o:n.jsx(t.LazyMotion,{features:d,strict:!0,children:n.jsx(t.MotionConfig,{transition:j,reducedMotion:f,children:o})})}f.displayName="SpringMotionConfig",exports.AvoidMotionLibraryProvider=o,exports.SpringMotionConfig=f;
|
package/dist/chunk-FKDU4FOZ.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{mapValues as r,entries as e,parseOpacityStep as t,alwaysPalette as o}from"./chunk-6V7QEDMR.js";import{SPECTRUM_COLOR_PREFIX as a,UDS_PREFIX as n,LINE_COLOR_PREFIX as i,BORDER_WIDTH_PREFIX as c,DROP_SHADOW_PREFIX as s,BACKGROUND_COLOR_PREFIX as $,ICON_SIZE_PREFIX as l,AVATAR_SIZE_PREFIX as u,BORDER_RADIUS_PREFIX as f}from"./chunk-WR3CRR6L.js";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
function d(r){if(!r)return!1;const e=parseInt(r,10);return!isNaN(e)&&100!==e}function v(r,l){const{palette:u,spectrum:f}=r,v={},p={spectrum:{},palette:{}};for(const[r,t]of e(f))for(const[o,n]of e(t)){const e=`--${a}-${`${r}-${o}`}`;p.spectrum[r]||(p.spectrum[r]={}),p.spectrum[r][o]=`rgb(var(${e}))`,v[e]=n}return e(u).forEach(([r,e])=>{for(const[o,{hue:i,step:c,opacity:s}]of Object.entries(e)){r in p.palette||(p.palette[r]={});const e=`--${n}-${r}-color-${o}`;v[e]=`var(--${a}-${i}-${c})`;const $=void 0!==s?t(s):void 0;p.palette[r][o]=d($)?`rgb(var(${e}) / ${$}%)`:`rgb(var(${e}))`}}),e(l).forEach(([r,t])=>{t&&e(t).forEach(([e])=>{if("finalBackgroundValue"===e){const{r:o,g:a,b:n,a:i}=t[e],c=parseInt(i)/100;v[`--${$}-elevation-${r}`]=`rgba(${o}, ${a}, ${n}, ${c})`}if("borderColor"===e){const n=`--${i}-elevation-${r}`;switch(t[e].type){case"always":v[n]=o[t[e].value];break;case"spectrum":v[n]=`rgb(var(--${a}-${t[e].value.hue}-${t[e].value.step}))`;break;case"line":v[n]=`rgb(var(--${i}-${t[e].value}))`}}if("borderWidth"===e){v[`--${c}-elevation-${r}`]=`var(--${c}-${t[e]})`}if("dropShadow"===e){v[`--${s}-elevation-${r}`]=`var(--${s}-${t[e]})`}})}),{_vars:v,_raw:r,tailwindConfig:p}}function p(r,t){if(!t)return{_vars:{},_raw:{},tailwindConfig:{}};const o={},a={};for(const[n,i]of e(t)){const e=`--${r}-${n}`,t=`${i}px`;o[e]=t,a[n]=`var(${e})`}return{_vars:o,_raw:t,tailwindConfig:a}}function b(r,t){if(!t.elevation)return{};const o={};return e(t.elevation).forEach(([e,t])=>{o[e]=t[r]}),o}function h(e){const{colorMode:t,scaleMode:o}=e;return{...e,colorMode:{light:v(t.light,b("light",e)),dark:v(t.dark,b("dark",e))},scaleMode:r(o,({borderRadius:r,borderWidth:e,avatarSizes:t,iconSizes:o})=>({borderRadius:p(f,r),borderWidth:p(c,e),avatarSizes:p(u,t),iconSizes:p(l,o)}))}}export{h as parseTokens};
|
package/dist/chunk-FP7OSHKI.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./chunk-566E2KOV.cjs"),r=require("./chunk-NJH5V24C.cjs");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function t(e){if(!e)return!1;const r=parseInt(e,10);return!isNaN(r)&&100!==r}function a(a,o){const{palette:n,spectrum:s}=a,i={},c={spectrum:{},palette:{}};for(const[t,a]of e.entries(s))for(const[o,n]of e.entries(a)){const e=`${t}-${o}`,a=`--${r.SPECTRUM_COLOR_PREFIX}-${e}`;c.spectrum[t]||(c.spectrum[t]={}),c.spectrum[t][o]=`rgb(var(${a}))`,i[a]=n}return e.entries(n).forEach(([a,o])=>{for(const[n,{hue:s,step:R,opacity:$}]of Object.entries(o)){a in c.palette||(c.palette[a]={});const o=`--${r.UDS_PREFIX}-${a}-color-${n}`;i[o]=`var(--${r.SPECTRUM_COLOR_PREFIX}-${s}-${R})`;const u=void 0!==$?e.parseOpacityStep($):void 0;c.palette[a][n]=t(u)?`rgb(var(${o}) / ${u}%)`:`rgb(var(${o}))`}}),e.entries(o).forEach(([t,a])=>{a&&e.entries(a).forEach(([o])=>{if("finalBackgroundValue"===o){const{r:e,g:n,b:s,a:c}=a[o],R=parseInt(c)/100,$=`--${r.BACKGROUND_COLOR_PREFIX}-elevation-${t}`;i[$]=`rgba(${e}, ${n}, ${s}, ${R})`}if("borderColor"===o){const n=`--${r.LINE_COLOR_PREFIX}-elevation-${t}`;switch(a[o].type){case"always":i[n]=e.alwaysPalette[a[o].value];break;case"spectrum":i[n]=`rgb(var(--${r.SPECTRUM_COLOR_PREFIX}-${a[o].value.hue}-${a[o].value.step}))`;break;case"line":i[n]=`rgb(var(--${r.LINE_COLOR_PREFIX}-${a[o].value}))`}}if("borderWidth"===o){const e=`--${r.BORDER_WIDTH_PREFIX}-elevation-${t}`;i[e]=`var(--${r.BORDER_WIDTH_PREFIX}-${a[o]})`}if("dropShadow"===o){const e=`--${r.DROP_SHADOW_PREFIX}-elevation-${t}`;i[e]=`var(--${r.DROP_SHADOW_PREFIX}-${a[o]})`}})}),{_vars:i,_raw:a,tailwindConfig:c}}function o(r,t){if(!t)return{_vars:{},_raw:{},tailwindConfig:{}};const a={},o={};for(const[n,s]of e.entries(t)){const e=`--${r}-${n}`,t=`${s}px`;a[e]=t,o[n]=`var(${e})`}return{_vars:a,_raw:t,tailwindConfig:o}}function n(r,t){if(!t.elevation)return{};const a={};return e.entries(t.elevation).forEach(([e,t])=>{a[e]=t[r]}),a}exports.parseTokens=function(t){const{colorMode:s,scaleMode:i}=t;return{...t,colorMode:{light:a(s.light,n("light",t)),dark:a(s.dark,n("dark",t))},scaleMode:e.mapValues(i,({borderRadius:e,borderWidth:t,avatarSizes:a,iconSizes:n})=>({borderRadius:o(r.BORDER_RADIUS_PREFIX,e),borderWidth:o(r.BORDER_WIDTH_PREFIX,t),avatarSizes:o(r.AVATAR_SIZE_PREFIX,a),iconSizes:o(r.ICON_SIZE_PREFIX,n)}))}};
|
package/dist/chunk-GF4A6TFM.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
var e=Object.create,r=Object.defineProperty,t=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,n=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,f=(e=>"undefined"!=typeof require?require:"undefined"!=typeof Proxy?new Proxy(e,{get:(e,r)=>("undefined"!=typeof require?require:e)[r]}):e)(function(e){if("undefined"!=typeof require)return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),i=(e,r)=>function(){return r||(0,e[o(e)[0]])((r={exports:{}}).exports,r),r.exports},p=(e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})},y=(f,i,p)=>(p=null!=f?e(n(f)):{},((e,n,f,i)=>{if(n&&"object"==typeof n||"function"==typeof n)for(let p of o(n))u.call(e,p)||p===f||r(e,p,{get:()=>n[p],enumerable:!(i=t(n,p))||i.enumerable});return e})(!i&&f&&f.__esModule?p:r(p,"default",{value:f,enumerable:!0}),f));export{i as __commonJS,p as __export,f as __require,y as __toESM};
|
package/dist/chunk-HKI5AZ7O.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{VStack as e,HStack as r}from"./chunk-VX5NJRUI.js";import{cx as t,Box as i,Text as o,getStyles as a}from"./chunk-EPEWMEHA.js";import{forwardRef as n,useMemo as l}from"react";import{jsxs as s,jsx as d}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var c={horizontal:"w-full",vertical:""},m=n(function({vertical:a=!1,contentPosition:n="center",className:m,layerClassNames:h,children:f,...v},x){const N=a?"vertical":"horizontal",p=a?e:r,b=l(()=>({root:t(c[N],m,h?.root),label:t(h?.text),line:h?.line}),[m,N,h?.root,h?.text,h?.line]),u=l(()=>"vertical"===N?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0},[N]),y=()=>d(i,{flex:"1",className:b.line,style:u});return f?s(p,{flex:"1",alignItems:"center",className:b.root,ref:x,...v,children:["start"!==n&&d(y,{}),d(i,{flex:"none",children:d(o,{color:"inherit",variant:"inherit",className:b.label,children:f})}),"end"!==n&&d(y,{})]}):d(i,{display:"flex",flex:"none",className:b.root,ref:x,...v,children:d(y,{})})});m.displayName="DividerCore";var h=n(function({variant:e="primary",layerClassNames:r,...i},o){const n=l(()=>({root:t("inherit"!==e&&a({dividerVariantRoot:e}),r?.root),text:t("inherit"!==e?a({dividerVariantLabel:e}):void 0,r?.text),line:t("inherit"!==e&&a({dividerVariantLine:e}),r?.line)}),[r?.line,r?.root,r?.text,e]);return d(m,{ref:o,layerClassNames:n,...i})});h.displayName="DividerInternal";export{h as DividerInternal};
|
package/dist/chunk-HTZHSZZP.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var r=require("./chunk-NJH5V24C.cjs");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.getMotionVar=function({variant:t,speed:e,control:n}){return`${[`--${r.MOTION_PREFIX}`,t,e,n].join("-")}`};
|
package/dist/chunk-IMKUVCCQ.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./chunk-QUNKTR5G.cjs"),o=require("./chunk-QLXJH36U.cjs"),r=require("@yahoo/uds/fixtures"),t=require("@yahoo/uds/flags"),i=require("clsx"),a=require("tailwind-merge"),n=require("react"),s=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function d(e){return"boolean"==typeof e?`${e}`:0===e?"0":e}var{useGetStylesCache:l,skipTailwindMerge:c}=t.getFeatureFlags();function p(e){const o=Object.create(null),r=Object.keys(e).sort();for(let t=0,i=r.length;t<i;t++){const i=r[t];void 0!==e[i]&&(o[i]=e[i])}return o}var f=a.extendTailwindMerge({extend:{theme:{borderColor:r.lineColors,borderWidth:r.borderWidthsWithElevation,borderRadius:r.borderRadii}},override:{classGroups:{"text-color":[{text:[...r.foregroundColors,...r.spectrumColors]}],"bg-color":[{bg:r.backgroundColors}],"font-family":[{font:["icons",...r.textVariants]}],leading:[{leading:r.textVariants}]},conflictingClassGroups:{}}}),u=(...e)=>{const o=i.clsx(e);return c?o:f(o)},h=e=>{const{base:o,variants:r,defaultVariants:t,compoundVariants:i}=e;return e=>{if(!e)return u(o);const{className:a,...n}=e;if(!r)return u(o,a);const s=[];for(const e in t){if(void 0===e)continue;if(void 0!==n[e])continue;const o=d(t[e]);s.push(r[e][o])}for(const e in n){if(void 0===e)continue;const o=d(n[e]);s.push(r[e][o])}if(!i)return u(o,s,a);let l="";for(const e of i){const{className:o,...r}=e;let i=!0;for(const e in r){const o=r[e];if(!((n[e]??t?.[e])===o)){i=!1;break}}i&&(l=u(l,o))}return u(o,s,l,a)}},m=h({variants:e.variants}),b=new Map,g=Symbol("getStylesCacheKey"),x=(e,o)=>{if(!l)return m(e);const r=(e=>{if(e[g])return e[g];const o=p(e);let r="";for(const e in o)r+=`${e}:${o[e]}|`;return e[g]=r,r})(e);if(b.has(r))return o?.(),b.get(r);const t=m(e);return b.set(r,t),t};function S(...e){return o=>e.forEach(e=>function(e,o){"function"==typeof e?e(o):null!=e&&(e.current=o)}(e,o))}function C(){const e=n.forwardRef((e,r)=>{const{children:i,...a}=e,d=n.Children.toArray(i),l=d.find(t);if(l){const e=l.props.children,t=d.map(o=>o===l?n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null:o);return s.jsx(o,{...a,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return s.jsx(o,{...a,ref:r,children:i})});e.displayName="Slot";const o=n.forwardRef((e,o)=>{const{children:r,...t}=e;return n.isValidElement(r)?n.cloneElement(r,{...i(t,r.props),ref:o?S(o,r.ref):r.ref}):n.Children.count(r)>1?n.Children.only(null):null});o.displayName="SlotClone";const r=({children:e})=>e;function t(e){return n.isValidElement(e)&&e.type===r}function i(e,o){const r={...o};for(const t in o){const i=e[t],a=o[t];/^on[A-Z]/.test(t)?i&&a?r[t]=(...e)=>{a(...e),i(...e)}:i&&(r[t]=i):"style"===t&&(r[t]={...i,...a})}return{...e,...r}}return e}var y=C(),v=n.forwardRef(function({asChild:e,as:o="div",className:r,backgroundColor:t,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:n,borderBottomStartRadius:d,borderBottomEndRadius:l,borderColor:c,borderStartColor:p,borderEndColor:f,borderTopColor:u,borderBottomColor:h,borderWidth:m,borderVerticalWidth:b,borderHorizontalWidth:g,borderStartWidth:S,borderEndWidth:C,borderTopWidth:v,borderBottomWidth:w,alignContent:z,alignItems:B,alignSelf:W,flex:E,flexDirection:R,flexGrow:T,flexShrink:N,flexWrap:V,justifyContent:j,flexBasis:G,display:H="flex",overflow:k,overflowX:q,overflowY:I,position:F,spacing:X,spacingHorizontal:$,spacingVertical:A,spacingBottom:D,spacingEnd:M,spacingStart:Y,spacingTop:_,offset:K,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:J,offsetStart:L,offsetTop:P,columnGap:Z,rowGap:ee,width:oe,height:re,dropShadow:te,insetShadow:ie,nestedBorderRadius:ae,nestedBorderRadiusSize:ne=(ae?i:void 0),nestedBorderRadiusSpacing:se=(ae?X:void 0),nestedBorderRadiusWidth:de=(ae?m:void 0),...le},ce){const pe=x({backgroundColor:t,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:n,borderBottomStartRadius:d,borderBottomEndRadius:l,nestedBorderRadius:ae,nestedBorderRadiusSize:ne,nestedBorderRadiusSpacing:se,nestedBorderRadiusWidth:de,borderColor:c,borderStartColor:p,borderEndColor:f,borderTopColor:u,borderBottomColor:h,borderWidth:m,borderVerticalWidth:b,borderHorizontalWidth:g,borderStartWidth:S,borderEndWidth:C,borderTopWidth:v,borderBottomWidth:w,alignContent:z,alignItems:B,alignSelf:W,flex:E,flexDirection:R,flexGrow:T,flexShrink:N,flexWrap:V,justifyContent:j,flexBasis:G,display:H,overflow:k,overflowX:q,overflowY:I,position:F,spacing:X,spacingHorizontal:$,spacingVertical:A,spacingBottom:D,spacingEnd:M,spacingStart:Y,spacingTop:_,offset:K,offsetVertical:O,offsetHorizontal:Q,offsetBottom:U,offsetEnd:J,offsetStart:L,offsetTop:P,columnGap:Z,rowGap:ee,width:oe,height:re,dropShadow:te,insetShadow:ie,className:r}),fe=e?y:o;return s.jsx(fe,{className:pe,ref:ce,...le})});v.displayName="Box";var w=C(),z={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",label3:"p",label4:"p",caption1:"p",caption2:"p",legal1:"p","display1/emphasized":"h1","display2/emphasized":"h1","display3/emphasized":"h1","title1/emphasized":"h1","title2/emphasized":"h2","title3/emphasized":"h3","title4/emphasized":"h4","headline1/emphasized":"h5","body1/emphasized":"p","label1/emphasized":"p","label2/emphasized":"p","label3/emphasized":"p","label4/emphasized":"p","caption1/emphasized":"p","caption2/emphasized":"p","legal1/emphasized":"p",ui1:"span",ui2:"span",ui3:"span",ui4:"span",ui5:"span",ui6:"span","ui1/emphasized":"span","ui2/emphasized":"span","ui3/emphasized":"span","ui4/emphasized":"span","ui5/emphasized":"span","ui6/emphasized":"span",inherit:"p"},B=n.forwardRef(function({className:e,asChild:o,color:r="primary",variant:t="body1",as:i=z[t],fontFamily:a,fontSize:n,fontWeight:d,lineHeight:l,textTransform:c,textAlign:p,letterSpacing:f,backgroundColor:u,borderRadius:h,borderTopStartRadius:m,borderTopEndRadius:b,borderBottomStartRadius:g,borderBottomEndRadius:S,borderColor:C,borderStartColor:y,borderEndColor:v,borderTopColor:B,borderBottomColor:W,borderWidth:E,borderVerticalWidth:R,borderHorizontalWidth:T,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:G,alignContent:H,alignItems:k,alignSelf:q,flex:I,flexDirection:F,flexGrow:X,flexShrink:$,flexWrap:A,justifyContent:D,flexBasis:M,display:Y,overflow:_,overflowX:K,overflowY:O,position:Q,spacing:U,spacingHorizontal:J,spacingVertical:L,spacingBottom:P,spacingEnd:Z,spacingStart:ee,spacingTop:oe,offset:re,offsetVertical:te,offsetHorizontal:ie,offsetBottom:ae,offsetEnd:ne,offsetStart:se,offsetTop:de,columnGap:le,rowGap:ce,...pe},fe){const ue={...r&&"inherit"!==r?{color:r}:{},...t&&"inherit"!==t?{fontFamily:a??t,fontSize:n??t,fontWeight:d??t,lineHeight:l??t,textTransform:c??t,letterSpacing:f??t}:{},textAlign:p},he=x({className:e,...ue,backgroundColor:u,borderRadius:h,borderTopStartRadius:m,borderTopEndRadius:b,borderBottomStartRadius:g,borderBottomEndRadius:S,borderColor:C,borderStartColor:y,borderEndColor:v,borderTopColor:B,borderBottomColor:W,borderWidth:E,borderVerticalWidth:R,borderHorizontalWidth:T,borderStartWidth:N,borderEndWidth:V,borderTopWidth:j,borderBottomWidth:G,alignContent:H,alignItems:k,alignSelf:q,flex:I,flexDirection:F,flexGrow:X,flexShrink:$,flexWrap:A,justifyContent:D,flexBasis:M,display:Y,overflow:_,overflowX:K,overflowY:O,position:Q,spacing:U,spacingHorizontal:J,spacingVertical:L,spacingBottom:P,spacingEnd:Z,spacingStart:ee,spacingTop:oe,offset:re,offsetVertical:te,offsetHorizontal:ie,offsetBottom:ae,offsetEnd:ne,offsetStart:se,offsetTop:de,columnGap:le,rowGap:ce}),me=o?w:i;return s.jsx(me,{className:he,ref:fe,...pe})});B.displayName="Text";var W={xs:12,sm:16,md:24,lg:32},E=n.forwardRef(function({name:e,size:o="md",variant:r="outline",color:t="primary",className:i,...a},n){const d=e.metadata?.variants??[],l=d.includes(r)?r:d[0]??"fill",c="multicolor"===l,p=x({flex:"none",color:c?void 0:t,className:u(i,!c&&"[&_path]:fill-current")}),f=W[o];return s.jsx("svg",{ref:n,xmlns:"http://www.w3.org/2000/svg",width:f,height:f,viewBox:`0 0 ${f} ${f}`,"aria-hidden":"true",focusable:"false",className:p,...a,children:s.jsx(e,{size:o,variant:l})})});E.displayName="Icon";var R=o.__toESM(e.require_isFunction(),1),T=n.memo(function({icon:e,iconProps:o,className:r,...t}){if(!e)return null;const{className:i,...a}=o||{},d=u(r,i),l=e;if(l.metadata?.isSvgIcon)return s.jsx(E,{name:l,...a,...t,className:d});if((0,R.default)(e)){const r=e(o||{}),i=r?.props.className;return n.isValidElement(r)&&n.cloneElement(r,{...t,className:u(d,i)})}return n.isValidElement(e)&&n.cloneElement(e,{...a,...e.props,...t,className:u(d,e.props.className)})});T.displayName="IconSlot",
|
|
2
|
-
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */exports.Box=v,exports.Icon=E,exports.IconSlot=T,exports.Text=B,exports.createSlot=C,exports.cva=h,exports.cx=u,exports.getStyles=x,exports.getStylesCacheKeySymbol=g;
|
package/dist/chunk-IOYNZUNZ.js
DELETED