@frontile/theme 0.18.0-alpha.9 → 0.18.0-beta.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/README.md +3 -2
- package/declarations/colors/config.d.ts +10 -4
- package/declarations/colors/semantic.d.ts +4 -0
- package/declarations/colors/types.d.ts +118 -13
- package/declarations/colors/util.d.ts +2 -1
- package/declarations/colors.d.ts +1 -0
- package/declarations/components/accordion.d.ts +308 -0
- package/declarations/components/alert.d.ts +294 -0
- package/declarations/components/avatar.d.ts +9 -7
- package/declarations/components/button.d.ts +118 -48
- package/declarations/components/calendar.d.ts +382 -0
- package/declarations/components/chip.d.ts +79 -42
- package/declarations/components/close-button.d.ts +9 -7
- package/declarations/components/command.d.ts +281 -0
- package/declarations/components/divider.d.ts +9 -7
- package/declarations/components/dropdown.d.ts +11 -9
- package/declarations/components/external-link.d.ts +160 -0
- package/declarations/components/forms/forms-legacy.d.ts +108 -84
- package/declarations/components/forms/forms.d.ts +652 -162
- package/declarations/components/index.d.ts +11 -0
- package/declarations/components/kbd.d.ts +315 -0
- package/declarations/components/listbox.d.ts +122 -23
- package/declarations/components/notification-card.d.ts +182 -111
- package/declarations/components/notifications-container.d.ts +111 -40
- package/declarations/components/overlays.d.ts +429 -29
- package/declarations/components/pagination.d.ts +359 -0
- package/declarations/components/popover.d.ts +11 -9
- package/declarations/components/progress-bar.d.ts +29 -12
- package/declarations/components/segmented-control.d.ts +463 -0
- package/declarations/components/shared.d.ts +9 -0
- package/declarations/components/skeleton.d.ts +151 -0
- package/declarations/components/spinner.d.ts +19 -12
- package/declarations/components/table.d.ts +17 -9
- package/declarations/components/tabs.d.ts +463 -0
- package/declarations/components/tooltip.d.ts +270 -0
- package/declarations/plugin/default-config.d.ts +10 -4
- package/declarations/tw.d.ts +9 -7
- package/declarations/types.d.ts +18 -1
- package/dist/colors.js +2 -1
- package/dist/colors.js.map +1 -1
- package/dist/index.js +3824 -5
- package/dist/index.js.map +1 -1
- package/dist/overlays-DIZlPzFH.js +654 -0
- package/dist/overlays-DIZlPzFH.js.map +1 -0
- package/dist/plugin.js +54 -83
- package/dist/plugin.js.map +1 -1
- package/dist/util-Dp_dlOPq.js +482 -0
- package/dist/util-Dp_dlOPq.js.map +1 -0
- package/package.json +12 -12
- package/src/index.css +64 -15
- package/src/styles/font-faces.css +23 -5
- package/src/styles/theme.css +18 -7
- package/src/styles/typography.css +36 -29
- package/declarations/colors/contrast.d.ts +0 -16
- package/declarations/colors/defaults.d.ts +0 -66
- package/declarations/colors/palette-dark.d.ts +0 -123
- package/declarations/colors/palette-light.d.ts +0 -123
- package/dist/config-CDp8PRHs.js +0 -370
- package/dist/config-CDp8PRHs.js.map +0 -1
- package/dist/forms-legacy-CgoY8bbm.js +0 -1967
- package/dist/forms-legacy-CgoY8bbm.js.map +0 -1
- package/dist/index.css +0 -63
- package/dist/styles/font-faces.css +0 -70
- package/dist/styles/theme.css +0 -48
- package/dist/styles/typography.css +0 -387
|
@@ -17,7 +17,7 @@ declare const overlay: import("tailwind-variants").TVReturnType<{
|
|
|
17
17
|
readonly extend: {
|
|
18
18
|
readonly classGroups: {
|
|
19
19
|
readonly 'icon-size': readonly [{
|
|
20
|
-
readonly 'size-icon': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
20
|
+
readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
21
21
|
}];
|
|
22
22
|
readonly 'border-w': readonly [{
|
|
23
23
|
readonly border: readonly ["thin", "heavy", "aggressive"];
|
|
@@ -32,17 +32,19 @@ declare const overlay: import("tailwind-variants").TVReturnType<{
|
|
|
32
32
|
readonly opacity: readonly ["hover", "disabled"];
|
|
33
33
|
}];
|
|
34
34
|
readonly 'font-size': readonly [{
|
|
35
|
-
readonly 'text-marquee': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
35
|
+
readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
36
36
|
}, {
|
|
37
|
-
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
37
|
+
readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
38
38
|
}, {
|
|
39
|
-
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
39
|
+
readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
40
40
|
}, {
|
|
41
|
-
readonly 'text-
|
|
41
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
42
42
|
}, {
|
|
43
|
-
readonly 'text-
|
|
43
|
+
readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
44
44
|
}, {
|
|
45
|
-
readonly 'text-
|
|
45
|
+
readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
46
|
+
}, {
|
|
47
|
+
readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
46
48
|
}];
|
|
47
49
|
};
|
|
48
50
|
readonly conflictingClassGroups: {
|
|
@@ -100,7 +102,7 @@ declare const backdrop: import("tailwind-variants").TVReturnType<{
|
|
|
100
102
|
readonly extend: {
|
|
101
103
|
readonly classGroups: {
|
|
102
104
|
readonly 'icon-size': readonly [{
|
|
103
|
-
readonly 'size-icon': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
105
|
+
readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
104
106
|
}];
|
|
105
107
|
readonly 'border-w': readonly [{
|
|
106
108
|
readonly border: readonly ["thin", "heavy", "aggressive"];
|
|
@@ -115,17 +117,19 @@ declare const backdrop: import("tailwind-variants").TVReturnType<{
|
|
|
115
117
|
readonly opacity: readonly ["hover", "disabled"];
|
|
116
118
|
}];
|
|
117
119
|
readonly 'font-size': readonly [{
|
|
118
|
-
readonly 'text-marquee': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
120
|
+
readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
121
|
+
}, {
|
|
122
|
+
readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
119
123
|
}, {
|
|
120
|
-
readonly 'text-
|
|
124
|
+
readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
121
125
|
}, {
|
|
122
|
-
readonly 'text-
|
|
126
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
123
127
|
}, {
|
|
124
|
-
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
128
|
+
readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
125
129
|
}, {
|
|
126
|
-
readonly 'text-caption': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
130
|
+
readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
127
131
|
}, {
|
|
128
|
-
readonly 'text-label': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
132
|
+
readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
129
133
|
}];
|
|
130
134
|
};
|
|
131
135
|
readonly conflictingClassGroups: {
|
|
@@ -203,7 +207,7 @@ declare const modal: import("tailwind-variants").TVReturnType<{
|
|
|
203
207
|
readonly extend: {
|
|
204
208
|
readonly classGroups: {
|
|
205
209
|
readonly 'icon-size': readonly [{
|
|
206
|
-
readonly 'size-icon': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
210
|
+
readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
207
211
|
}];
|
|
208
212
|
readonly 'border-w': readonly [{
|
|
209
213
|
readonly border: readonly ["thin", "heavy", "aggressive"];
|
|
@@ -218,17 +222,19 @@ declare const modal: import("tailwind-variants").TVReturnType<{
|
|
|
218
222
|
readonly opacity: readonly ["hover", "disabled"];
|
|
219
223
|
}];
|
|
220
224
|
readonly 'font-size': readonly [{
|
|
221
|
-
readonly 'text-marquee': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
225
|
+
readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
226
|
+
}, {
|
|
227
|
+
readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
222
228
|
}, {
|
|
223
|
-
readonly 'text-
|
|
229
|
+
readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
224
230
|
}, {
|
|
225
|
-
readonly 'text-
|
|
231
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
226
232
|
}, {
|
|
227
|
-
readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
233
|
+
readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
228
234
|
}, {
|
|
229
|
-
readonly 'text-caption': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
235
|
+
readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
230
236
|
}, {
|
|
231
|
-
readonly 'text-label': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
237
|
+
readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
232
238
|
}];
|
|
233
239
|
};
|
|
234
240
|
readonly conflictingClassGroups: {
|
|
@@ -298,6 +304,34 @@ declare const modal: import("tailwind-variants").TVReturnType<{
|
|
|
298
304
|
};
|
|
299
305
|
}>, unknown, unknown, undefined>>;
|
|
300
306
|
declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
307
|
+
appearance: {
|
|
308
|
+
default: {
|
|
309
|
+
base: string;
|
|
310
|
+
body: string;
|
|
311
|
+
header: string;
|
|
312
|
+
footer: string;
|
|
313
|
+
closeButton: string;
|
|
314
|
+
headerCloseButton: string;
|
|
315
|
+
icon: string;
|
|
316
|
+
title: string;
|
|
317
|
+
description: string;
|
|
318
|
+
dragHandleBar: string;
|
|
319
|
+
};
|
|
320
|
+
ghost: {
|
|
321
|
+
base: string;
|
|
322
|
+
body: string;
|
|
323
|
+
header: string;
|
|
324
|
+
footer: string;
|
|
325
|
+
title: string;
|
|
326
|
+
description: string;
|
|
327
|
+
dragHandleBar: string;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
hasCloseButton: {
|
|
331
|
+
true: {
|
|
332
|
+
header: string;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
301
335
|
size: {
|
|
302
336
|
xs: string;
|
|
303
337
|
sm: string;
|
|
@@ -315,12 +349,22 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
|
315
349
|
}, {
|
|
316
350
|
base: string;
|
|
317
351
|
closeButton: string;
|
|
352
|
+
headerCloseButton: string;
|
|
318
353
|
header: string;
|
|
354
|
+
headerContent: string[];
|
|
355
|
+
headerActions: string;
|
|
319
356
|
body: string;
|
|
320
357
|
footer: string;
|
|
358
|
+
icon: string;
|
|
359
|
+
title: string;
|
|
360
|
+
description: string;
|
|
361
|
+
dragHandle: string;
|
|
362
|
+
dragHandleBar: string;
|
|
321
363
|
}, undefined, {
|
|
322
364
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
323
365
|
size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
366
|
+
appearance?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
367
|
+
hasCloseButton?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
324
368
|
placement?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
325
369
|
} | undefined;
|
|
326
370
|
} & import("tailwind-variants/dist/config.js").TWMConfig & {
|
|
@@ -329,7 +373,7 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
|
329
373
|
readonly extend: {
|
|
330
374
|
readonly classGroups: {
|
|
331
375
|
readonly 'icon-size': readonly [{
|
|
332
|
-
readonly 'size-icon': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
376
|
+
readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
333
377
|
}];
|
|
334
378
|
readonly 'border-w': readonly [{
|
|
335
379
|
readonly border: readonly ["thin", "heavy", "aggressive"];
|
|
@@ -344,17 +388,19 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
|
344
388
|
readonly opacity: readonly ["hover", "disabled"];
|
|
345
389
|
}];
|
|
346
390
|
readonly 'font-size': readonly [{
|
|
347
|
-
readonly 'text-marquee': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
391
|
+
readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
348
392
|
}, {
|
|
349
|
-
readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
393
|
+
readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
350
394
|
}, {
|
|
351
|
-
readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
395
|
+
readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
352
396
|
}, {
|
|
353
|
-
readonly 'text-
|
|
397
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
354
398
|
}, {
|
|
355
|
-
readonly 'text-
|
|
399
|
+
readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
356
400
|
}, {
|
|
357
|
-
readonly 'text-
|
|
401
|
+
readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
402
|
+
}, {
|
|
403
|
+
readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
358
404
|
}];
|
|
359
405
|
};
|
|
360
406
|
readonly conflictingClassGroups: {
|
|
@@ -363,6 +409,34 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
|
363
409
|
};
|
|
364
410
|
};
|
|
365
411
|
}, {
|
|
412
|
+
appearance: {
|
|
413
|
+
default: {
|
|
414
|
+
base: string;
|
|
415
|
+
body: string;
|
|
416
|
+
header: string;
|
|
417
|
+
footer: string;
|
|
418
|
+
closeButton: string;
|
|
419
|
+
headerCloseButton: string;
|
|
420
|
+
icon: string;
|
|
421
|
+
title: string;
|
|
422
|
+
description: string;
|
|
423
|
+
dragHandleBar: string;
|
|
424
|
+
};
|
|
425
|
+
ghost: {
|
|
426
|
+
base: string;
|
|
427
|
+
body: string;
|
|
428
|
+
header: string;
|
|
429
|
+
footer: string;
|
|
430
|
+
title: string;
|
|
431
|
+
description: string;
|
|
432
|
+
dragHandleBar: string;
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
hasCloseButton: {
|
|
436
|
+
true: {
|
|
437
|
+
header: string;
|
|
438
|
+
};
|
|
439
|
+
};
|
|
366
440
|
size: {
|
|
367
441
|
xs: string;
|
|
368
442
|
sm: string;
|
|
@@ -380,10 +454,46 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
|
380
454
|
}, {
|
|
381
455
|
base: string;
|
|
382
456
|
closeButton: string;
|
|
457
|
+
headerCloseButton: string;
|
|
383
458
|
header: string;
|
|
459
|
+
headerContent: string[];
|
|
460
|
+
headerActions: string;
|
|
384
461
|
body: string;
|
|
385
462
|
footer: string;
|
|
463
|
+
icon: string;
|
|
464
|
+
title: string;
|
|
465
|
+
description: string;
|
|
466
|
+
dragHandle: string;
|
|
467
|
+
dragHandleBar: string;
|
|
386
468
|
}, import("tailwind-variants").TVReturnType<{
|
|
469
|
+
appearance: {
|
|
470
|
+
default: {
|
|
471
|
+
base: string;
|
|
472
|
+
body: string;
|
|
473
|
+
header: string;
|
|
474
|
+
footer: string;
|
|
475
|
+
closeButton: string;
|
|
476
|
+
headerCloseButton: string;
|
|
477
|
+
icon: string;
|
|
478
|
+
title: string;
|
|
479
|
+
description: string;
|
|
480
|
+
dragHandleBar: string;
|
|
481
|
+
};
|
|
482
|
+
ghost: {
|
|
483
|
+
base: string;
|
|
484
|
+
body: string;
|
|
485
|
+
header: string;
|
|
486
|
+
footer: string;
|
|
487
|
+
title: string;
|
|
488
|
+
description: string;
|
|
489
|
+
dragHandleBar: string;
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
hasCloseButton: {
|
|
493
|
+
true: {
|
|
494
|
+
header: string;
|
|
495
|
+
};
|
|
496
|
+
};
|
|
387
497
|
size: {
|
|
388
498
|
xs: string;
|
|
389
499
|
sm: string;
|
|
@@ -401,10 +511,46 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
|
401
511
|
}, {
|
|
402
512
|
base: string;
|
|
403
513
|
closeButton: string;
|
|
514
|
+
headerCloseButton: string;
|
|
404
515
|
header: string;
|
|
516
|
+
headerContent: string[];
|
|
517
|
+
headerActions: string;
|
|
405
518
|
body: string;
|
|
406
519
|
footer: string;
|
|
520
|
+
icon: string;
|
|
521
|
+
title: string;
|
|
522
|
+
description: string;
|
|
523
|
+
dragHandle: string;
|
|
524
|
+
dragHandleBar: string;
|
|
407
525
|
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
526
|
+
appearance: {
|
|
527
|
+
default: {
|
|
528
|
+
base: string;
|
|
529
|
+
body: string;
|
|
530
|
+
header: string;
|
|
531
|
+
footer: string;
|
|
532
|
+
closeButton: string;
|
|
533
|
+
headerCloseButton: string;
|
|
534
|
+
icon: string;
|
|
535
|
+
title: string;
|
|
536
|
+
description: string;
|
|
537
|
+
dragHandleBar: string;
|
|
538
|
+
};
|
|
539
|
+
ghost: {
|
|
540
|
+
base: string;
|
|
541
|
+
body: string;
|
|
542
|
+
header: string;
|
|
543
|
+
footer: string;
|
|
544
|
+
title: string;
|
|
545
|
+
description: string;
|
|
546
|
+
dragHandleBar: string;
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
hasCloseButton: {
|
|
550
|
+
true: {
|
|
551
|
+
header: string;
|
|
552
|
+
};
|
|
553
|
+
};
|
|
408
554
|
size: {
|
|
409
555
|
xs: string;
|
|
410
556
|
sm: string;
|
|
@@ -420,6 +566,34 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
|
420
566
|
right: string;
|
|
421
567
|
};
|
|
422
568
|
}, {
|
|
569
|
+
appearance: {
|
|
570
|
+
default: {
|
|
571
|
+
base: string;
|
|
572
|
+
body: string;
|
|
573
|
+
header: string;
|
|
574
|
+
footer: string;
|
|
575
|
+
closeButton: string;
|
|
576
|
+
headerCloseButton: string;
|
|
577
|
+
icon: string;
|
|
578
|
+
title: string;
|
|
579
|
+
description: string;
|
|
580
|
+
dragHandleBar: string;
|
|
581
|
+
};
|
|
582
|
+
ghost: {
|
|
583
|
+
base: string;
|
|
584
|
+
body: string;
|
|
585
|
+
header: string;
|
|
586
|
+
footer: string;
|
|
587
|
+
title: string;
|
|
588
|
+
description: string;
|
|
589
|
+
dragHandleBar: string;
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
hasCloseButton: {
|
|
593
|
+
true: {
|
|
594
|
+
header: string;
|
|
595
|
+
};
|
|
596
|
+
};
|
|
423
597
|
size: {
|
|
424
598
|
xs: string;
|
|
425
599
|
sm: string;
|
|
@@ -435,7 +609,67 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
|
435
609
|
right: string;
|
|
436
610
|
};
|
|
437
611
|
}>, unknown, unknown, undefined>>;
|
|
612
|
+
/**
|
|
613
|
+
* The arrow shared by `Popover.Content` and `Tooltip`.
|
|
614
|
+
*
|
|
615
|
+
* A rotated square rather than a border triangle, so it can carry the
|
|
616
|
+
* content's own border. `bg-inherit` is the point: the arrow takes whatever
|
|
617
|
+
* background the content has, so intents and custom classes never have to be
|
|
618
|
+
* restated here. Its offset along the content's edge comes from the
|
|
619
|
+
* floating-ui `arrow` middleware and is written as inline `left`/`top`; the
|
|
620
|
+
* static side is pinned by the component from the resolved placement.
|
|
621
|
+
*/
|
|
622
|
+
declare const overlayArrow: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "absolute w-2 h-2 rotate-45 bg-inherit border border-neutral-subtle pointer-events-none", {
|
|
623
|
+
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {} | undefined;
|
|
624
|
+
} & import("tailwind-variants/dist/config.js").TWMConfig & {
|
|
625
|
+
twMerge: true;
|
|
626
|
+
twMergeConfig: {
|
|
627
|
+
readonly extend: {
|
|
628
|
+
readonly classGroups: {
|
|
629
|
+
readonly 'icon-size': readonly [{
|
|
630
|
+
readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
631
|
+
}];
|
|
632
|
+
readonly 'border-w': readonly [{
|
|
633
|
+
readonly border: readonly ["thin", "heavy", "aggressive"];
|
|
634
|
+
}];
|
|
635
|
+
readonly rounded: readonly [{
|
|
636
|
+
readonly rounded: readonly ["default", "pill"];
|
|
637
|
+
}];
|
|
638
|
+
readonly shadow: readonly [{
|
|
639
|
+
readonly 'shadow-elevation': string[];
|
|
640
|
+
}];
|
|
641
|
+
readonly opacity: readonly [{
|
|
642
|
+
readonly opacity: readonly ["hover", "disabled"];
|
|
643
|
+
}];
|
|
644
|
+
readonly 'font-size': readonly [{
|
|
645
|
+
readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
646
|
+
}, {
|
|
647
|
+
readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
648
|
+
}, {
|
|
649
|
+
readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
650
|
+
}, {
|
|
651
|
+
readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
652
|
+
}, {
|
|
653
|
+
readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
654
|
+
}, {
|
|
655
|
+
readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
656
|
+
}, {
|
|
657
|
+
readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
|
|
658
|
+
}];
|
|
659
|
+
};
|
|
660
|
+
readonly conflictingClassGroups: {
|
|
661
|
+
readonly 'icon-size': readonly ["w", "h", "size"];
|
|
662
|
+
};
|
|
663
|
+
};
|
|
664
|
+
};
|
|
665
|
+
}, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "absolute w-2 h-2 rotate-45 bg-inherit border border-neutral-subtle pointer-events-none", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
438
666
|
declare const overlayTransitions: {
|
|
667
|
+
/**
|
|
668
|
+
* Deliberately has no `prefers-reduced-motion` branch: a cross-fade is not
|
|
669
|
+
* motion. Reduced motion asks for movement to be removed, not for state
|
|
670
|
+
* changes to become instant, so the other transitions below drop their
|
|
671
|
+
* travel and keep exactly this fade.
|
|
672
|
+
*/
|
|
439
673
|
fade: {
|
|
440
674
|
enter: {
|
|
441
675
|
opacity: string;
|
|
@@ -452,11 +686,17 @@ declare const overlayTransitions: {
|
|
|
452
686
|
};
|
|
453
687
|
zoom: {
|
|
454
688
|
enter: {
|
|
689
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
690
|
+
transform: string;
|
|
691
|
+
};
|
|
455
692
|
opacity: string;
|
|
456
693
|
transform: string;
|
|
457
694
|
};
|
|
458
695
|
enterActive: {
|
|
459
696
|
transition: string;
|
|
697
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
698
|
+
transition: string;
|
|
699
|
+
};
|
|
460
700
|
};
|
|
461
701
|
leave: {
|
|
462
702
|
opacity: string;
|
|
@@ -464,66 +704,216 @@ declare const overlayTransitions: {
|
|
|
464
704
|
};
|
|
465
705
|
leaveActive: {
|
|
466
706
|
transition: string;
|
|
707
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
708
|
+
transition: string;
|
|
709
|
+
};
|
|
467
710
|
};
|
|
468
711
|
};
|
|
469
712
|
slideFromLeft: {
|
|
470
713
|
enterActive: {
|
|
471
714
|
transition: string;
|
|
715
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
716
|
+
transition: string;
|
|
717
|
+
};
|
|
472
718
|
};
|
|
473
719
|
leaveActive: {
|
|
474
720
|
transition: string;
|
|
721
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
722
|
+
transition: string;
|
|
723
|
+
};
|
|
475
724
|
};
|
|
476
725
|
enter: {
|
|
726
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
727
|
+
transform: string;
|
|
728
|
+
opacity: string;
|
|
729
|
+
};
|
|
477
730
|
transform: string;
|
|
478
731
|
};
|
|
479
732
|
leave: {
|
|
733
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
734
|
+
opacity: string;
|
|
735
|
+
};
|
|
480
736
|
transform: string;
|
|
481
737
|
};
|
|
482
738
|
};
|
|
483
739
|
slideFromRight: {
|
|
484
740
|
enterActive: {
|
|
485
741
|
transition: string;
|
|
742
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
743
|
+
transition: string;
|
|
744
|
+
};
|
|
486
745
|
};
|
|
487
746
|
leaveActive: {
|
|
488
747
|
transition: string;
|
|
748
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
749
|
+
transition: string;
|
|
750
|
+
};
|
|
489
751
|
};
|
|
490
752
|
enter: {
|
|
753
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
754
|
+
transform: string;
|
|
755
|
+
opacity: string;
|
|
756
|
+
};
|
|
491
757
|
transform: string;
|
|
492
758
|
};
|
|
493
759
|
leave: {
|
|
760
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
761
|
+
opacity: string;
|
|
762
|
+
};
|
|
494
763
|
transform: string;
|
|
495
764
|
};
|
|
496
765
|
};
|
|
497
766
|
slideFromTop: {
|
|
498
767
|
enterActive: {
|
|
499
768
|
transition: string;
|
|
769
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
770
|
+
transition: string;
|
|
771
|
+
};
|
|
500
772
|
};
|
|
501
773
|
leaveActive: {
|
|
502
774
|
transition: string;
|
|
775
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
776
|
+
transition: string;
|
|
777
|
+
};
|
|
503
778
|
};
|
|
504
779
|
enter: {
|
|
780
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
781
|
+
transform: string;
|
|
782
|
+
opacity: string;
|
|
783
|
+
};
|
|
505
784
|
transform: string;
|
|
506
785
|
};
|
|
507
786
|
leave: {
|
|
787
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
788
|
+
opacity: string;
|
|
789
|
+
};
|
|
508
790
|
transform: string;
|
|
509
791
|
};
|
|
510
792
|
};
|
|
511
793
|
slideFromBottom: {
|
|
512
794
|
enterActive: {
|
|
513
795
|
transition: string;
|
|
796
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
797
|
+
transition: string;
|
|
798
|
+
};
|
|
514
799
|
};
|
|
515
800
|
leaveActive: {
|
|
516
801
|
transition: string;
|
|
802
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
803
|
+
transition: string;
|
|
804
|
+
};
|
|
805
|
+
};
|
|
806
|
+
enter: {
|
|
807
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
808
|
+
transform: string;
|
|
809
|
+
opacity: string;
|
|
810
|
+
};
|
|
811
|
+
transform: string;
|
|
812
|
+
};
|
|
813
|
+
leave: {
|
|
814
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
815
|
+
opacity: string;
|
|
816
|
+
};
|
|
817
|
+
transform: string;
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
/**
|
|
821
|
+
* Command palette: a short scale-and-rise. Deliberately faster than `scale`
|
|
822
|
+
* -- a palette is opened mid-task and re-opened constantly, so the animation
|
|
823
|
+
* has to read as instant rather than as a reveal.
|
|
824
|
+
*/
|
|
825
|
+
command: {
|
|
826
|
+
enter: {
|
|
827
|
+
opacity: string;
|
|
828
|
+
transform: string;
|
|
829
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
830
|
+
transform: string;
|
|
831
|
+
};
|
|
832
|
+
};
|
|
833
|
+
enterActive: {
|
|
834
|
+
transitionProperty: string;
|
|
835
|
+
transitionDuration: string;
|
|
836
|
+
transitionTimingFunction: string;
|
|
837
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
838
|
+
transitionProperty: string;
|
|
839
|
+
};
|
|
840
|
+
};
|
|
841
|
+
enterTo: {
|
|
842
|
+
opacity: string;
|
|
843
|
+
transform: string;
|
|
844
|
+
};
|
|
845
|
+
leave: {
|
|
846
|
+
opacity: string;
|
|
847
|
+
transform: string;
|
|
848
|
+
};
|
|
849
|
+
leaveActive: {
|
|
850
|
+
transitionProperty: string;
|
|
851
|
+
transitionDuration: string;
|
|
852
|
+
transitionTimingFunction: string;
|
|
853
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
854
|
+
transitionProperty: string;
|
|
855
|
+
};
|
|
856
|
+
};
|
|
857
|
+
leaveTo: {
|
|
858
|
+
opacity: string;
|
|
859
|
+
transform: string;
|
|
860
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
861
|
+
transform: string;
|
|
862
|
+
};
|
|
517
863
|
};
|
|
864
|
+
};
|
|
865
|
+
/**
|
|
866
|
+
* Tooltip: a short scale-and-approach. Deliberately faster than `scale` --
|
|
867
|
+
* a tooltip fires on every mouse pass, so a 200ms reveal reads as lag. The
|
|
868
|
+
* translate is toward the anchor and the origin is set from the resolved
|
|
869
|
+
* placement (see the `tooltip` component's `data-placement` classes), so it
|
|
870
|
+
* grows out of the trigger rather than appearing in space.
|
|
871
|
+
*/
|
|
872
|
+
tooltip: {
|
|
518
873
|
enter: {
|
|
874
|
+
opacity: string;
|
|
875
|
+
transform: string;
|
|
876
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
877
|
+
transform: string;
|
|
878
|
+
};
|
|
879
|
+
};
|
|
880
|
+
enterActive: {
|
|
881
|
+
transitionProperty: string;
|
|
882
|
+
transitionDuration: string;
|
|
883
|
+
transitionTimingFunction: string;
|
|
884
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
885
|
+
transitionProperty: string;
|
|
886
|
+
};
|
|
887
|
+
};
|
|
888
|
+
enterTo: {
|
|
889
|
+
opacity: string;
|
|
519
890
|
transform: string;
|
|
520
891
|
};
|
|
521
892
|
leave: {
|
|
893
|
+
opacity: string;
|
|
894
|
+
transform: string;
|
|
895
|
+
};
|
|
896
|
+
leaveActive: {
|
|
897
|
+
transitionProperty: string;
|
|
898
|
+
transitionDuration: string;
|
|
899
|
+
transitionTimingFunction: string;
|
|
900
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
901
|
+
transitionProperty: string;
|
|
902
|
+
};
|
|
903
|
+
};
|
|
904
|
+
leaveTo: {
|
|
905
|
+
opacity: string;
|
|
522
906
|
transform: string;
|
|
907
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
908
|
+
transform: string;
|
|
909
|
+
};
|
|
523
910
|
};
|
|
524
911
|
};
|
|
525
912
|
scale: {
|
|
526
913
|
enter: {
|
|
914
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
915
|
+
transform: string;
|
|
916
|
+
};
|
|
527
917
|
opacity: string;
|
|
528
918
|
transform: string;
|
|
529
919
|
};
|
|
@@ -531,6 +921,9 @@ declare const overlayTransitions: {
|
|
|
531
921
|
transitionProperty: string;
|
|
532
922
|
transitionDuration: string;
|
|
533
923
|
transitionTimingFunction: string;
|
|
924
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
925
|
+
transitionProperty: string;
|
|
926
|
+
};
|
|
534
927
|
};
|
|
535
928
|
enterTo: {
|
|
536
929
|
opacity: string;
|
|
@@ -544,8 +937,14 @@ declare const overlayTransitions: {
|
|
|
544
937
|
transitionProperty: string;
|
|
545
938
|
transitionDuration: string;
|
|
546
939
|
transitionTimingFunction: string;
|
|
940
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
941
|
+
transitionProperty: string;
|
|
942
|
+
};
|
|
547
943
|
};
|
|
548
944
|
leaveTo: {
|
|
945
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
946
|
+
transform: string;
|
|
947
|
+
};
|
|
549
948
|
opacity: string;
|
|
550
949
|
transform: string;
|
|
551
950
|
};
|
|
@@ -559,4 +958,5 @@ export type ModalVariants = VariantProps<typeof modal>;
|
|
|
559
958
|
export type ModalSlots = keyof ReturnType<typeof modal>;
|
|
560
959
|
export type BackdropVariants = VariantProps<typeof backdrop>;
|
|
561
960
|
export type BackdropSlots = keyof ReturnType<typeof backdrop>;
|
|
562
|
-
export
|
|
961
|
+
export type OverlayArrowVariants = VariantProps<typeof overlayArrow>;
|
|
962
|
+
export { overlay, drawer, modal, overlayTransitions, backdrop, overlayArrow };
|