@yahoo/uds 3.133.0-beta.2 → 3.133.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/dist/_virtual/_rolldown/runtime.cjs +12 -22
- package/dist/_virtual/_rolldown/runtime.js +6 -11
- package/dist/automated-config/dist/generated/autoVariants.cjs +1 -3
- package/dist/automated-config/dist/generated/autoVariants.js +1 -2
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +1 -3
- package/dist/automated-config/dist/generated/generatedConfigs.js +1 -2
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +1 -3
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +1 -2
- package/dist/automated-config/dist/mapTextVariantFixtureToValue.cjs +3 -5
- package/dist/automated-config/dist/mapTextVariantFixtureToValue.js +1 -3
- package/dist/automated-config/dist/properties.cjs +7 -10
- package/dist/automated-config/dist/properties.d.cts +1 -1
- package/dist/automated-config/dist/properties.d.ts +1 -1
- package/dist/automated-config/dist/properties.js +2 -5
- package/dist/automated-config/dist/utils/assertUnreachable.cjs +1 -3
- package/dist/automated-config/dist/utils/assertUnreachable.js +1 -2
- package/dist/automated-config/dist/utils/buildConfigSchema.cjs +4 -6
- package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +1 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +1 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.js +1 -3
- package/dist/automated-config/dist/utils/cartesianProduct.cjs +1 -3
- package/dist/automated-config/dist/utils/cartesianProduct.js +1 -2
- package/dist/automated-config/dist/utils/coalesceConfigVariant.cjs +3 -5
- package/dist/automated-config/dist/utils/coalesceConfigVariant.js +1 -3
- package/dist/automated-config/dist/utils/defaults.cjs +1 -3
- package/dist/automated-config/dist/utils/defaults.js +1 -2
- package/dist/automated-config/dist/utils/generateDefaultClassName.cjs +1 -3
- package/dist/automated-config/dist/utils/generateDefaultClassName.js +1 -2
- package/dist/automated-config/dist/utils/generateKeyFromFlatConfigPath.cjs +1 -3
- package/dist/automated-config/dist/utils/generateKeyFromFlatConfigPath.js +1 -2
- package/dist/automated-config/dist/utils/generateSchemaKey.cjs +1 -3
- package/dist/automated-config/dist/utils/generateSchemaKey.js +1 -2
- package/dist/automated-config/dist/utils/getConfigComponentVariant.cjs +2 -4
- package/dist/automated-config/dist/utils/getConfigComponentVariant.js +1 -3
- package/dist/automated-config/dist/utils/getConfigVariantComponentStatesMatrix.cjs +5 -7
- package/dist/automated-config/dist/utils/getConfigVariantComponentStatesMatrix.js +1 -3
- package/dist/automated-config/dist/utils/getConfigVariantProperties.cjs +3 -5
- package/dist/automated-config/dist/utils/getConfigVariantProperties.js +1 -3
- package/dist/automated-config/dist/utils/getConfigVariantPseudoStates.cjs +3 -5
- package/dist/automated-config/dist/utils/getConfigVariantPseudoStates.js +1 -3
- package/dist/automated-config/dist/utils/getConfigVariants.cjs +4 -6
- package/dist/automated-config/dist/utils/getConfigVariants.js +1 -3
- package/dist/automated-config/dist/utils/index.cjs +17 -19
- package/dist/automated-config/dist/utils/index.js +11 -13
- package/dist/automated-config/dist/utils/mapColorFixtureToValue.cjs +4 -6
- package/dist/automated-config/dist/utils/mapColorFixtureToValue.js +3 -5
- package/dist/automated-config/dist/utils/mapValues.cjs +1 -3
- package/dist/automated-config/dist/utils/mapValues.js +1 -2
- package/dist/automated-config/dist/utils/subcomponents.cjs +1 -3
- package/dist/automated-config/dist/utils/subcomponents.js +1 -2
- package/dist/automated-config/dist/utils/variantConfigGuards.cjs +1 -3
- package/dist/automated-config/dist/utils/variantConfigGuards.js +1 -2
- package/dist/cli/commands/sync.cjs +16 -18
- package/dist/cli/commands/sync.js +1 -3
- package/dist/cli/commands/utils/sortKeys.cjs +2 -4
- package/dist/cli/commands/utils/sortKeys.js +1 -2
- package/dist/cli/commands/version.cjs +5 -7
- package/dist/cli/commands/version.js +1 -3
- package/dist/cli/dist/cli.cjs +8 -10
- package/dist/cli/dist/cli.js +1 -3
- package/dist/cli/dist/commands/codemod/codemod.cjs +6 -8
- package/dist/cli/dist/commands/codemod/codemod.js +1 -3
- package/dist/cli/dist/commands/editor-rules.cjs +6 -8
- package/dist/cli/dist/commands/editor-rules.js +1 -3
- package/dist/cli/dist/lib/args.cjs +1 -3
- package/dist/cli/dist/lib/args.js +1 -2
- package/dist/cli/dist/lib/box.cjs +3 -5
- package/dist/cli/dist/lib/box.js +1 -3
- package/dist/cli/dist/lib/colors.cjs +1 -3
- package/dist/cli/dist/lib/colors.js +1 -2
- package/dist/cli/dist/lib/print.cjs +1 -3
- package/dist/cli/dist/lib/print.js +1 -2
- package/dist/cli/dist/utils/analytics.cjs +2 -4
- package/dist/cli/dist/utils/analytics.js +1 -3
- package/dist/cli/dist/utils/getCommandHelp.cjs +3 -5
- package/dist/cli/dist/utils/getCommandHelp.js +1 -3
- package/dist/cli/dist/utils/getDirChoices.cjs +3 -5
- package/dist/cli/dist/utils/getDirChoices.js +1 -3
- package/dist/cli/dist/utils/rules/config.cjs +2 -4
- package/dist/cli/dist/utils/rules/config.js +1 -3
- package/dist/cli/runner.cjs +13 -15
- package/dist/cli/runner.js +1 -3
- package/dist/components/Banner/Banner.cjs +9 -11
- package/dist/components/Banner/Banner.d.cts +3 -4
- package/dist/components/Banner/Banner.d.ts +3 -4
- package/dist/components/Banner/Banner.js +3 -5
- package/dist/components/Banner/BannerContent.cjs +4 -6
- package/dist/components/Banner/BannerContent.d.cts +2 -2
- package/dist/components/Banner/BannerContent.d.ts +2 -2
- package/dist/components/Banner/BannerContent.js +1 -3
- package/dist/components/Banner/BannerDescription.cjs +5 -7
- package/dist/components/Banner/BannerDescription.d.cts +2 -2
- package/dist/components/Banner/BannerDescription.d.ts +2 -2
- package/dist/components/Banner/BannerDescription.js +1 -3
- package/dist/components/Banner/BannerTitle.cjs +5 -7
- package/dist/components/Banner/BannerTitle.d.cts +2 -2
- package/dist/components/Banner/BannerTitle.d.ts +2 -2
- package/dist/components/Banner/BannerTitle.js +1 -3
- package/dist/components/Banner/index.cjs +6 -7
- package/dist/components/Banner/index.js +1 -2
- package/dist/components/Banner/utils.cjs +3 -5
- package/dist/components/Banner/utils.d.cts +1 -1
- package/dist/components/Banner/utils.d.ts +1 -1
- package/dist/components/Banner/utils.js +1 -3
- package/dist/components/Box.cjs +5 -7
- package/dist/components/Box.d.cts +3 -4
- package/dist/components/Box.d.ts +3 -4
- package/dist/components/Box.js +1 -3
- package/dist/components/Divider/Divider.cjs +4 -6
- package/dist/components/Divider/Divider.d.cts +2 -2
- package/dist/components/Divider/Divider.d.ts +2 -2
- package/dist/components/Divider/Divider.js +1 -3
- package/dist/components/Divider/DividerCore.cjs +8 -10
- package/dist/components/Divider/DividerCore.d.cts +4 -5
- package/dist/components/Divider/DividerCore.d.ts +4 -5
- package/dist/components/Divider/DividerCore.js +2 -4
- package/dist/components/Divider/DividerInternal.cjs +5 -7
- package/dist/components/Divider/DividerInternal.d.cts +3 -4
- package/dist/components/Divider/DividerInternal.d.ts +3 -4
- package/dist/components/Divider/DividerInternal.js +1 -3
- package/dist/components/Divider/index.cjs +3 -4
- package/dist/components/Divider/index.js +1 -2
- package/dist/components/FormLabel.cjs +5 -7
- package/dist/components/FormLabel.d.cts +3 -4
- package/dist/components/FormLabel.d.ts +3 -4
- package/dist/components/FormLabel.js +1 -3
- package/dist/components/HStack.cjs +5 -7
- package/dist/components/HStack.d.cts +3 -4
- package/dist/components/HStack.d.ts +3 -4
- package/dist/components/HStack.js +1 -3
- package/dist/components/Icon.cjs +11 -22
- package/dist/components/Icon.d.cts +3 -3
- package/dist/components/Icon.d.ts +3 -3
- package/dist/components/Icon.js +8 -19
- package/dist/components/IconSlot.cjs +11 -32
- package/dist/components/IconSlot.d.cts +2 -4
- package/dist/components/IconSlot.d.ts +2 -4
- package/dist/components/IconSlot.js +7 -29
- package/dist/components/Image.cjs +4 -6
- package/dist/components/Image.d.cts +3 -4
- package/dist/components/Image.d.ts +3 -4
- package/dist/components/Image.js +1 -3
- package/dist/components/Link.cjs +5 -7
- package/dist/components/Link.d.cts +3 -4
- package/dist/components/Link.d.ts +3 -4
- package/dist/components/Link.js +1 -3
- package/dist/components/Scrim.cjs +5 -7
- package/dist/components/Scrim.d.cts +2 -2
- package/dist/components/Scrim.d.ts +2 -2
- package/dist/components/Scrim.js +1 -3
- package/dist/components/SvgFloatingOverlay.cjs +5 -7
- package/dist/components/SvgFloatingOverlay.d.cts +2 -2
- package/dist/components/SvgFloatingOverlay.d.ts +2 -2
- package/dist/components/SvgFloatingOverlay.js +1 -3
- package/dist/components/Text.cjs +5 -7
- package/dist/components/Text.d.cts +3 -4
- package/dist/components/Text.d.ts +3 -4
- package/dist/components/Text.js +1 -3
- package/dist/components/VStack.cjs +5 -7
- package/dist/components/VStack.d.cts +3 -4
- package/dist/components/VStack.d.ts +3 -4
- package/dist/components/VStack.js +1 -3
- package/dist/components/client/AnimateHeightChange.cjs +4 -6
- package/dist/components/client/AnimateHeightChange.d.cts +2 -2
- package/dist/components/client/AnimateHeightChange.d.ts +2 -2
- package/dist/components/client/AnimateHeightChange.js +1 -3
- package/dist/components/{Avatar → client/Avatar}/Avatar.cjs +8 -25
- package/dist/components/{Avatar → client/Avatar}/Avatar.d.cts +5 -5
- package/dist/components/{Avatar → client/Avatar}/Avatar.d.ts +6 -5
- package/dist/components/{Avatar → client/Avatar}/Avatar.js +6 -23
- package/dist/components/{Avatar → client/Avatar}/AvatarIcon.cjs +14 -15
- package/dist/components/{Avatar → client/Avatar}/AvatarIcon.d.cts +5 -7
- package/dist/components/{Avatar → client/Avatar}/AvatarIcon.d.ts +6 -7
- package/dist/components/{Avatar → client/Avatar}/AvatarIcon.js +10 -11
- package/dist/components/client/Avatar/AvatarImage.cjs +61 -42
- package/dist/components/client/Avatar/AvatarImage.d.cts +17 -4
- package/dist/components/client/Avatar/AvatarImage.d.ts +17 -4
- package/dist/components/client/Avatar/AvatarImage.js +58 -39
- package/dist/components/{Avatar → client/Avatar}/AvatarText.cjs +13 -15
- package/dist/components/{Avatar → client/Avatar}/AvatarText.d.cts +5 -7
- package/dist/components/{Avatar → client/Avatar}/AvatarText.d.ts +6 -7
- package/dist/components/{Avatar → client/Avatar}/AvatarText.js +8 -10
- package/dist/components/client/Avatar/index.cjs +9 -4
- package/dist/components/client/Avatar/index.d.cts +5 -3
- package/dist/components/client/Avatar/index.d.ts +5 -3
- package/dist/components/client/Avatar/index.js +4 -2
- package/dist/components/{Avatar → client/Avatar}/utils.cjs +7 -8
- package/dist/components/{Avatar → client/Avatar}/utils.d.cts +3 -4
- package/dist/components/{Avatar → client/Avatar}/utils.d.ts +4 -4
- package/dist/components/{Avatar → client/Avatar}/utils.js +4 -5
- package/dist/components/client/Badge.cjs +6 -8
- package/dist/components/client/Badge.d.cts +1 -2
- package/dist/components/client/Badge.d.ts +1 -2
- package/dist/components/client/Badge.js +2 -4
- package/dist/components/client/BottomSheet/BottomSheet.cjs +15 -17
- package/dist/components/client/BottomSheet/BottomSheet.d.cts +3 -3
- package/dist/components/client/BottomSheet/BottomSheet.d.ts +3 -3
- package/dist/components/client/BottomSheet/BottomSheet.js +1 -3
- package/dist/components/client/BottomSheet/BottomSheetContent.cjs +7 -9
- package/dist/components/client/BottomSheet/BottomSheetContent.d.cts +3 -3
- package/dist/components/client/BottomSheet/BottomSheetContent.d.ts +3 -3
- package/dist/components/client/BottomSheet/BottomSheetContent.js +1 -3
- package/dist/components/client/BottomSheet/BottomSheetDismiss.cjs +3 -5
- package/dist/components/client/BottomSheet/BottomSheetDismiss.d.cts +2 -2
- package/dist/components/client/BottomSheet/BottomSheetDismiss.d.ts +2 -2
- package/dist/components/client/BottomSheet/BottomSheetDismiss.js +1 -3
- package/dist/components/client/BottomSheet/BottomSheetHandle.cjs +5 -7
- package/dist/components/client/BottomSheet/BottomSheetHandle.d.cts +3 -3
- package/dist/components/client/BottomSheet/BottomSheetHandle.d.ts +3 -3
- package/dist/components/client/BottomSheet/BottomSheetHandle.js +1 -3
- package/dist/components/client/BottomSheet/BottomSheetHeader.cjs +6 -8
- package/dist/components/client/BottomSheet/BottomSheetHeader.d.cts +3 -3
- package/dist/components/client/BottomSheet/BottomSheetHeader.d.ts +3 -3
- package/dist/components/client/BottomSheet/BottomSheetHeader.js +2 -4
- package/dist/components/client/BottomSheet/BottomSheetInternalContext.cjs +3 -5
- package/dist/components/client/BottomSheet/BottomSheetInternalContext.d.cts +2 -2
- package/dist/components/client/BottomSheet/BottomSheetInternalContext.d.ts +2 -2
- package/dist/components/client/BottomSheet/BottomSheetInternalContext.js +1 -3
- package/dist/components/client/BottomSheet/BottomSheetProvider.cjs +5 -7
- package/dist/components/client/BottomSheet/BottomSheetProvider.d.cts +2 -2
- package/dist/components/client/BottomSheet/BottomSheetProvider.d.ts +2 -2
- package/dist/components/client/BottomSheet/BottomSheetProvider.js +1 -3
- package/dist/components/client/BottomSheet/BottomSheetTrigger.cjs +3 -5
- package/dist/components/client/BottomSheet/BottomSheetTrigger.d.cts +2 -2
- package/dist/components/client/BottomSheet/BottomSheetTrigger.d.ts +2 -2
- package/dist/components/client/BottomSheet/BottomSheetTrigger.js +1 -3
- package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.cjs +3 -5
- package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.d.cts +2 -2
- package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.d.ts +2 -2
- package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.js +1 -3
- package/dist/components/client/BottomSheet/index.cjs +10 -11
- package/dist/components/client/BottomSheet/index.js +1 -2
- package/dist/components/client/BottomSheet/useBottomSheetDrag.cjs +5 -7
- package/dist/components/client/BottomSheet/useBottomSheetDrag.js +1 -3
- package/dist/components/client/BottomSheet/useBottomSheetSnapModel.cjs +5 -7
- package/dist/components/client/BottomSheet/useBottomSheetSnapModel.d.cts +1 -2
- package/dist/components/client/BottomSheet/useBottomSheetSnapModel.d.ts +1 -2
- package/dist/components/client/BottomSheet/useBottomSheetSnapModel.js +1 -3
- package/dist/components/client/BottomSheet/useBottomSheetStore.cjs +4 -6
- package/dist/components/client/BottomSheet/useBottomSheetStore.d.cts +2 -2
- package/dist/components/client/BottomSheet/useBottomSheetStore.d.ts +2 -2
- package/dist/components/client/BottomSheet/useBottomSheetStore.js +1 -3
- package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.cjs +3 -5
- package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.d.cts +2 -2
- package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.d.ts +2 -2
- package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.js +1 -3
- package/dist/components/client/BottomSheet/useExpansionMargins.cjs +3 -5
- package/dist/components/client/BottomSheet/useExpansionMargins.js +1 -3
- package/dist/components/client/BottomSheet/useViewportHeight.cjs +4 -6
- package/dist/components/client/BottomSheet/useViewportHeight.js +1 -3
- package/dist/components/client/BottomSheet/useVirtualKeyboard.cjs +4 -6
- package/dist/components/client/BottomSheet/useVirtualKeyboard.js +1 -3
- package/dist/components/client/BottomSheet/utils.cjs +4 -6
- package/dist/components/client/BottomSheet/utils.d.cts +1 -1
- package/dist/components/client/BottomSheet/utils.d.ts +1 -1
- package/dist/components/client/BottomSheet/utils.js +1 -3
- package/dist/components/client/Button.cjs +15 -17
- package/dist/components/client/Button.d.cts +1 -2
- package/dist/components/client/Button.d.ts +1 -2
- package/dist/components/client/Button.js +6 -8
- package/dist/components/client/Checkbox.cjs +9 -11
- package/dist/components/client/Checkbox.d.cts +1 -2
- package/dist/components/client/Checkbox.d.ts +1 -2
- package/dist/components/client/Checkbox.js +3 -5
- package/dist/components/client/Chip/Chip.cjs +7 -9
- package/dist/components/client/Chip/Chip.d.cts +0 -1
- package/dist/components/client/Chip/Chip.d.ts +0 -1
- package/dist/components/client/Chip/Chip.js +2 -4
- package/dist/components/client/Chip/ChipBase.cjs +7 -9
- package/dist/components/client/Chip/ChipBase.d.cts +1 -2
- package/dist/components/client/Chip/ChipBase.d.ts +1 -2
- package/dist/components/client/Chip/ChipBase.js +2 -4
- package/dist/components/client/Chip/ChipButton.cjs +6 -8
- package/dist/components/client/Chip/ChipButton.d.cts +1 -2
- package/dist/components/client/Chip/ChipButton.d.ts +1 -2
- package/dist/components/client/Chip/ChipButton.js +2 -4
- package/dist/components/client/Chip/ChipDismissible.cjs +9 -11
- package/dist/components/client/Chip/ChipDismissible.d.cts +1 -2
- package/dist/components/client/Chip/ChipDismissible.d.ts +1 -2
- package/dist/components/client/Chip/ChipDismissible.js +3 -5
- package/dist/components/client/Chip/ChipLink.cjs +6 -8
- package/dist/components/client/Chip/ChipLink.d.cts +1 -2
- package/dist/components/client/Chip/ChipLink.d.ts +1 -2
- package/dist/components/client/Chip/ChipLink.js +2 -4
- package/dist/components/client/Chip/ChipToggle.cjs +7 -10
- package/dist/components/client/Chip/ChipToggle.d.cts +1 -2
- package/dist/components/client/Chip/ChipToggle.d.ts +1 -2
- package/dist/components/client/Chip/ChipToggle.js +3 -6
- package/dist/components/client/Chip/index.cjs +7 -8
- package/dist/components/client/Chip/index.js +1 -2
- package/dist/components/client/IconButton.cjs +14 -21
- package/dist/components/client/IconButton.d.cts +2 -3
- package/dist/components/client/IconButton.d.ts +2 -3
- package/dist/components/client/IconButton.js +6 -13
- package/dist/components/client/Input/Input.cjs +18 -16
- package/dist/components/client/Input/Input.d.cts +3 -4
- package/dist/components/client/Input/Input.d.ts +3 -4
- package/dist/components/client/Input/Input.js +11 -9
- package/dist/components/client/Input/InputHelpText.cjs +6 -8
- package/dist/components/client/Input/InputHelpText.d.cts +2 -2
- package/dist/components/client/Input/InputHelpText.d.ts +2 -2
- package/dist/components/client/Input/InputHelpText.js +1 -3
- package/dist/components/client/Input/InputHelpTextInternal.cjs +6 -8
- package/dist/components/client/Input/InputHelpTextInternal.d.cts +3 -4
- package/dist/components/client/Input/InputHelpTextInternal.d.ts +3 -4
- package/dist/components/client/Input/InputHelpTextInternal.js +1 -3
- package/dist/components/client/Input/index.cjs +4 -5
- package/dist/components/client/Input/index.js +1 -2
- package/dist/components/client/Menu/Menu.Content.cjs +5 -7
- package/dist/components/client/Menu/Menu.Content.d.cts +3 -4
- package/dist/components/client/Menu/Menu.Content.d.ts +3 -4
- package/dist/components/client/Menu/Menu.Content.js +1 -3
- package/dist/components/client/Menu/Menu.Divider.cjs +5 -7
- package/dist/components/client/Menu/Menu.Divider.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Divider.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Divider.js +1 -3
- package/dist/components/client/Menu/Menu.Item.cjs +5 -7
- package/dist/components/client/Menu/Menu.Item.d.cts +3 -4
- package/dist/components/client/Menu/Menu.Item.d.ts +3 -4
- package/dist/components/client/Menu/Menu.Item.js +1 -3
- package/dist/components/client/Menu/Menu.ItemBase.cjs +7 -9
- package/dist/components/client/Menu/Menu.ItemBase.d.cts +3 -4
- package/dist/components/client/Menu/Menu.ItemBase.d.ts +3 -4
- package/dist/components/client/Menu/Menu.ItemBase.js +2 -4
- package/dist/components/client/Menu/Menu.ItemCheckbox.cjs +6 -8
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +3 -4
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +3 -4
- package/dist/components/client/Menu/Menu.ItemCheckbox.js +2 -4
- package/dist/components/client/Menu/Menu.Provider.cjs +6 -8
- package/dist/components/client/Menu/Menu.Provider.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Provider.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Provider.js +1 -3
- package/dist/components/client/Menu/Menu.Trigger.cjs +5 -7
- package/dist/components/client/Menu/Menu.Trigger.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Trigger.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Trigger.js +1 -3
- package/dist/components/client/Menu/Menu.cjs +8 -9
- package/dist/components/client/Menu/Menu.index.cjs +29 -31
- package/dist/components/client/Menu/Menu.index.js +1 -3
- package/dist/components/client/Menu/Menu.js +1 -2
- package/dist/components/client/Menu/index.cjs +8 -9
- package/dist/components/client/Menu/index.d.cts +0 -1
- package/dist/components/client/Menu/index.d.ts +0 -1
- package/dist/components/client/Menu/index.js +1 -2
- package/dist/components/client/Menu/utils/transformAriakitPlacement.cjs +2 -4
- package/dist/components/client/Menu/utils/transformAriakitPlacement.js +1 -2
- package/dist/components/client/Popover/Popover.cjs +5 -7
- package/dist/components/client/Popover/Popover.d.cts +3 -3
- package/dist/components/client/Popover/Popover.d.ts +3 -3
- package/dist/components/client/Popover/Popover.js +1 -3
- package/dist/components/client/Popover/PopoverContent.cjs +15 -17
- package/dist/components/client/Popover/PopoverContent.d.cts +3 -4
- package/dist/components/client/Popover/PopoverContent.d.ts +3 -4
- package/dist/components/client/Popover/PopoverContent.js +4 -6
- package/dist/components/client/Popover/PopoverContext.cjs +4 -7
- package/dist/components/client/Popover/PopoverContext.d.cts +2 -2
- package/dist/components/client/Popover/PopoverContext.d.ts +2 -2
- package/dist/components/client/Popover/PopoverContext.js +1 -3
- package/dist/components/client/Popover/PopoverTrigger.cjs +4 -6
- package/dist/components/client/Popover/PopoverTrigger.d.cts +3 -3
- package/dist/components/client/Popover/PopoverTrigger.d.ts +3 -3
- package/dist/components/client/Popover/PopoverTrigger.js +1 -3
- package/dist/components/client/Popover/UDSPopoverConfigProvider.cjs +3 -5
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +3 -3
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +3 -3
- package/dist/components/client/Popover/UDSPopoverConfigProvider.js +1 -3
- package/dist/components/client/Popover/index.cjs +6 -7
- package/dist/components/client/Popover/index.d.cts +1 -1
- package/dist/components/client/Popover/index.d.ts +1 -1
- package/dist/components/client/Popover/index.js +1 -2
- package/dist/components/client/Pressable.cjs +5 -7
- package/dist/components/client/Pressable.d.cts +3 -4
- package/dist/components/client/Pressable.d.ts +3 -4
- package/dist/components/client/Pressable.js +1 -3
- package/dist/components/client/Radio/Radio.cjs +8 -10
- package/dist/components/client/Radio/Radio.d.cts +1 -2
- package/dist/components/client/Radio/Radio.d.ts +1 -2
- package/dist/components/client/Radio/Radio.js +2 -4
- package/dist/components/client/Radio/RadioGroupProvider.cjs +6 -8
- package/dist/components/client/Radio/RadioGroupProvider.d.cts +1 -2
- package/dist/components/client/Radio/RadioGroupProvider.d.ts +1 -2
- package/dist/components/client/Radio/RadioGroupProvider.js +2 -4
- package/dist/components/client/Radio/RadioGroupStore.cjs +3 -5
- package/dist/components/client/Radio/RadioGroupStore.d.cts +2 -2
- package/dist/components/client/Radio/RadioGroupStore.d.ts +2 -2
- package/dist/components/client/Radio/RadioGroupStore.js +1 -3
- package/dist/components/client/Radio/index.cjs +4 -5
- package/dist/components/client/Radio/index.js +1 -2
- package/dist/components/client/Radio/useRadioGroup.cjs +4 -6
- package/dist/components/client/Radio/useRadioGroup.js +1 -3
- package/dist/components/client/SpringMotionConfig.cjs +6 -8
- package/dist/components/client/SpringMotionConfig.d.cts +1 -2
- package/dist/components/client/SpringMotionConfig.d.ts +1 -2
- package/dist/components/client/SpringMotionConfig.js +1 -3
- package/dist/components/client/Switch.cjs +8 -10
- package/dist/components/client/Switch.d.cts +1 -2
- package/dist/components/client/Switch.d.ts +1 -2
- package/dist/components/client/Switch.js +3 -5
- package/dist/components/client/Tabs/Tab.cjs +7 -9
- package/dist/components/client/Tabs/Tab.d.cts +3 -3
- package/dist/components/client/Tabs/Tab.d.ts +3 -3
- package/dist/components/client/Tabs/Tab.js +1 -3
- package/dist/components/client/Tabs/TabList.cjs +5 -7
- package/dist/components/client/Tabs/TabList.d.cts +3 -3
- package/dist/components/client/Tabs/TabList.d.ts +3 -3
- package/dist/components/client/Tabs/TabList.js +1 -3
- package/dist/components/client/Tabs/TabPanel.cjs +3 -5
- package/dist/components/client/Tabs/TabPanel.d.cts +3 -3
- package/dist/components/client/Tabs/TabPanel.d.ts +3 -3
- package/dist/components/client/Tabs/TabPanel.js +1 -3
- package/dist/components/client/Tabs/Tabs.cjs +4 -6
- package/dist/components/client/Tabs/Tabs.d.cts +3 -3
- package/dist/components/client/Tabs/Tabs.d.ts +3 -3
- package/dist/components/client/Tabs/Tabs.js +1 -3
- package/dist/components/client/Tabs/index.cjs +6 -7
- package/dist/components/client/Tabs/index.js +1 -2
- package/dist/components/client/Tabs/tabsContext.cjs +3 -5
- package/dist/components/client/Tabs/tabsContext.d.cts +3 -3
- package/dist/components/client/Tabs/tabsContext.d.ts +3 -3
- package/dist/components/client/Tabs/tabsContext.js +1 -3
- package/dist/components/client/Toast/Toast.cjs +10 -12
- package/dist/components/client/Toast/Toast.d.cts +3 -4
- package/dist/components/client/Toast/Toast.d.ts +3 -4
- package/dist/components/client/Toast/Toast.js +2 -4
- package/dist/components/client/Toast/ToastContainer.cjs +7 -9
- package/dist/components/client/Toast/ToastContainer.d.cts +3 -4
- package/dist/components/client/Toast/ToastContainer.d.ts +3 -4
- package/dist/components/client/Toast/ToastContainer.js +1 -3
- package/dist/components/client/Toast/ToastPortal.cjs +6 -8
- package/dist/components/client/Toast/ToastPortal.d.cts +2 -2
- package/dist/components/client/Toast/ToastPortal.d.ts +2 -2
- package/dist/components/client/Toast/ToastPortal.js +1 -3
- package/dist/components/client/Toast/UDSToastConfigProvider.cjs +3 -5
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +3 -4
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +3 -4
- package/dist/components/client/Toast/UDSToastConfigProvider.js +1 -3
- package/dist/components/client/Toast/createToast.cjs +7 -9
- package/dist/components/client/Toast/createToast.d.cts +1 -2
- package/dist/components/client/Toast/createToast.d.ts +1 -2
- package/dist/components/client/Toast/createToast.js +1 -3
- package/dist/components/client/Toast/index.cjs +7 -8
- package/dist/components/client/Toast/index.js +1 -2
- package/dist/components/client/Tooltip/Tooltip.cjs +5 -7
- package/dist/components/client/Tooltip/Tooltip.d.cts +3 -3
- package/dist/components/client/Tooltip/Tooltip.d.ts +3 -3
- package/dist/components/client/Tooltip/Tooltip.js +1 -3
- package/dist/components/client/Tooltip/TooltipContent.cjs +14 -16
- package/dist/components/client/Tooltip/TooltipContent.d.cts +4 -4
- package/dist/components/client/Tooltip/TooltipContent.d.ts +4 -4
- package/dist/components/client/Tooltip/TooltipContent.js +2 -4
- package/dist/components/client/Tooltip/TooltipTrigger.cjs +3 -5
- package/dist/components/client/Tooltip/TooltipTrigger.d.cts +3 -3
- package/dist/components/client/Tooltip/TooltipTrigger.d.ts +3 -3
- package/dist/components/client/Tooltip/TooltipTrigger.js +1 -3
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.cjs +3 -5
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.cts +3 -3
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.ts +3 -3
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.js +1 -3
- package/dist/components/client/Tooltip/index.cjs +6 -7
- package/dist/components/client/Tooltip/index.d.cts +1 -1
- package/dist/components/client/Tooltip/index.d.ts +1 -1
- package/dist/components/client/Tooltip/index.js +1 -2
- package/dist/components/client/Tooltip/tooltipContext.cjs +4 -7
- package/dist/components/client/Tooltip/tooltipContext.d.cts +2 -2
- package/dist/components/client/Tooltip/tooltipContext.d.ts +2 -2
- package/dist/components/client/Tooltip/tooltipContext.js +1 -3
- package/dist/components/client/buttonConstants.cjs +2 -4
- package/dist/components/client/buttonConstants.d.cts +1 -3
- package/dist/components/client/buttonConstants.d.ts +1 -3
- package/dist/components/client/buttonConstants.js +1 -2
- package/dist/components/client/index.cjs +58 -53
- package/dist/components/client/index.d.cts +6 -14
- package/dist/components/client/index.d.ts +6 -14
- package/dist/components/client/index.js +5 -3
- package/dist/components/client/motionFeatures/domAnimation.cjs +8 -9
- package/dist/components/client/motionFeatures/domAnimation.js +1 -2
- package/dist/components/client/motionFeatures/domMax.cjs +8 -9
- package/dist/components/client/motionFeatures/domMax.js +1 -2
- package/dist/components/client/providers/UDSBreakpointsConfigProvider.cjs +3 -5
- package/dist/components/client/providers/UDSBreakpointsConfigProvider.d.cts +3 -3
- package/dist/components/client/providers/UDSBreakpointsConfigProvider.d.ts +3 -3
- package/dist/components/client/providers/UDSBreakpointsConfigProvider.js +1 -3
- package/dist/components/client/providers/UDSConfigProvider.cjs +8 -10
- package/dist/components/client/providers/UDSConfigProvider.d.cts +2 -2
- package/dist/components/client/providers/UDSConfigProvider.d.ts +2 -2
- package/dist/components/client/providers/UDSConfigProvider.js +1 -3
- package/dist/components/experimental/Spinner.cjs +5 -7
- package/dist/components/experimental/Spinner.d.cts +2 -2
- package/dist/components/experimental/Spinner.d.ts +2 -2
- package/dist/components/experimental/Spinner.js +1 -3
- package/dist/components/experimental/Table.cjs +6 -8
- package/dist/components/experimental/Table.d.cts +4 -6
- package/dist/components/experimental/Table.d.ts +4 -6
- package/dist/components/experimental/Table.js +3 -5
- package/dist/components/experimental/Table.mocks.cjs +3 -5
- package/dist/components/experimental/Table.mocks.js +1 -3
- package/dist/components/experimental/client/Accordion.cjs +10 -12
- package/dist/components/experimental/client/Accordion.d.cts +2 -3
- package/dist/components/experimental/client/Accordion.d.ts +2 -3
- package/dist/components/experimental/client/Accordion.js +2 -4
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.cjs +3 -5
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts +2 -2
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.ts +2 -2
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.js +1 -3
- package/dist/components/experimental/client/Modal.cjs +8 -10
- package/dist/components/experimental/client/Modal.d.cts +3 -3
- package/dist/components/experimental/client/Modal.d.ts +3 -3
- package/dist/components/experimental/client/Modal.js +1 -3
- package/dist/components/experimental/client/SegmentedControl.cjs +9 -12
- package/dist/components/experimental/client/SegmentedControl.d.cts +2 -3
- package/dist/components/experimental/client/SegmentedControl.d.ts +2 -3
- package/dist/components/experimental/client/SegmentedControl.js +4 -7
- package/dist/components/experimental/client/SwitchV2.cjs +9 -11
- package/dist/components/experimental/client/SwitchV2.d.cts +1 -2
- package/dist/components/experimental/client/SwitchV2.d.ts +1 -2
- package/dist/components/experimental/client/SwitchV2.js +3 -5
- package/dist/components/experimental/client/index.cjs +7 -8
- package/dist/components/experimental/client/index.js +1 -2
- package/dist/components/experimental/index.cjs +15 -17
- package/dist/components/experimental/index.d.cts +0 -1
- package/dist/components/experimental/index.d.ts +0 -1
- package/dist/components/experimental/index.js +1 -3
- package/dist/components/index.cjs +80 -85
- package/dist/components/index.d.cts +7 -13
- package/dist/components/index.d.ts +7 -13
- package/dist/components/index.js +8 -12
- package/dist/config/dist/index.cjs +2 -5
- package/dist/config/dist/index.d.cts +1 -1
- package/dist/config/dist/index.d.ts +1 -1
- package/dist/config/dist/index.js +2 -4
- package/dist/css-tokens/dist/index.cjs +37 -39
- package/dist/css-tokens/dist/index.d.cts +1 -1
- package/dist/css-tokens/dist/index.d.ts +1 -1
- package/dist/css-tokens/dist/index.js +35 -37
- package/dist/defaultTokensConfig.cjs +4 -6
- package/dist/defaultTokensConfig.d.cts +0 -2
- package/dist/defaultTokensConfig.d.ts +0 -2
- package/dist/defaultTokensConfig.js +1 -3
- package/dist/fixtures/dist/index.cjs +1 -3
- package/dist/fixtures/dist/index.d.cts +1 -1
- package/dist/fixtures/dist/index.d.ts +1 -1
- package/dist/fixtures/dist/index.js +1 -2
- package/dist/fixtures/index.cjs +4 -6
- package/dist/fixtures/index.d.cts +1 -1
- package/dist/fixtures/index.d.ts +1 -1
- package/dist/fixtures/index.js +1 -3
- package/dist/fixtures/src/arbitrary.cjs +7 -10
- package/dist/fixtures/src/arbitrary.js +1 -3
- package/dist/fixtures/src/util.cjs +2 -4
- package/dist/fixtures/src/util.js +1 -3
- package/dist/flags.cjs +6 -4
- package/dist/flags.js +5 -2
- package/dist/fonts/dist/index.cjs +22 -14
- package/dist/fonts/dist/index.d.cts +1 -1
- package/dist/fonts/dist/index.d.ts +1 -1
- package/dist/fonts/dist/index.js +22 -13
- package/dist/hooks/useForkRef.cjs +3 -5
- package/dist/hooks/useForkRef.js +1 -3
- package/dist/hooks/useRtl.cjs +3 -5
- package/dist/hooks/useRtl.js +1 -3
- package/dist/hooks/useSvgFloatingContent.cjs +6 -8
- package/dist/hooks/useSvgFloatingContent.js +1 -3
- package/dist/icons/dist/types.d.cts +30 -0
- package/dist/icons/dist/types.d.ts +30 -0
- package/dist/index.cjs +105 -108
- package/dist/index.d.cts +8 -14
- package/dist/index.d.ts +8 -14
- package/dist/index.js +8 -10
- package/dist/modes/dist/index.cjs +1 -3
- package/dist/modes/dist/index.d.cts +1 -1
- package/dist/modes/dist/index.d.ts +1 -1
- package/dist/modes/dist/index.js +1 -2
- package/dist/motion-tokens/dist/index.cjs +1 -3
- package/dist/motion-tokens/dist/index.d.cts +1 -1
- package/dist/motion-tokens/dist/index.d.ts +1 -1
- package/dist/motion-tokens/dist/index.js +1 -2
- package/dist/palette/dist/index.cjs +13 -3
- package/dist/palette/dist/index.js +13 -2
- package/dist/providers/ColorModeProvider.cjs +4 -6
- package/dist/providers/ColorModeProvider.d.cts +5 -6
- package/dist/providers/ColorModeProvider.d.ts +5 -6
- package/dist/providers/ColorModeProvider.js +1 -3
- package/dist/providers/ScaleModeProvider.cjs +4 -6
- package/dist/providers/ScaleModeProvider.d.cts +5 -6
- package/dist/providers/ScaleModeProvider.d.ts +5 -6
- package/dist/providers/ScaleModeProvider.js +1 -3
- package/dist/providers/ThemeProvider.cjs +5 -7
- package/dist/providers/ThemeProvider.d.cts +3 -4
- package/dist/providers/ThemeProvider.d.ts +3 -4
- package/dist/providers/ThemeProvider.js +1 -3
- package/dist/runtime/bottomSheetConfig.cjs +2 -4
- package/dist/runtime/bottomSheetConfig.d.cts +1 -1
- package/dist/runtime/bottomSheetConfig.d.ts +1 -1
- package/dist/runtime/bottomSheetConfig.js +1 -2
- package/dist/runtime/breakpointsConfig.cjs +4 -6
- package/dist/runtime/breakpointsConfig.d.cts +1 -3
- package/dist/runtime/breakpointsConfig.d.ts +1 -3
- package/dist/runtime/breakpointsConfig.js +1 -3
- package/dist/runtime/index.cjs +8 -9
- package/dist/runtime/index.js +1 -2
- package/dist/runtime/popoverConfig.cjs +3 -5
- package/dist/runtime/popoverConfig.d.cts +1 -2
- package/dist/runtime/popoverConfig.d.ts +1 -2
- package/dist/runtime/popoverConfig.js +1 -3
- package/dist/runtime/toastConfig.cjs +2 -4
- package/dist/runtime/toastConfig.d.cts +1 -3
- package/dist/runtime/toastConfig.d.ts +1 -3
- package/dist/runtime/toastConfig.js +1 -2
- package/dist/runtime/tooltipConfig.cjs +3 -5
- package/dist/runtime/tooltipConfig.d.cts +1 -2
- package/dist/runtime/tooltipConfig.d.ts +1 -2
- package/dist/runtime/tooltipConfig.js +1 -3
- package/dist/runtime/udsConfig.cjs +7 -9
- package/dist/runtime/udsConfig.d.cts +0 -1
- package/dist/runtime/udsConfig.d.ts +0 -1
- package/dist/runtime/udsConfig.js +1 -3
- package/dist/styles/styler.cjs +6 -8
- package/dist/styles/styler.d.cts +37 -37
- package/dist/styles/styler.d.ts +37 -37
- package/dist/styles/styler.js +1 -3
- package/dist/styles/stylerTypes.d.cts +1 -2
- package/dist/styles/stylerTypes.d.ts +1 -2
- package/dist/styles/variants.cjs +4 -6
- package/dist/styles/variants.js +1 -3
- package/dist/tailwind/dist/_virtual/_rolldown/runtime.cjs +7 -13
- package/dist/tailwind/dist/_virtual/_rolldown/runtime.js +1 -2
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.cjs +1 -3
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js +1 -1
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.cjs +1 -3
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js +1 -1
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/mapTextVariantFixtureToValue.cjs +3 -5
- package/dist/tailwind/dist/automated-config/dist/mapTextVariantFixtureToValue.js +1 -2
- package/dist/tailwind/dist/automated-config/dist/mapTextVariantFixtureToValue.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/properties.cjs +7 -10
- package/dist/tailwind/dist/automated-config/dist/properties.js +2 -4
- package/dist/tailwind/dist/automated-config/dist/properties.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/utils/assertUnreachable.cjs +1 -3
- package/dist/tailwind/dist/automated-config/dist/utils/assertUnreachable.js +1 -1
- package/dist/tailwind/dist/automated-config/dist/utils/assertUnreachable.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/utils/generateDefaultClassName.cjs +1 -3
- package/dist/tailwind/dist/automated-config/dist/utils/generateDefaultClassName.js +1 -1
- package/dist/tailwind/dist/automated-config/dist/utils/generateDefaultClassName.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/utils/generateSchemaKey.cjs +1 -3
- package/dist/tailwind/dist/automated-config/dist/utils/generateSchemaKey.js +1 -1
- package/dist/tailwind/dist/automated-config/dist/utils/generateSchemaKey.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/utils/index.cjs +7 -9
- package/dist/tailwind/dist/automated-config/dist/utils/index.js +1 -2
- package/dist/tailwind/dist/automated-config/dist/utils/index.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/utils/mapColorFixtureToValue.cjs +4 -6
- package/dist/tailwind/dist/automated-config/dist/utils/mapColorFixtureToValue.js +3 -4
- package/dist/tailwind/dist/automated-config/dist/utils/mapColorFixtureToValue.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/utils/variantConfigGuards.cjs +1 -3
- package/dist/tailwind/dist/automated-config/dist/utils/variantConfigGuards.js +1 -1
- package/dist/tailwind/dist/automated-config/dist/utils/variantConfigGuards.js.map +1 -1
- package/dist/tailwind/dist/cli/dist/lib/colors.cjs +1 -3
- package/dist/tailwind/dist/cli/dist/lib/colors.js +1 -1
- package/dist/tailwind/dist/cli/dist/lib/colors.js.map +1 -1
- package/dist/tailwind/dist/cli/dist/lib/logger.cjs +18 -6
- package/dist/tailwind/dist/cli/dist/lib/logger.js +15 -2
- package/dist/tailwind/dist/cli/dist/lib/logger.js.map +1 -1
- package/dist/tailwind/dist/cli/dist/lib/print.cjs +1 -3
- package/dist/tailwind/dist/cli/dist/lib/print.js +1 -1
- package/dist/tailwind/dist/cli/dist/lib/print.js.map +1 -1
- package/dist/tailwind/dist/cli/dist/lib/spinner.cjs +1 -3
- package/dist/tailwind/dist/cli/dist/lib/spinner.js +1 -1
- package/dist/tailwind/dist/cli/dist/lib/spinner.js.map +1 -1
- package/dist/tailwind/dist/cli.cjs +6 -7
- package/dist/tailwind/dist/cli.js +1 -2
- package/dist/tailwind/dist/commands/css.cjs +6 -8
- package/dist/tailwind/dist/commands/css.helpers.cjs +1 -3
- package/dist/tailwind/dist/commands/css.helpers.js +1 -1
- package/dist/tailwind/dist/commands/css.helpers.js.map +1 -1
- package/dist/tailwind/dist/commands/css.js +1 -2
- package/dist/tailwind/dist/commands/css.js.map +1 -1
- package/dist/tailwind/dist/commands/generateComponentData.cjs +4 -6
- package/dist/tailwind/dist/commands/generateComponentData.js +1 -2
- package/dist/tailwind/dist/commands/generateComponentData.js.map +1 -1
- package/dist/tailwind/dist/commands/generatePurgeCSSData.cjs +6 -8
- package/dist/tailwind/dist/commands/generatePurgeCSSData.js +1 -2
- package/dist/tailwind/dist/commands/generatePurgeCSSData.js.map +1 -1
- package/dist/tailwind/dist/commands/purge.cjs +5 -7
- package/dist/tailwind/dist/commands/purge.js +1 -2
- package/dist/tailwind/dist/commands/purge.js.map +1 -1
- package/dist/tailwind/dist/config/dist/index.cjs +2 -5
- package/dist/tailwind/dist/config/dist/index.d.cts +0 -1
- package/dist/tailwind/dist/config/dist/index.d.cts.map +1 -1
- package/dist/tailwind/dist/config/dist/index.d.ts +0 -1
- package/dist/tailwind/dist/config/dist/index.d.ts.map +1 -1
- package/dist/tailwind/dist/config/dist/index.js +2 -3
- package/dist/tailwind/dist/config/dist/index.js.map +1 -1
- package/dist/tailwind/dist/css/generate.cjs +14 -16
- package/dist/tailwind/dist/css/generate.d.ts +0 -1
- package/dist/tailwind/dist/css/generate.d.ts.map +1 -1
- package/dist/tailwind/dist/css/generate.helpers.cjs +18 -20
- package/dist/tailwind/dist/css/generate.helpers.js +1 -2
- package/dist/tailwind/dist/css/generate.helpers.js.map +1 -1
- package/dist/tailwind/dist/css/generate.js +1 -2
- package/dist/tailwind/dist/css/generate.js.map +1 -1
- package/dist/tailwind/dist/css/nodeUtils.cjs +9 -11
- package/dist/tailwind/dist/css/nodeUtils.js +1 -2
- package/dist/tailwind/dist/css/nodeUtils.js.map +1 -1
- package/dist/tailwind/dist/css/postcss.cjs +2 -4
- package/dist/tailwind/dist/css/postcss.helpers.cjs +1 -3
- package/dist/tailwind/dist/css/postcss.helpers.js +1 -1
- package/dist/tailwind/dist/css/postcss.helpers.js.map +1 -1
- package/dist/tailwind/dist/css/postcss.js +1 -2
- package/dist/tailwind/dist/css/postcss.js.map +1 -1
- package/dist/tailwind/dist/css/runner.cjs +16 -18
- package/dist/tailwind/dist/css/runner.helpers.cjs +3 -5
- package/dist/tailwind/dist/css/runner.helpers.js +1 -2
- package/dist/tailwind/dist/css/runner.helpers.js.map +1 -1
- package/dist/tailwind/dist/css/runner.js +3 -4
- package/dist/tailwind/dist/css/runner.js.map +1 -1
- package/dist/tailwind/dist/css/theme.cjs +1 -3
- package/dist/tailwind/dist/css/theme.js +1 -1
- package/dist/tailwind/dist/css/utils.cjs +3 -5
- package/dist/tailwind/dist/css/utils.js +1 -2
- package/dist/tailwind/dist/css/utils.js.map +1 -1
- package/dist/tailwind/dist/css-tokens/dist/index.cjs +37 -41
- package/dist/tailwind/dist/css-tokens/dist/index.js +36 -38
- package/dist/tailwind/dist/css-tokens/dist/index.js.map +1 -1
- package/dist/tailwind/dist/fixtures/dist/index.cjs +16 -20
- package/dist/tailwind/dist/fixtures/dist/index.js +16 -18
- package/dist/tailwind/dist/fixtures/dist/index.js.map +1 -1
- package/dist/tailwind/dist/fonts/dist/index.cjs +22 -14
- package/dist/tailwind/dist/fonts/dist/index.d.cts.map +1 -1
- package/dist/tailwind/dist/fonts/dist/index.d.ts.map +1 -1
- package/dist/tailwind/dist/fonts/dist/index.js +22 -12
- package/dist/tailwind/dist/fonts/dist/index.js.map +1 -1
- package/dist/tailwind/dist/icons/src/safelist.cjs +1 -3
- package/dist/tailwind/dist/icons/src/safelist.js +1 -1
- package/dist/tailwind/dist/index.cjs +5 -6
- package/dist/tailwind/dist/index.js +1 -2
- package/dist/tailwind/dist/modes/dist/index.cjs +1 -3
- package/dist/tailwind/dist/modes/dist/index.js +1 -1
- package/dist/tailwind/dist/modes/dist/index.js.map +1 -1
- package/dist/tailwind/dist/motion-tokens/dist/index.cjs +1 -3
- package/dist/tailwind/dist/motion-tokens/dist/index.js +1 -1
- package/dist/tailwind/dist/motion-tokens/dist/index.js.map +1 -1
- package/dist/tailwind/dist/palette/dist/index.cjs +13 -3
- package/dist/tailwind/dist/palette/dist/index.js +13 -1
- package/dist/tailwind/dist/palette/dist/index.js.map +1 -1
- package/dist/tailwind/dist/plugin.cjs +22 -24
- package/dist/tailwind/dist/plugin.d.cts +3 -3
- package/dist/tailwind/dist/plugin.d.cts.map +1 -1
- package/dist/tailwind/dist/plugin.d.ts +3 -3
- package/dist/tailwind/dist/plugin.d.ts.map +1 -1
- package/dist/tailwind/dist/plugin.js +1 -2
- package/dist/tailwind/dist/plugin.js.map +1 -1
- package/dist/tailwind/dist/purger/legacy/index.d.cts +2 -0
- package/dist/tailwind/dist/purger/legacy/purgeCSS.cjs +10 -12
- package/dist/tailwind/dist/purger/legacy/purgeCSS.js +2 -3
- package/dist/tailwind/dist/purger/legacy/purgeCSS.js.map +1 -1
- package/dist/tailwind/dist/purger/legacy/purgeFromCode.cjs +4 -6
- package/dist/tailwind/dist/purger/legacy/purgeFromCode.d.cts +1 -1
- package/dist/tailwind/dist/purger/legacy/purgeFromCode.js +1 -2
- package/dist/tailwind/dist/purger/legacy/purgeFromCode.js.map +1 -1
- package/dist/tailwind/dist/purger/optimized/ast/expressions.cjs +4 -6
- package/dist/tailwind/dist/purger/optimized/ast/expressions.d.cts +2 -0
- package/dist/tailwind/dist/purger/optimized/ast/expressions.js +1 -2
- package/dist/tailwind/dist/purger/optimized/ast/expressions.js.map +1 -1
- package/dist/tailwind/dist/purger/optimized/ast/index.d.cts +2 -0
- package/dist/tailwind/dist/purger/optimized/ast/index.d.ts +1 -4
- package/dist/tailwind/dist/purger/optimized/ast/jsx.cjs +2 -4
- package/dist/tailwind/dist/purger/optimized/ast/jsx.d.cts +2 -0
- package/dist/tailwind/dist/purger/optimized/ast/jsx.d.ts +0 -1
- package/dist/tailwind/dist/purger/optimized/ast/jsx.js +2 -3
- package/dist/tailwind/dist/purger/optimized/ast/jsx.js.map +1 -1
- package/dist/tailwind/dist/purger/optimized/ast/props.d.cts +2 -0
- package/dist/tailwind/dist/purger/optimized/ast/props.d.ts +1 -1
- package/dist/tailwind/dist/purger/optimized/ast/spread.d.cts +2 -0
- package/dist/tailwind/dist/purger/optimized/ast/spread.d.ts +0 -1
- package/dist/tailwind/dist/purger/optimized/index.d.cts +3 -0
- package/dist/tailwind/dist/purger/optimized/index.d.ts +1 -4
- package/dist/tailwind/dist/purger/optimized/purge.cjs +8 -10
- package/dist/tailwind/dist/purger/optimized/purge.d.cts +2 -0
- package/dist/tailwind/dist/purger/optimized/purge.d.ts +1 -1
- package/dist/tailwind/dist/purger/optimized/purge.js +1 -2
- package/dist/tailwind/dist/purger/optimized/purge.js.map +1 -1
- package/dist/tailwind/dist/purger/optimized/purgeFromCode.cjs +4 -6
- package/dist/tailwind/dist/purger/optimized/purgeFromCode.d.cts +1 -1
- package/dist/tailwind/dist/purger/optimized/purgeFromCode.js +1 -2
- package/dist/tailwind/dist/purger/optimized/purgeFromCode.js.map +1 -1
- package/dist/tailwind/dist/purger/optimized/types.d.ts +0 -1
- package/dist/tailwind/dist/purger/optimized/types.d.ts.map +1 -1
- package/dist/tailwind/dist/purger/optimized/utils/componentAnalyzer.cjs +7 -9
- package/dist/tailwind/dist/purger/optimized/utils/componentAnalyzer.js +1 -2
- package/dist/tailwind/dist/purger/optimized/utils/componentAnalyzer.js.map +1 -1
- package/dist/tailwind/dist/purger/optimized/utils/files.cjs +4 -6
- package/dist/tailwind/dist/purger/optimized/utils/files.d.cts +2 -0
- package/dist/tailwind/dist/purger/optimized/utils/files.js +1 -2
- package/dist/tailwind/dist/purger/optimized/utils/files.js.map +1 -1
- package/dist/tailwind/dist/purger/optimized/utils/safelist.cjs +4 -6
- package/dist/tailwind/dist/purger/optimized/utils/safelist.js +1 -2
- package/dist/tailwind/dist/purger/optimized/utils/safelist.js.map +1 -1
- package/dist/tailwind/dist/purger.cjs +4 -5
- package/dist/tailwind/dist/purger.d.ts +0 -2
- package/dist/tailwind/dist/purger.js +1 -2
- package/dist/tailwind/dist/runtimeConfig/hookMetadata.cjs +1 -3
- package/dist/tailwind/dist/runtimeConfig/hookMetadata.js +1 -1
- package/dist/tailwind/dist/runtimeConfig/hookMetadata.js.map +1 -1
- package/dist/tailwind/dist/tailwind/base/addColorModeVars.cjs +6 -8
- package/dist/tailwind/dist/tailwind/base/addColorModeVars.js +1 -2
- package/dist/tailwind/dist/tailwind/base/addColorModeVars.js.map +1 -1
- package/dist/tailwind/dist/tailwind/base/addColorModeVarsV2.cjs +6 -8
- package/dist/tailwind/dist/tailwind/base/addColorModeVarsV2.js +1 -2
- package/dist/tailwind/dist/tailwind/base/addColorModeVarsV2.js.map +1 -1
- package/dist/tailwind/dist/tailwind/base/addFontFaceDeclarations.cjs +2 -4
- package/dist/tailwind/dist/tailwind/base/addFontFaceDeclarations.js +1 -2
- package/dist/tailwind/dist/tailwind/base/addFontFaceDeclarations.js.map +1 -1
- package/dist/tailwind/dist/tailwind/base/addFontVars.cjs +2 -4
- package/dist/tailwind/dist/tailwind/base/addFontVars.js +1 -2
- package/dist/tailwind/dist/tailwind/base/addFontVars.js.map +1 -1
- package/dist/tailwind/dist/tailwind/base/addMotionVars.cjs +2 -4
- package/dist/tailwind/dist/tailwind/base/addMotionVars.js +1 -2
- package/dist/tailwind/dist/tailwind/base/addMotionVars.js.map +1 -1
- package/dist/tailwind/dist/tailwind/base/addScaleModeVars.cjs +4 -6
- package/dist/tailwind/dist/tailwind/base/addScaleModeVars.js +1 -2
- package/dist/tailwind/dist/tailwind/base/addScaleModeVars.js.map +1 -1
- package/dist/tailwind/dist/tailwind/components/getFocusRingStyles.cjs +3 -4
- package/dist/tailwind/dist/tailwind/components/getFocusRingStyles.js +2 -2
- package/dist/tailwind/dist/tailwind/components/getFocusRingStyles.js.map +1 -1
- package/dist/tailwind/dist/tailwind/components/getGroupedTextStyles.cjs +10 -6
- package/dist/tailwind/dist/tailwind/components/getGroupedTextStyles.js +7 -2
- package/dist/tailwind/dist/tailwind/components/getGroupedTextStyles.js.map +1 -1
- package/dist/tailwind/dist/tailwind/components/getHitTargetStyles.cjs +1 -3
- package/dist/tailwind/dist/tailwind/components/getHitTargetStyles.js +1 -1
- package/dist/tailwind/dist/tailwind/components/getIconStyles.cjs +1 -3
- package/dist/tailwind/dist/tailwind/components/getIconStyles.js +1 -1
- package/dist/tailwind/dist/tailwind/components/getInputStyles.cjs +1 -3
- package/dist/tailwind/dist/tailwind/components/getInputStyles.js +1 -1
- package/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.cjs +7 -9
- package/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.js +1 -2
- package/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.js.map +1 -1
- package/dist/tailwind/dist/tailwind/defaultTailwindThemeAsUdsConfig.cjs +1 -3
- package/dist/tailwind/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts +1 -1
- package/dist/tailwind/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts +1 -1
- package/dist/tailwind/dist/tailwind/defaultTailwindThemeAsUdsConfig.js +1 -1
- package/dist/tailwind/dist/tailwind/plugins/a11y.cjs +21 -7
- package/dist/tailwind/dist/tailwind/plugins/a11y.js +17 -2
- package/dist/tailwind/dist/tailwind/plugins/a11y.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.cjs +4 -6
- package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/blurBgFallback.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/borderRadius.cjs +7 -9
- package/dist/tailwind/dist/tailwind/plugins/borderRadius.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/borderRadius.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/borderWidth.cjs +7 -9
- package/dist/tailwind/dist/tailwind/plugins/borderWidth.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/borderWidth.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/breakpoints.cjs +7 -9
- package/dist/tailwind/dist/tailwind/plugins/breakpoints.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/breakpoints.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/colors.cjs +73 -15
- package/dist/tailwind/dist/tailwind/plugins/colors.js +62 -3
- package/dist/tailwind/dist/tailwind/plugins/colors.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/components.cjs +6 -8
- package/dist/tailwind/dist/tailwind/plugins/components.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/components.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/elevation.cjs +9 -11
- package/dist/tailwind/dist/tailwind/plugins/elevation.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/elevation.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/getTailwindAsUdsColors.cjs +3 -5
- package/dist/tailwind/dist/tailwind/plugins/getTailwindAsUdsColors.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/getTailwindAsUdsColors.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/icons.cjs +4 -6
- package/dist/tailwind/dist/tailwind/plugins/icons.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/icons.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/input.cjs +4 -6
- package/dist/tailwind/dist/tailwind/plugins/input.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/input.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/motion.cjs +4 -6
- package/dist/tailwind/dist/tailwind/plugins/motion.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/motion.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/nestedBorderRadius.cjs +6 -8
- package/dist/tailwind/dist/tailwind/plugins/nestedBorderRadius.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/nestedBorderRadius.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/scaleMode.cjs +5 -7
- package/dist/tailwind/dist/tailwind/plugins/scaleMode.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/scaleMode.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/shadows.cjs +6 -8
- package/dist/tailwind/dist/tailwind/plugins/shadows.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/shadows.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/sizing.cjs +5 -7
- package/dist/tailwind/dist/tailwind/plugins/sizing.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/sizing.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/spacing.cjs +3 -5
- package/dist/tailwind/dist/tailwind/plugins/spacing.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/spacing.js.map +1 -1
- package/dist/tailwind/dist/tailwind/plugins/typography.cjs +14 -16
- package/dist/tailwind/dist/tailwind/plugins/typography.js +1 -2
- package/dist/tailwind/dist/tailwind/plugins/typography.js.map +1 -1
- package/dist/tailwind/dist/tailwind/theme/getFontFamilyTheme.cjs +4 -6
- package/dist/tailwind/dist/tailwind/theme/getFontFamilyTheme.js +1 -2
- package/dist/tailwind/dist/tailwind/theme/getFontFamilyTheme.js.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.cjs +4 -6
- package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.d.cts +3 -3
- package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.d.cts.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.d.ts +3 -3
- package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.d.ts.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.js +1 -2
- package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.js.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.cjs +8 -10
- package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.d.cts +0 -1
- package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.d.cts.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.d.ts +0 -1
- package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.d.ts.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.js +1 -2
- package/dist/tailwind/dist/tailwind/utils/composeTailwindPlugins.js.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/getColorModeStyles.cjs +1 -3
- package/dist/tailwind/dist/tailwind/utils/getColorModeStyles.js +1 -1
- package/dist/tailwind/dist/tailwind/utils/getColorModeStyles.js.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/getElevationStyles.cjs +5 -7
- package/dist/tailwind/dist/tailwind/utils/getElevationStyles.js +1 -2
- package/dist/tailwind/dist/tailwind/utils/getElevationStyles.js.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/getFontFaceDeclarations.cjs +2 -4
- package/dist/tailwind/dist/tailwind/utils/getFontFaceDeclarations.js +1 -2
- package/dist/tailwind/dist/tailwind/utils/getFontFaceDeclarations.js.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.cjs +5 -7
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.cts +1 -1
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.d.ts +1 -1
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.js +1 -2
- package/dist/tailwind/dist/tailwind/utils/getFontStyles.js.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/getMotionStyles.cjs +5 -7
- package/dist/tailwind/dist/tailwind/utils/getMotionStyles.js +1 -2
- package/dist/tailwind/dist/tailwind/utils/getMotionStyles.js.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/getNestedBorderRadiusUtilities.cjs +1 -3
- package/dist/tailwind/dist/tailwind/utils/getNestedBorderRadiusUtilities.js +1 -1
- package/dist/tailwind/dist/tailwind/utils/getScaleModeStyles.cjs +1 -3
- package/dist/tailwind/dist/tailwind/utils/getScaleModeStyles.js +1 -1
- package/dist/tailwind/dist/tailwind/utils/getShadowPresetValues.cjs +3 -5
- package/dist/tailwind/dist/tailwind/utils/getShadowPresetValues.js +1 -2
- package/dist/tailwind/dist/tailwind/utils/getShadowPresetValues.js.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.cjs +6 -8
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.js +4 -5
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.js.map +1 -1
- package/dist/tailwind/dist/types/dist/index.d.cts.map +1 -1
- package/dist/tailwind/dist/types/dist/index.d.ts.map +1 -1
- package/dist/tailwind/dist/utils/assertUnreachable.cjs +1 -3
- package/dist/tailwind/dist/utils/assertUnreachable.js +1 -1
- package/dist/tailwind/dist/utils/entries.cjs +1 -3
- package/dist/tailwind/dist/utils/entries.js +1 -1
- package/dist/tailwind/dist/utils/entryPoints.cjs +4 -6
- package/dist/tailwind/dist/utils/entryPoints.js +1 -2
- package/dist/tailwind/dist/utils/entryPoints.js.map +1 -1
- package/dist/tailwind/dist/utils/fromEntries.cjs +1 -3
- package/dist/tailwind/dist/utils/fromEntries.js +1 -1
- package/dist/tailwind/dist/utils/generatePurgeCSSData.cjs +11 -15
- package/dist/tailwind/dist/utils/generatePurgeCSSData.js +2 -5
- package/dist/tailwind/dist/utils/generatePurgeCSSData.js.map +1 -1
- package/dist/tailwind/dist/utils/mapValues.cjs +1 -3
- package/dist/tailwind/dist/utils/mapValues.js +1 -1
- package/dist/tailwind/dist/utils/opacity.cjs +3 -5
- package/dist/tailwind/dist/utils/opacity.js +1 -2
- package/dist/tailwind/dist/utils/opacity.js.map +1 -1
- package/dist/tailwind/dist/utils/optimizeCSS.cjs +3 -5
- package/dist/tailwind/dist/utils/optimizeCSS.js +1 -2
- package/dist/tailwind/dist/utils/optimizeCSS.js.map +1 -1
- package/dist/tailwind/dist/utils/parseTokens.cjs +7 -9
- package/dist/tailwind/dist/utils/parseTokens.js +3 -4
- package/dist/tailwind/dist/utils/parseTokens.js.map +1 -1
- package/dist/tailwind/dist/utils/postcssPreserveVars.cjs +1 -3
- package/dist/tailwind/dist/utils/postcssPreserveVars.js +1 -1
- package/dist/tailwind/dist/utils/tsMorph.cjs +4 -6
- package/dist/tailwind/dist/utils/tsMorph.js +1 -2
- package/dist/tailwind/dist/utils/tsMorph.js.map +1 -1
- package/dist/tailwind/dist/utils.cjs +12 -13
- package/dist/tailwind/dist/utils.js +1 -2
- package/dist/tailwind/plugin.cjs +5 -6
- package/dist/tailwind/plugin.js +1 -2
- package/dist/tailwind/purger.cjs +3 -4
- package/dist/tailwind/purger.js +1 -2
- package/dist/tailwind/utils.cjs +12 -13
- package/dist/tailwind/utils.d.cts +0 -1
- package/dist/tailwind/utils.d.ts +0 -1
- package/dist/tailwind/utils.js +1 -2
- package/dist/tokens/automation/configs/index.cjs +3 -4
- package/dist/tokens/automation/configs/index.js +1 -2
- package/dist/tokens/automation/index.cjs +16 -17
- package/dist/tokens/automation/index.js +1 -2
- package/dist/tokens/automation/properties.cjs +3 -4
- package/dist/tokens/automation/properties.js +1 -2
- package/dist/tokens/configs/borderRadius.cjs +2 -4
- package/dist/tokens/configs/borderRadius.d.cts +1 -3
- package/dist/tokens/configs/borderRadius.d.ts +1 -3
- package/dist/tokens/configs/borderRadius.js +1 -2
- package/dist/tokens/configs/borderWidth.cjs +2 -4
- package/dist/tokens/configs/borderWidth.d.cts +1 -3
- package/dist/tokens/configs/borderWidth.d.ts +1 -3
- package/dist/tokens/configs/borderWidth.js +1 -2
- package/dist/tokens/configs/font.cjs +2 -4
- package/dist/tokens/configs/font.d.cts +1 -3
- package/dist/tokens/configs/font.d.ts +1 -3
- package/dist/tokens/configs/font.js +1 -2
- package/dist/tokens/configs/motion.cjs +3 -4
- package/dist/tokens/configs/motion.js +1 -2
- package/dist/tokens/configs/palette/alwaysPalette.cjs +3 -4
- package/dist/tokens/configs/palette/alwaysPalette.js +1 -2
- package/dist/tokens/configs/palette/index.cjs +3 -4
- package/dist/tokens/configs/palette/index.js +1 -2
- package/dist/tokens/configs/scaleMode.cjs +5 -7
- package/dist/tokens/configs/scaleMode.d.cts +1 -3
- package/dist/tokens/configs/scaleMode.d.ts +1 -3
- package/dist/tokens/configs/scaleMode.js +1 -3
- package/dist/tokens/configs/shadow.cjs +2 -4
- package/dist/tokens/configs/shadow.d.cts +1 -3
- package/dist/tokens/configs/shadow.d.ts +1 -3
- package/dist/tokens/configs/shadow.js +1 -2
- package/dist/tokens/configs/sizes.cjs +3 -5
- package/dist/tokens/configs/sizes.d.cts +1 -3
- package/dist/tokens/configs/sizes.d.ts +1 -3
- package/dist/tokens/configs/sizes.js +1 -3
- package/dist/tokens/configs/typography.cjs +2 -4
- package/dist/tokens/configs/typography.d.cts +1 -3
- package/dist/tokens/configs/typography.d.ts +1 -3
- package/dist/tokens/configs/typography.js +1 -2
- package/dist/tokens/consts/cssTokens.cjs +3 -4
- package/dist/tokens/consts/cssTokens.js +1 -2
- package/dist/tokens/consts/defaultModes.cjs +3 -4
- package/dist/tokens/consts/defaultModes.js +1 -2
- package/dist/tokens/consts/fontDeclarationsMap.cjs +3 -4
- package/dist/tokens/consts/fontDeclarationsMap.js +1 -2
- package/dist/tokens/index.cjs +28 -29
- package/dist/tokens/index.d.cts +2 -6
- package/dist/tokens/index.d.ts +2 -6
- package/dist/tokens/index.js +1 -2
- package/dist/tokens/parseButtonVariants.cjs +2 -4
- package/dist/tokens/parseButtonVariants.d.cts +1 -3
- package/dist/tokens/parseButtonVariants.d.ts +1 -3
- package/dist/tokens/parseButtonVariants.js +1 -2
- package/dist/tokens/parseTokens.cjs +3 -4
- package/dist/tokens/parseTokens.d.cts +0 -1
- package/dist/tokens/parseTokens.d.ts +0 -1
- package/dist/tokens/parseTokens.js +1 -2
- package/dist/tokens/types.d.cts +7 -7
- package/dist/tokens/types.d.ts +7 -7
- package/dist/tokens/utils/entries.cjs +2 -4
- package/dist/tokens/utils/entries.js +1 -2
- package/dist/tokens/utils/fromEntries.cjs +2 -4
- package/dist/tokens/utils/fromEntries.js +1 -2
- package/dist/tokens/utils/getFontUrls.cjs +4 -6
- package/dist/tokens/utils/getFontUrls.d.cts +0 -3
- package/dist/tokens/utils/getFontUrls.d.ts +0 -3
- package/dist/tokens/utils/getFontUrls.js +1 -3
- package/dist/tokens/utils/mapValues.cjs +2 -4
- package/dist/tokens/utils/mapValues.js +1 -2
- package/dist/tokens/utils/spectrum.cjs +2 -4
- package/dist/tokens/utils/spectrum.d.cts +1 -3
- package/dist/tokens/utils/spectrum.d.ts +1 -3
- package/dist/tokens/utils/spectrum.js +1 -2
- package/dist/types/{src → dist}/index.d.cts +23 -35
- package/dist/types/{src → dist}/index.d.ts +23 -35
- package/dist/uds/generated/componentData.cjs +2040 -2062
- package/dist/uds/generated/componentData.js +1514 -1529
- package/dist/uds/generated/tailwindPurge.cjs +105 -131
- package/dist/uds/generated/tailwindPurge.js +105 -130
- package/dist/uds/package.cjs +7 -9
- package/dist/uds/package.js +2 -3
- package/dist/utils/assertUnreachable.cjs +2 -4
- package/dist/utils/assertUnreachable.js +1 -2
- package/dist/utils/composeRefs.cjs +2 -4
- package/dist/utils/composeRefs.js +1 -2
- package/dist/utils/createSlot.cjs +4 -6
- package/dist/utils/createSlot.js +1 -3
- package/dist/utils/entries.cjs +2 -4
- package/dist/utils/entries.js +1 -2
- package/dist/utils/falsyToString.cjs +2 -4
- package/dist/utils/falsyToString.js +1 -2
- package/dist/utils/fromEntries.cjs +2 -4
- package/dist/utils/fromEntries.js +1 -2
- package/dist/utils/getUnscaledAnchorRect.cjs +2 -4
- package/dist/utils/getUnscaledAnchorRect.js +1 -2
- package/dist/utils/intersperse.cjs +4 -6
- package/dist/utils/intersperse.d.cts +2 -2
- package/dist/utils/intersperse.d.ts +2 -2
- package/dist/utils/intersperse.js +1 -3
- package/dist/utils/isElevationAlias.cjs +3 -5
- package/dist/utils/isElevationAlias.d.cts +1 -1
- package/dist/utils/isElevationAlias.d.ts +1 -1
- package/dist/utils/isElevationAlias.js +1 -3
- package/dist/utils/mapValues.cjs +2 -4
- package/dist/utils/mapValues.js +1 -2
- package/dist/utils/mergeSlotProps.cjs +3 -5
- package/dist/utils/mergeSlotProps.js +1 -3
- package/dist/utils/parseShadow.cjs +2 -4
- package/dist/utils/parseShadow.js +1 -2
- package/dist/utils/svgFloatingContentUtils.cjs +4 -8
- package/dist/utils/svgFloatingContentUtils.js +3 -6
- package/generated/componentData.json +2047 -2055
- package/generated/tailwindPurge.ts +3 -3
- package/package.json +2 -2
- package/dist/components/Avatar/AvatarImage.types.cjs +0 -1
- package/dist/components/Avatar/AvatarImage.types.d.cts +0 -19
- package/dist/components/Avatar/AvatarImage.types.d.ts +0 -19
- package/dist/components/Avatar/AvatarImage.types.js +0 -1
- package/dist/components/Avatar/AvatarImageNoFallback.cjs +0 -53
- package/dist/components/Avatar/AvatarImageNoFallback.d.cts +0 -18
- package/dist/components/Avatar/AvatarImageNoFallback.d.ts +0 -18
- package/dist/components/Avatar/AvatarImageNoFallback.js +0 -51
- package/dist/components/Avatar/index.cjs +0 -11
- package/dist/components/Avatar/index.d.cts +0 -6
- package/dist/components/Avatar/index.d.ts +0 -6
- package/dist/components/Avatar/index.js +0 -7
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
|
-
const require_index = require(
|
|
3
|
-
const require_assertUnreachable = require(
|
|
4
|
-
|
|
2
|
+
const require_index = require("../../css-tokens/dist/index.cjs");
|
|
3
|
+
const require_assertUnreachable = require("./utils/assertUnreachable.cjs");
|
|
5
4
|
//#region ../automated-config/dist/mapTextVariantFixtureToValue.js
|
|
6
5
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
7
6
|
const mapTextVariantFixtureToValue = (key) => (selected, value) => {
|
|
@@ -15,6 +14,5 @@ const mapTextVariantFixtureToValue = (key) => (selected, value) => {
|
|
|
15
14
|
}
|
|
16
15
|
return require_assertUnreachable.assertUnreachable(key);
|
|
17
16
|
};
|
|
18
|
-
|
|
19
17
|
//#endregion
|
|
20
|
-
exports.mapTextVariantFixtureToValue = mapTextVariantFixtureToValue;
|
|
18
|
+
exports.mapTextVariantFixtureToValue = mapTextVariantFixtureToValue;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
2
|
import { textVariantsSafe } from "../../css-tokens/dist/index.js";
|
|
3
3
|
import { assertUnreachable } from "./utils/assertUnreachable.js";
|
|
4
|
-
|
|
5
4
|
//#region ../automated-config/dist/mapTextVariantFixtureToValue.js
|
|
6
5
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
7
6
|
const mapTextVariantFixtureToValue = (key) => (selected, value) => {
|
|
@@ -15,7 +14,7 @@ const mapTextVariantFixtureToValue = (key) => (selected, value) => {
|
|
|
15
14
|
}
|
|
16
15
|
return assertUnreachable(key);
|
|
17
16
|
};
|
|
18
|
-
|
|
19
17
|
//#endregion
|
|
20
18
|
export { mapTextVariantFixtureToValue };
|
|
19
|
+
|
|
21
20
|
//# sourceMappingURL=mapTextVariantFixtureToValue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapTextVariantFixtureToValue.js","names":[],"sources":["../../../../automated-config/dist/mapTextVariantFixtureToValue.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\nimport { assertUnreachable } from \"./utils/assertUnreachable.js\";\nimport { textVariantsSafe } from \"@yahoo/uds-css-tokens\";\n
|
|
1
|
+
{"version":3,"file":"mapTextVariantFixtureToValue.js","names":[],"sources":["../../../../automated-config/dist/mapTextVariantFixtureToValue.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\nimport { assertUnreachable } from \"./utils/assertUnreachable.js\";\nimport { textVariantsSafe } from \"@yahoo/uds-css-tokens\";\n//#region src/mapTextVariantFixtureToValue.ts\nconst mapTextVariantFixtureToValue = (key) => (selected, value) => {\n\tswitch (key) {\n\t\tcase \"fontFamily\": return `udsFontFamily[${textVariantsSafe(value)}]`;\n\t\tcase \"fontSize\": return `udsFontSize[${textVariantsSafe(value)}]`;\n\t\tcase \"lineHeight\": return `udsLineHeight[${textVariantsSafe(value)}]`;\n\t\tcase \"letterSpacing\": return `udsLetterSpacing[${textVariantsSafe(value)}]`;\n\t\tcase \"textTransform\": return `udsTextTransform[${textVariantsSafe(value)}]`;\n\t\tcase \"fontWeight\": return `udsFontWeight[${textVariantsSafe(value)}]`;\n\t}\n\treturn assertUnreachable(key);\n};\n//#endregion\nexport { mapTextVariantFixtureToValue };\n\n//# sourceMappingURL=mapTextVariantFixtureToValue.js.map"],"mappings":";;;;;AAIA,MAAM,gCAAgC,SAAS,UAAU,UAAU;AAClE,SAAQ,KAAR;EACC,KAAK,aAAc,QAAO,iBAAiB,iBAAiB,MAAM,CAAC;EACnE,KAAK,WAAY,QAAO,eAAe,iBAAiB,MAAM,CAAC;EAC/D,KAAK,aAAc,QAAO,iBAAiB,iBAAiB,MAAM,CAAC;EACnE,KAAK,gBAAiB,QAAO,oBAAoB,iBAAiB,MAAM,CAAC;EACzE,KAAK,gBAAiB,QAAO,oBAAoB,iBAAiB,MAAM,CAAC;EACzE,KAAK,aAAc,QAAO,iBAAiB,iBAAiB,MAAM,CAAC;;AAEpE,QAAO,kBAAkB,IAAI"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
|
-
const require_index = require(
|
|
3
|
-
const require_assertUnreachable = require(
|
|
4
|
-
const require_mapTextVariantFixtureToValue = require(
|
|
5
|
-
const require_mapColorFixtureToValue = require(
|
|
6
|
-
const require_index$1 = require(
|
|
7
|
-
|
|
2
|
+
const require_index = require("../../css-tokens/dist/index.cjs");
|
|
3
|
+
const require_assertUnreachable = require("./utils/assertUnreachable.cjs");
|
|
4
|
+
const require_mapTextVariantFixtureToValue = require("./mapTextVariantFixtureToValue.cjs");
|
|
5
|
+
const require_mapColorFixtureToValue = require("./utils/mapColorFixtureToValue.cjs");
|
|
6
|
+
const require_index$1 = require("../../motion-tokens/dist/index.cjs");
|
|
8
7
|
//#region ../automated-config/dist/properties.js
|
|
9
8
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
10
9
|
const isInputWrapperCtx = (context) => {
|
|
@@ -449,8 +448,7 @@ const publicProperties = {
|
|
|
449
448
|
},
|
|
450
449
|
customValueRenderer: (schemaValue) => {
|
|
451
450
|
const value = schemaValue.value;
|
|
452
|
-
|
|
453
|
-
return String(require_index$1.SCALE_EFFECTS[stringValue] ?? require_index$1.SCALE_EFFECTS.none);
|
|
451
|
+
return String(require_index$1.SCALE_EFFECTS[String(value)] ?? require_index$1.SCALE_EFFECTS.none);
|
|
454
452
|
}
|
|
455
453
|
},
|
|
456
454
|
backdropBlur: {
|
|
@@ -515,6 +513,5 @@ const configurableProperties = {
|
|
|
515
513
|
...publicProperties,
|
|
516
514
|
...internalProperties
|
|
517
515
|
};
|
|
518
|
-
|
|
519
516
|
//#endregion
|
|
520
|
-
exports.configurableProperties = configurableProperties;
|
|
517
|
+
exports.configurableProperties = configurableProperties;
|
|
@@ -4,7 +4,6 @@ import { assertUnreachable } from "./utils/assertUnreachable.js";
|
|
|
4
4
|
import { mapTextVariantFixtureToValue } from "./mapTextVariantFixtureToValue.js";
|
|
5
5
|
import { mapColorFixtureToValue } from "./utils/mapColorFixtureToValue.js";
|
|
6
6
|
import { SCALE_EFFECTS } from "../../motion-tokens/dist/index.js";
|
|
7
|
-
|
|
8
7
|
//#region ../automated-config/dist/properties.js
|
|
9
8
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
10
9
|
const isInputWrapperCtx = (context) => {
|
|
@@ -449,8 +448,7 @@ const publicProperties = {
|
|
|
449
448
|
},
|
|
450
449
|
customValueRenderer: (schemaValue) => {
|
|
451
450
|
const value = schemaValue.value;
|
|
452
|
-
|
|
453
|
-
return String(SCALE_EFFECTS[stringValue] ?? SCALE_EFFECTS.none);
|
|
451
|
+
return String(SCALE_EFFECTS[String(value)] ?? SCALE_EFFECTS.none);
|
|
454
452
|
}
|
|
455
453
|
},
|
|
456
454
|
backdropBlur: {
|
|
@@ -515,7 +513,7 @@ const configurableProperties = {
|
|
|
515
513
|
...publicProperties,
|
|
516
514
|
...internalProperties
|
|
517
515
|
};
|
|
518
|
-
|
|
519
516
|
//#endregion
|
|
520
517
|
export { configurableProperties };
|
|
518
|
+
|
|
521
519
|
//# sourceMappingURL=properties.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"properties.js","names":[],"sources":["../../../../automated-config/dist/properties.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\nimport { assertUnreachable } from \"./utils/assertUnreachable.js\";\nimport { mapTextVariantFixtureToValue } from \"./mapTextVariantFixtureToValue.js\";\nimport { mapColorFixtureToValue } from \"./utils/mapColorFixtureToValue.js\";\nimport { BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BUTTON_SCALE_EFFECT, DROP_SHADOW_PREFIX, getShadowLayerValue, textVariantsSafe } from \"@yahoo/uds-css-tokens\";\nimport { SCALE_EFFECTS } from \"@yahoo/uds-motion-tokens\";\n\n//#region src/properties.ts\nconst isInputWrapperCtx = (context) => {\n\treturn context.componentName === \"input\" && context.layer === \"inputWrapper\";\n};\nconst hexToRgb = (hex) => {\n\thex = hex.replace(\"#\", \"\");\n\tif (hex.length === 3) hex = hex.split(\"\").map((char) => char + char).join(\"\");\n\treturn `${parseInt(hex.substring(0, 2), 16)} ${parseInt(hex.substring(2, 4), 16)} ${parseInt(hex.substring(4, 6), 16)}`;\n};\nconst backgroundColor = {\n\tname: \"backgroundColor\",\n\tcssProperties: \"background-color\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\n\t\t\"backgroundPaletteColors\",\n\t\t\"spectrumColors\",\n\t\t\"alwaysPaletteAliases\",\n\t\t\"elevationAliases\"\n\t],\n\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\tif (type === \"elevationAliases\") return `var(--uds-background-color-${value})`;\n\t\treturn theme(mapColorFixtureToValue(type, value));\n\t}\n};\nconst color = {\n\tname: \"color\",\n\tcssProperties: \"color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"foregroundPaletteColors\"\n\t]\n};\nconst fontSize = {\n\tname: \"fontSize\",\n\tcssProperties: \"font-size\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontSize\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst fontVariationSettings = {\n\tname: \"fontVariationSettings\",\n\tcssProperties: \"font-variation-settings\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\"textVariants\"],\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst { value: rawValue } = schemaValue;\n\t\tconst value = textVariantsSafe(rawValue);\n\t\treturn `\"wght\" var(--uds-font-weight-${value}), \"slnt\" var(--uds-font-slant-${value}), \"ital\" var(--uds-font-slant-${value}), \"wdth\" var(--uds-font-width-${value})`;\n\t}\n};\nconst fontWeight = {\n\tname: \"fontWeight\",\n\tcssProperties: \"font-weight\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontWeight\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst fontFamily = {\n\tname: \"fontFamily\",\n\tcssProperties: \"font-family\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontFamily\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst textTransform = {\n\tname: \"textTransform\",\n\tcssProperties: \"text-transform\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"textTransform\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst lineHeight = {\n\tname: \"lineHeight\",\n\tcssProperties: \"line-height\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"lineHeight\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst letterSpacing = {\n\tname: \"letterSpacing\",\n\tcssProperties: \"letter-spacing\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"letterSpacing\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst textVariant = {\n\tname: \"textVariant\",\n\tcssProperties: [],\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\"textVariants\"],\n\textendedProperties: [\n\t\t\"fontSize\",\n\t\t\"fontWeight\",\n\t\t\"fontFamily\",\n\t\t\"lineHeight\",\n\t\t\"textTransform\",\n\t\t\"fontVariationSettings\",\n\t\t\"letterSpacing\"\n\t]\n};\nconst textDecorationLine = {\n\tname: \"textDecorationLine\",\n\tcssProperties: \"text-decoration-line\",\n\tpossibleFixtures: [\"textDecorationLines\"],\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tcustomValueRenderer: (schemaValue) => {\n\t\treturn String(schemaValue.value);\n\t}\n};\nconst gap = {\n\tname: \"gap\",\n\tcssProperties: \"gap\",\n\ttwThemePath: (fixtureType, value) => fixtureType === \"spacingAliases\" ? `spacing[${value}]` : \"\",\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst borderWidth = {\n\tname: \"borderWidth\",\n\tcssProperties: \"border-width\",\n\ttwThemePath: (fixtureType, value) => {\n\t\tswitch (fixtureType) {\n\t\t\tcase \"borderWidths\":\n\t\t\tcase \"elevationAliases\": return `udsBorderWidth[${value}]`;\n\t\t\tcase \"spacingAliases\": return `spacing[${value}]`;\n\t\t}\n\t\treturn assertUnreachable(fixtureType);\n\t},\n\tpossibleFixtures: [\n\t\t\"borderWidths\",\n\t\t\"spacingAliases\",\n\t\t\"elevationAliases\"\n\t],\n\textendedProperties: (context) => {\n\t\tif (isInputWrapperCtx(context)) return [\n\t\t\t\"outlineWidth\",\n\t\t\t\"insetOutlineOffset\",\n\t\t\t\"solidOutline\"\n\t\t];\n\t\treturn false;\n\t}\n};\nconst strokeWidth = {\n\t...borderWidth,\n\tname: \"strokeWidth\",\n\tcssProperties: \"stroke-width\"\n};\nconst underlineWidth = {\n\t...borderWidth,\n\tname: \"underlineWidth\",\n\tcssProperties: \"border-bottom-width\"\n};\nconst borderColor = {\n\tname: \"borderColor\",\n\tcssProperties: \"border-color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"linePaletteColors\",\n\t\t\"elevationAliases\"\n\t],\n\textendedProperties: (context) => {\n\t\tif (isInputWrapperCtx(context)) return [\"outlineColor\"];\n\t\treturn false;\n\t}\n};\nconst stroke = {\n\t...borderColor,\n\tname: \"stroke\",\n\tcssProperties: \"stroke\"\n};\nconst underlineColor = {\n\t...borderColor,\n\tname: \"underlineColor\",\n\tcssProperties: \"border-bottom-color\"\n};\nconst outlineWidth = {\n\tname: \"outlineWidth\",\n\tcssProperties: \"outline-width\",\n\ttwThemePath: (type, value) => type === \"borderWidths\" ? `udsBorderWidth[${value}]` : `spacing[${value}]`,\n\tpossibleFixtures: [\"borderWidths\", \"spacingAliases\"]\n};\nconst solidOutline = {\n\tname: \"solidOutline\",\n\tcssProperties: \"outline-style\",\n\ttwThemePath: () => \"\",\n\tcustomValueRenderer: () => \"solid\",\n\tpossibleFixtures: []\n};\nconst insetOutlineOffset = {\n\tname: \"insetOutlineOffset\",\n\tcssProperties: \"outline-offset\",\n\ttwThemePath: () => \"\",\n\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\treturn `calc(-1 * ${type === \"borderWidths\" ? theme(`udsBorderWidth[${value}]`) : theme(`spacing[${value}]`)})`;\n\t},\n\tpossibleFixtures: [\"borderWidths\", \"spacingAliases\"]\n};\nconst outlineColor = {\n\tname: \"outlineColor\",\n\tcssProperties: \"outline-color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"linePaletteColors\"\n\t]\n};\nconst borderRadius = {\n\tname: \"borderRadius\",\n\tcssProperties: \"border-radius\",\n\ttwThemePath: (_, value) => `udsBorderRadius.${value}`,\n\tpossibleFixtures: [\"borderRadii\"]\n};\nconst borderRadiusVar = {\n\t...borderRadius,\n\tname: \"borderRadiusVar\",\n\tcssProperties: `--${BORDER_RADIUS_PREFIX}`\n};\nconst spacing = {\n\tname: \"spacing\",\n\tcssProperties: \"padding\",\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst spacingHorizontal = {\n\tname: \"spacingHorizontal\",\n\tcssProperties: [\"padding-right\", \"padding-left\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst spacingVertical = {\n\tname: \"spacingVertical\",\n\tcssProperties: [\"padding-top\", \"padding-bottom\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst horizontalMargin = {\n\tname: \"horizontalMargin\",\n\tcssProperties: [\"margin-left\", \"margin-right\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst bottomMargin = {\n\tname: \"bottomMargin\",\n\tcssProperties: \"margin-bottom\",\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst height = {\n\tname: \"height\",\n\tcssProperties: \"height\",\n\ttwThemePath: (_, value) => {\n\t\treturn `height[${value}]`;\n\t},\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst width = {\n\tname: \"width\",\n\tcssProperties: \"width\",\n\ttwThemePath: (_, value) => {\n\t\treturn `width[${value}]`;\n\t},\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst shadow = {\n\tname: \"drop shadow\",\n\tcssProperties: \"box-shadow\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tconcatenate: true,\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst shadowType = \"drop\";\n\t\tconst noneValue = \"0 0 0 transparent\";\n\t\tif (schemaValue.valueType === \"alias\") {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value !== \"custom\") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;\n\t\t} else if (schemaValue.valueType === \"custom\") return schemaValue.value.map((preset, index) => getShadowLayerValue({\n\t\t\tpreset,\n\t\t\tshadowType,\n\t\t\tprefix: index > 0 ? `${index + 1}` : void 0\n\t\t}))?.join(\", \") || noneValue;\n\t\tthrow new Error(\"Invalid valueType\");\n\t},\n\tpossibleFixtures: [\n\t\t\"shadowVariants\",\n\t\t\"shadowVariantConfig\",\n\t\t\"elevationAliases\"\n\t]\n};\nconst insetShadow = {\n\tname: \"inset shadow\",\n\tcssProperties: \"box-shadow\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tconcatenate: true,\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst shadowType = \"inset\";\n\t\tconst noneValue = \"0 0 0 transparent\";\n\t\tif (schemaValue.valueType === \"alias\") {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value !== \"custom\") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;\n\t\t} else if (schemaValue.valueType === \"custom\") return schemaValue.value.map((preset, index) => getShadowLayerValue({\n\t\t\tpreset,\n\t\t\tshadowType,\n\t\t\tprefix: index > 0 ? `${index + 1}` : void 0\n\t\t}))?.join(\", \") || noneValue;\n\t\tthrow new Error(\"Invalid valueType\");\n\t},\n\tpossibleFixtures: [\"shadowVariantsWithInvert\"]\n};\nconst shadowVar = {\n\t...shadow,\n\tname: \"shadowVar\",\n\tcssProperties: `--${DROP_SHADOW_PREFIX}`\n};\nconst opacity = {\n\tname: \"opacity\",\n\tcssProperties: \"opacity\",\n\ttwThemePath: (_, value) => `opacity[${value}]`,\n\tpossibleFixtures: [\"opacitySteps\"]\n};\nconst publicProperties = {\n\tbackgroundColor,\n\tborderWidth,\n\tunderlineWidth,\n\tstrokeWidth,\n\tborderRadius,\n\tborderRadiusVar,\n\tborderColor,\n\tunderlineColor,\n\tstroke,\n\tbuttonSize: {\n\t\tname: \"buttonSize\",\n\t\tcssProperties: \"--uds-button-size\",\n\t\tpossibleFixtures: [\"buttonSizes\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\tbuttonVariant: {\n\t\tname: \"buttonVariant\",\n\t\tcssProperties: \"--uds-button-variant\",\n\t\tpossibleFixtures: [\"buttonVariantsFlat\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\tfontFamily,\n\tfontSize,\n\tfontVariationSettings,\n\tlineHeight,\n\ttextTransform,\n\tletterSpacing,\n\tgap,\n\tcolor,\n\topacity,\n\tfillOpacity: {\n\t\tname: \"fillOpacity\",\n\t\tcssProperties: \"fill-opacity\",\n\t\ttwThemePath: (_, value) => `opacity[${value}]`,\n\t\tpossibleFixtures: [\"opacitySteps\"]\n\t},\n\tfontWeight,\n\ticonSize: {\n\t\tname: \"iconSize\",\n\t\tcssProperties: [\"width\", \"height\"],\n\t\ttwThemePath: (_, value) => `sizing.icon.${value}`,\n\t\tpossibleFixtures: [\"iconSizes\"]\n\t},\n\tspacing,\n\ticonVariant: {\n\t\tname: \"iconVariant\",\n\t\tcssProperties: \"--uds-icon-variant\",\n\t\tpossibleFixtures: [\"iconVariants\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\thorizontalMargin,\n\tbottomMargin,\n\tspacingHorizontal,\n\tspacingVertical,\n\ttextVariant,\n\ttextDecorationLine,\n\tshadow,\n\tshadowVar,\n\tinsetShadow,\n\tbannerInnerShadow: {\n\t\tname: \"bannerInnerShadow\",\n\t\tcssProperties: \"box-shadow\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tpossibleFixtures: [\"bannerInnerShadowOptions\"],\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value === \"subtle\") return getShadowLayerValue({\n\t\t\t\tpreset: {\n\t\t\t\t\toffsetX: \"0\",\n\t\t\t\t\toffsetY: \"-5\",\n\t\t\t\t\tblur: \"5\",\n\t\t\t\t\tspread: \"-2.5\",\n\t\t\t\t\topacity: \"5\",\n\t\t\t\t\tcolor: {\n\t\t\t\t\t\ttype: \"spectrum\",\n\t\t\t\t\t\tvalue: \"carbon-12\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tshadowType: \"inset\",\n\t\t\t\tcssVarPrefix: \"--uds-banner-inset-shadow-\"\n\t\t\t});\n\t\t\tthrow new Error(\"Invalid bannerInnerShadow value\");\n\t\t}\n\t},\n\theight,\n\twidth,\n\tscaleEffect: {\n\t\tname: \"scaleEffect\",\n\t\tcssProperties: BUTTON_SCALE_EFFECT,\n\t\tpossibleFixtures: [\"scaleEffects\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\tconst value = schemaValue.value;\n\t\t\tconst stringValue = String(value);\n\t\t\treturn String(SCALE_EFFECTS[stringValue] ?? SCALE_EFFECTS.none);\n\t\t}\n\t},\n\tbackdropBlur: {\n\t\tname: \"backdropBlur\",\n\t\tpossibleFixtures: [\"positiveIntegers\"],\n\t\tcssProperties: \"--uds-backdrop-blur\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue, schema, _theme, originalPropertyDefinition) => {\n\t\t\tif (originalPropertyDefinition && originalPropertyDefinition.layerReference) {\n\t\t\t\tconst { variablePath, propertyName } = originalPropertyDefinition.layerReference;\n\t\t\t\tconst property = schema.variables[variablePath][propertyName].rest;\n\t\t\t\tif (property.type === \"elevationAliases\") return `var(--uds-background-blur-radius-${property.value})`;\n\t\t\t}\n\t\t\treturn `blur(${schemaValue.value}px)`;\n\t\t}\n\t},\n\tblurBackgroundColor: {\n\t\t...backgroundColor,\n\t\tname: \"blurBackgroundColor\",\n\t\tcssProperties: `--${BACKGROUND_BLUR_COLOR_PREFIX}`\n\t},\n\tblurBackgroundColorFallback: {\n\t\t...backgroundColor,\n\t\tname: \"blurBackgroundColorFallback\",\n\t\tcssProperties: `--${BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX}`\n\t},\n\tscrimBackgroundColor: {\n\t\tname: \"scrimBackgroundColor\",\n\t\tcssProperties: \"--uds-scrim-background-color\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tpossibleFixtures: [\n\t\t\t\"backgroundPaletteColors\",\n\t\t\t\"spectrumColors\",\n\t\t\t\"alwaysPaletteAliases\"\n\t\t],\n\t\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\t\tconst resolved = theme(mapColorFixtureToValue(type, value));\n\t\t\tif (resolved.startsWith(\"#\")) return hexToRgb(resolved) ?? resolved;\n\t\t\tif (resolved.startsWith(\"rgb(\") && resolved.endsWith(\")\")) return resolved.slice(4, -1);\n\t\t\treturn resolved;\n\t\t}\n\t},\n\tscrimOpacity: {\n\t\t...opacity,\n\t\tname: \"scrimOpacity\",\n\t\tcssProperties: \"--uds-scrim-opacity\",\n\t\ttwThemePath: () => \"\",\n\t\tcustomValueRenderer: ({ value }) => `${String(value)}%`\n\t}\n};\nconst internalProperties = {\n\toutlineWidth,\n\toutlineColor,\n\tinsetOutlineOffset,\n\tsolidOutline\n};\nconst configurableProperties = {\n\t...publicProperties,\n\t...internalProperties\n};\n\n//#endregion\nexport { configurableProperties };\n//# sourceMappingURL=properties.js.map"],"mappings":";;;;;;;;;AAQA,MAAM,qBAAqB,YAAY;AACtC,QAAO,QAAQ,kBAAkB,WAAW,QAAQ,UAAU;;AAE/D,MAAM,YAAY,QAAQ;AACzB,OAAM,IAAI,QAAQ,KAAK,GAAG;AAC1B,KAAI,IAAI,WAAW,EAAG,OAAM,IAAI,MAAM,GAAG,CAAC,KAAK,SAAS,OAAO,KAAK,CAAC,KAAK,GAAG;AAC7E,QAAO,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG,CAAC,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG,CAAC,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG;;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,SAAS,SAAS,IAAI;AAC3D,OAAI,SAAS,WAAW,OAAO,IAAI,SAAS,SAAS,IAAI,CAAE,QAAO,SAAS,MAAM,GAAG,GAAG;AACvF,UAAO;;EAER;CACD,cAAc;EACb,GAAG;EACH,MAAM;EACN,eAAe;EACf,mBAAmB;EACnB,sBAAsB,EAAE,YAAY,GAAG,OAAO,MAAM,CAAC;EACrD;CACD;AACD,MAAM,qBAAqB;CAC1B;CACA;CACA;CACA;CACA;AACD,MAAM,yBAAyB;CAC9B,GAAG;CACH,GAAG;CACH"}
|
|
1
|
+
{"version":3,"file":"properties.js","names":[],"sources":["../../../../automated-config/dist/properties.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\nimport { assertUnreachable } from \"./utils/assertUnreachable.js\";\nimport { mapTextVariantFixtureToValue } from \"./mapTextVariantFixtureToValue.js\";\nimport { mapColorFixtureToValue } from \"./utils/mapColorFixtureToValue.js\";\nimport { BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BUTTON_SCALE_EFFECT, DROP_SHADOW_PREFIX, getShadowLayerValue, textVariantsSafe } from \"@yahoo/uds-css-tokens\";\nimport { SCALE_EFFECTS } from \"@yahoo/uds-motion-tokens\";\n//#region src/properties.ts\nconst isInputWrapperCtx = (context) => {\n\treturn context.componentName === \"input\" && context.layer === \"inputWrapper\";\n};\nconst hexToRgb = (hex) => {\n\thex = hex.replace(\"#\", \"\");\n\tif (hex.length === 3) hex = hex.split(\"\").map((char) => char + char).join(\"\");\n\treturn `${parseInt(hex.substring(0, 2), 16)} ${parseInt(hex.substring(2, 4), 16)} ${parseInt(hex.substring(4, 6), 16)}`;\n};\nconst backgroundColor = {\n\tname: \"backgroundColor\",\n\tcssProperties: \"background-color\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\n\t\t\"backgroundPaletteColors\",\n\t\t\"spectrumColors\",\n\t\t\"alwaysPaletteAliases\",\n\t\t\"elevationAliases\"\n\t],\n\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\tif (type === \"elevationAliases\") return `var(--uds-background-color-${value})`;\n\t\treturn theme(mapColorFixtureToValue(type, value));\n\t}\n};\nconst color = {\n\tname: \"color\",\n\tcssProperties: \"color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"foregroundPaletteColors\"\n\t]\n};\nconst fontSize = {\n\tname: \"fontSize\",\n\tcssProperties: \"font-size\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontSize\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst fontVariationSettings = {\n\tname: \"fontVariationSettings\",\n\tcssProperties: \"font-variation-settings\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\"textVariants\"],\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst { value: rawValue } = schemaValue;\n\t\tconst value = textVariantsSafe(rawValue);\n\t\treturn `\"wght\" var(--uds-font-weight-${value}), \"slnt\" var(--uds-font-slant-${value}), \"ital\" var(--uds-font-slant-${value}), \"wdth\" var(--uds-font-width-${value})`;\n\t}\n};\nconst fontWeight = {\n\tname: \"fontWeight\",\n\tcssProperties: \"font-weight\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontWeight\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst fontFamily = {\n\tname: \"fontFamily\",\n\tcssProperties: \"font-family\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"fontFamily\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst textTransform = {\n\tname: \"textTransform\",\n\tcssProperties: \"text-transform\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"textTransform\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst lineHeight = {\n\tname: \"lineHeight\",\n\tcssProperties: \"line-height\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"lineHeight\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst letterSpacing = {\n\tname: \"letterSpacing\",\n\tcssProperties: \"letter-spacing\",\n\ttwThemePath: mapTextVariantFixtureToValue(\"letterSpacing\"),\n\tpossibleFixtures: [\"textVariants\"]\n};\nconst textVariant = {\n\tname: \"textVariant\",\n\tcssProperties: [],\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tpossibleFixtures: [\"textVariants\"],\n\textendedProperties: [\n\t\t\"fontSize\",\n\t\t\"fontWeight\",\n\t\t\"fontFamily\",\n\t\t\"lineHeight\",\n\t\t\"textTransform\",\n\t\t\"fontVariationSettings\",\n\t\t\"letterSpacing\"\n\t]\n};\nconst textDecorationLine = {\n\tname: \"textDecorationLine\",\n\tcssProperties: \"text-decoration-line\",\n\tpossibleFixtures: [\"textDecorationLines\"],\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tcustomValueRenderer: (schemaValue) => {\n\t\treturn String(schemaValue.value);\n\t}\n};\nconst gap = {\n\tname: \"gap\",\n\tcssProperties: \"gap\",\n\ttwThemePath: (fixtureType, value) => fixtureType === \"spacingAliases\" ? `spacing[${value}]` : \"\",\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst borderWidth = {\n\tname: \"borderWidth\",\n\tcssProperties: \"border-width\",\n\ttwThemePath: (fixtureType, value) => {\n\t\tswitch (fixtureType) {\n\t\t\tcase \"borderWidths\":\n\t\t\tcase \"elevationAliases\": return `udsBorderWidth[${value}]`;\n\t\t\tcase \"spacingAliases\": return `spacing[${value}]`;\n\t\t}\n\t\treturn assertUnreachable(fixtureType);\n\t},\n\tpossibleFixtures: [\n\t\t\"borderWidths\",\n\t\t\"spacingAliases\",\n\t\t\"elevationAliases\"\n\t],\n\textendedProperties: (context) => {\n\t\tif (isInputWrapperCtx(context)) return [\n\t\t\t\"outlineWidth\",\n\t\t\t\"insetOutlineOffset\",\n\t\t\t\"solidOutline\"\n\t\t];\n\t\treturn false;\n\t}\n};\nconst strokeWidth = {\n\t...borderWidth,\n\tname: \"strokeWidth\",\n\tcssProperties: \"stroke-width\"\n};\nconst underlineWidth = {\n\t...borderWidth,\n\tname: \"underlineWidth\",\n\tcssProperties: \"border-bottom-width\"\n};\nconst borderColor = {\n\tname: \"borderColor\",\n\tcssProperties: \"border-color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"linePaletteColors\",\n\t\t\"elevationAliases\"\n\t],\n\textendedProperties: (context) => {\n\t\tif (isInputWrapperCtx(context)) return [\"outlineColor\"];\n\t\treturn false;\n\t}\n};\nconst stroke = {\n\t...borderColor,\n\tname: \"stroke\",\n\tcssProperties: \"stroke\"\n};\nconst underlineColor = {\n\t...borderColor,\n\tname: \"underlineColor\",\n\tcssProperties: \"border-bottom-color\"\n};\nconst outlineWidth = {\n\tname: \"outlineWidth\",\n\tcssProperties: \"outline-width\",\n\ttwThemePath: (type, value) => type === \"borderWidths\" ? `udsBorderWidth[${value}]` : `spacing[${value}]`,\n\tpossibleFixtures: [\"borderWidths\", \"spacingAliases\"]\n};\nconst solidOutline = {\n\tname: \"solidOutline\",\n\tcssProperties: \"outline-style\",\n\ttwThemePath: () => \"\",\n\tcustomValueRenderer: () => \"solid\",\n\tpossibleFixtures: []\n};\nconst insetOutlineOffset = {\n\tname: \"insetOutlineOffset\",\n\tcssProperties: \"outline-offset\",\n\ttwThemePath: () => \"\",\n\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\treturn `calc(-1 * ${type === \"borderWidths\" ? theme(`udsBorderWidth[${value}]`) : theme(`spacing[${value}]`)})`;\n\t},\n\tpossibleFixtures: [\"borderWidths\", \"spacingAliases\"]\n};\nconst outlineColor = {\n\tname: \"outlineColor\",\n\tcssProperties: \"outline-color\",\n\ttwThemePath: mapColorFixtureToValue,\n\tpossibleFixtures: [\n\t\t\"alwaysPaletteAliases\",\n\t\t\"spectrumColors\",\n\t\t\"linePaletteColors\"\n\t]\n};\nconst borderRadius = {\n\tname: \"borderRadius\",\n\tcssProperties: \"border-radius\",\n\ttwThemePath: (_, value) => `udsBorderRadius.${value}`,\n\tpossibleFixtures: [\"borderRadii\"]\n};\nconst borderRadiusVar = {\n\t...borderRadius,\n\tname: \"borderRadiusVar\",\n\tcssProperties: `--${BORDER_RADIUS_PREFIX}`\n};\nconst spacing = {\n\tname: \"spacing\",\n\tcssProperties: \"padding\",\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst spacingHorizontal = {\n\tname: \"spacingHorizontal\",\n\tcssProperties: [\"padding-right\", \"padding-left\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst spacingVertical = {\n\tname: \"spacingVertical\",\n\tcssProperties: [\"padding-top\", \"padding-bottom\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst horizontalMargin = {\n\tname: \"horizontalMargin\",\n\tcssProperties: [\"margin-left\", \"margin-right\"],\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst bottomMargin = {\n\tname: \"bottomMargin\",\n\tcssProperties: \"margin-bottom\",\n\ttwThemePath: (_, value) => `spacing[${value}]`,\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst height = {\n\tname: \"height\",\n\tcssProperties: \"height\",\n\ttwThemePath: (_, value) => {\n\t\treturn `height[${value}]`;\n\t},\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst width = {\n\tname: \"width\",\n\tcssProperties: \"width\",\n\ttwThemePath: (_, value) => {\n\t\treturn `width[${value}]`;\n\t},\n\tpossibleFixtures: [\"spacingAliases\"]\n};\nconst shadow = {\n\tname: \"drop shadow\",\n\tcssProperties: \"box-shadow\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tconcatenate: true,\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst shadowType = \"drop\";\n\t\tconst noneValue = \"0 0 0 transparent\";\n\t\tif (schemaValue.valueType === \"alias\") {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value !== \"custom\") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;\n\t\t} else if (schemaValue.valueType === \"custom\") return schemaValue.value.map((preset, index) => getShadowLayerValue({\n\t\t\tpreset,\n\t\t\tshadowType,\n\t\t\tprefix: index > 0 ? `${index + 1}` : void 0\n\t\t}))?.join(\", \") || noneValue;\n\t\tthrow new Error(\"Invalid valueType\");\n\t},\n\tpossibleFixtures: [\n\t\t\"shadowVariants\",\n\t\t\"shadowVariantConfig\",\n\t\t\"elevationAliases\"\n\t]\n};\nconst insetShadow = {\n\tname: \"inset shadow\",\n\tcssProperties: \"box-shadow\",\n\ttwThemePath: () => {\n\t\treturn ``;\n\t},\n\tconcatenate: true,\n\tcustomValueRenderer: (schemaValue) => {\n\t\tconst shadowType = \"inset\";\n\t\tconst noneValue = \"0 0 0 transparent\";\n\t\tif (schemaValue.valueType === \"alias\") {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value !== \"custom\") return `var(--uds-${shadowType}-shadow-${schemaValue.value})`;\n\t\t} else if (schemaValue.valueType === \"custom\") return schemaValue.value.map((preset, index) => getShadowLayerValue({\n\t\t\tpreset,\n\t\t\tshadowType,\n\t\t\tprefix: index > 0 ? `${index + 1}` : void 0\n\t\t}))?.join(\", \") || noneValue;\n\t\tthrow new Error(\"Invalid valueType\");\n\t},\n\tpossibleFixtures: [\"shadowVariantsWithInvert\"]\n};\nconst shadowVar = {\n\t...shadow,\n\tname: \"shadowVar\",\n\tcssProperties: `--${DROP_SHADOW_PREFIX}`\n};\nconst opacity = {\n\tname: \"opacity\",\n\tcssProperties: \"opacity\",\n\ttwThemePath: (_, value) => `opacity[${value}]`,\n\tpossibleFixtures: [\"opacitySteps\"]\n};\nconst publicProperties = {\n\tbackgroundColor,\n\tborderWidth,\n\tunderlineWidth,\n\tstrokeWidth,\n\tborderRadius,\n\tborderRadiusVar,\n\tborderColor,\n\tunderlineColor,\n\tstroke,\n\tbuttonSize: {\n\t\tname: \"buttonSize\",\n\t\tcssProperties: \"--uds-button-size\",\n\t\tpossibleFixtures: [\"buttonSizes\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\tbuttonVariant: {\n\t\tname: \"buttonVariant\",\n\t\tcssProperties: \"--uds-button-variant\",\n\t\tpossibleFixtures: [\"buttonVariantsFlat\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\tfontFamily,\n\tfontSize,\n\tfontVariationSettings,\n\tlineHeight,\n\ttextTransform,\n\tletterSpacing,\n\tgap,\n\tcolor,\n\topacity,\n\tfillOpacity: {\n\t\tname: \"fillOpacity\",\n\t\tcssProperties: \"fill-opacity\",\n\t\ttwThemePath: (_, value) => `opacity[${value}]`,\n\t\tpossibleFixtures: [\"opacitySteps\"]\n\t},\n\tfontWeight,\n\ticonSize: {\n\t\tname: \"iconSize\",\n\t\tcssProperties: [\"width\", \"height\"],\n\t\ttwThemePath: (_, value) => `sizing.icon.${value}`,\n\t\tpossibleFixtures: [\"iconSizes\"]\n\t},\n\tspacing,\n\ticonVariant: {\n\t\tname: \"iconVariant\",\n\t\tcssProperties: \"--uds-icon-variant\",\n\t\tpossibleFixtures: [\"iconVariants\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\treturn String(schemaValue.value);\n\t\t}\n\t},\n\thorizontalMargin,\n\tbottomMargin,\n\tspacingHorizontal,\n\tspacingVertical,\n\ttextVariant,\n\ttextDecorationLine,\n\tshadow,\n\tshadowVar,\n\tinsetShadow,\n\tbannerInnerShadow: {\n\t\tname: \"bannerInnerShadow\",\n\t\tcssProperties: \"box-shadow\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tpossibleFixtures: [\"bannerInnerShadowOptions\"],\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\tconst noneValue = \"0 0 0 transparent\";\n\t\t\tif (schemaValue.value === \"none\") return noneValue;\n\t\t\tif (schemaValue.value === \"subtle\") return getShadowLayerValue({\n\t\t\t\tpreset: {\n\t\t\t\t\toffsetX: \"0\",\n\t\t\t\t\toffsetY: \"-5\",\n\t\t\t\t\tblur: \"5\",\n\t\t\t\t\tspread: \"-2.5\",\n\t\t\t\t\topacity: \"5\",\n\t\t\t\t\tcolor: {\n\t\t\t\t\t\ttype: \"spectrum\",\n\t\t\t\t\t\tvalue: \"carbon-12\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tshadowType: \"inset\",\n\t\t\t\tcssVarPrefix: \"--uds-banner-inset-shadow-\"\n\t\t\t});\n\t\t\tthrow new Error(\"Invalid bannerInnerShadow value\");\n\t\t}\n\t},\n\theight,\n\twidth,\n\tscaleEffect: {\n\t\tname: \"scaleEffect\",\n\t\tcssProperties: BUTTON_SCALE_EFFECT,\n\t\tpossibleFixtures: [\"scaleEffects\"],\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue) => {\n\t\t\tconst value = schemaValue.value;\n\t\t\treturn String(SCALE_EFFECTS[String(value)] ?? SCALE_EFFECTS.none);\n\t\t}\n\t},\n\tbackdropBlur: {\n\t\tname: \"backdropBlur\",\n\t\tpossibleFixtures: [\"positiveIntegers\"],\n\t\tcssProperties: \"--uds-backdrop-blur\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tcustomValueRenderer: (schemaValue, schema, _theme, originalPropertyDefinition) => {\n\t\t\tif (originalPropertyDefinition && originalPropertyDefinition.layerReference) {\n\t\t\t\tconst { variablePath, propertyName } = originalPropertyDefinition.layerReference;\n\t\t\t\tconst property = schema.variables[variablePath][propertyName].rest;\n\t\t\t\tif (property.type === \"elevationAliases\") return `var(--uds-background-blur-radius-${property.value})`;\n\t\t\t}\n\t\t\treturn `blur(${schemaValue.value}px)`;\n\t\t}\n\t},\n\tblurBackgroundColor: {\n\t\t...backgroundColor,\n\t\tname: \"blurBackgroundColor\",\n\t\tcssProperties: `--${BACKGROUND_BLUR_COLOR_PREFIX}`\n\t},\n\tblurBackgroundColorFallback: {\n\t\t...backgroundColor,\n\t\tname: \"blurBackgroundColorFallback\",\n\t\tcssProperties: `--${BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX}`\n\t},\n\tscrimBackgroundColor: {\n\t\tname: \"scrimBackgroundColor\",\n\t\tcssProperties: \"--uds-scrim-background-color\",\n\t\ttwThemePath: () => {\n\t\t\treturn ``;\n\t\t},\n\t\tpossibleFixtures: [\n\t\t\t\"backgroundPaletteColors\",\n\t\t\t\"spectrumColors\",\n\t\t\t\"alwaysPaletteAliases\"\n\t\t],\n\t\tcustomValueRenderer: ({ value, type }, schema, theme) => {\n\t\t\tconst resolved = theme(mapColorFixtureToValue(type, value));\n\t\t\tif (resolved.startsWith(\"#\")) return hexToRgb(resolved) ?? resolved;\n\t\t\tif (resolved.startsWith(\"rgb(\") && resolved.endsWith(\")\")) return resolved.slice(4, -1);\n\t\t\treturn resolved;\n\t\t}\n\t},\n\tscrimOpacity: {\n\t\t...opacity,\n\t\tname: \"scrimOpacity\",\n\t\tcssProperties: \"--uds-scrim-opacity\",\n\t\ttwThemePath: () => \"\",\n\t\tcustomValueRenderer: ({ value }) => `${String(value)}%`\n\t}\n};\nconst internalProperties = {\n\toutlineWidth,\n\toutlineColor,\n\tinsetOutlineOffset,\n\tsolidOutline\n};\nconst configurableProperties = {\n\t...publicProperties,\n\t...internalProperties\n};\n//#endregion\nexport { configurableProperties };\n\n//# sourceMappingURL=properties.js.map"],"mappings":";;;;;;;;AAOA,MAAM,qBAAqB,YAAY;AACtC,QAAO,QAAQ,kBAAkB,WAAW,QAAQ,UAAU;;AAE/D,MAAM,YAAY,QAAQ;AACzB,OAAM,IAAI,QAAQ,KAAK,GAAG;AAC1B,KAAI,IAAI,WAAW,EAAG,OAAM,IAAI,MAAM,GAAG,CAAC,KAAK,SAAS,OAAO,KAAK,CAAC,KAAK,GAAG;AAC7E,QAAO,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG,CAAC,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG,CAAC,GAAG,SAAS,IAAI,UAAU,GAAG,EAAE,EAAE,GAAG;;AAEtH,MAAM,kBAAkB;CACvB,MAAM;CACN,eAAe;CACf,mBAAmB;AAClB,SAAO;;CAER,kBAAkB;EACjB;EACA;EACA;EACA;EACA;CACD,sBAAsB,EAAE,OAAO,QAAQ,QAAQ,UAAU;AACxD,MAAI,SAAS,mBAAoB,QAAO,8BAA8B,MAAM;AAC5E,SAAO,MAAM,uBAAuB,MAAM,MAAM,CAAC;;CAElD;AACD,MAAM,QAAQ;CACb,MAAM;CACN,eAAe;CACf,aAAa;CACb,kBAAkB;EACjB;EACA;EACA;EACA;CACD;AACD,MAAM,WAAW;CAChB,MAAM;CACN,eAAe;CACf,aAAa,6BAA6B,WAAW;CACrD,kBAAkB,CAAC,eAAe;CAClC;AACD,MAAM,wBAAwB;CAC7B,MAAM;CACN,eAAe;CACf,mBAAmB;AAClB,SAAO;;CAER,kBAAkB,CAAC,eAAe;CAClC,sBAAsB,gBAAgB;EACrC,MAAM,EAAE,OAAO,aAAa;EAC5B,MAAM,QAAQ,iBAAiB,SAAS;AACxC,SAAO,gCAAgC,MAAM,iCAAiC,MAAM,i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AAgB;IAC5E,MAAM,EAAE,cAAc,iBAAiB,2BAA2B;IAClE,MAAM,WAAW,OAAO,UAAU,cAAc,cAAc;AAC9D,QAAI,SAAS,SAAS,mBAAoB,QAAO,oCAAoC,SAAS,MAAM;;AAErG,UAAO,QAAQ,YAAY,MAAM;;EAElC;CACD,qBAAqB;EACpB,GAAG;EACH,MAAM;EACN,eAAe,KAAK;EACpB;CACD,6BAA6B;EAC5B,GAAG;EACH,MAAM;EACN,eAAe,KAAK;EACpB;CACD,sBAAsB;EACrB,MAAM;EACN,eAAe;EACf,mBAAmB;AAClB,UAAO;;EAER,kBAAkB;GACjB;GACA;GACA;GACA;EACD,sBAAsB,EAAE,OAAO,QAAQ,QAAQ,UAAU;GACxD,MAAM,WAAW,MAAM,uBAAuB,MAAM,MAAM,CAAC;AAC3D,OAAI,SAAS,WAAW,IAAI,CAAE,QAAO,SAAS,SAAS,IAAI;AAC3D,OAAI,SAAS,WAAW,OAAO,IAAI,SAAS,SAAS,IAAI,CAAE,QAAO,SAAS,MAAM,GAAG,GAAG;AACvF,UAAO;;EAER;CACD,cAAc;EACb,GAAG;EACH,MAAM;EACN,eAAe;EACf,mBAAmB;EACnB,sBAAsB,EAAE,YAAY,GAAG,OAAO,MAAM,CAAC;EACrD;CACD;AACD,MAAM,qBAAqB;CAC1B;CACA;CACA;CACA;CACA;AACD,MAAM,yBAAyB;CAC9B,GAAG;CACH,GAAG;CACH"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
|
-
|
|
3
2
|
//#region ../automated-config/dist/utils/assertUnreachable.js
|
|
4
3
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
5
4
|
const assertUnreachable = (x) => {
|
|
6
5
|
throw new Error("Didn't expect to get here");
|
|
7
6
|
};
|
|
8
|
-
|
|
9
7
|
//#endregion
|
|
10
|
-
exports.assertUnreachable = assertUnreachable;
|
|
8
|
+
exports.assertUnreachable = assertUnreachable;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assertUnreachable.js","names":[],"sources":["../../../../../automated-config/dist/utils/assertUnreachable.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\n//#region src/utils/assertUnreachable.ts\nconst assertUnreachable = (x) => {\n\tthrow new Error(\"Didn't expect to get here\");\n};\n
|
|
1
|
+
{"version":3,"file":"assertUnreachable.js","names":[],"sources":["../../../../../automated-config/dist/utils/assertUnreachable.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\n//#region src/utils/assertUnreachable.ts\nconst assertUnreachable = (x) => {\n\tthrow new Error(\"Didn't expect to get here\");\n};\n//#endregion\nexport { assertUnreachable };\n\n//# sourceMappingURL=assertUnreachable.js.map"],"mappings":";;;AAEA,MAAM,qBAAqB,MAAM;AAChC,OAAM,IAAI,MAAM,4BAA4B"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
|
-
|
|
3
2
|
//#region ../automated-config/dist/utils/generateDefaultClassName.js
|
|
4
3
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
5
4
|
/**
|
|
@@ -13,6 +12,5 @@
|
|
|
13
12
|
function generateDefaultClassName(componentName, variantType, layerKey, subComponentName) {
|
|
14
13
|
return `uds-${componentName}${subComponentName ? `-${subComponentName}` : ""}-${variantType}-default-${layerKey}`.toLowerCase();
|
|
15
14
|
}
|
|
16
|
-
|
|
17
15
|
//#endregion
|
|
18
|
-
exports.generateDefaultClassName = generateDefaultClassName;
|
|
16
|
+
exports.generateDefaultClassName = generateDefaultClassName;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
function generateDefaultClassName(componentName, variantType, layerKey, subComponentName) {
|
|
13
13
|
return `uds-${componentName}${subComponentName ? `-${subComponentName}` : ""}-${variantType}-default-${layerKey}`.toLowerCase();
|
|
14
14
|
}
|
|
15
|
-
|
|
16
15
|
//#endregion
|
|
17
16
|
export { generateDefaultClassName };
|
|
17
|
+
|
|
18
18
|
//# sourceMappingURL=generateDefaultClassName.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateDefaultClassName.js","names":[],"sources":["../../../../../automated-config/dist/utils/generateDefaultClassName.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\n//#region src/utils/generateDefaultClassName.ts\n/**\n* Generates a default class name for a component variant.\n* Creates the class name for when variantValue='default', matching the pattern from generateClassName.\n*\n* @example\n* generateDefaultClassName('button', 'variant', 'root') // 'uds-button-variant-default-root'\n* generateDefaultClassName('button', 'size', 'icon', 'toggle') // 'uds-button-toggle-size-default-icon'\n*/\nfunction generateDefaultClassName(componentName, variantType, layerKey, subComponentName) {\n\treturn `uds-${componentName}${subComponentName ? `-${subComponentName}` : \"\"}-${variantType}-default-${layerKey}`.toLowerCase();\n}\n
|
|
1
|
+
{"version":3,"file":"generateDefaultClassName.js","names":[],"sources":["../../../../../automated-config/dist/utils/generateDefaultClassName.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\n//#region src/utils/generateDefaultClassName.ts\n/**\n* Generates a default class name for a component variant.\n* Creates the class name for when variantValue='default', matching the pattern from generateClassName.\n*\n* @example\n* generateDefaultClassName('button', 'variant', 'root') // 'uds-button-variant-default-root'\n* generateDefaultClassName('button', 'size', 'icon', 'toggle') // 'uds-button-toggle-size-default-icon'\n*/\nfunction generateDefaultClassName(componentName, variantType, layerKey, subComponentName) {\n\treturn `uds-${componentName}${subComponentName ? `-${subComponentName}` : \"\"}-${variantType}-default-${layerKey}`.toLowerCase();\n}\n//#endregion\nexport { generateDefaultClassName };\n\n//# sourceMappingURL=generateDefaultClassName.js.map"],"mappings":";;;;;;;;;;;AAUA,SAAS,yBAAyB,eAAe,aAAa,UAAU,kBAAkB;AACzF,QAAO,OAAO,gBAAgB,mBAAmB,IAAI,qBAAqB,GAAG,GAAG,YAAY,WAAW,WAAW,aAAa"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
|
-
|
|
3
2
|
//#region ../automated-config/dist/utils/generateSchemaKey.js
|
|
4
3
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
5
4
|
function generateSchemaKey({ variantKey, variantValue, layer, subComponentName, componentStateKey, componentStateValue }) {
|
|
@@ -10,6 +9,5 @@ function generateSchemaKey({ variantKey, variantValue, layer, subComponentName,
|
|
|
10
9
|
if (componentStateKey && componentStateValue) return `${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;
|
|
11
10
|
return `${variantKey}/${variantValue}/${layer}`;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
12
|
//#endregion
|
|
15
|
-
exports.generateSchemaKey = generateSchemaKey;
|
|
13
|
+
exports.generateSchemaKey = generateSchemaKey;
|
|
@@ -9,7 +9,7 @@ function generateSchemaKey({ variantKey, variantValue, layer, subComponentName,
|
|
|
9
9
|
if (componentStateKey && componentStateValue) return `${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;
|
|
10
10
|
return `${variantKey}/${variantValue}/${layer}`;
|
|
11
11
|
}
|
|
12
|
-
|
|
13
12
|
//#endregion
|
|
14
13
|
export { generateSchemaKey };
|
|
14
|
+
|
|
15
15
|
//# sourceMappingURL=generateSchemaKey.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateSchemaKey.js","names":[],"sources":["../../../../../automated-config/dist/utils/generateSchemaKey.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\n//#region src/utils/generateSchemaKey.ts\nfunction generateSchemaKey({ variantKey, variantValue, layer, subComponentName, componentStateKey, componentStateValue }) {\n\tif (subComponentName) {\n\t\tif (componentStateKey && componentStateValue) return `${subComponentName}/${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;\n\t\treturn `${subComponentName}/${variantKey}/${variantValue}/${layer}`;\n\t}\n\tif (componentStateKey && componentStateValue) return `${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;\n\treturn `${variantKey}/${variantValue}/${layer}`;\n}\n
|
|
1
|
+
{"version":3,"file":"generateSchemaKey.js","names":[],"sources":["../../../../../automated-config/dist/utils/generateSchemaKey.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\n//#region src/utils/generateSchemaKey.ts\nfunction generateSchemaKey({ variantKey, variantValue, layer, subComponentName, componentStateKey, componentStateValue }) {\n\tif (subComponentName) {\n\t\tif (componentStateKey && componentStateValue) return `${subComponentName}/${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;\n\t\treturn `${subComponentName}/${variantKey}/${variantValue}/${layer}`;\n\t}\n\tif (componentStateKey && componentStateValue) return `${variantKey}/${variantValue}/${componentStateKey}/${componentStateValue}/${layer}`;\n\treturn `${variantKey}/${variantValue}/${layer}`;\n}\n//#endregion\nexport { generateSchemaKey };\n\n//# sourceMappingURL=generateSchemaKey.js.map"],"mappings":";;;AAEA,SAAS,kBAAkB,EAAE,YAAY,cAAc,OAAO,kBAAkB,mBAAmB,uBAAuB;AACzH,KAAI,kBAAkB;AACrB,MAAI,qBAAqB,oBAAqB,QAAO,GAAG,iBAAiB,GAAG,WAAW,GAAG,aAAa,GAAG,kBAAkB,GAAG,oBAAoB,GAAG;AACtJ,SAAO,GAAG,iBAAiB,GAAG,WAAW,GAAG,aAAa,GAAG;;AAE7D,KAAI,qBAAqB,oBAAqB,QAAO,GAAG,WAAW,GAAG,aAAa,GAAG,kBAAkB,GAAG,oBAAoB,GAAG;AAClI,QAAO,GAAG,WAAW,GAAG,aAAa,GAAG"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
|
-
|
|
3
|
-
const require_index = require(
|
|
4
|
-
const require_properties = require(
|
|
5
|
-
const require_generateDefaultClassName = require(
|
|
6
|
-
const require_generateSchemaKey = require(
|
|
7
|
-
const require_variantConfigGuards = require(
|
|
2
|
+
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
+
const require_index = require("../../../css-tokens/dist/index.cjs");
|
|
4
|
+
const require_properties = require("../properties.cjs");
|
|
5
|
+
const require_generateDefaultClassName = require("./generateDefaultClassName.cjs");
|
|
6
|
+
const require_generateSchemaKey = require("./generateSchemaKey.cjs");
|
|
7
|
+
const require_variantConfigGuards = require("./variantConfigGuards.cjs");
|
|
8
8
|
let lodash_es = require("lodash-es");
|
|
9
|
-
|
|
10
9
|
//#region ../automated-config/dist/utils/index.js
|
|
11
10
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
12
11
|
const CSS_GAP = "gap";
|
|
@@ -571,6 +570,5 @@ const generateStyles = (config, schema, theme, previewOptions) => {
|
|
|
571
570
|
}
|
|
572
571
|
return finalStyles;
|
|
573
572
|
};
|
|
574
|
-
|
|
575
573
|
//#endregion
|
|
576
|
-
exports.generateStyles = generateStyles;
|
|
574
|
+
exports.generateStyles = generateStyles;
|
|
@@ -5,7 +5,6 @@ import { generateDefaultClassName } from "./generateDefaultClassName.js";
|
|
|
5
5
|
import { generateSchemaKey } from "./generateSchemaKey.js";
|
|
6
6
|
import { isVariantConfigWithComponentStates, isVariantConfigWithProperties } from "./variantConfigGuards.js";
|
|
7
7
|
import { isFunction, mergeWith } from "lodash-es";
|
|
8
|
-
|
|
9
8
|
//#region ../automated-config/dist/utils/index.js
|
|
10
9
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
11
10
|
const CSS_GAP = "gap";
|
|
@@ -570,7 +569,7 @@ const generateStyles = (config, schema, theme, previewOptions) => {
|
|
|
570
569
|
}
|
|
571
570
|
return finalStyles;
|
|
572
571
|
};
|
|
573
|
-
|
|
574
572
|
//#endregion
|
|
575
573
|
export { generateStyles };
|
|
574
|
+
|
|
576
575
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../../automated-config/dist/utils/index.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\nimport { configurableProperties } from \"../properties.js\";\nimport { generateDefaultClassName } from \"./generateDefaultClassName.js\";\nimport { generateSchemaKey } from \"./generateSchemaKey.js\";\nimport { isVariantConfigWithComponentStates, isVariantConfigWithProperties } from \"./variantConfigGuards.js\";\nimport { buildConfigSchema, findFixtureType } from \"./buildConfigSchema.js\";\nimport { cartesianProduct } from \"./cartesianProduct.js\";\nimport { getConfigSubcomponents } from \"./subcomponents.js\";\nimport { coalesceConfigVariant } from \"./coalesceConfigVariant.js\";\nimport { getConfigDefaultValue, isConfigDefaultValue } from \"./defaults.js\";\nimport { generateKeyFromFlatConfigPath } from \"./generateKeyFromFlatConfigPath.js\";\nimport { getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix } from \"./getConfigVariantComponentStatesMatrix.js\";\nimport { getConfigVariantProperties } from \"./getConfigVariantProperties.js\";\nimport { getConfigVariantPseudoStates } from \"./getConfigVariantPseudoStates.js\";\nimport { getConfigVariants } from \"./getConfigVariants.js\";\nimport { BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST } from \"@yahoo/uds-css-tokens\";\nimport { isFunction, mergeWith } from \"lodash-es\";\n\n//#region src/utils/index.ts\nconst CSS_GAP = \"gap\";\nconst CSS_LINE_HEIGHT = \"line-height\";\nconst CSS_BORDER_WIDTH = \"border-width\";\nconst CSS_BORDER_COLOR = \"border-color\";\nconst CSS_BOX_SHADOW = \"box-shadow\";\nconst CSS_BORDER_TOP_WIDTH = \"border-top-width\";\nconst CSS_BORDER_RIGHT_WIDTH = \"border-right-width\";\nconst CSS_BORDER_BOTTOM_WIDTH = \"border-bottom-width\";\nconst CSS_BORDER_LEFT_WIDTH = \"border-left-width\";\nconst CSS_BORDER_TOP_COLOR = \"border-top-color\";\nconst CSS_BORDER_RIGHT_COLOR = \"border-right-color\";\nconst CSS_BORDER_BOTTOM_COLOR = \"border-bottom-color\";\nconst CSS_BORDER_LEFT_COLOR = \"border-left-color\";\nconst CSS_TAB_UNDERLINE_WIDTH = \"--uds-tab-underline-width\";\nconst CSS_TAB_UNDERLINE_COLOR = \"--uds-tab-underline-color\";\nfunction deepMerge(target, source) {\n\treturn mergeWith({}, target, source);\n}\nconst COMPONENTS_WITH_SHADOW_BORDERS = [\n\t{\n\t\tcomponentName: \"button\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"iconbutton\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"chip\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"tab\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"tabs\",\n\t\tlayer: \"root\"\n\t}\n];\n/**\n* Map our \"states\" to pseudo-classes (hover => :hover, pressed => :active, etc.).\n* Adjust or extend as needed.\n*/\nconst statePseudoMap = {\n\trest: \"\",\n\thover: \":hover:not(:active, :disabled, :has(:disabled))\",\n\tpressed: \":active:not(:disabled, :has(:disabled))\",\n\tdisabled: \":is(:disabled, :has(:disabled))\",\n\tvisited: \":visited\",\n\tfocused: \":focus\",\n\t\"focus-within\": \":focus-within\",\n\t\"focused-keyboard\": \":focus-visible\",\n\treadonly: \":has(input:read-only)\",\n\tinvalid: \":has(input[aria-invalid=\\\"true\\\"])\",\n\t\"invalid&hover\": \":has(input[aria-invalid=\\\"true\\\"]):hover:not(:active, :disabled, :has(:disabled))\",\n\t\"invalid&pressed\": \":has(input[aria-invalid=\\\"true\\\"]):active:not(:disabled, :has(:disabled))\"\n};\nconst statePseudoMapDocsMode = {\n\trest: \"\",\n\thover: \"hover\",\n\tpressed: \"active\",\n\tdisabled: \"has-disabled\",\n\tvisited: \"visited\",\n\tfocused: \"focus\",\n\t\"focus-within\": \"focus-within\",\n\t\"focused-keyboard\": \"focus-visible\",\n\treadonly: \"input-readonly\",\n\tinvalid: \"has-input-invalid\",\n\t\"invalid&hover\": \"has-input-invalid-and-hover\",\n\t\"invalid&pressed\": \"has-input-invalid-and-active\"\n};\n/**\n* Generates button line-height with icon size minimum.\n* Ensures button line-height is at least as tall as the icon to prevent clipping.\n* @returns Enhanced line-height CSS value with max(), or original value if icon size unavailable\n*/\nfunction getButtonLineHeightWithIconMinimum({ lineHeight, schema, iconLayerKey, state, theme }) {\n\tconst iconSizeValue = schema.variables?.[iconLayerKey]?.size?.[state]?.value;\n\tif (iconSizeValue) return `max(${lineHeight}, ${theme(configurableProperties.iconSize.twThemePath(\"iconSizes\", iconSizeValue))})`;\n\treturn lineHeight;\n}\n/**\n* Forces button borders to use box-shadow instead of border properties.\n* Converts border-width and border-color into an inset box-shadow layer.\n*\n* Why box-shadow for borders?\n* - Respects border-radius (unlike outline which stays rectangular)\n* - Allows layering multiple shadows in a single property\n* - GPU-accelerated and performant\n* - Works perfectly with rounded/circular buttons\n*\n* @param classStyles - The CSS declarations for a button class\n* @returns Modified styles with box-shadow layers, or original if no border\n*\n* @example\n* Input: { border-width: '2px', border-color: 'red', box-shadow: '0 2px 4px rgba(0,0,0,0.1)' }\n* Output: { box-shadow: 'inset 0 0 0 2px red, 0 2px 4px rgba(0,0,0,0.1)' }\n* Renders borders using inset box-shadows instead of CSS border widths.\n* This preserves visual borders without affecting layout dimensions.\n*/\nfunction applyBoxShadowBorder(classStyles) {\n\tconst stripImportant = (value) => value.replace(/\\s*!important\\s*$/, \"\");\n\tconst hasImportant = (value) => value?.includes(\"!important\") ?? false;\n\tconst isZeroWidth = (value) => !value || /^(0|0px|0rem|0em|0%)$/i.test(stripImportant(value).trim());\n\tconst negateLength = (value) => {\n\t\tconst normalized = stripImportant(value).trim();\n\t\tif (/^(0|0px|0rem|0em|0%)$/i.test(normalized)) return \"0\";\n\t\treturn `calc(${normalized} * -1)`;\n\t};\n\tconst borderWidth = classStyles[CSS_BORDER_WIDTH];\n\tconst borderColor = classStyles[CSS_BORDER_COLOR];\n\tconst topWidth = classStyles[CSS_BORDER_TOP_WIDTH] ?? borderWidth;\n\tconst rightWidth = classStyles[CSS_BORDER_RIGHT_WIDTH] ?? borderWidth;\n\tconst bottomWidth = classStyles[CSS_BORDER_BOTTOM_WIDTH] ?? borderWidth;\n\tconst leftWidth = classStyles[CSS_BORDER_LEFT_WIDTH] ?? borderWidth;\n\tconst topColor = classStyles[CSS_BORDER_TOP_COLOR] ?? borderColor;\n\tconst rightColor = classStyles[CSS_BORDER_RIGHT_COLOR] ?? borderColor;\n\tconst bottomColor = classStyles[CSS_BORDER_BOTTOM_COLOR] ?? borderColor;\n\tconst leftColor = classStyles[CSS_BORDER_LEFT_COLOR] ?? borderColor;\n\tconst borderLayers = [];\n\tif (!isZeroWidth(topWidth) && topColor) borderLayers.push(`inset 0 ${stripImportant(topWidth)} 0 0 ${stripImportant(topColor)}`);\n\tif (!isZeroWidth(rightWidth) && rightColor) borderLayers.push(`inset ${negateLength(rightWidth)} 0 0 0 ${stripImportant(rightColor)}`);\n\tif (!isZeroWidth(bottomWidth) && bottomColor) borderLayers.push(`inset 0 ${negateLength(bottomWidth)} 0 0 ${stripImportant(bottomColor)}`);\n\tif (!isZeroWidth(leftWidth) && leftColor) borderLayers.push(`inset ${stripImportant(leftWidth)} 0 0 0 ${stripImportant(leftColor)}`);\n\tif (borderLayers.length === 0) return classStyles;\n\tconst layers = [...borderLayers, classStyles[CSS_BOX_SHADOW] && stripImportant(classStyles[CSS_BOX_SHADOW])].filter(Boolean);\n\tconst needsImportant = hasImportant(topWidth) || hasImportant(rightWidth) || hasImportant(bottomWidth) || hasImportant(leftWidth) || hasImportant(topColor) || hasImportant(rightColor) || hasImportant(bottomColor) || hasImportant(leftColor) || hasImportant(borderWidth) || hasImportant(borderColor) || hasImportant(classStyles[CSS_BOX_SHADOW]);\n\tconst newStyles = { ...classStyles };\n\tnewStyles[CSS_BOX_SHADOW] = layers.join(\", \") + (needsImportant ? \" !important\" : \"\");\n\tdelete newStyles[CSS_BORDER_WIDTH];\n\tdelete newStyles[CSS_BORDER_COLOR];\n\tdelete newStyles[CSS_BORDER_TOP_WIDTH];\n\tdelete newStyles[CSS_BORDER_RIGHT_WIDTH];\n\tdelete newStyles[CSS_BORDER_BOTTOM_WIDTH];\n\tdelete newStyles[CSS_BORDER_LEFT_WIDTH];\n\tdelete newStyles[CSS_BORDER_TOP_COLOR];\n\tdelete newStyles[CSS_BORDER_RIGHT_COLOR];\n\tdelete newStyles[CSS_BORDER_BOTTOM_COLOR];\n\tdelete newStyles[CSS_BORDER_LEFT_COLOR];\n\treturn newStyles;\n}\nfunction generateClassName({ componentName, subComponentName, variantKey, variantValue, componentStateKey, componentStateValue, layer, layerOptionalPseudoSelector }) {\n\tlet className = \"\";\n\tif (subComponentName) className = `uds-${componentName}-${subComponentName}-${variantKey}`.toLowerCase();\n\telse className = `uds-${componentName}-${variantKey}`.toLowerCase();\n\tif (variantValue) className = `${className}-${variantValue}`.toLowerCase();\n\tif (componentStateKey && componentStateValue) className = `${className}-${componentStateKey}-${componentStateValue}`.toLowerCase();\n\tclassName = `${className}-${layer}`.toLowerCase();\n\tif (layerOptionalPseudoSelector) className = `${className}${layerOptionalPseudoSelector}`;\n\treturn className.replaceAll(/\\s+/g, \"-\");\n}\nconst getTheCssPropertyValue = (schema, theme, propertyName, schemaStateValue, existingValue, originalPropertyDefinition) => {\n\tconst { value, type } = schemaStateValue;\n\tconst propertyConfig = configurableProperties[propertyName];\n\tlet newValue;\n\tif (propertyConfig.customValueRenderer) newValue = propertyConfig.customValueRenderer(schemaStateValue, schema, theme, originalPropertyDefinition);\n\telse {\n\t\tconst safeTwThemePath = propertyConfig.twThemePath;\n\t\tnewValue = theme(safeTwThemePath(type, String(value)));\n\t}\n\tif (propertyConfig.concatenate && existingValue) return `${existingValue}${propertyConfig.concatenationDelimiter || \", \"}${newValue}`;\n\treturn newValue;\n};\nfunction generateDeclaration({ componentName, subComponentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, componentStateKey, componentStateValue, schema, propertyKey, originalPropertyDefinition, theme, currentStyles, previewOptions }) {\n\tconst schemaKey = generateSchemaKey({\n\t\tvariantKey,\n\t\tvariantValue,\n\t\tlayer,\n\t\tsubComponentName,\n\t\tcomponentStateKey,\n\t\tcomponentStateValue\n\t});\n\tlet className = generateClassName({\n\t\tcomponentName,\n\t\tvariantKey,\n\t\tvariantValue,\n\t\tlayer,\n\t\tsubComponentName,\n\t\tcomponentStateKey,\n\t\tcomponentStateValue\n\t});\n\tconst propertyStateMap = schema.variables?.[schemaKey]?.[propertyKey];\n\tif (!propertyStateMap) throw new Error(`Prop definition (${componentName} - ${schemaKey} - ${propertyKey}) not found, this is not expected, please report the bug to the UDS team`);\n\tconst styles = {};\n\tfor (const propStateStr in propertyStateMap) {\n\t\tconst propertyState = propStateStr;\n\t\tconst propertyStateSelector = statePseudoMap[propertyState] ?? \"\";\n\t\tconst schemaValueForState = propertyStateMap[propertyState];\n\t\tlet fullClassName = ``;\n\t\tif (layer === \"root\") if (componentStateKey && componentStateValue) {\n\t\t\tconst rootVariantClass = generateClassName({\n\t\t\t\tcomponentName,\n\t\t\t\tvariantKey,\n\t\t\t\tvariantValue,\n\t\t\t\tlayer,\n\t\t\t\tsubComponentName\n\t\t\t});\n\t\t\tclassName = generateClassName({\n\t\t\t\tcomponentName,\n\t\t\t\tvariantKey,\n\t\t\t\tlayer,\n\t\t\t\tsubComponentName,\n\t\t\t\tcomponentStateKey,\n\t\t\t\tcomponentStateValue\n\t\t\t});\n\t\t\tfullClassName = `.${rootVariantClass}${propertyStateSelector}.${className}`;\n\t\t} else fullClassName = `.${className}${propertyStateSelector}`;\n\t\telse {\n\t\t\tconst rootVariantClassName = generateClassName({\n\t\t\t\tcomponentName,\n\t\t\t\tvariantKey,\n\t\t\t\tvariantValue,\n\t\t\t\tlayer: \"root\",\n\t\t\t\tsubComponentName\n\t\t\t});\n\t\t\tif (componentStateKey && componentStateValue) {\n\t\t\t\tconst rootVariantClassNameWithComponentState = generateClassName({\n\t\t\t\t\tcomponentName,\n\t\t\t\t\tvariantKey,\n\t\t\t\t\tlayer: \"root\",\n\t\t\t\t\tsubComponentName,\n\t\t\t\t\tcomponentStateKey,\n\t\t\t\t\tcomponentStateValue\n\t\t\t\t});\n\t\t\t\tclassName = generateClassName({\n\t\t\t\t\tcomponentName,\n\t\t\t\t\tvariantKey,\n\t\t\t\t\tvariantValue,\n\t\t\t\t\tlayer,\n\t\t\t\t\tlayerOptionalPseudoSelector,\n\t\t\t\t\tsubComponentName\n\t\t\t\t});\n\t\t\t\tfullClassName = `.${rootVariantClassName}${propertyStateSelector}.${rootVariantClassNameWithComponentState} .${className}`;\n\t\t\t} else fullClassName = `.${rootVariantClassName}${propertyStateSelector} .${className}`;\n\t\t}\n\t\tconst { cssProperties, extendedProperties: extendedPropertiesGetter } = configurableProperties[originalPropertyDefinition.name];\n\t\tconst cssDeclarations = {};\n\t\tconst isExtendedPropertiesFunction = isFunction(extendedPropertiesGetter);\n\t\tconst extendedProperties = isExtendedPropertiesFunction ? extendedPropertiesGetter({\n\t\t\tcomponentName,\n\t\t\tsubComponentName,\n\t\t\tlayer,\n\t\t\tpropertyKey\n\t\t}) : extendedPropertiesGetter;\n\t\tif (extendedProperties && extendedProperties.length) {\n\t\t\tif (!isExtendedPropertiesFunction && (typeof cssProperties === \"string\" || Array.isArray(cssProperties) && cssProperties.length > 0)) throw new Error(\"Invalid configuration: cssProperties should not be configured when extendedProperties are defined. Please update your property configuration accordingly.\");\n\t\t\tfor (const extendedProp of extendedProperties) {\n\t\t\t\tconst cssPropertiesRef = configurableProperties[extendedProp].cssProperties;\n\t\t\t\tif (typeof cssPropertiesRef === \"string\") {\n\t\t\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssPropertiesRef];\n\t\t\t\t\tcssDeclarations[cssPropertiesRef] = getTheCssPropertyValue(schema, theme, extendedProp, schemaValueForState, existingValue);\n\t\t\t\t} else if (Array.isArray(cssPropertiesRef)) for (const cssProp of cssPropertiesRef) {\n\t\t\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssProp];\n\t\t\t\t\tcssDeclarations[cssProp] = getTheCssPropertyValue(schema, theme, extendedProp, schemaValueForState, existingValue);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (typeof cssProperties === \"string\") {\n\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssProperties];\n\t\t\tcssDeclarations[cssProperties] = getTheCssPropertyValue(schema, theme, originalPropertyDefinition.name, schemaValueForState, existingValue, originalPropertyDefinition);\n\t\t} else if (Array.isArray(cssProperties)) for (const cssProp of cssProperties) {\n\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssProp];\n\t\t\tcssDeclarations[cssProp] = getTheCssPropertyValue(schema, theme, originalPropertyDefinition.name, schemaValueForState, existingValue, originalPropertyDefinition);\n\t\t}\n\t\t/**\n\t\t* Button root layer workarounds & enhancements.\n\t\t* These handle Motion animation bridges and visual fixes until better config-to-component solutions exist.\n\t\t*/\n\t\tif (componentName === \"button\" && layer === \"root\") {\n\t\t\tif (propertyKey === CSS_GAP) cssDeclarations[BUTTON_GAP_VAR] = cssDeclarations[CSS_GAP];\n\t\t\tif (propertyKey === \"scaleEffect\" && propertyState === \"hover\") {\n\t\t\t\tconst rootClassName = `.${className}`;\n\t\t\t\tconst renderValue = (schemaValue) => configurableProperties.scaleEffect.customValueRenderer?.(schemaValue, schema, () => \"\") ?? \"1\";\n\t\t\t\tif (!styles[rootClassName]) styles[rootClassName] = {};\n\t\t\t\tstyles[rootClassName][BUTTON_SCALE_EFFECT_REST] = \"1\";\n\t\t\t\tif (propertyStateMap.hover) styles[rootClassName][BUTTON_SCALE_EFFECT_HOVER] = renderValue(propertyStateMap.hover);\n\t\t\t\tif (propertyStateMap.pressed) styles[rootClassName][BUTTON_SCALE_EFFECT_PRESSED] = renderValue(propertyStateMap.pressed);\n\t\t\t}\n\t\t\tif (cssDeclarations[CSS_LINE_HEIGHT]) {\n\t\t\t\tconst iconLayerKey = generateSchemaKey({\n\t\t\t\t\tvariantKey,\n\t\t\t\t\tvariantValue,\n\t\t\t\t\tlayer: \"icon\",\n\t\t\t\t\tsubComponentName\n\t\t\t\t});\n\t\t\t\tcssDeclarations[CSS_LINE_HEIGHT] = getButtonLineHeightWithIconMinimum({\n\t\t\t\t\tlineHeight: cssDeclarations[CSS_LINE_HEIGHT],\n\t\t\t\t\tschema,\n\t\t\t\t\ticonLayerKey,\n\t\t\t\t\tstate: propertyState,\n\t\t\t\t\ttheme\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tif ((componentName === \"tabs\" || componentName === \"tab\") && layer === \"root\") {\n\t\t\tconst schemaVariablesForKey = schema?.variables?.[schemaKey];\n\t\t\tif (propertyKey === \"borderWidth\" && schemaVariablesForKey?.underlineWidth) {\n\t\t\t\tconst borderWidth = cssDeclarations[CSS_BORDER_WIDTH];\n\t\t\t\tif (borderWidth) {\n\t\t\t\t\tcssDeclarations[CSS_BORDER_TOP_WIDTH] = borderWidth;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_RIGHT_WIDTH] = borderWidth;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_BOTTOM_WIDTH] = borderWidth;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_LEFT_WIDTH] = borderWidth;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_WIDTH];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (propertyKey === \"borderColor\" && schemaVariablesForKey?.underlineColor) {\n\t\t\t\tconst borderColor = cssDeclarations[CSS_BORDER_COLOR];\n\t\t\t\tif (borderColor) {\n\t\t\t\t\tcssDeclarations[CSS_BORDER_TOP_COLOR] = borderColor;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_RIGHT_COLOR] = borderColor;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_BOTTOM_COLOR] = borderColor;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_LEFT_COLOR] = borderColor;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_COLOR];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (propertyKey === \"underlineWidth\") {\n\t\t\t\tconst underlineWidth = cssDeclarations[CSS_BORDER_BOTTOM_WIDTH];\n\t\t\t\tif (underlineWidth) {\n\t\t\t\t\tcssDeclarations[CSS_TAB_UNDERLINE_WIDTH] = underlineWidth;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_BOTTOM_WIDTH];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (propertyKey === \"underlineColor\") {\n\t\t\t\tconst underlineColor = cssDeclarations[CSS_BORDER_BOTTOM_COLOR];\n\t\t\t\tif (underlineColor) {\n\t\t\t\t\tcssDeclarations[CSS_TAB_UNDERLINE_COLOR] = underlineColor;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_BOTTOM_COLOR];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!styles[fullClassName]) styles[fullClassName] = {\n\t\t\t...cssDeclarations,\n\t\t\t...styles[fullClassName]\n\t\t};\n\t\tif (previewOptions?.generatePseudoStateClassModifier) {\n\t\t\tconst pseudoPrefixClass = statePseudoMapDocsMode[propertyState] ?? \"\";\n\t\t\tif (pseudoPrefixClass.length) {\n\t\t\t\tconst importantCssDeclarations = Object.fromEntries(Object.entries(cssDeclarations).map(([prop, value]) => {\n\t\t\t\t\tconst strValue = String(value).trimEnd().replace(/;$/, \"\");\n\t\t\t\t\tif (strValue.includes(\"!important\")) return [prop, strValue];\n\t\t\t\t\treturn [prop, `${strValue} !important`];\n\t\t\t\t}));\n\t\t\t\tstyles[`.${pseudoPrefixClass}${fullClassName}`.replace(propertyStateSelector, \"\")] = {\n\t\t\t\t\t...importantCssDeclarations,\n\t\t\t\t\t...styles[`.${pseudoPrefixClass}${fullClassName}`.replace(propertyStateSelector, \"\")]\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n\treturn styles;\n}\nfunction generateConfigStyles(config, schema, theme, previewOptions) {\n\tconst componentName = config.label.toLowerCase();\n\tlet styles = {};\n\tfor (const variantKey in config.variants) {\n\t\tconst variantConfig = config.variants[variantKey];\n\t\tfor (const variantOption of variantConfig.options) if (isVariantConfigWithComponentStates(variantConfig)) {\n\t\t\tconst componentStates = variantConfig.componentStates;\n\t\t\tfor (const componentStateKey in componentStates) {\n\t\t\t\tconst componentState = componentStates[componentStateKey];\n\t\t\t\tfor (const componentStateOption of componentState.options) for (const layerKey in componentState.layers) {\n\t\t\t\t\tconst layer = componentState.layers[layerKey];\n\t\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\t\tcomponentStateKey,\n\t\t\t\t\t\t\tcomponentStateValue: componentStateOption,\n\t\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\t\ttheme,\n\t\t\t\t\t\t\tschema,\n\t\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t\t});\n\t\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (isVariantConfigWithProperties(variantConfig)) {\n\t\t\tconst layers = variantConfig.layers;\n\t\t\tfor (const layerKey in layers) {\n\t\t\t\tconst layer = layers[layerKey];\n\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\ttheme,\n\t\t\t\t\t\tschema,\n\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t});\n\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tif (config.subComponents) {\n\t\tconst { subComponents } = config;\n\t\tfor (const subComponentKey in subComponents) for (const variantKey in subComponents[subComponentKey].variants) {\n\t\t\tconst variantConfig = subComponents[subComponentKey].variants[variantKey];\n\t\t\tfor (const variantOption of variantConfig.options) if (isVariantConfigWithComponentStates(variantConfig)) {\n\t\t\t\tconst componentStates = variantConfig.componentStates;\n\t\t\t\tfor (const componentStateKey in componentStates) {\n\t\t\t\t\tconst componentState = componentStates[componentStateKey];\n\t\t\t\t\tfor (const componentStateOption of componentState.options) for (const layerKey in componentState.layers) {\n\t\t\t\t\t\tconst layer = componentState.layers[layerKey];\n\t\t\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\t\t\tcomponentStateKey,\n\t\t\t\t\t\t\t\tcomponentStateValue: componentStateOption,\n\t\t\t\t\t\t\t\tsubComponentName: subComponentKey,\n\t\t\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\t\t\ttheme,\n\t\t\t\t\t\t\t\tschema,\n\t\t\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (isVariantConfigWithProperties(variantConfig)) {\n\t\t\t\tconst layers = variantConfig.layers;\n\t\t\t\tfor (const layerKey in layers) {\n\t\t\t\t\tconst layer = layers[layerKey];\n\t\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\t\tsubComponentName: subComponentKey,\n\t\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\t\ttheme,\n\t\t\t\t\t\t\tschema,\n\t\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t\t});\n\t\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t/**\n\t* Post-process button/iconbutton styles to force box-shadow for borders.\n\t* This runs AFTER all properties have been processed and merged.\n\t*/\n\tconst toApply = COMPONENTS_WITH_SHADOW_BORDERS.find((c) => c.componentName === componentName);\n\tif (toApply) {\n\t\tfor (const className in styles) if (className.includes(`-${toApply.layer}`.toLowerCase())) {\n\t\t\tconst raw = styles[className];\n\t\t\tif (toApply.componentName === \"tab\") {\n\t\t\t\tconst tabUnderlineWidth = raw[CSS_TAB_UNDERLINE_WIDTH];\n\t\t\t\tconst tabUnderlineColor = raw[CSS_TAB_UNDERLINE_COLOR];\n\t\t\t\tconst withoutTabUnderline = { ...raw };\n\t\t\t\tdelete withoutTabUnderline[CSS_TAB_UNDERLINE_WIDTH];\n\t\t\t\tdelete withoutTabUnderline[CSS_TAB_UNDERLINE_COLOR];\n\t\t\t\tconst merged = applyBoxShadowBorder(withoutTabUnderline);\n\t\t\t\tif (tabUnderlineWidth !== void 0) merged[CSS_TAB_UNDERLINE_WIDTH] = tabUnderlineWidth;\n\t\t\t\tif (tabUnderlineColor !== void 0) merged[CSS_TAB_UNDERLINE_COLOR] = tabUnderlineColor;\n\t\t\t\tstyles[className] = merged;\n\t\t\t} else styles[className] = applyBoxShadowBorder(raw);\n\t\t}\n\t}\n\treturn styles;\n}\n/**\n* @param config - Component configuration (Button, IconButton, etc.)\n* @param schema - Production schema with defaults and variables\n* @param theme - Tailwind theme function to resolve design tokens\n* @param previewOptions - Options for generating preview mode class modifiers\n* @returns CSS styles object with grouped selectors for default aliases\n*/\nconst generateStyles = (config, schema, theme, previewOptions) => {\n\tconst styles = generateConfigStyles(config, schema, theme, previewOptions);\n\tif (!config.variants && !config.subComponents) return styles;\n\tconst componentName = config.label.toLowerCase();\n\tif (componentName !== \"button\" && componentName !== \"iconbutton\") return styles;\n\tconst replacementMap = /* @__PURE__ */ new Map();\n\t/**\n\t* Helper: Extract all layer keys from a variant configuration\n\t* Handles both simple variants (with direct layers) and variants with component states\n\t*/\n\tconst getLayerKeys = (variantConfig) => {\n\t\tif (isVariantConfigWithProperties(variantConfig)) return Object.keys(variantConfig.layers);\n\t\telse if (isVariantConfigWithComponentStates(variantConfig)) {\n\t\t\tconst layerKeysSet = /* @__PURE__ */ new Set();\n\t\t\tfor (const componentStateConfig of Object.values(variantConfig.componentStates)) Object.keys(componentStateConfig.layers).forEach((key) => layerKeysSet.add(key));\n\t\t\treturn Array.from(layerKeysSet);\n\t\t}\n\t\treturn [];\n\t};\n\t/**\n\t* Helper: Build replacement map for default variant values\n\t* For each default variant + layer combination, creates an entry like:\n\t* \"uds-button-size-sm-root\" → \".uds-button-size-sm-root, .uds-button-size-default-root\"\n\t*/\n\tconst buildReplacements = (variants, subComponentName) => {\n\t\tfor (const [variantType, variantConfig] of Object.entries(variants)) {\n\t\t\tif (!isVariantConfigWithProperties(variantConfig) && !isVariantConfigWithComponentStates(variantConfig)) continue;\n\t\t\tconst layerKeys = getLayerKeys(variantConfig);\n\t\t\tif (layerKeys.length) {\n\t\t\t\tconst defaultValue = schema.defaults?.[variantType];\n\t\t\t\tif (defaultValue) for (const layerKey of layerKeys) {\n\t\t\t\t\tconst baseClass = generateClassName({\n\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\tvariantKey: variantType,\n\t\t\t\t\t\tvariantValue: defaultValue,\n\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\tsubComponentName\n\t\t\t\t\t});\n\t\t\t\t\tconst defaultClass = generateDefaultClassName(componentName, variantType, layerKey, subComponentName);\n\t\t\t\t\treplacementMap.set(baseClass, `.${baseClass}, .${defaultClass}`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\tif (config.variants) buildReplacements(config.variants);\n\tif (config.subComponents) for (const [subComponentName, subComponentConfig] of Object.entries(config.subComponents)) buildReplacements(subComponentConfig.variants, subComponentName);\n\tconst finalStyles = {};\n\tfor (const [selector, declarations] of Object.entries(styles)) {\n\t\tlet defaultsSelector = selector;\n\t\tlet hasMatch = false;\n\t\tfor (const [defaultVariantClass, replacement] of replacementMap.entries()) if (selector.includes(defaultVariantClass)) {\n\t\t\thasMatch = true;\n\t\t\tconst defaultMatch = replacement.match(/,\\s*\\.([a-z0-9-]+)/);\n\t\t\tif (defaultMatch) {\n\t\t\t\tconst defaultClass = defaultMatch[1];\n\t\t\t\tdefaultsSelector = defaultsSelector.replaceAll(defaultVariantClass, defaultClass);\n\t\t\t}\n\t\t}\n\t\tif (!hasMatch) {\n\t\t\tfinalStyles[selector] = declarations;\n\t\t\tcontinue;\n\t\t}\n\t\tfinalStyles[`${selector}, ${defaultsSelector}`] = declarations;\n\t}\n\treturn finalStyles;\n};\nfunction createConfigurableProperty(prop) {\n\treturn prop;\n}\nfunction createVariantConfig(config) {\n\treturn config;\n}\nfunction createVariantConfigWithProperties(config) {\n\treturn config;\n}\nfunction createVariantConfigWithComponentStates(config) {\n\treturn config;\n}\nfunction createComponentStates(config) {\n\treturn config;\n}\nfunction createLayerConfig(config) {\n\treturn config;\n}\nfunction createSubComponentConfig(config) {\n\treturn config;\n}\n\n//#endregion\nexport { buildConfigSchema, cartesianProduct, coalesceConfigVariant, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, findFixtureType, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, isConfigDefaultValue, statePseudoMapDocsMode };\n//# sourceMappingURL=index.js.map"],"mappings":";;;;;;;;;;AAmBA,MAAM,UAAU;AAChB,MAAM,kBAAkB;AACxB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,iBAAiB;AACvB,MAAM,uBAAuB;AAC7B,MAAM,yBAAyB;AAC/B,MAAM,0BAA0B;AAChC,MAAM,wBAAwB;AAC9B,MAAM,uBAAuB;AAC7B,MAAM,yBAAyB;AAC/B,MAAM,0BAA0B;AAChC,MAAM,wBAAwB;AAC9B,MAAM,0BAA0B;AAChC,MAAM,0BAA0B;AAChC,SAAS,U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Y,aAAa,cAAc;AAC7C,OAAI,UAAU,QAAQ;IACrB,MAAM,eAAe,OAAO,WAAW;AACvC,QAAI,aAAc,MAAK,MAAM,YAAY,WAAW;KACnD,MAAM,YAAY,kBAAkB;MACnC;MACA,YAAY;MACZ,cAAc;MACd,OAAO;MACP;MACA,CAAC;KACF,MAAM,eAAe,yBAAyB,eAAe,aAAa,UAAU,iBAAiB;AACrG,oBAAe,IAAI,WAAW,IAAI,UAAU,KAAK,eAAe;;;;;AAKpE,KAAI,OAAO,SAAU,mBAAkB,OAAO,SAAS;AACvD,KAAI,OAAO,cAAe,MAAK,MAAM,CAAC,kBAAkB,uBAAuB,OAAO,QAAQ,OAAO,cAAc,CAAE,mBAAkB,mBAAmB,UAAU,iBAAiB;CACrL,MAAM,cAAc,EAAE;AACtB,MAAK,MAAM,CAAC,UAAU,iBAAiB,OAAO,QAAQ,OAAO,EAAE;EAC9D,IAAI,mBAAmB;EACvB,IAAI,WAAW;AACf,OAAK,MAAM,CAAC,qBAAqB,gBAAgB,eAAe,SAAS,CAAE,KAAI,SAAS,SAAS,oBAAoB,EAAE;AACtH,cAAW;GACX,MAAM,eAAe,YAAY,MAAM,qBAAqB;AAC5D,OAAI,cAAc;IACjB,MAAM,eAAe,aAAa;AAClC,uBAAmB,iBAAiB,WAAW,qBAAqB,aAAa;;;AAGnF,MAAI,CAAC,UAAU;AACd,eAAY,YAAY;AACxB;;AAED,cAAY,GAAG,SAAS,IAAI,sBAAsB;;AAEnD,QAAO"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../automated-config/dist/utils/index.js"],"sourcesContent":["/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */\nimport { configurableProperties } from \"../properties.js\";\nimport { generateDefaultClassName } from \"./generateDefaultClassName.js\";\nimport { generateSchemaKey } from \"./generateSchemaKey.js\";\nimport { isVariantConfigWithComponentStates, isVariantConfigWithProperties } from \"./variantConfigGuards.js\";\nimport { buildConfigSchema, findFixtureType } from \"./buildConfigSchema.js\";\nimport { cartesianProduct } from \"./cartesianProduct.js\";\nimport { getConfigSubcomponents } from \"./subcomponents.js\";\nimport { coalesceConfigVariant } from \"./coalesceConfigVariant.js\";\nimport { getConfigDefaultValue, isConfigDefaultValue } from \"./defaults.js\";\nimport { generateKeyFromFlatConfigPath } from \"./generateKeyFromFlatConfigPath.js\";\nimport { getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix } from \"./getConfigVariantComponentStatesMatrix.js\";\nimport { getConfigVariantProperties } from \"./getConfigVariantProperties.js\";\nimport { getConfigVariantPseudoStates } from \"./getConfigVariantPseudoStates.js\";\nimport { getConfigVariants } from \"./getConfigVariants.js\";\nimport { BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST } from \"@yahoo/uds-css-tokens\";\nimport { isFunction, mergeWith } from \"lodash-es\";\n//#region src/utils/index.ts\nconst CSS_GAP = \"gap\";\nconst CSS_LINE_HEIGHT = \"line-height\";\nconst CSS_BORDER_WIDTH = \"border-width\";\nconst CSS_BORDER_COLOR = \"border-color\";\nconst CSS_BOX_SHADOW = \"box-shadow\";\nconst CSS_BORDER_TOP_WIDTH = \"border-top-width\";\nconst CSS_BORDER_RIGHT_WIDTH = \"border-right-width\";\nconst CSS_BORDER_BOTTOM_WIDTH = \"border-bottom-width\";\nconst CSS_BORDER_LEFT_WIDTH = \"border-left-width\";\nconst CSS_BORDER_TOP_COLOR = \"border-top-color\";\nconst CSS_BORDER_RIGHT_COLOR = \"border-right-color\";\nconst CSS_BORDER_BOTTOM_COLOR = \"border-bottom-color\";\nconst CSS_BORDER_LEFT_COLOR = \"border-left-color\";\nconst CSS_TAB_UNDERLINE_WIDTH = \"--uds-tab-underline-width\";\nconst CSS_TAB_UNDERLINE_COLOR = \"--uds-tab-underline-color\";\nfunction deepMerge(target, source) {\n\treturn mergeWith({}, target, source);\n}\nconst COMPONENTS_WITH_SHADOW_BORDERS = [\n\t{\n\t\tcomponentName: \"button\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"iconbutton\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"chip\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"tab\",\n\t\tlayer: \"root\"\n\t},\n\t{\n\t\tcomponentName: \"tabs\",\n\t\tlayer: \"root\"\n\t}\n];\n/**\n* Map our \"states\" to pseudo-classes (hover => :hover, pressed => :active, etc.).\n* Adjust or extend as needed.\n*/\nconst statePseudoMap = {\n\trest: \"\",\n\thover: \":hover:not(:active, :disabled, :has(:disabled))\",\n\tpressed: \":active:not(:disabled, :has(:disabled))\",\n\tdisabled: \":is(:disabled, :has(:disabled))\",\n\tvisited: \":visited\",\n\tfocused: \":focus\",\n\t\"focus-within\": \":focus-within\",\n\t\"focused-keyboard\": \":focus-visible\",\n\treadonly: \":has(input:read-only)\",\n\tinvalid: \":has(input[aria-invalid=\\\"true\\\"])\",\n\t\"invalid&hover\": \":has(input[aria-invalid=\\\"true\\\"]):hover:not(:active, :disabled, :has(:disabled))\",\n\t\"invalid&pressed\": \":has(input[aria-invalid=\\\"true\\\"]):active:not(:disabled, :has(:disabled))\"\n};\nconst statePseudoMapDocsMode = {\n\trest: \"\",\n\thover: \"hover\",\n\tpressed: \"active\",\n\tdisabled: \"has-disabled\",\n\tvisited: \"visited\",\n\tfocused: \"focus\",\n\t\"focus-within\": \"focus-within\",\n\t\"focused-keyboard\": \"focus-visible\",\n\treadonly: \"input-readonly\",\n\tinvalid: \"has-input-invalid\",\n\t\"invalid&hover\": \"has-input-invalid-and-hover\",\n\t\"invalid&pressed\": \"has-input-invalid-and-active\"\n};\n/**\n* Generates button line-height with icon size minimum.\n* Ensures button line-height is at least as tall as the icon to prevent clipping.\n* @returns Enhanced line-height CSS value with max(), or original value if icon size unavailable\n*/\nfunction getButtonLineHeightWithIconMinimum({ lineHeight, schema, iconLayerKey, state, theme }) {\n\tconst iconSizeValue = schema.variables?.[iconLayerKey]?.size?.[state]?.value;\n\tif (iconSizeValue) return `max(${lineHeight}, ${theme(configurableProperties.iconSize.twThemePath(\"iconSizes\", iconSizeValue))})`;\n\treturn lineHeight;\n}\n/**\n* Forces button borders to use box-shadow instead of border properties.\n* Converts border-width and border-color into an inset box-shadow layer.\n*\n* Why box-shadow for borders?\n* - Respects border-radius (unlike outline which stays rectangular)\n* - Allows layering multiple shadows in a single property\n* - GPU-accelerated and performant\n* - Works perfectly with rounded/circular buttons\n*\n* @param classStyles - The CSS declarations for a button class\n* @returns Modified styles with box-shadow layers, or original if no border\n*\n* @example\n* Input: { border-width: '2px', border-color: 'red', box-shadow: '0 2px 4px rgba(0,0,0,0.1)' }\n* Output: { box-shadow: 'inset 0 0 0 2px red, 0 2px 4px rgba(0,0,0,0.1)' }\n* Renders borders using inset box-shadows instead of CSS border widths.\n* This preserves visual borders without affecting layout dimensions.\n*/\nfunction applyBoxShadowBorder(classStyles) {\n\tconst stripImportant = (value) => value.replace(/\\s*!important\\s*$/, \"\");\n\tconst hasImportant = (value) => value?.includes(\"!important\") ?? false;\n\tconst isZeroWidth = (value) => !value || /^(0|0px|0rem|0em|0%)$/i.test(stripImportant(value).trim());\n\tconst negateLength = (value) => {\n\t\tconst normalized = stripImportant(value).trim();\n\t\tif (/^(0|0px|0rem|0em|0%)$/i.test(normalized)) return \"0\";\n\t\treturn `calc(${normalized} * -1)`;\n\t};\n\tconst borderWidth = classStyles[CSS_BORDER_WIDTH];\n\tconst borderColor = classStyles[CSS_BORDER_COLOR];\n\tconst topWidth = classStyles[CSS_BORDER_TOP_WIDTH] ?? borderWidth;\n\tconst rightWidth = classStyles[CSS_BORDER_RIGHT_WIDTH] ?? borderWidth;\n\tconst bottomWidth = classStyles[CSS_BORDER_BOTTOM_WIDTH] ?? borderWidth;\n\tconst leftWidth = classStyles[CSS_BORDER_LEFT_WIDTH] ?? borderWidth;\n\tconst topColor = classStyles[CSS_BORDER_TOP_COLOR] ?? borderColor;\n\tconst rightColor = classStyles[CSS_BORDER_RIGHT_COLOR] ?? borderColor;\n\tconst bottomColor = classStyles[CSS_BORDER_BOTTOM_COLOR] ?? borderColor;\n\tconst leftColor = classStyles[CSS_BORDER_LEFT_COLOR] ?? borderColor;\n\tconst borderLayers = [];\n\tif (!isZeroWidth(topWidth) && topColor) borderLayers.push(`inset 0 ${stripImportant(topWidth)} 0 0 ${stripImportant(topColor)}`);\n\tif (!isZeroWidth(rightWidth) && rightColor) borderLayers.push(`inset ${negateLength(rightWidth)} 0 0 0 ${stripImportant(rightColor)}`);\n\tif (!isZeroWidth(bottomWidth) && bottomColor) borderLayers.push(`inset 0 ${negateLength(bottomWidth)} 0 0 ${stripImportant(bottomColor)}`);\n\tif (!isZeroWidth(leftWidth) && leftColor) borderLayers.push(`inset ${stripImportant(leftWidth)} 0 0 0 ${stripImportant(leftColor)}`);\n\tif (borderLayers.length === 0) return classStyles;\n\tconst layers = [...borderLayers, classStyles[CSS_BOX_SHADOW] && stripImportant(classStyles[CSS_BOX_SHADOW])].filter(Boolean);\n\tconst needsImportant = hasImportant(topWidth) || hasImportant(rightWidth) || hasImportant(bottomWidth) || hasImportant(leftWidth) || hasImportant(topColor) || hasImportant(rightColor) || hasImportant(bottomColor) || hasImportant(leftColor) || hasImportant(borderWidth) || hasImportant(borderColor) || hasImportant(classStyles[CSS_BOX_SHADOW]);\n\tconst newStyles = { ...classStyles };\n\tnewStyles[CSS_BOX_SHADOW] = layers.join(\", \") + (needsImportant ? \" !important\" : \"\");\n\tdelete newStyles[CSS_BORDER_WIDTH];\n\tdelete newStyles[CSS_BORDER_COLOR];\n\tdelete newStyles[CSS_BORDER_TOP_WIDTH];\n\tdelete newStyles[CSS_BORDER_RIGHT_WIDTH];\n\tdelete newStyles[CSS_BORDER_BOTTOM_WIDTH];\n\tdelete newStyles[CSS_BORDER_LEFT_WIDTH];\n\tdelete newStyles[CSS_BORDER_TOP_COLOR];\n\tdelete newStyles[CSS_BORDER_RIGHT_COLOR];\n\tdelete newStyles[CSS_BORDER_BOTTOM_COLOR];\n\tdelete newStyles[CSS_BORDER_LEFT_COLOR];\n\treturn newStyles;\n}\nfunction generateClassName({ componentName, subComponentName, variantKey, variantValue, componentStateKey, componentStateValue, layer, layerOptionalPseudoSelector }) {\n\tlet className = \"\";\n\tif (subComponentName) className = `uds-${componentName}-${subComponentName}-${variantKey}`.toLowerCase();\n\telse className = `uds-${componentName}-${variantKey}`.toLowerCase();\n\tif (variantValue) className = `${className}-${variantValue}`.toLowerCase();\n\tif (componentStateKey && componentStateValue) className = `${className}-${componentStateKey}-${componentStateValue}`.toLowerCase();\n\tclassName = `${className}-${layer}`.toLowerCase();\n\tif (layerOptionalPseudoSelector) className = `${className}${layerOptionalPseudoSelector}`;\n\treturn className.replaceAll(/\\s+/g, \"-\");\n}\nconst getTheCssPropertyValue = (schema, theme, propertyName, schemaStateValue, existingValue, originalPropertyDefinition) => {\n\tconst { value, type } = schemaStateValue;\n\tconst propertyConfig = configurableProperties[propertyName];\n\tlet newValue;\n\tif (propertyConfig.customValueRenderer) newValue = propertyConfig.customValueRenderer(schemaStateValue, schema, theme, originalPropertyDefinition);\n\telse {\n\t\tconst safeTwThemePath = propertyConfig.twThemePath;\n\t\tnewValue = theme(safeTwThemePath(type, String(value)));\n\t}\n\tif (propertyConfig.concatenate && existingValue) return `${existingValue}${propertyConfig.concatenationDelimiter || \", \"}${newValue}`;\n\treturn newValue;\n};\nfunction generateDeclaration({ componentName, subComponentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, componentStateKey, componentStateValue, schema, propertyKey, originalPropertyDefinition, theme, currentStyles, previewOptions }) {\n\tconst schemaKey = generateSchemaKey({\n\t\tvariantKey,\n\t\tvariantValue,\n\t\tlayer,\n\t\tsubComponentName,\n\t\tcomponentStateKey,\n\t\tcomponentStateValue\n\t});\n\tlet className = generateClassName({\n\t\tcomponentName,\n\t\tvariantKey,\n\t\tvariantValue,\n\t\tlayer,\n\t\tsubComponentName,\n\t\tcomponentStateKey,\n\t\tcomponentStateValue\n\t});\n\tconst propertyStateMap = schema.variables?.[schemaKey]?.[propertyKey];\n\tif (!propertyStateMap) throw new Error(`Prop definition (${componentName} - ${schemaKey} - ${propertyKey}) not found, this is not expected, please report the bug to the UDS team`);\n\tconst styles = {};\n\tfor (const propStateStr in propertyStateMap) {\n\t\tconst propertyState = propStateStr;\n\t\tconst propertyStateSelector = statePseudoMap[propertyState] ?? \"\";\n\t\tconst schemaValueForState = propertyStateMap[propertyState];\n\t\tlet fullClassName = ``;\n\t\tif (layer === \"root\") if (componentStateKey && componentStateValue) {\n\t\t\tconst rootVariantClass = generateClassName({\n\t\t\t\tcomponentName,\n\t\t\t\tvariantKey,\n\t\t\t\tvariantValue,\n\t\t\t\tlayer,\n\t\t\t\tsubComponentName\n\t\t\t});\n\t\t\tclassName = generateClassName({\n\t\t\t\tcomponentName,\n\t\t\t\tvariantKey,\n\t\t\t\tlayer,\n\t\t\t\tsubComponentName,\n\t\t\t\tcomponentStateKey,\n\t\t\t\tcomponentStateValue\n\t\t\t});\n\t\t\tfullClassName = `.${rootVariantClass}${propertyStateSelector}.${className}`;\n\t\t} else fullClassName = `.${className}${propertyStateSelector}`;\n\t\telse {\n\t\t\tconst rootVariantClassName = generateClassName({\n\t\t\t\tcomponentName,\n\t\t\t\tvariantKey,\n\t\t\t\tvariantValue,\n\t\t\t\tlayer: \"root\",\n\t\t\t\tsubComponentName\n\t\t\t});\n\t\t\tif (componentStateKey && componentStateValue) {\n\t\t\t\tconst rootVariantClassNameWithComponentState = generateClassName({\n\t\t\t\t\tcomponentName,\n\t\t\t\t\tvariantKey,\n\t\t\t\t\tlayer: \"root\",\n\t\t\t\t\tsubComponentName,\n\t\t\t\t\tcomponentStateKey,\n\t\t\t\t\tcomponentStateValue\n\t\t\t\t});\n\t\t\t\tclassName = generateClassName({\n\t\t\t\t\tcomponentName,\n\t\t\t\t\tvariantKey,\n\t\t\t\t\tvariantValue,\n\t\t\t\t\tlayer,\n\t\t\t\t\tlayerOptionalPseudoSelector,\n\t\t\t\t\tsubComponentName\n\t\t\t\t});\n\t\t\t\tfullClassName = `.${rootVariantClassName}${propertyStateSelector}.${rootVariantClassNameWithComponentState} .${className}`;\n\t\t\t} else fullClassName = `.${rootVariantClassName}${propertyStateSelector} .${className}`;\n\t\t}\n\t\tconst { cssProperties, extendedProperties: extendedPropertiesGetter } = configurableProperties[originalPropertyDefinition.name];\n\t\tconst cssDeclarations = {};\n\t\tconst isExtendedPropertiesFunction = isFunction(extendedPropertiesGetter);\n\t\tconst extendedProperties = isExtendedPropertiesFunction ? extendedPropertiesGetter({\n\t\t\tcomponentName,\n\t\t\tsubComponentName,\n\t\t\tlayer,\n\t\t\tpropertyKey\n\t\t}) : extendedPropertiesGetter;\n\t\tif (extendedProperties && extendedProperties.length) {\n\t\t\tif (!isExtendedPropertiesFunction && (typeof cssProperties === \"string\" || Array.isArray(cssProperties) && cssProperties.length > 0)) throw new Error(\"Invalid configuration: cssProperties should not be configured when extendedProperties are defined. Please update your property configuration accordingly.\");\n\t\t\tfor (const extendedProp of extendedProperties) {\n\t\t\t\tconst cssPropertiesRef = configurableProperties[extendedProp].cssProperties;\n\t\t\t\tif (typeof cssPropertiesRef === \"string\") {\n\t\t\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssPropertiesRef];\n\t\t\t\t\tcssDeclarations[cssPropertiesRef] = getTheCssPropertyValue(schema, theme, extendedProp, schemaValueForState, existingValue);\n\t\t\t\t} else if (Array.isArray(cssPropertiesRef)) for (const cssProp of cssPropertiesRef) {\n\t\t\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssProp];\n\t\t\t\t\tcssDeclarations[cssProp] = getTheCssPropertyValue(schema, theme, extendedProp, schemaValueForState, existingValue);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (typeof cssProperties === \"string\") {\n\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssProperties];\n\t\t\tcssDeclarations[cssProperties] = getTheCssPropertyValue(schema, theme, originalPropertyDefinition.name, schemaValueForState, existingValue, originalPropertyDefinition);\n\t\t} else if (Array.isArray(cssProperties)) for (const cssProp of cssProperties) {\n\t\t\tconst existingValue = currentStyles?.[fullClassName]?.[cssProp];\n\t\t\tcssDeclarations[cssProp] = getTheCssPropertyValue(schema, theme, originalPropertyDefinition.name, schemaValueForState, existingValue, originalPropertyDefinition);\n\t\t}\n\t\t/**\n\t\t* Button root layer workarounds & enhancements.\n\t\t* These handle Motion animation bridges and visual fixes until better config-to-component solutions exist.\n\t\t*/\n\t\tif (componentName === \"button\" && layer === \"root\") {\n\t\t\tif (propertyKey === CSS_GAP) cssDeclarations[BUTTON_GAP_VAR] = cssDeclarations[CSS_GAP];\n\t\t\tif (propertyKey === \"scaleEffect\" && propertyState === \"hover\") {\n\t\t\t\tconst rootClassName = `.${className}`;\n\t\t\t\tconst renderValue = (schemaValue) => configurableProperties.scaleEffect.customValueRenderer?.(schemaValue, schema, () => \"\") ?? \"1\";\n\t\t\t\tif (!styles[rootClassName]) styles[rootClassName] = {};\n\t\t\t\tstyles[rootClassName][BUTTON_SCALE_EFFECT_REST] = \"1\";\n\t\t\t\tif (propertyStateMap.hover) styles[rootClassName][BUTTON_SCALE_EFFECT_HOVER] = renderValue(propertyStateMap.hover);\n\t\t\t\tif (propertyStateMap.pressed) styles[rootClassName][BUTTON_SCALE_EFFECT_PRESSED] = renderValue(propertyStateMap.pressed);\n\t\t\t}\n\t\t\tif (cssDeclarations[CSS_LINE_HEIGHT]) {\n\t\t\t\tconst iconLayerKey = generateSchemaKey({\n\t\t\t\t\tvariantKey,\n\t\t\t\t\tvariantValue,\n\t\t\t\t\tlayer: \"icon\",\n\t\t\t\t\tsubComponentName\n\t\t\t\t});\n\t\t\t\tcssDeclarations[CSS_LINE_HEIGHT] = getButtonLineHeightWithIconMinimum({\n\t\t\t\t\tlineHeight: cssDeclarations[CSS_LINE_HEIGHT],\n\t\t\t\t\tschema,\n\t\t\t\t\ticonLayerKey,\n\t\t\t\t\tstate: propertyState,\n\t\t\t\t\ttheme\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tif ((componentName === \"tabs\" || componentName === \"tab\") && layer === \"root\") {\n\t\t\tconst schemaVariablesForKey = schema?.variables?.[schemaKey];\n\t\t\tif (propertyKey === \"borderWidth\" && schemaVariablesForKey?.underlineWidth) {\n\t\t\t\tconst borderWidth = cssDeclarations[CSS_BORDER_WIDTH];\n\t\t\t\tif (borderWidth) {\n\t\t\t\t\tcssDeclarations[CSS_BORDER_TOP_WIDTH] = borderWidth;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_RIGHT_WIDTH] = borderWidth;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_BOTTOM_WIDTH] = borderWidth;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_LEFT_WIDTH] = borderWidth;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_WIDTH];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (propertyKey === \"borderColor\" && schemaVariablesForKey?.underlineColor) {\n\t\t\t\tconst borderColor = cssDeclarations[CSS_BORDER_COLOR];\n\t\t\t\tif (borderColor) {\n\t\t\t\t\tcssDeclarations[CSS_BORDER_TOP_COLOR] = borderColor;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_RIGHT_COLOR] = borderColor;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_BOTTOM_COLOR] = borderColor;\n\t\t\t\t\tcssDeclarations[CSS_BORDER_LEFT_COLOR] = borderColor;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_COLOR];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (propertyKey === \"underlineWidth\") {\n\t\t\t\tconst underlineWidth = cssDeclarations[CSS_BORDER_BOTTOM_WIDTH];\n\t\t\t\tif (underlineWidth) {\n\t\t\t\t\tcssDeclarations[CSS_TAB_UNDERLINE_WIDTH] = underlineWidth;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_BOTTOM_WIDTH];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (propertyKey === \"underlineColor\") {\n\t\t\t\tconst underlineColor = cssDeclarations[CSS_BORDER_BOTTOM_COLOR];\n\t\t\t\tif (underlineColor) {\n\t\t\t\t\tcssDeclarations[CSS_TAB_UNDERLINE_COLOR] = underlineColor;\n\t\t\t\t\tdelete cssDeclarations[CSS_BORDER_BOTTOM_COLOR];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!styles[fullClassName]) styles[fullClassName] = {\n\t\t\t...cssDeclarations,\n\t\t\t...styles[fullClassName]\n\t\t};\n\t\tif (previewOptions?.generatePseudoStateClassModifier) {\n\t\t\tconst pseudoPrefixClass = statePseudoMapDocsMode[propertyState] ?? \"\";\n\t\t\tif (pseudoPrefixClass.length) {\n\t\t\t\tconst importantCssDeclarations = Object.fromEntries(Object.entries(cssDeclarations).map(([prop, value]) => {\n\t\t\t\t\tconst strValue = String(value).trimEnd().replace(/;$/, \"\");\n\t\t\t\t\tif (strValue.includes(\"!important\")) return [prop, strValue];\n\t\t\t\t\treturn [prop, `${strValue} !important`];\n\t\t\t\t}));\n\t\t\t\tstyles[`.${pseudoPrefixClass}${fullClassName}`.replace(propertyStateSelector, \"\")] = {\n\t\t\t\t\t...importantCssDeclarations,\n\t\t\t\t\t...styles[`.${pseudoPrefixClass}${fullClassName}`.replace(propertyStateSelector, \"\")]\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t}\n\treturn styles;\n}\nfunction generateConfigStyles(config, schema, theme, previewOptions) {\n\tconst componentName = config.label.toLowerCase();\n\tlet styles = {};\n\tfor (const variantKey in config.variants) {\n\t\tconst variantConfig = config.variants[variantKey];\n\t\tfor (const variantOption of variantConfig.options) if (isVariantConfigWithComponentStates(variantConfig)) {\n\t\t\tconst componentStates = variantConfig.componentStates;\n\t\t\tfor (const componentStateKey in componentStates) {\n\t\t\t\tconst componentState = componentStates[componentStateKey];\n\t\t\t\tfor (const componentStateOption of componentState.options) for (const layerKey in componentState.layers) {\n\t\t\t\t\tconst layer = componentState.layers[layerKey];\n\t\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\t\tcomponentStateKey,\n\t\t\t\t\t\t\tcomponentStateValue: componentStateOption,\n\t\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\t\ttheme,\n\t\t\t\t\t\t\tschema,\n\t\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t\t});\n\t\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (isVariantConfigWithProperties(variantConfig)) {\n\t\t\tconst layers = variantConfig.layers;\n\t\t\tfor (const layerKey in layers) {\n\t\t\t\tconst layer = layers[layerKey];\n\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\ttheme,\n\t\t\t\t\t\tschema,\n\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t});\n\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tif (config.subComponents) {\n\t\tconst { subComponents } = config;\n\t\tfor (const subComponentKey in subComponents) for (const variantKey in subComponents[subComponentKey].variants) {\n\t\t\tconst variantConfig = subComponents[subComponentKey].variants[variantKey];\n\t\t\tfor (const variantOption of variantConfig.options) if (isVariantConfigWithComponentStates(variantConfig)) {\n\t\t\t\tconst componentStates = variantConfig.componentStates;\n\t\t\t\tfor (const componentStateKey in componentStates) {\n\t\t\t\t\tconst componentState = componentStates[componentStateKey];\n\t\t\t\t\tfor (const componentStateOption of componentState.options) for (const layerKey in componentState.layers) {\n\t\t\t\t\t\tconst layer = componentState.layers[layerKey];\n\t\t\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\t\t\tcomponentStateKey,\n\t\t\t\t\t\t\t\tcomponentStateValue: componentStateOption,\n\t\t\t\t\t\t\t\tsubComponentName: subComponentKey,\n\t\t\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\t\t\ttheme,\n\t\t\t\t\t\t\t\tschema,\n\t\t\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (isVariantConfigWithProperties(variantConfig)) {\n\t\t\t\tconst layers = variantConfig.layers;\n\t\t\t\tfor (const layerKey in layers) {\n\t\t\t\t\tconst layer = layers[layerKey];\n\t\t\t\t\tfor (const propertyKey in layer.properties) {\n\t\t\t\t\t\tconst originalPropertyDefinition = layer.properties[propertyKey];\n\t\t\t\t\t\tconst declarations = generateDeclaration({\n\t\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\t\tsubComponentName: subComponentKey,\n\t\t\t\t\t\t\tvariantKey,\n\t\t\t\t\t\t\tvariantValue: variantOption,\n\t\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\t\tlayerOptionalPseudoSelector: layer.pseudoSelector,\n\t\t\t\t\t\t\tpropertyKey,\n\t\t\t\t\t\t\toriginalPropertyDefinition,\n\t\t\t\t\t\t\ttheme,\n\t\t\t\t\t\t\tschema,\n\t\t\t\t\t\t\tcurrentStyles: styles,\n\t\t\t\t\t\t\tpreviewOptions\n\t\t\t\t\t\t});\n\t\t\t\t\t\tstyles = deepMerge(styles, declarations);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t/**\n\t* Post-process button/iconbutton styles to force box-shadow for borders.\n\t* This runs AFTER all properties have been processed and merged.\n\t*/\n\tconst toApply = COMPONENTS_WITH_SHADOW_BORDERS.find((c) => c.componentName === componentName);\n\tif (toApply) {\n\t\tfor (const className in styles) if (className.includes(`-${toApply.layer}`.toLowerCase())) {\n\t\t\tconst raw = styles[className];\n\t\t\tif (toApply.componentName === \"tab\") {\n\t\t\t\tconst tabUnderlineWidth = raw[CSS_TAB_UNDERLINE_WIDTH];\n\t\t\t\tconst tabUnderlineColor = raw[CSS_TAB_UNDERLINE_COLOR];\n\t\t\t\tconst withoutTabUnderline = { ...raw };\n\t\t\t\tdelete withoutTabUnderline[CSS_TAB_UNDERLINE_WIDTH];\n\t\t\t\tdelete withoutTabUnderline[CSS_TAB_UNDERLINE_COLOR];\n\t\t\t\tconst merged = applyBoxShadowBorder(withoutTabUnderline);\n\t\t\t\tif (tabUnderlineWidth !== void 0) merged[CSS_TAB_UNDERLINE_WIDTH] = tabUnderlineWidth;\n\t\t\t\tif (tabUnderlineColor !== void 0) merged[CSS_TAB_UNDERLINE_COLOR] = tabUnderlineColor;\n\t\t\t\tstyles[className] = merged;\n\t\t\t} else styles[className] = applyBoxShadowBorder(raw);\n\t\t}\n\t}\n\treturn styles;\n}\n/**\n* @param config - Component configuration (Button, IconButton, etc.)\n* @param schema - Production schema with defaults and variables\n* @param theme - Tailwind theme function to resolve design tokens\n* @param previewOptions - Options for generating preview mode class modifiers\n* @returns CSS styles object with grouped selectors for default aliases\n*/\nconst generateStyles = (config, schema, theme, previewOptions) => {\n\tconst styles = generateConfigStyles(config, schema, theme, previewOptions);\n\tif (!config.variants && !config.subComponents) return styles;\n\tconst componentName = config.label.toLowerCase();\n\tif (componentName !== \"button\" && componentName !== \"iconbutton\") return styles;\n\tconst replacementMap = /* @__PURE__ */ new Map();\n\t/**\n\t* Helper: Extract all layer keys from a variant configuration\n\t* Handles both simple variants (with direct layers) and variants with component states\n\t*/\n\tconst getLayerKeys = (variantConfig) => {\n\t\tif (isVariantConfigWithProperties(variantConfig)) return Object.keys(variantConfig.layers);\n\t\telse if (isVariantConfigWithComponentStates(variantConfig)) {\n\t\t\tconst layerKeysSet = /* @__PURE__ */ new Set();\n\t\t\tfor (const componentStateConfig of Object.values(variantConfig.componentStates)) Object.keys(componentStateConfig.layers).forEach((key) => layerKeysSet.add(key));\n\t\t\treturn Array.from(layerKeysSet);\n\t\t}\n\t\treturn [];\n\t};\n\t/**\n\t* Helper: Build replacement map for default variant values\n\t* For each default variant + layer combination, creates an entry like:\n\t* \"uds-button-size-sm-root\" → \".uds-button-size-sm-root, .uds-button-size-default-root\"\n\t*/\n\tconst buildReplacements = (variants, subComponentName) => {\n\t\tfor (const [variantType, variantConfig] of Object.entries(variants)) {\n\t\t\tif (!isVariantConfigWithProperties(variantConfig) && !isVariantConfigWithComponentStates(variantConfig)) continue;\n\t\t\tconst layerKeys = getLayerKeys(variantConfig);\n\t\t\tif (layerKeys.length) {\n\t\t\t\tconst defaultValue = schema.defaults?.[variantType];\n\t\t\t\tif (defaultValue) for (const layerKey of layerKeys) {\n\t\t\t\t\tconst baseClass = generateClassName({\n\t\t\t\t\t\tcomponentName,\n\t\t\t\t\t\tvariantKey: variantType,\n\t\t\t\t\t\tvariantValue: defaultValue,\n\t\t\t\t\t\tlayer: layerKey,\n\t\t\t\t\t\tsubComponentName\n\t\t\t\t\t});\n\t\t\t\t\tconst defaultClass = generateDefaultClassName(componentName, variantType, layerKey, subComponentName);\n\t\t\t\t\treplacementMap.set(baseClass, `.${baseClass}, .${defaultClass}`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\tif (config.variants) buildReplacements(config.variants);\n\tif (config.subComponents) for (const [subComponentName, subComponentConfig] of Object.entries(config.subComponents)) buildReplacements(subComponentConfig.variants, subComponentName);\n\tconst finalStyles = {};\n\tfor (const [selector, declarations] of Object.entries(styles)) {\n\t\tlet defaultsSelector = selector;\n\t\tlet hasMatch = false;\n\t\tfor (const [defaultVariantClass, replacement] of replacementMap.entries()) if (selector.includes(defaultVariantClass)) {\n\t\t\thasMatch = true;\n\t\t\tconst defaultMatch = replacement.match(/,\\s*\\.([a-z0-9-]+)/);\n\t\t\tif (defaultMatch) {\n\t\t\t\tconst defaultClass = defaultMatch[1];\n\t\t\t\tdefaultsSelector = defaultsSelector.replaceAll(defaultVariantClass, defaultClass);\n\t\t\t}\n\t\t}\n\t\tif (!hasMatch) {\n\t\t\tfinalStyles[selector] = declarations;\n\t\t\tcontinue;\n\t\t}\n\t\tfinalStyles[`${selector}, ${defaultsSelector}`] = declarations;\n\t}\n\treturn finalStyles;\n};\nfunction createConfigurableProperty(prop) {\n\treturn prop;\n}\nfunction createVariantConfig(config) {\n\treturn config;\n}\nfunction createVariantConfigWithProperties(config) {\n\treturn config;\n}\nfunction createVariantConfigWithComponentStates(config) {\n\treturn config;\n}\nfunction createComponentStates(config) {\n\treturn config;\n}\nfunction createLayerConfig(config) {\n\treturn config;\n}\nfunction createSubComponentConfig(config) {\n\treturn config;\n}\n//#endregion\nexport { buildConfigSchema, cartesianProduct, coalesceConfigVariant, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, findFixtureType, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, isConfigDefaultValue, statePseudoMapDocsMode };\n\n//# sourceMappingURL=index.js.map"],"mappings":";;;;;;;;;AAkBA,MAAM,UAAU;AAChB,MAAM,kBAAkB;AACxB,MAAM,mBAAmB;AACzB,MAAM,mBAAmB;AACzB,MAAM,iBAAiB;AACvB,MAAM,uBAAuB;AAC7B,MAAM,yBAAyB;AAC/B,MAAM,0BAA0B;AAChC,MAAM,wBAAwB;AAC9B,MAAM,uBAAuB;AAC7B,MAAM,yBAAyB;AAC/B,MAAM,0BAA0B;AAChC,MAAM,wBAAwB;AAC9B,MAAM,0BAA0B;AAChC,MAAM,0BAA0B;AAChC,SAAS,UAAU,QAAQ,QAAQ;AAClC,QAAO,UAAU,EAAE,EAAE,QAAQ,OAAO;;AAErC,MAAM,iCAAiC;CACtC;EACC,eAAe;EACf,OAAO;EACP;CACD;EACC,eAAe;EACf,OAAO;EACP;CACD;EACC,eAAe;EACf,OAAO;EACP;CACD;EACC,eAAe;EACf,OAAO;EACP;CACD;EACC,eAAe;EACf,OAAO;EACP;CACD;;;;;AAKD,MAAM,iBAAiB;CACtB,MAAM;CACN,OAAO;CACP,SAAS;CACT,UAAU;CACV,SAAS;CACT,SAAS;CACT,gBAAgB;CAChB,oBAAoB;CACpB,UAAU;CACV,SAAS;CACT,iBAAiB;CACjB,mBAAmB;CACnB;AACD,MAAM,yBAAyB;CAC9B,MAAM;CACN,OA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CACrL,MAAM,cAAc,EAAE;AACtB,MAAK,MAAM,CAAC,UAAU,iBAAiB,OAAO,QAAQ,OAAO,EAAE;EAC9D,IAAI,mBAAmB;EACvB,IAAI,WAAW;AACf,OAAK,MAAM,CAAC,qBAAqB,gBAAgB,eAAe,SAAS,CAAE,KAAI,SAAS,SAAS,oBAAoB,EAAE;AACtH,cAAW;GACX,MAAM,eAAe,YAAY,MAAM,qBAAqB;AAC5D,OAAI,cAAc;IACjB,MAAM,eAAe,aAAa;AAClC,uBAAmB,iBAAiB,WAAW,qBAAqB,aAAa;;;AAGnF,MAAI,CAAC,UAAU;AACd,eAAY,YAAY;AACxB;;AAED,cAAY,GAAG,SAAS,IAAI,sBAAsB;;AAEnD,QAAO"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
|
|
2
|
-
|
|
3
|
-
const require_assertUnreachable = require(
|
|
4
|
-
|
|
2
|
+
require("../../../palette/dist/index.cjs");
|
|
3
|
+
const require_assertUnreachable = require("./assertUnreachable.cjs");
|
|
5
4
|
//#region ../automated-config/dist/utils/mapColorFixtureToValue.js
|
|
6
5
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
7
6
|
const mapColorFixtureToValue = (fixtureType, value) => {
|
|
8
7
|
switch (fixtureType) {
|
|
9
8
|
case "alwaysPaletteAliases":
|
|
10
|
-
if (value.startsWith(
|
|
9
|
+
if (value.startsWith("always/")) {
|
|
11
10
|
const [, subValue] = value.split("/");
|
|
12
11
|
return `colors.always.${subValue}`;
|
|
13
12
|
}
|
|
@@ -23,6 +22,5 @@ const mapColorFixtureToValue = (fixtureType, value) => {
|
|
|
23
22
|
}
|
|
24
23
|
return require_assertUnreachable.assertUnreachable(fixtureType);
|
|
25
24
|
};
|
|
26
|
-
|
|
27
25
|
//#endregion
|
|
28
|
-
exports.mapColorFixtureToValue = mapColorFixtureToValue;
|
|
26
|
+
exports.mapColorFixtureToValue = mapColorFixtureToValue;
|