@frontile/theme 0.17.0-beta.6 → 0.17.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 (83) hide show
  1. package/README.md +33 -1
  2. package/declarations/colors/defaults.d.ts +0 -1
  3. package/declarations/colors/semantic.d.ts +0 -1
  4. package/declarations/colors/types.d.ts +0 -1
  5. package/declarations/colors/util.d.ts +0 -1
  6. package/declarations/colors.d.ts +0 -1
  7. package/declarations/components/avatar.d.ts +171 -0
  8. package/declarations/components/button.d.ts +0 -1
  9. package/declarations/components/chip.d.ts +0 -1
  10. package/declarations/components/close-button.d.ts +3 -4
  11. package/declarations/components/divider.d.ts +0 -1
  12. package/declarations/components/dropdown.d.ts +1 -2
  13. package/declarations/components/forms/forms-legacy.d.ts +38 -39
  14. package/declarations/components/forms/forms.d.ts +365 -14
  15. package/declarations/components/forms/index.d.ts +0 -1
  16. package/declarations/components/index.d.ts +2 -1
  17. package/declarations/components/listbox.d.ts +8 -9
  18. package/declarations/components/notification-card.d.ts +6 -7
  19. package/declarations/components/notifications-container.d.ts +0 -1
  20. package/declarations/components/overlays.d.ts +0 -1
  21. package/declarations/components/popover.d.ts +2 -3
  22. package/declarations/components/progress-bar.d.ts +24 -1
  23. package/declarations/components/shared.d.ts +2 -0
  24. package/declarations/components/spinner.d.ts +0 -1
  25. package/declarations/components/table.d.ts +522 -0
  26. package/declarations/index.d.ts +1 -1
  27. package/declarations/plugin/default-config.d.ts +0 -1
  28. package/declarations/plugin/default.d.ts +9 -0
  29. package/declarations/plugin/overlays.d.ts +0 -1
  30. package/declarations/plugin/power-select.d.ts +0 -1
  31. package/declarations/plugin/resolve.d.ts +2 -5
  32. package/declarations/plugin/safelist.d.ts +1 -4
  33. package/declarations/plugin/transitions.d.ts +0 -1
  34. package/declarations/plugin.d.ts +0 -1
  35. package/declarations/template-registry.d.ts +0 -1
  36. package/declarations/tw.d.ts +0 -1
  37. package/declarations/types.d.ts +0 -1
  38. package/dist/colors.js +1 -1
  39. package/dist/{forms-legacy-BVGmJu6Z.js → forms-legacy-Bg_UoLDR.js} +406 -66
  40. package/dist/forms-legacy-Bg_UoLDR.js.map +1 -0
  41. package/dist/index.js +5 -2
  42. package/dist/index.js.map +1 -1
  43. package/dist/plugin/default.js +10 -0
  44. package/dist/plugin/default.js.map +1 -0
  45. package/dist/plugin.js +42 -45
  46. package/dist/plugin.js.map +1 -1
  47. package/dist/{semantic-Us_bxqq7.js → semantic-DUv6Lpqq.js} +4 -7
  48. package/dist/semantic-DUv6Lpqq.js.map +1 -0
  49. package/package.json +2 -2
  50. package/declarations/colors/defaults.d.ts.map +0 -1
  51. package/declarations/colors/semantic.d.ts.map +0 -1
  52. package/declarations/colors/types.d.ts.map +0 -1
  53. package/declarations/colors/util.d.ts.map +0 -1
  54. package/declarations/colors.d.ts.map +0 -1
  55. package/declarations/components/button.d.ts.map +0 -1
  56. package/declarations/components/chip.d.ts.map +0 -1
  57. package/declarations/components/close-button.d.ts.map +0 -1
  58. package/declarations/components/divider.d.ts.map +0 -1
  59. package/declarations/components/dropdown.d.ts.map +0 -1
  60. package/declarations/components/forms/forms-legacy.d.ts.map +0 -1
  61. package/declarations/components/forms/forms.d.ts.map +0 -1
  62. package/declarations/components/forms/index.d.ts.map +0 -1
  63. package/declarations/components/index.d.ts.map +0 -1
  64. package/declarations/components/listbox.d.ts.map +0 -1
  65. package/declarations/components/notification-card.d.ts.map +0 -1
  66. package/declarations/components/notifications-container.d.ts.map +0 -1
  67. package/declarations/components/overlays.d.ts.map +0 -1
  68. package/declarations/components/popover.d.ts.map +0 -1
  69. package/declarations/components/progress-bar.d.ts.map +0 -1
  70. package/declarations/components/spinner.d.ts.map +0 -1
  71. package/declarations/index.d.ts.map +0 -1
  72. package/declarations/plugin/default-config.d.ts.map +0 -1
  73. package/declarations/plugin/overlays.d.ts.map +0 -1
  74. package/declarations/plugin/power-select.d.ts.map +0 -1
  75. package/declarations/plugin/resolve.d.ts.map +0 -1
  76. package/declarations/plugin/safelist.d.ts.map +0 -1
  77. package/declarations/plugin/transitions.d.ts.map +0 -1
  78. package/declarations/plugin.d.ts.map +0 -1
  79. package/declarations/template-registry.d.ts.map +0 -1
  80. package/declarations/tw.d.ts.map +0 -1
  81. package/declarations/types.d.ts.map +0 -1
  82. package/dist/forms-legacy-BVGmJu6Z.js.map +0 -1
  83. package/dist/semantic-Us_bxqq7.js.map +0 -1
