@yahoo/uds 3.54.0 → 3.54.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Box-UFimrc8A.d.cts → Box-BrCNYpJf.d.cts} +1 -1
- package/dist/{Box-BTypshx6.d.ts → Box-CZiBJY-U.d.ts} +1 -1
- package/dist/Box-DvNI3HDT.d.ts +34 -0
- package/dist/Box-L9TrtxY6.d.cts +34 -0
- package/dist/{Pressable-CfDFSCDf.d.cts → Pressable-Bzvs31vV.d.cts} +1 -1
- package/dist/{Pressable-DjIXR0Fy.d.ts → Pressable-C_cD8YqL.d.ts} +1 -1
- package/dist/Pressable-CpTWnaJC.d.cts +44 -0
- package/dist/Pressable-CrGdyngS.d.ts +44 -0
- package/dist/{Text-CiP8Me3d.d.cts → Text-CTWa1DHn.d.cts} +1 -1
- package/dist/Text-CpFNy7i9.d.cts +88 -0
- package/dist/{Text-DyzX3P8H.d.ts → Text-DxibXWon.d.ts} +1 -1
- package/dist/Text-cfrk-aSz.d.ts +88 -0
- package/dist/{VStack-BmvkK46o.d.ts → VStack-APl_ya0J.d.ts} +2 -2
- package/dist/{VStack-4RUygAt3.d.cts → VStack-BZA9jJeV.d.cts} +2 -2
- package/dist/VStack-CITd7-eN.d.ts +83 -0
- package/dist/VStack-DasFpGHh.d.cts +83 -0
- package/dist/chunk-2AZATKLC.cjs +2 -0
- package/dist/chunk-3ZCMMPZA.js +1 -0
- package/dist/chunk-5PRLWXYU.cjs +1 -0
- package/dist/chunk-AMGEYAT4.js +2 -0
- package/dist/chunk-BAZC5ETD.js +3 -0
- package/dist/chunk-BM7BPYJZ.js +2 -0
- package/dist/chunk-CXQDRT7W.cjs +1 -0
- package/dist/chunk-HK7AJH52.js +2 -0
- package/dist/chunk-IYS3XCK5.js +2 -0
- package/dist/chunk-JQTRJCS3.js +2 -0
- package/dist/chunk-KH7DL4GJ.cjs +2 -0
- package/dist/chunk-LGFZ2QKW.js +2 -0
- package/dist/chunk-M36CUGIZ.cjs +1 -0
- package/dist/chunk-PH6MAF7V.cjs +1 -0
- package/dist/chunk-REBNTOTC.cjs +1 -0
- package/dist/chunk-RKYTJ6XJ.js +2 -0
- package/dist/chunk-RRXNQVLV.cjs +1 -0
- package/dist/chunk-SIH6N4MG.js +1 -0
- package/dist/chunk-U57GLRER.cjs +1 -0
- package/dist/chunk-U6EFKQU3.cjs +1 -0
- package/dist/client/Menu.d.cts +4 -4
- package/dist/client/Menu.d.ts +4 -4
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/defaultTokensConfig.cjs +1 -1
- package/dist/defaultTokensConfig.d.cts +2 -2
- package/dist/defaultTokensConfig.d.ts +2 -2
- package/dist/defaultTokensConfig.js +1 -1
- package/dist/experimental/client/SwitchV2.d.cts +1 -1
- package/dist/experimental/client/SwitchV2.d.ts +1 -1
- package/dist/fixtures.cjs +2 -344
- package/dist/fixtures.d.cts +1 -19
- package/dist/fixtures.d.ts +1 -19
- package/dist/fixtures.js +1 -341
- package/dist/{index-CynzbL1I.d.ts → index-Bj4zcQ8D.d.ts} +1 -1
- package/dist/{index-C8Il81Uq.d.cts → index-DvgJJnbq.d.ts} +1 -1
- package/dist/index-fOaETFpl.d.cts +243 -0
- package/dist/index-jFh7u5rS.d.cts +243 -0
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/plugin.js +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/index.d.cts +4 -4
- package/dist/tokens/index.d.ts +4 -4
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +7 -19
- package/dist/tokens/parseTokens.d.ts +7 -19
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-DCAXTOkZ.d.cts → types-BAsHl1tU.d.cts} +1939 -1946
- package/dist/{types-DCAXTOkZ.d.ts → types-BAsHl1tU.d.ts} +1939 -1946
- package/dist/types-CRqbgWm9.d.cts +10609 -0
- package/dist/types-CRqbgWm9.d.ts +10609 -0
- package/package.json +1 -1
- package/dist/chunk-F43AI46P.cjs +0 -1
- package/dist/chunk-MLPUM5T5.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as UniversalTokensConfig, bv as FontID, ai as FontDeclarationItemConfig, F as FontConfig, M as MotionConfig, m as ShadowPreset, cq as ShadowType } from '../types-
|
|
1
|
+
import { g as UniversalTokensConfig, bv as FontID, ai as FontDeclarationItemConfig, F as FontConfig, M as MotionConfig, m as ShadowPreset, cq as ShadowType } from '../types-CRqbgWm9.cjs';
|
|
2
2
|
import { C as CssStyleObject } from '../types-BvOFo15W.cjs';
|
|
3
3
|
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
|
4
4
|
import { WebTokens } from '../tokens/parseTokens.cjs';
|
package/dist/tailwind/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as UniversalTokensConfig, bv as FontID, ai as FontDeclarationItemConfig, F as FontConfig, M as MotionConfig, m as ShadowPreset, cq as ShadowType } from '../types-
|
|
1
|
+
import { g as UniversalTokensConfig, bv as FontID, ai as FontDeclarationItemConfig, F as FontConfig, M as MotionConfig, m as ShadowPreset, cq as ShadowType } from '../types-CRqbgWm9.js';
|
|
2
2
|
import { C as CssStyleObject } from '../types-BvOFo15W.js';
|
|
3
3
|
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
|
4
4
|
import { WebTokens } from '../tokens/parseTokens.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { e as VariantConfigWithProperties, d as SubComponentConfig, f as VariantConfigWithComponentStates } from '../../index-
|
|
1
|
+
import { e as VariantConfigWithProperties, d as SubComponentConfig, f as VariantConfigWithComponentStates } from '../../index-fOaETFpl.cjs';
|
|
2
2
|
import '@yahoo/uds/fixtures';
|
|
3
|
-
import '../../types-
|
|
3
|
+
import '../../types-CRqbgWm9.cjs';
|
|
4
4
|
import '@yahoo/uds-icons/types';
|
|
5
5
|
import 'motion/react';
|
|
6
6
|
import 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { e as VariantConfigWithProperties, d as SubComponentConfig, f as VariantConfigWithComponentStates } from '../../index-
|
|
1
|
+
import { e as VariantConfigWithProperties, d as SubComponentConfig, f as VariantConfigWithComponentStates } from '../../index-Bj4zcQ8D.js';
|
|
2
2
|
import '@yahoo/uds/fixtures';
|
|
3
|
-
import '../../types-
|
|
3
|
+
import '../../types-CRqbgWm9.js';
|
|
4
4
|
import '@yahoo/uds-icons/types';
|
|
5
5
|
import 'motion/react';
|
|
6
6
|
import 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as ConfigurablePropertiesName, E as ExtendablePropertiesName, S as SelectedConfigurableProperty, c as configurableProperties } from '../../index-
|
|
2
|
-
import '../../types-
|
|
1
|
+
export { C as ConfigurablePropertiesName, E as ExtendablePropertiesName, S as SelectedConfigurableProperty, c as configurableProperties } from '../../index-fOaETFpl.cjs';
|
|
2
|
+
import '../../types-CRqbgWm9.cjs';
|
|
3
3
|
import '@yahoo/uds/fixtures';
|
|
4
4
|
import '@yahoo/uds-icons/types';
|
|
5
5
|
import 'motion/react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as ConfigurablePropertiesName, E as ExtendablePropertiesName, S as SelectedConfigurableProperty, c as configurableProperties } from '../../index-
|
|
2
|
-
import '../../types-
|
|
1
|
+
export { C as ConfigurablePropertiesName, E as ExtendablePropertiesName, S as SelectedConfigurableProperty, c as configurableProperties } from '../../index-Bj4zcQ8D.js';
|
|
2
|
+
import '../../types-CRqbgWm9.js';
|
|
3
3
|
import '@yahoo/uds/fixtures';
|
|
4
4
|
import '@yahoo/uds-icons/types';
|
|
5
5
|
import 'motion/react';
|
package/dist/tokens/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './automation/configs.cjs';
|
|
2
|
-
import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-
|
|
3
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, k as SchemaStateValue, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from '../index-
|
|
4
|
-
import { df as UniversalTokensConfigAuto, g as UniversalTokensConfig, aO as ButtonKind, aS as ButtonPalette, aJ as ButtonBaseConfig, B as ButtonConfig, d as ShadowConfig, bB as FontWeightDescriptive, bC as FontWeightNumeric, b9 as ColorModeForApp, ch as ScaleModeForApp, h as ColorMode, l as ScaleMode, bH as HighContrastMode, cd as RegionMode, b1 as ButtonVariant, b3 as ButtonVariantFlat } from '../types-
|
|
5
|
-
export { E as AVATAR_SIZE_PREFIX, am as AlwaysPalette, an as AlwaysPaletteAlias, ao as AlwaysPaletteColor, ap as Animation, aq as AriaAttribute, ar as AvatarAbbreviationStrategy, as as AvatarShape, at as AvatarSize, au as AvatarSizeConfig, av as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, ad as BUTTON_CSS_VAR_MAP, aw as BackgroundColor, ax as BackgroundPalette, ay as BackgroundPaletteAlias, az as BackgroundStyleProps, aA as BadgeSize, aB as BadgeVariant, aC as BorderRadius, aD as BorderRadiusConfig, aE as BorderStyleProps, aF as BorderWidth, aG as BorderWidthConfig, aH as Breakpoint, aI as BreakpointWithBase, e as BreakpointsConfig, p as ButtonClassMap, aK as ButtonClassName, aL as ButtonColorConfig, aM as ButtonColorEffect, aN as ButtonColorEffectConfig, s as ButtonColorProperty, t as ButtonColorPropertyConfig, aP as ButtonMotionEffect, aQ as ButtonMotionProperty, aR as ButtonMotionPropertyConfig, aT as ButtonPaletteColor, aU as ButtonPaletteConfig, aV as ButtonShadowPropertyConfig, aW as ButtonSize, aX as ButtonSizeConfig, aY as ButtonSizeProperty, aZ as ButtonSpectrumColor, a_ as ButtonState, a$ as ButtonStateConfig, b0 as ButtonStateEffectConfig, b2 as ButtonVariantConfig, b4 as CheckboxSize, b5 as CheckboxValue, b6 as CheckboxVariant, b7 as ChipSize, b8 as ChipVariant, C as ColorModeConfig, i as ColorsConfig, ba as ConfigurableDropShadowValues, bb as ConfigurableInsetShadowValues, bc as CustomSizingStyleProps, _ as DARK_COLOR_MODE_CLASSNAME, a9 as DEFAULT_COLOR_MODE_CLASSNAME, aa as DEFAULT_SCALE_MODE_CLASSNAME, bd as DataAttribute, be as Display, bf as DividerVariant, ag as FONT_DECLARATIONS_MAP, L as FONT_FAMILY_PREFIX, N as FONT_SIZE_PREFIX, Q as FONT_SLANT_PREFIX, O as FONT_WEIGHT_PREFIX, R as FONT_WIDTH_PREFIX, bg as Flex, bh as FlexAlignContent, bi as FlexAlignItems, bj as FlexAlignSelf, bk as FlexBasis, bl as FlexDirection, bm as FlexGrow, bn as FlexJustifyContent, bo as FlexShrink, bp as FlexStyleProps, bq as FlexWrap, br as FontAlias, ah as FontAxisConfig, F as FontConfig, bs as FontCssVar, aj as FontDeclarationConfig, ai as FontDeclarationItemConfig, ak as FontDeclarationMap, bt as FontFamilyCDNUrl, bu as FontFamilyConfig, bv as FontID, bw as FontSize, bx as FontSizeConfig, by as FontSlantConfig, bz as FontType, bA as FontWeightConfig, al as FontWeightForFont, bD as FontWidthConfig, bE as ForegroundColor, bF as ForegroundPalette, bG as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, j as HueStep, ae as ICON_BUTTON_CSS_VAR_MAP, V as ICON_SIZE_PREFIX, a1 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bI as IconButtonClassName, I as IconButtonConfig, bJ as IconButtonDefaultsConfig, bK as IconButtonSize, x as IconPropsWithSVGProps, bL as IconSizeConfig, bM as IconSlotRenderProps, y as ImagePropsWithImgProps, bN as ImageStyleProps, bO as InputSize, a5 as LARGE_SCALE_MODE_CLASSNAME, $ as LIGHT_COLOR_MODE_CLASSNAME, W as LINE_HEIGHT_PREFIX, bP as LayoutStyleProps, bQ as LetterSpacing, bR as LineClampAlias, bS as LineColor, bT as LineHeight, bU as LineHeightConfig, bV as LinePalette, bW as LinePaletteAlias, a4 as MEDIUM_SCALE_MODE_CLASSNAME, X as MOTION_PREFIX, bX as Modes, M as MotionConfig, bY as MotionCssVar, bZ as MotionSpringConfig, b_ as MotionSpringConfigOptions, b$ as MotionVariant, c0 as MotionVariantSpeed, c1 as MotionVariantValues, c2 as Overflow, af as PSEUDO_STYLE_SELECTOR_MAP, c3 as Palette, k as PaletteConfig, P as PaletteType, c4 as PaletteValue, c5 as Percentage, c6 as Pixels, c7 as PlatformMode, c8 as Position, c9 as PropertyToPaletteAliasMap, ca as RadioSize, cb as RadioValue, cc as RadioVariant, ce as Rems, a3 as SMALL_SCALE_MODE_CLASSNAME, Y as SPECTRUM_COLOR_PREFIX, a0 as SYSTEM_COLOR_MODE_CLASSNAME, cf as ScaleConfig, cg as ScaleEffectMap, S as ScaleModeConfig, ci as ShadowColor, cj as ShadowColorConfig, ck as ShadowOffset, cl as ShadowOpacity, cm as ShadowPalette, cn as ShadowPaletteAlias, m as ShadowPreset, co as ShadowSpreadRadius, cp as ShadowStyleProps, cq as ShadowType, cr as ShadowTypeConfig, cs as ShadowVariant, ct as ShadowVariantConfig, cu as ShadowVariantInvert, cv as ShadowVariantWithInvert, cw as SharedPaletteAlias, u as SpacingAlias, cx as SpacingConfig, cy as SpacingStyleProps, cz as SpectrumColor, cA as SpectrumConfig, cB as StateStyleProps, cC as StyleProps, cD as SwitchSize, ac as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ab as TEXT_RESPONSIVE_CLASSNAME, Z as TEXT_TRANSFORM_PREFIX, cP as TShirtSize, cQ as TShirtSizeCommon, cE as TextDecorationLine, cF as TextProperty, cG as TextStyleProps, cH as TextTransform, cI as TextTransformConfig, cJ as TextVariant, cK as TextVariantTypography, r as TextVariantUi, cL as TextVariantWithoutEmphasized, cM as TransitionDelay, cN as TransitionDuration, cO as TransitionTiming, T as TypographyConfig, cR as TypographyResponsiveProperty, cS as TypographyStyle, cT as TypographyStyleProperty, cU as TypographyUnitValue, D as UDS_PREFIX, cV as UdsCssVar, cW as Unitless, cX as UniversalAvatarIconProps, cY as UniversalAvatarImageProps, cZ as UniversalAvatarProps, c_ as UniversalAvatarTextProps, c$ as UniversalBadgeProps, b as UniversalBoxProps, d0 as UniversalButtonProps, d1 as UniversalCheckboxProps, d2 as UniversalChipBaseProps, d3 as UniversalChipButtonProps, d4 as UniversalChipDismissibleProps, d5 as UniversalChipLinkProps, d6 as UniversalChipProps, d7 as UniversalChipToggleProps, o as UniversalDividerProps, w as UniversalFormLabelProps, d8 as UniversalIconButtonProps, d9 as UniversalIconProps, da as UniversalIconSlot, db as UniversalImageProps, dc as UniversalInputProps, z as UniversalLinkProps, v as UniversalMenuItemProps, a as UniversalPressableProps, dd as UniversalRadioGroupProps, de as UniversalRadioProps, n as UniversalStackProps, c as UniversalSwitchProps, U as UniversalTextProps, a6 as XLARGE_SCALE_MODE_CLASSNAME, a2 as XSMALL_SCALE_MODE_CLASSNAME, a7 as XXLARGE_SCALE_MODE_CLASSNAME, a8 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette } from '../types-
|
|
2
|
+
import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-fOaETFpl.cjs';
|
|
3
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, k as SchemaStateValue, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from '../index-fOaETFpl.cjs';
|
|
4
|
+
import { df as UniversalTokensConfigAuto, g as UniversalTokensConfig, aO as ButtonKind, aS as ButtonPalette, aJ as ButtonBaseConfig, B as ButtonConfig, d as ShadowConfig, bB as FontWeightDescriptive, bC as FontWeightNumeric, b9 as ColorModeForApp, ch as ScaleModeForApp, h as ColorMode, l as ScaleMode, bH as HighContrastMode, cd as RegionMode, b1 as ButtonVariant, b3 as ButtonVariantFlat } from '../types-CRqbgWm9.cjs';
|
|
5
|
+
export { E as AVATAR_SIZE_PREFIX, am as AlwaysPalette, an as AlwaysPaletteAlias, ao as AlwaysPaletteColor, ap as Animation, aq as AriaAttribute, ar as AvatarAbbreviationStrategy, as as AvatarShape, at as AvatarSize, au as AvatarSizeConfig, av as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, ad as BUTTON_CSS_VAR_MAP, aw as BackgroundColor, ax as BackgroundPalette, ay as BackgroundPaletteAlias, az as BackgroundStyleProps, aA as BadgeSize, aB as BadgeVariant, aC as BorderRadius, aD as BorderRadiusConfig, aE as BorderStyleProps, aF as BorderWidth, aG as BorderWidthConfig, aH as Breakpoint, aI as BreakpointWithBase, e as BreakpointsConfig, p as ButtonClassMap, aK as ButtonClassName, aL as ButtonColorConfig, aM as ButtonColorEffect, aN as ButtonColorEffectConfig, s as ButtonColorProperty, t as ButtonColorPropertyConfig, aP as ButtonMotionEffect, aQ as ButtonMotionProperty, aR as ButtonMotionPropertyConfig, aT as ButtonPaletteColor, aU as ButtonPaletteConfig, aV as ButtonShadowPropertyConfig, aW as ButtonSize, aX as ButtonSizeConfig, aY as ButtonSizeProperty, aZ as ButtonSpectrumColor, a_ as ButtonState, a$ as ButtonStateConfig, b0 as ButtonStateEffectConfig, b2 as ButtonVariantConfig, b4 as CheckboxSize, b5 as CheckboxValue, b6 as CheckboxVariant, b7 as ChipSize, b8 as ChipVariant, C as ColorModeConfig, i as ColorsConfig, ba as ConfigurableDropShadowValues, bb as ConfigurableInsetShadowValues, bc as CustomSizingStyleProps, _ as DARK_COLOR_MODE_CLASSNAME, a9 as DEFAULT_COLOR_MODE_CLASSNAME, aa as DEFAULT_SCALE_MODE_CLASSNAME, bd as DataAttribute, be as Display, bf as DividerVariant, ag as FONT_DECLARATIONS_MAP, L as FONT_FAMILY_PREFIX, N as FONT_SIZE_PREFIX, Q as FONT_SLANT_PREFIX, O as FONT_WEIGHT_PREFIX, R as FONT_WIDTH_PREFIX, bg as Flex, bh as FlexAlignContent, bi as FlexAlignItems, bj as FlexAlignSelf, bk as FlexBasis, bl as FlexDirection, bm as FlexGrow, bn as FlexJustifyContent, bo as FlexShrink, bp as FlexStyleProps, bq as FlexWrap, br as FontAlias, ah as FontAxisConfig, F as FontConfig, bs as FontCssVar, aj as FontDeclarationConfig, ai as FontDeclarationItemConfig, ak as FontDeclarationMap, bt as FontFamilyCDNUrl, bu as FontFamilyConfig, bv as FontID, bw as FontSize, bx as FontSizeConfig, by as FontSlantConfig, bz as FontType, bA as FontWeightConfig, al as FontWeightForFont, bD as FontWidthConfig, bE as ForegroundColor, bF as ForegroundPalette, bG as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, j as HueStep, ae as ICON_BUTTON_CSS_VAR_MAP, V as ICON_SIZE_PREFIX, a1 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bI as IconButtonClassName, I as IconButtonConfig, bJ as IconButtonDefaultsConfig, bK as IconButtonSize, x as IconPropsWithSVGProps, bL as IconSizeConfig, bM as IconSlotRenderProps, y as ImagePropsWithImgProps, bN as ImageStyleProps, bO as InputSize, a5 as LARGE_SCALE_MODE_CLASSNAME, $ as LIGHT_COLOR_MODE_CLASSNAME, W as LINE_HEIGHT_PREFIX, bP as LayoutStyleProps, bQ as LetterSpacing, bR as LineClampAlias, bS as LineColor, bT as LineHeight, bU as LineHeightConfig, bV as LinePalette, bW as LinePaletteAlias, a4 as MEDIUM_SCALE_MODE_CLASSNAME, X as MOTION_PREFIX, bX as Modes, M as MotionConfig, bY as MotionCssVar, bZ as MotionSpringConfig, b_ as MotionSpringConfigOptions, b$ as MotionVariant, c0 as MotionVariantSpeed, c1 as MotionVariantValues, c2 as Overflow, af as PSEUDO_STYLE_SELECTOR_MAP, c3 as Palette, k as PaletteConfig, P as PaletteType, c4 as PaletteValue, c5 as Percentage, c6 as Pixels, c7 as PlatformMode, c8 as Position, c9 as PropertyToPaletteAliasMap, ca as RadioSize, cb as RadioValue, cc as RadioVariant, ce as Rems, a3 as SMALL_SCALE_MODE_CLASSNAME, Y as SPECTRUM_COLOR_PREFIX, a0 as SYSTEM_COLOR_MODE_CLASSNAME, cf as ScaleConfig, cg as ScaleEffectMap, S as ScaleModeConfig, ci as ShadowColor, cj as ShadowColorConfig, ck as ShadowOffset, cl as ShadowOpacity, cm as ShadowPalette, cn as ShadowPaletteAlias, m as ShadowPreset, co as ShadowSpreadRadius, cp as ShadowStyleProps, cq as ShadowType, cr as ShadowTypeConfig, cs as ShadowVariant, ct as ShadowVariantConfig, cu as ShadowVariantInvert, cv as ShadowVariantWithInvert, cw as SharedPaletteAlias, u as SpacingAlias, cx as SpacingConfig, cy as SpacingStyleProps, cz as SpectrumColor, cA as SpectrumConfig, cB as StateStyleProps, cC as StyleProps, cD as SwitchSize, ac as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ab as TEXT_RESPONSIVE_CLASSNAME, Z as TEXT_TRANSFORM_PREFIX, cP as TShirtSize, cQ as TShirtSizeCommon, cE as TextDecorationLine, cF as TextProperty, cG as TextStyleProps, cH as TextTransform, cI as TextTransformConfig, cJ as TextVariant, cK as TextVariantTypography, r as TextVariantUi, cL as TextVariantWithoutEmphasized, cM as TransitionDelay, cN as TransitionDuration, cO as TransitionTiming, T as TypographyConfig, cR as TypographyResponsiveProperty, cS as TypographyStyle, cT as TypographyStyleProperty, cU as TypographyUnitValue, D as UDS_PREFIX, cV as UdsCssVar, cW as Unitless, cX as UniversalAvatarIconProps, cY as UniversalAvatarImageProps, cZ as UniversalAvatarProps, c_ as UniversalAvatarTextProps, c$ as UniversalBadgeProps, b as UniversalBoxProps, d0 as UniversalButtonProps, d1 as UniversalCheckboxProps, d2 as UniversalChipBaseProps, d3 as UniversalChipButtonProps, d4 as UniversalChipDismissibleProps, d5 as UniversalChipLinkProps, d6 as UniversalChipProps, d7 as UniversalChipToggleProps, o as UniversalDividerProps, w as UniversalFormLabelProps, d8 as UniversalIconButtonProps, d9 as UniversalIconProps, da as UniversalIconSlot, db as UniversalImageProps, dc as UniversalInputProps, z as UniversalLinkProps, v as UniversalMenuItemProps, a as UniversalPressableProps, dd as UniversalRadioGroupProps, de as UniversalRadioProps, n as UniversalStackProps, c as UniversalSwitchProps, U as UniversalTextProps, a6 as XLARGE_SCALE_MODE_CLASSNAME, a2 as XSMALL_SCALE_MODE_CLASSNAME, a7 as XXLARGE_SCALE_MODE_CLASSNAME, a8 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette } from '../types-CRqbgWm9.cjs';
|
|
6
6
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
|
7
7
|
import '@yahoo/uds/fixtures';
|
|
8
8
|
import 'motion/react';
|
package/dist/tokens/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './automation/configs.js';
|
|
2
|
-
import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-
|
|
3
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, k as SchemaStateValue, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from '../index-
|
|
4
|
-
import { df as UniversalTokensConfigAuto, g as UniversalTokensConfig, aO as ButtonKind, aS as ButtonPalette, aJ as ButtonBaseConfig, B as ButtonConfig, d as ShadowConfig, bB as FontWeightDescriptive, bC as FontWeightNumeric, b9 as ColorModeForApp, ch as ScaleModeForApp, h as ColorMode, l as ScaleMode, bH as HighContrastMode, cd as RegionMode, b1 as ButtonVariant, b3 as ButtonVariantFlat } from '../types-
|
|
5
|
-
export { E as AVATAR_SIZE_PREFIX, am as AlwaysPalette, an as AlwaysPaletteAlias, ao as AlwaysPaletteColor, ap as Animation, aq as AriaAttribute, ar as AvatarAbbreviationStrategy, as as AvatarShape, at as AvatarSize, au as AvatarSizeConfig, av as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, ad as BUTTON_CSS_VAR_MAP, aw as BackgroundColor, ax as BackgroundPalette, ay as BackgroundPaletteAlias, az as BackgroundStyleProps, aA as BadgeSize, aB as BadgeVariant, aC as BorderRadius, aD as BorderRadiusConfig, aE as BorderStyleProps, aF as BorderWidth, aG as BorderWidthConfig, aH as Breakpoint, aI as BreakpointWithBase, e as BreakpointsConfig, p as ButtonClassMap, aK as ButtonClassName, aL as ButtonColorConfig, aM as ButtonColorEffect, aN as ButtonColorEffectConfig, s as ButtonColorProperty, t as ButtonColorPropertyConfig, aP as ButtonMotionEffect, aQ as ButtonMotionProperty, aR as ButtonMotionPropertyConfig, aT as ButtonPaletteColor, aU as ButtonPaletteConfig, aV as ButtonShadowPropertyConfig, aW as ButtonSize, aX as ButtonSizeConfig, aY as ButtonSizeProperty, aZ as ButtonSpectrumColor, a_ as ButtonState, a$ as ButtonStateConfig, b0 as ButtonStateEffectConfig, b2 as ButtonVariantConfig, b4 as CheckboxSize, b5 as CheckboxValue, b6 as CheckboxVariant, b7 as ChipSize, b8 as ChipVariant, C as ColorModeConfig, i as ColorsConfig, ba as ConfigurableDropShadowValues, bb as ConfigurableInsetShadowValues, bc as CustomSizingStyleProps, _ as DARK_COLOR_MODE_CLASSNAME, a9 as DEFAULT_COLOR_MODE_CLASSNAME, aa as DEFAULT_SCALE_MODE_CLASSNAME, bd as DataAttribute, be as Display, bf as DividerVariant, ag as FONT_DECLARATIONS_MAP, L as FONT_FAMILY_PREFIX, N as FONT_SIZE_PREFIX, Q as FONT_SLANT_PREFIX, O as FONT_WEIGHT_PREFIX, R as FONT_WIDTH_PREFIX, bg as Flex, bh as FlexAlignContent, bi as FlexAlignItems, bj as FlexAlignSelf, bk as FlexBasis, bl as FlexDirection, bm as FlexGrow, bn as FlexJustifyContent, bo as FlexShrink, bp as FlexStyleProps, bq as FlexWrap, br as FontAlias, ah as FontAxisConfig, F as FontConfig, bs as FontCssVar, aj as FontDeclarationConfig, ai as FontDeclarationItemConfig, ak as FontDeclarationMap, bt as FontFamilyCDNUrl, bu as FontFamilyConfig, bv as FontID, bw as FontSize, bx as FontSizeConfig, by as FontSlantConfig, bz as FontType, bA as FontWeightConfig, al as FontWeightForFont, bD as FontWidthConfig, bE as ForegroundColor, bF as ForegroundPalette, bG as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, j as HueStep, ae as ICON_BUTTON_CSS_VAR_MAP, V as ICON_SIZE_PREFIX, a1 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bI as IconButtonClassName, I as IconButtonConfig, bJ as IconButtonDefaultsConfig, bK as IconButtonSize, x as IconPropsWithSVGProps, bL as IconSizeConfig, bM as IconSlotRenderProps, y as ImagePropsWithImgProps, bN as ImageStyleProps, bO as InputSize, a5 as LARGE_SCALE_MODE_CLASSNAME, $ as LIGHT_COLOR_MODE_CLASSNAME, W as LINE_HEIGHT_PREFIX, bP as LayoutStyleProps, bQ as LetterSpacing, bR as LineClampAlias, bS as LineColor, bT as LineHeight, bU as LineHeightConfig, bV as LinePalette, bW as LinePaletteAlias, a4 as MEDIUM_SCALE_MODE_CLASSNAME, X as MOTION_PREFIX, bX as Modes, M as MotionConfig, bY as MotionCssVar, bZ as MotionSpringConfig, b_ as MotionSpringConfigOptions, b$ as MotionVariant, c0 as MotionVariantSpeed, c1 as MotionVariantValues, c2 as Overflow, af as PSEUDO_STYLE_SELECTOR_MAP, c3 as Palette, k as PaletteConfig, P as PaletteType, c4 as PaletteValue, c5 as Percentage, c6 as Pixels, c7 as PlatformMode, c8 as Position, c9 as PropertyToPaletteAliasMap, ca as RadioSize, cb as RadioValue, cc as RadioVariant, ce as Rems, a3 as SMALL_SCALE_MODE_CLASSNAME, Y as SPECTRUM_COLOR_PREFIX, a0 as SYSTEM_COLOR_MODE_CLASSNAME, cf as ScaleConfig, cg as ScaleEffectMap, S as ScaleModeConfig, ci as ShadowColor, cj as ShadowColorConfig, ck as ShadowOffset, cl as ShadowOpacity, cm as ShadowPalette, cn as ShadowPaletteAlias, m as ShadowPreset, co as ShadowSpreadRadius, cp as ShadowStyleProps, cq as ShadowType, cr as ShadowTypeConfig, cs as ShadowVariant, ct as ShadowVariantConfig, cu as ShadowVariantInvert, cv as ShadowVariantWithInvert, cw as SharedPaletteAlias, u as SpacingAlias, cx as SpacingConfig, cy as SpacingStyleProps, cz as SpectrumColor, cA as SpectrumConfig, cB as StateStyleProps, cC as StyleProps, cD as SwitchSize, ac as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ab as TEXT_RESPONSIVE_CLASSNAME, Z as TEXT_TRANSFORM_PREFIX, cP as TShirtSize, cQ as TShirtSizeCommon, cE as TextDecorationLine, cF as TextProperty, cG as TextStyleProps, cH as TextTransform, cI as TextTransformConfig, cJ as TextVariant, cK as TextVariantTypography, r as TextVariantUi, cL as TextVariantWithoutEmphasized, cM as TransitionDelay, cN as TransitionDuration, cO as TransitionTiming, T as TypographyConfig, cR as TypographyResponsiveProperty, cS as TypographyStyle, cT as TypographyStyleProperty, cU as TypographyUnitValue, D as UDS_PREFIX, cV as UdsCssVar, cW as Unitless, cX as UniversalAvatarIconProps, cY as UniversalAvatarImageProps, cZ as UniversalAvatarProps, c_ as UniversalAvatarTextProps, c$ as UniversalBadgeProps, b as UniversalBoxProps, d0 as UniversalButtonProps, d1 as UniversalCheckboxProps, d2 as UniversalChipBaseProps, d3 as UniversalChipButtonProps, d4 as UniversalChipDismissibleProps, d5 as UniversalChipLinkProps, d6 as UniversalChipProps, d7 as UniversalChipToggleProps, o as UniversalDividerProps, w as UniversalFormLabelProps, d8 as UniversalIconButtonProps, d9 as UniversalIconProps, da as UniversalIconSlot, db as UniversalImageProps, dc as UniversalInputProps, z as UniversalLinkProps, v as UniversalMenuItemProps, a as UniversalPressableProps, dd as UniversalRadioGroupProps, de as UniversalRadioProps, n as UniversalStackProps, c as UniversalSwitchProps, U as UniversalTextProps, a6 as XLARGE_SCALE_MODE_CLASSNAME, a2 as XSMALL_SCALE_MODE_CLASSNAME, a7 as XXLARGE_SCALE_MODE_CLASSNAME, a8 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette } from '../types-
|
|
2
|
+
import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-Bj4zcQ8D.js';
|
|
3
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, k as SchemaStateValue, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from '../index-Bj4zcQ8D.js';
|
|
4
|
+
import { df as UniversalTokensConfigAuto, g as UniversalTokensConfig, aO as ButtonKind, aS as ButtonPalette, aJ as ButtonBaseConfig, B as ButtonConfig, d as ShadowConfig, bB as FontWeightDescriptive, bC as FontWeightNumeric, b9 as ColorModeForApp, ch as ScaleModeForApp, h as ColorMode, l as ScaleMode, bH as HighContrastMode, cd as RegionMode, b1 as ButtonVariant, b3 as ButtonVariantFlat } from '../types-CRqbgWm9.js';
|
|
5
|
+
export { E as AVATAR_SIZE_PREFIX, am as AlwaysPalette, an as AlwaysPaletteAlias, ao as AlwaysPaletteColor, ap as Animation, aq as AriaAttribute, ar as AvatarAbbreviationStrategy, as as AvatarShape, at as AvatarSize, au as AvatarSizeConfig, av as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, ad as BUTTON_CSS_VAR_MAP, aw as BackgroundColor, ax as BackgroundPalette, ay as BackgroundPaletteAlias, az as BackgroundStyleProps, aA as BadgeSize, aB as BadgeVariant, aC as BorderRadius, aD as BorderRadiusConfig, aE as BorderStyleProps, aF as BorderWidth, aG as BorderWidthConfig, aH as Breakpoint, aI as BreakpointWithBase, e as BreakpointsConfig, p as ButtonClassMap, aK as ButtonClassName, aL as ButtonColorConfig, aM as ButtonColorEffect, aN as ButtonColorEffectConfig, s as ButtonColorProperty, t as ButtonColorPropertyConfig, aP as ButtonMotionEffect, aQ as ButtonMotionProperty, aR as ButtonMotionPropertyConfig, aT as ButtonPaletteColor, aU as ButtonPaletteConfig, aV as ButtonShadowPropertyConfig, aW as ButtonSize, aX as ButtonSizeConfig, aY as ButtonSizeProperty, aZ as ButtonSpectrumColor, a_ as ButtonState, a$ as ButtonStateConfig, b0 as ButtonStateEffectConfig, b2 as ButtonVariantConfig, b4 as CheckboxSize, b5 as CheckboxValue, b6 as CheckboxVariant, b7 as ChipSize, b8 as ChipVariant, C as ColorModeConfig, i as ColorsConfig, ba as ConfigurableDropShadowValues, bb as ConfigurableInsetShadowValues, bc as CustomSizingStyleProps, _ as DARK_COLOR_MODE_CLASSNAME, a9 as DEFAULT_COLOR_MODE_CLASSNAME, aa as DEFAULT_SCALE_MODE_CLASSNAME, bd as DataAttribute, be as Display, bf as DividerVariant, ag as FONT_DECLARATIONS_MAP, L as FONT_FAMILY_PREFIX, N as FONT_SIZE_PREFIX, Q as FONT_SLANT_PREFIX, O as FONT_WEIGHT_PREFIX, R as FONT_WIDTH_PREFIX, bg as Flex, bh as FlexAlignContent, bi as FlexAlignItems, bj as FlexAlignSelf, bk as FlexBasis, bl as FlexDirection, bm as FlexGrow, bn as FlexJustifyContent, bo as FlexShrink, bp as FlexStyleProps, bq as FlexWrap, br as FontAlias, ah as FontAxisConfig, F as FontConfig, bs as FontCssVar, aj as FontDeclarationConfig, ai as FontDeclarationItemConfig, ak as FontDeclarationMap, bt as FontFamilyCDNUrl, bu as FontFamilyConfig, bv as FontID, bw as FontSize, bx as FontSizeConfig, by as FontSlantConfig, bz as FontType, bA as FontWeightConfig, al as FontWeightForFont, bD as FontWidthConfig, bE as ForegroundColor, bF as ForegroundPalette, bG as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, j as HueStep, ae as ICON_BUTTON_CSS_VAR_MAP, V as ICON_SIZE_PREFIX, a1 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bI as IconButtonClassName, I as IconButtonConfig, bJ as IconButtonDefaultsConfig, bK as IconButtonSize, x as IconPropsWithSVGProps, bL as IconSizeConfig, bM as IconSlotRenderProps, y as ImagePropsWithImgProps, bN as ImageStyleProps, bO as InputSize, a5 as LARGE_SCALE_MODE_CLASSNAME, $ as LIGHT_COLOR_MODE_CLASSNAME, W as LINE_HEIGHT_PREFIX, bP as LayoutStyleProps, bQ as LetterSpacing, bR as LineClampAlias, bS as LineColor, bT as LineHeight, bU as LineHeightConfig, bV as LinePalette, bW as LinePaletteAlias, a4 as MEDIUM_SCALE_MODE_CLASSNAME, X as MOTION_PREFIX, bX as Modes, M as MotionConfig, bY as MotionCssVar, bZ as MotionSpringConfig, b_ as MotionSpringConfigOptions, b$ as MotionVariant, c0 as MotionVariantSpeed, c1 as MotionVariantValues, c2 as Overflow, af as PSEUDO_STYLE_SELECTOR_MAP, c3 as Palette, k as PaletteConfig, P as PaletteType, c4 as PaletteValue, c5 as Percentage, c6 as Pixels, c7 as PlatformMode, c8 as Position, c9 as PropertyToPaletteAliasMap, ca as RadioSize, cb as RadioValue, cc as RadioVariant, ce as Rems, a3 as SMALL_SCALE_MODE_CLASSNAME, Y as SPECTRUM_COLOR_PREFIX, a0 as SYSTEM_COLOR_MODE_CLASSNAME, cf as ScaleConfig, cg as ScaleEffectMap, S as ScaleModeConfig, ci as ShadowColor, cj as ShadowColorConfig, ck as ShadowOffset, cl as ShadowOpacity, cm as ShadowPalette, cn as ShadowPaletteAlias, m as ShadowPreset, co as ShadowSpreadRadius, cp as ShadowStyleProps, cq as ShadowType, cr as ShadowTypeConfig, cs as ShadowVariant, ct as ShadowVariantConfig, cu as ShadowVariantInvert, cv as ShadowVariantWithInvert, cw as SharedPaletteAlias, u as SpacingAlias, cx as SpacingConfig, cy as SpacingStyleProps, cz as SpectrumColor, cA as SpectrumConfig, cB as StateStyleProps, cC as StyleProps, cD as SwitchSize, ac as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ab as TEXT_RESPONSIVE_CLASSNAME, Z as TEXT_TRANSFORM_PREFIX, cP as TShirtSize, cQ as TShirtSizeCommon, cE as TextDecorationLine, cF as TextProperty, cG as TextStyleProps, cH as TextTransform, cI as TextTransformConfig, cJ as TextVariant, cK as TextVariantTypography, r as TextVariantUi, cL as TextVariantWithoutEmphasized, cM as TransitionDelay, cN as TransitionDuration, cO as TransitionTiming, T as TypographyConfig, cR as TypographyResponsiveProperty, cS as TypographyStyle, cT as TypographyStyleProperty, cU as TypographyUnitValue, D as UDS_PREFIX, cV as UdsCssVar, cW as Unitless, cX as UniversalAvatarIconProps, cY as UniversalAvatarImageProps, cZ as UniversalAvatarProps, c_ as UniversalAvatarTextProps, c$ as UniversalBadgeProps, b as UniversalBoxProps, d0 as UniversalButtonProps, d1 as UniversalCheckboxProps, d2 as UniversalChipBaseProps, d3 as UniversalChipButtonProps, d4 as UniversalChipDismissibleProps, d5 as UniversalChipLinkProps, d6 as UniversalChipProps, d7 as UniversalChipToggleProps, o as UniversalDividerProps, w as UniversalFormLabelProps, d8 as UniversalIconButtonProps, d9 as UniversalIconProps, da as UniversalIconSlot, db as UniversalImageProps, dc as UniversalInputProps, z as UniversalLinkProps, v as UniversalMenuItemProps, a as UniversalPressableProps, dd as UniversalRadioGroupProps, de as UniversalRadioProps, n as UniversalStackProps, c as UniversalSwitchProps, U as UniversalTextProps, a6 as XLARGE_SCALE_MODE_CLASSNAME, a2 as XSMALL_SCALE_MODE_CLASSNAME, a7 as XXLARGE_SCALE_MODE_CLASSNAME, a8 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette } from '../types-CRqbgWm9.js';
|
|
6
6
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
|
7
7
|
import '@yahoo/uds/fixtures';
|
|
8
8
|
import 'motion/react';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../chunk-
|
|
1
|
+
"use strict";var e=require("../chunk-RRXNQVLV.cjs");Object.defineProperty(exports,"parseTokens",{enumerable:!0,get:function(){return e.parseTokens}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as UniversalTokensConfig, h as ColorMode, i as ColorsConfig, H as Hue, j as HueStep, P as PaletteType, k as PaletteConfig, l as ScaleMode } from '../types-
|
|
1
|
+
import { g as UniversalTokensConfig, h as ColorMode, i as ColorsConfig, H as Hue, j as HueStep, P as PaletteType, k as PaletteConfig, l as ScaleMode } from '../types-CRqbgWm9.cjs';
|
|
2
2
|
import '@yahoo/uds-icons/types';
|
|
3
3
|
import 'motion/react';
|
|
4
4
|
import 'react';
|
|
@@ -12,30 +12,18 @@ declare function transformColors(colors: ColorsConfig): {
|
|
|
12
12
|
palette: { [key in PaletteType]: Record<keyof PaletteConfig[key], string>; };
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
declare function
|
|
15
|
+
declare function transformNumericToPx<T extends Record<string, number>>(prefix: string, config: T): {
|
|
16
16
|
_vars: Record<string, string>;
|
|
17
|
-
_raw:
|
|
18
|
-
tailwindConfig: Record<string, string>;
|
|
19
|
-
};
|
|
20
|
-
declare function transformString<T extends Record<string, string>>(prefix: string, config: T, transformValue?: (value: T[keyof T]) => string): {
|
|
21
|
-
_vars: Record<string, string>;
|
|
22
|
-
_raw: T;
|
|
17
|
+
_raw: Record<string, number>;
|
|
23
18
|
tailwindConfig: Record<string, string>;
|
|
24
19
|
};
|
|
25
20
|
type WebTokens = Omit<UniversalTokensConfig, 'colorMode' | 'scaleMode' | 'fontFamily'> & {
|
|
26
21
|
colorMode: Record<ColorMode, ReturnType<typeof transformColors>>;
|
|
27
22
|
scaleMode: Record<ScaleMode, {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
fontWidth: ReturnType<typeof transformNumeric>;
|
|
33
|
-
lineHeight: ReturnType<typeof transformNumeric>;
|
|
34
|
-
textTransform: ReturnType<typeof transformString>;
|
|
35
|
-
borderRadius: ReturnType<typeof transformNumeric>;
|
|
36
|
-
borderWidth: ReturnType<typeof transformNumeric>;
|
|
37
|
-
avatarSizes: ReturnType<typeof transformNumeric>;
|
|
38
|
-
iconSizes: ReturnType<typeof transformNumeric>;
|
|
23
|
+
borderRadius: ReturnType<typeof transformNumericToPx>;
|
|
24
|
+
borderWidth: ReturnType<typeof transformNumericToPx>;
|
|
25
|
+
avatarSizes: ReturnType<typeof transformNumericToPx>;
|
|
26
|
+
iconSizes: ReturnType<typeof transformNumericToPx>;
|
|
39
27
|
}>;
|
|
40
28
|
};
|
|
41
29
|
declare function parseTokens(config: UniversalTokensConfig): WebTokens;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as UniversalTokensConfig, h as ColorMode, i as ColorsConfig, H as Hue, j as HueStep, P as PaletteType, k as PaletteConfig, l as ScaleMode } from '../types-
|
|
1
|
+
import { g as UniversalTokensConfig, h as ColorMode, i as ColorsConfig, H as Hue, j as HueStep, P as PaletteType, k as PaletteConfig, l as ScaleMode } from '../types-CRqbgWm9.js';
|
|
2
2
|
import '@yahoo/uds-icons/types';
|
|
3
3
|
import 'motion/react';
|
|
4
4
|
import 'react';
|
|
@@ -12,30 +12,18 @@ declare function transformColors(colors: ColorsConfig): {
|
|
|
12
12
|
palette: { [key in PaletteType]: Record<keyof PaletteConfig[key], string>; };
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
declare function
|
|
15
|
+
declare function transformNumericToPx<T extends Record<string, number>>(prefix: string, config: T): {
|
|
16
16
|
_vars: Record<string, string>;
|
|
17
|
-
_raw:
|
|
18
|
-
tailwindConfig: Record<string, string>;
|
|
19
|
-
};
|
|
20
|
-
declare function transformString<T extends Record<string, string>>(prefix: string, config: T, transformValue?: (value: T[keyof T]) => string): {
|
|
21
|
-
_vars: Record<string, string>;
|
|
22
|
-
_raw: T;
|
|
17
|
+
_raw: Record<string, number>;
|
|
23
18
|
tailwindConfig: Record<string, string>;
|
|
24
19
|
};
|
|
25
20
|
type WebTokens = Omit<UniversalTokensConfig, 'colorMode' | 'scaleMode' | 'fontFamily'> & {
|
|
26
21
|
colorMode: Record<ColorMode, ReturnType<typeof transformColors>>;
|
|
27
22
|
scaleMode: Record<ScaleMode, {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
fontWidth: ReturnType<typeof transformNumeric>;
|
|
33
|
-
lineHeight: ReturnType<typeof transformNumeric>;
|
|
34
|
-
textTransform: ReturnType<typeof transformString>;
|
|
35
|
-
borderRadius: ReturnType<typeof transformNumeric>;
|
|
36
|
-
borderWidth: ReturnType<typeof transformNumeric>;
|
|
37
|
-
avatarSizes: ReturnType<typeof transformNumeric>;
|
|
38
|
-
iconSizes: ReturnType<typeof transformNumeric>;
|
|
23
|
+
borderRadius: ReturnType<typeof transformNumericToPx>;
|
|
24
|
+
borderWidth: ReturnType<typeof transformNumericToPx>;
|
|
25
|
+
avatarSizes: ReturnType<typeof transformNumericToPx>;
|
|
26
|
+
iconSizes: ReturnType<typeof transformNumericToPx>;
|
|
39
27
|
}>;
|
|
40
28
|
};
|
|
41
29
|
declare function parseTokens(config: UniversalTokensConfig): WebTokens;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{parseTokens}from"../chunk-
|
|
1
|
+
export{parseTokens}from"../chunk-RKYTJ6XJ.js";
|