@yahoo/uds 3.70.0-beta.2 → 3.71.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.
Files changed (138) hide show
  1. package/cli/FlattenButtonVariant.mock.tsx +17 -0
  2. package/dist/components/Box.d.cts +2 -2
  3. package/dist/components/Box.d.ts +2 -2
  4. package/dist/components/Divider/Divider.d.cts +2 -2
  5. package/dist/components/Divider/Divider.d.ts +2 -2
  6. package/dist/components/Divider/DividerCore.d.cts +2 -2
  7. package/dist/components/Divider/DividerCore.d.ts +2 -2
  8. package/dist/components/Divider/DividerInternal.d.cts +2 -2
  9. package/dist/components/Divider/DividerInternal.d.ts +2 -2
  10. package/dist/components/FormLabel.d.cts +2 -2
  11. package/dist/components/HStack.d.cts +2 -2
  12. package/dist/components/HStack.d.ts +2 -2
  13. package/dist/components/Icon.d.cts +2 -2
  14. package/dist/components/Icon.d.ts +2 -2
  15. package/dist/components/Image.d.cts +2 -2
  16. package/dist/components/Image.d.ts +2 -2
  17. package/dist/components/Link.d.cts +2 -2
  18. package/dist/components/Link.d.ts +2 -2
  19. package/dist/components/Text.d.cts +8 -8
  20. package/dist/components/Text.d.ts +8 -8
  21. package/dist/components/VStack.d.cts +2 -2
  22. package/dist/components/VStack.d.ts +2 -2
  23. package/dist/components/client/AnimateHeightChange.d.cts +2 -2
  24. package/dist/components/client/AnimateHeightChange.d.ts +2 -2
  25. package/dist/components/client/Avatar/Avatar.d.cts +2 -2
  26. package/dist/components/client/Avatar/Avatar.d.ts +2 -2
  27. package/dist/components/client/Avatar/AvatarIcon.d.cts +2 -2
  28. package/dist/components/client/Avatar/AvatarIcon.d.ts +2 -2
  29. package/dist/components/client/Avatar/AvatarImage.d.cts +2 -2
  30. package/dist/components/client/Avatar/AvatarImage.d.ts +2 -2
  31. package/dist/components/client/Avatar/AvatarText.d.cts +2 -2
  32. package/dist/components/client/Avatar/AvatarText.d.ts +2 -2
  33. package/dist/components/client/Checkbox.d.cts +1 -1
  34. package/dist/components/client/Checkbox.d.ts +1 -1
  35. package/dist/components/client/IconButton.d.cts +2 -2
  36. package/dist/components/client/IconButton.d.ts +2 -2
  37. package/dist/components/client/Input/Input.d.cts +2 -2
  38. package/dist/components/client/Input/Input.d.ts +2 -2
  39. package/dist/components/client/Input/InputHelpText.d.cts +2 -2
  40. package/dist/components/client/Input/InputHelpText.d.ts +2 -2
  41. package/dist/components/client/Input/InputHelpTextInternal.d.cts +4 -4
  42. package/dist/components/client/Input/InputHelpTextInternal.d.ts +4 -4
  43. package/dist/components/client/Menu/Menu.Content.d.cts +2 -2
  44. package/dist/components/client/Menu/Menu.Content.d.ts +2 -2
  45. package/dist/components/client/Menu/Menu.Divider.d.cts +2 -2
  46. package/dist/components/client/Menu/Menu.Divider.d.ts +2 -2
  47. package/dist/components/client/Menu/Menu.Item.d.cts +2 -2
  48. package/dist/components/client/Menu/Menu.Item.d.ts +2 -2
  49. package/dist/components/client/Menu/Menu.ItemBase.d.cts +2 -2
  50. package/dist/components/client/Menu/Menu.ItemBase.d.ts +2 -2
  51. package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +2 -2
  52. package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +2 -2
  53. package/dist/components/client/Menu/Menu.Provider.d.cts +2 -2
  54. package/dist/components/client/Menu/Menu.Provider.d.ts +2 -2
  55. package/dist/components/client/Menu/Menu.Trigger.d.cts +2 -2
  56. package/dist/components/client/Menu/Menu.Trigger.d.ts +2 -2
  57. package/dist/components/client/Pressable.d.cts +2 -2
  58. package/dist/components/client/Pressable.d.ts +2 -2
  59. package/dist/components/client/Radio/RadioGroupStore.d.cts +2 -2
  60. package/dist/components/client/Radio/RadioGroupStore.d.ts +2 -2
  61. package/dist/components/client/SpringMotionConfig.d.cts +3 -3
  62. package/dist/components/client/SpringMotionConfig.d.ts +3 -3
  63. package/dist/components/experimental/Spinner.d.cts +2 -2
  64. package/dist/components/experimental/Spinner.d.ts +2 -2
  65. package/dist/components/experimental/Table.d.cts +2 -2
  66. package/dist/components/experimental/Table.d.ts +2 -2
  67. package/dist/components/experimental/client/Accordion.d.cts +2 -2
  68. package/dist/components/experimental/client/Accordion.d.ts +2 -2
  69. package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts +2 -2
  70. package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.ts +2 -2
  71. package/dist/components/experimental/client/Modal.d.cts +3 -3
  72. package/dist/components/experimental/client/Modal.d.ts +3 -3
  73. package/dist/components/experimental/client/Popover.d.cts +3 -3
  74. package/dist/components/experimental/client/Popover.d.ts +3 -3
  75. package/dist/components/experimental/client/Tabs.d.cts +3 -3
  76. package/dist/components/experimental/client/Tabs.d.ts +6 -6
  77. package/dist/components/experimental/client/Toast.d.cts +2 -2
  78. package/dist/components/experimental/client/Toast.d.ts +2 -2
  79. package/dist/fixtures.d.cts +1 -1
  80. package/dist/fixtures.d.ts +1 -1
  81. package/dist/index.d.cts +2 -2
  82. package/dist/index.d.ts +2 -2
  83. package/dist/providers/ColorModeProvider.d.cts +4 -4
  84. package/dist/providers/ColorModeProvider.d.ts +4 -4
  85. package/dist/providers/ScaleModeProvider.d.cts +4 -4
  86. package/dist/providers/ScaleModeProvider.d.ts +4 -4
  87. package/dist/providers/ThemeProvider.d.cts +2 -2
  88. package/dist/providers/ThemeProvider.d.ts +2 -2
  89. package/dist/styles/styler.d.cts +77 -77
  90. package/dist/styles/styler.d.ts +77 -77
  91. package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.cts +1 -1
  92. package/dist/tailwind/defaultTailwindThemeAsUdsConfig.d.ts +1 -1
  93. package/dist/tailwind/plugins/borders.d.cts +3 -3
  94. package/dist/tailwind/plugins/borders.d.ts +3 -3
  95. package/dist/tailwind/plugins/colors.d.cts +3 -3
  96. package/dist/tailwind/plugins/components.d.cts +3 -3
  97. package/dist/tailwind/plugins/components.d.ts +3 -3
  98. package/dist/tailwind/plugins/elevation.d.cts +3 -3
  99. package/dist/tailwind/plugins/icons.d.cts +3 -3
  100. package/dist/tailwind/plugins/icons.d.ts +3 -3
  101. package/dist/tailwind/plugins/input.d.cts +3 -3
  102. package/dist/tailwind/plugins/motion.d.cts +3 -3
  103. package/dist/tailwind/plugins/motion.d.ts +3 -3
  104. package/dist/tailwind/plugins/nestedBorderRadius.d.cts +3 -3
  105. package/dist/tailwind/plugins/nestedBorderRadius.d.ts +3 -3
  106. package/dist/tailwind/plugins/scaleMode.d.cts +3 -3
  107. package/dist/tailwind/plugins/scaleMode.d.ts +3 -3
  108. package/dist/tailwind/plugins/shadows.d.cts +3 -3
  109. package/dist/tailwind/plugins/shadows.d.ts +3 -3
  110. package/dist/tailwind/plugins/sizing.d.cts +3 -3
  111. package/dist/tailwind/plugins/sizing.d.ts +3 -3
  112. package/dist/tailwind/plugins/spacing.d.cts +3 -3
  113. package/dist/tailwind/plugins/spacing.d.ts +3 -3
  114. package/dist/tailwind/plugins/typography.d.cts +3 -3
  115. package/dist/tailwind/plugins/typography.d.ts +3 -3
  116. package/dist/tailwind/tailwind.config.d.cts +3 -3
  117. package/dist/tailwind/tailwindPlugin.d.cts +3 -3
  118. package/dist/tailwind/utils/addFontsPlugin.d.cts +3 -3
  119. package/dist/tailwind/utils/addFontsPlugin.d.ts +3 -3
  120. package/dist/tailwind/utils/composeTailwindPlugins.d.cts +3 -3
  121. package/dist/tailwind/utils/composeTailwindPlugins.d.ts +3 -3
  122. package/dist/tailwind/utils/getElevationStyles.d.cts +2 -2
  123. package/dist/tailwind/utils/getElevationStyles.d.ts +2 -2
  124. package/dist/tailwind/utils/getMotionStyles.d.cts +1 -1
  125. package/dist/tailwind/utils/getMotionStyles.d.ts +1 -1
  126. package/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
  127. package/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
  128. package/dist/tokens/automation/utils/getConfigVariantProperties.d.cts +2 -2
  129. package/dist/tokens/automation/utils/getConfigVariantProperties.d.ts +2 -2
  130. package/dist/tokens/index.d.cts +2 -2
  131. package/dist/tokens/index.d.ts +2 -2
  132. package/dist/tokens/parseTokens.cjs +7 -1
  133. package/dist/tokens/parseTokens.js +7 -1
  134. package/dist/tokens/types.d.cts +3 -2
  135. package/dist/tokens/types.d.ts +3 -2
  136. package/dist/utils/intersperse.d.cts +2 -2
  137. package/dist/utils/intersperse.d.ts +2 -2
  138. package/package.json +1 -1
