@yahoo/uds 3.58.2-beta.1 → 3.59.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/dist/{Box-BRt6Pz9T.d.cts → Box-BSYsXHzh.d.cts} +1 -1
- package/dist/{Box-D6q2Ess3.d.cts → Box-BWU5UmHC.d.cts} +1 -1
- package/dist/{Box-DGnNvxFr.d.ts → Box-C5a5zIIo.d.ts} +1 -1
- package/dist/{Box-BDj_sxrx.d.ts → Box-C9fHZ3nr.d.ts} +1 -1
- package/dist/{Pressable-BtauM4lN.d.cts → Pressable-5JJUWRN1.d.cts} +1 -1
- package/dist/{Pressable-Ds6pDWDQ.d.cts → Pressable-DjYpKTPO.d.cts} +1 -1
- package/dist/{Pressable-CAaoa-zu.d.ts → Pressable-Q1KS3YU1.d.ts} +1 -1
- package/dist/{Pressable-m_MkO-q6.d.ts → Pressable-jfrkzoAe.d.ts} +1 -1
- package/dist/{Text-DPAGXQX_.d.cts → Text-1qIcMDEP.d.cts} +2 -0
- package/dist/{Text-DPAGXQX_.d.ts → Text-1qIcMDEP.d.ts} +2 -0
- package/dist/{Text-DL4hTwPk.d.ts → Text-BQhCLqTc.d.ts} +1 -1
- package/dist/{Text-BPYuh9n7.d.cts → Text-CJRvqui_.d.cts} +1 -1
- package/dist/{Text-d5Ci0ep7.d.cts → Text-Dw9vuP5i.d.cts} +1 -1
- package/dist/{Text-DU1Z8ZO5.d.ts → Text-ksXYBDQ6.d.ts} +1 -1
- package/dist/{VStack-CiRNP8hF.d.cts → VStack-Ch6JJPQE.d.cts} +2 -2
- package/dist/{VStack-DCLXI5If.d.ts → VStack-CkK4XZ1Y.d.ts} +2 -2
- package/dist/{VStack-hBFz7vre.d.ts → VStack-DdYKhUxh.d.ts} +2 -2
- package/dist/{VStack-DFqtAUzm.d.cts → VStack-OvZNhyoq.d.cts} +2 -2
- package/dist/chunk-4BOF3VWD.cjs +1 -0
- package/dist/{chunk-2IGX7K6U.cjs → chunk-4CPVEVKO.cjs} +1 -1
- package/dist/{chunk-RKYTJ6XJ.js → chunk-4I3UGCX7.js} +1 -1
- package/dist/chunk-4OO7CUA6.js +1 -0
- package/dist/{chunk-EU3BY2KO.cjs → chunk-4UB6EIVI.cjs} +1 -1
- package/dist/{chunk-LU4S37C4.cjs → chunk-4VD23ARR.cjs} +2 -2
- package/dist/{chunk-G2EVPCQY.cjs → chunk-5R7POUAI.cjs} +1 -1
- package/dist/{chunk-EEJ6UJIT.cjs → chunk-66IO4LQQ.cjs} +1 -1
- package/dist/{chunk-EFMLB2DR.js → chunk-CCW6IDIM.js} +1 -1
- package/dist/{chunk-RRXNQVLV.cjs → chunk-CKTDV4QK.cjs} +1 -1
- package/dist/chunk-DE7HKKF7.cjs +1 -0
- package/dist/{chunk-DVSFYT3E.cjs → chunk-DJK7XG62.cjs} +1 -1
- package/dist/{chunk-NDIFKQVR.cjs → chunk-DXLUH24B.cjs} +1 -1
- package/dist/{chunk-JSIXVRYN.js → chunk-DXNJK3DK.js} +1 -1
- package/dist/{chunk-3GPOTVTU.cjs → chunk-FP76653E.cjs} +1 -1
- package/dist/chunk-GA64SR3T.js +2 -0
- package/dist/{chunk-U7NZY7CY.js → chunk-H7DBPPWM.js} +1 -1
- package/dist/{chunk-WJFHQKE4.js → chunk-HMRYK2NP.js} +1 -1
- package/dist/{chunk-KGQBYCWG.js → chunk-K5YXKPQS.js} +1 -1
- package/dist/chunk-KLQ3KKQY.cjs +1 -0
- package/dist/{chunk-57DYSXXI.js → chunk-KMRYZOR7.js} +1 -1
- package/dist/{chunk-LWCJEX2R.js → chunk-KQTBZT7T.js} +1 -1
- package/dist/{chunk-IUBD43EI.js → chunk-L3JHNF65.js} +3 -3
- package/dist/{chunk-HCDOGKOT.cjs → chunk-LBBFEPKC.cjs} +1 -1
- package/dist/{chunk-QGB63HSS.js → chunk-MXEZ3L4I.js} +1 -1
- package/dist/{chunk-YHSLACUJ.cjs → chunk-N4PLNTDV.cjs} +1 -1
- package/dist/{chunk-3EP5NVND.js → chunk-NNZ2U4VM.js} +1 -1
- package/dist/chunk-OSJVSN23.js +2 -0
- package/dist/{chunk-3L7M764C.cjs → chunk-QLETZKZI.cjs} +2 -2
- package/dist/chunk-QNM2JS62.js +2 -0
- package/dist/{chunk-JYNMSSZO.js → chunk-QQ4MS32D.js} +1 -1
- package/dist/{chunk-IEHKXVW5.js → chunk-R4JM3BY7.js} +3 -3
- package/dist/{chunk-5OLE7Z4Z.cjs → chunk-R72INVUM.cjs} +1 -1
- package/dist/chunk-RI3JVWBJ.js +2 -0
- package/dist/{chunk-6RFI4VVW.cjs → chunk-THCRN4KF.cjs} +1 -1
- package/dist/{chunk-L4LZ2RES.cjs → chunk-TN3TGUL4.cjs} +1 -1
- package/dist/{chunk-PPHA3ASA.cjs → chunk-UQJ7WV2P.cjs} +1 -1
- package/dist/chunk-V5UIHMW2.js +2 -0
- package/dist/chunk-V7E46T44.cjs +1 -0
- package/dist/{chunk-DVDXLKAY.js → chunk-VTOQOUNP.js} +1 -1
- package/dist/{chunk-JDWK7ZS7.cjs → chunk-W4J7ZS6U.cjs} +1 -1
- package/dist/chunk-WXDJBIBP.js +2 -0
- package/dist/{chunk-3PWGILBM.js → chunk-YB2KIANK.js} +1 -1
- package/dist/{chunk-YZTC6645.cjs → chunk-YYYUPBMK.cjs} +1 -1
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.d.cts +4 -4
- package/dist/client/Menu.d.ts +4 -4
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/index.js +1 -1
- package/dist/defaultTokensConfig.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 +1 -1
- package/dist/experimental/client/SwitchV2.d.cts +1 -1
- package/dist/experimental/client/SwitchV2.d.ts +1 -1
- package/dist/experimental/client/SwitchV2.js +1 -1
- package/dist/experimental/client/index.cjs +2 -2
- package/dist/experimental/client/index.d.cts +1 -1
- package/dist/experimental/client/index.d.ts +1 -1
- package/dist/experimental/client/index.js +1 -1
- package/dist/experimental/index.cjs +2 -2
- package/dist/experimental/index.d.cts +1 -1
- package/dist/experimental/index.d.ts +1 -1
- package/dist/experimental/index.js +1 -1
- package/dist/fixtures.cjs +4 -2
- package/dist/fixtures.d.cts +2 -2
- package/dist/fixtures.d.ts +2 -2
- package/dist/fixtures.js +4 -2
- package/dist/{index-C7e-cWRg.d.cts → index-BPXfpHkp.d.cts} +3 -1
- package/dist/{index-CAdORgp4.d.cts → index-Bcr3i5Fo.d.cts} +3 -1
- package/dist/{index-DIeu_HSK.d.ts → index-DfNmJjc_.d.ts} +3 -1
- package/dist/{index-YI2HK_Im.d.ts → index-JgnxLMoN.d.ts} +3 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -7
- package/dist/index.d.ts +8 -7
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/plugin.js +1 -1
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +1 -1
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +2 -2
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +52 -6
- package/dist/tokens/index.d.ts +52 -6
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-BYXLHi7_.d.cts → types-DYstZLNq.d.cts} +8 -4
- package/dist/{types-BYXLHi7_.d.ts → types-DYstZLNq.d.ts} +8 -4
- package/dist/{types-DG52l0qP.d.cts → types-gGaZxCMr.d.cts} +8 -4
- package/dist/{types-DG52l0qP.d.ts → types-gGaZxCMr.d.ts} +8 -4
- package/package.json +1 -1
- package/cli/FlattenButtonVariant.mock.tsx +0 -17
- package/dist/chunk-2XRSELDC.js +0 -2
- package/dist/chunk-36MV47H5.js +0 -2
- package/dist/chunk-5V32DSCR.js +0 -2
- package/dist/chunk-6VT7WO2X.cjs +0 -1
- package/dist/chunk-DETLKOCI.js +0 -2
- package/dist/chunk-DTZUJFHH.cjs +0 -1
- package/dist/chunk-E6Q2IF33.js +0 -2
- package/dist/chunk-LNZSNDOV.cjs +0 -1
- package/dist/chunk-NQL6ZOAM.js +0 -1
- package/dist/chunk-NXVOHNXW.cjs +0 -1
- package/dist/chunk-PM4TFP3I.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../../chunk-
|
|
1
|
+
"use strict";var e=require("../../chunk-4UB6EIVI.cjs");Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return e.configurableProperties}});
|
|
@@ -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-BPXfpHkp.cjs';
|
|
2
|
+
import '../../types-gGaZxCMr.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-DfNmJjc_.js';
|
|
2
|
+
import '../../types-gGaZxCMr.js';
|
|
3
3
|
import '@yahoo/uds/fixtures';
|
|
4
4
|
import '@yahoo/uds-icons/types';
|
|
5
5
|
import 'motion/react';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{configurableProperties}from"../../chunk-
|
|
1
|
+
export{configurableProperties}from"../../chunk-OSJVSN23.js";
|
package/dist/tokens/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../chunk-
|
|
1
|
+
"use strict";var e=require("../chunk-4UB6EIVI.cjs"),t=require("../chunk-J7PUOUXC.cjs"),r=require("../chunk-DE7HKKF7.cjs"),n=require("../chunk-V7E46T44.cjs");Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return e.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return e.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return e.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return e.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return e.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return e.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return e.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return e.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return e.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return e.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return e.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return e.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return e.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return e.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return e.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return e.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return e.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return e.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return e.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return e.createVariantConfigWithProperties}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return e.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return e.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return e.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return e.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return e.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return e.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return e.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return e.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return e.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return e.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return e.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return e.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return e.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return e.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return e.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return e.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return e.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return e.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return e.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return e.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return e.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return e.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return e.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return e.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return e.toMinimalDbConfigObject}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return t.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return t.mapValues}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return r.variants}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return n.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return n.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return n.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return n.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return n.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return n.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return n.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return n.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return n.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return n.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return n.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"INVERT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.INVERT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LETTER_SPACING_PREFIX",{enumerable:!0,get:function(){return n.LETTER_SPACING_PREFIX}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return n.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return n.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return n.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return n.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"SYSTEM_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.SYSTEM_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES",{enumerable:!0,get:function(){return n.TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_CLASSNAME",{enumerable:!0,get:function(){return n.TEXT_RESPONSIVE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return n.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return n.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXXLARGE_SCALE_MODE_CLASSNAME}});
|
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 { dh as UniversalTokensConfigAuto, g as UniversalTokensConfig,
|
|
5
|
-
export { E as AVATAR_SIZE_PREFIX,
|
|
2
|
+
import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-BPXfpHkp.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-BPXfpHkp.cjs';
|
|
4
|
+
import { dh as UniversalTokensConfigAuto, g as UniversalTokensConfig, aP as ButtonKind, aT as ButtonPalette, aK as ButtonBaseConfig, B as ButtonConfig, d as ShadowConfig, bC as FontWeightDescriptive, bD as FontWeightNumeric, ba as ColorModeForApp, cj as ScaleModeForApp, h as ColorMode, l as ScaleMode, bI as HighContrastMode, cf as RegionMode, b2 as ButtonVariant, b4 as ButtonVariantFlat } from '../types-gGaZxCMr.cjs';
|
|
5
|
+
export { E as AVATAR_SIZE_PREFIX, an as AlwaysPalette, ao as AlwaysPaletteAlias, ap as AlwaysPaletteColor, aq as Animation, ar as AriaAttribute, as as AvatarAbbreviationStrategy, at as AvatarShape, au as AvatarSize, av as AvatarSizeConfig, aw as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, ae as BUTTON_CSS_VAR_MAP, ax as BackgroundColor, ay as BackgroundPalette, az as BackgroundPaletteAlias, aA as BackgroundStyleProps, aB as BadgeSize, aC as BadgeVariant, aD as BorderRadius, aE as BorderRadiusConfig, aF as BorderStyleProps, aG as BorderWidth, aH as BorderWidthConfig, aI as Breakpoint, aJ as BreakpointWithBase, e as BreakpointsConfig, p as ButtonClassMap, aL as ButtonClassName, aM as ButtonColorConfig, aN as ButtonColorEffect, aO as ButtonColorEffectConfig, s as ButtonColorProperty, t as ButtonColorPropertyConfig, aQ as ButtonMotionEffect, aR as ButtonMotionProperty, aS as ButtonMotionPropertyConfig, aU as ButtonPaletteColor, aV as ButtonPaletteConfig, aW as ButtonShadowPropertyConfig, aX as ButtonSize, aY as ButtonSizeConfig, aZ as ButtonSizeProperty, a_ as ButtonSpectrumColor, a$ as ButtonState, b0 as ButtonStateConfig, b1 as ButtonStateEffectConfig, b3 as ButtonVariantConfig, b5 as CheckboxSize, b6 as CheckboxValue, b7 as CheckboxVariant, b8 as ChipSize, b9 as ChipVariant, C as ColorModeConfig, i as ColorsConfig, bb as ConfigurableDropShadowValues, bc as ConfigurableInsetShadowValues, bd as CustomSizingStyleProps, $ as DARK_COLOR_MODE_CLASSNAME, aa as DEFAULT_COLOR_MODE_CLASSNAME, ab as DEFAULT_SCALE_MODE_CLASSNAME, be as DataAttribute, bf as Display, bg as DividerVariant, ah 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, bh as Flex, bi as FlexAlignContent, bj as FlexAlignItems, bk as FlexAlignSelf, bl as FlexBasis, bm as FlexDirection, bn as FlexGrow, bo as FlexJustifyContent, bp as FlexShrink, bq as FlexStyleProps, br as FlexWrap, bs as FontAlias, ai as FontAxisConfig, F as FontConfig, bt as FontCssVar, ak as FontDeclarationConfig, aj as FontDeclarationItemConfig, al as FontDeclarationMap, bu as FontFamilyCDNUrl, bv as FontFamilyConfig, bw as FontID, bx as FontSize, by as FontSizeConfig, bz as FontSlantConfig, bA as FontType, bB as FontWeightConfig, am as FontWeightForFont, bE as FontWidthConfig, bF as ForegroundColor, bG as ForegroundPalette, bH as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, j as HueStep, af as ICON_BUTTON_CSS_VAR_MAP, V as ICON_SIZE_PREFIX, a2 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bJ as IconButtonClassName, I as IconButtonConfig, bK as IconButtonDefaultsConfig, bL as IconButtonSize, x as IconPropsWithSVGProps, bM as IconSizeConfig, bN as IconSlotRenderProps, y as ImagePropsWithImgProps, bO as ImageStyleProps, bP as InputSize, a6 as LARGE_SCALE_MODE_CLASSNAME, X as LETTER_SPACING_PREFIX, a0 as LIGHT_COLOR_MODE_CLASSNAME, W as LINE_HEIGHT_PREFIX, bQ as LayoutStyleProps, bR as LineClampAlias, bS as LineColor, bT as LineHeight, bU as LineHeightConfig, bV as LinePalette, bW as LinePaletteAlias, a5 as MEDIUM_SCALE_MODE_CLASSNAME, Y 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 OpacityStep, c3 as Overflow, ag as PSEUDO_STYLE_SELECTOR_MAP, c4 as Palette, k as PaletteConfig, P as PaletteType, c5 as PaletteValue, c6 as Percentage, c7 as PercentageUnit, c8 as PixelsUnit, c9 as PlatformMode, ca as Position, cb as PropertyToPaletteAliasMap, cc as RadioSize, cd as RadioValue, ce as RadioVariant, cg as RemsUnit, a4 as SMALL_SCALE_MODE_CLASSNAME, Z as SPECTRUM_COLOR_PREFIX, a1 as SYSTEM_COLOR_MODE_CLASSNAME, ch as ScaleConfig, ci as ScaleEffectMap, S as ScaleModeConfig, ck as ShadowColor, cl as ShadowColorConfig, cm as ShadowOffset, cn as ShadowOpacity, co as ShadowPalette, cp as ShadowPaletteAlias, m as ShadowPreset, cq as ShadowSpreadRadius, cr as ShadowStyleProps, cs as ShadowType, ct as ShadowTypeConfig, cu as ShadowVariant, cv as ShadowVariantConfig, cw as ShadowVariantInvert, cx as ShadowVariantWithInvert, cy as SharedPaletteAlias, u as SpacingAlias, cz as SpacingConfig, cA as SpacingStyleProps, cB as SpectrumColor, cC as SpectrumConfig, cD as StateStyleProps, cE as StyleProps, cF as SwitchSize, ad as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ac as TEXT_RESPONSIVE_CLASSNAME, _ as TEXT_TRANSFORM_PREFIX, cR as TShirtSize, cS as TShirtSizeCommon, cG as TextDecorationLine, cH as TextProperty, cI as TextStyleProps, cJ as TextTransform, cK as TextTransformConfig, cL as TextVariant, cM as TextVariantTypography, r as TextVariantUi, cN as TextVariantWithoutEmphasized, cO as TransitionDelay, cP as TransitionDuration, cQ as TransitionTiming, T as TypographyConfig, cT as TypographyResponsiveProperty, cU as TypographyStyle, cV as TypographyStyleProperty, cW as TypographyUnitValue, D as UDS_PREFIX, cX as UdsCssVar, cY as UnitlessUnit, cZ as UniversalAvatarIconProps, c_ as UniversalAvatarImageProps, c$ as UniversalAvatarProps, d0 as UniversalAvatarTextProps, d1 as UniversalBadgeProps, b as UniversalBoxProps, d2 as UniversalButtonProps, d3 as UniversalCheckboxProps, d4 as UniversalChipBaseProps, d5 as UniversalChipButtonProps, d6 as UniversalChipDismissibleProps, d7 as UniversalChipLinkProps, d8 as UniversalChipProps, d9 as UniversalChipToggleProps, o as UniversalDividerProps, w as UniversalFormLabelProps, da as UniversalIconButtonProps, db as UniversalIconProps, dc as UniversalIconSlot, dd as UniversalImageProps, de as UniversalInputProps, z as UniversalLinkProps, v as UniversalMenuItemProps, a as UniversalPressableProps, df as UniversalRadioGroupProps, dg as UniversalRadioProps, n as UniversalStackProps, c as UniversalSwitchProps, U as UniversalTextProps, a7 as XLARGE_SCALE_MODE_CLASSNAME, a3 as XSMALL_SCALE_MODE_CLASSNAME, a8 as XXLARGE_SCALE_MODE_CLASSNAME, a9 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette } from '../types-gGaZxCMr.cjs';
|
|
6
6
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
|
7
7
|
import '@yahoo/uds/fixtures';
|
|
8
8
|
import 'motion/react';
|
|
@@ -746,6 +746,52 @@ declare const variants: {
|
|
|
746
746
|
'ui5/emphasized': string;
|
|
747
747
|
'ui6/emphasized': string;
|
|
748
748
|
};
|
|
749
|
+
letterSpacing: {
|
|
750
|
+
display1: string;
|
|
751
|
+
display2: string;
|
|
752
|
+
display3: string;
|
|
753
|
+
title1: string;
|
|
754
|
+
title2: string;
|
|
755
|
+
title3: string;
|
|
756
|
+
title4: string;
|
|
757
|
+
headline1: string;
|
|
758
|
+
body1: string;
|
|
759
|
+
label1: string;
|
|
760
|
+
label2: string;
|
|
761
|
+
label3: string;
|
|
762
|
+
label4: string;
|
|
763
|
+
caption1: string;
|
|
764
|
+
caption2: string;
|
|
765
|
+
legal1: string;
|
|
766
|
+
'display1/emphasized': string;
|
|
767
|
+
'display2/emphasized': string;
|
|
768
|
+
'display3/emphasized': string;
|
|
769
|
+
'title1/emphasized': string;
|
|
770
|
+
'title2/emphasized': string;
|
|
771
|
+
'title3/emphasized': string;
|
|
772
|
+
'title4/emphasized': string;
|
|
773
|
+
'headline1/emphasized': string;
|
|
774
|
+
'body1/emphasized': string;
|
|
775
|
+
'label1/emphasized': string;
|
|
776
|
+
'label2/emphasized': string;
|
|
777
|
+
'label3/emphasized': string;
|
|
778
|
+
'label4/emphasized': string;
|
|
779
|
+
'caption1/emphasized': string;
|
|
780
|
+
'caption2/emphasized': string;
|
|
781
|
+
'legal1/emphasized': string;
|
|
782
|
+
ui1: string;
|
|
783
|
+
ui2: string;
|
|
784
|
+
ui3: string;
|
|
785
|
+
ui4: string;
|
|
786
|
+
ui5: string;
|
|
787
|
+
ui6: string;
|
|
788
|
+
'ui1/emphasized': string;
|
|
789
|
+
'ui2/emphasized': string;
|
|
790
|
+
'ui3/emphasized': string;
|
|
791
|
+
'ui4/emphasized': string;
|
|
792
|
+
'ui5/emphasized': string;
|
|
793
|
+
'ui6/emphasized': string;
|
|
794
|
+
};
|
|
749
795
|
textAlign: {
|
|
750
796
|
center: string;
|
|
751
797
|
justify: string;
|
|
@@ -1923,8 +1969,8 @@ declare function getConfigVariantComponentStatesMatrix<C extends ComponentConfig
|
|
|
1923
1969
|
* @returns A Record of layer names to their properties, or null if no properties are found
|
|
1924
1970
|
*/
|
|
1925
1971
|
declare function getConfigVariantProperties(variant?: VariantConfig): {
|
|
1926
|
-
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"fontFamily" | "shadow" | "fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "backgroundColor" | "borderColor" | "color" | "borderRadius" | "borderWidth" | "padding" | "iconSize" | "insetShadow" | "spacingHorizontal" | "spacingVertical" | "width" | "height" | "gap" | "textVariant" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | ("spacingAliases" | "borderWidths")[] | ("linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "borderRadii"[] | "iconSizes"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "textDecorationLines"[], readonly (readonly string[])[]>>>;
|
|
1927
|
-
root: Readonly<Record<string, SelectedConfigurableProperty<"fontFamily" | "shadow" | "fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "backgroundColor" | "borderColor" | "color" | "borderRadius" | "borderWidth" | "padding" | "iconSize" | "insetShadow" | "spacingHorizontal" | "spacingVertical" | "width" | "height" | "gap" | "textVariant" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | ("spacingAliases" | "borderWidths")[] | ("linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "borderRadii"[] | "iconSizes"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "textDecorationLines"[], readonly (readonly string[])[]>>>;
|
|
1972
|
+
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"fontFamily" | "shadow" | "fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "letterSpacing" | "backgroundColor" | "borderColor" | "color" | "borderRadius" | "borderWidth" | "padding" | "iconSize" | "insetShadow" | "spacingHorizontal" | "spacingVertical" | "width" | "height" | "gap" | "textVariant" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | ("spacingAliases" | "borderWidths")[] | ("linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "borderRadii"[] | "iconSizes"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "textDecorationLines"[], readonly (readonly string[])[]>>>;
|
|
1973
|
+
root: Readonly<Record<string, SelectedConfigurableProperty<"fontFamily" | "shadow" | "fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "letterSpacing" | "backgroundColor" | "borderColor" | "color" | "borderRadius" | "borderWidth" | "padding" | "iconSize" | "insetShadow" | "spacingHorizontal" | "spacingVertical" | "width" | "height" | "gap" | "textVariant" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | ("spacingAliases" | "borderWidths")[] | ("linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "borderRadii"[] | "iconSizes"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "textDecorationLines"[], readonly (readonly string[])[]>>>;
|
|
1928
1974
|
} | null;
|
|
1929
1975
|
|
|
1930
1976
|
type GenericProperty = SelectedConfigurableProperty<any, any>;
|
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 { dh as UniversalTokensConfigAuto, g as UniversalTokensConfig,
|
|
5
|
-
export { E as AVATAR_SIZE_PREFIX,
|
|
2
|
+
import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-DfNmJjc_.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-DfNmJjc_.js';
|
|
4
|
+
import { dh as UniversalTokensConfigAuto, g as UniversalTokensConfig, aP as ButtonKind, aT as ButtonPalette, aK as ButtonBaseConfig, B as ButtonConfig, d as ShadowConfig, bC as FontWeightDescriptive, bD as FontWeightNumeric, ba as ColorModeForApp, cj as ScaleModeForApp, h as ColorMode, l as ScaleMode, bI as HighContrastMode, cf as RegionMode, b2 as ButtonVariant, b4 as ButtonVariantFlat } from '../types-gGaZxCMr.js';
|
|
5
|
+
export { E as AVATAR_SIZE_PREFIX, an as AlwaysPalette, ao as AlwaysPaletteAlias, ap as AlwaysPaletteColor, aq as Animation, ar as AriaAttribute, as as AvatarAbbreviationStrategy, at as AvatarShape, au as AvatarSize, av as AvatarSizeConfig, aw as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, ae as BUTTON_CSS_VAR_MAP, ax as BackgroundColor, ay as BackgroundPalette, az as BackgroundPaletteAlias, aA as BackgroundStyleProps, aB as BadgeSize, aC as BadgeVariant, aD as BorderRadius, aE as BorderRadiusConfig, aF as BorderStyleProps, aG as BorderWidth, aH as BorderWidthConfig, aI as Breakpoint, aJ as BreakpointWithBase, e as BreakpointsConfig, p as ButtonClassMap, aL as ButtonClassName, aM as ButtonColorConfig, aN as ButtonColorEffect, aO as ButtonColorEffectConfig, s as ButtonColorProperty, t as ButtonColorPropertyConfig, aQ as ButtonMotionEffect, aR as ButtonMotionProperty, aS as ButtonMotionPropertyConfig, aU as ButtonPaletteColor, aV as ButtonPaletteConfig, aW as ButtonShadowPropertyConfig, aX as ButtonSize, aY as ButtonSizeConfig, aZ as ButtonSizeProperty, a_ as ButtonSpectrumColor, a$ as ButtonState, b0 as ButtonStateConfig, b1 as ButtonStateEffectConfig, b3 as ButtonVariantConfig, b5 as CheckboxSize, b6 as CheckboxValue, b7 as CheckboxVariant, b8 as ChipSize, b9 as ChipVariant, C as ColorModeConfig, i as ColorsConfig, bb as ConfigurableDropShadowValues, bc as ConfigurableInsetShadowValues, bd as CustomSizingStyleProps, $ as DARK_COLOR_MODE_CLASSNAME, aa as DEFAULT_COLOR_MODE_CLASSNAME, ab as DEFAULT_SCALE_MODE_CLASSNAME, be as DataAttribute, bf as Display, bg as DividerVariant, ah 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, bh as Flex, bi as FlexAlignContent, bj as FlexAlignItems, bk as FlexAlignSelf, bl as FlexBasis, bm as FlexDirection, bn as FlexGrow, bo as FlexJustifyContent, bp as FlexShrink, bq as FlexStyleProps, br as FlexWrap, bs as FontAlias, ai as FontAxisConfig, F as FontConfig, bt as FontCssVar, ak as FontDeclarationConfig, aj as FontDeclarationItemConfig, al as FontDeclarationMap, bu as FontFamilyCDNUrl, bv as FontFamilyConfig, bw as FontID, bx as FontSize, by as FontSizeConfig, bz as FontSlantConfig, bA as FontType, bB as FontWeightConfig, am as FontWeightForFont, bE as FontWidthConfig, bF as ForegroundColor, bG as ForegroundPalette, bH as ForegroundPaletteAlias, G as GlobalDefaultsConfig, H as Hue, j as HueStep, af as ICON_BUTTON_CSS_VAR_MAP, V as ICON_SIZE_PREFIX, a2 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bJ as IconButtonClassName, I as IconButtonConfig, bK as IconButtonDefaultsConfig, bL as IconButtonSize, x as IconPropsWithSVGProps, bM as IconSizeConfig, bN as IconSlotRenderProps, y as ImagePropsWithImgProps, bO as ImageStyleProps, bP as InputSize, a6 as LARGE_SCALE_MODE_CLASSNAME, X as LETTER_SPACING_PREFIX, a0 as LIGHT_COLOR_MODE_CLASSNAME, W as LINE_HEIGHT_PREFIX, bQ as LayoutStyleProps, bR as LineClampAlias, bS as LineColor, bT as LineHeight, bU as LineHeightConfig, bV as LinePalette, bW as LinePaletteAlias, a5 as MEDIUM_SCALE_MODE_CLASSNAME, Y 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 OpacityStep, c3 as Overflow, ag as PSEUDO_STYLE_SELECTOR_MAP, c4 as Palette, k as PaletteConfig, P as PaletteType, c5 as PaletteValue, c6 as Percentage, c7 as PercentageUnit, c8 as PixelsUnit, c9 as PlatformMode, ca as Position, cb as PropertyToPaletteAliasMap, cc as RadioSize, cd as RadioValue, ce as RadioVariant, cg as RemsUnit, a4 as SMALL_SCALE_MODE_CLASSNAME, Z as SPECTRUM_COLOR_PREFIX, a1 as SYSTEM_COLOR_MODE_CLASSNAME, ch as ScaleConfig, ci as ScaleEffectMap, S as ScaleModeConfig, ck as ShadowColor, cl as ShadowColorConfig, cm as ShadowOffset, cn as ShadowOpacity, co as ShadowPalette, cp as ShadowPaletteAlias, m as ShadowPreset, cq as ShadowSpreadRadius, cr as ShadowStyleProps, cs as ShadowType, ct as ShadowTypeConfig, cu as ShadowVariant, cv as ShadowVariantConfig, cw as ShadowVariantInvert, cx as ShadowVariantWithInvert, cy as SharedPaletteAlias, u as SpacingAlias, cz as SpacingConfig, cA as SpacingStyleProps, cB as SpectrumColor, cC as SpectrumConfig, cD as StateStyleProps, cE as StyleProps, cF as SwitchSize, ad as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ac as TEXT_RESPONSIVE_CLASSNAME, _ as TEXT_TRANSFORM_PREFIX, cR as TShirtSize, cS as TShirtSizeCommon, cG as TextDecorationLine, cH as TextProperty, cI as TextStyleProps, cJ as TextTransform, cK as TextTransformConfig, cL as TextVariant, cM as TextVariantTypography, r as TextVariantUi, cN as TextVariantWithoutEmphasized, cO as TransitionDelay, cP as TransitionDuration, cQ as TransitionTiming, T as TypographyConfig, cT as TypographyResponsiveProperty, cU as TypographyStyle, cV as TypographyStyleProperty, cW as TypographyUnitValue, D as UDS_PREFIX, cX as UdsCssVar, cY as UnitlessUnit, cZ as UniversalAvatarIconProps, c_ as UniversalAvatarImageProps, c$ as UniversalAvatarProps, d0 as UniversalAvatarTextProps, d1 as UniversalBadgeProps, b as UniversalBoxProps, d2 as UniversalButtonProps, d3 as UniversalCheckboxProps, d4 as UniversalChipBaseProps, d5 as UniversalChipButtonProps, d6 as UniversalChipDismissibleProps, d7 as UniversalChipLinkProps, d8 as UniversalChipProps, d9 as UniversalChipToggleProps, o as UniversalDividerProps, w as UniversalFormLabelProps, da as UniversalIconButtonProps, db as UniversalIconProps, dc as UniversalIconSlot, dd as UniversalImageProps, de as UniversalInputProps, z as UniversalLinkProps, v as UniversalMenuItemProps, a as UniversalPressableProps, df as UniversalRadioGroupProps, dg as UniversalRadioProps, n as UniversalStackProps, c as UniversalSwitchProps, U as UniversalTextProps, a7 as XLARGE_SCALE_MODE_CLASSNAME, a3 as XSMALL_SCALE_MODE_CLASSNAME, a8 as XXLARGE_SCALE_MODE_CLASSNAME, a9 as XXXLARGE_SCALE_MODE_CLASSNAME, A as alwaysPalette } from '../types-gGaZxCMr.js';
|
|
6
6
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
|
7
7
|
import '@yahoo/uds/fixtures';
|
|
8
8
|
import 'motion/react';
|
|
@@ -746,6 +746,52 @@ declare const variants: {
|
|
|
746
746
|
'ui5/emphasized': string;
|
|
747
747
|
'ui6/emphasized': string;
|
|
748
748
|
};
|
|
749
|
+
letterSpacing: {
|
|
750
|
+
display1: string;
|
|
751
|
+
display2: string;
|
|
752
|
+
display3: string;
|
|
753
|
+
title1: string;
|
|
754
|
+
title2: string;
|
|
755
|
+
title3: string;
|
|
756
|
+
title4: string;
|
|
757
|
+
headline1: string;
|
|
758
|
+
body1: string;
|
|
759
|
+
label1: string;
|
|
760
|
+
label2: string;
|
|
761
|
+
label3: string;
|
|
762
|
+
label4: string;
|
|
763
|
+
caption1: string;
|
|
764
|
+
caption2: string;
|
|
765
|
+
legal1: string;
|
|
766
|
+
'display1/emphasized': string;
|
|
767
|
+
'display2/emphasized': string;
|
|
768
|
+
'display3/emphasized': string;
|
|
769
|
+
'title1/emphasized': string;
|
|
770
|
+
'title2/emphasized': string;
|
|
771
|
+
'title3/emphasized': string;
|
|
772
|
+
'title4/emphasized': string;
|
|
773
|
+
'headline1/emphasized': string;
|
|
774
|
+
'body1/emphasized': string;
|
|
775
|
+
'label1/emphasized': string;
|
|
776
|
+
'label2/emphasized': string;
|
|
777
|
+
'label3/emphasized': string;
|
|
778
|
+
'label4/emphasized': string;
|
|
779
|
+
'caption1/emphasized': string;
|
|
780
|
+
'caption2/emphasized': string;
|
|
781
|
+
'legal1/emphasized': string;
|
|
782
|
+
ui1: string;
|
|
783
|
+
ui2: string;
|
|
784
|
+
ui3: string;
|
|
785
|
+
ui4: string;
|
|
786
|
+
ui5: string;
|
|
787
|
+
ui6: string;
|
|
788
|
+
'ui1/emphasized': string;
|
|
789
|
+
'ui2/emphasized': string;
|
|
790
|
+
'ui3/emphasized': string;
|
|
791
|
+
'ui4/emphasized': string;
|
|
792
|
+
'ui5/emphasized': string;
|
|
793
|
+
'ui6/emphasized': string;
|
|
794
|
+
};
|
|
749
795
|
textAlign: {
|
|
750
796
|
center: string;
|
|
751
797
|
justify: string;
|
|
@@ -1923,8 +1969,8 @@ declare function getConfigVariantComponentStatesMatrix<C extends ComponentConfig
|
|
|
1923
1969
|
* @returns A Record of layer names to their properties, or null if no properties are found
|
|
1924
1970
|
*/
|
|
1925
1971
|
declare function getConfigVariantProperties(variant?: VariantConfig): {
|
|
1926
|
-
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"fontFamily" | "shadow" | "fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "backgroundColor" | "borderColor" | "color" | "borderRadius" | "borderWidth" | "padding" | "iconSize" | "insetShadow" | "spacingHorizontal" | "spacingVertical" | "width" | "height" | "gap" | "textVariant" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | ("spacingAliases" | "borderWidths")[] | ("linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "borderRadii"[] | "iconSizes"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "textDecorationLines"[], readonly (readonly string[])[]>>>;
|
|
1927
|
-
root: Readonly<Record<string, SelectedConfigurableProperty<"fontFamily" | "shadow" | "fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "backgroundColor" | "borderColor" | "color" | "borderRadius" | "borderWidth" | "padding" | "iconSize" | "insetShadow" | "spacingHorizontal" | "spacingVertical" | "width" | "height" | "gap" | "textVariant" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | ("spacingAliases" | "borderWidths")[] | ("linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "borderRadii"[] | "iconSizes"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "textDecorationLines"[], readonly (readonly string[])[]>>>;
|
|
1972
|
+
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"fontFamily" | "shadow" | "fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "letterSpacing" | "backgroundColor" | "borderColor" | "color" | "borderRadius" | "borderWidth" | "padding" | "iconSize" | "insetShadow" | "spacingHorizontal" | "spacingVertical" | "width" | "height" | "gap" | "textVariant" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | ("spacingAliases" | "borderWidths")[] | ("linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "borderRadii"[] | "iconSizes"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "textDecorationLines"[], readonly (readonly string[])[]>>>;
|
|
1973
|
+
root: Readonly<Record<string, SelectedConfigurableProperty<"fontFamily" | "shadow" | "fontSize" | "fontWeight" | "lineHeight" | "textTransform" | "letterSpacing" | "backgroundColor" | "borderColor" | "color" | "borderRadius" | "borderWidth" | "padding" | "iconSize" | "insetShadow" | "spacingHorizontal" | "spacingVertical" | "width" | "height" | "gap" | "textVariant" | "fontVariationSettings" | "textDecorationLine", string, ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "textVariants"[] | "spacingAliases"[] | ("foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | ("spacingAliases" | "borderWidths")[] | ("linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[] | "borderRadii"[] | "iconSizes"[] | "shadowVariants"[] | "shadowVariantsWithInvert"[] | "textDecorationLines"[], readonly (readonly string[])[]>>>;
|
|
1928
1974
|
} | null;
|
|
1929
1975
|
|
|
1930
1976
|
type GenericProperty = SelectedConfigurableProperty<any, any>;
|
package/dist/tokens/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,alwaysPalette,button,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStateConfig,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,findFixtureType,fontWeightMap,fromEntries,generateClassName,generateDeclaration,generateKeyFromFlatConfigPath,generateSchemaKey,generateStyles,getConfigDefaultValue,getConfigPseudoStateVariables,getConfigPseudoStateVariablesWithSetter,getConfigSubcomponents,getConfigVariantComponentStates,getConfigVariantComponentStatesMatrix,getConfigVariantProperties,getConfigVariantPseudoStates,getConfigVariants,getDefaultButtonBaseMap,isConfigDefaultValue,parseButtonVariantFlat,parseDeprecatedButtonPaletteVariant,setConfigPseudoStateVariable,shadow,statePseudoMapDocsMode,toMinimalDbConfigObject}from"../chunk-
|
|
1
|
+
export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,alwaysPalette,button,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStateConfig,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,findFixtureType,fontWeightMap,fromEntries,generateClassName,generateDeclaration,generateKeyFromFlatConfigPath,generateSchemaKey,generateStyles,getConfigDefaultValue,getConfigPseudoStateVariables,getConfigPseudoStateVariablesWithSetter,getConfigSubcomponents,getConfigVariantComponentStates,getConfigVariantComponentStatesMatrix,getConfigVariantProperties,getConfigVariantPseudoStates,getConfigVariants,getDefaultButtonBaseMap,isConfigDefaultValue,parseButtonVariantFlat,parseDeprecatedButtonPaletteVariant,setConfigPseudoStateVariable,shadow,statePseudoMapDocsMode,toMinimalDbConfigObject}from"../chunk-OSJVSN23.js";export{entries,mapValues}from"../chunk-EWJ3J526.js";export{variants}from"../chunk-V5UIHMW2.js";export{AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_CSS_VAR_MAP,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_SLANT_PREFIX,FONT_WEIGHT_PREFIX,FONT_WIDTH_PREFIX,ICON_BUTTON_CSS_VAR_MAP,ICON_SIZE_PREFIX,INVERT_COLOR_MODE_CLASSNAME,LARGE_SCALE_MODE_CLASSNAME,LETTER_SPACING_PREFIX,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,SYSTEM_COLOR_MODE_CLASSNAME,TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES,TEXT_RESPONSIVE_CLASSNAME,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"../chunk-QNM2JS62.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../chunk-
|
|
1
|
+
"use strict";var e=require("../chunk-CKTDV4QK.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-gGaZxCMr.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-gGaZxCMr.js';
|
|
2
2
|
import '@yahoo/uds-icons/types';
|
|
3
3
|
import 'motion/react';
|
|
4
4
|
import 'react';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{parseTokens}from"../chunk-
|
|
1
|
+
export{parseTokens}from"../chunk-4I3UGCX7.js";
|
|
@@ -8924,6 +8924,7 @@ declare const FONT_SLANT_PREFIX = "uds-font-slant";
|
|
|
8924
8924
|
declare const FONT_WIDTH_PREFIX = "uds-font-width";
|
|
8925
8925
|
declare const ICON_SIZE_PREFIX = "uds-icon-size";
|
|
8926
8926
|
declare const LINE_HEIGHT_PREFIX = "uds-line-height";
|
|
8927
|
+
declare const LETTER_SPACING_PREFIX = "uds-letter-spacing";
|
|
8927
8928
|
declare const MOTION_PREFIX = "uds-motion";
|
|
8928
8929
|
declare const SPECTRUM_COLOR_PREFIX = "uds-spectrum-color";
|
|
8929
8930
|
declare const TEXT_TRANSFORM_PREFIX = "uds-text-transform";
|
|
@@ -8957,6 +8958,7 @@ declare const BUTTON_CSS_VAR_MAP: {
|
|
|
8957
8958
|
readonly fontSize: "--uds-button-font-size";
|
|
8958
8959
|
readonly lineHeight: "--uds-button-line-height";
|
|
8959
8960
|
readonly textTransform: "--uds-button-text-transform";
|
|
8961
|
+
readonly letterSpacing: "--uds-button-letter-spacing";
|
|
8960
8962
|
readonly iconSize: "--uds-button-icon-size";
|
|
8961
8963
|
readonly dropShadow: "--uds-button-shadow";
|
|
8962
8964
|
readonly insetShadow: "--uds-button-inset-shadow";
|
|
@@ -9631,7 +9633,6 @@ type FontWeightNumeric = `${IntRange<100, 901, 100>}`;
|
|
|
9631
9633
|
type FontWeightDescriptive = 'thin' | 'extralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
|
|
9632
9634
|
type TextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
|
|
9633
9635
|
type TextDecorationLine = 'none' | 'underline';
|
|
9634
|
-
type LetterSpacing = 'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest';
|
|
9635
9636
|
type LineClampAlias = `${IntRange<1, 7>}`;
|
|
9636
9637
|
type LineHeight = number;
|
|
9637
9638
|
type FontSize = number;
|
|
@@ -9642,7 +9643,7 @@ type FontWeightConfig = Record<TextVariantWithoutEmphasized, number>;
|
|
|
9642
9643
|
type FontSlantConfig = Record<TextVariantWithoutEmphasized, number>;
|
|
9643
9644
|
type FontWidthConfig = Record<TextVariantWithoutEmphasized, number>;
|
|
9644
9645
|
type LineHeightConfig = Record<TextVariantWithoutEmphasized, LineHeight>;
|
|
9645
|
-
type TextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform';
|
|
9646
|
+
type TextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform' | 'letterSpacing';
|
|
9646
9647
|
/**
|
|
9647
9648
|
* Defines a structured CSS value, separating the raw value from its unit type.
|
|
9648
9649
|
* 'unitless' is for unitless values like line-height or font-weight.
|
|
@@ -9664,7 +9665,7 @@ type TypographyResponsiveProperty<T> = {
|
|
|
9664
9665
|
*/
|
|
9665
9666
|
breakpoints: Record<Breakpoint, T>;
|
|
9666
9667
|
};
|
|
9667
|
-
type TypographyStyleProperty =
|
|
9668
|
+
type TypographyStyleProperty = keyof TypographyStyle;
|
|
9668
9669
|
type TypographyStyle = {
|
|
9669
9670
|
fontFamily: TypographyResponsiveProperty<FontAlias>;
|
|
9670
9671
|
textTransform: TypographyResponsiveProperty<TextTransform>;
|
|
@@ -9673,6 +9674,7 @@ type TypographyStyle = {
|
|
|
9673
9674
|
lineHeight: TypographyResponsiveProperty<TypographyUnitValue>;
|
|
9674
9675
|
fontSlant: TypographyResponsiveProperty<TypographyUnitValue>;
|
|
9675
9676
|
fontWidth: TypographyResponsiveProperty<TypographyUnitValue>;
|
|
9677
|
+
letterSpacing: TypographyResponsiveProperty<PixelsUnit>;
|
|
9676
9678
|
};
|
|
9677
9679
|
type TypographyConfig = Record<TextVariant, TypographyStyle>;
|
|
9678
9680
|
type GlobalDefaultsConfig = {
|
|
@@ -10067,6 +10069,8 @@ interface TextStyleProps {
|
|
|
10067
10069
|
fontFamily?: TextVariant | FontAlias;
|
|
10068
10070
|
/** Font size of the text */
|
|
10069
10071
|
fontSize?: TextVariant;
|
|
10072
|
+
/** Letter spacing of the text */
|
|
10073
|
+
letterSpacing?: TextVariant;
|
|
10070
10074
|
/**
|
|
10071
10075
|
* Font weight of the text
|
|
10072
10076
|
*
|
|
@@ -10608,4 +10612,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
|
|
|
10608
10612
|
};
|
|
10609
10613
|
}
|
|
10610
10614
|
|
|
10611
|
-
export {
|
|
10615
|
+
export { DARK_COLOR_MODE_CLASSNAME as $, alwaysPalette as A, type ButtonConfig as B, type ColorModeConfig as C, UDS_PREFIX as D, AVATAR_SIZE_PREFIX as E, type FontConfig as F, type GlobalDefaultsConfig as G, type Hue as H, type IconButtonConfig as I, BORDER_RADIUS_PREFIX as J, BORDER_WIDTH_PREFIX as K, FONT_FAMILY_PREFIX as L, type MotionConfig as M, FONT_SIZE_PREFIX as N, FONT_WEIGHT_PREFIX as O, type PaletteType as P, FONT_SLANT_PREFIX as Q, FONT_WIDTH_PREFIX as R, type ScaleModeConfig as S, type TypographyConfig as T, type UniversalTextProps as U, ICON_SIZE_PREFIX as V, LINE_HEIGHT_PREFIX as W, LETTER_SPACING_PREFIX as X, MOTION_PREFIX as Y, SPECTRUM_COLOR_PREFIX as Z, TEXT_TRANSFORM_PREFIX as _, type UniversalPressableProps as a, type ButtonState as a$, LIGHT_COLOR_MODE_CLASSNAME as a0, SYSTEM_COLOR_MODE_CLASSNAME as a1, INVERT_COLOR_MODE_CLASSNAME as a2, XSMALL_SCALE_MODE_CLASSNAME as a3, SMALL_SCALE_MODE_CLASSNAME as a4, MEDIUM_SCALE_MODE_CLASSNAME as a5, LARGE_SCALE_MODE_CLASSNAME as a6, XLARGE_SCALE_MODE_CLASSNAME as a7, XXLARGE_SCALE_MODE_CLASSNAME as a8, XXXLARGE_SCALE_MODE_CLASSNAME as a9, type BackgroundStyleProps as aA, type BadgeSize as aB, type BadgeVariant as aC, type BorderRadius as aD, type BorderRadiusConfig as aE, type BorderStyleProps as aF, type BorderWidth as aG, type BorderWidthConfig as aH, type Breakpoint as aI, type BreakpointWithBase as aJ, type ButtonBaseConfig as aK, type ButtonClassName as aL, type ButtonColorConfig as aM, type ButtonColorEffect as aN, type ButtonColorEffectConfig as aO, type ButtonKind as aP, type ButtonMotionEffect as aQ, type ButtonMotionProperty as aR, type ButtonMotionPropertyConfig as aS, type ButtonPalette as aT, type ButtonPaletteColor as aU, type ButtonPaletteConfig as aV, type ButtonShadowPropertyConfig as aW, type ButtonSize as aX, type ButtonSizeConfig as aY, type ButtonSizeProperty as aZ, type ButtonSpectrumColor as a_, DEFAULT_COLOR_MODE_CLASSNAME as aa, DEFAULT_SCALE_MODE_CLASSNAME as ab, TEXT_RESPONSIVE_CLASSNAME as ac, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES as ad, BUTTON_CSS_VAR_MAP as ae, ICON_BUTTON_CSS_VAR_MAP as af, PSEUDO_STYLE_SELECTOR_MAP as ag, FONT_DECLARATIONS_MAP as ah, type FontAxisConfig as ai, type FontDeclarationItemConfig as aj, type FontDeclarationConfig as ak, type FontDeclarationMap as al, type FontWeightForFont as am, type AlwaysPalette as an, type AlwaysPaletteAlias as ao, type AlwaysPaletteColor as ap, type Animation as aq, type AriaAttribute as ar, type AvatarAbbreviationStrategy as as, type AvatarShape as at, type AvatarSize as au, type AvatarSizeConfig as av, type AvatarVariant as aw, type BackgroundColor as ax, type BackgroundPalette as ay, type BackgroundPaletteAlias as az, type UniversalBoxProps as b, type MotionVariant as b$, type ButtonStateConfig as b0, type ButtonStateEffectConfig as b1, type ButtonVariant as b2, type ButtonVariantConfig as b3, type ButtonVariantFlat as b4, type CheckboxSize as b5, type CheckboxValue as b6, type CheckboxVariant as b7, type ChipSize as b8, type ChipVariant as b9, type FontType as bA, type FontWeightConfig as bB, type FontWeightDescriptive as bC, type FontWeightNumeric as bD, type FontWidthConfig as bE, type ForegroundColor as bF, type ForegroundPalette as bG, type ForegroundPaletteAlias as bH, type HighContrastMode as bI, type IconButtonClassName as bJ, type IconButtonDefaultsConfig as bK, type IconButtonSize as bL, type IconSizeConfig as bM, type IconSlotRenderProps as bN, type ImageStyleProps as bO, type InputSize as bP, type LayoutStyleProps as bQ, type LineClampAlias as bR, type LineColor as bS, type LineHeight as bT, type LineHeightConfig as bU, type LinePalette as bV, type LinePaletteAlias as bW, type Modes as bX, type MotionCssVar as bY, type MotionSpringConfig as bZ, type MotionSpringConfigOptions as b_, type ColorModeForApp as ba, type ConfigurableDropShadowValues as bb, type ConfigurableInsetShadowValues as bc, type CustomSizingStyleProps as bd, type DataAttribute as be, type Display as bf, type DividerVariant as bg, type Flex as bh, type FlexAlignContent as bi, type FlexAlignItems as bj, type FlexAlignSelf as bk, type FlexBasis as bl, type FlexDirection as bm, type FlexGrow as bn, type FlexJustifyContent as bo, type FlexShrink as bp, type FlexStyleProps as bq, type FlexWrap as br, type FontAlias as bs, type FontCssVar as bt, type FontFamilyCDNUrl as bu, type FontFamilyConfig as bv, type FontID as bw, type FontSize as bx, type FontSizeConfig as by, type FontSlantConfig as bz, type UniversalSwitchProps as c, type UniversalAvatarProps as c$, type MotionVariantSpeed as c0, type MotionVariantValues as c1, type OpacityStep as c2, type Overflow as c3, type Palette as c4, type PaletteValue as c5, type Percentage as c6, type PercentageUnit as c7, type PixelsUnit as c8, type PlatformMode as c9, type SpacingStyleProps as cA, type SpectrumColor as cB, type SpectrumConfig as cC, type StateStyleProps as cD, type StyleProps as cE, type SwitchSize as cF, type TextDecorationLine as cG, type TextProperty as cH, type TextStyleProps as cI, type TextTransform as cJ, type TextTransformConfig as cK, type TextVariant as cL, type TextVariantTypography as cM, type TextVariantWithoutEmphasized as cN, type TransitionDelay as cO, type TransitionDuration as cP, type TransitionTiming as cQ, type TShirtSize as cR, type TShirtSizeCommon as cS, type TypographyResponsiveProperty as cT, type TypographyStyle as cU, type TypographyStyleProperty as cV, type TypographyUnitValue as cW, type UdsCssVar as cX, type UnitlessUnit as cY, type UniversalAvatarIconProps as cZ, type UniversalAvatarImageProps as c_, type Position as ca, type PropertyToPaletteAliasMap as cb, type RadioSize as cc, type RadioValue as cd, type RadioVariant as ce, type RegionMode as cf, type RemsUnit as cg, type ScaleConfig as ch, type ScaleEffectMap as ci, type ScaleModeForApp as cj, type ShadowColor as ck, type ShadowColorConfig as cl, type ShadowOffset as cm, type ShadowOpacity as cn, type ShadowPalette as co, type ShadowPaletteAlias as cp, type ShadowSpreadRadius as cq, type ShadowStyleProps as cr, type ShadowType as cs, type ShadowTypeConfig as ct, type ShadowVariant as cu, type ShadowVariantConfig as cv, type ShadowVariantInvert as cw, type ShadowVariantWithInvert as cx, type SharedPaletteAlias as cy, type SpacingConfig as cz, type ShadowConfig as d, type UniversalAvatarTextProps as d0, type UniversalBadgeProps as d1, type UniversalButtonProps as d2, type UniversalCheckboxProps as d3, type UniversalChipBaseProps as d4, type UniversalChipButtonProps as d5, type UniversalChipDismissibleProps as d6, type UniversalChipLinkProps as d7, type UniversalChipProps as d8, type UniversalChipToggleProps as d9, type UniversalIconButtonProps as da, type UniversalIconProps as db, type UniversalIconSlot as dc, type UniversalImageProps as dd, type UniversalInputProps as de, type UniversalRadioGroupProps as df, type UniversalRadioProps as dg, type UniversalTokensConfigAuto as dh, type BreakpointsConfig as e, defaultUniversalTokensConfigAuto as f, type UniversalTokensConfig as g, type ColorMode as h, type ColorsConfig as i, type HueStep as j, type PaletteConfig as k, type ScaleMode as l, type ShadowPreset as m, type UniversalStackProps as n, type UniversalDividerProps as o, type ButtonClassMap as p, type IconButtonClassMap as q, type TextVariantUi as r, type ButtonColorProperty as s, type ButtonColorPropertyConfig as t, type SpacingAlias as u, type UniversalMenuItemProps as v, type UniversalFormLabelProps as w, type IconPropsWithSVGProps as x, type ImagePropsWithImgProps as y, type UniversalLinkProps as z };
|
|
@@ -8924,6 +8924,7 @@ declare const FONT_SLANT_PREFIX = "uds-font-slant";
|
|
|
8924
8924
|
declare const FONT_WIDTH_PREFIX = "uds-font-width";
|
|
8925
8925
|
declare const ICON_SIZE_PREFIX = "uds-icon-size";
|
|
8926
8926
|
declare const LINE_HEIGHT_PREFIX = "uds-line-height";
|
|
8927
|
+
declare const LETTER_SPACING_PREFIX = "uds-letter-spacing";
|
|
8927
8928
|
declare const MOTION_PREFIX = "uds-motion";
|
|
8928
8929
|
declare const SPECTRUM_COLOR_PREFIX = "uds-spectrum-color";
|
|
8929
8930
|
declare const TEXT_TRANSFORM_PREFIX = "uds-text-transform";
|
|
@@ -8957,6 +8958,7 @@ declare const BUTTON_CSS_VAR_MAP: {
|
|
|
8957
8958
|
readonly fontSize: "--uds-button-font-size";
|
|
8958
8959
|
readonly lineHeight: "--uds-button-line-height";
|
|
8959
8960
|
readonly textTransform: "--uds-button-text-transform";
|
|
8961
|
+
readonly letterSpacing: "--uds-button-letter-spacing";
|
|
8960
8962
|
readonly iconSize: "--uds-button-icon-size";
|
|
8961
8963
|
readonly dropShadow: "--uds-button-shadow";
|
|
8962
8964
|
readonly insetShadow: "--uds-button-inset-shadow";
|
|
@@ -9631,7 +9633,6 @@ type FontWeightNumeric = `${IntRange<100, 901, 100>}`;
|
|
|
9631
9633
|
type FontWeightDescriptive = 'thin' | 'extralight' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
|
|
9632
9634
|
type TextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
|
|
9633
9635
|
type TextDecorationLine = 'none' | 'underline';
|
|
9634
|
-
type LetterSpacing = 'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest';
|
|
9635
9636
|
type LineClampAlias = `${IntRange<1, 7>}`;
|
|
9636
9637
|
type LineHeight = number;
|
|
9637
9638
|
type FontSize = number;
|
|
@@ -9642,7 +9643,7 @@ type FontWeightConfig = Record<TextVariantWithoutEmphasized, number>;
|
|
|
9642
9643
|
type FontSlantConfig = Record<TextVariantWithoutEmphasized, number>;
|
|
9643
9644
|
type FontWidthConfig = Record<TextVariantWithoutEmphasized, number>;
|
|
9644
9645
|
type LineHeightConfig = Record<TextVariantWithoutEmphasized, LineHeight>;
|
|
9645
|
-
type TextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform';
|
|
9646
|
+
type TextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform' | 'letterSpacing';
|
|
9646
9647
|
/**
|
|
9647
9648
|
* Defines a structured CSS value, separating the raw value from its unit type.
|
|
9648
9649
|
* 'unitless' is for unitless values like line-height or font-weight.
|
|
@@ -9664,7 +9665,7 @@ type TypographyResponsiveProperty<T> = {
|
|
|
9664
9665
|
*/
|
|
9665
9666
|
breakpoints: Record<Breakpoint, T>;
|
|
9666
9667
|
};
|
|
9667
|
-
type TypographyStyleProperty =
|
|
9668
|
+
type TypographyStyleProperty = keyof TypographyStyle;
|
|
9668
9669
|
type TypographyStyle = {
|
|
9669
9670
|
fontFamily: TypographyResponsiveProperty<FontAlias>;
|
|
9670
9671
|
textTransform: TypographyResponsiveProperty<TextTransform>;
|
|
@@ -9673,6 +9674,7 @@ type TypographyStyle = {
|
|
|
9673
9674
|
lineHeight: TypographyResponsiveProperty<TypographyUnitValue>;
|
|
9674
9675
|
fontSlant: TypographyResponsiveProperty<TypographyUnitValue>;
|
|
9675
9676
|
fontWidth: TypographyResponsiveProperty<TypographyUnitValue>;
|
|
9677
|
+
letterSpacing: TypographyResponsiveProperty<PixelsUnit>;
|
|
9676
9678
|
};
|
|
9677
9679
|
type TypographyConfig = Record<TextVariant, TypographyStyle>;
|
|
9678
9680
|
type GlobalDefaultsConfig = {
|
|
@@ -10067,6 +10069,8 @@ interface TextStyleProps {
|
|
|
10067
10069
|
fontFamily?: TextVariant | FontAlias;
|
|
10068
10070
|
/** Font size of the text */
|
|
10069
10071
|
fontSize?: TextVariant;
|
|
10072
|
+
/** Letter spacing of the text */
|
|
10073
|
+
letterSpacing?: TextVariant;
|
|
10070
10074
|
/**
|
|
10071
10075
|
* Font weight of the text
|
|
10072
10076
|
*
|
|
@@ -10608,4 +10612,4 @@ interface UniversalMenuItemProps extends Omit<UniversalPressableProps, 'asChild'
|
|
|
10608
10612
|
};
|
|
10609
10613
|
}
|
|
10610
10614
|
|
|
10611
|
-
export {
|
|
10615
|
+
export { DARK_COLOR_MODE_CLASSNAME as $, alwaysPalette as A, type ButtonConfig as B, type ColorModeConfig as C, UDS_PREFIX as D, AVATAR_SIZE_PREFIX as E, type FontConfig as F, type GlobalDefaultsConfig as G, type Hue as H, type IconButtonConfig as I, BORDER_RADIUS_PREFIX as J, BORDER_WIDTH_PREFIX as K, FONT_FAMILY_PREFIX as L, type MotionConfig as M, FONT_SIZE_PREFIX as N, FONT_WEIGHT_PREFIX as O, type PaletteType as P, FONT_SLANT_PREFIX as Q, FONT_WIDTH_PREFIX as R, type ScaleModeConfig as S, type TypographyConfig as T, type UniversalTextProps as U, ICON_SIZE_PREFIX as V, LINE_HEIGHT_PREFIX as W, LETTER_SPACING_PREFIX as X, MOTION_PREFIX as Y, SPECTRUM_COLOR_PREFIX as Z, TEXT_TRANSFORM_PREFIX as _, type UniversalPressableProps as a, type ButtonState as a$, LIGHT_COLOR_MODE_CLASSNAME as a0, SYSTEM_COLOR_MODE_CLASSNAME as a1, INVERT_COLOR_MODE_CLASSNAME as a2, XSMALL_SCALE_MODE_CLASSNAME as a3, SMALL_SCALE_MODE_CLASSNAME as a4, MEDIUM_SCALE_MODE_CLASSNAME as a5, LARGE_SCALE_MODE_CLASSNAME as a6, XLARGE_SCALE_MODE_CLASSNAME as a7, XXLARGE_SCALE_MODE_CLASSNAME as a8, XXXLARGE_SCALE_MODE_CLASSNAME as a9, type BackgroundStyleProps as aA, type BadgeSize as aB, type BadgeVariant as aC, type BorderRadius as aD, type BorderRadiusConfig as aE, type BorderStyleProps as aF, type BorderWidth as aG, type BorderWidthConfig as aH, type Breakpoint as aI, type BreakpointWithBase as aJ, type ButtonBaseConfig as aK, type ButtonClassName as aL, type ButtonColorConfig as aM, type ButtonColorEffect as aN, type ButtonColorEffectConfig as aO, type ButtonKind as aP, type ButtonMotionEffect as aQ, type ButtonMotionProperty as aR, type ButtonMotionPropertyConfig as aS, type ButtonPalette as aT, type ButtonPaletteColor as aU, type ButtonPaletteConfig as aV, type ButtonShadowPropertyConfig as aW, type ButtonSize as aX, type ButtonSizeConfig as aY, type ButtonSizeProperty as aZ, type ButtonSpectrumColor as a_, DEFAULT_COLOR_MODE_CLASSNAME as aa, DEFAULT_SCALE_MODE_CLASSNAME as ab, TEXT_RESPONSIVE_CLASSNAME as ac, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES as ad, BUTTON_CSS_VAR_MAP as ae, ICON_BUTTON_CSS_VAR_MAP as af, PSEUDO_STYLE_SELECTOR_MAP as ag, FONT_DECLARATIONS_MAP as ah, type FontAxisConfig as ai, type FontDeclarationItemConfig as aj, type FontDeclarationConfig as ak, type FontDeclarationMap as al, type FontWeightForFont as am, type AlwaysPalette as an, type AlwaysPaletteAlias as ao, type AlwaysPaletteColor as ap, type Animation as aq, type AriaAttribute as ar, type AvatarAbbreviationStrategy as as, type AvatarShape as at, type AvatarSize as au, type AvatarSizeConfig as av, type AvatarVariant as aw, type BackgroundColor as ax, type BackgroundPalette as ay, type BackgroundPaletteAlias as az, type UniversalBoxProps as b, type MotionVariant as b$, type ButtonStateConfig as b0, type ButtonStateEffectConfig as b1, type ButtonVariant as b2, type ButtonVariantConfig as b3, type ButtonVariantFlat as b4, type CheckboxSize as b5, type CheckboxValue as b6, type CheckboxVariant as b7, type ChipSize as b8, type ChipVariant as b9, type FontType as bA, type FontWeightConfig as bB, type FontWeightDescriptive as bC, type FontWeightNumeric as bD, type FontWidthConfig as bE, type ForegroundColor as bF, type ForegroundPalette as bG, type ForegroundPaletteAlias as bH, type HighContrastMode as bI, type IconButtonClassName as bJ, type IconButtonDefaultsConfig as bK, type IconButtonSize as bL, type IconSizeConfig as bM, type IconSlotRenderProps as bN, type ImageStyleProps as bO, type InputSize as bP, type LayoutStyleProps as bQ, type LineClampAlias as bR, type LineColor as bS, type LineHeight as bT, type LineHeightConfig as bU, type LinePalette as bV, type LinePaletteAlias as bW, type Modes as bX, type MotionCssVar as bY, type MotionSpringConfig as bZ, type MotionSpringConfigOptions as b_, type ColorModeForApp as ba, type ConfigurableDropShadowValues as bb, type ConfigurableInsetShadowValues as bc, type CustomSizingStyleProps as bd, type DataAttribute as be, type Display as bf, type DividerVariant as bg, type Flex as bh, type FlexAlignContent as bi, type FlexAlignItems as bj, type FlexAlignSelf as bk, type FlexBasis as bl, type FlexDirection as bm, type FlexGrow as bn, type FlexJustifyContent as bo, type FlexShrink as bp, type FlexStyleProps as bq, type FlexWrap as br, type FontAlias as bs, type FontCssVar as bt, type FontFamilyCDNUrl as bu, type FontFamilyConfig as bv, type FontID as bw, type FontSize as bx, type FontSizeConfig as by, type FontSlantConfig as bz, type UniversalSwitchProps as c, type UniversalAvatarProps as c$, type MotionVariantSpeed as c0, type MotionVariantValues as c1, type OpacityStep as c2, type Overflow as c3, type Palette as c4, type PaletteValue as c5, type Percentage as c6, type PercentageUnit as c7, type PixelsUnit as c8, type PlatformMode as c9, type SpacingStyleProps as cA, type SpectrumColor as cB, type SpectrumConfig as cC, type StateStyleProps as cD, type StyleProps as cE, type SwitchSize as cF, type TextDecorationLine as cG, type TextProperty as cH, type TextStyleProps as cI, type TextTransform as cJ, type TextTransformConfig as cK, type TextVariant as cL, type TextVariantTypography as cM, type TextVariantWithoutEmphasized as cN, type TransitionDelay as cO, type TransitionDuration as cP, type TransitionTiming as cQ, type TShirtSize as cR, type TShirtSizeCommon as cS, type TypographyResponsiveProperty as cT, type TypographyStyle as cU, type TypographyStyleProperty as cV, type TypographyUnitValue as cW, type UdsCssVar as cX, type UnitlessUnit as cY, type UniversalAvatarIconProps as cZ, type UniversalAvatarImageProps as c_, type Position as ca, type PropertyToPaletteAliasMap as cb, type RadioSize as cc, type RadioValue as cd, type RadioVariant as ce, type RegionMode as cf, type RemsUnit as cg, type ScaleConfig as ch, type ScaleEffectMap as ci, type ScaleModeForApp as cj, type ShadowColor as ck, type ShadowColorConfig as cl, type ShadowOffset as cm, type ShadowOpacity as cn, type ShadowPalette as co, type ShadowPaletteAlias as cp, type ShadowSpreadRadius as cq, type ShadowStyleProps as cr, type ShadowType as cs, type ShadowTypeConfig as ct, type ShadowVariant as cu, type ShadowVariantConfig as cv, type ShadowVariantInvert as cw, type ShadowVariantWithInvert as cx, type SharedPaletteAlias as cy, type SpacingConfig as cz, type ShadowConfig as d, type UniversalAvatarTextProps as d0, type UniversalBadgeProps as d1, type UniversalButtonProps as d2, type UniversalCheckboxProps as d3, type UniversalChipBaseProps as d4, type UniversalChipButtonProps as d5, type UniversalChipDismissibleProps as d6, type UniversalChipLinkProps as d7, type UniversalChipProps as d8, type UniversalChipToggleProps as d9, type UniversalIconButtonProps as da, type UniversalIconProps as db, type UniversalIconSlot as dc, type UniversalImageProps as dd, type UniversalInputProps as de, type UniversalRadioGroupProps as df, type UniversalRadioProps as dg, type UniversalTokensConfigAuto as dh, type BreakpointsConfig as e, defaultUniversalTokensConfigAuto as f, type UniversalTokensConfig as g, type ColorMode as h, type ColorsConfig as i, type HueStep as j, type PaletteConfig as k, type ScaleMode as l, type ShadowPreset as m, type UniversalStackProps as n, type UniversalDividerProps as o, type ButtonClassMap as p, type IconButtonClassMap as q, type TextVariantUi as r, type ButtonColorProperty as s, type ButtonColorPropertyConfig as t, type SpacingAlias as u, type UniversalMenuItemProps as v, type UniversalFormLabelProps as w, type IconPropsWithSVGProps as x, type ImagePropsWithImgProps as y, type UniversalLinkProps as z };
|