@yahoo/uds 3.100.0-beta.3 → 3.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +1 -2
- package/dist/automated-config/dist/generated/autoVariants.cjs +1 -10
- package/dist/automated-config/dist/generated/autoVariants.d.cts +0 -9
- package/dist/automated-config/dist/generated/autoVariants.d.ts +0 -9
- package/dist/automated-config/dist/generated/autoVariants.js +1 -10
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +1 -1640
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +189 -405
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +189 -405
- package/dist/automated-config/dist/generated/generatedConfigs.js +1 -1639
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +0 -94
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +1 -2
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +1 -2
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +0 -94
- package/dist/automated-config/dist/properties.cjs +89 -152
- package/dist/automated-config/dist/properties.d.cts +4 -25
- package/dist/automated-config/dist/properties.d.ts +4 -25
- package/dist/automated-config/dist/properties.js +90 -153
- package/dist/automated-config/dist/utils/buildConfigSchema.cjs +1 -5
- package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +1 -2
- package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +1 -2
- package/dist/automated-config/dist/utils/buildConfigSchema.js +1 -5
- package/dist/automated-config/dist/utils/coalesceConfigVariant.cjs +2 -4
- package/dist/automated-config/dist/utils/coalesceConfigVariant.js +1 -1
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/automated-config/dist/utils/index.cjs +4 -4
- package/dist/automated-config/dist/utils/index.d.cts +1 -6
- package/dist/automated-config/dist/utils/index.d.ts +1 -6
- package/dist/automated-config/dist/utils/index.js +4 -4
- package/dist/automated-config/dist/utils/mapValues.cjs +13 -0
- package/dist/automated-config/dist/utils/mapValues.js +12 -0
- package/dist/cli/commands/sync.cjs +2 -6
- package/dist/cli/commands/sync.js +2 -6
- package/dist/cli/dist/commands/editor-rules.cjs +1 -1
- package/dist/cli/dist/commands/editor-rules.js +1 -1
- package/dist/cli/dist/utils/rules/config.cjs +1 -1
- package/dist/cli/dist/utils/rules/config.js +1 -1
- package/dist/cli/runner.cjs +23 -3
- package/dist/cli/runner.js +22 -3
- package/dist/components/client/Button.js +2 -2
- package/dist/components/client/SpringMotionConfig.cjs +8 -8
- package/dist/components/client/SpringMotionConfig.js +1 -1
- package/dist/components/client/index.cjs +0 -8
- package/dist/components/client/index.d.cts +1 -7
- package/dist/components/client/index.d.ts +1 -7
- package/dist/components/client/index.js +1 -5
- package/dist/components/client/providers/UDSConfigProvider.cjs +2 -6
- package/dist/components/client/providers/UDSConfigProvider.d.cts +1 -2
- package/dist/components/client/providers/UDSConfigProvider.d.ts +1 -2
- package/dist/components/client/providers/UDSConfigProvider.js +2 -6
- package/dist/components/experimental/index.cjs +36 -0
- package/dist/components/experimental/index.js +32 -1
- package/dist/components/index.cjs +51 -8
- package/dist/components/index.d.cts +1 -6
- package/dist/components/index.d.ts +1 -6
- package/dist/components/index.js +46 -5
- package/dist/config/dist/index.cjs +1 -95
- package/dist/config/dist/index.d.cts +1 -139
- package/dist/config/dist/index.d.ts +1 -139
- package/dist/config/dist/index.js +1 -95
- package/dist/css-tokens/dist/index.cjs +9 -2
- package/dist/css-tokens/dist/index.d.cts +13 -4
- package/dist/css-tokens/dist/index.d.ts +13 -4
- package/dist/css-tokens/dist/index.js +9 -2
- package/dist/fixtures/dist/index.cjs +1 -27
- package/dist/fixtures/dist/index.d.cts +3 -17
- package/dist/fixtures/dist/index.d.ts +3 -17
- package/dist/fixtures/dist/index.js +2 -26
- package/dist/fixtures/index.cjs +1 -6
- package/dist/fixtures/index.d.cts +2 -4
- package/dist/fixtures/index.d.ts +2 -4
- package/dist/fixtures/index.js +2 -3
- package/dist/index.cjs +10 -25
- package/dist/index.d.cts +4 -11
- package/dist/index.d.ts +4 -11
- package/dist/index.js +11 -18
- package/dist/runtime/index.cjs +0 -2
- package/dist/runtime/index.d.cts +1 -2
- package/dist/runtime/index.d.ts +1 -2
- package/dist/runtime/index.js +1 -2
- package/dist/runtime/udsConfig.cjs +1 -3
- package/dist/runtime/udsConfig.d.cts +0 -2
- package/dist/runtime/udsConfig.d.ts +0 -2
- package/dist/runtime/udsConfig.js +1 -3
- package/dist/styles/styler.d.cts +38 -47
- package/dist/styles/styler.d.ts +38 -47
- package/dist/styles/variants.d.cts +0 -27
- package/dist/styles/variants.d.ts +0 -27
- package/dist/tailwind/dist/.prettierrc.cjs +13 -0
- package/dist/tailwind/dist/.prettierrc.js +12 -0
- package/dist/tailwind/dist/_virtual/_rolldown/runtime.cjs +11 -0
- package/dist/tailwind/dist/_virtual/_rolldown/runtime.js +12 -0
- package/dist/tailwind/dist/commands/generatePurgeCSSData.cjs +52 -0
- package/dist/tailwind/dist/commands/generatePurgeCSSData.d.ts +3 -0
- package/dist/tailwind/dist/commands/generatePurgeCSSData.js +50 -0
- package/dist/tailwind/dist/commands/purge.cjs +27 -0
- package/dist/tailwind/dist/commands/purge.d.ts +3 -0
- package/dist/tailwind/dist/commands/purge.js +27 -0
- package/dist/tailwind/dist/index.d.cts +3 -0
- package/dist/tailwind/dist/index.d.ts +5 -0
- package/dist/tailwind/dist/plugin.cjs +38 -0
- package/dist/tailwind/{tailwindPlugin.d.ts → dist/plugin.d.cts} +6 -5
- package/dist/tailwind/{tailwindPlugin.d.cts → dist/plugin.d.ts} +6 -5
- package/dist/tailwind/dist/plugin.js +37 -0
- package/dist/tailwind/dist/tailwind/base/addColorModeVars.cjs +21 -0
- package/dist/tailwind/{base → dist/tailwind/base}/addColorModeVars.js +4 -3
- package/dist/tailwind/{base → dist/tailwind/base}/addColorModeVarsV2.cjs +9 -10
- package/dist/tailwind/{base → dist/tailwind/base}/addColorModeVarsV2.js +4 -3
- package/dist/tailwind/dist/tailwind/base/addFontFaceDeclarations.cjs +12 -0
- package/dist/tailwind/{base → dist/tailwind/base}/addFontFaceDeclarations.js +2 -1
- package/dist/tailwind/dist/tailwind/base/addFontVars.cjs +11 -0
- package/dist/tailwind/{base → dist/tailwind/base}/addFontVars.js +2 -1
- package/dist/tailwind/dist/tailwind/base/addMotionVars.cjs +11 -0
- package/dist/tailwind/{base → dist/tailwind/base}/addMotionVars.js +2 -1
- package/dist/tailwind/{base → dist/tailwind/base}/addScaleModeVars.cjs +6 -6
- package/dist/tailwind/{base → dist/tailwind/base}/addScaleModeVars.js +4 -3
- package/dist/tailwind/{components → dist/tailwind/components}/getFocusRingStyles.cjs +3 -3
- package/dist/tailwind/{components → dist/tailwind/components}/getFocusRingStyles.js +3 -2
- package/dist/tailwind/dist/tailwind/components/getGroupedTextStyles.cjs +20 -0
- package/dist/tailwind/{components → dist/tailwind/components}/getGroupedTextStyles.js +4 -3
- package/dist/tailwind/{components → dist/tailwind/components}/getHitTargetStyles.cjs +2 -3
- package/dist/tailwind/{components → dist/tailwind/components}/getHitTargetStyles.js +3 -2
- package/dist/tailwind/{components → dist/tailwind/components}/getIconStyles.cjs +2 -2
- package/dist/tailwind/{components → dist/tailwind/components}/getIconStyles.js +2 -1
- package/dist/tailwind/{components → dist/tailwind/components}/getInputStyles.cjs +2 -2
- package/dist/tailwind/dist/tailwind/components/getInputStyles.d.cts +11 -0
- package/dist/tailwind/dist/tailwind/components/getInputStyles.d.ts +11 -0
- package/dist/tailwind/{components → dist/tailwind/components}/getInputStyles.js +2 -1
- package/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.cjs +72 -0
- package/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.d.cts +9 -0
- package/dist/tailwind/dist/tailwind/components/getResponsiveTextStyles.d.ts +9 -0
- package/dist/tailwind/{components → dist/tailwind/components}/getResponsiveTextStyles.js +5 -4
- package/dist/tailwind/{components → dist/tailwind/components}/types.d.cts +3 -4
- package/dist/tailwind/{components → dist/tailwind/components}/types.d.ts +3 -4
- package/dist/tailwind/{defaultTailwindThemeAsUdsConfig.cjs → dist/tailwind/defaultTailwindThemeAsUdsConfig.cjs} +2 -2
- package/dist/tailwind/{defaultTailwindThemeAsUdsConfig.d.cts → dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts} +3 -2
- package/dist/tailwind/{defaultTailwindThemeAsUdsConfig.d.ts → dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts} +3 -2
- package/dist/tailwind/{defaultTailwindThemeAsUdsConfig.js → dist/tailwind/defaultTailwindThemeAsUdsConfig.js} +2 -1
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/a11y.cjs +7 -7
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/a11y.js +2 -1
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/borderRadius.cjs +10 -12
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/borderRadius.js +6 -5
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/borderWidth.cjs +10 -11
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/borderWidth.js +6 -5
- package/dist/tailwind/dist/tailwind/plugins/breakpoints.cjs +35 -0
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/breakpoints.js +5 -4
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/colors.cjs +19 -20
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/colors.js +8 -7
- package/dist/tailwind/dist/tailwind/plugins/components.cjs +31 -0
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/components.js +5 -5
- package/dist/tailwind/dist/tailwind/plugins/elevation.cjs +38 -0
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/elevation.js +5 -4
- package/dist/tailwind/{utils → dist/tailwind/plugins}/getTailwindAsUdsColors.cjs +11 -11
- package/dist/tailwind/{utils → dist/tailwind/plugins}/getTailwindAsUdsColors.js +4 -3
- package/dist/tailwind/dist/tailwind/plugins/icons.cjs +14 -0
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/icons.js +2 -1
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/input.cjs +5 -5
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/input.js +2 -1
- package/dist/tailwind/dist/tailwind/plugins/motion.cjs +15 -0
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/motion.js +2 -1
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/nestedBorderRadius.cjs +9 -9
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/nestedBorderRadius.js +2 -1
- package/dist/tailwind/dist/tailwind/plugins/scaleMode.cjs +18 -0
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/scaleMode.js +3 -2
- package/dist/tailwind/dist/tailwind/plugins/shadows.cjs +46 -0
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/shadows.js +3 -2
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/sizing.cjs +6 -6
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/sizing.js +4 -3
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/spacing.cjs +3 -3
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/spacing.js +2 -1
- package/dist/tailwind/dist/tailwind/plugins/typography.cjs +86 -0
- package/dist/tailwind/{plugins → dist/tailwind/plugins}/typography.js +21 -7
- package/dist/tailwind/dist/tailwind/theme/getFontFamilyTheme.cjs +24 -0
- package/dist/tailwind/{theme → dist/tailwind/theme}/getFontFamilyTheme.js +4 -3
- package/dist/tailwind/dist/tailwind/utils/addFontsPlugin.cjs +16 -0
- package/dist/tailwind/{utils → dist/tailwind/utils}/addFontsPlugin.d.cts +3 -3
- package/dist/tailwind/{utils → dist/tailwind/utils}/addFontsPlugin.d.ts +3 -3
- package/dist/tailwind/{utils → dist/tailwind/utils}/addFontsPlugin.js +2 -1
- package/dist/tailwind/{utils → dist/tailwind/utils}/composeTailwindPlugins.cjs +10 -17
- package/dist/tailwind/{utils → dist/tailwind/utils}/composeTailwindPlugins.d.cts +4 -16
- package/dist/tailwind/{utils → dist/tailwind/utils}/composeTailwindPlugins.d.ts +4 -15
- package/dist/tailwind/{utils → dist/tailwind/utils}/composeTailwindPlugins.js +2 -1
- package/dist/tailwind/{utils → dist/tailwind/utils}/flattenColorPalette.cjs +2 -2
- package/dist/tailwind/{utils → dist/tailwind/utils}/flattenColorPalette.js +2 -1
- package/dist/tailwind/{utils → dist/tailwind/utils}/getColorModeStyles.cjs +2 -2
- package/dist/tailwind/{utils → dist/tailwind/utils}/getColorModeStyles.d.cts +3 -2
- package/dist/tailwind/{utils → dist/tailwind/utils}/getColorModeStyles.d.ts +3 -2
- package/dist/tailwind/{utils → dist/tailwind/utils}/getColorModeStyles.js +2 -1
- package/dist/tailwind/dist/tailwind/utils/getElevationStyles.cjs +33 -0
- package/dist/tailwind/{utils → dist/tailwind/utils}/getElevationStyles.d.cts +3 -3
- package/dist/tailwind/{utils → dist/tailwind/utils}/getElevationStyles.d.ts +3 -3
- package/dist/tailwind/{utils → dist/tailwind/utils}/getElevationStyles.js +5 -4
- package/dist/tailwind/{utils → dist/tailwind/utils}/getFontFaceDeclarations.cjs +3 -3
- package/dist/tailwind/{utils → dist/tailwind/utils}/getFontFaceDeclarations.d.cts +3 -3
- package/dist/tailwind/{utils → dist/tailwind/utils}/getFontFaceDeclarations.d.ts +3 -3
- package/dist/tailwind/{utils → dist/tailwind/utils}/getFontFaceDeclarations.js +3 -2
- package/dist/tailwind/{utils → dist/tailwind/utils}/getFontStyles.cjs +7 -7
- package/dist/tailwind/{utils → dist/tailwind/utils}/getFontStyles.d.cts +3 -3
- package/dist/tailwind/{utils → dist/tailwind/utils}/getFontStyles.d.ts +3 -3
- package/dist/tailwind/{utils → dist/tailwind/utils}/getFontStyles.js +6 -5
- package/dist/tailwind/dist/tailwind/utils/getMotionStyles.cjs +38 -0
- package/dist/tailwind/{utils → dist/tailwind/utils}/getMotionStyles.d.cts +3 -3
- package/dist/tailwind/{utils → dist/tailwind/utils}/getMotionStyles.d.ts +3 -3
- package/dist/tailwind/{utils → dist/tailwind/utils}/getMotionStyles.js +6 -5
- package/dist/tailwind/{utils → dist/tailwind/utils}/getNestedBorderRadiusUtilities.cjs +2 -2
- package/dist/tailwind/{utils → dist/tailwind/utils}/getNestedBorderRadiusUtilities.js +2 -1
- package/dist/tailwind/{utils → dist/tailwind/utils}/getScaleModeStyles.cjs +2 -2
- package/dist/tailwind/{utils → dist/tailwind/utils}/getScaleModeStyles.d.cts +3 -2
- package/dist/tailwind/{utils → dist/tailwind/utils}/getScaleModeStyles.d.ts +3 -2
- package/dist/tailwind/{utils → dist/tailwind/utils}/getScaleModeStyles.js +2 -1
- package/dist/tailwind/{utils → dist/tailwind/utils}/getShadowPresetValues.cjs +5 -5
- package/dist/tailwind/{utils → dist/tailwind/utils}/getShadowPresetValues.d.cts +4 -4
- package/dist/tailwind/{utils → dist/tailwind/utils}/getShadowPresetValues.d.ts +4 -4
- package/dist/tailwind/{utils → dist/tailwind/utils}/getShadowPresetValues.js +4 -3
- package/dist/tailwind/{utils → dist/tailwind/utils}/getShadowStyles.cjs +6 -6
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.cts +22 -0
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.ts +22 -0
- package/dist/tailwind/{utils → dist/tailwind/utils}/getShadowStyles.js +5 -4
- package/dist/tailwind/dist/utils/assertUnreachable.cjs +10 -0
- package/dist/tailwind/dist/utils/assertUnreachable.js +9 -0
- package/dist/tailwind/dist/utils/entries.cjs +10 -0
- package/dist/tailwind/dist/utils/entries.js +9 -0
- package/dist/tailwind/dist/utils/fromEntries.cjs +18 -0
- package/dist/tailwind/dist/utils/fromEntries.js +17 -0
- package/dist/tailwind/dist/utils/generatePurgeCSSData.cjs +190 -0
- package/dist/tailwind/dist/utils/generatePurgeCSSData.js +181 -0
- package/dist/tailwind/dist/utils/mapValues.cjs +13 -0
- package/dist/tailwind/dist/utils/mapValues.js +12 -0
- package/dist/{tokens → tailwind/dist}/utils/opacity.cjs +5 -6
- package/dist/{tokens → tailwind/dist}/utils/opacity.js +2 -1
- package/dist/tailwind/dist/utils/parseTokens.cjs +136 -0
- package/dist/tailwind/dist/utils/parseTokens.d.cts +32 -0
- package/dist/tailwind/dist/utils/parseTokens.d.ts +32 -0
- package/dist/tailwind/dist/utils/parseTokens.js +136 -0
- package/dist/{cli/commands → tailwind/dist}/utils/purgeCSS.cjs +35 -46
- package/dist/tailwind/dist/utils/purgeCSS.d.ts +2 -0
- package/dist/{cli/commands → tailwind/dist}/utils/purgeCSS.js +26 -26
- package/dist/{uds/scripts → tailwind/dist}/utils/tsMorph.cjs +11 -27
- package/dist/{uds/scripts → tailwind/dist}/utils/tsMorph.js +4 -12
- package/dist/tailwind/dist/utils.d.cts +11 -0
- package/dist/tailwind/dist/utils.d.ts +11 -0
- package/dist/tailwind/plugin.cjs +10 -0
- package/dist/tailwind/plugin.d.cts +5 -0
- package/dist/tailwind/plugin.d.ts +5 -0
- package/dist/tailwind/plugin.js +6 -0
- package/dist/tailwind/{purger/index.cjs → purger.cjs} +1 -1
- package/dist/tailwind/{purger/index.d.ts → purger.d.cts} +1 -1
- package/dist/tailwind/{purger/index.d.cts → purger.d.ts} +1 -1
- package/dist/tailwind/{purger/index.js → purger.js} +1 -1
- package/dist/tailwind/utils.cjs +25 -0
- package/dist/tailwind/utils.d.cts +13 -0
- package/dist/tailwind/utils.d.ts +13 -0
- package/dist/tailwind/utils.js +13 -0
- package/dist/tokens/automation/configs/index.cjs +1 -2
- package/dist/tokens/automation/configs/index.d.cts +2 -2
- package/dist/tokens/automation/configs/index.d.ts +2 -2
- package/dist/tokens/automation/configs/index.js +2 -2
- package/dist/tokens/automation/index.cjs +0 -1
- package/dist/tokens/automation/index.d.cts +2 -2
- package/dist/tokens/automation/index.d.ts +2 -2
- package/dist/tokens/automation/index.js +2 -2
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/configs/typography.cjs +0 -15
- package/dist/tokens/configs/typography.d.cts +2 -6
- package/dist/tokens/configs/typography.d.ts +2 -6
- package/dist/tokens/configs/typography.js +1 -15
- package/dist/tokens/consts/cssTokens.cjs +1 -1
- package/dist/tokens/consts/cssTokens.d.cts +2 -2
- package/dist/tokens/consts/cssTokens.d.ts +2 -2
- package/dist/tokens/consts/cssTokens.js +2 -2
- package/dist/tokens/index.cjs +2 -7
- package/dist/tokens/index.d.cts +4 -6
- package/dist/tokens/index.d.ts +4 -6
- package/dist/tokens/index.js +4 -6
- package/dist/tokens/parseTokens.cjs +2 -133
- package/dist/tokens/parseTokens.d.cts +2 -30
- package/dist/tokens/parseTokens.d.ts +2 -30
- package/dist/tokens/parseTokens.js +1 -132
- package/dist/tokens/types.d.cts +2 -2
- package/dist/tokens/types.d.ts +2 -2
- package/dist/types/dist/index.d.cts +2 -25
- package/dist/types/dist/index.d.ts +2 -25
- package/dist/uds/generated/tailwindPurge.cjs +2 -31
- package/dist/uds/generated/tailwindPurge.js +2 -31
- package/dist/uds/package.cjs +284 -0
- package/dist/uds/package.js +278 -0
- package/dist/utils/fromEntries.cjs +18 -0
- package/dist/utils/fromEntries.d.cts +13 -0
- package/dist/utils/fromEntries.d.ts +13 -0
- package/dist/utils/fromEntries.js +16 -0
- package/package.json +15 -28
- package/dist/cli/commands/purge.cjs +0 -26
- package/dist/cli/commands/purge.d.cts +0 -15
- package/dist/cli/commands/purge.d.ts +0 -15
- package/dist/cli/commands/purge.js +0 -25
- package/dist/cli/commands/utils/purgeCSS.d.cts +0 -59
- package/dist/cli/commands/utils/purgeCSS.d.ts +0 -59
- package/dist/components/client/Tooltip/Tooltip.cjs +0 -37
- package/dist/components/client/Tooltip/Tooltip.d.cts +0 -16
- package/dist/components/client/Tooltip/Tooltip.d.ts +0 -16
- package/dist/components/client/Tooltip/Tooltip.js +0 -35
- package/dist/components/client/Tooltip/TooltipContent.cjs +0 -173
- package/dist/components/client/Tooltip/TooltipContent.d.cts +0 -8
- package/dist/components/client/Tooltip/TooltipContent.d.ts +0 -8
- package/dist/components/client/Tooltip/TooltipContent.js +0 -171
- package/dist/components/client/Tooltip/TooltipTrigger.cjs +0 -20
- package/dist/components/client/Tooltip/TooltipTrigger.d.cts +0 -13
- package/dist/components/client/Tooltip/TooltipTrigger.d.ts +0 -13
- package/dist/components/client/Tooltip/TooltipTrigger.js +0 -18
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.cjs +0 -41
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.cts +0 -29
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.ts +0 -29
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.js +0 -38
- package/dist/components/client/Tooltip/index.cjs +0 -12
- package/dist/components/client/Tooltip/index.d.cts +0 -7
- package/dist/components/client/Tooltip/index.d.ts +0 -7
- package/dist/components/client/Tooltip/index.js +0 -8
- package/dist/components/client/Tooltip/tooltipContext.cjs +0 -12
- package/dist/components/client/Tooltip/tooltipContext.d.cts +0 -12
- package/dist/components/client/Tooltip/tooltipContext.d.ts +0 -12
- package/dist/components/client/Tooltip/tooltipContext.js +0 -10
- package/dist/components/client/Tooltip/useTooltipContent.cjs +0 -186
- package/dist/components/client/Tooltip/useTooltipContent.d.cts +0 -63
- package/dist/components/client/Tooltip/useTooltipContent.d.ts +0 -63
- package/dist/components/client/Tooltip/useTooltipContent.js +0 -184
- package/dist/components/client/Tooltip/util.cjs +0 -248
- package/dist/components/client/Tooltip/util.d.cts +0 -118
- package/dist/components/client/Tooltip/util.d.ts +0 -118
- package/dist/components/client/Tooltip/util.js +0 -240
- package/dist/fixtures/dist/arbitrary.d.cts +0 -11
- package/dist/fixtures/dist/arbitrary.d.ts +0 -11
- package/dist/fixtures/src/arbitrary.cjs +0 -23
- package/dist/fixtures/src/arbitrary.d.cts +0 -15
- package/dist/fixtures/src/arbitrary.d.ts +0 -15
- package/dist/fixtures/src/arbitrary.js +0 -18
- package/dist/fixtures/src/util.cjs +0 -26
- package/dist/fixtures/src/util.d.cts +0 -9
- package/dist/fixtures/src/util.d.ts +0 -9
- package/dist/fixtures/src/util.js +0 -25
- package/dist/runtime/tooltipConfig.cjs +0 -32
- package/dist/runtime/tooltipConfig.d.cts +0 -19
- package/dist/runtime/tooltipConfig.d.ts +0 -19
- package/dist/runtime/tooltipConfig.js +0 -31
- package/dist/tailwind/base/addColorModeVars.cjs +0 -22
- package/dist/tailwind/base/addColorModeVars.d.cts +0 -11
- package/dist/tailwind/base/addColorModeVars.d.ts +0 -11
- package/dist/tailwind/base/addColorModeVarsV2.d.cts +0 -11
- package/dist/tailwind/base/addColorModeVarsV2.d.ts +0 -11
- package/dist/tailwind/base/addFontFaceDeclarations.cjs +0 -12
- package/dist/tailwind/base/addFontFaceDeclarations.d.cts +0 -11
- package/dist/tailwind/base/addFontFaceDeclarations.d.ts +0 -11
- package/dist/tailwind/base/addFontVars.cjs +0 -11
- package/dist/tailwind/base/addFontVars.d.cts +0 -11
- package/dist/tailwind/base/addFontVars.d.ts +0 -11
- package/dist/tailwind/base/addMotionVars.cjs +0 -11
- package/dist/tailwind/base/addMotionVars.d.cts +0 -11
- package/dist/tailwind/base/addMotionVars.d.ts +0 -11
- package/dist/tailwind/base/addScaleModeVars.d.cts +0 -10
- package/dist/tailwind/base/addScaleModeVars.d.ts +0 -10
- package/dist/tailwind/components/getFocusRingStyles.d.cts +0 -14
- package/dist/tailwind/components/getFocusRingStyles.d.ts +0 -14
- package/dist/tailwind/components/getGroupedTextStyles.cjs +0 -21
- package/dist/tailwind/components/getGroupedTextStyles.d.cts +0 -26
- package/dist/tailwind/components/getGroupedTextStyles.d.ts +0 -26
- package/dist/tailwind/components/getHitTargetStyles.d.cts +0 -8
- package/dist/tailwind/components/getHitTargetStyles.d.ts +0 -8
- package/dist/tailwind/components/getIconStyles.d.cts +0 -10
- package/dist/tailwind/components/getIconStyles.d.ts +0 -10
- package/dist/tailwind/components/getInputStyles.d.cts +0 -10
- package/dist/tailwind/components/getInputStyles.d.ts +0 -10
- package/dist/tailwind/components/getResponsiveTextStyles.cjs +0 -74
- package/dist/tailwind/components/getResponsiveTextStyles.d.cts +0 -39
- package/dist/tailwind/components/getResponsiveTextStyles.d.ts +0 -39
- package/dist/tailwind/components/types.cjs +0 -1
- package/dist/tailwind/components/types.js +0 -1
- package/dist/tailwind/plugins/a11y.d.cts +0 -14
- package/dist/tailwind/plugins/a11y.d.ts +0 -14
- package/dist/tailwind/plugins/blurBgFallback.cjs +0 -30
- package/dist/tailwind/plugins/blurBgFallback.d.cts +0 -14
- package/dist/tailwind/plugins/blurBgFallback.d.ts +0 -14
- package/dist/tailwind/plugins/blurBgFallback.js +0 -27
- package/dist/tailwind/plugins/borderRadius.d.cts +0 -28
- package/dist/tailwind/plugins/borderRadius.d.ts +0 -28
- package/dist/tailwind/plugins/borderWidth.d.cts +0 -16
- package/dist/tailwind/plugins/borderWidth.d.ts +0 -16
- package/dist/tailwind/plugins/breakpoints.cjs +0 -37
- package/dist/tailwind/plugins/breakpoints.d.cts +0 -42
- package/dist/tailwind/plugins/breakpoints.d.ts +0 -42
- package/dist/tailwind/plugins/colors.d.cts +0 -14
- package/dist/tailwind/plugins/colors.d.ts +0 -14
- package/dist/tailwind/plugins/components.cjs +0 -32
- package/dist/tailwind/plugins/components.d.cts +0 -14
- package/dist/tailwind/plugins/components.d.ts +0 -14
- package/dist/tailwind/plugins/elevation.cjs +0 -38
- package/dist/tailwind/plugins/elevation.d.cts +0 -14
- package/dist/tailwind/plugins/elevation.d.ts +0 -14
- package/dist/tailwind/plugins/icons.cjs +0 -14
- package/dist/tailwind/plugins/icons.d.cts +0 -14
- package/dist/tailwind/plugins/icons.d.ts +0 -14
- package/dist/tailwind/plugins/input.d.cts +0 -17
- package/dist/tailwind/plugins/input.d.ts +0 -17
- package/dist/tailwind/plugins/motion.cjs +0 -15
- package/dist/tailwind/plugins/motion.d.cts +0 -14
- package/dist/tailwind/plugins/motion.d.ts +0 -14
- package/dist/tailwind/plugins/nestedBorderRadius.d.cts +0 -14
- package/dist/tailwind/plugins/nestedBorderRadius.d.ts +0 -14
- package/dist/tailwind/plugins/scaleMode.cjs +0 -18
- package/dist/tailwind/plugins/scaleMode.d.cts +0 -17
- package/dist/tailwind/plugins/scaleMode.d.ts +0 -17
- package/dist/tailwind/plugins/shadows.cjs +0 -46
- package/dist/tailwind/plugins/shadows.d.cts +0 -14
- package/dist/tailwind/plugins/shadows.d.ts +0 -14
- package/dist/tailwind/plugins/sizing.d.cts +0 -17
- package/dist/tailwind/plugins/sizing.d.ts +0 -17
- package/dist/tailwind/plugins/spacing.d.cts +0 -14
- package/dist/tailwind/plugins/spacing.d.ts +0 -14
- package/dist/tailwind/plugins/typography.cjs +0 -73
- package/dist/tailwind/plugins/typography.d.cts +0 -14
- package/dist/tailwind/plugins/typography.d.ts +0 -14
- package/dist/tailwind/postcss.config.cjs +0 -9
- package/dist/tailwind/postcss.config.d.cts +0 -2
- package/dist/tailwind/postcss.config.d.ts +0 -2
- package/dist/tailwind/postcss.config.js +0 -13
- package/dist/tailwind/tailwind.config.cjs +0 -30
- package/dist/tailwind/tailwind.config.d.cts +0 -19
- package/dist/tailwind/tailwind.config.d.ts +0 -20
- package/dist/tailwind/tailwind.config.js +0 -30
- package/dist/tailwind/tailwindPlugin.cjs +0 -40
- package/dist/tailwind/tailwindPlugin.js +0 -37
- package/dist/tailwind/theme/getFontFamilyTheme.cjs +0 -25
- package/dist/tailwind/theme/getFontFamilyTheme.d.cts +0 -7
- package/dist/tailwind/theme/getFontFamilyTheme.d.ts +0 -7
- package/dist/tailwind/tsMorph.cjs +0 -12
- package/dist/tailwind/tsMorph.d.cts +0 -3
- package/dist/tailwind/tsMorph.d.ts +0 -3
- package/dist/tailwind/tsMorph.js +0 -4
- package/dist/tailwind/utils/addFontsPlugin.cjs +0 -16
- package/dist/tailwind/utils/flattenColorPalette.d.cts +0 -5
- package/dist/tailwind/utils/flattenColorPalette.d.ts +0 -5
- package/dist/tailwind/utils/getElevationStyles.cjs +0 -33
- package/dist/tailwind/utils/getMotionStyles.cjs +0 -39
- package/dist/tailwind/utils/getNestedBorderRadiusUtilities.d.cts +0 -27
- package/dist/tailwind/utils/getNestedBorderRadiusUtilities.d.ts +0 -27
- package/dist/tailwind/utils/getShadowStyles.d.cts +0 -22
- package/dist/tailwind/utils/getShadowStyles.d.ts +0 -22
- package/dist/tailwind/utils/getShadowVars.cjs +0 -27
- package/dist/tailwind/utils/getShadowVars.d.cts +0 -8
- package/dist/tailwind/utils/getShadowVars.d.ts +0 -8
- package/dist/tailwind/utils/getShadowVars.js +0 -26
- package/dist/tailwind/utils/getTailwindAsUdsColors.d.cts +0 -9
- package/dist/tailwind/utils/getTailwindAsUdsColors.d.ts +0 -9
- package/dist/tailwind/utils/index.cjs +0 -25
- package/dist/tailwind/utils/index.d.cts +0 -12
- package/dist/tailwind/utils/index.d.ts +0 -12
- package/dist/tailwind/utils/index.js +0 -13
- package/dist/tokens/utils/opacity.d.cts +0 -20
- package/dist/tokens/utils/opacity.d.ts +0 -20
- package/dist/uds/scripts/utils/tsMorph.d.cts +0 -33
- package/dist/uds/scripts/utils/tsMorph.d.ts +0 -33
- package/dist/utils/getMotionVar.cjs +0 -16
- package/dist/utils/getMotionVar.d.cts +0 -17
- package/dist/utils/getMotionVar.d.ts +0 -17
- package/dist/utils/getMotionVar.js +0 -15
|
@@ -1,136 +1,5 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
3
|
-
const
|
|
4
|
-
const require_index$1 = require('../css-tokens/dist/index.cjs');
|
|
5
|
-
const require_tokens_utils_entries = require('./utils/entries.cjs');
|
|
6
|
-
const require_tokens_utils_mapValues = require('./utils/mapValues.cjs');
|
|
7
|
-
const require_tokens_utils_opacity = require('./utils/opacity.cjs');
|
|
3
|
+
const require_parseTokens = require('../tailwind/dist/utils/parseTokens.cjs');
|
|
8
4
|
|
|
9
|
-
|
|
10
|
-
function shouldIncludeOpacity(opacity) {
|
|
11
|
-
if (!opacity) return false;
|
|
12
|
-
const parsedOpacity = parseInt(opacity, 10);
|
|
13
|
-
return !isNaN(parsedOpacity) && parsedOpacity !== 100;
|
|
14
|
-
}
|
|
15
|
-
function transformColors(colors, elevationPresets) {
|
|
16
|
-
const { palette, spectrum } = colors;
|
|
17
|
-
const rootVars = {};
|
|
18
|
-
const tailwindConfig = {
|
|
19
|
-
spectrum: {},
|
|
20
|
-
palette: {}
|
|
21
|
-
};
|
|
22
|
-
for (const [hue, hueSteps] of require_tokens_utils_entries.entries(spectrum)) for (const [hueStep, value] of require_tokens_utils_entries.entries(hueSteps)) {
|
|
23
|
-
const varKey = `--${require_index$1.SPECTRUM_COLOR_PREFIX}-${`${hue}-${hueStep}`}`;
|
|
24
|
-
if (!tailwindConfig.spectrum[hue]) tailwindConfig.spectrum[hue] = {};
|
|
25
|
-
tailwindConfig.spectrum[hue][hueStep] = `rgb(var(${varKey}))`;
|
|
26
|
-
rootVars[varKey] = value;
|
|
27
|
-
}
|
|
28
|
-
require_tokens_utils_entries.entries(palette).forEach(([paletteType, paletteConfig]) => {
|
|
29
|
-
for (const [paletteKey, { hue, step, opacity }] of Object.entries(paletteConfig)) {
|
|
30
|
-
if (!(paletteType in tailwindConfig.palette)) tailwindConfig.palette[paletteType] = {};
|
|
31
|
-
const name = `--${require_index$1.UDS_PREFIX}-${paletteType}-color-${paletteKey}`;
|
|
32
|
-
rootVars[name] = `var(--${require_index$1.SPECTRUM_COLOR_PREFIX}-${hue}-${step})`;
|
|
33
|
-
const opacityValue = opacity !== void 0 ? require_tokens_utils_opacity.parseOpacityStep(opacity) : void 0;
|
|
34
|
-
tailwindConfig.palette[paletteType][paletteKey] = shouldIncludeOpacity(opacityValue) ? `rgb(var(${name}) / ${opacityValue}%)` : `rgb(var(${name}))`;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
require_tokens_utils_entries.entries(elevationPresets).forEach(([level, elevationPreset]) => {
|
|
38
|
-
if (elevationPreset) require_tokens_utils_entries.entries(elevationPreset).forEach(([key]) => {
|
|
39
|
-
if (key === "finalBackgroundValue") {
|
|
40
|
-
const { r, g, b, a } = elevationPreset[key];
|
|
41
|
-
const alpha = parseInt(a) / 100;
|
|
42
|
-
const name = `--${require_index$1.BACKGROUND_COLOR_PREFIX}-elevation-${level}`;
|
|
43
|
-
rootVars[name] = `rgba(${r}, ${g}, ${b}, ${alpha})`;
|
|
44
|
-
}
|
|
45
|
-
if (key === "borderColor") {
|
|
46
|
-
const name = `--${require_index$1.LINE_COLOR_PREFIX}-elevation-${level}`;
|
|
47
|
-
switch (elevationPreset[key].type) {
|
|
48
|
-
case "always":
|
|
49
|
-
rootVars[name] = require_index.alwaysPalette[elevationPreset[key].value];
|
|
50
|
-
break;
|
|
51
|
-
case "spectrum":
|
|
52
|
-
rootVars[name] = `rgb(var(--${require_index$1.SPECTRUM_COLOR_PREFIX}-${elevationPreset[key].value.hue}-${elevationPreset[key].value.step}))`;
|
|
53
|
-
break;
|
|
54
|
-
case "line":
|
|
55
|
-
rootVars[name] = `rgb(var(--${require_index$1.LINE_COLOR_PREFIX}-${elevationPreset[key].value}))`;
|
|
56
|
-
break;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
if (key === "borderWidth") {
|
|
60
|
-
const name = `--${require_index$1.BORDER_WIDTH_PREFIX}-elevation-${level}`;
|
|
61
|
-
rootVars[name] = `var(--${require_index$1.BORDER_WIDTH_PREFIX}-${elevationPreset[key]})`;
|
|
62
|
-
}
|
|
63
|
-
if (key === "dropShadow") {
|
|
64
|
-
const name = `--${require_index$1.DROP_SHADOW_PREFIX}-elevation-${level}`;
|
|
65
|
-
const configValue = elevationPreset[key];
|
|
66
|
-
rootVars[name] = Array.isArray(configValue) ? configValue.map((preset, index) => require_index$1.getShadowLayerValue({
|
|
67
|
-
preset,
|
|
68
|
-
prefix: index > 0 ? `${index + 1}` : void 0,
|
|
69
|
-
shadowType: "drop"
|
|
70
|
-
})).join(", ") : `var(--${require_index$1.DROP_SHADOW_PREFIX}-${elevationPreset[key]})`;
|
|
71
|
-
}
|
|
72
|
-
if (key === "backgroundBlurRadius") {
|
|
73
|
-
const name = `--${require_index$1.BACKGROUND_BLUR_RADIUS_PREFIX}-elevation-${level}`;
|
|
74
|
-
rootVars[name] = `blur(${elevationPreset[key]}px)`;
|
|
75
|
-
}
|
|
76
|
-
if (key === "fallbackBlurredBackgroundValue") {
|
|
77
|
-
const { r, g, b } = elevationPreset[key];
|
|
78
|
-
const name = `--${require_index$1.BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX}-elevation-${level}`;
|
|
79
|
-
rootVars[name] = `rgb(${r}, ${g}, ${b})`;
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
});
|
|
83
|
-
return {
|
|
84
|
-
_vars: rootVars,
|
|
85
|
-
_raw: colors,
|
|
86
|
-
tailwindConfig
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
function transformNumericToPx(prefix, config) {
|
|
90
|
-
if (!config) return {
|
|
91
|
-
_vars: {},
|
|
92
|
-
_raw: {},
|
|
93
|
-
tailwindConfig: {}
|
|
94
|
-
};
|
|
95
|
-
const rootVars = {};
|
|
96
|
-
const tailwindConfig = {};
|
|
97
|
-
for (const [variant, value] of require_tokens_utils_entries.entries(config)) {
|
|
98
|
-
const rootVarKey = `--${prefix}-${variant}`;
|
|
99
|
-
rootVars[rootVarKey] = `${value}px`;
|
|
100
|
-
tailwindConfig[variant] = `var(${rootVarKey})`;
|
|
101
|
-
}
|
|
102
|
-
return {
|
|
103
|
-
_vars: rootVars,
|
|
104
|
-
_raw: config,
|
|
105
|
-
tailwindConfig
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
function getElevationPresetsForColorMode(colorMode, config) {
|
|
109
|
-
if (!config.elevation) return {};
|
|
110
|
-
const result = {};
|
|
111
|
-
require_tokens_utils_entries.entries(config.elevation).forEach(([level, levelPreset]) => {
|
|
112
|
-
result[level] = levelPreset[colorMode];
|
|
113
|
-
});
|
|
114
|
-
return result;
|
|
115
|
-
}
|
|
116
|
-
function parseTokens(config) {
|
|
117
|
-
const { colorMode, scaleMode } = config;
|
|
118
|
-
return {
|
|
119
|
-
...config,
|
|
120
|
-
colorMode: {
|
|
121
|
-
light: transformColors(colorMode.light, getElevationPresetsForColorMode("light", config)),
|
|
122
|
-
dark: transformColors(colorMode.dark, getElevationPresetsForColorMode("dark", config))
|
|
123
|
-
},
|
|
124
|
-
scaleMode: require_tokens_utils_mapValues.mapValues(scaleMode, ({ borderRadius, borderWidth, avatarSizes, iconSizes }) => {
|
|
125
|
-
return {
|
|
126
|
-
borderRadius: transformNumericToPx(require_index$1.BORDER_RADIUS_PREFIX, borderRadius),
|
|
127
|
-
borderWidth: transformNumericToPx(require_index$1.BORDER_WIDTH_PREFIX, borderWidth),
|
|
128
|
-
avatarSizes: transformNumericToPx(require_index$1.AVATAR_SIZE_PREFIX, avatarSizes),
|
|
129
|
-
iconSizes: transformNumericToPx(require_index$1.ICON_SIZE_PREFIX, iconSizes)
|
|
130
|
-
};
|
|
131
|
-
})
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
//#endregion
|
|
136
|
-
exports.parseTokens = parseTokens;
|
|
5
|
+
exports.parseTokens = require_parseTokens.parseTokens;
|
|
@@ -1,32 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import "./types.cjs";
|
|
5
|
-
|
|
6
|
-
//#region src/tokens/parseTokens.d.ts
|
|
7
|
-
type ColorModeElevationPresets = Partial<Record<ElevationLevel, ElevationPreset>>;
|
|
8
|
-
declare function transformColors(colors: ColorsConfig, elevationPresets: ColorModeElevationPresets): {
|
|
9
|
-
_vars: Record<string, string>;
|
|
10
|
-
_raw: ColorsConfig;
|
|
11
|
-
tailwindConfig: {
|
|
12
|
-
spectrum: Record<Hue, Record<HueStep, string>>;
|
|
13
|
-
palette: { [key in PaletteType]: Record<keyof PaletteConfig[key], string> };
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
declare function transformNumericToPx<T extends Record<string, number>>(prefix: string, config: T): {
|
|
17
|
-
_vars: Record<string, string>;
|
|
18
|
-
_raw: Record<string, number>;
|
|
19
|
-
tailwindConfig: Record<string, string>;
|
|
20
|
-
};
|
|
21
|
-
type WebTokens = Omit<UniversalTokensConfig, 'colorMode' | 'scaleMode' | 'fontFamily'> & {
|
|
22
|
-
colorMode: Record<ColorMode, ReturnType<typeof transformColors>>;
|
|
23
|
-
scaleMode: Record<ScaleMode, {
|
|
24
|
-
borderRadius: ReturnType<typeof transformNumericToPx>;
|
|
25
|
-
borderWidth: ReturnType<typeof transformNumericToPx>;
|
|
26
|
-
avatarSizes: ReturnType<typeof transformNumericToPx>;
|
|
27
|
-
iconSizes: ReturnType<typeof transformNumericToPx>;
|
|
28
|
-
}>;
|
|
29
|
-
};
|
|
30
|
-
declare function parseTokens(config: UniversalTokensConfig): WebTokens;
|
|
31
|
-
//#endregion
|
|
2
|
+
import { WebTokens, parseTokens } from "../tailwind/dist/utils/parseTokens.cjs";
|
|
3
|
+
import "../tailwind/dist/index.cjs";
|
|
32
4
|
export { type WebTokens, parseTokens };
|
|
@@ -1,32 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import "./types.js";
|
|
5
|
-
|
|
6
|
-
//#region src/tokens/parseTokens.d.ts
|
|
7
|
-
type ColorModeElevationPresets = Partial<Record<ElevationLevel, ElevationPreset>>;
|
|
8
|
-
declare function transformColors(colors: ColorsConfig, elevationPresets: ColorModeElevationPresets): {
|
|
9
|
-
_vars: Record<string, string>;
|
|
10
|
-
_raw: ColorsConfig;
|
|
11
|
-
tailwindConfig: {
|
|
12
|
-
spectrum: Record<Hue, Record<HueStep, string>>;
|
|
13
|
-
palette: { [key in PaletteType]: Record<keyof PaletteConfig[key], string> };
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
declare function transformNumericToPx<T extends Record<string, number>>(prefix: string, config: T): {
|
|
17
|
-
_vars: Record<string, string>;
|
|
18
|
-
_raw: Record<string, number>;
|
|
19
|
-
tailwindConfig: Record<string, string>;
|
|
20
|
-
};
|
|
21
|
-
type WebTokens = Omit<UniversalTokensConfig, 'colorMode' | 'scaleMode' | 'fontFamily'> & {
|
|
22
|
-
colorMode: Record<ColorMode, ReturnType<typeof transformColors>>;
|
|
23
|
-
scaleMode: Record<ScaleMode, {
|
|
24
|
-
borderRadius: ReturnType<typeof transformNumericToPx>;
|
|
25
|
-
borderWidth: ReturnType<typeof transformNumericToPx>;
|
|
26
|
-
avatarSizes: ReturnType<typeof transformNumericToPx>;
|
|
27
|
-
iconSizes: ReturnType<typeof transformNumericToPx>;
|
|
28
|
-
}>;
|
|
29
|
-
};
|
|
30
|
-
declare function parseTokens(config: UniversalTokensConfig): WebTokens;
|
|
31
|
-
//#endregion
|
|
2
|
+
import { WebTokens, parseTokens } from "../tailwind/dist/utils/parseTokens.js";
|
|
3
|
+
import "../tailwind/dist/index.js";
|
|
32
4
|
export { type WebTokens, parseTokens };
|
|
@@ -1,135 +1,4 @@
|
|
|
1
1
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
import {
|
|
3
|
-
import { AVATAR_SIZE_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, DROP_SHADOW_PREFIX, ICON_SIZE_PREFIX, LINE_COLOR_PREFIX, SPECTRUM_COLOR_PREFIX, UDS_PREFIX, getShadowLayerValue } from "../css-tokens/dist/index.js";
|
|
4
|
-
import { entries } from "./utils/entries.js";
|
|
5
|
-
import { mapValues } from "./utils/mapValues.js";
|
|
6
|
-
import { parseOpacityStep } from "./utils/opacity.js";
|
|
2
|
+
import { parseTokens } from "../tailwind/dist/utils/parseTokens.js";
|
|
7
3
|
|
|
8
|
-
//#region src/tokens/parseTokens.ts
|
|
9
|
-
function shouldIncludeOpacity(opacity) {
|
|
10
|
-
if (!opacity) return false;
|
|
11
|
-
const parsedOpacity = parseInt(opacity, 10);
|
|
12
|
-
return !isNaN(parsedOpacity) && parsedOpacity !== 100;
|
|
13
|
-
}
|
|
14
|
-
function transformColors(colors, elevationPresets) {
|
|
15
|
-
const { palette, spectrum } = colors;
|
|
16
|
-
const rootVars = {};
|
|
17
|
-
const tailwindConfig = {
|
|
18
|
-
spectrum: {},
|
|
19
|
-
palette: {}
|
|
20
|
-
};
|
|
21
|
-
for (const [hue, hueSteps] of entries(spectrum)) for (const [hueStep, value] of entries(hueSteps)) {
|
|
22
|
-
const varKey = `--${SPECTRUM_COLOR_PREFIX}-${`${hue}-${hueStep}`}`;
|
|
23
|
-
if (!tailwindConfig.spectrum[hue]) tailwindConfig.spectrum[hue] = {};
|
|
24
|
-
tailwindConfig.spectrum[hue][hueStep] = `rgb(var(${varKey}))`;
|
|
25
|
-
rootVars[varKey] = value;
|
|
26
|
-
}
|
|
27
|
-
entries(palette).forEach(([paletteType, paletteConfig]) => {
|
|
28
|
-
for (const [paletteKey, { hue, step, opacity }] of Object.entries(paletteConfig)) {
|
|
29
|
-
if (!(paletteType in tailwindConfig.palette)) tailwindConfig.palette[paletteType] = {};
|
|
30
|
-
const name = `--${UDS_PREFIX}-${paletteType}-color-${paletteKey}`;
|
|
31
|
-
rootVars[name] = `var(--${SPECTRUM_COLOR_PREFIX}-${hue}-${step})`;
|
|
32
|
-
const opacityValue = opacity !== void 0 ? parseOpacityStep(opacity) : void 0;
|
|
33
|
-
tailwindConfig.palette[paletteType][paletteKey] = shouldIncludeOpacity(opacityValue) ? `rgb(var(${name}) / ${opacityValue}%)` : `rgb(var(${name}))`;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
entries(elevationPresets).forEach(([level, elevationPreset]) => {
|
|
37
|
-
if (elevationPreset) entries(elevationPreset).forEach(([key]) => {
|
|
38
|
-
if (key === "finalBackgroundValue") {
|
|
39
|
-
const { r, g, b, a } = elevationPreset[key];
|
|
40
|
-
const alpha = parseInt(a) / 100;
|
|
41
|
-
const name = `--${BACKGROUND_COLOR_PREFIX}-elevation-${level}`;
|
|
42
|
-
rootVars[name] = `rgba(${r}, ${g}, ${b}, ${alpha})`;
|
|
43
|
-
}
|
|
44
|
-
if (key === "borderColor") {
|
|
45
|
-
const name = `--${LINE_COLOR_PREFIX}-elevation-${level}`;
|
|
46
|
-
switch (elevationPreset[key].type) {
|
|
47
|
-
case "always":
|
|
48
|
-
rootVars[name] = alwaysPalette[elevationPreset[key].value];
|
|
49
|
-
break;
|
|
50
|
-
case "spectrum":
|
|
51
|
-
rootVars[name] = `rgb(var(--${SPECTRUM_COLOR_PREFIX}-${elevationPreset[key].value.hue}-${elevationPreset[key].value.step}))`;
|
|
52
|
-
break;
|
|
53
|
-
case "line":
|
|
54
|
-
rootVars[name] = `rgb(var(--${LINE_COLOR_PREFIX}-${elevationPreset[key].value}))`;
|
|
55
|
-
break;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
if (key === "borderWidth") {
|
|
59
|
-
const name = `--${BORDER_WIDTH_PREFIX}-elevation-${level}`;
|
|
60
|
-
rootVars[name] = `var(--${BORDER_WIDTH_PREFIX}-${elevationPreset[key]})`;
|
|
61
|
-
}
|
|
62
|
-
if (key === "dropShadow") {
|
|
63
|
-
const name = `--${DROP_SHADOW_PREFIX}-elevation-${level}`;
|
|
64
|
-
const configValue = elevationPreset[key];
|
|
65
|
-
rootVars[name] = Array.isArray(configValue) ? configValue.map((preset, index) => getShadowLayerValue({
|
|
66
|
-
preset,
|
|
67
|
-
prefix: index > 0 ? `${index + 1}` : void 0,
|
|
68
|
-
shadowType: "drop"
|
|
69
|
-
})).join(", ") : `var(--${DROP_SHADOW_PREFIX}-${elevationPreset[key]})`;
|
|
70
|
-
}
|
|
71
|
-
if (key === "backgroundBlurRadius") {
|
|
72
|
-
const name = `--${BACKGROUND_BLUR_RADIUS_PREFIX}-elevation-${level}`;
|
|
73
|
-
rootVars[name] = `blur(${elevationPreset[key]}px)`;
|
|
74
|
-
}
|
|
75
|
-
if (key === "fallbackBlurredBackgroundValue") {
|
|
76
|
-
const { r, g, b } = elevationPreset[key];
|
|
77
|
-
const name = `--${BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX}-elevation-${level}`;
|
|
78
|
-
rootVars[name] = `rgb(${r}, ${g}, ${b})`;
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
});
|
|
82
|
-
return {
|
|
83
|
-
_vars: rootVars,
|
|
84
|
-
_raw: colors,
|
|
85
|
-
tailwindConfig
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
function transformNumericToPx(prefix, config) {
|
|
89
|
-
if (!config) return {
|
|
90
|
-
_vars: {},
|
|
91
|
-
_raw: {},
|
|
92
|
-
tailwindConfig: {}
|
|
93
|
-
};
|
|
94
|
-
const rootVars = {};
|
|
95
|
-
const tailwindConfig = {};
|
|
96
|
-
for (const [variant, value] of entries(config)) {
|
|
97
|
-
const rootVarKey = `--${prefix}-${variant}`;
|
|
98
|
-
rootVars[rootVarKey] = `${value}px`;
|
|
99
|
-
tailwindConfig[variant] = `var(${rootVarKey})`;
|
|
100
|
-
}
|
|
101
|
-
return {
|
|
102
|
-
_vars: rootVars,
|
|
103
|
-
_raw: config,
|
|
104
|
-
tailwindConfig
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
function getElevationPresetsForColorMode(colorMode, config) {
|
|
108
|
-
if (!config.elevation) return {};
|
|
109
|
-
const result = {};
|
|
110
|
-
entries(config.elevation).forEach(([level, levelPreset]) => {
|
|
111
|
-
result[level] = levelPreset[colorMode];
|
|
112
|
-
});
|
|
113
|
-
return result;
|
|
114
|
-
}
|
|
115
|
-
function parseTokens(config) {
|
|
116
|
-
const { colorMode, scaleMode } = config;
|
|
117
|
-
return {
|
|
118
|
-
...config,
|
|
119
|
-
colorMode: {
|
|
120
|
-
light: transformColors(colorMode.light, getElevationPresetsForColorMode("light", config)),
|
|
121
|
-
dark: transformColors(colorMode.dark, getElevationPresetsForColorMode("dark", config))
|
|
122
|
-
},
|
|
123
|
-
scaleMode: mapValues(scaleMode, ({ borderRadius, borderWidth, avatarSizes, iconSizes }) => {
|
|
124
|
-
return {
|
|
125
|
-
borderRadius: transformNumericToPx(BORDER_RADIUS_PREFIX, borderRadius),
|
|
126
|
-
borderWidth: transformNumericToPx(BORDER_WIDTH_PREFIX, borderWidth),
|
|
127
|
-
avatarSizes: transformNumericToPx(AVATAR_SIZE_PREFIX, avatarSizes),
|
|
128
|
-
iconSizes: transformNumericToPx(ICON_SIZE_PREFIX, iconSizes)
|
|
129
|
-
};
|
|
130
|
-
})
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
//#endregion
|
|
135
4
|
export { parseTokens };
|
package/dist/tokens/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant,
|
|
2
|
+
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps as UniversalAvatarImageProps$1, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps as UniversalChipProps$1, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps as UniversalIconButtonProps$1, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric } from "../types/dist/index.cjs";
|
|
3
3
|
import { AllPossibleProperties, ComponentConfig, ComponentStateConfig, LayerConfig, PossibleStates, PossibleStatesWithRest, SubComponentConfig, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties } from "../automated-config/dist/types/ComponentConfig.cjs";
|
|
4
4
|
import { ConfigurablePropertiesName, SelectedConfigurableProperty } from "../automated-config/dist/properties.cjs";
|
|
5
5
|
import { UniversalTokensConfigAuto } from "../automated-config/dist/generated/universalTokensConfigAuto.cjs";
|
|
@@ -41,4 +41,4 @@ interface UniversalChipProps extends UniversalChipProps$1 {
|
|
|
41
41
|
*/
|
|
42
42
|
type ConfigurableComponentName = keyof UniversalTokensConfigAuto;
|
|
43
43
|
//#endregion
|
|
44
|
-
export { AllPossibleProperties, AllSelectors, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, type ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, type FontFamilyCDNUrl, FontFamilyConfig, type FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, type SelectedConfigurableProperty, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SubComponentConfig, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant,
|
|
44
|
+
export { AllPossibleProperties, AllSelectors, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, type ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, type FontFamilyCDNUrl, FontFamilyConfig, type FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, type SelectedConfigurableProperty, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SubComponentConfig, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, type UniversalTokensConfig, type UniversalTokensConfigAuto, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties };
|
package/dist/tokens/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant,
|
|
2
|
+
import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyConfig, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps as UniversalAvatarImageProps$1, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps as UniversalChipProps$1, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps as UniversalIconButtonProps$1, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric } from "../types/dist/index.js";
|
|
3
3
|
import { AllPossibleProperties, ComponentConfig, ComponentStateConfig, LayerConfig, PossibleStates, PossibleStatesWithRest, SubComponentConfig, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties } from "../automated-config/dist/types/ComponentConfig.js";
|
|
4
4
|
import { ConfigurablePropertiesName, SelectedConfigurableProperty } from "../automated-config/dist/properties.js";
|
|
5
5
|
import { UniversalTokensConfigAuto } from "../automated-config/dist/generated/universalTokensConfigAuto.js";
|
|
@@ -41,4 +41,4 @@ interface UniversalChipProps extends UniversalChipProps$1 {
|
|
|
41
41
|
*/
|
|
42
42
|
type ConfigurableComponentName = keyof UniversalTokensConfigAuto;
|
|
43
43
|
//#endregion
|
|
44
|
-
export { AllPossibleProperties, AllSelectors, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, type ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, type FontFamilyCDNUrl, FontFamilyConfig, type FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, type SelectedConfigurableProperty, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SubComponentConfig, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant,
|
|
44
|
+
export { AllPossibleProperties, AllSelectors, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BackwardsCompatibleReactElement, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointValue, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, type ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DataAttribute, DeprecatedAlwaysPaletteAlias, Display, DividerVariant, ElevationAlias, ElevationBackgroundFillColor, ElevationBorderColor, ElevationConfig, ElevationCustomShadows, ElevationGlobalRampConfig, ElevationGlobalRampSettings, ElevationLevel, ElevationPreset, ElevationSurfaceColor, ExtractUrlFromFontFaceRule, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, type FontFamilyCDNUrl, FontFamilyConfig, type FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GenericIconComponent, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPixelSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, ImgElementProps, InputSize, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkTextVariant, LinkVariant, MaxLengthArray, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, NestedBorderRadiusStyleProps, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RGBUnit, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SVGElementProps, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, type SelectedConfigurableProperty, ShadowAlwaysColor, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPaletteColor, ShadowPreset, ShadowSpectrumColor, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SizeStyleProps, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, SpectrumValue, StateStyleProps, StyleProps, SubComponentConfig, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, ToastPosition, ToastSize, ToastVariant, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, UniversalAvatarBaseProps, UniversalAvatarIconProps, UniversalAvatarImageProps, UniversalAvatarProps, UniversalAvatarTextProps, UniversalBadgeProps, UniversalBoxProps, UniversalButtonProps, UniversalCheckboxProps, UniversalChipBaseProps, UniversalChipButtonProps, UniversalChipDismissibleProps, UniversalChipLinkProps, UniversalChipProps, UniversalChipToggleProps, UniversalDividerProps, UniversalFormLabelProps, UniversalIconButtonProps, UniversalIconProps, UniversalIconSlot, UniversalImageProps, UniversalInputProps, UniversalLinkProps, UniversalMenuItemProps, UniversalPressableProps, UniversalRadioGroupProps, UniversalRadioProps, UniversalStackProps, UniversalSwitchProps, UniversalTextProps, UniversalToastProps, type UniversalTokensConfig, type UniversalTokensConfigAuto, UniversalTokensConfigAutoBase, UniversalTokensConfigBase, UniversalTokensConfigGeneric, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties };
|
|
@@ -811,34 +811,11 @@ interface UniversalToastProps {
|
|
|
811
811
|
*/
|
|
812
812
|
reduceMotion?: boolean;
|
|
813
813
|
}
|
|
814
|
-
type VerticalPlacement = 'top' | 'bottom';
|
|
815
|
-
type HorizontalPlacement = 'start' | 'end';
|
|
816
|
-
type TooltipPlacement = VerticalPlacement | HorizontalPlacement | `${VerticalPlacement}-${HorizontalPlacement}` | `${HorizontalPlacement}-${VerticalPlacement}`;
|
|
817
|
-
type TooltipSize = 'default';
|
|
818
|
-
type TooltipVariant = 'default';
|
|
819
|
-
interface UniversalTooltipProps {
|
|
820
|
-
children: ReactNode;
|
|
821
|
-
placement?: TooltipPlacement;
|
|
822
|
-
open?: boolean;
|
|
823
|
-
portal?: boolean;
|
|
824
|
-
}
|
|
825
|
-
interface UniversalTooltipTriggerProps {
|
|
826
|
-
children: ReactNode;
|
|
827
|
-
}
|
|
828
|
-
interface UniversalTooltipContentProps {
|
|
829
|
-
children: ReactNode;
|
|
830
|
-
maxWidth?: string | number;
|
|
831
|
-
startTitleIcon?: UniversalIconSlot;
|
|
832
|
-
title?: ReactNode;
|
|
833
|
-
endContent?: ReactNode;
|
|
834
|
-
className?: string;
|
|
835
|
-
id?: string;
|
|
836
|
-
}
|
|
837
814
|
/**
|
|
838
815
|
* Base interface for configurable component names.
|
|
839
816
|
* The full list is: avatar, badge, button, checkbox, chip, divider, iconButton, input, link, menu, radio, switch
|
|
840
817
|
*/
|
|
841
|
-
type ConfigurableComponentName = 'avatar' | 'badge' | 'button' | 'checkbox' | 'chip' | 'divider' | 'iconButton' | 'input' | 'link' | 'menu' | 'radio' | 'switch' | 'toast'
|
|
818
|
+
type ConfigurableComponentName = 'avatar' | 'badge' | 'button' | 'checkbox' | 'chip' | 'divider' | 'iconButton' | 'input' | 'link' | 'menu' | 'radio' | 'switch' | 'toast';
|
|
842
819
|
/**
|
|
843
820
|
* Base interface for UniversalTokensConfigAuto.
|
|
844
821
|
* This is extended by @yahoo/uds with the full generated config.
|
|
@@ -874,4 +851,4 @@ type GlobalDefaultsConfig = {
|
|
|
874
851
|
enableResponsiveType: boolean;
|
|
875
852
|
}; //#endregion
|
|
876
853
|
//#endregion
|
|
877
|
-
export { type AlwaysPaletteAlias, type AlwaysPaletteAliasWithPrefix, type AlwaysPaletteColor, type Animation, type AriaAttribute, type AvatarAbbreviationStrategy, type AvatarShape, type AvatarSize, type AvatarSizeConfig, type AvatarVariant, type BackgroundColor, type BackgroundPalette, type BackgroundPaletteAlias, type BackgroundStyleProps, type BackwardsCompatibleReactElement, type BadgeSize, type BadgeVariant, type BorderRadius, type BorderRadiusConfig, type BorderStyleProps, type BorderWidth, type BorderWidthConfig, type BorderWidthWithElevation, type Breakpoint, type BreakpointValue, type BreakpointWithBase, type BreakpointsConfig, type ButtonPalette, type ButtonPaletteColor, type ButtonSize, type ButtonSpectrumColor, type ButtonVariant, type ButtonVariantFlat, type CheckboxSize, type CheckboxValue, type CheckboxVariant, type ChipSize, type ChipVariant, type ColorMode, type ColorModeConfig, type ColorModeForApp, type ColorsConfig, type ConfigurableComponentName, type CustomSizingStyleProps, type DataAttribute, type DeprecatedAlwaysPaletteAlias, type Display, type DividerVariant, type ElevationAlias, type ElevationBackgroundFillColor, type ElevationBorderColor, type ElevationConfig, type ElevationCustomShadows, type ElevationGlobalRampConfig, type ElevationGlobalRampSettings, type ElevationLevel, type ElevationPreset, type ElevationSurfaceColor, type ExtractUrlFromFontFaceRule, type Flex, type FlexAlignContent, type FlexAlignItems, type FlexAlignSelf, type FlexBasis, type FlexDirection, type FlexGrow, type FlexJustifyContent, type FlexShrink, type FlexStyleProps, type FlexWrap, type FontAlias, type FontConfig, type FontCssVar, type FontFamilyConfig, type FontSize, type FontSizeConfig, type FontSlantConfig, type FontType, type FontWeightConfig, type FontWeightDescriptive, type FontWeightNumeric, type FontWidthConfig, type ForegroundColor, type ForegroundPalette, type ForegroundPaletteAlias, type GenericIconComponent, type GlobalDefaultsConfig, type HighContrastMode, type Hue, type HueStep, type IconButtonSize, type IconPixelSize, type IconSize, type IconSizeConfig, type IconSlotRenderProps, type IconVariant, type ImagePropsWithImgProps, type ImageStyleProps, type ImgElementProps, type InputSize, type LayoutStyleProps, type LineClampAlias, type LineColor, type LineHeight, type LineHeightConfig, type LinePalette, type LinePaletteAlias, type LinkTextVariant, type LinkVariant, type MaxLengthArray, type Modes, type MotionConfig, type MotionCssVar, type MotionSpringConfig, type MotionSpringConfigOptions, type MotionVariant, type MotionVariantSpeed, type MotionVariantValues, type NestedBorderRadiusStyleProps, type OpacityStep, type Overflow, type Palette, type PaletteConfig, type PaletteType, type PaletteValue, type Percentage, type PercentageUnit, type PixelsUnit, type PlatformMode, type Position, type PropertyToPaletteAliasMap, type RGBAUnit, type RGBColorValue, type RGBUnit, type RadioSize, type RadioValue, type RadioVariant, type RegionMode, type RemsUnit, type SVGElementProps, type ScaleConfig, type ScaleEffect, type ScaleMode, type ScaleModeConfig, type ScaleModeForApp, type ShadowAlwaysColor, type ShadowColor, type ShadowColorConfig, type ShadowConfig, type ShadowOffset, type ShadowOpacity, type ShadowPalette, type ShadowPaletteAlias, type ShadowPaletteColor, type ShadowPreset, type ShadowSpectrumColor, type ShadowSpreadRadius, type ShadowStyleProps, type ShadowType, type ShadowTypeConfig, type ShadowVariant, type ShadowVariantConfig, type ShadowVariantInvert, type ShadowVariantWithElevation, type ShadowVariantWithInvert, type SharedPaletteAlias, type SizeStyleProps, type SpacingAlias, type SpacingConfig, type SpacingStyleProps, type SpectrumColor, type SpectrumConfig, type SpectrumValue, type StateStyleProps, type StyleProps, type SwitchSize, type TShirtSize, type TShirtSizeCommon, type TextDecorationLine, type TextProperty, type TextStyleProps, type TextTransform, type TextTransformConfig, type TextVariant, type TextVariantTypography, type TextVariantUi, type TextVariantWithoutEmphasized, type ToastPosition, type ToastSize, type ToastVariant, type
|
|
854
|
+
export { type AlwaysPaletteAlias, type AlwaysPaletteAliasWithPrefix, type AlwaysPaletteColor, type Animation, type AriaAttribute, type AvatarAbbreviationStrategy, type AvatarShape, type AvatarSize, type AvatarSizeConfig, type AvatarVariant, type BackgroundColor, type BackgroundPalette, type BackgroundPaletteAlias, type BackgroundStyleProps, type BackwardsCompatibleReactElement, type BadgeSize, type BadgeVariant, type BorderRadius, type BorderRadiusConfig, type BorderStyleProps, type BorderWidth, type BorderWidthConfig, type BorderWidthWithElevation, type Breakpoint, type BreakpointValue, type BreakpointWithBase, type BreakpointsConfig, type ButtonPalette, type ButtonPaletteColor, type ButtonSize, type ButtonSpectrumColor, type ButtonVariant, type ButtonVariantFlat, type CheckboxSize, type CheckboxValue, type CheckboxVariant, type ChipSize, type ChipVariant, type ColorMode, type ColorModeConfig, type ColorModeForApp, type ColorsConfig, type ConfigurableComponentName, type CustomSizingStyleProps, type DataAttribute, type DeprecatedAlwaysPaletteAlias, type Display, type DividerVariant, type ElevationAlias, type ElevationBackgroundFillColor, type ElevationBorderColor, type ElevationConfig, type ElevationCustomShadows, type ElevationGlobalRampConfig, type ElevationGlobalRampSettings, type ElevationLevel, type ElevationPreset, type ElevationSurfaceColor, type ExtractUrlFromFontFaceRule, type Flex, type FlexAlignContent, type FlexAlignItems, type FlexAlignSelf, type FlexBasis, type FlexDirection, type FlexGrow, type FlexJustifyContent, type FlexShrink, type FlexStyleProps, type FlexWrap, type FontAlias, type FontConfig, type FontCssVar, type FontFamilyConfig, type FontSize, type FontSizeConfig, type FontSlantConfig, type FontType, type FontWeightConfig, type FontWeightDescriptive, type FontWeightNumeric, type FontWidthConfig, type ForegroundColor, type ForegroundPalette, type ForegroundPaletteAlias, type GenericIconComponent, type GlobalDefaultsConfig, type HighContrastMode, type Hue, type HueStep, type IconButtonSize, type IconPixelSize, type IconSize, type IconSizeConfig, type IconSlotRenderProps, type IconVariant, type ImagePropsWithImgProps, type ImageStyleProps, type ImgElementProps, type InputSize, type LayoutStyleProps, type LineClampAlias, type LineColor, type LineHeight, type LineHeightConfig, type LinePalette, type LinePaletteAlias, type LinkTextVariant, type LinkVariant, type MaxLengthArray, type Modes, type MotionConfig, type MotionCssVar, type MotionSpringConfig, type MotionSpringConfigOptions, type MotionVariant, type MotionVariantSpeed, type MotionVariantValues, type NestedBorderRadiusStyleProps, type OpacityStep, type Overflow, type Palette, type PaletteConfig, type PaletteType, type PaletteValue, type Percentage, type PercentageUnit, type PixelsUnit, type PlatformMode, type Position, type PropertyToPaletteAliasMap, type RGBAUnit, type RGBColorValue, type RGBUnit, type RadioSize, type RadioValue, type RadioVariant, type RegionMode, type RemsUnit, type SVGElementProps, type ScaleConfig, type ScaleEffect, type ScaleMode, type ScaleModeConfig, type ScaleModeForApp, type ShadowAlwaysColor, type ShadowColor, type ShadowColorConfig, type ShadowConfig, type ShadowOffset, type ShadowOpacity, type ShadowPalette, type ShadowPaletteAlias, type ShadowPaletteColor, type ShadowPreset, type ShadowSpectrumColor, type ShadowSpreadRadius, type ShadowStyleProps, type ShadowType, type ShadowTypeConfig, type ShadowVariant, type ShadowVariantConfig, type ShadowVariantInvert, type ShadowVariantWithElevation, type ShadowVariantWithInvert, type SharedPaletteAlias, type SizeStyleProps, type SpacingAlias, type SpacingConfig, type SpacingStyleProps, type SpectrumColor, type SpectrumConfig, type SpectrumValue, type StateStyleProps, type StyleProps, type SwitchSize, type TShirtSize, type TShirtSizeCommon, type TextDecorationLine, type TextProperty, type TextStyleProps, type TextTransform, type TextTransformConfig, type TextVariant, type TextVariantTypography, type TextVariantUi, type TextVariantWithoutEmphasized, type ToastPosition, type ToastSize, type ToastVariant, type TransitionDelay, type TransitionDuration, type TransitionTiming, type TypographyConfig, type TypographyResponsiveProperty, type TypographyStyle, type TypographyStyleProperty, type TypographyUnitValue, type UdsCssVar, type UnitlessUnit, type UniversalAvatarBaseProps, type UniversalAvatarIconProps, type UniversalAvatarImageProps, type UniversalAvatarProps, type UniversalAvatarTextProps, type UniversalBadgeProps, type UniversalBoxProps, type UniversalButtonProps, type UniversalCheckboxProps, type UniversalChipBaseProps, type UniversalChipButtonProps, type UniversalChipDismissibleProps, type UniversalChipLinkProps, type UniversalChipProps, type UniversalChipToggleProps, type UniversalDividerProps, type UniversalFormLabelProps, type UniversalIconButtonProps, type UniversalIconProps, type UniversalIconSlot, type UniversalImageProps, type UniversalInputProps, type UniversalLinkProps, type UniversalMenuItemProps, type UniversalPressableProps, type UniversalRadioGroupProps, type UniversalRadioProps, type UniversalStackProps, type UniversalSwitchProps, type UniversalTextProps, type UniversalToastProps, type UniversalTokensConfigAutoBase, type UniversalTokensConfigBase, type UniversalTokensConfigGeneric };
|
|
@@ -811,34 +811,11 @@ interface UniversalToastProps {
|
|
|
811
811
|
*/
|
|
812
812
|
reduceMotion?: boolean;
|
|
813
813
|
}
|
|
814
|
-
type VerticalPlacement = 'top' | 'bottom';
|
|
815
|
-
type HorizontalPlacement = 'start' | 'end';
|
|
816
|
-
type TooltipPlacement = VerticalPlacement | HorizontalPlacement | `${VerticalPlacement}-${HorizontalPlacement}` | `${HorizontalPlacement}-${VerticalPlacement}`;
|
|
817
|
-
type TooltipSize = 'default';
|
|
818
|
-
type TooltipVariant = 'default';
|
|
819
|
-
interface UniversalTooltipProps {
|
|
820
|
-
children: ReactNode;
|
|
821
|
-
placement?: TooltipPlacement;
|
|
822
|
-
open?: boolean;
|
|
823
|
-
portal?: boolean;
|
|
824
|
-
}
|
|
825
|
-
interface UniversalTooltipTriggerProps {
|
|
826
|
-
children: ReactNode;
|
|
827
|
-
}
|
|
828
|
-
interface UniversalTooltipContentProps {
|
|
829
|
-
children: ReactNode;
|
|
830
|
-
maxWidth?: string | number;
|
|
831
|
-
startTitleIcon?: UniversalIconSlot;
|
|
832
|
-
title?: ReactNode;
|
|
833
|
-
endContent?: ReactNode;
|
|
834
|
-
className?: string;
|
|
835
|
-
id?: string;
|
|
836
|
-
}
|
|
837
814
|
/**
|
|
838
815
|
* Base interface for configurable component names.
|
|
839
816
|
* The full list is: avatar, badge, button, checkbox, chip, divider, iconButton, input, link, menu, radio, switch
|
|
840
817
|
*/
|
|
841
|
-
type ConfigurableComponentName = 'avatar' | 'badge' | 'button' | 'checkbox' | 'chip' | 'divider' | 'iconButton' | 'input' | 'link' | 'menu' | 'radio' | 'switch' | 'toast'
|
|
818
|
+
type ConfigurableComponentName = 'avatar' | 'badge' | 'button' | 'checkbox' | 'chip' | 'divider' | 'iconButton' | 'input' | 'link' | 'menu' | 'radio' | 'switch' | 'toast';
|
|
842
819
|
/**
|
|
843
820
|
* Base interface for UniversalTokensConfigAuto.
|
|
844
821
|
* This is extended by @yahoo/uds with the full generated config.
|
|
@@ -874,4 +851,4 @@ type GlobalDefaultsConfig = {
|
|
|
874
851
|
enableResponsiveType: boolean;
|
|
875
852
|
}; //#endregion
|
|
876
853
|
//#endregion
|
|
877
|
-
export { type AlwaysPaletteAlias, type AlwaysPaletteAliasWithPrefix, type AlwaysPaletteColor, type Animation, type AriaAttribute, type AvatarAbbreviationStrategy, type AvatarShape, type AvatarSize, type AvatarSizeConfig, type AvatarVariant, type BackgroundColor, type BackgroundPalette, type BackgroundPaletteAlias, type BackgroundStyleProps, type BackwardsCompatibleReactElement, type BadgeSize, type BadgeVariant, type BorderRadius, type BorderRadiusConfig, type BorderStyleProps, type BorderWidth, type BorderWidthConfig, type BorderWidthWithElevation, type Breakpoint, type BreakpointValue, type BreakpointWithBase, type BreakpointsConfig, type ButtonPalette, type ButtonPaletteColor, type ButtonSize, type ButtonSpectrumColor, type ButtonVariant, type ButtonVariantFlat, type CheckboxSize, type CheckboxValue, type CheckboxVariant, type ChipSize, type ChipVariant, type ColorMode, type ColorModeConfig, type ColorModeForApp, type ColorsConfig, type ConfigurableComponentName, type CustomSizingStyleProps, type DataAttribute, type DeprecatedAlwaysPaletteAlias, type Display, type DividerVariant, type ElevationAlias, type ElevationBackgroundFillColor, type ElevationBorderColor, type ElevationConfig, type ElevationCustomShadows, type ElevationGlobalRampConfig, type ElevationGlobalRampSettings, type ElevationLevel, type ElevationPreset, type ElevationSurfaceColor, type ExtractUrlFromFontFaceRule, type Flex, type FlexAlignContent, type FlexAlignItems, type FlexAlignSelf, type FlexBasis, type FlexDirection, type FlexGrow, type FlexJustifyContent, type FlexShrink, type FlexStyleProps, type FlexWrap, type FontAlias, type FontConfig, type FontCssVar, type FontFamilyConfig, type FontSize, type FontSizeConfig, type FontSlantConfig, type FontType, type FontWeightConfig, type FontWeightDescriptive, type FontWeightNumeric, type FontWidthConfig, type ForegroundColor, type ForegroundPalette, type ForegroundPaletteAlias, type GenericIconComponent, type GlobalDefaultsConfig, type HighContrastMode, type Hue, type HueStep, type IconButtonSize, type IconPixelSize, type IconSize, type IconSizeConfig, type IconSlotRenderProps, type IconVariant, type ImagePropsWithImgProps, type ImageStyleProps, type ImgElementProps, type InputSize, type LayoutStyleProps, type LineClampAlias, type LineColor, type LineHeight, type LineHeightConfig, type LinePalette, type LinePaletteAlias, type LinkTextVariant, type LinkVariant, type MaxLengthArray, type Modes, type MotionConfig, type MotionCssVar, type MotionSpringConfig, type MotionSpringConfigOptions, type MotionVariant, type MotionVariantSpeed, type MotionVariantValues, type NestedBorderRadiusStyleProps, type OpacityStep, type Overflow, type Palette, type PaletteConfig, type PaletteType, type PaletteValue, type Percentage, type PercentageUnit, type PixelsUnit, type PlatformMode, type Position, type PropertyToPaletteAliasMap, type RGBAUnit, type RGBColorValue, type RGBUnit, type RadioSize, type RadioValue, type RadioVariant, type RegionMode, type RemsUnit, type SVGElementProps, type ScaleConfig, type ScaleEffect, type ScaleMode, type ScaleModeConfig, type ScaleModeForApp, type ShadowAlwaysColor, type ShadowColor, type ShadowColorConfig, type ShadowConfig, type ShadowOffset, type ShadowOpacity, type ShadowPalette, type ShadowPaletteAlias, type ShadowPaletteColor, type ShadowPreset, type ShadowSpectrumColor, type ShadowSpreadRadius, type ShadowStyleProps, type ShadowType, type ShadowTypeConfig, type ShadowVariant, type ShadowVariantConfig, type ShadowVariantInvert, type ShadowVariantWithElevation, type ShadowVariantWithInvert, type SharedPaletteAlias, type SizeStyleProps, type SpacingAlias, type SpacingConfig, type SpacingStyleProps, type SpectrumColor, type SpectrumConfig, type SpectrumValue, type StateStyleProps, type StyleProps, type SwitchSize, type TShirtSize, type TShirtSizeCommon, type TextDecorationLine, type TextProperty, type TextStyleProps, type TextTransform, type TextTransformConfig, type TextVariant, type TextVariantTypography, type TextVariantUi, type TextVariantWithoutEmphasized, type ToastPosition, type ToastSize, type ToastVariant, type
|
|
854
|
+
export { type AlwaysPaletteAlias, type AlwaysPaletteAliasWithPrefix, type AlwaysPaletteColor, type Animation, type AriaAttribute, type AvatarAbbreviationStrategy, type AvatarShape, type AvatarSize, type AvatarSizeConfig, type AvatarVariant, type BackgroundColor, type BackgroundPalette, type BackgroundPaletteAlias, type BackgroundStyleProps, type BackwardsCompatibleReactElement, type BadgeSize, type BadgeVariant, type BorderRadius, type BorderRadiusConfig, type BorderStyleProps, type BorderWidth, type BorderWidthConfig, type BorderWidthWithElevation, type Breakpoint, type BreakpointValue, type BreakpointWithBase, type BreakpointsConfig, type ButtonPalette, type ButtonPaletteColor, type ButtonSize, type ButtonSpectrumColor, type ButtonVariant, type ButtonVariantFlat, type CheckboxSize, type CheckboxValue, type CheckboxVariant, type ChipSize, type ChipVariant, type ColorMode, type ColorModeConfig, type ColorModeForApp, type ColorsConfig, type ConfigurableComponentName, type CustomSizingStyleProps, type DataAttribute, type DeprecatedAlwaysPaletteAlias, type Display, type DividerVariant, type ElevationAlias, type ElevationBackgroundFillColor, type ElevationBorderColor, type ElevationConfig, type ElevationCustomShadows, type ElevationGlobalRampConfig, type ElevationGlobalRampSettings, type ElevationLevel, type ElevationPreset, type ElevationSurfaceColor, type ExtractUrlFromFontFaceRule, type Flex, type FlexAlignContent, type FlexAlignItems, type FlexAlignSelf, type FlexBasis, type FlexDirection, type FlexGrow, type FlexJustifyContent, type FlexShrink, type FlexStyleProps, type FlexWrap, type FontAlias, type FontConfig, type FontCssVar, type FontFamilyConfig, type FontSize, type FontSizeConfig, type FontSlantConfig, type FontType, type FontWeightConfig, type FontWeightDescriptive, type FontWeightNumeric, type FontWidthConfig, type ForegroundColor, type ForegroundPalette, type ForegroundPaletteAlias, type GenericIconComponent, type GlobalDefaultsConfig, type HighContrastMode, type Hue, type HueStep, type IconButtonSize, type IconPixelSize, type IconSize, type IconSizeConfig, type IconSlotRenderProps, type IconVariant, type ImagePropsWithImgProps, type ImageStyleProps, type ImgElementProps, type InputSize, type LayoutStyleProps, type LineClampAlias, type LineColor, type LineHeight, type LineHeightConfig, type LinePalette, type LinePaletteAlias, type LinkTextVariant, type LinkVariant, type MaxLengthArray, type Modes, type MotionConfig, type MotionCssVar, type MotionSpringConfig, type MotionSpringConfigOptions, type MotionVariant, type MotionVariantSpeed, type MotionVariantValues, type NestedBorderRadiusStyleProps, type OpacityStep, type Overflow, type Palette, type PaletteConfig, type PaletteType, type PaletteValue, type Percentage, type PercentageUnit, type PixelsUnit, type PlatformMode, type Position, type PropertyToPaletteAliasMap, type RGBAUnit, type RGBColorValue, type RGBUnit, type RadioSize, type RadioValue, type RadioVariant, type RegionMode, type RemsUnit, type SVGElementProps, type ScaleConfig, type ScaleEffect, type ScaleMode, type ScaleModeConfig, type ScaleModeForApp, type ShadowAlwaysColor, type ShadowColor, type ShadowColorConfig, type ShadowConfig, type ShadowOffset, type ShadowOpacity, type ShadowPalette, type ShadowPaletteAlias, type ShadowPaletteColor, type ShadowPreset, type ShadowSpectrumColor, type ShadowSpreadRadius, type ShadowStyleProps, type ShadowType, type ShadowTypeConfig, type ShadowVariant, type ShadowVariantConfig, type ShadowVariantInvert, type ShadowVariantWithElevation, type ShadowVariantWithInvert, type SharedPaletteAlias, type SizeStyleProps, type SpacingAlias, type SpacingConfig, type SpacingStyleProps, type SpectrumColor, type SpectrumConfig, type SpectrumValue, type StateStyleProps, type StyleProps, type SwitchSize, type TShirtSize, type TShirtSizeCommon, type TextDecorationLine, type TextProperty, type TextStyleProps, type TextTransform, type TextTransformConfig, type TextVariant, type TextVariantTypography, type TextVariantUi, type TextVariantWithoutEmphasized, type ToastPosition, type ToastSize, type ToastVariant, type TransitionDelay, type TransitionDuration, type TransitionTiming, type TypographyConfig, type TypographyResponsiveProperty, type TypographyStyle, type TypographyStyleProperty, type TypographyUnitValue, type UdsCssVar, type UnitlessUnit, type UniversalAvatarBaseProps, type UniversalAvatarIconProps, type UniversalAvatarImageProps, type UniversalAvatarProps, type UniversalAvatarTextProps, type UniversalBadgeProps, type UniversalBoxProps, type UniversalButtonProps, type UniversalCheckboxProps, type UniversalChipBaseProps, type UniversalChipButtonProps, type UniversalChipDismissibleProps, type UniversalChipLinkProps, type UniversalChipProps, type UniversalChipToggleProps, type UniversalDividerProps, type UniversalFormLabelProps, type UniversalIconButtonProps, type UniversalIconProps, type UniversalIconSlot, type UniversalImageProps, type UniversalInputProps, type UniversalLinkProps, type UniversalMenuItemProps, type UniversalPressableProps, type UniversalRadioGroupProps, type UniversalRadioProps, type UniversalStackProps, type UniversalSwitchProps, type UniversalTextProps, type UniversalToastProps, type UniversalTokensConfigAutoBase, type UniversalTokensConfigBase, type UniversalTokensConfigGeneric };
|