@@ -20,7 +20,7 @@ import { ALWAYS_PREFIX, alwaysPalette, deprecatedAlwaysPalette, newAlwaysPalette
20
20
  import "./configs/palette/index.js";
21
21
  import { AVATAR_SIZE_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DROP_SHADOW_PREFIX, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, PSEUDO_STYLE_SELECTOR_MAP, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME } from "./consts/cssTokens.js";
22
22
  import { FONT_DECLARATIONS_MAP, FontAxisConfig, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontWeightForFont } from "./consts/fontDeclarationsMap.js";
23
- import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ConfigurableComponentName, CustomSizingStyleProps, DataAttribute, Display, DividerVariant, ElevationAlias, ElevationConfig, ElevationLevel, ElevationPreset, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPreset, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, 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, UniversalTokensConfig } from "./types.js";
23
+ import { AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AvatarAbbreviationStrategy, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BadgeSize, BadgeVariant, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointWithBase, BreakpointsConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxSize, CheckboxValue, CheckboxVariant, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ConfigurableComponentName, CustomSizingStyleProps, DataAttribute, Display, DividerVariant, ElevationAlias, ElevationConfig, ElevationCustomShadows, ElevationLevel, ElevationPreset, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontConfig, FontCssVar, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, IconButtonSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, InputSize, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, OpacityStep, Overflow, Palette, PaletteConfig, PaletteType, PaletteValue, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPreset, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, StateStyleProps, StyleProps, SwitchSize, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UdsCssVar, UnitlessUnit, 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, UniversalTokensConfig } from "./types.js";
24
24
  import { UniversalTokensConfigAuto } from "../generated/universalTokensConfigAuto.js";
