@yahoo/uds 3.24.0 → 3.25.0-beta.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/{Input-Crp9AS8t.d.ts → Input-BpkMUfOK.d.ts} +1 -1
- package/dist/{Input-CTFjXsak.d.cts → Input-CcAlUSAm.d.cts} +1 -1
- package/dist/{Pressable-uP97VoWT.d.cts → Pressable-DRtbbkXl.d.cts} +1 -1
- package/dist/{Pressable-BsrbANqw.d.ts → Pressable-DpinF-ju.d.ts} +1 -1
- package/dist/{VStack-D8Acfb-s.d.cts → VStack-0AR7Lz9X.d.cts} +1 -1
- package/dist/{VStack-4G3tKmku.d.ts → VStack-CkFg0T5-.d.ts} +1 -1
- package/dist/{chunk-YK6UAS4X.js → chunk-3R4QYSXD.js} +1 -1
- package/dist/{chunk-6L6FTCV3.js → chunk-5S45DC7H.js} +1 -1
- package/dist/{chunk-LRXPFSOA.js → chunk-B7ZWZDQ7.js} +1 -1
- package/dist/{chunk-5E7KDOZD.cjs → chunk-DJ6N7Y4P.cjs} +1 -1
- package/dist/{chunk-5G4YVRQR.cjs → chunk-GEIJKIRH.cjs} +1 -1
- package/dist/{chunk-FANWR6MV.cjs → chunk-JEJPTRZE.cjs} +1 -1
- package/dist/{chunk-ASKAZ6ZW.js → chunk-P745RD2W.js} +1 -1
- package/dist/{chunk-PNDBJRYR.js → chunk-PTNBQ4FC.js} +1 -1
- package/dist/{chunk-ROM55CQD.js → chunk-VLJ4KJC6.js} +2 -2
- package/dist/{chunk-3M6OEJMI.cjs → chunk-VURXJH35.cjs} +1 -1
- package/dist/{chunk-AI3N423E.cjs → chunk-VZSADIMF.cjs} +2 -2
- package/dist/{chunk-7LDTYYQ4.cjs → chunk-XAVF5FDT.cjs} +1 -1
- package/dist/{chunk-GWA5BSEK.js → chunk-XFDHMRHM.js} +1 -1
- package/dist/{chunk-22VW7ZEL.cjs → chunk-Y6CC5AJU.cjs} +1 -1
- package/dist/client/Menu.cjs +2 -2
- 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/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 +2 -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-8rLHYKAK.d.cts → index-BPSgxa-M.d.cts} +8 -8
- package/dist/{index-CcRuZfrk.d.ts → index-sNMLQ454.d.ts} +8 -8
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +91 -91
- package/dist/index.d.ts +91 -91
- 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 +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +192 -192
- package/dist/tokens/index.d.ts +192 -192
- 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/{types-BrfKRznE.d.cts → types-DdH3vByQ.d.cts} +2074 -2074
- package/dist/{types-BrfKRznE.d.ts → types-DdH3vByQ.d.ts} +2074 -2074
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-CkFg0T5-.js';
|
2
|
+
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-CkFg0T5-.js';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
|
-
import { y as UniversalFormLabelProps, n as UniversalStackProps, z as IconPropsWithSVGProps, A as ImagePropsWithImgProps, D as UniversalIconSlot, E as UniversalLinkProps, J as UniversalTextProps } from './types-
|
5
|
-
export { N 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, O as BORDER_RADIUS_PREFIX, Q as BORDER_WIDTH_PREFIX, ae 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, d as BreakpointsConfig, aI as ButtonBaseConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, B as ButtonConfig, aN as ButtonKind, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aR as ButtonPalette, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b0 as ButtonVariant, b1 as ButtonVariantConfig, b2 as ButtonVariantFlat, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, g as ColorMode, C as ColorModeConfig, b8 as ColorModeForApp, h as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, a2 as DARK_COLOR_MODE_CLASSNAME, ab as DEFAULT_COLOR_MODE_CLASSNAME, ac as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, ah as FONT_DECLARATIONS_MAP, R as FONT_FAMILY_PREFIX, V as FONT_SIZE_PREFIX, X as FONT_SLANT_PREFIX, W as FONT_WEIGHT_PREFIX, Y as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ai as FontAxisConfig, F as FontConfig, br as FontCssVar, aj as FontDeclarationConfig, w as FontDeclarationItemConfig, ak as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, v as FontID, bu as FontSize, bv as FontSizeConfig, bw as FontSlantConfig, bx as FontType, by as FontWeightConfig, bz as FontWeightDescriptive, al as FontWeightForFont, bA as FontWeightNumeric, bB as FontWidthConfig, bC as ForegroundColor, bD as ForegroundPalette, bE as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bF as HighContrastMode, H as Hue, i as HueStep, af as ICON_BUTTON_CSS_VAR_MAP, Z as ICON_SIZE_PREFIX, q as IconButtonClassMap, bG as IconButtonClassName, I as IconButtonConfig, bH as IconButtonDefaultsConfig, bI as IconButtonSize, bJ as IconSizeConfig, bK as ImageStyleProps, bL as InputSize, a7 as LARGE_SCALE_MODE_CLASSNAME, a3 as LIGHT_COLOR_MODE_CLASSNAME, _ as LINE_HEIGHT_PREFIX, bM as LayoutStyleProps, bN as LetterSpacing, bO as LineClampAlias, bP as LineColor, bQ as LineHeight, bR as LineHeightConfig, bS as LinePalette, bT as LinePaletteAlias, a6 as MEDIUM_SCALE_MODE_CLASSNAME, $ as MOTION_PREFIX, bU as Modes, M as MotionConfig, bV as MotionCssVar, bW as MotionSpringConfig, bX as MotionSpringConfigOptions, bY as MotionVariant, bZ as MotionVariantSpeed, b_ as MotionVariantValues, b$ as Overflow, ag as PSEUDO_STYLE_SELECTOR_MAP, c0 as Palette, j as PaletteConfig, P as PaletteType, c1 as PaletteValue, c2 as Pixels, c3 as PlatformMode, c4 as Position, c5 as PropertyToPaletteAliasMap, c6 as RadioSize, c7 as RadioValue, c8 as RadioVariant, c9 as RegionMode, ca as Rems, a5 as SMALL_SCALE_MODE_CLASSNAME, a0 as SPECTRUM_COLOR_PREFIX, cb as ScaleConfig, cc as ScaleEffectMap, k as ScaleMode, S as ScaleModeConfig, cd as ScaleModeForApp, ce as ShadowColor, cf as ShadowColorConfig, c as ShadowConfig, cg as ShadowOffset, ch as ShadowOpacity, ci as ShadowPalette, cj as ShadowPaletteAlias, l as ShadowPreset, ck as ShadowSpreadRadius, cl as ShadowStyleProps, x as ShadowType, cm as ShadowTypeConfig, cn as ShadowVariant, co as ShadowVariantConfig, cp as ShadowVariantInvert, cq as ShadowVariantWithInvert, cr as SharedPaletteAlias, t as SpacingAlias, cs as SpacingConfig, ct as SpacingStyleProps, cu as SpectrumColor, cv as SpectrumConfig, cw as StateStyleProps, cx as StyleProps, cy as SwitchSize, ad as TEXT_RESPONSIVE_CLASSNAME, a1 as TEXT_TRANSFORM_PREFIX, cI as TShirtSize, cJ as TShirtSizeCommon, cz as TextDecorationLine, cA as TextProperty, cB as TextStyleProps, cC as TextTransform, cD as TextTransformConfig, cE as TextVariant, cF as TransitionDelay, cG as TransitionDuration, cH as TransitionTiming, T as TypographyConfig, cK as TypographyResponsiveProperty, cL as TypographyStyle, cM as TypographyStyleProperty, cN as TypographyUnitValue, L as UDS_PREFIX, cO as UdsCssVar, cP as Unitless, cQ as UniversalAvatarIconProps, cR as UniversalAvatarImageProps, cS as UniversalAvatarProps, cT as UniversalAvatarTextProps, cU as UniversalBadgeProps, m as UniversalBoxProps, cV as UniversalButtonProps, cW as UniversalCheckboxProps, cX as UniversalChipBaseProps, cY as UniversalChipButtonProps, cZ as UniversalChipDismissibleProps, c_ as UniversalChipLinkProps, c$ as UniversalChipProps, d0 as UniversalChipToggleProps, o as UniversalDividerProps, d1 as UniversalIconButtonProps, d2 as UniversalIconProps, d3 as UniversalImageProps, U as UniversalInputProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d4 as UniversalRadioGroupProps, d5 as UniversalRadioProps, b as UniversalSwitchProps, f as UniversalTokensConfig, d6 as UniversalTokensConfigAuto, a8 as XLARGE_SCALE_MODE_CLASSNAME, a4 as XSMALL_SCALE_MODE_CLASSNAME, a9 as XXLARGE_SCALE_MODE_CLASSNAME, aa as XXXLARGE_SCALE_MODE_CLASSNAME, K as alwaysPalette } from './types-
|
4
|
+
import { y as UniversalFormLabelProps, n as UniversalStackProps, z as IconPropsWithSVGProps, A as ImagePropsWithImgProps, D as UniversalIconSlot, E as UniversalLinkProps, J as UniversalTextProps } from './types-DdH3vByQ.js';
|
5
|
+
export { N 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, O as BORDER_RADIUS_PREFIX, Q as BORDER_WIDTH_PREFIX, ae 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, d as BreakpointsConfig, aI as ButtonBaseConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, B as ButtonConfig, aN as ButtonKind, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aR as ButtonPalette, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b0 as ButtonVariant, b1 as ButtonVariantConfig, b2 as ButtonVariantFlat, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, g as ColorMode, C as ColorModeConfig, b8 as ColorModeForApp, h as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, a2 as DARK_COLOR_MODE_CLASSNAME, ab as DEFAULT_COLOR_MODE_CLASSNAME, ac as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, ah as FONT_DECLARATIONS_MAP, R as FONT_FAMILY_PREFIX, V as FONT_SIZE_PREFIX, X as FONT_SLANT_PREFIX, W as FONT_WEIGHT_PREFIX, Y as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ai as FontAxisConfig, F as FontConfig, br as FontCssVar, aj as FontDeclarationConfig, w as FontDeclarationItemConfig, ak as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, v as FontID, bu as FontSize, bv as FontSizeConfig, bw as FontSlantConfig, bx as FontType, by as FontWeightConfig, bz as FontWeightDescriptive, al as FontWeightForFont, bA as FontWeightNumeric, bB as FontWidthConfig, bC as ForegroundColor, bD as ForegroundPalette, bE as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bF as HighContrastMode, H as Hue, i as HueStep, af as ICON_BUTTON_CSS_VAR_MAP, Z as ICON_SIZE_PREFIX, q as IconButtonClassMap, bG as IconButtonClassName, I as IconButtonConfig, bH as IconButtonDefaultsConfig, bI as IconButtonSize, bJ as IconSizeConfig, bK as ImageStyleProps, bL as InputSize, a7 as LARGE_SCALE_MODE_CLASSNAME, a3 as LIGHT_COLOR_MODE_CLASSNAME, _ as LINE_HEIGHT_PREFIX, bM as LayoutStyleProps, bN as LetterSpacing, bO as LineClampAlias, bP as LineColor, bQ as LineHeight, bR as LineHeightConfig, bS as LinePalette, bT as LinePaletteAlias, a6 as MEDIUM_SCALE_MODE_CLASSNAME, $ as MOTION_PREFIX, bU as Modes, M as MotionConfig, bV as MotionCssVar, bW as MotionSpringConfig, bX as MotionSpringConfigOptions, bY as MotionVariant, bZ as MotionVariantSpeed, b_ as MotionVariantValues, b$ as Overflow, ag as PSEUDO_STYLE_SELECTOR_MAP, c0 as Palette, j as PaletteConfig, P as PaletteType, c1 as PaletteValue, c2 as Pixels, c3 as PlatformMode, c4 as Position, c5 as PropertyToPaletteAliasMap, c6 as RadioSize, c7 as RadioValue, c8 as RadioVariant, c9 as RegionMode, ca as Rems, a5 as SMALL_SCALE_MODE_CLASSNAME, a0 as SPECTRUM_COLOR_PREFIX, cb as ScaleConfig, cc as ScaleEffectMap, k as ScaleMode, S as ScaleModeConfig, cd as ScaleModeForApp, ce as ShadowColor, cf as ShadowColorConfig, c as ShadowConfig, cg as ShadowOffset, ch as ShadowOpacity, ci as ShadowPalette, cj as ShadowPaletteAlias, l as ShadowPreset, ck as ShadowSpreadRadius, cl as ShadowStyleProps, x as ShadowType, cm as ShadowTypeConfig, cn as ShadowVariant, co as ShadowVariantConfig, cp as ShadowVariantInvert, cq as ShadowVariantWithInvert, cr as SharedPaletteAlias, t as SpacingAlias, cs as SpacingConfig, ct as SpacingStyleProps, cu as SpectrumColor, cv as SpectrumConfig, cw as StateStyleProps, cx as StyleProps, cy as SwitchSize, ad as TEXT_RESPONSIVE_CLASSNAME, a1 as TEXT_TRANSFORM_PREFIX, cI as TShirtSize, cJ as TShirtSizeCommon, cz as TextDecorationLine, cA as TextProperty, cB as TextStyleProps, cC as TextTransform, cD as TextTransformConfig, cE as TextVariant, cF as TransitionDelay, cG as TransitionDuration, cH as TransitionTiming, T as TypographyConfig, cK as TypographyResponsiveProperty, cL as TypographyStyle, cM as TypographyStyleProperty, cN as TypographyUnitValue, L as UDS_PREFIX, cO as UdsCssVar, cP as Unitless, cQ as UniversalAvatarIconProps, cR as UniversalAvatarImageProps, cS as UniversalAvatarProps, cT as UniversalAvatarTextProps, cU as UniversalBadgeProps, m as UniversalBoxProps, cV as UniversalButtonProps, cW as UniversalCheckboxProps, cX as UniversalChipBaseProps, cY as UniversalChipButtonProps, cZ as UniversalChipDismissibleProps, c_ as UniversalChipLinkProps, c$ as UniversalChipProps, d0 as UniversalChipToggleProps, o as UniversalDividerProps, d1 as UniversalIconButtonProps, d2 as UniversalIconProps, d3 as UniversalImageProps, U as UniversalInputProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d4 as UniversalRadioGroupProps, d5 as UniversalRadioProps, b as UniversalSwitchProps, f as UniversalTokensConfig, d6 as UniversalTokensConfigAuto, a8 as XLARGE_SCALE_MODE_CLASSNAME, a4 as XSMALL_SCALE_MODE_CLASSNAME, a9 as XXLARGE_SCALE_MODE_CLASSNAME, aa as XXXLARGE_SCALE_MODE_CLASSNAME, K as alwaysPalette } from './types-DdH3vByQ.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-BpkMUfOK.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, 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-sNMLQ454.js';
|
13
13
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
14
14
|
import 'motion/react';
|
15
15
|
import 'type-fest';
|
@@ -285,6 +285,37 @@ interface CX<T> {
|
|
285
285
|
declare const cx: CX<string>;
|
286
286
|
declare const cva: CVA<string>;
|
287
287
|
declare const getStylesInternal: (props?: ({
|
288
|
+
dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
289
|
+
dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
290
|
+
dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
291
|
+
inputSizeRoot?: "md" | "lg" | undefined;
|
292
|
+
inputSizeInputWrapper?: "md" | "lg" | undefined;
|
293
|
+
inputSizeInput?: "md" | "lg" | undefined;
|
294
|
+
inputSizeStartIcon?: "md" | "lg" | undefined;
|
295
|
+
inputSizeEndIcon?: "md" | "lg" | undefined;
|
296
|
+
inputSizeLabel?: "md" | "lg" | undefined;
|
297
|
+
inputSizeHelperIcon?: "md" | "lg" | undefined;
|
298
|
+
inputSizeHelperText?: "md" | "lg" | undefined;
|
299
|
+
inputVariantValueRoot?: "filled" | "empty" | undefined;
|
300
|
+
inputVariantRoot?: "default" | undefined;
|
301
|
+
inputVariantValueInputWrapper?: "filled" | "empty" | undefined;
|
302
|
+
inputVariantInputWrapper?: "default" | undefined;
|
303
|
+
inputVariantValueInput?: "filled" | "empty" | undefined;
|
304
|
+
inputVariantInput?: "default" | undefined;
|
305
|
+
inputVariantValueInputPlaceholder?: "filled" | "empty" | undefined;
|
306
|
+
inputVariantInputPlaceholder?: "default" | undefined;
|
307
|
+
inputVariantValueStartIcon?: "filled" | "empty" | undefined;
|
308
|
+
inputVariantStartIcon?: "default" | undefined;
|
309
|
+
inputVariantValueEndIcon?: "filled" | "empty" | undefined;
|
310
|
+
inputVariantEndIcon?: "default" | undefined;
|
311
|
+
inputVariantValueLabel?: "filled" | "empty" | undefined;
|
312
|
+
inputVariantLabel?: "default" | undefined;
|
313
|
+
inputVariantValueLabelRequired?: "filled" | "empty" | undefined;
|
314
|
+
inputVariantLabelRequired?: "default" | undefined;
|
315
|
+
inputVariantValueHelperIcon?: "filled" | "empty" | undefined;
|
316
|
+
inputVariantHelperIcon?: "default" | undefined;
|
317
|
+
inputVariantValueHelperText?: "filled" | "empty" | undefined;
|
318
|
+
inputVariantHelperText?: "default" | undefined;
|
288
319
|
menuSizeRoot?: "default" | undefined;
|
289
320
|
menuSizeStartIcon?: "default" | undefined;
|
290
321
|
menuSizeEndIcon?: "default" | undefined;
|
@@ -313,17 +344,12 @@ declare const getStylesInternal: (props?: ({
|
|
313
344
|
switchVariantHandle?: "default" | undefined;
|
314
345
|
switchVariantActiveHandleIcon?: "on" | "off" | undefined;
|
315
346
|
switchVariantHandleIcon?: "default" | undefined;
|
316
|
-
switchSizeRoot?: "
|
317
|
-
switchSizeSwitch?: "
|
318
|
-
switchSizeHandle?: "
|
319
|
-
switchSizeHandleIcon?: "
|
320
|
-
|
321
|
-
|
322
|
-
avatarTextVariantRoot?: "primary" | "secondary" | undefined;
|
323
|
-
avatarImageVariantRoot?: "primary" | "secondary" | undefined;
|
324
|
-
avatarIconVariantRoot?: "primary" | "secondary" | undefined;
|
325
|
-
chipSizeRoot?: "sm" | "md" | undefined;
|
326
|
-
chipSizeIcon?: "sm" | "md" | undefined;
|
347
|
+
switchSizeRoot?: "md" | "sm" | undefined;
|
348
|
+
switchSizeSwitch?: "md" | "sm" | undefined;
|
349
|
+
switchSizeHandle?: "md" | "sm" | undefined;
|
350
|
+
switchSizeHandleIcon?: "md" | "sm" | undefined;
|
351
|
+
chipSizeRoot?: "md" | "sm" | undefined;
|
352
|
+
chipSizeIcon?: "md" | "sm" | undefined;
|
327
353
|
chipToggleVariantActiveRoot?: "on" | "off" | undefined;
|
328
354
|
chipToggleVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
329
355
|
chipToggleVariantActiveIcon?: "on" | "off" | undefined;
|
@@ -332,97 +358,71 @@ declare const getStylesInternal: (props?: ({
|
|
332
358
|
chipDismissibleVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
333
359
|
chipLinkVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
334
360
|
chipLinkVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | undefined;
|
335
|
-
|
336
|
-
|
361
|
+
avatarSizeRoot?: "md" | "lg" | "sm" | "xs" | "xl" | undefined;
|
362
|
+
avatarSizeIcon?: "md" | "lg" | "sm" | "xs" | "xl" | undefined;
|
363
|
+
avatarTextVariantRoot?: "primary" | "secondary" | undefined;
|
364
|
+
avatarImageVariantRoot?: "primary" | "secondary" | undefined;
|
365
|
+
avatarIconVariantRoot?: "primary" | "secondary" | undefined;
|
366
|
+
badgeSizeRoot?: "md" | "lg" | "sm" | "xs" | undefined;
|
367
|
+
badgeSizeIcon?: "md" | "lg" | "sm" | "xs" | undefined;
|
368
|
+
badgeVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
369
|
+
badgeVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
370
|
+
checkboxSizeRoot?: "md" | "sm" | undefined;
|
371
|
+
checkboxSizeCheckbox?: "md" | "sm" | undefined;
|
337
372
|
checkboxVariantValueRoot?: "checked" | "unchecked" | "indeterminate" | undefined;
|
338
373
|
checkboxVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
339
374
|
checkboxVariantValueCheckbox?: "checked" | "unchecked" | "indeterminate" | undefined;
|
340
375
|
checkboxVariantCheckbox?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
341
376
|
checkboxVariantValueCheckboxIcon?: "checked" | "unchecked" | "indeterminate" | undefined;
|
342
377
|
checkboxVariantCheckboxIcon?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
343
|
-
dividerVariantRoot?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
344
|
-
dividerVariantLine?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
345
|
-
dividerVariantLabel?: "primary" | "secondary" | "tertiary" | "muted" | undefined;
|
346
378
|
radioVariantValueRoot?: "checked" | "unchecked" | undefined;
|
347
379
|
radioVariantRoot?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
348
380
|
radioVariantValueRadio?: "checked" | "unchecked" | undefined;
|
349
381
|
radioVariantRadio?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
350
382
|
radioVariantValueRadioCircle?: "checked" | "unchecked" | undefined;
|
351
383
|
radioVariantRadioCircle?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
|
352
|
-
radioSizeRoot?: "
|
353
|
-
radioSizeRadio?: "
|
354
|
-
inputSizeRoot?: "md" | "lg" | undefined;
|
355
|
-
inputSizeInputWrapper?: "md" | "lg" | undefined;
|
356
|
-
inputSizeInput?: "md" | "lg" | undefined;
|
357
|
-
inputSizeStartIcon?: "md" | "lg" | undefined;
|
358
|
-
inputSizeEndIcon?: "md" | "lg" | undefined;
|
359
|
-
inputSizeLabel?: "md" | "lg" | undefined;
|
360
|
-
inputSizeHelperIcon?: "md" | "lg" | undefined;
|
361
|
-
inputSizeHelperText?: "md" | "lg" | undefined;
|
362
|
-
inputVariantValueRoot?: "filled" | "empty" | undefined;
|
363
|
-
inputVariantRoot?: "default" | undefined;
|
364
|
-
inputVariantValueInputWrapper?: "filled" | "empty" | undefined;
|
365
|
-
inputVariantInputWrapper?: "default" | undefined;
|
366
|
-
inputVariantValueInput?: "filled" | "empty" | undefined;
|
367
|
-
inputVariantInput?: "default" | undefined;
|
368
|
-
inputVariantValueInputPlaceholder?: "filled" | "empty" | undefined;
|
369
|
-
inputVariantInputPlaceholder?: "default" | undefined;
|
370
|
-
inputVariantValueStartIcon?: "filled" | "empty" | undefined;
|
371
|
-
inputVariantStartIcon?: "default" | undefined;
|
372
|
-
inputVariantValueEndIcon?: "filled" | "empty" | undefined;
|
373
|
-
inputVariantEndIcon?: "default" | undefined;
|
374
|
-
inputVariantValueLabel?: "filled" | "empty" | undefined;
|
375
|
-
inputVariantLabel?: "default" | undefined;
|
376
|
-
inputVariantValueLabelRequired?: "filled" | "empty" | undefined;
|
377
|
-
inputVariantLabelRequired?: "default" | undefined;
|
378
|
-
inputVariantValueHelperIcon?: "filled" | "empty" | undefined;
|
379
|
-
inputVariantHelperIcon?: "default" | undefined;
|
380
|
-
inputVariantValueHelperText?: "filled" | "empty" | undefined;
|
381
|
-
inputVariantHelperText?: "default" | undefined;
|
384
|
+
radioSizeRoot?: "md" | "sm" | undefined;
|
385
|
+
radioSizeRadio?: "md" | "sm" | undefined;
|
382
386
|
linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
383
387
|
linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
384
388
|
linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
385
389
|
linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
386
390
|
linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
|
387
|
-
|
388
|
-
|
389
|
-
badgeVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
390
|
-
badgeVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
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;
|
391
|
+
color?: "primary" | "secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "on-color" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
392
|
+
placeholderColor?: "primary" | "secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "on-color" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
393
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;
|
394
394
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
395
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;
|
396
396
|
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
397
397
|
textAlign?: "center" | "end" | "start" | "justify" | undefined;
|
398
398
|
textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
|
399
|
-
spacing?: "
|
400
|
-
spacingHorizontal?: "
|
401
|
-
spacingVertical?: "
|
402
|
-
spacingBottom?: "
|
403
|
-
spacingEnd?: "
|
404
|
-
spacingStart?: "
|
405
|
-
spacingTop?: "
|
406
|
-
offset?: "
|
407
|
-
offsetVertical?: "
|
408
|
-
offsetHorizontal?: "
|
409
|
-
offsetBottom?: "
|
410
|
-
offsetEnd?: "
|
411
|
-
offsetStart?: "
|
412
|
-
offsetTop?: "
|
413
|
-
columnGap?: "
|
414
|
-
rowGap?: "
|
399
|
+
spacing?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
|
400
|
+
spacingHorizontal?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
|
401
|
+
spacingVertical?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
|
402
|
+
spacingBottom?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
|
403
|
+
spacingEnd?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
|
404
|
+
spacingStart?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
|
405
|
+
spacingTop?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
|
406
|
+
offset?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
|
407
|
+
offsetVertical?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
|
408
|
+
offsetHorizontal?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
|
409
|
+
offsetBottom?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
|
410
|
+
offsetEnd?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
|
411
|
+
offsetStart?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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
|
+
offsetTop?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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
|
+
columnGap?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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
|
+
rowGap?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
|
415
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" | "
|
417
|
-
borderStartColor?: "primary" | "secondary" | "
|
418
|
-
borderEndColor?: "primary" | "secondary" | "
|
419
|
-
borderBottomColor?: "primary" | "secondary" | "
|
420
|
-
borderTopColor?: "primary" | "secondary" | "
|
421
|
-
borderRadius?: "
|
422
|
-
borderTopStartRadius?: "
|
423
|
-
borderTopEndRadius?: "
|
424
|
-
borderBottomStartRadius?: "
|
425
|
-
borderBottomEndRadius?: "
|
416
|
+
borderColor?: "primary" | "secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
417
|
+
borderStartColor?: "primary" | "secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
418
|
+
borderEndColor?: "primary" | "secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
419
|
+
borderBottomColor?: "primary" | "secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
420
|
+
borderTopColor?: "primary" | "secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
421
|
+
borderRadius?: "md" | "lg" | "sm" | "xs" | "xl" | "none" | "full" | undefined;
|
422
|
+
borderTopStartRadius?: "md" | "lg" | "sm" | "xs" | "xl" | "none" | "full" | undefined;
|
423
|
+
borderTopEndRadius?: "md" | "lg" | "sm" | "xs" | "xl" | "none" | "full" | undefined;
|
424
|
+
borderBottomStartRadius?: "md" | "lg" | "sm" | "xs" | "xl" | "none" | "full" | undefined;
|
425
|
+
borderBottomEndRadius?: "md" | "lg" | "sm" | "xs" | "xl" | "none" | "full" | undefined;
|
426
426
|
borderWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
427
427
|
borderVerticalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
428
428
|
borderHorizontalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
@@ -430,14 +430,14 @@ declare const getStylesInternal: (props?: ({
|
|
430
430
|
borderEndWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
431
431
|
borderTopWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
432
432
|
borderBottomWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
433
|
-
avatarSize?: "
|
434
|
-
iconSize?: "
|
433
|
+
avatarSize?: "md" | "lg" | "sm" | "xs" | "xl" | undefined;
|
434
|
+
iconSize?: "md" | "lg" | "sm" | "xs" | undefined;
|
435
435
|
alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
|
436
436
|
alignItems?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | undefined;
|
437
437
|
alignSelf?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | "auto" | undefined;
|
438
438
|
flex?: "1" | "none" | "initial" | "auto" | undefined;
|
439
439
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
440
|
-
flexGrow?: "
|
440
|
+
flexGrow?: "2" | "3" | "0" | "1" | undefined;
|
441
441
|
flexShrink?: "0" | "1" | undefined;
|
442
442
|
flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
443
443
|
justifyContent?: "center" | "flex-end" | "flex-start" | "space-between" | "space-around" | "space-evenly" | undefined;
|
@@ -452,12 +452,12 @@ declare const getStylesInternal: (props?: ({
|
|
452
452
|
scaleMode?: "medium" | "xSmall" | "small" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
453
453
|
buttonPalette?: "brand" | "alert" | "warning" | "positive" | "info" | "accent" | undefined;
|
454
454
|
buttonVariant?: "primary" | "secondary" | "tertiary" | undefined;
|
455
|
-
buttonSize?: "
|
456
|
-
iconButtonSize?: "
|
455
|
+
buttonSize?: "md" | "lg" | "sm" | undefined;
|
456
|
+
iconButtonSize?: "md" | "lg" | "sm" | "xs" | "xl" | undefined;
|
457
457
|
width?: "full" | "fit" | "screen" | undefined;
|
458
458
|
height?: "full" | "fit" | "screen" | undefined;
|
459
|
-
dropShadow?: "
|
460
|
-
insetShadow?: "
|
459
|
+
dropShadow?: "md" | "lg" | "sm" | "xs" | "xl" | "none" | "2xl" | undefined;
|
460
|
+
insetShadow?: "md" | "lg" | "sm" | "xs" | "xl" | "2xl-invert" | "none" | "2xl" | "md-invert" | "xl-invert" | "lg-invert" | "sm-invert" | "xs-invert" | undefined;
|
461
461
|
} & {
|
462
462
|
className?: string | undefined;
|
463
463
|
}) | undefined) => string;
|
package/dist/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export{Image,InputHelpTextMemo as InputHelpText}from"./chunk-
|
1
|
+
export{Image,InputHelpTextMemo as InputHelpText}from"./chunk-5S45DC7H.js";import{DividerInternal as e}from"./chunk-PTNBQ4FC.js";export{HStack,VStack}from"./chunk-B7ZWZDQ7.js";export{FormLabel}from"./chunk-XFDHMRHM.js";import{getStyles as t,cx as a,IconSlot as n}from"./chunk-VLJ4KJC6.js";export{Box,Icon,Text,cva,cx,getStyles}from"./chunk-VLJ4KJC6.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,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-TCFZWULK.js";export{entries,mapValues}from"./chunk-EWJ3J526.js";export{variants}from"./chunk-3R4QYSXD.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-5EWXEQJ3.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,m=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]),O=t({linkVariantIconStart:e,linkTextStyleIcon:o,className:a(L&&"w-[0.7em] h-[0.7em]")}),M=t({linkVariantIconEnd:e,linkTextStyleIcon:o,className:a(L&&"w-[0.7em] h-[0.7em]")}),f={variant:"outline",color:"current"};return E("a",{ref:l,className:m,...c,children:[_&&i(n,{className:O,icon:_,iconProps:f,"data-testid":"start-icon"}),C,s&&i(n,{className:M,icon:s,iconProps:f,"data-testid":"end-icon"})]})});s.displayName="Link";export{_ as Divider,s as Link};
|