@yahoo/uds-v5-wip 1.58.0 → 1.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/config/dist/createConfig.js +1 -1
  2. package/dist/core/dist/compositeStyles.d.ts +2 -1
  3. package/dist/core/dist/configurable-prop-helpers.d.ts +2 -1
  4. package/dist/core/dist/createComponent.d.ts +2 -1
  5. package/dist/core/dist/createComponentExample.d.ts +2 -1
  6. package/dist/core/dist/createProvider.d.ts +2 -1
  7. package/dist/core/dist/generated/stylePropsTwMap.d.ts +2 -1
  8. package/dist/core/dist/getComponentStyles.d.ts +2 -1
  9. package/dist/core/dist/getStyles.d.ts +2 -1
  10. package/dist/core/dist/modifier-mappings.d.ts +2 -1
  11. package/dist/core/dist/resolveMotionState.d.ts +2 -1
  12. package/dist/core/dist/style-prop-data.d.ts +2 -1
  13. package/dist/core/dist/transformPreset.d.ts +2 -1
  14. package/dist/core/dist/withDefaultStyleProps.d.ts +2 -1
  15. package/dist/loader/dist/_virtual/_rolldown/runtime.js +6 -0
  16. package/dist/loader/dist/loader/create-component-lowering.js +1 -1
  17. package/dist/loader/dist/loader/data-attr-transform.js +1 -1
  18. package/dist/loader/dist/loader/lower-new-api-primitive.js +0 -28
  19. package/dist/loader/dist/loader/style-transform.js +4 -4
  20. package/dist/loader/dist/loader.d.ts +2 -1
  21. package/dist/loader/dist/loader.js +3 -3
  22. package/dist/loader/dist/next.d.ts +2 -1
  23. package/dist/loader/dist/next.js +1 -1
  24. package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.development.js +203 -0
  25. package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.production.js +25 -0
  26. package/dist/loader/dist/node_modules/react/cjs/react.development.js +762 -0
  27. package/dist/loader/dist/node_modules/react/cjs/react.production.js +351 -0
  28. package/dist/loader/dist/node_modules/react/index.js +10 -0
  29. package/dist/loader/dist/node_modules/react/jsx-runtime.js +10 -0
  30. package/dist/loader/dist/packages/core/dist/color-opacity-map.js +33 -0
  31. package/dist/loader/dist/packages/core/dist/compositeStyles.js +43 -0
  32. package/dist/loader/dist/packages/core/dist/createComponent.js +6 -0
  33. package/dist/loader/dist/packages/core/dist/createProvider.js +7 -0
  34. package/dist/loader/dist/packages/core/dist/generated/stylePropsTwMap.js +570 -0
  35. package/dist/loader/dist/packages/core/dist/getComponentStyles.js +2 -0
  36. package/dist/loader/dist/packages/core/dist/getStyles.js +60 -0
  37. package/dist/loader/dist/packages/core/dist/index.js +6 -0
  38. package/dist/loader/dist/packages/core/dist/modifier-mappings.js +61 -0
  39. package/dist/loader/dist/packages/core/dist/style-prop-data.js +1257 -0
  40. package/dist/loader/dist/packages/core/dist/withDefaultStyleProps.js +1 -0
  41. package/dist/loader.js +1 -1
  42. package/dist/tsconfig.tsbuildinfo +1 -1
  43. package/package.json +3 -3
  44. package/dist/_virtual/_rolldown/runtime.js +0 -7