@@ -26,11 +26,13 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
26
26
  base: string;
27
27
  progress: string;
28
28
  label: string;
29
+ description: string;
29
30
  };
30
31
  sm: {
31
32
  base: string;
32
33
  progress: string;
33
34
  label: string;
35
+ description: string;
34
36
  };
35
37
  md: {
36
38
  base: string;
@@ -40,6 +42,7 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
40
42
  base: string;
41
43
  progress: string;
42
44
  label: string;
45
+ description: string;
43
46
  };
44
47
  };
45
48
  radius: {
@@ -52,6 +55,7 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
52
55
  base: string[];
53
56
  label: string[];
54
57
  progress: string[];
58
+ description: string[];
55
59
  }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
56
60
  isIndeterminate: {
57
61
  true: {
@@ -80,11 +84,13 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
80
84
  base: string;
81
85
  progress: string;
82
86
  label: string;
87
+ description: string;
83
88
  };
84
89
  sm: {
85
90
  base: string;
86
91
  progress: string;
87
92
  label: string;
93
+ description: string;
88
94
  };
89
95
  md: {
90
96
  base: string;
@@ -94,6 +100,7 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
94
100
  base: string;
95
101
  progress: string;
96
102
  label: string;
103
+ description: string;
97
104
  };
98
105
  };
99
106
  radius: {
@@ -130,11 +137,13 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
130
137
  base: string;
131
138
  progress: string;
132
139
  label: string;
140
+ description: string;
133
141
  };
134
142
  sm: {
135
143
  base: string;
136
144
  progress: string;
137
145
  label: string;
146
+ description: string;
138
147
  };
139
148
  md: {
140
149
  base: string;
@@ -144,6 +153,7 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
144
153
  base: string;
145
154
  progress: string;
146
155
  label: string;
156
+ description: string;
147
157
  };
148
158
  };
149
159
  radius: {
@@ -180,11 +190,13 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
180
190
  base: string;
181
191
  progress: string;
182
192
  label: string;
193
+ description: string;
183
194
  };
184
195
  sm: {
185
196
  base: string;
186
197
  progress: string;
187
198
  label: string;
199
+ description: string;
188
200
  };
189
201
  md: {
190
202
  base: string;
@@ -194,6 +206,7 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
194
206
  base: string;
195
207
  progress: string;
196
208
  label: string;
209
+ description: string;
197
210
  };
198
211
  };
