@yahoo/uds 3.0.0-beta.1 → 3.0.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 (93) hide show
  1. package/cli/ButtonFile2.mock.tsx +11 -0
  2. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  3. package/cli/bin/uds-linux-arm64 +0 -0
  4. package/cli/bin/uds-linux-x64-baseline +0 -0
  5. package/cli/codemods/addCommentAboveComponents.ts +8 -2
  6. package/cli/commands/expo/_setup.ts +1 -0
  7. package/cli/commands/sync.ts +3 -0
  8. package/cli/preload.ts +1 -0
  9. package/cli/utils/auth.ts +1 -0
  10. package/cli/utils/configWorker.ts +10 -2
  11. package/cli/utils/purgeCSS.ts +18 -6
  12. package/cli/utils/setupConfigWorker.ts +2 -2
  13. package/cli/utils/types.ts +3 -1
  14. package/dist/{Text-DC5H-ljU.d.cts → Text-yeQcITg9.d.cts} +1 -1
  15. package/dist/{Text-DC5H-ljU.d.ts → Text-yeQcITg9.d.ts} +1 -1
  16. package/dist/{VStack-dsjTgotn.d.ts → VStack-CJs5afN8.d.ts} +1 -1
  17. package/dist/{VStack-lZcVQtuR.d.cts → VStack-GpQHE4xQ.d.cts} +1 -1
  18. package/dist/analytics/server.js +1 -1
  19. package/dist/{chunk-ROCVTVD4.js → chunk-4G4TBHHL.js} +1 -1
  20. package/dist/chunk-6CVEYTLQ.js +2 -0
  21. package/dist/chunk-6XNKVFUM.cjs +2 -0
  22. package/dist/{chunk-GWUSJOIP.js → chunk-AFPPCX7S.js} +2 -2
  23. package/dist/{chunk-RCTE4OK2.cjs → chunk-BNLUH23E.cjs} +1 -1
  24. package/dist/{chunk-3R4CMTF2.js → chunk-EWJ3J526.js} +1 -1
  25. package/dist/{chunk-GXWRHF26.cjs → chunk-FOX6Q5GR.cjs} +1 -1
  26. package/dist/{chunk-UWAIMWW7.cjs → chunk-HTL6WRXY.cjs} +1 -1
  27. package/dist/{chunk-H35WDIEH.cjs → chunk-J7PUOUXC.cjs} +1 -1
  28. package/dist/{chunk-COT7GQ26.js → chunk-N3FKHXEJ.js} +2 -2
  29. package/dist/{chunk-PLVCO2Q2.cjs → chunk-NUEZVMWZ.cjs} +1 -1
  30. package/dist/chunk-O26JIFUR.cjs +3 -0
  31. package/dist/{chunk-TYCIDVTR.js → chunk-S5UKKXRV.js} +1 -1
  32. package/dist/chunk-WCB4EHGZ.js +3 -0
  33. package/dist/client/index.cjs +2 -2
  34. package/dist/client/index.d.cts +3 -3
  35. package/dist/client/index.d.ts +3 -3
  36. package/dist/client/index.js +3 -3
  37. package/dist/experimental/client/index.cjs +1 -1
  38. package/dist/experimental/client/index.d.cts +1 -1
  39. package/dist/experimental/client/index.d.ts +1 -1
  40. package/dist/experimental/client/index.js +1 -1
  41. package/dist/experimental/index.cjs +2 -2
  42. package/dist/experimental/index.d.cts +1 -1
  43. package/dist/experimental/index.d.ts +1 -1
  44. package/dist/experimental/index.js +1 -1
  45. package/dist/fixtures.cjs +2 -1
  46. package/dist/fixtures.js +2 -1
  47. package/dist/flags.cjs +1 -1
  48. package/dist/flags.js +1 -1
  49. package/dist/{index-B1ZHRmSN.d.ts → index-CU_UPAew.d.ts} +4 -4
  50. package/dist/{index-By9VJ9yq.d.cts → index-DUFUMc1S.d.cts} +4 -4
  51. package/dist/index.cjs +1 -1
  52. package/dist/index.d.cts +108 -108
  53. package/dist/index.d.ts +108 -108
  54. package/dist/index.js +1 -1
  55. package/dist/metafile-cjs.json +1 -1
  56. package/dist/metafile-esm.json +1 -1
  57. package/dist/tailwind/plugin.cjs +1 -1
  58. package/dist/tailwind/plugin.d.cts +9 -4
  59. package/dist/tailwind/plugin.d.ts +9 -4
  60. package/dist/tailwind/plugin.js +2 -2
  61. package/dist/tailwind/purger.cjs +2 -2
  62. package/dist/tailwind/purger.js +3 -3
  63. package/dist/tailwind/tsMorph.cjs +1 -1
  64. package/dist/tailwind/tsMorph.js +1 -1
  65. package/dist/tailwind/utils.cjs +1 -1
  66. package/dist/tailwind/utils.d.cts +4 -4
  67. package/dist/tailwind/utils.d.ts +4 -4
  68. package/dist/tailwind/utils.js +1 -1
  69. package/dist/tokens/automation/configs.cjs +1 -1
  70. package/dist/tokens/automation/configs.d.cts +2 -2
  71. package/dist/tokens/automation/configs.d.ts +2 -2
  72. package/dist/tokens/automation/configs.js +1 -1
  73. package/dist/tokens/automation/properties.cjs +1 -1
  74. package/dist/tokens/automation/properties.d.cts +2 -2
  75. package/dist/tokens/automation/properties.d.ts +2 -2
  76. package/dist/tokens/automation/properties.js +1 -1
  77. package/dist/tokens/index.cjs +1 -1
  78. package/dist/tokens/index.d.cts +3810 -3810
  79. package/dist/tokens/index.d.ts +3810 -3810
  80. package/dist/tokens/index.js +1 -1
  81. package/dist/tokens/parseTokens.cjs +1 -1
  82. package/dist/tokens/parseTokens.d.cts +1 -1
  83. package/dist/tokens/parseTokens.d.ts +1 -1
  84. package/dist/tokens/parseTokens.js +1 -1
  85. package/dist/{types-oxQ-ciqn.d.cts → types-d2CfR7zp.d.cts} +1962 -1954
  86. package/dist/{types-oxQ-ciqn.d.ts → types-d2CfR7zp.d.ts} +1962 -1954
  87. package/package.json +1 -1
  88. package/dist/chunk-DIZ6AEFQ.cjs +0 -3
  89. package/dist/chunk-IGRY2O2E.js +0 -2
  90. package/dist/chunk-IQXT3UML.cjs +0 -2
  91. package/dist/chunk-SWTZ62RF.js +0 -3
  92. /package/dist/{motionFeatures-II2BNXF5.cjs → motionFeatures-6LIGGXPL.cjs} +0 -0
  93. /package/dist/{motionFeatures-25DAPVNO.js → motionFeatures-SJISLQ4M.js} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,23 +1,23 @@
