@yahoo/uds 3.64.1 → 3.64.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-darwin-x64 +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/dist/{Box-BYHIqBW7.d.cts → Box-Bg_I4pBC.d.cts} +1 -1
- package/dist/{Box-CPuhAyke.d.ts → Box-ButgRoiC.d.ts} +1 -1
- package/dist/Box-ClkQalNr.d.ts +34 -0
- package/dist/Box-x2JDsfM6.d.cts +34 -0
- package/dist/{Pressable-DJ1rXy1y.d.ts → Pressable-BJz07Y1Y.d.ts} +1 -1
- package/dist/{Pressable-B2MfBeRr.d.cts → Pressable-CGGsm1T5.d.cts} +1 -1
- package/dist/Pressable-CbIB9LpN.d.cts +44 -0
- package/dist/Pressable-DrgzoTv8.d.ts +44 -0
- package/dist/{Text-C3rnosjh.d.ts → Text-B3512DHF.d.ts} +1 -1
- package/dist/{Text-MttXuiDO.d.cts → Text-CL2P69Uj.d.cts} +1 -1
- package/dist/Text-Cu8Ssc5r.d.cts +88 -0
- package/dist/Text-D6cd-xBo.d.ts +88 -0
- package/dist/{VStack-DSQShH8m.d.cts → VStack-CRjSL3x_.d.cts} +2 -2
- package/dist/{VStack-CYpp5Wa0.d.ts → VStack-D3OO6eBP.d.ts} +2 -2
- package/dist/VStack-Di4yUZeA.d.ts +83 -0
- package/dist/VStack-Os3dyMc9.d.cts +83 -0
- package/dist/chunk-44C3SZSM.cjs +1 -0
- package/dist/chunk-45PTXZ5N.cjs +1 -0
- package/dist/chunk-4GZB6XX6.js +2 -0
- package/dist/chunk-4L5BO26E.cjs +2 -0
- package/dist/{chunk-O7UVSJ5U.js → chunk-56H4SS56.js} +1 -1
- package/dist/{chunk-XOHE32Q2.js → chunk-5PPBK7IP.js} +1 -1
- package/dist/{chunk-KQYW7REL.cjs → chunk-5SSMRASJ.cjs} +1 -1
- package/dist/{chunk-7PDRKN2R.js → chunk-6CW2TJSZ.js} +1 -1
- package/dist/{chunk-FEHICJMH.js → chunk-6UU45M5H.js} +3 -3
- package/dist/{chunk-DFLTCYEQ.js → chunk-6Z5PILXZ.js} +2 -2
- package/dist/{chunk-BMP5TZVZ.cjs → chunk-7LATKQWD.cjs} +1 -1
- package/dist/chunk-AWLEIN6D.cjs +1 -0
- package/dist/chunk-B7HFR3F7.cjs +1 -0
- package/dist/{chunk-C2XEOEF3.js → chunk-BKQIRRFQ.js} +1 -1
- package/dist/chunk-COTHBGOF.js +2 -0
- package/dist/{chunk-WTCFWBEP.js → chunk-CRUMLO3Y.js} +1 -1
- package/dist/chunk-DPIUQZYK.cjs +1 -0
- package/dist/{chunk-7ODTLDW2.js → chunk-DUFKNEYX.js} +1 -1
- package/dist/chunk-E3IMFFEG.cjs +1 -0
- package/dist/chunk-E6WHG3KC.js +2 -0
- package/dist/{chunk-EUBXXJNQ.cjs → chunk-FRQXW4YN.cjs} +1 -1
- package/dist/{chunk-JY5DPKJL.cjs → chunk-GFKEHQJY.cjs} +1 -1
- package/dist/{chunk-AZXEQF7C.js → chunk-GO6C3VNF.js} +1 -1
- package/dist/{chunk-WEIHOHSB.js → chunk-GOUO7UMB.js} +1 -1
- package/dist/chunk-ISIHAJFN.js +2 -0
- package/dist/chunk-JJNM247S.cjs +2 -0
- package/dist/{chunk-OSIGO5ER.cjs → chunk-KDXCHZLM.cjs} +1 -1
- package/dist/chunk-LCAL2QK3.js +1 -0
- package/dist/{chunk-N2X6LD4P.cjs → chunk-LFC5OCRU.cjs} +1 -1
- package/dist/chunk-MZPZIQOC.cjs +1 -0
- package/dist/chunk-NHZEDXSH.js +3 -0
- package/dist/{chunk-O7H45A6H.cjs → chunk-OMOQVBA7.cjs} +1 -1
- package/dist/{chunk-BRM6VXBO.cjs → chunk-ORKHCPGS.cjs} +1 -1
- package/dist/chunk-P7GW3QCU.js +2 -0
- package/dist/chunk-PGS63LYN.js +2 -0
- package/dist/{chunk-CGHQHGYY.cjs → chunk-PQOM7UU3.cjs} +1 -1
- package/dist/chunk-RHYBUO2Q.js +2 -0
- package/dist/{chunk-7YPLUG7X.cjs → chunk-SVLW4EY2.cjs} +1 -1
- package/dist/{chunk-A2OJLMOY.js → chunk-TWURYMUN.js} +1 -1
- package/dist/chunk-U2GIV7V3.cjs +1 -0
- package/dist/chunk-UBH6HFW5.js +2 -0
- package/dist/chunk-UI6R66UN.cjs +1 -0
- package/dist/chunk-UX2KY4ME.cjs +1 -0
- package/dist/{chunk-JY33SU6G.cjs → chunk-VTUAG7BM.cjs} +1 -1
- package/dist/chunk-WFHFYNJ4.js +2 -0
- package/dist/chunk-XFPIMZR7.cjs +2 -0
- package/dist/{chunk-EUHS2LRV.js → chunk-YPP45WIP.js} +2 -2
- package/dist/chunk-YWL4I5GV.js +1 -0
- package/dist/client/Menu.cjs +1 -1
- package/dist/client/Menu.d.cts +4 -4
- package/dist/client/Menu.d.ts +4 -4
- package/dist/client/Menu.js +2 -2
- package/dist/client/index.cjs +1 -1
- package/dist/client/index.d.cts +4 -4
- package/dist/client/index.d.ts +4 -4
- package/dist/client/index.js +1 -1
- package/dist/defaultTokensConfig.d.cts +2 -2
- package/dist/defaultTokensConfig.d.ts +2 -2
- package/dist/experimental/client/SwitchV2.cjs +1 -1
- package/dist/experimental/client/SwitchV2.d.cts +1 -1
- package/dist/experimental/client/SwitchV2.d.ts +1 -1
- package/dist/experimental/client/SwitchV2.js +1 -2
- package/dist/{index-Dp0sWo0y.d.ts → index-B_RdmUDo.d.ts} +1 -1
- package/dist/{index-CyzMnp_C.d.cts → index-C7Kmcyur.d.ts} +1 -1
- package/dist/index-DzkbCdnG.d.cts +251 -0
- package/dist/index-FeI_wfo_.d.cts +251 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/plugin.js +1 -1
- package/dist/tailwind/purger.cjs +1 -1
- package/dist/tailwind/purger.js +1 -1
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +2 -2
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +1 -1
- package/dist/tailwind/utils.d.ts +1 -1
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +4 -4
- package/dist/tokens/index.d.ts +4 -4
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{universalTokensConfigAuto-DMkgiw7i.d.cts → universalTokensConfigAuto-CBx7dCyR.d.cts} +4 -1
- package/dist/{universalTokensConfigAuto-DMkgiw7i.d.ts → universalTokensConfigAuto-CBx7dCyR.d.ts} +4 -1
- package/dist/universalTokensConfigAuto-CPGgDkC0.d.cts +14337 -0
- package/dist/universalTokensConfigAuto-CPGgDkC0.d.ts +14337 -0
- package/package.json +2 -2
- package/cli/FlattenButtonVariant.mock.tsx +0 -17
- package/dist/chunk-6THPHJSQ.cjs +0 -1
- package/dist/chunk-A7OSNZQ4.cjs +0 -1
- package/dist/chunk-E2KVZ3FW.cjs +0 -1
- package/dist/chunk-LGVDORBF.js +0 -2
- package/dist/chunk-XRY2AFCC.js +0 -2
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
import * as properties from '@yahoo/uds/fixtures';
|
|
2
|
+
import { n as ShadowPreset, f as UniversalTokensConfig } from './universalTokensConfigAuto-CPGgDkC0.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 letterSpacing: ConfigurableProperty<"textVariants", unknown>;
|
|
31
|
+
readonly padding: ConfigurableProperty<"spacingAliases", unknown>;
|
|
32
|
+
readonly gap: ConfigurableProperty<"spacingAliases", unknown>;
|
|
33
|
+
readonly color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
34
|
+
readonly opacity: ConfigurableProperty<"opacitySteps", unknown>;
|
|
35
|
+
readonly fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
|
36
|
+
readonly iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
|
37
|
+
readonly spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
|
38
|
+
readonly spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
|
39
|
+
readonly textVariant: ConfigurableProperty<"textVariants", unknown>;
|
|
40
|
+
readonly textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
|
|
41
|
+
readonly shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
42
|
+
readonly insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
43
|
+
readonly height: ConfigurableProperty<"spacingAliases", unknown>;
|
|
44
|
+
readonly width: ConfigurableProperty<"spacingAliases", unknown>;
|
|
45
|
+
readonly scaleEffect: ConfigurableProperty<"scaleEffects", unknown>;
|
|
46
|
+
};
|
|
47
|
+
declare const configurableProperties: {
|
|
48
|
+
outlineWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
49
|
+
outlineColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
50
|
+
insetOutlineOffset: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
51
|
+
solidOutline: ConfigurableProperty<never, unknown>;
|
|
52
|
+
backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
53
|
+
borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
54
|
+
borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
|
55
|
+
borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
56
|
+
fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
|
57
|
+
fontSize: ConfigurableProperty<"textVariants", unknown>;
|
|
58
|
+
fontVariationSettings: ConfigurableProperty<"textVariants", unknown>;
|
|
59
|
+
lineHeight: ConfigurableProperty<"textVariants", unknown>;
|
|
60
|
+
textTransform: ConfigurableProperty<"textVariants", unknown>;
|
|
61
|
+
letterSpacing: ConfigurableProperty<"textVariants", unknown>;
|
|
62
|
+
padding: ConfigurableProperty<"spacingAliases", unknown>;
|
|
63
|
+
gap: ConfigurableProperty<"spacingAliases", unknown>;
|
|
64
|
+
color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
65
|
+
opacity: ConfigurableProperty<"opacitySteps", unknown>;
|
|
66
|
+
fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
|
67
|
+
iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
|
68
|
+
spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
|
69
|
+
spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
|
70
|
+
textVariant: ConfigurableProperty<"textVariants", unknown>;
|
|
71
|
+
textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
|
|
72
|
+
shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
73
|
+
insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
74
|
+
height: ConfigurableProperty<"spacingAliases", unknown>;
|
|
75
|
+
width: ConfigurableProperty<"spacingAliases", unknown>;
|
|
76
|
+
scaleEffect: ConfigurableProperty<"scaleEffects", unknown>;
|
|
77
|
+
};
|
|
78
|
+
type ExtendablePropertiesName = keyof typeof configurableProperties;
|
|
79
|
+
type ConfigurablePropertiesName = keyof typeof publicProperties;
|
|
80
|
+
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[])[]> {
|
|
81
|
+
label: string;
|
|
82
|
+
name: C;
|
|
83
|
+
typeOfFixture: T;
|
|
84
|
+
values: V;
|
|
85
|
+
skipRestState?: boolean;
|
|
86
|
+
pseudoStates?: PossibleStates[];
|
|
87
|
+
supportsCustom?: boolean;
|
|
88
|
+
defaults: {
|
|
89
|
+
[K in O]: V[number][number];
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
type AllPossibleProperties = Exclude<keyof typeof properties, 'iconButtonSize' | 'iconButtonStates' | 'buttonIconSvgSize' | 'buttonPalettes' | 'buttonSizes' | 'buttonStates' | 'buttonVariants' | 'elevationLevels'> | 'shadowVariantConfig';
|
|
94
|
+
type PossibleStates = 'hover' | 'pressed' | 'focused' | 'invalid' | 'focus-within' | 'focused-keyboard' | 'visited' | 'readonly' | 'disabled' | 'invalid&hover' | 'invalid&pressed';
|
|
95
|
+
type PossibleStatesWithRest = 'rest' | PossibleStates;
|
|
96
|
+
interface LayerConfig {
|
|
97
|
+
label: string;
|
|
98
|
+
properties: Readonly<Record<string, SelectedConfigurableProperty<ConfigurablePropertiesName, string>>>;
|
|
99
|
+
pseudoSelector?: string;
|
|
100
|
+
}
|
|
101
|
+
interface ComponentStateConfig {
|
|
102
|
+
label: string;
|
|
103
|
+
options: string[];
|
|
104
|
+
layers: {
|
|
105
|
+
root: LayerConfig;
|
|
106
|
+
} & Record<string, LayerConfig>;
|
|
107
|
+
}
|
|
108
|
+
interface SubComponentConfig {
|
|
109
|
+
label: string;
|
|
110
|
+
description: string;
|
|
111
|
+
overrideComponentName?: string;
|
|
112
|
+
variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
|
113
|
+
}
|
|
114
|
+
interface VariantConfig<O extends string = string> {
|
|
115
|
+
label: string;
|
|
116
|
+
description: string;
|
|
117
|
+
isConfigurable: boolean;
|
|
118
|
+
default: O;
|
|
119
|
+
options: readonly O[];
|
|
120
|
+
}
|
|
121
|
+
interface VariantConfigWithProperties<O extends string = string> extends VariantConfig<O> {
|
|
122
|
+
layers: {
|
|
123
|
+
root: LayerConfig;
|
|
124
|
+
} & Record<string, LayerConfig>;
|
|
125
|
+
}
|
|
126
|
+
interface VariantConfigWithComponentStates<O extends string = string> extends VariantConfig<O> {
|
|
127
|
+
componentStates?: Readonly<Record<string, ComponentStateConfig>>;
|
|
128
|
+
}
|
|
129
|
+
interface ComponentConfig {
|
|
130
|
+
label: string;
|
|
131
|
+
description: string;
|
|
132
|
+
overrideComponentName?: string;
|
|
133
|
+
subComponents?: Record<string, SubComponentConfig>;
|
|
134
|
+
variants?: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates | VariantConfig>;
|
|
135
|
+
}
|
|
136
|
+
type AutoComponents = Omit<UniversalTokensConfig, 'colorMode' | 'font' | 'scaleMode' | 'version' | 'motion' | 'shadow' | 'breakpoints' | 'typography' | 'globalDefaults' | 'elevation'>;
|
|
137
|
+
type AutoComponentName = keyof AutoComponents;
|
|
138
|
+
type AllVariantKeys = {
|
|
139
|
+
[K in keyof AutoComponents]: {
|
|
140
|
+
[V in keyof AutoComponents[K]['defaults']]: V;
|
|
141
|
+
}[keyof AutoComponents[K]['defaults']];
|
|
142
|
+
}[keyof AutoComponents];
|
|
143
|
+
|
|
144
|
+
type ThemeFn = (path: string) => string;
|
|
145
|
+
type SchemaStateValue<T = any> = {
|
|
146
|
+
type: string;
|
|
147
|
+
valueType: 'alias' | 'custom';
|
|
148
|
+
value: T;
|
|
149
|
+
};
|
|
150
|
+
declare const statePseudoMapDocsMode: Record<PossibleStates | 'rest', string>;
|
|
151
|
+
declare function findFixtureType(property: SelectedConfigurableProperty<ConfigurablePropertiesName, string>, variantKey: string): string;
|
|
152
|
+
declare function toMinimalDbConfigObject<C extends ComponentConfig>(config: C): any;
|
|
153
|
+
declare function generateDefaultClassName(componentName: string, variantType: string, layerKey: string, subComponentName?: string): string;
|
|
154
|
+
declare function generateClassName({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, }: {
|
|
155
|
+
componentName: string;
|
|
156
|
+
variantKey: string;
|
|
157
|
+
variantValue?: string;
|
|
158
|
+
layer: string;
|
|
159
|
+
layerOptionalPseudoSelector?: string;
|
|
160
|
+
subComponentName?: string;
|
|
161
|
+
stateKey?: string;
|
|
162
|
+
stateValue?: string;
|
|
163
|
+
}): string;
|
|
164
|
+
declare function generateDeclaration({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, schema, propertyKey, originalPropertyDefinition, theme, currentStyles, previewOptions, }: {
|
|
165
|
+
componentName: string;
|
|
166
|
+
variantKey: string;
|
|
167
|
+
variantValue: string;
|
|
168
|
+
layer: string;
|
|
169
|
+
layerOptionalPseudoSelector?: string;
|
|
170
|
+
subComponentName?: string;
|
|
171
|
+
stateKey?: string;
|
|
172
|
+
stateValue?: string;
|
|
173
|
+
schema: unknown;
|
|
174
|
+
propertyKey: string;
|
|
175
|
+
originalPropertyDefinition: SelectedConfigurableProperty<ConfigurablePropertiesName, any>;
|
|
176
|
+
theme: ThemeFn;
|
|
177
|
+
currentStyles: Readonly<Record<string, Record<string, string>>>;
|
|
178
|
+
previewOptions?: {
|
|
179
|
+
generatePseudoStateClassModifier?: boolean;
|
|
180
|
+
};
|
|
181
|
+
}): Record<string, Record<string, string>>;
|
|
182
|
+
declare function generateConfigStyles<C extends ComponentConfig>(config: C, schema: any, theme: ThemeFn, previewOptions?: {
|
|
183
|
+
generatePseudoStateClassModifier: boolean;
|
|
184
|
+
}): Record<string, Record<string, string>>;
|
|
185
|
+
/**
|
|
186
|
+
* @param config - Component configuration (Button, IconButton, etc.)
|
|
187
|
+
* @param schema - Production schema with defaults and variables
|
|
188
|
+
* @param theme - Tailwind theme function to resolve design tokens
|
|
189
|
+
* @param previewOptions - Options for generating preview mode class modifiers
|
|
190
|
+
* @returns CSS styles object with grouped selectors for default aliases
|
|
191
|
+
*/
|
|
192
|
+
declare const generateStyles: (config: ComponentConfig, schema: any, theme: ThemeFn, previewOptions: {
|
|
193
|
+
generatePseudoStateClassModifier: boolean;
|
|
194
|
+
}) => Record<string, Record<string, string>>;
|
|
195
|
+
declare function createConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof configurableProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]>(prop: {
|
|
196
|
+
name: C;
|
|
197
|
+
typeOfFixture: T;
|
|
198
|
+
values: V;
|
|
199
|
+
defaults: {
|
|
200
|
+
[K in O]: V[number][number];
|
|
201
|
+
};
|
|
202
|
+
label: string;
|
|
203
|
+
skipRestState?: boolean;
|
|
204
|
+
pseudoStates?: PossibleStates[];
|
|
205
|
+
supportsCustom?: boolean;
|
|
206
|
+
}): SelectedConfigurableProperty<C, O, T, V>;
|
|
207
|
+
declare function createVariantConfig(config: {
|
|
208
|
+
label: string;
|
|
209
|
+
description: string;
|
|
210
|
+
isConfigurable: boolean;
|
|
211
|
+
default: string;
|
|
212
|
+
options: readonly string[];
|
|
213
|
+
}): VariantConfig;
|
|
214
|
+
declare function createVariantConfigWithProperties(config: {
|
|
215
|
+
label: string;
|
|
216
|
+
description: string;
|
|
217
|
+
isConfigurable: boolean;
|
|
218
|
+
default: string;
|
|
219
|
+
options: readonly string[];
|
|
220
|
+
layers: {
|
|
221
|
+
root: LayerConfig;
|
|
222
|
+
} & Record<string, LayerConfig>;
|
|
223
|
+
}): VariantConfigWithProperties;
|
|
224
|
+
declare function createVariantConfigWithComponentStates(config: {
|
|
225
|
+
label: string;
|
|
226
|
+
description: string;
|
|
227
|
+
isConfigurable: boolean;
|
|
228
|
+
default: string;
|
|
229
|
+
options: readonly string[];
|
|
230
|
+
componentStates: Record<string, ComponentStateConfig>;
|
|
231
|
+
}): VariantConfigWithComponentStates;
|
|
232
|
+
declare function createComponentStates(config: {
|
|
233
|
+
label: string;
|
|
234
|
+
options: string[];
|
|
235
|
+
layers: {
|
|
236
|
+
root: LayerConfig;
|
|
237
|
+
} & Record<string, LayerConfig>;
|
|
238
|
+
}): ComponentStateConfig;
|
|
239
|
+
declare function createLayerConfig(config: {
|
|
240
|
+
label: string;
|
|
241
|
+
pseudoSelector?: string;
|
|
242
|
+
properties: Readonly<Record<string, SelectedConfigurableProperty<ConfigurablePropertiesName, string>>>;
|
|
243
|
+
}): LayerConfig;
|
|
244
|
+
declare function createSubComponentConfig(config: {
|
|
245
|
+
label: string;
|
|
246
|
+
description: string;
|
|
247
|
+
overrideComponentName?: string;
|
|
248
|
+
variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
|
249
|
+
}): SubComponentConfig;
|
|
250
|
+
|
|
251
|
+
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, generateDefaultClassName as m, generateClassName as n, generateDeclaration as o, generateConfigStyles as p, generateStyles as q, createConfigurableProperty as r, statePseudoMapDocsMode as s, toMinimalDbConfigObject as t, createVariantConfig as u, createVariantConfigWithProperties as v, createVariantConfigWithComponentStates as w, createComponentStates as x, createLayerConfig as y, createSubComponentConfig as z };
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
import * as properties from '@yahoo/uds/fixtures';
|
|
2
|
+
import { n as ShadowPreset, f as UniversalTokensConfig } from './universalTokensConfigAuto-CBx7dCyR.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 letterSpacing: ConfigurableProperty<"textVariants", unknown>;
|
|
31
|
+
readonly padding: ConfigurableProperty<"spacingAliases", unknown>;
|
|
32
|
+
readonly gap: ConfigurableProperty<"spacingAliases", unknown>;
|
|
33
|
+
readonly color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
34
|
+
readonly opacity: ConfigurableProperty<"opacitySteps", unknown>;
|
|
35
|
+
readonly fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
|
36
|
+
readonly iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
|
37
|
+
readonly spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
|
38
|
+
readonly spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
|
39
|
+
readonly textVariant: ConfigurableProperty<"textVariants", unknown>;
|
|
40
|
+
readonly textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
|
|
41
|
+
readonly shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
42
|
+
readonly insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
43
|
+
readonly height: ConfigurableProperty<"spacingAliases", unknown>;
|
|
44
|
+
readonly width: ConfigurableProperty<"spacingAliases", unknown>;
|
|
45
|
+
readonly scaleEffect: ConfigurableProperty<"scaleEffects", unknown>;
|
|
46
|
+
};
|
|
47
|
+
declare const configurableProperties: {
|
|
48
|
+
outlineWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
49
|
+
outlineColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
50
|
+
insetOutlineOffset: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
51
|
+
solidOutline: ConfigurableProperty<never, unknown>;
|
|
52
|
+
backgroundColor: ConfigurableProperty<"backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
53
|
+
borderWidth: ConfigurableProperty<"spacingAliases" | "borderWidths", unknown>;
|
|
54
|
+
borderRadius: ConfigurableProperty<"borderRadii", unknown>;
|
|
55
|
+
borderColor: ConfigurableProperty<"linePaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
56
|
+
fontFamily: ConfigurableProperty<"textVariants", unknown>;
|
|
57
|
+
fontSize: ConfigurableProperty<"textVariants", unknown>;
|
|
58
|
+
fontVariationSettings: ConfigurableProperty<"textVariants", unknown>;
|
|
59
|
+
lineHeight: ConfigurableProperty<"textVariants", unknown>;
|
|
60
|
+
textTransform: ConfigurableProperty<"textVariants", unknown>;
|
|
61
|
+
letterSpacing: ConfigurableProperty<"textVariants", unknown>;
|
|
62
|
+
padding: ConfigurableProperty<"spacingAliases", unknown>;
|
|
63
|
+
gap: ConfigurableProperty<"spacingAliases", unknown>;
|
|
64
|
+
color: ConfigurableProperty<"foregroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases", unknown>;
|
|
65
|
+
opacity: ConfigurableProperty<"opacitySteps", unknown>;
|
|
66
|
+
fontWeight: ConfigurableProperty<"textVariants", unknown>;
|
|
67
|
+
iconSize: ConfigurableProperty<"iconSizes", unknown>;
|
|
68
|
+
spacingHorizontal: ConfigurableProperty<"spacingAliases", unknown>;
|
|
69
|
+
spacingVertical: ConfigurableProperty<"spacingAliases", unknown>;
|
|
70
|
+
textVariant: ConfigurableProperty<"textVariants", unknown>;
|
|
71
|
+
textDecorationLine: ConfigurableProperty<"textDecorationLines", unknown>;
|
|
72
|
+
shadow: ConfigurableProperty<"shadowVariants", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
73
|
+
insetShadow: ConfigurableProperty<"shadowVariantsWithInvert", string | [] | [ShadowPreset] | [ShadowPreset, ShadowPreset] | [ShadowPreset, ShadowPreset, ShadowPreset]>;
|
|
74
|
+
height: ConfigurableProperty<"spacingAliases", unknown>;
|
|
75
|
+
width: ConfigurableProperty<"spacingAliases", unknown>;
|
|
76
|
+
scaleEffect: ConfigurableProperty<"scaleEffects", unknown>;
|
|
77
|
+
};
|
|
78
|
+
type ExtendablePropertiesName = keyof typeof configurableProperties;
|
|
79
|
+
type ConfigurablePropertiesName = keyof typeof publicProperties;
|
|
80
|
+
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[])[]> {
|
|
81
|
+
label: string;
|
|
82
|
+
name: C;
|
|
83
|
+
typeOfFixture: T;
|
|
84
|
+
values: V;
|
|
85
|
+
skipRestState?: boolean;
|
|
86
|
+
pseudoStates?: PossibleStates[];
|
|
87
|
+
supportsCustom?: boolean;
|
|
88
|
+
defaults: {
|
|
89
|
+
[K in O]: V[number][number];
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
type AllPossibleProperties = Exclude<keyof typeof properties, 'iconButtonSize' | 'iconButtonStates' | 'buttonIconSvgSize' | 'buttonPalettes' | 'buttonSizes' | 'buttonStates' | 'buttonVariants' | 'elevationLevels'> | 'shadowVariantConfig';
|
|
94
|
+
type PossibleStates = 'hover' | 'pressed' | 'focused' | 'invalid' | 'focus-within' | 'focused-keyboard' | 'visited' | 'readonly' | 'disabled' | 'invalid&hover' | 'invalid&pressed';
|
|
95
|
+
type PossibleStatesWithRest = 'rest' | PossibleStates;
|
|
96
|
+
interface LayerConfig {
|
|
97
|
+
label: string;
|
|
98
|
+
properties: Readonly<Record<string, SelectedConfigurableProperty<ConfigurablePropertiesName, string>>>;
|
|
99
|
+
pseudoSelector?: string;
|
|
100
|
+
}
|
|
101
|
+
interface ComponentStateConfig {
|
|
102
|
+
label: string;
|
|
103
|
+
options: string[];
|
|
104
|
+
layers: {
|
|
105
|
+
root: LayerConfig;
|
|
106
|
+
} & Record<string, LayerConfig>;
|
|
107
|
+
}
|
|
108
|
+
interface SubComponentConfig {
|
|
109
|
+
label: string;
|
|
110
|
+
description: string;
|
|
111
|
+
overrideComponentName?: string;
|
|
112
|
+
variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
|
113
|
+
}
|
|
114
|
+
interface VariantConfig<O extends string = string> {
|
|
115
|
+
label: string;
|
|
116
|
+
description: string;
|
|
117
|
+
isConfigurable: boolean;
|
|
118
|
+
default: O;
|
|
119
|
+
options: readonly O[];
|
|
120
|
+
}
|
|
121
|
+
interface VariantConfigWithProperties<O extends string = string> extends VariantConfig<O> {
|
|
122
|
+
layers: {
|
|
123
|
+
root: LayerConfig;
|
|
124
|
+
} & Record<string, LayerConfig>;
|
|
125
|
+
}
|
|
126
|
+
interface VariantConfigWithComponentStates<O extends string = string> extends VariantConfig<O> {
|
|
127
|
+
componentStates?: Readonly<Record<string, ComponentStateConfig>>;
|
|
128
|
+
}
|
|
129
|
+
interface ComponentConfig {
|
|
130
|
+
label: string;
|
|
131
|
+
description: string;
|
|
132
|
+
overrideComponentName?: string;
|
|
133
|
+
subComponents?: Record<string, SubComponentConfig>;
|
|
134
|
+
variants?: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates | VariantConfig>;
|
|
135
|
+
}
|
|
136
|
+
type AutoComponents = Omit<UniversalTokensConfig, 'colorMode' | 'font' | 'scaleMode' | 'version' | 'motion' | 'shadow' | 'breakpoints' | 'typography' | 'globalDefaults' | 'elevation'>;
|
|
137
|
+
type AutoComponentName = keyof AutoComponents;
|
|
138
|
+
type AllVariantKeys = {
|
|
139
|
+
[K in keyof AutoComponents]: {
|
|
140
|
+
[V in keyof AutoComponents[K]['defaults']]: V;
|
|
141
|
+
}[keyof AutoComponents[K]['defaults']];
|
|
142
|
+
}[keyof AutoComponents];
|
|
143
|
+
|
|
144
|
+
type ThemeFn = (path: string) => string;
|
|
145
|
+
type SchemaStateValue<T = any> = {
|
|
146
|
+
type: string;
|
|
147
|
+
valueType: 'alias' | 'custom';
|
|
148
|
+
value: T;
|
|
149
|
+
};
|
|
150
|
+
declare const statePseudoMapDocsMode: Record<PossibleStates | 'rest', string>;
|
|
151
|
+
declare function findFixtureType(property: SelectedConfigurableProperty<ConfigurablePropertiesName, string>, variantKey: string): string;
|
|
152
|
+
declare function toMinimalDbConfigObject<C extends ComponentConfig>(config: C): any;
|
|
153
|
+
declare function generateDefaultClassName(componentName: string, variantType: string, layerKey: string, subComponentName?: string): string;
|
|
154
|
+
declare function generateClassName({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, }: {
|
|
155
|
+
componentName: string;
|
|
156
|
+
variantKey: string;
|
|
157
|
+
variantValue?: string;
|
|
158
|
+
layer: string;
|
|
159
|
+
layerOptionalPseudoSelector?: string;
|
|
160
|
+
subComponentName?: string;
|
|
161
|
+
stateKey?: string;
|
|
162
|
+
stateValue?: string;
|
|
163
|
+
}): string;
|
|
164
|
+
declare function generateDeclaration({ componentName, variantKey, variantValue, layer, layerOptionalPseudoSelector, subComponentName, stateKey, stateValue, schema, propertyKey, originalPropertyDefinition, theme, currentStyles, previewOptions, }: {
|
|
165
|
+
componentName: string;
|
|
166
|
+
variantKey: string;
|
|
167
|
+
variantValue: string;
|
|
168
|
+
layer: string;
|
|
169
|
+
layerOptionalPseudoSelector?: string;
|
|
170
|
+
subComponentName?: string;
|
|
171
|
+
stateKey?: string;
|
|
172
|
+
stateValue?: string;
|
|
173
|
+
schema: unknown;
|
|
174
|
+
propertyKey: string;
|
|
175
|
+
originalPropertyDefinition: SelectedConfigurableProperty<ConfigurablePropertiesName, any>;
|
|
176
|
+
theme: ThemeFn;
|
|
177
|
+
currentStyles: Readonly<Record<string, Record<string, string>>>;
|
|
178
|
+
previewOptions?: {
|
|
179
|
+
generatePseudoStateClassModifier?: boolean;
|
|
180
|
+
};
|
|
181
|
+
}): Record<string, Record<string, string>>;
|
|
182
|
+
declare function generateConfigStyles<C extends ComponentConfig>(config: C, schema: any, theme: ThemeFn, previewOptions?: {
|
|
183
|
+
generatePseudoStateClassModifier: boolean;
|
|
184
|
+
}): Record<string, Record<string, string>>;
|
|
185
|
+
/**
|
|
186
|
+
* @param config - Component configuration (Button, IconButton, etc.)
|
|
187
|
+
* @param schema - Production schema with defaults and variables
|
|
188
|
+
* @param theme - Tailwind theme function to resolve design tokens
|
|
189
|
+
* @param previewOptions - Options for generating preview mode class modifiers
|
|
190
|
+
* @returns CSS styles object with grouped selectors for default aliases
|
|
191
|
+
*/
|
|
192
|
+
declare const generateStyles: (config: ComponentConfig, schema: any, theme: ThemeFn, previewOptions: {
|
|
193
|
+
generatePseudoStateClassModifier: boolean;
|
|
194
|
+
}) => Record<string, Record<string, string>>;
|
|
195
|
+
declare function createConfigurableProperty<C extends ConfigurablePropertiesName, O extends string, T extends (typeof configurableProperties)[C]['possibleFixtures'], V extends readonly (readonly string[])[] = readonly (readonly string[])[]>(prop: {
|
|
196
|
+
name: C;
|
|
197
|
+
typeOfFixture: T;
|
|
198
|
+
values: V;
|
|
199
|
+
defaults: {
|
|
200
|
+
[K in O]: V[number][number];
|
|
201
|
+
};
|
|
202
|
+
label: string;
|
|
203
|
+
skipRestState?: boolean;
|
|
204
|
+
pseudoStates?: PossibleStates[];
|
|
205
|
+
supportsCustom?: boolean;
|
|
206
|
+
}): SelectedConfigurableProperty<C, O, T, V>;
|
|
207
|
+
declare function createVariantConfig(config: {
|
|
208
|
+
label: string;
|
|
209
|
+
description: string;
|
|
210
|
+
isConfigurable: boolean;
|
|
211
|
+
default: string;
|
|
212
|
+
options: readonly string[];
|
|
213
|
+
}): VariantConfig;
|
|
214
|
+
declare function createVariantConfigWithProperties(config: {
|
|
215
|
+
label: string;
|
|
216
|
+
description: string;
|
|
217
|
+
isConfigurable: boolean;
|
|
218
|
+
default: string;
|
|
219
|
+
options: readonly string[];
|
|
220
|
+
layers: {
|
|
221
|
+
root: LayerConfig;
|
|
222
|
+
} & Record<string, LayerConfig>;
|
|
223
|
+
}): VariantConfigWithProperties;
|
|
224
|
+
declare function createVariantConfigWithComponentStates(config: {
|
|
225
|
+
label: string;
|
|
226
|
+
description: string;
|
|
227
|
+
isConfigurable: boolean;
|
|
228
|
+
default: string;
|
|
229
|
+
options: readonly string[];
|
|
230
|
+
componentStates: Record<string, ComponentStateConfig>;
|
|
231
|
+
}): VariantConfigWithComponentStates;
|
|
232
|
+
declare function createComponentStates(config: {
|
|
233
|
+
label: string;
|
|
234
|
+
options: string[];
|
|
235
|
+
layers: {
|
|
236
|
+
root: LayerConfig;
|
|
237
|
+
} & Record<string, LayerConfig>;
|
|
238
|
+
}): ComponentStateConfig;
|
|
239
|
+
declare function createLayerConfig(config: {
|
|
240
|
+
label: string;
|
|
241
|
+
pseudoSelector?: string;
|
|
242
|
+
properties: Readonly<Record<string, SelectedConfigurableProperty<ConfigurablePropertiesName, string>>>;
|
|
243
|
+
}): LayerConfig;
|
|
244
|
+
declare function createSubComponentConfig(config: {
|
|
245
|
+
label: string;
|
|
246
|
+
description: string;
|
|
247
|
+
overrideComponentName?: string;
|
|
248
|
+
variants: Record<string, VariantConfigWithProperties | VariantConfigWithComponentStates>;
|
|
249
|
+
}): SubComponentConfig;
|
|
250
|
+
|
|
251
|
+
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, generateDefaultClassName as m, generateClassName as n, generateDeclaration as o, generateConfigStyles as p, generateStyles as q, createConfigurableProperty as r, statePseudoMapDocsMode as s, toMinimalDbConfigObject as t, createVariantConfig as u, createVariantConfigWithProperties as v, createVariantConfigWithComponentStates as w, createComponentStates as x, createLayerConfig as y, createSubComponentConfig as z };
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./chunk-E2KVZ3FW.cjs"),t=require("./chunk-KQYW7REL.cjs"),r=require("./chunk-EUBXXJNQ.cjs"),n=require("./chunk-JY5DPKJL.cjs"),o=require("./chunk-BMP5TZVZ.cjs"),i=require("./chunk-6THPHJSQ.cjs"),u=require("./chunk-OSIGO5ER.cjs"),a=require("./chunk-JY33SU6G.cjs"),c=require("./chunk-A7OSNZQ4.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]")}),E=o.getStyles({linkVariantIconEnd:e,linkTextStyleIcon:t,className:o.cx(s&&"w-[0.7em] h-[0.7em]")}),l={variant:"outline",color:"current"};return p.jsxs("a",{ref:b,className:O,...c,children:[r&&p.jsx(o.IconSlot,{className:g,icon:r,iconProps:l,"data-testid":"start-icon"}),u,n&&p.jsx(o.IconSlot,{className:E,icon:n,iconProps:l,"data-testid":"end-icon"})]})});O.displayName="Link",Object.defineProperty(exports,"Image",{enumerable:!0,get:function(){return e.Image}}),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,"getStylesCacheKeySymbol",{enumerable:!0,get:function(){return o.getStylesCacheKeySymbol}}),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,"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,"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,"generateConfigStyles",{enumerable:!0,get:function(){return i.generateConfigStyles}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return i.generateDeclaration}}),Object.defineProperty(exports,"generateDefaultClassName",{enumerable:!0,get:function(){return i.generateDefaultClassName}}),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,"isConfigDefaultValue",{enumerable:!0,get:function(){return i.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return i.parseButtonVariantFlat}}),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,"alwaysPalette",{enumerable:!0,get:function(){return u.alwaysPalette}}),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,"parseOpacityStep",{enumerable:!0,get:function(){return u.parseOpacityStep}}),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,"BACKGROUND_COLOR_PREFIX",{enumerable:!0,get:function(){return c.BACKGROUND_COLOR_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_GAP_VAR",{enumerable:!0,get:function(){return c.BUTTON_GAP_VAR}}),Object.defineProperty(exports,"BUTTON_SCALE_EFFECT",{enumerable:!0,get:function(){return c.BUTTON_SCALE_EFFECT}}),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,"DROP_SHADOW_PREFIX",{enumerable:!0,get:function(){return c.DROP_SHADOW_PREFIX}}),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_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,"LETTER_SPACING_PREFIX",{enumerable:!0,get:function(){return c.LETTER_SPACING_PREFIX}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_COLOR_PREFIX",{enumerable:!0,get:function(){return c.LINE_COLOR_PREFIX}}),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_BREAKPOINT_CLASSNAMES",{enumerable:!0,get:function(){return c.TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES}}),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,"InputHelpText",{enumerable:!0,get:function(){return b.InputHelpText}}),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-DPIUQZYK.cjs"),t=require("./chunk-5SSMRASJ.cjs"),r=require("./chunk-UI6R66UN.cjs"),n=require("./chunk-UX2KY4ME.cjs"),o=require("./chunk-7LATKQWD.cjs"),i=require("./chunk-AWLEIN6D.cjs"),u=require("./chunk-KDXCHZLM.cjs"),a=require("./chunk-VTUAG7BM.cjs"),c=require("./chunk-B7HFR3F7.cjs"),f=require("react"),p=require("react/jsx-runtime"),b=require("@yahoo/uds/client"),O=f.forwardRef(function(e,r){return p.jsx(t.DividerInternal,{ref:r,...e})});/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */O.displayName="Divider";var s=f.forwardRef(function({variant:e="primary",textVariant:t,startIcon:r,endIcon:n,alwaysUnderline:i=!1,children:u,className:a,...c},b){const O=!t,s=f.useMemo(()=>{const r=!O&&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,O,t,e,a]),E=o.getStyles({linkVariantIconStart:e,linkTextStyleIcon:t,className:o.cx(O&&"w-[0.7em] h-[0.7em]")}),_=o.getStyles({linkVariantIconEnd:e,linkTextStyleIcon:t,className:o.cx(O&&"w-[0.7em] h-[0.7em]")}),g={variant:"outline",color:"current"};return p.jsxs("a",{ref:b,className:s,...c,children:[r&&p.jsx(o.IconSlot,{className:E,icon:r,iconProps:g,"data-testid":"start-icon"}),u,n&&p.jsx(o.IconSlot,{className:_,icon:n,iconProps:g,"data-testid":"end-icon"})]})});s.displayName="Link",Object.defineProperty(exports,"Image",{enumerable:!0,get:function(){return e.Image}}),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,"getStylesCacheKeySymbol",{enumerable:!0,get:function(){return o.getStylesCacheKeySymbol}}),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,"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,"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,"generateConfigStyles",{enumerable:!0,get:function(){return i.generateConfigStyles}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return i.generateDeclaration}}),Object.defineProperty(exports,"generateDefaultClassName",{enumerable:!0,get:function(){return i.generateDefaultClassName}}),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,"isConfigDefaultValue",{enumerable:!0,get:function(){return i.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return i.parseButtonVariantFlat}}),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,"alwaysPalette",{enumerable:!0,get:function(){return u.alwaysPalette}}),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,"parseOpacityStep",{enumerable:!0,get:function(){return u.parseOpacityStep}}),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,"BACKGROUND_COLOR_PREFIX",{enumerable:!0,get:function(){return c.BACKGROUND_COLOR_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_GAP_VAR",{enumerable:!0,get:function(){return c.BUTTON_GAP_VAR}}),Object.defineProperty(exports,"BUTTON_SCALE_EFFECT",{enumerable:!0,get:function(){return c.BUTTON_SCALE_EFFECT}}),Object.defineProperty(exports,"BUTTON_SCALE_EFFECT_HOVER",{enumerable:!0,get:function(){return c.BUTTON_SCALE_EFFECT_HOVER}}),Object.defineProperty(exports,"BUTTON_SCALE_EFFECT_PRESSED",{enumerable:!0,get:function(){return c.BUTTON_SCALE_EFFECT_PRESSED}}),Object.defineProperty(exports,"BUTTON_SCALE_EFFECT_REST",{enumerable:!0,get:function(){return c.BUTTON_SCALE_EFFECT_REST}}),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,"DROP_SHADOW_PREFIX",{enumerable:!0,get:function(){return c.DROP_SHADOW_PREFIX}}),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_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,"LETTER_SPACING_PREFIX",{enumerable:!0,get:function(){return c.LETTER_SPACING_PREFIX}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return c.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_COLOR_PREFIX",{enumerable:!0,get:function(){return c.LINE_COLOR_PREFIX}}),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_BREAKPOINT_CLASSNAMES",{enumerable:!0,get:function(){return c.TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES}}),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,"InputHelpText",{enumerable:!0,get:function(){return b.InputHelpText}}),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=O,exports.Link=s;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { D as DivProps } from './Box-
|
|
2
|
-
export { a as Box, B as BoxProps } from './Box-
|
|
3
|
-
export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-
|
|
1
|
+
import { D as DivProps } from './Box-Bg_I4pBC.cjs';
|
|
2
|
+
export { a as Box, B as BoxProps } from './Box-Bg_I4pBC.cjs';
|
|
3
|
+
export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-CRjSL3x_.cjs';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
|
-
import { t as UniversalFormLabelProps, p as UniversalStackProps, I as IconPropsWithSVGProps, u as ImagePropsWithImgProps, v as UniversalLinkProps } from './universalTokensConfigAuto-
|
|
6
|
-
export { A as AVATAR_SIZE_PREFIX,
|
|
5
|
+
import { t as UniversalFormLabelProps, p as UniversalStackProps, I as IconPropsWithSVGProps, u as ImagePropsWithImgProps, v as UniversalLinkProps } from './universalTokensConfigAuto-CBx7dCyR.cjs';
|
|
6
|
+
export { A as AVATAR_SIZE_PREFIX, aq as AlwaysPalette, ar as AlwaysPaletteAlias, as as AlwaysPaletteColor, at as Animation, au as AriaAttribute, av as AvatarAbbreviationStrategy, aw as AvatarShape, ax as AvatarSize, ay as AvatarSizeConfig, az as AvatarVariant, y as BACKGROUND_COLOR_PREFIX, z as BORDER_RADIUS_PREFIX, D as BORDER_WIDTH_PREFIX, ae as BUTTON_GAP_VAR, af as BUTTON_SCALE_EFFECT, ah as BUTTON_SCALE_EFFECT_HOVER, ai as BUTTON_SCALE_EFFECT_PRESSED, ag as BUTTON_SCALE_EFFECT_REST, aA as BackgroundColor, aB as BackgroundPalette, aC as BackgroundPaletteAlias, aD as BackgroundStyleProps, aE as BadgeSize, aF as BadgeVariant, aG as BorderRadius, aH as BorderRadiusConfig, aI as BorderStyleProps, aJ as BorderWidth, aK as BorderWidthConfig, aL as BorderWidthWithElevation, aM as Breakpoint, aN as BreakpointWithBase, B as BreakpointsConfig, aO as ButtonPalette, aP as ButtonPaletteColor, aQ as ButtonSize, aR as ButtonSpectrumColor, aS as ButtonVariant, aT as ButtonVariantFlat, aU as CheckboxSize, aV as CheckboxValue, aW as CheckboxVariant, aX as ChipSize, aY as ChipVariant, g as ColorMode, C as ColorModeConfig, aZ as ColorModeForApp, h as ColorsConfig, a_ as CustomSizingStyleProps, $ as DARK_COLOR_MODE_CLASSNAME, aa as DEFAULT_COLOR_MODE_CLASSNAME, ab as DEFAULT_SCALE_MODE_CLASSNAME, J as DROP_SHADOW_PREFIX, a$ as DataAttribute, b0 as Display, b1 as DividerVariant, b2 as ElevationAlias, E as ElevationConfig, i as ElevationLevel, j as ElevationPreset, ak as FONT_DECLARATIONS_MAP, K as FONT_FAMILY_PREFIX, L as FONT_SIZE_PREFIX, O as FONT_SLANT_PREFIX, N as FONT_WEIGHT_PREFIX, Q as FONT_WIDTH_PREFIX, b3 as Flex, b4 as FlexAlignContent, b5 as FlexAlignItems, b6 as FlexAlignSelf, b7 as FlexBasis, b8 as FlexDirection, b9 as FlexGrow, ba as FlexJustifyContent, bb as FlexShrink, bc as FlexStyleProps, bd as FlexWrap, be as FontAlias, al as FontAxisConfig, F as FontConfig, bf as FontCssVar, an as FontDeclarationConfig, am as FontDeclarationItemConfig, ao as FontDeclarationMap, bg as FontFamilyCDNUrl, bh as FontFamilyConfig, bi as FontID, bj as FontSize, bk as FontSizeConfig, bl as FontSlantConfig, bm as FontType, bn as FontWeightConfig, bo as FontWeightDescriptive, ap as FontWeightForFont, bp as FontWeightNumeric, bq as FontWidthConfig, br as ForegroundColor, bs as ForegroundPalette, bt as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bu as HighContrastMode, H as Hue, k as HueStep, R as ICON_SIZE_PREFIX, a2 as INVERT_COLOR_MODE_CLASSNAME, bv as IconButtonSize, bw as IconSizeConfig, bx as IconSlotRenderProps, by as ImageStyleProps, bz as InputSize, a6 as LARGE_SCALE_MODE_CLASSNAME, X as LETTER_SPACING_PREFIX, a0 as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_COLOR_PREFIX, W as LINE_HEIGHT_PREFIX, bA as LayoutStyleProps, bB as LineClampAlias, bC as LineColor, bD as LineHeight, bE as LineHeightConfig, bF as LinePalette, bG as LinePaletteAlias, a5 as MEDIUM_SCALE_MODE_CLASSNAME, Y as MOTION_PREFIX, bH as Modes, M as MotionConfig, bI as MotionCssVar, bJ as MotionSpringConfig, bK as MotionSpringConfigOptions, bL as MotionVariant, bM as MotionVariantSpeed, bN as MotionVariantValues, bO as OpacityStep, bP as Overflow, aj as PSEUDO_STYLE_SELECTOR_MAP, bQ as Palette, l as PaletteConfig, P as PaletteType, bR as PaletteValue, bS as Percentage, bT as PercentageUnit, bU as PixelsUnit, bV as PlatformMode, bW as Position, bX as PropertyToPaletteAliasMap, c1 as RGBAUnit, c2 as RGBColorValue, bY as RadioSize, bZ as RadioValue, b_ as RadioVariant, b$ as RegionMode, c0 as RemsUnit, a4 as SMALL_SCALE_MODE_CLASSNAME, Z as SPECTRUM_COLOR_PREFIX, a1 as SYSTEM_COLOR_MODE_CLASSNAME, c3 as ScaleConfig, c4 as ScaleEffect, m as ScaleMode, S as ScaleModeConfig, c5 as ScaleModeForApp, c6 as ShadowColor, c7 as ShadowColorConfig, d as ShadowConfig, c8 as ShadowOffset, c9 as ShadowOpacity, ca as ShadowPalette, cb as ShadowPaletteAlias, n as ShadowPreset, cc as ShadowSpreadRadius, cd as ShadowStyleProps, ce as ShadowType, cf as ShadowTypeConfig, cg as ShadowVariant, ch as ShadowVariantConfig, ci as ShadowVariantInvert, cj as ShadowVariantWithElevation, ck as ShadowVariantWithInvert, cl as SharedPaletteAlias, r as SpacingAlias, cm as SpacingConfig, cn as SpacingStyleProps, co as SpectrumColor, cp as SpectrumConfig, cq as StateStyleProps, cr as StyleProps, cs as SwitchSize, ad as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, ac as TEXT_RESPONSIVE_CLASSNAME, _ as TEXT_TRANSFORM_PREFIX, cE as TShirtSize, cF as TShirtSizeCommon, ct as TextDecorationLine, cu as TextProperty, cv as TextStyleProps, cw as TextTransform, cx as TextTransformConfig, cy as TextVariant, cz as TextVariantTypography, o as TextVariantUi, cA as TextVariantWithoutEmphasized, cB as TransitionDelay, cC as TransitionDuration, cD as TransitionTiming, T as TypographyConfig, cG as TypographyResponsiveProperty, cH as TypographyStyle, cI as TypographyStyleProperty, cJ as TypographyUnitValue, x as UDS_PREFIX, cK as UdsCssVar, cL as UnitlessUnit, cM as UniversalAvatarIconProps, cN as UniversalAvatarImageProps, cO as UniversalAvatarProps, cP as UniversalAvatarTextProps, cQ as UniversalBadgeProps, b as UniversalBoxProps, cR as UniversalButtonProps, cS as UniversalCheckboxProps, cT as UniversalChipBaseProps, cU as UniversalChipButtonProps, cV as UniversalChipDismissibleProps, cW as UniversalChipLinkProps, cX as UniversalChipProps, cY as UniversalChipToggleProps, q as UniversalDividerProps, cZ as UniversalIconButtonProps, c_ as UniversalIconProps, c$ as UniversalIconSlot, d0 as UniversalImageProps, d1 as UniversalInputProps, s as UniversalMenuItemProps, a as UniversalPressableProps, d2 as UniversalRadioGroupProps, d3 as UniversalRadioProps, c as UniversalSwitchProps, U as UniversalTextProps, f as UniversalTokensConfig, d4 as UniversalTokensConfigAuto, a7 as XLARGE_SCALE_MODE_CLASSNAME, a3 as XSMALL_SCALE_MODE_CLASSNAME, a8 as XXLARGE_SCALE_MODE_CLASSNAME, a9 as XXXLARGE_SCALE_MODE_CLASSNAME, w as alwaysPalette } from './universalTokensConfigAuto-CBx7dCyR.cjs';
|
|
7
7
|
import * as react from 'react';
|
|
8
8
|
import { PropsWithChildren, Dispatch, SetStateAction } from 'react';
|
|
9
|
-
export { T as Text, a as TextProps } from './Text-
|
|
9
|
+
export { T as Text, a as TextProps } from './Text-CL2P69Uj.cjs';
|
|
10
10
|
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, InputHelpText, InputHelpTextProps, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
|
|
11
11
|
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, cartesianProduct, coalesceConfigVariant, entries, fontWeightMap, fromEntries, generateKeyFromFlatConfigPath, generateSchemaKey, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, isConfigDefaultValue, mapValues, parseButtonVariantFlat, parseOpacityStep, setConfigPseudoStateVariable, shadow, variants } from './tokens/index.cjs';
|
|
12
12
|
export { AvatarConfig, BadgeConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.cjs';
|
|
13
|
-
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, x as createComponentStates, r as createConfigurableProperty, y as createLayerConfig, z as createSubComponentConfig, u as createVariantConfig, w as createVariantConfigWithComponentStates, v as createVariantConfigWithProperties, l as findFixtureType, n as generateClassName, p as generateConfigStyles, o as generateDeclaration, m as generateDefaultClassName, q as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-
|
|
13
|
+
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, x as createComponentStates, r as createConfigurableProperty, y as createLayerConfig, z as createSubComponentConfig, u as createVariantConfig, w as createVariantConfigWithComponentStates, v as createVariantConfigWithProperties, l as findFixtureType, n as generateClassName, p as generateConfigStyles, o as generateDeclaration, m as generateDefaultClassName, q as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from './index-FeI_wfo_.cjs';
|
|
14
14
|
export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
|
|
15
15
|
import 'motion/react';
|
|
16
16
|
import 'type-fest';
|