@yahoo/uds 3.54.1 → 3.54.2
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-BrCNYpJf.d.cts → Box-Dj8Mwnuq.d.cts} +1 -1
- package/dist/{Box-DvNI3HDT.d.ts → Box-ZfxGUUQ-.d.ts} +1 -1
- package/dist/{Pressable-C_cD8YqL.d.ts → Pressable-BsSxG1mQ.d.ts} +1 -1
- package/dist/{Pressable-CpTWnaJC.d.cts → Pressable-C042bbJQ.d.cts} +1 -1
- package/dist/{Text-CpFNy7i9.d.cts → Text-CVlnCCWA.d.cts} +1 -1
- package/dist/{Text-DxibXWon.d.ts → Text-fHksnirL.d.ts} +1 -1
- package/dist/{VStack-CITd7-eN.d.ts → VStack-BX-qY0m6.d.ts} +2 -2
- package/dist/{VStack-BZA9jJeV.d.cts → VStack-CF3Bbwfr.d.cts} +2 -2
- package/dist/{chunk-24SIYFLS.cjs → chunk-2YPNAVSY.cjs} +2 -2
- package/dist/{chunk-A775CEIC.cjs → chunk-4GYR7JAY.cjs} +1 -1
- package/dist/{chunk-UOJB4RWR.cjs → chunk-4IANEB6Y.cjs} +1 -1
- package/dist/{chunk-IANOIZPS.js → chunk-4WJHTN3D.js} +2 -2
- package/dist/{chunk-PPFRPMS7.js → chunk-AHWB6J2Q.js} +1 -1
- package/dist/{chunk-WQLTYMTS.cjs → chunk-DOTDBCVN.cjs} +1 -1
- package/dist/{chunk-VZQYI656.cjs → chunk-ERXK2CJF.cjs} +1 -1
- package/dist/{chunk-H2PC65MR.cjs → chunk-GXRVCRLG.cjs} +1 -1
- package/dist/{chunk-HOZMPN3Y.js → chunk-HZ4E7D46.js} +1 -1
- package/dist/{chunk-5ZBIY6AW.js → chunk-JK4C6HHW.js} +1 -1
- package/dist/{chunk-EHDEWVLV.js → chunk-LNJIO5US.js} +1 -1
- package/dist/{chunk-26KCJWEG.cjs → chunk-LTL7T7YV.cjs} +1 -1
- package/dist/{chunk-G4XGZNEI.cjs → chunk-OMWWNWFN.cjs} +1 -1
- package/dist/{chunk-XHHJDMZ3.js → chunk-P5JT7DZ7.js} +3 -3
- package/dist/chunk-WXMFQDBD.js +2 -0
- package/dist/{chunk-7QVCKS7V.js → chunk-XQL5LDQJ.js} +1 -1
- package/dist/{chunk-VHVEHH3Z.cjs → chunk-XTSSNOPG.cjs} +1 -1
- package/dist/{chunk-ZG2QBSTD.js → chunk-YXAAENJE.js} +1 -1
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.d.cts +4 -4
- package/dist/client/Menu.d.ts +4 -4
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/index.js +1 -1
- package/dist/defaultTokensConfig.cjs +1 -1
- package/dist/defaultTokensConfig.d.cts +2 -2
- package/dist/defaultTokensConfig.d.ts +2 -2
- package/dist/defaultTokensConfig.js +1 -1
- package/dist/experimental/client/SwitchV2.cjs +1 -1
- package/dist/experimental/client/SwitchV2.d.cts +1 -1
- package/dist/experimental/client/SwitchV2.d.ts +1 -1
- package/dist/experimental/client/SwitchV2.js +1 -1
- package/dist/experimental/client/index.cjs +1 -1
- package/dist/experimental/client/index.js +1 -1
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.js +1 -1
- package/dist/{index-Bj4zcQ8D.d.ts → index-OprbCsvg.d.ts} +8 -8
- package/dist/{index-fOaETFpl.d.cts → index-e-O3LVBN.d.cts} +8 -8
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +105 -105
- package/dist/index.d.ts +105 -105
- 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 +1 -1
- 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 +2 -2
- 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 +218 -218
- package/dist/tokens/index.d.ts +218 -218
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-MUVYEL64.js +0 -2
- package/dist/{types-CRqbgWm9.d.cts → types-DSC_fUuJ.d.cts} +2193 -2193
- package/dist/{types-CRqbgWm9.d.ts → types-DSC_fUuJ.d.ts} +2193 -2193
package/dist/tokens/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './automation/configs.js';
|
|
2
|
-
import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-
|
|
3
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, k as SchemaStateValue, 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-
|
|
4
|
-
import { df as UniversalTokensConfigAuto, g as UniversalTokensConfig, aO as ButtonKind, aS as ButtonPalette, aJ as ButtonBaseConfig, B as ButtonConfig, d as ShadowConfig, bB as FontWeightDescriptive, bC as FontWeightNumeric, b9 as ColorModeForApp, ch as ScaleModeForApp, h as ColorMode, l as ScaleMode, bH as HighContrastMode, cd as RegionMode, b1 as ButtonVariant, b3 as ButtonVariantFlat } from '../types-
|
|
5
|
-
export { E as AVATAR_SIZE_PREFIX, am as AlwaysPalette, an as AlwaysPaletteAlias, ao as AlwaysPaletteColor, ap as Animation, aq as AriaAttribute, ar as AvatarAbbreviationStrategy, as as AvatarShape, at as AvatarSize, au as AvatarSizeConfig, av as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, ad as BUTTON_CSS_VAR_MAP, aw as BackgroundColor, ax as BackgroundPalette, ay as BackgroundPaletteAlias, az as BackgroundStyleProps, aA as BadgeSize, aB as BadgeVariant, aC as BorderRadius, aD as BorderRadiusConfig, aE as BorderStyleProps, aF as BorderWidth, aG as BorderWidthConfig, aH as Breakpoint, aI as BreakpointWithBase, e as BreakpointsConfig, p as ButtonClassMap, aK as ButtonClassName, aL as ButtonColorConfig, aM as ButtonColorEffect, aN as ButtonColorEffectConfig, s as ButtonColorProperty, t as ButtonColorPropertyConfig, aP as ButtonMotionEffect, aQ as ButtonMotionProperty, aR as ButtonMotionPropertyConfig, aT as ButtonPaletteColor, aU as ButtonPaletteConfig, aV as ButtonShadowPropertyConfig, aW as ButtonSize, aX as ButtonSizeConfig, aY as ButtonSizeProperty, aZ as ButtonSpectrumColor, a_ as ButtonState, a$ as ButtonStateConfig, b0 as ButtonStateEffectConfig, b2 as ButtonVariantConfig, b4 as CheckboxSize, b5 as CheckboxValue, b6 as CheckboxVariant, b7 as ChipSize, b8 as ChipVariant, C as ColorModeConfig, i as ColorsConfig, ba as ConfigurableDropShadowValues, bb as ConfigurableInsetShadowValues, bc as CustomSizingStyleProps, _ as DARK_COLOR_MODE_CLASSNAME, a9 as DEFAULT_COLOR_MODE_CLASSNAME, aa as DEFAULT_SCALE_MODE_CLASSNAME, bd as DataAttribute, be as Display, bf as DividerVariant, ag 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, bg as Flex, bh as FlexAlignContent, bi as FlexAlignItems, bj as FlexAlignSelf, bk as FlexBasis, bl as FlexDirection, bm as FlexGrow, bn as FlexJustifyContent, bo as FlexShrink, bp as FlexStyleProps, bq as FlexWrap, br as FontAlias, ah as FontAxisConfig, F as FontConfig, bs as FontCssVar, aj as FontDeclarationConfig, ai as FontDeclarationItemConfig, ak as FontDeclarationMap, bt as FontFamilyCDNUrl, bu as FontFamilyConfig, bv as FontID, bw as FontSize, bx as FontSizeConfig, by as FontSlantConfig, bz as FontType, bA as FontWeightConfig, al as FontWeightForFont, bD as FontWidthConfig, bE as ForegroundColor, bF as ForegroundPalette, bG as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, j as HueStep, ae as ICON_BUTTON_CSS_VAR_MAP, V as ICON_SIZE_PREFIX, a1 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bI as IconButtonClassName, I as IconButtonConfig, bJ as IconButtonDefaultsConfig, bK as IconButtonSize, x as IconPropsWithSVGProps, bL as IconSizeConfig, bM as IconSlotRenderProps, y as ImagePropsWithImgProps, bN as ImageStyleProps, bO as InputSize, a5 as LARGE_SCALE_MODE_CLASSNAME, $ as LIGHT_COLOR_MODE_CLASSNAME, W as LINE_HEIGHT_PREFIX, bP as LayoutStyleProps, bQ as LetterSpacing, bR as LineClampAlias, bS as LineColor, bT as LineHeight, bU as LineHeightConfig, bV as LinePalette, bW as LinePaletteAlias, a4 as MEDIUM_SCALE_MODE_CLASSNAME, X as MOTION_PREFIX, bX as Modes, M as MotionConfig, bY as MotionCssVar, bZ as MotionSpringConfig, b_ as MotionSpringConfigOptions, b$ as MotionVariant, c0 as MotionVariantSpeed, c1 as MotionVariantValues, c2 as Overflow, af as PSEUDO_STYLE_SELECTOR_MAP, c3 as Palette, k as PaletteConfig, P as PaletteType, c4 as PaletteValue, c5 as Percentage, c6 as Pixels, c7 as PlatformMode, c8 as Position, c9 as PropertyToPaletteAliasMap, ca as RadioSize, cb as RadioValue, cc as RadioVariant, ce as Rems, a3 as SMALL_SCALE_MODE_CLASSNAME, Y as SPECTRUM_COLOR_PREFIX, a0 as SYSTEM_COLOR_MODE_CLASSNAME, cf as ScaleConfig, cg as ScaleEffectMap, S as ScaleModeConfig, ci as ShadowColor, cj as ShadowColorConfig, ck as ShadowOffset, cl as ShadowOpacity, cm as ShadowPalette, cn as ShadowPaletteAlias, m as ShadowPreset, co as ShadowSpreadRadius, cp as ShadowStyleProps, cq as ShadowType, cr as ShadowTypeConfig, cs as ShadowVariant, ct as ShadowVariantConfig, cu as ShadowVariantInvert, cv as ShadowVariantWithInvert, cw as SharedPaletteAlias, u as SpacingAlias, cx as SpacingConfig, cy as SpacingStyleProps, cz as SpectrumColor, cA as SpectrumConfig, cB as StateStyleProps, cC as StyleProps, cD as SwitchSize, ac as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ab as TEXT_RESPONSIVE_CLASSNAME, Z as TEXT_TRANSFORM_PREFIX, cP as TShirtSize, cQ as TShirtSizeCommon, cE as TextDecorationLine, cF as TextProperty, cG as TextStyleProps, cH as TextTransform, cI as TextTransformConfig, cJ as TextVariant, cK as TextVariantTypography, r as TextVariantUi, cL as TextVariantWithoutEmphasized, cM as TransitionDelay, cN as TransitionDuration, cO as TransitionTiming, T as TypographyConfig, cR as TypographyResponsiveProperty, cS as TypographyStyle, cT as TypographyStyleProperty, cU as TypographyUnitValue, D as UDS_PREFIX, cV as UdsCssVar, cW as Unitless, cX as UniversalAvatarIconProps, cY as UniversalAvatarImageProps, cZ as UniversalAvatarProps, c_ as UniversalAvatarTextProps, c$ as UniversalBadgeProps, b as UniversalBoxProps, d0 as UniversalButtonProps, d1 as UniversalCheckboxProps, d2 as UniversalChipBaseProps, d3 as UniversalChipButtonProps, d4 as UniversalChipDismissibleProps, d5 as UniversalChipLinkProps, d6 as UniversalChipProps, d7 as UniversalChipToggleProps, o as UniversalDividerProps, w as UniversalFormLabelProps, d8 as UniversalIconButtonProps, d9 as UniversalIconProps, da as UniversalIconSlot, db as UniversalImageProps, dc as UniversalInputProps, z as UniversalLinkProps, v as UniversalMenuItemProps, a as UniversalPressableProps, dd as UniversalRadioGroupProps, de as UniversalRadioProps, n as UniversalStackProps, c as UniversalSwitchProps, U as UniversalTextProps, a6 as XLARGE_SCALE_MODE_CLASSNAME, a2 as XSMALL_SCALE_MODE_CLASSNAME, a7 as XXLARGE_SCALE_MODE_CLASSNAME, a8 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette } from '../types-
|
|
2
|
+
import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-OprbCsvg.js';
|
|
3
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, k as SchemaStateValue, 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-OprbCsvg.js';
|
|
4
|
+
import { df as UniversalTokensConfigAuto, g as UniversalTokensConfig, aO as ButtonKind, aS as ButtonPalette, aJ as ButtonBaseConfig, B as ButtonConfig, d as ShadowConfig, bB as FontWeightDescriptive, bC as FontWeightNumeric, b9 as ColorModeForApp, ch as ScaleModeForApp, h as ColorMode, l as ScaleMode, bH as HighContrastMode, cd as RegionMode, b1 as ButtonVariant, b3 as ButtonVariantFlat } from '../types-DSC_fUuJ.js';
|
|
5
|
+
export { E as AVATAR_SIZE_PREFIX, am as AlwaysPalette, an as AlwaysPaletteAlias, ao as AlwaysPaletteColor, ap as Animation, aq as AriaAttribute, ar as AvatarAbbreviationStrategy, as as AvatarShape, at as AvatarSize, au as AvatarSizeConfig, av as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, ad as BUTTON_CSS_VAR_MAP, aw as BackgroundColor, ax as BackgroundPalette, ay as BackgroundPaletteAlias, az as BackgroundStyleProps, aA as BadgeSize, aB as BadgeVariant, aC as BorderRadius, aD as BorderRadiusConfig, aE as BorderStyleProps, aF as BorderWidth, aG as BorderWidthConfig, aH as Breakpoint, aI as BreakpointWithBase, e as BreakpointsConfig, p as ButtonClassMap, aK as ButtonClassName, aL as ButtonColorConfig, aM as ButtonColorEffect, aN as ButtonColorEffectConfig, s as ButtonColorProperty, t as ButtonColorPropertyConfig, aP as ButtonMotionEffect, aQ as ButtonMotionProperty, aR as ButtonMotionPropertyConfig, aT as ButtonPaletteColor, aU as ButtonPaletteConfig, aV as ButtonShadowPropertyConfig, aW as ButtonSize, aX as ButtonSizeConfig, aY as ButtonSizeProperty, aZ as ButtonSpectrumColor, a_ as ButtonState, a$ as ButtonStateConfig, b0 as ButtonStateEffectConfig, b2 as ButtonVariantConfig, b4 as CheckboxSize, b5 as CheckboxValue, b6 as CheckboxVariant, b7 as ChipSize, b8 as ChipVariant, C as ColorModeConfig, i as ColorsConfig, ba as ConfigurableDropShadowValues, bb as ConfigurableInsetShadowValues, bc as CustomSizingStyleProps, _ as DARK_COLOR_MODE_CLASSNAME, a9 as DEFAULT_COLOR_MODE_CLASSNAME, aa as DEFAULT_SCALE_MODE_CLASSNAME, bd as DataAttribute, be as Display, bf as DividerVariant, ag 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, bg as Flex, bh as FlexAlignContent, bi as FlexAlignItems, bj as FlexAlignSelf, bk as FlexBasis, bl as FlexDirection, bm as FlexGrow, bn as FlexJustifyContent, bo as FlexShrink, bp as FlexStyleProps, bq as FlexWrap, br as FontAlias, ah as FontAxisConfig, F as FontConfig, bs as FontCssVar, aj as FontDeclarationConfig, ai as FontDeclarationItemConfig, ak as FontDeclarationMap, bt as FontFamilyCDNUrl, bu as FontFamilyConfig, bv as FontID, bw as FontSize, bx as FontSizeConfig, by as FontSlantConfig, bz as FontType, bA as FontWeightConfig, al as FontWeightForFont, bD as FontWidthConfig, bE as ForegroundColor, bF as ForegroundPalette, bG as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, j as HueStep, ae as ICON_BUTTON_CSS_VAR_MAP, V as ICON_SIZE_PREFIX, a1 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bI as IconButtonClassName, I as IconButtonConfig, bJ as IconButtonDefaultsConfig, bK as IconButtonSize, x as IconPropsWithSVGProps, bL as IconSizeConfig, bM as IconSlotRenderProps, y as ImagePropsWithImgProps, bN as ImageStyleProps, bO as InputSize, a5 as LARGE_SCALE_MODE_CLASSNAME, $ as LIGHT_COLOR_MODE_CLASSNAME, W as LINE_HEIGHT_PREFIX, bP as LayoutStyleProps, bQ as LetterSpacing, bR as LineClampAlias, bS as LineColor, bT as LineHeight, bU as LineHeightConfig, bV as LinePalette, bW as LinePaletteAlias, a4 as MEDIUM_SCALE_MODE_CLASSNAME, X as MOTION_PREFIX, bX as Modes, M as MotionConfig, bY as MotionCssVar, bZ as MotionSpringConfig, b_ as MotionSpringConfigOptions, b$ as MotionVariant, c0 as MotionVariantSpeed, c1 as MotionVariantValues, c2 as Overflow, af as PSEUDO_STYLE_SELECTOR_MAP, c3 as Palette, k as PaletteConfig, P as PaletteType, c4 as PaletteValue, c5 as Percentage, c6 as Pixels, c7 as PlatformMode, c8 as Position, c9 as PropertyToPaletteAliasMap, ca as RadioSize, cb as RadioValue, cc as RadioVariant, ce as Rems, a3 as SMALL_SCALE_MODE_CLASSNAME, Y as SPECTRUM_COLOR_PREFIX, a0 as SYSTEM_COLOR_MODE_CLASSNAME, cf as ScaleConfig, cg as ScaleEffectMap, S as ScaleModeConfig, ci as ShadowColor, cj as ShadowColorConfig, ck as ShadowOffset, cl as ShadowOpacity, cm as ShadowPalette, cn as ShadowPaletteAlias, m as ShadowPreset, co as ShadowSpreadRadius, cp as ShadowStyleProps, cq as ShadowType, cr as ShadowTypeConfig, cs as ShadowVariant, ct as ShadowVariantConfig, cu as ShadowVariantInvert, cv as ShadowVariantWithInvert, cw as SharedPaletteAlias, u as SpacingAlias, cx as SpacingConfig, cy as SpacingStyleProps, cz as SpectrumColor, cA as SpectrumConfig, cB as StateStyleProps, cC as StyleProps, cD as SwitchSize, ac as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ab as TEXT_RESPONSIVE_CLASSNAME, Z as TEXT_TRANSFORM_PREFIX, cP as TShirtSize, cQ as TShirtSizeCommon, cE as TextDecorationLine, cF as TextProperty, cG as TextStyleProps, cH as TextTransform, cI as TextTransformConfig, cJ as TextVariant, cK as TextVariantTypography, r as TextVariantUi, cL as TextVariantWithoutEmphasized, cM as TransitionDelay, cN as TransitionDuration, cO as TransitionTiming, T as TypographyConfig, cR as TypographyResponsiveProperty, cS as TypographyStyle, cT as TypographyStyleProperty, cU as TypographyUnitValue, D as UDS_PREFIX, cV as UdsCssVar, cW as Unitless, cX as UniversalAvatarIconProps, cY as UniversalAvatarImageProps, cZ as UniversalAvatarProps, c_ as UniversalAvatarTextProps, c$ as UniversalBadgeProps, b as UniversalBoxProps, d0 as UniversalButtonProps, d1 as UniversalCheckboxProps, d2 as UniversalChipBaseProps, d3 as UniversalChipButtonProps, d4 as UniversalChipDismissibleProps, d5 as UniversalChipLinkProps, d6 as UniversalChipProps, d7 as UniversalChipToggleProps, o as UniversalDividerProps, w as UniversalFormLabelProps, d8 as UniversalIconButtonProps, d9 as UniversalIconProps, da as UniversalIconSlot, db as UniversalImageProps, dc as UniversalInputProps, z as UniversalLinkProps, v as UniversalMenuItemProps, a as UniversalPressableProps, dd as UniversalRadioGroupProps, de as UniversalRadioProps, n as UniversalStackProps, c as UniversalSwitchProps, U as UniversalTextProps, a6 as XLARGE_SCALE_MODE_CLASSNAME, a2 as XSMALL_SCALE_MODE_CLASSNAME, a7 as XXLARGE_SCALE_MODE_CLASSNAME, a8 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette } from '../types-DSC_fUuJ.js';
|
|
6
6
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
|
7
7
|
import '@yahoo/uds/fixtures';
|
|
8
8
|
import 'motion/react';
|
|
@@ -10,47 +10,6 @@ import 'react';
|
|
|
10
10
|
import 'type-fest';
|
|
11
11
|
|
|
12
12
|
declare const variants: {
|
|
13
|
-
checkboxSizeRoot: {
|
|
14
|
-
readonly sm: "uds-checkbox-size-sm-root";
|
|
15
|
-
readonly md: "uds-checkbox-size-md-root";
|
|
16
|
-
};
|
|
17
|
-
checkboxSizeCheckbox: {
|
|
18
|
-
readonly sm: "uds-checkbox-size-sm-checkbox";
|
|
19
|
-
readonly md: "uds-checkbox-size-md-checkbox";
|
|
20
|
-
};
|
|
21
|
-
checkboxVariantValueRoot: {
|
|
22
|
-
readonly checked: "uds-checkbox-variant-value-checked-root";
|
|
23
|
-
readonly unchecked: "uds-checkbox-variant-value-unchecked-root";
|
|
24
|
-
readonly indeterminate: "uds-checkbox-variant-value-indeterminate-root";
|
|
25
|
-
};
|
|
26
|
-
checkboxVariantRoot: {
|
|
27
|
-
readonly primary: "uds-checkbox-variant-primary-root";
|
|
28
|
-
readonly secondary: "uds-checkbox-variant-secondary-root";
|
|
29
|
-
readonly alert: "uds-checkbox-variant-alert-root";
|
|
30
|
-
readonly 'alert-secondary': "uds-checkbox-variant-alert-secondary-root";
|
|
31
|
-
};
|
|
32
|
-
checkboxVariantValueCheckbox: {
|
|
33
|
-
readonly checked: "uds-checkbox-variant-value-checked-checkbox";
|
|
34
|
-
readonly unchecked: "uds-checkbox-variant-value-unchecked-checkbox";
|
|
35
|
-
readonly indeterminate: "uds-checkbox-variant-value-indeterminate-checkbox";
|
|
36
|
-
};
|
|
37
|
-
checkboxVariantCheckbox: {
|
|
38
|
-
readonly primary: "uds-checkbox-variant-primary-checkbox";
|
|
39
|
-
readonly secondary: "uds-checkbox-variant-secondary-checkbox";
|
|
40
|
-
readonly alert: "uds-checkbox-variant-alert-checkbox";
|
|
41
|
-
readonly 'alert-secondary': "uds-checkbox-variant-alert-secondary-checkbox";
|
|
42
|
-
};
|
|
43
|
-
checkboxVariantValueCheckboxIcon: {
|
|
44
|
-
readonly checked: "uds-checkbox-variant-value-checked-checkbox-icon";
|
|
45
|
-
readonly unchecked: "uds-checkbox-variant-value-unchecked-checkbox-icon";
|
|
46
|
-
readonly indeterminate: "uds-checkbox-variant-value-indeterminate-checkbox-icon";
|
|
47
|
-
};
|
|
48
|
-
checkboxVariantCheckboxIcon: {
|
|
49
|
-
readonly primary: "uds-checkbox-variant-primary-checkbox-icon";
|
|
50
|
-
readonly secondary: "uds-checkbox-variant-secondary-checkbox-icon";
|
|
51
|
-
readonly alert: "uds-checkbox-variant-alert-checkbox-icon";
|
|
52
|
-
readonly 'alert-secondary': "uds-checkbox-variant-alert-secondary-checkbox-icon";
|
|
53
|
-
};
|
|
54
13
|
dividerVariantRoot: {
|
|
55
14
|
readonly primary: "uds-divider-variant-primary-root";
|
|
56
15
|
readonly secondary: "uds-divider-variant-secondary-root";
|
|
@@ -69,139 +28,72 @@ declare const variants: {
|
|
|
69
28
|
readonly tertiary: "uds-divider-variant-tertiary-label";
|
|
70
29
|
readonly muted: "uds-divider-variant-muted-label";
|
|
71
30
|
};
|
|
72
|
-
|
|
73
|
-
readonly
|
|
74
|
-
readonly off: "uds-switch-variant-active-off-root";
|
|
75
|
-
};
|
|
76
|
-
switchVariantRoot: {
|
|
77
|
-
readonly default: "uds-switch-variant-default-root";
|
|
78
|
-
};
|
|
79
|
-
switchVariantActiveSwitch: {
|
|
80
|
-
readonly on: "uds-switch-variant-active-on-switch";
|
|
81
|
-
readonly off: "uds-switch-variant-active-off-switch";
|
|
82
|
-
};
|
|
83
|
-
switchVariantSwitch: {
|
|
84
|
-
readonly default: "uds-switch-variant-default-switch";
|
|
85
|
-
};
|
|
86
|
-
switchVariantActiveHandle: {
|
|
87
|
-
readonly on: "uds-switch-variant-active-on-handle";
|
|
88
|
-
readonly off: "uds-switch-variant-active-off-handle";
|
|
89
|
-
};
|
|
90
|
-
switchVariantHandle: {
|
|
91
|
-
readonly default: "uds-switch-variant-default-handle";
|
|
92
|
-
};
|
|
93
|
-
switchVariantActiveHandleIcon: {
|
|
94
|
-
readonly on: "uds-switch-variant-active-on-handle-icon";
|
|
95
|
-
readonly off: "uds-switch-variant-active-off-handle-icon";
|
|
96
|
-
};
|
|
97
|
-
switchVariantHandleIcon: {
|
|
98
|
-
readonly default: "uds-switch-variant-default-handle-icon";
|
|
99
|
-
};
|
|
100
|
-
switchSizeRoot: {
|
|
101
|
-
readonly sm: "uds-switch-size-sm-root";
|
|
102
|
-
readonly md: "uds-switch-size-md-root";
|
|
103
|
-
};
|
|
104
|
-
switchSizeSwitch: {
|
|
105
|
-
readonly sm: "uds-switch-size-sm-switch";
|
|
106
|
-
readonly md: "uds-switch-size-md-switch";
|
|
107
|
-
};
|
|
108
|
-
switchSizeHandle: {
|
|
109
|
-
readonly sm: "uds-switch-size-sm-handle";
|
|
110
|
-
readonly md: "uds-switch-size-md-handle";
|
|
31
|
+
menuSizeRoot: {
|
|
32
|
+
readonly default: "uds-menu-size-default-root";
|
|
111
33
|
};
|
|
112
|
-
|
|
113
|
-
readonly
|
|
114
|
-
readonly md: "uds-switch-size-md-handle-icon";
|
|
34
|
+
menuSizeStartIcon: {
|
|
35
|
+
readonly default: "uds-menu-size-default-start-icon";
|
|
115
36
|
};
|
|
116
|
-
|
|
117
|
-
readonly
|
|
118
|
-
readonly md: "uds-chip-size-md-root";
|
|
37
|
+
menuSizeEndIcon: {
|
|
38
|
+
readonly default: "uds-menu-size-default-end-icon";
|
|
119
39
|
};
|
|
120
|
-
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
40
|
+
menuItemVariantActiveRoot: {
|
|
41
|
+
readonly on: "uds-menu-item-variant-active-on-root";
|
|
42
|
+
readonly off: "uds-menu-item-variant-active-off-root";
|
|
123
43
|
};
|
|
124
|
-
|
|
125
|
-
readonly
|
|
126
|
-
readonly off: "uds-chip-toggle-variant-active-off-root";
|
|
44
|
+
menuItemVariantRoot: {
|
|
45
|
+
readonly default: "uds-menu-item-variant-default-root";
|
|
127
46
|
};
|
|
128
|
-
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
131
|
-
readonly brand: "uds-chip-toggle-variant-brand-root";
|
|
132
|
-
readonly 'brand-secondary': "uds-chip-toggle-variant-brand-secondary-root";
|
|
47
|
+
menuItemVariantActiveText: {
|
|
48
|
+
readonly on: "uds-menu-item-variant-active-on-text";
|
|
49
|
+
readonly off: "uds-menu-item-variant-active-off-text";
|
|
133
50
|
};
|
|
134
|
-
|
|
135
|
-
readonly
|
|
136
|
-
readonly off: "uds-chip-toggle-variant-active-off-icon";
|
|
51
|
+
menuItemVariantText: {
|
|
52
|
+
readonly default: "uds-menu-item-variant-default-text";
|
|
137
53
|
};
|
|
138
|
-
|
|
139
|
-
readonly
|
|
140
|
-
readonly
|
|
141
|
-
readonly brand: "uds-chip-toggle-variant-brand-icon";
|
|
142
|
-
readonly 'brand-secondary': "uds-chip-toggle-variant-brand-secondary-icon";
|
|
54
|
+
menuItemVariantActiveIcon: {
|
|
55
|
+
readonly on: "uds-menu-item-variant-active-on-icon";
|
|
56
|
+
readonly off: "uds-menu-item-variant-active-off-icon";
|
|
143
57
|
};
|
|
144
|
-
|
|
145
|
-
readonly
|
|
146
|
-
readonly secondary: "uds-chip-dismissible-variant-secondary-root";
|
|
147
|
-
readonly brand: "uds-chip-dismissible-variant-brand-root";
|
|
148
|
-
readonly 'brand-secondary': "uds-chip-dismissible-variant-brand-secondary-root";
|
|
58
|
+
menuItemVariantIcon: {
|
|
59
|
+
readonly default: "uds-menu-item-variant-default-icon";
|
|
149
60
|
};
|
|
150
|
-
|
|
151
|
-
readonly
|
|
152
|
-
readonly
|
|
153
|
-
readonly brand: "uds-chip-dismissible-variant-brand-icon";
|
|
154
|
-
readonly 'brand-secondary': "uds-chip-dismissible-variant-brand-secondary-icon";
|
|
61
|
+
menuItemCheckboxVariantActiveRoot: {
|
|
62
|
+
readonly on: "uds-menu-item-checkbox-variant-active-on-root";
|
|
63
|
+
readonly off: "uds-menu-item-checkbox-variant-active-off-root";
|
|
155
64
|
};
|
|
156
|
-
|
|
157
|
-
readonly
|
|
158
|
-
readonly secondary: "uds-chip-link-variant-secondary-root";
|
|
159
|
-
readonly brand: "uds-chip-link-variant-brand-root";
|
|
160
|
-
readonly 'brand-secondary': "uds-chip-link-variant-brand-secondary-root";
|
|
65
|
+
menuItemCheckboxVariantRoot: {
|
|
66
|
+
readonly default: "uds-menu-item-checkbox-variant-default-root";
|
|
161
67
|
};
|
|
162
|
-
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly brand: "uds-chip-link-variant-brand-icon";
|
|
166
|
-
readonly 'brand-secondary': "uds-chip-link-variant-brand-secondary-icon";
|
|
68
|
+
menuItemCheckboxVariantActiveText: {
|
|
69
|
+
readonly on: "uds-menu-item-checkbox-variant-active-on-text";
|
|
70
|
+
readonly off: "uds-menu-item-checkbox-variant-active-off-text";
|
|
167
71
|
};
|
|
168
|
-
|
|
169
|
-
readonly
|
|
170
|
-
readonly unchecked: "uds-radio-variant-value-unchecked-root";
|
|
72
|
+
menuItemCheckboxVariantText: {
|
|
73
|
+
readonly default: "uds-menu-item-checkbox-variant-default-text";
|
|
171
74
|
};
|
|
172
|
-
|
|
173
|
-
readonly
|
|
174
|
-
readonly
|
|
175
|
-
readonly alert: "uds-radio-variant-alert-root";
|
|
176
|
-
readonly 'alert-secondary': "uds-radio-variant-alert-secondary-root";
|
|
75
|
+
menuItemCheckboxVariantActiveStartIcon: {
|
|
76
|
+
readonly on: "uds-menu-item-checkbox-variant-active-on-start-icon";
|
|
77
|
+
readonly off: "uds-menu-item-checkbox-variant-active-off-start-icon";
|
|
177
78
|
};
|
|
178
|
-
|
|
179
|
-
readonly
|
|
180
|
-
readonly unchecked: "uds-radio-variant-value-unchecked-radio";
|
|
79
|
+
menuItemCheckboxVariantStartIcon: {
|
|
80
|
+
readonly default: "uds-menu-item-checkbox-variant-default-start-icon";
|
|
181
81
|
};
|
|
182
|
-
|
|
183
|
-
readonly
|
|
184
|
-
readonly
|
|
185
|
-
readonly alert: "uds-radio-variant-alert-radio";
|
|
186
|
-
readonly 'alert-secondary': "uds-radio-variant-alert-secondary-radio";
|
|
82
|
+
menuItemCheckboxVariantActiveEndIcon: {
|
|
83
|
+
readonly on: "uds-menu-item-checkbox-variant-active-on-end-icon";
|
|
84
|
+
readonly off: "uds-menu-item-checkbox-variant-active-off-end-icon";
|
|
187
85
|
};
|
|
188
|
-
|
|
189
|
-
readonly
|
|
190
|
-
readonly unchecked: "uds-radio-variant-value-unchecked-radio-circle";
|
|
86
|
+
menuItemCheckboxVariantEndIcon: {
|
|
87
|
+
readonly default: "uds-menu-item-checkbox-variant-default-end-icon";
|
|
191
88
|
};
|
|
192
|
-
|
|
193
|
-
readonly
|
|
194
|
-
readonly secondary: "uds-radio-variant-secondary-radio-circle";
|
|
195
|
-
readonly alert: "uds-radio-variant-alert-radio-circle";
|
|
196
|
-
readonly 'alert-secondary': "uds-radio-variant-alert-secondary-radio-circle";
|
|
89
|
+
menuDividerVariantRoot: {
|
|
90
|
+
readonly default: "uds-menu-divider-variant-default-root";
|
|
197
91
|
};
|
|
198
|
-
|
|
199
|
-
readonly
|
|
200
|
-
readonly md: "uds-radio-size-md-root";
|
|
92
|
+
menuDividerVariantText: {
|
|
93
|
+
readonly default: "uds-menu-divider-variant-default-text";
|
|
201
94
|
};
|
|
202
|
-
|
|
203
|
-
readonly
|
|
204
|
-
readonly md: "uds-radio-size-md-radio";
|
|
95
|
+
menuDividerVariantLine: {
|
|
96
|
+
readonly default: "uds-menu-divider-variant-default-line";
|
|
205
97
|
};
|
|
206
98
|
linkTextStyleRoot: {
|
|
207
99
|
readonly display1: "uds-link-text-style-display-1-root";
|
|
@@ -309,6 +201,85 @@ declare const variants: {
|
|
|
309
201
|
readonly info: "uds-badge-variant-info-icon";
|
|
310
202
|
readonly 'info-secondary': "uds-badge-variant-info-secondary-icon";
|
|
311
203
|
};
|
|
204
|
+
radioVariantValueRoot: {
|
|
205
|
+
readonly checked: "uds-radio-variant-value-checked-root";
|
|
206
|
+
readonly unchecked: "uds-radio-variant-value-unchecked-root";
|
|
207
|
+
};
|
|
208
|
+
radioVariantRoot: {
|
|
209
|
+
readonly primary: "uds-radio-variant-primary-root";
|
|
210
|
+
readonly secondary: "uds-radio-variant-secondary-root";
|
|
211
|
+
readonly alert: "uds-radio-variant-alert-root";
|
|
212
|
+
readonly 'alert-secondary': "uds-radio-variant-alert-secondary-root";
|
|
213
|
+
};
|
|
214
|
+
radioVariantValueRadio: {
|
|
215
|
+
readonly checked: "uds-radio-variant-value-checked-radio";
|
|
216
|
+
readonly unchecked: "uds-radio-variant-value-unchecked-radio";
|
|
217
|
+
};
|
|
218
|
+
radioVariantRadio: {
|
|
219
|
+
readonly primary: "uds-radio-variant-primary-radio";
|
|
220
|
+
readonly secondary: "uds-radio-variant-secondary-radio";
|
|
221
|
+
readonly alert: "uds-radio-variant-alert-radio";
|
|
222
|
+
readonly 'alert-secondary': "uds-radio-variant-alert-secondary-radio";
|
|
223
|
+
};
|
|
224
|
+
radioVariantValueRadioCircle: {
|
|
225
|
+
readonly checked: "uds-radio-variant-value-checked-radio-circle";
|
|
226
|
+
readonly unchecked: "uds-radio-variant-value-unchecked-radio-circle";
|
|
227
|
+
};
|
|
228
|
+
radioVariantRadioCircle: {
|
|
229
|
+
readonly primary: "uds-radio-variant-primary-radio-circle";
|
|
230
|
+
readonly secondary: "uds-radio-variant-secondary-radio-circle";
|
|
231
|
+
readonly alert: "uds-radio-variant-alert-radio-circle";
|
|
232
|
+
readonly 'alert-secondary': "uds-radio-variant-alert-secondary-radio-circle";
|
|
233
|
+
};
|
|
234
|
+
radioSizeRoot: {
|
|
235
|
+
readonly sm: "uds-radio-size-sm-root";
|
|
236
|
+
readonly md: "uds-radio-size-md-root";
|
|
237
|
+
};
|
|
238
|
+
radioSizeRadio: {
|
|
239
|
+
readonly sm: "uds-radio-size-sm-radio";
|
|
240
|
+
readonly md: "uds-radio-size-md-radio";
|
|
241
|
+
};
|
|
242
|
+
checkboxSizeRoot: {
|
|
243
|
+
readonly sm: "uds-checkbox-size-sm-root";
|
|
244
|
+
readonly md: "uds-checkbox-size-md-root";
|
|
245
|
+
};
|
|
246
|
+
checkboxSizeCheckbox: {
|
|
247
|
+
readonly sm: "uds-checkbox-size-sm-checkbox";
|
|
248
|
+
readonly md: "uds-checkbox-size-md-checkbox";
|
|
249
|
+
};
|
|
250
|
+
checkboxVariantValueRoot: {
|
|
251
|
+
readonly checked: "uds-checkbox-variant-value-checked-root";
|
|
252
|
+
readonly unchecked: "uds-checkbox-variant-value-unchecked-root";
|
|
253
|
+
readonly indeterminate: "uds-checkbox-variant-value-indeterminate-root";
|
|
254
|
+
};
|
|
255
|
+
checkboxVariantRoot: {
|
|
256
|
+
readonly primary: "uds-checkbox-variant-primary-root";
|
|
257
|
+
readonly secondary: "uds-checkbox-variant-secondary-root";
|
|
258
|
+
readonly alert: "uds-checkbox-variant-alert-root";
|
|
259
|
+
readonly 'alert-secondary': "uds-checkbox-variant-alert-secondary-root";
|
|
260
|
+
};
|
|
261
|
+
checkboxVariantValueCheckbox: {
|
|
262
|
+
readonly checked: "uds-checkbox-variant-value-checked-checkbox";
|
|
263
|
+
readonly unchecked: "uds-checkbox-variant-value-unchecked-checkbox";
|
|
264
|
+
readonly indeterminate: "uds-checkbox-variant-value-indeterminate-checkbox";
|
|
265
|
+
};
|
|
266
|
+
checkboxVariantCheckbox: {
|
|
267
|
+
readonly primary: "uds-checkbox-variant-primary-checkbox";
|
|
268
|
+
readonly secondary: "uds-checkbox-variant-secondary-checkbox";
|
|
269
|
+
readonly alert: "uds-checkbox-variant-alert-checkbox";
|
|
270
|
+
readonly 'alert-secondary': "uds-checkbox-variant-alert-secondary-checkbox";
|
|
271
|
+
};
|
|
272
|
+
checkboxVariantValueCheckboxIcon: {
|
|
273
|
+
readonly checked: "uds-checkbox-variant-value-checked-checkbox-icon";
|
|
274
|
+
readonly unchecked: "uds-checkbox-variant-value-unchecked-checkbox-icon";
|
|
275
|
+
readonly indeterminate: "uds-checkbox-variant-value-indeterminate-checkbox-icon";
|
|
276
|
+
};
|
|
277
|
+
checkboxVariantCheckboxIcon: {
|
|
278
|
+
readonly primary: "uds-checkbox-variant-primary-checkbox-icon";
|
|
279
|
+
readonly secondary: "uds-checkbox-variant-secondary-checkbox-icon";
|
|
280
|
+
readonly alert: "uds-checkbox-variant-alert-checkbox-icon";
|
|
281
|
+
readonly 'alert-secondary': "uds-checkbox-variant-alert-secondary-checkbox-icon";
|
|
282
|
+
};
|
|
312
283
|
inputSizeRoot: {
|
|
313
284
|
readonly md: "uds-input-size-md-root";
|
|
314
285
|
readonly lg: "uds-input-size-lg-root";
|
|
@@ -411,6 +382,50 @@ declare const variants: {
|
|
|
411
382
|
inputVariantHelperText: {
|
|
412
383
|
readonly default: "uds-input-variant-default-helper-text";
|
|
413
384
|
};
|
|
385
|
+
switchVariantActiveRoot: {
|
|
386
|
+
readonly on: "uds-switch-variant-active-on-root";
|
|
387
|
+
readonly off: "uds-switch-variant-active-off-root";
|
|
388
|
+
};
|
|
389
|
+
switchVariantRoot: {
|
|
390
|
+
readonly default: "uds-switch-variant-default-root";
|
|
391
|
+
};
|
|
392
|
+
switchVariantActiveSwitch: {
|
|
393
|
+
readonly on: "uds-switch-variant-active-on-switch";
|
|
394
|
+
readonly off: "uds-switch-variant-active-off-switch";
|
|
395
|
+
};
|
|
396
|
+
switchVariantSwitch: {
|
|
397
|
+
readonly default: "uds-switch-variant-default-switch";
|
|
398
|
+
};
|
|
399
|
+
switchVariantActiveHandle: {
|
|
400
|
+
readonly on: "uds-switch-variant-active-on-handle";
|
|
401
|
+
readonly off: "uds-switch-variant-active-off-handle";
|
|
402
|
+
};
|
|
403
|
+
switchVariantHandle: {
|
|
404
|
+
readonly default: "uds-switch-variant-default-handle";
|
|
405
|
+
};
|
|
406
|
+
switchVariantActiveHandleIcon: {
|
|
407
|
+
readonly on: "uds-switch-variant-active-on-handle-icon";
|
|
408
|
+
readonly off: "uds-switch-variant-active-off-handle-icon";
|
|
409
|
+
};
|
|
410
|
+
switchVariantHandleIcon: {
|
|
411
|
+
readonly default: "uds-switch-variant-default-handle-icon";
|
|
412
|
+
};
|
|
413
|
+
switchSizeRoot: {
|
|
414
|
+
readonly sm: "uds-switch-size-sm-root";
|
|
415
|
+
readonly md: "uds-switch-size-md-root";
|
|
416
|
+
};
|
|
417
|
+
switchSizeSwitch: {
|
|
418
|
+
readonly sm: "uds-switch-size-sm-switch";
|
|
419
|
+
readonly md: "uds-switch-size-md-switch";
|
|
420
|
+
};
|
|
421
|
+
switchSizeHandle: {
|
|
422
|
+
readonly sm: "uds-switch-size-sm-handle";
|
|
423
|
+
readonly md: "uds-switch-size-md-handle";
|
|
424
|
+
};
|
|
425
|
+
switchSizeHandleIcon: {
|
|
426
|
+
readonly sm: "uds-switch-size-sm-handle-icon";
|
|
427
|
+
readonly md: "uds-switch-size-md-handle-icon";
|
|
428
|
+
};
|
|
414
429
|
avatarSizeRoot: {
|
|
415
430
|
readonly xs: "uds-avatar-size-xs-root";
|
|
416
431
|
readonly sm: "uds-avatar-size-sm-root";
|
|
@@ -437,72 +452,57 @@ declare const variants: {
|
|
|
437
452
|
readonly primary: "uds-avatar-icon-variant-primary-root";
|
|
438
453
|
readonly secondary: "uds-avatar-icon-variant-secondary-root";
|
|
439
454
|
};
|
|
440
|
-
|
|
441
|
-
readonly
|
|
442
|
-
|
|
443
|
-
menuSizeStartIcon: {
|
|
444
|
-
readonly default: "uds-menu-size-default-start-icon";
|
|
445
|
-
};
|
|
446
|
-
menuSizeEndIcon: {
|
|
447
|
-
readonly default: "uds-menu-size-default-end-icon";
|
|
448
|
-
};
|
|
449
|
-
menuItemVariantActiveRoot: {
|
|
450
|
-
readonly on: "uds-menu-item-variant-active-on-root";
|
|
451
|
-
readonly off: "uds-menu-item-variant-active-off-root";
|
|
452
|
-
};
|
|
453
|
-
menuItemVariantRoot: {
|
|
454
|
-
readonly default: "uds-menu-item-variant-default-root";
|
|
455
|
-
};
|
|
456
|
-
menuItemVariantActiveText: {
|
|
457
|
-
readonly on: "uds-menu-item-variant-active-on-text";
|
|
458
|
-
readonly off: "uds-menu-item-variant-active-off-text";
|
|
459
|
-
};
|
|
460
|
-
menuItemVariantText: {
|
|
461
|
-
readonly default: "uds-menu-item-variant-default-text";
|
|
462
|
-
};
|
|
463
|
-
menuItemVariantActiveIcon: {
|
|
464
|
-
readonly on: "uds-menu-item-variant-active-on-icon";
|
|
465
|
-
readonly off: "uds-menu-item-variant-active-off-icon";
|
|
466
|
-
};
|
|
467
|
-
menuItemVariantIcon: {
|
|
468
|
-
readonly default: "uds-menu-item-variant-default-icon";
|
|
469
|
-
};
|
|
470
|
-
menuItemCheckboxVariantActiveRoot: {
|
|
471
|
-
readonly on: "uds-menu-item-checkbox-variant-active-on-root";
|
|
472
|
-
readonly off: "uds-menu-item-checkbox-variant-active-off-root";
|
|
473
|
-
};
|
|
474
|
-
menuItemCheckboxVariantRoot: {
|
|
475
|
-
readonly default: "uds-menu-item-checkbox-variant-default-root";
|
|
455
|
+
chipSizeRoot: {
|
|
456
|
+
readonly sm: "uds-chip-size-sm-root";
|
|
457
|
+
readonly md: "uds-chip-size-md-root";
|
|
476
458
|
};
|
|
477
|
-
|
|
478
|
-
readonly
|
|
479
|
-
readonly
|
|
459
|
+
chipSizeIcon: {
|
|
460
|
+
readonly sm: "uds-chip-size-sm-icon";
|
|
461
|
+
readonly md: "uds-chip-size-md-icon";
|
|
480
462
|
};
|
|
481
|
-
|
|
482
|
-
readonly
|
|
463
|
+
chipToggleVariantActiveRoot: {
|
|
464
|
+
readonly on: "uds-chip-toggle-variant-active-on-root";
|
|
465
|
+
readonly off: "uds-chip-toggle-variant-active-off-root";
|
|
483
466
|
};
|
|
484
|
-
|
|
485
|
-
readonly
|
|
486
|
-
readonly
|
|
467
|
+
chipToggleVariantRoot: {
|
|
468
|
+
readonly primary: "uds-chip-toggle-variant-primary-root";
|
|
469
|
+
readonly secondary: "uds-chip-toggle-variant-secondary-root";
|
|
470
|
+
readonly brand: "uds-chip-toggle-variant-brand-root";
|
|
471
|
+
readonly 'brand-secondary': "uds-chip-toggle-variant-brand-secondary-root";
|
|
487
472
|
};
|
|
488
|
-
|
|
489
|
-
readonly
|
|
473
|
+
chipToggleVariantActiveIcon: {
|
|
474
|
+
readonly on: "uds-chip-toggle-variant-active-on-icon";
|
|
475
|
+
readonly off: "uds-chip-toggle-variant-active-off-icon";
|
|
490
476
|
};
|
|
491
|
-
|
|
492
|
-
readonly
|
|
493
|
-
readonly
|
|
477
|
+
chipToggleVariantIcon: {
|
|
478
|
+
readonly primary: "uds-chip-toggle-variant-primary-icon";
|
|
479
|
+
readonly secondary: "uds-chip-toggle-variant-secondary-icon";
|
|
480
|
+
readonly brand: "uds-chip-toggle-variant-brand-icon";
|
|
481
|
+
readonly 'brand-secondary': "uds-chip-toggle-variant-brand-secondary-icon";
|
|
494
482
|
};
|
|
495
|
-
|
|
496
|
-
readonly
|
|
483
|
+
chipDismissibleVariantRoot: {
|
|
484
|
+
readonly primary: "uds-chip-dismissible-variant-primary-root";
|
|
485
|
+
readonly secondary: "uds-chip-dismissible-variant-secondary-root";
|
|
486
|
+
readonly brand: "uds-chip-dismissible-variant-brand-root";
|
|
487
|
+
readonly 'brand-secondary': "uds-chip-dismissible-variant-brand-secondary-root";
|
|
497
488
|
};
|
|
498
|
-
|
|
499
|
-
readonly
|
|
489
|
+
chipDismissibleVariantIcon: {
|
|
490
|
+
readonly primary: "uds-chip-dismissible-variant-primary-icon";
|
|
491
|
+
readonly secondary: "uds-chip-dismissible-variant-secondary-icon";
|
|
492
|
+
readonly brand: "uds-chip-dismissible-variant-brand-icon";
|
|
493
|
+
readonly 'brand-secondary': "uds-chip-dismissible-variant-brand-secondary-icon";
|
|
500
494
|
};
|
|
501
|
-
|
|
502
|
-
readonly
|
|
495
|
+
chipLinkVariantRoot: {
|
|
496
|
+
readonly primary: "uds-chip-link-variant-primary-root";
|
|
497
|
+
readonly secondary: "uds-chip-link-variant-secondary-root";
|
|
498
|
+
readonly brand: "uds-chip-link-variant-brand-root";
|
|
499
|
+
readonly 'brand-secondary': "uds-chip-link-variant-brand-secondary-root";
|
|
503
500
|
};
|
|
504
|
-
|
|
505
|
-
readonly
|
|
501
|
+
chipLinkVariantIcon: {
|
|
502
|
+
readonly primary: "uds-chip-link-variant-primary-icon";
|
|
503
|
+
readonly secondary: "uds-chip-link-variant-secondary-icon";
|
|
504
|
+
readonly brand: "uds-chip-link-variant-brand-icon";
|
|
505
|
+
readonly 'brand-secondary': "uds-chip-link-variant-brand-secondary-icon";
|
|
506
506
|
};
|
|
507
507
|
color: {
|
|
508
508
|
accent: string;
|
|
@@ -1923,8 +1923,8 @@ declare function getConfigVariantComponentStatesMatrix<C extends ComponentConfig
|
|
|
1923
1923
|
* @returns A Record of layer names to their properties, or null if no properties are found
|
|
1924
1924
|
*/
|
|
1925
1925
|
declare function getConfigVariantProperties(variant?: VariantConfig): {
|
|
1926
|
-
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"fontFamily" | "shadow" | "fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "backgroundColor" | "borderColor" | "color" | "borderRadius" | "borderWidth" | "padding" | "iconSize" | "insetShadow" | "spacingHorizontal" | "spacingVertical" | "width" | "height" | "gap" | "textVariant" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "
|
|
1927
|
-
root: Readonly<Record<string, SelectedConfigurableProperty<"fontFamily" | "shadow" | "fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "backgroundColor" | "borderColor" | "color" | "borderRadius" | "borderWidth" | "padding" | "iconSize" | "insetShadow" | "spacingHorizontal" | "spacingVertical" | "width" | "height" | "gap" | "textVariant" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "
|
|
1926
|
+
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"fontFamily" | "shadow" | "fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "backgroundColor" | "borderColor" | "color" | "borderRadius" | "borderWidth" | "padding" | "iconSize" | "insetShadow" | "spacingHorizontal" | "spacingVertical" | "width" | "height" | "gap" | "textVariant" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "alwaysPaletteAliases" | "spectrumColors")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "alwaysPaletteAliases" | "spectrumColors")[] | ("spacingAliases" | "borderWidths")[] | ("linePaletteColors" | "alwaysPaletteAliases" | "spectrumColors")[] | "borderRadii"[] | "iconSizes"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "textDecorationLines"[], readonly (readonly string[])[]>>>;
|
|
1927
|
+
root: Readonly<Record<string, SelectedConfigurableProperty<"fontFamily" | "shadow" | "fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "backgroundColor" | "borderColor" | "color" | "borderRadius" | "borderWidth" | "padding" | "iconSize" | "insetShadow" | "spacingHorizontal" | "spacingVertical" | "width" | "height" | "gap" | "textVariant" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "alwaysPaletteAliases" | "spectrumColors")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "alwaysPaletteAliases" | "spectrumColors")[] | ("spacingAliases" | "borderWidths")[] | ("linePaletteColors" | "alwaysPaletteAliases" | "spectrumColors")[] | "borderRadii"[] | "iconSizes"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "textDecorationLines"[], readonly (readonly string[])[]>>>;
|
|
1928
1928
|
} | null;
|
|
1929
1929
|
|
|
1930
1930
|
type GenericProperty = SelectedConfigurableProperty<any, any>;
|
package/dist/tokens/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
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,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-
|
|
1
|
+
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,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-4WJHTN3D.js";export{entries,mapValues}from"../chunk-EWJ3J526.js";export{variants}from"../chunk-XQL5LDQJ.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,INVERT_COLOR_MODE_CLASSNAME,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,SYSTEM_COLOR_MODE_CLASSNAME,TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES,TEXT_RESPONSIVE_CLASSNAME,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"../chunk-PM4TFP3I.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as UniversalTokensConfig, h as ColorMode, i as ColorsConfig, H as Hue, j as HueStep, P as PaletteType, k as PaletteConfig, l as ScaleMode } from '../types-
|
|
1
|
+
import { g as UniversalTokensConfig, h as ColorMode, i as ColorsConfig, H as Hue, j as HueStep, P as PaletteType, k as PaletteConfig, l as ScaleMode } from '../types-DSC_fUuJ.cjs';
|
|
2
2
|
import '@yahoo/uds-icons/types';
|
|
3
3
|
import 'motion/react';
|
|
4
4
|
import 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as UniversalTokensConfig, h as ColorMode, i as ColorsConfig, H as Hue, j as HueStep, P as PaletteType, k as PaletteConfig, l as ScaleMode } from '../types-
|
|
1
|
+
import { g as UniversalTokensConfig, h as ColorMode, i as ColorsConfig, H as Hue, j as HueStep, P as PaletteType, k as PaletteConfig, l as ScaleMode } from '../types-DSC_fUuJ.js';
|
|
2
2
|
import '@yahoo/uds-icons/types';
|
|
3
3
|
import 'motion/react';
|
|
4
4
|
import 'react';
|
package/package.json
CHANGED
package/dist/chunk-MUVYEL64.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{getMotionVar as r}from"./chunk-DETLKOCI.js";import{FONT_DECLARATIONS_MAP as t,fromEntries as a,assertUnreachable as n}from"./chunk-IANOIZPS.js";import{entries as o}from"./chunk-EWJ3J526.js";import{require_baseGetTag as e,require_isArray as s,require_isObjectLike as i}from"./chunk-7QVCKS7V.js";import{TEXT_TRANSFORM_PREFIX as d,LINE_HEIGHT_PREFIX as f,FONT_SIZE_PREFIX as l,FONT_WIDTH_PREFIX as c,FONT_SLANT_PREFIX as u,FONT_WEIGHT_PREFIX as m,FONT_FAMILY_PREFIX as p,TEXT_RESPONSIVE_CLASSNAME as h,UDS_PREFIX as $,TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES as g}from"./chunk-PM4TFP3I.js";import{__commonJS as v,__toESM as w}from"./chunk-GF4A6TFM.js";import{textVariants as x,motionSpringConfigOptions as b}from"@yahoo/uds/fixtures";import k from"tailwindcss/plugin.js";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
var M=v({"../../node_modules/lodash/isString.js"(r,t){var a=e(),n=s(),o=i();t.exports=function(r){return"string"==typeof r||!n(r)&&o(r)&&"[object String]"==a(r)}}}),y=w(M(),1);var S=r=>r.replace("/","-"),j=r=>"."+g[r],E=(r,t,a,o)=>{const e=r.typography[t]?.[a];if(!e)throw new Error(`Missing typography data for variant "${t}" and key "${a}"`);const s="base"===o?e.base:e.breakpoints?.[o];if(!s)throw new Error(`Missing value for variant "${t}", key "${a}", and breakpoint "${o}"`);if((0,y.default)(s))return s;switch(s.type){case"px":return s.value/16+"rem";case"unitless":return String(s.value)}return n(s)},F=(r,t)=>t in r.font?`var(--${p}-${t})`:t,O=(r,t)=>Object.fromEntries(x.flatMap(a=>{const n=S(a);return[[`--${p}-${n}`,F(r,E(r,a,"fontFamily",t))],[`--${l}-${n}`,E(r,a,"fontSize",t)],[`--${m}-${n}`,E(r,a,"fontWeight",t)],[`--${u}-${n}`,E(r,a,"fontSlant",t)],[`--${c}-${n}`,E(r,a,"fontWidth",t)],[`--${f}-${n}`,E(r,a,"lineHeight",t)],[`--${d}-${n}`,E(r,a,"textTransform",t)]]})),L=r=>Object.fromEntries(x.map(S).map(t=>[t,`var(--${r}-${t})`])),_={fontFamily:L(p),fontWeight:L(m),fontSlant:L(u),fontWidth:L(c),fontSize:L(l),lineHeight:L(f),textTransform:L(d)},T=r=>O(r,"base"),W=r=>{const t=(a=r.breakpoints,Object.entries(a)).sort(([,{value:r}],[,{value:t}])=>r-t);var a;return{[`.${h}`]:Object.fromEntries(t.map(([t,{value:a}])=>[`@media (min-width: ${a}px)`,O(r,t)])),[j("base")]:O(r,"base"),[j("defaultBreakpoint")]:O(r,r.globalDefaults.breakpoint),...Object.fromEntries(t.map(([t])=>[j(t),O(r,t)]))}};function I(r,{addBase:t}){const a=D(r);for(const r of a)t({"@font-face":r})}var z=k.withOptions(function({fontIds:r}){return function({addBase:t}){I(r,{addBase:t})}});function B(r){return{light:{colorScheme:"light","--uds-light-mode-icon":"inline","--uds-dark-mode-icon":"none",...r.colorMode.light._vars},dark:{colorScheme:"dark","--uds-light-mode-icon":"none","--uds-dark-mode-icon":"inline",...r.colorMode.dark._vars}}}function D(r){return r.flatMap(r=>{const{declarations:a,fontFamily:n}=t[r];return a.map(r=>({fontFamily:n,fontDisplay:"swap",...r}))})}function P(r){return`"${r}"`}function A(r){return a(o(r).map(([r,a])=>{const n=`--${p}-${r}`,o=t[a];return[n,[o.fontFamily,...o.fallback].map(P).join(", ")]}))}function C(t){const n=o(t).flatMap(([t,a])=>o(a).flatMap(([a,n])=>b.map(o=>[r({variant:t,speed:a,control:o}),`${n[o]}`])));return a(n)}function H(r){return{...r.borderRadius._vars,...r.borderWidth._vars,...r.avatarSizes._vars,...r.iconSizes._vars}}function J(r){return{xSmall:H(r.scaleMode.xSmall),small:H(r.scaleMode.small),medium:H(r.scaleMode.medium),large:H(r.scaleMode.large),xLarge:H(r.scaleMode.xLarge),xxLarge:H(r.scaleMode.xxLarge),xxxLarge:H(r.scaleMode.xxxLarge)}}function K({config:r,shadowType:t}){const n=r.shadow[t],e=o(n).map(([r])=>[`.uds-${t}-shadow-${r}`,{[`--uds-${t}-shadow`]:`var(--${$}-${t}-shadow-${r})`,boxShadow:`var(--${$}-drop-shadow, 0 0 transparent), var(--${$}-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)`}]);return a(e)}export{_ as RESPONSIVE_TAILWIND_CONFIG_MAP,I as addFontFaceDeclarations,z as addFontsPlugin,T as getBaseTextVars,B as getColorModeStyles,D as getFontFaceDeclarations,A as getFontStyles,C as getMotionStyles,W as getResponsiveTextStyles,J as getScaleModeStyles,K as getShadowStyles,M as require_isString,S as textVariantsSafe};
|