1
- import { D as DivProps, I as InputProps } from './VStack-dsjTgotn.js';
2
- export { B as Box, a as BoxProps, b as Divider, c as DividerProps, V as VStack, d as VStackProps } from './VStack-dsjTgotn.js';
1
+ import { D as DivProps, I as InputProps } from './VStack-CJs5afN8.js';
2
+ export { B as Box, a as BoxProps, b as Divider, c as DividerProps, V as VStack, d as VStackProps } from './VStack-CJs5afN8.js';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { r as UniversalFormLabelProps, s as SpacingStyleProps, f as UniversalStackProps, t as IconPropsWithSVGProps, u as ImagePropsWithImgProps, v as UniversalIconSlot, w as UniversalLinkProps, x as UniversalTextProps } from './types-oxQ-ciqn.js';
5
- export { D as AVATAR_SIZE_PREFIX, ae as AlwaysPalette, af as AlwaysPaletteAlias, ag as AlwaysPaletteColor, ah as Animation, ai as AriaAttribute, aj as AvatarAbbreviationStrategy, ak as AvatarShape, al as AvatarSize, am as AvatarSizeConfig, an as AvatarVariant, E as BORDER_RADIUS_PREFIX, G as BORDER_WIDTH_PREFIX, a6 as BUTTON_CSS_VAR_MAP, ao as BackgroundColor, ap as BackgroundPalette, aq as BackgroundPaletteAlias, ar as BackgroundStyleProps, as as BadgeSize, at as BadgeVariant, au as BorderRadius, av as BorderRadiusConfig, aw as BorderStyleProps, ax as BorderWidth, ay as BorderWidthConfig, az as ButtonBaseConfig, i as ButtonClassMap, aA as ButtonClassName, aB as ButtonColorConfig, aC as ButtonColorEffect, aD as ButtonColorEffectConfig, j as ButtonColorProperty, k as ButtonColorPropertyConfig, B as ButtonConfig, aE as ButtonKind, aF as ButtonMotionEffect, aG as ButtonMotionProperty, aH as ButtonMotionPropertyConfig, aI as ButtonPalette, aJ as ButtonPaletteColor, aK as ButtonPaletteConfig, aL as ButtonShadowPropertyConfig, aM as ButtonSize, aN as ButtonSizeConfig, aO as ButtonSizeProperty, aP as ButtonSpectrumColor, aQ as ButtonState, aR as ButtonStateConfig, aS as ButtonStateEffectConfig, aT as ButtonVariant, aU as ButtonVariantConfig, aV as ButtonVariantFlat, aW as CheckboxSize, aX as CheckboxValue, aY as CheckboxVariant, aZ as ChipSize, a_ as ChipVariant, C as ColorMode, a$ as ColorModeConfig, b0 as ColorModeForApp, a as ColorsConfig, b1 as ConfigurableDropShadowValues, b2 as ConfigurableInsetShadowValues, b3 as CustomSizingStyleProps, X as DARK_COLOR_MODE_CLASSNAME, a4 as DEFAULT_COLOR_MODE_CLASSNAME, a5 as DEFAULT_SCALE_MODE_CLASSNAME, b4 as DataAttribute, b5 as Display, b6 as DividerVariant, a9 as FONT_DECLARATIONS_MAP, J as FONT_FAMILY_PREFIX, K as FONT_SIZE_PREFIX, N as FONT_SLANT_PREFIX, L as FONT_WEIGHT_PREFIX, O as FONT_WIDTH_PREFIX, b7 as Flex, b8 as FlexAlignContent, b9 as FlexAlignItems, ba as FlexAlignSelf, bb as FlexBasis, bc as FlexDirection, bd as FlexGrow, be as FlexJustifyContent, bf as FlexShrink, bg as FlexStyleProps, bh as FlexWrap, bi as FontAlias, aa as FontAxisConfig, m as FontConfig, bj as FontCssVar, ab as FontDeclarationConfig, l as FontDeclarationItemConfig, ac as FontDeclarationMap, bk as FontFamilyCDNUrl, bl as FontFamilyConfig, F as FontID, bm as FontSize, bn as FontSizeConfig, bo as FontSlantConfig, bp as FontType, bq as FontWeightConfig, br as FontWeightDescriptive, ad as FontWeightForFont, bs as FontWeightNumeric, bt as FontWidthConfig, bu as ForegroundColor, bv as ForegroundPalette, bw as ForegroundPaletteAlias, bx as HighContrastMode, H as Hue, b as HueStep, a7 as ICON_BUTTON_CSS_VAR_MAP, Q as ICON_SIZE_PREFIX, I as IconButtonClassMap, by as IconButtonClassName, bz as IconButtonConfig, bA as IconButtonDefaultsConfig, bB as IconButtonSize, bC as IconSizeConfig, bD as ImageStyleProps, bE as InputSize, a0 as LARGE_SCALE_MODE_CLASSNAME, Y as LIGHT_COLOR_MODE_CLASSNAME, R as LINE_HEIGHT_PREFIX, bF as LayoutStyleProps, bG as LetterSpacing, bH as LineClampAlias, bI as LineColor, bJ as LineHeight, bK as LineHeightConfig, bL as LinePalette, bM as LinePaletteAlias, $ as MEDIUM_SCALE_MODE_CLASSNAME, T as MOTION_PREFIX, bN as Modes, p as MotionConfig, bO as MotionCssVar, bP as MotionSpringConfig, o as MotionSpringConfigOptions, M as MotionVariant, n as MotionVariantSpeed, bQ as MotionVariantValues, bR as Overflow, a8 as PSEUDO_STYLE_SELECTOR_MAP, bS as Palette, c as PaletteConfig, P as PaletteType, bT as PaletteValue, bU as PlatformMode, bV as Position, bW as PropertyToPaletteAliasMap, bX as RadioSize, bY as RadioValue, bZ as RadioVariant, b_ as RegionMode, _ as SMALL_SCALE_MODE_CLASSNAME, V as SPECTRUM_COLOR_PREFIX, b$ as ScaleConfig, c0 as ScaleEffectMap, S as ScaleMode, c1 as ScaleModeConfig, c2 as ScaleModeForApp, c3 as ShadowColor, c4 as ShadowColorConfig, c5 as ShadowConfig, c6 as ShadowOffset, c7 as ShadowOpacity, c8 as ShadowPalette, c9 as ShadowPaletteAlias, d as ShadowPreset, ca as ShadowSpreadRadius, cb as ShadowStyleProps, q as ShadowType, cc as ShadowTypeConfig, cd as ShadowVariant, ce as ShadowVariantConfig, cf as ShadowVariantInvert, cg as ShadowVariantWithInvert, ch as SharedPaletteAlias, ci as SpacingAlias, cj as SpacingConfig, ck as SpectrumColor, cl as SpectrumConfig, cm as StateStyleProps, cn as StyleProps, co as SwitchSize, W as TEXT_TRANSFORM_PREFIX, cx as TShirtSize, cy as TShirtSizeCommon, cp as TextProperty, cq as TextStyleProps, cr as TextTransform, cs as TextTransformConfig, ct as TextVariant, cu as TransitionDelay, cv as TransitionDuration, cw as TransitionTiming, A as UDS_PREFIX, cz as UdsCssVar, cA as UniversalAvatarIconProps, cB as UniversalAvatarImageProps, cC as UniversalAvatarProps, cD as UniversalAvatarTextProps, cE as UniversalBadgeProps, e as UniversalBoxProps, cF as UniversalButtonProps, cG as UniversalCheckboxProps, cH as UniversalChipBaseProps, cI as UniversalChipButtonProps, cJ as UniversalChipDismissibleProps, cK as UniversalChipLinkProps, cL as UniversalChipProps, cM as UniversalChipToggleProps, g as UniversalDividerProps, cN as UniversalIconButtonProps, cO as UniversalIconProps, cP as UniversalImageProps, h as UniversalInputProps, cQ as UniversalMenuItemProps, cR as UniversalPressableProps, cS as UniversalRadioGroupProps, cT as UniversalRadioProps, cU as UniversalSwitchProps, U as UniversalTokensConfig, cV as UniversalTokensConfigAuto, a1 as XLARGE_SCALE_MODE_CLASSNAME, Z as XSMALL_SCALE_MODE_CLASSNAME, a2 as XXLARGE_SCALE_MODE_CLASSNAME, a3 as XXXLARGE_SCALE_MODE_CLASSNAME, y as alwaysPalette, z as defaultUniversalTokensConfigAuto } from './types-oxQ-ciqn.js';
4
+ import { r as UniversalFormLabelProps, f as UniversalStackProps, s as IconPropsWithSVGProps, t as ImagePropsWithImgProps, u as UniversalIconSlot, v as UniversalLinkProps, w as UniversalTextProps } from './types-d2CfR7zp.js';
5
+ export { A as AVATAR_SIZE_PREFIX, ad as AlwaysPalette, ae as AlwaysPaletteAlias, af as AlwaysPaletteColor, ag as Animation, ah as AriaAttribute, ai as AvatarAbbreviationStrategy, aj as AvatarShape, ak as AvatarSize, al as AvatarSizeConfig, am as AvatarVariant, D as BORDER_RADIUS_PREFIX, E as BORDER_WIDTH_PREFIX, a5 as BUTTON_CSS_VAR_MAP, an as BackgroundColor, ao as BackgroundPalette, ap as BackgroundPaletteAlias, aq as BackgroundStyleProps, ar as BadgeSize, as as BadgeVariant, at as BorderRadius, au as BorderRadiusConfig, av as BorderStyleProps, aw as BorderWidth, ax as BorderWidthConfig, ay as ButtonBaseConfig, i as ButtonClassMap, az as ButtonClassName, aA as ButtonColorConfig, aB as ButtonColorEffect, aC as ButtonColorEffectConfig, j as ButtonColorProperty, k as ButtonColorPropertyConfig, B as ButtonConfig, aD as ButtonKind, aE as ButtonMotionEffect, aF as ButtonMotionProperty, aG as ButtonMotionPropertyConfig, aH as ButtonPalette, aI as ButtonPaletteColor, aJ as ButtonPaletteConfig, aK as ButtonShadowPropertyConfig, aL as ButtonSize, aM as ButtonSizeConfig, aN as ButtonSizeProperty, aO as ButtonSpectrumColor, aP as ButtonState, aQ as ButtonStateConfig, aR as ButtonStateEffectConfig, aS as ButtonVariant, aT as ButtonVariantConfig, aU as ButtonVariantFlat, aV as CheckboxSize, aW as CheckboxValue, aX as CheckboxVariant, aY as ChipSize, aZ as ChipVariant, C as ColorMode, a_ as ColorModeConfig, a$ as ColorModeForApp, a as ColorsConfig, b0 as ConfigurableDropShadowValues, b1 as ConfigurableInsetShadowValues, b2 as CustomSizingStyleProps, W as DARK_COLOR_MODE_CLASSNAME, a3 as DEFAULT_COLOR_MODE_CLASSNAME, a4 as DEFAULT_SCALE_MODE_CLASSNAME, b3 as DataAttribute, b4 as Display, b5 as DividerVariant, a8 as FONT_DECLARATIONS_MAP, G as FONT_FAMILY_PREFIX, J as FONT_SIZE_PREFIX, L as FONT_SLANT_PREFIX, K as FONT_WEIGHT_PREFIX, N as FONT_WIDTH_PREFIX, b6 as Flex, b7 as FlexAlignContent, b8 as FlexAlignItems, b9 as FlexAlignSelf, ba as FlexBasis, bb as FlexDirection, bc as FlexGrow, bd as FlexJustifyContent, be as FlexShrink, bf as FlexStyleProps, bg as FlexWrap, bh as FontAlias, a9 as FontAxisConfig, m as FontConfig, bi as FontCssVar, aa as FontDeclarationConfig, l as FontDeclarationItemConfig, ab as FontDeclarationMap, bj as FontFamilyCDNUrl, bk as FontFamilyConfig, F as FontID, bl as FontSize, bm as FontSizeConfig, bn as FontSlantConfig, bo as FontType, bp as FontWeightConfig, bq as FontWeightDescriptive, ac as FontWeightForFont, br as FontWeightNumeric, bs as FontWidthConfig, bt as ForegroundColor, bu as ForegroundPalette, bv as ForegroundPaletteAlias, bw as HighContrastMode, H as Hue, b as HueStep, a6 as ICON_BUTTON_CSS_VAR_MAP, O as ICON_SIZE_PREFIX, I as IconButtonClassMap, bx as IconButtonClassName, by as IconButtonConfig, bz as IconButtonDefaultsConfig, bA as IconButtonSize, bB as IconSizeConfig, bC as ImageStyleProps, bD as InputSize, $ as LARGE_SCALE_MODE_CLASSNAME, X as LIGHT_COLOR_MODE_CLASSNAME, Q as LINE_HEIGHT_PREFIX, bE as LayoutStyleProps, bF as LetterSpacing, bG as LineClampAlias, bH as LineColor, bI as LineHeight, bJ as LineHeightConfig, bK as LinePalette, bL as LinePaletteAlias, _ as MEDIUM_SCALE_MODE_CLASSNAME, R as MOTION_PREFIX, bM as Modes, p as MotionConfig, bN as MotionCssVar, bO as MotionSpringConfig, o as MotionSpringConfigOptions, M as MotionVariant, n as MotionVariantSpeed, bP as MotionVariantValues, bQ as Overflow, a7 as PSEUDO_STYLE_SELECTOR_MAP, bR as Palette, c as PaletteConfig, P as PaletteType, bS as PaletteValue, bT as PlatformMode, bU as Position, bV as PropertyToPaletteAliasMap, bW as RadioSize, bX as RadioValue, bY as RadioVariant, bZ as RegionMode, Z as SMALL_SCALE_MODE_CLASSNAME, T as SPECTRUM_COLOR_PREFIX, b_ as ScaleConfig, b$ as ScaleEffectMap, S as ScaleMode, c0 as ScaleModeConfig, c1 as ScaleModeForApp, c2 as ShadowColor, c3 as ShadowColorConfig, c4 as ShadowConfig, c5 as ShadowOffset, c6 as ShadowOpacity, c7 as ShadowPalette, c8 as ShadowPaletteAlias, d as ShadowPreset, c9 as ShadowSpreadRadius, ca as ShadowStyleProps, q as ShadowType, cb as ShadowTypeConfig, cc as ShadowVariant, cd as ShadowVariantConfig, ce as ShadowVariantInvert, cf as ShadowVariantWithInvert, cg as SharedPaletteAlias, ch as SpacingAlias, ci as SpacingConfig, cj as SpacingStyleProps, ck as SpectrumColor, cl as SpectrumConfig, cm as StateStyleProps, cn as StyleProps, co as SwitchSize, V as TEXT_TRANSFORM_PREFIX, cx as TShirtSize, cy as TShirtSizeCommon, cp as TextProperty, cq as TextStyleProps, cr as TextTransform, cs as TextTransformConfig, ct as TextVariant, cu as TransitionDelay, cv as TransitionDuration, cw as TransitionTiming, z as UDS_PREFIX, cz as UdsCssVar, cA as UniversalAvatarIconProps, cB as UniversalAvatarImageProps, cC as UniversalAvatarProps, cD as UniversalAvatarTextProps, cE as UniversalBadgeProps, e as UniversalBoxProps, cF as UniversalButtonProps, cG as UniversalCheckboxProps, cH as UniversalChipBaseProps, cI as UniversalChipButtonProps, cJ as UniversalChipDismissibleProps, cK as UniversalChipLinkProps, cL as UniversalChipProps, cM as UniversalChipToggleProps, g as UniversalDividerProps, cN as UniversalIconButtonProps, cO as UniversalIconProps, cP as UniversalImageProps, h as UniversalInputProps, cQ as UniversalMenuItemProps, cR as UniversalPressableProps, cS as UniversalRadioGroupProps, cT as UniversalRadioProps, cU as UniversalSwitchProps, U as UniversalTokensConfig, cV as UniversalTokensConfigAuto, a0 as XLARGE_SCALE_MODE_CLASSNAME, Y as XSMALL_SCALE_MODE_CLASSNAME, a1 as XXLARGE_SCALE_MODE_CLASSNAME, a2 as XXXLARGE_SCALE_MODE_CLASSNAME, x as alwaysPalette, y as defaultUniversalTokensConfigAuto } from './types-d2CfR7zp.js';
6
6
  import * as react from 'react';
