@yahoo/uds 3.25.0-beta.1 → 3.25.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.
Files changed (87) hide show
  1. package/dist/{Box-D40ThLwg.d.cts → Box-CouKR1pl.d.cts} +2 -1
  2. package/dist/{Box-D40ThLwg.d.ts → Box-CouKR1pl.d.ts} +2 -1
  3. package/dist/{Input-CcAlUSAm.d.cts → Input-5x_Bch_x.d.cts} +1 -1
  4. package/dist/{Input-BpkMUfOK.d.ts → Input-CVDpcAkp.d.ts} +1 -1
  5. package/dist/Input-DJfPVf8I.d.ts +42 -0
  6. package/dist/Input-SVFCm2-R.d.cts +42 -0
  7. package/dist/{Pressable-DRtbbkXl.d.cts → Pressable-CDbmcxLt.d.cts} +1 -1
  8. package/dist/Pressable-m_sv0HMg.d.cts +44 -0
  9. package/dist/{Pressable-DpinF-ju.d.ts → Pressable-trAf4c-r.d.ts} +1 -1
  10. package/dist/Pressable-yxOo1z8k.d.ts +44 -0
  11. package/dist/{VStack-CkFg0T5-.d.ts → VStack-4CtETvki.d.ts} +1 -1
  12. package/dist/{VStack-0AR7Lz9X.d.cts → VStack-bOIbaF2s.d.ts} +1 -1
  13. package/dist/VStack-qhf-0xC-.d.cts +112 -0
  14. package/dist/VStack-yfLSxcq7.d.cts +112 -0
  15. package/dist/chunk-4M2P4LLQ.cjs +2 -0
  16. package/dist/chunk-5JTRBHDY.js +1 -0
  17. package/dist/{chunk-XFDHMRHM.js → chunk-6GGVQHQA.js} +1 -1
  18. package/dist/{chunk-PTNBQ4FC.js → chunk-6OYEOKIQ.js} +1 -1
  19. package/dist/{chunk-P745RD2W.js → chunk-7NF4SALL.js} +1 -1
  20. package/dist/chunk-B7P2T5TA.js +2 -0
  21. package/dist/chunk-CUEYWH44.js +3 -0
  22. package/dist/{chunk-JEJPTRZE.cjs → chunk-D5IGLZBA.cjs} +1 -1
  23. package/dist/{chunk-VURXJH35.cjs → chunk-DIQXKFF2.cjs} +1 -1
  24. package/dist/chunk-FJTS2N3Y.js +1 -0
  25. package/dist/chunk-FPPZ2KPV.cjs +1 -0
  26. package/dist/{chunk-XAVF5FDT.cjs → chunk-H4S3CGC2.cjs} +1 -1
  27. package/dist/{chunk-GEIJKIRH.cjs → chunk-IVSKGAFB.cjs} +1 -1
  28. package/dist/chunk-J3PI3MDO.cjs +1 -0
  29. package/dist/{chunk-VLJ4KJC6.js → chunk-KNDHLLAW.js} +3 -3
  30. package/dist/chunk-MXJLTECV.js +2 -0
  31. package/dist/chunk-NSWOPWQR.cjs +1 -0
  32. package/dist/chunk-OA2H66LM.cjs +1 -0
  33. package/dist/{chunk-VZSADIMF.cjs → chunk-OGHG2IRY.cjs} +3 -3
  34. package/dist/{chunk-B7ZWZDQ7.js → chunk-Q45KOXQO.js} +1 -1
  35. package/dist/{chunk-5S45DC7H.js → chunk-SLM5GWFB.js} +1 -1
  36. package/dist/chunk-U2WBVOKD.cjs +1 -0
  37. package/dist/{chunk-DJ6N7Y4P.cjs → chunk-VJTVQTQR.cjs} +1 -1
  38. package/dist/chunk-VLSZCRVK.cjs +3 -0
  39. package/dist/chunk-Y7Y2FWDC.js +1 -0
  40. package/dist/chunk-ZPJKP4RI.js +1 -0
  41. package/dist/client/Menu.cjs +2 -2
  42. package/dist/client/Menu.d.cts +3 -9
  43. package/dist/client/Menu.d.ts +3 -9
  44. package/dist/client/Menu.js +2 -2
  45. package/dist/client/index.cjs +1 -1
  46. package/dist/client/index.d.cts +3 -3
  47. package/dist/client/index.d.ts +3 -3
  48. package/dist/client/index.js +1 -1
  49. package/dist/defaultTokensConfig.d.cts +2 -2
  50. package/dist/defaultTokensConfig.d.ts +2 -2
  51. package/dist/experimental/client/SwitchV2.cjs +1 -1
  52. package/dist/experimental/client/SwitchV2.d.cts +1 -1
  53. package/dist/experimental/client/SwitchV2.d.ts +1 -1
  54. package/dist/experimental/client/SwitchV2.js +1 -2
  55. package/dist/experimental/client/index.cjs +1 -1
  56. package/dist/experimental/client/index.d.cts +1 -1
  57. package/dist/experimental/client/index.d.ts +1 -1
  58. package/dist/experimental/client/index.js +1 -1
  59. package/dist/experimental/index.d.cts +1 -1
  60. package/dist/experimental/index.d.ts +1 -1
  61. package/dist/{index-BPSgxa-M.d.cts → index-BCX-qXiV.d.cts} +1 -1
  62. package/dist/index-BMY4Sp6F.d.ts +245 -0
  63. package/dist/{index-sNMLQ454.d.ts → index-DSkGYiu-.d.ts} +1 -1
  64. package/dist/index-Obtar5vA.d.cts +245 -0
  65. package/dist/index.cjs +1 -1
  66. package/dist/index.d.cts +6 -6
  67. package/dist/index.d.ts +6 -6
  68. package/dist/index.js +1 -1
  69. package/dist/metafile-cjs.json +1 -1
  70. package/dist/metafile-esm.json +1 -1
  71. package/dist/tailwind/plugin.d.cts +1 -1
  72. package/dist/tailwind/plugin.d.ts +1 -1
  73. package/dist/tailwind/utils.d.cts +1 -1
  74. package/dist/tailwind/utils.d.ts +1 -1
  75. package/dist/tokens/automation/configs.d.cts +2 -2
  76. package/dist/tokens/automation/configs.d.ts +2 -2
  77. package/dist/tokens/automation/properties.d.cts +2 -2
  78. package/dist/tokens/automation/properties.d.ts +2 -2
  79. package/dist/tokens/index.d.cts +4 -4
  80. package/dist/tokens/index.d.ts +4 -4
  81. package/dist/tokens/parseTokens.d.cts +1 -1
  82. package/dist/tokens/parseTokens.d.ts +1 -1
  83. package/dist/{types-DdH3vByQ.d.cts → types-4sGXptUx.d.cts} +1843 -1842
  84. package/dist/{types-DdH3vByQ.d.ts → types-4sGXptUx.d.ts} +1843 -1842
  85. package/dist/types-DeLSF8f4.d.cts +10466 -0
  86. package/dist/types-DeLSF8f4.d.ts +10466 -0
  87. package/package.json +1 -1