25
25
  import { getConfigDefaultValue, isConfigDefaultValue } from "./automation/utils/defaults.js";
26
26
  import { generateKeyFromFlatConfigPath } from "./automation/utils/generateKeyFromFlatConfigPath.js";
@@ -41,4 +41,4 @@ import { entries } from "./utils/entries.js";
41
41
  import { fromEntries } from "./utils/fromEntries.js";
42
42
  import { mapValues } from "./utils/mapValues.js";
43
43
  import { parseOpacityStep } from "./utils/opacity.js";
44
- export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, AllPossibleProperties, AllSelectors, AllVariantKeys, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AutoComponentName, AutoComponents, AvatarAbbreviationStrategy, AvatarConfig, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BadgeConfig, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointWithBase, BreakpointsConfig, ButtonConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxConfig, CheckboxSize, CheckboxValue, CheckboxVariant, ChipConfig, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, DataAttribute, Display, DividerConfig, DividerVariant, ElevationAlias, ElevationConfig, ElevationLevel, ElevationPreset, ExtendablePropertiesName, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontAxisConfig, FontConfig, FontCssVar, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightForFont, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, IconButtonConfig, IconButtonSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, InputConfig, InputSize, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkConfig, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, MenuConfig, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, OpacityStep, Overflow, PSEUDO_STYLE_SELECTOR_MAP, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RadioConfig, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, SchemaStateValue, SelectedConfigurableProperty, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPreset, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, StateStyleProps, StyleProps, SubComponentConfig, SwitchConfig, SwitchSize, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UDS_PREFIX, UdsCssVar, UnitlessUnit, 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, UniversalTokensConfig, UniversalTokensConfigAuto, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, cartesianProduct, coalesceConfigVariant, configurableProperties, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, deprecatedAlwaysPalette, entries, findFixtureType, fontWeightMap, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, parseOpacityStep, setConfigPseudoStateVariable, shadow, statePseudoMapDocsMode, toMinimalDbConfigObject, variants };
44
+ export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, AllPossibleProperties, AllSelectors, AllVariantKeys, AlwaysPaletteAlias, AlwaysPaletteAliasWithPrefix, AlwaysPaletteColor, Animation, AriaAttribute, AutoComponentName, AutoComponents, AvatarAbbreviationStrategy, AvatarConfig, AvatarShape, AvatarSize, AvatarSizeConfig, AvatarVariant, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, BackgroundColor, BackgroundPalette, BackgroundPaletteAlias, BackgroundStyleProps, BadgeConfig, BadgeSize, BadgeVariant, BaseSelector, BorderRadius, BorderRadiusConfig, BorderStyleProps, BorderWidth, BorderWidthConfig, BorderWidthWithElevation, Breakpoint, BreakpointWithBase, BreakpointsConfig, ButtonConfig, ButtonPalette, ButtonPaletteColor, ButtonSize, ButtonSpectrumColor, ButtonVariant, ButtonVariantFlat, CheckboxConfig, CheckboxSize, CheckboxValue, CheckboxVariant, ChipConfig, ChipSize, ChipVariant, ColorMode, ColorModeConfig, ColorModeForApp, ColorsConfig, ComponentConfig, ComponentStateConfig, ConfigurableComponentName, ConfigurablePropertiesName, CssStyleObject, CustomSizingStyleProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, DataAttribute, Display, DividerConfig, DividerVariant, ElevationAlias, ElevationConfig, ElevationCustomShadows, ElevationLevel, ElevationPreset, ExtendablePropertiesName, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, Flex, FlexAlignContent, FlexAlignItems, FlexAlignSelf, FlexBasis, FlexDirection, FlexGrow, FlexJustifyContent, FlexShrink, FlexStyleProps, FlexWrap, FontAlias, FontAxisConfig, FontConfig, FontCssVar, FontDeclarationConfig, FontDeclarationItemConfig, FontDeclarationMap, FontFamilyCDNUrl, FontFamilyConfig, FontID, FontSize, FontSizeConfig, FontSlantConfig, FontType, FontWeightConfig, FontWeightDescriptive, FontWeightForFont, FontWeightNumeric, FontWidthConfig, ForegroundColor, ForegroundPalette, ForegroundPaletteAlias, GlobalDefaultsConfig, HighContrastMode, Hue, HueStep, ICON_SIZE_PREFIX, INVERT_COLOR_MODE_CLASSNAME, IconButtonConfig, IconButtonSize, IconPropsWithSVGProps, IconSize, IconSizeConfig, IconSlotRenderProps, IconVariant, ImagePropsWithImgProps, ImageStyleProps, InputConfig, InputSize, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, LayerConfig, LayoutStyleProps, LineClampAlias, LineColor, LineHeight, LineHeightConfig, LinePalette, LinePaletteAlias, LinkConfig, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, MenuConfig, Modes, MotionConfig, MotionCssVar, MotionSpringConfig, MotionSpringConfigOptions, MotionVariant, MotionVariantSpeed, MotionVariantValues, OpacityStep, Overflow, PSEUDO_STYLE_SELECTOR_MAP, Palette, PaletteConfig, PaletteType, PaletteValue, ParentVariantSelector, Percentage, PercentageUnit, PixelsUnit, PlatformMode, Position, PossibleStates, PossibleStatesWithRest, PropertyToPaletteAliasMap, RGBAUnit, RGBColorValue, RadioConfig, RadioSize, RadioValue, RadioVariant, RegionMode, RemsUnit, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, ScaleConfig, ScaleEffect, ScaleMode, ScaleModeConfig, ScaleModeForApp, SchemaStateValue, SelectedConfigurableProperty, ShadowColor, ShadowColorConfig, ShadowConfig, ShadowOffset, ShadowOpacity, ShadowPalette, ShadowPaletteAlias, ShadowPreset, ShadowSpreadRadius, ShadowStyleProps, ShadowType, ShadowTypeConfig, ShadowVariant, ShadowVariantConfig, ShadowVariantInvert, ShadowVariantWithElevation, ShadowVariantWithInvert, SharedPaletteAlias, SpacingAlias, SpacingConfig, SpacingStyleProps, SpectrumColor, SpectrumConfig, StateStyleProps, StyleProps, SubComponentConfig, SwitchConfig, SwitchSize, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, TShirtSize, TShirtSizeCommon, TextDecorationLine, TextProperty, TextStyleProps, TextTransform, TextTransformConfig, TextVariant, TextVariantTypography, TextVariantUi, TextVariantWithoutEmphasized, TransitionDelay, TransitionDuration, TransitionTiming, TypographyConfig, TypographyResponsiveProperty, TypographyStyle, TypographyStyleProperty, TypographyUnitValue, UDS_PREFIX, UdsCssVar, UnitlessUnit, 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, UniversalTokensConfig, UniversalTokensConfigAuto, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, cartesianProduct, coalesceConfigVariant, configurableProperties, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, deprecatedAlwaysPalette, entries, findFixtureType, fontWeightMap, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, isConfigDefaultValue, mapValues, newAlwaysPalette, parseButtonVariantFlat, parseOpacityStep, setConfigPseudoStateVariable, shadow, statePseudoMapDocsMode, toMinimalDbConfigObject, variants };
@@ -4,6 +4,7 @@ const require_tokens_configs_palette_alwaysPalette = require('./configs/palette/
4
4
  const require_tokens_utils_entries = require('./utils/entries.cjs');
5
5
  const require_tokens_utils_mapValues = require('./utils/mapValues.cjs');
6
6
  const require_tokens_utils_opacity = require('./utils/opacity.cjs');
7
+ const require_tailwind_utils_getShadowPresetValues = require('../tailwind/utils/getShadowPresetValues.cjs');
7
8
 
8
9
  //#region src/tokens/parseTokens.ts
9
10
  function shouldIncludeOpacity(opacity) {
@@ -61,7 +62,12 @@ function transformColors(colors, elevationPresets) {
61
62
  }
62
63
  if (key === "dropShadow") {
63
64
  const name = `--${require_tokens_consts_cssTokens.DROP_SHADOW_PREFIX}-elevation-${level}`;
64
- rootVars[name] = `var(--${require_tokens_consts_cssTokens.DROP_SHADOW_PREFIX}-${elevationPreset[key]})`;
65
+ const configValue = elevationPreset[key];
66
+ rootVars[name] = Array.isArray(configValue) ? configValue.map((preset, index) => require_tailwind_utils_getShadowPresetValues.getShadowLayerValue({
67
+ preset,
68
+ prefix: index > 0 ? `${index + 1}` : void 0,
69
+ shadowType: "drop"
70
+ })).join(", ") : `var(--${require_tokens_consts_cssTokens.DROP_SHADOW_PREFIX}-${elevationPreset[key]})`;
65
71
  }
66
72
  });
