@yahoo/uds 3.64.3 → 3.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/FlattenButtonVariant.mock.tsx +17 -0
- package/dist/{Box-ButgRoiC.d.ts → Box-BkZ2BCj8.d.ts} +1 -1
- package/dist/{Box-Bg_I4pBC.d.cts → Box-DwoY1xsp.d.cts} +1 -1
- package/dist/{Pressable-CGGsm1T5.d.cts → Pressable-DKUSyadp.d.cts} +1 -1
- package/dist/{Pressable-BJz07Y1Y.d.ts → Pressable-XywV25nD.d.ts} +1 -1
- package/dist/{Text-BjbkZ-2A.d.cts → Text-D9E-Ivs4.d.cts} +24 -1
- package/dist/{Text-BjbkZ-2A.d.ts → Text-D9E-Ivs4.d.ts} +24 -1
- package/dist/{Text-B3512DHF.d.ts → Text-DRla3SiI.d.ts} +1 -1
- package/dist/{Text-CL2P69Uj.d.cts → Text-PCg-YzOz.d.cts} +1 -1
- package/dist/{VStack-CRjSL3x_.d.cts → VStack-BH_tBQAO.d.cts} +2 -2
- package/dist/{VStack-Di4yUZeA.d.ts → VStack-YuhJZCys.d.ts} +2 -2
- package/dist/{chunk-45PTXZ5N.cjs → chunk-27DQUYOD.cjs} +1 -1
- package/dist/{chunk-GFKEHQJY.cjs → chunk-3KGHFL34.cjs} +1 -1
- package/dist/{chunk-6CW2TJSZ.js → chunk-4DI4U2ZJ.js} +1 -1
- package/dist/{chunk-DUFKNEYX.js → chunk-4NLPM4LX.js} +1 -1
- package/dist/{chunk-KDXCHZLM.cjs → chunk-566E2KOV.cjs} +1 -1
- package/dist/{chunk-5SSMRASJ.cjs → chunk-6PEIP4LR.cjs} +1 -1
- package/dist/{chunk-GO6C3VNF.js → chunk-6V7QEDMR.js} +1 -1
- package/dist/{chunk-FRQXW4YN.cjs → chunk-B2TS37PH.cjs} +1 -1
- package/dist/{chunk-GOUO7UMB.js → chunk-DDL45GZJ.js} +1 -1
- package/dist/chunk-EPEWMEHA.js +3 -0
- package/dist/{chunk-OMOQVBA7.cjs → chunk-FK3YMO3H.cjs} +1 -1
- package/dist/{chunk-BKQIRRFQ.js → chunk-FKDU4FOZ.js} +1 -1
- package/dist/{chunk-ORKHCPGS.cjs → chunk-FP7OSHKI.cjs} +1 -1
- package/dist/{chunk-YWL4I5GV.js → chunk-HKI5AZ7O.js} +1 -1
- package/dist/{chunk-LFC5OCRU.cjs → chunk-HTZHSZZP.cjs} +1 -1
- package/dist/chunk-IOYNZUNZ.js +2 -0
- package/dist/chunk-IPJKEKXB.cjs +2 -0
- package/dist/{chunk-YPP45WIP.js → chunk-LYHJT3E5.js} +2 -2
- package/dist/{chunk-B7HFR3F7.cjs → chunk-NJH5V24C.cjs} +1 -1
- package/dist/{chunk-PQOM7UU3.cjs → chunk-O4OSO3V4.cjs} +1 -1
- package/dist/{chunk-6Z5PILXZ.js → chunk-OPJ5SIFC.js} +2 -2
- package/dist/chunk-ORB5CU37.cjs +1 -0
- package/dist/{chunk-XFPIMZR7.cjs → chunk-P4XYWMJE.cjs} +1 -1
- package/dist/chunk-R7SUOHEQ.js +1 -0
- package/dist/{chunk-CRUMLO3Y.js → chunk-VX5NJRUI.js} +1 -1
- package/dist/{chunk-56H4SS56.js → chunk-WR3CRR6L.js} +1 -1
- package/dist/{chunk-VTUAG7BM.cjs → chunk-XN3JP4KW.cjs} +1 -1
- package/dist/chunk-YZE72XPR.js +2 -0
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.d.cts +5 -5
- package/dist/client/Menu.d.ts +5 -5
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/index.js +1 -1
- package/dist/defaultTokensConfig.d.cts +2 -2
- package/dist/defaultTokensConfig.d.ts +2 -2
- package/dist/experimental/client/SwitchV2.cjs +2 -1
- package/dist/experimental/client/SwitchV2.d.cts +1 -1
- package/dist/experimental/client/SwitchV2.d.ts +1 -1
- package/dist/experimental/client/SwitchV2.js +1 -1
- package/dist/experimental/client/index.cjs +2 -2
- package/dist/experimental/client/index.d.cts +1 -1
- package/dist/experimental/client/index.d.ts +1 -1
- package/dist/experimental/client/index.js +2 -2
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.d.cts +1 -1
- package/dist/experimental/index.d.ts +1 -1
- package/dist/experimental/index.js +1 -1
- package/dist/{index-B_RdmUDo.d.ts → index-BrIj1pmg.d.ts} +1 -1
- package/dist/{index-C7Kmcyur.d.ts → index-DUswrIxa.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +11 -7
- package/dist/index.d.ts +11 -7
- 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 +26 -20
- package/dist/tailwind/plugin.d.ts +26 -20
- package/dist/tailwind/plugin.js +2 -1
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +1 -1
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +2 -2
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +12 -12
- package/dist/tailwind/utils.d.ts +12 -12
- 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 +69 -4
- package/dist/tokens/index.d.ts +69 -4
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{universalTokensConfigAuto-CBx7dCyR.d.cts → universalTokensConfigAuto-BHqbAL0M.d.cts} +26 -3
- package/dist/{universalTokensConfigAuto-CBx7dCyR.d.ts → universalTokensConfigAuto-BHqbAL0M.d.ts} +26 -3
- package/package.json +1 -1
- package/dist/Box-ClkQalNr.d.ts +0 -34
- package/dist/Box-x2JDsfM6.d.cts +0 -34
- package/dist/Pressable-CbIB9LpN.d.cts +0 -44
- package/dist/Pressable-DrgzoTv8.d.ts +0 -44
- package/dist/Text-Cu8Ssc5r.d.cts +0 -88
- package/dist/Text-D6cd-xBo.d.ts +0 -88
- package/dist/VStack-D3OO6eBP.d.ts +0 -83
- package/dist/VStack-Os3dyMc9.d.cts +0 -83
- package/dist/chunk-44C3SZSM.cjs +0 -1
- package/dist/chunk-4GZB6XX6.js +0 -2
- package/dist/chunk-4L5BO26E.cjs +0 -2
- package/dist/chunk-5PPBK7IP.js +0 -1
- package/dist/chunk-6UU45M5H.js +0 -3
- package/dist/chunk-7LATKQWD.cjs +0 -2
- package/dist/chunk-AWLEIN6D.cjs +0 -1
- package/dist/chunk-COTHBGOF.js +0 -2
- package/dist/chunk-DPIUQZYK.cjs +0 -1
- package/dist/chunk-E3IMFFEG.cjs +0 -1
- package/dist/chunk-E6WHG3KC.js +0 -2
- package/dist/chunk-ISIHAJFN.js +0 -2
- package/dist/chunk-JJNM247S.cjs +0 -2
- package/dist/chunk-LCAL2QK3.js +0 -1
- package/dist/chunk-MZPZIQOC.cjs +0 -1
- package/dist/chunk-NHZEDXSH.js +0 -3
- package/dist/chunk-P7GW3QCU.js +0 -2
- package/dist/chunk-PGS63LYN.js +0 -2
- package/dist/chunk-RHYBUO2Q.js +0 -2
- package/dist/chunk-SVLW4EY2.cjs +0 -2
- package/dist/chunk-TWURYMUN.js +0 -1
- package/dist/chunk-U2GIV7V3.cjs +0 -1
- package/dist/chunk-UBH6HFW5.js +0 -2
- package/dist/chunk-UI6R66UN.cjs +0 -1
- package/dist/chunk-UX2KY4ME.cjs +0 -1
- package/dist/chunk-WFHFYNJ4.js +0 -2
- package/dist/index-DzkbCdnG.d.cts +0 -251
- package/dist/index-FeI_wfo_.d.cts +0 -251
- package/dist/universalTokensConfigAuto-CPGgDkC0.d.cts +0 -14337
- package/dist/universalTokensConfigAuto-CPGgDkC0.d.ts +0 -14337
package/dist/tokens/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { AvatarConfig, BadgeConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './automation/configs.js';
|
|
2
|
-
import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-
|
|
3
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, k as SchemaStateValue, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, x as createComponentStates, r as createConfigurableProperty, y as createLayerConfig, z as createSubComponentConfig, u as createVariantConfig, w as createVariantConfigWithComponentStates, v as createVariantConfigWithProperties, l as findFixtureType, n as generateClassName, p as generateConfigStyles, o as generateDeclaration, m as generateDefaultClassName, q as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from '../index-
|
|
4
|
-
import { d4 as UniversalTokensConfigAuto, f as UniversalTokensConfig, d as ShadowConfig, bo as FontWeightDescriptive, bp as FontWeightNumeric, aZ as ColorModeForApp, c5 as ScaleModeForApp, g as ColorMode, m as ScaleMode, bu as HighContrastMode, b$ as RegionMode, aO as ButtonPalette, aS as ButtonVariant, aT as ButtonVariantFlat, bO as OpacityStep } from '../universalTokensConfigAuto-
|
|
5
|
-
export { A as AVATAR_SIZE_PREFIX, aq as AlwaysPalette, ar as AlwaysPaletteAlias, as as AlwaysPaletteColor, at as Animation, au as AriaAttribute, av as AvatarAbbreviationStrategy, aw as AvatarShape, ax as AvatarSize, ay as AvatarSizeConfig, az as AvatarVariant, y as BACKGROUND_COLOR_PREFIX, z as BORDER_RADIUS_PREFIX, D as BORDER_WIDTH_PREFIX, ae as BUTTON_GAP_VAR, af as BUTTON_SCALE_EFFECT, ah as BUTTON_SCALE_EFFECT_HOVER, ai as BUTTON_SCALE_EFFECT_PRESSED, ag as BUTTON_SCALE_EFFECT_REST, aA as BackgroundColor, aB as BackgroundPalette, aC as BackgroundPaletteAlias, aD as BackgroundStyleProps, aE as BadgeSize, aF as BadgeVariant, aG as BorderRadius, aH as BorderRadiusConfig, aI as BorderStyleProps, aJ as BorderWidth, aK as BorderWidthConfig, aL as BorderWidthWithElevation, aM as Breakpoint, aN as BreakpointWithBase, B as BreakpointsConfig, aP as ButtonPaletteColor, aQ as ButtonSize, aR as ButtonSpectrumColor, aU as CheckboxSize, aV as CheckboxValue, aW as CheckboxVariant, aX as ChipSize, aY as ChipVariant, C as ColorModeConfig, h as ColorsConfig, a_ as CustomSizingStyleProps, $ as DARK_COLOR_MODE_CLASSNAME, aa as DEFAULT_COLOR_MODE_CLASSNAME, ab as DEFAULT_SCALE_MODE_CLASSNAME, J as DROP_SHADOW_PREFIX, a$ as DataAttribute, b0 as Display, b1 as DividerVariant, b2 as ElevationAlias, E as ElevationConfig, i as ElevationLevel, j as ElevationPreset, ak as FONT_DECLARATIONS_MAP, K as FONT_FAMILY_PREFIX, L as FONT_SIZE_PREFIX, O as FONT_SLANT_PREFIX, N as FONT_WEIGHT_PREFIX, Q as FONT_WIDTH_PREFIX, b3 as Flex, b4 as FlexAlignContent, b5 as FlexAlignItems, b6 as FlexAlignSelf, b7 as FlexBasis, b8 as FlexDirection, b9 as FlexGrow, ba as FlexJustifyContent, bb as FlexShrink, bc as FlexStyleProps, bd as FlexWrap, be as FontAlias, al as FontAxisConfig, F as FontConfig, bf as FontCssVar, an as FontDeclarationConfig, am as FontDeclarationItemConfig, ao as FontDeclarationMap, bg as FontFamilyCDNUrl, bh as FontFamilyConfig, bi as FontID, bj as FontSize, bk as FontSizeConfig, bl as FontSlantConfig, bm as FontType, bn as FontWeightConfig, ap as FontWeightForFont, bq as FontWidthConfig, br as ForegroundColor, bs as ForegroundPalette, bt as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, k as HueStep, R as ICON_SIZE_PREFIX, a2 as INVERT_COLOR_MODE_CLASSNAME, bv as IconButtonSize, I as IconPropsWithSVGProps, bw as IconSizeConfig, bx as IconSlotRenderProps, u as ImagePropsWithImgProps, by as ImageStyleProps, bz as InputSize, a6 as LARGE_SCALE_MODE_CLASSNAME, X as LETTER_SPACING_PREFIX, a0 as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_COLOR_PREFIX, W as LINE_HEIGHT_PREFIX, bA as LayoutStyleProps, bB as LineClampAlias, bC as LineColor, bD as LineHeight, bE as LineHeightConfig, bF as LinePalette, bG as LinePaletteAlias, a5 as MEDIUM_SCALE_MODE_CLASSNAME, Y as MOTION_PREFIX, bH as Modes, M as MotionConfig, bI as MotionCssVar, bJ as MotionSpringConfig, bK as MotionSpringConfigOptions, bL as MotionVariant, bM as MotionVariantSpeed, bN as MotionVariantValues, bP as Overflow, aj as PSEUDO_STYLE_SELECTOR_MAP, bQ as Palette, l as PaletteConfig, P as PaletteType, bR as PaletteValue, bS as Percentage, bT as PercentageUnit, bU as PixelsUnit, bV as PlatformMode, bW as Position, bX as PropertyToPaletteAliasMap, c1 as RGBAUnit, c2 as RGBColorValue, bY as RadioSize, bZ as RadioValue, b_ as RadioVariant, c0 as RemsUnit, a4 as SMALL_SCALE_MODE_CLASSNAME, Z as SPECTRUM_COLOR_PREFIX, a1 as SYSTEM_COLOR_MODE_CLASSNAME, c3 as ScaleConfig, c4 as ScaleEffect, S as ScaleModeConfig, c6 as ShadowColor, c7 as ShadowColorConfig, c8 as ShadowOffset, c9 as ShadowOpacity, ca as ShadowPalette, cb as ShadowPaletteAlias, n as ShadowPreset, cc as ShadowSpreadRadius, cd as ShadowStyleProps, ce as ShadowType, cf as ShadowTypeConfig, cg as ShadowVariant, ch as ShadowVariantConfig, ci as ShadowVariantInvert, cj as ShadowVariantWithElevation, ck as ShadowVariantWithInvert, cl as SharedPaletteAlias, r as SpacingAlias, cm as SpacingConfig, cn as SpacingStyleProps, co as SpectrumColor, cp as SpectrumConfig, cq as StateStyleProps, cr as StyleProps, cs as SwitchSize, ad as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ac as TEXT_RESPONSIVE_CLASSNAME, _ as TEXT_TRANSFORM_PREFIX, cE as TShirtSize, cF as TShirtSizeCommon, ct as TextDecorationLine, cu as TextProperty, cv as TextStyleProps, cw as TextTransform, cx as TextTransformConfig, cy as TextVariant, cz as TextVariantTypography,
|
|
2
|
+
import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-BrIj1pmg.js';
|
|
3
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, k as SchemaStateValue, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, x as createComponentStates, r as createConfigurableProperty, y as createLayerConfig, z as createSubComponentConfig, u as createVariantConfig, w as createVariantConfigWithComponentStates, v as createVariantConfigWithProperties, l as findFixtureType, n as generateClassName, p as generateConfigStyles, o as generateDeclaration, m as generateDefaultClassName, q as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from '../index-BrIj1pmg.js';
|
|
4
|
+
import { d4 as UniversalTokensConfigAuto, f as UniversalTokensConfig, d as ShadowConfig, bo as FontWeightDescriptive, bp as FontWeightNumeric, aZ as ColorModeForApp, c5 as ScaleModeForApp, g as ColorMode, m as ScaleMode, bu as HighContrastMode, b$ as RegionMode, aO as ButtonPalette, aS as ButtonVariant, aT as ButtonVariantFlat, bO as OpacityStep } from '../universalTokensConfigAuto-BHqbAL0M.js';
|
|
5
|
+
export { A as AVATAR_SIZE_PREFIX, aq as AlwaysPalette, ar as AlwaysPaletteAlias, as as AlwaysPaletteColor, at as Animation, au as AriaAttribute, av as AvatarAbbreviationStrategy, aw as AvatarShape, ax as AvatarSize, ay as AvatarSizeConfig, az as AvatarVariant, y as BACKGROUND_COLOR_PREFIX, z as BORDER_RADIUS_PREFIX, D as BORDER_WIDTH_PREFIX, ae as BUTTON_GAP_VAR, af as BUTTON_SCALE_EFFECT, ah as BUTTON_SCALE_EFFECT_HOVER, ai as BUTTON_SCALE_EFFECT_PRESSED, ag as BUTTON_SCALE_EFFECT_REST, aA as BackgroundColor, aB as BackgroundPalette, aC as BackgroundPaletteAlias, aD as BackgroundStyleProps, aE as BadgeSize, aF as BadgeVariant, aG as BorderRadius, aH as BorderRadiusConfig, aI as BorderStyleProps, aJ as BorderWidth, aK as BorderWidthConfig, aL as BorderWidthWithElevation, aM as Breakpoint, aN as BreakpointWithBase, B as BreakpointsConfig, aP as ButtonPaletteColor, aQ as ButtonSize, aR as ButtonSpectrumColor, aU as CheckboxSize, aV as CheckboxValue, aW as CheckboxVariant, aX as ChipSize, aY as ChipVariant, C as ColorModeConfig, h as ColorsConfig, a_ as CustomSizingStyleProps, $ as DARK_COLOR_MODE_CLASSNAME, aa as DEFAULT_COLOR_MODE_CLASSNAME, ab as DEFAULT_SCALE_MODE_CLASSNAME, J as DROP_SHADOW_PREFIX, a$ as DataAttribute, b0 as Display, b1 as DividerVariant, b2 as ElevationAlias, E as ElevationConfig, i as ElevationLevel, j as ElevationPreset, ak as FONT_DECLARATIONS_MAP, K as FONT_FAMILY_PREFIX, L as FONT_SIZE_PREFIX, O as FONT_SLANT_PREFIX, N as FONT_WEIGHT_PREFIX, Q as FONT_WIDTH_PREFIX, b3 as Flex, b4 as FlexAlignContent, b5 as FlexAlignItems, b6 as FlexAlignSelf, b7 as FlexBasis, b8 as FlexDirection, b9 as FlexGrow, ba as FlexJustifyContent, bb as FlexShrink, bc as FlexStyleProps, bd as FlexWrap, be as FontAlias, al as FontAxisConfig, F as FontConfig, bf as FontCssVar, an as FontDeclarationConfig, am as FontDeclarationItemConfig, ao as FontDeclarationMap, bg as FontFamilyCDNUrl, bh as FontFamilyConfig, bi as FontID, bj as FontSize, bk as FontSizeConfig, bl as FontSlantConfig, bm as FontType, bn as FontWeightConfig, ap as FontWeightForFont, bq as FontWidthConfig, br as ForegroundColor, bs as ForegroundPalette, bt as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, k as HueStep, R as ICON_SIZE_PREFIX, a2 as INVERT_COLOR_MODE_CLASSNAME, bv as IconButtonSize, I as IconPropsWithSVGProps, bw as IconSizeConfig, bx as IconSlotRenderProps, u as ImagePropsWithImgProps, by as ImageStyleProps, bz as InputSize, a6 as LARGE_SCALE_MODE_CLASSNAME, X as LETTER_SPACING_PREFIX, a0 as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_COLOR_PREFIX, W as LINE_HEIGHT_PREFIX, bA as LayoutStyleProps, bB as LineClampAlias, bC as LineColor, bD as LineHeight, bE as LineHeightConfig, bF as LinePalette, bG as LinePaletteAlias, a5 as MEDIUM_SCALE_MODE_CLASSNAME, Y as MOTION_PREFIX, bH as Modes, M as MotionConfig, bI as MotionCssVar, bJ as MotionSpringConfig, bK as MotionSpringConfigOptions, bL as MotionVariant, bM as MotionVariantSpeed, bN as MotionVariantValues, bP as Overflow, aj as PSEUDO_STYLE_SELECTOR_MAP, bQ as Palette, l as PaletteConfig, P as PaletteType, bR as PaletteValue, bS as Percentage, bT as PercentageUnit, bU as PixelsUnit, bV as PlatformMode, bW as Position, bX as PropertyToPaletteAliasMap, c1 as RGBAUnit, c2 as RGBColorValue, bY as RadioSize, bZ as RadioValue, b_ as RadioVariant, c0 as RemsUnit, a4 as SMALL_SCALE_MODE_CLASSNAME, Z as SPECTRUM_COLOR_PREFIX, a1 as SYSTEM_COLOR_MODE_CLASSNAME, c3 as ScaleConfig, c4 as ScaleEffect, S as ScaleModeConfig, c6 as ShadowColor, c7 as ShadowColorConfig, c8 as ShadowOffset, c9 as ShadowOpacity, ca as ShadowPalette, cb as ShadowPaletteAlias, n as ShadowPreset, cc as ShadowSpreadRadius, cd as ShadowStyleProps, ce as ShadowType, cf as ShadowTypeConfig, cg as ShadowVariant, ch as ShadowVariantConfig, ci as ShadowVariantInvert, cj as ShadowVariantWithElevation, ck as ShadowVariantWithInvert, cl as SharedPaletteAlias, r as SpacingAlias, cm as SpacingConfig, cn as SpacingStyleProps, co as SpectrumColor, cp as SpectrumConfig, cq as StateStyleProps, cr as StyleProps, cs as SwitchSize, ad as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ac as TEXT_RESPONSIVE_CLASSNAME, _ as TEXT_TRANSFORM_PREFIX, cE as TShirtSize, cF as TShirtSizeCommon, ct as TextDecorationLine, cu as TextProperty, cv as TextStyleProps, cw as TextTransform, cx as TextTransformConfig, cy as TextVariant, cz as TextVariantTypography, q as TextVariantUi, cA as TextVariantWithoutEmphasized, cB as TransitionDelay, cC as TransitionDuration, cD as TransitionTiming, T as TypographyConfig, cG as TypographyResponsiveProperty, cH as TypographyStyle, cI as TypographyStyleProperty, cJ as TypographyUnitValue, x as UDS_PREFIX, cK as UdsCssVar, cL as UnitlessUnit, cM as UniversalAvatarIconProps, cN as UniversalAvatarImageProps, cO as UniversalAvatarProps, cP as UniversalAvatarTextProps, cQ as UniversalBadgeProps, b as UniversalBoxProps, cR as UniversalButtonProps, cS as UniversalCheckboxProps, cT as UniversalChipBaseProps, cU as UniversalChipButtonProps, cV as UniversalChipDismissibleProps, cW as UniversalChipLinkProps, cX as UniversalChipProps, cY as UniversalChipToggleProps, p as UniversalDividerProps, t as UniversalFormLabelProps, cZ as UniversalIconButtonProps, c_ as UniversalIconProps, c$ as UniversalIconSlot, d0 as UniversalImageProps, d1 as UniversalInputProps, v as UniversalLinkProps, s as UniversalMenuItemProps, a as UniversalPressableProps, d2 as UniversalRadioGroupProps, d3 as UniversalRadioProps, o as UniversalStackProps, c as UniversalSwitchProps, U as UniversalTextProps, a7 as XLARGE_SCALE_MODE_CLASSNAME, a3 as XSMALL_SCALE_MODE_CLASSNAME, a8 as XXLARGE_SCALE_MODE_CLASSNAME, a9 as XXXLARGE_SCALE_MODE_CLASSNAME, w as alwaysPalette } from '../universalTokensConfigAuto-BHqbAL0M.js';
|
|
6
6
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
|
7
7
|
import '@yahoo/uds/fixtures';
|
|
8
8
|
import 'motion/react';
|
|
@@ -2007,6 +2007,71 @@ declare const variants: {
|
|
|
2007
2007
|
'xl-invert': string;
|
|
2008
2008
|
'2xl-invert': string;
|
|
2009
2009
|
};
|
|
2010
|
+
nestedBorderRadiusSize: {
|
|
2011
|
+
none: string;
|
|
2012
|
+
xs: string;
|
|
2013
|
+
sm: string;
|
|
2014
|
+
md: string;
|
|
2015
|
+
lg: string;
|
|
2016
|
+
xl: string;
|
|
2017
|
+
full: string;
|
|
2018
|
+
};
|
|
2019
|
+
nestedBorderRadiusWidth: {
|
|
2020
|
+
none: string;
|
|
2021
|
+
thin: string;
|
|
2022
|
+
medium: string;
|
|
2023
|
+
thick: string;
|
|
2024
|
+
'elevation-0': string;
|
|
2025
|
+
'elevation-1': string;
|
|
2026
|
+
'elevation-2': string;
|
|
2027
|
+
'elevation-3': string;
|
|
2028
|
+
'elevation-4': string;
|
|
2029
|
+
'elevation-5': string;
|
|
2030
|
+
};
|
|
2031
|
+
nestedBorderRadiusSpacing: {
|
|
2032
|
+
'0': string;
|
|
2033
|
+
px: string;
|
|
2034
|
+
'0.5': string;
|
|
2035
|
+
'1': string;
|
|
2036
|
+
'1.5': string;
|
|
2037
|
+
'2': string;
|
|
2038
|
+
'2.5': string;
|
|
2039
|
+
'3': string;
|
|
2040
|
+
'3.5': string;
|
|
2041
|
+
'4': string;
|
|
2042
|
+
'4.5': string;
|
|
2043
|
+
'5': string;
|
|
2044
|
+
'5.5': string;
|
|
2045
|
+
'6': string;
|
|
2046
|
+
'7': string;
|
|
2047
|
+
'8': string;
|
|
2048
|
+
'9': string;
|
|
2049
|
+
'10': string;
|
|
2050
|
+
'11': string;
|
|
2051
|
+
'12': string;
|
|
2052
|
+
'14': string;
|
|
2053
|
+
'16': string;
|
|
2054
|
+
'20': string;
|
|
2055
|
+
'24': string;
|
|
2056
|
+
'28': string;
|
|
2057
|
+
'32': string;
|
|
2058
|
+
'36': string;
|
|
2059
|
+
'40': string;
|
|
2060
|
+
'44': string;
|
|
2061
|
+
'48': string;
|
|
2062
|
+
'52': string;
|
|
2063
|
+
'56': string;
|
|
2064
|
+
'60': string;
|
|
2065
|
+
'64': string;
|
|
2066
|
+
'72': string;
|
|
2067
|
+
'80': string;
|
|
2068
|
+
'96': string;
|
|
2069
|
+
};
|
|
2070
|
+
nestedBorderRadius: {
|
|
2071
|
+
true: string;
|
|
2072
|
+
first: string;
|
|
2073
|
+
last: string;
|
|
2074
|
+
};
|
|
2010
2075
|
};
|
|
2011
2076
|
|
|
2012
2077
|
/**
|
package/dist/tokens/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,findFixtureType,fontWeightMap,fromEntries,generateClassName,generateConfigStyles,generateDeclaration,generateDefaultClassName,generateKeyFromFlatConfigPath,generateSchemaKey,generateStyles,getConfigDefaultValue,getConfigPseudoStateVariables,getConfigPseudoStateVariablesWithSetter,getConfigSubcomponents,getConfigVariantComponentStates,getConfigVariantComponentStatesMatrix,getConfigVariantProperties,getConfigVariantPseudoStates,getConfigVariants,isConfigDefaultValue,parseButtonVariantFlat,setConfigPseudoStateVariable,shadow,statePseudoMapDocsMode,toMinimalDbConfigObject}from"../chunk-
|
|
1
|
+
export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,findFixtureType,fontWeightMap,fromEntries,generateClassName,generateConfigStyles,generateDeclaration,generateDefaultClassName,generateKeyFromFlatConfigPath,generateSchemaKey,generateStyles,getConfigDefaultValue,getConfigPseudoStateVariables,getConfigPseudoStateVariablesWithSetter,getConfigSubcomponents,getConfigVariantComponentStates,getConfigVariantComponentStatesMatrix,getConfigVariantProperties,getConfigVariantPseudoStates,getConfigVariants,isConfigDefaultValue,parseButtonVariantFlat,setConfigPseudoStateVariable,shadow,statePseudoMapDocsMode,toMinimalDbConfigObject}from"../chunk-YZE72XPR.js";export{alwaysPalette,entries,mapValues,parseOpacityStep}from"../chunk-6V7QEDMR.js";export{variants}from"../chunk-LYHJT3E5.js";export{AVATAR_SIZE_PREFIX,BACKGROUND_COLOR_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_GAP_VAR,BUTTON_SCALE_EFFECT,BUTTON_SCALE_EFFECT_HOVER,BUTTON_SCALE_EFFECT_PRESSED,BUTTON_SCALE_EFFECT_REST,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,DROP_SHADOW_PREFIX,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_SLANT_PREFIX,FONT_WEIGHT_PREFIX,FONT_WIDTH_PREFIX,ICON_SIZE_PREFIX,INVERT_COLOR_MODE_CLASSNAME,LARGE_SCALE_MODE_CLASSNAME,LETTER_SPACING_PREFIX,LIGHT_COLOR_MODE_CLASSNAME,LINE_COLOR_PREFIX,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,SYSTEM_COLOR_MODE_CLASSNAME,TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES,TEXT_RESPONSIVE_CLASSNAME,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"../chunk-WR3CRR6L.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../chunk-
|
|
1
|
+
"use strict";var e=require("../chunk-FP7OSHKI.cjs");Object.defineProperty(exports,"parseTokens",{enumerable:!0,get:function(){return e.parseTokens}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as UniversalTokensConfig, g as ColorMode, h as ColorsConfig, i as ElevationLevel, j as ElevationPreset, H as Hue, k as HueStep, P as PaletteType, l as PaletteConfig, m as ScaleMode } from '../universalTokensConfigAuto-
|
|
1
|
+
import { f as UniversalTokensConfig, g as ColorMode, h as ColorsConfig, i as ElevationLevel, j as ElevationPreset, H as Hue, k as HueStep, P as PaletteType, l as PaletteConfig, m as ScaleMode } from '../universalTokensConfigAuto-BHqbAL0M.cjs';
|
|
2
2
|
import '@yahoo/uds-icons/types';
|
|
3
3
|
import 'motion/react';
|
|
4
4
|
import 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as UniversalTokensConfig, g as ColorMode, h as ColorsConfig, i as ElevationLevel, j as ElevationPreset, H as Hue, k as HueStep, P as PaletteType, l as PaletteConfig, m as ScaleMode } from '../universalTokensConfigAuto-
|
|
1
|
+
import { f as UniversalTokensConfig, g as ColorMode, h as ColorsConfig, i as ElevationLevel, j as ElevationPreset, H as Hue, k as HueStep, P as PaletteType, l as PaletteConfig, m as ScaleMode } from '../universalTokensConfigAuto-BHqbAL0M.js';
|
|
2
2
|
import '@yahoo/uds-icons/types';
|
|
3
3
|
import 'motion/react';
|
|
4
4
|
import 'react';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{parseTokens}from"../chunk-
|
|
1
|
+
export{parseTokens}from"../chunk-FKDU4FOZ.js";
|
package/dist/{universalTokensConfigAuto-CBx7dCyR.d.cts → universalTokensConfigAuto-BHqbAL0M.d.cts}
RENAMED
|
@@ -937,6 +937,29 @@ interface BorderStyleProps {
|
|
|
937
937
|
/** Sets the width of the bottom border of an element. */
|
|
938
938
|
borderBottomWidth?: BorderWidthWithElevation;
|
|
939
939
|
}
|
|
940
|
+
interface NestedBorderRadiusStyleProps {
|
|
941
|
+
/**
|
|
942
|
+
* Apply nested border radius calculation to first/last children.
|
|
943
|
+
* Uses CSS custom properties to calculate appropriate nested radius based on borderRadius and spacing.
|
|
944
|
+
* @link https://cloudfour.com/thinks/the-math-behind-nesting-rounded-corners
|
|
945
|
+
*/
|
|
946
|
+
nestedBorderRadius?: boolean | 'first' | 'last';
|
|
947
|
+
/**
|
|
948
|
+
* Sets the --uds-nested-border-radius-size CSS variable used in nested border radius calculations.
|
|
949
|
+
* @default borderRadius prop, otherwise can be customized
|
|
950
|
+
*/
|
|
951
|
+
nestedBorderRadiusSize?: BorderRadius;
|
|
952
|
+
/**
|
|
953
|
+
* Sets the --uds-nested-border-radius-spacing CSS variable used in nested border radius calculations.
|
|
954
|
+
* @default spacing prop, otherwise can be customized
|
|
955
|
+
*/
|
|
956
|
+
nestedBorderRadiusSpacing?: SpacingAlias;
|
|
957
|
+
/**
|
|
958
|
+
* Sets the --uds-nested-border-radius-width CSS variable used in nested border radius calculations.
|
|
959
|
+
* @default borderWidth prop, otherwise can be customized
|
|
960
|
+
*/
|
|
961
|
+
nestedBorderRadiusWidth?: BorderWidthWithElevation;
|
|
962
|
+
}
|
|
940
963
|
interface ShadowStyleProps {
|
|
941
964
|
/** Sets the variant of the shadow. */
|
|
942
965
|
dropShadow?: ShadowVariantWithElevation;
|
|
@@ -1053,8 +1076,8 @@ interface SizeStyleProps {
|
|
|
1053
1076
|
/** Sets the height of an element. */
|
|
1054
1077
|
height?: 'full' | 'fit' | 'screen';
|
|
1055
1078
|
}
|
|
1056
|
-
type StyleProps = BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & ImageStyleProps & CustomSizingStyleProps & ShadowStyleProps & SizeStyleProps;
|
|
1057
|
-
interface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, SpacingStyleProps, SizeStyleProps, ShadowStyleProps {
|
|
1079
|
+
type StyleProps = BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & ImageStyleProps & CustomSizingStyleProps & ShadowStyleProps & SizeStyleProps & NestedBorderRadiusStyleProps;
|
|
1080
|
+
interface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, SpacingStyleProps, SizeStyleProps, ShadowStyleProps, NestedBorderRadiusStyleProps {
|
|
1058
1081
|
/**
|
|
1059
1082
|
* When asChild is set to true, the component's child will be cloned and passed
|
|
1060
1083
|
* the props and behavior required to make it functional.
|
|
@@ -14334,4 +14357,4 @@ declare const defaultUniversalTokensConfigAuto: {
|
|
|
14334
14357
|
};
|
|
14335
14358
|
};
|
|
14336
14359
|
|
|
14337
|
-
export { DARK_COLOR_MODE_CLASSNAME as $, AVATAR_SIZE_PREFIX as A, type BreakpointsConfig as B, type ColorModeConfig as C, BORDER_WIDTH_PREFIX as D, type ElevationConfig as E, type FontConfig as F, type GlobalDefaultsConfig as G, type Hue as H, type IconPropsWithSVGProps as I, DROP_SHADOW_PREFIX as J, FONT_FAMILY_PREFIX as K, FONT_SIZE_PREFIX as L, type MotionConfig as M, FONT_WEIGHT_PREFIX as N, FONT_SLANT_PREFIX as O, type PaletteType as P, FONT_WIDTH_PREFIX as Q, ICON_SIZE_PREFIX as R, type ScaleModeConfig as S, type TypographyConfig as T, type UniversalTextProps as U, LINE_COLOR_PREFIX as V, LINE_HEIGHT_PREFIX as W, LETTER_SPACING_PREFIX as X, MOTION_PREFIX as Y, SPECTRUM_COLOR_PREFIX as Z, TEXT_TRANSFORM_PREFIX as _, type UniversalPressableProps as a, type DataAttribute as a$, LIGHT_COLOR_MODE_CLASSNAME as a0, SYSTEM_COLOR_MODE_CLASSNAME as a1, INVERT_COLOR_MODE_CLASSNAME as a2, XSMALL_SCALE_MODE_CLASSNAME as a3, SMALL_SCALE_MODE_CLASSNAME as a4, MEDIUM_SCALE_MODE_CLASSNAME as a5, LARGE_SCALE_MODE_CLASSNAME as a6, XLARGE_SCALE_MODE_CLASSNAME as a7, XXLARGE_SCALE_MODE_CLASSNAME as a8, XXXLARGE_SCALE_MODE_CLASSNAME as a9, type BackgroundColor as aA, type BackgroundPalette as aB, type BackgroundPaletteAlias as aC, type BackgroundStyleProps as aD, type BadgeSize as aE, type BadgeVariant as aF, type BorderRadius as aG, type BorderRadiusConfig as aH, type BorderStyleProps as aI, type BorderWidth as aJ, type BorderWidthConfig as aK, type BorderWidthWithElevation as aL, type Breakpoint as aM, type BreakpointWithBase as aN, type ButtonPalette as aO, type ButtonPaletteColor as aP, type ButtonSize as aQ, type ButtonSpectrumColor as aR, type ButtonVariant as aS, type ButtonVariantFlat as aT, type CheckboxSize as aU, type CheckboxValue as aV, type CheckboxVariant as aW, type ChipSize as aX, type ChipVariant as aY, type ColorModeForApp as aZ, type CustomSizingStyleProps as a_, DEFAULT_COLOR_MODE_CLASSNAME as aa, DEFAULT_SCALE_MODE_CLASSNAME as ab, TEXT_RESPONSIVE_CLASSNAME as ac, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES as ad, BUTTON_GAP_VAR as ae, BUTTON_SCALE_EFFECT as af, BUTTON_SCALE_EFFECT_REST as ag, BUTTON_SCALE_EFFECT_HOVER as ah, BUTTON_SCALE_EFFECT_PRESSED as ai, PSEUDO_STYLE_SELECTOR_MAP as aj, FONT_DECLARATIONS_MAP as ak, type FontAxisConfig as al, type FontDeclarationItemConfig as am, type FontDeclarationConfig as an, type FontDeclarationMap as ao, type FontWeightForFont as ap, type AlwaysPalette as aq, type AlwaysPaletteAlias as ar, type AlwaysPaletteColor as as, type Animation as at, type AriaAttribute as au, type AvatarAbbreviationStrategy as av, type AvatarShape as aw, type AvatarSize as ax, type AvatarSizeConfig as ay, type AvatarVariant as az, type UniversalBoxProps as b, type RegionMode as b$, type Display as b0, type DividerVariant as b1, type ElevationAlias as b2, type Flex as b3, type FlexAlignContent as b4, type FlexAlignItems as b5, type FlexAlignSelf as b6, type FlexBasis as b7, type FlexDirection as b8, type FlexGrow as b9, type LayoutStyleProps as bA, type LineClampAlias as bB, type LineColor as bC, type LineHeight as bD, type LineHeightConfig as bE, type LinePalette as bF, type LinePaletteAlias as bG, type Modes as bH, type MotionCssVar as bI, type MotionSpringConfig as bJ, type MotionSpringConfigOptions as bK, type MotionVariant as bL, type MotionVariantSpeed as bM, type MotionVariantValues as bN, type OpacityStep as bO, type Overflow as bP, type Palette as bQ, type PaletteValue as bR, type Percentage as bS, type PercentageUnit as bT, type PixelsUnit as bU, type PlatformMode as bV, type Position as bW, type PropertyToPaletteAliasMap as bX, type RadioSize as bY, type RadioValue as bZ, type RadioVariant as b_, type FlexJustifyContent as ba, type FlexShrink as bb, type FlexStyleProps as bc, type FlexWrap as bd, type FontAlias as be, type FontCssVar as bf, type FontFamilyCDNUrl as bg, type FontFamilyConfig as bh, type FontID as bi, type FontSize as bj, type FontSizeConfig as bk, type FontSlantConfig as bl, type FontType as bm, type FontWeightConfig as bn, type FontWeightDescriptive as bo, type FontWeightNumeric as bp, type FontWidthConfig as bq, type ForegroundColor as br, type ForegroundPalette as bs, type ForegroundPaletteAlias as bt, type HighContrastMode as bu, type IconButtonSize as bv, type IconSizeConfig as bw, type IconSlotRenderProps as bx, type ImageStyleProps as by, type InputSize as bz, type UniversalSwitchProps as c, type UniversalIconSlot as c$, type RemsUnit as c0, type RGBAUnit as c1, type RGBColorValue as c2, type ScaleConfig as c3, type ScaleEffect as c4, type ScaleModeForApp as c5, type ShadowColor as c6, type ShadowColorConfig as c7, type ShadowOffset as c8, type ShadowOpacity as c9, type TextVariantWithoutEmphasized as cA, type TransitionDelay as cB, type TransitionDuration as cC, type TransitionTiming as cD, type TShirtSize as cE, type TShirtSizeCommon as cF, type TypographyResponsiveProperty as cG, type TypographyStyle as cH, type TypographyStyleProperty as cI, type TypographyUnitValue as cJ, type UdsCssVar as cK, type UnitlessUnit as cL, type UniversalAvatarIconProps as cM, type UniversalAvatarImageProps as cN, type UniversalAvatarProps as cO, type UniversalAvatarTextProps as cP, type UniversalBadgeProps as cQ, type UniversalButtonProps as cR, type UniversalCheckboxProps as cS, type UniversalChipBaseProps as cT, type UniversalChipButtonProps as cU, type UniversalChipDismissibleProps as cV, type UniversalChipLinkProps as cW, type UniversalChipProps as cX, type UniversalChipToggleProps as cY, type UniversalIconButtonProps as cZ, type UniversalIconProps as c_, type ShadowPalette as ca, type ShadowPaletteAlias as cb, type ShadowSpreadRadius as cc, type ShadowStyleProps as cd, type ShadowType as ce, type ShadowTypeConfig as cf, type ShadowVariant as cg, type ShadowVariantConfig as ch, type ShadowVariantInvert as ci, type ShadowVariantWithElevation as cj, type ShadowVariantWithInvert as ck, type SharedPaletteAlias as cl, type SpacingConfig as cm, type SpacingStyleProps as cn, type SpectrumColor as co, type SpectrumConfig as cp, type StateStyleProps as cq, type StyleProps as cr, type SwitchSize as cs, type TextDecorationLine as ct, type TextProperty as cu, type TextStyleProps as cv, type TextTransform as cw, type TextTransformConfig as cx, type TextVariant as cy, type TextVariantTypography as cz, type ShadowConfig as d, type UniversalImageProps as d0, type UniversalInputProps as d1, type UniversalRadioGroupProps as d2, type UniversalRadioProps as d3, type UniversalTokensConfigAuto as d4, defaultUniversalTokensConfigAuto as e, type UniversalTokensConfig as f, type ColorMode as g, type ColorsConfig as h, type ElevationLevel as i, type ElevationPreset as j, type HueStep as k, type PaletteConfig as l, type ScaleMode as m, type ShadowPreset as n, type
|
|
14360
|
+
export { DARK_COLOR_MODE_CLASSNAME as $, AVATAR_SIZE_PREFIX as A, type BreakpointsConfig as B, type ColorModeConfig as C, BORDER_WIDTH_PREFIX as D, type ElevationConfig as E, type FontConfig as F, type GlobalDefaultsConfig as G, type Hue as H, type IconPropsWithSVGProps as I, DROP_SHADOW_PREFIX as J, FONT_FAMILY_PREFIX as K, FONT_SIZE_PREFIX as L, type MotionConfig as M, FONT_WEIGHT_PREFIX as N, FONT_SLANT_PREFIX as O, type PaletteType as P, FONT_WIDTH_PREFIX as Q, ICON_SIZE_PREFIX as R, type ScaleModeConfig as S, type TypographyConfig as T, type UniversalTextProps as U, LINE_COLOR_PREFIX as V, LINE_HEIGHT_PREFIX as W, LETTER_SPACING_PREFIX as X, MOTION_PREFIX as Y, SPECTRUM_COLOR_PREFIX as Z, TEXT_TRANSFORM_PREFIX as _, type UniversalPressableProps as a, type DataAttribute as a$, LIGHT_COLOR_MODE_CLASSNAME as a0, SYSTEM_COLOR_MODE_CLASSNAME as a1, INVERT_COLOR_MODE_CLASSNAME as a2, XSMALL_SCALE_MODE_CLASSNAME as a3, SMALL_SCALE_MODE_CLASSNAME as a4, MEDIUM_SCALE_MODE_CLASSNAME as a5, LARGE_SCALE_MODE_CLASSNAME as a6, XLARGE_SCALE_MODE_CLASSNAME as a7, XXLARGE_SCALE_MODE_CLASSNAME as a8, XXXLARGE_SCALE_MODE_CLASSNAME as a9, type BackgroundColor as aA, type BackgroundPalette as aB, type BackgroundPaletteAlias as aC, type BackgroundStyleProps as aD, type BadgeSize as aE, type BadgeVariant as aF, type BorderRadius as aG, type BorderRadiusConfig as aH, type BorderStyleProps as aI, type BorderWidth as aJ, type BorderWidthConfig as aK, type BorderWidthWithElevation as aL, type Breakpoint as aM, type BreakpointWithBase as aN, type ButtonPalette as aO, type ButtonPaletteColor as aP, type ButtonSize as aQ, type ButtonSpectrumColor as aR, type ButtonVariant as aS, type ButtonVariantFlat as aT, type CheckboxSize as aU, type CheckboxValue as aV, type CheckboxVariant as aW, type ChipSize as aX, type ChipVariant as aY, type ColorModeForApp as aZ, type CustomSizingStyleProps as a_, DEFAULT_COLOR_MODE_CLASSNAME as aa, DEFAULT_SCALE_MODE_CLASSNAME as ab, TEXT_RESPONSIVE_CLASSNAME as ac, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES as ad, BUTTON_GAP_VAR as ae, BUTTON_SCALE_EFFECT as af, BUTTON_SCALE_EFFECT_REST as ag, BUTTON_SCALE_EFFECT_HOVER as ah, BUTTON_SCALE_EFFECT_PRESSED as ai, PSEUDO_STYLE_SELECTOR_MAP as aj, FONT_DECLARATIONS_MAP as ak, type FontAxisConfig as al, type FontDeclarationItemConfig as am, type FontDeclarationConfig as an, type FontDeclarationMap as ao, type FontWeightForFont as ap, type AlwaysPalette as aq, type AlwaysPaletteAlias as ar, type AlwaysPaletteColor as as, type Animation as at, type AriaAttribute as au, type AvatarAbbreviationStrategy as av, type AvatarShape as aw, type AvatarSize as ax, type AvatarSizeConfig as ay, type AvatarVariant as az, type UniversalBoxProps as b, type RegionMode as b$, type Display as b0, type DividerVariant as b1, type ElevationAlias as b2, type Flex as b3, type FlexAlignContent as b4, type FlexAlignItems as b5, type FlexAlignSelf as b6, type FlexBasis as b7, type FlexDirection as b8, type FlexGrow as b9, type LayoutStyleProps as bA, type LineClampAlias as bB, type LineColor as bC, type LineHeight as bD, type LineHeightConfig as bE, type LinePalette as bF, type LinePaletteAlias as bG, type Modes as bH, type MotionCssVar as bI, type MotionSpringConfig as bJ, type MotionSpringConfigOptions as bK, type MotionVariant as bL, type MotionVariantSpeed as bM, type MotionVariantValues as bN, type OpacityStep as bO, type Overflow as bP, type Palette as bQ, type PaletteValue as bR, type Percentage as bS, type PercentageUnit as bT, type PixelsUnit as bU, type PlatformMode as bV, type Position as bW, type PropertyToPaletteAliasMap as bX, type RadioSize as bY, type RadioValue as bZ, type RadioVariant as b_, type FlexJustifyContent as ba, type FlexShrink as bb, type FlexStyleProps as bc, type FlexWrap as bd, type FontAlias as be, type FontCssVar as bf, type FontFamilyCDNUrl as bg, type FontFamilyConfig as bh, type FontID as bi, type FontSize as bj, type FontSizeConfig as bk, type FontSlantConfig as bl, type FontType as bm, type FontWeightConfig as bn, type FontWeightDescriptive as bo, type FontWeightNumeric as bp, type FontWidthConfig as bq, type ForegroundColor as br, type ForegroundPalette as bs, type ForegroundPaletteAlias as bt, type HighContrastMode as bu, type IconButtonSize as bv, type IconSizeConfig as bw, type IconSlotRenderProps as bx, type ImageStyleProps as by, type InputSize as bz, type UniversalSwitchProps as c, type UniversalIconSlot as c$, type RemsUnit as c0, type RGBAUnit as c1, type RGBColorValue as c2, type ScaleConfig as c3, type ScaleEffect as c4, type ScaleModeForApp as c5, type ShadowColor as c6, type ShadowColorConfig as c7, type ShadowOffset as c8, type ShadowOpacity as c9, type TextVariantWithoutEmphasized as cA, type TransitionDelay as cB, type TransitionDuration as cC, type TransitionTiming as cD, type TShirtSize as cE, type TShirtSizeCommon as cF, type TypographyResponsiveProperty as cG, type TypographyStyle as cH, type TypographyStyleProperty as cI, type TypographyUnitValue as cJ, type UdsCssVar as cK, type UnitlessUnit as cL, type UniversalAvatarIconProps as cM, type UniversalAvatarImageProps as cN, type UniversalAvatarProps as cO, type UniversalAvatarTextProps as cP, type UniversalBadgeProps as cQ, type UniversalButtonProps as cR, type UniversalCheckboxProps as cS, type UniversalChipBaseProps as cT, type UniversalChipButtonProps as cU, type UniversalChipDismissibleProps as cV, type UniversalChipLinkProps as cW, type UniversalChipProps as cX, type UniversalChipToggleProps as cY, type UniversalIconButtonProps as cZ, type UniversalIconProps as c_, type ShadowPalette as ca, type ShadowPaletteAlias as cb, type ShadowSpreadRadius as cc, type ShadowStyleProps as cd, type ShadowType as ce, type ShadowTypeConfig as cf, type ShadowVariant as cg, type ShadowVariantConfig as ch, type ShadowVariantInvert as ci, type ShadowVariantWithElevation as cj, type ShadowVariantWithInvert as ck, type SharedPaletteAlias as cl, type SpacingConfig as cm, type SpacingStyleProps as cn, type SpectrumColor as co, type SpectrumConfig as cp, type StateStyleProps as cq, type StyleProps as cr, type SwitchSize as cs, type TextDecorationLine as ct, type TextProperty as cu, type TextStyleProps as cv, type TextTransform as cw, type TextTransformConfig as cx, type TextVariant as cy, type TextVariantTypography as cz, type ShadowConfig as d, type UniversalImageProps as d0, type UniversalInputProps as d1, type UniversalRadioGroupProps as d2, type UniversalRadioProps as d3, type UniversalTokensConfigAuto as d4, defaultUniversalTokensConfigAuto as e, type UniversalTokensConfig as f, type ColorMode as g, type ColorsConfig as h, type ElevationLevel as i, type ElevationPreset as j, type HueStep as k, type PaletteConfig as l, type ScaleMode as m, type ShadowPreset as n, type UniversalStackProps as o, type UniversalDividerProps as p, type TextVariantUi as q, type SpacingAlias as r, type UniversalMenuItemProps as s, type UniversalFormLabelProps as t, type ImagePropsWithImgProps as u, type UniversalLinkProps as v, alwaysPalette as w, UDS_PREFIX as x, BACKGROUND_COLOR_PREFIX as y, BORDER_RADIUS_PREFIX as z };
|
package/dist/{universalTokensConfigAuto-CBx7dCyR.d.ts → universalTokensConfigAuto-BHqbAL0M.d.ts}
RENAMED
|
@@ -937,6 +937,29 @@ interface BorderStyleProps {
|
|
|
937
937
|
/** Sets the width of the bottom border of an element. */
|
|
938
938
|
borderBottomWidth?: BorderWidthWithElevation;
|
|
939
939
|
}
|
|
940
|
+
interface NestedBorderRadiusStyleProps {
|
|
941
|
+
/**
|
|
942
|
+
* Apply nested border radius calculation to first/last children.
|
|
943
|
+
* Uses CSS custom properties to calculate appropriate nested radius based on borderRadius and spacing.
|
|
944
|
+
* @link https://cloudfour.com/thinks/the-math-behind-nesting-rounded-corners
|
|
945
|
+
*/
|
|
946
|
+
nestedBorderRadius?: boolean | 'first' | 'last';
|
|
947
|
+
/**
|
|
948
|
+
* Sets the --uds-nested-border-radius-size CSS variable used in nested border radius calculations.
|
|
949
|
+
* @default borderRadius prop, otherwise can be customized
|
|
950
|
+
*/
|
|
951
|
+
nestedBorderRadiusSize?: BorderRadius;
|
|
952
|
+
/**
|
|
953
|
+
* Sets the --uds-nested-border-radius-spacing CSS variable used in nested border radius calculations.
|
|
954
|
+
* @default spacing prop, otherwise can be customized
|
|
955
|
+
*/
|
|
956
|
+
nestedBorderRadiusSpacing?: SpacingAlias;
|
|
957
|
+
/**
|
|
958
|
+
* Sets the --uds-nested-border-radius-width CSS variable used in nested border radius calculations.
|
|
959
|
+
* @default borderWidth prop, otherwise can be customized
|
|
960
|
+
*/
|
|
961
|
+
nestedBorderRadiusWidth?: BorderWidthWithElevation;
|
|
962
|
+
}
|
|
940
963
|
interface ShadowStyleProps {
|
|
941
964
|
/** Sets the variant of the shadow. */
|
|
942
965
|
dropShadow?: ShadowVariantWithElevation;
|
|
@@ -1053,8 +1076,8 @@ interface SizeStyleProps {
|
|
|
1053
1076
|
/** Sets the height of an element. */
|
|
1054
1077
|
height?: 'full' | 'fit' | 'screen';
|
|
1055
1078
|
}
|
|
1056
|
-
type StyleProps = BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & ImageStyleProps & CustomSizingStyleProps & ShadowStyleProps & SizeStyleProps;
|
|
1057
|
-
interface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, SpacingStyleProps, SizeStyleProps, ShadowStyleProps {
|
|
1079
|
+
type StyleProps = BackgroundStyleProps & BorderStyleProps & LayoutStyleProps & FlexStyleProps & SpacingStyleProps & TextStyleProps & ImageStyleProps & CustomSizingStyleProps & ShadowStyleProps & SizeStyleProps & NestedBorderRadiusStyleProps;
|
|
1080
|
+
interface UniversalBoxProps extends PropsWithChildren, BackgroundStyleProps, BorderStyleProps, FlexStyleProps, LayoutStyleProps, SpacingStyleProps, SizeStyleProps, ShadowStyleProps, NestedBorderRadiusStyleProps {
|
|
1058
1081
|
/**
|
|
1059
1082
|
* When asChild is set to true, the component's child will be cloned and passed
|
|
1060
1083
|
* the props and behavior required to make it functional.
|
|
@@ -14334,4 +14357,4 @@ declare const defaultUniversalTokensConfigAuto: {
|
|
|
14334
14357
|
};
|
|
14335
14358
|
};
|
|
14336
14359
|
|
|
14337
|
-
export { DARK_COLOR_MODE_CLASSNAME as $, AVATAR_SIZE_PREFIX as A, type BreakpointsConfig as B, type ColorModeConfig as C, BORDER_WIDTH_PREFIX as D, type ElevationConfig as E, type FontConfig as F, type GlobalDefaultsConfig as G, type Hue as H, type IconPropsWithSVGProps as I, DROP_SHADOW_PREFIX as J, FONT_FAMILY_PREFIX as K, FONT_SIZE_PREFIX as L, type MotionConfig as M, FONT_WEIGHT_PREFIX as N, FONT_SLANT_PREFIX as O, type PaletteType as P, FONT_WIDTH_PREFIX as Q, ICON_SIZE_PREFIX as R, type ScaleModeConfig as S, type TypographyConfig as T, type UniversalTextProps as U, LINE_COLOR_PREFIX as V, LINE_HEIGHT_PREFIX as W, LETTER_SPACING_PREFIX as X, MOTION_PREFIX as Y, SPECTRUM_COLOR_PREFIX as Z, TEXT_TRANSFORM_PREFIX as _, type UniversalPressableProps as a, type DataAttribute as a$, LIGHT_COLOR_MODE_CLASSNAME as a0, SYSTEM_COLOR_MODE_CLASSNAME as a1, INVERT_COLOR_MODE_CLASSNAME as a2, XSMALL_SCALE_MODE_CLASSNAME as a3, SMALL_SCALE_MODE_CLASSNAME as a4, MEDIUM_SCALE_MODE_CLASSNAME as a5, LARGE_SCALE_MODE_CLASSNAME as a6, XLARGE_SCALE_MODE_CLASSNAME as a7, XXLARGE_SCALE_MODE_CLASSNAME as a8, XXXLARGE_SCALE_MODE_CLASSNAME as a9, type BackgroundColor as aA, type BackgroundPalette as aB, type BackgroundPaletteAlias as aC, type BackgroundStyleProps as aD, type BadgeSize as aE, type BadgeVariant as aF, type BorderRadius as aG, type BorderRadiusConfig as aH, type BorderStyleProps as aI, type BorderWidth as aJ, type BorderWidthConfig as aK, type BorderWidthWithElevation as aL, type Breakpoint as aM, type BreakpointWithBase as aN, type ButtonPalette as aO, type ButtonPaletteColor as aP, type ButtonSize as aQ, type ButtonSpectrumColor as aR, type ButtonVariant as aS, type ButtonVariantFlat as aT, type CheckboxSize as aU, type CheckboxValue as aV, type CheckboxVariant as aW, type ChipSize as aX, type ChipVariant as aY, type ColorModeForApp as aZ, type CustomSizingStyleProps as a_, DEFAULT_COLOR_MODE_CLASSNAME as aa, DEFAULT_SCALE_MODE_CLASSNAME as ab, TEXT_RESPONSIVE_CLASSNAME as ac, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES as ad, BUTTON_GAP_VAR as ae, BUTTON_SCALE_EFFECT as af, BUTTON_SCALE_EFFECT_REST as ag, BUTTON_SCALE_EFFECT_HOVER as ah, BUTTON_SCALE_EFFECT_PRESSED as ai, PSEUDO_STYLE_SELECTOR_MAP as aj, FONT_DECLARATIONS_MAP as ak, type FontAxisConfig as al, type FontDeclarationItemConfig as am, type FontDeclarationConfig as an, type FontDeclarationMap as ao, type FontWeightForFont as ap, type AlwaysPalette as aq, type AlwaysPaletteAlias as ar, type AlwaysPaletteColor as as, type Animation as at, type AriaAttribute as au, type AvatarAbbreviationStrategy as av, type AvatarShape as aw, type AvatarSize as ax, type AvatarSizeConfig as ay, type AvatarVariant as az, type UniversalBoxProps as b, type RegionMode as b$, type Display as b0, type DividerVariant as b1, type ElevationAlias as b2, type Flex as b3, type FlexAlignContent as b4, type FlexAlignItems as b5, type FlexAlignSelf as b6, type FlexBasis as b7, type FlexDirection as b8, type FlexGrow as b9, type LayoutStyleProps as bA, type LineClampAlias as bB, type LineColor as bC, type LineHeight as bD, type LineHeightConfig as bE, type LinePalette as bF, type LinePaletteAlias as bG, type Modes as bH, type MotionCssVar as bI, type MotionSpringConfig as bJ, type MotionSpringConfigOptions as bK, type MotionVariant as bL, type MotionVariantSpeed as bM, type MotionVariantValues as bN, type OpacityStep as bO, type Overflow as bP, type Palette as bQ, type PaletteValue as bR, type Percentage as bS, type PercentageUnit as bT, type PixelsUnit as bU, type PlatformMode as bV, type Position as bW, type PropertyToPaletteAliasMap as bX, type RadioSize as bY, type RadioValue as bZ, type RadioVariant as b_, type FlexJustifyContent as ba, type FlexShrink as bb, type FlexStyleProps as bc, type FlexWrap as bd, type FontAlias as be, type FontCssVar as bf, type FontFamilyCDNUrl as bg, type FontFamilyConfig as bh, type FontID as bi, type FontSize as bj, type FontSizeConfig as bk, type FontSlantConfig as bl, type FontType as bm, type FontWeightConfig as bn, type FontWeightDescriptive as bo, type FontWeightNumeric as bp, type FontWidthConfig as bq, type ForegroundColor as br, type ForegroundPalette as bs, type ForegroundPaletteAlias as bt, type HighContrastMode as bu, type IconButtonSize as bv, type IconSizeConfig as bw, type IconSlotRenderProps as bx, type ImageStyleProps as by, type InputSize as bz, type UniversalSwitchProps as c, type UniversalIconSlot as c$, type RemsUnit as c0, type RGBAUnit as c1, type RGBColorValue as c2, type ScaleConfig as c3, type ScaleEffect as c4, type ScaleModeForApp as c5, type ShadowColor as c6, type ShadowColorConfig as c7, type ShadowOffset as c8, type ShadowOpacity as c9, type TextVariantWithoutEmphasized as cA, type TransitionDelay as cB, type TransitionDuration as cC, type TransitionTiming as cD, type TShirtSize as cE, type TShirtSizeCommon as cF, type TypographyResponsiveProperty as cG, type TypographyStyle as cH, type TypographyStyleProperty as cI, type TypographyUnitValue as cJ, type UdsCssVar as cK, type UnitlessUnit as cL, type UniversalAvatarIconProps as cM, type UniversalAvatarImageProps as cN, type UniversalAvatarProps as cO, type UniversalAvatarTextProps as cP, type UniversalBadgeProps as cQ, type UniversalButtonProps as cR, type UniversalCheckboxProps as cS, type UniversalChipBaseProps as cT, type UniversalChipButtonProps as cU, type UniversalChipDismissibleProps as cV, type UniversalChipLinkProps as cW, type UniversalChipProps as cX, type UniversalChipToggleProps as cY, type UniversalIconButtonProps as cZ, type UniversalIconProps as c_, type ShadowPalette as ca, type ShadowPaletteAlias as cb, type ShadowSpreadRadius as cc, type ShadowStyleProps as cd, type ShadowType as ce, type ShadowTypeConfig as cf, type ShadowVariant as cg, type ShadowVariantConfig as ch, type ShadowVariantInvert as ci, type ShadowVariantWithElevation as cj, type ShadowVariantWithInvert as ck, type SharedPaletteAlias as cl, type SpacingConfig as cm, type SpacingStyleProps as cn, type SpectrumColor as co, type SpectrumConfig as cp, type StateStyleProps as cq, type StyleProps as cr, type SwitchSize as cs, type TextDecorationLine as ct, type TextProperty as cu, type TextStyleProps as cv, type TextTransform as cw, type TextTransformConfig as cx, type TextVariant as cy, type TextVariantTypography as cz, type ShadowConfig as d, type UniversalImageProps as d0, type UniversalInputProps as d1, type UniversalRadioGroupProps as d2, type UniversalRadioProps as d3, type UniversalTokensConfigAuto as d4, defaultUniversalTokensConfigAuto as e, type UniversalTokensConfig as f, type ColorMode as g, type ColorsConfig as h, type ElevationLevel as i, type ElevationPreset as j, type HueStep as k, type PaletteConfig as l, type ScaleMode as m, type ShadowPreset as n, type
|
|
14360
|
+
export { DARK_COLOR_MODE_CLASSNAME as $, AVATAR_SIZE_PREFIX as A, type BreakpointsConfig as B, type ColorModeConfig as C, BORDER_WIDTH_PREFIX as D, type ElevationConfig as E, type FontConfig as F, type GlobalDefaultsConfig as G, type Hue as H, type IconPropsWithSVGProps as I, DROP_SHADOW_PREFIX as J, FONT_FAMILY_PREFIX as K, FONT_SIZE_PREFIX as L, type MotionConfig as M, FONT_WEIGHT_PREFIX as N, FONT_SLANT_PREFIX as O, type PaletteType as P, FONT_WIDTH_PREFIX as Q, ICON_SIZE_PREFIX as R, type ScaleModeConfig as S, type TypographyConfig as T, type UniversalTextProps as U, LINE_COLOR_PREFIX as V, LINE_HEIGHT_PREFIX as W, LETTER_SPACING_PREFIX as X, MOTION_PREFIX as Y, SPECTRUM_COLOR_PREFIX as Z, TEXT_TRANSFORM_PREFIX as _, type UniversalPressableProps as a, type DataAttribute as a$, LIGHT_COLOR_MODE_CLASSNAME as a0, SYSTEM_COLOR_MODE_CLASSNAME as a1, INVERT_COLOR_MODE_CLASSNAME as a2, XSMALL_SCALE_MODE_CLASSNAME as a3, SMALL_SCALE_MODE_CLASSNAME as a4, MEDIUM_SCALE_MODE_CLASSNAME as a5, LARGE_SCALE_MODE_CLASSNAME as a6, XLARGE_SCALE_MODE_CLASSNAME as a7, XXLARGE_SCALE_MODE_CLASSNAME as a8, XXXLARGE_SCALE_MODE_CLASSNAME as a9, type BackgroundColor as aA, type BackgroundPalette as aB, type BackgroundPaletteAlias as aC, type BackgroundStyleProps as aD, type BadgeSize as aE, type BadgeVariant as aF, type BorderRadius as aG, type BorderRadiusConfig as aH, type BorderStyleProps as aI, type BorderWidth as aJ, type BorderWidthConfig as aK, type BorderWidthWithElevation as aL, type Breakpoint as aM, type BreakpointWithBase as aN, type ButtonPalette as aO, type ButtonPaletteColor as aP, type ButtonSize as aQ, type ButtonSpectrumColor as aR, type ButtonVariant as aS, type ButtonVariantFlat as aT, type CheckboxSize as aU, type CheckboxValue as aV, type CheckboxVariant as aW, type ChipSize as aX, type ChipVariant as aY, type ColorModeForApp as aZ, type CustomSizingStyleProps as a_, DEFAULT_COLOR_MODE_CLASSNAME as aa, DEFAULT_SCALE_MODE_CLASSNAME as ab, TEXT_RESPONSIVE_CLASSNAME as ac, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES as ad, BUTTON_GAP_VAR as ae, BUTTON_SCALE_EFFECT as af, BUTTON_SCALE_EFFECT_REST as ag, BUTTON_SCALE_EFFECT_HOVER as ah, BUTTON_SCALE_EFFECT_PRESSED as ai, PSEUDO_STYLE_SELECTOR_MAP as aj, FONT_DECLARATIONS_MAP as ak, type FontAxisConfig as al, type FontDeclarationItemConfig as am, type FontDeclarationConfig as an, type FontDeclarationMap as ao, type FontWeightForFont as ap, type AlwaysPalette as aq, type AlwaysPaletteAlias as ar, type AlwaysPaletteColor as as, type Animation as at, type AriaAttribute as au, type AvatarAbbreviationStrategy as av, type AvatarShape as aw, type AvatarSize as ax, type AvatarSizeConfig as ay, type AvatarVariant as az, type UniversalBoxProps as b, type RegionMode as b$, type Display as b0, type DividerVariant as b1, type ElevationAlias as b2, type Flex as b3, type FlexAlignContent as b4, type FlexAlignItems as b5, type FlexAlignSelf as b6, type FlexBasis as b7, type FlexDirection as b8, type FlexGrow as b9, type LayoutStyleProps as bA, type LineClampAlias as bB, type LineColor as bC, type LineHeight as bD, type LineHeightConfig as bE, type LinePalette as bF, type LinePaletteAlias as bG, type Modes as bH, type MotionCssVar as bI, type MotionSpringConfig as bJ, type MotionSpringConfigOptions as bK, type MotionVariant as bL, type MotionVariantSpeed as bM, type MotionVariantValues as bN, type OpacityStep as bO, type Overflow as bP, type Palette as bQ, type PaletteValue as bR, type Percentage as bS, type PercentageUnit as bT, type PixelsUnit as bU, type PlatformMode as bV, type Position as bW, type PropertyToPaletteAliasMap as bX, type RadioSize as bY, type RadioValue as bZ, type RadioVariant as b_, type FlexJustifyContent as ba, type FlexShrink as bb, type FlexStyleProps as bc, type FlexWrap as bd, type FontAlias as be, type FontCssVar as bf, type FontFamilyCDNUrl as bg, type FontFamilyConfig as bh, type FontID as bi, type FontSize as bj, type FontSizeConfig as bk, type FontSlantConfig as bl, type FontType as bm, type FontWeightConfig as bn, type FontWeightDescriptive as bo, type FontWeightNumeric as bp, type FontWidthConfig as bq, type ForegroundColor as br, type ForegroundPalette as bs, type ForegroundPaletteAlias as bt, type HighContrastMode as bu, type IconButtonSize as bv, type IconSizeConfig as bw, type IconSlotRenderProps as bx, type ImageStyleProps as by, type InputSize as bz, type UniversalSwitchProps as c, type UniversalIconSlot as c$, type RemsUnit as c0, type RGBAUnit as c1, type RGBColorValue as c2, type ScaleConfig as c3, type ScaleEffect as c4, type ScaleModeForApp as c5, type ShadowColor as c6, type ShadowColorConfig as c7, type ShadowOffset as c8, type ShadowOpacity as c9, type TextVariantWithoutEmphasized as cA, type TransitionDelay as cB, type TransitionDuration as cC, type TransitionTiming as cD, type TShirtSize as cE, type TShirtSizeCommon as cF, type TypographyResponsiveProperty as cG, type TypographyStyle as cH, type TypographyStyleProperty as cI, type TypographyUnitValue as cJ, type UdsCssVar as cK, type UnitlessUnit as cL, type UniversalAvatarIconProps as cM, type UniversalAvatarImageProps as cN, type UniversalAvatarProps as cO, type UniversalAvatarTextProps as cP, type UniversalBadgeProps as cQ, type UniversalButtonProps as cR, type UniversalCheckboxProps as cS, type UniversalChipBaseProps as cT, type UniversalChipButtonProps as cU, type UniversalChipDismissibleProps as cV, type UniversalChipLinkProps as cW, type UniversalChipProps as cX, type UniversalChipToggleProps as cY, type UniversalIconButtonProps as cZ, type UniversalIconProps as c_, type ShadowPalette as ca, type ShadowPaletteAlias as cb, type ShadowSpreadRadius as cc, type ShadowStyleProps as cd, type ShadowType as ce, type ShadowTypeConfig as cf, type ShadowVariant as cg, type ShadowVariantConfig as ch, type ShadowVariantInvert as ci, type ShadowVariantWithElevation as cj, type ShadowVariantWithInvert as ck, type SharedPaletteAlias as cl, type SpacingConfig as cm, type SpacingStyleProps as cn, type SpectrumColor as co, type SpectrumConfig as cp, type StateStyleProps as cq, type StyleProps as cr, type SwitchSize as cs, type TextDecorationLine as ct, type TextProperty as cu, type TextStyleProps as cv, type TextTransform as cw, type TextTransformConfig as cx, type TextVariant as cy, type TextVariantTypography as cz, type ShadowConfig as d, type UniversalImageProps as d0, type UniversalInputProps as d1, type UniversalRadioGroupProps as d2, type UniversalRadioProps as d3, type UniversalTokensConfigAuto as d4, defaultUniversalTokensConfigAuto as e, type UniversalTokensConfig as f, type ColorMode as g, type ColorsConfig as h, type ElevationLevel as i, type ElevationPreset as j, type HueStep as k, type PaletteConfig as l, type ScaleMode as m, type ShadowPreset as n, type UniversalStackProps as o, type UniversalDividerProps as p, type TextVariantUi as q, type SpacingAlias as r, type UniversalMenuItemProps as s, type UniversalFormLabelProps as t, type ImagePropsWithImgProps as u, type UniversalLinkProps as v, alwaysPalette as w, UDS_PREFIX as x, BACKGROUND_COLOR_PREFIX as y, BORDER_RADIUS_PREFIX as z };
|
package/package.json
CHANGED
package/dist/Box-ClkQalNr.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { b as UniversalBoxProps } from './universalTokensConfigAuto-CBx7dCyR.js';
|
|
3
|
-
|
|
4
|
-
type DivProps = React.HTMLAttributes<HTMLDivElement>;
|
|
5
|
-
interface BoxProps extends UniversalBoxProps, DivProps {
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* **📦 A layout component that can be used to compose other components**
|
|
9
|
-
*
|
|
10
|
-
* @description
|
|
11
|
-
* The most simple component we ship - a div. But with all the power of the UDS design system.
|
|
12
|
-
* By default, `Box` is a flexbox container. When working with vertical or horizontal layouts,
|
|
13
|
-
* consider using [VStack](./v-stack) or [HStack](./h-stack) respectively.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```tsx
|
|
17
|
-
* import { Box } from '@yahoo/uds';
|
|
18
|
-
*
|
|
19
|
-
* <Box backgroundColor="primary" spacing="6">
|
|
20
|
-
* Any kind of content can go here!
|
|
21
|
-
* </Box>
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @usage
|
|
25
|
-
* - If you need to div-like container to apply padding, shapes, or other styling.
|
|
26
|
-
* - If you're creating card components.
|
|
27
|
-
*
|
|
28
|
-
* @see The {@link https://uds.build/docs/components/box Box Docs} for more info
|
|
29
|
-
*
|
|
30
|
-
* @related [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
|
31
|
-
*/
|
|
32
|
-
declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
|
|
33
|
-
|
|
34
|
-
export { type BoxProps as B, type DivProps as D, Box as a };
|
package/dist/Box-x2JDsfM6.d.cts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { b as UniversalBoxProps } from './universalTokensConfigAuto-CPGgDkC0.cjs';
|
|
3
|
-
|
|
4
|
-
type DivProps = React.HTMLAttributes<HTMLDivElement>;
|
|
5
|
-
interface BoxProps extends UniversalBoxProps, DivProps {
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* **📦 A layout component that can be used to compose other components**
|
|
9
|
-
*
|
|
10
|
-
* @description
|
|
11
|
-
* The most simple component we ship - a div. But with all the power of the UDS design system.
|
|
12
|
-
* By default, `Box` is a flexbox container. When working with vertical or horizontal layouts,
|
|
13
|
-
* consider using [VStack](./v-stack) or [HStack](./h-stack) respectively.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```tsx
|
|
17
|
-
* import { Box } from '@yahoo/uds';
|
|
18
|
-
*
|
|
19
|
-
* <Box backgroundColor="primary" spacing="6">
|
|
20
|
-
* Any kind of content can go here!
|
|
21
|
-
* </Box>
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @usage
|
|
25
|
-
* - If you need to div-like container to apply padding, shapes, or other styling.
|
|
26
|
-
* - If you're creating card components.
|
|
27
|
-
*
|
|
28
|
-
* @see The {@link https://uds.build/docs/components/box Box Docs} for more info
|
|
29
|
-
*
|
|
30
|
-
* @related [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
|
|
31
|
-
*/
|
|
32
|
-
declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
|
|
33
|
-
|
|
34
|
-
export { type BoxProps as B, type DivProps as D, Box as a };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { a as UniversalPressableProps } from './universalTokensConfigAuto-CBx7dCyR.cjs';
|
|
3
|
-
|
|
4
|
-
type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
|
|
5
|
-
interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* **🖲️ A primitive component for creating button interactions with accessibility support**
|
|
9
|
-
*
|
|
10
|
-
* @componentType Client component
|
|
11
|
-
*
|
|
12
|
-
* @description
|
|
13
|
-
* The Pressable component is a primitive component that can be used
|
|
14
|
-
* to create button interactions with accessibility support. It can be used
|
|
15
|
-
* to trigger an action, such as submitting a form, navigating to a new page,
|
|
16
|
-
* or adding interactivity to a section or card.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```tsx
|
|
20
|
-
* import { Pressable } from '@yahoo/uds';
|
|
21
|
-
*
|
|
22
|
-
* <Pressable
|
|
23
|
-
* backgroundColor="secondary"
|
|
24
|
-
* borderWidth="thin"
|
|
25
|
-
* borderColor="primary"
|
|
26
|
-
* borderRadius="lg"
|
|
27
|
-
* onPress={() => console.log('Pressed!')}
|
|
28
|
-
* >
|
|
29
|
-
* <Text variant="body1" color="primary" spacingHorizontal="7" spacingVertical="5">Click me...</Text>
|
|
30
|
-
* </Pressable>
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @usage
|
|
34
|
-
* - If you need to add interactivity to a section or card.
|
|
35
|
-
* - If you need a highly customized version of [Button](./button)
|
|
36
|
-
*
|
|
37
|
-
* @see The {@link https://uds.build/docs/components/pressable Pressable Docs} for more info
|
|
38
|
-
*
|
|
39
|
-
* @related [Button](https://uds.build/docs/components/button), [IconButton](https://uds.build/docs/components/icon-button)
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
declare const Pressable: react.ForwardRefExoticComponent<PressableProps & react.RefAttributes<HTMLButtonElement>>;
|
|
43
|
-
|
|
44
|
-
export { type PressableProps as P, Pressable as a };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { a as UniversalPressableProps } from './universalTokensConfigAuto-CBx7dCyR.js';
|
|
3
|
-
|
|
4
|
-
type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
|
|
5
|
-
interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* **🖲️ A primitive component for creating button interactions with accessibility support**
|
|
9
|
-
*
|
|
10
|
-
* @componentType Client component
|
|
11
|
-
*
|
|
12
|
-
* @description
|
|
13
|
-
* The Pressable component is a primitive component that can be used
|
|
14
|
-
* to create button interactions with accessibility support. It can be used
|
|
15
|
-
* to trigger an action, such as submitting a form, navigating to a new page,
|
|
16
|
-
* or adding interactivity to a section or card.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```tsx
|
|
20
|
-
* import { Pressable } from '@yahoo/uds';
|
|
21
|
-
*
|
|
22
|
-
* <Pressable
|
|
23
|
-
* backgroundColor="secondary"
|
|
24
|
-
* borderWidth="thin"
|
|
25
|
-
* borderColor="primary"
|
|
26
|
-
* borderRadius="lg"
|
|
27
|
-
* onPress={() => console.log('Pressed!')}
|
|
28
|
-
* >
|
|
29
|
-
* <Text variant="body1" color="primary" spacingHorizontal="7" spacingVertical="5">Click me...</Text>
|
|
30
|
-
* </Pressable>
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @usage
|
|
34
|
-
* - If you need to add interactivity to a section or card.
|
|
35
|
-
* - If you need a highly customized version of [Button](./button)
|
|
36
|
-
*
|
|
37
|
-
* @see The {@link https://uds.build/docs/components/pressable Pressable Docs} for more info
|
|
38
|
-
*
|
|
39
|
-
* @related [Button](https://uds.build/docs/components/button), [IconButton](https://uds.build/docs/components/icon-button)
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
declare const Pressable: react.ForwardRefExoticComponent<PressableProps & react.RefAttributes<HTMLButtonElement>>;
|
|
43
|
-
|
|
44
|
-
export { type PressableProps as P, Pressable as a };
|
package/dist/Text-Cu8Ssc5r.d.cts
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { Ref } from 'react';
|
|
3
|
-
import { U as UniversalTextProps } from './universalTokensConfigAuto-CPGgDkC0.cjs';
|
|
4
|
-
|
|
5
|
-
type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
|
|
6
|
-
type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
|
|
7
|
-
type VariantWithInherit = Exclude<UniversalTextProps['variant'], undefined> | 'inherit';
|
|
8
|
-
type TextProps<TagName extends TextElementTagName = TextElementTagName> = {
|
|
9
|
-
/** Ref passed to the inner container. */
|
|
10
|
-
ref?: Ref<HTMLElement>;
|
|
11
|
-
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
12
|
-
as?: TagName;
|
|
13
|
-
variant?: VariantWithInherit;
|
|
14
|
-
color?: ColorWithInherit;
|
|
15
|
-
} & JSX.IntrinsicElements[TagName] & Omit<UniversalTextProps, 'variant' | 'color'>;
|
|
16
|
-
/**
|
|
17
|
-
* **💬 A text element that can be used to display text**
|
|
18
|
-
*
|
|
19
|
-
* @description
|
|
20
|
-
* By default, the `Text` component uses text primary color and selects the
|
|
21
|
-
* correct font, weight, and leading. It also choices appropriate semantic
|
|
22
|
-
* HTML element based on the `variant` prop. For example, `body1` will use a
|
|
23
|
-
* `<p>` tag, `title1` uses an `<h1>`, etc. This behavior can be overridden
|
|
24
|
-
* with the `as` prop.
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* ```tsx
|
|
29
|
-
* import { Text } from '@yahoo/uds';
|
|
30
|
-
*
|
|
31
|
-
* <Text variant="body1" color="primary">
|
|
32
|
-
* Text goes here
|
|
33
|
-
* </Text>
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @usage
|
|
37
|
-
* - Use `Text` to display text in your app.
|
|
38
|
-
* - Use `variant` to change the size and weight of the text.
|
|
39
|
-
* - Use `color` to change the color of the text.
|
|
40
|
-
* - Use `as` to change the HTML tag used to render the text.
|
|
41
|
-
*
|
|
42
|
-
* @see The {@link https://uds.build/docs/components/text Text Docs} for more info
|
|
43
|
-
*/
|
|
44
|
-
declare const Text: react.ForwardRefExoticComponent<(Omit<{
|
|
45
|
-
/** Ref passed to the inner container. */
|
|
46
|
-
ref?: Ref<HTMLElement>;
|
|
47
|
-
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
48
|
-
as?: TextElementTagName | undefined;
|
|
49
|
-
variant?: VariantWithInherit;
|
|
50
|
-
color?: ColorWithInherit;
|
|
51
|
-
} & react.ClassAttributes<HTMLElement> & react.HTMLAttributes<HTMLElement> & Omit<UniversalTextProps, "variant" | "color">, "ref"> | Omit<{
|
|
52
|
-
/** Ref passed to the inner container. */
|
|
53
|
-
ref?: Ref<HTMLElement>;
|
|
54
|
-
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
55
|
-
as?: TextElementTagName | undefined;
|
|
56
|
-
variant?: VariantWithInherit;
|
|
57
|
-
color?: ColorWithInherit;
|
|
58
|
-
} & react.ClassAttributes<HTMLHeadingElement> & react.HTMLAttributes<HTMLHeadingElement> & Omit<UniversalTextProps, "variant" | "color">, "ref"> | Omit<{
|
|
59
|
-
/** Ref passed to the inner container. */
|
|
60
|
-
ref?: Ref<HTMLElement>;
|
|
61
|
-
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
62
|
-
as?: TextElementTagName | undefined;
|
|
63
|
-
variant?: VariantWithInherit;
|
|
64
|
-
color?: ColorWithInherit;
|
|
65
|
-
} & react.ClassAttributes<HTMLLabelElement> & react.LabelHTMLAttributes<HTMLLabelElement> & Omit<UniversalTextProps, "variant" | "color">, "ref"> | Omit<{
|
|
66
|
-
/** Ref passed to the inner container. */
|
|
67
|
-
ref?: Ref<HTMLElement>;
|
|
68
|
-
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
69
|
-
as?: TextElementTagName | undefined;
|
|
70
|
-
variant?: VariantWithInherit;
|
|
71
|
-
color?: ColorWithInherit;
|
|
72
|
-
} & react.ClassAttributes<HTMLLIElement> & react.LiHTMLAttributes<HTMLLIElement> & Omit<UniversalTextProps, "variant" | "color">, "ref"> | Omit<{
|
|
73
|
-
/** Ref passed to the inner container. */
|
|
74
|
-
ref?: Ref<HTMLElement>;
|
|
75
|
-
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
76
|
-
as?: TextElementTagName | undefined;
|
|
77
|
-
variant?: VariantWithInherit;
|
|
78
|
-
color?: ColorWithInherit;
|
|
79
|
-
} & react.ClassAttributes<HTMLParagraphElement> & react.HTMLAttributes<HTMLParagraphElement> & Omit<UniversalTextProps, "variant" | "color">, "ref"> | Omit<{
|
|
80
|
-
/** Ref passed to the inner container. */
|
|
81
|
-
ref?: Ref<HTMLElement>;
|
|
82
|
-
/** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
|
|
83
|
-
as?: TextElementTagName | undefined;
|
|
84
|
-
variant?: VariantWithInherit;
|
|
85
|
-
color?: ColorWithInherit;
|
|
86
|
-
} & react.ClassAttributes<HTMLSpanElement> & react.HTMLAttributes<HTMLSpanElement> & Omit<UniversalTextProps, "variant" | "color">, "ref">) & react.RefAttributes<HTMLElement>>;
|
|
87
|
-
|
|
88
|
-
export { Text as T, type TextProps as a };
|