@aaqu/fromcubes-portal-react 0.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +190 -0
- package/README.md +120 -0
- package/examples/sensor-portal-flow.json +71 -0
- package/nodes/portal-react.html +1059 -0
- package/nodes/portal-react.js +633 -0
- package/nodes/tw-candidates.js +976 -0
- package/nodes/vendor/react-19.production.min.js +55 -0
- package/package.json +49 -0
- package/scripts/bundle-react.js +31 -0
|
@@ -0,0 +1,976 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tailwind v4 candidate class list for autocompletion.
|
|
3
|
+
* Generates all standard utility candidates (prefixes × sizes × colors × variants).
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
const prefixes = [
|
|
7
|
+
// Spacing
|
|
8
|
+
"p",
|
|
9
|
+
"px",
|
|
10
|
+
"py",
|
|
11
|
+
"pt",
|
|
12
|
+
"pr",
|
|
13
|
+
"pb",
|
|
14
|
+
"pl",
|
|
15
|
+
"ps",
|
|
16
|
+
"pe",
|
|
17
|
+
"m",
|
|
18
|
+
"mx",
|
|
19
|
+
"my",
|
|
20
|
+
"mt",
|
|
21
|
+
"mr",
|
|
22
|
+
"mb",
|
|
23
|
+
"ml",
|
|
24
|
+
"ms",
|
|
25
|
+
"me",
|
|
26
|
+
"-m",
|
|
27
|
+
"-mx",
|
|
28
|
+
"-my",
|
|
29
|
+
"-mt",
|
|
30
|
+
"-mr",
|
|
31
|
+
"-mb",
|
|
32
|
+
"-ml",
|
|
33
|
+
"-ms",
|
|
34
|
+
"-me",
|
|
35
|
+
"space-x",
|
|
36
|
+
"space-y",
|
|
37
|
+
"-space-x",
|
|
38
|
+
"-space-y",
|
|
39
|
+
"gap",
|
|
40
|
+
"gap-x",
|
|
41
|
+
"gap-y",
|
|
42
|
+
// Sizing
|
|
43
|
+
"w",
|
|
44
|
+
"min-w",
|
|
45
|
+
"max-w",
|
|
46
|
+
"h",
|
|
47
|
+
"min-h",
|
|
48
|
+
"max-h",
|
|
49
|
+
"size",
|
|
50
|
+
// Typography
|
|
51
|
+
"text",
|
|
52
|
+
"font",
|
|
53
|
+
"leading",
|
|
54
|
+
"tracking",
|
|
55
|
+
"indent",
|
|
56
|
+
// Backgrounds
|
|
57
|
+
"bg",
|
|
58
|
+
"from",
|
|
59
|
+
"via",
|
|
60
|
+
"to",
|
|
61
|
+
"bg-gradient-to",
|
|
62
|
+
// Borders
|
|
63
|
+
"border",
|
|
64
|
+
"border-t",
|
|
65
|
+
"border-r",
|
|
66
|
+
"border-b",
|
|
67
|
+
"border-l",
|
|
68
|
+
"border-x",
|
|
69
|
+
"border-y",
|
|
70
|
+
"rounded",
|
|
71
|
+
"rounded-t",
|
|
72
|
+
"rounded-r",
|
|
73
|
+
"rounded-b",
|
|
74
|
+
"rounded-l",
|
|
75
|
+
"rounded-tl",
|
|
76
|
+
"rounded-tr",
|
|
77
|
+
"rounded-br",
|
|
78
|
+
"rounded-bl",
|
|
79
|
+
"outline",
|
|
80
|
+
"ring",
|
|
81
|
+
"ring-offset",
|
|
82
|
+
// Layout
|
|
83
|
+
"basis",
|
|
84
|
+
"grow",
|
|
85
|
+
"shrink",
|
|
86
|
+
"order",
|
|
87
|
+
"grid-cols",
|
|
88
|
+
"grid-rows",
|
|
89
|
+
"col-span",
|
|
90
|
+
"row-span",
|
|
91
|
+
"col-start",
|
|
92
|
+
"col-end",
|
|
93
|
+
"row-start",
|
|
94
|
+
"row-end",
|
|
95
|
+
"auto-cols",
|
|
96
|
+
"auto-rows",
|
|
97
|
+
// Effects
|
|
98
|
+
"opacity",
|
|
99
|
+
"shadow",
|
|
100
|
+
"blur",
|
|
101
|
+
"brightness",
|
|
102
|
+
"contrast",
|
|
103
|
+
"grayscale",
|
|
104
|
+
"hue-rotate",
|
|
105
|
+
"invert",
|
|
106
|
+
"saturate",
|
|
107
|
+
"sepia",
|
|
108
|
+
"backdrop-blur",
|
|
109
|
+
"backdrop-brightness",
|
|
110
|
+
"backdrop-contrast",
|
|
111
|
+
"backdrop-grayscale",
|
|
112
|
+
"backdrop-opacity",
|
|
113
|
+
"backdrop-saturate",
|
|
114
|
+
// Transforms
|
|
115
|
+
"scale",
|
|
116
|
+
"scale-x",
|
|
117
|
+
"scale-y",
|
|
118
|
+
"rotate",
|
|
119
|
+
"translate-x",
|
|
120
|
+
"translate-y",
|
|
121
|
+
"skew-x",
|
|
122
|
+
"skew-y",
|
|
123
|
+
"-scale",
|
|
124
|
+
"-scale-x",
|
|
125
|
+
"-scale-y",
|
|
126
|
+
"-rotate",
|
|
127
|
+
"-translate-x",
|
|
128
|
+
"-translate-y",
|
|
129
|
+
"-skew-x",
|
|
130
|
+
"-skew-y",
|
|
131
|
+
// Transitions
|
|
132
|
+
"duration",
|
|
133
|
+
"delay",
|
|
134
|
+
"ease",
|
|
135
|
+
"transition",
|
|
136
|
+
// Inset
|
|
137
|
+
"inset",
|
|
138
|
+
"inset-x",
|
|
139
|
+
"inset-y",
|
|
140
|
+
"top",
|
|
141
|
+
"right",
|
|
142
|
+
"bottom",
|
|
143
|
+
"left",
|
|
144
|
+
"start",
|
|
145
|
+
"end",
|
|
146
|
+
"-inset",
|
|
147
|
+
"-inset-x",
|
|
148
|
+
"-inset-y",
|
|
149
|
+
"-top",
|
|
150
|
+
"-right",
|
|
151
|
+
"-bottom",
|
|
152
|
+
"-left",
|
|
153
|
+
// Z-index
|
|
154
|
+
"z",
|
|
155
|
+
"-z",
|
|
156
|
+
// Divide
|
|
157
|
+
"divide-x",
|
|
158
|
+
"divide-y",
|
|
159
|
+
"divide",
|
|
160
|
+
// Columns
|
|
161
|
+
"columns",
|
|
162
|
+
// Aspect
|
|
163
|
+
"aspect",
|
|
164
|
+
// Scroll
|
|
165
|
+
"scroll-m",
|
|
166
|
+
"scroll-mx",
|
|
167
|
+
"scroll-my",
|
|
168
|
+
"scroll-mt",
|
|
169
|
+
"scroll-mr",
|
|
170
|
+
"scroll-mb",
|
|
171
|
+
"scroll-ml",
|
|
172
|
+
"scroll-p",
|
|
173
|
+
"scroll-px",
|
|
174
|
+
"scroll-py",
|
|
175
|
+
"scroll-pt",
|
|
176
|
+
"scroll-pr",
|
|
177
|
+
"scroll-pb",
|
|
178
|
+
"scroll-pl",
|
|
179
|
+
];
|
|
180
|
+
|
|
181
|
+
const sizes = [
|
|
182
|
+
"0",
|
|
183
|
+
"px",
|
|
184
|
+
"0.5",
|
|
185
|
+
"1",
|
|
186
|
+
"1.5",
|
|
187
|
+
"2",
|
|
188
|
+
"2.5",
|
|
189
|
+
"3",
|
|
190
|
+
"3.5",
|
|
191
|
+
"4",
|
|
192
|
+
"5",
|
|
193
|
+
"6",
|
|
194
|
+
"7",
|
|
195
|
+
"8",
|
|
196
|
+
"9",
|
|
197
|
+
"10",
|
|
198
|
+
"11",
|
|
199
|
+
"12",
|
|
200
|
+
"14",
|
|
201
|
+
"16",
|
|
202
|
+
"20",
|
|
203
|
+
"24",
|
|
204
|
+
"28",
|
|
205
|
+
"32",
|
|
206
|
+
"36",
|
|
207
|
+
"40",
|
|
208
|
+
"44",
|
|
209
|
+
"48",
|
|
210
|
+
"52",
|
|
211
|
+
"56",
|
|
212
|
+
"60",
|
|
213
|
+
"64",
|
|
214
|
+
"72",
|
|
215
|
+
"80",
|
|
216
|
+
"96",
|
|
217
|
+
"auto",
|
|
218
|
+
"full",
|
|
219
|
+
"screen",
|
|
220
|
+
"min",
|
|
221
|
+
"max",
|
|
222
|
+
"fit",
|
|
223
|
+
"1/2",
|
|
224
|
+
"1/3",
|
|
225
|
+
"2/3",
|
|
226
|
+
"1/4",
|
|
227
|
+
"2/4",
|
|
228
|
+
"3/4",
|
|
229
|
+
"1/5",
|
|
230
|
+
"2/5",
|
|
231
|
+
"3/5",
|
|
232
|
+
"4/5",
|
|
233
|
+
"1/6",
|
|
234
|
+
"5/6",
|
|
235
|
+
"1/12",
|
|
236
|
+
"2/12",
|
|
237
|
+
"3/12",
|
|
238
|
+
"4/12",
|
|
239
|
+
"5/12",
|
|
240
|
+
"6/12",
|
|
241
|
+
"7/12",
|
|
242
|
+
"8/12",
|
|
243
|
+
"9/12",
|
|
244
|
+
"10/12",
|
|
245
|
+
"11/12",
|
|
246
|
+
"xs",
|
|
247
|
+
"sm",
|
|
248
|
+
"md",
|
|
249
|
+
"lg",
|
|
250
|
+
"xl",
|
|
251
|
+
"2xl",
|
|
252
|
+
"3xl",
|
|
253
|
+
"4xl",
|
|
254
|
+
"5xl",
|
|
255
|
+
"6xl",
|
|
256
|
+
"7xl",
|
|
257
|
+
"none",
|
|
258
|
+
"tight",
|
|
259
|
+
"snug",
|
|
260
|
+
"normal",
|
|
261
|
+
"relaxed",
|
|
262
|
+
"loose",
|
|
263
|
+
"wider",
|
|
264
|
+
"widest",
|
|
265
|
+
];
|
|
266
|
+
|
|
267
|
+
const colors = [
|
|
268
|
+
"inherit",
|
|
269
|
+
"current",
|
|
270
|
+
"transparent",
|
|
271
|
+
"black",
|
|
272
|
+
"white",
|
|
273
|
+
"slate",
|
|
274
|
+
"gray",
|
|
275
|
+
"zinc",
|
|
276
|
+
"neutral",
|
|
277
|
+
"stone",
|
|
278
|
+
"red",
|
|
279
|
+
"orange",
|
|
280
|
+
"amber",
|
|
281
|
+
"yellow",
|
|
282
|
+
"lime",
|
|
283
|
+
"green",
|
|
284
|
+
"emerald",
|
|
285
|
+
"teal",
|
|
286
|
+
"cyan",
|
|
287
|
+
"sky",
|
|
288
|
+
"blue",
|
|
289
|
+
"indigo",
|
|
290
|
+
"violet",
|
|
291
|
+
"purple",
|
|
292
|
+
"fuchsia",
|
|
293
|
+
"pink",
|
|
294
|
+
"rose",
|
|
295
|
+
];
|
|
296
|
+
const shades = [
|
|
297
|
+
"50",
|
|
298
|
+
"100",
|
|
299
|
+
"200",
|
|
300
|
+
"300",
|
|
301
|
+
"400",
|
|
302
|
+
"500",
|
|
303
|
+
"600",
|
|
304
|
+
"700",
|
|
305
|
+
"800",
|
|
306
|
+
"900",
|
|
307
|
+
"950",
|
|
308
|
+
];
|
|
309
|
+
|
|
310
|
+
const colorPrefixes = [
|
|
311
|
+
"text",
|
|
312
|
+
"bg",
|
|
313
|
+
"border",
|
|
314
|
+
"border-t",
|
|
315
|
+
"border-r",
|
|
316
|
+
"border-b",
|
|
317
|
+
"border-l",
|
|
318
|
+
"ring",
|
|
319
|
+
"outline",
|
|
320
|
+
"divide",
|
|
321
|
+
"from",
|
|
322
|
+
"via",
|
|
323
|
+
"to",
|
|
324
|
+
"decoration",
|
|
325
|
+
"accent",
|
|
326
|
+
"caret",
|
|
327
|
+
"fill",
|
|
328
|
+
"stroke",
|
|
329
|
+
"shadow",
|
|
330
|
+
"ring-offset",
|
|
331
|
+
"placeholder",
|
|
332
|
+
];
|
|
333
|
+
|
|
334
|
+
const standalone = [
|
|
335
|
+
"block",
|
|
336
|
+
"inline-block",
|
|
337
|
+
"inline",
|
|
338
|
+
"flex",
|
|
339
|
+
"inline-flex",
|
|
340
|
+
"grid",
|
|
341
|
+
"inline-grid",
|
|
342
|
+
"table",
|
|
343
|
+
"table-row",
|
|
344
|
+
"table-cell",
|
|
345
|
+
"hidden",
|
|
346
|
+
"contents",
|
|
347
|
+
"flow-root",
|
|
348
|
+
"list-item",
|
|
349
|
+
"sr-only",
|
|
350
|
+
"not-sr-only",
|
|
351
|
+
"static",
|
|
352
|
+
"fixed",
|
|
353
|
+
"absolute",
|
|
354
|
+
"relative",
|
|
355
|
+
"sticky",
|
|
356
|
+
"visible",
|
|
357
|
+
"invisible",
|
|
358
|
+
"collapse",
|
|
359
|
+
"isolate",
|
|
360
|
+
"isolation-auto",
|
|
361
|
+
"float-right",
|
|
362
|
+
"float-left",
|
|
363
|
+
"float-none",
|
|
364
|
+
"float-start",
|
|
365
|
+
"float-end",
|
|
366
|
+
"clear-left",
|
|
367
|
+
"clear-right",
|
|
368
|
+
"clear-both",
|
|
369
|
+
"clear-none",
|
|
370
|
+
"clear-start",
|
|
371
|
+
"clear-end",
|
|
372
|
+
"object-contain",
|
|
373
|
+
"object-cover",
|
|
374
|
+
"object-fill",
|
|
375
|
+
"object-none",
|
|
376
|
+
"object-scale-down",
|
|
377
|
+
"object-bottom",
|
|
378
|
+
"object-center",
|
|
379
|
+
"object-left",
|
|
380
|
+
"object-left-bottom",
|
|
381
|
+
"object-left-top",
|
|
382
|
+
"object-right",
|
|
383
|
+
"object-right-bottom",
|
|
384
|
+
"object-right-top",
|
|
385
|
+
"object-top",
|
|
386
|
+
"overflow-auto",
|
|
387
|
+
"overflow-hidden",
|
|
388
|
+
"overflow-clip",
|
|
389
|
+
"overflow-visible",
|
|
390
|
+
"overflow-scroll",
|
|
391
|
+
"overflow-x-auto",
|
|
392
|
+
"overflow-y-auto",
|
|
393
|
+
"overflow-x-hidden",
|
|
394
|
+
"overflow-y-hidden",
|
|
395
|
+
"overflow-x-clip",
|
|
396
|
+
"overflow-y-clip",
|
|
397
|
+
"overflow-x-visible",
|
|
398
|
+
"overflow-y-visible",
|
|
399
|
+
"overflow-x-scroll",
|
|
400
|
+
"overflow-y-scroll",
|
|
401
|
+
"overscroll-auto",
|
|
402
|
+
"overscroll-contain",
|
|
403
|
+
"overscroll-none",
|
|
404
|
+
"overscroll-x-auto",
|
|
405
|
+
"overscroll-x-contain",
|
|
406
|
+
"overscroll-x-none",
|
|
407
|
+
"overscroll-y-auto",
|
|
408
|
+
"overscroll-y-contain",
|
|
409
|
+
"overscroll-y-none",
|
|
410
|
+
"truncate",
|
|
411
|
+
"text-ellipsis",
|
|
412
|
+
"text-clip",
|
|
413
|
+
"whitespace-normal",
|
|
414
|
+
"whitespace-nowrap",
|
|
415
|
+
"whitespace-pre",
|
|
416
|
+
"whitespace-pre-line",
|
|
417
|
+
"whitespace-pre-wrap",
|
|
418
|
+
"whitespace-break-spaces",
|
|
419
|
+
"break-normal",
|
|
420
|
+
"break-words",
|
|
421
|
+
"break-all",
|
|
422
|
+
"break-keep",
|
|
423
|
+
"hyphens-none",
|
|
424
|
+
"hyphens-manual",
|
|
425
|
+
"hyphens-auto",
|
|
426
|
+
"italic",
|
|
427
|
+
"not-italic",
|
|
428
|
+
"underline",
|
|
429
|
+
"overline",
|
|
430
|
+
"line-through",
|
|
431
|
+
"no-underline",
|
|
432
|
+
"uppercase",
|
|
433
|
+
"lowercase",
|
|
434
|
+
"capitalize",
|
|
435
|
+
"normal-case",
|
|
436
|
+
"antialiased",
|
|
437
|
+
"subpixel-antialiased",
|
|
438
|
+
"tabular-nums",
|
|
439
|
+
"oldstyle-nums",
|
|
440
|
+
"lining-nums",
|
|
441
|
+
"proportional-nums",
|
|
442
|
+
"ordinal",
|
|
443
|
+
"slashed-zero",
|
|
444
|
+
"diagonal-fractions",
|
|
445
|
+
"stacked-fractions",
|
|
446
|
+
"text-left",
|
|
447
|
+
"text-center",
|
|
448
|
+
"text-right",
|
|
449
|
+
"text-justify",
|
|
450
|
+
"text-start",
|
|
451
|
+
"text-end",
|
|
452
|
+
"text-wrap",
|
|
453
|
+
"text-nowrap",
|
|
454
|
+
"text-balance",
|
|
455
|
+
"text-pretty",
|
|
456
|
+
"align-baseline",
|
|
457
|
+
"align-top",
|
|
458
|
+
"align-middle",
|
|
459
|
+
"align-bottom",
|
|
460
|
+
"align-text-top",
|
|
461
|
+
"align-text-bottom",
|
|
462
|
+
"align-sub",
|
|
463
|
+
"align-super",
|
|
464
|
+
"font-thin",
|
|
465
|
+
"font-extralight",
|
|
466
|
+
"font-light",
|
|
467
|
+
"font-normal",
|
|
468
|
+
"font-medium",
|
|
469
|
+
"font-semibold",
|
|
470
|
+
"font-bold",
|
|
471
|
+
"font-extrabold",
|
|
472
|
+
"font-black",
|
|
473
|
+
"font-sans",
|
|
474
|
+
"font-serif",
|
|
475
|
+
"font-mono",
|
|
476
|
+
"text-xs",
|
|
477
|
+
"text-sm",
|
|
478
|
+
"text-base",
|
|
479
|
+
"text-lg",
|
|
480
|
+
"text-xl",
|
|
481
|
+
"text-2xl",
|
|
482
|
+
"text-3xl",
|
|
483
|
+
"text-4xl",
|
|
484
|
+
"text-5xl",
|
|
485
|
+
"text-6xl",
|
|
486
|
+
"text-7xl",
|
|
487
|
+
"text-8xl",
|
|
488
|
+
"text-9xl",
|
|
489
|
+
"decoration-solid",
|
|
490
|
+
"decoration-double",
|
|
491
|
+
"decoration-dotted",
|
|
492
|
+
"decoration-dashed",
|
|
493
|
+
"decoration-wavy",
|
|
494
|
+
"decoration-auto",
|
|
495
|
+
"decoration-from-font",
|
|
496
|
+
"decoration-0",
|
|
497
|
+
"decoration-1",
|
|
498
|
+
"decoration-2",
|
|
499
|
+
"decoration-4",
|
|
500
|
+
"decoration-8",
|
|
501
|
+
"underline-offset-auto",
|
|
502
|
+
"underline-offset-0",
|
|
503
|
+
"underline-offset-1",
|
|
504
|
+
"underline-offset-2",
|
|
505
|
+
"underline-offset-4",
|
|
506
|
+
"underline-offset-8",
|
|
507
|
+
"list-none",
|
|
508
|
+
"list-disc",
|
|
509
|
+
"list-decimal",
|
|
510
|
+
"list-inside",
|
|
511
|
+
"list-outside",
|
|
512
|
+
"flex-row",
|
|
513
|
+
"flex-row-reverse",
|
|
514
|
+
"flex-col",
|
|
515
|
+
"flex-col-reverse",
|
|
516
|
+
"flex-wrap",
|
|
517
|
+
"flex-wrap-reverse",
|
|
518
|
+
"flex-nowrap",
|
|
519
|
+
"flex-1",
|
|
520
|
+
"flex-auto",
|
|
521
|
+
"flex-initial",
|
|
522
|
+
"flex-none",
|
|
523
|
+
"grow",
|
|
524
|
+
"grow-0",
|
|
525
|
+
"shrink",
|
|
526
|
+
"shrink-0",
|
|
527
|
+
"items-start",
|
|
528
|
+
"items-end",
|
|
529
|
+
"items-center",
|
|
530
|
+
"items-baseline",
|
|
531
|
+
"items-stretch",
|
|
532
|
+
"justify-normal",
|
|
533
|
+
"justify-start",
|
|
534
|
+
"justify-end",
|
|
535
|
+
"justify-center",
|
|
536
|
+
"justify-between",
|
|
537
|
+
"justify-around",
|
|
538
|
+
"justify-evenly",
|
|
539
|
+
"justify-stretch",
|
|
540
|
+
"justify-items-start",
|
|
541
|
+
"justify-items-end",
|
|
542
|
+
"justify-items-center",
|
|
543
|
+
"justify-items-stretch",
|
|
544
|
+
"justify-self-auto",
|
|
545
|
+
"justify-self-start",
|
|
546
|
+
"justify-self-end",
|
|
547
|
+
"justify-self-center",
|
|
548
|
+
"justify-self-stretch",
|
|
549
|
+
"self-auto",
|
|
550
|
+
"self-start",
|
|
551
|
+
"self-end",
|
|
552
|
+
"self-center",
|
|
553
|
+
"self-stretch",
|
|
554
|
+
"self-baseline",
|
|
555
|
+
"content-normal",
|
|
556
|
+
"content-center",
|
|
557
|
+
"content-start",
|
|
558
|
+
"content-end",
|
|
559
|
+
"content-between",
|
|
560
|
+
"content-around",
|
|
561
|
+
"content-evenly",
|
|
562
|
+
"content-baseline",
|
|
563
|
+
"content-stretch",
|
|
564
|
+
"place-content-center",
|
|
565
|
+
"place-content-start",
|
|
566
|
+
"place-content-end",
|
|
567
|
+
"place-content-between",
|
|
568
|
+
"place-content-around",
|
|
569
|
+
"place-content-evenly",
|
|
570
|
+
"place-content-baseline",
|
|
571
|
+
"place-content-stretch",
|
|
572
|
+
"place-items-start",
|
|
573
|
+
"place-items-end",
|
|
574
|
+
"place-items-center",
|
|
575
|
+
"place-items-baseline",
|
|
576
|
+
"place-items-stretch",
|
|
577
|
+
"place-self-auto",
|
|
578
|
+
"place-self-start",
|
|
579
|
+
"place-self-end",
|
|
580
|
+
"place-self-center",
|
|
581
|
+
"place-self-stretch",
|
|
582
|
+
"grid-flow-row",
|
|
583
|
+
"grid-flow-col",
|
|
584
|
+
"grid-flow-dense",
|
|
585
|
+
"grid-flow-row-dense",
|
|
586
|
+
"grid-flow-col-dense",
|
|
587
|
+
"grid-cols-1",
|
|
588
|
+
"grid-cols-2",
|
|
589
|
+
"grid-cols-3",
|
|
590
|
+
"grid-cols-4",
|
|
591
|
+
"grid-cols-5",
|
|
592
|
+
"grid-cols-6",
|
|
593
|
+
"grid-cols-7",
|
|
594
|
+
"grid-cols-8",
|
|
595
|
+
"grid-cols-9",
|
|
596
|
+
"grid-cols-10",
|
|
597
|
+
"grid-cols-11",
|
|
598
|
+
"grid-cols-12",
|
|
599
|
+
"grid-cols-none",
|
|
600
|
+
"grid-cols-subgrid",
|
|
601
|
+
"grid-rows-1",
|
|
602
|
+
"grid-rows-2",
|
|
603
|
+
"grid-rows-3",
|
|
604
|
+
"grid-rows-4",
|
|
605
|
+
"grid-rows-5",
|
|
606
|
+
"grid-rows-6",
|
|
607
|
+
"grid-rows-7",
|
|
608
|
+
"grid-rows-8",
|
|
609
|
+
"grid-rows-9",
|
|
610
|
+
"grid-rows-10",
|
|
611
|
+
"grid-rows-11",
|
|
612
|
+
"grid-rows-12",
|
|
613
|
+
"grid-rows-none",
|
|
614
|
+
"grid-rows-subgrid",
|
|
615
|
+
"col-auto",
|
|
616
|
+
"col-span-1",
|
|
617
|
+
"col-span-2",
|
|
618
|
+
"col-span-3",
|
|
619
|
+
"col-span-4",
|
|
620
|
+
"col-span-5",
|
|
621
|
+
"col-span-6",
|
|
622
|
+
"col-span-7",
|
|
623
|
+
"col-span-8",
|
|
624
|
+
"col-span-9",
|
|
625
|
+
"col-span-10",
|
|
626
|
+
"col-span-11",
|
|
627
|
+
"col-span-12",
|
|
628
|
+
"col-span-full",
|
|
629
|
+
"row-auto",
|
|
630
|
+
"row-span-1",
|
|
631
|
+
"row-span-2",
|
|
632
|
+
"row-span-3",
|
|
633
|
+
"row-span-4",
|
|
634
|
+
"row-span-5",
|
|
635
|
+
"row-span-6",
|
|
636
|
+
"row-span-7",
|
|
637
|
+
"row-span-8",
|
|
638
|
+
"row-span-9",
|
|
639
|
+
"row-span-10",
|
|
640
|
+
"row-span-11",
|
|
641
|
+
"row-span-12",
|
|
642
|
+
"row-span-full",
|
|
643
|
+
"border-solid",
|
|
644
|
+
"border-dashed",
|
|
645
|
+
"border-dotted",
|
|
646
|
+
"border-double",
|
|
647
|
+
"border-none",
|
|
648
|
+
"border-hidden",
|
|
649
|
+
"divide-solid",
|
|
650
|
+
"divide-dashed",
|
|
651
|
+
"divide-dotted",
|
|
652
|
+
"divide-double",
|
|
653
|
+
"divide-none",
|
|
654
|
+
"outline-none",
|
|
655
|
+
"outline-dashed",
|
|
656
|
+
"outline-dotted",
|
|
657
|
+
"outline-double",
|
|
658
|
+
"shadow-sm",
|
|
659
|
+
"shadow",
|
|
660
|
+
"shadow-md",
|
|
661
|
+
"shadow-lg",
|
|
662
|
+
"shadow-xl",
|
|
663
|
+
"shadow-2xl",
|
|
664
|
+
"shadow-inner",
|
|
665
|
+
"shadow-none",
|
|
666
|
+
"ring-0",
|
|
667
|
+
"ring-1",
|
|
668
|
+
"ring-2",
|
|
669
|
+
"ring-4",
|
|
670
|
+
"ring-8",
|
|
671
|
+
"ring-inset",
|
|
672
|
+
"blur-none",
|
|
673
|
+
"blur-sm",
|
|
674
|
+
"blur",
|
|
675
|
+
"blur-md",
|
|
676
|
+
"blur-lg",
|
|
677
|
+
"blur-xl",
|
|
678
|
+
"blur-2xl",
|
|
679
|
+
"blur-3xl",
|
|
680
|
+
"drop-shadow-sm",
|
|
681
|
+
"drop-shadow",
|
|
682
|
+
"drop-shadow-md",
|
|
683
|
+
"drop-shadow-lg",
|
|
684
|
+
"drop-shadow-xl",
|
|
685
|
+
"drop-shadow-2xl",
|
|
686
|
+
"drop-shadow-none",
|
|
687
|
+
"mix-blend-normal",
|
|
688
|
+
"mix-blend-multiply",
|
|
689
|
+
"mix-blend-screen",
|
|
690
|
+
"mix-blend-overlay",
|
|
691
|
+
"mix-blend-darken",
|
|
692
|
+
"mix-blend-lighten",
|
|
693
|
+
"mix-blend-color-dodge",
|
|
694
|
+
"mix-blend-color-burn",
|
|
695
|
+
"mix-blend-hard-light",
|
|
696
|
+
"mix-blend-soft-light",
|
|
697
|
+
"mix-blend-difference",
|
|
698
|
+
"mix-blend-exclusion",
|
|
699
|
+
"mix-blend-hue",
|
|
700
|
+
"mix-blend-saturation",
|
|
701
|
+
"mix-blend-color",
|
|
702
|
+
"mix-blend-luminosity",
|
|
703
|
+
"bg-blend-normal",
|
|
704
|
+
"bg-blend-multiply",
|
|
705
|
+
"bg-blend-screen",
|
|
706
|
+
"bg-blend-overlay",
|
|
707
|
+
"transition-none",
|
|
708
|
+
"transition-all",
|
|
709
|
+
"transition",
|
|
710
|
+
"transition-colors",
|
|
711
|
+
"transition-opacity",
|
|
712
|
+
"transition-shadow",
|
|
713
|
+
"transition-transform",
|
|
714
|
+
"ease-linear",
|
|
715
|
+
"ease-in",
|
|
716
|
+
"ease-out",
|
|
717
|
+
"ease-in-out",
|
|
718
|
+
"animate-none",
|
|
719
|
+
"animate-spin",
|
|
720
|
+
"animate-ping",
|
|
721
|
+
"animate-pulse",
|
|
722
|
+
"animate-bounce",
|
|
723
|
+
"cursor-auto",
|
|
724
|
+
"cursor-default",
|
|
725
|
+
"cursor-pointer",
|
|
726
|
+
"cursor-wait",
|
|
727
|
+
"cursor-text",
|
|
728
|
+
"cursor-move",
|
|
729
|
+
"cursor-help",
|
|
730
|
+
"cursor-not-allowed",
|
|
731
|
+
"cursor-none",
|
|
732
|
+
"cursor-context-menu",
|
|
733
|
+
"cursor-progress",
|
|
734
|
+
"cursor-cell",
|
|
735
|
+
"cursor-crosshair",
|
|
736
|
+
"cursor-vertical-text",
|
|
737
|
+
"cursor-alias",
|
|
738
|
+
"cursor-copy",
|
|
739
|
+
"cursor-no-drop",
|
|
740
|
+
"cursor-grab",
|
|
741
|
+
"cursor-grabbing",
|
|
742
|
+
"cursor-all-scroll",
|
|
743
|
+
"cursor-col-resize",
|
|
744
|
+
"cursor-row-resize",
|
|
745
|
+
"cursor-n-resize",
|
|
746
|
+
"cursor-e-resize",
|
|
747
|
+
"cursor-s-resize",
|
|
748
|
+
"cursor-w-resize",
|
|
749
|
+
"cursor-ne-resize",
|
|
750
|
+
"cursor-nw-resize",
|
|
751
|
+
"cursor-se-resize",
|
|
752
|
+
"cursor-sw-resize",
|
|
753
|
+
"cursor-ew-resize",
|
|
754
|
+
"cursor-ns-resize",
|
|
755
|
+
"cursor-nesw-resize",
|
|
756
|
+
"cursor-nwse-resize",
|
|
757
|
+
"cursor-zoom-in",
|
|
758
|
+
"cursor-zoom-out",
|
|
759
|
+
"touch-auto",
|
|
760
|
+
"touch-none",
|
|
761
|
+
"touch-pan-x",
|
|
762
|
+
"touch-pan-left",
|
|
763
|
+
"touch-pan-right",
|
|
764
|
+
"touch-pan-y",
|
|
765
|
+
"touch-pan-up",
|
|
766
|
+
"touch-pan-down",
|
|
767
|
+
"touch-pinch-zoom",
|
|
768
|
+
"touch-manipulation",
|
|
769
|
+
"select-none",
|
|
770
|
+
"select-text",
|
|
771
|
+
"select-all",
|
|
772
|
+
"select-auto",
|
|
773
|
+
"resize-none",
|
|
774
|
+
"resize-y",
|
|
775
|
+
"resize-x",
|
|
776
|
+
"resize",
|
|
777
|
+
"scroll-auto",
|
|
778
|
+
"scroll-smooth",
|
|
779
|
+
"snap-start",
|
|
780
|
+
"snap-end",
|
|
781
|
+
"snap-center",
|
|
782
|
+
"snap-align-none",
|
|
783
|
+
"snap-normal",
|
|
784
|
+
"snap-always",
|
|
785
|
+
"snap-none",
|
|
786
|
+
"snap-x",
|
|
787
|
+
"snap-y",
|
|
788
|
+
"snap-both",
|
|
789
|
+
"snap-mandatory",
|
|
790
|
+
"snap-proximity",
|
|
791
|
+
"appearance-none",
|
|
792
|
+
"appearance-auto",
|
|
793
|
+
"pointer-events-none",
|
|
794
|
+
"pointer-events-auto",
|
|
795
|
+
"will-change-auto",
|
|
796
|
+
"will-change-scroll",
|
|
797
|
+
"will-change-contents",
|
|
798
|
+
"will-change-transform",
|
|
799
|
+
"fill-none",
|
|
800
|
+
"stroke-0",
|
|
801
|
+
"stroke-1",
|
|
802
|
+
"stroke-2",
|
|
803
|
+
"table-auto",
|
|
804
|
+
"table-fixed",
|
|
805
|
+
"border-collapse",
|
|
806
|
+
"border-separate",
|
|
807
|
+
"border-spacing-0",
|
|
808
|
+
"border-spacing-1",
|
|
809
|
+
"border-spacing-2",
|
|
810
|
+
"border-spacing-px",
|
|
811
|
+
"origin-center",
|
|
812
|
+
"origin-top",
|
|
813
|
+
"origin-top-right",
|
|
814
|
+
"origin-right",
|
|
815
|
+
"origin-bottom-right",
|
|
816
|
+
"origin-bottom",
|
|
817
|
+
"origin-bottom-left",
|
|
818
|
+
"origin-left",
|
|
819
|
+
"origin-top-left",
|
|
820
|
+
"perspective-none",
|
|
821
|
+
"backface-visible",
|
|
822
|
+
"backface-hidden",
|
|
823
|
+
"columns-1",
|
|
824
|
+
"columns-2",
|
|
825
|
+
"columns-3",
|
|
826
|
+
"columns-4",
|
|
827
|
+
"columns-5",
|
|
828
|
+
"columns-6",
|
|
829
|
+
"columns-7",
|
|
830
|
+
"columns-8",
|
|
831
|
+
"columns-9",
|
|
832
|
+
"columns-10",
|
|
833
|
+
"columns-11",
|
|
834
|
+
"columns-12",
|
|
835
|
+
"columns-auto",
|
|
836
|
+
"columns-3xs",
|
|
837
|
+
"columns-2xs",
|
|
838
|
+
"columns-xs",
|
|
839
|
+
"columns-sm",
|
|
840
|
+
"columns-md",
|
|
841
|
+
"columns-lg",
|
|
842
|
+
"columns-xl",
|
|
843
|
+
"columns-2xl",
|
|
844
|
+
"columns-3xl",
|
|
845
|
+
"columns-4xl",
|
|
846
|
+
"columns-5xl",
|
|
847
|
+
"columns-6xl",
|
|
848
|
+
"columns-7xl",
|
|
849
|
+
"break-before-auto",
|
|
850
|
+
"break-before-avoid",
|
|
851
|
+
"break-before-all",
|
|
852
|
+
"break-before-avoid-page",
|
|
853
|
+
"break-before-page",
|
|
854
|
+
"break-before-left",
|
|
855
|
+
"break-before-right",
|
|
856
|
+
"break-before-column",
|
|
857
|
+
"break-after-auto",
|
|
858
|
+
"break-after-avoid",
|
|
859
|
+
"break-after-all",
|
|
860
|
+
"break-after-avoid-page",
|
|
861
|
+
"break-after-page",
|
|
862
|
+
"break-after-left",
|
|
863
|
+
"break-after-right",
|
|
864
|
+
"break-after-column",
|
|
865
|
+
"break-inside-auto",
|
|
866
|
+
"break-inside-avoid",
|
|
867
|
+
"break-inside-avoid-page",
|
|
868
|
+
"break-inside-avoid-column",
|
|
869
|
+
"box-border",
|
|
870
|
+
"box-content",
|
|
871
|
+
"box-decoration-clone",
|
|
872
|
+
"box-decoration-slice",
|
|
873
|
+
"aspect-auto",
|
|
874
|
+
"aspect-square",
|
|
875
|
+
"aspect-video",
|
|
876
|
+
"container",
|
|
877
|
+
"prose",
|
|
878
|
+
];
|
|
879
|
+
|
|
880
|
+
const variants = [
|
|
881
|
+
"sm",
|
|
882
|
+
"md",
|
|
883
|
+
"lg",
|
|
884
|
+
"xl",
|
|
885
|
+
"2xl",
|
|
886
|
+
"hover",
|
|
887
|
+
"focus",
|
|
888
|
+
"active",
|
|
889
|
+
"disabled",
|
|
890
|
+
"first",
|
|
891
|
+
"last",
|
|
892
|
+
"odd",
|
|
893
|
+
"even",
|
|
894
|
+
"group-hover",
|
|
895
|
+
"focus-within",
|
|
896
|
+
"focus-visible",
|
|
897
|
+
"dark",
|
|
898
|
+
];
|
|
899
|
+
|
|
900
|
+
const variantTargets = [
|
|
901
|
+
"hidden",
|
|
902
|
+
"block",
|
|
903
|
+
"flex",
|
|
904
|
+
"grid",
|
|
905
|
+
"inline",
|
|
906
|
+
"inline-flex",
|
|
907
|
+
"inline-block",
|
|
908
|
+
"text-left",
|
|
909
|
+
"text-center",
|
|
910
|
+
"text-right",
|
|
911
|
+
"items-start",
|
|
912
|
+
"items-center",
|
|
913
|
+
"items-end",
|
|
914
|
+
"justify-start",
|
|
915
|
+
"justify-center",
|
|
916
|
+
"justify-end",
|
|
917
|
+
"justify-between",
|
|
918
|
+
"flex-row",
|
|
919
|
+
"flex-col",
|
|
920
|
+
"flex-wrap",
|
|
921
|
+
"grid-cols-1",
|
|
922
|
+
"grid-cols-2",
|
|
923
|
+
"grid-cols-3",
|
|
924
|
+
"grid-cols-4",
|
|
925
|
+
"grid-cols-6",
|
|
926
|
+
"grid-cols-12",
|
|
927
|
+
"col-span-1",
|
|
928
|
+
"col-span-2",
|
|
929
|
+
"col-span-3",
|
|
930
|
+
"col-span-4",
|
|
931
|
+
"col-span-6",
|
|
932
|
+
"col-span-12",
|
|
933
|
+
"col-span-full",
|
|
934
|
+
"sr-only",
|
|
935
|
+
"not-sr-only",
|
|
936
|
+
];
|
|
937
|
+
|
|
938
|
+
function generateCandidates() {
|
|
939
|
+
const candidates = new Set();
|
|
940
|
+
|
|
941
|
+
for (const p of prefixes) {
|
|
942
|
+
for (const s of sizes) {
|
|
943
|
+
candidates.add(p + "-" + s);
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
const noShade = new Set([
|
|
948
|
+
"inherit",
|
|
949
|
+
"current",
|
|
950
|
+
"transparent",
|
|
951
|
+
"black",
|
|
952
|
+
"white",
|
|
953
|
+
]);
|
|
954
|
+
for (const p of colorPrefixes) {
|
|
955
|
+
for (const c of colors) {
|
|
956
|
+
candidates.add(p + "-" + c);
|
|
957
|
+
if (!noShade.has(c)) {
|
|
958
|
+
for (const s of shades) {
|
|
959
|
+
candidates.add(p + "-" + c + "-" + s);
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
for (const c of standalone) candidates.add(c);
|
|
966
|
+
|
|
967
|
+
for (const v of variants) {
|
|
968
|
+
for (const t of variantTargets) {
|
|
969
|
+
candidates.add(v + ":" + t);
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
return [...candidates];
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
module.exports = { generateCandidates };
|