67
73
  });
@@ -4,6 +4,7 @@ import { alwaysPalette } from "./configs/palette/alwaysPalette.js";
4
4
  import { entries } from "./utils/entries.js";
5
5
  import { mapValues } from "./utils/mapValues.js";
6
6
  import { parseOpacityStep } from "./utils/opacity.js";
7
+ import { getShadowLayerValue } from "../tailwind/utils/getShadowPresetValues.js";
7
8
 
8
9
  //#region src/tokens/parseTokens.ts
9
10
  function shouldIncludeOpacity(opacity) {
@@ -61,7 +62,12 @@ function transformColors(colors, elevationPresets) {
61
62
  }
62
63
  if (key === "dropShadow") {
63
64
  const name = `--${DROP_SHADOW_PREFIX}-elevation-${level}`;
64
- rootVars[name] = `var(--${DROP_SHADOW_PREFIX}-${elevationPreset[key]})`;
65
+ const configValue = elevationPreset[key];
66
+ rootVars[name] = Array.isArray(configValue) ? configValue.map((preset, index) => getShadowLayerValue({
67
+ preset,
68
+ prefix: index > 0 ? `${index + 1}` : void 0,
69
+ shadowType: "drop"
70
+ })).join(", ") : `var(--${DROP_SHADOW_PREFIX}-${elevationPreset[key]})`;
65
71
  }
66
72
  });