199
212
  radius: {
@@ -206,6 +219,7 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
206
219
  base: string[];
207
220
  label: string[];
208
221
  progress: string[];
222
+ description: string[];
209
223
  }, import("tailwind-variants").TVReturnType<{
210
224
  isIndeterminate: {
211
225
  true: {
@@ -234,11 +248,13 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
234
248
  base: string;
235
249
  progress: string;
236
250
  label: string;
251
+ description: string;
237
252
  };
238
253
  sm: {
239
254
  base: string;
240
255
  progress: string;
241
256
  label: string;
257
+ description: string;
242
258
  };
243
259
  md: {
244
260
  base: string;
@@ -248,6 +264,7 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
248
264
  base: string;
249
265
  progress: string;
250
266
  label: string;
267
+ description: string;
251
268
  };
252
269
  };
253
270
  radius: {
@@ -260,6 +277,7 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
260
277
  base: string[];
261
278
  label: string[];
262
279
  progress: string[];
280
+ description: string[];
263
281
  }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
264
282
  isIndeterminate: {
265
283
  true: {
@@ -288,11 +306,13 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
288
306
  base: string;
289
307
  progress: string;
290
308
  label: string;
309
+ description: string;
291
310
  };
292
311
  sm: {
293
312
  base: string;
294
313
  progress: string;
295
314
  label: string;
315
+ description: string;
296
316
  };
297
317
  md: {
298
318
  base: string;
@@ -302,6 +322,7 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
302
322
  base: string;
303
323
  progress: string;
304
324
  label: string;
325
+ description: string;
305
326
  };
306
327
  };
307
328
  radius: {
@@ -338,11 +359,13 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
338
359
  base: string;
339
360
  progress: string;
340
361
  label: string;
362
+ description: string;
341
363
  };
342
364
  sm: {
343
365
  base: string;
344
366
  progress: string;
345
367
  label: string;
368
+ description: string;
346
369
  };
347
370
  md: {
348
371
  base: string;
@@ -352,6 +375,7 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
352
375
  base: string;
353
376
  progress: string;
354
377
  label: string;
378
+ description: string;
355
379
  };
356
380
  };
357
381
  radius: {
@@ -362,4 +386,3 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
362
386
  };
363
387
  }>, unknown, unknown, undefined>>;
364
388
  export { progressBar };
365
- //# sourceMappingURL=progress-bar.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare const focusVisibleRing: string[];
2
+ export declare const focusVisibleWithinRing: string[];
@@ -107,4 +107,3 @@ declare const spinner: import("tailwind-variants").TVReturnType<{
107
107
  }>, unknown, unknown, undefined>>;
108
108
  export type SpinnerVariants = VariantProps<typeof spinner>;
109
109
  export { spinner };
