@yahoo/uds 3.175.2 → 3.175.4
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 +1 -1
- package/dist/automated-config/dist/generated/autoVariants.d.cts +1 -1
- package/dist/automated-config/dist/generated/autoVariants.d.ts +1 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +1 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +1 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +4 -5
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +4 -5
- package/dist/automated-config/dist/properties.d.cts +3 -4
- package/dist/automated-config/dist/properties.d.ts +3 -4
- package/dist/automated-config/dist/types/ComponentConfig.d.cts +2 -3
- package/dist/automated-config/dist/types/ComponentConfig.d.ts +2 -3
- package/dist/automated-config/dist/types/ComponentStyles.d.cts +2 -3
- package/dist/automated-config/dist/types/ComponentStyles.d.ts +2 -3
- package/dist/automated-config/dist/types/ConfigSchema.d.cts +2 -4
- package/dist/automated-config/dist/types/ConfigSchema.d.ts +2 -4
- package/dist/automated-config/dist/types/StateAxis.cjs +25 -2
- package/dist/automated-config/dist/types/StateAxis.d.cts +0 -21
- package/dist/automated-config/dist/types/StateAxis.d.ts +0 -21
- package/dist/automated-config/dist/types/StateAxis.js +25 -3
- package/dist/automated-config/dist/utils/buildConfigSchema.cjs +1 -0
- package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +15 -15
- package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +15 -15
- package/dist/automated-config/dist/utils/buildConfigSchema.js +1 -1
- package/dist/automated-config/dist/utils/canonicalizeStateKey.d.cts +1 -2
- package/dist/automated-config/dist/utils/canonicalizeStateKey.d.ts +1 -2
- package/dist/automated-config/dist/utils/cartesianProduct.d.cts +1 -1
- package/dist/automated-config/dist/utils/cartesianProduct.d.ts +1 -1
- package/dist/automated-config/dist/utils/coalesceConfigVariant.d.cts +1 -2
- package/dist/automated-config/dist/utils/coalesceConfigVariant.d.ts +1 -2
- package/dist/automated-config/dist/utils/defaults.d.cts +1 -2
- package/dist/automated-config/dist/utils/defaults.d.ts +1 -2
- package/dist/automated-config/dist/utils/generateDefaultClassName.d.cts +1 -1
- package/dist/automated-config/dist/utils/generateDefaultClassName.d.ts +1 -1
- package/dist/automated-config/dist/utils/generateKeyFromFlatConfigPath.d.cts +1 -1
- package/dist/automated-config/dist/utils/generateKeyFromFlatConfigPath.d.ts +1 -1
- package/dist/automated-config/dist/utils/generateSchemaKey.d.cts +2 -9
- package/dist/automated-config/dist/utils/generateSchemaKey.d.ts +2 -9
- package/dist/automated-config/dist/utils/getButtonControlHeight.cjs +1 -1
- package/dist/automated-config/dist/utils/getButtonControlHeight.d.cts +8 -56
- package/dist/automated-config/dist/utils/getButtonControlHeight.d.ts +8 -56
- package/dist/automated-config/dist/utils/getButtonControlHeight.js +1 -1
- package/dist/automated-config/dist/utils/getButtonControlHeightPx.cjs +4 -4
- package/dist/automated-config/dist/utils/getButtonControlHeightPx.d.cts +1 -2
- package/dist/automated-config/dist/utils/getButtonControlHeightPx.d.ts +1 -2
- package/dist/automated-config/dist/utils/getButtonControlHeightPx.js +4 -3
- package/dist/automated-config/dist/utils/getConfigComponentVariant.d.cts +1 -2
- package/dist/automated-config/dist/utils/getConfigComponentVariant.d.ts +1 -2
- package/dist/automated-config/dist/utils/getConfigVariantComponentStatesMatrix.cjs +0 -1
- package/dist/automated-config/dist/utils/getConfigVariantComponentStatesMatrix.d.cts +1 -2
- package/dist/automated-config/dist/utils/getConfigVariantComponentStatesMatrix.d.ts +1 -2
- package/dist/automated-config/dist/utils/getConfigVariantProperties.cjs +0 -1
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +3 -4
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +3 -4
- package/dist/automated-config/dist/utils/getConfigVariantPseudoStates.d.cts +1 -2
- package/dist/automated-config/dist/utils/getConfigVariantPseudoStates.d.ts +1 -2
- package/dist/automated-config/dist/utils/getConfigVariants.cjs +0 -1
- package/dist/automated-config/dist/utils/getConfigVariants.d.cts +1 -2
- package/dist/automated-config/dist/utils/getConfigVariants.d.ts +1 -2
- package/dist/automated-config/dist/utils/getPaginationControlWidthPx.cjs +3 -3
- package/dist/automated-config/dist/utils/getPaginationControlWidthPx.d.cts +1 -1
- package/dist/automated-config/dist/utils/getPaginationControlWidthPx.d.ts +1 -1
- package/dist/automated-config/dist/utils/getPaginationControlWidthPx.js +3 -2
- package/dist/automated-config/dist/utils/iconButtonMatchButtonHeight.d.cts +1 -2
- package/dist/automated-config/dist/utils/iconButtonMatchButtonHeight.d.ts +1 -2
- package/dist/automated-config/dist/utils/index.cjs +130 -66
- package/dist/automated-config/dist/utils/index.d.cts +7 -39
- package/dist/automated-config/dist/utils/index.d.ts +7 -39
- package/dist/automated-config/dist/utils/index.js +83 -71
- package/dist/automated-config/dist/utils/isConfiguratorPropertyVisible.d.cts +2 -3
- package/dist/automated-config/dist/utils/isConfiguratorPropertyVisible.d.ts +2 -3
- package/dist/automated-config/dist/utils/pseudoStateSelectors.cjs +3 -1
- package/dist/automated-config/dist/utils/pseudoStateSelectors.d.cts +1 -43
- package/dist/automated-config/dist/utils/pseudoStateSelectors.d.ts +1 -43
- package/dist/automated-config/dist/utils/pseudoStateSelectors.js +2 -2
- package/dist/automated-config/dist/utils/resolvePropertyStates.cjs +1 -0
- package/dist/automated-config/dist/utils/resolvePropertyStates.d.cts +2 -12
- package/dist/automated-config/dist/utils/resolvePropertyStates.d.ts +2 -12
- package/dist/automated-config/dist/utils/resolvePropertyStates.js +1 -1
- package/dist/automated-config/dist/utils/resolveSlotByCascade.d.cts +1 -1
- package/dist/automated-config/dist/utils/resolveSlotByCascade.d.ts +1 -1
- package/dist/automated-config/dist/utils/subcomponents.d.cts +1 -2
- package/dist/automated-config/dist/utils/subcomponents.d.ts +1 -2
- package/dist/automated-config/dist/utils/variantConfigGuards.d.cts +1 -2
- package/dist/automated-config/dist/utils/variantConfigGuards.d.ts +1 -2
- package/dist/cli/commands/purge.d.cts +1 -1
- package/dist/cli/commands/purge.d.ts +1 -1
- package/dist/cli/commands/sync.cjs +4 -1
- package/dist/cli/commands/sync.d.cts +1 -6
- package/dist/cli/commands/sync.d.ts +1 -6
- package/dist/cli/commands/sync.js +4 -1
- package/dist/cli/commands/version.d.cts +0 -1
- package/dist/cli/commands/version.d.ts +0 -1
- package/dist/cli/dist/cli.cjs +10 -5
- package/dist/cli/dist/cli.js +10 -5
- package/dist/cli/dist/commands/codemod/codemod.cjs +1 -1
- package/dist/cli/dist/commands/codemod/codemod.js +1 -1
- package/dist/cli/dist/commands/editor-rules.cjs +1 -2
- package/dist/cli/dist/commands/editor-rules.js +1 -1
- package/dist/cli/dist/lib/box.cjs +1 -1
- package/dist/cli/dist/lib/box.js +1 -1
- package/dist/cli/dist/utils/analytics.cjs +0 -1
- package/dist/cli/dist/utils/getCommandHelp.cjs +4 -1
- package/dist/cli/dist/utils/getCommandHelp.js +4 -1
- package/dist/cli/dist/utils/rules/config.cjs +10 -5
- package/dist/cli/dist/utils/rules/config.js +10 -4
- package/dist/cli/runner.cjs +5 -3
- package/dist/cli/runner.d.cts +1 -1
- package/dist/cli/runner.d.ts +1 -1
- package/dist/cli/runner.js +5 -3
- package/dist/components/Banner/Banner.cjs +0 -1
- package/dist/components/Banner/Banner.d.cts +2 -3
- package/dist/components/Banner/Banner.d.ts +2 -3
- package/dist/components/Banner/BannerContent.cjs +0 -1
- package/dist/components/Banner/BannerContent.d.cts +1 -3
- package/dist/components/Banner/BannerContent.d.ts +1 -3
- package/dist/components/Banner/BannerDescription.cjs +5 -5
- package/dist/components/Banner/BannerDescription.d.cts +1 -3
- package/dist/components/Banner/BannerDescription.d.ts +1 -3
- package/dist/components/Banner/BannerDescription.js +5 -4
- package/dist/components/Banner/BannerTitle.cjs +2 -2
- package/dist/components/Banner/BannerTitle.d.cts +1 -3
- package/dist/components/Banner/BannerTitle.d.ts +1 -3
- package/dist/components/Banner/BannerTitle.js +2 -1
- package/dist/components/Banner/utils.cjs +0 -1
- package/dist/components/Banner/utils.d.cts +0 -1
- package/dist/components/Banner/utils.d.ts +0 -1
- package/dist/components/Box.cjs +0 -1
- package/dist/components/Box.d.cts +2 -3
- package/dist/components/Box.d.ts +2 -3
- package/dist/components/Divider/Divider.cjs +0 -1
- package/dist/components/Divider/Divider.d.cts +1 -3
- package/dist/components/Divider/Divider.d.ts +1 -3
- package/dist/components/Divider/DividerLabel.cjs +2 -2
- package/dist/components/Divider/DividerLabel.d.cts +1 -3
- package/dist/components/Divider/DividerLabel.d.ts +1 -3
- package/dist/components/Divider/DividerLabel.js +2 -1
- package/dist/components/Divider/DividerLine.cjs +14 -13
- package/dist/components/Divider/DividerLine.d.cts +1 -3
- package/dist/components/Divider/DividerLine.d.ts +1 -3
- package/dist/components/Divider/DividerLine.js +14 -12
- package/dist/components/Divider/types.d.cts +2 -2
- package/dist/components/Divider/types.d.ts +2 -2
- package/dist/components/Divider/utils.cjs +0 -1
- package/dist/components/Divider/utils.d.cts +1 -3
- package/dist/components/Divider/utils.d.ts +1 -3
- package/dist/components/FormLabel.cjs +1 -1
- package/dist/components/FormLabel.d.cts +2 -3
- package/dist/components/FormLabel.d.ts +2 -3
- package/dist/components/HStack.cjs +0 -1
- package/dist/components/HStack.d.cts +2 -4
- package/dist/components/HStack.d.ts +2 -4
- package/dist/components/Icon.cjs +0 -1
- package/dist/components/Icon.d.cts +2 -3
- package/dist/components/Icon.d.ts +2 -3
- package/dist/components/IconSlot.cjs +2 -2
- package/dist/components/IconSlot.d.cts +1 -1
- package/dist/components/IconSlot.d.ts +1 -1
- package/dist/components/Image.cjs +54 -54
- package/dist/components/Image.d.cts +2 -3
- package/dist/components/Image.d.ts +2 -3
- package/dist/components/Image.js +54 -53
- package/dist/components/Link.cjs +9 -9
- package/dist/components/Link.d.cts +2 -3
- package/dist/components/Link.d.ts +2 -3
- package/dist/components/Link.js +9 -8
- package/dist/components/Scrim.cjs +0 -1
- package/dist/components/Scrim.d.cts +1 -3
- package/dist/components/Scrim.d.ts +1 -3
- package/dist/components/SvgFloatingOverlay.cjs +0 -1
- package/dist/components/SvgFloatingOverlay.d.cts +1 -20
- package/dist/components/SvgFloatingOverlay.d.ts +1 -20
- package/dist/components/Text.cjs +6 -4
- package/dist/components/Text.d.cts +5 -4
- package/dist/components/Text.d.ts +5 -4
- package/dist/components/Text.js +6 -3
- package/dist/components/VStack.cjs +0 -1
- package/dist/components/VStack.d.cts +2 -3
- package/dist/components/VStack.d.ts +2 -3
- package/dist/components/client/AnimateHeightChange.cjs +0 -1
- package/dist/components/client/AnimateHeightChange.d.cts +1 -7
- package/dist/components/client/AnimateHeightChange.d.ts +1 -7
- package/dist/components/client/Avatar/Avatar.cjs +0 -1
- package/dist/components/client/Avatar/Avatar.d.cts +1 -3
- package/dist/components/client/Avatar/Avatar.d.ts +1 -3
- package/dist/components/client/Avatar/AvatarIcon.cjs +0 -1
- package/dist/components/client/Avatar/AvatarIcon.d.cts +2 -3
- package/dist/components/client/Avatar/AvatarIcon.d.ts +2 -3
- package/dist/components/client/Avatar/AvatarImage.cjs +0 -1
- package/dist/components/client/Avatar/AvatarImage.d.cts +2 -3
- package/dist/components/client/Avatar/AvatarImage.d.ts +2 -3
- package/dist/components/client/Avatar/AvatarText.cjs +0 -1
- package/dist/components/client/Avatar/AvatarText.d.cts +2 -3
- package/dist/components/client/Avatar/AvatarText.d.ts +2 -3
- package/dist/components/client/Avatar/UDSAvatarConfigProvider.d.cts +2 -6
- package/dist/components/client/Avatar/UDSAvatarConfigProvider.d.ts +2 -6
- package/dist/components/client/Avatar/utils.d.cts +1 -1
- package/dist/components/client/Avatar/utils.d.ts +1 -1
- package/dist/components/client/Badge.cjs +1 -1
- package/dist/components/client/Badge.d.cts +1 -1
- package/dist/components/client/Badge.d.ts +1 -1
- package/dist/components/client/BottomSheet/BottomSheet.cjs +44 -38
- package/dist/components/client/BottomSheet/BottomSheet.d.cts +5 -31
- package/dist/components/client/BottomSheet/BottomSheet.d.ts +5 -31
- package/dist/components/client/BottomSheet/BottomSheet.js +44 -37
- package/dist/components/client/BottomSheet/BottomSheetContent.cjs +0 -1
- package/dist/components/client/BottomSheet/BottomSheetContent.d.cts +1 -6
- package/dist/components/client/BottomSheet/BottomSheetContent.d.ts +1 -6
- package/dist/components/client/BottomSheet/BottomSheetDismiss.cjs +0 -1
- package/dist/components/client/BottomSheet/BottomSheetDismiss.d.cts +1 -3
- package/dist/components/client/BottomSheet/BottomSheetDismiss.d.ts +1 -3
- package/dist/components/client/BottomSheet/BottomSheetHandle.cjs +0 -1
- package/dist/components/client/BottomSheet/BottomSheetHandle.d.cts +1 -8
- package/dist/components/client/BottomSheet/BottomSheetHandle.d.ts +1 -8
- package/dist/components/client/BottomSheet/BottomSheetHeader.cjs +0 -1
- package/dist/components/client/BottomSheet/BottomSheetHeader.d.cts +1 -9
- package/dist/components/client/BottomSheet/BottomSheetHeader.d.ts +1 -9
- package/dist/components/client/BottomSheet/BottomSheetInternalContext.cjs +0 -1
- package/dist/components/client/BottomSheet/BottomSheetInternalContext.d.cts +1 -3
- package/dist/components/client/BottomSheet/BottomSheetInternalContext.d.ts +1 -3
- package/dist/components/client/BottomSheet/BottomSheetProvider.cjs +2 -2
- package/dist/components/client/BottomSheet/BottomSheetProvider.d.cts +1 -6
- package/dist/components/client/BottomSheet/BottomSheetProvider.d.ts +1 -6
- package/dist/components/client/BottomSheet/BottomSheetProvider.js +2 -1
- package/dist/components/client/BottomSheet/BottomSheetTrigger.cjs +0 -1
- package/dist/components/client/BottomSheet/BottomSheetTrigger.d.cts +1 -3
- package/dist/components/client/BottomSheet/BottomSheetTrigger.d.ts +1 -3
- package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.cjs +0 -1
- package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.d.cts +1 -6
- package/dist/components/client/BottomSheet/UDSBottomSheetConfigProvider.d.ts +1 -6
- package/dist/components/client/BottomSheet/getBottomSheetSnapTransition.d.cts +1 -4
- package/dist/components/client/BottomSheet/getBottomSheetSnapTransition.d.ts +1 -4
- package/dist/components/client/BottomSheet/index.d.cts +1 -1
- package/dist/components/client/BottomSheet/index.d.ts +1 -1
- package/dist/components/client/BottomSheet/useBottomSheetDrag.d.cts +1 -17
- package/dist/components/client/BottomSheet/useBottomSheetDrag.d.ts +1 -17
- package/dist/components/client/BottomSheet/useBottomSheetSnapModel.d.cts +2 -13
- package/dist/components/client/BottomSheet/useBottomSheetSnapModel.d.ts +2 -13
- package/dist/components/client/BottomSheet/useBottomSheetStore.cjs +0 -1
- package/dist/components/client/BottomSheet/useBottomSheetStore.d.cts +2 -8
- package/dist/components/client/BottomSheet/useBottomSheetStore.d.ts +2 -8
- package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.cjs +0 -1
- package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.d.cts +1 -7
- package/dist/components/client/BottomSheet/useBottomSheetStoreInternal.d.ts +1 -7
- package/dist/components/client/BottomSheet/useExpansionMargins.cjs +0 -1
- package/dist/components/client/BottomSheet/useExpansionMargins.d.cts +1 -9
- package/dist/components/client/BottomSheet/useExpansionMargins.d.ts +1 -9
- package/dist/components/client/BottomSheet/useViewportHeight.cjs +0 -1
- package/dist/components/client/BottomSheet/useVirtualKeyboard.cjs +0 -1
- package/dist/components/client/BottomSheet/utils.d.cts +0 -1
- package/dist/components/client/BottomSheet/utils.d.ts +0 -1
- package/dist/components/client/Button/Button.cjs +1 -1
- package/dist/components/client/Button/Button.d.cts +0 -1
- package/dist/components/client/Button/Button.d.ts +0 -1
- package/dist/components/client/Button/ButtonBase.cjs +1 -1
- package/dist/components/client/Button/ButtonBase.d.cts +1 -1
- package/dist/components/client/Button/ButtonBase.d.ts +1 -1
- package/dist/components/client/Button/UDSButtonConfigProvider.cjs +0 -1
- package/dist/components/client/Button/UDSButtonConfigProvider.d.cts +2 -6
- package/dist/components/client/Button/UDSButtonConfigProvider.d.ts +2 -6
- package/dist/components/client/Button/buttonConstants.d.cts +1 -0
- package/dist/components/client/Button/buttonConstants.d.ts +1 -0
- package/dist/components/client/Checkbox/Checkbox.cjs +1 -1
- package/dist/components/client/Checkbox/Checkbox.d.cts +0 -1
- package/dist/components/client/Checkbox/Checkbox.d.ts +0 -1
- package/dist/components/client/Checkbox/CheckboxBase.cjs +1 -1
- package/dist/components/client/Checkbox/CheckboxBase.d.cts +1 -1
- package/dist/components/client/Checkbox/CheckboxBase.d.ts +1 -1
- package/dist/components/client/Checkbox/checkboxConstants.cjs +0 -1
- package/dist/components/client/Checkbox/checkboxConstants.d.cts +2 -6
- package/dist/components/client/Checkbox/checkboxConstants.d.ts +2 -6
- package/dist/components/client/Checkbox/types.d.cts +2 -2
- package/dist/components/client/Checkbox/types.d.ts +2 -2
- package/dist/components/client/Chip/Chip.cjs +1 -1
- package/dist/components/client/Chip/Chip.d.cts +1 -1
- package/dist/components/client/Chip/Chip.d.ts +1 -1
- package/dist/components/client/Chip/ChipBase.cjs +1 -1
- package/dist/components/client/Chip/ChipBase.d.cts +1 -1
- package/dist/components/client/Chip/ChipBase.d.ts +1 -1
- package/dist/components/client/Chip/ChipButton.cjs +1 -1
- package/dist/components/client/Chip/ChipButton.d.cts +1 -1
- package/dist/components/client/Chip/ChipButton.d.ts +1 -1
- package/dist/components/client/Chip/ChipDismissible.cjs +1 -1
- package/dist/components/client/Chip/ChipDismissible.d.cts +1 -1
- package/dist/components/client/Chip/ChipDismissible.d.ts +1 -1
- package/dist/components/client/Chip/ChipLink.cjs +1 -1
- package/dist/components/client/Chip/ChipLink.d.cts +1 -1
- package/dist/components/client/Chip/ChipLink.d.ts +1 -1
- package/dist/components/client/Chip/ChipToggle.cjs +1 -1
- package/dist/components/client/Chip/ChipToggle.d.cts +1 -1
- package/dist/components/client/Chip/ChipToggle.d.ts +1 -1
- package/dist/components/client/Chip/UDSChipConfigProvider.d.cts +2 -6
- package/dist/components/client/Chip/UDSChipConfigProvider.d.ts +2 -6
- package/dist/components/client/IconButton/IconButton.cjs +0 -1
- package/dist/components/client/IconButton/IconButton.d.cts +1 -3
- package/dist/components/client/IconButton/IconButton.d.ts +1 -3
- package/dist/components/client/IconButton/IconButtonBase.cjs +0 -1
- package/dist/components/client/IconButton/IconButtonBase.d.cts +3 -4
- package/dist/components/client/IconButton/IconButtonBase.d.ts +3 -4
- package/dist/components/client/IconButton/UDSIconButtonConfigProvider.cjs +0 -1
- package/dist/components/client/IconButton/UDSIconButtonConfigProvider.d.cts +2 -6
- package/dist/components/client/IconButton/UDSIconButtonConfigProvider.d.ts +2 -6
- package/dist/components/client/Input/Input.cjs +1 -1
- package/dist/components/client/Input/Input.d.cts +2 -3
- package/dist/components/client/Input/Input.d.ts +2 -3
- package/dist/components/client/Input/InputHelpText.cjs +6 -6
- package/dist/components/client/Input/InputHelpText.d.cts +1 -7
- package/dist/components/client/Input/InputHelpText.d.ts +1 -7
- package/dist/components/client/Input/InputHelpText.js +6 -5
- package/dist/components/client/Input/InputHelpTextInternal.cjs +0 -1
- package/dist/components/client/Input/InputHelpTextInternal.d.cts +2 -3
- package/dist/components/client/Input/InputHelpTextInternal.d.ts +2 -3
- package/dist/components/client/Input/UDSInputConfigProvider.d.cts +2 -6
- package/dist/components/client/Input/UDSInputConfigProvider.d.ts +2 -6
- package/dist/components/client/Menu/Menu.Content.cjs +0 -1
- package/dist/components/client/Menu/Menu.Content.d.cts +2 -3
- package/dist/components/client/Menu/Menu.Content.d.ts +2 -3
- package/dist/components/client/Menu/Menu.Divider.cjs +9 -9
- package/dist/components/client/Menu/Menu.Divider.d.cts +2 -3
- package/dist/components/client/Menu/Menu.Divider.d.ts +2 -3
- package/dist/components/client/Menu/Menu.Divider.js +9 -8
- package/dist/components/client/Menu/Menu.Item.cjs +25 -25
- package/dist/components/client/Menu/Menu.Item.d.cts +2 -3
- package/dist/components/client/Menu/Menu.Item.d.ts +2 -3
- package/dist/components/client/Menu/Menu.Item.js +25 -24
- package/dist/components/client/Menu/Menu.ItemBase.cjs +0 -1
- package/dist/components/client/Menu/Menu.ItemBase.d.cts +2 -3
- package/dist/components/client/Menu/Menu.ItemBase.d.ts +2 -3
- package/dist/components/client/Menu/Menu.ItemCheckbox.cjs +0 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +2 -3
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +2 -3
- package/dist/components/client/Menu/Menu.Provider.cjs +2 -2
- package/dist/components/client/Menu/Menu.Provider.d.cts +1 -7
- package/dist/components/client/Menu/Menu.Provider.d.ts +1 -7
- package/dist/components/client/Menu/Menu.Provider.js +2 -1
- package/dist/components/client/Menu/Menu.Trigger.cjs +0 -1
- package/dist/components/client/Menu/Menu.Trigger.d.cts +1 -3
- package/dist/components/client/Menu/Menu.Trigger.d.ts +1 -3
- package/dist/components/client/Menu/Menu.index.d.cts +0 -2
- package/dist/components/client/Menu/Menu.index.d.ts +0 -2
- package/dist/components/client/Menu/UDSMenuItemConfigProvider.d.cts +2 -6
- package/dist/components/client/Menu/UDSMenuItemConfigProvider.d.ts +2 -6
- package/dist/components/client/Menu/index.d.cts +1 -0
- package/dist/components/client/Menu/index.d.ts +1 -0
- package/dist/components/client/Menu/utils/transformAriakitPlacement.d.cts +7 -3
- package/dist/components/client/Menu/utils/transformAriakitPlacement.d.ts +7 -3
- package/dist/components/client/Modal/ManagedModal.cjs +0 -1
- package/dist/components/client/Modal/ManagedModal.d.cts +1 -5
- package/dist/components/client/Modal/ManagedModal.d.ts +1 -5
- package/dist/components/client/Modal/Modal.cjs +0 -1
- package/dist/components/client/Modal/Modal.d.cts +2 -28
- package/dist/components/client/Modal/Modal.d.ts +2 -28
- package/dist/components/client/Modal/ModalActions.cjs +0 -1
- package/dist/components/client/Modal/ModalActions.d.cts +1 -8
- package/dist/components/client/Modal/ModalActions.d.ts +1 -8
- package/dist/components/client/Modal/ModalContent.cjs +0 -1
- package/dist/components/client/Modal/ModalContent.d.cts +1 -7
- package/dist/components/client/Modal/ModalContent.d.ts +1 -7
- package/dist/components/client/Modal/ModalContext.cjs +0 -1
- package/dist/components/client/Modal/ModalContext.d.cts +1 -3
- package/dist/components/client/Modal/ModalContext.d.ts +1 -3
- package/dist/components/client/Modal/ModalDescription.cjs +0 -1
- package/dist/components/client/Modal/ModalDescription.d.cts +1 -6
- package/dist/components/client/Modal/ModalDescription.d.ts +1 -6
- package/dist/components/client/Modal/ModalPortal.cjs +0 -1
- package/dist/components/client/Modal/ModalPortal.d.cts +1 -3
- package/dist/components/client/Modal/ModalPortal.d.ts +1 -3
- package/dist/components/client/Modal/ModalTitle.cjs +0 -1
- package/dist/components/client/Modal/ModalTitle.d.cts +1 -6
- package/dist/components/client/Modal/ModalTitle.d.ts +1 -6
- package/dist/components/client/Modal/UDSModalConfigProvider.cjs +0 -1
- package/dist/components/client/Modal/UDSModalConfigProvider.d.cts +1 -6
- package/dist/components/client/Modal/UDSModalConfigProvider.d.ts +1 -6
- package/dist/components/client/Modal/createModal.d.cts +0 -1
- package/dist/components/client/Modal/createModal.d.ts +0 -1
- package/dist/components/client/Modal/modalStore.d.cts +0 -1
- package/dist/components/client/Modal/modalStore.d.ts +0 -1
- package/dist/components/client/Modal/useScrollFade.cjs +0 -1
- package/dist/components/client/Modal/utils.cjs +0 -1
- package/dist/components/client/Modal/utils.d.cts +0 -1
- package/dist/components/client/Modal/utils.d.ts +0 -1
- package/dist/components/client/PaddleNav/PaddleButton.cjs +0 -1
- package/dist/components/client/PaddleNav/PaddleButton.d.cts +7 -6
- package/dist/components/client/PaddleNav/PaddleButton.d.ts +7 -6
- package/dist/components/client/PaddleNav/PaddleButtonNext.cjs +0 -1
- package/dist/components/client/PaddleNav/PaddleButtonNext.d.cts +2 -3
- package/dist/components/client/PaddleNav/PaddleButtonNext.d.ts +2 -3
- package/dist/components/client/PaddleNav/PaddleButtonPrevious.cjs +0 -1
- package/dist/components/client/PaddleNav/PaddleButtonPrevious.d.cts +2 -3
- package/dist/components/client/PaddleNav/PaddleButtonPrevious.d.ts +2 -3
- package/dist/components/client/PaddleNav/PaddleNav.cjs +0 -1
- package/dist/components/client/PaddleNav/PaddleNav.d.cts +1 -3
- package/dist/components/client/PaddleNav/PaddleNav.d.ts +1 -3
- package/dist/components/client/PaddleNav/PaddleNavContent.cjs +0 -1
- package/dist/components/client/PaddleNav/PaddleNavContent.d.cts +1 -3
- package/dist/components/client/PaddleNav/PaddleNavContent.d.ts +1 -3
- package/dist/components/client/PaddleNav/UDSPaddleNavConfigProvider.d.cts +2 -6
- package/dist/components/client/PaddleNav/UDSPaddleNavConfigProvider.d.ts +2 -6
- package/dist/components/client/PaddleNav/index.d.cts +1 -1
- package/dist/components/client/PaddleNav/index.d.ts +1 -1
- package/dist/components/client/PaddleNav/paddleButtonIcons.cjs +0 -1
- package/dist/components/client/PaddleNav/paddleButtonIcons.d.cts +1 -6
- package/dist/components/client/PaddleNav/paddleButtonIcons.d.ts +1 -6
- package/dist/components/client/PaddleNav/paddleNavContext.cjs +0 -1
- package/dist/components/client/PaddleNav/paddleNavContext.d.cts +1 -3
- package/dist/components/client/PaddleNav/paddleNavContext.d.ts +1 -3
- package/dist/components/client/PaddleNav/utils/resolvePaddleNavCornerOrientation.d.cts +0 -1
- package/dist/components/client/PaddleNav/utils/resolvePaddleNavCornerOrientation.d.ts +0 -1
- package/dist/components/client/Pagination/Pagination.cjs +22 -22
- package/dist/components/client/Pagination/Pagination.d.cts +1 -3
- package/dist/components/client/Pagination/Pagination.d.ts +1 -3
- package/dist/components/client/Pagination/Pagination.js +22 -21
- package/dist/components/client/Pagination/PaginationEllipsis.cjs +4 -3
- package/dist/components/client/Pagination/PaginationEllipsis.d.cts +1 -3
- package/dist/components/client/Pagination/PaginationEllipsis.d.ts +1 -3
- package/dist/components/client/Pagination/PaginationEllipsis.js +4 -2
- package/dist/components/client/Pagination/PaginationItem.cjs +0 -1
- package/dist/components/client/Pagination/PaginationItem.d.cts +1 -3
- package/dist/components/client/Pagination/PaginationItem.d.ts +1 -3
- package/dist/components/client/Pagination/PaginationLink.cjs +0 -1
- package/dist/components/client/Pagination/PaginationLink.d.cts +1 -3
- package/dist/components/client/Pagination/PaginationLink.d.ts +1 -3
- package/dist/components/client/Pagination/PaginationNext.cjs +0 -1
- package/dist/components/client/Pagination/PaginationNext.d.cts +1 -3
- package/dist/components/client/Pagination/PaginationNext.d.ts +1 -3
- package/dist/components/client/Pagination/PaginationNumbers.cjs +2 -2
- package/dist/components/client/Pagination/PaginationNumbers.d.cts +1 -3
- package/dist/components/client/Pagination/PaginationNumbers.d.ts +1 -3
- package/dist/components/client/Pagination/PaginationNumbers.js +2 -1
- package/dist/components/client/Pagination/PaginationPrev.cjs +0 -1
- package/dist/components/client/Pagination/PaginationPrev.d.cts +1 -3
- package/dist/components/client/Pagination/PaginationPrev.d.ts +1 -3
- package/dist/components/client/Pagination/UDSPaginationConfigProvider.d.cts +2 -6
- package/dist/components/client/Pagination/UDSPaginationConfigProvider.d.ts +2 -6
- package/dist/components/client/Pagination/computeVisiblePages.d.cts +1 -7
- package/dist/components/client/Pagination/computeVisiblePages.d.ts +1 -7
- package/dist/components/client/Pagination/ellipsisDefault.cjs +1 -1
- package/dist/components/client/Pagination/ellipsisDefault.d.cts +0 -1
- package/dist/components/client/Pagination/ellipsisDefault.d.ts +0 -1
- package/dist/components/client/Pagination/ellipsisDefault.js +1 -1
- package/dist/components/client/Pagination/ellipsisNone.d.cts +0 -1
- package/dist/components/client/Pagination/ellipsisNone.d.ts +0 -1
- package/dist/components/client/Pagination/paginationContext.cjs +0 -1
- package/dist/components/client/Pagination/paginationContext.d.cts +2 -8
- package/dist/components/client/Pagination/paginationContext.d.ts +2 -8
- package/dist/components/client/Pagination/paginationStyles.cjs +0 -1
- package/dist/components/client/Pagination/paginationStyles.d.cts +0 -1
- package/dist/components/client/Pagination/paginationStyles.d.ts +0 -1
- package/dist/components/client/Popover/Popover.cjs +0 -1
- package/dist/components/client/Popover/Popover.d.cts +1 -20
- package/dist/components/client/Popover/Popover.d.ts +1 -20
- package/dist/components/client/Popover/PopoverContent.cjs +0 -1
- package/dist/components/client/Popover/PopoverContent.d.cts +2 -3
- package/dist/components/client/Popover/PopoverContent.d.ts +2 -3
- package/dist/components/client/Popover/PopoverContext.cjs +0 -1
- package/dist/components/client/Popover/PopoverContext.d.cts +1 -3
- package/dist/components/client/Popover/PopoverContext.d.ts +1 -3
- package/dist/components/client/Popover/PopoverTrigger.cjs +2 -2
- package/dist/components/client/Popover/PopoverTrigger.d.cts +1 -5
- package/dist/components/client/Popover/PopoverTrigger.d.ts +1 -5
- package/dist/components/client/Popover/PopoverTrigger.js +2 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.cjs +0 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +1 -6
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -6
- package/dist/components/client/Pressable.cjs +0 -1
- package/dist/components/client/Pressable.d.cts +2 -3
- package/dist/components/client/Pressable.d.ts +2 -3
- package/dist/components/client/Radio/Radio.cjs +1 -1
- package/dist/components/client/Radio/Radio.d.cts +0 -1
- package/dist/components/client/Radio/Radio.d.ts +0 -1
- package/dist/components/client/Radio/RadioBase.cjs +1 -1
- package/dist/components/client/Radio/RadioBase.d.cts +1 -1
- package/dist/components/client/Radio/RadioBase.d.ts +1 -1
- package/dist/components/client/Radio/RadioGroupProvider.cjs +1 -1
- package/dist/components/client/Radio/RadioGroupProvider.d.cts +1 -1
- package/dist/components/client/Radio/RadioGroupProvider.d.ts +1 -1
- package/dist/components/client/Radio/RadioGroupStore.cjs +0 -1
- package/dist/components/client/Radio/RadioGroupStore.d.cts +1 -3
- package/dist/components/client/Radio/RadioGroupStore.d.ts +1 -3
- package/dist/components/client/Radio/radioConstants.d.cts +1 -0
- package/dist/components/client/Radio/radioConstants.d.ts +1 -0
- package/dist/components/client/Radio/types.d.cts +2 -2
- package/dist/components/client/Radio/types.d.ts +2 -2
- package/dist/components/client/Radio/useRadioGroup.cjs +0 -1
- package/dist/components/client/Radio/useRadioGroup.d.cts +1 -6
- package/dist/components/client/Radio/useRadioGroup.d.ts +1 -6
- package/dist/components/client/Select/Select.cjs +16 -14
- package/dist/components/client/Select/Select.d.cts +2 -3
- package/dist/components/client/Select/Select.d.ts +2 -3
- package/dist/components/client/Select/Select.js +15 -13
- package/dist/components/client/Select/SelectContent.cjs +0 -1
- package/dist/components/client/Select/SelectContent.d.cts +1 -3
- package/dist/components/client/Select/SelectContent.d.ts +1 -3
- package/dist/components/client/Select/SelectDivider.cjs +9 -9
- package/dist/components/client/Select/SelectDivider.d.cts +2 -3
- package/dist/components/client/Select/SelectDivider.d.ts +2 -3
- package/dist/components/client/Select/SelectDivider.js +9 -8
- package/dist/components/client/Select/SelectHelpText.cjs +3 -2
- package/dist/components/client/Select/SelectHelpText.d.cts +2 -8
- package/dist/components/client/Select/SelectHelpText.d.ts +2 -8
- package/dist/components/client/Select/SelectHelpText.js +2 -1
- package/dist/components/client/Select/SelectItem.cjs +2 -2
- package/dist/components/client/Select/SelectItem.d.cts +2 -3
- package/dist/components/client/Select/SelectItem.d.ts +2 -3
- package/dist/components/client/Select/SelectItem.js +2 -1
- package/dist/components/client/Select/SelectTrigger.cjs +0 -1
- package/dist/components/client/Select/SelectTrigger.d.cts +2 -3
- package/dist/components/client/Select/SelectTrigger.d.ts +2 -3
- package/dist/components/client/Select/SelectValue.cjs +0 -1
- package/dist/components/client/Select/SelectValue.d.cts +1 -6
- package/dist/components/client/Select/SelectValue.d.ts +1 -6
- package/dist/components/client/Select/UDSSelectItemConfigProvider.d.cts +2 -6
- package/dist/components/client/Select/UDSSelectItemConfigProvider.d.ts +2 -6
- package/dist/components/client/Select/index.d.cts +1 -1
- package/dist/components/client/Select/index.d.ts +1 -1
- package/dist/components/client/Select/selectContext.cjs +0 -1
- package/dist/components/client/Select/selectContext.d.cts +4 -4
- package/dist/components/client/Select/selectContext.d.ts +4 -4
- package/dist/components/client/Select/selectFieldStyles.d.cts +3 -12
- package/dist/components/client/Select/selectFieldStyles.d.ts +3 -12
- package/dist/components/client/SpringMotionConfig.cjs +11 -11
- package/dist/components/client/SpringMotionConfig.d.cts +2 -10
- package/dist/components/client/SpringMotionConfig.d.ts +2 -10
- package/dist/components/client/SpringMotionConfig.js +11 -10
- package/dist/components/client/Switch/Switch.cjs +2 -2
- package/dist/components/client/Switch/Switch.d.cts +0 -1
- package/dist/components/client/Switch/Switch.d.ts +0 -1
- package/dist/components/client/Switch/SwitchBase.cjs +1 -1
- package/dist/components/client/Switch/SwitchBase.d.cts +0 -1
- package/dist/components/client/Switch/SwitchBase.d.ts +0 -1
- package/dist/components/client/Switch/switchStyles.d.cts +1 -0
- package/dist/components/client/Switch/switchStyles.d.ts +1 -0
- package/dist/components/client/Switch/types.d.cts +2 -2
- package/dist/components/client/Switch/types.d.ts +2 -2
- package/dist/components/client/Tabs/Tab.cjs +0 -1
- package/dist/components/client/Tabs/Tab.d.cts +1 -12
- package/dist/components/client/Tabs/Tab.d.ts +1 -12
- package/dist/components/client/Tabs/TabList.cjs +2 -2
- package/dist/components/client/Tabs/TabList.d.cts +1 -3
- package/dist/components/client/Tabs/TabList.d.ts +1 -3
- package/dist/components/client/Tabs/TabList.js +2 -1
- package/dist/components/client/Tabs/TabPanel.cjs +0 -1
- package/dist/components/client/Tabs/TabPanel.d.cts +1 -3
- package/dist/components/client/Tabs/TabPanel.d.ts +1 -3
- package/dist/components/client/Tabs/Tabs.cjs +0 -1
- package/dist/components/client/Tabs/Tabs.d.cts +1 -10
- package/dist/components/client/Tabs/Tabs.d.ts +1 -10
- package/dist/components/client/Tabs/UDSTabConfigProvider.d.cts +2 -6
- package/dist/components/client/Tabs/UDSTabConfigProvider.d.ts +2 -6
- package/dist/components/client/Tabs/index.d.cts +1 -1
- package/dist/components/client/Tabs/index.d.ts +1 -1
- package/dist/components/client/Tabs/tabsContext.cjs +0 -1
- package/dist/components/client/Tabs/tabsContext.d.cts +1 -3
- package/dist/components/client/Tabs/tabsContext.d.ts +1 -3
- package/dist/components/client/Toast/Toast.cjs +0 -1
- package/dist/components/client/Toast/Toast.d.cts +3 -17
- package/dist/components/client/Toast/Toast.d.ts +3 -17
- package/dist/components/client/Toast/ToastContainer.cjs +10 -8
- package/dist/components/client/Toast/ToastContainer.d.cts +2 -9
- package/dist/components/client/Toast/ToastContainer.d.ts +2 -9
- package/dist/components/client/Toast/ToastContainer.js +9 -7
- package/dist/components/client/Toast/ToastPortal.cjs +0 -1
- package/dist/components/client/Toast/ToastPortal.d.cts +1 -6
- package/dist/components/client/Toast/ToastPortal.d.ts +1 -6
- package/dist/components/client/Toast/UDSToastConfigProvider.cjs +0 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +2 -6
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +2 -6
- package/dist/components/client/Toast/createToast.cjs +2 -2
- package/dist/components/client/Toast/createToast.d.cts +1 -1
- package/dist/components/client/Toast/createToast.d.ts +1 -1
- package/dist/components/client/Tooltip/Tooltip.cjs +0 -1
- package/dist/components/client/Tooltip/Tooltip.d.cts +1 -13
- package/dist/components/client/Tooltip/Tooltip.d.ts +1 -13
- package/dist/components/client/Tooltip/TooltipContent.cjs +0 -1
- package/dist/components/client/Tooltip/TooltipContent.d.cts +2 -4
- package/dist/components/client/Tooltip/TooltipContent.d.ts +2 -4
- package/dist/components/client/Tooltip/TooltipTrigger.cjs +0 -1
- package/dist/components/client/Tooltip/TooltipTrigger.d.cts +1 -5
- package/dist/components/client/Tooltip/TooltipTrigger.d.ts +1 -5
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.cjs +0 -1
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.cts +1 -6
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.ts +1 -6
- package/dist/components/client/Tooltip/tooltipContext.cjs +0 -1
- package/dist/components/client/Tooltip/tooltipContext.d.cts +1 -3
- package/dist/components/client/Tooltip/tooltipContext.d.ts +1 -3
- package/dist/components/client/UDSBadgeConfigProvider.d.cts +2 -6
- package/dist/components/client/UDSBadgeConfigProvider.d.ts +2 -6
- package/dist/components/client/index.d.cts +18 -0
- package/dist/components/client/index.d.ts +18 -0
- package/dist/components/client/motionFeatures/domAnimation.cjs +0 -1
- package/dist/components/client/motionFeatures/domMax.cjs +0 -1
- package/dist/components/client/providers/UDSBreakpointsConfigProvider.cjs +0 -1
- package/dist/components/client/providers/UDSBreakpointsConfigProvider.d.cts +2 -7
- package/dist/components/client/providers/UDSBreakpointsConfigProvider.d.ts +2 -7
- package/dist/components/client/providers/UDSConfigProvider.cjs +0 -1
- package/dist/components/client/providers/UDSConfigProvider.d.cts +1 -24
- package/dist/components/client/providers/UDSConfigProvider.d.ts +1 -24
- package/dist/components/client/providers/createUDSConfigProvider.cjs +0 -1
- package/dist/components/client/providers/createUDSConfigProvider.d.cts +1 -6
- package/dist/components/client/providers/createUDSConfigProvider.d.ts +1 -6
- package/dist/components/experimental/Spinner.cjs +0 -1
- package/dist/components/experimental/Spinner.d.cts +1 -8
- package/dist/components/experimental/Spinner.d.ts +1 -8
- package/dist/components/experimental/Table.cjs +1 -1
- package/dist/components/experimental/Table.d.cts +3 -7
- package/dist/components/experimental/Table.d.ts +3 -7
- package/dist/components/experimental/Table.mocks.cjs +0 -1
- package/dist/components/experimental/Table.mocks.d.cts +0 -1
- package/dist/components/experimental/Table.mocks.d.ts +0 -1
- package/dist/components/experimental/client/Accordion.cjs +0 -1
- package/dist/components/experimental/client/Accordion.d.cts +2 -15
- package/dist/components/experimental/client/Accordion.d.ts +2 -15
- package/dist/components/experimental/client/SegmentedControl.cjs +1 -1
- package/dist/components/experimental/client/SegmentedControl.d.cts +2 -9
- package/dist/components/experimental/client/SegmentedControl.d.ts +2 -9
- package/dist/components/experimental/client/index.d.cts +1 -1
- package/dist/components/experimental/client/index.d.ts +1 -1
- package/dist/components/experimental/index.d.cts +2 -1
- package/dist/components/experimental/index.d.ts +2 -1
- package/dist/components/index.d.cts +3 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/config/dist/index.d.cts +3 -12
- package/dist/config/dist/index.d.ts +3 -12
- package/dist/css/dist/commands/css.cjs +2 -1
- package/dist/css/dist/commands/css.helpers.cjs +3 -0
- package/dist/css/dist/commands/css.helpers.js +1 -1
- package/dist/css/dist/commands/css.js +2 -1
- package/dist/css/dist/commands/generateComponentData.d.cts +2 -2
- package/dist/css/dist/commands/generateComponentData.d.ts +2 -2
- package/dist/css/dist/css/generate.cjs +15 -12
- package/dist/css/dist/css/generate.d.cts +4 -5
- package/dist/css/dist/css/generate.d.ts +4 -5
- package/dist/css/dist/css/generate.helpers.cjs +3 -0
- package/dist/css/dist/css/generate.helpers.d.cts +3 -0
- package/dist/css/dist/css/generate.helpers.d.ts +2 -1
- package/dist/css/dist/css/generate.helpers.js +1 -1
- package/dist/css/dist/css/generate.js +15 -12
- package/dist/css/dist/css/nodeUtils.cjs +11 -5
- package/dist/css/dist/css/nodeUtils.js +11 -5
- package/dist/css/dist/css/perf.cjs +6 -1
- package/dist/css/dist/css/perf.js +1 -1
- package/dist/css/dist/css/postcss.helpers.cjs +1 -0
- package/dist/css/dist/css/postcss.helpers.js +1 -1
- package/dist/css/dist/css/runner.cjs +12 -5
- package/dist/css/dist/css/runner.helpers.cjs +1 -0
- package/dist/css/dist/css/runner.helpers.js +1 -1
- package/dist/css/dist/css/runner.js +12 -5
- package/dist/css/dist/css/theme.d.cts +2 -3
- package/dist/css/dist/css/theme.d.ts +2 -3
- package/dist/css/dist/css/utils.cjs +1 -1
- package/dist/css/dist/css/utils.js +1 -1
- package/dist/css/dist/css/workerPool.cjs +1 -0
- package/dist/css/dist/css/workerPool.js +1 -1
- package/dist/css/dist/index.d.cts +2 -1
- package/dist/css/dist/index.d.ts +2 -1
- package/dist/css/dist/packages/automated-config/dist/utils/index.d.cts +1 -1
- package/dist/css/dist/packages/automated-config/dist/utils/index.d.ts +1 -1
- package/dist/css/dist/packages/config/dist/index.d.cts +1 -1
- package/dist/css/dist/packages/config/dist/index.d.ts +1 -1
- package/dist/css/dist/packages/fixtures/dist/index.cjs +19 -4
- package/dist/css/dist/packages/fixtures/dist/index.js +7 -5
- package/dist/css/dist/packages/palette/dist/index.cjs +1 -0
- package/dist/css/dist/packages/palette/dist/index.js +1 -1
- package/dist/css/dist/postcss/filterUnusedVariantRules.d.cts +3 -0
- package/dist/css/dist/postcss/filterUnusedVariantRules.d.ts +3 -0
- package/dist/css/dist/postcss/pruneVars.d.cts +1 -2
- package/dist/css/dist/postcss/pruneVars.d.ts +1 -2
- package/dist/css/dist/postcss.d.cts +2 -1
- package/dist/css/dist/postcss.d.ts +2 -1
- package/dist/css/dist/purger/optimized/ast/expressions.cjs +4 -2
- package/dist/css/dist/purger/optimized/ast/expressions.js +4 -3
- package/dist/css/dist/purger/optimized/ast/jsx.cjs +3 -0
- package/dist/css/dist/purger/optimized/ast/jsx.js +1 -1
- package/dist/css/dist/purger/optimized/ast/oxc.cjs +4 -6
- package/dist/css/dist/purger/optimized/ast/oxc.js +4 -6
- package/dist/css/dist/purger/optimized/ast/props.cjs +1 -0
- package/dist/css/dist/purger/optimized/ast/props.js +1 -1
- package/dist/css/dist/purger/optimized/ast/spread.cjs +1 -0
- package/dist/css/dist/purger/optimized/ast/spread.js +1 -1
- package/dist/css/dist/purger/optimized/purge.cjs +6 -2
- package/dist/css/dist/purger/optimized/purge.js +6 -3
- package/dist/css/dist/purger/optimized/purgeFromCode.cjs +6 -3
- package/dist/css/dist/purger/optimized/purgeFromCode.js +5 -4
- package/dist/css/dist/purger/optimized/utils/files.cjs +1 -0
- package/dist/css/dist/purger/optimized/utils/files.js +1 -1
- package/dist/css/dist/runtimeConfig/hookMetadata.cjs +4 -1
- package/dist/css/dist/runtimeConfig/hookMetadata.js +3 -2
- package/dist/css/dist/utils/optimizeCSS.cjs +5 -0
- package/dist/css/dist/utils/optimizeCSS.js +1 -1
- package/dist/css-animation/Button/Button.cjs +1 -1
- package/dist/css-animation/Button/Button.d.cts +1 -1
- package/dist/css-animation/Button/Button.d.ts +1 -1
- package/dist/css-animation/Checkbox/Checkbox.cjs +1 -1
- package/dist/css-animation/Checkbox/Checkbox.d.cts +0 -1
- package/dist/css-animation/Checkbox/Checkbox.d.ts +0 -1
- package/dist/css-animation/IconButton/IconButton.cjs +0 -1
- package/dist/css-animation/IconButton/IconButton.d.cts +2 -3
- package/dist/css-animation/IconButton/IconButton.d.ts +2 -3
- package/dist/css-animation/Radio/Radio.cjs +1 -1
- package/dist/css-animation/Radio/Radio.d.cts +0 -1
- package/dist/css-animation/Radio/Radio.d.ts +0 -1
- package/dist/css-animation/Switch/Switch.cjs +1 -1
- package/dist/css-animation/Switch/Switch.d.cts +0 -1
- package/dist/css-animation/Switch/Switch.d.ts +0 -1
- package/dist/css-animation/Switch/SwitchStaticHandle.cjs +0 -1
- package/dist/css-animation/Switch/SwitchStaticHandle.d.cts +2 -12
- package/dist/css-animation/Switch/SwitchStaticHandle.d.ts +2 -12
- package/dist/css-animation/index.d.cts +5 -0
- package/dist/css-animation/index.d.ts +5 -0
- package/dist/css-tokens/dist/index.d.cts +2 -12
- package/dist/css-tokens/dist/index.d.ts +2 -12
- package/dist/defaultTokensConfig.d.cts +1 -0
- package/dist/defaultTokensConfig.d.ts +1 -0
- package/dist/fixtures/dist/arbitrary.d.cts +1 -1
- package/dist/fixtures/dist/arbitrary.d.ts +1 -1
- package/dist/fixtures/dist/index.d.cts +1 -3
- package/dist/fixtures/dist/index.d.ts +1 -3
- package/dist/fixtures/index.d.cts +0 -1
- package/dist/fixtures/index.d.ts +0 -1
- package/dist/fixtures/src/arbitrary.cjs +1 -0
- package/dist/fixtures/src/arbitrary.d.cts +1 -2
- package/dist/fixtures/src/arbitrary.d.ts +1 -2
- package/dist/fixtures/src/arbitrary.js +1 -1
- package/dist/fixtures/src/util.d.cts +0 -1
- package/dist/fixtures/src/util.d.ts +0 -1
- package/dist/fonts/dist/index.d.cts +20 -12
- package/dist/fonts/dist/index.d.ts +20 -12
- package/dist/hooks/useForkRef.cjs +0 -1
- package/dist/hooks/useForkRef.d.cts +0 -1
- package/dist/hooks/useForkRef.d.ts +0 -1
- package/dist/hooks/usePrefersReducedMotion.cjs +0 -1
- package/dist/hooks/useRtl.cjs +0 -1
- package/dist/hooks/useSvgFloatingContent.cjs +1 -4
- package/dist/hooks/useSvgFloatingContent.d.cts +1 -12
- package/dist/hooks/useSvgFloatingContent.d.ts +1 -12
- package/dist/hooks/useSvgFloatingContent.js +1 -3
- package/dist/icons/dist/types.d.cts +7 -4
- package/dist/icons/dist/types.d.ts +7 -4
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/modes/dist/index.d.cts +1 -2
- package/dist/modes/dist/index.d.ts +1 -2
- package/dist/motion-tokens/dist/index.d.cts +0 -5
- package/dist/motion-tokens/dist/index.d.ts +0 -5
- package/dist/palette/dist/index.d.cts +1 -1
- package/dist/palette/dist/index.d.ts +1 -1
- package/dist/postcss.d.cts +1 -0
- package/dist/postcss.d.ts +1 -0
- package/dist/providers/ColorModeProvider.cjs +0 -1
- package/dist/providers/ColorModeProvider.d.cts +3 -8
- package/dist/providers/ColorModeProvider.d.ts +3 -8
- package/dist/providers/ScaleModeProvider.cjs +0 -1
- package/dist/providers/ScaleModeProvider.d.cts +3 -8
- package/dist/providers/ScaleModeProvider.d.ts +3 -8
- package/dist/providers/ThemeProvider.cjs +0 -1
- package/dist/providers/ThemeProvider.d.cts +2 -7
- package/dist/providers/ThemeProvider.d.ts +2 -7
- package/dist/runtime/avatarConfig.d.cts +2 -3
- package/dist/runtime/avatarConfig.d.ts +2 -3
- package/dist/runtime/badgeConfig.d.cts +2 -3
- package/dist/runtime/badgeConfig.d.ts +2 -3
- package/dist/runtime/bottomSheetConfig.d.cts +1 -4
- package/dist/runtime/bottomSheetConfig.d.ts +1 -4
- package/dist/runtime/breakpointsConfig.d.cts +3 -4
- package/dist/runtime/breakpointsConfig.d.ts +3 -4
- package/dist/runtime/buttonConfig.d.cts +2 -3
- package/dist/runtime/buttonConfig.d.ts +2 -3
- package/dist/runtime/chipConfig.d.cts +2 -3
- package/dist/runtime/chipConfig.d.ts +2 -3
- package/dist/runtime/iconButtonConfig.d.cts +2 -3
- package/dist/runtime/iconButtonConfig.d.ts +2 -3
- package/dist/runtime/index.d.cts +1 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/inputConfig.d.cts +2 -3
- package/dist/runtime/inputConfig.d.ts +2 -3
- package/dist/runtime/menuItemConfig.d.cts +2 -3
- package/dist/runtime/menuItemConfig.d.ts +2 -3
- package/dist/runtime/modalConfig.d.cts +2 -3
- package/dist/runtime/modalConfig.d.ts +2 -3
- package/dist/runtime/paddleNavConfig.d.cts +2 -3
- package/dist/runtime/paddleNavConfig.d.ts +2 -3
- package/dist/runtime/paginationConfig.d.cts +2 -3
- package/dist/runtime/paginationConfig.d.ts +2 -3
- package/dist/runtime/popoverConfig.cjs +12 -6
- package/dist/runtime/popoverConfig.d.cts +2 -5
- package/dist/runtime/popoverConfig.d.ts +2 -5
- package/dist/runtime/popoverConfig.js +12 -6
- package/dist/runtime/selectItemConfig.d.cts +2 -3
- package/dist/runtime/selectItemConfig.d.ts +2 -3
- package/dist/runtime/tabConfig.d.cts +2 -3
- package/dist/runtime/tabConfig.d.ts +2 -3
- package/dist/runtime/toastConfig.d.cts +2 -3
- package/dist/runtime/toastConfig.d.ts +2 -3
- package/dist/runtime/tooltipConfig.d.cts +2 -5
- package/dist/runtime/tooltipConfig.d.ts +2 -5
- package/dist/runtime/udsConfig.d.cts +1 -1
- package/dist/runtime/udsConfig.d.ts +1 -1
- package/dist/styles/styler.cjs +0 -1
- package/dist/styles/styler.d.cts +0 -1
- package/dist/styles/styler.d.ts +0 -1
- package/dist/styles/stylerTypes.d.cts +5 -5
- package/dist/styles/stylerTypes.d.ts +5 -5
- package/dist/styles/udsTailwindMerge.cjs +0 -1
- package/dist/styles/udsTailwindMerge.d.cts +1 -3
- package/dist/styles/udsTailwindMerge.d.ts +1 -3
- package/dist/tailwind/plugin.d.cts +1 -0
- package/dist/tailwind/plugin.d.ts +1 -0
- package/dist/tailwind/utils/index.d.cts +1 -0
- package/dist/tailwind/utils/index.d.ts +1 -0
- package/dist/tailwind/utils/node.d.cts +1 -0
- package/dist/tailwind/utils/node.d.ts +1 -0
- package/dist/tailwind-internal/dist/_virtual/_rolldown/runtime.cjs +1 -1
- package/dist/tailwind-internal/dist/_virtual/_rolldown/runtime.js +1 -1
- package/dist/tailwind-internal/dist/base/addColorModeVars.cjs +0 -1
- package/dist/tailwind-internal/dist/base/addColorModeVarsV2.cjs +0 -1
- package/dist/tailwind-internal/dist/components/getFocusRingStyles.d.cts +1 -2
- package/dist/tailwind-internal/dist/components/getFocusRingStyles.d.ts +1 -2
- package/dist/tailwind-internal/dist/components/getHitTargetStyles.cjs +1 -0
- package/dist/tailwind-internal/dist/components/getHitTargetStyles.js +1 -1
- package/dist/tailwind-internal/dist/components/getIconStyles.d.cts +1 -2
- package/dist/tailwind-internal/dist/components/getIconStyles.d.ts +1 -2
- package/dist/tailwind-internal/dist/components/getInputStyles.d.cts +1 -2
- package/dist/tailwind-internal/dist/components/getInputStyles.d.ts +1 -2
- package/dist/tailwind-internal/dist/components/getResponsiveTextStyles.cjs +1 -1
- package/dist/tailwind-internal/dist/components/getResponsiveTextStyles.d.cts +2 -2
- package/dist/tailwind-internal/dist/components/getResponsiveTextStyles.d.ts +2 -2
- package/dist/tailwind-internal/dist/components/getResponsiveTextStyles.js +1 -1
- package/dist/tailwind-internal/dist/components/types.d.cts +2 -3
- package/dist/tailwind-internal/dist/components/types.d.ts +2 -3
- package/dist/tailwind-internal/dist/defaultTailwindThemeAsUdsConfig.d.cts +2 -3
- package/dist/tailwind-internal/dist/defaultTailwindThemeAsUdsConfig.d.ts +2 -3
- package/dist/tailwind-internal/dist/index.d.cts +2 -1
- package/dist/tailwind-internal/dist/index.d.ts +2 -1
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/defaultTheme.d.cts +2 -4
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/defaultTheme.d.ts +2 -3
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/lib/public/create-plugin.cjs +1 -1
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/lib/public/create-plugin.js +1 -1
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/plugin.d.cts +2 -4
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/plugin.d.ts +2 -3
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/types/config.d.cts +70 -38
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/types/config.d.ts +70 -38
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/types/generated/colors.d.cts +6 -11
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/types/generated/colors.d.ts +6 -11
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/types/generated/corePluginList.d.cts +1 -1
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/types/generated/corePluginList.d.ts +1 -1
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/types/generated/default-theme.d.cts +1 -1
- package/dist/tailwind-internal/dist/node_modules/.bun/tailwindcss@3.4.19_028b7be3b865fa1a/node_modules/tailwindcss/types/generated/default-theme.d.ts +1 -1
- package/dist/tailwind-internal/dist/packages/automated-config/dist/generated/universalTokensConfigAuto.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/generated/universalTokensConfigAuto.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/properties.d.cts +5 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/properties.d.ts +5 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/types/ComponentConfig.d.cts +3 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/types/ComponentConfig.d.ts +3 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/types/ConfigSchema.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/types/ConfigSchema.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/types/StateAxis.cjs +25 -2
- package/dist/tailwind-internal/dist/packages/automated-config/dist/types/StateAxis.js +25 -3
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/buildConfigSchema.d.cts +7 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/buildConfigSchema.d.ts +7 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/canonicalizeStateKey.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/canonicalizeStateKey.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/coalesceConfigVariant.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/coalesceConfigVariant.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/defaults.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/defaults.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getButtonControlHeight.cjs +5 -1
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getButtonControlHeight.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getButtonControlHeight.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getButtonControlHeight.js +2 -2
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getButtonControlHeightPx.d.cts +3 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getButtonControlHeightPx.d.ts +3 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getConfigComponentVariant.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getConfigComponentVariant.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getConfigVariantComponentStatesMatrix.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getConfigVariantComponentStatesMatrix.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getConfigVariantProperties.d.cts +3 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getConfigVariantProperties.d.ts +3 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getConfigVariantPseudoStates.d.cts +3 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getConfigVariantPseudoStates.d.ts +3 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getConfigVariants.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/getConfigVariants.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/iconButtonMatchButtonHeight.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/iconButtonMatchButtonHeight.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/index.cjs +81 -51
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/index.d.cts +21 -1
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/index.d.ts +21 -1
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/index.js +63 -51
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/isConfiguratorPropertyVisible.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/isConfiguratorPropertyVisible.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/pseudoStateSelectors.cjs +4 -1
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/pseudoStateSelectors.js +2 -2
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/resolvePropertyStates.cjs +1 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/resolvePropertyStates.d.cts +3 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/resolvePropertyStates.d.ts +3 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/resolvePropertyStates.js +1 -1
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/subcomponents.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/subcomponents.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/variantConfigGuards.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/variantConfigGuards.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/config/dist/index.d.cts +3 -3
- package/dist/tailwind-internal/dist/packages/config/dist/index.d.ts +3 -3
- package/dist/tailwind-internal/dist/packages/css-tokens/dist/index.cjs +1 -0
- package/dist/tailwind-internal/dist/packages/css-tokens/dist/index.js +1 -1
- package/dist/tailwind-internal/dist/packages/fixtures/dist/index.cjs +19 -4
- package/dist/tailwind-internal/dist/packages/fixtures/dist/index.d.cts +2 -0
- package/dist/tailwind-internal/dist/packages/fixtures/dist/index.d.ts +2 -0
- package/dist/tailwind-internal/dist/packages/fixtures/dist/index.js +7 -5
- package/dist/tailwind-internal/dist/packages/fonts/dist/index.d.cts +17 -9
- package/dist/tailwind-internal/dist/packages/fonts/dist/index.d.ts +17 -9
- package/dist/tailwind-internal/dist/packages/types/dist/index.d.cts +3 -8
- package/dist/tailwind-internal/dist/packages/types/dist/index.d.ts +3 -8
- package/dist/tailwind-internal/dist/plugins/borderRadius.cjs +2 -0
- package/dist/tailwind-internal/dist/plugins/borderRadius.js +1 -1
- package/dist/tailwind-internal/dist/plugins/borderWidth.cjs +1 -0
- package/dist/tailwind-internal/dist/plugins/borderWidth.js +1 -1
- package/dist/tailwind-internal/dist/plugins/breakpoints.cjs +2 -0
- package/dist/tailwind-internal/dist/plugins/breakpoints.js +1 -1
- package/dist/tailwind-internal/dist/plugins/colors.cjs +2 -3
- package/dist/tailwind-internal/dist/plugins/scaleMode.cjs +2 -1
- package/dist/tailwind-internal/dist/plugins/scaleMode.js +2 -1
- package/dist/tailwind-internal/dist/plugins/typography.cjs +7 -0
- package/dist/tailwind-internal/dist/plugins/typography.js +1 -1
- package/dist/tailwind-internal/dist/tailwindPlugin.cjs +2 -0
- package/dist/tailwind-internal/dist/tailwindPlugin.d.cts +4 -2
- package/dist/tailwind-internal/dist/tailwindPlugin.d.ts +4 -2
- package/dist/tailwind-internal/dist/tailwindPlugin.js +2 -0
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.d.cts +2 -3
- package/dist/tailwind-internal/dist/utils/addFontsPlugin.d.ts +2 -3
- package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.cjs +3 -4
- package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.d.cts +2 -3
- package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.d.ts +2 -3
- package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.js +1 -1
- package/dist/tailwind-internal/dist/utils/entryPoints.d.cts +1 -1
- package/dist/tailwind-internal/dist/utils/entryPoints.d.ts +1 -1
- package/dist/tailwind-internal/dist/utils/getColorModeStyles.d.cts +1 -2
- package/dist/tailwind-internal/dist/utils/getColorModeStyles.d.ts +1 -2
- package/dist/tailwind-internal/dist/utils/getElevationStyles.d.cts +2 -5
- package/dist/tailwind-internal/dist/utils/getElevationStyles.d.ts +2 -5
- package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.d.cts +1 -2
- package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.d.ts +1 -2
- package/dist/tailwind-internal/dist/utils/getFontStyles.d.cts +1 -2
- package/dist/tailwind-internal/dist/utils/getFontStyles.d.ts +1 -2
- package/dist/tailwind-internal/dist/utils/getMotionStyles.cjs +3 -2
- package/dist/tailwind-internal/dist/utils/getMotionStyles.d.cts +1 -2
- package/dist/tailwind-internal/dist/utils/getMotionStyles.d.ts +1 -2
- package/dist/tailwind-internal/dist/utils/getMotionStyles.js +3 -2
- package/dist/tailwind-internal/dist/utils/getScaleModeStyles.d.cts +1 -2
- package/dist/tailwind-internal/dist/utils/getScaleModeStyles.d.ts +1 -2
- package/dist/tailwind-internal/dist/utils/getShadowPresetValues.d.cts +2 -6
- package/dist/tailwind-internal/dist/utils/getShadowPresetValues.d.ts +2 -6
- package/dist/tailwind-internal/dist/utils/getShadowStyles.cjs +2 -1
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.cts +4 -8
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.ts +4 -8
- package/dist/tailwind-internal/dist/utils/getShadowStyles.js +2 -1
- package/dist/tailwind-internal/dist/utils/getShadowVars.cjs +3 -2
- package/dist/tailwind-internal/dist/utils/getShadowVars.d.cts +1 -2
- package/dist/tailwind-internal/dist/utils/getShadowVars.d.ts +1 -2
- package/dist/tailwind-internal/dist/utils/getShadowVars.js +3 -2
- package/dist/tailwind-internal/dist/utils/opacity.cjs +0 -1
- package/dist/tailwind-internal/dist/utils/opacity.d.cts +1 -2
- package/dist/tailwind-internal/dist/utils/opacity.d.ts +1 -2
- package/dist/tailwind-internal/dist/utils/parseTokens.cjs +2 -1
- package/dist/tailwind-internal/dist/utils/parseTokens.d.cts +2 -3
- package/dist/tailwind-internal/dist/utils/parseTokens.d.ts +2 -3
- package/dist/tailwind-internal/dist/utils/parseTokens.js +2 -1
- package/dist/tailwind-internal/dist/utils/postcssPreserveVars.d.cts +1 -2
- package/dist/tailwind-internal/dist/utils/postcssPreserveVars.d.ts +1 -2
- package/dist/tailwind-v3/dist/packages/css-tokens/dist/index.cjs +1 -0
- package/dist/tailwind-v3/dist/packages/css-tokens/dist/index.js +1 -1
- package/dist/tailwind-v3/dist/packages/palette/dist/index.cjs +1 -0
- package/dist/tailwind-v3/dist/packages/palette/dist/index.js +1 -1
- package/dist/tailwind-v3/dist/purger/legacy/index.d.cts +2 -0
- package/dist/tailwind-v3/dist/purger/legacy/index.d.ts +2 -0
- package/dist/tailwind-v3/dist/purger/legacy/purgeCSS.cjs +11 -1
- package/dist/tailwind-v3/dist/purger/legacy/purgeCSS.d.cts +2 -1
- package/dist/tailwind-v3/dist/purger/legacy/purgeCSS.d.ts +1 -2
- package/dist/tailwind-v3/dist/purger/legacy/purgeCSS.js +3 -2
- package/dist/tailwind-v3/dist/purger/legacy/purgeFromCode.d.cts +1 -1
- package/dist/tailwind-v3/dist/purger/legacy/purgeFromCode.d.ts +1 -1
- package/dist/tailwind-v3/dist/purger.d.cts +4 -1
- package/dist/tailwind-v3/dist/purger.d.ts +4 -1
- package/dist/tailwind-v3/dist/utils/tsMorph.cjs +6 -2
- package/dist/tailwind-v3/dist/utils/tsMorph.js +3 -2
- package/dist/tailwind-v4/dist/cli.cjs +3 -3
- package/dist/tailwind-v4/dist/cli.js +2 -2
- package/dist/tailwind-v4/dist/{generateTheme-DkTgUwTM.cjs → generateTheme-CybuHI3b.cjs} +3 -3
- package/dist/tailwind-v4/dist/{generateTheme-DkTgUwTM.js → generateTheme-CybuHI3b.js} +3 -3
- package/dist/tokens/automation/index.d.cts +1 -1
- package/dist/tokens/automation/index.d.ts +1 -1
- package/dist/tokens/automation/properties.d.cts +1 -1
- package/dist/tokens/automation/properties.d.ts +1 -1
- package/dist/tokens/configs/borderRadius.d.cts +1 -0
- package/dist/tokens/configs/borderRadius.d.ts +1 -0
- package/dist/tokens/configs/borderWidth.d.cts +1 -0
- package/dist/tokens/configs/borderWidth.d.ts +1 -0
- package/dist/tokens/configs/font.d.cts +1 -0
- package/dist/tokens/configs/font.d.ts +1 -0
- package/dist/tokens/configs/scaleMode.d.cts +1 -0
- package/dist/tokens/configs/scaleMode.d.ts +1 -0
- package/dist/tokens/configs/shadow.d.cts +1 -0
- package/dist/tokens/configs/shadow.d.ts +1 -0
- package/dist/tokens/configs/sizes.cjs +0 -1
- package/dist/tokens/configs/sizes.d.cts +1 -0
- package/dist/tokens/configs/sizes.d.ts +1 -0
- package/dist/tokens/configs/typography.d.cts +1 -0
- package/dist/tokens/configs/typography.d.ts +1 -0
- package/dist/tokens/index.d.cts +5 -1
- package/dist/tokens/index.d.ts +5 -1
- package/dist/tokens/parseButtonVariants.d.cts +2 -4
- package/dist/tokens/parseButtonVariants.d.ts +2 -4
- package/dist/tokens/parseTokens.d.cts +1 -0
- package/dist/tokens/parseTokens.d.ts +1 -0
- package/dist/tokens/types.d.cts +1 -2
- package/dist/tokens/types.d.ts +1 -2
- package/dist/tokens/utils/getFontUrls.d.cts +3 -1
- package/dist/tokens/utils/getFontUrls.d.ts +3 -1
- package/dist/tokens/utils/spectrum.d.cts +1 -0
- package/dist/tokens/utils/spectrum.d.ts +1 -0
- package/dist/types/dist/index.d.cts +4 -5
- package/dist/types/dist/index.d.ts +4 -5
- package/dist/types.d.cts +0 -1
- package/dist/types.d.ts +0 -1
- package/dist/uds/generated/componentData.cjs +1881 -1881
- package/dist/uds/generated/componentData.js +1881 -1881
- package/dist/uds/package.cjs +2 -2
- package/dist/uds/package.js +2 -2
- package/dist/utils/createSlot.cjs +0 -1
- package/dist/utils/dist/entries.d.cts +1 -1
- package/dist/utils/dist/entries.d.ts +1 -1
- package/dist/utils/dist/fromEntries.d.cts +1 -1
- package/dist/utils/dist/fromEntries.d.ts +1 -1
- package/dist/utils/dist/mapValues.d.cts +1 -1
- package/dist/utils/dist/mapValues.d.ts +1 -1
- package/dist/utils/hasDisplayName.cjs +0 -1
- package/dist/utils/hasDisplayName.d.cts +0 -1
- package/dist/utils/hasDisplayName.d.ts +0 -1
- package/dist/utils/intersperse.d.cts +1 -3
- package/dist/utils/intersperse.d.ts +1 -3
- package/dist/utils/isElevationAlias.d.cts +0 -1
- package/dist/utils/isElevationAlias.d.ts +0 -1
- package/dist/utils/mergeSlotProps.cjs +2 -2
- package/dist/utils/mergeSlotProps.d.cts +1 -1
- package/dist/utils/mergeSlotProps.d.ts +1 -1
- package/dist/utils/mergeSlotProps.js +2 -2
- package/dist/utils/svgFloatingContentUtils.d.cts +2 -20
- package/dist/utils/svgFloatingContentUtils.d.ts +2 -20
- package/generated/componentData.json +2771 -2771
- package/package.json +3 -3
|
@@ -27,7 +27,6 @@ import { resolvePropertyStates } from "./resolvePropertyStates.cjs";
|
|
|
27
27
|
import { PropertyStates, StateSlot, propertyUsesPerStateEnabled, resolveSlotByCascade } from "./resolveSlotByCascade.cjs";
|
|
28
28
|
import { getConfigSubcomponents } from "./subcomponents.cjs";
|
|
29
29
|
import { isVariantConfigWithComponentStates, isVariantConfigWithProperties } from "./variantConfigGuards.cjs";
|
|
30
|
-
|
|
31
30
|
//#region ../automated-config/dist/utils/index.d.ts
|
|
32
31
|
//#region src/utils/index.d.ts
|
|
33
32
|
type ThemeFn = (path: string) => string;
|
|
@@ -53,16 +52,7 @@ declare const statePseudoMapDocsMode: Record<PossibleStatesWithRest, string>;
|
|
|
53
52
|
* This preserves visual borders without affecting layout dimensions.
|
|
54
53
|
*/
|
|
55
54
|
declare function applyBoxShadowBorder(classStyles: Record<string, string>): Record<string, string>;
|
|
56
|
-
declare function generateClassName({
|
|
57
|
-
componentName,
|
|
58
|
-
subComponentName,
|
|
59
|
-
variantKey,
|
|
60
|
-
variantValue,
|
|
61
|
-
componentStateKey,
|
|
62
|
-
componentStateValue,
|
|
63
|
-
layer,
|
|
64
|
-
layerOptionalPseudoSelector
|
|
65
|
-
}: {
|
|
55
|
+
declare function generateClassName({ componentName, subComponentName, variantKey, variantValue, componentStateKey, componentStateValue, layer, layerOptionalPseudoSelector }: {
|
|
66
56
|
componentName: string;
|
|
67
57
|
subComponentName?: string;
|
|
68
58
|
variantKey: string;
|
|
@@ -81,30 +71,7 @@ declare function generateClassName({
|
|
|
81
71
|
* than collapsing every unset state to the override's own `rest`.
|
|
82
72
|
*/
|
|
83
73
|
declare function mergeUniversalUnderOverride(universal: VariableState, override: VariableState): VariableState;
|
|
84
|
-
declare function generateDeclaration({
|
|
85
|
-
componentName,
|
|
86
|
-
subComponentName,
|
|
87
|
-
variantKey,
|
|
88
|
-
variantValue,
|
|
89
|
-
layer,
|
|
90
|
-
layerOptionalPseudoSelector,
|
|
91
|
-
componentStateKey,
|
|
92
|
-
componentStateValue,
|
|
93
|
-
schema,
|
|
94
|
-
propertyKey,
|
|
95
|
-
originalPropertyDefinition,
|
|
96
|
-
declaredStates,
|
|
97
|
-
layerUsesAtomicStates,
|
|
98
|
-
userOverridableProperties,
|
|
99
|
-
theme,
|
|
100
|
-
currentStyles,
|
|
101
|
-
previewOptions,
|
|
102
|
-
excludedPseudoStates,
|
|
103
|
-
emit,
|
|
104
|
-
fallbackStateMap,
|
|
105
|
-
bumpRootSpecificity,
|
|
106
|
-
buttonHeightReferenceSchema
|
|
107
|
-
}: {
|
|
74
|
+
declare function generateDeclaration({ componentName, subComponentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, componentStateKey, componentStateValue, schema, propertyKey, originalPropertyDefinition, declaredStates, layerUsesAtomicStates, userOverridableProperties, theme, currentStyles, previewOptions, excludedPseudoStates, emit, fallbackStateMap, bumpRootSpecificity, buttonHeightReferenceSchema }: {
|
|
108
75
|
componentName: string;
|
|
109
76
|
subComponentName?: string;
|
|
110
77
|
variantKey: string;
|
|
@@ -160,10 +127,11 @@ declare function createConfigurableProperty<C extends ConfigurablePropertiesName
|
|
|
160
127
|
name: C;
|
|
161
128
|
typeOfFixture: T;
|
|
162
129
|
values: V;
|
|
163
|
-
defaults: { [K in O]: V[number][number] | (Extract<T[number], ArbitraryFixtures> extends never ? never : InferArbitraryType<Extract<T[number], ArbitraryFixtures>>) };
|
|
130
|
+
defaults: { [K in O]: V[number][number] | (Extract<T[number], ArbitraryFixtures> extends never ? never : InferArbitraryType<Extract<T[number], ArbitraryFixtures>>); };
|
|
164
131
|
label: string;
|
|
165
132
|
skipRestState?: boolean;
|
|
166
|
-
optionalInDefaultSchema?: boolean;
|
|
133
|
+
optionalInDefaultSchema?: boolean;
|
|
134
|
+
/** @deprecated Prefer layer-level `atomicStates` + `excludeAtomics`. */
|
|
167
135
|
pseudoStates?: PossibleStates[];
|
|
168
136
|
excludeAtomics?: AtomicState[];
|
|
169
137
|
supportsCustom?: boolean;
|
|
@@ -231,6 +199,6 @@ declare function createSubComponentConfig(config: {
|
|
|
231
199
|
label: string;
|
|
232
200
|
description: string;
|
|
233
201
|
variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
|
234
|
-
}): SubComponentConfig;
|
|
202
|
+
}): SubComponentConfig;
|
|
235
203
|
//#endregion
|
|
236
|
-
export { EmitMode, applyBoxShadowBorder, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, generateClassName, generateConfigStyles, generateDeclaration, generateStyles, mergeUniversalUnderOverride, statePseudoMapDocsMode };
|
|
204
|
+
export { type AtomicState, type ButtonControlSchema, type ComponentSchema, EmitMode, INTERACTIVE_ATOMICS, type IconButtonMatchButtonHeightConfig, type IconButtonMatchButtonHeightSize, type InteractiveAtomic, MAX_MODIFIERS_PER_COMPOUND, MODIFIER_ATOMICS, type ModifierAtomic, type PaginationWidthConfig, type PropertyStates, SHARED_BUTTON_ICONBUTTON_SIZES, type StateSlot, applyBoxShadowBorder, applyButtonControlHeightDeclarations, applyIconButtonControlHeightDeclarations, buildConfigSchema, canonicalizeStateKey, cartesianProduct, coalesceConfigVariant, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, disableIconButtonMatchButtonHeight, enableIconButtonMatchButtonHeight, findFixtureType, findFixtureTypeForValue, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getButtonContentLineHeight, getButtonControlContentSize, getButtonControlHeight, getButtonControlHeightPx, getButtonIconSizeVar, getConfigComponentVariant, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getIconButtonControlHeight, getIconButtonControlHeightPx, getIconButtonOnlyControlHeightPx, getPaginationControlWidthPx, getStateDocsClass, getStateSelector, isAtomicState, isConfigDefaultValue, isConfiguratorPropertyVisible, isIconButtonMatchButtonHeightEnabled, isInteractiveAtomic, isKnownStateAtom, isModifierAtomic, isVariantConfigWithComponentStates, isVariantConfigWithProperties, mergeUniversalUnderOverride, propertyUsesPerStateEnabled, resolvePropertyStates, resolveSlotByCascade, splitStateKey, statePseudoMapDocsMode, syncButtonControlHeightVarForSize, syncIconButtonControlHeightVarForSize, syncIconButtonOnlyControlHeightVarForSize, syncPaginationWidthVarForSize };
|
|
@@ -27,7 +27,6 @@ import { resolvePropertyStates } from "./resolvePropertyStates.js";
|
|
|
27
27
|
import { PropertyStates, StateSlot, propertyUsesPerStateEnabled, resolveSlotByCascade } from "./resolveSlotByCascade.js";
|
|
28
28
|
import { getConfigSubcomponents } from "./subcomponents.js";
|
|
29
29
|
import { isVariantConfigWithComponentStates, isVariantConfigWithProperties } from "./variantConfigGuards.js";
|
|
30
|
-
|
|
31
30
|
//#region ../automated-config/dist/utils/index.d.ts
|
|
32
31
|
//#region src/utils/index.d.ts
|
|
33
32
|
type ThemeFn = (path: string) => string;
|
|
@@ -53,16 +52,7 @@ declare const statePseudoMapDocsMode: Record<PossibleStatesWithRest, string>;
|
|
|
53
52
|
* This preserves visual borders without affecting layout dimensions.
|
|
54
53
|
*/
|
|
55
54
|
declare function applyBoxShadowBorder(classStyles: Record<string, string>): Record<string, string>;
|
|
56
|
-
declare function generateClassName({
|
|
57
|
-
componentName,
|
|
58
|
-
subComponentName,
|
|
59
|
-
variantKey,
|
|
60
|
-
variantValue,
|
|
61
|
-
componentStateKey,
|
|
62
|
-
componentStateValue,
|
|
63
|
-
layer,
|
|
64
|
-
layerOptionalPseudoSelector
|
|
65
|
-
}: {
|
|
55
|
+
declare function generateClassName({ componentName, subComponentName, variantKey, variantValue, componentStateKey, componentStateValue, layer, layerOptionalPseudoSelector }: {
|
|
66
56
|
componentName: string;
|
|
67
57
|
subComponentName?: string;
|
|
68
58
|
variantKey: string;
|
|
@@ -81,30 +71,7 @@ declare function generateClassName({
|
|
|
81
71
|
* than collapsing every unset state to the override's own `rest`.
|
|
82
72
|
*/
|
|
83
73
|
declare function mergeUniversalUnderOverride(universal: VariableState, override: VariableState): VariableState;
|
|
84
|
-
declare function generateDeclaration({
|
|
85
|
-
componentName,
|
|
86
|
-
subComponentName,
|
|
87
|
-
variantKey,
|
|
88
|
-
variantValue,
|
|
89
|
-
layer,
|
|
90
|
-
layerOptionalPseudoSelector,
|
|
91
|
-
componentStateKey,
|
|
92
|
-
componentStateValue,
|
|
93
|
-
schema,
|
|
94
|
-
propertyKey,
|
|
95
|
-
originalPropertyDefinition,
|
|
96
|
-
declaredStates,
|
|
97
|
-
layerUsesAtomicStates,
|
|
98
|
-
userOverridableProperties,
|
|
99
|
-
theme,
|
|
100
|
-
currentStyles,
|
|
101
|
-
previewOptions,
|
|
102
|
-
excludedPseudoStates,
|
|
103
|
-
emit,
|
|
104
|
-
fallbackStateMap,
|
|
105
|
-
bumpRootSpecificity,
|
|
106
|
-
buttonHeightReferenceSchema
|
|
107
|
-
}: {
|
|
74
|
+
declare function generateDeclaration({ componentName, subComponentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, componentStateKey, componentStateValue, schema, propertyKey, originalPropertyDefinition, declaredStates, layerUsesAtomicStates, userOverridableProperties, theme, currentStyles, previewOptions, excludedPseudoStates, emit, fallbackStateMap, bumpRootSpecificity, buttonHeightReferenceSchema }: {
|
|
108
75
|
componentName: string;
|
|
109
76
|
subComponentName?: string;
|
|
110
77
|
variantKey: string;
|
|
@@ -160,10 +127,11 @@ declare function createConfigurableProperty<C extends ConfigurablePropertiesName
|
|
|
160
127
|
name: C;
|
|
161
128
|
typeOfFixture: T;
|
|
162
129
|
values: V;
|
|
163
|
-
defaults: { [K in O]: V[number][number] | (Extract<T[number], ArbitraryFixtures> extends never ? never : InferArbitraryType<Extract<T[number], ArbitraryFixtures>>) };
|
|
130
|
+
defaults: { [K in O]: V[number][number] | (Extract<T[number], ArbitraryFixtures> extends never ? never : InferArbitraryType<Extract<T[number], ArbitraryFixtures>>); };
|
|
164
131
|
label: string;
|
|
165
132
|
skipRestState?: boolean;
|
|
166
|
-
optionalInDefaultSchema?: boolean;
|
|
133
|
+
optionalInDefaultSchema?: boolean;
|
|
134
|
+
/** @deprecated Prefer layer-level `atomicStates` + `excludeAtomics`. */
|
|
167
135
|
pseudoStates?: PossibleStates[];
|
|
168
136
|
excludeAtomics?: AtomicState[];
|
|
169
137
|
supportsCustom?: boolean;
|
|
@@ -231,6 +199,6 @@ declare function createSubComponentConfig(config: {
|
|
|
231
199
|
label: string;
|
|
232
200
|
description: string;
|
|
233
201
|
variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
|
234
|
-
}): SubComponentConfig;
|
|
202
|
+
}): SubComponentConfig;
|
|
235
203
|
//#endregion
|
|
236
|
-
export { EmitMode, applyBoxShadowBorder, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, generateClassName, generateConfigStyles, generateDeclaration, generateStyles, mergeUniversalUnderOverride, statePseudoMapDocsMode };
|
|
204
|
+
export { type AtomicState, type ButtonControlSchema, type ComponentSchema, EmitMode, INTERACTIVE_ATOMICS, type IconButtonMatchButtonHeightConfig, type IconButtonMatchButtonHeightSize, type InteractiveAtomic, MAX_MODIFIERS_PER_COMPOUND, MODIFIER_ATOMICS, type ModifierAtomic, type PaginationWidthConfig, type PropertyStates, SHARED_BUTTON_ICONBUTTON_SIZES, type StateSlot, applyBoxShadowBorder, applyButtonControlHeightDeclarations, applyIconButtonControlHeightDeclarations, buildConfigSchema, canonicalizeStateKey, cartesianProduct, coalesceConfigVariant, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, disableIconButtonMatchButtonHeight, enableIconButtonMatchButtonHeight, findFixtureType, findFixtureTypeForValue, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getButtonContentLineHeight, getButtonControlContentSize, getButtonControlHeight, getButtonControlHeightPx, getButtonIconSizeVar, getConfigComponentVariant, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getIconButtonControlHeight, getIconButtonControlHeightPx, getIconButtonOnlyControlHeightPx, getPaginationControlWidthPx, getStateDocsClass, getStateSelector, isAtomicState, isConfigDefaultValue, isConfiguratorPropertyVisible, isIconButtonMatchButtonHeightEnabled, isInteractiveAtomic, isKnownStateAtom, isModifierAtomic, isVariantConfigWithComponentStates, isVariantConfigWithProperties, mergeUniversalUnderOverride, propertyUsesPerStateEnabled, resolvePropertyStates, resolveSlotByCascade, splitStateKey, statePseudoMapDocsMode, syncButtonControlHeightVarForSize, syncIconButtonControlHeightVarForSize, syncIconButtonOnlyControlHeightVarForSize, syncPaginationWidthVarForSize };
|
|
@@ -2,31 +2,31 @@
|
|
|
2
2
|
import { BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, ICON_COLOR_OVERRIDE_ATTRIBUTE, ICON_SIZE_OVERRIDE_ATTRIBUTE } from "../../../css-tokens/dist/index.js";
|
|
3
3
|
import { mapTextVariantFixtureToValue } from "../mapTextVariantFixtureToValue.js";
|
|
4
4
|
import { configurableProperties } from "../properties.js";
|
|
5
|
-
import { INTERACTIVE_ATOMICS, MODIFIER_ATOMICS, comparePriority } from "../types/StateAxis.js";
|
|
5
|
+
import { INTERACTIVE_ATOMICS, MAX_MODIFIERS_PER_COMPOUND, MODIFIER_ATOMICS, comparePriority, isAtomicState, isInteractiveAtomic, isModifierAtomic } from "../types/StateAxis.js";
|
|
6
6
|
import { getExcludedLayersForComponentStateOption, getExcludedPseudoStatesForComponentStateOption } from "./componentStatePseudoStates.js";
|
|
7
7
|
import { generateSchemaKey } from "./generateSchemaKey.js";
|
|
8
|
-
import "./canonicalizeStateKey.js";
|
|
8
|
+
import { canonicalizeStateKey, splitStateKey } from "./canonicalizeStateKey.js";
|
|
9
9
|
import { atomicAndCompoundStateKeys, resolvePropertyStates } from "./resolvePropertyStates.js";
|
|
10
10
|
import { isVariantConfigWithComponentStates, isVariantConfigWithProperties } from "./variantConfigGuards.js";
|
|
11
|
-
import { findFixtureTypeForValue } from "./buildConfigSchema.js";
|
|
11
|
+
import { buildConfigSchema, findFixtureType, findFixtureTypeForValue } from "./buildConfigSchema.js";
|
|
12
12
|
import { generateDefaultClassName } from "./generateDefaultClassName.js";
|
|
13
|
-
import { applyButtonControlHeightDeclarations, applyIconButtonControlHeightDeclarations, getButtonContentLineHeight } from "./getButtonControlHeight.js";
|
|
14
|
-
import "./iconButtonMatchButtonHeight.js";
|
|
15
|
-
import "./getButtonControlHeightPx.js";
|
|
16
|
-
import { getStateDocsClass, getStateSelector } from "./pseudoStateSelectors.js";
|
|
17
|
-
import { resolveSlotByCascade } from "./resolveSlotByCascade.js";
|
|
18
|
-
import "./cartesianProduct.js";
|
|
19
|
-
import "./subcomponents.js";
|
|
20
|
-
import "./coalesceConfigVariant.js";
|
|
21
|
-
import "./defaults.js";
|
|
22
|
-
import "./generateKeyFromFlatConfigPath.js";
|
|
23
|
-
import "./getConfigComponentVariant.js";
|
|
24
|
-
import "./getConfigVariantComponentStatesMatrix.js";
|
|
25
|
-
import "./getConfigVariantProperties.js";
|
|
26
|
-
import "./getConfigVariantPseudoStates.js";
|
|
27
|
-
import "./getConfigVariants.js";
|
|
28
|
-
import "./getPaginationControlWidthPx.js";
|
|
29
|
-
import "./isConfiguratorPropertyVisible.js";
|
|
13
|
+
import { SHARED_BUTTON_ICONBUTTON_SIZES, applyButtonControlHeightDeclarations, applyIconButtonControlHeightDeclarations, getButtonContentLineHeight, getButtonControlContentSize, getButtonControlHeight, getButtonIconSizeVar, getIconButtonControlHeight } from "./getButtonControlHeight.js";
|
|
14
|
+
import { disableIconButtonMatchButtonHeight, enableIconButtonMatchButtonHeight, isIconButtonMatchButtonHeightEnabled } from "./iconButtonMatchButtonHeight.js";
|
|
15
|
+
import { getButtonControlHeightPx, getIconButtonControlHeightPx, getIconButtonOnlyControlHeightPx, syncButtonControlHeightVarForSize, syncIconButtonControlHeightVarForSize, syncIconButtonOnlyControlHeightVarForSize } from "./getButtonControlHeightPx.js";
|
|
16
|
+
import { getStateDocsClass, getStateSelector, isKnownStateAtom } from "./pseudoStateSelectors.js";
|
|
17
|
+
import { propertyUsesPerStateEnabled, resolveSlotByCascade } from "./resolveSlotByCascade.js";
|
|
18
|
+
import { cartesianProduct } from "./cartesianProduct.js";
|
|
19
|
+
import { getConfigSubcomponents } from "./subcomponents.js";
|
|
20
|
+
import { coalesceConfigVariant } from "./coalesceConfigVariant.js";
|
|
21
|
+
import { getConfigDefaultValue, isConfigDefaultValue } from "./defaults.js";
|
|
22
|
+
import { generateKeyFromFlatConfigPath } from "./generateKeyFromFlatConfigPath.js";
|
|
23
|
+
import { getConfigComponentVariant } from "./getConfigComponentVariant.js";
|
|
24
|
+
import { getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix } from "./getConfigVariantComponentStatesMatrix.js";
|
|
25
|
+
import { getConfigVariantProperties } from "./getConfigVariantProperties.js";
|
|
26
|
+
import { getConfigVariantPseudoStates } from "./getConfigVariantPseudoStates.js";
|
|
27
|
+
import { getConfigVariants } from "./getConfigVariants.js";
|
|
28
|
+
import { getPaginationControlWidthPx, syncPaginationWidthVarForSize } from "./getPaginationControlWidthPx.js";
|
|
29
|
+
import { isConfiguratorPropertyVisible } from "./isConfiguratorPropertyVisible.js";
|
|
30
30
|
import { isFunction, mergeWith } from "lodash-es";
|
|
31
31
|
//#region ../automated-config/dist/utils/index.js
|
|
32
32
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
@@ -401,25 +401,26 @@ function generateDeclaration({ componentName, subComponentName, variantKey, vari
|
|
|
401
401
|
} else if (schemaValueForState.isEnabled === false) continue;
|
|
402
402
|
}
|
|
403
403
|
let fullClassName = ``;
|
|
404
|
-
if (layer === "root")
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
404
|
+
if (layer === "root") {
|
|
405
|
+
if (componentStateKey && componentStateValue) {
|
|
406
|
+
const rootVariantClass = generateClassName({
|
|
407
|
+
componentName,
|
|
408
|
+
variantKey,
|
|
409
|
+
variantValue,
|
|
410
|
+
layer,
|
|
411
|
+
subComponentName
|
|
412
|
+
});
|
|
413
|
+
className = generateClassName({
|
|
414
|
+
componentName,
|
|
415
|
+
variantKey,
|
|
416
|
+
layer,
|
|
417
|
+
subComponentName,
|
|
418
|
+
componentStateKey,
|
|
419
|
+
componentStateValue
|
|
420
|
+
});
|
|
421
|
+
fullClassName = `.${rootVariantClass}${propertyStateSelector}.${className}`;
|
|
422
|
+
} else fullClassName = bumpRootSpecificity ? `.${className}.${className}${propertyStateSelector}` : `.${className}${propertyStateSelector}`;
|
|
423
|
+
} else {
|
|
423
424
|
const rootVariantClassName = generateClassName({
|
|
424
425
|
componentName,
|
|
425
426
|
variantKey,
|
|
@@ -497,25 +498,29 @@ function generateDeclaration({ componentName, subComponentName, variantKey, vari
|
|
|
497
498
|
if (propertyKey === CSS_GAP) cssDeclarations[BUTTON_GAP_VAR] = cssDeclarations[CSS_GAP];
|
|
498
499
|
if (propertyKey === "spacingVertical") {
|
|
499
500
|
const paddingVertical = cssDeclarations["padding-top"];
|
|
500
|
-
if (paddingVertical)
|
|
501
|
-
|
|
502
|
-
paddingVertical,
|
|
503
|
-
schema,
|
|
504
|
-
rootLayerKey: generateSchemaKey({
|
|
501
|
+
if (paddingVertical) {
|
|
502
|
+
const rootLayerKey = generateSchemaKey({
|
|
505
503
|
variantKey,
|
|
506
504
|
variantValue,
|
|
507
505
|
layer: "root",
|
|
508
506
|
subComponentName
|
|
509
|
-
})
|
|
510
|
-
iconLayerKey
|
|
507
|
+
});
|
|
508
|
+
const iconLayerKey = generateSchemaKey({
|
|
511
509
|
variantKey,
|
|
512
510
|
variantValue,
|
|
513
511
|
layer: "icon",
|
|
514
512
|
subComponentName
|
|
515
|
-
})
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
513
|
+
});
|
|
514
|
+
applyButtonControlHeightDeclarations({
|
|
515
|
+
cssDeclarations,
|
|
516
|
+
paddingVertical,
|
|
517
|
+
schema,
|
|
518
|
+
rootLayerKey,
|
|
519
|
+
iconLayerKey,
|
|
520
|
+
state: propertyState,
|
|
521
|
+
theme
|
|
522
|
+
});
|
|
523
|
+
}
|
|
519
524
|
}
|
|
520
525
|
if (propertyKey === "scaleEffect" && propertyState === "hover") {
|
|
521
526
|
const rootClassName = `.${className}`;
|
|
@@ -525,42 +530,49 @@ function generateDeclaration({ componentName, subComponentName, variantKey, vari
|
|
|
525
530
|
if (propertyStateMap.hover) styles[rootClassName][BUTTON_SCALE_EFFECT_HOVER] = renderValue(propertyStateMap.hover);
|
|
526
531
|
if (propertyStateMap.pressed) styles[rootClassName][BUTTON_SCALE_EFFECT_PRESSED] = renderValue(propertyStateMap.pressed);
|
|
527
532
|
}
|
|
528
|
-
if (cssDeclarations[CSS_LINE_HEIGHT])
|
|
529
|
-
|
|
530
|
-
rootLayerKey: generateSchemaKey({
|
|
533
|
+
if (cssDeclarations[CSS_LINE_HEIGHT]) {
|
|
534
|
+
const rootLayerKey = generateSchemaKey({
|
|
531
535
|
variantKey,
|
|
532
536
|
variantValue,
|
|
533
537
|
layer: "root",
|
|
534
538
|
subComponentName
|
|
535
|
-
})
|
|
536
|
-
iconLayerKey
|
|
539
|
+
});
|
|
540
|
+
const iconLayerKey = generateSchemaKey({
|
|
537
541
|
variantKey,
|
|
538
542
|
variantValue,
|
|
539
543
|
layer: "icon",
|
|
540
544
|
subComponentName
|
|
541
|
-
})
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
+
});
|
|
546
|
+
cssDeclarations[CSS_LINE_HEIGHT] = getButtonContentLineHeight({
|
|
547
|
+
schema,
|
|
548
|
+
rootLayerKey,
|
|
549
|
+
iconLayerKey,
|
|
550
|
+
state: propertyState,
|
|
551
|
+
theme
|
|
552
|
+
});
|
|
553
|
+
}
|
|
545
554
|
}
|
|
546
555
|
if (componentName === "iconbutton" && layer === "root") {
|
|
547
556
|
if (propertyKey === "spacing") {
|
|
548
557
|
const paddingVertical = cssDeclarations[CSS_PADDING];
|
|
549
|
-
if (paddingVertical)
|
|
550
|
-
|
|
551
|
-
paddingVertical,
|
|
552
|
-
iconButtonSchema: schema,
|
|
553
|
-
buttonHeightReferenceSchema,
|
|
554
|
-
variantValue,
|
|
555
|
-
iconLayerKey: generateSchemaKey({
|
|
558
|
+
if (paddingVertical) {
|
|
559
|
+
const iconLayerKey = generateSchemaKey({
|
|
556
560
|
variantKey,
|
|
557
561
|
variantValue,
|
|
558
562
|
layer: "icon",
|
|
559
563
|
subComponentName
|
|
560
|
-
})
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
+
});
|
|
565
|
+
applyIconButtonControlHeightDeclarations({
|
|
566
|
+
cssDeclarations,
|
|
567
|
+
paddingVertical,
|
|
568
|
+
iconButtonSchema: schema,
|
|
569
|
+
buttonHeightReferenceSchema,
|
|
570
|
+
variantValue,
|
|
571
|
+
iconLayerKey,
|
|
572
|
+
state: propertyState,
|
|
573
|
+
theme
|
|
574
|
+
});
|
|
575
|
+
}
|
|
564
576
|
}
|
|
565
577
|
}
|
|
566
578
|
if (componentName === "pagination" && layer === "item") {
|
|
@@ -1127,4 +1139,4 @@ function createSubComponentConfig(config) {
|
|
|
1127
1139
|
return config;
|
|
1128
1140
|
}
|
|
1129
1141
|
//#endregion
|
|
1130
|
-
export { applyBoxShadowBorder, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, generateClassName, generateConfigStyles, generateDeclaration, generateStyles, mergeUniversalUnderOverride, statePseudoMapDocsMode };
|
|
1142
|
+
export { INTERACTIVE_ATOMICS, MAX_MODIFIERS_PER_COMPOUND, MODIFIER_ATOMICS, SHARED_BUTTON_ICONBUTTON_SIZES, applyBoxShadowBorder, applyButtonControlHeightDeclarations, applyIconButtonControlHeightDeclarations, buildConfigSchema, canonicalizeStateKey, cartesianProduct, coalesceConfigVariant, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, disableIconButtonMatchButtonHeight, enableIconButtonMatchButtonHeight, findFixtureType, findFixtureTypeForValue, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getButtonContentLineHeight, getButtonControlContentSize, getButtonControlHeight, getButtonControlHeightPx, getButtonIconSizeVar, getConfigComponentVariant, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getIconButtonControlHeight, getIconButtonControlHeightPx, getIconButtonOnlyControlHeightPx, getPaginationControlWidthPx, getStateDocsClass, getStateSelector, isAtomicState, isConfigDefaultValue, isConfiguratorPropertyVisible, isIconButtonMatchButtonHeightEnabled, isInteractiveAtomic, isKnownStateAtom, isModifierAtomic, isVariantConfigWithComponentStates, isVariantConfigWithProperties, mergeUniversalUnderOverride, propertyUsesPerStateEnabled, resolvePropertyStates, resolveSlotByCascade, splitStateKey, statePseudoMapDocsMode, syncButtonControlHeightVarForSize, syncIconButtonControlHeightVarForSize, syncIconButtonOnlyControlHeightVarForSize, syncPaginationWidthVarForSize };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
import { UniversalTokensConfigAuto } from "../generated/universalTokensConfigAuto.cjs";
|
|
3
|
-
|
|
4
3
|
//#region ../automated-config/dist/utils/isConfiguratorPropertyVisible.d.ts
|
|
5
4
|
//#region src/utils/isConfiguratorPropertyVisible.d.ts
|
|
6
5
|
type ConfigWithComponentVariables = { [K in keyof UniversalTokensConfigAuto]?: {
|
|
7
6
|
variables?: Record<string, Record<string, unknown>>;
|
|
8
|
-
} };
|
|
7
|
+
}; };
|
|
9
8
|
/**
|
|
10
9
|
* Opt-in schema properties (`optionalInDefaultSchema`) are written at runtime
|
|
11
10
|
* (e.g. IconButton `controlHeight` when match-button-height is enabled) for
|
|
@@ -15,6 +14,6 @@ type ConfigWithComponentVariables = { [K in keyof UniversalTokensConfigAuto]?: {
|
|
|
15
14
|
*/
|
|
16
15
|
declare function isConfiguratorPropertyVisible(_config: Readonly<ConfigWithComponentVariables>, _componentName: keyof UniversalTokensConfigAuto, _variableKey: string, _propertyKey: string, property: {
|
|
17
16
|
optionalInDefaultSchema?: boolean;
|
|
18
|
-
}): boolean;
|
|
17
|
+
}): boolean;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { isConfiguratorPropertyVisible };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
import { UniversalTokensConfigAuto } from "../generated/universalTokensConfigAuto.js";
|
|
3
|
-
|
|
4
3
|
//#region ../automated-config/dist/utils/isConfiguratorPropertyVisible.d.ts
|
|
5
4
|
//#region src/utils/isConfiguratorPropertyVisible.d.ts
|
|
6
5
|
type ConfigWithComponentVariables = { [K in keyof UniversalTokensConfigAuto]?: {
|
|
7
6
|
variables?: Record<string, Record<string, unknown>>;
|
|
8
|
-
} };
|
|
7
|
+
}; };
|
|
9
8
|
/**
|
|
10
9
|
* Opt-in schema properties (`optionalInDefaultSchema`) are written at runtime
|
|
11
10
|
* (e.g. IconButton `controlHeight` when match-button-height is enabled) for
|
|
@@ -15,6 +14,6 @@ type ConfigWithComponentVariables = { [K in keyof UniversalTokensConfigAuto]?: {
|
|
|
15
14
|
*/
|
|
16
15
|
declare function isConfiguratorPropertyVisible(_config: Readonly<ConfigWithComponentVariables>, _componentName: keyof UniversalTokensConfigAuto, _variableKey: string, _propertyKey: string, property: {
|
|
17
16
|
optionalInDefaultSchema?: boolean;
|
|
18
|
-
}): boolean;
|
|
17
|
+
}): boolean;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { isConfiguratorPropertyVisible };
|
|
@@ -3,7 +3,7 @@ const require_StateAxis = require("../types/StateAxis.cjs");
|
|
|
3
3
|
const require_canonicalizeStateKey = require("./canonicalizeStateKey.cjs");
|
|
4
4
|
//#region ../automated-config/dist/utils/pseudoStateSelectors.js
|
|
5
5
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
6
|
-
const LEGACY_STATE_ATOMS = new Set([
|
|
6
|
+
const LEGACY_STATE_ATOMS = /* @__PURE__ */ new Set([
|
|
7
7
|
"disabled",
|
|
8
8
|
"focused",
|
|
9
9
|
"focused-keyboard",
|
|
@@ -120,6 +120,8 @@ function getStateDocsClass(stateKey) {
|
|
|
120
120
|
return parts.join("-and-");
|
|
121
121
|
}
|
|
122
122
|
//#endregion
|
|
123
|
+
exports.ATOMIC_DOCS_CLASSES = ATOMIC_DOCS_CLASSES;
|
|
124
|
+
exports.ATOMIC_SELECTORS = ATOMIC_SELECTORS;
|
|
123
125
|
exports.getStateDocsClass = getStateDocsClass;
|
|
124
126
|
exports.getStateSelector = getStateSelector;
|
|
125
127
|
exports.isKnownStateAtom = isKnownStateAtom;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { AtomicState } from "../types/StateAxis.cjs";
|
|
3
|
-
|
|
4
3
|
//#region ../automated-config/dist/utils/pseudoStateSelectors.d.ts
|
|
5
4
|
//#region src/utils/pseudoStateSelectors.d.ts
|
|
6
5
|
/**
|
|
@@ -11,47 +10,6 @@ import { AtomicState } from "../types/StateAxis.cjs";
|
|
|
11
10
|
type LegacyStateAtom = 'disabled' | 'focused' | 'focused-keyboard' | 'selected';
|
|
12
11
|
type KnownStateAtom = AtomicState | LegacyStateAtom;
|
|
13
12
|
declare function isKnownStateAtom(atom: string): atom is KnownStateAtom;
|
|
14
|
-
/**
|
|
15
|
-
* Each atom selector contributes exactly (0,1,0) to specificity. The base
|
|
16
|
-
* component class adds another (0,1,0), so a full rule's specificity is
|
|
17
|
-
* `(0, 1 + atom-count, 0)`:
|
|
18
|
-
*
|
|
19
|
-
* rest → (0,1,0) e.g. `.uds-input-...root`
|
|
20
|
-
* 1-atom → (0,2,0) e.g. `.uds-input-...root:hover...`
|
|
21
|
-
* 2-atom → (0,3,0) e.g. `.uds-input-...root:has(...):hover...`
|
|
22
|
-
* 3-atom → (0,4,0)
|
|
23
|
-
* 4-atom → (0,5,0)
|
|
24
|
-
*
|
|
25
|
-
* Cross-rank cascade (compound beats atom beats rest) is therefore encoded
|
|
26
|
-
* in CSS class-count specificity, not source order — making the cascade-
|
|
27
|
-
* cancellation feature robust to any tool that reorders rules within a
|
|
28
|
-
* stylesheet. Within a rank (e.g. `:hover` vs `:focus-visible`, both
|
|
29
|
-
* (0,2,0)) source order still arbitrates; the resolver computes intra-rank
|
|
30
|
-
* order inline from `STATE_PRIORITY`. See {@link resolvePropertyStates}.
|
|
31
|
-
*
|
|
32
|
-
* Why each entry is (0,1,0):
|
|
33
|
-
*
|
|
34
|
-
* - `:hover` / `:active` / `:focus*` / `:visited` are single pseudo-classes,
|
|
35
|
-
* each (0,1,0).
|
|
36
|
-
* - `:hover` and `:active` carry a `:where(:not(...))` blocker so the rule
|
|
37
|
-
* doesn't match when the element is also active/disabled. The outer
|
|
38
|
-
* `:where()` zeros the `:not(...)` contribution, leaving the bare pseudo-
|
|
39
|
-
* class's (0,1,0) as the only contributor.
|
|
40
|
-
* - `:is(:disabled, :has(:disabled))` takes the max specificity of its
|
|
41
|
-
* args; both are (0,1,0), so the whole is (0,1,0).
|
|
42
|
-
* - `:has(...)` selectors take the specificity of their arg's most specific
|
|
43
|
-
* complex selector. Arguments are pseudo-classes or attribute selectors at
|
|
44
|
-
* (0,1,0); where a form-control scope is also needed (e.g. `readonly` —
|
|
45
|
-
* non-form-control elements default to `:read-only` per spec, so a bare
|
|
46
|
-
* `:has(:read-only)` matches any container with DIV/SPAN children), the
|
|
47
|
-
* scope goes inside `:where(...)` so its (0,0,1) type-selector contribution
|
|
48
|
-
* is zeroed.
|
|
49
|
-
*
|
|
50
|
-
* **Consumer override ergonomics:** a plain `.my-input:hover` is (0,2,0),
|
|
51
|
-
* which ties library 1-atom rules at (0,2,0); source order decides. To
|
|
52
|
-
* unconditionally beat the library, consumers need (0,3,0) (e.g.
|
|
53
|
-
* `.scope .my-input:hover` or `.my-input.my-input:hover`).
|
|
54
|
-
*/
|
|
55
13
|
/**
|
|
56
14
|
* Returns the CSS pseudo-selector string for a state key.
|
|
57
15
|
*
|
|
@@ -75,6 +33,6 @@ declare function getStateSelector(stateKey: string): string;
|
|
|
75
33
|
* - Atomic keys return their entry from {@link ATOMIC_DOCS_CLASSES}.
|
|
76
34
|
* - Compound keys join atomic docs classes with `'-and-'`.
|
|
77
35
|
*/
|
|
78
|
-
declare function getStateDocsClass(stateKey: string): string;
|
|
36
|
+
declare function getStateDocsClass(stateKey: string): string;
|
|
79
37
|
//#endregion
|
|
80
38
|
export { getStateDocsClass, getStateSelector, isKnownStateAtom };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { AtomicState } from "../types/StateAxis.js";
|
|
3
|
-
|
|
4
3
|
//#region ../automated-config/dist/utils/pseudoStateSelectors.d.ts
|
|
5
4
|
//#region src/utils/pseudoStateSelectors.d.ts
|
|
6
5
|
/**
|
|
@@ -11,47 +10,6 @@ import { AtomicState } from "../types/StateAxis.js";
|
|
|
11
10
|
type LegacyStateAtom = 'disabled' | 'focused' | 'focused-keyboard' | 'selected';
|
|
12
11
|
type KnownStateAtom = AtomicState | LegacyStateAtom;
|
|
13
12
|
declare function isKnownStateAtom(atom: string): atom is KnownStateAtom;
|
|
14
|
-
/**
|
|
15
|
-
* Each atom selector contributes exactly (0,1,0) to specificity. The base
|
|
16
|
-
* component class adds another (0,1,0), so a full rule's specificity is
|
|
17
|
-
* `(0, 1 + atom-count, 0)`:
|
|
18
|
-
*
|
|
19
|
-
* rest → (0,1,0) e.g. `.uds-input-...root`
|
|
20
|
-
* 1-atom → (0,2,0) e.g. `.uds-input-...root:hover...`
|
|
21
|
-
* 2-atom → (0,3,0) e.g. `.uds-input-...root:has(...):hover...`
|
|
22
|
-
* 3-atom → (0,4,0)
|
|
23
|
-
* 4-atom → (0,5,0)
|
|
24
|
-
*
|
|
25
|
-
* Cross-rank cascade (compound beats atom beats rest) is therefore encoded
|
|
26
|
-
* in CSS class-count specificity, not source order — making the cascade-
|
|
27
|
-
* cancellation feature robust to any tool that reorders rules within a
|
|
28
|
-
* stylesheet. Within a rank (e.g. `:hover` vs `:focus-visible`, both
|
|
29
|
-
* (0,2,0)) source order still arbitrates; the resolver computes intra-rank
|
|
30
|
-
* order inline from `STATE_PRIORITY`. See {@link resolvePropertyStates}.
|
|
31
|
-
*
|
|
32
|
-
* Why each entry is (0,1,0):
|
|
33
|
-
*
|
|
34
|
-
* - `:hover` / `:active` / `:focus*` / `:visited` are single pseudo-classes,
|
|
35
|
-
* each (0,1,0).
|
|
36
|
-
* - `:hover` and `:active` carry a `:where(:not(...))` blocker so the rule
|
|
37
|
-
* doesn't match when the element is also active/disabled. The outer
|
|
38
|
-
* `:where()` zeros the `:not(...)` contribution, leaving the bare pseudo-
|
|
39
|
-
* class's (0,1,0) as the only contributor.
|
|
40
|
-
* - `:is(:disabled, :has(:disabled))` takes the max specificity of its
|
|
41
|
-
* args; both are (0,1,0), so the whole is (0,1,0).
|
|
42
|
-
* - `:has(...)` selectors take the specificity of their arg's most specific
|
|
43
|
-
* complex selector. Arguments are pseudo-classes or attribute selectors at
|
|
44
|
-
* (0,1,0); where a form-control scope is also needed (e.g. `readonly` —
|
|
45
|
-
* non-form-control elements default to `:read-only` per spec, so a bare
|
|
46
|
-
* `:has(:read-only)` matches any container with DIV/SPAN children), the
|
|
47
|
-
* scope goes inside `:where(...)` so its (0,0,1) type-selector contribution
|
|
48
|
-
* is zeroed.
|
|
49
|
-
*
|
|
50
|
-
* **Consumer override ergonomics:** a plain `.my-input:hover` is (0,2,0),
|
|
51
|
-
* which ties library 1-atom rules at (0,2,0); source order decides. To
|
|
52
|
-
* unconditionally beat the library, consumers need (0,3,0) (e.g.
|
|
53
|
-
* `.scope .my-input:hover` or `.my-input.my-input:hover`).
|
|
54
|
-
*/
|
|
55
13
|
/**
|
|
56
14
|
* Returns the CSS pseudo-selector string for a state key.
|
|
57
15
|
*
|
|
@@ -75,6 +33,6 @@ declare function getStateSelector(stateKey: string): string;
|
|
|
75
33
|
* - Atomic keys return their entry from {@link ATOMIC_DOCS_CLASSES}.
|
|
76
34
|
* - Compound keys join atomic docs classes with `'-and-'`.
|
|
77
35
|
*/
|
|
78
|
-
declare function getStateDocsClass(stateKey: string): string;
|
|
36
|
+
declare function getStateDocsClass(stateKey: string): string;
|
|
79
37
|
//#endregion
|
|
80
38
|
export { getStateDocsClass, getStateSelector, isKnownStateAtom };
|
|
@@ -3,7 +3,7 @@ import { isAtomicState } from "../types/StateAxis.js";
|
|
|
3
3
|
import { splitStateKey } from "./canonicalizeStateKey.js";
|
|
4
4
|
//#region ../automated-config/dist/utils/pseudoStateSelectors.js
|
|
5
5
|
/*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
|
|
6
|
-
const LEGACY_STATE_ATOMS = new Set([
|
|
6
|
+
const LEGACY_STATE_ATOMS = /* @__PURE__ */ new Set([
|
|
7
7
|
"disabled",
|
|
8
8
|
"focused",
|
|
9
9
|
"focused-keyboard",
|
|
@@ -120,4 +120,4 @@ function getStateDocsClass(stateKey) {
|
|
|
120
120
|
return parts.join("-and-");
|
|
121
121
|
}
|
|
122
122
|
//#endregion
|
|
123
|
-
export { getStateDocsClass, getStateSelector, isKnownStateAtom };
|
|
123
|
+
export { ATOMIC_DOCS_CLASSES, ATOMIC_SELECTORS, getStateDocsClass, getStateSelector, isKnownStateAtom };
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
import { ConfigurablePropertiesName, SelectedConfigurableProperty } from "../properties.cjs";
|
|
3
3
|
import { LayerConfig, PossibleStatesWithRest } from "../types/ComponentConfig.cjs";
|
|
4
|
-
|
|
5
4
|
//#region ../automated-config/dist/utils/resolvePropertyStates.d.ts
|
|
6
5
|
//#region src/utils/resolvePropertyStates.d.ts
|
|
7
6
|
type AnyProperty = SelectedConfigurableProperty<ConfigurablePropertiesName, string>;
|
|
8
|
-
/**
|
|
9
|
-
* Yields every modifier subset of size 1..maxSize, preserving input order
|
|
10
|
-
* within each subset. Used by both the resolver and the docs-class
|
|
11
|
-
* enumeration so the depth they support stays in lock-step.
|
|
12
|
-
*
|
|
13
|
-
* Generic over the element type so callers passing `ModifierAtomic[]` get
|
|
14
|
-
* `Generator<readonly ModifierAtomic[]>` back — keeps the inferred type chain
|
|
15
|
-
* tight enough for downstream consumers to avoid widening to `string`.
|
|
16
|
-
*/
|
|
17
7
|
/**
|
|
18
8
|
* Returns all canonical state keys a property reacts to, in cascade order:
|
|
19
9
|
*
|
|
@@ -44,6 +34,6 @@ type AnyProperty = SelectedConfigurableProperty<ConfigurablePropertiesName, stri
|
|
|
44
34
|
*
|
|
45
35
|
* `'rest'` is always included unless the property has `skipRestState: true`.
|
|
46
36
|
*/
|
|
47
|
-
declare function resolvePropertyStates(layer: LayerConfig, property: AnyProperty): PossibleStatesWithRest[];
|
|
37
|
+
declare function resolvePropertyStates(layer: LayerConfig, property: AnyProperty): PossibleStatesWithRest[];
|
|
48
38
|
//#endregion
|
|
49
|
-
export { resolvePropertyStates };
|
|
39
|
+
export { type AnyProperty, resolvePropertyStates };
|
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
import { ConfigurablePropertiesName, SelectedConfigurableProperty } from "../properties.js";
|
|
3
3
|
import { LayerConfig, PossibleStatesWithRest } from "../types/ComponentConfig.js";
|
|
4
|
-
|
|
5
4
|
//#region ../automated-config/dist/utils/resolvePropertyStates.d.ts
|
|
6
5
|
//#region src/utils/resolvePropertyStates.d.ts
|
|
7
6
|
type AnyProperty = SelectedConfigurableProperty<ConfigurablePropertiesName, string>;
|
|
8
|
-
/**
|
|
9
|
-
* Yields every modifier subset of size 1..maxSize, preserving input order
|
|
10
|
-
* within each subset. Used by both the resolver and the docs-class
|
|
11
|
-
* enumeration so the depth they support stays in lock-step.
|
|
12
|
-
*
|
|
13
|
-
* Generic over the element type so callers passing `ModifierAtomic[]` get
|
|
14
|
-
* `Generator<readonly ModifierAtomic[]>` back — keeps the inferred type chain
|
|
15
|
-
* tight enough for downstream consumers to avoid widening to `string`.
|
|
16
|
-
*/
|
|
17
7
|
/**
|
|
18
8
|
* Returns all canonical state keys a property reacts to, in cascade order:
|
|
19
9
|
*
|
|
@@ -44,6 +34,6 @@ type AnyProperty = SelectedConfigurableProperty<ConfigurablePropertiesName, stri
|
|
|
44
34
|
*
|
|
45
35
|
* `'rest'` is always included unless the property has `skipRestState: true`.
|
|
46
36
|
*/
|
|
47
|
-
declare function resolvePropertyStates(layer: LayerConfig, property: AnyProperty): PossibleStatesWithRest[];
|
|
37
|
+
declare function resolvePropertyStates(layer: LayerConfig, property: AnyProperty): PossibleStatesWithRest[];
|
|
48
38
|
//#endregion
|
|
49
|
-
export { resolvePropertyStates };
|
|
39
|
+
export { type AnyProperty, resolvePropertyStates };
|