67
73
  });
@@ -202,6 +202,7 @@ type RGBAUnit = {
202
202
  b: RGBColorValue;
203
203
  a: OpacityStep;
204
204
  };
205
+ type ElevationCustomShadows = [ShadowPreset, ShadowPreset, ShadowPreset, ShadowPreset];
205
206
  type ElevationPreset = {
206
207
  surfaceColor: ElevationSurfaceColor & {
207
208
  opacity: OpacityStep;
@@ -211,7 +212,7 @@ type ElevationPreset = {
211
212
  finalBackgroundValue: RGBAUnit;
212
213
  borderColor: ElevationBorderColor;
213
214
  borderWidth: BorderWidth;
214
- dropShadow: ShadowVariant;
215
+ dropShadow: ShadowVariant | ElevationCustomShadows;
215
216
  };
216
217
  type ElevationLevel = '0' | '1' | '2' | '3' | '4' | '5';
217
218
  type ElevationAlias = `elevation-${ElevationLevel}`;
@@ -1004,4 +1005,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
1004
1005
  }
1005
1006
  type ConfigurableComponentName = keyof UniversalTokensConfigAuto;
1006
1007
  //#endregion
1007
- 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 BadgeSize, type BadgeVariant, type BorderRadius, type BorderRadiusConfig, type BorderStyleProps, type BorderWidth, type BorderWidthConfig, type BorderWidthWithElevation, type Breakpoint, 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 Display, type DividerVariant, type ElevationAlias, type ElevationConfig, type ElevationLevel, type ElevationPreset, 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 FontFamilyCDNUrl, type FontFamilyConfig, type FontID, type FontSize, type FontSizeConfig, type FontSlantConfig, type FontType, type FontWeightConfig, type FontWeightDescriptive, type FontWeightNumeric, type FontWidthConfig, type ForegroundColor, type ForegroundPalette, type ForegroundPaletteAlias, type GlobalDefaultsConfig, type HighContrastMode, type Hue, type HueStep, type IconButtonSize, type IconPropsWithSVGProps, type IconSize, type IconSizeConfig, type IconSlotRenderProps, type IconVariant, type ImagePropsWithImgProps, type ImageStyleProps, type InputSize, type LayoutStyleProps, type LineClampAlias, type LineColor, type LineHeight, type LineHeightConfig, type LinePalette, type LinePaletteAlias, type Modes, type MotionConfig, type MotionCssVar, type MotionSpringConfig, type MotionSpringConfigOptions, type MotionVariant, type MotionVariantSpeed, type MotionVariantValues, 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 RadioSize, type RadioValue, type RadioVariant, type RegionMode, type RemsUnit, type ScaleConfig, type ScaleEffect, type ScaleMode, type ScaleModeConfig, type ScaleModeForApp, type ShadowColor, type ShadowColorConfig, type ShadowConfig, type ShadowOffset, type ShadowOpacity, type ShadowPalette, type ShadowPaletteAlias, type ShadowPreset, type ShadowSpreadRadius, type ShadowStyleProps, type ShadowType, type ShadowTypeConfig, type ShadowVariant, type ShadowVariantConfig, type ShadowVariantInvert, type ShadowVariantWithElevation, type ShadowVariantWithInvert, type SharedPaletteAlias, type SpacingAlias, type SpacingConfig, type SpacingStyleProps, type SpectrumColor, type SpectrumConfig, 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 TransitionDelay, type TransitionDuration, type TransitionTiming, type TypographyConfig, type TypographyResponsiveProperty, type TypographyStyle, type TypographyStyleProperty, type TypographyUnitValue, type UdsCssVar, type UnitlessUnit, 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 UniversalTokensConfig, type UniversalTokensConfigAuto };
1008
+ 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 BadgeSize, type BadgeVariant, type BorderRadius, type BorderRadiusConfig, type BorderStyleProps, type BorderWidth, type BorderWidthConfig, type BorderWidthWithElevation, type Breakpoint, 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 Display, type DividerVariant, type ElevationAlias, type ElevationConfig, type ElevationCustomShadows, type ElevationLevel, type ElevationPreset, 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 FontFamilyCDNUrl, type FontFamilyConfig, type FontID, type FontSize, type FontSizeConfig, type FontSlantConfig, type FontType, type FontWeightConfig, type FontWeightDescriptive, type FontWeightNumeric, type FontWidthConfig, type ForegroundColor, type ForegroundPalette, type ForegroundPaletteAlias, type GlobalDefaultsConfig, type HighContrastMode, type Hue, type HueStep, type IconButtonSize, type IconPropsWithSVGProps, type IconSize, type IconSizeConfig, type IconSlotRenderProps, type IconVariant, type ImagePropsWithImgProps, type ImageStyleProps, type InputSize, type LayoutStyleProps, type LineClampAlias, type LineColor, type LineHeight, type LineHeightConfig, type LinePalette, type LinePaletteAlias, type Modes, type MotionConfig, type MotionCssVar, type MotionSpringConfig, type MotionSpringConfigOptions, type MotionVariant, type MotionVariantSpeed, type MotionVariantValues, 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 RadioSize, type RadioValue, type RadioVariant, type RegionMode, type RemsUnit, type ScaleConfig, type ScaleEffect, type ScaleMode, type ScaleModeConfig, type ScaleModeForApp, type ShadowColor, type ShadowColorConfig, type ShadowConfig, type ShadowOffset, type ShadowOpacity, type ShadowPalette, type ShadowPaletteAlias, type ShadowPreset, type ShadowSpreadRadius, type ShadowStyleProps, type ShadowType, type ShadowTypeConfig, type ShadowVariant, type ShadowVariantConfig, type ShadowVariantInvert, type ShadowVariantWithElevation, type ShadowVariantWithInvert, type SharedPaletteAlias, type SpacingAlias, type SpacingConfig, type SpacingStyleProps, type SpectrumColor, type SpectrumConfig, 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 TransitionDelay, type TransitionDuration, type TransitionTiming, type TypographyConfig, type TypographyResponsiveProperty, type TypographyStyle, type TypographyStyleProperty, type TypographyUnitValue, type UdsCssVar, type UnitlessUnit, 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 UniversalTokensConfig, type UniversalTokensConfigAuto };
@@ -202,6 +202,7 @@ type RGBAUnit = {
202
202
  b: RGBColorValue;
203
203
  a: OpacityStep;
204
204
  };
