@nextui-org/theme 2.1.9 → 2.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-77O7KLUI.mjs → chunk-362LGETO.mjs} +1 -1
- package/dist/{chunk-23KK2ZAZ.mjs → chunk-5GLH2ERS.mjs} +2 -2
- package/dist/{chunk-RYOZQSNI.mjs → chunk-6XG3Y4GM.mjs} +12 -7
- package/dist/chunk-76A2UI6G.mjs +243 -0
- package/dist/chunk-AQDGQGUV.mjs +391 -0
- package/dist/{chunk-NAY2XKLY.mjs → chunk-B6QMTIF2.mjs} +1 -1
- package/dist/{chunk-LGRQRHJJ.mjs → chunk-BR6V72YY.mjs} +6 -3
- package/dist/{chunk-PJV3MWBL.mjs → chunk-C3KZKKPN.mjs} +182 -49
- package/dist/{chunk-5VJPQADB.mjs → chunk-CLW3JMFF.mjs} +2 -2
- package/dist/{chunk-NW5W5ANO.mjs → chunk-DGMET46Q.mjs} +4 -3
- package/dist/{chunk-WBNF66V7.mjs → chunk-F36W5Y6O.mjs} +1 -1
- package/dist/{chunk-GNLIYZAQ.mjs → chunk-FUMNSN2H.mjs} +1 -1
- package/dist/{chunk-KPK2JQIF.mjs → chunk-G3PB7L4N.mjs} +10 -0
- package/dist/{chunk-4DKVPW5Z.mjs → chunk-HBLCAYSX.mjs} +2 -2
- package/dist/{chunk-XPLXQDB3.mjs → chunk-HYA3WURA.mjs} +1 -1
- package/dist/{chunk-UHF2F2WJ.mjs → chunk-I5E37FAL.mjs} +4 -4
- package/dist/{chunk-RPMLQF4Y.mjs → chunk-J6EGGODL.mjs} +5 -5
- package/dist/{chunk-XY766PDD.mjs → chunk-J7FVLFSZ.mjs} +1 -1
- package/dist/{chunk-GKYVNUGL.mjs → chunk-JMOQB2OS.mjs} +3 -3
- package/dist/{chunk-EUS2SEYI.mjs → chunk-JX6O4KJS.mjs} +2 -2
- package/dist/{chunk-YSXRNNDV.mjs → chunk-N7N2LONM.mjs} +1 -1
- package/dist/{chunk-RHIZZ5XX.mjs → chunk-ODGTGSNM.mjs} +2 -2
- package/dist/{chunk-EC4F6RJF.mjs → chunk-PFGLTKGJ.mjs} +1 -1
- package/dist/{chunk-FZZINZOQ.mjs → chunk-QF56VSRK.mjs} +23 -6
- package/dist/{chunk-YKWIBFFV.mjs → chunk-QWYWYOG6.mjs} +18 -4
- package/dist/{chunk-Y32IWEMZ.mjs → chunk-S7W5DQP2.mjs} +3 -3
- package/dist/{chunk-F76574GG.mjs → chunk-SCQJ4BM3.mjs} +105 -39
- package/dist/{chunk-TIMHSW45.mjs → chunk-TUUOVVH3.mjs} +2 -2
- package/dist/{chunk-B55QBA5E.mjs → chunk-VD4MGTVP.mjs} +1 -1
- package/dist/{chunk-4JBYJQSP.mjs → chunk-VGHVBXXT.mjs} +1 -1
- package/dist/{chunk-WM43BKYH.mjs → chunk-VOTIIGIW.mjs} +3 -3
- package/dist/{chunk-O24TFHPZ.mjs → chunk-VPYXYIZ5.mjs} +2 -2
- package/dist/{chunk-ADNJ6GPZ.mjs → chunk-VU5TSYMO.mjs} +2 -2
- package/dist/{chunk-7MCHEQXT.mjs → chunk-VZI6SR6H.mjs} +4 -1
- package/dist/chunk-WBUVHAJX.mjs +37 -0
- package/dist/chunk-WHT6K6RC.mjs +58 -0
- package/dist/chunk-WNVF6X3M.mjs +171 -0
- package/dist/{chunk-EQIZ7W7V.mjs → chunk-WYVG7NY6.mjs} +3 -3
- package/dist/{chunk-LQGOKGQV.mjs → chunk-XHQNEGB6.mjs} +1 -1
- package/dist/{chunk-T7JNS25F.mjs → chunk-XHQUSKIE.mjs} +10 -1
- package/dist/{chunk-MOHT4OBR.mjs → chunk-XNF3KCH7.mjs} +2 -2
- package/dist/{chunk-XJU7LDVX.mjs → chunk-Y5WLFHBC.mjs} +74 -9
- package/dist/{chunk-XCWQAA5D.mjs → chunk-YRDQW7V4.mjs} +5 -5
- package/dist/components/accordion.js +27 -34
- package/dist/components/accordion.mjs +3 -3
- package/dist/components/autocomplete.d.ts +180 -0
- package/dist/components/autocomplete.js +165 -0
- package/dist/components/autocomplete.mjs +8 -0
- package/dist/components/avatar.js +28 -35
- package/dist/components/avatar.mjs +3 -3
- package/dist/components/badge.d.ts +7 -7
- package/dist/components/badge.js +29 -36
- package/dist/components/badge.mjs +3 -3
- package/dist/components/breadcrumbs.d.ts +816 -0
- package/dist/components/breadcrumbs.js +357 -0
- package/dist/components/breadcrumbs.mjs +14 -0
- package/dist/components/button.d.ts +7 -7
- package/dist/components/button.js +104 -39
- package/dist/components/button.mjs +3 -3
- package/dist/components/card.js +26 -33
- package/dist/components/card.mjs +3 -3
- package/dist/components/checkbox.js +25 -32
- package/dist/components/checkbox.mjs +3 -3
- package/dist/components/chip.js +26 -33
- package/dist/components/chip.mjs +3 -3
- package/dist/components/circular-progress.js +25 -32
- package/dist/components/circular-progress.mjs +2 -2
- package/dist/components/code.js +25 -32
- package/dist/components/code.mjs +3 -3
- package/dist/components/divider.js +25 -32
- package/dist/components/divider.mjs +2 -2
- package/dist/components/drip.d.ts +29 -3
- package/dist/components/drip.js +25 -32
- package/dist/components/drip.mjs +2 -2
- package/dist/components/dropdown.d.ts +103 -35
- package/dist/components/dropdown.js +25 -32
- package/dist/components/dropdown.mjs +3 -3
- package/dist/components/image.js +25 -32
- package/dist/components/image.mjs +2 -2
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.js +1189 -208
- package/dist/components/index.mjs +62 -48
- package/dist/components/input.d.ts +34 -41
- package/dist/components/input.js +205 -79
- package/dist/components/input.mjs +3 -3
- package/dist/components/kbd.js +25 -32
- package/dist/components/kbd.mjs +2 -2
- package/dist/components/link.js +25 -32
- package/dist/components/link.mjs +3 -3
- package/dist/components/listbox.d.ts +1 -1
- package/dist/components/listbox.js +41 -34
- package/dist/components/listbox.mjs +3 -3
- package/dist/components/menu.d.ts +119 -40
- package/dist/components/menu.js +41 -34
- package/dist/components/menu.mjs +3 -3
- package/dist/components/modal.js +25 -32
- package/dist/components/modal.mjs +3 -3
- package/dist/components/navbar.js +29 -33
- package/dist/components/navbar.mjs +3 -3
- package/dist/components/pagination.js +46 -36
- package/dist/components/pagination.mjs +3 -3
- package/dist/components/popover.d.ts +136 -132
- package/dist/components/popover.js +98 -94
- package/dist/components/popover.mjs +3 -3
- package/dist/components/progress.js +25 -32
- package/dist/components/progress.mjs +2 -2
- package/dist/components/radio.js +26 -33
- package/dist/components/radio.mjs +3 -3
- package/dist/components/scroll-shadow.js +25 -32
- package/dist/components/scroll-shadow.mjs +2 -2
- package/dist/components/select.d.ts +30 -51
- package/dist/components/select.js +128 -69
- package/dist/components/select.mjs +3 -3
- package/dist/components/skeleton.js +26 -33
- package/dist/components/skeleton.mjs +2 -2
- package/dist/components/slider.d.ts +1024 -0
- package/dist/components/slider.js +504 -0
- package/dist/components/slider.mjs +12 -0
- package/dist/components/snippet.js +25 -32
- package/dist/components/snippet.mjs +3 -3
- package/dist/components/spacer.js +25 -32
- package/dist/components/spacer.mjs +2 -2
- package/dist/components/spinner.js +25 -32
- package/dist/components/spinner.mjs +2 -2
- package/dist/components/table.js +25 -32
- package/dist/components/table.mjs +3 -3
- package/dist/components/tabs.js +25 -32
- package/dist/components/tabs.mjs +3 -3
- package/dist/components/toggle.js +25 -32
- package/dist/components/toggle.mjs +3 -3
- package/dist/components/user.d.ts +45 -29
- package/dist/components/user.js +25 -32
- package/dist/components/user.mjs +3 -3
- package/dist/default-layout.js +4 -1
- package/dist/default-layout.mjs +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.js +1323 -321
- package/dist/index.mjs +69 -53
- package/dist/plugin.js +24 -5
- package/dist/plugin.mjs +6 -6
- package/dist/types.d.ts +8 -0
- package/dist/utilities/index.d.ts +10 -0
- package/dist/utilities/index.js +10 -0
- package/dist/utilities/index.mjs +2 -2
- package/dist/utilities/transition.d.ts +10 -0
- package/dist/utilities/transition.js +10 -0
- package/dist/utilities/transition.mjs +1 -1
- package/dist/utils/classes.d.ts +13 -1
- package/dist/utils/classes.js +10 -0
- package/dist/utils/classes.mjs +3 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +10 -0
- package/dist/utils/index.mjs +3 -1
- package/dist/utils/theme.js +4 -3
- package/dist/utils/theme.mjs +1 -1
- package/dist/utils/tv.d.ts +2 -2
- package/dist/utils/tv.js +25 -32
- package/dist/utils/tv.mjs +1 -1
- package/package.json +9 -9
- package/dist/chunk-6AEINX52.mjs +0 -44
- package/dist/chunk-SN5GEHHN.mjs +0 -160
- /package/dist/{chunk-RH7YHIQY.mjs → chunk-T6HAGWX5.mjs} +0 -0
|
@@ -16,11 +16,37 @@ import { VariantProps } from 'tailwind-variants';
|
|
|
16
16
|
* </div>
|
|
17
17
|
* </div>
|
|
18
18
|
*/
|
|
19
|
-
declare const dropdown: tailwind_variants.TVReturnType<
|
|
19
|
+
declare const dropdown: tailwind_variants.TVReturnType<{
|
|
20
|
+
[key: string]: {
|
|
21
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
22
|
+
base?: tailwind_variants.ClassValue;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
} | {
|
|
20
26
|
[x: string]: {
|
|
21
|
-
[x: string]: tailwind_variants.ClassValue |
|
|
27
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
28
|
+
base?: tailwind_variants.ClassValue;
|
|
29
|
+
};
|
|
22
30
|
} | undefined;
|
|
23
|
-
} | {}, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown,
|
|
31
|
+
} | {}, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, {
|
|
32
|
+
[key: string]: {
|
|
33
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
34
|
+
base?: tailwind_variants.ClassValue;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
} | {}>, {
|
|
38
|
+
[key: string]: {
|
|
39
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
40
|
+
base?: tailwind_variants.ClassValue;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, string[], tailwind_variants_dist_config.TVConfig<unknown, {
|
|
44
|
+
[key: string]: {
|
|
45
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
46
|
+
base?: tailwind_variants.ClassValue;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
24
50
|
/**
|
|
25
51
|
* DropdownItem wrapper **Tailwind Variants** component
|
|
26
52
|
*
|
|
@@ -345,36 +371,48 @@ declare const dropdownItem: tailwind_variants.TVReturnType<{
|
|
|
345
371
|
* </div>
|
|
346
372
|
* </div>
|
|
347
373
|
*/
|
|
348
|
-
declare const dropdownSection: tailwind_variants.TVReturnType<
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
374
|
+
declare const dropdownSection: tailwind_variants.TVReturnType<{
|
|
375
|
+
[key: string]: {
|
|
376
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
377
|
+
base?: tailwind_variants.ClassValue;
|
|
378
|
+
divider?: tailwind_variants.ClassValue;
|
|
379
|
+
group?: tailwind_variants.ClassValue;
|
|
380
|
+
heading?: tailwind_variants.ClassValue;
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
} | {
|
|
354
384
|
[x: string]: {
|
|
355
|
-
[x: string]: tailwind_variants.ClassValue |
|
|
356
|
-
base
|
|
357
|
-
|
|
358
|
-
group
|
|
359
|
-
|
|
360
|
-
}
|
|
385
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
386
|
+
base?: tailwind_variants.ClassValue;
|
|
387
|
+
divider?: tailwind_variants.ClassValue;
|
|
388
|
+
group?: tailwind_variants.ClassValue;
|
|
389
|
+
heading?: tailwind_variants.ClassValue;
|
|
390
|
+
};
|
|
361
391
|
} | undefined;
|
|
362
392
|
} | {}, {
|
|
363
393
|
base: string;
|
|
364
394
|
heading: string;
|
|
365
395
|
group: string;
|
|
366
396
|
divider: string;
|
|
367
|
-
}, undefined, tailwind_variants_dist_config.TVConfig<unknown,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
397
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
|
|
398
|
+
[key: string]: {
|
|
399
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
400
|
+
base?: tailwind_variants.ClassValue;
|
|
401
|
+
divider?: tailwind_variants.ClassValue;
|
|
402
|
+
group?: tailwind_variants.ClassValue;
|
|
403
|
+
heading?: tailwind_variants.ClassValue;
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
} | {}>, {
|
|
407
|
+
[key: string]: {
|
|
408
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
409
|
+
base?: tailwind_variants.ClassValue;
|
|
410
|
+
divider?: tailwind_variants.ClassValue;
|
|
411
|
+
group?: tailwind_variants.ClassValue;
|
|
412
|
+
heading?: tailwind_variants.ClassValue;
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
} | {}, {
|
|
378
416
|
base: string;
|
|
379
417
|
heading: string;
|
|
380
418
|
group: string;
|
|
@@ -384,23 +422,53 @@ declare const dropdownSection: tailwind_variants.TVReturnType<tailwind_variants.
|
|
|
384
422
|
heading: string;
|
|
385
423
|
group: string;
|
|
386
424
|
divider: string;
|
|
387
|
-
}, undefined, tailwind_variants_dist_config.TVConfig<unknown,
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
425
|
+
}, undefined, tailwind_variants_dist_config.TVConfig<unknown, {
|
|
426
|
+
[key: string]: {
|
|
427
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
428
|
+
base?: tailwind_variants.ClassValue;
|
|
429
|
+
divider?: tailwind_variants.ClassValue;
|
|
430
|
+
group?: tailwind_variants.ClassValue;
|
|
431
|
+
heading?: tailwind_variants.ClassValue;
|
|
432
|
+
};
|
|
433
|
+
};
|
|
434
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
393
435
|
/**
|
|
394
436
|
* Dropdown Menu wrapper **Tailwind Variants** component
|
|
395
437
|
*
|
|
396
438
|
* const classNames = dropdownMenu({...})
|
|
397
439
|
|
|
398
440
|
*/
|
|
399
|
-
declare const dropdownMenu: tailwind_variants.TVReturnType<
|
|
441
|
+
declare const dropdownMenu: tailwind_variants.TVReturnType<{
|
|
442
|
+
[key: string]: {
|
|
443
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
444
|
+
base?: tailwind_variants.ClassValue;
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
} | {
|
|
400
448
|
[x: string]: {
|
|
401
|
-
[x: string]: tailwind_variants.ClassValue |
|
|
449
|
+
[x: string]: tailwind_variants.ClassValue | {
|
|
450
|
+
base?: tailwind_variants.ClassValue;
|
|
451
|
+
};
|
|
402
452
|
} | undefined;
|
|
403
|
-
} | {}, undefined, "w-full flex flex-col gap-0.5 p-1", tailwind_variants_dist_config.TVConfig<unknown,
|
|
453
|
+
} | {}, undefined, "w-full flex flex-col gap-0.5 p-1", tailwind_variants_dist_config.TVConfig<unknown, {
|
|
454
|
+
[key: string]: {
|
|
455
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
456
|
+
base?: tailwind_variants.ClassValue;
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
} | {}>, {
|
|
460
|
+
[key: string]: {
|
|
461
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
462
|
+
base?: tailwind_variants.ClassValue;
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "w-full flex flex-col gap-0.5 p-1", tailwind_variants_dist_config.TVConfig<unknown, {
|
|
466
|
+
[key: string]: {
|
|
467
|
+
[key: string]: tailwind_variants.ClassValue | {
|
|
468
|
+
base?: tailwind_variants.ClassValue;
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
404
472
|
type DropdownSectionVariantProps = VariantProps<typeof dropdownSection>;
|
|
405
473
|
type DropdownSectionSlots = keyof ReturnType<typeof dropdownSection>;
|
|
406
474
|
type DropdownItemVariantProps = VariantProps<typeof dropdownItem>;
|
|
@@ -85,39 +85,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
|
|
|
85
85
|
|
|
86
86
|
// src/utils/tv.ts
|
|
87
87
|
var COMMON_UNITS = ["small", "medium", "large"];
|
|
88
|
-
var tv = (
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
],
|
|
112
|
-
"min-h": [
|
|
113
|
-
{
|
|
114
|
-
"min-h": ["unit", ...mappedSpacingScaleKeys]
|
|
115
|
-
}
|
|
116
|
-
]
|
|
117
|
-
}
|
|
88
|
+
var tv = (0, import_tailwind_variants.createTV)({
|
|
89
|
+
twMerge: true,
|
|
90
|
+
twMergeConfig: {
|
|
91
|
+
theme: {
|
|
92
|
+
opacity: ["disabled"],
|
|
93
|
+
spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
|
|
94
|
+
borderWidth: COMMON_UNITS,
|
|
95
|
+
borderRadius: COMMON_UNITS
|
|
96
|
+
},
|
|
97
|
+
classGroups: {
|
|
98
|
+
shadow: [{ shadow: COMMON_UNITS }],
|
|
99
|
+
"font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
|
|
100
|
+
"bg-image": ["bg-stripe-gradient"],
|
|
101
|
+
"min-w": [
|
|
102
|
+
{
|
|
103
|
+
"min-w": ["unit", ...mappedSpacingScaleKeys]
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"min-h": [
|
|
107
|
+
{
|
|
108
|
+
"min-h": ["unit", ...mappedSpacingScaleKeys]
|
|
109
|
+
}
|
|
110
|
+
]
|
|
118
111
|
}
|
|
119
|
-
}
|
|
120
|
-
};
|
|
112
|
+
}
|
|
113
|
+
});
|
|
121
114
|
|
|
122
115
|
// src/utils/classes.ts
|
|
123
116
|
var dataFocusVisibleClasses = [
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
dropdownItem,
|
|
4
4
|
dropdownMenu,
|
|
5
5
|
dropdownSection
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-5GLH2ERS.mjs";
|
|
7
7
|
import "../chunk-CMYR6AOY.mjs";
|
|
8
8
|
import "../chunk-K7LK7NCE.mjs";
|
|
9
9
|
import "../chunk-2PIR7DFM.mjs";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-WBUVHAJX.mjs";
|
|
11
|
+
import "../chunk-XHQUSKIE.mjs";
|
|
12
12
|
import "../chunk-WA5F6AED.mjs";
|
|
13
13
|
export {
|
|
14
14
|
dropdown,
|
package/dist/components/image.js
CHANGED
|
@@ -82,39 +82,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
|
|
|
82
82
|
|
|
83
83
|
// src/utils/tv.ts
|
|
84
84
|
var COMMON_UNITS = ["small", "medium", "large"];
|
|
85
|
-
var tv = (
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
],
|
|
109
|
-
"min-h": [
|
|
110
|
-
{
|
|
111
|
-
"min-h": ["unit", ...mappedSpacingScaleKeys]
|
|
112
|
-
}
|
|
113
|
-
]
|
|
114
|
-
}
|
|
85
|
+
var tv = (0, import_tailwind_variants.createTV)({
|
|
86
|
+
twMerge: true,
|
|
87
|
+
twMergeConfig: {
|
|
88
|
+
theme: {
|
|
89
|
+
opacity: ["disabled"],
|
|
90
|
+
spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
|
|
91
|
+
borderWidth: COMMON_UNITS,
|
|
92
|
+
borderRadius: COMMON_UNITS
|
|
93
|
+
},
|
|
94
|
+
classGroups: {
|
|
95
|
+
shadow: [{ shadow: COMMON_UNITS }],
|
|
96
|
+
"font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
|
|
97
|
+
"bg-image": ["bg-stripe-gradient"],
|
|
98
|
+
"min-w": [
|
|
99
|
+
{
|
|
100
|
+
"min-w": ["unit", ...mappedSpacingScaleKeys]
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"min-h": [
|
|
104
|
+
{
|
|
105
|
+
"min-h": ["unit", ...mappedSpacingScaleKeys]
|
|
106
|
+
}
|
|
107
|
+
]
|
|
115
108
|
}
|
|
116
|
-
}
|
|
117
|
-
};
|
|
109
|
+
}
|
|
110
|
+
});
|
|
118
111
|
|
|
119
112
|
// src/components/image.ts
|
|
120
113
|
var image = tv({
|
|
@@ -29,7 +29,10 @@ export { KbdSlots, KbdVariantProps, kbd } from './kbd.js';
|
|
|
29
29
|
export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './tabs.js';
|
|
30
30
|
export { SkeletonSlots, SkeletonVariantProps, skeleton } from './skeleton.js';
|
|
31
31
|
export { SelectSlots, SelectVariantProps, select } from './select.js';
|
|
32
|
-
export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuVariantProps as ListboxVariantProps, MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection, menu, menuItem, menuSection } from './menu.js';
|
|
32
|
+
export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuSlots as ListboxSlots, MenuVariantProps as ListboxVariantProps, MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuSlots, MenuVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection, menu, menuItem, menuSection } from './menu.js';
|
|
33
33
|
export { ScrollShadowVariantProps, scrollShadow } from './scroll-shadow.js';
|
|
34
|
+
export { SliderSlots, SliderVariantProps, slider } from './slider.js';
|
|
35
|
+
export { BreadcrumbItemSlots, BreadcrumbItemVariantProps, BreadcrumbsSlots, BreadcrumbsVariantProps, breadcrumbItem, breadcrumbs } from './breadcrumbs.js';
|
|
36
|
+
export { AutocompleteSlots, AutocompleteVariantProps, autocomplete } from './autocomplete.js';
|
|
34
37
|
import 'tailwind-variants';
|
|
35
38
|
import 'tailwind-variants/dist/config';
|