@@ -0,0 +1,570 @@
1
+ //#region ../loader/dist/packages/core/dist/generated/stylePropsTwMap.js
2
+ const stylePropsTwMap = {
3
+ "border-boolean": { "border": "boolean" },
4
+ "border-b-boolean": { "borderBottom": "boolean" },
5
+ "border-t-boolean": { "borderTop": "boolean" },
6
+ "border-l-boolean": { "borderLeft": "boolean" },
7
+ "border-r-boolean": { "borderRight": "boolean" },
8
+ "border-s-boolean": { "borderStart": "boolean" },
9
+ "border-e-boolean": { "borderEnd": "boolean" },
10
+ "border-x-boolean": { "borderX": "boolean" },
11
+ "border-y-boolean": { "borderY": "boolean" },
12
+ "divide-solid": { "divideStyle": "solid" },
13
+ "divide-dashed": { "divideStyle": "dashed" },
14
+ "divide-dotted": { "divideStyle": "dotted" },
15
+ "divide-double": { "divideStyle": "double" },
16
+ "divide-none": { "divideStyle": "none" },
17
+ "mix-blend-normal": { "mixBlendMode": "normal" },
18
+ "mix-blend-multiply": { "mixBlendMode": "multiply" },
19
+ "mix-blend-screen": { "mixBlendMode": "screen" },
20
+ "mix-blend-overlay": { "mixBlendMode": "overlay" },
21
+ "mix-blend-darken": { "mixBlendMode": "darken" },
22
+ "mix-blend-lighten": { "mixBlendMode": "lighten" },
23
+ "mix-blend-color-dodge": { "mixBlendMode": "color-dodge" },
24
+ "mix-blend-color-burn": { "mixBlendMode": "color-burn" },
25
+ "mix-blend-hard-light": { "mixBlendMode": "hard-light" },
26
+ "mix-blend-soft-light": { "mixBlendMode": "soft-light" },
27
+ "mix-blend-difference": { "mixBlendMode": "difference" },
28
+ "mix-blend-exclusion": { "mixBlendMode": "exclusion" },
29
+ "mix-blend-hue": { "mixBlendMode": "hue" },
30
+ "mix-blend-saturation": { "mixBlendMode": "saturation" },
31
+ "mix-blend-color": { "mixBlendMode": "color" },
32
+ "mix-blend-luminosity": { "mixBlendMode": "luminosity" },
33
+ "mix-blend-plus-darker": { "mixBlendMode": "plus-darker" },
34
+ "mix-blend-plus-lighter": { "mixBlendMode": "plus-lighter" },
35
+ "bg-blend-normal": { "bgBlendMode": "normal" },
36
+ "bg-blend-multiply": { "bgBlendMode": "multiply" },
37
+ "bg-blend-screen": { "bgBlendMode": "screen" },
38
+ "bg-blend-overlay": { "bgBlendMode": "overlay" },
39
+ "bg-blend-darken": { "bgBlendMode": "darken" },
40
+ "bg-blend-lighten": { "bgBlendMode": "lighten" },
41
+ "bg-blend-color-dodge": { "bgBlendMode": "color-dodge" },
42
+ "bg-blend-color-burn": { "bgBlendMode": "color-burn" },
43
+ "bg-blend-hard-light": { "bgBlendMode": "hard-light" },
44
+ "bg-blend-soft-light": { "bgBlendMode": "soft-light" },
45
+ "bg-blend-difference": { "bgBlendMode": "difference" },
46
+ "bg-blend-exclusion": { "bgBlendMode": "exclusion" },
47
+ "bg-blend-hue": { "bgBlendMode": "hue" },
48
+ "bg-blend-saturation": { "bgBlendMode": "saturation" },
49
+ "bg-blend-color": { "bgBlendMode": "color" },
50
+ "bg-blend-luminosity": { "bgBlendMode": "luminosity" },
51
+ "blur-none": { "blur": "none" },
52
+ "blur-sm": { "blur": "sm" },
53
+ "blur-md": { "blur": "md" },
54
+ "blur-lg": { "blur": "lg" },
55
+ "blur-xl": { "blur": "xl" },
56
+ "blur-2xl": { "blur": "2xl" },
57
+ "blur-3xl": { "blur": "3xl" },
58
+ "backdrop-blur-none": { "backdropBlur": "none" },
59
+ "backdrop-blur-sm": { "backdropBlur": "sm" },
60
+ "backdrop-blur-md": { "backdropBlur": "md" },
61
+ "backdrop-blur-lg": { "backdropBlur": "lg" },
62
+ "backdrop-blur-xl": { "backdropBlur": "xl" },
63
+ "backdrop-blur-2xl": { "backdropBlur": "2xl" },
64
+ "backdrop-blur-3xl": { "backdropBlur": "3xl" },
65
+ "brightness-0": { "brightness": "0" },
66
+ "brightness-50": { "brightness": "50" },
67
+ "brightness-75": { "brightness": "75" },
68
+ "brightness-90": { "brightness": "90" },
69
+ "brightness-95": { "brightness": "95" },
70
+ "brightness-100": { "brightness": "100" },
71
+ "brightness-105": { "brightness": "105" },
72
+ "brightness-110": { "brightness": "110" },
73
+ "brightness-125": { "brightness": "125" },
74
+ "brightness-150": { "brightness": "150" },
75
+ "brightness-200": { "brightness": "200" },
76
+ "contrast-0": { "contrast": "0" },
77
+ "contrast-50": { "contrast": "50" },
78
+ "contrast-75": { "contrast": "75" },
79
+ "contrast-100": { "contrast": "100" },
80
+ "contrast-125": { "contrast": "125" },
81
+ "contrast-150": { "contrast": "150" },
82
+ "contrast-200": { "contrast": "200" },
83
+ "flex-row": { "flexDirection": "row" },
84
+ "flex-col": { "flexDirection": "col" },
85
+ "flex-row-reverse": { "flexDirection": "row-reverse" },
86
+ "flex-col-reverse": { "flexDirection": "col-reverse" },
87
+ "flex-wrap": { "flexWrap": "wrap" },
88
+ "flex-wrap-reverse": { "flexWrap": "wrap-reverse" },
89
+ "flex-nowrap": { "flexWrap": "nowrap" },
90
+ "justify-start": { "justifyContent": "start" },
91
+ "justify-end": { "justifyContent": "end" },
92
+ "justify-center": { "justifyContent": "center" },
93
+ "justify-between": { "justifyContent": "between" },
94
+ "justify-around": { "justifyContent": "around" },
95
+ "justify-evenly": { "justifyContent": "evenly" },
96
+ "justify-stretch": { "justifyContent": "stretch" },
97
+ "items-start": { "alignItems": "start" },
98
+ "items-end": { "alignItems": "end" },
99
+ "items-center": { "alignItems": "center" },
100
+ "items-stretch": { "alignItems": "stretch" },
101
+ "items-baseline": { "alignItems": "baseline" },
102
+ "self-start": { "alignSelf": "start" },
103
+ "self-end": { "alignSelf": "end" },
104
+ "self-center": { "alignSelf": "center" },
105
+ "self-stretch": { "alignSelf": "stretch" },
106
+ "self-baseline": { "alignSelf": "baseline" },
107
+ "self-auto": { "alignSelf": "auto" },
108
+ "content-start": { "alignContent": "start" },
109
+ "content-end": { "alignContent": "end" },
110
+ "content-center": { "alignContent": "center" },
111
+ "content-between": { "alignContent": "between" },
112
+ "content-around": { "alignContent": "around" },
113
+ "content-evenly": { "alignContent": "evenly" },
114
+ "content-stretch": { "alignContent": "stretch" },
115
+ "content-baseline": { "alignContent": "baseline" },
116
+ "place-content-start": { "placeContent": "start" },
117
+ "place-content-end": { "placeContent": "end" },
118
+ "place-content-center": { "placeContent": "center" },
119
+ "place-content-between": { "placeContent": "between" },
120
+ "place-content-around": { "placeContent": "around" },
121
+ "place-content-evenly": { "placeContent": "evenly" },
122
+ "place-content-stretch": { "placeContent": "stretch" },
123
+ "place-content-baseline": { "placeContent": "baseline" },
124
+ "place-items-start": { "placeItems": "start" },
125
+ "place-items-end": { "placeItems": "end" },
126
+ "place-items-center": { "placeItems": "center" },
127
+ "place-items-stretch": { "placeItems": "stretch" },
128
+ "place-items-baseline": { "placeItems": "baseline" },
129
+ "place-self-start": { "placeSelf": "start" },
130
+ "place-self-end": { "placeSelf": "end" },
131
+ "place-self-center": { "placeSelf": "center" },
132
+ "place-self-stretch": { "placeSelf": "stretch" },
133
+ "place-self-auto": { "placeSelf": "auto" },
134
+ "grid-cols-none": { "gridTemplateColumns": "none" },
135
+ "grid-cols-1": { "gridTemplateColumns": "1" },
136
+ "grid-cols-2": { "gridTemplateColumns": "2" },
137
+ "grid-cols-3": { "gridTemplateColumns": "3" },
138
+ "grid-cols-4": { "gridTemplateColumns": "4" },
139
+ "grid-cols-5": { "gridTemplateColumns": "5" },
140
+ "grid-cols-6": { "gridTemplateColumns": "6" },
141
+ "grid-cols-7": { "gridTemplateColumns": "7" },
142
+ "grid-cols-8": { "gridTemplateColumns": "8" },
143
+ "grid-cols-9": { "gridTemplateColumns": "9" },
144
+ "grid-cols-10": { "gridTemplateColumns": "10" },
145
+ "grid-cols-11": { "gridTemplateColumns": "11" },
146
+ "grid-cols-12": { "gridTemplateColumns": "12" },
147
+ "grid-cols-subgrid": { "gridTemplateColumns": "subgrid" },
148
+ "col-span-auto": { "gridColumnSpan": "auto" },
149
+ "col-span-1": { "gridColumnSpan": "1" },
150
+ "col-span-2": { "gridColumnSpan": "2" },
151
+ "col-span-3": { "gridColumnSpan": "3" },
152
+ "col-span-4": { "gridColumnSpan": "4" },
153
+ "col-span-5": { "gridColumnSpan": "5" },
154
+ "col-span-6": { "gridColumnSpan": "6" },
155
+ "col-span-7": { "gridColumnSpan": "7" },
156
+ "col-span-8": { "gridColumnSpan": "8" },
157
+ "col-span-9": { "gridColumnSpan": "9" },
158
+ "col-span-10": { "gridColumnSpan": "10" },
159
+ "col-span-11": { "gridColumnSpan": "11" },
160
+ "col-span-12": { "gridColumnSpan": "12" },
161
+ "col-span-full": { "gridColumnSpan": "full" },
162
+ "col-start-auto": { "gridColumnStart": "auto" },
163
+ "col-start-1": { "gridColumnStart": "1" },
164
+ "col-start-2": { "gridColumnStart": "2" },
165
+ "col-start-3": { "gridColumnStart": "3" },
166
+ "col-start-4": { "gridColumnStart": "4" },
167
+ "col-start-5": { "gridColumnStart": "5" },
168
+ "col-start-6": { "gridColumnStart": "6" },
169
+ "col-start-7": { "gridColumnStart": "7" },
170
+ "col-start-8": { "gridColumnStart": "8" },
171
+ "col-start-9": { "gridColumnStart": "9" },
172
+ "col-start-10": { "gridColumnStart": "10" },
173
+ "col-start-11": { "gridColumnStart": "11" },
174
+ "col-start-12": { "gridColumnStart": "12" },
175
+ "col-start-13": { "gridColumnStart": "13" },
176
+ "col-end-auto": { "gridColumnEnd": "auto" },
177
+ "col-end-1": { "gridColumnEnd": "1" },
178
+ "col-end-2": { "gridColumnEnd": "2" },
179
+ "col-end-3": { "gridColumnEnd": "3" },
180
+ "col-end-4": { "gridColumnEnd": "4" },
181
+ "col-end-5": { "gridColumnEnd": "5" },
182
+ "col-end-6": { "gridColumnEnd": "6" },
183
+ "col-end-7": { "gridColumnEnd": "7" },
184
+ "col-end-8": { "gridColumnEnd": "8" },
185
+ "col-end-9": { "gridColumnEnd": "9" },
186
+ "col-end-10": { "gridColumnEnd": "10" },
187
+ "col-end-11": { "gridColumnEnd": "11" },
188
+ "col-end-12": { "gridColumnEnd": "12" },
189
+ "col-end-13": { "gridColumnEnd": "13" },
190
+ "grid-rows-none": { "gridTemplateRows": "none" },
191
+ "grid-rows-1": { "gridTemplateRows": "1" },
192
+ "grid-rows-2": { "gridTemplateRows": "2" },
193
+ "grid-rows-3": { "gridTemplateRows": "3" },
194
+ "grid-rows-4": { "gridTemplateRows": "4" },
195
+ "grid-rows-5": { "gridTemplateRows": "5" },
196
+ "grid-rows-6": { "gridTemplateRows": "6" },
197
+ "grid-rows-7": { "gridTemplateRows": "7" },
198
+ "grid-rows-8": { "gridTemplateRows": "8" },
199
+ "grid-rows-9": { "gridTemplateRows": "9" },
200
+ "grid-rows-10": { "gridTemplateRows": "10" },
201
+ "grid-rows-11": { "gridTemplateRows": "11" },
202
+ "grid-rows-12": { "gridTemplateRows": "12" },
203
+ "grid-rows-subgrid": { "gridTemplateRows": "subgrid" },
204
+ "row-span-auto": { "gridRowSpan": "auto" },
205
+ "row-span-1": { "gridRowSpan": "1" },
206
+ "row-span-2": { "gridRowSpan": "2" },
207
+ "row-span-3": { "gridRowSpan": "3" },
208
+ "row-span-4": { "gridRowSpan": "4" },
209
+ "row-span-5": { "gridRowSpan": "5" },
210
+ "row-span-6": { "gridRowSpan": "6" },
211
+ "row-span-7": { "gridRowSpan": "7" },
212
+ "row-span-8": { "gridRowSpan": "8" },
213
+ "row-span-9": { "gridRowSpan": "9" },
214
+ "row-span-10": { "gridRowSpan": "10" },
215
+ "row-span-11": { "gridRowSpan": "11" },
216
+ "row-span-12": { "gridRowSpan": "12" },
217
+ "row-span-full": { "gridRowSpan": "full" },
218
+ "row-start-auto": { "gridRowStart": "auto" },
219
+ "row-start-1": { "gridRowStart": "1" },
220
+ "row-start-2": { "gridRowStart": "2" },
221
+ "row-start-3": { "gridRowStart": "3" },
222
+ "row-start-4": { "gridRowStart": "4" },
223
+ "row-start-5": { "gridRowStart": "5" },
224
+ "row-start-6": { "gridRowStart": "6" },
225
+ "row-start-7": { "gridRowStart": "7" },
226
+ "row-start-8": { "gridRowStart": "8" },
227
+ "row-start-9": { "gridRowStart": "9" },
228
+ "row-start-10": { "gridRowStart": "10" },
229
+ "row-start-11": { "gridRowStart": "11" },
230
+ "row-start-12": { "gridRowStart": "12" },
231
+ "row-start-13": { "gridRowStart": "13" },
232
+ "row-end-auto": { "gridRowEnd": "auto" },
233
+ "row-end-1": { "gridRowEnd": "1" },
234
+ "row-end-2": { "gridRowEnd": "2" },
235
+ "row-end-3": { "gridRowEnd": "3" },
236
+ "row-end-4": { "gridRowEnd": "4" },
237
+ "row-end-5": { "gridRowEnd": "5" },
238
+ "row-end-6": { "gridRowEnd": "6" },
239
+ "row-end-7": { "gridRowEnd": "7" },
240
+ "row-end-8": { "gridRowEnd": "8" },
241
+ "row-end-9": { "gridRowEnd": "9" },
242
+ "row-end-10": { "gridRowEnd": "10" },
243
+ "row-end-11": { "gridRowEnd": "11" },
244
+ "row-end-12": { "gridRowEnd": "12" },
245
+ "row-end-13": { "gridRowEnd": "13" },
246
+ "group-boolean": { "group": "boolean" },
247
+ "appearance-none": { "appearance": "none" },
248
+ "appearance-auto": { "appearance": "auto" },
249
+ "cursor-none": { "cursor": "none" },
250
+ "cursor-auto": { "cursor": "auto" },
251
+ "cursor-default": { "cursor": "default" },
252
+ "cursor-pointer": { "cursor": "pointer" },
253
+ "cursor-wait": { "cursor": "wait" },
254
+ "cursor-text": { "cursor": "text" },
255
+ "cursor-move": { "cursor": "move" },
256
+ "cursor-help": { "cursor": "help" },
257
+ "cursor-not-allowed": { "cursor": "not-allowed" },
258
+ "cursor-context-menu": { "cursor": "context-menu" },
259
+ "cursor-progress": { "cursor": "progress" },
260
+ "cursor-cell": { "cursor": "cell" },
261
+ "cursor-crosshair": { "cursor": "crosshair" },
262
+ "cursor-vertical-text": { "cursor": "vertical-text" },
263
+ "cursor-alias": { "cursor": "alias" },
264
+ "cursor-copy": { "cursor": "copy" },
265
+ "cursor-no-drop": { "cursor": "no-drop" },
266
+ "cursor-grab": { "cursor": "grab" },
267
+ "cursor-all-scroll": { "cursor": "all-scroll" },
268
+ "cursor-col-resize": { "cursor": "col-resize" },
269
+ "cursor-row-resize": { "cursor": "row-resize" },
270
+ "cursor-n-resize": { "cursor": "n-resize" },
271
+ "cursor-e-resize": { "cursor": "e-resize" },
272
+ "cursor-s-resize": { "cursor": "s-resize" },
273
+ "cursor-w-resize": { "cursor": "w-resize" },
274
+ "cursor-ne-resize": { "cursor": "ne-resize" },
275
+ "cursor-nw-resize": { "cursor": "nw-resize" },
276
+ "cursor-se-resize": { "cursor": "se-resize" },
277
+ "cursor-sw-resize": { "cursor": "sw-resize" },
278
+ "cursor-ew-resize": { "cursor": "ew-resize" },
279
+ "cursor-ns-resize": { "cursor": "ns-resize" },
280
+ "cursor-nesw-resize": { "cursor": "nesw-resize" },
281
+ "cursor-nwse-resize": { "cursor": "nwse-resize" },
282
+ "cursor-zoom-in": { "cursor": "zoom-in" },
283
+ "cursor-zoom-out": { "cursor": "zoom-out" },
284
+ "pointer-events-none": { "pointerEvents": "none" },
285
+ "pointer-events-auto": { "pointerEvents": "auto" },
286
+ "resize-boolean": { "resize": "boolean" },
287
+ "resize-none": { "resize": "none" },
288
+ "resize-y": { "resize": "y" },
289
+ "resize-x": { "resize": "x" },
290
+ "scroll-auto": { "scrollBehavior": "auto" },
291
+ "scroll-smooth": { "scrollBehavior": "smooth" },
292
+ "snap-none": { "scrollSnap": "none" },
293
+ "snap-y": { "scrollSnap": "y" },
294
+ "snap-x": { "scrollSnap": "x" },
295
+ "snap-both": { "scrollSnap": "both" },
296
+ "snap-mandatory": { "scrollSnap": "mandatory" },
297
+ "snap-proximity": { "scrollSnap": "proximity" },
298
+ "snap-start": { "scrollSnapAlign": "start" },
299
+ "snap-end": { "scrollSnapAlign": "end" },
300
+ "snap-center": { "scrollSnapAlign": "center" },
301
+ "snap-align-none": { "scrollSnapAlign": "align-none" },
302
+ "snap-normal": { "scrollSnapStop": "normal" },
303
+ "snap-always": { "scrollSnapStop": "always" },
304
+ "scrollbar-width-none": { "scrollbarWidth": "none" },
305
+ "scrollbar-width-auto": { "scrollbarWidth": "auto" },
306
+ "scrollbar-width-thin": { "scrollbarWidth": "thin" },
307
+ "scrollbar-color-string": { "scrollbarColor": "string" },
308
+ "touch-none": { "touchAction": "none" },
309
+ "touch-auto": { "touchAction": "auto" },
310
+ "touch-pan-y": { "touchAction": "pan-y" },
311
+ "touch-pan-x": { "touchAction": "pan-x" },
312
+ "touch-pan-left": { "touchAction": "pan-left" },
313
+ "touch-pan-right": { "touchAction": "pan-right" },
314
+ "touch-pan-up": { "touchAction": "pan-up" },
315
+ "touch-pan-down": { "touchAction": "pan-down" },
316
+ "touch-pinch-zoom": { "touchAction": "pinch-zoom" },
317
+ "touch-manipulation": { "touchAction": "manipulation" },
318
+ "select-none": { "userSelect": "none" },
319
+ "select-auto": { "userSelect": "auto" },
320
+ "select-text": { "userSelect": "text" },
321
+ "select-all": { "userSelect": "all" },
322
+ "will-change-auto": { "willChange": "auto" },
323
+ "will-change-scroll": { "willChange": "scroll" },
324
+ "will-change-change-contents": { "willChange": "change-contents" },
325
+ "will-change-change-transform": { "willChange": "change-transform" },
326
+ "box-border": { "boxSizing": "border" },
327
+ "box-content": { "boxSizing": "content" },
328
+ "container-boolean": { "container": "boolean" },
329
+ "columns-sm": { "columns": "sm" },
330
+ "columns-md": { "columns": "md" },
331
+ "columns-lg": { "columns": "lg" },
332
+ "columns-xl": { "columns": "xl" },
333
+ "columns-2xl": { "columns": "2xl" },
334
+ "columns-3xl": { "columns": "3xl" },
335
+ "columns-auto": { "columns": "auto" },
336
+ "columns-1": { "columns": "1" },
337
+ "columns-2": { "columns": "2" },
338
+ "columns-3": { "columns": "3" },
339
+ "columns-4": { "columns": "4" },
340
+ "columns-5": { "columns": "5" },
341
+ "columns-6": { "columns": "6" },
342
+ "columns-7": { "columns": "7" },
343
+ "columns-8": { "columns": "8" },
344
+ "columns-9": { "columns": "9" },
345
+ "columns-10": { "columns": "10" },
346
+ "columns-11": { "columns": "11" },
347
+ "columns-12": { "columns": "12" },
348
+ "columns-3xs": { "columns": "3xs" },
349
+ "columns-2xs": { "columns": "2xs" },
350
+ "columns-xs": { "columns": "xs" },
351
+ "columns-4xl": { "columns": "4xl" },
352
+ "columns-5xl": { "columns": "5xl" },
353
+ "columns-6xl": { "columns": "6xl" },
354
+ "columns-7xl": { "columns": "7xl" },
355
+ "none": { "display": "none" },
356
+ "flex": { "display": "flex" },
357
+ "block": { "display": "block" },
358
+ "inline-block": { "display": "inline-block" },
359
+ "inline": { "display": "inline" },
360
+ "inline-flex": { "display": "inline-flex" },
361
+ "table": { "display": "table" },
362
+ "inline-table": { "display": "inline-table" },
363
+ "table-caption": { "display": "table-caption" },
364
+ "table-cell": { "display": "table-cell" },
365
+ "table-column": { "display": "table-column" },
366
+ "table-column-group": { "display": "table-column-group" },
367
+ "table-footer-group": { "display": "table-footer-group" },
368
+ "table-header-group": { "display": "table-header-group" },
369
+ "table-row-group": { "display": "table-row-group" },
370
+ "table-row": { "display": "table-row" },
371
+ "flow-root": { "display": "flow-root" },
372
+ "grid": { "display": "grid" },
373
+ "inline-grid": { "display": "inline-grid" },
374
+ "contents": { "display": "contents" },
375
+ "list-item": { "display": "list-item" },
376
+ "isolate-boolean": { "isolate": "boolean" },
377
+ "object-none": { "objectFit": "none" },
378
+ "object-cover": { "objectFit": "cover" },
379
+ "object-contain": { "objectFit": "contain" },
380
+ "object-fill": { "objectFit": "fill" },
381
+ "object-scale-down": { "objectFit": "scale-down" },
382
+ "object-center": { "objectPosition": "center" },
383
+ "object-left": { "objectPosition": "left" },
384
+ "object-right": { "objectPosition": "right" },
385
+ "object-bottom": { "objectPosition": "bottom" },
386
+ "object-left-bottom": { "objectPosition": "left-bottom" },
387
+ "object-left-top": { "objectPosition": "left-top" },
388
+ "object-right-bottom": { "objectPosition": "right-bottom" },
389
+ "object-right-top": { "objectPosition": "right-top" },
390
+ "object-top": { "objectPosition": "top" },
391
+ "overflow-auto": { "overflow": "auto" },
392
+ "overflow-scroll": { "overflow": "scroll" },
393
+ "overflow-hidden": { "overflow": "hidden" },
394
+ "overflow-clip": { "overflow": "clip" },
395
+ "overflow-visible": { "overflow": "visible" },
396
+ "overflow-x-auto": { "overflowX": "auto" },
397
+ "overflow-x-scroll": { "overflowX": "scroll" },
398
+ "overflow-x-hidden": { "overflowX": "hidden" },
399
+ "overflow-x-clip": { "overflowX": "clip" },
400
+ "overflow-x-visible": { "overflowX": "visible" },
401
+ "overflow-y-auto": { "overflowY": "auto" },
402
+ "overflow-y-scroll": { "overflowY": "scroll" },
403
+ "overflow-y-hidden": { "overflowY": "hidden" },
404
+ "overflow-y-clip": { "overflowY": "clip" },
405
+ "overflow-y-visible": { "overflowY": "visible" },
406
+ "overscroll-none": { "overscrollBehavior": "none" },
407
+ "overscroll-auto": { "overscrollBehavior": "auto" },
408
+ "overscroll-contain": { "overscrollBehavior": "contain" },
409
+ "overscroll-x-none": { "overscrollBehavior": "x-none" },
410
+ "overscroll-x-auto": { "overscrollBehavior": "x-auto" },
411
+ "overscroll-x-contain": { "overscrollBehavior": "x-contain" },
412
+ "overscroll-y-none": { "overscrollBehavior": "y-none" },
413
+ "overscroll-y-auto": { "overscrollBehavior": "y-auto" },
414
+ "overscroll-y-contain": { "overscrollBehavior": "y-contain" },
415
+ "static": { "position": "static" },
416
+ "fixed": { "position": "fixed" },
417
+ "absolute": { "position": "absolute" },
418
+ "relative": { "position": "relative" },
419
+ "sticky": { "position": "sticky" },
420
+ "visible": { "visibility": "visible" },
421
+ "invisible": { "visibility": "invisible" },
422
+ "collapse": { "visibility": "collapse" },
423
+ "list-inside": { "listStylePosition": "inside" },
424
+ "list-outside": { "listStylePosition": "outside" },
425
+ "list-none": { "listStyleType": "none" },
426
+ "list-disc": { "listStyleType": "disc" },
427
+ "list-decimal": { "listStyleType": "decimal" },
428
+ "outline-solid": { "outlineStyle": "solid" },
429
+ "outline-dashed": { "outlineStyle": "dashed" },
430
+ "outline-dotted": { "outlineStyle": "dotted" },
431
+ "outline-double": { "outlineStyle": "double" },
432
+ "outline-none": { "outlineStyle": "none" },
433
+ "ring-inset-boolean": { "ringInset": "boolean" },
434
+ "border-collapse-collapse": { "tableBorderCollapse": "collapse" },
435
+ "border-collapse-separate": { "tableBorderCollapse": "separate" },
436
+ "table-auto": { "tableLayout": "auto" },
437
+ "table-fixed": { "tableLayout": "fixed" },
438
+ "caption-bottom": { "tableCaptionSide": "bottom" },
439
+ "caption-top": { "tableCaptionSide": "top" },
440
+ "origin-center": { "transformOrigin": "center" },
441
+ "origin-left": { "transformOrigin": "left" },
442
+ "origin-right": { "transformOrigin": "right" },
443
+ "origin-bottom": { "transformOrigin": "bottom" },
444
+ "origin-top": { "transformOrigin": "top" },
445
+ "origin-top-right": { "transformOrigin": "top-right" },
446
+ "origin-top-left": { "transformOrigin": "top-left" },
447
+ "origin-bottom-right": { "transformOrigin": "bottom-right" },
448
+ "origin-bottom-left": { "transformOrigin": "bottom-left" },
449
+ "transition-boolean": { "transition": "boolean" },
450
+ "transition-none": { "transition": "none" },
451
+ "transition-all": { "transition": "all" },
452
+ "transition-opacity": { "transition": "opacity" },
453
+ "transition-shadow": { "transition": "shadow" },
454
+ "transition-colors": { "transition": "colors" },
455
+ "transition-transform": { "transition": "transform" },
456
+ "duration-0": { "transitionDuration": "0" },
457
+ "duration-75": { "transitionDuration": "75" },
458
+ "duration-100": { "transitionDuration": "100" },
459
+ "duration-150": { "transitionDuration": "150" },
460
+ "duration-200": { "transitionDuration": "200" },
461
+ "duration-300": { "transitionDuration": "300" },
462
+ "duration-500": { "transitionDuration": "500" },
463
+ "duration-700": { "transitionDuration": "700" },
464
+ "duration-1000": { "transitionDuration": "1000" },
465
+ "ease-linear": { "transitionTiming": "linear" },
466
+ "ease-in": { "transitionTiming": "in" },
467
+ "ease-out": { "transitionTiming": "out" },
468
+ "ease-in-out": { "transitionTiming": "in-out" },
469
+ "delay-0": { "transitionDelay": "0" },
470
+ "delay-75": { "transitionDelay": "75" },
471
+ "delay-100": { "transitionDelay": "100" },
472
+ "delay-150": { "transitionDelay": "150" },
473
+ "delay-200": { "transitionDelay": "200" },
474
+ "delay-300": { "transitionDelay": "300" },
475
+ "delay-500": { "transitionDelay": "500" },
476
+ "delay-700": { "transitionDelay": "700" },
477
+ "delay-1000": { "transitionDelay": "1000" },
478
+ "transition-behavior-normal": { "transitionBehavior": "normal" },
479
+ "transition-behavior-allow-discrete": { "transitionBehavior": "allow-discrete" },
480
+ "font-smoothing-antialiased": { "fontSmoothing": "antialiased" },
481
+ "font-smoothing-subpixel-antialiased": { "fontSmoothing": "subpixel-antialiased" },
482
+ "italic": { "fontStyle": "italic" },
483
+ "non-italic": { "fontStyle": "non-italic" },
484
+ "font-stretch-normal": { "fontStretch": "normal" },
485
+ "font-stretch-ultra-condensed": { "fontStretch": "ultra-condensed" },
486
+ "font-stretch-extra-condensed": { "fontStretch": "extra-condensed" },
487
+ "font-stretch-condensed": { "fontStretch": "condensed" },
488
+ "font-stretch-semi-condensed": { "fontStretch": "semi-condensed" },
489
+ "font-stretch-semi-expanded": { "fontStretch": "semi-expanded" },
490
+ "font-stretch-expanded": { "fontStretch": "expanded" },
491
+ "font-stretch-extra-expanded": { "fontStretch": "extra-expanded" },
492
+ "font-stretch-ultra-expanded": { "fontStretch": "ultra-expanded" },
493
+ "normal-nums": { "fontVariantNumeric": "normal-nums" },
494
+ "ordinal": { "fontVariantNumeric": "ordinal" },
495
+ "slashed-zero": { "fontVariantNumeric": "slashed-zero" },
496
+ "lining-nums": { "fontVariantNumeric": "lining-nums" },
497
+ "oldstyle-nums": { "fontVariantNumeric": "oldstyle-nums" },
498
+ "proportional-nums": { "fontVariantNumeric": "proportional-nums" },
499
+ "tabular-nums": { "fontVariantNumeric": "tabular-nums" },
500
+ "diagonal-fractions": { "fontVariantNumeric": "diagonal-fractions" },
501
+ "stacked-fractions": { "fontVariantNumeric": "stacked-fractions" },
502
+ "line-clamp-1": { "lineClamp": "1" },
503
+ "line-clamp-2": { "lineClamp": "2" },
504
+ "line-clamp-3": { "lineClamp": "3" },
505
+ "line-clamp-4": { "lineClamp": "4" },
506
+ "line-clamp-5": { "lineClamp": "5" },
507
+ "line-clamp-6": { "lineClamp": "6" },
508
+ "text-align-start": { "textAlign": "start" },
509
+ "text-align-end": { "textAlign": "end" },
510
+ "text-align-center": { "textAlign": "center" },
511
+ "text-align-justify": { "textAlign": "justify" },
512
+ "underline": { "textDecorationLine": "underline" },
513
+ "overline": { "textDecorationLine": "overline" },
514
+ "line-through": { "textDecorationLine": "line-through" },
515
+ "no-underline": { "textDecorationLine": "no-underline" },
516
+ "decoration-solid": { "textDecorationStyle": "solid" },
517
+ "decoration-dashed": { "textDecorationStyle": "dashed" },
518
+ "decoration-dotted": { "textDecorationStyle": "dotted" },
519
+ "decoration-double": { "textDecorationStyle": "double" },
520
+ "decoration-wavy": { "textDecorationStyle": "wavy" },
521
+ "decoration-0": { "textDecorationThickness": "0" },
522
+ "decoration-auto": { "textDecorationThickness": "auto" },
523
+ "decoration-1": { "textDecorationThickness": "1" },
524
+ "decoration-2": { "textDecorationThickness": "2" },
525
+ "decoration-4": { "textDecorationThickness": "4" },
526
+ "decoration-8": { "textDecorationThickness": "8" },
527
+ "decoration-from-font": { "textDecorationThickness": "from-font" },
528
+ "underline-offset-0": { "textUnderlineOffset": "0" },
529
+ "underline-offset-auto": { "textUnderlineOffset": "auto" },
530
+ "underline-offset-1": { "textUnderlineOffset": "1" },
531
+ "underline-offset-2": { "textUnderlineOffset": "2" },
532
+ "underline-offset-4": { "textUnderlineOffset": "4" },
533
+ "underline-offset-8": { "textUnderlineOffset": "8" },
534
+ "normal-case": { "textTransform": "normal-case" },
535
+ "uppercase": { "textTransform": "uppercase" },
536
+ "lowercase": { "textTransform": "lowercase" },
537
+ "capitalize": { "textTransform": "capitalize" },
538
+ "text-overflow-clip": { "textOverflow": "clip" },
539
+ "text-overflow-ellipsis": { "textOverflow": "ellipsis" },
540
+ "wrap-normal": { "textOverflowWrap": "normal" },
541
+ "wrap-break-word": { "textOverflowWrap": "break-word" },
542
+ "wrap-anywhere": { "textOverflowWrap": "anywhere" },
543
+ "truncate-boolean": { "truncate": "boolean" },
544
+ "text-wrap-wrap": { "textWrap": "wrap" },
545
+ "text-wrap-nowrap": { "textWrap": "nowrap" },
546
+ "text-wrap-balance": { "textWrap": "balance" },
547
+ "text-wrap-pretty": { "textWrap": "pretty" },
548
+ "align-baseline": { "verticalAlign": "baseline" },
549
+ "align-bottom": { "verticalAlign": "bottom" },
550
+ "align-top": { "verticalAlign": "top" },
551
+ "align-middle": { "verticalAlign": "middle" },
552
+ "align-text-top": { "verticalAlign": "text-top" },
553
+ "align-text-bottom": { "verticalAlign": "text-bottom" },
554
+ "align-sub": { "verticalAlign": "sub" },
555
+ "align-super": { "verticalAlign": "super" },
556
+ "whitespace-normal": { "whitespace": "normal" },
557
+ "whitespace-nowrap": { "whitespace": "nowrap" },
558
+ "whitespace-pre": { "whitespace": "pre" },
559
+ "whitespace-pre-line": { "whitespace": "pre-line" },
560
+ "whitespace-pre-wrap": { "whitespace": "pre-wrap" },
561
+ "whitespace-break-spaces": { "whitespace": "break-spaces" },
562
+ "break-normal": { "break": "normal" },
563
+ "break-all": { "break": "all" },
564
+ "break-keep": { "break": "keep" },
565
+ "hyphens-none": { "hyphens": "none" },
566
+ "hyphens-auto": { "hyphens": "auto" },
567
+ "hyphens-manual": { "hyphens": "manual" }
568
+ };
569
+ //#endregion
570
+ export { stylePropsTwMap };
@@ -0,0 +1,2 @@
1
+ import "../../../../../utils/dist/index.js";
2
+ import "./getStyles.js";
@@ -0,0 +1,60 @@
1
+ import "../../../../../utils/dist/index.js";
2
+ import "./compositeStyles.js";
3
+ import { propMappings } from "./style-prop-data.js";
4
+ import { stylePropsTwMap } from "./generated/stylePropsTwMap.js";
5
+ import { modifierMappings } from "./modifier-mappings.js";
6
+ import { colorPropToOpacityProp } from "./color-opacity-map.js";
7
+ //#region ../loader/dist/packages/core/dist/getStyles.js
8
+ /** Convert kebab-case CSS property to camelCase for React inline styles.
9
+ * CSS custom properties (--*) are kept as-is since React supports them verbatim. */
10
+ function toCamelCase(str) {
11
+ if (str.startsWith("--")) return str;
12
+ return str.replace(/-([a-z])/g, (_match, letter) => letter.toUpperCase());
13
+ }
14
+ /**
15
+ * Built-in modifier prefix → CSS pseudo-selector, derived from modifierMappings.
16
+ * e.g. "hover:" → ":hover", "focus-visible:" → ":focus-visible"
17
+ *
18
+ * Complex modifiers (data attributes, pseudo-elements, at-rules) are excluded —
19
+ * they're unlikely to appear with arbitrary values at runtime.
20
+ */
21
+ const _builtinPseudoMap = {};
22
+ for (const prefix of Object.values(modifierMappings)) {
23
+ if (prefix.startsWith("data-[") || prefix.startsWith("aria-") || prefix.includes("::") || prefix.includes("*")) continue;
24
+ _builtinPseudoMap[prefix] = `:${prefix.slice(0, -1)}`;
25
+ }
26
+ new Set(Object.values(colorPropToOpacityProp));
27
+ const parse = (prefix, value) => {
28
+ if (value === "") return prefix;
29
+ return (prefix === value ? String(value) : `${prefix}-${value}`).replace(/\./g, "_").replace(/\//g, "-");
30
+ };
31
+ const classnames = {};
32
+ const styleOptionsByProp = {};
33
+ for (const entry of Object.values(stylePropsTwMap)) {
34
+ const [propName, option] = Object.entries(entry)[0] ?? [];
35
+ if (!propName || typeof option !== "string") continue;
36
+ if (!styleOptionsByProp[propName]) styleOptionsByProp[propName] = /* @__PURE__ */ new Set();
37
+ styleOptionsByProp[propName].add(option);
38
+ }
39
+ for (const [propName, mapping] of Object.entries(propMappings)) {
40
+ const options = styleOptionsByProp[propName] ?? /* @__PURE__ */ new Set();
41
+ const hasBoolean = options.has("boolean");
42
+ const isNoPrefix = mapping.classPrefix === "no-prefix";
43
+ const handler = (val) => {
44
+ if (hasBoolean && options.size === 1) return val === true ? mapping.classPrefix : "";
45
+ if (hasBoolean) return val === true ? mapping.classPrefix : parse(mapping.classPrefix, val);
46
+ if (isNoPrefix) return String(val);
47
+ return parse(mapping.classPrefix, val);
48
+ };
49
+ classnames[propName] = handler;
50
+ }
51
+ const colorPropCssInfo = {};
52
+ for (const [colorProp] of Object.entries(colorPropToOpacityProp)) {
53
+ const mapping = propMappings[colorProp];
54
+ if (mapping?.cssProperty && mapping.defaultVarPrefix) colorPropCssInfo[colorProp] = {
55
+ cssProperty: mapping.cssProperty,
56
+ varPrefix: mapping.defaultVarPrefix
57
+ };
58
+ }
59
+ //#endregion
60
+ export { toCamelCase };
@@ -0,0 +1,6 @@
1
+ import "./compositeStyles.js";
2
+ import "./getStyles.js";
3
+ import "./getComponentStyles.js";
4
+ import "./createComponent.js";
5
+ import "./createProvider.js";
6
+ import "./withDefaultStyleProps.js";