205
+ type ElevationCustomShadows = [ShadowPreset, ShadowPreset, ShadowPreset, ShadowPreset];
205
206
  type ElevationPreset = {
206
207
  surfaceColor: ElevationSurfaceColor & {
207
208
  opacity: OpacityStep;
@@ -211,7 +212,7 @@ type ElevationPreset = {
211
212
  finalBackgroundValue: RGBAUnit;
212
213
  borderColor: ElevationBorderColor;
213
214
  borderWidth: BorderWidth;
214
- dropShadow: ShadowVariant;
215
+ dropShadow: ShadowVariant | ElevationCustomShadows;
215
216
  };
216
217
  type ElevationLevel = '0' | '1' | '2' | '3' | '4' | '5';
217
218
  type ElevationAlias = `elevation-${ElevationLevel}`;
@@ -1004,4 +1005,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
1004
1005
  }
1005
1006
  type ConfigurableComponentName = keyof UniversalTokensConfigAuto;
1006
1007
  //#endregion
1007
- 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 BadgeSize, type BadgeVariant, type BorderRadius, type BorderRadiusConfig, type BorderStyleProps, type BorderWidth, type BorderWidthConfig, type BorderWidthWithElevation, type Breakpoint, 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 Display, type DividerVariant, type ElevationAlias, type ElevationConfig, type ElevationLevel, type ElevationPreset, 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 FontFamilyCDNUrl, type FontFamilyConfig, type FontID, type FontSize, type FontSizeConfig, type FontSlantConfig, type FontType, type FontWeightConfig, type FontWeightDescriptive, type FontWeightNumeric, type FontWidthConfig, type ForegroundColor, type ForegroundPalette, type ForegroundPaletteAlias, type GlobalDefaultsConfig, type HighContrastMode, type Hue, type HueStep, type IconButtonSize, type IconPropsWithSVGProps, type IconSize, type IconSizeConfig, type IconSlotRenderProps, type IconVariant, type ImagePropsWithImgProps, type ImageStyleProps, type InputSize, type LayoutStyleProps, type LineClampAlias, type LineColor, type LineHeight, type LineHeightConfig, type LinePalette, type LinePaletteAlias, type Modes, type MotionConfig, type MotionCssVar, type MotionSpringConfig, type MotionSpringConfigOptions, type MotionVariant, type MotionVariantSpeed, type MotionVariantValues, 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 RadioSize, type RadioValue, type RadioVariant, type RegionMode, type RemsUnit, type ScaleConfig, type ScaleEffect, type ScaleMode, type ScaleModeConfig, type ScaleModeForApp, type ShadowColor, type ShadowColorConfig, type ShadowConfig, type ShadowOffset, type ShadowOpacity, type ShadowPalette, type ShadowPaletteAlias, type ShadowPreset, type ShadowSpreadRadius, type ShadowStyleProps, type ShadowType, type ShadowTypeConfig, type ShadowVariant, type ShadowVariantConfig, type ShadowVariantInvert, type ShadowVariantWithElevation, type ShadowVariantWithInvert, type SharedPaletteAlias, type SpacingAlias, type SpacingConfig, type SpacingStyleProps, type SpectrumColor, type SpectrumConfig, 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 TransitionDelay, type TransitionDuration, type TransitionTiming, type TypographyConfig, type TypographyResponsiveProperty, type TypographyStyle, type TypographyStyleProperty, type TypographyUnitValue, type UdsCssVar, type UnitlessUnit, 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 UniversalTokensConfig, type UniversalTokensConfigAuto };
1008
+ 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 BadgeSize, type BadgeVariant, type BorderRadius, type BorderRadiusConfig, type BorderStyleProps, type BorderWidth, type BorderWidthConfig, type BorderWidthWithElevation, type Breakpoint, 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 Display, type DividerVariant, type ElevationAlias, type ElevationConfig, type ElevationCustomShadows, type ElevationLevel, type ElevationPreset, 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 FontFamilyCDNUrl, type FontFamilyConfig, type FontID, type FontSize, type FontSizeConfig, type FontSlantConfig, type FontType, type FontWeightConfig, type FontWeightDescriptive, type FontWeightNumeric, type FontWidthConfig, type ForegroundColor, type ForegroundPalette, type ForegroundPaletteAlias, type GlobalDefaultsConfig, type HighContrastMode, type Hue, type HueStep, type IconButtonSize, type IconPropsWithSVGProps, type IconSize, type IconSizeConfig, type IconSlotRenderProps, type IconVariant, type ImagePropsWithImgProps, type ImageStyleProps, type InputSize, type LayoutStyleProps, type LineClampAlias, type LineColor, type LineHeight, type LineHeightConfig, type LinePalette, type LinePaletteAlias, type Modes, type MotionConfig, type MotionCssVar, type MotionSpringConfig, type MotionSpringConfigOptions, type MotionVariant, type MotionVariantSpeed, type MotionVariantValues, 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 RadioSize, type RadioValue, type RadioVariant, type RegionMode, type RemsUnit, type ScaleConfig, type ScaleEffect, type ScaleMode, type ScaleModeConfig, type ScaleModeForApp, type ShadowColor, type ShadowColorConfig, type ShadowConfig, type ShadowOffset, type ShadowOpacity, type ShadowPalette, type ShadowPaletteAlias, type ShadowPreset, type ShadowSpreadRadius, type ShadowStyleProps, type ShadowType, type ShadowTypeConfig, type ShadowVariant, type ShadowVariantConfig, type ShadowVariantInvert, type ShadowVariantWithElevation, type ShadowVariantWithInvert, type SharedPaletteAlias, type SpacingAlias, type SpacingConfig, type SpacingStyleProps, type SpectrumColor, type SpectrumConfig, 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 TransitionDelay, type TransitionDuration, type TransitionTiming, type TypographyConfig, type TypographyResponsiveProperty, type TypographyStyle, type TypographyStyleProperty, type TypographyUnitValue, type UdsCssVar, type UnitlessUnit, 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 UniversalTokensConfig, type UniversalTokensConfigAuto };
@@ -1,4 +1,4 @@
1
- import * as react3 from "react";
1
+ import * as react32 from "react";
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region src/utils/intersperse.d.ts
@@ -28,6 +28,6 @@ declare const intersperse: <T>(list: Array<T>, inter: T | ((index: number) => T)
28
28
  * </div>);
