@yahoo/uds 3.15.0 → 3.16.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/cli/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/dist/{Box-CcXdv2Rw.d.cts → Box-D40ThLwg.d.cts} +37 -1
- package/dist/{Box-CcXdv2Rw.d.ts → Box-D40ThLwg.d.ts} +37 -1
- package/dist/{Input-6p6A-aso.d.cts → Input-8y_yjPvT.d.cts} +1 -1
- package/dist/{Input-CDVzZfYU.d.ts → Input-DDSndluV.d.ts} +1 -1
- package/dist/{Pressable-cEiSlfO3.d.cts → Pressable-BY1uZtwG.d.cts} +1 -1
- package/dist/{Pressable-BC83vQDx.d.ts → Pressable-BqrDhafL.d.ts} +1 -1
- package/dist/{VStack-ClvtwZh2.d.ts → VStack-BoF3ILIn.d.ts} +1 -1
- package/dist/{VStack-CnmyxJDF.d.ts → VStack-DDzxlMw2.d.cts} +1 -1
- package/dist/chunk-4OQKZKM5.js +1 -0
- package/dist/chunk-A3B3VYP6.cjs +1 -0
- package/dist/{chunk-Y5YFGFVC.cjs → chunk-A6QBZQH4.cjs} +1 -1
- package/dist/chunk-AIZ2OTKW.cjs +2 -0
- package/dist/chunk-GP7XCURZ.js +1 -0
- package/dist/chunk-HN3QQ5PU.js +2 -0
- package/dist/chunk-HUFHYJ5T.cjs +1 -0
- package/dist/chunk-KYLPKYXS.cjs +1 -0
- package/dist/chunk-L4RDISYP.js +2 -0
- package/dist/chunk-LUIZSLSJ.cjs +1 -0
- package/dist/{chunk-E7HZCV67.js → chunk-MSCQUXK7.js} +1 -1
- package/dist/{chunk-3WRFBUYC.js → chunk-NYAQO47N.js} +1 -1
- package/dist/chunk-OJB3FVN6.js +3 -0
- package/dist/chunk-ON6FCSMM.js +1 -0
- package/dist/chunk-PN3UA6WB.cjs +1 -0
- package/dist/{chunk-NVNJZD6M.cjs → chunk-Q6L5YDK4.cjs} +1 -1
- package/dist/chunk-SQCEFYU5.cjs +3 -0
- package/dist/chunk-XMZZKQMQ.js +1 -0
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.d.cts +3 -3
- package/dist/client/Menu.d.ts +3 -3
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +10 -5
- package/dist/client/index.d.ts +10 -5
- package/dist/client/index.js +1 -1
- package/dist/domMax-OBCHPQP3.js +1 -0
- package/dist/domMax-ZTC57OAI.cjs +1 -0
- package/dist/experimental/client/SwitchV2.cjs +1 -0
- package/dist/experimental/client/SwitchV2.d.cts +42 -0
- package/dist/experimental/client/SwitchV2.d.ts +42 -0
- package/dist/experimental/client/SwitchV2.js +1 -0
- package/dist/experimental/client/index.cjs +2 -2
- package/dist/experimental/client/index.d.cts +39 -2
- package/dist/experimental/client/index.d.ts +39 -2
- package/dist/experimental/client/index.js +2 -2
- package/dist/experimental/index.cjs +2 -2
- package/dist/experimental/index.d.cts +2 -2
- package/dist/experimental/index.d.ts +2 -2
- package/dist/experimental/index.js +2 -2
- package/dist/{index-BPf_Bkjm.d.cts → index-C0ovLlKZ.d.cts} +12 -12
- package/dist/{index-BhLBLdp4.d.ts → index-DJzNyUvY.d.ts} +12 -12
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +22 -21
- package/dist/index.d.ts +22 -21
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/plugin.js +2 -2
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +1 -1
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +1 -1
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +25 -6
- package/dist/tokens/index.d.ts +25 -6
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/{types-2bKf8LgP.d.ts → types-CC_1LiC8.d.cts} +1986 -1970
- package/dist/{types-2bKf8LgP.d.cts → types-CC_1LiC8.d.ts} +1986 -1970
- package/package.json +12 -2
- package/dist/Input-C6X4jQD7.d.cts +0 -42
- package/dist/Input-DKSmkTVP.d.ts +0 -42
- package/dist/Pressable-7HK17HCW.d.ts +0 -44
- package/dist/Pressable-BA79hBfd.d.cts +0 -44
- package/dist/VStack-CsmvUvZI.d.cts +0 -112
- package/dist/VStack-VLKzyh66.d.cts +0 -112
- package/dist/chunk-6OGTUGLL.js +0 -1
- package/dist/chunk-6PPIADF6.js +0 -1
- package/dist/chunk-7WHJGPNZ.cjs +0 -2
- package/dist/chunk-AQDG3XUI.cjs +0 -1
- package/dist/chunk-B7P4QPR6.js +0 -3
- package/dist/chunk-EBXGTG67.js +0 -1
- package/dist/chunk-EKT2WAZJ.js +0 -2
- package/dist/chunk-H6JORPXH.cjs +0 -3
- package/dist/chunk-LSW464DW.cjs +0 -1
- package/dist/chunk-LYVLWAHQ.js +0 -2
- package/dist/chunk-N2EUFXSN.js +0 -3
- package/dist/chunk-QWC6GPRC.js +0 -3
- package/dist/chunk-VVC6TYDL.cjs +0 -3
- package/dist/chunk-WBKPLJBA.js +0 -3
- package/dist/chunk-WJLVQ5UE.cjs +0 -1
- package/dist/chunk-XG4NDMFR.js +0 -1
- package/dist/chunk-XLAXCFB4.cjs +0 -2
- package/dist/chunk-YLJISW6G.cjs +0 -1
- package/dist/chunk-YQUPB32T.cjs +0 -1
- package/dist/chunk-ZJBOYYO4.cjs +0 -1
- package/dist/index-dTCfdh1o.d.ts +0 -243
- package/dist/index-hDD02unk.d.cts +0 -243
- package/dist/types-BnujSCgi.d.cts +0 -10449
- package/dist/types-BnujSCgi.d.ts +0 -10449
- /package/dist/{motionFeatures-6LIGGXPL.cjs → domAnimation-ESPUKI4G.cjs} +0 -0
- /package/dist/{motionFeatures-SJISLQ4M.js → domAnimation-MWKTMI4P.js} +0 -0
package/dist/index.d.cts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { a as DivProps } from './VStack-
|
2
|
-
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-
|
1
|
+
import { a as DivProps } from './VStack-DDzxlMw2.cjs';
|
2
|
+
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-DDzxlMw2.cjs';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
|
-
import {
|
5
|
-
export {
|
4
|
+
import { v as UniversalFormLabelProps, i as UniversalStackProps, w as IconPropsWithSVGProps, x as ImagePropsWithImgProps, y as UniversalIconSlot, z as UniversalLinkProps, A as UniversalTextProps } from './types-CC_1LiC8.cjs';
|
5
|
+
export { J as AVATAR_SIZE_PREFIX, ai as AlwaysPalette, aj as AlwaysPaletteAlias, ak as AlwaysPaletteColor, al as Animation, am as AriaAttribute, an as AvatarAbbreviationStrategy, ao as AvatarShape, ap as AvatarSize, aq as AvatarSizeConfig, ar as AvatarVariant, K as BORDER_RADIUS_PREFIX, L as BORDER_WIDTH_PREFIX, aa as BUTTON_CSS_VAR_MAP, as as BackgroundColor, at as BackgroundPalette, au as BackgroundPaletteAlias, av as BackgroundStyleProps, aw as BadgeSize, ax as BadgeVariant, ay as BorderRadius, az as BorderRadiusConfig, aA as BorderStyleProps, aB as BorderWidth, aC as BorderWidthConfig, aD as Breakpoint, aE as BreakpointsConfig, aF as ButtonBaseConfig, k as ButtonClassMap, aG as ButtonClassName, aH as ButtonColorConfig, aI as ButtonColorEffect, aJ as ButtonColorEffectConfig, l as ButtonColorProperty, m as ButtonColorPropertyConfig, B as ButtonConfig, aK as ButtonKind, aL as ButtonMotionEffect, aM as ButtonMotionProperty, aN as ButtonMotionPropertyConfig, aO as ButtonPalette, aP as ButtonPaletteColor, aQ as ButtonPaletteConfig, aR as ButtonShadowPropertyConfig, aS as ButtonSize, aT as ButtonSizeConfig, aU as ButtonSizeProperty, aV as ButtonSpectrumColor, aW as ButtonState, aX as ButtonStateConfig, aY as ButtonStateEffectConfig, aZ as ButtonVariant, a_ as ButtonVariantConfig, a$ as ButtonVariantFlat, b0 as CheckboxSize, b1 as CheckboxValue, b2 as CheckboxVariant, b3 as ChipSize, b4 as ChipVariant, C as ColorMode, b5 as ColorModeConfig, b6 as ColorModeForApp, d as ColorsConfig, b7 as ConfigurableDropShadowValues, b8 as ConfigurableInsetShadowValues, b9 as CustomSizingStyleProps, _ as DARK_COLOR_MODE_CLASSNAME, a7 as DEFAULT_COLOR_MODE_CLASSNAME, a8 as DEFAULT_SCALE_MODE_CLASSNAME, ba as DataAttribute, bb as Display, bc as DividerVariant, ad as FONT_DECLARATIONS_MAP, N as FONT_FAMILY_PREFIX, O as FONT_SIZE_PREFIX, R as FONT_SLANT_PREFIX, Q as FONT_WEIGHT_PREFIX, T as FONT_WIDTH_PREFIX, bd as Flex, be as FlexAlignContent, bf as FlexAlignItems, bg as FlexAlignSelf, bh as FlexBasis, bi as FlexDirection, bj as FlexGrow, bk as FlexJustifyContent, bl as FlexShrink, bm as FlexStyleProps, bn as FlexWrap, bo as FontAlias, ae as FontAxisConfig, q as FontConfig, bp as FontCssVar, af as FontDeclarationConfig, p as FontDeclarationItemConfig, ag as FontDeclarationMap, bq as FontFamilyCDNUrl, br as FontFamilyConfig, F as FontID, bs as FontSize, bt as FontSizeConfig, bu as FontSlantConfig, bv as FontType, bw as FontWeightConfig, bx as FontWeightDescriptive, ah as FontWeightForFont, by as FontWeightNumeric, bz as FontWidthConfig, bA as ForegroundColor, bB as ForegroundPalette, bC as ForegroundPaletteAlias, bD as GlobalDefaultsConfig, bE as HighContrastMode, H as Hue, e as HueStep, ab as ICON_BUTTON_CSS_VAR_MAP, V as ICON_SIZE_PREFIX, I as IconButtonClassMap, bF as IconButtonClassName, bG as IconButtonConfig, bH as IconButtonDefaultsConfig, bI as IconButtonSize, bJ as IconSizeConfig, bK as ImageStyleProps, bL as InputSize, a3 as LARGE_SCALE_MODE_CLASSNAME, $ as LIGHT_COLOR_MODE_CLASSNAME, W 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, a2 as MEDIUM_SCALE_MODE_CLASSNAME, X as MOTION_PREFIX, bU as Modes, t as MotionConfig, bV as MotionCssVar, bW as MotionSpringConfig, s as MotionSpringConfigOptions, M as MotionVariant, r as MotionVariantSpeed, bX as MotionVariantValues, bY as Overflow, ac as PSEUDO_STYLE_SELECTOR_MAP, bZ as Palette, f as PaletteConfig, P as PaletteType, b_ as PaletteValue, b$ as Pixels, c0 as PlatformMode, c1 as Position, c2 as PropertyToPaletteAliasMap, c3 as RadioSize, c4 as RadioValue, c5 as RadioVariant, c6 as RegionMode, c7 as Rems, a1 as SMALL_SCALE_MODE_CLASSNAME, Y as SPECTRUM_COLOR_PREFIX, c8 as ScaleConfig, c9 as ScaleEffectMap, S as ScaleMode, ca as ScaleModeConfig, cb as ScaleModeForApp, cc as ShadowColor, cd as ShadowColorConfig, ce as ShadowConfig, cf as ShadowOffset, cg as ShadowOpacity, ch as ShadowPalette, ci as ShadowPaletteAlias, g as ShadowPreset, cj as ShadowSpreadRadius, ck as ShadowStyleProps, u as ShadowType, cl as ShadowTypeConfig, cm as ShadowVariant, cn as ShadowVariantConfig, co as ShadowVariantInvert, cp as ShadowVariantWithInvert, cq as SharedPaletteAlias, n as SpacingAlias, cr as SpacingConfig, cs as SpacingStyleProps, ct as SpectrumColor, cu as SpectrumConfig, cv as StateStyleProps, cw as StyleProps, cx as SwitchSize, a9 as TEXT_RESPONSIVE_CLASSNAME, Z as TEXT_TRANSFORM_PREFIX, cH as TShirtSize, cI as TShirtSizeCommon, cy as TextDecorationLine, cz as TextProperty, cA as TextStyleProps, cB as TextTransform, cC as TextTransformConfig, cD as TextVariant, cE as TransitionDelay, cF as TransitionDuration, cG as TransitionTiming, cJ as TypographyConfig, cK as TypographyResponsiveProperty, cL as TypographyStyle, cM as TypographyStyleProperty, cN as TypographyUnitValue, G as UDS_PREFIX, cO as UdsCssVar, cP as Unitless, cQ as UniversalAvatarIconProps, cR as UniversalAvatarImageProps, cS as UniversalAvatarProps, cT as UniversalAvatarTextProps, cU as UniversalBadgeProps, h 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, j as UniversalDividerProps, d1 as UniversalIconButtonProps, d2 as UniversalIconProps, d3 as UniversalImageProps, U as UniversalInputProps, o as UniversalMenuItemProps, a as UniversalPressableProps, d4 as UniversalRadioGroupProps, d5 as UniversalRadioProps, b as UniversalSwitchProps, c as UniversalTokensConfig, d6 as UniversalTokensConfigAuto, a4 as XLARGE_SCALE_MODE_CLASSNAME, a0 as XSMALL_SCALE_MODE_CLASSNAME, a5 as XXLARGE_SCALE_MODE_CLASSNAME, a6 as XXXLARGE_SCALE_MODE_CLASSNAME, D as alwaysPalette, E as defaultUniversalTokensConfigAuto } from './types-CC_1LiC8.cjs';
|
6
6
|
import * as react from 'react';
|
7
7
|
import { PropsWithChildren, Ref, Dispatch, SetStateAction } from 'react';
|
8
|
-
import { I as InputProps } from './Input-
|
8
|
+
import { I as InputProps } from './Input-8y_yjPvT.cjs';
|
9
9
|
export { Avatar, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarText, AvatarTextProps, Badge, BadgeProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipButton, ChipButtonProps, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipToggle, ChipToggleProps, IconButton, IconButtonProps, Input, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
|
10
10
|
export { AllSelectors, BaseSelector, CssStyleObject, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, ParentVariantSelector, button, cartesianProduct, coalesceConfigVariant, defaultTokensConfig, entries, fontWeightMap, fromEntries, generateKeyFromFlatConfigPath, generateSchemaKey, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getDefaultButtonBaseMap, isConfigDefaultValue, mapValues, parseButtonVariantFlat, parseDeprecatedButtonPaletteVariant, setConfigPseudoStateVariable, shadow, variants } from './tokens/index.cjs';
|
11
11
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.cjs';
|
12
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-
|
12
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-C0ovLlKZ.cjs';
|
13
13
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
14
14
|
import 'motion/react';
|
15
15
|
import 'type-fest';
|
@@ -304,6 +304,7 @@ declare const getStylesInternal: (props?: ({
|
|
304
304
|
menuItemCheckboxVariantEndIcon?: "default" | undefined;
|
305
305
|
menuDividerVariantRoot?: "default" | undefined;
|
306
306
|
menuDividerVariantText?: "default" | undefined;
|
307
|
+
menuDividerVariantLine?: "default" | undefined;
|
307
308
|
switchVariantActiveRoot?: "on" | "off" | undefined;
|
308
309
|
switchVariantRoot?: "default" | undefined;
|
309
310
|
switchVariantActiveSwitch?: "on" | "off" | undefined;
|
@@ -387,8 +388,8 @@ declare const getStylesInternal: (props?: ({
|
|
387
388
|
badgeSizeIcon?: "sm" | "md" | "xs" | "lg" | undefined;
|
388
389
|
badgeVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
389
390
|
badgeVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
390
|
-
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
391
|
-
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
391
|
+
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
392
|
+
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
392
393
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "serif" | "sans" | "mono" | "sans-alt" | "serif-alt" | undefined;
|
393
394
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
394
395
|
fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "thin" | "black" | "extralight" | "light" | "regular" | "medium" | "semibold" | "bold" | "extrabold" | undefined;
|
@@ -411,24 +412,24 @@ declare const getStylesInternal: (props?: ({
|
|
411
412
|
offsetTop?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
412
413
|
columnGap?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
413
414
|
rowGap?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
414
|
-
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
415
|
-
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
416
|
-
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
417
|
-
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
418
|
-
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
419
|
-
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
415
|
+
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
416
|
+
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
417
|
+
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
418
|
+
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
419
|
+
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
420
|
+
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
420
421
|
borderRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
421
422
|
borderTopStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
422
423
|
borderTopEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
423
424
|
borderBottomStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
424
425
|
borderBottomEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
425
|
-
borderWidth?: "
|
426
|
-
borderVerticalWidth?: "
|
427
|
-
borderHorizontalWidth?: "
|
428
|
-
borderStartWidth?: "
|
429
|
-
borderEndWidth?: "
|
430
|
-
borderTopWidth?: "
|
431
|
-
borderBottomWidth?: "
|
426
|
+
borderWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
427
|
+
borderVerticalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
428
|
+
borderHorizontalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
429
|
+
borderStartWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
430
|
+
borderEndWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
431
|
+
borderTopWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
432
|
+
borderBottomWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
432
433
|
avatarSize?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
433
434
|
iconSize?: "sm" | "md" | "xs" | "lg" | undefined;
|
434
435
|
alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
|
package/dist/index.d.ts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { a as DivProps } from './VStack-
|
2
|
-
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-
|
1
|
+
import { a as DivProps } from './VStack-BoF3ILIn.js';
|
2
|
+
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-BoF3ILIn.js';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
|
-
import {
|
5
|
-
export {
|
4
|
+
import { v as UniversalFormLabelProps, i as UniversalStackProps, w as IconPropsWithSVGProps, x as ImagePropsWithImgProps, y as UniversalIconSlot, z as UniversalLinkProps, A as UniversalTextProps } from './types-CC_1LiC8.js';
|
5
|
+
export { J as AVATAR_SIZE_PREFIX, ai as AlwaysPalette, aj as AlwaysPaletteAlias, ak as AlwaysPaletteColor, al as Animation, am as AriaAttribute, an as AvatarAbbreviationStrategy, ao as AvatarShape, ap as AvatarSize, aq as AvatarSizeConfig, ar as AvatarVariant, K as BORDER_RADIUS_PREFIX, L as BORDER_WIDTH_PREFIX, aa as BUTTON_CSS_VAR_MAP, as as BackgroundColor, at as BackgroundPalette, au as BackgroundPaletteAlias, av as BackgroundStyleProps, aw as BadgeSize, ax as BadgeVariant, ay as BorderRadius, az as BorderRadiusConfig, aA as BorderStyleProps, aB as BorderWidth, aC as BorderWidthConfig, aD as Breakpoint, aE as BreakpointsConfig, aF as ButtonBaseConfig, k as ButtonClassMap, aG as ButtonClassName, aH as ButtonColorConfig, aI as ButtonColorEffect, aJ as ButtonColorEffectConfig, l as ButtonColorProperty, m as ButtonColorPropertyConfig, B as ButtonConfig, aK as ButtonKind, aL as ButtonMotionEffect, aM as ButtonMotionProperty, aN as ButtonMotionPropertyConfig, aO as ButtonPalette, aP as ButtonPaletteColor, aQ as ButtonPaletteConfig, aR as ButtonShadowPropertyConfig, aS as ButtonSize, aT as ButtonSizeConfig, aU as ButtonSizeProperty, aV as ButtonSpectrumColor, aW as ButtonState, aX as ButtonStateConfig, aY as ButtonStateEffectConfig, aZ as ButtonVariant, a_ as ButtonVariantConfig, a$ as ButtonVariantFlat, b0 as CheckboxSize, b1 as CheckboxValue, b2 as CheckboxVariant, b3 as ChipSize, b4 as ChipVariant, C as ColorMode, b5 as ColorModeConfig, b6 as ColorModeForApp, d as ColorsConfig, b7 as ConfigurableDropShadowValues, b8 as ConfigurableInsetShadowValues, b9 as CustomSizingStyleProps, _ as DARK_COLOR_MODE_CLASSNAME, a7 as DEFAULT_COLOR_MODE_CLASSNAME, a8 as DEFAULT_SCALE_MODE_CLASSNAME, ba as DataAttribute, bb as Display, bc as DividerVariant, ad as FONT_DECLARATIONS_MAP, N as FONT_FAMILY_PREFIX, O as FONT_SIZE_PREFIX, R as FONT_SLANT_PREFIX, Q as FONT_WEIGHT_PREFIX, T as FONT_WIDTH_PREFIX, bd as Flex, be as FlexAlignContent, bf as FlexAlignItems, bg as FlexAlignSelf, bh as FlexBasis, bi as FlexDirection, bj as FlexGrow, bk as FlexJustifyContent, bl as FlexShrink, bm as FlexStyleProps, bn as FlexWrap, bo as FontAlias, ae as FontAxisConfig, q as FontConfig, bp as FontCssVar, af as FontDeclarationConfig, p as FontDeclarationItemConfig, ag as FontDeclarationMap, bq as FontFamilyCDNUrl, br as FontFamilyConfig, F as FontID, bs as FontSize, bt as FontSizeConfig, bu as FontSlantConfig, bv as FontType, bw as FontWeightConfig, bx as FontWeightDescriptive, ah as FontWeightForFont, by as FontWeightNumeric, bz as FontWidthConfig, bA as ForegroundColor, bB as ForegroundPalette, bC as ForegroundPaletteAlias, bD as GlobalDefaultsConfig, bE as HighContrastMode, H as Hue, e as HueStep, ab as ICON_BUTTON_CSS_VAR_MAP, V as ICON_SIZE_PREFIX, I as IconButtonClassMap, bF as IconButtonClassName, bG as IconButtonConfig, bH as IconButtonDefaultsConfig, bI as IconButtonSize, bJ as IconSizeConfig, bK as ImageStyleProps, bL as InputSize, a3 as LARGE_SCALE_MODE_CLASSNAME, $ as LIGHT_COLOR_MODE_CLASSNAME, W 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, a2 as MEDIUM_SCALE_MODE_CLASSNAME, X as MOTION_PREFIX, bU as Modes, t as MotionConfig, bV as MotionCssVar, bW as MotionSpringConfig, s as MotionSpringConfigOptions, M as MotionVariant, r as MotionVariantSpeed, bX as MotionVariantValues, bY as Overflow, ac as PSEUDO_STYLE_SELECTOR_MAP, bZ as Palette, f as PaletteConfig, P as PaletteType, b_ as PaletteValue, b$ as Pixels, c0 as PlatformMode, c1 as Position, c2 as PropertyToPaletteAliasMap, c3 as RadioSize, c4 as RadioValue, c5 as RadioVariant, c6 as RegionMode, c7 as Rems, a1 as SMALL_SCALE_MODE_CLASSNAME, Y as SPECTRUM_COLOR_PREFIX, c8 as ScaleConfig, c9 as ScaleEffectMap, S as ScaleMode, ca as ScaleModeConfig, cb as ScaleModeForApp, cc as ShadowColor, cd as ShadowColorConfig, ce as ShadowConfig, cf as ShadowOffset, cg as ShadowOpacity, ch as ShadowPalette, ci as ShadowPaletteAlias, g as ShadowPreset, cj as ShadowSpreadRadius, ck as ShadowStyleProps, u as ShadowType, cl as ShadowTypeConfig, cm as ShadowVariant, cn as ShadowVariantConfig, co as ShadowVariantInvert, cp as ShadowVariantWithInvert, cq as SharedPaletteAlias, n as SpacingAlias, cr as SpacingConfig, cs as SpacingStyleProps, ct as SpectrumColor, cu as SpectrumConfig, cv as StateStyleProps, cw as StyleProps, cx as SwitchSize, a9 as TEXT_RESPONSIVE_CLASSNAME, Z as TEXT_TRANSFORM_PREFIX, cH as TShirtSize, cI as TShirtSizeCommon, cy as TextDecorationLine, cz as TextProperty, cA as TextStyleProps, cB as TextTransform, cC as TextTransformConfig, cD as TextVariant, cE as TransitionDelay, cF as TransitionDuration, cG as TransitionTiming, cJ as TypographyConfig, cK as TypographyResponsiveProperty, cL as TypographyStyle, cM as TypographyStyleProperty, cN as TypographyUnitValue, G as UDS_PREFIX, cO as UdsCssVar, cP as Unitless, cQ as UniversalAvatarIconProps, cR as UniversalAvatarImageProps, cS as UniversalAvatarProps, cT as UniversalAvatarTextProps, cU as UniversalBadgeProps, h 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, j as UniversalDividerProps, d1 as UniversalIconButtonProps, d2 as UniversalIconProps, d3 as UniversalImageProps, U as UniversalInputProps, o as UniversalMenuItemProps, a as UniversalPressableProps, d4 as UniversalRadioGroupProps, d5 as UniversalRadioProps, b as UniversalSwitchProps, c as UniversalTokensConfig, d6 as UniversalTokensConfigAuto, a4 as XLARGE_SCALE_MODE_CLASSNAME, a0 as XSMALL_SCALE_MODE_CLASSNAME, a5 as XXLARGE_SCALE_MODE_CLASSNAME, a6 as XXXLARGE_SCALE_MODE_CLASSNAME, D as alwaysPalette, E as defaultUniversalTokensConfigAuto } from './types-CC_1LiC8.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-DDSndluV.js';
|
9
9
|
export { Avatar, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarText, AvatarTextProps, Badge, BadgeProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipButton, ChipButtonProps, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipToggle, ChipToggleProps, IconButton, IconButtonProps, Input, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
|
10
10
|
export { AllSelectors, BaseSelector, CssStyleObject, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, ParentVariantSelector, button, cartesianProduct, coalesceConfigVariant, defaultTokensConfig, entries, fontWeightMap, fromEntries, generateKeyFromFlatConfigPath, generateSchemaKey, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getDefaultButtonBaseMap, isConfigDefaultValue, mapValues, parseButtonVariantFlat, parseDeprecatedButtonPaletteVariant, setConfigPseudoStateVariable, shadow, variants } from './tokens/index.js';
|
11
11
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.js';
|
12
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-
|
12
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-DJzNyUvY.js';
|
13
13
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
14
14
|
import 'motion/react';
|
15
15
|
import 'type-fest';
|
@@ -304,6 +304,7 @@ declare const getStylesInternal: (props?: ({
|
|
304
304
|
menuItemCheckboxVariantEndIcon?: "default" | undefined;
|
305
305
|
menuDividerVariantRoot?: "default" | undefined;
|
306
306
|
menuDividerVariantText?: "default" | undefined;
|
307
|
+
menuDividerVariantLine?: "default" | undefined;
|
307
308
|
switchVariantActiveRoot?: "on" | "off" | undefined;
|
308
309
|
switchVariantRoot?: "default" | undefined;
|
309
310
|
switchVariantActiveSwitch?: "on" | "off" | undefined;
|
@@ -387,8 +388,8 @@ declare const getStylesInternal: (props?: ({
|
|
387
388
|
badgeSizeIcon?: "sm" | "md" | "xs" | "lg" | undefined;
|
388
389
|
badgeVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
389
390
|
badgeVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
390
|
-
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
391
|
-
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
391
|
+
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
392
|
+
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
392
393
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "serif" | "sans" | "mono" | "sans-alt" | "serif-alt" | undefined;
|
393
394
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
394
395
|
fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "thin" | "black" | "extralight" | "light" | "regular" | "medium" | "semibold" | "bold" | "extrabold" | undefined;
|
@@ -411,24 +412,24 @@ declare const getStylesInternal: (props?: ({
|
|
411
412
|
offsetTop?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
412
413
|
columnGap?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
413
414
|
rowGap?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
414
|
-
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
415
|
-
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
416
|
-
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
417
|
-
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
418
|
-
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
419
|
-
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
415
|
+
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
416
|
+
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
417
|
+
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
418
|
+
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
419
|
+
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
420
|
+
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
420
421
|
borderRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
421
422
|
borderTopStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
422
423
|
borderTopEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
423
424
|
borderBottomStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
424
425
|
borderBottomEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
425
|
-
borderWidth?: "
|
426
|
-
borderVerticalWidth?: "
|
427
|
-
borderHorizontalWidth?: "
|
428
|
-
borderStartWidth?: "
|
429
|
-
borderEndWidth?: "
|
430
|
-
borderTopWidth?: "
|
431
|
-
borderBottomWidth?: "
|
426
|
+
borderWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
427
|
+
borderVerticalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
428
|
+
borderHorizontalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
429
|
+
borderStartWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
430
|
+
borderEndWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
431
|
+
borderTopWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
432
|
+
borderBottomWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
432
433
|
avatarSize?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
433
434
|
iconSize?: "sm" | "md" | "xs" | "lg" | undefined;
|
434
435
|
alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
|
package/dist/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export{
|
1
|
+
export{Image,InputHelpTextMemo as InputHelpText}from"./chunk-GP7XCURZ.js";import{DividerInternal as e}from"./chunk-ON6FCSMM.js";export{HStack,VStack}from"./chunk-4OQKZKM5.js";export{FormLabel}from"./chunk-XMZZKQMQ.js";import{getStyles as t,cx as a,IconSlot as n}from"./chunk-OJB3FVN6.js";export{Box,Icon,Text,cva,cx,getStyles}from"./chunk-OJB3FVN6.js";export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,alwaysPalette,button,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStateConfig,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,defaultTokensConfig,defaultUniversalTokensConfigAuto,findFixtureType,fontWeightMap,fromEntries,generateClassName,generateDeclaration,generateKeyFromFlatConfigPath,generateSchemaKey,generateStyles,getConfigDefaultValue,getConfigPseudoStateVariables,getConfigPseudoStateVariablesWithSetter,getConfigSubcomponents,getConfigVariantComponentStates,getConfigVariantComponentStatesMatrix,getConfigVariantProperties,getConfigVariantPseudoStates,getConfigVariants,getDefaultButtonBaseMap,isConfigDefaultValue,parseButtonVariantFlat,parseDeprecatedButtonPaletteVariant,setConfigPseudoStateVariable,shadow,statePseudoMapDocsMode,toMinimalDbConfigObject}from"./chunk-MSCQUXK7.js";export{entries,mapValues}from"./chunk-EWJ3J526.js";export{variants}from"./chunk-NYAQO47N.js";export{AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_CSS_VAR_MAP,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_SLANT_PREFIX,FONT_WEIGHT_PREFIX,FONT_WIDTH_PREFIX,ICON_BUTTON_CSS_VAR_MAP,ICON_SIZE_PREFIX,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,TEXT_RESPONSIVE_CLASSNAME,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"./chunk-N4FHPR6Q.js";import{forwardRef as o,useMemo as r}from"react";import{jsx as i,jsxs as _}from"react/jsx-runtime";export{Avatar,AvatarIcon,AvatarImage,AvatarText,Badge,Button,Checkbox,Chip,ChipButton,ChipDismissible,ChipLink,ChipToggle,IconButton,Input,Menu,Pressable,Radio,RadioGroupProvider,SpringMotionConfig,Switch}from"@yahoo/uds/client";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var E=o((function(t,a){return i(e,{ref:a,...t})}));E.displayName="Divider";var s=o((function({variant:e="primary",textVariant:o,startIcon:E,endIcon:s,alwaysUnderline:S=!1,children:C,className:A,...c},l){const O=!o,M=r((()=>{const n=!O&&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,O,o,e,A]),f=t({linkVariantIconStart:e,linkTextStyleIcon:o,className:a(O&&"w-[0.7em] h-[0.7em]")}),L=t({linkVariantIconEnd:e,linkTextStyleIcon:o,className:a(O&&"w-[0.7em] h-[0.7em]")}),m={variant:"outline",color:"current"};return _("a",{ref:l,className:M,...c,children:[E&&i(n,{className:f,icon:E,iconProps:m,"data-testid":"start-icon"}),C,s&&i(n,{className:L,icon:s,iconProps:m,"data-testid":"end-icon"})]})}));s.displayName="Link";export{E as Divider,s as Link};
|