@yahoo/uds-v5-wip 1.59.0 → 1.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/dist/accordion.config.d.ts +1 -2
- package/dist/components/dist/accordion.d.ts +1 -2
- package/dist/components/dist/accordion.js +9 -9
- package/dist/components/dist/alert.config.d.ts +1 -2
- package/dist/components/dist/alert.d.ts +1 -2
- package/dist/components/dist/alert.js +2 -2
- package/dist/components/dist/anchor.config.d.ts +1 -2
- package/dist/components/dist/anchor.d.ts +1 -2
- package/dist/components/dist/article.d.ts +1 -2
- package/dist/components/dist/aside.d.ts +1 -2
- package/dist/components/dist/avatar-group.config.d.ts +1 -2
- package/dist/components/dist/avatar-group.d.ts +1 -2
- package/dist/components/dist/avatar-group.js +6 -6
- package/dist/components/dist/avatar.config.d.ts +1 -2
- package/dist/components/dist/avatar.d.ts +1 -2
- package/dist/components/dist/avatar.js +3 -3
- package/dist/components/dist/badge.config.d.ts +1 -2
- package/dist/components/dist/badge.d.ts +1 -2
- package/dist/components/dist/badge.js +2 -2
- package/dist/components/dist/box.d.ts +1 -2
- package/dist/components/dist/breadcrumb.config.d.ts +1 -2
- package/dist/components/dist/breadcrumb.d.ts +1 -2
- package/dist/components/dist/breadcrumb.js +17 -17
- package/dist/components/dist/button.config.d.ts +1 -2
- package/dist/components/dist/button.d.ts +1 -2
- package/dist/components/dist/button.js +5 -5
- package/dist/components/dist/card.config.d.ts +1 -2
- package/dist/components/dist/card.d.ts +1 -2
- package/dist/components/dist/card.js +4 -4
- package/dist/components/dist/collapsible.config.d.ts +1 -2
- package/dist/components/dist/collapsible.d.ts +1 -2
- package/dist/components/dist/collapsible.js +3 -3
- package/dist/components/dist/command.config.d.ts +1 -2
- package/dist/components/dist/command.d.ts +1 -2
- package/dist/components/dist/command.js +21 -21
- package/dist/components/dist/control-color.config.d.ts +1 -2
- package/dist/components/dist/control-color.d.ts +1 -2
- package/dist/components/dist/control-color.js +6 -6
- package/dist/components/dist/control-curve.config.d.ts +1 -2
- package/dist/components/dist/control-curve.d.ts +1 -2
- package/dist/components/dist/control-curve.js +4 -4
- package/dist/components/dist/control-folder.config.d.ts +1 -2
- package/dist/components/dist/control-folder.d.ts +1 -2
- package/dist/components/dist/control-folder.js +6 -6
- package/dist/components/dist/control-group.config.d.ts +1 -2
- package/dist/components/dist/control-group.d.ts +1 -2
- package/dist/components/dist/control-group.js +3 -3
- package/dist/components/dist/control-knob.config.d.ts +1 -2
- package/dist/components/dist/control-knob.d.ts +1 -2
- package/dist/components/dist/control-knob.js +8 -8
- package/dist/components/dist/control-panel.config.d.ts +1 -2
- package/dist/components/dist/control-panel.d.ts +1 -2
- package/dist/components/dist/control-panel.js +3 -3
- package/dist/components/dist/control-select.config.d.ts +1 -2
- package/dist/components/dist/control-select.d.ts +1 -2
- package/dist/components/dist/control-select.js +8 -8
- package/dist/components/dist/control-slider.config.d.ts +1 -2
- package/dist/components/dist/control-slider.d.ts +1 -2
- package/dist/components/dist/control-slider.js +8 -8
- package/dist/components/dist/control-spring.config.d.ts +1 -2
- package/dist/components/dist/control-spring.d.ts +1 -2
- package/dist/components/dist/control-spring.js +12 -12
- package/dist/components/dist/control-stepper.config.d.ts +1 -2
- package/dist/components/dist/control-stepper.d.ts +1 -2
- package/dist/components/dist/control-stepper.js +6 -6
- package/dist/components/dist/control-toggle.config.d.ts +1 -2
- package/dist/components/dist/control-toggle.d.ts +1 -2
- package/dist/components/dist/control-toggle.js +3 -3
- package/dist/components/dist/createSlot.d.ts +1 -2
- package/dist/components/dist/createSlot.js +2 -2
- package/dist/components/dist/dropdown.config.d.ts +1 -2
- package/dist/components/dist/dropdown.d.ts +1 -2
- package/dist/components/dist/dropdown.js +10 -10
- package/dist/components/dist/empty-state.config.d.ts +1 -2
- package/dist/components/dist/empty-state.d.ts +1 -2
- package/dist/components/dist/empty-state.js +6 -6
- package/dist/components/dist/footer.d.ts +1 -2
- package/dist/components/dist/grid.d.ts +1 -2
- package/dist/components/dist/grid.js +2 -2
- package/dist/components/dist/header.d.ts +1 -2
- package/dist/components/dist/hstack.d.ts +1 -2
- package/dist/components/dist/hstack.js +1 -1
- package/dist/components/dist/image.d.ts +1 -2
- package/dist/components/dist/input.config.d.ts +1 -2
- package/dist/components/dist/input.d.ts +1 -2
- package/dist/components/dist/input.js +1 -1
- package/dist/components/dist/item.config.d.ts +1 -2
- package/dist/components/dist/item.d.ts +1 -2
- package/dist/components/dist/item.js +8 -8
- package/dist/components/dist/list.d.ts +1 -2
- package/dist/components/dist/list.js +1 -1
- package/dist/components/dist/main.d.ts +1 -2
- package/dist/components/dist/modal.config.d.ts +1 -2
- package/dist/components/dist/modal.d.ts +1 -2
- package/dist/components/dist/modal.js +8 -8
- package/dist/components/dist/nav-header.config.d.ts +1 -2
- package/dist/components/dist/nav-header.d.ts +1 -2
- package/dist/components/dist/nav-header.js +3 -3
- package/dist/components/dist/nav.d.ts +1 -2
- package/dist/components/dist/preset-bar.config.d.ts +1 -2
- package/dist/components/dist/preset-bar.d.ts +1 -2
- package/dist/components/dist/preset-bar.js +10 -10
- package/dist/components/dist/presets/index.d.ts +2 -3
- package/dist/components/dist/pressable.d.ts +1 -2
- package/dist/components/dist/progress.config.d.ts +1 -2
- package/dist/components/dist/progress.d.ts +1 -2
- package/dist/components/dist/progress.js +6 -6
- package/dist/components/dist/section.d.ts +1 -2
- package/dist/components/dist/select.config.d.ts +1 -2
- package/dist/components/dist/select.d.ts +1 -2
- package/dist/components/dist/sheet.config.d.ts +1 -2
- package/dist/components/dist/sheet.d.ts +1 -2
- package/dist/components/dist/sheet.js +8 -8
- package/dist/components/dist/sidebar.config.d.ts +1 -2
- package/dist/components/dist/sidebar.d.ts +1 -2
- package/dist/components/dist/sidebar.js +42 -42
- package/dist/components/dist/skeleton.config.d.ts +1 -2
- package/dist/components/dist/skeleton.d.ts +1 -2
- package/dist/components/dist/skeleton.js +1 -1
- package/dist/components/dist/slider.config.d.ts +1 -2
- package/dist/components/dist/slider.d.ts +1 -2
- package/dist/components/dist/slider.js +5 -5
- package/dist/components/dist/spinner.config.d.ts +1 -2
- package/dist/components/dist/spinner.d.ts +1 -2
- package/dist/components/dist/spinner.js +2 -2
- package/dist/components/dist/svg.d.ts +1 -2
- package/dist/components/dist/switch.config.d.ts +1 -2
- package/dist/components/dist/switch.d.ts +1 -2
- package/dist/components/dist/switch.js +5 -5
- package/dist/components/dist/table.d.ts +1 -2
- package/dist/components/dist/tabs.config.d.ts +1 -2
- package/dist/components/dist/tabs.d.ts +1 -2
- package/dist/components/dist/tabs.js +8 -8
- package/dist/components/dist/text.config.d.ts +1 -2
- package/dist/components/dist/text.d.ts +1 -2
- package/dist/components/dist/textarea.config.d.ts +1 -2
- package/dist/components/dist/textarea.d.ts +1 -2
- package/dist/components/dist/toast.config.d.ts +1 -2
- package/dist/components/dist/toast.d.ts +1 -2
- package/dist/components/dist/toast.js +7 -7
- package/dist/components/dist/tooltip.config.d.ts +1 -2
- package/dist/components/dist/tooltip.d.ts +1 -2
- package/dist/components/dist/tooltip.js +3 -3
- package/dist/components/dist/vstack.d.ts +1 -2
- package/dist/components/dist/vstack.js +1 -1
- package/dist/components/presets/index.d.ts +1 -1
- package/dist/config/dist/createConfig.js +1 -1
- package/dist/config.d.ts +185 -185
- package/dist/core/dist/compositeStyles.d.ts +1 -2
- package/dist/core/dist/configurable-prop-helpers.d.ts +1 -2
- package/dist/core/dist/createComponent.d.ts +1 -2
- package/dist/core/dist/createComponentExample.d.ts +1 -2
- package/dist/core/dist/createProvider.d.ts +1 -2
- package/dist/core/dist/generated/stylePropsTwMap.d.ts +1 -2
- package/dist/core/dist/getComponentStyles.d.ts +1 -2
- package/dist/core/dist/getStyles.d.ts +1 -2
- package/dist/core/dist/modifier-mappings.d.ts +1 -2
- package/dist/core/dist/resolveMotionState.d.ts +1 -2
- package/dist/core/dist/style-prop-data.d.ts +1 -2
- package/dist/core/dist/transformPreset.d.ts +1 -2
- package/dist/core/dist/withDefaultStyleProps.d.ts +1 -2
- package/dist/foundational-presets/dist/defaultPreset.d.ts +185 -186
- package/dist/foundational-presets/dist/motion.d.ts +1 -2
- package/dist/loader/dist/loader.d.ts +1 -2
- package/dist/loader/dist/next.d.ts +1 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/config.d.ts
CHANGED
|
@@ -35,50 +35,9 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
37
|
}>, {
|
|
38
|
-
opacity: {
|
|
39
|
-
0: string;
|
|
40
|
-
5: string;
|
|
41
|
-
10: string;
|
|
42
|
-
20: string;
|
|
43
|
-
40: string;
|
|
44
|
-
60: string;
|
|
45
|
-
80: string;
|
|
46
|
-
25: string;
|
|
47
|
-
30: string;
|
|
48
|
-
50: string;
|
|
49
|
-
70: string;
|
|
50
|
-
75: string;
|
|
51
|
-
90: string;
|
|
52
|
-
95: string;
|
|
53
|
-
100: string;
|
|
54
|
-
};
|
|
55
|
-
scale: {
|
|
56
|
-
0: string;
|
|
57
|
-
50: string;
|
|
58
|
-
75: string;
|
|
59
|
-
90: string;
|
|
60
|
-
95: string;
|
|
61
|
-
100: string;
|
|
62
|
-
105: string;
|
|
63
|
-
110: string;
|
|
64
|
-
125: string;
|
|
65
|
-
150: string;
|
|
66
|
-
200: string;
|
|
67
|
-
};
|
|
68
|
-
rotate: {
|
|
69
|
-
0: string;
|
|
70
|
-
1: string;
|
|
71
|
-
2: string;
|
|
72
|
-
3: string;
|
|
73
|
-
6: string;
|
|
74
|
-
12: string;
|
|
75
|
-
90: string;
|
|
76
|
-
45: string;
|
|
77
|
-
180: string;
|
|
78
|
-
};
|
|
79
38
|
color: {
|
|
80
|
-
inherit: string;
|
|
81
39
|
transparent: string;
|
|
40
|
+
inherit: string;
|
|
82
41
|
current: string;
|
|
83
42
|
"always/black": string;
|
|
84
43
|
"always/white": string;
|
|
@@ -101,22 +60,16 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
101
60
|
inverse: string;
|
|
102
61
|
"on-inverse": string;
|
|
103
62
|
};
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
surface: string;
|
|
115
|
-
"brand-wash": string;
|
|
116
|
-
"accent-wash": string;
|
|
117
|
-
"alert-wash": string;
|
|
118
|
-
"positive-wash": string;
|
|
119
|
-
"warning-wash": string;
|
|
63
|
+
shadow: {
|
|
64
|
+
none: string;
|
|
65
|
+
sm: string;
|
|
66
|
+
md: string;
|
|
67
|
+
lg: string;
|
|
68
|
+
xl: string;
|
|
69
|
+
"2xl": string;
|
|
70
|
+
xs: string;
|
|
71
|
+
"2xs": string;
|
|
72
|
+
inner: string;
|
|
120
73
|
};
|
|
121
74
|
position: {
|
|
122
75
|
auto: string;
|
|
@@ -128,17 +81,111 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
128
81
|
"2/4": string;
|
|
129
82
|
"3/4": string;
|
|
130
83
|
};
|
|
84
|
+
flex: {
|
|
85
|
+
1: string;
|
|
86
|
+
initial: string;
|
|
87
|
+
auto: string;
|
|
88
|
+
none: string;
|
|
89
|
+
};
|
|
90
|
+
rotate: {
|
|
91
|
+
0: string;
|
|
92
|
+
1: string;
|
|
93
|
+
2: string;
|
|
94
|
+
3: string;
|
|
95
|
+
6: string;
|
|
96
|
+
12: string;
|
|
97
|
+
90: string;
|
|
98
|
+
45: string;
|
|
99
|
+
180: string;
|
|
100
|
+
};
|
|
101
|
+
scale: {
|
|
102
|
+
0: string;
|
|
103
|
+
50: string;
|
|
104
|
+
75: string;
|
|
105
|
+
90: string;
|
|
106
|
+
95: string;
|
|
107
|
+
100: string;
|
|
108
|
+
105: string;
|
|
109
|
+
110: string;
|
|
110
|
+
125: string;
|
|
111
|
+
150: string;
|
|
112
|
+
200: string;
|
|
113
|
+
};
|
|
114
|
+
translate: {
|
|
115
|
+
0: string;
|
|
116
|
+
1: string;
|
|
117
|
+
2: string;
|
|
118
|
+
full: string;
|
|
119
|
+
"1/2": string;
|
|
120
|
+
"1/3": string;
|
|
121
|
+
"2/3": string;
|
|
122
|
+
"1/4": string;
|
|
123
|
+
"3/4": string;
|
|
124
|
+
4: string;
|
|
125
|
+
8: string;
|
|
126
|
+
0.5: string;
|
|
127
|
+
1.5: string;
|
|
128
|
+
2.5: string;
|
|
129
|
+
3: string;
|
|
130
|
+
3.5: string;
|
|
131
|
+
5: string;
|
|
132
|
+
6: string;
|
|
133
|
+
7: string;
|
|
134
|
+
9: string;
|
|
135
|
+
10: string;
|
|
136
|
+
11: string;
|
|
137
|
+
12: string;
|
|
138
|
+
14: string;
|
|
139
|
+
16: string;
|
|
140
|
+
20: string;
|
|
141
|
+
24: string;
|
|
142
|
+
28: string;
|
|
143
|
+
32: string;
|
|
144
|
+
36: string;
|
|
145
|
+
40: string;
|
|
146
|
+
44: string;
|
|
147
|
+
48: string;
|
|
148
|
+
52: string;
|
|
149
|
+
56: string;
|
|
150
|
+
60: string;
|
|
151
|
+
64: string;
|
|
152
|
+
72: string;
|
|
153
|
+
80: string;
|
|
154
|
+
96: string;
|
|
155
|
+
};
|
|
156
|
+
animation: {
|
|
157
|
+
none: string;
|
|
158
|
+
spin: string;
|
|
159
|
+
ping: string;
|
|
160
|
+
};
|
|
161
|
+
opacity: {
|
|
162
|
+
0: string;
|
|
163
|
+
5: string;
|
|
164
|
+
10: string;
|
|
165
|
+
20: string;
|
|
166
|
+
40: string;
|
|
167
|
+
60: string;
|
|
168
|
+
80: string;
|
|
169
|
+
25: string;
|
|
170
|
+
30: string;
|
|
171
|
+
50: string;
|
|
172
|
+
70: string;
|
|
173
|
+
75: string;
|
|
174
|
+
90: string;
|
|
175
|
+
95: string;
|
|
176
|
+
100: string;
|
|
177
|
+
};
|
|
131
178
|
size: {
|
|
132
179
|
auto: string;
|
|
133
180
|
full: string;
|
|
134
|
-
max: string;
|
|
135
|
-
min: string;
|
|
136
181
|
"1/2": string;
|
|
137
182
|
"1/3": string;
|
|
138
183
|
"2/3": string;
|
|
139
184
|
"1/4": string;
|
|
140
185
|
"2/4": string;
|
|
141
186
|
"3/4": string;
|
|
187
|
+
min: string;
|
|
188
|
+
max: string;
|
|
142
189
|
fit: string;
|
|
143
190
|
"1/5": string;
|
|
144
191
|
"2/5": string;
|
|
@@ -150,11 +197,6 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
150
197
|
"4/6": string;
|
|
151
198
|
"5/6": string;
|
|
152
199
|
};
|
|
153
|
-
animation: {
|
|
154
|
-
none: string;
|
|
155
|
-
ping: string;
|
|
156
|
-
spin: string;
|
|
157
|
-
};
|
|
158
200
|
bg: {
|
|
159
201
|
overlay: string;
|
|
160
202
|
brand: string;
|
|
@@ -176,6 +218,32 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
176
218
|
"positive-wash": string;
|
|
177
219
|
"warning-wash": string;
|
|
178
220
|
};
|
|
221
|
+
radius: {
|
|
222
|
+
none: string;
|
|
223
|
+
sm: string;
|
|
224
|
+
md: string;
|
|
225
|
+
lg: string;
|
|
226
|
+
xl: string;
|
|
227
|
+
full: string;
|
|
228
|
+
xs: string;
|
|
229
|
+
};
|
|
230
|
+
borderColor: {
|
|
231
|
+
brand: string;
|
|
232
|
+
accent: string;
|
|
233
|
+
alert: string;
|
|
234
|
+
positive: string;
|
|
235
|
+
warning: string;
|
|
236
|
+
primary: string;
|
|
237
|
+
secondary: string;
|
|
238
|
+
tertiary: string;
|
|
239
|
+
inverse: string;
|
|
240
|
+
surface: string;
|
|
241
|
+
"brand-wash": string;
|
|
242
|
+
"accent-wash": string;
|
|
243
|
+
"alert-wash": string;
|
|
244
|
+
"positive-wash": string;
|
|
245
|
+
"warning-wash": string;
|
|
246
|
+
};
|
|
179
247
|
borderWidth: {
|
|
180
248
|
none: string;
|
|
181
249
|
thin: string;
|
|
@@ -184,16 +252,19 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
184
252
|
};
|
|
185
253
|
divideWidth: {
|
|
186
254
|
0: string;
|
|
187
|
-
4: string;
|
|
188
|
-
reverse: string;
|
|
189
255
|
2: string;
|
|
256
|
+
reverse: string;
|
|
257
|
+
4: string;
|
|
190
258
|
8: string;
|
|
191
259
|
};
|
|
192
|
-
|
|
260
|
+
blur: {
|
|
193
261
|
none: string;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
262
|
+
sm: string;
|
|
263
|
+
md: string;
|
|
264
|
+
lg: string;
|
|
265
|
+
xl: string;
|
|
266
|
+
"2xl": string;
|
|
267
|
+
"3xl": string;
|
|
197
268
|
};
|
|
198
269
|
flexGrow: {
|
|
199
270
|
0: string;
|
|
@@ -202,29 +273,12 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
202
273
|
flexShrink: {
|
|
203
274
|
0: string;
|
|
204
275
|
};
|
|
205
|
-
aspectRatio: {
|
|
206
|
-
square: string;
|
|
207
|
-
landscape: string;
|
|
208
|
-
portrait: string;
|
|
209
|
-
widescreen: string;
|
|
210
|
-
ultrawide: string;
|
|
211
|
-
golden: string;
|
|
212
|
-
};
|
|
213
|
-
zIndex: {
|
|
214
|
-
0: string;
|
|
215
|
-
auto: string;
|
|
216
|
-
10: string;
|
|
217
|
-
20: string;
|
|
218
|
-
40: string;
|
|
219
|
-
30: string;
|
|
220
|
-
50: string;
|
|
221
|
-
};
|
|
222
276
|
spacing: {
|
|
223
277
|
0: string;
|
|
224
|
-
4: string;
|
|
225
278
|
1: string;
|
|
226
279
|
2: string;
|
|
227
280
|
px: string;
|
|
281
|
+
4: string;
|
|
228
282
|
8: string;
|
|
229
283
|
0.5: string;
|
|
230
284
|
1.5: string;
|
|
@@ -256,57 +310,62 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
256
310
|
80: string;
|
|
257
311
|
96: string;
|
|
258
312
|
};
|
|
259
|
-
|
|
260
|
-
screen: string;
|
|
261
|
-
svw: string;
|
|
262
|
-
lvw: string;
|
|
263
|
-
dvw: string;
|
|
264
|
-
};
|
|
265
|
-
outlineWidth: {
|
|
313
|
+
zIndex: {
|
|
266
314
|
0: string;
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
315
|
+
auto: string;
|
|
316
|
+
10: string;
|
|
317
|
+
20: string;
|
|
318
|
+
40: string;
|
|
319
|
+
30: string;
|
|
320
|
+
50: string;
|
|
271
321
|
};
|
|
272
322
|
outlineOffset: {
|
|
273
323
|
0: string;
|
|
274
|
-
4: string;
|
|
275
324
|
1: string;
|
|
276
325
|
2: string;
|
|
326
|
+
4: string;
|
|
277
327
|
8: string;
|
|
278
328
|
};
|
|
279
329
|
ringWidth: {
|
|
280
330
|
0: string;
|
|
281
|
-
4: string;
|
|
282
|
-
inset: string;
|
|
283
331
|
1: string;
|
|
332
|
+
inset: string;
|
|
284
333
|
2: string;
|
|
334
|
+
4: string;
|
|
285
335
|
8: string;
|
|
286
336
|
};
|
|
287
337
|
ringOffsetWidth: {
|
|
288
338
|
0: string;
|
|
289
|
-
4: string;
|
|
290
339
|
1: string;
|
|
291
340
|
2: string;
|
|
341
|
+
4: string;
|
|
292
342
|
8: string;
|
|
293
343
|
};
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
344
|
+
h: {
|
|
345
|
+
screen: string;
|
|
346
|
+
svh: string;
|
|
347
|
+
lvh: string;
|
|
348
|
+
dvh: string;
|
|
349
|
+
};
|
|
350
|
+
w: {
|
|
351
|
+
screen: string;
|
|
352
|
+
svw: string;
|
|
353
|
+
lvw: string;
|
|
354
|
+
dvw: string;
|
|
304
355
|
};
|
|
305
356
|
strokeWidth: {
|
|
306
357
|
0: string;
|
|
307
358
|
1: string;
|
|
308
359
|
2: string;
|
|
309
360
|
};
|
|
361
|
+
skew: {
|
|
362
|
+
0: string;
|
|
363
|
+
1: string;
|
|
364
|
+
2: string;
|
|
365
|
+
3: string;
|
|
366
|
+
6: string;
|
|
367
|
+
12: string;
|
|
368
|
+
};
|
|
310
369
|
fontFamily: {
|
|
311
370
|
sans: string;
|
|
312
371
|
serif: string;
|
|
@@ -314,8 +373,8 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
314
373
|
};
|
|
315
374
|
fontWeight: {
|
|
316
375
|
normal: string;
|
|
317
|
-
thin: string;
|
|
318
376
|
bold: string;
|
|
377
|
+
thin: string;
|
|
319
378
|
medium: string;
|
|
320
379
|
extralight: string;
|
|
321
380
|
light: string;
|
|
@@ -332,8 +391,8 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
332
391
|
widest: string;
|
|
333
392
|
};
|
|
334
393
|
lineHeight: {
|
|
335
|
-
none: string;
|
|
336
394
|
normal: string;
|
|
395
|
+
none: string;
|
|
337
396
|
tight: string;
|
|
338
397
|
relaxed: string;
|
|
339
398
|
};
|
|
@@ -342,82 +401,23 @@ declare const defaultPreset: UdsConfig<_$_uds_types0.ModifierProp | GetModifierF
|
|
|
342
401
|
sm: string;
|
|
343
402
|
md: string;
|
|
344
403
|
lg: string;
|
|
345
|
-
"2xs": string;
|
|
346
404
|
xs: string;
|
|
405
|
+
"2xs": string;
|
|
347
406
|
};
|
|
348
|
-
|
|
349
|
-
none: string;
|
|
350
|
-
sm: string;
|
|
351
|
-
md: string;
|
|
352
|
-
lg: string;
|
|
353
|
-
xl: string;
|
|
354
|
-
"2xl": string;
|
|
355
|
-
"3xl": string;
|
|
356
|
-
};
|
|
357
|
-
translate: {
|
|
407
|
+
outlineWidth: {
|
|
358
408
|
0: string;
|
|
359
|
-
4: string;
|
|
360
|
-
full: string;
|
|
361
409
|
1: string;
|
|
362
410
|
2: string;
|
|
363
|
-
|
|
364
|
-
"1/3": string;
|
|
365
|
-
"2/3": string;
|
|
366
|
-
"1/4": string;
|
|
367
|
-
"3/4": string;
|
|
411
|
+
4: string;
|
|
368
412
|
8: string;
|
|
369
|
-
0.5: string;
|
|
370
|
-
1.5: string;
|
|
371
|
-
2.5: string;
|
|
372
|
-
3: string;
|
|
373
|
-
3.5: string;
|
|
374
|
-
5: string;
|
|
375
|
-
6: string;
|
|
376
|
-
7: string;
|
|
377
|
-
9: string;
|
|
378
|
-
10: string;
|
|
379
|
-
11: string;
|
|
380
|
-
12: string;
|
|
381
|
-
14: string;
|
|
382
|
-
16: string;
|
|
383
|
-
20: string;
|
|
384
|
-
24: string;
|
|
385
|
-
28: string;
|
|
386
|
-
32: string;
|
|
387
|
-
36: string;
|
|
388
|
-
40: string;
|
|
389
|
-
44: string;
|
|
390
|
-
48: string;
|
|
391
|
-
52: string;
|
|
392
|
-
56: string;
|
|
393
|
-
60: string;
|
|
394
|
-
64: string;
|
|
395
|
-
72: string;
|
|
396
|
-
80: string;
|
|
397
|
-
96: string;
|
|
398
|
-
};
|
|
399
|
-
radius: {
|
|
400
|
-
none: string;
|
|
401
|
-
sm: string;
|
|
402
|
-
md: string;
|
|
403
|
-
lg: string;
|
|
404
|
-
xl: string;
|
|
405
|
-
xs: string;
|
|
406
|
-
full: string;
|
|
407
|
-
};
|
|
408
|
-
h: {
|
|
409
|
-
screen: string;
|
|
410
|
-
svh: string;
|
|
411
|
-
lvh: string;
|
|
412
|
-
dvh: string;
|
|
413
413
|
};
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
414
|
+
aspectRatio: {
|
|
415
|
+
square: string;
|
|
416
|
+
landscape: string;
|
|
417
|
+
portrait: string;
|
|
418
|
+
widescreen: string;
|
|
419
|
+
ultrawide: string;
|
|
420
|
+
golden: string;
|
|
421
421
|
};
|
|
422
422
|
}, {}, {}, {}, GetModifierFromInput<{
|
|
423
423
|
readonly colorMode: {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { CompositeStylesConfig } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/compositeStyles.d.ts
|
|
4
|
-
//#region src/compositeStyles.d.ts
|
|
5
4
|
/** Set the composite-styles config (called by loader at build time) */
|
|
6
5
|
declare function setCompositeStylesConfig(config: CompositeStylesConfig): void;
|
|
7
6
|
/** Get the current composite-styles config */
|
|
@@ -17,6 +16,6 @@ declare function getCompositeStylesConfig(): CompositeStylesConfig;
|
|
|
17
16
|
declare function expandCompositeStyles(props: Record<string, unknown>, config?: CompositeStylesConfig): {
|
|
18
17
|
expanded: Record<string, unknown>;
|
|
19
18
|
markerClasses: string[];
|
|
20
|
-
};
|
|
19
|
+
};
|
|
21
20
|
//#endregion
|
|
22
21
|
export { expandCompositeStyles, getCompositeStylesConfig, setCompositeStylesConfig };
|
|
@@ -2,7 +2,6 @@ import { PropMapping } from "./style-prop-data.js";
|
|
|
2
2
|
import { ConfigurableProp } from "@uds/types";
|
|
3
3
|
|
|
4
4
|
//#region ../core/dist/configurable-prop-helpers.d.ts
|
|
5
|
-
//#region src/configurable-prop-helpers.d.ts
|
|
6
5
|
/** Look up a {@link PropMapping} by ConfigurableProp name. */
|
|
7
6
|
declare function getConfigurablePropMapping(prop: ConfigurableProp): PropMapping | undefined;
|
|
8
7
|
interface ConfigurablePropertyEntry {
|
|
@@ -27,6 +26,6 @@ interface CssVariablePrefixEntry {
|
|
|
27
26
|
* Only includes props that have both `cssProperty` and `defaultVarPrefix`.
|
|
28
27
|
* Deduplicates by `defaultVarPrefix` so each namespace appears once.
|
|
29
28
|
*/
|
|
30
|
-
declare function getCssVariablePrefixes(): CssVariablePrefixEntry[];
|
|
29
|
+
declare function getCssVariablePrefixes(): CssVariablePrefixEntry[];
|
|
31
30
|
//#endregion
|
|
32
31
|
export { ConfigurablePropertyEntry, CssVariablePrefixEntry, getConfigurablePropMapping, getConfigurableProperties, getCssVariablePrefixes };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { CreateComponentConfig, CreateComponentProps, CreateComponentRenderFn, CreateComponentSlotTagConfig, CreateComponentTypeInput } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/createComponent.d.ts
|
|
4
|
-
//#region src/createComponent.d.ts
|
|
5
4
|
type PrimitiveTag = keyof React.JSX.IntrinsicElements;
|
|
6
5
|
type SpecConfig<TSpec> = TSpec extends {
|
|
7
6
|
config: infer TConfig extends CreateComponentTypeInput;
|
|
@@ -52,6 +51,6 @@ declare function createComponent<TSpecOrProps = {}>(tag: PrimitiveTag): React.FC
|
|
|
52
51
|
props: infer TOwnProps;
|
|
53
52
|
} ? CreateComponentProps<TConfig, TOwnProps, PrimitiveTag> : PrimitiveOwnProps<TSpecOrProps>>;
|
|
54
53
|
declare function createComponent<TSpec>(renderFn: CreateComponentRenderFn<SpecConfig<TSpec>, SpecOwnProps<TSpec>, SpecSlotConfig<TSpec>>): React.FC<CreateComponentProps<SpecConfig<TSpec>, SpecOwnProps<TSpec>, SpecSlotConfig<TSpec>>>;
|
|
55
|
-
declare function createComponent(config: CreateComponentConfig<string>, renderFn: CreateComponentRenderFn<any, any, any>): React.FC<any>;
|
|
54
|
+
declare function createComponent(config: CreateComponentConfig<string>, renderFn: CreateComponentRenderFn<any, any, any>): React.FC<any>;
|
|
56
55
|
//#endregion
|
|
57
56
|
export { createComponent };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, ComponentType } from "react";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/createComponentExample.d.ts
|
|
4
|
-
//#region src/createComponentExample.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Extracts variant fixtures from a Component's props type.
|
|
7
6
|
* If Button has `variant?: 'brand' | 'outline'` and `size?: 'sm' | 'md'`,
|
|
@@ -37,6 +36,6 @@ type ExamplesResult<TComponent extends ComponentType<any>> = {
|
|
|
37
36
|
* }));
|
|
38
37
|
* ```
|
|
39
38
|
*/
|
|
40
|
-
declare function createComponentExample<TComponent extends ComponentType<any>, T extends Record<string, ExampleFn<TComponent>>>(Component: TComponent, examplesFn: (fixtures: VariantFixtures<TComponent>) => ExamplesResult<TComponent>): ComponentExample<T>;
|
|
39
|
+
declare function createComponentExample<TComponent extends ComponentType<any>, T extends Record<string, ExampleFn<TComponent>>>(Component: TComponent, examplesFn: (fixtures: VariantFixtures<TComponent>) => ExamplesResult<TComponent>): ComponentExample<T>;
|
|
41
40
|
//#endregion
|
|
42
41
|
export { ComponentExample, createComponentExample };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region ../core/dist/createProvider.d.ts
|
|
2
|
-
//#region src/createProvider.d.ts
|
|
3
2
|
type ProviderRenderFn<TContext, TProps = Record<never, never>> = (props: {
|
|
4
3
|
children: React.ReactNode;
|
|
5
4
|
} & TProps) => {
|
|
@@ -8,6 +7,6 @@ type ProviderRenderFn<TContext, TProps = Record<never, never>> = (props: {
|
|
|
8
7
|
};
|
|
9
8
|
declare function createProvider<TContext, TProps = Record<never, never>>(name: string, renderFn: ProviderRenderFn<TContext, TProps>): [React.FC<{
|
|
10
9
|
children: React.ReactNode;
|
|
11
|
-
} & TProps>, () => TContext];
|
|
10
|
+
} & TProps>, () => TContext];
|
|
12
11
|
//#endregion
|
|
13
12
|
export { createProvider };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region ../core/dist/generated/stylePropsTwMap.d.ts
|
|
2
|
-
//#region src/generated/stylePropsTwMap.d.ts
|
|
3
2
|
declare const stylePropsTwMap: {
|
|
4
3
|
readonly "border-boolean": {
|
|
5
4
|
readonly border: "boolean";
|
|
@@ -1696,6 +1695,6 @@ declare const stylePropsTwMap: {
|
|
|
1696
1695
|
readonly "hyphens-manual": {
|
|
1697
1696
|
readonly hyphens: "manual";
|
|
1698
1697
|
};
|
|
1699
|
-
};
|
|
1698
|
+
};
|
|
1700
1699
|
//#endregion
|
|
1701
1700
|
export { stylePropsTwMap };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComponentRegistry, ComponentSlotsOf, ComponentVariantsOf } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/getComponentStyles.d.ts
|
|
4
|
-
//#region src/getComponentStyles.d.ts
|
|
5
4
|
type ResolveSlots<Name extends string> = Name extends keyof ComponentRegistry ? ComponentSlotsOf<Name> : string;
|
|
6
5
|
type ResolveVariants<Name extends string> = Name extends keyof ComponentRegistry ? ComponentVariantsOf<Name> : Record<string, string>;
|
|
7
6
|
interface UdsRuntimeMeta {
|
|
@@ -45,6 +44,6 @@ interface ComponentStyler<Name extends string> {
|
|
|
45
44
|
* @param slots - Array of slot names
|
|
46
45
|
* @param element - Optional HTML element tag for element-specific prop forwarding
|
|
47
46
|
*/
|
|
48
|
-
declare function createComponentStyler<Name extends string>(componentName: Name, slots: readonly string[], element?: string, variants?: readonly string[]): ComponentStyler<Name>;
|
|
47
|
+
declare function createComponentStyler<Name extends string>(componentName: Name, slots: readonly string[], element?: string, variants?: readonly string[]): ComponentStyler<Name>;
|
|
49
48
|
//#endregion
|
|
50
49
|
export { createComponentStyler };
|
|
@@ -2,7 +2,6 @@ import { ClassValue } from "clsx";
|
|
|
2
2
|
import { ModifierProp, ModifierProps, StyleAndModifierProps, StyleProps } from "@uds/types";
|
|
3
3
|
|
|
4
4
|
//#region ../core/dist/getStyles.d.ts
|
|
5
|
-
//#region src/getStyles.d.ts
|
|
6
5
|
/** Convert kebab-case CSS property to camelCase for React inline styles.
|
|
7
6
|
* CSS custom properties (--*) are kept as-is since React supports them verbatim. */
|
|
8
7
|
declare function toCamelCase(str: string): string;
|
|
@@ -38,6 +37,6 @@ interface GetStylesParams extends StyleProps, ModifierProps {
|
|
|
38
37
|
* so they can be included in the CSS safelist.
|
|
39
38
|
*/
|
|
40
39
|
declare function getStyles(props: GetStylesParams): string;
|
|
41
|
-
declare function getVariantClassName(componentName: string, variant: string | undefined): string;
|
|
40
|
+
declare function getVariantClassName(componentName: string, variant: string | undefined): string;
|
|
42
41
|
//#endregion
|
|
43
42
|
export { createVariants, cx, getStyles, getVariantClassName, processStyleProps, toCamelCase };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ModifierProp } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/modifier-mappings.d.ts
|
|
4
|
-
//#region src/modifier-mappings.d.ts
|
|
5
4
|
declare const modifierMappings: Record<ModifierProp, string>;
|
|
6
5
|
interface ModifierEntry {
|
|
7
6
|
prop: string;
|
|
8
7
|
cssSelector: string;
|
|
9
8
|
category: string;
|
|
10
9
|
description: string;
|
|
11
|
-
}
|
|
10
|
+
}
|
|
12
11
|
//#endregion
|
|
13
12
|
export { ModifierEntry, modifierMappings };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region ../core/dist/resolveMotionState.d.ts
|
|
2
|
-
|
|
3
|
-
declare function resolveMotionState(stateKeyframe: Record<string, unknown>, index: number): Record<string, number>; //#endregion
|
|
2
|
+
declare function resolveMotionState(stateKeyframe: Record<string, unknown>, index: number): Record<string, number>;
|
|
4
3
|
//#endregion
|
|
5
4
|
export { resolveMotionState };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { StyleProp } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/style-prop-data.d.ts
|
|
4
|
-
//#region src/style-prop-data.d.ts
|
|
5
4
|
interface PropMapping {
|
|
6
5
|
/** Class name prefix for runtime class generation. 'no-prefix' means value IS the class. */
|
|
7
6
|
classPrefix: string;
|
|
@@ -28,6 +27,6 @@ interface PropMapping {
|
|
|
28
27
|
}
|
|
29
28
|
/** Exclude className — it's passed through, not mapped to a utility class */
|
|
30
29
|
type MappedStyleProp = Exclude<StyleProp, 'className'>;
|
|
31
|
-
declare const propMappings: Record<MappedStyleProp, PropMapping>;
|
|
30
|
+
declare const propMappings: Record<MappedStyleProp, PropMapping>;
|
|
32
31
|
//#endregion
|
|
33
32
|
export { PropMapping, propMappings };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MotionPreset } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/transformPreset.d.ts
|
|
4
|
-
//#region src/transformPreset.d.ts
|
|
5
4
|
interface TransformedMotionProps {
|
|
6
5
|
initial?: Record<string, unknown>;
|
|
7
6
|
animate?: Record<string, unknown>;
|
|
@@ -13,6 +12,6 @@ interface TransformedMotionProps {
|
|
|
13
12
|
/**
|
|
14
13
|
* Convert a JS-runtime MotionPreset to a motion/react-compatible props object.
|
|
15
14
|
*/
|
|
16
|
-
declare function transformPreset(preset: MotionPreset): TransformedMotionProps;
|
|
15
|
+
declare function transformPreset(preset: MotionPreset): TransformedMotionProps;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { TransformedMotionProps, transformPreset };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BorderRadius, GridSpan, GridStartEnd, GridTemplate, StyleAndModifierProps } from "@uds/types";
|
|
2
2
|
|
|
3
3
|
//#region ../core/dist/withDefaultStyleProps.d.ts
|
|
4
|
-
//#region src/withDefaultStyleProps.d.ts
|
|
5
4
|
interface StackDefaultsInput extends StyleAndModifierProps {
|
|
6
5
|
gap?: StyleAndModifierProps['gap'];
|
|
7
6
|
}
|
|
@@ -39,6 +38,6 @@ declare const withDefaultStyleProps: {
|
|
|
39
38
|
shape?: BorderRadius;
|
|
40
39
|
}) => StyleAndModifierProps;
|
|
41
40
|
Svg: (props: SvgDefaultsInput) => StyleAndModifierProps;
|
|
42
|
-
};
|
|
41
|
+
};
|
|
43
42
|
//#endregion
|
|
44
43
|
export { withDefaultStyleProps };
|