@yahoo/uds 3.8.1 → 3.8.3
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/{Input-CzZjGS_G.d.cts → Input-B7DKHaz_.d.cts} +1 -1
- package/dist/{Input-CVIrgHsH.d.ts → Input-CFQQUyGa.d.ts} +1 -1
- package/dist/{Input-PVGFXtkx.d.cts → Input-DcIvvvLD.d.cts} +1 -1
- package/dist/{Input-CmkmuvrM.d.ts → Input-ml_QlxDf.d.ts} +1 -1
- package/dist/{Pressable-BhcHtCvI.d.cts → Pressable-BjZ946YV.d.cts} +1 -1
- package/dist/{Pressable-D3FJsB7_.d.cts → Pressable-Cc24znXA.d.cts} +1 -1
- package/dist/{Pressable-dGwwt9jV.d.ts → Pressable-D7WI8aEU.d.ts} +1 -1
- package/dist/{Pressable-lNqsdSJU.d.ts → Pressable-DDf8QZC_.d.ts} +1 -1
- package/dist/{VStack-5TEnNAP_.d.ts → VStack-BFHUc7rS.d.ts} +1 -1
- package/dist/{VStack-B_eklK1W.d.cts → VStack-Cql9dxVj.d.cts} +1 -1
- package/dist/{VStack-Bue6YCyi.d.cts → VStack-D2I4thtt.d.cts} +1 -1
- package/dist/{VStack-BB8gaSzn.d.ts → VStack-DE8mYT1Q.d.ts} +1 -1
- package/dist/client/Menu.d.cts +3 -3
- package/dist/client/Menu.d.ts +3 -3
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/{index-DD4YLbLO.d.ts → index-BLWH1g42.d.ts} +1 -1
- package/dist/{index-Bszwf4ZY.d.cts → index-BR_WKGJS.d.cts} +1 -1
- package/dist/{index-KEPvOXd5.d.cts → index-Cgc9eUQ6.d.cts} +1 -1
- package/dist/{index-STbRau2s.d.ts → index-qyaEaIzP.d.ts} +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- 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.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/{types-Blp45Jw1.d.cts → types-JgL6-s9g.d.cts} +9 -4
- package/dist/{types-Blp45Jw1.d.ts → types-JgL6-s9g.d.ts} +9 -4
- package/dist/{types-C3IoByX6.d.cts → types-bQSUiYZq.d.cts} +9 -4
- package/dist/{types-C3IoByX6.d.ts → types-bQSUiYZq.d.ts} +9 -4
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
2
|
-
import { F as FontID, o as FontDeclarationItemConfig, p as FontConfig, M as MotionVariant, q as MotionVariantSpeed, r as MotionSpringConfigOptions, s as MotionConfig, f as ShadowPreset, t as ShadowType, b as UniversalTokensConfig } from '../types-
|
2
|
+
import { F as FontID, o as FontDeclarationItemConfig, p as FontConfig, M as MotionVariant, q as MotionVariantSpeed, r as MotionSpringConfigOptions, s as MotionConfig, f as ShadowPreset, t as ShadowType, b as UniversalTokensConfig } from '../types-bQSUiYZq.cjs';
|
3
3
|
import { WebTokens } from '../tokens/parseTokens.cjs';
|
4
4
|
import '@yahoo/uds-icons/types';
|
5
5
|
import 'motion/react';
|
package/dist/tailwind/utils.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
2
|
-
import { F as FontID, o as FontDeclarationItemConfig, p as FontConfig, M as MotionVariant, q as MotionVariantSpeed, r as MotionSpringConfigOptions, s as MotionConfig, f as ShadowPreset, t as ShadowType, b as UniversalTokensConfig } from '../types-
|
2
|
+
import { F as FontID, o as FontDeclarationItemConfig, p as FontConfig, M as MotionVariant, q as MotionVariantSpeed, r as MotionSpringConfigOptions, s as MotionConfig, f as ShadowPreset, t as ShadowType, b as UniversalTokensConfig } from '../types-bQSUiYZq.js';
|
3
3
|
import { WebTokens } from '../tokens/parseTokens.js';
|
4
4
|
import '@yahoo/uds-icons/types';
|
5
5
|
import 'motion/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-Cgc9eUQ6.cjs';
|
2
2
|
import '@yahoo/uds/fixtures';
|
3
|
-
import '../../types-
|
3
|
+
import '../../types-bQSUiYZq.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-BLWH1g42.js';
|
2
2
|
import '@yahoo/uds/fixtures';
|
3
|
-
import '../../types-
|
3
|
+
import '../../types-bQSUiYZq.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-Cgc9eUQ6.cjs';
|
2
|
+
import '../../types-bQSUiYZq.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-BLWH1g42.js';
|
2
|
+
import '../../types-bQSUiYZq.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 { d2 as UniversalTokensConfigAuto, b as UniversalTokensConfig, aJ as ButtonKind, aN as ButtonPalette, aE as ButtonBaseConfig, B as ButtonConfig, b4 as ColorModeConfig, c6 as ScaleModeConfig, p as FontConfig, bE as IconButtonConfig, s as MotionConfig, ca as ShadowConfig, cF as TypographyConfig, bw as FontWeightDescriptive, bx as FontWeightNumeric, b5 as ColorModeForApp, c7 as ScaleModeForApp, C as ColorMode, S as ScaleMode, bC as HighContrastMode, c3 as RegionMode, aY as ButtonVariant, a_ as ButtonVariantFlat } from '../types-
|
5
|
-
export { G as AVATAR_SIZE_PREFIX, ai as AlwaysPalette, aj as AlwaysPaletteAlias, ak as AlwaysPaletteColor, al as Animation, am as AriaAttribute, an as AvatarAbbreviationStrategy, ao as AvatarShape, ap as AvatarSize, aq as AvatarSizeConfig, ar as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, aa as BUTTON_CSS_VAR_MAP, as as BackgroundColor, at as BackgroundPalette, au as BackgroundPaletteAlias, av as BackgroundStyleProps, aw as BadgeSize, ax as BadgeVariant, ay as BorderRadius, az as BorderRadiusConfig, aA as BorderStyleProps, aB as BorderWidth, aC as BorderWidthConfig, aD as Breakpoint, l as ButtonClassMap, aF as ButtonClassName, aG as ButtonColorConfig, aH as ButtonColorEffect, aI as ButtonColorEffectConfig, m as ButtonColorProperty, n as ButtonColorPropertyConfig, aK as ButtonMotionEffect, aL as ButtonMotionProperty, aM as ButtonMotionPropertyConfig, aO as ButtonPaletteColor, aP as ButtonPaletteConfig, aQ as ButtonShadowPropertyConfig, aR as ButtonSize, aS as ButtonSizeConfig, aT as ButtonSizeProperty, aU as ButtonSpectrumColor, aV as ButtonState, aW as ButtonStateConfig, aX as ButtonStateEffectConfig, aZ as ButtonVariantConfig, a$ as CheckboxSize, b0 as CheckboxValue, b1 as CheckboxVariant, b2 as ChipSize, b3 as ChipVariant, c as ColorsConfig, b6 as ConfigurableDropShadowValues, b7 as ConfigurableInsetShadowValues, b8 as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a6 as DEFAULT_COLOR_MODE_CLASSNAME, a7 as DEFAULT_SCALE_MODE_CLASSNAME, b9 as DataAttribute, ba as Display, bb as DividerVariant, ad 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, bc as Flex, bd as FlexAlignContent, be as FlexAlignItems, bf as FlexAlignSelf, bg as FlexBasis, bh as FlexDirection, bi as FlexGrow, bj as FlexJustifyContent, bk as FlexShrink, bl as FlexStyleProps, bm as FlexWrap, bn as FontAlias, ae as FontAxisConfig, bo as FontCssVar, af as FontDeclarationConfig, o as FontDeclarationItemConfig, ag as FontDeclarationMap, bp as FontFamilyCDNUrl, bq as FontFamilyConfig, F as FontID, br as FontSize, bs as FontSizeConfig, bt as FontSlantConfig, bu as FontType, bv as FontWeightConfig, ah as FontWeightForFont, by as FontWidthConfig, bz as ForegroundColor, bA as ForegroundPalette, bB as ForegroundPaletteAlias, H as Hue, d as HueStep, ab as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bD as IconButtonClassName, bF as IconButtonDefaultsConfig, bG as IconButtonSize, v as IconPropsWithSVGProps, bH as IconSizeConfig, w as ImagePropsWithImgProps, bI as ImageStyleProps, bJ as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bK as LayoutStyleProps, bL as LetterSpacing, bM as LineClampAlias, bN as LineColor, bO as LineHeight, bP as LineHeightConfig, bQ as LinePalette, bR as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bS as Modes, bT as MotionCssVar, bU as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bV as MotionVariantValues, bW as Overflow, ac as PSEUDO_STYLE_SELECTOR_MAP, bX as Palette, e as PaletteConfig, P as PaletteType, bY as PaletteValue, bZ as PlatformMode, b_ as Position, b$ as PropertyToPaletteAliasMap, c0 as RadioSize, c1 as RadioValue, c2 as RadioVariant, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c4 as ScaleConfig, c5 as ScaleEffectMap, c8 as ShadowColor, c9 as ShadowColorConfig, cb as ShadowOffset, cc as ShadowOpacity, cd as ShadowPalette, ce as ShadowPaletteAlias, f as ShadowPreset, cf as ShadowSpreadRadius, cg as ShadowStyleProps, t as ShadowType, ch as ShadowTypeConfig, ci as ShadowVariant, cj as ShadowVariantConfig, ck as ShadowVariantInvert, cl as ShadowVariantWithInvert, cm as SharedPaletteAlias, j as SpacingAlias, cn as SpacingConfig, co as SpacingStyleProps, cp as SpectrumColor, cq as SpectrumConfig, cr as StateStyleProps, cs as StyleProps, ct as SwitchSize, a8 as TEXT_RESPONSIVE_CLASSNAME, a9 as TEXT_STATIC_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cD as TShirtSize, cE as TShirtSizeCommon, cu as TextDecorationLine, cv as TextProperty, cw as TextStyleProps, cx as TextTransform, cy as TextTransformConfig, cz as TextVariant, cA as TransitionDelay, cB as TransitionDuration, cC as TransitionTiming, cG as TypographyResponsiveProperty, cH as TypographyStyle, cI as TypographyStyleProperty, cJ as TypographyUnitValue, E as UDS_PREFIX, cK as UdsCssVar, cL as UniversalAvatarIconProps, cM as UniversalAvatarImageProps, cN as UniversalAvatarProps, cO as UniversalAvatarTextProps, cP as UniversalBadgeProps, g as UniversalBoxProps, cQ as UniversalButtonProps, cR as UniversalCheckboxProps, cS as UniversalChipBaseProps, cT as UniversalChipButtonProps, cU as UniversalChipDismissibleProps, cV as UniversalChipLinkProps, cW as UniversalChipProps, cX as UniversalChipToggleProps, i as UniversalDividerProps, u as UniversalFormLabelProps, cY as UniversalIconButtonProps, cZ as UniversalIconProps, x as UniversalIconSlot, c_ as UniversalImageProps, U as UniversalInputProps, y as UniversalLinkProps, k as UniversalMenuItemProps, a as UniversalPressableProps, c$ as UniversalRadioGroupProps, d0 as UniversalRadioProps, h as UniversalStackProps, d1 as UniversalSwitchProps, z as UniversalTextProps, a3 as XLARGE_SCALE_MODE_CLASSNAME, $ as XSMALL_SCALE_MODE_CLASSNAME, a4 as XXLARGE_SCALE_MODE_CLASSNAME, a5 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette, D as defaultUniversalTokensConfigAuto } from '../types-
|
2
|
+
import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-Cgc9eUQ6.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-Cgc9eUQ6.cjs';
|
4
|
+
import { d2 as UniversalTokensConfigAuto, b as UniversalTokensConfig, aJ as ButtonKind, aN as ButtonPalette, aE as ButtonBaseConfig, B as ButtonConfig, b4 as ColorModeConfig, c6 as ScaleModeConfig, p as FontConfig, bE as IconButtonConfig, s as MotionConfig, ca as ShadowConfig, cF as TypographyConfig, bw as FontWeightDescriptive, bx as FontWeightNumeric, b5 as ColorModeForApp, c7 as ScaleModeForApp, C as ColorMode, S as ScaleMode, bC as HighContrastMode, c3 as RegionMode, aY as ButtonVariant, a_ as ButtonVariantFlat } from '../types-bQSUiYZq.cjs';
|
5
|
+
export { G as AVATAR_SIZE_PREFIX, ai as AlwaysPalette, aj as AlwaysPaletteAlias, ak as AlwaysPaletteColor, al as Animation, am as AriaAttribute, an as AvatarAbbreviationStrategy, ao as AvatarShape, ap as AvatarSize, aq as AvatarSizeConfig, ar as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, aa as BUTTON_CSS_VAR_MAP, as as BackgroundColor, at as BackgroundPalette, au as BackgroundPaletteAlias, av as BackgroundStyleProps, aw as BadgeSize, ax as BadgeVariant, ay as BorderRadius, az as BorderRadiusConfig, aA as BorderStyleProps, aB as BorderWidth, aC as BorderWidthConfig, aD as Breakpoint, l as ButtonClassMap, aF as ButtonClassName, aG as ButtonColorConfig, aH as ButtonColorEffect, aI as ButtonColorEffectConfig, m as ButtonColorProperty, n as ButtonColorPropertyConfig, aK as ButtonMotionEffect, aL as ButtonMotionProperty, aM as ButtonMotionPropertyConfig, aO as ButtonPaletteColor, aP as ButtonPaletteConfig, aQ as ButtonShadowPropertyConfig, aR as ButtonSize, aS as ButtonSizeConfig, aT as ButtonSizeProperty, aU as ButtonSpectrumColor, aV as ButtonState, aW as ButtonStateConfig, aX as ButtonStateEffectConfig, aZ as ButtonVariantConfig, a$ as CheckboxSize, b0 as CheckboxValue, b1 as CheckboxVariant, b2 as ChipSize, b3 as ChipVariant, c as ColorsConfig, b6 as ConfigurableDropShadowValues, b7 as ConfigurableInsetShadowValues, b8 as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a6 as DEFAULT_COLOR_MODE_CLASSNAME, a7 as DEFAULT_SCALE_MODE_CLASSNAME, b9 as DataAttribute, ba as Display, bb as DividerVariant, ad 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, bc as Flex, bd as FlexAlignContent, be as FlexAlignItems, bf as FlexAlignSelf, bg as FlexBasis, bh as FlexDirection, bi as FlexGrow, bj as FlexJustifyContent, bk as FlexShrink, bl as FlexStyleProps, bm as FlexWrap, bn as FontAlias, ae as FontAxisConfig, bo as FontCssVar, af as FontDeclarationConfig, o as FontDeclarationItemConfig, ag as FontDeclarationMap, bp as FontFamilyCDNUrl, bq as FontFamilyConfig, F as FontID, br as FontSize, bs as FontSizeConfig, bt as FontSlantConfig, bu as FontType, bv as FontWeightConfig, ah as FontWeightForFont, by as FontWidthConfig, bz as ForegroundColor, bA as ForegroundPalette, bB as ForegroundPaletteAlias, H as Hue, d as HueStep, ab as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bD as IconButtonClassName, bF as IconButtonDefaultsConfig, bG as IconButtonSize, v as IconPropsWithSVGProps, bH as IconSizeConfig, w as ImagePropsWithImgProps, bI as ImageStyleProps, bJ as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bK as LayoutStyleProps, bL as LetterSpacing, bM as LineClampAlias, bN as LineColor, bO as LineHeight, bP as LineHeightConfig, bQ as LinePalette, bR as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bS as Modes, bT as MotionCssVar, bU as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bV as MotionVariantValues, bW as Overflow, ac as PSEUDO_STYLE_SELECTOR_MAP, bX as Palette, e as PaletteConfig, P as PaletteType, bY as PaletteValue, bZ as PlatformMode, b_ as Position, b$ as PropertyToPaletteAliasMap, c0 as RadioSize, c1 as RadioValue, c2 as RadioVariant, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c4 as ScaleConfig, c5 as ScaleEffectMap, c8 as ShadowColor, c9 as ShadowColorConfig, cb as ShadowOffset, cc as ShadowOpacity, cd as ShadowPalette, ce as ShadowPaletteAlias, f as ShadowPreset, cf as ShadowSpreadRadius, cg as ShadowStyleProps, t as ShadowType, ch as ShadowTypeConfig, ci as ShadowVariant, cj as ShadowVariantConfig, ck as ShadowVariantInvert, cl as ShadowVariantWithInvert, cm as SharedPaletteAlias, j as SpacingAlias, cn as SpacingConfig, co as SpacingStyleProps, cp as SpectrumColor, cq as SpectrumConfig, cr as StateStyleProps, cs as StyleProps, ct as SwitchSize, a8 as TEXT_RESPONSIVE_CLASSNAME, a9 as TEXT_STATIC_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cD as TShirtSize, cE as TShirtSizeCommon, cu as TextDecorationLine, cv as TextProperty, cw as TextStyleProps, cx as TextTransform, cy as TextTransformConfig, cz as TextVariant, cA as TransitionDelay, cB as TransitionDuration, cC as TransitionTiming, cG as TypographyResponsiveProperty, cH as TypographyStyle, cI as TypographyStyleProperty, cJ as TypographyUnitValue, E as UDS_PREFIX, cK as UdsCssVar, cL as UniversalAvatarIconProps, cM as UniversalAvatarImageProps, cN as UniversalAvatarProps, cO as UniversalAvatarTextProps, cP as UniversalBadgeProps, g as UniversalBoxProps, cQ as UniversalButtonProps, cR as UniversalCheckboxProps, cS as UniversalChipBaseProps, cT as UniversalChipButtonProps, cU as UniversalChipDismissibleProps, cV as UniversalChipLinkProps, cW as UniversalChipProps, cX as UniversalChipToggleProps, i as UniversalDividerProps, u as UniversalFormLabelProps, cY as UniversalIconButtonProps, cZ as UniversalIconProps, x as UniversalIconSlot, c_ as UniversalImageProps, U as UniversalInputProps, y as UniversalLinkProps, k as UniversalMenuItemProps, a as UniversalPressableProps, c$ as UniversalRadioGroupProps, d0 as UniversalRadioProps, h as UniversalStackProps, d1 as UniversalSwitchProps, z as UniversalTextProps, a3 as XLARGE_SCALE_MODE_CLASSNAME, $ as XSMALL_SCALE_MODE_CLASSNAME, a4 as XXLARGE_SCALE_MODE_CLASSNAME, a5 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette, D as defaultUniversalTokensConfigAuto } from '../types-bQSUiYZq.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 { d2 as UniversalTokensConfigAuto, b as UniversalTokensConfig, aJ as ButtonKind, aN as ButtonPalette, aE as ButtonBaseConfig, B as ButtonConfig, b4 as ColorModeConfig, c6 as ScaleModeConfig, p as FontConfig, bE as IconButtonConfig, s as MotionConfig, ca as ShadowConfig, cF as TypographyConfig, bw as FontWeightDescriptive, bx as FontWeightNumeric, b5 as ColorModeForApp, c7 as ScaleModeForApp, C as ColorMode, S as ScaleMode, bC as HighContrastMode, c3 as RegionMode, aY as ButtonVariant, a_ as ButtonVariantFlat } from '../types-
|
5
|
-
export { G as AVATAR_SIZE_PREFIX, ai as AlwaysPalette, aj as AlwaysPaletteAlias, ak as AlwaysPaletteColor, al as Animation, am as AriaAttribute, an as AvatarAbbreviationStrategy, ao as AvatarShape, ap as AvatarSize, aq as AvatarSizeConfig, ar as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, aa as BUTTON_CSS_VAR_MAP, as as BackgroundColor, at as BackgroundPalette, au as BackgroundPaletteAlias, av as BackgroundStyleProps, aw as BadgeSize, ax as BadgeVariant, ay as BorderRadius, az as BorderRadiusConfig, aA as BorderStyleProps, aB as BorderWidth, aC as BorderWidthConfig, aD as Breakpoint, l as ButtonClassMap, aF as ButtonClassName, aG as ButtonColorConfig, aH as ButtonColorEffect, aI as ButtonColorEffectConfig, m as ButtonColorProperty, n as ButtonColorPropertyConfig, aK as ButtonMotionEffect, aL as ButtonMotionProperty, aM as ButtonMotionPropertyConfig, aO as ButtonPaletteColor, aP as ButtonPaletteConfig, aQ as ButtonShadowPropertyConfig, aR as ButtonSize, aS as ButtonSizeConfig, aT as ButtonSizeProperty, aU as ButtonSpectrumColor, aV as ButtonState, aW as ButtonStateConfig, aX as ButtonStateEffectConfig, aZ as ButtonVariantConfig, a$ as CheckboxSize, b0 as CheckboxValue, b1 as CheckboxVariant, b2 as ChipSize, b3 as ChipVariant, c as ColorsConfig, b6 as ConfigurableDropShadowValues, b7 as ConfigurableInsetShadowValues, b8 as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a6 as DEFAULT_COLOR_MODE_CLASSNAME, a7 as DEFAULT_SCALE_MODE_CLASSNAME, b9 as DataAttribute, ba as Display, bb as DividerVariant, ad 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, bc as Flex, bd as FlexAlignContent, be as FlexAlignItems, bf as FlexAlignSelf, bg as FlexBasis, bh as FlexDirection, bi as FlexGrow, bj as FlexJustifyContent, bk as FlexShrink, bl as FlexStyleProps, bm as FlexWrap, bn as FontAlias, ae as FontAxisConfig, bo as FontCssVar, af as FontDeclarationConfig, o as FontDeclarationItemConfig, ag as FontDeclarationMap, bp as FontFamilyCDNUrl, bq as FontFamilyConfig, F as FontID, br as FontSize, bs as FontSizeConfig, bt as FontSlantConfig, bu as FontType, bv as FontWeightConfig, ah as FontWeightForFont, by as FontWidthConfig, bz as ForegroundColor, bA as ForegroundPalette, bB as ForegroundPaletteAlias, H as Hue, d as HueStep, ab as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bD as IconButtonClassName, bF as IconButtonDefaultsConfig, bG as IconButtonSize, v as IconPropsWithSVGProps, bH as IconSizeConfig, w as ImagePropsWithImgProps, bI as ImageStyleProps, bJ as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bK as LayoutStyleProps, bL as LetterSpacing, bM as LineClampAlias, bN as LineColor, bO as LineHeight, bP as LineHeightConfig, bQ as LinePalette, bR as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bS as Modes, bT as MotionCssVar, bU as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bV as MotionVariantValues, bW as Overflow, ac as PSEUDO_STYLE_SELECTOR_MAP, bX as Palette, e as PaletteConfig, P as PaletteType, bY as PaletteValue, bZ as PlatformMode, b_ as Position, b$ as PropertyToPaletteAliasMap, c0 as RadioSize, c1 as RadioValue, c2 as RadioVariant, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c4 as ScaleConfig, c5 as ScaleEffectMap, c8 as ShadowColor, c9 as ShadowColorConfig, cb as ShadowOffset, cc as ShadowOpacity, cd as ShadowPalette, ce as ShadowPaletteAlias, f as ShadowPreset, cf as ShadowSpreadRadius, cg as ShadowStyleProps, t as ShadowType, ch as ShadowTypeConfig, ci as ShadowVariant, cj as ShadowVariantConfig, ck as ShadowVariantInvert, cl as ShadowVariantWithInvert, cm as SharedPaletteAlias, j as SpacingAlias, cn as SpacingConfig, co as SpacingStyleProps, cp as SpectrumColor, cq as SpectrumConfig, cr as StateStyleProps, cs as StyleProps, ct as SwitchSize, a8 as TEXT_RESPONSIVE_CLASSNAME, a9 as TEXT_STATIC_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cD as TShirtSize, cE as TShirtSizeCommon, cu as TextDecorationLine, cv as TextProperty, cw as TextStyleProps, cx as TextTransform, cy as TextTransformConfig, cz as TextVariant, cA as TransitionDelay, cB as TransitionDuration, cC as TransitionTiming, cG as TypographyResponsiveProperty, cH as TypographyStyle, cI as TypographyStyleProperty, cJ as TypographyUnitValue, E as UDS_PREFIX, cK as UdsCssVar, cL as UniversalAvatarIconProps, cM as UniversalAvatarImageProps, cN as UniversalAvatarProps, cO as UniversalAvatarTextProps, cP as UniversalBadgeProps, g as UniversalBoxProps, cQ as UniversalButtonProps, cR as UniversalCheckboxProps, cS as UniversalChipBaseProps, cT as UniversalChipButtonProps, cU as UniversalChipDismissibleProps, cV as UniversalChipLinkProps, cW as UniversalChipProps, cX as UniversalChipToggleProps, i as UniversalDividerProps, u as UniversalFormLabelProps, cY as UniversalIconButtonProps, cZ as UniversalIconProps, x as UniversalIconSlot, c_ as UniversalImageProps, U as UniversalInputProps, y as UniversalLinkProps, k as UniversalMenuItemProps, a as UniversalPressableProps, c$ as UniversalRadioGroupProps, d0 as UniversalRadioProps, h as UniversalStackProps, d1 as UniversalSwitchProps, z as UniversalTextProps, a3 as XLARGE_SCALE_MODE_CLASSNAME, $ as XSMALL_SCALE_MODE_CLASSNAME, a4 as XXLARGE_SCALE_MODE_CLASSNAME, a5 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette, D as defaultUniversalTokensConfigAuto } from '../types-
|
2
|
+
import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-BLWH1g42.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-BLWH1g42.js';
|
4
|
+
import { d2 as UniversalTokensConfigAuto, b as UniversalTokensConfig, aJ as ButtonKind, aN as ButtonPalette, aE as ButtonBaseConfig, B as ButtonConfig, b4 as ColorModeConfig, c6 as ScaleModeConfig, p as FontConfig, bE as IconButtonConfig, s as MotionConfig, ca as ShadowConfig, cF as TypographyConfig, bw as FontWeightDescriptive, bx as FontWeightNumeric, b5 as ColorModeForApp, c7 as ScaleModeForApp, C as ColorMode, S as ScaleMode, bC as HighContrastMode, c3 as RegionMode, aY as ButtonVariant, a_ as ButtonVariantFlat } from '../types-bQSUiYZq.js';
|
5
|
+
export { G as AVATAR_SIZE_PREFIX, ai as AlwaysPalette, aj as AlwaysPaletteAlias, ak as AlwaysPaletteColor, al as Animation, am as AriaAttribute, an as AvatarAbbreviationStrategy, ao as AvatarShape, ap as AvatarSize, aq as AvatarSizeConfig, ar as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, aa as BUTTON_CSS_VAR_MAP, as as BackgroundColor, at as BackgroundPalette, au as BackgroundPaletteAlias, av as BackgroundStyleProps, aw as BadgeSize, ax as BadgeVariant, ay as BorderRadius, az as BorderRadiusConfig, aA as BorderStyleProps, aB as BorderWidth, aC as BorderWidthConfig, aD as Breakpoint, l as ButtonClassMap, aF as ButtonClassName, aG as ButtonColorConfig, aH as ButtonColorEffect, aI as ButtonColorEffectConfig, m as ButtonColorProperty, n as ButtonColorPropertyConfig, aK as ButtonMotionEffect, aL as ButtonMotionProperty, aM as ButtonMotionPropertyConfig, aO as ButtonPaletteColor, aP as ButtonPaletteConfig, aQ as ButtonShadowPropertyConfig, aR as ButtonSize, aS as ButtonSizeConfig, aT as ButtonSizeProperty, aU as ButtonSpectrumColor, aV as ButtonState, aW as ButtonStateConfig, aX as ButtonStateEffectConfig, aZ as ButtonVariantConfig, a$ as CheckboxSize, b0 as CheckboxValue, b1 as CheckboxVariant, b2 as ChipSize, b3 as ChipVariant, c as ColorsConfig, b6 as ConfigurableDropShadowValues, b7 as ConfigurableInsetShadowValues, b8 as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a6 as DEFAULT_COLOR_MODE_CLASSNAME, a7 as DEFAULT_SCALE_MODE_CLASSNAME, b9 as DataAttribute, ba as Display, bb as DividerVariant, ad 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, bc as Flex, bd as FlexAlignContent, be as FlexAlignItems, bf as FlexAlignSelf, bg as FlexBasis, bh as FlexDirection, bi as FlexGrow, bj as FlexJustifyContent, bk as FlexShrink, bl as FlexStyleProps, bm as FlexWrap, bn as FontAlias, ae as FontAxisConfig, bo as FontCssVar, af as FontDeclarationConfig, o as FontDeclarationItemConfig, ag as FontDeclarationMap, bp as FontFamilyCDNUrl, bq as FontFamilyConfig, F as FontID, br as FontSize, bs as FontSizeConfig, bt as FontSlantConfig, bu as FontType, bv as FontWeightConfig, ah as FontWeightForFont, by as FontWidthConfig, bz as ForegroundColor, bA as ForegroundPalette, bB as ForegroundPaletteAlias, H as Hue, d as HueStep, ab as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bD as IconButtonClassName, bF as IconButtonDefaultsConfig, bG as IconButtonSize, v as IconPropsWithSVGProps, bH as IconSizeConfig, w as ImagePropsWithImgProps, bI as ImageStyleProps, bJ as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bK as LayoutStyleProps, bL as LetterSpacing, bM as LineClampAlias, bN as LineColor, bO as LineHeight, bP as LineHeightConfig, bQ as LinePalette, bR as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bS as Modes, bT as MotionCssVar, bU as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bV as MotionVariantValues, bW as Overflow, ac as PSEUDO_STYLE_SELECTOR_MAP, bX as Palette, e as PaletteConfig, P as PaletteType, bY as PaletteValue, bZ as PlatformMode, b_ as Position, b$ as PropertyToPaletteAliasMap, c0 as RadioSize, c1 as RadioValue, c2 as RadioVariant, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c4 as ScaleConfig, c5 as ScaleEffectMap, c8 as ShadowColor, c9 as ShadowColorConfig, cb as ShadowOffset, cc as ShadowOpacity, cd as ShadowPalette, ce as ShadowPaletteAlias, f as ShadowPreset, cf as ShadowSpreadRadius, cg as ShadowStyleProps, t as ShadowType, ch as ShadowTypeConfig, ci as ShadowVariant, cj as ShadowVariantConfig, ck as ShadowVariantInvert, cl as ShadowVariantWithInvert, cm as SharedPaletteAlias, j as SpacingAlias, cn as SpacingConfig, co as SpacingStyleProps, cp as SpectrumColor, cq as SpectrumConfig, cr as StateStyleProps, cs as StyleProps, ct as SwitchSize, a8 as TEXT_RESPONSIVE_CLASSNAME, a9 as TEXT_STATIC_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cD as TShirtSize, cE as TShirtSizeCommon, cu as TextDecorationLine, cv as TextProperty, cw as TextStyleProps, cx as TextTransform, cy as TextTransformConfig, cz as TextVariant, cA as TransitionDelay, cB as TransitionDuration, cC as TransitionTiming, cG as TypographyResponsiveProperty, cH as TypographyStyle, cI as TypographyStyleProperty, cJ as TypographyUnitValue, E as UDS_PREFIX, cK as UdsCssVar, cL as UniversalAvatarIconProps, cM as UniversalAvatarImageProps, cN as UniversalAvatarProps, cO as UniversalAvatarTextProps, cP as UniversalBadgeProps, g as UniversalBoxProps, cQ as UniversalButtonProps, cR as UniversalCheckboxProps, cS as UniversalChipBaseProps, cT as UniversalChipButtonProps, cU as UniversalChipDismissibleProps, cV as UniversalChipLinkProps, cW as UniversalChipProps, cX as UniversalChipToggleProps, i as UniversalDividerProps, u as UniversalFormLabelProps, cY as UniversalIconButtonProps, cZ as UniversalIconProps, x as UniversalIconSlot, c_ as UniversalImageProps, U as UniversalInputProps, y as UniversalLinkProps, k as UniversalMenuItemProps, a as UniversalPressableProps, c$ as UniversalRadioGroupProps, d0 as UniversalRadioProps, h as UniversalStackProps, d1 as UniversalSwitchProps, z as UniversalTextProps, a3 as XLARGE_SCALE_MODE_CLASSNAME, $ as XSMALL_SCALE_MODE_CLASSNAME, a4 as XXLARGE_SCALE_MODE_CLASSNAME, a5 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette, D as defaultUniversalTokensConfigAuto } from '../types-bQSUiYZq.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 { b as UniversalTokensConfig, C as ColorMode, c as ColorsConfig, H as Hue, d as HueStep, P as PaletteType, e as PaletteConfig, S as ScaleMode } from '../types-
|
1
|
+
import { b as UniversalTokensConfig, C as ColorMode, c as ColorsConfig, H as Hue, d as HueStep, P as PaletteType, e as PaletteConfig, S as ScaleMode } from '../types-bQSUiYZq.cjs';
|
2
2
|
import '@yahoo/uds-icons/types';
|
3
3
|
import 'motion/react';
|
4
4
|
import 'react';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { b as UniversalTokensConfig, C as ColorMode, c as ColorsConfig, H as Hue, d as HueStep, P as PaletteType, e as PaletteConfig, S as ScaleMode } from '../types-
|
1
|
+
import { b as UniversalTokensConfig, C as ColorMode, c as ColorsConfig, H as Hue, d as HueStep, P as PaletteType, e as PaletteConfig, S as ScaleMode } from '../types-bQSUiYZq.js';
|
2
2
|
import '@yahoo/uds-icons/types';
|
3
3
|
import 'motion/react';
|
4
4
|
import 'react';
|
@@ -9501,14 +9501,19 @@ type TypographyResponsiveProperty<T> = {
|
|
9501
9501
|
* Responsive overrides for each breakpoint. If this key is present, it must
|
9502
9502
|
* contain a value for every defined breakpoint.
|
9503
9503
|
*/
|
9504
|
-
breakpoints
|
9504
|
+
breakpoints: Record<Breakpoint, T>;
|
9505
9505
|
};
|
9506
9506
|
type TypographyStyleProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform' | 'fontSlant' | 'fontWidth';
|
9507
|
-
type StringBasedProperties = 'fontFamily' | 'textTransform';
|
9508
9507
|
type TypographyStyle = {
|
9509
|
-
|
9508
|
+
fontFamily: TypographyResponsiveProperty<FontAlias>;
|
9509
|
+
textTransform: TypographyResponsiveProperty<TextTransform>;
|
9510
|
+
fontSize: TypographyResponsiveProperty<TypographyUnitValue>;
|
9511
|
+
fontWeight: TypographyResponsiveProperty<TypographyUnitValue>;
|
9512
|
+
lineHeight: TypographyResponsiveProperty<TypographyUnitValue>;
|
9513
|
+
fontSlant: TypographyResponsiveProperty<TypographyUnitValue>;
|
9514
|
+
fontWidth: TypographyResponsiveProperty<TypographyUnitValue>;
|
9510
9515
|
};
|
9511
|
-
type TypographyConfig =
|
9516
|
+
type TypographyConfig = Record<TextVariant, TypographyStyle>;
|
9512
9517
|
type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
9513
9518
|
type TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;
|
9514
9519
|
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
@@ -9501,14 +9501,19 @@ type TypographyResponsiveProperty<T> = {
|
|
9501
9501
|
* Responsive overrides for each breakpoint. If this key is present, it must
|
9502
9502
|
* contain a value for every defined breakpoint.
|
9503
9503
|
*/
|
9504
|
-
breakpoints
|
9504
|
+
breakpoints: Record<Breakpoint, T>;
|
9505
9505
|
};
|
9506
9506
|
type TypographyStyleProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform' | 'fontSlant' | 'fontWidth';
|
9507
|
-
type StringBasedProperties = 'fontFamily' | 'textTransform';
|
9508
9507
|
type TypographyStyle = {
|
9509
|
-
|
9508
|
+
fontFamily: TypographyResponsiveProperty<FontAlias>;
|
9509
|
+
textTransform: TypographyResponsiveProperty<TextTransform>;
|
9510
|
+
fontSize: TypographyResponsiveProperty<TypographyUnitValue>;
|
9511
|
+
fontWeight: TypographyResponsiveProperty<TypographyUnitValue>;
|
9512
|
+
lineHeight: TypographyResponsiveProperty<TypographyUnitValue>;
|
9513
|
+
fontSlant: TypographyResponsiveProperty<TypographyUnitValue>;
|
9514
|
+
fontWidth: TypographyResponsiveProperty<TypographyUnitValue>;
|
9510
9515
|
};
|
9511
|
-
type TypographyConfig =
|
9516
|
+
type TypographyConfig = Record<TextVariant, TypographyStyle>;
|
9512
9517
|
type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
9513
9518
|
type TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;
|
9514
9519
|
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
@@ -9501,14 +9501,19 @@ type TypographyResponsiveProperty<T> = {
|
|
9501
9501
|
* Responsive overrides for each breakpoint. If this key is present, it must
|
9502
9502
|
* contain a value for every defined breakpoint.
|
9503
9503
|
*/
|
9504
|
-
breakpoints
|
9504
|
+
breakpoints: Record<Breakpoint, T>;
|
9505
9505
|
};
|
9506
9506
|
type TypographyStyleProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform' | 'fontSlant' | 'fontWidth';
|
9507
|
-
type StringBasedProperties = 'fontFamily' | 'textTransform';
|
9508
9507
|
type TypographyStyle = {
|
9509
|
-
|
9508
|
+
fontFamily: TypographyResponsiveProperty<FontAlias>;
|
9509
|
+
textTransform: TypographyResponsiveProperty<TextTransform>;
|
9510
|
+
fontSize: TypographyResponsiveProperty<TypographyUnitValue>;
|
9511
|
+
fontWeight: TypographyResponsiveProperty<TypographyUnitValue>;
|
9512
|
+
lineHeight: TypographyResponsiveProperty<TypographyUnitValue>;
|
9513
|
+
fontSlant: TypographyResponsiveProperty<TypographyUnitValue>;
|
9514
|
+
fontWidth: TypographyResponsiveProperty<TypographyUnitValue>;
|
9510
9515
|
};
|
9511
|
-
type TypographyConfig =
|
9516
|
+
type TypographyConfig = Record<TextVariant, TypographyStyle>;
|
9512
9517
|
type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
9513
9518
|
type TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;
|
9514
9519
|
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
@@ -9501,14 +9501,19 @@ type TypographyResponsiveProperty<T> = {
|
|
9501
9501
|
* Responsive overrides for each breakpoint. If this key is present, it must
|
9502
9502
|
* contain a value for every defined breakpoint.
|
9503
9503
|
*/
|
9504
|
-
breakpoints
|
9504
|
+
breakpoints: Record<Breakpoint, T>;
|
9505
9505
|
};
|
9506
9506
|
type TypographyStyleProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform' | 'fontSlant' | 'fontWidth';
|
9507
|
-
type StringBasedProperties = 'fontFamily' | 'textTransform';
|
9508
9507
|
type TypographyStyle = {
|
9509
|
-
|
9508
|
+
fontFamily: TypographyResponsiveProperty<FontAlias>;
|
9509
|
+
textTransform: TypographyResponsiveProperty<TextTransform>;
|
9510
|
+
fontSize: TypographyResponsiveProperty<TypographyUnitValue>;
|
9511
|
+
fontWeight: TypographyResponsiveProperty<TypographyUnitValue>;
|
9512
|
+
lineHeight: TypographyResponsiveProperty<TypographyUnitValue>;
|
9513
|
+
fontSlant: TypographyResponsiveProperty<TypographyUnitValue>;
|
9514
|
+
fontWidth: TypographyResponsiveProperty<TypographyUnitValue>;
|
9510
9515
|
};
|
9511
|
-
type TypographyConfig =
|
9516
|
+
type TypographyConfig = Record<TextVariant, TypographyStyle>;
|
9512
9517
|
type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
9513
9518
|
type TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;
|
9514
9519
|
type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|