@yahoo/uds 3.15.0 → 3.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Input-CDVzZfYU.d.ts → Input-9mqqHyM_.d.ts} +1 -1
- package/dist/{Input-DKSmkTVP.d.ts → Input-CqWvnTE2.d.ts} +1 -1
- package/dist/{Input-6p6A-aso.d.cts → Input-CsnKIM7r.d.cts} +1 -1
- package/dist/{Input-C6X4jQD7.d.cts → Input-zEU4biDe.d.cts} +1 -1
- package/dist/{Pressable-BA79hBfd.d.cts → Pressable-DG4fPi9g.d.cts} +1 -1
- package/dist/{Pressable-cEiSlfO3.d.cts → Pressable-DJiKOTnV.d.cts} +1 -1
- package/dist/{Pressable-7HK17HCW.d.ts → Pressable-Ujv71dpY.d.ts} +1 -1
- package/dist/{Pressable-BC83vQDx.d.ts → Pressable-pKA6lolm.d.ts} +1 -1
- package/dist/{VStack-CsmvUvZI.d.cts → VStack-C-52-Shi.d.cts} +1 -1
- package/dist/{VStack-ClvtwZh2.d.ts → VStack-CL70cH04.d.ts} +1 -1
- package/dist/{VStack-VLKzyh66.d.cts → VStack-P1-kL67Z.d.cts} +1 -1
- package/dist/{VStack-CnmyxJDF.d.ts → VStack-PqVPCp0y.d.ts} +1 -1
- package/dist/{chunk-XLAXCFB4.cjs → chunk-2M47C3AI.cjs} +1 -1
- package/dist/{chunk-B7P4QPR6.js → chunk-37LEXEW4.js} +3 -3
- package/dist/{chunk-6PPIADF6.js → chunk-5ZMNC32B.js} +1 -1
- package/dist/{chunk-WJLVQ5UE.cjs → chunk-6BNYCBB5.cjs} +1 -1
- package/dist/{chunk-Y5YFGFVC.cjs → chunk-A6QBZQH4.cjs} +1 -1
- package/dist/{chunk-ZJBOYYO4.cjs → chunk-BIT4ZYYL.cjs} +1 -1
- package/dist/{chunk-AQDG3XUI.cjs → chunk-FSOKVNOU.cjs} +1 -1
- package/dist/{chunk-VVC6TYDL.cjs → chunk-JFLE7LSO.cjs} +3 -3
- package/dist/{chunk-XG4NDMFR.js → chunk-M5SXYW4O.js} +1 -1
- package/dist/{chunk-E7HZCV67.js → chunk-MSCQUXK7.js} +1 -1
- package/dist/{chunk-3WRFBUYC.js → chunk-NYAQO47N.js} +1 -1
- package/dist/{chunk-EKT2WAZJ.js → chunk-OCQZCUT3.js} +1 -1
- package/dist/{chunk-YQUPB32T.cjs → chunk-OMJ3BDEX.cjs} +1 -1
- package/dist/{chunk-7WHJGPNZ.cjs → chunk-PFR7GTUT.cjs} +2 -2
- package/dist/{chunk-NVNJZD6M.cjs → chunk-Q6L5YDK4.cjs} +1 -1
- package/dist/{chunk-LSW464DW.cjs → chunk-RDF2NPZV.cjs} +1 -1
- package/dist/{chunk-N2EUFXSN.js → chunk-RR45EHLK.js} +3 -3
- package/dist/{chunk-WBKPLJBA.js → chunk-SEY2DW3I.js} +2 -2
- package/dist/{chunk-H6JORPXH.cjs → chunk-TJZ4HVAG.cjs} +3 -3
- package/dist/{chunk-QWC6GPRC.js → chunk-V6XWDWEY.js} +2 -2
- package/dist/{chunk-EBXGTG67.js → chunk-W4KK6R6C.js} +1 -1
- package/dist/{chunk-YLJISW6G.cjs → chunk-YR633T75.cjs} +1 -1
- package/dist/{chunk-6OGTUGLL.js → chunk-YVEYAMML.js} +1 -1
- package/dist/{chunk-LYVLWAHQ.js → chunk-Z2ZVRADJ.js} +1 -1
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.d.cts +3 -3
- package/dist/client/Menu.d.ts +3 -3
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +1 -1
- package/dist/experimental/client/index.cjs +1 -1
- package/dist/experimental/client/index.js +1 -1
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.js +2 -2
- package/dist/{index-BhLBLdp4.d.ts → index-CAFGK7nu.d.ts} +12 -12
- package/dist/{index-dTCfdh1o.d.ts → index-ChofTMM1.d.ts} +1 -1
- package/dist/{index-BPf_Bkjm.d.cts → index-Dffuri1m.d.cts} +12 -12
- package/dist/{index-hDD02unk.d.cts → index-DuXo_Lq2.d.cts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +22 -21
- package/dist/index.d.ts +22 -21
- 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 +2 -2
- 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 +1 -1
- 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 +25 -6
- package/dist/tokens/index.d.ts +25 -6
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/{types-2bKf8LgP.d.ts → types-CN9tOfEO.d.cts} +16 -0
- package/dist/{types-2bKf8LgP.d.cts → types-CN9tOfEO.d.ts} +16 -0
- package/dist/{types-BnujSCgi.d.cts → types-kxTkQgcG.d.cts} +16 -0
- package/dist/{types-BnujSCgi.d.ts → types-kxTkQgcG.d.ts} +16 -0
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
2
|
-
import { f as ShadowPreset, b as UniversalTokensConfig } from './types-
|
2
|
+
import { f as ShadowPreset, b as UniversalTokensConfig } from './types-kxTkQgcG.js';
|
3
3
|
|
4
4
|
type DispatchContext = {
|
5
5
|
componentName: string;
|
@@ -18,17 +18,17 @@ interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
|
|
18
18
|
concatenationDelimiter?: string;
|
19
19
|
}
|
20
20
|
declare const publicProperties: {
|
21
|
-
readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "
|
22
|
-
readonly borderWidth: ConfigurableProperty<"
|
21
|
+
readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "alwaysPaletteAliases" | "spectrumColors", unknown>;
|
22
|
+
readonly borderWidth: ConfigurableProperty<"borderWidths" | "spacingAliases", unknown>;
|
23
23
|
readonly borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
24
|
-
readonly borderColor: ConfigurableProperty<"
|
24
|
+
readonly borderColor: ConfigurableProperty<"alwaysPaletteAliases" | "linePaletteColors" | "spectrumColors", unknown>;
|
25
25
|
readonly fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
26
26
|
readonly fontSize: ConfigurableProperty<"textVariants", unknown>;
|
27
27
|
readonly lineHeight: ConfigurableProperty<"textVariants", unknown>;
|
28
28
|
readonly textTransform: ConfigurableProperty<"textVariants", unknown>;
|
29
29
|
readonly padding: ConfigurableProperty<"spacingAliases", unknown>;
|
30
30
|
readonly gap: ConfigurableProperty<"spacingAliases", unknown>;
|
31
|
-
readonly color: ConfigurableProperty<"foregroundPaletteColors" | "
|
31
|
+
readonly color: ConfigurableProperty<"foregroundPaletteColors" | "alwaysPaletteAliases" | "spectrumColors", unknown>;
|
32
32
|
readonly fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
33
33
|
readonly iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
34
34
|
readonly spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
@@ -41,21 +41,21 @@ declare const publicProperties: {
|
|
41
41
|
readonly width: ConfigurableProperty<"spacingAliases", unknown>;
|
42
42
|
};
|
43
43
|
declare const configurableProperties: {
|
44
|
-
outlineWidth: ConfigurableProperty<"
|
45
|
-
outlineColor: ConfigurableProperty<"
|
46
|
-
insetOutlineOffset: ConfigurableProperty<"
|
44
|
+
outlineWidth: ConfigurableProperty<"borderWidths" | "spacingAliases", unknown>;
|
45
|
+
outlineColor: ConfigurableProperty<"alwaysPaletteAliases" | "linePaletteColors" | "spectrumColors", unknown>;
|
46
|
+
insetOutlineOffset: ConfigurableProperty<"borderWidths" | "spacingAliases", unknown>;
|
47
47
|
solidOutline: ConfigurableProperty<never, unknown>;
|
48
|
-
backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "
|
49
|
-
borderWidth: ConfigurableProperty<"
|
48
|
+
backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "alwaysPaletteAliases" | "spectrumColors", unknown>;
|
49
|
+
borderWidth: ConfigurableProperty<"borderWidths" | "spacingAliases", unknown>;
|
50
50
|
borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
51
|
-
borderColor: ConfigurableProperty<"
|
51
|
+
borderColor: ConfigurableProperty<"alwaysPaletteAliases" | "linePaletteColors" | "spectrumColors", unknown>;
|
52
52
|
fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
53
53
|
fontSize: ConfigurableProperty<"textVariants", unknown>;
|
54
54
|
lineHeight: ConfigurableProperty<"textVariants", unknown>;
|
55
55
|
textTransform: ConfigurableProperty<"textVariants", unknown>;
|
56
56
|
padding: ConfigurableProperty<"spacingAliases", unknown>;
|
57
57
|
gap: ConfigurableProperty<"spacingAliases", unknown>;
|
58
|
-
color: ConfigurableProperty<"foregroundPaletteColors" | "
|
58
|
+
color: ConfigurableProperty<"foregroundPaletteColors" | "alwaysPaletteAliases" | "spectrumColors", unknown>;
|
59
59
|
fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
60
60
|
iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
61
61
|
spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
2
|
-
import { f as ShadowPreset, b as UniversalTokensConfig } from './types-
|
2
|
+
import { f as ShadowPreset, b as UniversalTokensConfig } from './types-CN9tOfEO.js';
|
3
3
|
|
4
4
|
type DispatchContext = {
|
5
5
|
componentName: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
2
|
-
import { f as ShadowPreset, b as UniversalTokensConfig } from './types-
|
2
|
+
import { f as ShadowPreset, b as UniversalTokensConfig } from './types-kxTkQgcG.cjs';
|
3
3
|
|
4
4
|
type DispatchContext = {
|
5
5
|
componentName: string;
|
@@ -18,17 +18,17 @@ interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
|
|
18
18
|
concatenationDelimiter?: string;
|
19
19
|
}
|
20
20
|
declare const publicProperties: {
|
21
|
-
readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "
|
22
|
-
readonly borderWidth: ConfigurableProperty<"
|
21
|
+
readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "alwaysPaletteAliases" | "spectrumColors", unknown>;
|
22
|
+
readonly borderWidth: ConfigurableProperty<"borderWidths" | "spacingAliases", unknown>;
|
23
23
|
readonly borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
24
|
-
readonly borderColor: ConfigurableProperty<"
|
24
|
+
readonly borderColor: ConfigurableProperty<"alwaysPaletteAliases" | "linePaletteColors" | "spectrumColors", unknown>;
|
25
25
|
readonly fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
26
26
|
readonly fontSize: ConfigurableProperty<"textVariants", unknown>;
|
27
27
|
readonly lineHeight: ConfigurableProperty<"textVariants", unknown>;
|
28
28
|
readonly textTransform: ConfigurableProperty<"textVariants", unknown>;
|
29
29
|
readonly padding: ConfigurableProperty<"spacingAliases", unknown>;
|
30
30
|
readonly gap: ConfigurableProperty<"spacingAliases", unknown>;
|
31
|
-
readonly color: ConfigurableProperty<"foregroundPaletteColors" | "
|
31
|
+
readonly color: ConfigurableProperty<"foregroundPaletteColors" | "alwaysPaletteAliases" | "spectrumColors", unknown>;
|
32
32
|
readonly fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
33
33
|
readonly iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
34
34
|
readonly spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
@@ -41,21 +41,21 @@ declare const publicProperties: {
|
|
41
41
|
readonly width: ConfigurableProperty<"spacingAliases", unknown>;
|
42
42
|
};
|
43
43
|
declare const configurableProperties: {
|
44
|
-
outlineWidth: ConfigurableProperty<"
|
45
|
-
outlineColor: ConfigurableProperty<"
|
46
|
-
insetOutlineOffset: ConfigurableProperty<"
|
44
|
+
outlineWidth: ConfigurableProperty<"borderWidths" | "spacingAliases", unknown>;
|
45
|
+
outlineColor: ConfigurableProperty<"alwaysPaletteAliases" | "linePaletteColors" | "spectrumColors", unknown>;
|
46
|
+
insetOutlineOffset: ConfigurableProperty<"borderWidths" | "spacingAliases", unknown>;
|
47
47
|
solidOutline: ConfigurableProperty<never, unknown>;
|
48
|
-
backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "
|
49
|
-
borderWidth: ConfigurableProperty<"
|
48
|
+
backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "alwaysPaletteAliases" | "spectrumColors", unknown>;
|
49
|
+
borderWidth: ConfigurableProperty<"borderWidths" | "spacingAliases", unknown>;
|
50
50
|
borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
51
|
-
borderColor: ConfigurableProperty<"
|
51
|
+
borderColor: ConfigurableProperty<"alwaysPaletteAliases" | "linePaletteColors" | "spectrumColors", unknown>;
|
52
52
|
fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
53
53
|
fontSize: ConfigurableProperty<"textVariants", unknown>;
|
54
54
|
lineHeight: ConfigurableProperty<"textVariants", unknown>;
|
55
55
|
textTransform: ConfigurableProperty<"textVariants", unknown>;
|
56
56
|
padding: ConfigurableProperty<"spacingAliases", unknown>;
|
57
57
|
gap: ConfigurableProperty<"spacingAliases", unknown>;
|
58
|
-
color: ConfigurableProperty<"foregroundPaletteColors" | "
|
58
|
+
color: ConfigurableProperty<"foregroundPaletteColors" | "alwaysPaletteAliases" | "spectrumColors", unknown>;
|
59
59
|
fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
60
60
|
iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
61
61
|
spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as properties from '@yahoo/uds/fixtures';
|
2
|
-
import { f as ShadowPreset, b as UniversalTokensConfig } from './types-
|
2
|
+
import { f as ShadowPreset, b as UniversalTokensConfig } from './types-CN9tOfEO.cjs';
|
3
3
|
|
4
4
|
type DispatchContext = {
|
5
5
|
componentName: string;
|
package/dist/index.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";var e=require("./chunk-WJLVQ5UE.cjs"),t=require("./chunk-YLJISW6G.cjs"),r=require("./chunk-H6JORPXH.cjs"),n=require("./chunk-NVNJZD6M.cjs"),o=require("./chunk-J7PUOUXC.cjs"),i=require("./chunk-Y5YFGFVC.cjs"),u=require("./chunk-4NZKRK55.cjs"),a=require("react"),c=require("react/jsx-runtime"),f=require("@yahoo/uds/client"),p=a.forwardRef((function(e,r){return c.jsx(t.DividerInternal,{ref:r,...e})}));/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */p.displayName="Divider";var s=a.forwardRef((function({variant:e="primary",textVariant:t,startIcon:n,endIcon:o,alwaysUnderline:i=!1,children:u,className:f,...p},s){const b=!t,O=a.useMemo((()=>{const n=!b&&r.getStyles({linkTextStyleRoot:t,fontSize:t,fontFamily:t,fontWeight:t,lineHeight:t,textTransform:t});return r.getStyles({linkVariantRoot:e,display:"inline-flex",alignItems:"center",className:r.cx(n,"uds-ring",i&&"underline",f)})}),[i,b,t,e,f]),g=r.getStyles({linkVariantIconStart:e,linkTextStyleIcon:t,className:r.cx(b&&"w-[0.7em] h-[0.7em]")}),l=r.getStyles({linkVariantIconEnd:e,linkTextStyleIcon:t,className:r.cx(b&&"w-[0.7em] h-[0.7em]")}),P={variant:"outline",color:"current"};return c.jsxs("a",{ref:s,className:O,...p,children:[n&&c.jsx(r.IconSlot,{className:g,icon:n,iconProps:P,"data-testid":"start-icon"}),u,o&&c.jsx(r.IconSlot,{className:l,icon:o,iconProps:P,"data-testid":"end-icon"})]})}));s.displayName="Link",Object.defineProperty(exports,"FormLabel",{enumerable:!0,get:function(){return e.FormLabel}}),Object.defineProperty(exports,"Image",{enumerable:!0,get:function(){return e.Image}}),Object.defineProperty(exports,"InputHelpText",{enumerable:!0,get:function(){return e.InputHelpTextMemo}}),Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return r.Box}}),Object.defineProperty(exports,"HStack",{enumerable:!0,get:function(){return r.HStack}}),Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return r.Icon}}),Object.defineProperty(exports,"Text",{enumerable:!0,get:function(){return r.Text}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return r.VStack}}),Object.defineProperty(exports,"cva",{enumerable:!0,get:function(){return r.cva}}),Object.defineProperty(exports,"cx",{enumerable:!0,get:function(){return r.cx}}),Object.defineProperty(exports,"getStyles",{enumerable:!0,get:function(){return r.getStyles}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return n.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return n.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return n.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return n.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return n.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return n.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return n.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return n.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return n.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return n.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return n.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return n.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return n.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return n.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return n.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return n.createVariantConfigWithProperties}}),Object.defineProperty(exports,"defaultTokensConfig",{enumerable:!0,get:function(){return n.defaultTokensConfig}}),Object.defineProperty(exports,"defaultUniversalTokensConfigAuto",{enumerable:!0,get:function(){return n.defaultUniversalTokensConfigAuto}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return n.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return n.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return n.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return n.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return n.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return n.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return n.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return n.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return n.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return n.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return n.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return n.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return n.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return n.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return n.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return n.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return n.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return n.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return n.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return n.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return n.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return n.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return n.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return n.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return n.toMinimalDbConfigObject}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return o.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return o.mapValues}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return i.variants}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return u.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return u.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return u.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return u.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return u.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return u.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return u.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return u.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return u.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return u.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return u.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return u.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return u.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return u.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return u.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_CLASSNAME",{enumerable:!0,get:function(){return u.TEXT_RESPONSIVE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return u.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return u.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XXXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return f.Avatar}}),Object.defineProperty(exports,"AvatarIcon",{enumerable:!0,get:function(){return f.AvatarIcon}}),Object.defineProperty(exports,"AvatarImage",{enumerable:!0,get:function(){return f.AvatarImage}}),Object.defineProperty(exports,"AvatarText",{enumerable:!0,get:function(){return f.AvatarText}}),Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return f.Badge}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function(){return f.Button}}),Object.defineProperty(exports,"Checkbox",{enumerable:!0,get:function(){return f.Checkbox}}),Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return f.Chip}}),Object.defineProperty(exports,"ChipButton",{enumerable:!0,get:function(){return f.ChipButton}}),Object.defineProperty(exports,"ChipDismissible",{enumerable:!0,get:function(){return f.ChipDismissible}}),Object.defineProperty(exports,"ChipLink",{enumerable:!0,get:function(){return f.ChipLink}}),Object.defineProperty(exports,"ChipToggle",{enumerable:!0,get:function(){return f.ChipToggle}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return f.IconButton}}),Object.defineProperty(exports,"Input",{enumerable:!0,get:function(){return f.Input}}),Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return f.Menu}}),Object.defineProperty(exports,"Pressable",{enumerable:!0,get:function(){return f.Pressable}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return f.Radio}}),Object.defineProperty(exports,"RadioGroupProvider",{enumerable:!0,get:function(){return f.RadioGroupProvider}}),Object.defineProperty(exports,"SpringMotionConfig",{enumerable:!0,get:function(){return f.SpringMotionConfig}}),Object.defineProperty(exports,"Switch",{enumerable:!0,get:function(){return f.Switch}}),exports.Divider=p,exports.Link=s;
|
1
|
+
"use strict";var e=require("./chunk-6BNYCBB5.cjs"),t=require("./chunk-RDF2NPZV.cjs"),r=require("./chunk-TJZ4HVAG.cjs"),n=require("./chunk-Q6L5YDK4.cjs"),o=require("./chunk-J7PUOUXC.cjs"),i=require("./chunk-A6QBZQH4.cjs"),u=require("./chunk-4NZKRK55.cjs"),a=require("react"),c=require("react/jsx-runtime"),f=require("@yahoo/uds/client"),p=a.forwardRef((function(e,r){return c.jsx(t.DividerInternal,{ref:r,...e})}));/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */p.displayName="Divider";var s=a.forwardRef((function({variant:e="primary",textVariant:t,startIcon:n,endIcon:o,alwaysUnderline:i=!1,children:u,className:f,...p},s){const b=!t,O=a.useMemo((()=>{const n=!b&&r.getStyles({linkTextStyleRoot:t,fontSize:t,fontFamily:t,fontWeight:t,lineHeight:t,textTransform:t});return r.getStyles({linkVariantRoot:e,display:"inline-flex",alignItems:"center",className:r.cx(n,"uds-ring",i&&"underline",f)})}),[i,b,t,e,f]),g=r.getStyles({linkVariantIconStart:e,linkTextStyleIcon:t,className:r.cx(b&&"w-[0.7em] h-[0.7em]")}),l=r.getStyles({linkVariantIconEnd:e,linkTextStyleIcon:t,className:r.cx(b&&"w-[0.7em] h-[0.7em]")}),P={variant:"outline",color:"current"};return c.jsxs("a",{ref:s,className:O,...p,children:[n&&c.jsx(r.IconSlot,{className:g,icon:n,iconProps:P,"data-testid":"start-icon"}),u,o&&c.jsx(r.IconSlot,{className:l,icon:o,iconProps:P,"data-testid":"end-icon"})]})}));s.displayName="Link",Object.defineProperty(exports,"FormLabel",{enumerable:!0,get:function(){return e.FormLabel}}),Object.defineProperty(exports,"Image",{enumerable:!0,get:function(){return e.Image}}),Object.defineProperty(exports,"InputHelpText",{enumerable:!0,get:function(){return e.InputHelpTextMemo}}),Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return r.Box}}),Object.defineProperty(exports,"HStack",{enumerable:!0,get:function(){return r.HStack}}),Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return r.Icon}}),Object.defineProperty(exports,"Text",{enumerable:!0,get:function(){return r.Text}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return r.VStack}}),Object.defineProperty(exports,"cva",{enumerable:!0,get:function(){return r.cva}}),Object.defineProperty(exports,"cx",{enumerable:!0,get:function(){return r.cx}}),Object.defineProperty(exports,"getStyles",{enumerable:!0,get:function(){return r.getStyles}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return n.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return n.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return n.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return n.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return n.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return n.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return n.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return n.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return n.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return n.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return n.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return n.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return n.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return n.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return n.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return n.createVariantConfigWithProperties}}),Object.defineProperty(exports,"defaultTokensConfig",{enumerable:!0,get:function(){return n.defaultTokensConfig}}),Object.defineProperty(exports,"defaultUniversalTokensConfigAuto",{enumerable:!0,get:function(){return n.defaultUniversalTokensConfigAuto}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return n.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return n.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return n.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return n.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return n.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return n.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return n.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return n.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return n.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return n.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return n.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return n.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return n.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return n.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return n.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return n.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return n.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return n.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return n.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return n.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return n.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return n.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return n.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return n.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return n.toMinimalDbConfigObject}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return o.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return o.mapValues}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return i.variants}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return u.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return u.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return u.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return u.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return u.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return u.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return u.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return u.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return u.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return u.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return u.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return u.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return u.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return u.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return u.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_CLASSNAME",{enumerable:!0,get:function(){return u.TEXT_RESPONSIVE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return u.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return u.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return u.XXXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return f.Avatar}}),Object.defineProperty(exports,"AvatarIcon",{enumerable:!0,get:function(){return f.AvatarIcon}}),Object.defineProperty(exports,"AvatarImage",{enumerable:!0,get:function(){return f.AvatarImage}}),Object.defineProperty(exports,"AvatarText",{enumerable:!0,get:function(){return f.AvatarText}}),Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return f.Badge}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function(){return f.Button}}),Object.defineProperty(exports,"Checkbox",{enumerable:!0,get:function(){return f.Checkbox}}),Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return f.Chip}}),Object.defineProperty(exports,"ChipButton",{enumerable:!0,get:function(){return f.ChipButton}}),Object.defineProperty(exports,"ChipDismissible",{enumerable:!0,get:function(){return f.ChipDismissible}}),Object.defineProperty(exports,"ChipLink",{enumerable:!0,get:function(){return f.ChipLink}}),Object.defineProperty(exports,"ChipToggle",{enumerable:!0,get:function(){return f.ChipToggle}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return f.IconButton}}),Object.defineProperty(exports,"Input",{enumerable:!0,get:function(){return f.Input}}),Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return f.Menu}}),Object.defineProperty(exports,"Pressable",{enumerable:!0,get:function(){return f.Pressable}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return f.Radio}}),Object.defineProperty(exports,"RadioGroupProvider",{enumerable:!0,get:function(){return f.RadioGroupProvider}}),Object.defineProperty(exports,"SpringMotionConfig",{enumerable:!0,get:function(){return f.SpringMotionConfig}}),Object.defineProperty(exports,"Switch",{enumerable:!0,get:function(){return f.Switch}}),exports.Divider=p,exports.Link=s;
|
package/dist/index.d.cts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { a as DivProps } from './VStack-
|
2
|
-
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-
|
1
|
+
import { a as DivProps } from './VStack-C-52-Shi.cjs';
|
2
|
+
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-C-52-Shi.cjs';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
|
-
import { u as UniversalFormLabelProps, h as UniversalStackProps, v as IconPropsWithSVGProps, w as ImagePropsWithImgProps, x as UniversalIconSlot, y as UniversalLinkProps, z as UniversalTextProps } from './types-
|
5
|
-
export { G as AVATAR_SIZE_PREFIX, ah as AlwaysPalette, ai as AlwaysPaletteAlias, aj as AlwaysPaletteColor, ak as Animation, al as AriaAttribute, am as AvatarAbbreviationStrategy, an as AvatarShape, ao as AvatarSize, ap as AvatarSizeConfig, aq as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, a9 as BUTTON_CSS_VAR_MAP, ar as BackgroundColor, as as BackgroundPalette, at as BackgroundPaletteAlias, au as BackgroundStyleProps, av as BadgeSize, aw as BadgeVariant, ax as BorderRadius, ay as BorderRadiusConfig, az as BorderStyleProps, aA as BorderWidth, aB as BorderWidthConfig, aC as Breakpoint, aD as BreakpointsConfig, aE as ButtonBaseConfig, j as ButtonClassMap, aF as ButtonClassName, aG as ButtonColorConfig, aH as ButtonColorEffect, aI as ButtonColorEffectConfig, k as ButtonColorProperty, l as ButtonColorPropertyConfig, B as ButtonConfig, aJ as ButtonKind, aK as ButtonMotionEffect, aL as ButtonMotionProperty, aM as ButtonMotionPropertyConfig, aN as ButtonPalette, 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, aY as ButtonVariant, aZ as ButtonVariantConfig, a_ as ButtonVariantFlat, a$ as CheckboxSize, b0 as CheckboxValue, b1 as CheckboxVariant, b2 as ChipSize, b3 as ChipVariant, C as ColorMode, b4 as ColorModeConfig, b5 as ColorModeForApp, 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, ac 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, ad as FontAxisConfig, p as FontConfig, bo as FontCssVar, ae as FontDeclarationConfig, o as FontDeclarationItemConfig, af 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, bw as FontWeightDescriptive, ag as FontWeightForFont, bx as FontWeightNumeric, by as FontWidthConfig, bz as ForegroundColor, bA as ForegroundPalette, bB as ForegroundPaletteAlias, bC as GlobalDefaultsConfig, bD as HighContrastMode, H as Hue, d as HueStep, aa as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bE as IconButtonClassName, bF as IconButtonConfig, bG as IconButtonDefaultsConfig, bH as IconButtonSize, bI as IconSizeConfig, bJ as ImageStyleProps, bK as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bL as LayoutStyleProps, bM as LetterSpacing, bN as LineClampAlias, bO as LineColor, bP as LineHeight, bQ as LineHeightConfig, bR as LinePalette, bS as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bT as Modes, s as MotionConfig, bU as MotionCssVar, bV as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bW as MotionVariantValues, bX as Overflow, ab as PSEUDO_STYLE_SELECTOR_MAP, bY as Palette, e as PaletteConfig, P as PaletteType, bZ as PaletteValue, b_ as Pixels, b$ as PlatformMode, c0 as Position, c1 as PropertyToPaletteAliasMap, c2 as RadioSize, c3 as RadioValue, c4 as RadioVariant, c5 as RegionMode, c6 as Rems, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c7 as ScaleConfig, c8 as ScaleEffectMap, S as ScaleMode, c9 as ScaleModeConfig, ca as ScaleModeForApp, cb as ShadowColor, cc as ShadowColorConfig, cd as ShadowConfig, ce as ShadowOffset, cf as ShadowOpacity, cg as ShadowPalette, ch as ShadowPaletteAlias, f as ShadowPreset, ci as ShadowSpreadRadius, cj as ShadowStyleProps, t as ShadowType, ck as ShadowTypeConfig, cl as ShadowVariant, cm as ShadowVariantConfig, cn as ShadowVariantInvert, co as ShadowVariantWithInvert, cp as SharedPaletteAlias, m as SpacingAlias, cq as SpacingConfig, cr as SpacingStyleProps, cs as SpectrumColor, ct as SpectrumConfig, cu as StateStyleProps, cv as StyleProps, cw as SwitchSize, a8 as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cG as TShirtSize, cH as TShirtSizeCommon, cx as TextDecorationLine, cy as TextProperty, cz as TextStyleProps, cA as TextTransform, cB as TextTransformConfig, cC as TextVariant, cD as TransitionDelay, cE as TransitionDuration, cF as TransitionTiming, cI as TypographyConfig, cJ as TypographyResponsiveProperty, cK as TypographyStyle, cL as TypographyStyleProperty, cM as TypographyUnitValue, E as UDS_PREFIX, cN as UdsCssVar, cO as Unitless, cP as UniversalAvatarIconProps, cQ as UniversalAvatarImageProps, cR as UniversalAvatarProps, cS as UniversalAvatarTextProps, cT as UniversalBadgeProps, g as UniversalBoxProps, cU as UniversalButtonProps, cV as UniversalCheckboxProps, cW as UniversalChipBaseProps, cX as UniversalChipButtonProps, cY as UniversalChipDismissibleProps, cZ as UniversalChipLinkProps, c_ as UniversalChipProps, c$ as UniversalChipToggleProps, i as UniversalDividerProps, d0 as UniversalIconButtonProps, d1 as UniversalIconProps, d2 as UniversalImageProps, U as UniversalInputProps, n as UniversalMenuItemProps, a as UniversalPressableProps, d3 as UniversalRadioGroupProps, d4 as UniversalRadioProps, d5 as UniversalSwitchProps, b as UniversalTokensConfig, d6 as UniversalTokensConfigAuto, 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-
|
4
|
+
import { u as UniversalFormLabelProps, h as UniversalStackProps, v as IconPropsWithSVGProps, w as ImagePropsWithImgProps, x as UniversalIconSlot, y as UniversalLinkProps, z as UniversalTextProps } from './types-kxTkQgcG.cjs';
|
5
|
+
export { G as AVATAR_SIZE_PREFIX, ah as AlwaysPalette, ai as AlwaysPaletteAlias, aj as AlwaysPaletteColor, ak as Animation, al as AriaAttribute, am as AvatarAbbreviationStrategy, an as AvatarShape, ao as AvatarSize, ap as AvatarSizeConfig, aq as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, a9 as BUTTON_CSS_VAR_MAP, ar as BackgroundColor, as as BackgroundPalette, at as BackgroundPaletteAlias, au as BackgroundStyleProps, av as BadgeSize, aw as BadgeVariant, ax as BorderRadius, ay as BorderRadiusConfig, az as BorderStyleProps, aA as BorderWidth, aB as BorderWidthConfig, aC as Breakpoint, aD as BreakpointsConfig, aE as ButtonBaseConfig, j as ButtonClassMap, aF as ButtonClassName, aG as ButtonColorConfig, aH as ButtonColorEffect, aI as ButtonColorEffectConfig, k as ButtonColorProperty, l as ButtonColorPropertyConfig, B as ButtonConfig, aJ as ButtonKind, aK as ButtonMotionEffect, aL as ButtonMotionProperty, aM as ButtonMotionPropertyConfig, aN as ButtonPalette, 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, aY as ButtonVariant, aZ as ButtonVariantConfig, a_ as ButtonVariantFlat, a$ as CheckboxSize, b0 as CheckboxValue, b1 as CheckboxVariant, b2 as ChipSize, b3 as ChipVariant, C as ColorMode, b4 as ColorModeConfig, b5 as ColorModeForApp, 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, ac 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, ad as FontAxisConfig, p as FontConfig, bo as FontCssVar, ae as FontDeclarationConfig, o as FontDeclarationItemConfig, af 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, bw as FontWeightDescriptive, ag as FontWeightForFont, bx as FontWeightNumeric, by as FontWidthConfig, bz as ForegroundColor, bA as ForegroundPalette, bB as ForegroundPaletteAlias, bC as GlobalDefaultsConfig, bD as HighContrastMode, H as Hue, d as HueStep, aa as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bE as IconButtonClassName, bF as IconButtonConfig, bG as IconButtonDefaultsConfig, bH as IconButtonSize, bI as IconSizeConfig, bJ as ImageStyleProps, bK as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bL as LayoutStyleProps, bM as LetterSpacing, bN as LineClampAlias, bO as LineColor, bP as LineHeight, bQ as LineHeightConfig, bR as LinePalette, bS as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bT as Modes, s as MotionConfig, bU as MotionCssVar, bV as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bW as MotionVariantValues, bX as Overflow, ab as PSEUDO_STYLE_SELECTOR_MAP, bY as Palette, e as PaletteConfig, P as PaletteType, bZ as PaletteValue, b_ as Pixels, b$ as PlatformMode, c0 as Position, c1 as PropertyToPaletteAliasMap, c2 as RadioSize, c3 as RadioValue, c4 as RadioVariant, c5 as RegionMode, c6 as Rems, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c7 as ScaleConfig, c8 as ScaleEffectMap, S as ScaleMode, c9 as ScaleModeConfig, ca as ScaleModeForApp, cb as ShadowColor, cc as ShadowColorConfig, cd as ShadowConfig, ce as ShadowOffset, cf as ShadowOpacity, cg as ShadowPalette, ch as ShadowPaletteAlias, f as ShadowPreset, ci as ShadowSpreadRadius, cj as ShadowStyleProps, t as ShadowType, ck as ShadowTypeConfig, cl as ShadowVariant, cm as ShadowVariantConfig, cn as ShadowVariantInvert, co as ShadowVariantWithInvert, cp as SharedPaletteAlias, m as SpacingAlias, cq as SpacingConfig, cr as SpacingStyleProps, cs as SpectrumColor, ct as SpectrumConfig, cu as StateStyleProps, cv as StyleProps, cw as SwitchSize, a8 as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cG as TShirtSize, cH as TShirtSizeCommon, cx as TextDecorationLine, cy as TextProperty, cz as TextStyleProps, cA as TextTransform, cB as TextTransformConfig, cC as TextVariant, cD as TransitionDelay, cE as TransitionDuration, cF as TransitionTiming, cI as TypographyConfig, cJ as TypographyResponsiveProperty, cK as TypographyStyle, cL as TypographyStyleProperty, cM as TypographyUnitValue, E as UDS_PREFIX, cN as UdsCssVar, cO as Unitless, cP as UniversalAvatarIconProps, cQ as UniversalAvatarImageProps, cR as UniversalAvatarProps, cS as UniversalAvatarTextProps, cT as UniversalBadgeProps, g as UniversalBoxProps, cU as UniversalButtonProps, cV as UniversalCheckboxProps, cW as UniversalChipBaseProps, cX as UniversalChipButtonProps, cY as UniversalChipDismissibleProps, cZ as UniversalChipLinkProps, c_ as UniversalChipProps, c$ as UniversalChipToggleProps, i as UniversalDividerProps, d0 as UniversalIconButtonProps, d1 as UniversalIconProps, d2 as UniversalImageProps, U as UniversalInputProps, n as UniversalMenuItemProps, a as UniversalPressableProps, d3 as UniversalRadioGroupProps, d4 as UniversalRadioProps, d5 as UniversalSwitchProps, b as UniversalTokensConfig, d6 as UniversalTokensConfigAuto, 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-kxTkQgcG.cjs';
|
6
6
|
import * as react from 'react';
|
7
7
|
import { PropsWithChildren, Ref, Dispatch, SetStateAction } from 'react';
|
8
|
-
import { I as InputProps } from './Input-
|
8
|
+
import { I as InputProps } from './Input-CsnKIM7r.cjs';
|
9
9
|
export { Avatar, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarText, AvatarTextProps, Badge, BadgeProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipButton, ChipButtonProps, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipToggle, ChipToggleProps, IconButton, IconButtonProps, Input, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
|
10
10
|
export { AllSelectors, BaseSelector, CssStyleObject, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, ParentVariantSelector, button, cartesianProduct, coalesceConfigVariant, defaultTokensConfig, entries, fontWeightMap, fromEntries, generateKeyFromFlatConfigPath, generateSchemaKey, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getDefaultButtonBaseMap, isConfigDefaultValue, mapValues, parseButtonVariantFlat, parseDeprecatedButtonPaletteVariant, setConfigPseudoStateVariable, shadow, variants } from './tokens/index.cjs';
|
11
11
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.cjs';
|
12
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, 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-
|
12
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, 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-Dffuri1m.cjs';
|
13
13
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
14
14
|
import 'motion/react';
|
15
15
|
import 'type-fest';
|
@@ -304,6 +304,7 @@ declare const getStylesInternal: (props?: ({
|
|
304
304
|
menuItemCheckboxVariantEndIcon?: "default" | undefined;
|
305
305
|
menuDividerVariantRoot?: "default" | undefined;
|
306
306
|
menuDividerVariantText?: "default" | undefined;
|
307
|
+
menuDividerVariantLine?: "default" | undefined;
|
307
308
|
switchVariantActiveRoot?: "on" | "off" | undefined;
|
308
309
|
switchVariantRoot?: "default" | undefined;
|
309
310
|
switchVariantActiveSwitch?: "on" | "off" | undefined;
|
@@ -387,8 +388,8 @@ declare const getStylesInternal: (props?: ({
|
|
387
388
|
badgeSizeIcon?: "sm" | "md" | "xs" | "lg" | undefined;
|
388
389
|
badgeVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
389
390
|
badgeVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
390
|
-
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
391
|
-
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
391
|
+
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
392
|
+
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
392
393
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "serif" | "sans" | "mono" | "sans-alt" | "serif-alt" | undefined;
|
393
394
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
394
395
|
fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "thin" | "black" | "extralight" | "light" | "regular" | "medium" | "semibold" | "bold" | "extrabold" | undefined;
|
@@ -411,24 +412,24 @@ declare const getStylesInternal: (props?: ({
|
|
411
412
|
offsetTop?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
412
413
|
columnGap?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
413
414
|
rowGap?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
414
|
-
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
415
|
-
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
416
|
-
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
417
|
-
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
418
|
-
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
419
|
-
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
415
|
+
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
416
|
+
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
417
|
+
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
418
|
+
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
419
|
+
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
420
|
+
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
420
421
|
borderRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
421
422
|
borderTopStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
422
423
|
borderTopEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
423
424
|
borderBottomStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
424
425
|
borderBottomEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
425
|
-
borderWidth?: "
|
426
|
-
borderVerticalWidth?: "
|
427
|
-
borderHorizontalWidth?: "
|
428
|
-
borderStartWidth?: "
|
429
|
-
borderEndWidth?: "
|
430
|
-
borderTopWidth?: "
|
431
|
-
borderBottomWidth?: "
|
426
|
+
borderWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
427
|
+
borderVerticalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
428
|
+
borderHorizontalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
429
|
+
borderStartWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
430
|
+
borderEndWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
431
|
+
borderTopWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
432
|
+
borderBottomWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
432
433
|
avatarSize?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
433
434
|
iconSize?: "sm" | "md" | "xs" | "lg" | undefined;
|
434
435
|
alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
|
package/dist/index.d.ts
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { a as DivProps } from './VStack-
|
2
|
-
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-
|
1
|
+
import { a as DivProps } from './VStack-CL70cH04.js';
|
2
|
+
export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-CL70cH04.js';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
|
-
import { u as UniversalFormLabelProps, h as UniversalStackProps, v as IconPropsWithSVGProps, w as ImagePropsWithImgProps, x as UniversalIconSlot, y as UniversalLinkProps, z as UniversalTextProps } from './types-
|
5
|
-
export { G as AVATAR_SIZE_PREFIX, ah as AlwaysPalette, ai as AlwaysPaletteAlias, aj as AlwaysPaletteColor, ak as Animation, al as AriaAttribute, am as AvatarAbbreviationStrategy, an as AvatarShape, ao as AvatarSize, ap as AvatarSizeConfig, aq as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, a9 as BUTTON_CSS_VAR_MAP, ar as BackgroundColor, as as BackgroundPalette, at as BackgroundPaletteAlias, au as BackgroundStyleProps, av as BadgeSize, aw as BadgeVariant, ax as BorderRadius, ay as BorderRadiusConfig, az as BorderStyleProps, aA as BorderWidth, aB as BorderWidthConfig, aC as Breakpoint, aD as BreakpointsConfig, aE as ButtonBaseConfig, j as ButtonClassMap, aF as ButtonClassName, aG as ButtonColorConfig, aH as ButtonColorEffect, aI as ButtonColorEffectConfig, k as ButtonColorProperty, l as ButtonColorPropertyConfig, B as ButtonConfig, aJ as ButtonKind, aK as ButtonMotionEffect, aL as ButtonMotionProperty, aM as ButtonMotionPropertyConfig, aN as ButtonPalette, 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, aY as ButtonVariant, aZ as ButtonVariantConfig, a_ as ButtonVariantFlat, a$ as CheckboxSize, b0 as CheckboxValue, b1 as CheckboxVariant, b2 as ChipSize, b3 as ChipVariant, C as ColorMode, b4 as ColorModeConfig, b5 as ColorModeForApp, 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, ac 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, ad as FontAxisConfig, p as FontConfig, bo as FontCssVar, ae as FontDeclarationConfig, o as FontDeclarationItemConfig, af 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, bw as FontWeightDescriptive, ag as FontWeightForFont, bx as FontWeightNumeric, by as FontWidthConfig, bz as ForegroundColor, bA as ForegroundPalette, bB as ForegroundPaletteAlias, bC as GlobalDefaultsConfig, bD as HighContrastMode, H as Hue, d as HueStep, aa as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bE as IconButtonClassName, bF as IconButtonConfig, bG as IconButtonDefaultsConfig, bH as IconButtonSize, bI as IconSizeConfig, bJ as ImageStyleProps, bK as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bL as LayoutStyleProps, bM as LetterSpacing, bN as LineClampAlias, bO as LineColor, bP as LineHeight, bQ as LineHeightConfig, bR as LinePalette, bS as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bT as Modes, s as MotionConfig, bU as MotionCssVar, bV as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bW as MotionVariantValues, bX as Overflow, ab as PSEUDO_STYLE_SELECTOR_MAP, bY as Palette, e as PaletteConfig, P as PaletteType, bZ as PaletteValue, b_ as Pixels, b$ as PlatformMode, c0 as Position, c1 as PropertyToPaletteAliasMap, c2 as RadioSize, c3 as RadioValue, c4 as RadioVariant, c5 as RegionMode, c6 as Rems, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c7 as ScaleConfig, c8 as ScaleEffectMap, S as ScaleMode, c9 as ScaleModeConfig, ca as ScaleModeForApp, cb as ShadowColor, cc as ShadowColorConfig, cd as ShadowConfig, ce as ShadowOffset, cf as ShadowOpacity, cg as ShadowPalette, ch as ShadowPaletteAlias, f as ShadowPreset, ci as ShadowSpreadRadius, cj as ShadowStyleProps, t as ShadowType, ck as ShadowTypeConfig, cl as ShadowVariant, cm as ShadowVariantConfig, cn as ShadowVariantInvert, co as ShadowVariantWithInvert, cp as SharedPaletteAlias, m as SpacingAlias, cq as SpacingConfig, cr as SpacingStyleProps, cs as SpectrumColor, ct as SpectrumConfig, cu as StateStyleProps, cv as StyleProps, cw as SwitchSize, a8 as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cG as TShirtSize, cH as TShirtSizeCommon, cx as TextDecorationLine, cy as TextProperty, cz as TextStyleProps, cA as TextTransform, cB as TextTransformConfig, cC as TextVariant, cD as TransitionDelay, cE as TransitionDuration, cF as TransitionTiming, cI as TypographyConfig, cJ as TypographyResponsiveProperty, cK as TypographyStyle, cL as TypographyStyleProperty, cM as TypographyUnitValue, E as UDS_PREFIX, cN as UdsCssVar, cO as Unitless, cP as UniversalAvatarIconProps, cQ as UniversalAvatarImageProps, cR as UniversalAvatarProps, cS as UniversalAvatarTextProps, cT as UniversalBadgeProps, g as UniversalBoxProps, cU as UniversalButtonProps, cV as UniversalCheckboxProps, cW as UniversalChipBaseProps, cX as UniversalChipButtonProps, cY as UniversalChipDismissibleProps, cZ as UniversalChipLinkProps, c_ as UniversalChipProps, c$ as UniversalChipToggleProps, i as UniversalDividerProps, d0 as UniversalIconButtonProps, d1 as UniversalIconProps, d2 as UniversalImageProps, U as UniversalInputProps, n as UniversalMenuItemProps, a as UniversalPressableProps, d3 as UniversalRadioGroupProps, d4 as UniversalRadioProps, d5 as UniversalSwitchProps, b as UniversalTokensConfig, d6 as UniversalTokensConfigAuto, 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-
|
4
|
+
import { u as UniversalFormLabelProps, h as UniversalStackProps, v as IconPropsWithSVGProps, w as ImagePropsWithImgProps, x as UniversalIconSlot, y as UniversalLinkProps, z as UniversalTextProps } from './types-kxTkQgcG.js';
|
5
|
+
export { G as AVATAR_SIZE_PREFIX, ah as AlwaysPalette, ai as AlwaysPaletteAlias, aj as AlwaysPaletteColor, ak as Animation, al as AriaAttribute, am as AvatarAbbreviationStrategy, an as AvatarShape, ao as AvatarSize, ap as AvatarSizeConfig, aq as AvatarVariant, J as BORDER_RADIUS_PREFIX, K as BORDER_WIDTH_PREFIX, a9 as BUTTON_CSS_VAR_MAP, ar as BackgroundColor, as as BackgroundPalette, at as BackgroundPaletteAlias, au as BackgroundStyleProps, av as BadgeSize, aw as BadgeVariant, ax as BorderRadius, ay as BorderRadiusConfig, az as BorderStyleProps, aA as BorderWidth, aB as BorderWidthConfig, aC as Breakpoint, aD as BreakpointsConfig, aE as ButtonBaseConfig, j as ButtonClassMap, aF as ButtonClassName, aG as ButtonColorConfig, aH as ButtonColorEffect, aI as ButtonColorEffectConfig, k as ButtonColorProperty, l as ButtonColorPropertyConfig, B as ButtonConfig, aJ as ButtonKind, aK as ButtonMotionEffect, aL as ButtonMotionProperty, aM as ButtonMotionPropertyConfig, aN as ButtonPalette, 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, aY as ButtonVariant, aZ as ButtonVariantConfig, a_ as ButtonVariantFlat, a$ as CheckboxSize, b0 as CheckboxValue, b1 as CheckboxVariant, b2 as ChipSize, b3 as ChipVariant, C as ColorMode, b4 as ColorModeConfig, b5 as ColorModeForApp, 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, ac 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, ad as FontAxisConfig, p as FontConfig, bo as FontCssVar, ae as FontDeclarationConfig, o as FontDeclarationItemConfig, af 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, bw as FontWeightDescriptive, ag as FontWeightForFont, bx as FontWeightNumeric, by as FontWidthConfig, bz as ForegroundColor, bA as ForegroundPalette, bB as ForegroundPaletteAlias, bC as GlobalDefaultsConfig, bD as HighContrastMode, H as Hue, d as HueStep, aa as ICON_BUTTON_CSS_VAR_MAP, T as ICON_SIZE_PREFIX, I as IconButtonClassMap, bE as IconButtonClassName, bF as IconButtonConfig, bG as IconButtonDefaultsConfig, bH as IconButtonSize, bI as IconSizeConfig, bJ as ImageStyleProps, bK as InputSize, a2 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bL as LayoutStyleProps, bM as LetterSpacing, bN as LineClampAlias, bO as LineColor, bP as LineHeight, bQ as LineHeightConfig, bR as LinePalette, bS as LinePaletteAlias, a1 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bT as Modes, s as MotionConfig, bU as MotionCssVar, bV as MotionSpringConfig, r as MotionSpringConfigOptions, M as MotionVariant, q as MotionVariantSpeed, bW as MotionVariantValues, bX as Overflow, ab as PSEUDO_STYLE_SELECTOR_MAP, bY as Palette, e as PaletteConfig, P as PaletteType, bZ as PaletteValue, b_ as Pixels, b$ as PlatformMode, c0 as Position, c1 as PropertyToPaletteAliasMap, c2 as RadioSize, c3 as RadioValue, c4 as RadioVariant, c5 as RegionMode, c6 as Rems, a0 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, c7 as ScaleConfig, c8 as ScaleEffectMap, S as ScaleMode, c9 as ScaleModeConfig, ca as ScaleModeForApp, cb as ShadowColor, cc as ShadowColorConfig, cd as ShadowConfig, ce as ShadowOffset, cf as ShadowOpacity, cg as ShadowPalette, ch as ShadowPaletteAlias, f as ShadowPreset, ci as ShadowSpreadRadius, cj as ShadowStyleProps, t as ShadowType, ck as ShadowTypeConfig, cl as ShadowVariant, cm as ShadowVariantConfig, cn as ShadowVariantInvert, co as ShadowVariantWithInvert, cp as SharedPaletteAlias, m as SpacingAlias, cq as SpacingConfig, cr as SpacingStyleProps, cs as SpectrumColor, ct as SpectrumConfig, cu as StateStyleProps, cv as StyleProps, cw as SwitchSize, a8 as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cG as TShirtSize, cH as TShirtSizeCommon, cx as TextDecorationLine, cy as TextProperty, cz as TextStyleProps, cA as TextTransform, cB as TextTransformConfig, cC as TextVariant, cD as TransitionDelay, cE as TransitionDuration, cF as TransitionTiming, cI as TypographyConfig, cJ as TypographyResponsiveProperty, cK as TypographyStyle, cL as TypographyStyleProperty, cM as TypographyUnitValue, E as UDS_PREFIX, cN as UdsCssVar, cO as Unitless, cP as UniversalAvatarIconProps, cQ as UniversalAvatarImageProps, cR as UniversalAvatarProps, cS as UniversalAvatarTextProps, cT as UniversalBadgeProps, g as UniversalBoxProps, cU as UniversalButtonProps, cV as UniversalCheckboxProps, cW as UniversalChipBaseProps, cX as UniversalChipButtonProps, cY as UniversalChipDismissibleProps, cZ as UniversalChipLinkProps, c_ as UniversalChipProps, c$ as UniversalChipToggleProps, i as UniversalDividerProps, d0 as UniversalIconButtonProps, d1 as UniversalIconProps, d2 as UniversalImageProps, U as UniversalInputProps, n as UniversalMenuItemProps, a as UniversalPressableProps, d3 as UniversalRadioGroupProps, d4 as UniversalRadioProps, d5 as UniversalSwitchProps, b as UniversalTokensConfig, d6 as UniversalTokensConfigAuto, 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-kxTkQgcG.js';
|
6
6
|
import * as react from 'react';
|
7
7
|
import { PropsWithChildren, Ref, Dispatch, SetStateAction } from 'react';
|
8
|
-
import { I as InputProps } from './Input-
|
8
|
+
import { I as InputProps } from './Input-CqWvnTE2.js';
|
9
9
|
export { Avatar, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarText, AvatarTextProps, Badge, BadgeProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipButton, ChipButtonProps, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipToggle, ChipToggleProps, IconButton, IconButtonProps, Input, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
|
10
10
|
export { AllSelectors, BaseSelector, CssStyleObject, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, ParentVariantSelector, button, cartesianProduct, coalesceConfigVariant, defaultTokensConfig, entries, fontWeightMap, fromEntries, generateKeyFromFlatConfigPath, generateSchemaKey, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getDefaultButtonBaseMap, isConfigDefaultValue, mapValues, parseButtonVariantFlat, parseDeprecatedButtonPaletteVariant, setConfigPseudoStateVariable, shadow, variants } from './tokens/index.js';
|
11
11
|
export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.js';
|
12
|
-
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, 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-
|
12
|
+
export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, 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-CAFGK7nu.js';
|
13
13
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
14
14
|
import 'motion/react';
|
15
15
|
import 'type-fest';
|
@@ -304,6 +304,7 @@ declare const getStylesInternal: (props?: ({
|
|
304
304
|
menuItemCheckboxVariantEndIcon?: "default" | undefined;
|
305
305
|
menuDividerVariantRoot?: "default" | undefined;
|
306
306
|
menuDividerVariantText?: "default" | undefined;
|
307
|
+
menuDividerVariantLine?: "default" | undefined;
|
307
308
|
switchVariantActiveRoot?: "on" | "off" | undefined;
|
308
309
|
switchVariantRoot?: "default" | undefined;
|
309
310
|
switchVariantActiveSwitch?: "on" | "off" | undefined;
|
@@ -387,8 +388,8 @@ declare const getStylesInternal: (props?: ({
|
|
387
388
|
badgeSizeIcon?: "sm" | "md" | "xs" | "lg" | undefined;
|
388
389
|
badgeVariantRoot?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
389
390
|
badgeVariantIcon?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | undefined;
|
390
|
-
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
391
|
-
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
391
|
+
color?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
392
|
+
placeholderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "on-color" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
392
393
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "serif" | "sans" | "mono" | "sans-alt" | "serif-alt" | undefined;
|
393
394
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
|
394
395
|
fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "thin" | "black" | "extralight" | "light" | "regular" | "medium" | "semibold" | "bold" | "extrabold" | undefined;
|
@@ -411,24 +412,24 @@ declare const getStylesInternal: (props?: ({
|
|
411
412
|
offsetTop?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
412
413
|
columnGap?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
413
414
|
rowGap?: "0" | "1" | "2" | "5" | "8" | "0.5" | "4" | "1.5" | "7" | "12" | "6" | "10" | "16" | "3" | "2.5" | "3.5" | "9" | "11" | "14" | "px" | "4.5" | "5.5" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
414
|
-
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
415
|
-
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
416
|
-
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
417
|
-
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
418
|
-
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
419
|
-
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "
|
415
|
+
backgroundColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
416
|
+
borderColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
417
|
+
borderStartColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
418
|
+
borderEndColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
419
|
+
borderBottomColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
420
|
+
borderTopColor?: "primary" | "secondary" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "tertiary" | "muted" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
|
420
421
|
borderRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
421
422
|
borderTopStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
422
423
|
borderTopEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
423
424
|
borderBottomStartRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
424
425
|
borderBottomEndRadius?: "sm" | "md" | "xs" | "lg" | "xl" | "none" | "full" | undefined;
|
425
|
-
borderWidth?: "
|
426
|
-
borderVerticalWidth?: "
|
427
|
-
borderHorizontalWidth?: "
|
428
|
-
borderStartWidth?: "
|
429
|
-
borderEndWidth?: "
|
430
|
-
borderTopWidth?: "
|
431
|
-
borderBottomWidth?: "
|
426
|
+
borderWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
427
|
+
borderVerticalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
428
|
+
borderHorizontalWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
429
|
+
borderStartWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
430
|
+
borderEndWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
431
|
+
borderTopWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
432
|
+
borderBottomWidth?: "thin" | "none" | "medium" | "thick" | undefined;
|
432
433
|
avatarSize?: "sm" | "md" | "xs" | "lg" | "xl" | undefined;
|
433
434
|
iconSize?: "sm" | "md" | "xs" | "lg" | undefined;
|
434
435
|
alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
|
package/dist/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export{FormLabel,Image,InputHelpTextMemo as InputHelpText}from"./chunk-
|
1
|
+
export{FormLabel,Image,InputHelpTextMemo as InputHelpText}from"./chunk-W4KK6R6C.js";import{DividerInternal as e}from"./chunk-M5SXYW4O.js";import{getStyles as t,cx as a,IconSlot as n}from"./chunk-37LEXEW4.js";export{Box,HStack,Icon,Text,VStack,cva,cx,getStyles}from"./chunk-37LEXEW4.js";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,defaultTokensConfig,defaultUniversalTokensConfigAuto,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-MSCQUXK7.js";export{entries,mapValues}from"./chunk-EWJ3J526.js";export{variants}from"./chunk-NYAQO47N.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,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,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-N4FHPR6Q.js";import{forwardRef as o,useMemo as r}from"react";import{jsx as i,jsxs as E}from"react/jsx-runtime";export{Avatar,AvatarIcon,AvatarImage,AvatarText,Badge,Button,Checkbox,Chip,ChipButton,ChipDismissible,ChipLink,ChipToggle,IconButton,Input,Menu,Pressable,Radio,RadioGroupProvider,SpringMotionConfig,Switch}from"@yahoo/uds/client";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var _=o((function(t,a){return i(e,{ref:a,...t})}));_.displayName="Divider";var s=o((function({variant:e="primary",textVariant:o,startIcon:_,endIcon:s,alwaysUnderline:S=!1,children:C,className:A,...c},l){const L=!o,O=r((()=>{const n=!L&&t({linkTextStyleRoot:o,fontSize:o,fontFamily:o,fontWeight:o,lineHeight:o,textTransform:o});return t({linkVariantRoot:e,display:"inline-flex",alignItems:"center",className:a(n,"uds-ring",S&&"underline",A)})}),[S,L,o,e,A]),f=t({linkVariantIconStart:e,linkTextStyleIcon:o,className:a(L&&"w-[0.7em] h-[0.7em]")}),g=t({linkVariantIconEnd:e,linkTextStyleIcon:o,className:a(L&&"w-[0.7em] h-[0.7em]")}),M={variant:"outline",color:"current"};return E("a",{ref:l,className:O,...c,children:[_&&i(n,{className:f,icon:_,iconProps:M,"data-testid":"start-icon"}),C,s&&i(n,{className:g,icon:s,iconProps:M,"data-testid":"end-icon"})]})}));s.displayName="Link";export{_ as Divider,s as Link};
|