29
29
  * }
30
30
  */
31
- declare const intersperseReactChildren: (children: ReactNode, inter: ReactNode | ((index: number) => ReactNode)) => (string | number | react3.ReactElement<any, string | react3.JSXElementConstructor<any>> | Iterable<ReactNode> | react3.ReactPortal | null)[];
31
+ declare const intersperseReactChildren: (children: ReactNode, inter: ReactNode | ((index: number) => ReactNode)) => (string | number | react32.ReactElement<any, string | react32.JSXElementConstructor<any>> | Iterable<ReactNode> | react32.ReactPortal | null)[];
32
32
  //#endregion
33
33
  export { intersperse, intersperseReactChildren };
@@ -1,4 +1,4 @@
1
- import * as react25 from "react";
1
+ import * as react0 from "react";
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region src/utils/intersperse.d.ts
@@ -28,6 +28,6 @@ declare const intersperse: <T>(list: Array<T>, inter: T | ((index: number) => T)
28
28
  * </div>);
29
29
  * }
30
30
  */
31
- declare const intersperseReactChildren: (children: ReactNode, inter: ReactNode | ((index: number) => ReactNode)) => (string | number | react25.ReactElement<any, string | react25.JSXElementConstructor<any>> | Iterable<ReactNode> | react25.ReactPortal | null)[];
31
+ declare const intersperseReactChildren: (children: ReactNode, inter: ReactNode | ((index: number) => ReactNode)) => (string | number | react0.ReactElement<any, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | react0.ReactPortal | null)[];
32
32
  //#endregion
33
33
  export { intersperse, intersperseReactChildren };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yahoo/uds",
3
3
  "description": "Yahoo Universal System",
4
- "version": "3.70.0-beta.2",
4
+ "version": "3.71.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",