@yahoo/uds 3.29.0 → 3.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/cli/FullWidthClassToProp.mock.tsx +17 -0
  2. package/cli/utils/setupConfigWorker.ts +1 -1
  3. package/dist/{Box-CouKR1pl.d.cts → Box-CurEP3UK.d.cts} +1 -1
  4. package/dist/{Box-CouKR1pl.d.ts → Box-CurEP3UK.d.ts} +1 -1
  5. package/dist/{Input-CBMp-VuY.d.cts → Input-BGoYBWuZ.d.cts} +1 -1
  6. package/dist/{Input-D9t-vjM3.d.ts → Input-CiblUAAn.d.ts} +1 -1
  7. package/dist/Input-DLaDfj3B.d.ts +52 -0
  8. package/dist/Input-kTncRDL-.d.cts +52 -0
  9. package/dist/{Pressable-B500LqEE.d.ts → Pressable-5xZkX31-.d.ts} +1 -1
  10. package/dist/{Pressable-DI5e8NnY.d.cts → Pressable-8ICm6dtF.d.cts} +1 -1
  11. package/dist/Pressable-SWbWgmkV.d.cts +44 -0
  12. package/dist/Pressable-m2P7wcyE.d.ts +44 -0
  13. package/dist/{VStack-DLtu-Guf.d.ts → VStack-CQeeckDq.d.ts} +1 -1
  14. package/dist/{VStack-BaEA8Als.d.cts → VStack-D-kwOQ5o.d.cts} +1 -1
  15. package/dist/VStack-D3EStCcZ.d.cts +112 -0
  16. package/dist/VStack-beHwBAQ7.d.ts +112 -0
  17. package/dist/chunk-33RRPC6G.js +1 -0
  18. package/dist/{chunk-MFKBUDGS.cjs → chunk-3GJTY3MP.cjs} +1 -1
  19. package/dist/chunk-3UTUODQY.js +2 -0
  20. package/dist/{chunk-4TATL4NA.js → chunk-4BN4CQFA.js} +1 -1
  21. package/dist/chunk-4T3G4LC5.js +3 -0
  22. package/dist/chunk-5NN6ZF5W.js +2 -0
  23. package/dist/chunk-66AIQC3S.cjs +1 -0
  24. package/dist/{chunk-5QLOGAR2.js → chunk-C5UZEZC5.js} +2 -2
  25. package/dist/{chunk-PSJE6P6P.js → chunk-CRVISLFX.js} +1 -1
  26. package/dist/chunk-DUNQUPPG.cjs +2 -0
  27. package/dist/chunk-ESXUE7WP.js +1 -0
  28. package/dist/chunk-FN67NTU3.cjs +1 -0
  29. package/dist/{chunk-OPFYCEVK.cjs → chunk-FSOEBCEK.cjs} +1 -1
  30. package/dist/chunk-ISCBDHKR.cjs +1 -0
  31. package/dist/{chunk-UUW2R5LT.cjs → chunk-J26SGETG.cjs} +1 -1
  32. package/dist/chunk-KEXVCU34.js +1 -0
  33. package/dist/{chunk-O7S5KEAK.cjs → chunk-NK26IH6V.cjs} +1 -1
  34. package/dist/chunk-NKIUW3BW.cjs +1 -0
  35. package/dist/{chunk-QYKWQ4AB.js → chunk-PJUO4VUT.js} +1 -1
  36. package/dist/{chunk-LNOHMKXO.cjs → chunk-QAAVGWEA.cjs} +1 -1
  37. package/dist/{chunk-LMWQZOET.cjs → chunk-RA5767I6.cjs} +1 -1
  38. package/dist/{chunk-KB43ONNB.js → chunk-RITOU56N.js} +1 -1
  39. package/dist/{chunk-2YHS4RSB.js → chunk-SA7NIS2O.js} +1 -1
  40. package/dist/chunk-TD6TOMCP.js +1 -0
  41. package/dist/chunk-UDUXWU4B.cjs +3 -0
  42. package/dist/chunk-VGW5FOVC.js +3 -0
  43. package/dist/chunk-WNCWU62A.cjs +1 -0
  44. package/dist/chunk-XFG6EGPL.cjs +1 -0
  45. package/dist/chunk-YLWUR5SE.js +2 -0
  46. package/dist/{chunk-HALPM52S.cjs → chunk-Z5QYFA5P.cjs} +2 -2
  47. package/dist/client/Menu.cjs +2 -2
  48. package/dist/client/Menu.d.cts +3 -3
  49. package/dist/client/Menu.d.ts +3 -3
  50. package/dist/client/Menu.js +2 -2
  51. package/dist/client/index.cjs +1 -1
  52. package/dist/client/index.d.cts +3 -3
  53. package/dist/client/index.d.ts +3 -3
  54. package/dist/client/index.js +1 -1
  55. package/dist/defaultTokensConfig.cjs +1 -1
  56. package/dist/defaultTokensConfig.d.cts +110 -2
  57. package/dist/defaultTokensConfig.d.ts +110 -2
  58. package/dist/defaultTokensConfig.js +1 -1
  59. package/dist/experimental/client/SwitchV2.cjs +2 -1
  60. package/dist/experimental/client/SwitchV2.d.cts +1 -1
  61. package/dist/experimental/client/SwitchV2.d.ts +1 -1
  62. package/dist/experimental/client/SwitchV2.js +2 -1
  63. package/dist/experimental/client/index.cjs +2 -2
  64. package/dist/experimental/client/index.d.cts +1 -1
  65. package/dist/experimental/client/index.d.ts +1 -1
  66. package/dist/experimental/client/index.js +1 -1
  67. package/dist/experimental/index.cjs +3 -3
  68. package/dist/experimental/index.d.cts +1 -1
  69. package/dist/experimental/index.d.ts +1 -1
  70. package/dist/experimental/index.js +1 -1
  71. package/dist/fixtures.cjs +105 -15
  72. package/dist/fixtures.js +105 -15
  73. package/dist/index-B9RNh21D.d.ts +245 -0
  74. package/dist/index-C9DHRmxW.d.cts +245 -0
  75. package/dist/{index-BTQ12rGi.d.ts → index-CbmfLw3M.d.ts} +1 -1
  76. package/dist/{index-D_CfYME6.d.cts → index-D8RcvAUN.d.cts} +1 -1
  77. package/dist/index.cjs +1 -1
  78. package/dist/index.d.cts +13 -13
  79. package/dist/index.d.ts +13 -13
  80. package/dist/index.js +1 -1
  81. package/dist/metafile-cjs.json +1 -1
  82. package/dist/metafile-esm.json +1 -1
  83. package/dist/tailwind/plugin.cjs +1 -1
  84. package/dist/tailwind/plugin.d.cts +3 -3
  85. package/dist/tailwind/plugin.d.ts +3 -3
  86. package/dist/tailwind/plugin.js +2 -2
  87. package/dist/tailwind/purger.cjs +1 -1
  88. package/dist/tailwind/purger.js +1 -1
  89. package/dist/tailwind/tsMorph.cjs +1 -1
  90. package/dist/tailwind/tsMorph.js +1 -1
  91. package/dist/tailwind/utils.cjs +1 -1
  92. package/dist/tailwind/utils.d.cts +1 -1
  93. package/dist/tailwind/utils.d.ts +1 -1
  94. package/dist/tailwind/utils.js +1 -1
  95. package/dist/tokens/automation/configs.cjs +1 -1
  96. package/dist/tokens/automation/configs.d.cts +2 -2
  97. package/dist/tokens/automation/configs.d.ts +2 -2
  98. package/dist/tokens/automation/configs.js +1 -1
  99. package/dist/tokens/automation/properties.cjs +1 -1
  100. package/dist/tokens/automation/properties.d.cts +2 -2
  101. package/dist/tokens/automation/properties.d.ts +2 -2
  102. package/dist/tokens/automation/properties.js +1 -1
  103. package/dist/tokens/index.cjs +1 -1
  104. package/dist/tokens/index.d.cts +46 -4
  105. package/dist/tokens/index.d.ts +46 -4
  106. package/dist/tokens/index.js +1 -1
  107. package/dist/tokens/parseTokens.d.cts +1 -1
  108. package/dist/tokens/parseTokens.d.ts +1 -1
  109. package/dist/{types-CnfsaJXV.d.cts → types-BdTp68BU.d.cts} +1951 -1843
  110. package/dist/{types-CnfsaJXV.d.ts → types-BdTp68BU.d.ts} +1951 -1843
  111. package/dist/types-CLQR8V8k.d.cts +10576 -0
  112. package/dist/types-CLQR8V8k.d.ts +10576 -0
  113. package/package.json +1 -1
  114. package/dist/chunk-6QD6WNT7.js +0 -3
  115. package/dist/chunk-ENYRD5BL.js +0 -2
  116. package/dist/chunk-HK2TEAO3.cjs +0 -1
  117. /package/dist/{chunk-TCFZWULK.js → chunk-2N6GU6KA.js} +0 -0
  118. /package/dist/{chunk-SAYTLQ3L.cjs → chunk-T3NVPMAQ.cjs} +0 -0
