@yahoo/uds 3.48.0 → 3.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/FlattenButtonVariant.mock.tsx +17 -0
- package/dist/{Box-MHJ0-0M3.d.ts → Box-Crrq6i4h.d.ts} +1 -1
- package/dist/{Box-BFRDyWaq.d.cts → Box-D3tacR6r.d.cts} +1 -1
- package/dist/Box-DSlj_nk4.d.ts +34 -0
- package/dist/Box-DpyU-coK.d.cts +34 -0
- package/dist/{Pressable-DVLHV--n.d.ts → Pressable-B6BLEH9a.d.ts} +1 -1
- package/dist/Pressable-B_tUxlD9.d.ts +44 -0
- package/dist/{Pressable-GdByxoJg.d.cts → Pressable-C1Csw_As.d.cts} +1 -1
- package/dist/Pressable-CSl68bNG.d.cts +44 -0
- package/dist/{Text-Buzrh-6W.d.cts → Text-BAHkYEiK.d.cts} +18 -2
- package/dist/{Text-Buzrh-6W.d.ts → Text-BAHkYEiK.d.ts} +18 -2
- package/dist/{Text-IGbWWF7a.d.ts → Text-BE_L9lP2.d.ts} +1 -1
- package/dist/{Text-Bq5NiVYm.d.cts → Text-CsOioZGs.d.cts} +1 -1
- package/dist/Text-CvY2JUUX.d.ts +88 -0
- package/dist/Text-DkshZZiK.d.cts +88 -0
- package/dist/{VStack-UmkAYRN1.d.cts → VStack-BkfbZYlc.d.cts} +2 -2
- package/dist/VStack-C33dVmTS.d.cts +83 -0
- package/dist/{VStack-CppUZHJL.d.ts → VStack-C5UmhjZX.d.ts} +2 -2
- package/dist/VStack-CJJ81YBr.d.ts +83 -0
- package/dist/chunk-3XMORCA6.cjs +1 -0
- package/dist/chunk-42TM364I.cjs +1 -0
- package/dist/chunk-4SWOQUGX.cjs +1 -0
- package/dist/chunk-53KBVJPZ.cjs +2 -0
- package/dist/chunk-6IIFFVGC.js +1 -0
- package/dist/chunk-6OLYHKI2.js +2 -0
- package/dist/chunk-7IYNK6VF.js +3 -0
- package/dist/chunk-D4G2CCD4.js +2 -0
- package/dist/chunk-D7XPTBPO.js +2 -0
- package/dist/chunk-HPXOQ4QK.js +1 -0
- package/dist/chunk-JD7PX7BB.cjs +2 -0
- package/dist/chunk-K7DHGT5F.cjs +1 -0
- package/dist/chunk-MEM4DBEJ.cjs +1 -0
- package/dist/chunk-ND5BLCNY.js +2 -0
- package/dist/chunk-O4TV6UVI.cjs +1 -0
- package/dist/chunk-QCLXCOEJ.js +2 -0
- package/dist/chunk-W7AQRGI5.cjs +1 -0
- package/dist/chunk-XWRSYGZJ.js +2 -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.d.cts +2 -2
- package/dist/defaultTokensConfig.d.ts +2 -2
- package/dist/experimental/client/SwitchV2.cjs +1 -0
- 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/experimental/client/index.d.cts +1 -1
- package/dist/experimental/client/index.d.ts +1 -1
- package/dist/experimental/index.d.cts +1 -1
- package/dist/experimental/index.d.ts +1 -1
- package/dist/{index-BnkxCwiE.d.cts → index-B7ouHsYr.d.cts} +1 -1
- package/dist/index-CaoWyj2K.d.cts +245 -0
- package/dist/index-CsCxUL1M.d.ts +245 -0
- package/dist/{index-DPrPpHqT.d.ts → index-cfPq3YHj.d.ts} +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.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +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.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/{types-Da_DnBJy.d.cts → types-Cx4ERyM0.d.cts} +18 -2
- package/dist/{types-Da_DnBJy.d.ts → types-Cx4ERyM0.d.ts} +18 -2
- package/dist/types-wpDRhNL7.d.cts +10605 -0
- package/dist/types-wpDRhNL7.d.ts +10605 -0
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
2
|
-
import { B as ButtonConfig, p as ButtonClassMap, g as UniversalTokensConfig, q as IconButtonClassMap, r as ButtonColorProperty, s as ButtonColorPropertyConfig } from '../types-
|
2
|
+
import { B as ButtonConfig, p as ButtonClassMap, g as UniversalTokensConfig, q as IconButtonClassMap, r as ButtonColorProperty, s as ButtonColorPropertyConfig } from '../types-Cx4ERyM0.cjs';
|
3
3
|
import { Config } from 'tailwindcss';
|
4
4
|
import { T as ThemeFn, C as CssStyleObject } from '../types-BvOFo15W.cjs';
|
5
5
|
import defaultTailwindTheme from 'tailwindcss/defaultTheme';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
2
|
-
import { B as ButtonConfig, p as ButtonClassMap, g as UniversalTokensConfig, q as IconButtonClassMap, r as ButtonColorProperty, s as ButtonColorPropertyConfig } from '../types-
|
2
|
+
import { B as ButtonConfig, p as ButtonClassMap, g as UniversalTokensConfig, q as IconButtonClassMap, r as ButtonColorProperty, s as ButtonColorPropertyConfig } from '../types-Cx4ERyM0.js';
|
3
3
|
import { Config } from 'tailwindcss';
|
4
4
|
import { T as ThemeFn, C as CssStyleObject } from '../types-BvOFo15W.js';
|
5
5
|
import defaultTailwindTheme from 'tailwindcss/defaultTheme';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as UniversalTokensConfig, bu as FontID, ah as FontDeclarationItemConfig, F as FontConfig, M as MotionConfig, m as ShadowPreset, co as ShadowType } from '../types-
|
1
|
+
import { g as UniversalTokensConfig, bu as FontID, ah as FontDeclarationItemConfig, F as FontConfig, M as MotionConfig, m as ShadowPreset, co as ShadowType } from '../types-Cx4ERyM0.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, bu as FontID, ah as FontDeclarationItemConfig, F as FontConfig, M as MotionConfig, m as ShadowPreset, co as ShadowType } from '../types-
|
1
|
+
import { g as UniversalTokensConfig, bu as FontID, ah as FontDeclarationItemConfig, F as FontConfig, M as MotionConfig, m as ShadowPreset, co as ShadowType } from '../types-Cx4ERyM0.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-B7ouHsYr.cjs';
|
2
2
|
import '@yahoo/uds/fixtures';
|
3
|
-
import '../../types-
|
3
|
+
import '../../types-Cx4ERyM0.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-cfPq3YHj.js';
|
2
2
|
import '@yahoo/uds/fixtures';
|
3
|
-
import '../../types-
|
3
|
+
import '../../types-Cx4ERyM0.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-B7ouHsYr.cjs';
|
2
|
+
import '../../types-Cx4ERyM0.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-cfPq3YHj.js';
|
2
|
+
import '../../types-Cx4ERyM0.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 { db as UniversalTokensConfigAuto, g as UniversalTokensConfig, aN as ButtonKind, aR as ButtonPalette, aI as ButtonBaseConfig, B as ButtonConfig, d as ShadowConfig, bA as FontWeightDescriptive, bB as FontWeightNumeric, b8 as ColorModeForApp, cf as ScaleModeForApp, h as ColorMode, l as ScaleMode, bG as HighContrastMode, cb as RegionMode, b0 as ButtonVariant, b2 as ButtonVariantFlat } from '../types-
|
5
|
-
export { D as AVATAR_SIZE_PREFIX, al as AlwaysPalette, am as AlwaysPaletteAlias, an as AlwaysPaletteColor, ao as Animation, ap as AriaAttribute, aq as AvatarAbbreviationStrategy, ar as AvatarShape, as as AvatarSize, at as AvatarSizeConfig, au as AvatarVariant, E as BORDER_RADIUS_PREFIX, J as BORDER_WIDTH_PREFIX, ac as BUTTON_CSS_VAR_MAP, av as BackgroundColor, aw as BackgroundPalette, ax as BackgroundPaletteAlias, ay as BackgroundStyleProps, az as BadgeSize, aA as BadgeVariant, aB as BorderRadius, aC as BorderRadiusConfig, aD as BorderStyleProps, aE as BorderWidth, aF as BorderWidthConfig, aG as Breakpoint, aH as BreakpointWithBase, e as BreakpointsConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b1 as ButtonVariantConfig, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, C as ColorModeConfig, i as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a8 as DEFAULT_COLOR_MODE_CLASSNAME, a9 as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, af as FONT_DECLARATIONS_MAP, K as FONT_FAMILY_PREFIX, L as FONT_SIZE_PREFIX, O as FONT_SLANT_PREFIX, N as FONT_WEIGHT_PREFIX, Q as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ag as FontAxisConfig, F as FontConfig, br as FontCssVar, ai as FontDeclarationConfig, ah as FontDeclarationItemConfig, aj as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, bu as FontID, bv as FontSize, bw as FontSizeConfig, bx as FontSlantConfig, by as FontType, bz as FontWeightConfig, ak as FontWeightForFont, bC as FontWidthConfig, bD as ForegroundColor, bE as ForegroundPalette, bF as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, j as HueStep, ad as ICON_BUTTON_CSS_VAR_MAP, R as ICON_SIZE_PREFIX, a0 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bH as IconButtonClassName, I as IconButtonConfig, bI as IconButtonDefaultsConfig, bJ as IconButtonSize, w as IconPropsWithSVGProps, bK as IconSizeConfig, bL as IconSlotRenderProps, x as ImagePropsWithImgProps, bM as ImageStyleProps, bN as InputSize, a4 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bO as LayoutStyleProps, bP as LetterSpacing, bQ as LineClampAlias, bR as LineColor, bS as LineHeight, bT as LineHeightConfig, bU as LinePalette, bV as LinePaletteAlias, a3 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bW as Modes, M as MotionConfig, bX as MotionCssVar, bY as MotionSpringConfig, bZ as MotionSpringConfigOptions, b_ as MotionVariant, b$ as MotionVariantSpeed, c0 as MotionVariantValues, c1 as Overflow, ae as PSEUDO_STYLE_SELECTOR_MAP, c2 as Palette, k as PaletteConfig, P as PaletteType, c3 as PaletteValue, c4 as Pixels, c5 as PlatformMode, c6 as Position, c7 as PropertyToPaletteAliasMap, c8 as RadioSize, c9 as RadioValue, ca as RadioVariant, cc as Rems, a2 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, $ as SYSTEM_COLOR_MODE_CLASSNAME, cd as ScaleConfig, ce as ScaleEffectMap, S as ScaleModeConfig, cg as ShadowColor, ch as ShadowColorConfig, ci as ShadowOffset, cj as ShadowOpacity, ck as ShadowPalette, cl as ShadowPaletteAlias, m as ShadowPreset, cm as ShadowSpreadRadius, cn as ShadowStyleProps, co as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, t as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, ab as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, aa as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, A as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, b as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, o as UniversalDividerProps, v as UniversalFormLabelProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalIconSlot, d7 as UniversalImageProps, d8 as UniversalInputProps, y as UniversalLinkProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d9 as UniversalRadioGroupProps, da as UniversalRadioProps, n as UniversalStackProps, c as UniversalSwitchProps, U as UniversalTextProps, a5 as XLARGE_SCALE_MODE_CLASSNAME, a1 as XSMALL_SCALE_MODE_CLASSNAME, a6 as XXLARGE_SCALE_MODE_CLASSNAME, a7 as XXXLARGE_SCALE_MODE_CLASSNAME, z 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-B7ouHsYr.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-B7ouHsYr.cjs';
|
4
|
+
import { db as UniversalTokensConfigAuto, g as UniversalTokensConfig, aN as ButtonKind, aR as ButtonPalette, aI as ButtonBaseConfig, B as ButtonConfig, d as ShadowConfig, bA as FontWeightDescriptive, bB as FontWeightNumeric, b8 as ColorModeForApp, cf as ScaleModeForApp, h as ColorMode, l as ScaleMode, bG as HighContrastMode, cb as RegionMode, b0 as ButtonVariant, b2 as ButtonVariantFlat } from '../types-Cx4ERyM0.cjs';
|
5
|
+
export { D as AVATAR_SIZE_PREFIX, al as AlwaysPalette, am as AlwaysPaletteAlias, an as AlwaysPaletteColor, ao as Animation, ap as AriaAttribute, aq as AvatarAbbreviationStrategy, ar as AvatarShape, as as AvatarSize, at as AvatarSizeConfig, au as AvatarVariant, E as BORDER_RADIUS_PREFIX, J as BORDER_WIDTH_PREFIX, ac as BUTTON_CSS_VAR_MAP, av as BackgroundColor, aw as BackgroundPalette, ax as BackgroundPaletteAlias, ay as BackgroundStyleProps, az as BadgeSize, aA as BadgeVariant, aB as BorderRadius, aC as BorderRadiusConfig, aD as BorderStyleProps, aE as BorderWidth, aF as BorderWidthConfig, aG as Breakpoint, aH as BreakpointWithBase, e as BreakpointsConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b1 as ButtonVariantConfig, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, C as ColorModeConfig, i as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a8 as DEFAULT_COLOR_MODE_CLASSNAME, a9 as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, af as FONT_DECLARATIONS_MAP, K as FONT_FAMILY_PREFIX, L as FONT_SIZE_PREFIX, O as FONT_SLANT_PREFIX, N as FONT_WEIGHT_PREFIX, Q as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ag as FontAxisConfig, F as FontConfig, br as FontCssVar, ai as FontDeclarationConfig, ah as FontDeclarationItemConfig, aj as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, bu as FontID, bv as FontSize, bw as FontSizeConfig, bx as FontSlantConfig, by as FontType, bz as FontWeightConfig, ak as FontWeightForFont, bC as FontWidthConfig, bD as ForegroundColor, bE as ForegroundPalette, bF as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, j as HueStep, ad as ICON_BUTTON_CSS_VAR_MAP, R as ICON_SIZE_PREFIX, a0 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bH as IconButtonClassName, I as IconButtonConfig, bI as IconButtonDefaultsConfig, bJ as IconButtonSize, w as IconPropsWithSVGProps, bK as IconSizeConfig, bL as IconSlotRenderProps, x as ImagePropsWithImgProps, bM as ImageStyleProps, bN as InputSize, a4 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bO as LayoutStyleProps, bP as LetterSpacing, bQ as LineClampAlias, bR as LineColor, bS as LineHeight, bT as LineHeightConfig, bU as LinePalette, bV as LinePaletteAlias, a3 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bW as Modes, M as MotionConfig, bX as MotionCssVar, bY as MotionSpringConfig, bZ as MotionSpringConfigOptions, b_ as MotionVariant, b$ as MotionVariantSpeed, c0 as MotionVariantValues, c1 as Overflow, ae as PSEUDO_STYLE_SELECTOR_MAP, c2 as Palette, k as PaletteConfig, P as PaletteType, c3 as PaletteValue, c4 as Pixels, c5 as PlatformMode, c6 as Position, c7 as PropertyToPaletteAliasMap, c8 as RadioSize, c9 as RadioValue, ca as RadioVariant, cc as Rems, a2 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, $ as SYSTEM_COLOR_MODE_CLASSNAME, cd as ScaleConfig, ce as ScaleEffectMap, S as ScaleModeConfig, cg as ShadowColor, ch as ShadowColorConfig, ci as ShadowOffset, cj as ShadowOpacity, ck as ShadowPalette, cl as ShadowPaletteAlias, m as ShadowPreset, cm as ShadowSpreadRadius, cn as ShadowStyleProps, co as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, t as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, ab as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, aa as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, A as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, b as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, o as UniversalDividerProps, v as UniversalFormLabelProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalIconSlot, d7 as UniversalImageProps, d8 as UniversalInputProps, y as UniversalLinkProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d9 as UniversalRadioGroupProps, da as UniversalRadioProps, n as UniversalStackProps, c as UniversalSwitchProps, U as UniversalTextProps, a5 as XLARGE_SCALE_MODE_CLASSNAME, a1 as XSMALL_SCALE_MODE_CLASSNAME, a6 as XXLARGE_SCALE_MODE_CLASSNAME, a7 as XXXLARGE_SCALE_MODE_CLASSNAME, z as alwaysPalette } from '../types-Cx4ERyM0.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 { db as UniversalTokensConfigAuto, g as UniversalTokensConfig, aN as ButtonKind, aR as ButtonPalette, aI as ButtonBaseConfig, B as ButtonConfig, d as ShadowConfig, bA as FontWeightDescriptive, bB as FontWeightNumeric, b8 as ColorModeForApp, cf as ScaleModeForApp, h as ColorMode, l as ScaleMode, bG as HighContrastMode, cb as RegionMode, b0 as ButtonVariant, b2 as ButtonVariantFlat } from '../types-
|
5
|
-
export { D as AVATAR_SIZE_PREFIX, al as AlwaysPalette, am as AlwaysPaletteAlias, an as AlwaysPaletteColor, ao as Animation, ap as AriaAttribute, aq as AvatarAbbreviationStrategy, ar as AvatarShape, as as AvatarSize, at as AvatarSizeConfig, au as AvatarVariant, E as BORDER_RADIUS_PREFIX, J as BORDER_WIDTH_PREFIX, ac as BUTTON_CSS_VAR_MAP, av as BackgroundColor, aw as BackgroundPalette, ax as BackgroundPaletteAlias, ay as BackgroundStyleProps, az as BadgeSize, aA as BadgeVariant, aB as BorderRadius, aC as BorderRadiusConfig, aD as BorderStyleProps, aE as BorderWidth, aF as BorderWidthConfig, aG as Breakpoint, aH as BreakpointWithBase, e as BreakpointsConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b1 as ButtonVariantConfig, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, C as ColorModeConfig, i as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a8 as DEFAULT_COLOR_MODE_CLASSNAME, a9 as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, af as FONT_DECLARATIONS_MAP, K as FONT_FAMILY_PREFIX, L as FONT_SIZE_PREFIX, O as FONT_SLANT_PREFIX, N as FONT_WEIGHT_PREFIX, Q as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ag as FontAxisConfig, F as FontConfig, br as FontCssVar, ai as FontDeclarationConfig, ah as FontDeclarationItemConfig, aj as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, bu as FontID, bv as FontSize, bw as FontSizeConfig, bx as FontSlantConfig, by as FontType, bz as FontWeightConfig, ak as FontWeightForFont, bC as FontWidthConfig, bD as ForegroundColor, bE as ForegroundPalette, bF as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, j as HueStep, ad as ICON_BUTTON_CSS_VAR_MAP, R as ICON_SIZE_PREFIX, a0 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bH as IconButtonClassName, I as IconButtonConfig, bI as IconButtonDefaultsConfig, bJ as IconButtonSize, w as IconPropsWithSVGProps, bK as IconSizeConfig, bL as IconSlotRenderProps, x as ImagePropsWithImgProps, bM as ImageStyleProps, bN as InputSize, a4 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bO as LayoutStyleProps, bP as LetterSpacing, bQ as LineClampAlias, bR as LineColor, bS as LineHeight, bT as LineHeightConfig, bU as LinePalette, bV as LinePaletteAlias, a3 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bW as Modes, M as MotionConfig, bX as MotionCssVar, bY as MotionSpringConfig, bZ as MotionSpringConfigOptions, b_ as MotionVariant, b$ as MotionVariantSpeed, c0 as MotionVariantValues, c1 as Overflow, ae as PSEUDO_STYLE_SELECTOR_MAP, c2 as Palette, k as PaletteConfig, P as PaletteType, c3 as PaletteValue, c4 as Pixels, c5 as PlatformMode, c6 as Position, c7 as PropertyToPaletteAliasMap, c8 as RadioSize, c9 as RadioValue, ca as RadioVariant, cc as Rems, a2 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, $ as SYSTEM_COLOR_MODE_CLASSNAME, cd as ScaleConfig, ce as ScaleEffectMap, S as ScaleModeConfig, cg as ShadowColor, ch as ShadowColorConfig, ci as ShadowOffset, cj as ShadowOpacity, ck as ShadowPalette, cl as ShadowPaletteAlias, m as ShadowPreset, cm as ShadowSpreadRadius, cn as ShadowStyleProps, co as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, t as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, ab as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, aa as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, A as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, b as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, o as UniversalDividerProps, v as UniversalFormLabelProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalIconSlot, d7 as UniversalImageProps, d8 as UniversalInputProps, y as UniversalLinkProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d9 as UniversalRadioGroupProps, da as UniversalRadioProps, n as UniversalStackProps, c as UniversalSwitchProps, U as UniversalTextProps, a5 as XLARGE_SCALE_MODE_CLASSNAME, a1 as XSMALL_SCALE_MODE_CLASSNAME, a6 as XXLARGE_SCALE_MODE_CLASSNAME, a7 as XXXLARGE_SCALE_MODE_CLASSNAME, z 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-cfPq3YHj.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-cfPq3YHj.js';
|
4
|
+
import { db as UniversalTokensConfigAuto, g as UniversalTokensConfig, aN as ButtonKind, aR as ButtonPalette, aI as ButtonBaseConfig, B as ButtonConfig, d as ShadowConfig, bA as FontWeightDescriptive, bB as FontWeightNumeric, b8 as ColorModeForApp, cf as ScaleModeForApp, h as ColorMode, l as ScaleMode, bG as HighContrastMode, cb as RegionMode, b0 as ButtonVariant, b2 as ButtonVariantFlat } from '../types-Cx4ERyM0.js';
|
5
|
+
export { D as AVATAR_SIZE_PREFIX, al as AlwaysPalette, am as AlwaysPaletteAlias, an as AlwaysPaletteColor, ao as Animation, ap as AriaAttribute, aq as AvatarAbbreviationStrategy, ar as AvatarShape, as as AvatarSize, at as AvatarSizeConfig, au as AvatarVariant, E as BORDER_RADIUS_PREFIX, J as BORDER_WIDTH_PREFIX, ac as BUTTON_CSS_VAR_MAP, av as BackgroundColor, aw as BackgroundPalette, ax as BackgroundPaletteAlias, ay as BackgroundStyleProps, az as BadgeSize, aA as BadgeVariant, aB as BorderRadius, aC as BorderRadiusConfig, aD as BorderStyleProps, aE as BorderWidth, aF as BorderWidthConfig, aG as Breakpoint, aH as BreakpointWithBase, e as BreakpointsConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b1 as ButtonVariantConfig, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, C as ColorModeConfig, i as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a8 as DEFAULT_COLOR_MODE_CLASSNAME, a9 as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, af as FONT_DECLARATIONS_MAP, K as FONT_FAMILY_PREFIX, L as FONT_SIZE_PREFIX, O as FONT_SLANT_PREFIX, N as FONT_WEIGHT_PREFIX, Q as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ag as FontAxisConfig, F as FontConfig, br as FontCssVar, ai as FontDeclarationConfig, ah as FontDeclarationItemConfig, aj as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, bu as FontID, bv as FontSize, bw as FontSizeConfig, bx as FontSlantConfig, by as FontType, bz as FontWeightConfig, ak as FontWeightForFont, bC as FontWidthConfig, bD as ForegroundColor, bE as ForegroundPalette, bF as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, j as HueStep, ad as ICON_BUTTON_CSS_VAR_MAP, R as ICON_SIZE_PREFIX, a0 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bH as IconButtonClassName, I as IconButtonConfig, bI as IconButtonDefaultsConfig, bJ as IconButtonSize, w as IconPropsWithSVGProps, bK as IconSizeConfig, bL as IconSlotRenderProps, x as ImagePropsWithImgProps, bM as ImageStyleProps, bN as InputSize, a4 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bO as LayoutStyleProps, bP as LetterSpacing, bQ as LineClampAlias, bR as LineColor, bS as LineHeight, bT as LineHeightConfig, bU as LinePalette, bV as LinePaletteAlias, a3 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bW as Modes, M as MotionConfig, bX as MotionCssVar, bY as MotionSpringConfig, bZ as MotionSpringConfigOptions, b_ as MotionVariant, b$ as MotionVariantSpeed, c0 as MotionVariantValues, c1 as Overflow, ae as PSEUDO_STYLE_SELECTOR_MAP, c2 as Palette, k as PaletteConfig, P as PaletteType, c3 as PaletteValue, c4 as Pixels, c5 as PlatformMode, c6 as Position, c7 as PropertyToPaletteAliasMap, c8 as RadioSize, c9 as RadioValue, ca as RadioVariant, cc as Rems, a2 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, $ as SYSTEM_COLOR_MODE_CLASSNAME, cd as ScaleConfig, ce as ScaleEffectMap, S as ScaleModeConfig, cg as ShadowColor, ch as ShadowColorConfig, ci as ShadowOffset, cj as ShadowOpacity, ck as ShadowPalette, cl as ShadowPaletteAlias, m as ShadowPreset, cm as ShadowSpreadRadius, cn as ShadowStyleProps, co as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, t as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, ab as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, aa as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, A as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, b as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, o as UniversalDividerProps, v as UniversalFormLabelProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalIconSlot, d7 as UniversalImageProps, d8 as UniversalInputProps, y as UniversalLinkProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d9 as UniversalRadioGroupProps, da as UniversalRadioProps, n as UniversalStackProps, c as UniversalSwitchProps, U as UniversalTextProps, a5 as XLARGE_SCALE_MODE_CLASSNAME, a1 as XSMALL_SCALE_MODE_CLASSNAME, a6 as XXLARGE_SCALE_MODE_CLASSNAME, a7 as XXXLARGE_SCALE_MODE_CLASSNAME, z as alwaysPalette } from '../types-Cx4ERyM0.js';
|
6
6
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
7
7
|
import '@yahoo/uds/fixtures';
|
8
8
|
import 'motion/react';
|
@@ -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-Cx4ERyM0.cjs';
|
2
2
|
import '@yahoo/uds-icons/types';
|
3
3
|
import 'motion/react';
|
4
4
|
import 'react';
|
@@ -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-Cx4ERyM0.js';
|
2
2
|
import '@yahoo/uds-icons/types';
|
3
3
|
import 'motion/react';
|
4
4
|
import 'react';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SvgIcon, IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
2
2
|
import { Spring } from 'motion/react';
|
3
|
-
import { PropsWithChildren, ElementType, ReactNode, CSSProperties, HTMLAttributes, Ref } from 'react';
|
3
|
+
import { PropsWithChildren, ElementType, ReactNode, ReactElement, CSSProperties, HTMLAttributes, Ref } from 'react';
|
4
4
|
import { IntRange } from 'type-fest';
|
5
5
|
|
6
6
|
interface UniversalTokensConfigAuto {
|
@@ -10124,7 +10124,23 @@ type SVGElementProps = Omit<React.HTMLAttributes<SVGSVGElement>, 'color'>;
|
|
10124
10124
|
interface IconPropsWithSVGProps extends UniversalIconProps, SVGElementProps {
|
10125
10125
|
}
|
10126
10126
|
type IconSlotRenderProps = Omit<IconPropsWithSVGProps, 'name'>;
|
10127
|
-
|
10127
|
+
/**
|
10128
|
+
* We are changing the slot prop from ReactNode to ReactElement to avoid
|
10129
|
+
* confusing and useless options like number and string, however,
|
10130
|
+
* there are cases where folks are using null/undefined to dynamically opt-out
|
10131
|
+
* of rendering the icon. We want to still allow that.
|
10132
|
+
*/
|
10133
|
+
type BackwardsCompatibleReactElement = null | undefined | ReactElement;
|
10134
|
+
/**
|
10135
|
+
* Used anywhere we offer an icon which can be customized.
|
10136
|
+
*
|
10137
|
+
* Passing an SvgIcon is the happy path.
|
10138
|
+
*
|
10139
|
+
* @example
|
10140
|
+
* import { Calendar } from "@yahoo/uds-icons"
|
10141
|
+
* <IconSlot icon={Calendar} />
|
10142
|
+
*/
|
10143
|
+
type UniversalIconSlot = SvgIcon | BackwardsCompatibleReactElement | ((iconProps: IconSlotRenderProps) => BackwardsCompatibleReactElement);
|
10128
10144
|
interface UniversalPressableProps extends Omit<UniversalBoxProps, 'as'> {
|
10129
10145
|
onPress?: () => void;
|
10130
10146
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SvgIcon, IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
2
2
|
import { Spring } from 'motion/react';
|
3
|
-
import { PropsWithChildren, ElementType, ReactNode, CSSProperties, HTMLAttributes, Ref } from 'react';
|
3
|
+
import { PropsWithChildren, ElementType, ReactNode, ReactElement, CSSProperties, HTMLAttributes, Ref } from 'react';
|
4
4
|
import { IntRange } from 'type-fest';
|
5
5
|
|
6
6
|
interface UniversalTokensConfigAuto {
|
@@ -10124,7 +10124,23 @@ type SVGElementProps = Omit<React.HTMLAttributes<SVGSVGElement>, 'color'>;
|
|
10124
10124
|
interface IconPropsWithSVGProps extends UniversalIconProps, SVGElementProps {
|
10125
10125
|
}
|
10126
10126
|
type IconSlotRenderProps = Omit<IconPropsWithSVGProps, 'name'>;
|
10127
|
-
|
10127
|
+
/**
|
10128
|
+
* We are changing the slot prop from ReactNode to ReactElement to avoid
|
10129
|
+
* confusing and useless options like number and string, however,
|
10130
|
+
* there are cases where folks are using null/undefined to dynamically opt-out
|
10131
|
+
* of rendering the icon. We want to still allow that.
|
10132
|
+
*/
|
10133
|
+
type BackwardsCompatibleReactElement = null | undefined | ReactElement;
|
10134
|
+
/**
|
10135
|
+
* Used anywhere we offer an icon which can be customized.
|
10136
|
+
*
|
10137
|
+
* Passing an SvgIcon is the happy path.
|
10138
|
+
*
|
10139
|
+
* @example
|
10140
|
+
* import { Calendar } from "@yahoo/uds-icons"
|
10141
|
+
* <IconSlot icon={Calendar} />
|
10142
|
+
*/
|
10143
|
+
type UniversalIconSlot = SvgIcon | BackwardsCompatibleReactElement | ((iconProps: IconSlotRenderProps) => BackwardsCompatibleReactElement);
|
10128
10144
|
interface UniversalPressableProps extends Omit<UniversalBoxProps, 'as'> {
|
10129
10145
|
onPress?: () => void;
|
10130
10146
|
}
|