@yahoo/uds 3.53.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/cli/utils/configWorker.ts +2 -7
- 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-CBmDMJqu.d.ts → Box-DvNI3HDT.d.ts} +1 -1
- package/dist/{Box-Fp6C8p0o.d.cts → Box-L9TrtxY6.d.cts} +1 -1
- package/dist/{Pressable-BkG5JEtl.d.cts → Pressable-Bzvs31vV.d.cts} +1 -1
- package/dist/{Pressable-DKQvrcC0.d.ts → Pressable-C_cD8YqL.d.ts} +1 -1
- package/dist/{Pressable-CfDFSCDf.d.cts → Pressable-CpTWnaJC.d.cts} +1 -1
- package/dist/{Pressable-DjIXR0Fy.d.ts → Pressable-CrGdyngS.d.ts} +1 -1
- package/dist/{Text-CiP8Me3d.d.cts → Text-CTWa1DHn.d.cts} +1 -1
- package/dist/{Text-CtmIdGJm.d.cts → Text-CpFNy7i9.d.cts} +1 -1
- package/dist/{Text-DyzX3P8H.d.ts → Text-DxibXWon.d.ts} +1 -1
- package/dist/{Text-f-wnu9Eq.d.ts → Text-cfrk-aSz.d.ts} +1 -1
- 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-D0A-vg14.d.ts → VStack-CITd7-eN.d.ts} +2 -2
- package/dist/{VStack-c0PLMC6X.d.cts → VStack-DasFpGHh.d.cts} +2 -2
- package/dist/chunk-RKYTJ6XJ.js +2 -0
- package/dist/chunk-RRXNQVLV.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.cjs +0 -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 +0 -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-x2kCLG17.d.ts → index-DvgJJnbq.d.ts} +1 -1
- package/dist/{index-C8Il81Uq.d.cts → index-fOaETFpl.d.cts} +1 -1
- package/dist/{index-CZdNenSe.d.cts → index-jFh7u5rS.d.cts} +1 -1
- 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-D4nxp5eC.d.cts → types-BAsHl1tU.d.cts} +0 -7
- package/dist/{types-D4nxp5eC.d.ts → types-BAsHl1tU.d.ts} +0 -7
- package/dist/{types-DCAXTOkZ.d.cts → types-CRqbgWm9.d.cts} +0 -7
- package/dist/{types-DCAXTOkZ.d.ts → types-CRqbgWm9.d.ts} +0 -7
- package/package.json +1 -1
- package/cli/FlattenButtonVariant.mock.tsx +0 -17
- 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";
|
|
@@ -9707,13 +9707,6 @@ type ScaleConfig = {
|
|
|
9707
9707
|
iconSizes: IconSizeConfig;
|
|
9708
9708
|
borderRadius: BorderRadiusConfig;
|
|
9709
9709
|
borderWidth: BorderWidthConfig;
|
|
9710
|
-
fontFamily: FontFamilyConfig;
|
|
9711
|
-
fontSize: FontSizeConfig;
|
|
9712
|
-
fontWeight: FontWeightConfig;
|
|
9713
|
-
fontSlant: FontSlantConfig;
|
|
9714
|
-
fontWidth: FontWidthConfig;
|
|
9715
|
-
lineHeight: LineHeightConfig;
|
|
9716
|
-
textTransform: TextTransformConfig;
|
|
9717
9710
|
};
|
|
9718
9711
|
type ScaleModeConfig = Record<ScaleMode, ScaleConfig>;
|
|
9719
9712
|
type ButtonSize = TShirtSizeCommon;
|
|
@@ -9707,13 +9707,6 @@ type ScaleConfig = {
|
|
|
9707
9707
|
iconSizes: IconSizeConfig;
|
|
9708
9708
|
borderRadius: BorderRadiusConfig;
|
|
9709
9709
|
borderWidth: BorderWidthConfig;
|
|
9710
|
-
fontFamily: FontFamilyConfig;
|
|
9711
|
-
fontSize: FontSizeConfig;
|
|
9712
|
-
fontWeight: FontWeightConfig;
|
|
9713
|
-
fontSlant: FontSlantConfig;
|
|
9714
|
-
fontWidth: FontWidthConfig;
|
|
9715
|
-
lineHeight: LineHeightConfig;
|
|
9716
|
-
textTransform: TextTransformConfig;
|
|
9717
9710
|
};
|
|
9718
9711
|
type ScaleModeConfig = Record<ScaleMode, ScaleConfig>;
|
|
9719
9712
|
type ButtonSize = TShirtSizeCommon;
|
|
@@ -9707,13 +9707,6 @@ type ScaleConfig = {
|
|
|
9707
9707
|
iconSizes: IconSizeConfig;
|
|
9708
9708
|
borderRadius: BorderRadiusConfig;
|
|
9709
9709
|
borderWidth: BorderWidthConfig;
|
|
9710
|
-
fontFamily: FontFamilyConfig;
|
|
9711
|
-
fontSize: FontSizeConfig;
|
|
9712
|
-
fontWeight: FontWeightConfig;
|
|
9713
|
-
fontSlant: FontSlantConfig;
|
|
9714
|
-
fontWidth: FontWidthConfig;
|
|
9715
|
-
lineHeight: LineHeightConfig;
|
|
9716
|
-
textTransform: TextTransformConfig;
|
|
9717
9710
|
};
|
|
9718
9711
|
type ScaleModeConfig = Record<ScaleMode, ScaleConfig>;
|
|
9719
9712
|
type ButtonSize = TShirtSizeCommon;
|
|
@@ -9707,13 +9707,6 @@ type ScaleConfig = {
|
|
|
9707
9707
|
iconSizes: IconSizeConfig;
|
|
9708
9708
|
borderRadius: BorderRadiusConfig;
|
|
9709
9709
|
borderWidth: BorderWidthConfig;
|
|
9710
|
-
fontFamily: FontFamilyConfig;
|
|
9711
|
-
fontSize: FontSizeConfig;
|
|
9712
|
-
fontWeight: FontWeightConfig;
|
|
9713
|
-
fontSlant: FontSlantConfig;
|
|
9714
|
-
fontWidth: FontWidthConfig;
|
|
9715
|
-
lineHeight: LineHeightConfig;
|
|
9716
|
-
textTransform: TextTransformConfig;
|
|
9717
9710
|
};
|
|
9718
9711
|
type ScaleModeConfig = Record<ScaleMode, ScaleConfig>;
|
|
9719
9712
|
type ButtonSize = TShirtSizeCommon;
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Button, HStack, IconButton } from '@yahoo/uds';
|
|
2
|
-
import { Cross } from '@yahoo/uds-icons';
|
|
3
|
-
|
|
4
|
-
export const PageA = () => {
|
|
5
|
-
return (
|
|
6
|
-
<HStack>
|
|
7
|
-
<Button variant="brand-secondary">Click me</Button><IconButton name={Cross} />
|
|
8
|
-
<Button variant="primary">Click me</Button><IconButton name={Cross} variant="primary" />
|
|
9
|
-
<Button variant="secondary">Click me</Button><IconButton name={Cross} variant="brand" />
|
|
10
|
-
<Button variant="warning-tertiary">Click me</Button><IconButton name={Cross} variant="brand-tertiary" />
|
|
11
|
-
<Button>Click me</Button><IconButton name={Cross} />
|
|
12
|
-
<Button variant="tertiary">Click me</Button><IconButton name={Cross} variant="brand-tertiary" />
|
|
13
|
-
<Button variant="secondary">Click me</Button><IconButton name={Cross} variant="secondary" />
|
|
14
|
-
<Button variant="tertiary">Click me</Button><IconButton name={Cross} variant="tertiary" />
|
|
15
|
-
</HStack>
|
|
16
|
-
);
|
|
17
|
-
}
|
package/dist/chunk-F43AI46P.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var t=require("./chunk-J7PUOUXC.cjs"),r=require("./chunk-LNZSNDOV.cjs");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */function e(e){const{palette:n,spectrum:o}=e,i={},a={spectrum:{},palette:{}};for(const[e,n]of t.entries(o))for(const[o,s]of t.entries(n)){const t=`${e}-${o}`,n=`--${r.SPECTRUM_COLOR_PREFIX}-${t}`;a.spectrum[e]||(a.spectrum[e]={}),a.spectrum[e][o]=`rgb(var(${n}))`,i[n]=s}return t.entries(n).forEach(([t,e])=>{for(const[n,{hue:o,step:s,opacity:c}]of Object.entries(e)){t in a.palette||(a.palette[t]={});const e=`--${r.UDS_PREFIX}-${t}-color-${n}`;i[e]=`var(--${r.SPECTRUM_COLOR_PREFIX}-${o}-${s})`,a.palette[t][n]=c?`rgb(var(${e}) / ${c})`:`rgb(var(${e}))`}}),{_vars:i,_raw:e,tailwindConfig:a}}function n(r,e){const n={},o={};for(const[i,a]of t.entries(e)){const t=`--${r}-${i}`;n[t]=`${a}`,o[i]=`var(${t})`}return{_vars:n,_raw:e,tailwindConfig:o}}function o(r,e,n){const o={},i={};for(const[a,s]of t.entries(e)){const t=`--${r}-${a}`,e=n?n(s):s;o[t]=e,i[a]=`var(${t})`}return{_vars:o,_raw:e,tailwindConfig:i}}function i(r,e){if(!e)return{_vars:{},_raw:{},tailwindConfig:{}};const n={},o={};for(const[i,a]of t.entries(e)){const t=`--${r}-${i}`,e=`${a}px`;n[t]=e,o[i]=`var(${t})`}return{_vars:n,_raw:e,tailwindConfig:o}}exports.parseTokens=function(a){const{colorMode:s,scaleMode:c}=a;return{...a,colorMode:{light:e(s.light),dark:e(s.dark)},scaleMode:t.mapValues(c,({borderRadius:t,borderWidth:e,fontSize:a,lineHeight:s,fontFamily:c,fontWeight:_,fontSlant:f,fontWidth:R,textTransform:E,avatarSizes:I,iconSizes:$})=>({fontFamily:o(r.FONT_FAMILY_PREFIX,c,t=>`var(--${r.FONT_FAMILY_PREFIX}-${t})`),fontSize:i(r.FONT_SIZE_PREFIX,a),fontWeight:n(r.FONT_WEIGHT_PREFIX,_),fontSlant:n(r.FONT_SLANT_PREFIX,f),fontWidth:n(r.FONT_WIDTH_PREFIX,R),lineHeight:i(r.LINE_HEIGHT_PREFIX,s),textTransform:o(r.TEXT_TRANSFORM_PREFIX,E),borderRadius:i(r.BORDER_RADIUS_PREFIX,t),borderWidth:i(r.BORDER_WIDTH_PREFIX,e),avatarSizes:i(r.AVATAR_SIZE_PREFIX,I),iconSizes:i(r.ICON_SIZE_PREFIX,$)}))}};
|
package/dist/chunk-MLPUM5T5.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{mapValues as t,entries as o}from"./chunk-EWJ3J526.js";import{SPECTRUM_COLOR_PREFIX as r,UDS_PREFIX as n,ICON_SIZE_PREFIX as e,AVATAR_SIZE_PREFIX as i,BORDER_WIDTH_PREFIX as a,BORDER_RADIUS_PREFIX as s,TEXT_TRANSFORM_PREFIX as c,LINE_HEIGHT_PREFIX as f,FONT_WIDTH_PREFIX as $,FONT_SLANT_PREFIX as l,FONT_WEIGHT_PREFIX as d,FONT_SIZE_PREFIX as u,FONT_FAMILY_PREFIX as p}from"./chunk-PM4TFP3I.js";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
-
function v(t){const{palette:e,spectrum:i}=t,a={},s={spectrum:{},palette:{}};for(const[t,n]of o(i))for(const[e,i]of o(n)){const o=`--${r}-${`${t}-${e}`}`;s.spectrum[t]||(s.spectrum[t]={}),s.spectrum[t][e]=`rgb(var(${o}))`,a[o]=i}return o(e).forEach(([t,o])=>{for(const[e,{hue:i,step:c,opacity:f}]of Object.entries(o)){t in s.palette||(s.palette[t]={});const o=`--${n}-${t}-color-${e}`;a[o]=`var(--${r}-${i}-${c})`,s.palette[t][e]=f?`rgb(var(${o}) / ${f})`:`rgb(var(${o}))`}}),{_vars:a,_raw:t,tailwindConfig:s}}function g(t,r){const n={},e={};for(const[i,a]of o(r)){const o=`--${t}-${i}`;n[o]=`${a}`,e[i]=`var(${o})`}return{_vars:n,_raw:r,tailwindConfig:e}}function h(t,r,n){const e={},i={};for(const[a,s]of o(r)){const o=`--${t}-${a}`,r=n?n(s):s;e[o]=r,i[a]=`var(${o})`}return{_vars:e,_raw:r,tailwindConfig:i}}function m(t,r){if(!r)return{_vars:{},_raw:{},tailwindConfig:{}};const n={},e={};for(const[i,a]of o(r)){const o=`--${t}-${i}`,r=`${a}px`;n[o]=r,e[i]=`var(${o})`}return{_vars:n,_raw:r,tailwindConfig:e}}function w(o){const{colorMode:r,scaleMode:n}=o;return{...o,colorMode:{light:v(r.light),dark:v(r.dark)},scaleMode:t(n,({borderRadius:t,borderWidth:o,fontSize:r,lineHeight:n,fontFamily:v,fontWeight:w,fontSlant:_,fontWidth:b,textTransform:S,avatarSizes:W,iconSizes:z})=>({fontFamily:h(p,v,t=>`var(--${p}-${t})`),fontSize:m(u,r),fontWeight:g(d,w),fontSlant:g(l,_),fontWidth:g($,b),lineHeight:m(f,n),textTransform:h(c,S),borderRadius:m(s,t),borderWidth:m(a,o),avatarSizes:m(i,W),iconSizes:m(e,z)}))}}export{w as parseTokens};
|