@@ -0,0 +1,245 @@
1
+ import * as properties from '@yahoo/uds/fixtures';
2
+ import { m as ShadowPreset, g as UniversalTokensConfig } from './types-BdTp68BU.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 };
@@ -1,5 +1,5 @@
1
1
  import * as properties from '@yahoo/uds/fixtures';
2
- import { m as ShadowPreset, g as UniversalTokensConfig } from './types-CnfsaJXV.js';
2
+ import { m as ShadowPreset, g as UniversalTokensConfig } from './types-CLQR8V8k.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 { m as ShadowPreset, g as UniversalTokensConfig } from './types-CnfsaJXV.cjs';
2
+ import { m as ShadowPreset, g as UniversalTokensConfig } from './types-CLQR8V8k.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-UUW2R5LT.cjs"),t=require("./chunk-MFKBUDGS.cjs"),r=require("./chunk-LNOHMKXO.cjs"),n=require("./chunk-OPFYCEVK.cjs"),o=require("./chunk-HALPM52S.cjs"),i=require("./chunk-SAYTLQ3L.cjs"),u=require("./chunk-J7PUOUXC.cjs"),a=require("./chunk-HK2TEAO3.cjs"),c=require("./chunk-3AYBRPUC.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,"INVERT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.INVERT_COLOR_MODE_CLASSNAME}}),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,"SYSTEM_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.SYSTEM_COLOR_MODE_CLASSNAME}}),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-J26SGETG.cjs"),t=require("./chunk-3GJTY3MP.cjs"),r=require("./chunk-WNCWU62A.cjs"),n=require("./chunk-XFG6EGPL.cjs"),o=require("./chunk-Z5QYFA5P.cjs"),i=require("./chunk-T3NVPMAQ.cjs"),u=require("./chunk-J7PUOUXC.cjs"),a=require("./chunk-66AIQC3S.cjs"),c=require("./chunk-3AYBRPUC.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,"INVERT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.INVERT_COLOR_MODE_CLASSNAME}}),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,"SYSTEM_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.SYSTEM_COLOR_MODE_CLASSNAME}}),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-BaEA8Als.cjs';
2
- export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-BaEA8Als.cjs';
1
+ import { a as DivProps } from './VStack-D-kwOQ5o.cjs';
2
+ export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-D-kwOQ5o.cjs';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { z as UniversalFormLabelProps, o as UniversalStackProps, I as IconPropsWithSVGProps, A as ImagePropsWithImgProps, D as UniversalIconSlot, E as UniversalLinkProps, J as UniversalTextProps } from './types-CnfsaJXV.cjs';
5
- export { N as AVATAR_SIZE_PREFIX, ao as AlwaysPalette, ap as AlwaysPaletteAlias, aq as AlwaysPaletteColor, ar as Animation, as as AriaAttribute, at as AvatarAbbreviationStrategy, au as AvatarShape, av as AvatarSize, aw as AvatarSizeConfig, ax as AvatarVariant, O as BORDER_RADIUS_PREFIX, Q as BORDER_WIDTH_PREFIX, ag as BUTTON_CSS_VAR_MAP, ay as BackgroundColor, az as BackgroundPalette, aA as BackgroundPaletteAlias, aB as BackgroundStyleProps, aC as BadgeSize, aD as BadgeVariant, aE as BorderRadius, aF as BorderRadiusConfig, aG as BorderStyleProps, aH as BorderWidth, aI as BorderWidthConfig, aJ as Breakpoint, e as BreakpointsConfig, aK as ButtonBaseConfig, q as ButtonClassMap, aL as ButtonClassName, aM as ButtonColorConfig, aN as ButtonColorEffect, aO as ButtonColorEffectConfig, s as ButtonColorProperty, t as ButtonColorPropertyConfig, B as ButtonConfig, aP as ButtonKind, aQ as ButtonMotionEffect, aR as ButtonMotionProperty, aS as ButtonMotionPropertyConfig, aT as ButtonPalette, aU as ButtonPaletteColor, aV as ButtonPaletteConfig, aW as ButtonShadowPropertyConfig, aX as ButtonSize, aY as ButtonSizeConfig, aZ as ButtonSizeProperty, a_ as ButtonSpectrumColor, a$ as ButtonState, b0 as ButtonStateConfig, b1 as ButtonStateEffectConfig, b2 as ButtonVariant, b3 as ButtonVariantConfig, b4 as ButtonVariantFlat, b5 as CheckboxSize, b6 as CheckboxValue, b7 as CheckboxVariant, b8 as ChipSize, b9 as ChipVariant, h as ColorMode, C as ColorModeConfig, ba as ColorModeForApp, i as ColorsConfig, bb as ConfigurableDropShadowValues, bc as ConfigurableInsetShadowValues, bd as CustomSizingStyleProps, a2 as DARK_COLOR_MODE_CLASSNAME, ad as DEFAULT_COLOR_MODE_CLASSNAME, ae as DEFAULT_SCALE_MODE_CLASSNAME, be as DataAttribute, bf as Display, bg as DividerVariant, aj 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, bh as Flex, bi as FlexAlignContent, bj as FlexAlignItems, bk as FlexAlignSelf, bl as FlexBasis, bm as FlexDirection, bn as FlexGrow, bo as FlexJustifyContent, bp as FlexShrink, bq as FlexStyleProps, br as FlexWrap, bs as FontAlias, ak as FontAxisConfig, F as FontConfig, bt as FontCssVar, al as FontDeclarationConfig, x as FontDeclarationItemConfig, am as FontDeclarationMap, bu as FontFamilyCDNUrl, bv as FontFamilyConfig, w as FontID, bw as FontSize, bx as FontSizeConfig, by as FontSlantConfig, bz as FontType, bA as FontWeightConfig, bB as FontWeightDescriptive, an as FontWeightForFont, bC as FontWeightNumeric, bD as FontWidthConfig, bE as ForegroundColor, bF as ForegroundPalette, bG as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bH as HighContrastMode, H as Hue, j as HueStep, ah as ICON_BUTTON_CSS_VAR_MAP, Z as ICON_SIZE_PREFIX, a5 as INVERT_COLOR_MODE_CLASSNAME, r as IconButtonClassMap, bI as IconButtonClassName, c as IconButtonConfig, bJ as IconButtonDefaultsConfig, bK as IconButtonSize, bL as IconSizeConfig, bM as IconSlotRenderProps, bN as ImageStyleProps, bO as InputSize, a9 as LARGE_SCALE_MODE_CLASSNAME, a3 as LIGHT_COLOR_MODE_CLASSNAME, _ as LINE_HEIGHT_PREFIX, bP as LayoutStyleProps, bQ as LetterSpacing, bR as LineClampAlias, bS as LineColor, bT as LineHeight, bU as LineHeightConfig, bV as LinePalette, bW as LinePaletteAlias, a8 as MEDIUM_SCALE_MODE_CLASSNAME, $ as MOTION_PREFIX, bX as Modes, M as MotionConfig, bY as MotionCssVar, bZ as MotionSpringConfig, b_ as MotionSpringConfigOptions, b$ as MotionVariant, c0 as MotionVariantSpeed, c1 as MotionVariantValues, c2 as Overflow, ai as PSEUDO_STYLE_SELECTOR_MAP, c3 as Palette, k as PaletteConfig, P as PaletteType, c4 as PaletteValue, c5 as Pixels, c6 as PlatformMode, c7 as Position, c8 as PropertyToPaletteAliasMap, c9 as RadioSize, ca as RadioValue, cb as RadioVariant, cc as RegionMode, cd as Rems, a7 as SMALL_SCALE_MODE_CLASSNAME, a0 as SPECTRUM_COLOR_PREFIX, a4 as SYSTEM_COLOR_MODE_CLASSNAME, ce as ScaleConfig, cf as ScaleEffectMap, l as ScaleMode, S as ScaleModeConfig, cg as ScaleModeForApp, ch as ShadowColor, ci as ShadowColorConfig, d as ShadowConfig, cj as ShadowOffset, ck as ShadowOpacity, cl as ShadowPalette, cm as ShadowPaletteAlias, m as ShadowPreset, cn as ShadowSpreadRadius, co as ShadowStyleProps, y as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, u as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, af as TEXT_RESPONSIVE_CLASSNAME, a1 as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, L as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, n as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, p as UniversalDividerProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalImageProps, U as UniversalInputProps, v as UniversalMenuItemProps, a as UniversalPressableProps, d7 as UniversalRadioGroupProps, d8 as UniversalRadioProps, b as UniversalSwitchProps, g as UniversalTokensConfig, d9 as UniversalTokensConfigAuto, aa as XLARGE_SCALE_MODE_CLASSNAME, a6 as XSMALL_SCALE_MODE_CLASSNAME, ab as XXLARGE_SCALE_MODE_CLASSNAME, ac as XXXLARGE_SCALE_MODE_CLASSNAME, K as alwaysPalette } from './types-CnfsaJXV.cjs';
4
+ import { z as UniversalFormLabelProps, o as UniversalStackProps, I as IconPropsWithSVGProps, A as ImagePropsWithImgProps, D as UniversalIconSlot, E as UniversalLinkProps, J as UniversalTextProps } from './types-CLQR8V8k.cjs';
5
+ export { N as AVATAR_SIZE_PREFIX, ao as AlwaysPalette, ap as AlwaysPaletteAlias, aq as AlwaysPaletteColor, ar as Animation, as as AriaAttribute, at as AvatarAbbreviationStrategy, au as AvatarShape, av as AvatarSize, aw as AvatarSizeConfig, ax as AvatarVariant, O as BORDER_RADIUS_PREFIX, Q as BORDER_WIDTH_PREFIX, ag as BUTTON_CSS_VAR_MAP, ay as BackgroundColor, az as BackgroundPalette, aA as BackgroundPaletteAlias, aB as BackgroundStyleProps, aC as BadgeSize, aD as BadgeVariant, aE as BorderRadius, aF as BorderRadiusConfig, aG as BorderStyleProps, aH as BorderWidth, aI as BorderWidthConfig, aJ as Breakpoint, e as BreakpointsConfig, aK as ButtonBaseConfig, q as ButtonClassMap, aL as ButtonClassName, aM as ButtonColorConfig, aN as ButtonColorEffect, aO as ButtonColorEffectConfig, s as ButtonColorProperty, t as ButtonColorPropertyConfig, B as ButtonConfig, aP as ButtonKind, aQ as ButtonMotionEffect, aR as ButtonMotionProperty, aS as ButtonMotionPropertyConfig, aT as ButtonPalette, aU as ButtonPaletteColor, aV as ButtonPaletteConfig, aW as ButtonShadowPropertyConfig, aX as ButtonSize, aY as ButtonSizeConfig, aZ as ButtonSizeProperty, a_ as ButtonSpectrumColor, a$ as ButtonState, b0 as ButtonStateConfig, b1 as ButtonStateEffectConfig, b2 as ButtonVariant, b3 as ButtonVariantConfig, b4 as ButtonVariantFlat, b5 as CheckboxSize, b6 as CheckboxValue, b7 as CheckboxVariant, b8 as ChipSize, b9 as ChipVariant, h as ColorMode, C as ColorModeConfig, ba as ColorModeForApp, i as ColorsConfig, bb as ConfigurableDropShadowValues, bc as ConfigurableInsetShadowValues, bd as CustomSizingStyleProps, a2 as DARK_COLOR_MODE_CLASSNAME, ad as DEFAULT_COLOR_MODE_CLASSNAME, ae as DEFAULT_SCALE_MODE_CLASSNAME, be as DataAttribute, bf as Display, bg as DividerVariant, aj 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, bh as Flex, bi as FlexAlignContent, bj as FlexAlignItems, bk as FlexAlignSelf, bl as FlexBasis, bm as FlexDirection, bn as FlexGrow, bo as FlexJustifyContent, bp as FlexShrink, bq as FlexStyleProps, br as FlexWrap, bs as FontAlias, ak as FontAxisConfig, F as FontConfig, bt as FontCssVar, al as FontDeclarationConfig, x as FontDeclarationItemConfig, am as FontDeclarationMap, bu as FontFamilyCDNUrl, bv as FontFamilyConfig, w as FontID, bw as FontSize, bx as FontSizeConfig, by as FontSlantConfig, bz as FontType, bA as FontWeightConfig, bB as FontWeightDescriptive, an as FontWeightForFont, bC as FontWeightNumeric, bD as FontWidthConfig, bE as ForegroundColor, bF as ForegroundPalette, bG as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bH as HighContrastMode, H as Hue, j as HueStep, ah as ICON_BUTTON_CSS_VAR_MAP, Z as ICON_SIZE_PREFIX, a5 as INVERT_COLOR_MODE_CLASSNAME, r as IconButtonClassMap, bI as IconButtonClassName, c as IconButtonConfig, bJ as IconButtonDefaultsConfig, bK as IconButtonSize, bL as IconSizeConfig, bM as IconSlotRenderProps, bN as ImageStyleProps, bO as InputSize, a9 as LARGE_SCALE_MODE_CLASSNAME, a3 as LIGHT_COLOR_MODE_CLASSNAME, _ as LINE_HEIGHT_PREFIX, bP as LayoutStyleProps, bQ as LetterSpacing, bR as LineClampAlias, bS as LineColor, bT as LineHeight, bU as LineHeightConfig, bV as LinePalette, bW as LinePaletteAlias, a8 as MEDIUM_SCALE_MODE_CLASSNAME, $ as MOTION_PREFIX, bX as Modes, M as MotionConfig, bY as MotionCssVar, bZ as MotionSpringConfig, b_ as MotionSpringConfigOptions, b$ as MotionVariant, c0 as MotionVariantSpeed, c1 as MotionVariantValues, c2 as Overflow, ai as PSEUDO_STYLE_SELECTOR_MAP, c3 as Palette, k as PaletteConfig, P as PaletteType, c4 as PaletteValue, c5 as Pixels, c6 as PlatformMode, c7 as Position, c8 as PropertyToPaletteAliasMap, c9 as RadioSize, ca as RadioValue, cb as RadioVariant, cc as RegionMode, cd as Rems, a7 as SMALL_SCALE_MODE_CLASSNAME, a0 as SPECTRUM_COLOR_PREFIX, a4 as SYSTEM_COLOR_MODE_CLASSNAME, ce as ScaleConfig, cf as ScaleEffectMap, l as ScaleMode, S as ScaleModeConfig, cg as ScaleModeForApp, ch as ShadowColor, ci as ShadowColorConfig, d as ShadowConfig, cj as ShadowOffset, ck as ShadowOpacity, cl as ShadowPalette, cm as ShadowPaletteAlias, m as ShadowPreset, cn as ShadowSpreadRadius, co as ShadowStyleProps, y as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, u as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, af as TEXT_RESPONSIVE_CLASSNAME, a1 as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, L as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, n as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, p as UniversalDividerProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalImageProps, U as UniversalInputProps, v as UniversalMenuItemProps, a as UniversalPressableProps, d7 as UniversalRadioGroupProps, d8 as UniversalRadioProps, b as UniversalSwitchProps, g as UniversalTokensConfig, d9 as UniversalTokensConfigAuto, aa as XLARGE_SCALE_MODE_CLASSNAME, a6 as XSMALL_SCALE_MODE_CLASSNAME, ab as XXLARGE_SCALE_MODE_CLASSNAME, ac as XXXLARGE_SCALE_MODE_CLASSNAME, K as alwaysPalette } from './types-CLQR8V8k.cjs';
6
6
  import * as react from 'react';