@@ -0,0 +1,245 @@
1
+ import * as properties from '@yahoo/uds/fixtures';
2
+ import { l as ShadowPreset, f as UniversalTokensConfig } from './types-4sGXptUx.js';
3
+
4
+ type DispatchContext = {
5
+ componentName: string;
6
+ subComponentName?: string;
7
+ propertyKey: string;
8
+ layer: string;
9
+ };
10
+ interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
11
+ name: string;
12
+ cssProperties: string | string[];
13
+ twThemePath: (selected: T, value: string) => string;
14
+ possibleFixtures: T[];
15
+ extendedProperties?: ExtendablePropertiesName[] | ((context: DispatchContext) => ExtendablePropertiesName[] | undefined | false);
16
+ customValueRenderer?: (schemaStateValue: SchemaStateValue<CVR>, schema: unknown, themeGetter: (path: string) => string) => string;
17
+ concatenate?: boolean;
18
+ concatenationDelimiter?: string;
19
+ }
20
+ declare const publicProperties: {
21
+ readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
22
+ readonly borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
23
+ readonly borderRadius: ConfigurableProperty<"borderRadii", unknown>;
24
+ readonly borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
25
+ readonly fontFamily: ConfigurableProperty<"textVariants", unknown>;
26
+ readonly fontSize: ConfigurableProperty<"textVariants", unknown>;
27
+ readonly fontVariationSettings: ConfigurableProperty<"textVariants", unknown>;
28
+ readonly lineHeight: ConfigurableProperty<"textVariants", unknown>;
29
+ readonly textTransform: ConfigurableProperty<"textVariants", unknown>;
30
+ readonly padding: ConfigurableProperty<"spacingAliases", unknown>;
31
+ readonly gap: ConfigurableProperty<"spacingAliases", unknown>;
32
+ readonly color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
33
+ readonly fontWeight: ConfigurableProperty<"textVariants", unknown>;
34
+ readonly iconSize: ConfigurableProperty<"iconSizes", unknown>;
35
+ readonly spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
36
+ readonly spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
37
+ readonly textVariant: ConfigurableProperty<"textVariants", unknown>;
38
+ readonly textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
39
+ readonly shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
40
+ readonly insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
41
+ readonly height: ConfigurableProperty<"spacingAliases", unknown>;
42
+ readonly width: ConfigurableProperty<"spacingAliases", unknown>;
43
+ };
44
+ declare const configurableProperties: {
45
+ outlineWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
46
+ outlineColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
47
+ insetOutlineOffset: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
48
+ solidOutline: ConfigurableProperty<never, unknown>;
49
+ backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
50
+ borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
51
+ borderRadius: ConfigurableProperty<"borderRadii", unknown>;
52
+ borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
53
+ fontFamily: ConfigurableProperty<"textVariants", unknown>;
54
+ fontSize: ConfigurableProperty<"textVariants", unknown>;
55
+ fontVariationSettings: ConfigurableProperty<"textVariants", unknown>;
56
+ lineHeight: ConfigurableProperty<"textVariants", unknown>;
57
+ textTransform: ConfigurableProperty<"textVariants", unknown>;
58
+ padding: ConfigurableProperty<"spacingAliases", unknown>;
59
+ gap: ConfigurableProperty<"spacingAliases", unknown>;
60
+ color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
61
+ fontWeight: ConfigurableProperty<"textVariants", unknown>;
62
+ iconSize: ConfigurableProperty<"iconSizes", unknown>;
63
+ spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
64
+ spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
65
+ textVariant: ConfigurableProperty<"textVariants", unknown>;
66
+ textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
67
+ shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
68
+ insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
69
+ height: ConfigurableProperty<"spacingAliases", unknown>;
70
+ width: ConfigurableProperty<"spacingAliases", unknown>;
71
+ };
72
+ type ExtendablePropertiesName = keyof typeof configurableProperties;
73
+ type ConfigurablePropertiesName = keyof typeof publicProperties;
74
+ interface SelectedConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof publicProperties)[C]['possibleFixtures'] = (typeof publicProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]> {
75
+ label: string;
76
+ name: C;
77
+ typeOfFixture: T;
78
+ values: V;
79
+ pseudoStates?: PossibleStates[];
80
+ supportsCustom?: boolean;
81
+ defaults: {
82
+ [K in O]: V[number][number];
83
+ };
84
+ }
85
+
86
+ type AllPossibleProperties = Exclude<keyof typeof properties, 'iconButtonClassNames' | 'iconButtonSize' | 'iconButtonStates' | 'buttonClassNames' | 'buttonColorProperties' | 'buttonIconSvgSize' | 'buttonKinds' | 'buttonMotionEffects' | 'buttonMotionProperties' | 'buttonPalettes' | 'buttonSizeProperties' | 'buttonSizes' | 'buttonStates' | 'buttonVariants'> | 'shadowVariantConfig';
87
+ type PossibleStates = 'hover' | 'pressed' | 'focused' | 'invalid' | 'focus-within' | 'focused-keyboard' | 'visited' | 'readonly' | 'disabled' | 'invalid&hover' | 'invalid&pressed';
88
+ type PossibleStatesWithRest = 'rest' | PossibleStates;
89
+ interface LayerConfig {
90
+ label: string;
91
+ properties: Readonly<Record<string, SelectedConfigurableProperty<ConfigurablePropertiesName, string>>>;
92
+ pseudoSelector?: string;
93
+ }
94
+ interface ComponentStateConfig {
95
+ label: string;
96
+ options: string[];
97
+ layers: {
98
+ root: LayerConfig;
99
+ } & Record<string, LayerConfig>;
100
+ }
101
+ interface SubComponentConfig {
102
+ label: string;
103
+ description: string;
104
+ overrideComponentName?: string;
105
+ variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
106
+ }
107
+ interface VariantConfig<O extends string = string> {
108
+ label: string;
109
+ description: string;
110
+ isConfigurable: boolean;
111
+ default: O;
112
+ options: readonly O[];
113
+ }
114
+ interface VariantConfigWithProperties<O extends string = string> extends VariantConfig<O> {
115
+ layers: {
116
+ root: LayerConfig;
117
+ } & Record<string, LayerConfig>;
118
+ }
119
+ interface VariantConfigWithComponentStates<O extends string = string> extends VariantConfig<O> {
120
+ componentStates?: Readonly<Record<string, ComponentStateConfig>>;
121
+ }
122
+ interface ComponentConfig {
123
+ label: string;
124
+ description: string;
125
+ overrideComponentName?: string;
126
+ subComponents?: Record<string, SubComponentConfig>;
127
+ variants?: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
128
+ }
129
+ type AutoComponents = Omit<UniversalTokensConfig, 'colorMode' | 'font' | 'scaleMode' | 'version' | 'motion' | 'button' | 'iconButton' | 'shadow' | 'breakpoints' | 'typography' | 'globalDefaults'>;
130
+ type AutoComponentName = keyof AutoComponents;
131
+ type AllVariantKeys = {
132
+ [K in keyof AutoComponents]: {
133
+ [V in keyof AutoComponents[K]['defaults']]: V;
134
+ }[keyof AutoComponents[K]['defaults']];
135
+ }[keyof AutoComponents];
136
+
137
+ type ThemeFn = (path: string) => string;
138
+ type SchemaStateValue<T = any> = {
139
+ type: string;
140
+ valueType: 'alias' | 'custom';
141
+ value: T;
142
+ };
143
+ declare const statePseudoMapDocsMode: Record<PossibleStates | 'rest', string>;
144
+ declare function findFixtureType(property: SelectedConfigurableProperty<ConfigurablePropertiesName, string>, variantKey: string): string;
145
+ declare function toMinimalDbConfigObject<C extends ComponentConfig>(config: C): any;
146
+ declare function generateClassName({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, }: {
147
+ componentName: string;
148
+ variantKey: string;
149
+ variantValue?: string;
150
+ layer: string;
151
+ layerOptionalPseudoSelector?: string;
152
+ subComponentName?: string;
153
+ stateKey?: string;
154
+ stateValue?: string;
155
+ }): string;
156
+ declare function generateDeclaration({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, schema, propertyKey, originalPropertyDefinition, theme, currentStyles, previewOptions, }: {
157
+ componentName: string;
158
+ variantKey: string;
159
+ variantValue: string;
160
+ layer: string;
161
+ layerOptionalPseudoSelector?: string;
162
+ subComponentName?: string;
163
+ stateKey?: string;
164
+ stateValue?: string;
165
+ schema: unknown;
166
+ propertyKey: string;
167
+ originalPropertyDefinition: SelectedConfigurableProperty<ConfigurablePropertiesName, any>;
168
+ theme: ThemeFn;
169
+ currentStyles: Readonly<Record<string, Record<string, string>>>;
170
+ previewOptions?: {
171
+ generatePseudoStateClassModifier?: boolean;
172
+ forcePseudoState?: boolean;
173
+ };
174
+ }): Record<string, Record<string, string>>;
175
+ declare function generateStyles<C extends ComponentConfig>(config: C, schema: any, theme: ThemeFn, previewOptions?: {
176
+ generatePseudoStateClassModifier: boolean;
177
+ forcePseudoState: boolean;
178
+ }): Record<string, Record<string, string>>;
179
+ declare function createConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof configurableProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]>(prop: {
180
+ name: C;
181
+ typeOfFixture: T;
182
+ values: V;
183
+ defaults: {
184
+ [K in O]: V[number][number];
185
+ };
186
+ label: string;
187
+ pseudoStates?: PossibleStates[];
188
+ supportsCustom?: boolean;
189
+ }): SelectedConfigurableProperty<C, O, T, V>;
190
+ /**
191
+ * @deprecated use the new functions instead
192
+ */
193
+ declare function createVariantConfig<O extends string, T extends Record<string, SelectedConfigurableProperty<ConfigurablePropertiesName, O>>>(config: {
194
+ label: string;
195
+ description: string;
196
+ isConfigurable: boolean;
197
+ default: O;
198
+ options: readonly O[];
199
+ properties: T;
200
+ }): VariantConfig<O>;
201
+ declare function createComponentStateConfig(config: {
202
+ label: string;
203
+ options: string[];
204
+ layers: {
205
+ root: LayerConfig;
206
+ } & Record<string, LayerConfig>;
207
+ }): ComponentStateConfig;
208
+ declare function createVariantConfigWithProperties(config: {
209
+ label: string;
210
+ description: string;
211
+ isConfigurable: boolean;
212
+ default: string;
213
+ options: readonly string[];
214
+ layers: {
215
+ root: LayerConfig;
216
+ } & Record<string, LayerConfig>;
217
+ }): VariantConfigWithProperties;
218
+ declare function createVariantConfigWithComponentStates(config: {
219
+ label: string;
220
+ description: string;
221
+ isConfigurable: boolean;
222
+ default: string;
223
+ options: readonly string[];
224
+ componentStates: Record<string, ComponentStateConfig>;
225
+ }): VariantConfigWithComponentStates;
226
+ declare function createComponentStates(config: {
227
+ label: string;
228
+ options: string[];
229
+ layers: {
230
+ root: LayerConfig;
231
+ } & Record<string, LayerConfig>;
232
+ }): ComponentStateConfig;
233
+ declare function createLayerConfig(config: {
234
+ label: string;
235
+ pseudoSelector?: string;
236
+ properties: Readonly<Record<string, SelectedConfigurableProperty<ConfigurablePropertiesName, string>>>;
237
+ }): LayerConfig;
238
+ declare function createSubComponentConfig(config: {
239
+ label: string;
240
+ description: string;
241
+ overrideComponentName?: string;
242
+ variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
243
+ }): SubComponentConfig;
244
+
245
+ export { type AllPossibleProperties as A, type ConfigurablePropertiesName as C, type ExtendablePropertiesName as E, type LayerConfig as L, type PossibleStates as P, type SelectedConfigurableProperty as S, type VariantConfig as V, type PossibleStatesWithRest as a, type ComponentStateConfig as b, configurableProperties as c, type SubComponentConfig as d, type VariantConfigWithProperties as e, type VariantConfigWithComponentStates as f, type ComponentConfig as g, type AutoComponents as h, type AutoComponentName as i, type AllVariantKeys as j, type SchemaStateValue as k, findFixtureType as l, generateClassName as m, generateDeclaration as n, generateStyles as o, createConfigurableProperty as p, createVariantConfig as q, createComponentStateConfig as r, statePseudoMapDocsMode as s, toMinimalDbConfigObject as t, createVariantConfigWithProperties as u, createVariantConfigWithComponentStates as v, createComponentStates as w, createLayerConfig as x, createSubComponentConfig as y };
@@ -1,5 +1,5 @@
1
1
  import * as properties from '@yahoo/uds/fixtures';