110
- //# sourceMappingURL=spinner.d.ts.map
@@ -0,0 +1,522 @@
1
+ import { type VariantProps } from '../tw';
2
+ declare const table: import("tailwind-variants").TVReturnType<{
3
+ size: {
4
+ sm: {
5
+ th: string;
6
+ td: string;
7
+ };
8
+ md: {
9
+ th: string;
10
+ td: string;
11
+ };
12
+ lg: {
13
+ th: string;
14
+ td: string;
15
+ };
16
+ };
17
+ isLoading: {
18
+ true: {
19
+ thead: string[];
20
+ };
21
+ };
22
+ loadingColor: {
23
+ default: {};
24
+ primary: {};
25
+ success: {};
26
+ warning: {};
27
+ danger: {};
28
+ };
29
+ selectionColor: {
30
+ default: {};
31
+ primary: {};
32
+ success: {};
33
+ warning: {};
34
+ danger: {};
35
+ };
36
+ layout: {
37
+ auto: {
38
+ table: string;
39
+ };
40
+ fixed: {
41
+ table: string;
42
+ };
43
+ };
44
+ striped: {
45
+ true: {
46
+ tbody: string;
47
+ };
48
+ };
49
+ isSticky: {
50
+ true: {};
51
+ };
52
+ stickyPosition: {
53
+ left: {};
54
+ right: {};
55
+ top: {};
56
+ bottom: {};
57
+ };
58
+ isScrollable: {
59
+ true: {
60
+ wrapper: string[];
61
+ };
62
+ };
63
+ hasStickyHeader: {
64
+ true: {};
65
+ };
66
+ isInStickyRow: {
67
+ true: {};
68
+ };
69
+ }, {
70
+ base: string[];
71
+ wrapper: string[];
72
+ table: string[];
73
+ thead: string[];
74
+ tbody: string[];
75
+ tfoot: string[];
76
+ tr: string[];
77
+ separator: string[];
78
+ th: string[];
79
+ sortButton: string[];
80
+ sortIcon: string[];
81
+ columnVisibilityButton: string[];
82
+ columnVisibilityIcon: string[];
83
+ td: string[];
84
+ empty: string[];
85
+ }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
86
+ size: {
87
+ sm: {
88
+ th: string;
89
+ td: string;
90
+ };
91
+ md: {
92
+ th: string;
93
+ td: string;
94
+ };
95
+ lg: {
96
+ th: string;
97
+ td: string;
98
+ };
99
+ };
100
+ isLoading: {
101
+ true: {
102
+ thead: string[];
103
+ };
104
+ };
105
+ loadingColor: {
106
+ default: {};
107
+ primary: {};
108
+ success: {};
109
+ warning: {};
110
+ danger: {};
111
+ };
112
+ selectionColor: {
113
+ default: {};
114
+ primary: {};
115
+ success: {};
116
+ warning: {};
117
+ danger: {};
118
+ };
119
+ layout: {
120
+ auto: {
121
+ table: string;
122
+ };
123
+ fixed: {
124
+ table: string;
125
+ };
126
+ };
127
+ striped: {
128
+ true: {
129
+ tbody: string;
130
+ };
131
+ };
132
+ isSticky: {
133
+ true: {};
134
+ };
135
+ stickyPosition: {
136
+ left: {};
137
+ right: {};
138
+ top: {};
139
+ bottom: {};
140
+ };
141
+ isScrollable: {
142
+ true: {
143
+ wrapper: string[];
144
+ };
145
+ };
146
+ hasStickyHeader: {
147
+ true: {};
148
+ };
149
+ isInStickyRow: {
150
+ true: {};
151
+ };
152
+ }, {
153
+ size: {
154
+ sm: {
155
+ th: string;
156
+ td: string;
157
+ };
158
+ md: {
159
+ th: string;
160
+ td: string;
161
+ };
162
+ lg: {
163
+ th: string;
164
+ td: string;
165
+ };
166
+ };
167
+ isLoading: {
168
+ true: {
169
+ thead: string[];
170
+ };
171
+ };
172
+ loadingColor: {
173
+ default: {};
174
+ primary: {};
175
+ success: {};
176
+ warning: {};
177
+ danger: {};
178
+ };
179
+ selectionColor: {
180
+ default: {};
181
+ primary: {};
182
+ success: {};
183
+ warning: {};
184
+ danger: {};
185
+ };
186
+ layout: {
187
+ auto: {
188
+ table: string;
189
+ };
190
+ fixed: {
191
+ table: string;
192
+ };
193
+ };
194
+ striped: {
195
+ true: {
196
+ tbody: string;
197
+ };
198
+ };
199
+ isSticky: {
200
+ true: {};
201
+ };
202
+ stickyPosition: {
203
+ left: {};
204
+ right: {};
205
+ top: {};
206
+ bottom: {};
207
+ };
208
+ isScrollable: {
209
+ true: {
210
+ wrapper: string[];
211
+ };
212
+ };
213
+ hasStickyHeader: {
214
+ true: {};
215
+ };
216
+ isInStickyRow: {
217
+ true: {};
218
+ };
219
+ }>, {
220
+ size: {
221
+ sm: {
222
+ th: string;
223
+ td: string;
224
+ };
225
+ md: {
226
+ th: string;
227
+ td: string;
228
+ };
229
+ lg: {
230
+ th: string;
231
+ td: string;
232
+ };
233
+ };
234
+ isLoading: {
235
+ true: {
236
+ thead: string[];
237
+ };
238
+ };
239
+ loadingColor: {
240
+ default: {};
241
+ primary: {};
242
+ success: {};
243
+ warning: {};
244
+ danger: {};
245
+ };
246
+ selectionColor: {
247
+ default: {};
248
+ primary: {};
249
+ success: {};
250
+ warning: {};
251
+ danger: {};
252
+ };
253
+ layout: {
254
+ auto: {
255
+ table: string;
256
+ };
257
+ fixed: {
258
+ table: string;
259
+ };
260
+ };
261
+ striped: {
262
+ true: {
263
+ tbody: string;
264
+ };
265
+ };
266
+ isSticky: {
267
+ true: {};
268
+ };
269
+ stickyPosition: {
270
+ left: {};
271
+ right: {};
272
+ top: {};
273
+ bottom: {};
274
+ };
275
+ isScrollable: {
276
+ true: {
277
+ wrapper: string[];
278
+ };
279
+ };
280
+ hasStickyHeader: {
281
+ true: {};
282
+ };
283
+ isInStickyRow: {
284
+ true: {};
285
+ };
286
+ }, {
287
+ base: string[];
288
+ wrapper: string[];
289
+ table: string[];
290
+ thead: string[];
291
+ tbody: string[];
292
+ tfoot: string[];
293
+ tr: string[];
294
+ separator: string[];
295
+ th: string[];
296
+ sortButton: string[];
297
+ sortIcon: string[];
298
+ columnVisibilityButton: string[];
299
+ columnVisibilityIcon: string[];
300
+ td: string[];
301
+ empty: string[];
302
+ }, import("tailwind-variants").TVReturnType<{
303
+ size: {
304
+ sm: {
305
+ th: string;
306
+ td: string;
307
+ };
308
+ md: {
309
+ th: string;
310
+ td: string;
311
+ };
312
+ lg: {
313
+ th: string;
314
+ td: string;
315
+ };
316
+ };
317
+ isLoading: {
318
+ true: {
319
+ thead: string[];
320
+ };
321
+ };
322
+ loadingColor: {
323
+ default: {};
324
+ primary: {};
325
+ success: {};
326
+ warning: {};
327
+ danger: {};
328
+ };
329
+ selectionColor: {
330
+ default: {};
331
+ primary: {};
332
+ success: {};
333
+ warning: {};
334
+ danger: {};
335
+ };
336
+ layout: {
337
+ auto: {
338
+ table: string;
339
+ };
340
+ fixed: {
341
+ table: string;
342
+ };
343
+ };
344
+ striped: {
345
+ true: {
346
+ tbody: string;
347
+ };
348
+ };
349
+ isSticky: {
350
+ true: {};
351
+ };
352
+ stickyPosition: {
353
+ left: {};
354
+ right: {};
355
+ top: {};
356
+ bottom: {};
357
+ };
358
+ isScrollable: {
359
+ true: {
360
+ wrapper: string[];
361
+ };
362
+ };
363
+ hasStickyHeader: {
364
+ true: {};
365
+ };
366
+ isInStickyRow: {
367
+ true: {};
368
+ };
369
+ }, {
370
+ base: string[];
371
+ wrapper: string[];
372
+ table: string[];
373
+ thead: string[];
374
+ tbody: string[];
375
+ tfoot: string[];
376
+ tr: string[];
377
+ separator: string[];
378
+ th: string[];
379
+ sortButton: string[];
380
+ sortIcon: string[];
381
+ columnVisibilityButton: string[];
382
+ columnVisibilityIcon: string[];
383
+ td: string[];
384
+ empty: string[];
385
+ }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
386
+ size: {
387
+ sm: {
388
+ th: string;
389
+ td: string;
390
+ };
391
+ md: {
392
+ th: string;
393
+ td: string;
394
+ };
395
+ lg: {
396
+ th: string;
397
+ td: string;
398
+ };
399
+ };
400
+ isLoading: {
401
+ true: {
402
+ thead: string[];
403
+ };
404
+ };
405
+ loadingColor: {
406
+ default: {};
407
+ primary: {};
408
+ success: {};
409
+ warning: {};
410
+ danger: {};
411
+ };
412
+ selectionColor: {
413
+ default: {};
414
+ primary: {};
415
+ success: {};
416
+ warning: {};
417
+ danger: {};
418
+ };
419
+ layout: {
420
+ auto: {
421
+ table: string;
422
+ };
423
+ fixed: {
424
+ table: string;
425
+ };
426
+ };
427
+ striped: {
428
+ true: {
429
+ tbody: string;
430
+ };
431
+ };
432
+ isSticky: {
433
+ true: {};
434
+ };
435
+ stickyPosition: {
436
+ left: {};
437
+ right: {};
438
+ top: {};
439
+ bottom: {};
440
+ };
441
+ isScrollable: {
442
+ true: {
443
+ wrapper: string[];
444
+ };
445
+ };
446
+ hasStickyHeader: {
447
+ true: {};
448
+ };
449
+ isInStickyRow: {
450
+ true: {};
451
+ };
452
+ }, {
453
+ size: {
454
+ sm: {
455
+ th: string;
456
+ td: string;
457
+ };
458
+ md: {
459
+ th: string;
460
+ td: string;
461
+ };
462
+ lg: {
463
+ th: string;
464
+ td: string;
465
+ };
466
+ };
467
+ isLoading: {
468
+ true: {
469
+ thead: string[];
470
+ };
471
+ };
472
+ loadingColor: {
473
+ default: {};
474
+ primary: {};
475
+ success: {};
476
+ warning: {};
477
+ danger: {};
478
+ };
479
+ selectionColor: {
480
+ default: {};
481
+ primary: {};
482
+ success: {};
483
+ warning: {};
484
+ danger: {};
485
+ };
486
+ layout: {
487
+ auto: {
488
+ table: string;
489
+ };
490
+ fixed: {
491
+ table: string;
492
+ };
493
+ };
494
+ striped: {
495
+ true: {
496
+ tbody: string;
497
+ };
498
+ };
499
+ isSticky: {
500
+ true: {};
501
+ };
502
+ stickyPosition: {
503
+ left: {};
504
+ right: {};
505
+ top: {};
506
+ bottom: {};
507
+ };
508
+ isScrollable: {
509
+ true: {
510
+ wrapper: string[];
511
+ };
512
+ };
513
+ hasStickyHeader: {
514
+ true: {};
515
+ };
516
+ isInStickyRow: {
517
+ true: {};
518
+ };
519
+ }>, unknown, unknown, undefined>>;
520
+ export type TableVariants = VariantProps<typeof table>;
521
+ export type TableSlots = keyof ReturnType<typeof table>;
522
+ export { table };
@@ -8,4 +8,4 @@ export type SlotsToClasses<S extends string> = {
8
8
  [key in S]?: ClassValue;
9
9
  };
10
10
  export { useStyles, registerCustomStyles };
11
- //# sourceMappingURL=index.d.ts.map
11
+ export type { ClassValue };
@@ -19,4 +19,3 @@ declare const defaultConfig: {
19
19
  };
20
20
  };
21
21
  export { defaultConfig };
22
- //# sourceMappingURL=default-config.d.ts.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This export provides the Frontile plugin in a format compatible with
3
+ * Tailwind CSS v4's @plugin directive using default Frontile config, no overwrites.
4
+ */
5
+ declare const _default: {
6
+ handler: import("tailwindcss/types/config").PluginCreator;
7
+ config?: Partial<import("tailwindcss/types/config").Config>;
8
+ };
9
+ export default _default;