7
7
  import { PropsWithChildren, Ref, Dispatch, SetStateAction } from 'react';
8
- import { I as InputProps } from './Input-CBMp-VuY.cjs';
8
+ import { I as InputProps } from './Input-BGoYBWuZ.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-D_CfYME6.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-D8RcvAUN.cjs';
13
13
  export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
14
14
  import 'motion/react';
15
15
  import 'type-fest';
@@ -383,19 +383,19 @@ declare const getStylesInternal: (props?: ({
383
383
  radioVariantRadioCircle?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
384
384
  radioSizeRoot?: "md" | "sm" | undefined;
385
385
  radioSizeRadio?: "md" | "sm" | undefined;
386
- linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
387
- linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
386
+ linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
387
+ linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
388
388
  linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
389
389
  linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
390
390
  linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
391
391
  color?: "primary" | "secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "on-color" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
392
392
  placeholderColor?: "primary" | "secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "on-color" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
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;
394
- fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
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;
396
- lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
393
+ fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "serif" | "sans" | "mono" | "sans-alt" | "serif-alt" | undefined;
394
+ fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
395
+ fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "thin" | "black" | "extralight" | "light" | "regular" | "medium" | "semibold" | "bold" | "extrabold" | undefined;
396
+ lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
397
397
  textAlign?: "center" | "end" | "start" | "justify" | undefined;
398
- textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
398
+ textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
399
399
  spacing?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
400
400
  spacingHorizontal?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
401
401
  spacingVertical?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { a as DivProps } from './VStack-DLtu-Guf.js';
2
- export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-DLtu-Guf.js';
1
+ import { a as DivProps } from './VStack-CQeeckDq.js';
2
+ export { b as Box, B as BoxProps, c as Divider, D as DividerProps, d as VStack, V as VStackProps } from './VStack-CQeeckDq.js';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { z as UniversalFormLabelProps, o as UniversalStackProps, I as IconPropsWithSVGProps, A as ImagePropsWithImgProps, D as UniversalIconSlot, E as UniversalLinkProps, J as UniversalTextProps } from './types-CnfsaJXV.js';
5
- export { N as AVATAR_SIZE_PREFIX, ao as AlwaysPalette, ap as AlwaysPaletteAlias, aq as AlwaysPaletteColor, ar as Animation, as as AriaAttribute, at as AvatarAbbreviationStrategy, au as AvatarShape, av as AvatarSize, aw as AvatarSizeConfig, ax as AvatarVariant, O as BORDER_RADIUS_PREFIX, Q as BORDER_WIDTH_PREFIX, ag as BUTTON_CSS_VAR_MAP, ay as BackgroundColor, az as BackgroundPalette, aA as BackgroundPaletteAlias, aB as BackgroundStyleProps, aC as BadgeSize, aD as BadgeVariant, aE as BorderRadius, aF as BorderRadiusConfig, aG as BorderStyleProps, aH as BorderWidth, aI as BorderWidthConfig, aJ as Breakpoint, e as BreakpointsConfig, aK as ButtonBaseConfig, q as ButtonClassMap, aL as ButtonClassName, aM as ButtonColorConfig, aN as ButtonColorEffect, aO as ButtonColorEffectConfig, s as ButtonColorProperty, t as ButtonColorPropertyConfig, B as ButtonConfig, aP as ButtonKind, aQ as ButtonMotionEffect, aR as ButtonMotionProperty, aS as ButtonMotionPropertyConfig, aT as ButtonPalette, aU as ButtonPaletteColor, aV as ButtonPaletteConfig, aW as ButtonShadowPropertyConfig, aX as ButtonSize, aY as ButtonSizeConfig, aZ as ButtonSizeProperty, a_ as ButtonSpectrumColor, a$ as ButtonState, b0 as ButtonStateConfig, b1 as ButtonStateEffectConfig, b2 as ButtonVariant, b3 as ButtonVariantConfig, b4 as ButtonVariantFlat, b5 as CheckboxSize, b6 as CheckboxValue, b7 as CheckboxVariant, b8 as ChipSize, b9 as ChipVariant, h as ColorMode, C as ColorModeConfig, ba as ColorModeForApp, i as ColorsConfig, bb as ConfigurableDropShadowValues, bc as ConfigurableInsetShadowValues, bd as CustomSizingStyleProps, a2 as DARK_COLOR_MODE_CLASSNAME, ad as DEFAULT_COLOR_MODE_CLASSNAME, ae as DEFAULT_SCALE_MODE_CLASSNAME, be as DataAttribute, bf as Display, bg as DividerVariant, aj 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, bh as Flex, bi as FlexAlignContent, bj as FlexAlignItems, bk as FlexAlignSelf, bl as FlexBasis, bm as FlexDirection, bn as FlexGrow, bo as FlexJustifyContent, bp as FlexShrink, bq as FlexStyleProps, br as FlexWrap, bs as FontAlias, ak as FontAxisConfig, F as FontConfig, bt as FontCssVar, al as FontDeclarationConfig, x as FontDeclarationItemConfig, am as FontDeclarationMap, bu as FontFamilyCDNUrl, bv as FontFamilyConfig, w as FontID, bw as FontSize, bx as FontSizeConfig, by as FontSlantConfig, bz as FontType, bA as FontWeightConfig, bB as FontWeightDescriptive, an as FontWeightForFont, bC as FontWeightNumeric, bD as FontWidthConfig, bE as ForegroundColor, bF as ForegroundPalette, bG as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bH as HighContrastMode, H as Hue, j as HueStep, ah as ICON_BUTTON_CSS_VAR_MAP, Z as ICON_SIZE_PREFIX, a5 as INVERT_COLOR_MODE_CLASSNAME, r as IconButtonClassMap, bI as IconButtonClassName, c as IconButtonConfig, bJ as IconButtonDefaultsConfig, bK as IconButtonSize, bL as IconSizeConfig, bM as IconSlotRenderProps, bN as ImageStyleProps, bO as InputSize, a9 as LARGE_SCALE_MODE_CLASSNAME, a3 as LIGHT_COLOR_MODE_CLASSNAME, _ as LINE_HEIGHT_PREFIX, bP as LayoutStyleProps, bQ as LetterSpacing, bR as LineClampAlias, bS as LineColor, bT as LineHeight, bU as LineHeightConfig, bV as LinePalette, bW as LinePaletteAlias, a8 as MEDIUM_SCALE_MODE_CLASSNAME, $ as MOTION_PREFIX, bX as Modes, M as MotionConfig, bY as MotionCssVar, bZ as MotionSpringConfig, b_ as MotionSpringConfigOptions, b$ as MotionVariant, c0 as MotionVariantSpeed, c1 as MotionVariantValues, c2 as Overflow, ai as PSEUDO_STYLE_SELECTOR_MAP, c3 as Palette, k as PaletteConfig, P as PaletteType, c4 as PaletteValue, c5 as Pixels, c6 as PlatformMode, c7 as Position, c8 as PropertyToPaletteAliasMap, c9 as RadioSize, ca as RadioValue, cb as RadioVariant, cc as RegionMode, cd as Rems, a7 as SMALL_SCALE_MODE_CLASSNAME, a0 as SPECTRUM_COLOR_PREFIX, a4 as SYSTEM_COLOR_MODE_CLASSNAME, ce as ScaleConfig, cf as ScaleEffectMap, l as ScaleMode, S as ScaleModeConfig, cg as ScaleModeForApp, ch as ShadowColor, ci as ShadowColorConfig, d as ShadowConfig, cj as ShadowOffset, ck as ShadowOpacity, cl as ShadowPalette, cm as ShadowPaletteAlias, m as ShadowPreset, cn as ShadowSpreadRadius, co as ShadowStyleProps, y as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, u as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, af as TEXT_RESPONSIVE_CLASSNAME, a1 as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, L as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, n as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, p as UniversalDividerProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalImageProps, U as UniversalInputProps, v as UniversalMenuItemProps, a as UniversalPressableProps, d7 as UniversalRadioGroupProps, d8 as UniversalRadioProps, b as UniversalSwitchProps, g as UniversalTokensConfig, d9 as UniversalTokensConfigAuto, aa as XLARGE_SCALE_MODE_CLASSNAME, a6 as XSMALL_SCALE_MODE_CLASSNAME, ab as XXLARGE_SCALE_MODE_CLASSNAME, ac as XXXLARGE_SCALE_MODE_CLASSNAME, K as alwaysPalette } from './types-CnfsaJXV.js';
4
+ import { z as UniversalFormLabelProps, o as UniversalStackProps, I as IconPropsWithSVGProps, A as ImagePropsWithImgProps, D as UniversalIconSlot, E as UniversalLinkProps, J as UniversalTextProps } from './types-CLQR8V8k.js';
5
+ export { N as AVATAR_SIZE_PREFIX, ao as AlwaysPalette, ap as AlwaysPaletteAlias, aq as AlwaysPaletteColor, ar as Animation, as as AriaAttribute, at as AvatarAbbreviationStrategy, au as AvatarShape, av as AvatarSize, aw as AvatarSizeConfig, ax as AvatarVariant, O as BORDER_RADIUS_PREFIX, Q as BORDER_WIDTH_PREFIX, ag as BUTTON_CSS_VAR_MAP, ay as BackgroundColor, az as BackgroundPalette, aA as BackgroundPaletteAlias, aB as BackgroundStyleProps, aC as BadgeSize, aD as BadgeVariant, aE as BorderRadius, aF as BorderRadiusConfig, aG as BorderStyleProps, aH as BorderWidth, aI as BorderWidthConfig, aJ as Breakpoint, e as BreakpointsConfig, aK as ButtonBaseConfig, q as ButtonClassMap, aL as ButtonClassName, aM as ButtonColorConfig, aN as ButtonColorEffect, aO as ButtonColorEffectConfig, s as ButtonColorProperty, t as ButtonColorPropertyConfig, B as ButtonConfig, aP as ButtonKind, aQ as ButtonMotionEffect, aR as ButtonMotionProperty, aS as ButtonMotionPropertyConfig, aT as ButtonPalette, aU as ButtonPaletteColor, aV as ButtonPaletteConfig, aW as ButtonShadowPropertyConfig, aX as ButtonSize, aY as ButtonSizeConfig, aZ as ButtonSizeProperty, a_ as ButtonSpectrumColor, a$ as ButtonState, b0 as ButtonStateConfig, b1 as ButtonStateEffectConfig, b2 as ButtonVariant, b3 as ButtonVariantConfig, b4 as ButtonVariantFlat, b5 as CheckboxSize, b6 as CheckboxValue, b7 as CheckboxVariant, b8 as ChipSize, b9 as ChipVariant, h as ColorMode, C as ColorModeConfig, ba as ColorModeForApp, i as ColorsConfig, bb as ConfigurableDropShadowValues, bc as ConfigurableInsetShadowValues, bd as CustomSizingStyleProps, a2 as DARK_COLOR_MODE_CLASSNAME, ad as DEFAULT_COLOR_MODE_CLASSNAME, ae as DEFAULT_SCALE_MODE_CLASSNAME, be as DataAttribute, bf as Display, bg as DividerVariant, aj 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, bh as Flex, bi as FlexAlignContent, bj as FlexAlignItems, bk as FlexAlignSelf, bl as FlexBasis, bm as FlexDirection, bn as FlexGrow, bo as FlexJustifyContent, bp as FlexShrink, bq as FlexStyleProps, br as FlexWrap, bs as FontAlias, ak as FontAxisConfig, F as FontConfig, bt as FontCssVar, al as FontDeclarationConfig, x as FontDeclarationItemConfig, am as FontDeclarationMap, bu as FontFamilyCDNUrl, bv as FontFamilyConfig, w as FontID, bw as FontSize, bx as FontSizeConfig, by as FontSlantConfig, bz as FontType, bA as FontWeightConfig, bB as FontWeightDescriptive, an as FontWeightForFont, bC as FontWeightNumeric, bD as FontWidthConfig, bE as ForegroundColor, bF as ForegroundPalette, bG as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bH as HighContrastMode, H as Hue, j as HueStep, ah as ICON_BUTTON_CSS_VAR_MAP, Z as ICON_SIZE_PREFIX, a5 as INVERT_COLOR_MODE_CLASSNAME, r as IconButtonClassMap, bI as IconButtonClassName, c as IconButtonConfig, bJ as IconButtonDefaultsConfig, bK as IconButtonSize, bL as IconSizeConfig, bM as IconSlotRenderProps, bN as ImageStyleProps, bO as InputSize, a9 as LARGE_SCALE_MODE_CLASSNAME, a3 as LIGHT_COLOR_MODE_CLASSNAME, _ as LINE_HEIGHT_PREFIX, bP as LayoutStyleProps, bQ as LetterSpacing, bR as LineClampAlias, bS as LineColor, bT as LineHeight, bU as LineHeightConfig, bV as LinePalette, bW as LinePaletteAlias, a8 as MEDIUM_SCALE_MODE_CLASSNAME, $ as MOTION_PREFIX, bX as Modes, M as MotionConfig, bY as MotionCssVar, bZ as MotionSpringConfig, b_ as MotionSpringConfigOptions, b$ as MotionVariant, c0 as MotionVariantSpeed, c1 as MotionVariantValues, c2 as Overflow, ai as PSEUDO_STYLE_SELECTOR_MAP, c3 as Palette, k as PaletteConfig, P as PaletteType, c4 as PaletteValue, c5 as Pixels, c6 as PlatformMode, c7 as Position, c8 as PropertyToPaletteAliasMap, c9 as RadioSize, ca as RadioValue, cb as RadioVariant, cc as RegionMode, cd as Rems, a7 as SMALL_SCALE_MODE_CLASSNAME, a0 as SPECTRUM_COLOR_PREFIX, a4 as SYSTEM_COLOR_MODE_CLASSNAME, ce as ScaleConfig, cf as ScaleEffectMap, l as ScaleMode, S as ScaleModeConfig, cg as ScaleModeForApp, ch as ShadowColor, ci as ShadowColorConfig, d as ShadowConfig, cj as ShadowOffset, ck as ShadowOpacity, cl as ShadowPalette, cm as ShadowPaletteAlias, m as ShadowPreset, cn as ShadowSpreadRadius, co as ShadowStyleProps, y as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, u as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, af as TEXT_RESPONSIVE_CLASSNAME, a1 as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, L as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, n as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, p as UniversalDividerProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalImageProps, U as UniversalInputProps, v as UniversalMenuItemProps, a as UniversalPressableProps, d7 as UniversalRadioGroupProps, d8 as UniversalRadioProps, b as UniversalSwitchProps, g as UniversalTokensConfig, d9 as UniversalTokensConfigAuto, aa as XLARGE_SCALE_MODE_CLASSNAME, a6 as XSMALL_SCALE_MODE_CLASSNAME, ab as XXLARGE_SCALE_MODE_CLASSNAME, ac as XXXLARGE_SCALE_MODE_CLASSNAME, K as alwaysPalette } from './types-CLQR8V8k.js';
6
6
  import * as react from 'react';
7
7
  import { PropsWithChildren, Ref, Dispatch, SetStateAction } from 'react';
8
- import { I as InputProps } from './Input-D9t-vjM3.js';
8
+ import { I as InputProps } from './Input-CiblUAAn.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, 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-BTQ12rGi.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-CbmfLw3M.js';
13
13
  export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
14
14
  import 'motion/react';
15
15
  import 'type-fest';
@@ -383,19 +383,19 @@ declare const getStylesInternal: (props?: ({
383
383
  radioVariantRadioCircle?: "primary" | "secondary" | "alert" | "alert-secondary" | undefined;
384
384
  radioSizeRoot?: "md" | "sm" | undefined;
385
385
  radioSizeRadio?: "md" | "sm" | undefined;
386
- linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
387
- linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
386
+ linkTextStyleRoot?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
387
+ linkTextStyleIcon?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
388
388
  linkVariantRoot?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
389
389
  linkVariantIconStart?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
390
390
  linkVariantIconEnd?: "primary" | "secondary" | "tertiary" | "on-color" | undefined;
391
391
  color?: "primary" | "secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "on-color" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
392
392
  placeholderColor?: "primary" | "secondary" | "tertiary" | "muted" | "brand" | "brand-secondary" | "alert" | "alert-secondary" | "warning" | "warning-secondary" | "positive" | "positive-secondary" | "info" | "info-secondary" | "on-color" | "transparent" | "accent" | "white" | "black" | "current" | undefined;
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;
394
- fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
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;
396
- lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | undefined;
393
+ fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "serif" | "sans" | "mono" | "sans-alt" | "serif-alt" | undefined;
394
+ fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
395
+ fontWeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "thin" | "black" | "extralight" | "light" | "regular" | "medium" | "semibold" | "bold" | "extrabold" | undefined;
396
+ lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | undefined;
397
397
  textAlign?: "center" | "end" | "start" | "justify" | undefined;
398
- textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
398
+ textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
399
399
  spacing?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
400
400
  spacingHorizontal?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
401
401
  spacingVertical?: "2" | "3.5" | "3" | "6" | "4" | "0" | "1" | "5" | "8" | "0.5" | "1.5" | "7" | "12" | "10" | "16" | "2.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;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export{Image,InputHelpTextMemo as InputHelpText}from"./chunk-QYKWQ4AB.js";import{DividerInternal as e}from"./chunk-KB43ONNB.js";export{HStack,VStack}from"./chunk-2YHS4RSB.js";export{FormLabel}from"./chunk-PSJE6P6P.js";import{getStyles as t,cx as a,IconSlot as n}from"./chunk-6QD6WNT7.js";export{Box,Icon,Text,cva,cx,getStyles}from"./chunk-6QD6WNT7.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,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-TCFZWULK.js";export{entries,mapValues}from"./chunk-EWJ3J526.js";export{variants}from"./chunk-ENYRD5BL.js";export{AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_CSS_VAR_MAP,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_SLANT_PREFIX,FONT_WEIGHT_PREFIX,FONT_WIDTH_PREFIX,ICON_BUTTON_CSS_VAR_MAP,ICON_SIZE_PREFIX,INVERT_COLOR_MODE_CLASSNAME,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,SYSTEM_COLOR_MODE_CLASSNAME,TEXT_RESPONSIVE_CLASSNAME,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"./chunk-24RMELG3.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:A,className:C,...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",C)})},[s,l,o,e,C]),M=t({linkVariantIconStart:e,linkTextStyleIcon:o,className:a(l&&"w-[0.7em] h-[0.7em]")}),m=t({linkVariantIconEnd:e,linkTextStyleIcon:o,className:a(l&&"w-[0.7em] h-[0.7em]")}),R={variant:"outline",color:"current"};return E("a",{ref:L,className:O,...c,children:[_&&i(n,{className:M,icon:_,iconProps:R,"data-testid":"start-icon"}),A,S&&i(n,{className:m,icon:S,iconProps:R,"data-testid":"end-icon"})]})});S.displayName="Link";export{_ as Divider,S as Link};
1
+ export{Image,InputHelpTextMemo as InputHelpText}from"./chunk-PJUO4VUT.js";import{DividerInternal as e}from"./chunk-RITOU56N.js";export{HStack,VStack}from"./chunk-SA7NIS2O.js";export{FormLabel}from"./chunk-CRVISLFX.js";import{getStyles as t,cx as a,IconSlot as n}from"./chunk-VGW5FOVC.js";export{Box,Icon,Text,cva,cx,getStyles}from"./chunk-VGW5FOVC.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,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-2N6GU6KA.js";export{entries,mapValues}from"./chunk-EWJ3J526.js";export{variants}from"./chunk-YLWUR5SE.js";export{AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_CSS_VAR_MAP,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_SLANT_PREFIX,FONT_WEIGHT_PREFIX,FONT_WIDTH_PREFIX,ICON_BUTTON_CSS_VAR_MAP,ICON_SIZE_PREFIX,INVERT_COLOR_MODE_CLASSNAME,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,SYSTEM_COLOR_MODE_CLASSNAME,TEXT_RESPONSIVE_CLASSNAME,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"./chunk-24RMELG3.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},O){const L=!o,l=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]),M=t({linkVariantIconStart:e,linkTextStyleIcon:o,className:a(L&&"w-[0.7em] h-[0.7em]")}),R=t({linkVariantIconEnd:e,linkTextStyleIcon:o,className:a(L&&"w-[0.7em] h-[0.7em]")}),m={variant:"outline",color:"current"};return E("a",{ref:O,className:l,...c,children:[_&&i(n,{className:M,icon:_,iconProps:m,"data-testid":"start-icon"}),C,S&&i(n,{className:R,icon:S,iconProps:m,"data-testid":"end-icon"})]})});S.displayName="Link";export{_ as Divider,S as Link};