@yahoo/uds 3.14.0 → 3.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Box-DWg0lLcd.d.cts → Box-CcXdv2Rw.d.cts} +2 -2
- package/dist/{Box-DWg0lLcd.d.ts → Box-CcXdv2Rw.d.ts} +2 -2
- package/dist/{Input-Dl4MH4QA.d.ts → Input-9mqqHyM_.d.ts} +1 -1
- package/dist/Input-CqWvnTE2.d.ts +42 -0
- package/dist/{Input-aOibmfef.d.cts → Input-CsnKIM7r.d.cts} +1 -1
- package/dist/Input-zEU4biDe.d.cts +42 -0
- package/dist/{Pressable-mC6RJscK.d.cts → Pressable-DG4fPi9g.d.cts} +1 -1
- package/dist/Pressable-DJiKOTnV.d.cts +44 -0
- package/dist/{Pressable-SbKe8rDQ.d.ts → Pressable-Ujv71dpY.d.ts} +1 -1
- package/dist/Pressable-pKA6lolm.d.ts +44 -0
- package/dist/{VStack-z0qYJqIc.d.cts → VStack-C-52-Shi.d.cts} +1 -1
- package/dist/{VStack-CntCBGfp.d.ts → VStack-CL70cH04.d.ts} +1 -1
- package/dist/VStack-P1-kL67Z.d.cts +112 -0
- package/dist/VStack-PqVPCp0y.d.ts +112 -0
- package/dist/chunk-2M47C3AI.cjs +2 -0
- package/dist/chunk-37LEXEW4.js +3 -0
- package/dist/{chunk-XYUF3GPH.js → chunk-5ZMNC32B.js} +1 -1
- package/dist/chunk-6BNYCBB5.cjs +1 -0
- package/dist/chunk-A6QBZQH4.cjs +1 -0
- package/dist/chunk-BIT4ZYYL.cjs +1 -0
- package/dist/{chunk-BYASTYEI.cjs → chunk-FSOKVNOU.cjs} +1 -1
- package/dist/{chunk-BCFYKKRU.cjs → chunk-JFLE7LSO.cjs} +3 -3
- package/dist/chunk-M5SXYW4O.js +1 -0
- package/dist/{chunk-DVGFVNDI.js → chunk-MSCQUXK7.js} +1 -1
- package/dist/chunk-NYAQO47N.js +2 -0
- package/dist/chunk-OCQZCUT3.js +2 -0
- package/dist/{chunk-YV2EYDJK.cjs → chunk-OMJ3BDEX.cjs} +1 -1
- package/dist/{chunk-EGWHQYCX.cjs → chunk-PFR7GTUT.cjs} +1 -1
- package/dist/{chunk-ZSLO4JSU.cjs → chunk-Q6L5YDK4.cjs} +1 -1
- package/dist/{chunk-OVXGAHLE.cjs → chunk-RDF2NPZV.cjs} +1 -1
- package/dist/{chunk-S2FXUKQX.js → chunk-RR45EHLK.js} +2 -2
- package/dist/chunk-SEY2DW3I.js +3 -0
- package/dist/chunk-TJZ4HVAG.cjs +3 -0
- package/dist/{chunk-FDIYBNDK.js → chunk-V6XWDWEY.js} +3 -3
- package/dist/{chunk-WMOJ5WXH.js → chunk-W4KK6R6C.js} +1 -1
- package/dist/chunk-YR633T75.cjs +1 -0
- package/dist/chunk-YVEYAMML.js +1 -0
- package/dist/{chunk-AWSJDBQH.js → chunk-Z2ZVRADJ.js} +1 -1
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.d.cts +3 -3
- package/dist/client/Menu.d.ts +3 -3
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +1 -1
- package/dist/experimental/client/index.cjs +1 -1
- package/dist/experimental/client/index.d.cts +1 -1
- package/dist/experimental/client/index.d.ts +1 -1
- package/dist/experimental/client/index.js +1 -1
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.d.cts +1 -1
- package/dist/experimental/index.d.ts +1 -1
- package/dist/experimental/index.js +2 -2
- package/dist/fixtures.cjs +11 -2
- package/dist/fixtures.js +11 -2
- package/dist/index-CAFGK7nu.d.ts +243 -0
- package/dist/{index-Dwb73uSE.d.ts → index-ChofTMM1.d.ts} +1 -1
- package/dist/index-Dffuri1m.d.cts +243 -0
- package/dist/{index-DSqYDAbI.d.cts → index-DuXo_Lq2.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +23 -22
- package/dist/index.d.ts +23 -22
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/plugin.js +2 -2
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +1 -1
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +1 -1
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +26 -6
- package/dist/tokens/index.d.ts +26 -6
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/{types-B4Hts0Xm.d.cts → types-CN9tOfEO.d.cts} +2031 -2015
- package/dist/{types-B4Hts0Xm.d.ts → types-CN9tOfEO.d.ts} +2031 -2015
- package/dist/types-kxTkQgcG.d.cts +10465 -0
- package/dist/types-kxTkQgcG.d.ts +10465 -0
- package/package.json +1 -1
- package/cli/FlattenButtonVariant.mock.tsx +0 -17
package/dist/index.d.cts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { a as DivProps } from './VStack-
|
2
|
-
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-
|
1
|
+
import { a as DivProps } from './VStack-C-52-Shi.cjs';
|
2
|
+
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-C-52-Shi.cjs';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
|
-
import { u as UniversalFormLabelProps, h as UniversalStackProps, v as IconPropsWithSVGProps, w as ImagePropsWithImgProps, x as UniversalIconSlot, y as UniversalLinkProps, z as UniversalTextProps } from './types-
|
5
|
-
export { G as AVATAR_SIZE_PREFIX, ah as AlwaysPalette, ai as AlwaysPaletteAlias, aj as AlwaysPaletteColor, ak as Animation, al as AriaAttribute, am as AvatarAbbreviationStrategy, an as AvatarShape, ao as AvatarSize, ap as AvatarSizeConfig, aq as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, a9 as BUTTON_CSS_VAR_MAP, ar as BackgroundColor, as as BackgroundPalette, at as BackgroundPaletteAlias, au as BackgroundStyleProps, av as BadgeSize, aw as BadgeVariant, ax as BorderRadius, ay as BorderRadiusConfig, az as BorderStyleProps, aA as BorderWidth, aB as BorderWidthConfig, aC as Breakpoint, aD as BreakpointsConfig, aE as ButtonBaseConfig, j as ButtonClassMap, aF as ButtonClassName, aG as ButtonColorConfig, aH as ButtonColorEffect, aI as ButtonColorEffectConfig, k as ButtonColorProperty, l as ButtonColorPropertyConfig, B as ButtonConfig, aJ as ButtonKind, aK as ButtonMotionEffect, aL as ButtonMotionProperty, aM as ButtonMotionPropertyConfig, aN as ButtonPalette, aO as ButtonPaletteColor, aP as ButtonPaletteConfig, aQ as ButtonShadowPropertyConfig, aR as ButtonSize, aS as ButtonSizeConfig, aT as ButtonSizeProperty, aU as ButtonSpectrumColor, aV as ButtonState, aW as ButtonStateConfig, aX as ButtonStateEffectConfig, aY as ButtonVariant, aZ as ButtonVariantConfig, a_ as ButtonVariantFlat, a$ as CheckboxSize, b0 as CheckboxValue, b1 as CheckboxVariant, b2 as ChipSize, b3 as ChipVariant, C as ColorMode, b4 as ColorModeConfig, b5 as ColorModeForApp, c as ColorsConfig, b6 as ConfigurableDropShadowValues, b7 as ConfigurableInsetShadowValues, b8 as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a6 as DEFAULT_COLOR_MODE_CLASSNAME, a7 as DEFAULT_SCALE_MODE_CLASSNAME, b9 as DataAttribute, ba as Display, bb as DividerVariant, ac as FONT_DECLARATIONS_MAP, L as FONT_FAMILY_PREFIX, N as FONT_SIZE_PREFIX, Q as FONT_SLANT_PREFIX, O as FONT_WEIGHT_PREFIX, R as FONT_WIDTH_PREFIX, bc as Flex, bd as FlexAlignContent, be as FlexAlignItems, bf as FlexAlignSelf, bg as FlexBasis, bh as FlexDirection, bi as FlexGrow, bj as FlexJustifyContent, bk as FlexShrink, bl as FlexStyleProps, bm as FlexWrap, bn as FontAlias, ad as FontAxisConfig, p as FontConfig, bo as FontCssVar, ae as FontDeclarationConfig, o as FontDeclarationItemConfig, af as FontDeclarationMap, bp as FontFamilyCDNUrl, bq as FontFamilyConfig, F as FontID, br as FontSize, bs as FontSizeConfig, bt as FontSlantConfig, bu as FontType, bv as FontWeightConfig, bw as FontWeightDescriptive, ag as FontWeightForFont, bx as FontWeightNumeric, by as FontWidthConfig, bz as ForegroundColor, bA as ForegroundPalette, bB as ForegroundPaletteAlias, bC as GlobalDefaultsConfig, bD as HighContrastMode, H as Hue, d as HueStep, aa as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bE as IconButtonClassName, bF as IconButtonConfig, bG as IconButtonDefaultsConfig, bH as IconButtonSize, bI as IconSizeConfig, bJ as ImageStyleProps, bK as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bL as LayoutStyleProps, bM as LetterSpacing, bN as LineClampAlias, bO as LineColor, bP as LineHeight, bQ as LineHeightConfig, bR as LinePalette, bS as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bT as Modes, s as MotionConfig, bU as MotionCssVar, bV as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bW as MotionVariantValues, bX as Overflow, ab as PSEUDO_STYLE_SELECTOR_MAP, bY as Palette, e as PaletteConfig, P as PaletteType, bZ as PaletteValue, b_ as Pixels, b$ as PlatformMode, c0 as Position, c1 as PropertyToPaletteAliasMap, c2 as RadioSize, c3 as RadioValue, c4 as RadioVariant, c5 as RegionMode, c6 as Rems, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c7 as ScaleConfig, c8 as ScaleEffectMap, S as ScaleMode, c9 as ScaleModeConfig, ca as ScaleModeForApp, cb as ShadowColor, cc as ShadowColorConfig, cd as ShadowConfig, ce as ShadowOffset, cf as ShadowOpacity, cg as ShadowPalette, ch as ShadowPaletteAlias, f as ShadowPreset, ci as ShadowSpreadRadius, cj as ShadowStyleProps, t as ShadowType, ck as ShadowTypeConfig, cl as ShadowVariant, cm as ShadowVariantConfig, cn as ShadowVariantInvert, co as ShadowVariantWithInvert, cp as SharedPaletteAlias, m as SpacingAlias, cq as SpacingConfig, cr as SpacingStyleProps, cs as SpectrumColor, ct as SpectrumConfig, cu as StateStyleProps, cv as StyleProps, cw as SwitchSize, a8 as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cG as TShirtSize, cH as TShirtSizeCommon, cx as TextDecorationLine, cy as TextProperty, cz as TextStyleProps, cA as TextTransform, cB as TextTransformConfig, cC as TextVariant, cD as TransitionDelay, cE as TransitionDuration, cF as TransitionTiming, cI as TypographyConfig, cJ as TypographyResponsiveProperty, cK as TypographyStyle, cL as TypographyStyleProperty, cM as TypographyUnitValue, E as UDS_PREFIX, cN as UdsCssVar, cO as Unitless, cP as UniversalAvatarIconProps, cQ as UniversalAvatarImageProps, cR as UniversalAvatarProps, cS as UniversalAvatarTextProps, cT as UniversalBadgeProps, g as UniversalBoxProps, cU as UniversalButtonProps, cV as UniversalCheckboxProps, cW as UniversalChipBaseProps, cX as UniversalChipButtonProps, cY as UniversalChipDismissibleProps, cZ as UniversalChipLinkProps, c_ as UniversalChipProps, c$ as UniversalChipToggleProps, i as UniversalDividerProps, d0 as UniversalIconButtonProps, d1 as UniversalIconProps, d2 as UniversalImageProps, U as UniversalInputProps, n as UniversalMenuItemProps, a as UniversalPressableProps, d3 as UniversalRadioGroupProps, d4 as UniversalRadioProps, d5 as UniversalSwitchProps, b as UniversalTokensConfig, d6 as UniversalTokensConfigAuto, a3 as XLARGE_SCALE_MODE_CLASSNAME, $ as XSMALL_SCALE_MODE_CLASSNAME, a4 as XXLARGE_SCALE_MODE_CLASSNAME, a5 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette, D as defaultUniversalTokensConfigAuto } from './types-
|
4
|
+
import { u as UniversalFormLabelProps, h as UniversalStackProps, v as IconPropsWithSVGProps, w as ImagePropsWithImgProps, x as UniversalIconSlot, y as UniversalLinkProps, z as UniversalTextProps } from './types-kxTkQgcG.cjs';
|
5
|
+
export { G as AVATAR_SIZE_PREFIX, ah as AlwaysPalette, ai as AlwaysPaletteAlias, aj as AlwaysPaletteColor, ak as Animation, al as AriaAttribute, am as AvatarAbbreviationStrategy, an as AvatarShape, ao as AvatarSize, ap as AvatarSizeConfig, aq as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, a9 as BUTTON_CSS_VAR_MAP, ar as BackgroundColor, as as BackgroundPalette, at as BackgroundPaletteAlias, au as BackgroundStyleProps, av as BadgeSize, aw as BadgeVariant, ax as BorderRadius, ay as BorderRadiusConfig, az as BorderStyleProps, aA as BorderWidth, aB as BorderWidthConfig, aC as Breakpoint, aD as BreakpointsConfig, aE as ButtonBaseConfig, j as ButtonClassMap, aF as ButtonClassName, aG as ButtonColorConfig, aH as ButtonColorEffect, aI as ButtonColorEffectConfig, k as ButtonColorProperty, l as ButtonColorPropertyConfig, B as ButtonConfig, aJ as ButtonKind, aK as ButtonMotionEffect, aL as ButtonMotionProperty, aM as ButtonMotionPropertyConfig, aN as ButtonPalette, aO as ButtonPaletteColor, aP as ButtonPaletteConfig, aQ as ButtonShadowPropertyConfig, aR as ButtonSize, aS as ButtonSizeConfig, aT as ButtonSizeProperty, aU as ButtonSpectrumColor, aV as ButtonState, aW as ButtonStateConfig, aX as ButtonStateEffectConfig, aY as ButtonVariant, aZ as ButtonVariantConfig, a_ as ButtonVariantFlat, a$ as CheckboxSize, b0 as CheckboxValue, b1 as CheckboxVariant, b2 as ChipSize, b3 as ChipVariant, C as ColorMode, b4 as ColorModeConfig, b5 as ColorModeForApp, c as ColorsConfig, b6 as ConfigurableDropShadowValues, b7 as ConfigurableInsetShadowValues, b8 as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a6 as DEFAULT_COLOR_MODE_CLASSNAME, a7 as DEFAULT_SCALE_MODE_CLASSNAME, b9 as DataAttribute, ba as Display, bb as DividerVariant, ac as FONT_DECLARATIONS_MAP, L as FONT_FAMILY_PREFIX, N as FONT_SIZE_PREFIX, Q as FONT_SLANT_PREFIX, O as FONT_WEIGHT_PREFIX, R as FONT_WIDTH_PREFIX, bc as Flex, bd as FlexAlignContent, be as FlexAlignItems, bf as FlexAlignSelf, bg as FlexBasis, bh as FlexDirection, bi as FlexGrow, bj as FlexJustifyContent, bk as FlexShrink, bl as FlexStyleProps, bm as FlexWrap, bn as FontAlias, ad as FontAxisConfig, p as FontConfig, bo as FontCssVar, ae as FontDeclarationConfig, o as FontDeclarationItemConfig, af as FontDeclarationMap, bp as FontFamilyCDNUrl, bq as FontFamilyConfig, F as FontID, br as FontSize, bs as FontSizeConfig, bt as FontSlantConfig, bu as FontType, bv as FontWeightConfig, bw as FontWeightDescriptive, ag as FontWeightForFont, bx as FontWeightNumeric, by as FontWidthConfig, bz as ForegroundColor, bA as ForegroundPalette, bB as ForegroundPaletteAlias, bC as GlobalDefaultsConfig, bD as HighContrastMode, H as Hue, d as HueStep, aa as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bE as IconButtonClassName, bF as IconButtonConfig, bG as IconButtonDefaultsConfig, bH as IconButtonSize, bI as IconSizeConfig, bJ as ImageStyleProps, bK as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bL as LayoutStyleProps, bM as LetterSpacing, bN as LineClampAlias, bO as LineColor, bP as LineHeight, bQ as LineHeightConfig, bR as LinePalette, bS as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bT as Modes, s as MotionConfig, bU as MotionCssVar, bV as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bW as MotionVariantValues, bX as Overflow, ab as PSEUDO_STYLE_SELECTOR_MAP, bY as Palette, e as PaletteConfig, P as PaletteType, bZ as PaletteValue, b_ as Pixels, b$ as PlatformMode, c0 as Position, c1 as PropertyToPaletteAliasMap, c2 as RadioSize, c3 as RadioValue, c4 as RadioVariant, c5 as RegionMode, c6 as Rems, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c7 as ScaleConfig, c8 as ScaleEffectMap, S as ScaleMode, c9 as ScaleModeConfig, ca as ScaleModeForApp, cb as ShadowColor, cc as ShadowColorConfig, cd as ShadowConfig, ce as ShadowOffset, cf as ShadowOpacity, cg as ShadowPalette, ch as ShadowPaletteAlias, f as ShadowPreset, ci as ShadowSpreadRadius, cj as ShadowStyleProps, t as ShadowType, ck as ShadowTypeConfig, cl as ShadowVariant, cm as ShadowVariantConfig, cn as ShadowVariantInvert, co as ShadowVariantWithInvert, cp as SharedPaletteAlias, m as SpacingAlias, cq as SpacingConfig, cr as SpacingStyleProps, cs as SpectrumColor, ct as SpectrumConfig, cu as StateStyleProps, cv as StyleProps, cw as SwitchSize, a8 as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cG as TShirtSize, cH as TShirtSizeCommon, cx as TextDecorationLine, cy as TextProperty, cz as TextStyleProps, cA as TextTransform, cB as TextTransformConfig, cC as TextVariant, cD as TransitionDelay, cE as TransitionDuration, cF as TransitionTiming, cI as TypographyConfig, cJ as TypographyResponsiveProperty, cK as TypographyStyle, cL as TypographyStyleProperty, cM as TypographyUnitValue, E as UDS_PREFIX, cN as UdsCssVar, cO as Unitless, cP as UniversalAvatarIconProps, cQ as UniversalAvatarImageProps, cR as UniversalAvatarProps, cS as UniversalAvatarTextProps, cT as UniversalBadgeProps, g as UniversalBoxProps, cU as UniversalButtonProps, cV as UniversalCheckboxProps, cW as UniversalChipBaseProps, cX as UniversalChipButtonProps, cY as UniversalChipDismissibleProps, cZ as UniversalChipLinkProps, c_ as UniversalChipProps, c$ as UniversalChipToggleProps, i as UniversalDividerProps, d0 as UniversalIconButtonProps, d1 as UniversalIconProps, d2 as UniversalImageProps, U as UniversalInputProps, n as UniversalMenuItemProps, a as UniversalPressableProps, d3 as UniversalRadioGroupProps, d4 as UniversalRadioProps, d5 as UniversalSwitchProps, b as UniversalTokensConfig, d6 as UniversalTokensConfigAuto, a3 as XLARGE_SCALE_MODE_CLASSNAME, $ as XSMALL_SCALE_MODE_CLASSNAME, a4 as XXLARGE_SCALE_MODE_CLASSNAME, a5 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette, D as defaultUniversalTokensConfigAuto } from './types-kxTkQgcG.cjs';
|
6
6
|
import * as react from 'react';
|
7
7
|
import { PropsWithChildren, Ref, Dispatch, SetStateAction } from 'react';
|
8
|
-
import { I as InputProps } from './Input-
|
8
|
+
import { I as InputProps } from './Input-CsnKIM7r.cjs';
|
9
9
|
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';
|
10
10
|
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.cjs';
|
11
11
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.cjs';
|
12
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, 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-
|
12
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, 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-Dffuri1m.cjs';
|
13
13
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
14
14
|
import 'motion/react';
|
15
15
|
import 'type-fest';
|
@@ -304,6 +304,7 @@ declare const getStylesInternal: (props?: ({
|
|
304
304
|
menuItemCheckboxVariantEndIcon?: "default" | undefined;
|
305
305
|
menuDividerVariantRoot?: "default" | undefined;
|
306
306
|
menuDividerVariantText?: "default" | undefined;
|
307
|
+
menuDividerVariantLine?: "default" | undefined;
|
307
308
|
switchVariantActiveRoot?: "on" | "off" | undefined;
|
308
309
|
switchVariantRoot?: "default" | undefined;
|
309
310
|
switchVariantActiveSwitch?: "on" | "off" | undefined;
|
@@ -387,8 +388,8 @@ declare const getStylesInternal: (props?: ({
|
|
387
388
|
badgeSizeIcon?: "sm" | "md" | "xs" | "lg" | undefined;
|
388
389
|
badgeVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
389
390
|
badgeVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
390
|
-
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
391
|
-
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
391
|
+
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
392
|
+
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
392
393
|
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;
|
393
394
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
394
395
|
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;
|
@@ -411,26 +412,26 @@ declare const getStylesInternal: (props?: ({
|
|
411
412
|
offsetTop?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
412
413
|
columnGap?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
413
414
|
rowGap?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
414
|
-
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
415
|
-
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
416
|
-
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
417
|
-
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
418
|
-
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
419
|
-
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
415
|
+
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
416
|
+
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
417
|
+
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
418
|
+
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
419
|
+
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
420
|
+
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
420
421
|
borderRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
421
422
|
borderTopStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
422
423
|
borderTopEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
423
424
|
borderBottomStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
424
425
|
borderBottomEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
425
|
-
borderWidth?: "
|
426
|
-
borderVerticalWidth?: "
|
427
|
-
borderHorizontalWidth?: "
|
428
|
-
borderStartWidth?: "
|
429
|
-
borderEndWidth?: "
|
430
|
-
borderTopWidth?: "
|
431
|
-
borderBottomWidth?: "
|
426
|
+
borderWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
427
|
+
borderVerticalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
428
|
+
borderHorizontalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
429
|
+
borderStartWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
430
|
+
borderEndWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
431
|
+
borderTopWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
432
|
+
borderBottomWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
432
433
|
avatarSize?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
433
|
-
iconSize?: "sm" | "md" | "lg" | undefined;
|
434
|
+
iconSize?: "sm" | "md" | "xs" | "lg" | undefined;
|
434
435
|
alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
|
435
436
|
alignItems?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | undefined;
|
436
437
|
alignSelf?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | "auto" | undefined;
|
package/dist/index.d.ts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { a as DivProps } from './VStack-
|
2
|
-
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-
|
1
|
+
import { a as DivProps } from './VStack-CL70cH04.js';
|
2
|
+
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-CL70cH04.js';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
|
-
import { u as UniversalFormLabelProps, h as UniversalStackProps, v as IconPropsWithSVGProps, w as ImagePropsWithImgProps, x as UniversalIconSlot, y as UniversalLinkProps, z as UniversalTextProps } from './types-
|
5
|
-
export { G as AVATAR_SIZE_PREFIX, ah as AlwaysPalette, ai as AlwaysPaletteAlias, aj as AlwaysPaletteColor, ak as Animation, al as AriaAttribute, am as AvatarAbbreviationStrategy, an as AvatarShape, ao as AvatarSize, ap as AvatarSizeConfig, aq as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, a9 as BUTTON_CSS_VAR_MAP, ar as BackgroundColor, as as BackgroundPalette, at as BackgroundPaletteAlias, au as BackgroundStyleProps, av as BadgeSize, aw as BadgeVariant, ax as BorderRadius, ay as BorderRadiusConfig, az as BorderStyleProps, aA as BorderWidth, aB as BorderWidthConfig, aC as Breakpoint, aD as BreakpointsConfig, aE as ButtonBaseConfig, j as ButtonClassMap, aF as ButtonClassName, aG as ButtonColorConfig, aH as ButtonColorEffect, aI as ButtonColorEffectConfig, k as ButtonColorProperty, l as ButtonColorPropertyConfig, B as ButtonConfig, aJ as ButtonKind, aK as ButtonMotionEffect, aL as ButtonMotionProperty, aM as ButtonMotionPropertyConfig, aN as ButtonPalette, aO as ButtonPaletteColor, aP as ButtonPaletteConfig, aQ as ButtonShadowPropertyConfig, aR as ButtonSize, aS as ButtonSizeConfig, aT as ButtonSizeProperty, aU as ButtonSpectrumColor, aV as ButtonState, aW as ButtonStateConfig, aX as ButtonStateEffectConfig, aY as ButtonVariant, aZ as ButtonVariantConfig, a_ as ButtonVariantFlat, a$ as CheckboxSize, b0 as CheckboxValue, b1 as CheckboxVariant, b2 as ChipSize, b3 as ChipVariant, C as ColorMode, b4 as ColorModeConfig, b5 as ColorModeForApp, c as ColorsConfig, b6 as ConfigurableDropShadowValues, b7 as ConfigurableInsetShadowValues, b8 as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a6 as DEFAULT_COLOR_MODE_CLASSNAME, a7 as DEFAULT_SCALE_MODE_CLASSNAME, b9 as DataAttribute, ba as Display, bb as DividerVariant, ac as FONT_DECLARATIONS_MAP, L as FONT_FAMILY_PREFIX, N as FONT_SIZE_PREFIX, Q as FONT_SLANT_PREFIX, O as FONT_WEIGHT_PREFIX, R as FONT_WIDTH_PREFIX, bc as Flex, bd as FlexAlignContent, be as FlexAlignItems, bf as FlexAlignSelf, bg as FlexBasis, bh as FlexDirection, bi as FlexGrow, bj as FlexJustifyContent, bk as FlexShrink, bl as FlexStyleProps, bm as FlexWrap, bn as FontAlias, ad as FontAxisConfig, p as FontConfig, bo as FontCssVar, ae as FontDeclarationConfig, o as FontDeclarationItemConfig, af as FontDeclarationMap, bp as FontFamilyCDNUrl, bq as FontFamilyConfig, F as FontID, br as FontSize, bs as FontSizeConfig, bt as FontSlantConfig, bu as FontType, bv as FontWeightConfig, bw as FontWeightDescriptive, ag as FontWeightForFont, bx as FontWeightNumeric, by as FontWidthConfig, bz as ForegroundColor, bA as ForegroundPalette, bB as ForegroundPaletteAlias, bC as GlobalDefaultsConfig, bD as HighContrastMode, H as Hue, d as HueStep, aa as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bE as IconButtonClassName, bF as IconButtonConfig, bG as IconButtonDefaultsConfig, bH as IconButtonSize, bI as IconSizeConfig, bJ as ImageStyleProps, bK as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bL as LayoutStyleProps, bM as LetterSpacing, bN as LineClampAlias, bO as LineColor, bP as LineHeight, bQ as LineHeightConfig, bR as LinePalette, bS as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bT as Modes, s as MotionConfig, bU as MotionCssVar, bV as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bW as MotionVariantValues, bX as Overflow, ab as PSEUDO_STYLE_SELECTOR_MAP, bY as Palette, e as PaletteConfig, P as PaletteType, bZ as PaletteValue, b_ as Pixels, b$ as PlatformMode, c0 as Position, c1 as PropertyToPaletteAliasMap, c2 as RadioSize, c3 as RadioValue, c4 as RadioVariant, c5 as RegionMode, c6 as Rems, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c7 as ScaleConfig, c8 as ScaleEffectMap, S as ScaleMode, c9 as ScaleModeConfig, ca as ScaleModeForApp, cb as ShadowColor, cc as ShadowColorConfig, cd as ShadowConfig, ce as ShadowOffset, cf as ShadowOpacity, cg as ShadowPalette, ch as ShadowPaletteAlias, f as ShadowPreset, ci as ShadowSpreadRadius, cj as ShadowStyleProps, t as ShadowType, ck as ShadowTypeConfig, cl as ShadowVariant, cm as ShadowVariantConfig, cn as ShadowVariantInvert, co as ShadowVariantWithInvert, cp as SharedPaletteAlias, m as SpacingAlias, cq as SpacingConfig, cr as SpacingStyleProps, cs as SpectrumColor, ct as SpectrumConfig, cu as StateStyleProps, cv as StyleProps, cw as SwitchSize, a8 as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cG as TShirtSize, cH as TShirtSizeCommon, cx as TextDecorationLine, cy as TextProperty, cz as TextStyleProps, cA as TextTransform, cB as TextTransformConfig, cC as TextVariant, cD as TransitionDelay, cE as TransitionDuration, cF as TransitionTiming, cI as TypographyConfig, cJ as TypographyResponsiveProperty, cK as TypographyStyle, cL as TypographyStyleProperty, cM as TypographyUnitValue, E as UDS_PREFIX, cN as UdsCssVar, cO as Unitless, cP as UniversalAvatarIconProps, cQ as UniversalAvatarImageProps, cR as UniversalAvatarProps, cS as UniversalAvatarTextProps, cT as UniversalBadgeProps, g as UniversalBoxProps, cU as UniversalButtonProps, cV as UniversalCheckboxProps, cW as UniversalChipBaseProps, cX as UniversalChipButtonProps, cY as UniversalChipDismissibleProps, cZ as UniversalChipLinkProps, c_ as UniversalChipProps, c$ as UniversalChipToggleProps, i as UniversalDividerProps, d0 as UniversalIconButtonProps, d1 as UniversalIconProps, d2 as UniversalImageProps, U as UniversalInputProps, n as UniversalMenuItemProps, a as UniversalPressableProps, d3 as UniversalRadioGroupProps, d4 as UniversalRadioProps, d5 as UniversalSwitchProps, b as UniversalTokensConfig, d6 as UniversalTokensConfigAuto, a3 as XLARGE_SCALE_MODE_CLASSNAME, $ as XSMALL_SCALE_MODE_CLASSNAME, a4 as XXLARGE_SCALE_MODE_CLASSNAME, a5 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette, D as defaultUniversalTokensConfigAuto } from './types-
|
4
|
+
import { u as UniversalFormLabelProps, h as UniversalStackProps, v as IconPropsWithSVGProps, w as ImagePropsWithImgProps, x as UniversalIconSlot, y as UniversalLinkProps, z as UniversalTextProps } from './types-kxTkQgcG.js';
|
5
|
+
export { G as AVATAR_SIZE_PREFIX, ah as AlwaysPalette, ai as AlwaysPaletteAlias, aj as AlwaysPaletteColor, ak as Animation, al as AriaAttribute, am as AvatarAbbreviationStrategy, an as AvatarShape, ao as AvatarSize, ap as AvatarSizeConfig, aq as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, a9 as BUTTON_CSS_VAR_MAP, ar as BackgroundColor, as as BackgroundPalette, at as BackgroundPaletteAlias, au as BackgroundStyleProps, av as BadgeSize, aw as BadgeVariant, ax as BorderRadius, ay as BorderRadiusConfig, az as BorderStyleProps, aA as BorderWidth, aB as BorderWidthConfig, aC as Breakpoint, aD as BreakpointsConfig, aE as ButtonBaseConfig, j as ButtonClassMap, aF as ButtonClassName, aG as ButtonColorConfig, aH as ButtonColorEffect, aI as ButtonColorEffectConfig, k as ButtonColorProperty, l as ButtonColorPropertyConfig, B as ButtonConfig, aJ as ButtonKind, aK as ButtonMotionEffect, aL as ButtonMotionProperty, aM as ButtonMotionPropertyConfig, aN as ButtonPalette, aO as ButtonPaletteColor, aP as ButtonPaletteConfig, aQ as ButtonShadowPropertyConfig, aR as ButtonSize, aS as ButtonSizeConfig, aT as ButtonSizeProperty, aU as ButtonSpectrumColor, aV as ButtonState, aW as ButtonStateConfig, aX as ButtonStateEffectConfig, aY as ButtonVariant, aZ as ButtonVariantConfig, a_ as ButtonVariantFlat, a$ as CheckboxSize, b0 as CheckboxValue, b1 as CheckboxVariant, b2 as ChipSize, b3 as ChipVariant, C as ColorMode, b4 as ColorModeConfig, b5 as ColorModeForApp, c as ColorsConfig, b6 as ConfigurableDropShadowValues, b7 as ConfigurableInsetShadowValues, b8 as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a6 as DEFAULT_COLOR_MODE_CLASSNAME, a7 as DEFAULT_SCALE_MODE_CLASSNAME, b9 as DataAttribute, ba as Display, bb as DividerVariant, ac as FONT_DECLARATIONS_MAP, L as FONT_FAMILY_PREFIX, N as FONT_SIZE_PREFIX, Q as FONT_SLANT_PREFIX, O as FONT_WEIGHT_PREFIX, R as FONT_WIDTH_PREFIX, bc as Flex, bd as FlexAlignContent, be as FlexAlignItems, bf as FlexAlignSelf, bg as FlexBasis, bh as FlexDirection, bi as FlexGrow, bj as FlexJustifyContent, bk as FlexShrink, bl as FlexStyleProps, bm as FlexWrap, bn as FontAlias, ad as FontAxisConfig, p as FontConfig, bo as FontCssVar, ae as FontDeclarationConfig, o as FontDeclarationItemConfig, af as FontDeclarationMap, bp as FontFamilyCDNUrl, bq as FontFamilyConfig, F as FontID, br as FontSize, bs as FontSizeConfig, bt as FontSlantConfig, bu as FontType, bv as FontWeightConfig, bw as FontWeightDescriptive, ag as FontWeightForFont, bx as FontWeightNumeric, by as FontWidthConfig, bz as ForegroundColor, bA as ForegroundPalette, bB as ForegroundPaletteAlias, bC as GlobalDefaultsConfig, bD as HighContrastMode, H as Hue, d as HueStep, aa as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bE as IconButtonClassName, bF as IconButtonConfig, bG as IconButtonDefaultsConfig, bH as IconButtonSize, bI as IconSizeConfig, bJ as ImageStyleProps, bK as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bL as LayoutStyleProps, bM as LetterSpacing, bN as LineClampAlias, bO as LineColor, bP as LineHeight, bQ as LineHeightConfig, bR as LinePalette, bS as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bT as Modes, s as MotionConfig, bU as MotionCssVar, bV as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bW as MotionVariantValues, bX as Overflow, ab as PSEUDO_STYLE_SELECTOR_MAP, bY as Palette, e as PaletteConfig, P as PaletteType, bZ as PaletteValue, b_ as Pixels, b$ as PlatformMode, c0 as Position, c1 as PropertyToPaletteAliasMap, c2 as RadioSize, c3 as RadioValue, c4 as RadioVariant, c5 as RegionMode, c6 as Rems, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c7 as ScaleConfig, c8 as ScaleEffectMap, S as ScaleMode, c9 as ScaleModeConfig, ca as ScaleModeForApp, cb as ShadowColor, cc as ShadowColorConfig, cd as ShadowConfig, ce as ShadowOffset, cf as ShadowOpacity, cg as ShadowPalette, ch as ShadowPaletteAlias, f as ShadowPreset, ci as ShadowSpreadRadius, cj as ShadowStyleProps, t as ShadowType, ck as ShadowTypeConfig, cl as ShadowVariant, cm as ShadowVariantConfig, cn as ShadowVariantInvert, co as ShadowVariantWithInvert, cp as SharedPaletteAlias, m as SpacingAlias, cq as SpacingConfig, cr as SpacingStyleProps, cs as SpectrumColor, ct as SpectrumConfig, cu as StateStyleProps, cv as StyleProps, cw as SwitchSize, a8 as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cG as TShirtSize, cH as TShirtSizeCommon, cx as TextDecorationLine, cy as TextProperty, cz as TextStyleProps, cA as TextTransform, cB as TextTransformConfig, cC as TextVariant, cD as TransitionDelay, cE as TransitionDuration, cF as TransitionTiming, cI as TypographyConfig, cJ as TypographyResponsiveProperty, cK as TypographyStyle, cL as TypographyStyleProperty, cM as TypographyUnitValue, E as UDS_PREFIX, cN as UdsCssVar, cO as Unitless, cP as UniversalAvatarIconProps, cQ as UniversalAvatarImageProps, cR as UniversalAvatarProps, cS as UniversalAvatarTextProps, cT as UniversalBadgeProps, g as UniversalBoxProps, cU as UniversalButtonProps, cV as UniversalCheckboxProps, cW as UniversalChipBaseProps, cX as UniversalChipButtonProps, cY as UniversalChipDismissibleProps, cZ as UniversalChipLinkProps, c_ as UniversalChipProps, c$ as UniversalChipToggleProps, i as UniversalDividerProps, d0 as UniversalIconButtonProps, d1 as UniversalIconProps, d2 as UniversalImageProps, U as UniversalInputProps, n as UniversalMenuItemProps, a as UniversalPressableProps, d3 as UniversalRadioGroupProps, d4 as UniversalRadioProps, d5 as UniversalSwitchProps, b as UniversalTokensConfig, d6 as UniversalTokensConfigAuto, a3 as XLARGE_SCALE_MODE_CLASSNAME, $ as XSMALL_SCALE_MODE_CLASSNAME, a4 as XXLARGE_SCALE_MODE_CLASSNAME, a5 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette, D as defaultUniversalTokensConfigAuto } from './types-kxTkQgcG.js';
|
6
6
|
import * as react from 'react';
|
7
7
|
import { PropsWithChildren, Ref, Dispatch, SetStateAction } from 'react';
|
8
|
-
import { I as InputProps } from './Input-
|
8
|
+
import { I as InputProps } from './Input-CqWvnTE2.js';
|
9
9
|
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';
|
10
10
|
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';
|
11
11
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.js';
|
12
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, 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-
|
12
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, 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-CAFGK7nu.js';
|
13
13
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
14
14
|
import 'motion/react';
|
15
15
|
import 'type-fest';
|
@@ -304,6 +304,7 @@ declare const getStylesInternal: (props?: ({
|
|
304
304
|
menuItemCheckboxVariantEndIcon?: "default" | undefined;
|
305
305
|
menuDividerVariantRoot?: "default" | undefined;
|
306
306
|
menuDividerVariantText?: "default" | undefined;
|
307
|
+
menuDividerVariantLine?: "default" | undefined;
|
307
308
|
switchVariantActiveRoot?: "on" | "off" | undefined;
|
308
309
|
switchVariantRoot?: "default" | undefined;
|
309
310
|
switchVariantActiveSwitch?: "on" | "off" | undefined;
|
@@ -387,8 +388,8 @@ declare const getStylesInternal: (props?: ({
|
|
387
388
|
badgeSizeIcon?: "sm" | "md" | "xs" | "lg" | undefined;
|
388
389
|
badgeVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
389
390
|
badgeVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
390
|
-
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
391
|
-
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
391
|
+
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
392
|
+
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
392
393
|
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;
|
393
394
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
394
395
|
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;
|
@@ -411,26 +412,26 @@ declare const getStylesInternal: (props?: ({
|
|
411
412
|
offsetTop?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
412
413
|
columnGap?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
413
414
|
rowGap?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
414
|
-
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
415
|
-
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
416
|
-
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
417
|
-
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
418
|
-
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
419
|
-
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
415
|
+
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
416
|
+
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
417
|
+
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
418
|
+
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
419
|
+
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
420
|
+
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
420
421
|
borderRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
421
422
|
borderTopStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
422
423
|
borderTopEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
423
424
|
borderBottomStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
424
425
|
borderBottomEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
425
|
-
borderWidth?: "
|
426
|
-
borderVerticalWidth?: "
|
427
|
-
borderHorizontalWidth?: "
|
428
|
-
borderStartWidth?: "
|
429
|
-
borderEndWidth?: "
|
430
|
-
borderTopWidth?: "
|
431
|
-
borderBottomWidth?: "
|
426
|
+
borderWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
427
|
+
borderVerticalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
428
|
+
borderHorizontalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
429
|
+
borderStartWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
430
|
+
borderEndWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
431
|
+
borderTopWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
432
|
+
borderBottomWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
432
433
|
avatarSize?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
433
|
-
iconSize?: "sm" | "md" | "lg" | undefined;
|
434
|
+
iconSize?: "sm" | "md" | "xs" | "lg" | undefined;
|
434
435
|
alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
|
435
436
|
alignItems?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | undefined;
|
436
437
|
alignSelf?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | "auto" | undefined;
|
package/dist/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export{FormLabel,Image,InputHelpTextMemo as InputHelpText}from"./chunk-
|
1
|
+
export{FormLabel,Image,InputHelpTextMemo as InputHelpText}from"./chunk-W4KK6R6C.js";import{DividerInternal as e}from"./chunk-M5SXYW4O.js";import{getStyles as t,cx as a,IconSlot as n}from"./chunk-37LEXEW4.js";export{Box,HStack,Icon,Text,VStack,cva,cx,getStyles}from"./chunk-37LEXEW4.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-MSCQUXK7.js";export{entries,mapValues}from"./chunk-EWJ3J526.js";export{variants}from"./chunk-NYAQO47N.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_RESPONSIVE_CLASSNAME,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"./chunk-N4FHPR6Q.js";import{forwardRef as o,useMemo as r}from"react";import{jsx as i,jsxs as E}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 _=o((function(t,a){return i(e,{ref:a,...t})}));_.displayName="Divider";var s=o((function({variant:e="primary",textVariant:o,startIcon:_,endIcon:s,alwaysUnderline:S=!1,children:C,className:A,...c},l){const L=!o,O=r((()=>{const n=!L&&t({linkTextStyleRoot:o,fontSize:o,fontFamily:o,fontWeight:o,lineHeight:o,textTransform:o});return t({linkVariantRoot:e,display:"inline-flex",alignItems:"center",className:a(n,"uds-ring",S&&"underline",A)})}),[S,L,o,e,A]),f=t({linkVariantIconStart:e,linkTextStyleIcon:o,className:a(L&&"w-[0.7em] h-[0.7em]")}),g=t({linkVariantIconEnd:e,linkTextStyleIcon:o,className:a(L&&"w-[0.7em] h-[0.7em]")}),M={variant:"outline",color:"current"};return E("a",{ref:l,className:O,...c,children:[_&&i(n,{className:f,icon:_,iconProps:M,"data-testid":"start-icon"}),C,s&&i(n,{className:g,icon:s,iconProps:M,"data-testid":"end-icon"})]})}));s.displayName="Link";export{_ as Divider,s as Link};
|