7
7
  import { PropsWithChildren, Ref, Dispatch, SetStateAction } from 'react';
8
8
  export { Avatar, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarText, AvatarTextProps, Badge, BadgeProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipButton, ChipButtonProps, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipToggle, ChipToggleProps, IconButton, IconButtonProps, Input, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
9
9
  export { AllSelectors, BaseSelector, CssStyleObject, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, ParentVariantSelector, button, cartesianProduct, coalesceConfigVariant, defaultTokensConfig, entries, fontWeightMap, fromEntries, generateKeyFromFlatConfigPath, generateSchemaKey, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getDefaultButtonBaseMap, isConfigDefaultValue, mapValues, parseButtonVariantFlat, parseDeprecatedButtonPaletteVariant, setConfigPseudoStateVariable, shadow, variants } from './tokens/index.js';
10
10
  export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.js';
11
- export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-B1ZHRmSN.js';
11
+ export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-CU_UPAew.js';
12
12
  export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
13
13
  import 'motion/react';
14
14
  import 'type-fest';
15
15
  import '@yahoo/uds/fixtures';
16
16
 
17
17
  type HtmlLabelProps = Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'color'>;
18
- interface FormLabelProps extends UniversalFormLabelProps, PropsWithChildren, HtmlLabelProps, SpacingStyleProps {
18
+ interface FormLabelProps extends UniversalFormLabelProps, PropsWithChildren, HtmlLabelProps {
19
19
  }
20
- declare const FormLabel: ({ htmlFor, required, children, spacingStart, color, variant, hasError, showRequiredAsterisk, className, ...rest }: FormLabelProps) => react_jsx_runtime.JSX.Element | null;
20
+ declare const FormLabel: ({ htmlFor, required, label, children, color, variant, hasError, showRequiredAsterisk, as, className, ...rest }: FormLabelProps) => react_jsx_runtime.JSX.Element | null;
21
21
 
22
22
  interface HStackProps extends UniversalStackProps, DivProps {
23
23
  }
@@ -163,7 +163,7 @@ interface LinkProps extends HTMLAnchorProps, UniversalLinkProps {
163
163
  **/
164
164
  declare const Link: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLAnchorElement>>;
165
165
 
166
- type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li';
166
+ type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
167
167
  type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
168
168
  type VariantWithInherit = Exclude<UniversalTextProps['variant'], undefined> | 'inherit';
169
169
  type TextProps<TagName extends TextElementTagName = TextElementTagName> = {
@@ -284,14 +284,23 @@ interface CX<T> {
284
284
  declare const cx: CX<string>;
285
285
  declare const cva: CVA<string>;
286
286
  declare const getStylesInternal: (props?: ({
287
- radioVariantValueRoot?: "checked" | "unchecked" | undefined;
288
- radioVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
289
- radioVariantValueRadio?: "checked" | "unchecked" | undefined;
290
- radioVariantRadio?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
291
- radioVariantValueRadioCircle?: "checked" | "unchecked" | undefined;
292
- radioVariantRadioCircle?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
293
- radioSizeRoot?: "sm" | "md" | undefined;
294
- radioSizeRadio?: "sm" | "md" | undefined;
287
+ avatarSizeRoot?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
288
+ avatarSizeIcon?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
289
+ avatarTextVariantRoot?: "primary" | "secondary" | undefined;
290
+ avatarImageVariantRoot?: "primary" | "secondary" | undefined;
291
+ avatarIconVariantRoot?: "primary" | "secondary" | undefined;
292
+ badgeSizeRoot?: "xs" | "sm" | "md" | "lg" | undefined;
293
+ badgeSizeIcon?: "xs" | "sm" | "md" | "lg" | undefined;
294
+ badgeVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
295
+ badgeVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
296
+ checkboxSizeRoot?: "sm" | "md" | undefined;
297
+ checkboxSizeCheckbox?: "sm" | "md" | undefined;
298
+ checkboxVariantValueRoot?: "checked" | "unchecked" | "indeterminate" | undefined;
299
+ checkboxVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
300
+ checkboxVariantValueCheckbox?: "checked" | "unchecked" | "indeterminate" | undefined;
301
+ checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
302
+ checkboxVariantValueCheckboxIcon?: "checked" | "unchecked" | "indeterminate" | undefined;
303
+ checkboxVariantCheckboxIcon?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
295
304
  chipSizeRoot?: "sm" | "md" | undefined;
296
305
  chipToggleVariantActiveRoot?: "on" | "off" | undefined;
297
306
  chipToggleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
@@ -301,47 +310,9 @@ declare const getStylesInternal: (props?: ({
301
310
  chipDismissibleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
302
311
  chipLinkVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
303
312
  chipLinkVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
304
- switchVariantActiveRoot?: "on" | "off" | undefined;
305
- switchVariantRoot?: "default" | undefined;
306
- switchVariantActiveSwitch?: "on" | "off" | undefined;
307
- switchVariantSwitch?: "default" | undefined;
308
- switchVariantActiveHandle?: "on" | "off" | undefined;
309
- switchVariantHandle?: "default" | undefined;
310
- switchVariantActiveHandleIcon?: "on" | "off" | undefined;
311
- switchVariantHandleIcon?: "default" | undefined;
312
- switchSizeRoot?: "sm" | "md" | undefined;
313
- switchSizeSwitch?: "sm" | "md" | undefined;
314
- switchSizeHandle?: "sm" | "md" | undefined;
315
- switchSizeHandleIcon?: "sm" | "md" | undefined;
316
- linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
317
- linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
318
- linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
319
- linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
320
- linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
321
- avatarSizeRoot?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
322
- avatarSizeIcon?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
323
- avatarTextVariantRoot?: "primary" | "secondary" | undefined;
324
- avatarImageVariantRoot?: "primary" | "secondary" | undefined;
325
- avatarIconVariantRoot?: "primary" | "secondary" | undefined;
326
- menuSizeRoot?: "default" | undefined;
327
- menuSizeStartIcon?: "default" | undefined;
328
- menuSizeEndIcon?: "default" | undefined;
329
- menuItemVariantActiveRoot?: "on" | "off" | undefined;
330
- menuItemVariantRoot?: "default" | undefined;
331
- menuItemVariantActiveText?: "on" | "off" | undefined;
332
- menuItemVariantText?: "default" | undefined;
333
- menuItemVariantActiveIcon?: "on" | "off" | undefined;
334
- menuItemVariantIcon?: "default" | undefined;
335
- menuItemCheckboxVariantActiveRoot?: "on" | "off" | undefined;
336
- menuItemCheckboxVariantRoot?: "default" | undefined;
337
- menuItemCheckboxVariantActiveText?: "on" | "off" | undefined;
338
- menuItemCheckboxVariantText?: "default" | undefined;
339
- menuItemCheckboxVariantActiveStartIcon?: "on" | "off" | undefined;
340
- menuItemCheckboxVariantStartIcon?: "default" | undefined;
341
- menuItemCheckboxVariantActiveEndIcon?: "on" | "off" | undefined;
342
- menuItemCheckboxVariantEndIcon?: "default" | undefined;
343
- menuDividerVariantRoot?: "default" | undefined;
344
- menuDividerVariantText?: "default" | undefined;
313
+ dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
314
+ dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
315
+ dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
345
316
  inputSizeRoot?: "md" | "lg" | undefined;
346
317
  inputSizeInputWrapper?: "md" | "lg" | undefined;
347
318
  inputSizeInput?: "md" | "lg" | undefined;
@@ -370,56 +341,85 @@ declare const getStylesInternal: (props?: ({
370
341
  inputVariantHelperIcon?: "default" | undefined;
371
342
  inputVariantValueHelperText?: "filled" | "empty" | undefined;
372
343
  inputVariantHelperText?: "default" | undefined;
373
- dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
374
- dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
375
- dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
376
- badgeSizeRoot?: "sm" | "md" | "xs" | "lg" | undefined;
377
- badgeSizeIcon?: "sm" | "md" | "xs" | "lg" | undefined;
378
- badgeVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
379
- badgeVariantIcon?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
380
- checkboxSizeRoot?: "sm" | "md" | undefined;
381
- checkboxSizeCheckbox?: "sm" | "md" | undefined;
382
- checkboxVariantValueRoot?: "checked" | "unchecked" | "indeterminate" | undefined;
383
- checkboxVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
384
- checkboxVariantValueCheckbox?: "checked" | "unchecked" | "indeterminate" | undefined;
385
- checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
386
- checkboxVariantValueCheckboxIcon?: "checked" | "unchecked" | "indeterminate" | undefined;
387
- checkboxVariantCheckboxIcon?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
388
- color?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "tertiary" | "on-color" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
389
- placeholderColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "tertiary" | "on-color" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
344
+ linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
345
+ linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
346
+ linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
347
+ linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
348
+ linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
349
+ menuSizeRoot?: "default" | undefined;
350
+ menuSizeStartIcon?: "default" | undefined;
351
+ menuSizeEndIcon?: "default" | undefined;
352
+ menuItemVariantActiveRoot?: "on" | "off" | undefined;
353
+ menuItemVariantRoot?: "default" | undefined;
354
+ menuItemVariantActiveText?: "on" | "off" | undefined;
355
+ menuItemVariantText?: "default" | undefined;
356
+ menuItemVariantActiveIcon?: "on" | "off" | undefined;
357
+ menuItemVariantIcon?: "default" | undefined;
358
+ menuItemCheckboxVariantActiveRoot?: "on" | "off" | undefined;
359
+ menuItemCheckboxVariantRoot?: "default" | undefined;
360
+ menuItemCheckboxVariantActiveText?: "on" | "off" | undefined;
361
+ menuItemCheckboxVariantText?: "default" | undefined;
362
+ menuItemCheckboxVariantActiveStartIcon?: "on" | "off" | undefined;
363
+ menuItemCheckboxVariantStartIcon?: "default" | undefined;
364
+ menuItemCheckboxVariantActiveEndIcon?: "on" | "off" | undefined;
365
+ menuItemCheckboxVariantEndIcon?: "default" | undefined;
366
+ menuDividerVariantRoot?: "default" | undefined;
367
+ menuDividerVariantText?: "default" | undefined;
368
+ radioVariantValueRoot?: "checked" | "unchecked" | undefined;
369
+ radioVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
370
+ radioVariantValueRadio?: "checked" | "unchecked" | undefined;
371
+ radioVariantRadio?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
372
+ radioVariantValueRadioCircle?: "checked" | "unchecked" | undefined;
373
+ radioVariantRadioCircle?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
374
+ radioSizeRoot?: "sm" | "md" | undefined;
375
+ radioSizeRadio?: "sm" | "md" | undefined;
376
+ switchVariantActiveRoot?: "on" | "off" | undefined;
377
+ switchVariantRoot?: "default" | undefined;
378
+ switchVariantActiveSwitch?: "on" | "off" | undefined;
379
+ switchVariantSwitch?: "default" | undefined;
380
+ switchVariantActiveHandle?: "on" | "off" | undefined;
381
+ switchVariantHandle?: "default" | undefined;
382
+ switchVariantActiveHandleIcon?: "on" | "off" | undefined;
383
+ switchVariantHandleIcon?: "default" | undefined;
384
+ switchSizeRoot?: "sm" | "md" | undefined;
385
+ switchSizeSwitch?: "sm" | "md" | undefined;
386
+ switchSizeHandle?: "sm" | "md" | undefined;
387
+ switchSizeHandleIcon?: "sm" | "md" | undefined;
388
+ color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "on-color" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
389
+ placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "on-color" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
390
390
  fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "serif" | "sans" | "mono" | "sans-alt" | "serif-alt" | undefined;
391
391
  fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
392
392
  fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "thin" | "black" | "extralight" | "light" | "regular" | "medium" | "semibold" | "bold" | "extrabold" | undefined;
393
393
  lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
394
394
  textAlign?: "center" | "end" | "start" | "justify" | undefined;
395
395
  textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
396
- spacing?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
397
- spacingHorizontal?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
398
- spacingVertical?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
399
- spacingBottom?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
400
- spacingEnd?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
401
- spacingStart?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
402
- spacingTop?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
403
- offset?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
404
- offsetVertical?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
405
- offsetHorizontal?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
406
- offsetBottom?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
407
- offsetEnd?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
408
- offsetStart?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
409
- offsetTop?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
410
- columnGap?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
411
- rowGap?: "2" | "4" | "2.5" | "5" | "3" | "1" | "1.5" | "0" | "8" | "0.5" | "7" | "12" | "6" | "10" | "16" | "3.5" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
412
- backgroundColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
413
- borderColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
414
- borderStartColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
415
- borderEndColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
416
- borderBottomColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
417
- borderTopColor?: "primary" | "secondary" | "alert" | "alert-secondary" | "brand" | "brand-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
418
- borderRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "full" | "none" | undefined;
419
- borderTopStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "full" | "none" | undefined;
420
- borderTopEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "full" | "none" | undefined;
421
- borderBottomStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "full" | "none" | undefined;
422
- borderBottomEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "full" | "none" | undefined;
396
+ spacing?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
397
+ spacingHorizontal?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
398
+ spacingVertical?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
399
+ spacingBottom?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
400
+ spacingEnd?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
401
+ spacingStart?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
402
+ spacingTop?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
403
+ offset?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
404
+ offsetVertical?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
405
+ offsetHorizontal?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
406
+ offsetBottom?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
407
+ offsetEnd?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
408
+ offsetStart?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
409
+ offsetTop?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
410
+ columnGap?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
411
+ rowGap?: "6" | "7" | "10" | "12" | "16" | "2" | "0.5" | "4" | "1" | "1.5" | "8" | "2.5" | "5" | "3" | "3.5" | "0" | "9" | "11" | "14" | "px" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
412
+ backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
413
+ borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
414
+ borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
415
+ borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
416
+ borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
417
+ borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "tertiary" | "muted" | "accent" | "transparent" | "white" | "black" | "current" | undefined;
418
+ borderRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
419
+ borderTopStartRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
420
+ borderTopEndRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
421
+ borderBottomStartRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
422
+ borderBottomEndRadius?: "xs" | "sm" | "md" | "lg" | "xl" | "full" | "none" | undefined;
423
423
  borderWidth?: "thin" | "none" | "medium" | "thick" | undefined;
424
424
  borderVerticalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
425
425
  borderHorizontalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
@@ -427,14 +427,14 @@ declare const getStylesInternal: (props?: ({
427
427
  borderEndWidth?: "thin" | "none" | "medium" | "thick" | undefined;
428
428
  borderTopWidth?: "thin" | "none" | "medium" | "thick" | undefined;
429
429
  borderBottomWidth?: "thin" | "none" | "medium" | "thick" | undefined;
430
- avatarSize?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
430
+ avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
431
431
  iconSize?: "sm" | "md" | "lg" | undefined;
432
432
  alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
433
433
  alignItems?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | undefined;
434
434
  alignSelf?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | "auto" | undefined;
435
435
  flex?: "1" | "none" | "initial" | "auto" | undefined;
436
436
  flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
437
- flexGrow?: "2" | "3" | "1" | "0" | undefined;
437
+ flexGrow?: "2" | "1" | "3" | "0" | undefined;
438
438
  flexShrink?: "1" | "0" | undefined;
439
439
  flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
440
440
  justifyContent?: "center" | "flex-end" | "flex-start" | "space-between" | "space-around" | "space-evenly" | undefined;
@@ -447,14 +447,14 @@ declare const getStylesInternal: (props?: ({
447
447
  contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
448
448
  colorMode?: "light" | "dark" | undefined;
449
449
  scaleMode?: "medium" | "xSmall" | "small" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
450
- buttonPalette?: "alert" | "brand" | "warning" | "positive" | "info" | "accent" | undefined;
450
+ buttonPalette?: "brand" | "alert" | "warning" | "positive" | "info" | "accent" | undefined;
451
451
  buttonVariant?: "primary" | "secondary" | "tertiary" | undefined;
452
452
  buttonSize?: "sm" | "md" | "lg" | undefined;
453
- iconButtonSize?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
453
+ iconButtonSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
454
454
  width?: "full" | "fit" | "screen" | undefined;
455
455
  height?: "full" | "fit" | "screen" | undefined;
456
- dropShadow?: "sm" | "md" | "xs" | "lg" | "xl" | "2xl" | "none" | undefined;
457
- insetShadow?: "sm" | "md" | "xs" | "lg" | "xl" | "2xl" | "2xl-invert" | "md-invert" | "xl-invert" | "none" | "sm-invert" | "xs-invert" | "lg-invert" | undefined;
456
+ dropShadow?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "none" | undefined;
457
+ insetShadow?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xl-invert" | "none" | "md-invert" | "xl-invert" | "xs-invert" | "sm-invert" | "lg-invert" | undefined;
458
458
  } & {
459
459
  className?: string | undefined;
460
460
  }) | undefined) => string;
@@ -463,4 +463,4 @@ declare const getStyles: (props: GetStylesInternalProps) => string;
463
463
 
464
464
  type SetState<T> = Dispatch<SetStateAction<T>>;
465
465
 
466
- export { FormLabel, type FormLabelProps, HStack, type HStackProps, Icon, IconPropsWithSVGProps as IconProps, IconPropsWithSVGProps, Image, ImagePropsWithImgProps as ImageProps, ImagePropsWithImgProps, InputHelpTextMemo as InputHelpText, type InputHelpTextProps, Link, type LinkProps, type SetState, SpacingStyleProps, Text, type TextProps, UniversalFormLabelProps, UniversalIconSlot, UniversalLinkProps, UniversalStackProps, UniversalTextProps, cva, cx, getStyles };
466
+ export { FormLabel, type FormLabelProps, HStack, type HStackProps, Icon, IconPropsWithSVGProps as IconProps, IconPropsWithSVGProps, Image, ImagePropsWithImgProps as ImageProps, ImagePropsWithImgProps, InputHelpTextMemo as InputHelpText, type InputHelpTextProps, Link, type LinkProps, type SetState, Text, type TextProps, UniversalFormLabelProps, UniversalIconSlot, UniversalLinkProps, UniversalStackProps, UniversalTextProps, cva, cx, getStyles };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{getStyles as e,cx as t,IconSlot as a,Text as n}from"./chunk-IGRY2O2E.js";export{Box,Divider,HStack,Icon,Image,InputHelpTextMemo as InputHelpText,Text,VStack,cva,cx,getStyles}from"./chunk-IGRY2O2E.js";export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,alwaysPalette,button,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStateConfig,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,defaultTokensConfig,defaultUniversalTokensConfigAuto,findFixtureType,fontWeightMap,fromEntries,generateClassName,generateDeclaration,generateKeyFromFlatConfigPath,generateSchemaKey,generateStyles,getConfigDefaultValue,getConfigPseudoStateVariables,getConfigPseudoStateVariablesWithSetter,getConfigSubcomponents,getConfigVariantComponentStates,getConfigVariantComponentStatesMatrix,getConfigVariantProperties,getConfigVariantPseudoStates,getConfigVariants,getDefaultButtonBaseMap,isConfigDefaultValue,parseButtonVariantFlat,parseDeprecatedButtonPaletteVariant,setConfigPseudoStateVariable,shadow,statePseudoMapDocsMode,toMinimalDbConfigObject}from"./chunk-SWTZ62RF.js";export{variants}from"./chunk-COT7GQ26.js";export{entries,mapValues}from"./chunk-3R4CMTF2.js";export{AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_CSS_VAR_MAP,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_SLANT_PREFIX,FONT_WEIGHT_PREFIX,FONT_WIDTH_PREFIX,ICON_BUTTON_CSS_VAR_MAP,ICON_SIZE_PREFIX,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"./chunk-ROCVTVD4.js";import{jsxs as r,jsx as o}from"react/jsx-runtime";import{forwardRef as i,useMemo as s}from"react";export{Avatar,AvatarIcon,AvatarImage,AvatarText,Badge,Button,Checkbox,Chip,ChipButton,ChipDismissible,ChipLink,ChipToggle,IconButton,Input,Menu,Pressable,Radio,RadioGroupProvider,SpringMotionConfig,Switch}from"@yahoo/uds/client";/*! © 2025 Yahoo, Inc. UDS v3.0.0-development */var _=({htmlFor:e,required:a,children:i,spacingStart:s,color:_="muted",variant:E="label3",hasError:l=!1,showRequiredAsterisk:S=!1,className:c,...C})=>void 0===i?null:r(n,{variant:E,color:l?"alert":_,as:"label",htmlFor:e,spacingStart:s,className:t("cursor-[inherit]",c),...C,children:[i,a&&S&&o(n,{variant:E,as:"span",color:l?"alert":"muted",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}),E=i((function({variant:n="primary",textVariant:i,startIcon:_,endIcon:E,alwaysUnderline:l=!1,children:S,className:c,...C},A){const O=!i,g=s((()=>{const a=!O&&e({linkTextStyleRoot:i,fontSize:i,fontFamily:i,fontWeight:i,lineHeight:i,textTransform:i});return e({linkVariantRoot:n,display:"inline-flex",alignItems:"center",className:t(a,"uds-ring",l?"underline":"hover:underline",c)})}),[l,O,i,n,c]),u=e({linkVariantIconStart:n,linkTextStyleIcon:i,className:t(O&&"w-[0.7em] h-[0.7em]")}),L=e({linkVariantIconEnd:n,linkTextStyleIcon:i,className:t(O&&"w-[0.7em] h-[0.7em]")}),R={variant:"outline",color:"current"};return r("a",{ref:A,className:g,...C,children:[_&&o(a,{className:u,icon:_,iconProps:R,"data-testid":"start-icon"}),S,E&&o(a,{className:L,icon:E,iconProps:R,"data-testid":"end-icon"})]})}));export{_ as FormLabel,E as Link};
1
+ import{getStyles as e,cx as t,IconSlot as a}from"./chunk-WCB4EHGZ.js";export{Box,Divider,FormLabel,HStack,Icon,Image,InputHelpTextMemo as InputHelpText,Text,VStack,cva,cx,getStyles}from"./chunk-WCB4EHGZ.js";export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,alwaysPalette,button,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStateConfig,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,defaultTokensConfig,defaultUniversalTokensConfigAuto,findFixtureType,fontWeightMap,fromEntries,generateClassName,generateDeclaration,generateKeyFromFlatConfigPath,generateSchemaKey,generateStyles,getConfigDefaultValue,getConfigPseudoStateVariables,getConfigPseudoStateVariablesWithSetter,getConfigSubcomponents,getConfigVariantComponentStates,getConfigVariantComponentStatesMatrix,getConfigVariantProperties,getConfigVariantPseudoStates,getConfigVariants,getDefaultButtonBaseMap,isConfigDefaultValue,parseButtonVariantFlat,parseDeprecatedButtonPaletteVariant,setConfigPseudoStateVariable,shadow,statePseudoMapDocsMode,toMinimalDbConfigObject}from"./chunk-6CVEYTLQ.js";export{variants}from"./chunk-N3FKHXEJ.js";export{entries,mapValues}from"./chunk-EWJ3J526.js";export{AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_CSS_VAR_MAP,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_SLANT_PREFIX,FONT_WEIGHT_PREFIX,FONT_WIDTH_PREFIX,ICON_BUTTON_CSS_VAR_MAP,ICON_SIZE_PREFIX,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"./chunk-4G4TBHHL.js";import{forwardRef as n,useMemo as o}from"react";import{jsxs as i,jsx as r}from"react/jsx-runtime";export{Avatar,AvatarIcon,AvatarImage,AvatarText,Badge,Button,Checkbox,Chip,ChipButton,ChipDismissible,ChipLink,ChipToggle,IconButton,Input,Menu,Pressable,Radio,RadioGroupProvider,SpringMotionConfig,Switch}from"@yahoo/uds/client";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var E=n((function({variant:n="primary",textVariant:E,startIcon:_,endIcon:s,alwaysUnderline:C=!1,children:S,className:A,...c},l){const L=!E,g=o((()=>{const a=!L&&e({linkTextStyleRoot:E,fontSize:E,fontFamily:E,fontWeight:E,lineHeight:E,textTransform:E});return e({linkVariantRoot:n,display:"inline-flex",alignItems:"center",className:t(a,"uds-ring",C?"underline":"hover:underline",A)})}),[C,L,E,n,A]),O=e({linkVariantIconStart:n,linkTextStyleIcon:E,className:t(L&&"w-[0.7em] h-[0.7em]")}),f=e({linkVariantIconEnd:n,linkTextStyleIcon:E,className:t(L&&"w-[0.7em] h-[0.7em]")}),M={variant:"outline",color:"current"};return i("a",{ref:l,className:g,...c,children:[_&&r(a,{className:O,icon:_,iconProps:M,"data-testid":"start-icon"}),S,s&&r(a,{className:f,icon:s,iconProps:M,"data-testid":"end-icon"})]})}));export{E as Link};