2
- import { l as ShadowPreset, f as UniversalTokensConfig } from './types-DdH3vByQ.js';
2
+ import { l as ShadowPreset, f as UniversalTokensConfig } from './types-DeLSF8f4.js';
3
3
 
4
4
  type DispatchContext = {
5
5
  componentName: string;
@@ -0,0 +1,245 @@
1
+ import * as properties from '@yahoo/uds/fixtures';
2
+ import { l as ShadowPreset, f as UniversalTokensConfig } from './types-4sGXptUx.cjs';
3
+
4
+ type DispatchContext = {
5
+ componentName: string;
6
+ subComponentName?: string;
7
+ propertyKey: string;
8
+ layer: string;
9
+ };
10
+ interface ConfigurableProperty<T extends AllPossibleProperties, CVR = unknown> {
11
+ name: string;
12
+ cssProperties: string | string[];
13
+ twThemePath: (selected: T, value: string) => string;
14
+ possibleFixtures: T[];
15
+ extendedProperties?: ExtendablePropertiesName[] | ((context: DispatchContext) => ExtendablePropertiesName[] | undefined | false);
16
+ customValueRenderer?: (schemaStateValue: SchemaStateValue<CVR>, schema: unknown, themeGetter: (path: string) => string) => string;
17
+ concatenate?: boolean;
18
+ concatenationDelimiter?: string;
19
+ }
20
+ declare const publicProperties: {
21
+ readonly backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
22
+ readonly borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
23
+ readonly borderRadius: ConfigurableProperty<"borderRadii", unknown>;
24
+ readonly borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
25
+ readonly fontFamily: ConfigurableProperty<"textVariants", unknown>;
26
+ readonly fontSize: ConfigurableProperty<"textVariants", unknown>;
27
+ readonly fontVariationSettings: ConfigurableProperty<"textVariants", unknown>;
28
+ readonly lineHeight: ConfigurableProperty<"textVariants", unknown>;
29
+ readonly textTransform: ConfigurableProperty<"textVariants", unknown>;
30
+ readonly padding: ConfigurableProperty<"spacingAliases", unknown>;
31
+ readonly gap: ConfigurableProperty<"spacingAliases", unknown>;
32
+ readonly color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
33
+ readonly fontWeight: ConfigurableProperty<"textVariants", unknown>;
34
+ readonly iconSize: ConfigurableProperty<"iconSizes", unknown>;
35
+ readonly spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
36
+ readonly spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
37
+ readonly textVariant: ConfigurableProperty<"textVariants", unknown>;
38
+ readonly textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
39
+ readonly shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
40
+ readonly insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
41
+ readonly height: ConfigurableProperty<"spacingAliases", unknown>;
42
+ readonly width: ConfigurableProperty<"spacingAliases", unknown>;
43
+ };
44
+ declare const configurableProperties: {
45
+ outlineWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
46
+ outlineColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
47
+ insetOutlineOffset: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
48
+ solidOutline: ConfigurableProperty<never, unknown>;
49
+ backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
50
+ borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
51
+ borderRadius: ConfigurableProperty<"borderRadii", unknown>;
52
+ borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
53
+ fontFamily: ConfigurableProperty<"textVariants", unknown>;
54
+ fontSize: ConfigurableProperty<"textVariants", unknown>;
55
+ fontVariationSettings: ConfigurableProperty<"textVariants", unknown>;
56
+ lineHeight: ConfigurableProperty<"textVariants", unknown>;
57
+ textTransform: ConfigurableProperty<"textVariants", unknown>;
58
+ padding: ConfigurableProperty<"spacingAliases", unknown>;
59
+ gap: ConfigurableProperty<"spacingAliases", unknown>;
60
+ color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
61
+ fontWeight: ConfigurableProperty<"textVariants", unknown>;
62
+ iconSize: ConfigurableProperty<"iconSizes", unknown>;
63
+ spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
64
+ spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
65
+ textVariant: ConfigurableProperty<"textVariants", unknown>;
66
+ textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
67
+ shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
68
+ insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
69
+ height: ConfigurableProperty<"spacingAliases", unknown>;
70
+ width: ConfigurableProperty<"spacingAliases", unknown>;
71
+ };
72
+ type ExtendablePropertiesName = keyof typeof configurableProperties;
73
+ type ConfigurablePropertiesName = keyof typeof publicProperties;
74
+ interface SelectedConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof publicProperties)[C]['possibleFixtures'] = (typeof publicProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]> {
75
+ label: string;
76
+ name: C;
77
+ typeOfFixture: T;
78
+ values: V;
79
+ pseudoStates?: PossibleStates[];
80
+ supportsCustom?: boolean;
81
+ defaults: {
82
+ [K in O]: V[number][number];
83
+ };
84
+ }
85
+
86
+ type AllPossibleProperties = Exclude<keyof typeof properties, 'iconButtonClassNames' | 'iconButtonSize' | 'iconButtonStates' | 'buttonClassNames' | 'buttonColorProperties' | 'buttonIconSvgSize' | 'buttonKinds' | 'buttonMotionEffects' | 'buttonMotionProperties' | 'buttonPalettes' | 'buttonSizeProperties' | 'buttonSizes' | 'buttonStates' | 'buttonVariants'> | 'shadowVariantConfig';
87
+ type PossibleStates = 'hover' | 'pressed' | 'focused' | 'invalid' | 'focus-within' | 'focused-keyboard' | 'visited' | 'readonly' | 'disabled' | 'invalid&hover' | 'invalid&pressed';
88
+ type PossibleStatesWithRest = 'rest' | PossibleStates;
89
+ interface LayerConfig {
90
+ label: string;
91
+ properties: Readonly<Record<string, SelectedConfigurableProperty<ConfigurablePropertiesName, string>>>;
92
+ pseudoSelector?: string;
93
+ }
94
+ interface ComponentStateConfig {
95
+ label: string;
96
+ options: string[];
97
+ layers: {
98
+ root: LayerConfig;
99
+ } & Record<string, LayerConfig>;
100
+ }
101
+ interface SubComponentConfig {
102
+ label: string;
103
+ description: string;
104
+ overrideComponentName?: string;
105
+ variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
106
+ }
107
+ interface VariantConfig<O extends string = string> {
108
+ label: string;
109
+ description: string;
110
+ isConfigurable: boolean;
111
+ default: O;
112
+ options: readonly O[];
113
+ }
114
+ interface VariantConfigWithProperties<O extends string = string> extends VariantConfig<O> {
115
+ layers: {
116
+ root: LayerConfig;
117
+ } & Record<string, LayerConfig>;
118
+ }
119
+ interface VariantConfigWithComponentStates<O extends string = string> extends VariantConfig<O> {
120
+ componentStates?: Readonly<Record<string, ComponentStateConfig>>;
121
+ }
122
+ interface ComponentConfig {
123
+ label: string;
124
+ description: string;
125
+ overrideComponentName?: string;
126
+ subComponents?: Record<string, SubComponentConfig>;
127
+ variants?: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
128
+ }
129
+ type AutoComponents = Omit<UniversalTokensConfig, 'colorMode' | 'font' | 'scaleMode' | 'version' | 'motion' | 'button' | 'iconButton' | 'shadow' | 'breakpoints' | 'typography' | 'globalDefaults'>;
130
+ type AutoComponentName = keyof AutoComponents;
131
+ type AllVariantKeys = {
132
+ [K in keyof AutoComponents]: {
133
+ [V in keyof AutoComponents[K]['defaults']]: V;
134
+ }[keyof AutoComponents[K]['defaults']];
135
+ }[keyof AutoComponents];
136
+
137
+ type ThemeFn = (path: string) => string;
138
+ type SchemaStateValue<T = any> = {
139
+ type: string;
140
+ valueType: 'alias' | 'custom';
141
+ value: T;
142
+ };
143
+ declare const statePseudoMapDocsMode: Record<PossibleStates | 'rest', string>;
144
+ declare function findFixtureType(property: SelectedConfigurableProperty<ConfigurablePropertiesName, string>, variantKey: string): string;
145
+ declare function toMinimalDbConfigObject<C extends ComponentConfig>(config: C): any;
146
+ declare function generateClassName({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, }: {
147
+ componentName: string;
148
+ variantKey: string;
149
+ variantValue?: string;
150
+ layer: string;
151
+ layerOptionalPseudoSelector?: string;
152
+ subComponentName?: string;
153
+ stateKey?: string;
154
+ stateValue?: string;
155
+ }): string;
156
+ declare function generateDeclaration({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, schema, propertyKey, originalPropertyDefinition, theme, currentStyles, previewOptions, }: {
157
+ componentName: string;
158
+ variantKey: string;
159
+ variantValue: string;
160
+ layer: string;
161
+ layerOptionalPseudoSelector?: string;
162
+ subComponentName?: string;
163
+ stateKey?: string;
164
+ stateValue?: string;
165
+ schema: unknown;
166
+ propertyKey: string;
167
+ originalPropertyDefinition: SelectedConfigurableProperty<ConfigurablePropertiesName, any>;
168
+ theme: ThemeFn;
169
+ currentStyles: Readonly<Record<string, Record<string, string>>>;
170
+ previewOptions?: {
171
+ generatePseudoStateClassModifier?: boolean;
172
+ forcePseudoState?: boolean;
173
+ };
174
+ }): Record<string, Record<string, string>>;
175
+ declare function generateStyles<C extends ComponentConfig>(config: C, schema: any, theme: ThemeFn, previewOptions?: {
176
+ generatePseudoStateClassModifier: boolean;
177
+ forcePseudoState: boolean;
178
+ }): Record<string, Record<string, string>>;
179
+ declare function createConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof configurableProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]>(prop: {
180
+ name: C;
181
+ typeOfFixture: T;
182
+ values: V;
183
+ defaults: {
184
+ [K in O]: V[number][number];
185
+ };
186
+ label: string;
187
+ pseudoStates?: PossibleStates[];
188
+ supportsCustom?: boolean;
189
+ }): SelectedConfigurableProperty<C, O, T, V>;
190
+ /**
191
+ * @deprecated use the new functions instead
192
+ */
193
+ declare function createVariantConfig<O extends string, T extends Record<string, SelectedConfigurableProperty<ConfigurablePropertiesName, O>>>(config: {
194
+ label: string;
195
+ description: string;
196
+ isConfigurable: boolean;
197
+ default: O;
198
+ options: readonly O[];
199
+ properties: T;
200
+ }): VariantConfig<O>;
201
+ declare function createComponentStateConfig(config: {
202
+ label: string;
203
+ options: string[];
204
+ layers: {
205
+ root: LayerConfig;
206
+ } & Record<string, LayerConfig>;
207
+ }): ComponentStateConfig;
208
+ declare function createVariantConfigWithProperties(config: {
209
+ label: string;
210
+ description: string;
211
+ isConfigurable: boolean;
212
+ default: string;
213
+ options: readonly string[];
214
+ layers: {
215
+ root: LayerConfig;
216
+ } & Record<string, LayerConfig>;
217
+ }): VariantConfigWithProperties;
218
+ declare function createVariantConfigWithComponentStates(config: {
219
+ label: string;
220
+ description: string;
221
+ isConfigurable: boolean;
222
+ default: string;
223
+ options: readonly string[];
224
+ componentStates: Record<string, ComponentStateConfig>;
225
+ }): VariantConfigWithComponentStates;
226
+ declare function createComponentStates(config: {
227
+ label: string;
228
+ options: string[];
229
+ layers: {
230
+ root: LayerConfig;
231
+ } & Record<string, LayerConfig>;
232
+ }): ComponentStateConfig;
233
+ declare function createLayerConfig(config: {
234
+ label: string;
235
+ pseudoSelector?: string;
236
+ properties: Readonly<Record<string, SelectedConfigurableProperty<ConfigurablePropertiesName, string>>>;
237
+ }): LayerConfig;
238
+ declare function createSubComponentConfig(config: {
239
+ label: string;
240
+ description: string;
241
+ overrideComponentName?: string;
242
+ variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
243
+ }): SubComponentConfig;
244
+
245
+ export { type AllPossibleProperties as A, type ConfigurablePropertiesName as C, type ExtendablePropertiesName as E, type LayerConfig as L, type PossibleStates as P, type SelectedConfigurableProperty as S, type VariantConfig as V, type PossibleStatesWithRest as a, type ComponentStateConfig as b, configurableProperties as c, type SubComponentConfig as d, type VariantConfigWithProperties as e, type VariantConfigWithComponentStates as f, type ComponentConfig as g, type AutoComponents as h, type AutoComponentName as i, type AllVariantKeys as j, type SchemaStateValue as k, findFixtureType as l, generateClassName as m, generateDeclaration as n, generateStyles as o, createConfigurableProperty as p, createVariantConfig as q, createComponentStateConfig as r, statePseudoMapDocsMode as s, toMinimalDbConfigObject as t, createVariantConfigWithProperties as u, createVariantConfigWithComponentStates as v, createComponentStates as w, createLayerConfig as x, createSubComponentConfig as y };
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var e=require("./chunk-VURXJH35.cjs"),t=require("./chunk-XAVF5FDT.cjs"),r=require("./chunk-GEIJKIRH.cjs"),n=require("./chunk-JEJPTRZE.cjs"),o=require("./chunk-VZSADIMF.cjs"),i=require("./chunk-SAYTLQ3L.cjs"),u=require("./chunk-J7PUOUXC.cjs"),a=require("./chunk-Y6CC5AJU.cjs"),c=require("./chunk-HFSPK2LG.cjs"),f=require("react"),p=require("react/jsx-runtime"),b=require("@yahoo/uds/client"),s=f.forwardRef(function(e,r){return p.jsx(t.DividerInternal,{ref:r,...e})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */s.displayName="Divider";var O=f.forwardRef(function({variant:e="primary",textVariant:t,startIcon:r,endIcon:n,alwaysUnderline:i=!1,children:u,className:a,...c},b){const s=!t,O=f.useMemo(()=>{const r=!s&&o.getStyles({linkTextStyleRoot:t,fontSize:t,fontFamily:t,fontWeight:t,lineHeight:t,textTransform:t});return o.getStyles({linkVariantRoot:e,display:"inline-flex",alignItems:"center",className:o.cx(r,"uds-ring",i&&"underline",a)})},[i,s,t,e,a]),g=o.getStyles({linkVariantIconStart:e,linkTextStyleIcon:t,className:o.cx(s&&"w-[0.7em] h-[0.7em]")}),l=o.getStyles({linkVariantIconEnd:e,linkTextStyleIcon:t,className:o.cx(s&&"w-[0.7em] h-[0.7em]")}),P={variant:"outline",color:"current"};return p.jsxs("a",{ref:b,className:O,...c,children:[r&&p.jsx(o.IconSlot,{className:g,icon:r,iconProps:P,"data-testid":"start-icon"}),u,n&&p.jsx(o.IconSlot,{className:l,icon:n,iconProps:P,"data-testid":"end-icon"})]})});O.displayName="Link",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,"HStack",{enumerable:!0,get:function(){return r.HStack}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return r.VStack}}),Object.defineProperty(exports,"FormLabel",{enumerable:!0,get:function(){return n.FormLabel}}),Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return o.Box}}),Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return o.Icon}}),Object.defineProperty(exports,"Text",{enumerable:!0,get:function(){return o.Text}}),Object.defineProperty(exports,"cva",{enumerable:!0,get:function(){return o.cva}}),Object.defineProperty(exports,"cx",{enumerable:!0,get:function(){return o.cx}}),Object.defineProperty(exports,"getStyles",{enumerable:!0,get:function(){return o.getStyles}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return i.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return i.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return i.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return i.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return i.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return i.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return i.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return i.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return i.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return i.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return i.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return i.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return i.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return i.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return i.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return i.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return i.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return i.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return i.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return i.createVariantConfigWithProperties}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return i.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return i.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return i.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return i.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return i.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return i.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return i.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return i.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return i.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return i.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return i.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return i.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return i.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return i.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return i.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return i.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return i.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return i.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return i.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return i.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return i.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return i.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return i.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return i.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return i.toMinimalDbConfigObject}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return u.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return u.mapValues}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return a.variants}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return c.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return c.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return c.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return c.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return c.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return c.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return c.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return c.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return c.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return c.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return c.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return c.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return c.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return c.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return c.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_CLASSNAME",{enumerable:!0,get:function(){return c.TEXT_RESPONSIVE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return c.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return c.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XXXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return b.Avatar}}),Object.defineProperty(exports,"AvatarIcon",{enumerable:!0,get:function(){return b.AvatarIcon}}),Object.defineProperty(exports,"AvatarImage",{enumerable:!0,get:function(){return b.AvatarImage}}),Object.defineProperty(exports,"AvatarText",{enumerable:!0,get:function(){return b.AvatarText}}),Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return b.Badge}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function(){return b.Button}}),Object.defineProperty(exports,"Checkbox",{enumerable:!0,get:function(){return b.Checkbox}}),Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return b.Chip}}),Object.defineProperty(exports,"ChipButton",{enumerable:!0,get:function(){return b.ChipButton}}),Object.defineProperty(exports,"ChipDismissible",{enumerable:!0,get:function(){return b.ChipDismissible}}),Object.defineProperty(exports,"ChipLink",{enumerable:!0,get:function(){return b.ChipLink}}),Object.defineProperty(exports,"ChipToggle",{enumerable:!0,get:function(){return b.ChipToggle}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return b.IconButton}}),Object.defineProperty(exports,"Input",{enumerable:!0,get:function(){return b.Input}}),Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return b.Menu}}),Object.defineProperty(exports,"Pressable",{enumerable:!0,get:function(){return b.Pressable}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return b.Radio}}),Object.defineProperty(exports,"RadioGroupProvider",{enumerable:!0,get:function(){return b.RadioGroupProvider}}),Object.defineProperty(exports,"SpringMotionConfig",{enumerable:!0,get:function(){return b.SpringMotionConfig}}),Object.defineProperty(exports,"Switch",{enumerable:!0,get:function(){return b.Switch}}),exports.Divider=s,exports.Link=O;
1
+ "use strict";var e=require("./chunk-FPPZ2KPV.cjs"),t=require("./chunk-J3PI3MDO.cjs"),r=require("./chunk-NSWOPWQR.cjs"),n=require("./chunk-D5IGLZBA.cjs"),o=require("./chunk-OGHG2IRY.cjs"),i=require("./chunk-SAYTLQ3L.cjs"),u=require("./chunk-J7PUOUXC.cjs"),a=require("./chunk-Y6CC5AJU.cjs"),c=require("./chunk-HFSPK2LG.cjs"),f=require("react"),p=require("react/jsx-runtime"),b=require("@yahoo/uds/client"),s=f.forwardRef(function(e,r){return p.jsx(t.DividerInternal,{ref:r,...e})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */s.displayName="Divider";var O=f.forwardRef(function({variant:e="primary",textVariant:t,startIcon:r,endIcon:n,alwaysUnderline:i=!1,children:u,className:a,...c},b){const s=!t,O=f.useMemo(()=>{const r=!s&&o.getStyles({linkTextStyleRoot:t,fontSize:t,fontFamily:t,fontWeight:t,lineHeight:t,textTransform:t});return o.getStyles({linkVariantRoot:e,display:"inline-flex",alignItems:"center",className:o.cx(r,"uds-ring",i&&"underline",a)})},[i,s,t,e,a]),g=o.getStyles({linkVariantIconStart:e,linkTextStyleIcon:t,className:o.cx(s&&"w-[0.7em] h-[0.7em]")}),l=o.getStyles({linkVariantIconEnd:e,linkTextStyleIcon:t,className:o.cx(s&&"w-[0.7em] h-[0.7em]")}),P={variant:"outline",color:"current"};return p.jsxs("a",{ref:b,className:O,...c,children:[r&&p.jsx(o.IconSlot,{className:g,icon:r,iconProps:P,"data-testid":"start-icon"}),u,n&&p.jsx(o.IconSlot,{className:l,icon:n,iconProps:P,"data-testid":"end-icon"})]})});O.displayName="Link",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,"HStack",{enumerable:!0,get:function(){return r.HStack}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return r.VStack}}),Object.defineProperty(exports,"FormLabel",{enumerable:!0,get:function(){return n.FormLabel}}),Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return o.Box}}),Object.defineProperty(exports,"Icon",{enumerable:!0,get:function(){return o.Icon}}),Object.defineProperty(exports,"Text",{enumerable:!0,get:function(){return o.Text}}),Object.defineProperty(exports,"cva",{enumerable:!0,get:function(){return o.cva}}),Object.defineProperty(exports,"cx",{enumerable:!0,get:function(){return o.cx}}),Object.defineProperty(exports,"getStyles",{enumerable:!0,get:function(){return o.getStyles}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return i.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return i.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return i.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return i.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return i.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return i.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return i.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return i.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return i.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return i.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return i.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return i.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return i.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return i.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return i.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return i.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return i.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return i.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return i.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return i.createVariantConfigWithProperties}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return i.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return i.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return i.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return i.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return i.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return i.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return i.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return i.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return i.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return i.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return i.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return i.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return i.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return i.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return i.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return i.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return i.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return i.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return i.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return i.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return i.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return i.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return i.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return i.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return i.toMinimalDbConfigObject}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return u.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return u.mapValues}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return a.variants}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return c.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return c.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return c.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return c.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return c.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return c.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return c.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return c.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return c.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return c.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return c.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return c.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return c.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return c.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return c.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"TEXT_RESPONSIVE_CLASSNAME",{enumerable:!0,get:function(){return c.TEXT_RESPONSIVE_CLASSNAME}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return c.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return c.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.XXXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return b.Avatar}}),Object.defineProperty(exports,"AvatarIcon",{enumerable:!0,get:function(){return b.AvatarIcon}}),Object.defineProperty(exports,"AvatarImage",{enumerable:!0,get:function(){return b.AvatarImage}}),Object.defineProperty(exports,"AvatarText",{enumerable:!0,get:function(){return b.AvatarText}}),Object.defineProperty(exports,"Badge",{enumerable:!0,get:function(){return b.Badge}}),Object.defineProperty(exports,"Button",{enumerable:!0,get:function(){return b.Button}}),Object.defineProperty(exports,"Checkbox",{enumerable:!0,get:function(){return b.Checkbox}}),Object.defineProperty(exports,"Chip",{enumerable:!0,get:function(){return b.Chip}}),Object.defineProperty(exports,"ChipButton",{enumerable:!0,get:function(){return b.ChipButton}}),Object.defineProperty(exports,"ChipDismissible",{enumerable:!0,get:function(){return b.ChipDismissible}}),Object.defineProperty(exports,"ChipLink",{enumerable:!0,get:function(){return b.ChipLink}}),Object.defineProperty(exports,"ChipToggle",{enumerable:!0,get:function(){return b.ChipToggle}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function(){return b.IconButton}}),Object.defineProperty(exports,"Input",{enumerable:!0,get:function(){return b.Input}}),Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return b.Menu}}),Object.defineProperty(exports,"Pressable",{enumerable:!0,get:function(){return b.Pressable}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return b.Radio}}),Object.defineProperty(exports,"RadioGroupProvider",{enumerable:!0,get:function(){return b.RadioGroupProvider}}),Object.defineProperty(exports,"SpringMotionConfig",{enumerable:!0,get:function(){return b.SpringMotionConfig}}),Object.defineProperty(exports,"Switch",{enumerable:!0,get:function(){return b.Switch}}),exports.Divider=s,exports.Link=O;
package/dist/index.d.cts CHANGED
@@ -1,15 +1,15 @@
1
- import { a as DivProps } from './VStack-0AR7Lz9X.cjs';
2
- export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-0AR7Lz9X.cjs';
1
+ import { a as DivProps } from './VStack-yfLSxcq7.cjs';
2
+ export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-yfLSxcq7.cjs';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { y as UniversalFormLabelProps, n as UniversalStackProps, z as IconPropsWithSVGProps, A as ImagePropsWithImgProps, D as UniversalIconSlot, E as UniversalLinkProps, J as UniversalTextProps } from './types-DdH3vByQ.cjs';
5
- export { N as AVATAR_SIZE_PREFIX, am as AlwaysPalette, an as AlwaysPaletteAlias, ao as AlwaysPaletteColor, ap as Animation, aq as AriaAttribute, ar as AvatarAbbreviationStrategy, as as AvatarShape, at as AvatarSize, au as AvatarSizeConfig, av as AvatarVariant, O as BORDER_RADIUS_PREFIX, Q as BORDER_WIDTH_PREFIX, ae as BUTTON_CSS_VAR_MAP, aw as BackgroundColor, ax as BackgroundPalette, ay as BackgroundPaletteAlias, az as BackgroundStyleProps, aA as BadgeSize, aB as BadgeVariant, aC as BorderRadius, aD as BorderRadiusConfig, aE as BorderStyleProps, aF as BorderWidth, aG as BorderWidthConfig, aH as Breakpoint, d as BreakpointsConfig, aI as ButtonBaseConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, B as ButtonConfig, aN as ButtonKind, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aR as ButtonPalette, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b0 as ButtonVariant, b1 as ButtonVariantConfig, b2 as ButtonVariantFlat, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, g as ColorMode, C as ColorModeConfig, b8 as ColorModeForApp, h as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, a2 as DARK_COLOR_MODE_CLASSNAME, ab as DEFAULT_COLOR_MODE_CLASSNAME, ac as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, ah as FONT_DECLARATIONS_MAP, R as FONT_FAMILY_PREFIX, V as FONT_SIZE_PREFIX, X as FONT_SLANT_PREFIX, W as FONT_WEIGHT_PREFIX, Y as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ai as FontAxisConfig, F as FontConfig, br as FontCssVar, aj as FontDeclarationConfig, w as FontDeclarationItemConfig, ak as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, v as FontID, bu as FontSize, bv as FontSizeConfig, bw as FontSlantConfig, bx as FontType, by as FontWeightConfig, bz as FontWeightDescriptive, al as FontWeightForFont, bA as FontWeightNumeric, bB as FontWidthConfig, bC as ForegroundColor, bD as ForegroundPalette, bE as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bF as HighContrastMode, H as Hue, i as HueStep, af as ICON_BUTTON_CSS_VAR_MAP, Z as ICON_SIZE_PREFIX, q as IconButtonClassMap, bG as IconButtonClassName, I as IconButtonConfig, bH as IconButtonDefaultsConfig, bI as IconButtonSize, bJ as IconSizeConfig, bK as ImageStyleProps, bL as InputSize, a7 as LARGE_SCALE_MODE_CLASSNAME, a3 as LIGHT_COLOR_MODE_CLASSNAME, _ as LINE_HEIGHT_PREFIX, bM as LayoutStyleProps, bN as LetterSpacing, bO as LineClampAlias, bP as LineColor, bQ as LineHeight, bR as LineHeightConfig, bS as LinePalette, bT as LinePaletteAlias, a6 as MEDIUM_SCALE_MODE_CLASSNAME, $ as MOTION_PREFIX, bU as Modes, M as MotionConfig, bV as MotionCssVar, bW as MotionSpringConfig, bX as MotionSpringConfigOptions, bY as MotionVariant, bZ as MotionVariantSpeed, b_ as MotionVariantValues, b$ as Overflow, ag as PSEUDO_STYLE_SELECTOR_MAP, c0 as Palette, j as PaletteConfig, P as PaletteType, c1 as PaletteValue, c2 as Pixels, c3 as PlatformMode, c4 as Position, c5 as PropertyToPaletteAliasMap, c6 as RadioSize, c7 as RadioValue, c8 as RadioVariant, c9 as RegionMode, ca as Rems, a5 as SMALL_SCALE_MODE_CLASSNAME, a0 as SPECTRUM_COLOR_PREFIX, cb as ScaleConfig, cc as ScaleEffectMap, k as ScaleMode, S as ScaleModeConfig, cd as ScaleModeForApp, ce as ShadowColor, cf as ShadowColorConfig, c as ShadowConfig, cg as ShadowOffset, ch as ShadowOpacity, ci as ShadowPalette, cj as ShadowPaletteAlias, l as ShadowPreset, ck as ShadowSpreadRadius, cl as ShadowStyleProps, x as ShadowType, cm as ShadowTypeConfig, cn as ShadowVariant, co as ShadowVariantConfig, cp as ShadowVariantInvert, cq as ShadowVariantWithInvert, cr as SharedPaletteAlias, t as SpacingAlias, cs as SpacingConfig, ct as SpacingStyleProps, cu as SpectrumColor, cv as SpectrumConfig, cw as StateStyleProps, cx as StyleProps, cy as SwitchSize, ad as TEXT_RESPONSIVE_CLASSNAME, a1 as TEXT_TRANSFORM_PREFIX, cI as TShirtSize, cJ as TShirtSizeCommon, cz as TextDecorationLine, cA as TextProperty, cB as TextStyleProps, cC as TextTransform, cD as TextTransformConfig, cE as TextVariant, cF as TransitionDelay, cG as TransitionDuration, cH as TransitionTiming, T as TypographyConfig, cK as TypographyResponsiveProperty, cL as TypographyStyle, cM as TypographyStyleProperty, cN as TypographyUnitValue, L as UDS_PREFIX, cO as UdsCssVar, cP as Unitless, cQ as UniversalAvatarIconProps, cR as UniversalAvatarImageProps, cS as UniversalAvatarProps, cT as UniversalAvatarTextProps, cU as UniversalBadgeProps, m as UniversalBoxProps, cV as UniversalButtonProps, cW as UniversalCheckboxProps, cX as UniversalChipBaseProps, cY as UniversalChipButtonProps, cZ as UniversalChipDismissibleProps, c_ as UniversalChipLinkProps, c$ as UniversalChipProps, d0 as UniversalChipToggleProps, o as UniversalDividerProps, d1 as UniversalIconButtonProps, d2 as UniversalIconProps, d3 as UniversalImageProps, U as UniversalInputProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d4 as UniversalRadioGroupProps, d5 as UniversalRadioProps, b as UniversalSwitchProps, f as UniversalTokensConfig, d6 as UniversalTokensConfigAuto, a8 as XLARGE_SCALE_MODE_CLASSNAME, a4 as XSMALL_SCALE_MODE_CLASSNAME, a9 as XXLARGE_SCALE_MODE_CLASSNAME, aa as XXXLARGE_SCALE_MODE_CLASSNAME, K as alwaysPalette } from './types-DdH3vByQ.cjs';
4
+ import { y as UniversalFormLabelProps, n as UniversalStackProps, z as IconPropsWithSVGProps, A as ImagePropsWithImgProps, D as UniversalIconSlot, E as UniversalLinkProps, J as UniversalTextProps } from './types-DeLSF8f4.cjs';
5
+ export { N as AVATAR_SIZE_PREFIX, am as AlwaysPalette, an as AlwaysPaletteAlias, ao as AlwaysPaletteColor, ap as Animation, aq as AriaAttribute, ar as AvatarAbbreviationStrategy, as as AvatarShape, at as AvatarSize, au as AvatarSizeConfig, av as AvatarVariant, O as BORDER_RADIUS_PREFIX, Q as BORDER_WIDTH_PREFIX, ae as BUTTON_CSS_VAR_MAP, aw as BackgroundColor, ax as BackgroundPalette, ay as BackgroundPaletteAlias, az as BackgroundStyleProps, aA as BadgeSize, aB as BadgeVariant, aC as BorderRadius, aD as BorderRadiusConfig, aE as BorderStyleProps, aF as BorderWidth, aG as BorderWidthConfig, aH as Breakpoint, d as BreakpointsConfig, aI as ButtonBaseConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, B as ButtonConfig, aN as ButtonKind, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aR as ButtonPalette, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b0 as ButtonVariant, b1 as ButtonVariantConfig, b2 as ButtonVariantFlat, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, g as ColorMode, C as ColorModeConfig, b8 as ColorModeForApp, h as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, a2 as DARK_COLOR_MODE_CLASSNAME, ab as DEFAULT_COLOR_MODE_CLASSNAME, ac as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, ah as FONT_DECLARATIONS_MAP, R as FONT_FAMILY_PREFIX, V as FONT_SIZE_PREFIX, X as FONT_SLANT_PREFIX, W as FONT_WEIGHT_PREFIX, Y as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ai as FontAxisConfig, F as FontConfig, br as FontCssVar, aj as FontDeclarationConfig, w as FontDeclarationItemConfig, ak as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, v as FontID, bu as FontSize, bv as FontSizeConfig, bw as FontSlantConfig, bx as FontType, by as FontWeightConfig, bz as FontWeightDescriptive, al as FontWeightForFont, bA as FontWeightNumeric, bB as FontWidthConfig, bC as ForegroundColor, bD as ForegroundPalette, bE as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bF as HighContrastMode, H as Hue, i as HueStep, af as ICON_BUTTON_CSS_VAR_MAP, Z as ICON_SIZE_PREFIX, q as IconButtonClassMap, bG as IconButtonClassName, I as IconButtonConfig, bH as IconButtonDefaultsConfig, bI as IconButtonSize, bJ as IconSizeConfig, bK as IconSlotRenderProps, bL as ImageStyleProps, bM as InputSize, a7 as LARGE_SCALE_MODE_CLASSNAME, a3 as LIGHT_COLOR_MODE_CLASSNAME, _ as LINE_HEIGHT_PREFIX, bN as LayoutStyleProps, bO as LetterSpacing, bP as LineClampAlias, bQ as LineColor, bR as LineHeight, bS as LineHeightConfig, bT as LinePalette, bU as LinePaletteAlias, a6 as MEDIUM_SCALE_MODE_CLASSNAME, $ as MOTION_PREFIX, bV as Modes, M as MotionConfig, bW as MotionCssVar, bX as MotionSpringConfig, bY as MotionSpringConfigOptions, bZ as MotionVariant, b_ as MotionVariantSpeed, b$ as MotionVariantValues, c0 as Overflow, ag as PSEUDO_STYLE_SELECTOR_MAP, c1 as Palette, j as PaletteConfig, P as PaletteType, c2 as PaletteValue, c3 as Pixels, c4 as PlatformMode, c5 as Position, c6 as PropertyToPaletteAliasMap, c7 as RadioSize, c8 as RadioValue, c9 as RadioVariant, ca as RegionMode, cb as Rems, a5 as SMALL_SCALE_MODE_CLASSNAME, a0 as SPECTRUM_COLOR_PREFIX, cc as ScaleConfig, cd as ScaleEffectMap, k as ScaleMode, S as ScaleModeConfig, ce as ScaleModeForApp, cf as ShadowColor, cg as ShadowColorConfig, c as ShadowConfig, ch as ShadowOffset, ci as ShadowOpacity, cj as ShadowPalette, ck as ShadowPaletteAlias, l as ShadowPreset, cl as ShadowSpreadRadius, cm as ShadowStyleProps, x as ShadowType, cn as ShadowTypeConfig, co as ShadowVariant, cp as ShadowVariantConfig, cq as ShadowVariantInvert, cr as ShadowVariantWithInvert, cs as SharedPaletteAlias, t as SpacingAlias, ct as SpacingConfig, cu as SpacingStyleProps, cv as SpectrumColor, cw as SpectrumConfig, cx as StateStyleProps, cy as StyleProps, cz as SwitchSize, ad as TEXT_RESPONSIVE_CLASSNAME, a1 as TEXT_TRANSFORM_PREFIX, cJ as TShirtSize, cK as TShirtSizeCommon, cA as TextDecorationLine, cB as TextProperty, cC as TextStyleProps, cD as TextTransform, cE as TextTransformConfig, cF as TextVariant, cG as TransitionDelay, cH as TransitionDuration, cI as TransitionTiming, T as TypographyConfig, cL as TypographyResponsiveProperty, cM as TypographyStyle, cN as TypographyStyleProperty, cO as TypographyUnitValue, L as UDS_PREFIX, cP as UdsCssVar, cQ as Unitless, cR as UniversalAvatarIconProps, cS as UniversalAvatarImageProps, cT as UniversalAvatarProps, cU as UniversalAvatarTextProps, cV as UniversalBadgeProps, m as UniversalBoxProps, cW as UniversalButtonProps, cX as UniversalCheckboxProps, cY as UniversalChipBaseProps, cZ as UniversalChipButtonProps, c_ as UniversalChipDismissibleProps, c$ as UniversalChipLinkProps, d0 as UniversalChipProps, d1 as UniversalChipToggleProps, o as UniversalDividerProps, d2 as UniversalIconButtonProps, d3 as UniversalIconProps, d4 as UniversalImageProps, U as UniversalInputProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d5 as UniversalRadioGroupProps, d6 as UniversalRadioProps, b as UniversalSwitchProps, f as UniversalTokensConfig, d7 as UniversalTokensConfigAuto, a8 as XLARGE_SCALE_MODE_CLASSNAME, a4 as XSMALL_SCALE_MODE_CLASSNAME, a9 as XXLARGE_SCALE_MODE_CLASSNAME, aa as XXXLARGE_SCALE_MODE_CLASSNAME, K as alwaysPalette } from './types-DeLSF8f4.cjs';
6
6
  import * as react from 'react';
7
7
  import { PropsWithChildren, Ref, Dispatch, SetStateAction } from 'react';
8
- import { I as InputProps } from './Input-CcAlUSAm.cjs';
8
+ import { I as InputProps } from './Input-5x_Bch_x.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, 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-BPSgxa-M.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-BCX-qXiV.cjs';
13
13
  export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
14
14
  import 'motion/react';
15
15
  import 'type-fest';