@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
package/dist/components/index.js
CHANGED
|
@@ -22,9 +22,12 @@ var components_exports = {};
|
|
|
22
22
|
__export(components_exports, {
|
|
23
23
|
accordion: () => accordion,
|
|
24
24
|
accordionItem: () => accordionItem,
|
|
25
|
+
autocomplete: () => autocomplete,
|
|
25
26
|
avatar: () => avatar,
|
|
26
27
|
avatarGroup: () => avatarGroup,
|
|
27
28
|
badge: () => badge,
|
|
29
|
+
breadcrumbItem: () => breadcrumbItem,
|
|
30
|
+
breadcrumbs: () => breadcrumbs,
|
|
28
31
|
button: () => button,
|
|
29
32
|
buttonGroup: () => buttonGroup,
|
|
30
33
|
card: () => card,
|
|
@@ -60,6 +63,7 @@ __export(components_exports, {
|
|
|
60
63
|
scrollShadow: () => scrollShadow,
|
|
61
64
|
select: () => select,
|
|
62
65
|
skeleton: () => skeleton,
|
|
66
|
+
slider: () => slider,
|
|
63
67
|
snippet: () => snippet,
|
|
64
68
|
spacer: () => spacer,
|
|
65
69
|
spinner: () => spinner,
|
|
@@ -128,39 +132,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
|
|
|
128
132
|
|
|
129
133
|
// src/utils/tv.ts
|
|
130
134
|
var COMMON_UNITS = ["small", "medium", "large"];
|
|
131
|
-
var tv = (
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
],
|
|
155
|
-
"min-h": [
|
|
156
|
-
{
|
|
157
|
-
"min-h": ["unit", ...mappedSpacingScaleKeys]
|
|
158
|
-
}
|
|
159
|
-
]
|
|
160
|
-
}
|
|
135
|
+
var tv = (0, import_tailwind_variants.createTV)({
|
|
136
|
+
twMerge: true,
|
|
137
|
+
twMergeConfig: {
|
|
138
|
+
theme: {
|
|
139
|
+
opacity: ["disabled"],
|
|
140
|
+
spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
|
|
141
|
+
borderWidth: COMMON_UNITS,
|
|
142
|
+
borderRadius: COMMON_UNITS
|
|
143
|
+
},
|
|
144
|
+
classGroups: {
|
|
145
|
+
shadow: [{ shadow: COMMON_UNITS }],
|
|
146
|
+
"font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
|
|
147
|
+
"bg-image": ["bg-stripe-gradient"],
|
|
148
|
+
"min-w": [
|
|
149
|
+
{
|
|
150
|
+
"min-w": ["unit", ...mappedSpacingScaleKeys]
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"min-h": [
|
|
154
|
+
{
|
|
155
|
+
"min-h": ["unit", ...mappedSpacingScaleKeys]
|
|
156
|
+
}
|
|
157
|
+
]
|
|
161
158
|
}
|
|
162
|
-
}
|
|
163
|
-
};
|
|
159
|
+
}
|
|
160
|
+
});
|
|
164
161
|
|
|
165
162
|
// src/utils/classes.ts
|
|
166
163
|
var dataFocusVisibleClasses = [
|
|
@@ -192,6 +189,14 @@ var translateCenterClasses = [
|
|
|
192
189
|
"-translate-x-1/2",
|
|
193
190
|
"-translate-y-1/2"
|
|
194
191
|
];
|
|
192
|
+
var collapseAdjacentVariantBorders = {
|
|
193
|
+
default: ["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],
|
|
194
|
+
primary: ["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],
|
|
195
|
+
secondary: ["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],
|
|
196
|
+
success: ["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],
|
|
197
|
+
warning: ["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],
|
|
198
|
+
danger: ["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]
|
|
199
|
+
};
|
|
195
200
|
|
|
196
201
|
// src/utils/variants.ts
|
|
197
202
|
var solid = {
|
|
@@ -279,7 +284,7 @@ var avatar = tv({
|
|
|
279
284
|
"overflow-hidden",
|
|
280
285
|
"align-middle",
|
|
281
286
|
"text-white",
|
|
282
|
-
"z-
|
|
287
|
+
"z-0",
|
|
283
288
|
...dataFocusVisibleClasses
|
|
284
289
|
],
|
|
285
290
|
img: [
|
|
@@ -366,7 +371,7 @@ var avatar = tv({
|
|
|
366
371
|
isInGroup: {
|
|
367
372
|
true: {
|
|
368
373
|
base: [
|
|
369
|
-
"-
|
|
374
|
+
"-ms-2 data-[hover=true]:-translate-x-3 transition-transform",
|
|
370
375
|
"data-[focus-visible=true]:-translate-x-3"
|
|
371
376
|
]
|
|
372
377
|
}
|
|
@@ -394,7 +399,7 @@ var avatar = tv({
|
|
|
394
399
|
color: "primary",
|
|
395
400
|
isBordered: true,
|
|
396
401
|
class: {
|
|
397
|
-
base: "ring-
|
|
402
|
+
base: "ring-primary"
|
|
398
403
|
}
|
|
399
404
|
},
|
|
400
405
|
{
|
|
@@ -468,7 +473,7 @@ var card = tv({
|
|
|
468
473
|
"flex",
|
|
469
474
|
"flex-1",
|
|
470
475
|
"w-full",
|
|
471
|
-
"p-
|
|
476
|
+
"p-3",
|
|
472
477
|
"flex-auto",
|
|
473
478
|
"flex-col",
|
|
474
479
|
"place-content-inherit",
|
|
@@ -760,7 +765,7 @@ var button = tv({
|
|
|
760
765
|
},
|
|
761
766
|
disableAnimation: {
|
|
762
767
|
true: "!transition-none",
|
|
763
|
-
false: "data-[pressed=true]:scale-[0.97] transition-transform-colors motion-reduce:transition-none"
|
|
768
|
+
false: "data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none"
|
|
764
769
|
}
|
|
765
770
|
},
|
|
766
771
|
defaultVariants: {
|
|
@@ -983,30 +988,90 @@ var button = tv({
|
|
|
983
988
|
color: "danger",
|
|
984
989
|
class: colorVariants.ghost.danger
|
|
985
990
|
},
|
|
991
|
+
{
|
|
992
|
+
isInGroup: true,
|
|
993
|
+
class: "rounded-none first:rounded-s-medium last:rounded-e-medium"
|
|
994
|
+
},
|
|
986
995
|
{
|
|
987
996
|
isInGroup: true,
|
|
988
997
|
size: "sm",
|
|
989
|
-
class: "rounded-none first:rounded-
|
|
998
|
+
class: "rounded-none first:rounded-s-small last:rounded-e-small"
|
|
990
999
|
},
|
|
991
1000
|
{
|
|
992
1001
|
isInGroup: true,
|
|
993
1002
|
size: "md",
|
|
994
|
-
class: "rounded-none first:rounded-
|
|
1003
|
+
class: "rounded-none first:rounded-s-medium last:rounded-e-medium"
|
|
995
1004
|
},
|
|
996
1005
|
{
|
|
997
1006
|
isInGroup: true,
|
|
998
1007
|
size: "lg",
|
|
999
|
-
class: "rounded-none first:rounded-
|
|
1008
|
+
class: "rounded-none first:rounded-s-large last:rounded-e-large"
|
|
1000
1009
|
},
|
|
1001
1010
|
{
|
|
1002
1011
|
isInGroup: true,
|
|
1003
1012
|
isRounded: true,
|
|
1004
|
-
class: "rounded-none first:rounded-
|
|
1013
|
+
class: "rounded-none first:rounded-s-full last:rounded-e-full"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
isInGroup: true,
|
|
1017
|
+
radius: "none",
|
|
1018
|
+
class: "rounded-none first:rounded-s-none last:rounded-e-none"
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
isInGroup: true,
|
|
1022
|
+
radius: "sm",
|
|
1023
|
+
class: "rounded-none first:rounded-s-small last:rounded-e-small"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
isInGroup: true,
|
|
1027
|
+
radius: "md",
|
|
1028
|
+
class: "rounded-none first:rounded-s-medium last:rounded-e-medium"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
isInGroup: true,
|
|
1032
|
+
radius: "lg",
|
|
1033
|
+
class: "rounded-none first:rounded-s-large last:rounded-e-large"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
isInGroup: true,
|
|
1037
|
+
radius: "full",
|
|
1038
|
+
class: "rounded-none first:rounded-s-full last:rounded-e-full"
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
isInGroup: true,
|
|
1042
|
+
variant: ["ghost", "bordered"],
|
|
1043
|
+
color: "default",
|
|
1044
|
+
className: collapseAdjacentVariantBorders.default
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
isInGroup: true,
|
|
1048
|
+
variant: ["ghost", "bordered"],
|
|
1049
|
+
color: "primary",
|
|
1050
|
+
className: collapseAdjacentVariantBorders.primary
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
isInGroup: true,
|
|
1054
|
+
variant: ["ghost", "bordered"],
|
|
1055
|
+
color: "secondary",
|
|
1056
|
+
className: collapseAdjacentVariantBorders.secondary
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
isInGroup: true,
|
|
1060
|
+
variant: ["ghost", "bordered"],
|
|
1061
|
+
color: "success",
|
|
1062
|
+
className: collapseAdjacentVariantBorders.success
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
isInGroup: true,
|
|
1066
|
+
variant: ["ghost", "bordered"],
|
|
1067
|
+
color: "warning",
|
|
1068
|
+
className: collapseAdjacentVariantBorders.warning
|
|
1005
1069
|
},
|
|
1006
1070
|
{
|
|
1007
1071
|
isInGroup: true,
|
|
1008
|
-
variant: ["
|
|
1009
|
-
|
|
1072
|
+
variant: ["ghost", "bordered"],
|
|
1073
|
+
color: "danger",
|
|
1074
|
+
className: collapseAdjacentVariantBorders.danger
|
|
1010
1075
|
},
|
|
1011
1076
|
{
|
|
1012
1077
|
isIconOnly: true,
|
|
@@ -1022,6 +1087,10 @@ var button = tv({
|
|
|
1022
1087
|
isIconOnly: true,
|
|
1023
1088
|
size: "lg",
|
|
1024
1089
|
class: "min-w-unit-12 w-unit-12 h-unit-12"
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
variant: ["solid", "faded", "flat", "bordered", "shadow"],
|
|
1093
|
+
class: "data-[hover=true]:opacity-hover"
|
|
1025
1094
|
}
|
|
1026
1095
|
]
|
|
1027
1096
|
});
|
|
@@ -1193,107 +1262,118 @@ var code = tv({
|
|
|
1193
1262
|
var popover = tv({
|
|
1194
1263
|
slots: {
|
|
1195
1264
|
base: [
|
|
1196
|
-
"z-
|
|
1265
|
+
"z-0",
|
|
1197
1266
|
"relative",
|
|
1267
|
+
"bg-transparent",
|
|
1268
|
+
"before:content-['']",
|
|
1269
|
+
"before:hidden",
|
|
1270
|
+
"before:z-[-1]",
|
|
1271
|
+
"before:absolute",
|
|
1272
|
+
"before:rotate-45",
|
|
1273
|
+
"before:w-2.5",
|
|
1274
|
+
"before:h-2.5",
|
|
1275
|
+
"before:rounded-sm",
|
|
1276
|
+
"data-[arrow=true]:before:block",
|
|
1277
|
+
"data-[placement=top]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]",
|
|
1278
|
+
"data-[placement=top]:before:left-1/2",
|
|
1279
|
+
"data-[placement=top]:before:-translate-x-1/2",
|
|
1280
|
+
"data-[placement=top-start]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]",
|
|
1281
|
+
"data-[placement=top-start]:before:left-3",
|
|
1282
|
+
"data-[placement=top-end]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]",
|
|
1283
|
+
"data-[placement=top-end]:before:right-3",
|
|
1284
|
+
"data-[placement=bottom]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]",
|
|
1285
|
+
"data-[placement=bottom]:before:left-1/2",
|
|
1286
|
+
"data-[placement=bottom]:before:-translate-x-1/2",
|
|
1287
|
+
"data-[placement=bottom-start]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]",
|
|
1288
|
+
"data-[placement=bottom-start]:before:left-3",
|
|
1289
|
+
"data-[placement=bottom-end]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]",
|
|
1290
|
+
"data-[placement=bottom-end]:before:right-3",
|
|
1291
|
+
"data-[placement=left]:before:-right-[calc(theme(spacing.5)/4_-_2px)]",
|
|
1292
|
+
"data-[placement=left]:before:top-1/2",
|
|
1293
|
+
"data-[placement=left]:before:-translate-y-1/2",
|
|
1294
|
+
"data-[placement=left-start]:before:-right-[calc(theme(spacing.5)/4_-_3px)]",
|
|
1295
|
+
"data-[placement=left-start]:before:top-1/4",
|
|
1296
|
+
"data-[placement=left-end]:before:-right-[calc(theme(spacing.5)/4_-_3px)]",
|
|
1297
|
+
"data-[placement=left-end]:before:bottom-1/4",
|
|
1298
|
+
"data-[placement=right]:before:-left-[calc(theme(spacing.5)/4_-_2px)]",
|
|
1299
|
+
"data-[placement=right]:before:top-1/2",
|
|
1300
|
+
"data-[placement=right]:before:-translate-y-1/2",
|
|
1301
|
+
"data-[placement=right-start]:before:-left-[calc(theme(spacing.5)/4_-_3px)]",
|
|
1302
|
+
"data-[placement=right-start]:before:top-1/4",
|
|
1303
|
+
"data-[placement=right-end]:before:-left-[calc(theme(spacing.5)/4_-_3px)]",
|
|
1304
|
+
"data-[placement=right-end]:before:bottom-1/4",
|
|
1305
|
+
...dataFocusVisibleClasses
|
|
1306
|
+
],
|
|
1307
|
+
content: [
|
|
1308
|
+
"z-10",
|
|
1309
|
+
"px-2.5",
|
|
1310
|
+
"py-1",
|
|
1311
|
+
"w-full",
|
|
1198
1312
|
"inline-flex",
|
|
1199
1313
|
"flex-col",
|
|
1200
1314
|
"items-center",
|
|
1201
1315
|
"justify-center",
|
|
1202
1316
|
"box-border",
|
|
1203
1317
|
"subpixel-antialiased",
|
|
1204
|
-
"px-4",
|
|
1205
|
-
"py-1",
|
|
1206
1318
|
"outline-none",
|
|
1207
|
-
"box-border"
|
|
1208
|
-
...dataFocusVisibleClasses
|
|
1319
|
+
"box-border"
|
|
1209
1320
|
],
|
|
1210
1321
|
trigger: ["z-10"],
|
|
1211
1322
|
backdrop: ["hidden"],
|
|
1212
|
-
arrow: [
|
|
1213
|
-
"z-[-1]",
|
|
1214
|
-
"absolute",
|
|
1215
|
-
"rotate-45",
|
|
1216
|
-
"w-2.5",
|
|
1217
|
-
"h-2.5",
|
|
1218
|
-
"rounded-sm",
|
|
1219
|
-
"data-[placement=top]:-bottom-1",
|
|
1220
|
-
"data-[placement=top]:-translate-x-1/2",
|
|
1221
|
-
"data-[placement=top-start]:-bottom-1",
|
|
1222
|
-
"data-[placement=top-start]:-translate-x-8",
|
|
1223
|
-
"data-[placement=top-end]:-bottom-1",
|
|
1224
|
-
"data-[placement=top-end]:translate-x-6",
|
|
1225
|
-
"data-[placement=bottom]:-top-1",
|
|
1226
|
-
"data-[placement=bottom]:-translate-x-1/2",
|
|
1227
|
-
"data-[placement=bottom-start]:-top-1",
|
|
1228
|
-
"data-[placement=bottom-start]:-translate-x-8",
|
|
1229
|
-
"data-[placement=bottom-end]:-top-1",
|
|
1230
|
-
"data-[placement=bottom-end]:translate-x-6",
|
|
1231
|
-
"data-[placement=left]:-right-1",
|
|
1232
|
-
"data-[placement=left]:-translate-y-1/2",
|
|
1233
|
-
"data-[placement=left-start]:-right-1",
|
|
1234
|
-
"data-[placement=left-start]:-translate-y-3",
|
|
1235
|
-
"data-[placement=left-end]:-right-1",
|
|
1236
|
-
"data-[placement=left-end]:translate-y-0.5",
|
|
1237
|
-
"data-[placement=right]:-left-1",
|
|
1238
|
-
"data-[placement=right]:-translate-y-1/2",
|
|
1239
|
-
"data-[placement=right-start]:-left-1",
|
|
1240
|
-
"data-[placement=right-start]:-translate-y-3",
|
|
1241
|
-
"data-[placement=right-end]:-left-1",
|
|
1242
|
-
"data-[placement=right-end]:translate-y-0.5"
|
|
1243
|
-
]
|
|
1323
|
+
arrow: []
|
|
1244
1324
|
},
|
|
1245
1325
|
variants: {
|
|
1246
1326
|
size: {
|
|
1247
|
-
sm: {
|
|
1248
|
-
md: {
|
|
1249
|
-
lg: {
|
|
1327
|
+
sm: { content: "text-tiny" },
|
|
1328
|
+
md: { content: "text-small" },
|
|
1329
|
+
lg: { content: "text-medium" }
|
|
1250
1330
|
},
|
|
1251
1331
|
color: {
|
|
1252
1332
|
default: {
|
|
1253
|
-
base: "bg-content1",
|
|
1254
|
-
|
|
1333
|
+
base: "before:bg-content1 before:shadow-small",
|
|
1334
|
+
content: "bg-content1"
|
|
1255
1335
|
},
|
|
1256
1336
|
foreground: {
|
|
1257
|
-
base:
|
|
1258
|
-
|
|
1337
|
+
base: "before:bg-foreground",
|
|
1338
|
+
content: colorVariants.solid.foreground
|
|
1259
1339
|
},
|
|
1260
1340
|
primary: {
|
|
1261
|
-
base:
|
|
1262
|
-
|
|
1341
|
+
base: "before:bg-primary",
|
|
1342
|
+
content: colorVariants.solid.primary
|
|
1263
1343
|
},
|
|
1264
1344
|
secondary: {
|
|
1265
|
-
base:
|
|
1266
|
-
|
|
1345
|
+
base: "before:bg-secondary",
|
|
1346
|
+
content: colorVariants.solid.secondary
|
|
1267
1347
|
},
|
|
1268
1348
|
success: {
|
|
1269
|
-
base:
|
|
1270
|
-
|
|
1349
|
+
base: "before:bg-success",
|
|
1350
|
+
content: colorVariants.solid.success
|
|
1271
1351
|
},
|
|
1272
1352
|
warning: {
|
|
1273
|
-
base:
|
|
1274
|
-
|
|
1353
|
+
base: "before:bg-warning",
|
|
1354
|
+
content: colorVariants.solid.warning
|
|
1275
1355
|
},
|
|
1276
1356
|
danger: {
|
|
1277
|
-
base:
|
|
1278
|
-
|
|
1357
|
+
base: "before:bg-danger",
|
|
1358
|
+
content: colorVariants.solid.danger
|
|
1279
1359
|
}
|
|
1280
1360
|
},
|
|
1281
1361
|
radius: {
|
|
1282
|
-
none: {
|
|
1283
|
-
sm: {
|
|
1284
|
-
md: {
|
|
1285
|
-
lg: {
|
|
1286
|
-
full: {
|
|
1362
|
+
none: { content: "rounded-none" },
|
|
1363
|
+
sm: { content: "rounded-small" },
|
|
1364
|
+
md: { content: "rounded-medium" },
|
|
1365
|
+
lg: { content: "rounded-large" },
|
|
1366
|
+
full: { content: "rounded-full" }
|
|
1287
1367
|
},
|
|
1288
1368
|
shadow: {
|
|
1289
1369
|
sm: {
|
|
1290
|
-
|
|
1370
|
+
content: "shadow-small"
|
|
1291
1371
|
},
|
|
1292
1372
|
md: {
|
|
1293
|
-
|
|
1373
|
+
content: "shadow-medium"
|
|
1294
1374
|
},
|
|
1295
1375
|
lg: {
|
|
1296
|
-
|
|
1376
|
+
content: "shadow-large"
|
|
1297
1377
|
}
|
|
1298
1378
|
},
|
|
1299
1379
|
backdrop: {
|
|
@@ -1700,7 +1780,7 @@ var chip = tv({
|
|
|
1700
1780
|
},
|
|
1701
1781
|
size: {
|
|
1702
1782
|
sm: {
|
|
1703
|
-
base: "px-1 h-6 text-
|
|
1783
|
+
base: "px-1 h-6 text-tiny",
|
|
1704
1784
|
content: "px-1",
|
|
1705
1785
|
closeButton: "text-medium",
|
|
1706
1786
|
avatar: "w-4 h-4"
|
|
@@ -2167,12 +2247,12 @@ var badge = tv({
|
|
|
2167
2247
|
badge: "transition-transform-opacity !ease-soft-spring !duration-300"
|
|
2168
2248
|
}
|
|
2169
2249
|
},
|
|
2170
|
-
|
|
2250
|
+
showOutline: {
|
|
2171
2251
|
true: {
|
|
2172
|
-
badge: "border-
|
|
2252
|
+
badge: "border-2 border-background"
|
|
2173
2253
|
},
|
|
2174
2254
|
false: {
|
|
2175
|
-
badge: "border-
|
|
2255
|
+
badge: "border-transparent border-0"
|
|
2176
2256
|
}
|
|
2177
2257
|
}
|
|
2178
2258
|
},
|
|
@@ -2182,7 +2262,7 @@ var badge = tv({
|
|
|
2182
2262
|
size: "md",
|
|
2183
2263
|
shape: "rectangle",
|
|
2184
2264
|
placement: "top-right",
|
|
2185
|
-
|
|
2265
|
+
showOutline: true,
|
|
2186
2266
|
disableAnimation: false,
|
|
2187
2267
|
isInvisible: false
|
|
2188
2268
|
},
|
|
@@ -2751,7 +2831,7 @@ var radio = tv({
|
|
|
2751
2831
|
isInvalid: {
|
|
2752
2832
|
true: {
|
|
2753
2833
|
control: "bg-danger text-danger-foreground",
|
|
2754
|
-
wrapper: "border-danger data-[selected=true]:border-danger",
|
|
2834
|
+
wrapper: "border-danger group-data-[selected=true]:border-danger",
|
|
2755
2835
|
label: "text-danger",
|
|
2756
2836
|
description: "text-danger-300"
|
|
2757
2837
|
}
|
|
@@ -2838,6 +2918,7 @@ var pagination = tv({
|
|
|
2838
2918
|
"left-0",
|
|
2839
2919
|
"select-none",
|
|
2840
2920
|
"touch-none",
|
|
2921
|
+
"pointer-events-none",
|
|
2841
2922
|
"z-20"
|
|
2842
2923
|
],
|
|
2843
2924
|
forwardIcon: "hidden group-hover:block group-data-[focus-visible=true]:block data-[before=true]:rotate-180",
|
|
@@ -2927,7 +3008,12 @@ var pagination = tv({
|
|
|
2927
3008
|
},
|
|
2928
3009
|
false: {
|
|
2929
3010
|
item: ["data-[pressed=true]:scale-[0.97]", "transition-transform-background"],
|
|
2930
|
-
cursor: [
|
|
3011
|
+
cursor: [
|
|
3012
|
+
"data-[moving=true]:transition-transform",
|
|
3013
|
+
"!data-[moving=true]:duration-300",
|
|
3014
|
+
"opacity-0",
|
|
3015
|
+
"data-[moving]:opacity-100"
|
|
3016
|
+
]
|
|
2931
3017
|
}
|
|
2932
3018
|
}
|
|
2933
3019
|
},
|
|
@@ -3132,17 +3218,28 @@ var pagination = tv({
|
|
|
3132
3218
|
{
|
|
3133
3219
|
slots: ["item", "prev", "next"],
|
|
3134
3220
|
variant: "flat",
|
|
3135
|
-
class: [
|
|
3221
|
+
class: [
|
|
3222
|
+
"bg-default-100",
|
|
3223
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-200",
|
|
3224
|
+
"active:bg-default-300"
|
|
3225
|
+
]
|
|
3136
3226
|
},
|
|
3137
3227
|
{
|
|
3138
3228
|
slots: ["item", "prev", "next"],
|
|
3139
3229
|
variant: "faded",
|
|
3140
|
-
class: [
|
|
3230
|
+
class: [
|
|
3231
|
+
"bg-default-50",
|
|
3232
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-100",
|
|
3233
|
+
"active:bg-default-200"
|
|
3234
|
+
]
|
|
3141
3235
|
},
|
|
3142
3236
|
{
|
|
3143
3237
|
slots: ["item", "prev", "next"],
|
|
3144
3238
|
variant: "light",
|
|
3145
|
-
class: [
|
|
3239
|
+
class: [
|
|
3240
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-100",
|
|
3241
|
+
"active:bg-default-200"
|
|
3242
|
+
]
|
|
3146
3243
|
},
|
|
3147
3244
|
{
|
|
3148
3245
|
slots: ["item", "cursor", "prev", "next"],
|
|
@@ -3383,7 +3480,7 @@ var accordionItem = tv({
|
|
|
3383
3480
|
],
|
|
3384
3481
|
startContent: "flex-shrink-0",
|
|
3385
3482
|
indicator: "text-default-400",
|
|
3386
|
-
titleWrapper: "flex-1 flex flex-col text-
|
|
3483
|
+
titleWrapper: "flex-1 flex flex-col text-start",
|
|
3387
3484
|
title: "text-foreground text-large",
|
|
3388
3485
|
subtitle: "text-small text-foreground-500 font-normal",
|
|
3389
3486
|
content: "py-2"
|
|
@@ -3422,7 +3519,7 @@ var accordionItem = tv({
|
|
|
3422
3519
|
indicator: "transition-none"
|
|
3423
3520
|
},
|
|
3424
3521
|
false: {
|
|
3425
|
-
indicator: "rotate-0 data-[open=true]:-rotate-90"
|
|
3522
|
+
indicator: "rotate-0 data-[open=true]:-rotate-90 rtl:-rotate-180 rtl:data-[open=true]:-rotate-90"
|
|
3426
3523
|
}
|
|
3427
3524
|
}
|
|
3428
3525
|
},
|
|
@@ -3640,11 +3737,24 @@ var circularProgress = tv({
|
|
|
3640
3737
|
var input = tv({
|
|
3641
3738
|
slots: {
|
|
3642
3739
|
base: "group flex flex-col",
|
|
3643
|
-
label:
|
|
3740
|
+
label: [
|
|
3741
|
+
"absolute",
|
|
3742
|
+
"z-10",
|
|
3743
|
+
"pointer-events-none",
|
|
3744
|
+
"origin-top-left",
|
|
3745
|
+
"subpixel-antialiased",
|
|
3746
|
+
"block",
|
|
3747
|
+
"text-small",
|
|
3748
|
+
"text-foreground-500"
|
|
3749
|
+
],
|
|
3644
3750
|
mainWrapper: "h-full",
|
|
3645
3751
|
inputWrapper: "relative w-full inline-flex tap-highlight-transparent flex-row items-center shadow-sm px-3 gap-3",
|
|
3646
|
-
innerWrapper: "inline-flex
|
|
3647
|
-
input:
|
|
3752
|
+
innerWrapper: "inline-flex w-full items-center h-full box-border",
|
|
3753
|
+
input: [
|
|
3754
|
+
"w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none",
|
|
3755
|
+
"data-[has-start-content=true]:ps-1.5",
|
|
3756
|
+
"data-[has-end-content=true]:pe-1.5"
|
|
3757
|
+
],
|
|
3648
3758
|
clearButton: [
|
|
3649
3759
|
"p-2",
|
|
3650
3760
|
"-m-2",
|
|
@@ -3713,7 +3823,8 @@ var input = tv({
|
|
|
3713
3823
|
"after:-bottom-[2px]",
|
|
3714
3824
|
"after:h-[2px]",
|
|
3715
3825
|
"group-data-[focus=true]:after:w-full"
|
|
3716
|
-
]
|
|
3826
|
+
],
|
|
3827
|
+
innerWrapper: "pb-1"
|
|
3717
3828
|
}
|
|
3718
3829
|
},
|
|
3719
3830
|
color: {
|
|
@@ -3768,11 +3879,12 @@ var input = tv({
|
|
|
3768
3879
|
base: "flex-row items-center flex-nowrap data-[has-helper=true]:items-start",
|
|
3769
3880
|
inputWrapper: "flex-1",
|
|
3770
3881
|
mainWrapper: "flex flex-col",
|
|
3771
|
-
label: "text-foreground pr-2"
|
|
3882
|
+
label: "relative text-foreground pr-2"
|
|
3772
3883
|
},
|
|
3773
3884
|
inside: {
|
|
3774
3885
|
label: "text-tiny cursor-text",
|
|
3775
|
-
inputWrapper: "flex-col items-start justify-center gap-0"
|
|
3886
|
+
inputWrapper: "flex-col items-start justify-center gap-0",
|
|
3887
|
+
innerWrapper: "items-end"
|
|
3776
3888
|
}
|
|
3777
3889
|
},
|
|
3778
3890
|
fullWidth: {
|
|
@@ -3780,11 +3892,6 @@ var input = tv({
|
|
|
3780
3892
|
base: "w-full"
|
|
3781
3893
|
}
|
|
3782
3894
|
},
|
|
3783
|
-
isLabelPlaceholder: {
|
|
3784
|
-
true: {
|
|
3785
|
-
label: "absolute z-10 pointer-events-none"
|
|
3786
|
-
}
|
|
3787
|
-
},
|
|
3788
3895
|
isClearable: {
|
|
3789
3896
|
true: {
|
|
3790
3897
|
input: "peer pr-6",
|
|
@@ -3811,12 +3918,14 @@ var input = tv({
|
|
|
3811
3918
|
},
|
|
3812
3919
|
isMultiline: {
|
|
3813
3920
|
true: {
|
|
3921
|
+
label: "relative",
|
|
3814
3922
|
inputWrapper: "!h-auto",
|
|
3815
|
-
input: "resize-none py-2"
|
|
3923
|
+
input: "resize-none py-2 data-[hide-scroll=true]:scrollbar-hide"
|
|
3816
3924
|
}
|
|
3817
3925
|
},
|
|
3818
3926
|
disableAnimation: {
|
|
3819
3927
|
true: {
|
|
3928
|
+
input: "transition-none",
|
|
3820
3929
|
inputWrapper: "transition-none",
|
|
3821
3930
|
label: "transition-none"
|
|
3822
3931
|
},
|
|
@@ -3824,11 +3933,10 @@ var input = tv({
|
|
|
3824
3933
|
inputWrapper: "transition-background motion-reduce:transition-none !duration-150",
|
|
3825
3934
|
label: [
|
|
3826
3935
|
"will-change-auto",
|
|
3827
|
-
"origin-top-left",
|
|
3828
|
-
"transition-all",
|
|
3829
3936
|
"!duration-200",
|
|
3830
3937
|
"!ease-out",
|
|
3831
|
-
"motion-reduce:transition-none"
|
|
3938
|
+
"motion-reduce:transition-none",
|
|
3939
|
+
"transition-[transform,color,left,opacity]"
|
|
3832
3940
|
],
|
|
3833
3941
|
clearButton: ["transition-opacity", "motion-reduce:transition-none"]
|
|
3834
3942
|
}
|
|
@@ -3841,6 +3949,7 @@ var input = tv({
|
|
|
3841
3949
|
fullWidth: true,
|
|
3842
3950
|
labelPlacement: "inside",
|
|
3843
3951
|
isDisabled: false,
|
|
3952
|
+
isMultiline: false,
|
|
3844
3953
|
disableAnimation: false
|
|
3845
3954
|
},
|
|
3846
3955
|
compoundVariants: [
|
|
@@ -4088,6 +4197,13 @@ var input = tv({
|
|
|
4088
4197
|
]
|
|
4089
4198
|
}
|
|
4090
4199
|
},
|
|
4200
|
+
{
|
|
4201
|
+
labelPlacement: "inside",
|
|
4202
|
+
color: "default",
|
|
4203
|
+
class: {
|
|
4204
|
+
label: "group-data-[filled-within=true]:text-foreground-600"
|
|
4205
|
+
}
|
|
4206
|
+
},
|
|
4091
4207
|
{
|
|
4092
4208
|
isInvalid: true,
|
|
4093
4209
|
variant: "flat",
|
|
@@ -4136,19 +4252,28 @@ var input = tv({
|
|
|
4136
4252
|
}
|
|
4137
4253
|
},
|
|
4138
4254
|
{
|
|
4139
|
-
|
|
4255
|
+
labelPlacement: "inside",
|
|
4256
|
+
size: "sm",
|
|
4257
|
+
variant: ["bordered", "faded"],
|
|
4258
|
+
class: {
|
|
4259
|
+
inputWrapper: "py-1"
|
|
4260
|
+
}
|
|
4261
|
+
},
|
|
4262
|
+
{
|
|
4140
4263
|
labelPlacement: ["inside", "outside"],
|
|
4141
4264
|
class: {
|
|
4142
|
-
label: [
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4265
|
+
label: ["group-data-[filled-within=true]:pointer-events-auto"]
|
|
4266
|
+
}
|
|
4267
|
+
},
|
|
4268
|
+
{
|
|
4269
|
+
labelPlacement: ["outside", "outside-left"],
|
|
4270
|
+
class: {
|
|
4271
|
+
input: "h-full"
|
|
4147
4272
|
}
|
|
4148
4273
|
},
|
|
4149
4274
|
{
|
|
4150
|
-
isLabelPlaceholder: true,
|
|
4151
4275
|
labelPlacement: "outside",
|
|
4276
|
+
isMultiline: false,
|
|
4152
4277
|
class: {
|
|
4153
4278
|
base: "group relative justify-end",
|
|
4154
4279
|
label: [
|
|
@@ -4163,85 +4288,176 @@ var input = tv({
|
|
|
4163
4288
|
}
|
|
4164
4289
|
},
|
|
4165
4290
|
{
|
|
4166
|
-
|
|
4291
|
+
labelPlacement: ["inside"],
|
|
4292
|
+
class: {
|
|
4293
|
+
label: ["group-data-[filled-within=true]:scale-85"]
|
|
4294
|
+
}
|
|
4295
|
+
},
|
|
4296
|
+
{
|
|
4297
|
+
labelPlacement: ["inside"],
|
|
4298
|
+
variant: "flat",
|
|
4299
|
+
size: ["md", "lg"],
|
|
4300
|
+
class: {
|
|
4301
|
+
innerWrapper: "pb-0.5"
|
|
4302
|
+
}
|
|
4303
|
+
},
|
|
4304
|
+
{
|
|
4305
|
+
variant: "underlined",
|
|
4306
|
+
size: "sm",
|
|
4307
|
+
class: {
|
|
4308
|
+
innerWrapper: "pb-1"
|
|
4309
|
+
}
|
|
4310
|
+
},
|
|
4311
|
+
{
|
|
4312
|
+
variant: "underlined",
|
|
4313
|
+
size: ["md", "lg"],
|
|
4314
|
+
class: {
|
|
4315
|
+
innerWrapper: "pb-1.5"
|
|
4316
|
+
}
|
|
4317
|
+
},
|
|
4318
|
+
{
|
|
4167
4319
|
labelPlacement: "inside",
|
|
4168
4320
|
size: ["sm", "md"],
|
|
4169
4321
|
class: {
|
|
4170
|
-
label:
|
|
4171
|
-
input: "pt-4"
|
|
4322
|
+
label: "text-small"
|
|
4172
4323
|
}
|
|
4173
4324
|
},
|
|
4174
4325
|
{
|
|
4175
|
-
isLabelPlaceholder: true,
|
|
4176
4326
|
labelPlacement: "inside",
|
|
4327
|
+
isMultiline: false,
|
|
4177
4328
|
size: "sm",
|
|
4178
4329
|
class: {
|
|
4179
4330
|
label: [
|
|
4180
|
-
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-
|
|
4181
|
-
]
|
|
4182
|
-
input: "pt-4"
|
|
4331
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"
|
|
4332
|
+
]
|
|
4183
4333
|
}
|
|
4184
4334
|
},
|
|
4185
4335
|
{
|
|
4186
|
-
isLabelPlaceholder: true,
|
|
4187
4336
|
labelPlacement: "inside",
|
|
4337
|
+
isMultiline: false,
|
|
4188
4338
|
size: "md",
|
|
4189
4339
|
class: {
|
|
4190
4340
|
label: [
|
|
4191
|
-
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-
|
|
4192
|
-
]
|
|
4193
|
-
input: "pt-4"
|
|
4341
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
|
|
4342
|
+
]
|
|
4194
4343
|
}
|
|
4195
4344
|
},
|
|
4196
4345
|
{
|
|
4197
|
-
isLabelPlaceholder: true,
|
|
4198
4346
|
labelPlacement: "inside",
|
|
4347
|
+
isMultiline: false,
|
|
4199
4348
|
size: "lg",
|
|
4200
4349
|
class: {
|
|
4201
4350
|
label: [
|
|
4202
4351
|
"text-medium",
|
|
4203
|
-
"group-data-[filled-within=true]
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4352
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
|
|
4353
|
+
]
|
|
4354
|
+
}
|
|
4355
|
+
},
|
|
4356
|
+
{
|
|
4357
|
+
labelPlacement: "inside",
|
|
4358
|
+
variant: ["faded", "bordered"],
|
|
4359
|
+
isMultiline: false,
|
|
4360
|
+
size: "sm",
|
|
4361
|
+
class: {
|
|
4362
|
+
label: [
|
|
4363
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
4364
|
+
]
|
|
4365
|
+
}
|
|
4366
|
+
},
|
|
4367
|
+
{
|
|
4368
|
+
labelPlacement: "inside",
|
|
4369
|
+
variant: ["faded", "bordered"],
|
|
4370
|
+
isMultiline: false,
|
|
4371
|
+
size: "md",
|
|
4372
|
+
class: {
|
|
4373
|
+
label: [
|
|
4374
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
|
|
4375
|
+
]
|
|
4376
|
+
}
|
|
4377
|
+
},
|
|
4378
|
+
{
|
|
4379
|
+
labelPlacement: "inside",
|
|
4380
|
+
variant: ["faded", "bordered"],
|
|
4381
|
+
isMultiline: false,
|
|
4382
|
+
size: "lg",
|
|
4383
|
+
class: {
|
|
4384
|
+
label: [
|
|
4385
|
+
"text-medium",
|
|
4386
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
4387
|
+
]
|
|
4388
|
+
}
|
|
4389
|
+
},
|
|
4390
|
+
{
|
|
4391
|
+
labelPlacement: "inside",
|
|
4392
|
+
variant: "underlined",
|
|
4393
|
+
isMultiline: false,
|
|
4394
|
+
size: "sm",
|
|
4395
|
+
class: {
|
|
4396
|
+
label: [
|
|
4397
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"
|
|
4398
|
+
]
|
|
4399
|
+
}
|
|
4400
|
+
},
|
|
4401
|
+
{
|
|
4402
|
+
labelPlacement: "inside",
|
|
4403
|
+
variant: "underlined",
|
|
4404
|
+
isMultiline: false,
|
|
4405
|
+
size: "md",
|
|
4406
|
+
class: {
|
|
4407
|
+
label: [
|
|
4408
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
|
|
4409
|
+
]
|
|
4410
|
+
}
|
|
4411
|
+
},
|
|
4412
|
+
{
|
|
4413
|
+
labelPlacement: "inside",
|
|
4414
|
+
variant: "underlined",
|
|
4415
|
+
size: "lg",
|
|
4416
|
+
isMultiline: false,
|
|
4417
|
+
class: {
|
|
4418
|
+
label: [
|
|
4419
|
+
"text-medium",
|
|
4420
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
|
|
4421
|
+
]
|
|
4207
4422
|
}
|
|
4208
4423
|
},
|
|
4209
4424
|
{
|
|
4210
|
-
isLabelPlaceholder: true,
|
|
4211
4425
|
labelPlacement: "outside",
|
|
4212
4426
|
size: "sm",
|
|
4427
|
+
isMultiline: false,
|
|
4213
4428
|
class: {
|
|
4214
4429
|
label: [
|
|
4215
4430
|
"left-2",
|
|
4216
|
-
"text-
|
|
4217
|
-
"group-data-[filled-within=true]:text-tiny",
|
|
4431
|
+
"text-tiny",
|
|
4218
4432
|
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
4219
|
-
]
|
|
4433
|
+
],
|
|
4434
|
+
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"
|
|
4220
4435
|
}
|
|
4221
4436
|
},
|
|
4222
4437
|
{
|
|
4223
|
-
isLabelPlaceholder: true,
|
|
4224
4438
|
labelPlacement: "outside",
|
|
4225
4439
|
size: "md",
|
|
4440
|
+
isMultiline: false,
|
|
4226
4441
|
class: {
|
|
4227
4442
|
label: [
|
|
4228
4443
|
"left-3",
|
|
4229
4444
|
"text-small",
|
|
4230
4445
|
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
4231
|
-
]
|
|
4446
|
+
],
|
|
4447
|
+
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"
|
|
4232
4448
|
}
|
|
4233
4449
|
},
|
|
4234
4450
|
{
|
|
4235
|
-
isLabelPlaceholder: true,
|
|
4236
4451
|
labelPlacement: "outside",
|
|
4237
4452
|
size: "lg",
|
|
4453
|
+
isMultiline: false,
|
|
4238
4454
|
class: {
|
|
4239
4455
|
label: [
|
|
4240
4456
|
"left-3",
|
|
4241
4457
|
"text-medium",
|
|
4242
|
-
"group-data-[filled-within=true]:text-small",
|
|
4243
4458
|
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
4244
|
-
]
|
|
4459
|
+
],
|
|
4460
|
+
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"
|
|
4245
4461
|
}
|
|
4246
4462
|
},
|
|
4247
4463
|
{
|
|
@@ -4264,6 +4480,20 @@ var input = tv({
|
|
|
4264
4480
|
class: {
|
|
4265
4481
|
label: "group-data-[has-helper=true]:pt-4"
|
|
4266
4482
|
}
|
|
4483
|
+
},
|
|
4484
|
+
{
|
|
4485
|
+
labelPlacement: "inside",
|
|
4486
|
+
isMultiline: true,
|
|
4487
|
+
class: {
|
|
4488
|
+
input: "pt-0"
|
|
4489
|
+
}
|
|
4490
|
+
},
|
|
4491
|
+
{
|
|
4492
|
+
isMultiline: true,
|
|
4493
|
+
disableAnimation: false,
|
|
4494
|
+
class: {
|
|
4495
|
+
input: "transition-height !duration-150 motion-reduce:transition-none"
|
|
4496
|
+
}
|
|
4267
4497
|
}
|
|
4268
4498
|
]
|
|
4269
4499
|
});
|
|
@@ -5040,7 +5270,10 @@ var navbar = tv({
|
|
|
5040
5270
|
"gap-2",
|
|
5041
5271
|
"overflow-y-auto"
|
|
5042
5272
|
],
|
|
5043
|
-
menuItem: [
|
|
5273
|
+
menuItem: [
|
|
5274
|
+
"text-large",
|
|
5275
|
+
"data-[active=true]:font-semibold"
|
|
5276
|
+
]
|
|
5044
5277
|
},
|
|
5045
5278
|
variants: {
|
|
5046
5279
|
position: {
|
|
@@ -5753,7 +5986,7 @@ var skeleton = tv({
|
|
|
5753
5986
|
"after:-z-10",
|
|
5754
5987
|
"after:bg-content3",
|
|
5755
5988
|
"dark:after:bg-content2",
|
|
5756
|
-
"data-[loaded=true]
|
|
5989
|
+
"data-[loaded=true]:!bg-transparent",
|
|
5757
5990
|
"data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:animate-none",
|
|
5758
5991
|
"data-[loaded=true]:after:opacity-0"
|
|
5759
5992
|
],
|
|
@@ -5780,16 +6013,25 @@ var skeleton = tv({
|
|
|
5780
6013
|
var select = tv({
|
|
5781
6014
|
slots: {
|
|
5782
6015
|
base: "group inline-flex flex-col relative w-full",
|
|
5783
|
-
label:
|
|
6016
|
+
label: [
|
|
6017
|
+
"block",
|
|
6018
|
+
"absolute",
|
|
6019
|
+
"z-10",
|
|
6020
|
+
"origin-top-left",
|
|
6021
|
+
"subpixel-antialiased",
|
|
6022
|
+
"text-small",
|
|
6023
|
+
"text-foreground-500",
|
|
6024
|
+
"pointer-events-none"
|
|
6025
|
+
],
|
|
5784
6026
|
mainWrapper: "w-full flex flex-col",
|
|
5785
6027
|
trigger: "relative px-3 gap-3 w-full inline-flex flex-row items-center shadow-sm outline-none tap-highlight-transparent",
|
|
5786
6028
|
innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.unit-6))] items-center gap-1.5 box-border",
|
|
5787
6029
|
selectorIcon: "absolute right-3 w-unit-4 h-unit-4",
|
|
5788
6030
|
spinner: "absolute right-3",
|
|
5789
|
-
value: "font-normal w-full text-left
|
|
6031
|
+
value: ["font-normal", "w-full", "text-left"],
|
|
5790
6032
|
listboxWrapper: "scroll-py-6 max-h-64 w-full",
|
|
5791
6033
|
listbox: "",
|
|
5792
|
-
|
|
6034
|
+
popoverContent: "w-full p-1 overflow-hidden",
|
|
5793
6035
|
helperWrapper: "flex relative flex-col gap-1.5 pt-1 px-1",
|
|
5794
6036
|
description: "text-tiny text-foreground-400",
|
|
5795
6037
|
errorMessage: "text-tiny text-danger"
|
|
@@ -5847,7 +6089,9 @@ var select = tv({
|
|
|
5847
6089
|
}
|
|
5848
6090
|
},
|
|
5849
6091
|
color: {
|
|
5850
|
-
default: {
|
|
6092
|
+
default: {
|
|
6093
|
+
value: ["text-foreground-500", "group-data-[has-value=true]:text-foreground"]
|
|
6094
|
+
},
|
|
5851
6095
|
primary: {},
|
|
5852
6096
|
secondary: {},
|
|
5853
6097
|
success: {},
|
|
@@ -5893,7 +6137,7 @@ var select = tv({
|
|
|
5893
6137
|
},
|
|
5894
6138
|
"outside-left": {
|
|
5895
6139
|
base: "flex-row items-center flex-nowrap items-start",
|
|
5896
|
-
label: "text-foreground pr-2"
|
|
6140
|
+
label: "relative text-foreground pr-2"
|
|
5897
6141
|
},
|
|
5898
6142
|
inside: {
|
|
5899
6143
|
label: "text-tiny cursor-pointer",
|
|
@@ -5905,11 +6149,6 @@ var select = tv({
|
|
|
5905
6149
|
base: "w-full"
|
|
5906
6150
|
}
|
|
5907
6151
|
},
|
|
5908
|
-
isLabelPlaceholder: {
|
|
5909
|
-
true: {
|
|
5910
|
-
label: "absolute z-10"
|
|
5911
|
-
}
|
|
5912
|
-
},
|
|
5913
6152
|
isDisabled: {
|
|
5914
6153
|
true: {
|
|
5915
6154
|
base: "opacity-disabled pointer-events-none",
|
|
@@ -5919,7 +6158,7 @@ var select = tv({
|
|
|
5919
6158
|
isInvalid: {
|
|
5920
6159
|
true: {
|
|
5921
6160
|
label: "!text-danger",
|
|
5922
|
-
value: "text-danger",
|
|
6161
|
+
value: "!text-danger",
|
|
5923
6162
|
selectorIcon: "text-danger"
|
|
5924
6163
|
}
|
|
5925
6164
|
},
|
|
@@ -5948,9 +6187,9 @@ var select = tv({
|
|
|
5948
6187
|
label: [
|
|
5949
6188
|
"will-change-auto",
|
|
5950
6189
|
"origin-top-left",
|
|
5951
|
-
"transition-all",
|
|
5952
6190
|
"!duration-200",
|
|
5953
6191
|
"!ease-out",
|
|
6192
|
+
"transition-[transform,color,left,opacity]",
|
|
5954
6193
|
"motion-reduce:transition-none"
|
|
5955
6194
|
],
|
|
5956
6195
|
selectorIcon: "transition-transform duration-150 ease motion-reduce:transition-none"
|
|
@@ -6212,10 +6451,17 @@ var select = tv({
|
|
|
6212
6451
|
}
|
|
6213
6452
|
},
|
|
6214
6453
|
{
|
|
6215
|
-
|
|
6216
|
-
|
|
6454
|
+
labelPlacement: "inside",
|
|
6455
|
+
color: "default",
|
|
6217
6456
|
class: {
|
|
6218
|
-
|
|
6457
|
+
label: "group-data-[filled=true]:text-foreground-600"
|
|
6458
|
+
}
|
|
6459
|
+
},
|
|
6460
|
+
{
|
|
6461
|
+
isInvalid: true,
|
|
6462
|
+
variant: "flat",
|
|
6463
|
+
class: {
|
|
6464
|
+
trigger: [
|
|
6219
6465
|
"bg-danger-50",
|
|
6220
6466
|
"data-[hover=true]:bg-danger-100",
|
|
6221
6467
|
"group-data-[focus=true]:bg-danger-50"
|
|
@@ -6259,18 +6505,12 @@ var select = tv({
|
|
|
6259
6505
|
}
|
|
6260
6506
|
},
|
|
6261
6507
|
{
|
|
6262
|
-
isLabelPlaceholder: true,
|
|
6263
6508
|
labelPlacement: ["inside", "outside"],
|
|
6264
6509
|
class: {
|
|
6265
|
-
label: [
|
|
6266
|
-
"font-normal",
|
|
6267
|
-
"group-data-[filled=true]:font-medium",
|
|
6268
|
-
"group-data-[filled=true]:pointer-events-auto"
|
|
6269
|
-
]
|
|
6510
|
+
label: ["group-data-[filled=true]:pointer-events-auto"]
|
|
6270
6511
|
}
|
|
6271
6512
|
},
|
|
6272
6513
|
{
|
|
6273
|
-
isLabelPlaceholder: true,
|
|
6274
6514
|
labelPlacement: "outside",
|
|
6275
6515
|
class: {
|
|
6276
6516
|
base: "group relative justify-end",
|
|
@@ -6286,62 +6526,121 @@ var select = tv({
|
|
|
6286
6526
|
}
|
|
6287
6527
|
},
|
|
6288
6528
|
{
|
|
6289
|
-
|
|
6529
|
+
labelPlacement: ["inside"],
|
|
6530
|
+
class: {
|
|
6531
|
+
label: "group-data-[filled=true]:scale-85"
|
|
6532
|
+
}
|
|
6533
|
+
},
|
|
6534
|
+
{
|
|
6290
6535
|
labelPlacement: "inside",
|
|
6291
6536
|
size: ["sm", "md"],
|
|
6292
6537
|
class: {
|
|
6293
|
-
label:
|
|
6538
|
+
label: "text-small",
|
|
6294
6539
|
input: "pt-4"
|
|
6295
6540
|
}
|
|
6296
6541
|
},
|
|
6297
6542
|
{
|
|
6298
|
-
isLabelPlaceholder: true,
|
|
6299
6543
|
labelPlacement: "inside",
|
|
6300
6544
|
size: "sm",
|
|
6301
6545
|
class: {
|
|
6302
|
-
label: ["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-
|
|
6546
|
+
label: ["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"],
|
|
6303
6547
|
innerWrapper: "pt-4"
|
|
6304
6548
|
}
|
|
6305
6549
|
},
|
|
6306
6550
|
{
|
|
6307
|
-
isLabelPlaceholder: true,
|
|
6308
6551
|
labelPlacement: "inside",
|
|
6309
6552
|
size: "md",
|
|
6310
6553
|
class: {
|
|
6311
6554
|
label: [
|
|
6312
|
-
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-
|
|
6555
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
|
|
6313
6556
|
],
|
|
6314
6557
|
innerWrapper: "pt-4"
|
|
6315
6558
|
}
|
|
6316
6559
|
},
|
|
6317
6560
|
{
|
|
6318
|
-
isLabelPlaceholder: true,
|
|
6319
6561
|
labelPlacement: "inside",
|
|
6320
6562
|
size: "lg",
|
|
6321
6563
|
class: {
|
|
6322
6564
|
label: [
|
|
6323
6565
|
"text-medium",
|
|
6324
|
-
"group-data-[filled=true]
|
|
6325
|
-
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_5px)]"
|
|
6566
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
|
|
6326
6567
|
],
|
|
6327
6568
|
innerWrapper: "pt-5"
|
|
6328
6569
|
}
|
|
6329
6570
|
},
|
|
6330
6571
|
{
|
|
6331
|
-
|
|
6572
|
+
labelPlacement: "inside",
|
|
6573
|
+
variant: ["faded", "bordered"],
|
|
6574
|
+
size: "sm",
|
|
6575
|
+
class: {
|
|
6576
|
+
label: [
|
|
6577
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
6578
|
+
]
|
|
6579
|
+
}
|
|
6580
|
+
},
|
|
6581
|
+
{
|
|
6582
|
+
labelPlacement: "inside",
|
|
6583
|
+
variant: ["faded", "bordered"],
|
|
6584
|
+
size: "md",
|
|
6585
|
+
class: {
|
|
6586
|
+
label: [
|
|
6587
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
|
|
6588
|
+
]
|
|
6589
|
+
}
|
|
6590
|
+
},
|
|
6591
|
+
{
|
|
6592
|
+
labelPlacement: "inside",
|
|
6593
|
+
variant: ["faded", "bordered"],
|
|
6594
|
+
size: "lg",
|
|
6595
|
+
class: {
|
|
6596
|
+
label: [
|
|
6597
|
+
"text-medium",
|
|
6598
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
6599
|
+
]
|
|
6600
|
+
}
|
|
6601
|
+
},
|
|
6602
|
+
{
|
|
6603
|
+
labelPlacement: "inside",
|
|
6604
|
+
variant: "underlined",
|
|
6605
|
+
size: "sm",
|
|
6606
|
+
class: {
|
|
6607
|
+
label: ["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]
|
|
6608
|
+
}
|
|
6609
|
+
},
|
|
6610
|
+
{
|
|
6611
|
+
labelPlacement: "inside",
|
|
6612
|
+
variant: "underlined",
|
|
6613
|
+
size: "md",
|
|
6614
|
+
class: {
|
|
6615
|
+
label: [
|
|
6616
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
|
|
6617
|
+
]
|
|
6618
|
+
}
|
|
6619
|
+
},
|
|
6620
|
+
{
|
|
6621
|
+
labelPlacement: "inside",
|
|
6622
|
+
variant: "underlined",
|
|
6623
|
+
size: "lg",
|
|
6624
|
+
class: {
|
|
6625
|
+
label: [
|
|
6626
|
+
"text-medium",
|
|
6627
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
|
|
6628
|
+
]
|
|
6629
|
+
}
|
|
6630
|
+
},
|
|
6631
|
+
{
|
|
6332
6632
|
labelPlacement: "outside",
|
|
6333
6633
|
size: "sm",
|
|
6334
6634
|
class: {
|
|
6335
6635
|
label: [
|
|
6336
6636
|
"left-2",
|
|
6337
|
-
"text-
|
|
6338
|
-
"group-data-[filled=true]:text-tiny",
|
|
6637
|
+
"text-tiny",
|
|
6339
6638
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
6340
|
-
]
|
|
6639
|
+
],
|
|
6640
|
+
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"
|
|
6341
6641
|
}
|
|
6342
6642
|
},
|
|
6343
6643
|
{
|
|
6344
|
-
isLabelPlaceholder: true,
|
|
6345
6644
|
labelPlacement: "outside",
|
|
6346
6645
|
size: "md",
|
|
6347
6646
|
class: {
|
|
@@ -6349,20 +6648,20 @@ var select = tv({
|
|
|
6349
6648
|
"left-3",
|
|
6350
6649
|
"text-small",
|
|
6351
6650
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
6352
|
-
]
|
|
6651
|
+
],
|
|
6652
|
+
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"
|
|
6353
6653
|
}
|
|
6354
6654
|
},
|
|
6355
6655
|
{
|
|
6356
|
-
isLabelPlaceholder: true,
|
|
6357
6656
|
labelPlacement: "outside",
|
|
6358
6657
|
size: "lg",
|
|
6359
6658
|
class: {
|
|
6360
6659
|
label: [
|
|
6361
6660
|
"left-3",
|
|
6362
6661
|
"text-medium",
|
|
6363
|
-
"group-data-[filled=true]:text-small",
|
|
6364
6662
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
6365
|
-
]
|
|
6663
|
+
],
|
|
6664
|
+
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"
|
|
6366
6665
|
}
|
|
6367
6666
|
}
|
|
6368
6667
|
]
|
|
@@ -6370,7 +6669,19 @@ var select = tv({
|
|
|
6370
6669
|
|
|
6371
6670
|
// src/components/menu.ts
|
|
6372
6671
|
var menu = tv({
|
|
6373
|
-
|
|
6672
|
+
slots: {
|
|
6673
|
+
base: "w-full relative flex flex-col gap-1 p-1",
|
|
6674
|
+
list: "w-full flex flex-col gap-0.5 outline-none",
|
|
6675
|
+
emptyContent: [
|
|
6676
|
+
"h-10",
|
|
6677
|
+
"px-2",
|
|
6678
|
+
"py-1.5",
|
|
6679
|
+
"w-full",
|
|
6680
|
+
"h-full",
|
|
6681
|
+
"text-foreground-400",
|
|
6682
|
+
"text-start"
|
|
6683
|
+
]
|
|
6684
|
+
}
|
|
6374
6685
|
});
|
|
6375
6686
|
var menuItem = tv({
|
|
6376
6687
|
slots: {
|
|
@@ -6464,7 +6775,9 @@ var menuItem = tv({
|
|
|
6464
6775
|
},
|
|
6465
6776
|
disableAnimation: {
|
|
6466
6777
|
true: {},
|
|
6467
|
-
false: {
|
|
6778
|
+
false: {
|
|
6779
|
+
base: "data-[hover=true]:transition-colors"
|
|
6780
|
+
}
|
|
6468
6781
|
}
|
|
6469
6782
|
},
|
|
6470
6783
|
defaultVariants: {
|
|
@@ -6844,13 +7157,680 @@ var scrollShadow = tv({
|
|
|
6844
7157
|
hideScrollBar: false
|
|
6845
7158
|
}
|
|
6846
7159
|
});
|
|
7160
|
+
|
|
7161
|
+
// src/components/slider.ts
|
|
7162
|
+
var slider = tv({
|
|
7163
|
+
slots: {
|
|
7164
|
+
base: "flex flex-col w-full gap-1",
|
|
7165
|
+
labelWrapper: "w-full flex justify-between items-center",
|
|
7166
|
+
label: "",
|
|
7167
|
+
value: "",
|
|
7168
|
+
step: [
|
|
7169
|
+
"h-1.5",
|
|
7170
|
+
"w-1.5",
|
|
7171
|
+
"absolute",
|
|
7172
|
+
"rounded-full",
|
|
7173
|
+
"bg-default-300/50",
|
|
7174
|
+
"data-[in-range=true]:bg-background/50"
|
|
7175
|
+
],
|
|
7176
|
+
mark: [
|
|
7177
|
+
"absolute",
|
|
7178
|
+
"text-small",
|
|
7179
|
+
"cursor-default",
|
|
7180
|
+
"opacity-50",
|
|
7181
|
+
"data-[in-range=true]:opacity-100"
|
|
7182
|
+
],
|
|
7183
|
+
trackWrapper: "relative flex gap-2",
|
|
7184
|
+
track: ["flex", "w-full", "relative", "rounded-full", "bg-default-300/50"],
|
|
7185
|
+
filler: "h-full absolute",
|
|
7186
|
+
thumb: [
|
|
7187
|
+
"flex",
|
|
7188
|
+
"justify-center",
|
|
7189
|
+
"items-center",
|
|
7190
|
+
"before:absolute",
|
|
7191
|
+
"before:w-11",
|
|
7192
|
+
"before:h-11",
|
|
7193
|
+
"before:rounded-full",
|
|
7194
|
+
"after:shadow-small",
|
|
7195
|
+
"after:shadow-small",
|
|
7196
|
+
"after:bg-background",
|
|
7197
|
+
"data-[focused=true]:z-10",
|
|
7198
|
+
dataFocusVisibleClasses
|
|
7199
|
+
],
|
|
7200
|
+
startContent: [],
|
|
7201
|
+
endContent: []
|
|
7202
|
+
},
|
|
7203
|
+
variants: {
|
|
7204
|
+
size: {
|
|
7205
|
+
sm: {
|
|
7206
|
+
label: "text-small",
|
|
7207
|
+
value: "text-small",
|
|
7208
|
+
thumb: "w-5 h-5 after:w-4 after:h-4",
|
|
7209
|
+
step: "data-[in-range=false]:bg-default-200"
|
|
7210
|
+
},
|
|
7211
|
+
md: {
|
|
7212
|
+
thumb: "w-6 h-6 after:w-5 after:h-5",
|
|
7213
|
+
label: "text-small",
|
|
7214
|
+
value: "text-small"
|
|
7215
|
+
},
|
|
7216
|
+
lg: {
|
|
7217
|
+
thumb: "h-7 w-7 after:w-5 after:h-5",
|
|
7218
|
+
step: "w-2 h-2",
|
|
7219
|
+
label: "text-medium",
|
|
7220
|
+
value: "text-medium",
|
|
7221
|
+
mark: "mt-2"
|
|
7222
|
+
}
|
|
7223
|
+
},
|
|
7224
|
+
radius: {
|
|
7225
|
+
none: {
|
|
7226
|
+
thumb: "rounded-none after:rounded-none"
|
|
7227
|
+
},
|
|
7228
|
+
sm: {
|
|
7229
|
+
thumb: "rounded-[calc(theme(borderRadius.small)/2)] after:rounded-[calc(theme(borderRadius.small)/3)]"
|
|
7230
|
+
},
|
|
7231
|
+
md: {
|
|
7232
|
+
thumb: "rounded-[calc(theme(borderRadius.medium)/2)] after:rounded-[calc(theme(borderRadius.medium)/3)]"
|
|
7233
|
+
},
|
|
7234
|
+
lg: {
|
|
7235
|
+
thumb: "rounded-[calc(theme(borderRadius.large)/1.5)] after:rounded-[calc(theme(borderRadius.large)/2)]"
|
|
7236
|
+
},
|
|
7237
|
+
full: {
|
|
7238
|
+
thumb: "rounded-full after:rounded-full"
|
|
7239
|
+
}
|
|
7240
|
+
},
|
|
7241
|
+
color: {
|
|
7242
|
+
foreground: {
|
|
7243
|
+
filler: "bg-foreground",
|
|
7244
|
+
thumb: "bg-foreground"
|
|
7245
|
+
},
|
|
7246
|
+
primary: {
|
|
7247
|
+
filler: "bg-primary",
|
|
7248
|
+
thumb: "bg-primary"
|
|
7249
|
+
},
|
|
7250
|
+
secondary: {
|
|
7251
|
+
filler: "bg-secondary",
|
|
7252
|
+
thumb: "bg-secondary"
|
|
7253
|
+
},
|
|
7254
|
+
success: {
|
|
7255
|
+
filler: "bg-success",
|
|
7256
|
+
thumb: "bg-success"
|
|
7257
|
+
},
|
|
7258
|
+
warning: {
|
|
7259
|
+
filler: "bg-warning",
|
|
7260
|
+
thumb: "bg-warning"
|
|
7261
|
+
},
|
|
7262
|
+
danger: {
|
|
7263
|
+
filler: "bg-danger",
|
|
7264
|
+
thumb: "bg-danger"
|
|
7265
|
+
}
|
|
7266
|
+
},
|
|
7267
|
+
isVertical: {
|
|
7268
|
+
true: {
|
|
7269
|
+
base: "w-auto h-full flex-col-reverse items-center",
|
|
7270
|
+
trackWrapper: "flex-col h-full justify-center items-center",
|
|
7271
|
+
filler: "w-full h-auto",
|
|
7272
|
+
thumb: "left-1/2",
|
|
7273
|
+
track: "h-full border-y-transparent",
|
|
7274
|
+
labelWrapper: "flex-col justify-center items-center",
|
|
7275
|
+
step: ["left-1/2", "-translate-x-1/2", "translate-y-1/2"],
|
|
7276
|
+
mark: ["left-1/2", "ml-1", "translate-x-1/2", "-translate-y-1/2"]
|
|
7277
|
+
},
|
|
7278
|
+
false: {
|
|
7279
|
+
thumb: "top-1/2",
|
|
7280
|
+
trackWrapper: "items-center",
|
|
7281
|
+
track: "border-x-transparent",
|
|
7282
|
+
step: ["top-1/2", "-translate-x-1/2", "-translate-y-1/2"],
|
|
7283
|
+
mark: ["top-1/2", "mt-1", "-translate-x-1/2", "translate-y-1/2"]
|
|
7284
|
+
}
|
|
7285
|
+
},
|
|
7286
|
+
isDisabled: {
|
|
7287
|
+
false: {
|
|
7288
|
+
thumb: ["cursor-grab", "data-[dragging=true]:cursor-grabbing"]
|
|
7289
|
+
},
|
|
7290
|
+
true: {
|
|
7291
|
+
base: "opacity-disabled",
|
|
7292
|
+
thumb: "cursor-default"
|
|
7293
|
+
}
|
|
7294
|
+
},
|
|
7295
|
+
hasMarks: {
|
|
7296
|
+
true: {
|
|
7297
|
+
base: "mb-5"
|
|
7298
|
+
},
|
|
7299
|
+
false: {}
|
|
7300
|
+
},
|
|
7301
|
+
showOutline: {
|
|
7302
|
+
true: {
|
|
7303
|
+
thumb: "ring-2 ring-background"
|
|
7304
|
+
},
|
|
7305
|
+
false: {
|
|
7306
|
+
thumb: "ring-transparent border-0"
|
|
7307
|
+
}
|
|
7308
|
+
},
|
|
7309
|
+
hideValue: {
|
|
7310
|
+
true: {
|
|
7311
|
+
value: "sr-only"
|
|
7312
|
+
}
|
|
7313
|
+
},
|
|
7314
|
+
hideThumb: {
|
|
7315
|
+
true: {
|
|
7316
|
+
thumb: "sr-only",
|
|
7317
|
+
track: "overflow-hidden cursor-pointer"
|
|
7318
|
+
}
|
|
7319
|
+
},
|
|
7320
|
+
hasSingleThumb: {
|
|
7321
|
+
true: {},
|
|
7322
|
+
false: {}
|
|
7323
|
+
},
|
|
7324
|
+
disableAnimation: {
|
|
7325
|
+
true: {
|
|
7326
|
+
thumb: "data-[dragging=true]:after:scale-100"
|
|
7327
|
+
},
|
|
7328
|
+
false: {
|
|
7329
|
+
thumb: "after:transition-all motion-reduce:after:transition-none",
|
|
7330
|
+
mark: "transition-opacity motion-reduce:transition-none"
|
|
7331
|
+
}
|
|
7332
|
+
},
|
|
7333
|
+
disableThumbScale: {
|
|
7334
|
+
true: {},
|
|
7335
|
+
false: {
|
|
7336
|
+
thumb: "data-[dragging=true]:after:scale-80"
|
|
7337
|
+
}
|
|
7338
|
+
}
|
|
7339
|
+
},
|
|
7340
|
+
compoundVariants: [
|
|
7341
|
+
{
|
|
7342
|
+
size: ["sm", "md"],
|
|
7343
|
+
showOutline: false,
|
|
7344
|
+
class: {
|
|
7345
|
+
thumb: "shadow-small"
|
|
7346
|
+
}
|
|
7347
|
+
},
|
|
7348
|
+
{
|
|
7349
|
+
size: "sm",
|
|
7350
|
+
color: "foreground",
|
|
7351
|
+
class: {
|
|
7352
|
+
step: "data-[in-range=true]:bg-foreground"
|
|
7353
|
+
}
|
|
7354
|
+
},
|
|
7355
|
+
{
|
|
7356
|
+
size: "sm",
|
|
7357
|
+
color: "primary",
|
|
7358
|
+
class: {
|
|
7359
|
+
step: "data-[in-range=true]:bg-primary"
|
|
7360
|
+
}
|
|
7361
|
+
},
|
|
7362
|
+
{
|
|
7363
|
+
size: "sm",
|
|
7364
|
+
color: "secondary",
|
|
7365
|
+
class: {
|
|
7366
|
+
step: "data-[in-range=true]:bg-secondary"
|
|
7367
|
+
}
|
|
7368
|
+
},
|
|
7369
|
+
{
|
|
7370
|
+
size: "sm",
|
|
7371
|
+
color: "success",
|
|
7372
|
+
class: {
|
|
7373
|
+
step: "data-[in-range=true]:bg-success"
|
|
7374
|
+
}
|
|
7375
|
+
},
|
|
7376
|
+
{
|
|
7377
|
+
size: "sm",
|
|
7378
|
+
color: "warning",
|
|
7379
|
+
class: {
|
|
7380
|
+
step: "data-[in-range=true]:bg-warning"
|
|
7381
|
+
}
|
|
7382
|
+
},
|
|
7383
|
+
{
|
|
7384
|
+
size: "sm",
|
|
7385
|
+
color: "danger",
|
|
7386
|
+
class: {
|
|
7387
|
+
step: "data-[in-range=true]:bg-danger"
|
|
7388
|
+
}
|
|
7389
|
+
},
|
|
7390
|
+
{
|
|
7391
|
+
size: "sm",
|
|
7392
|
+
isVertical: false,
|
|
7393
|
+
class: {
|
|
7394
|
+
track: "h-1 my-[calc((theme(spacing.5)-theme(spacing.1))/2)] data-[thumb-hidden=false]:border-x-[calc(theme(spacing.5)/2)]"
|
|
7395
|
+
}
|
|
7396
|
+
},
|
|
7397
|
+
{
|
|
7398
|
+
size: "md",
|
|
7399
|
+
isVertical: false,
|
|
7400
|
+
class: {
|
|
7401
|
+
track: "h-3 my-[calc((theme(spacing.6)-theme(spacing.3))/2)] data-[thumb-hidden=false]:border-x-[calc(theme(spacing.6)/2)]"
|
|
7402
|
+
}
|
|
7403
|
+
},
|
|
7404
|
+
{
|
|
7405
|
+
size: "lg",
|
|
7406
|
+
isVertical: false,
|
|
7407
|
+
class: {
|
|
7408
|
+
track: "h-7 my-[calc((theme(spacing.7)-theme(spacing.5))/2)] data-[thumb-hidden=false]:border-x-[calc(theme(spacing.7)/2)]"
|
|
7409
|
+
}
|
|
7410
|
+
},
|
|
7411
|
+
{
|
|
7412
|
+
size: "sm",
|
|
7413
|
+
isVertical: true,
|
|
7414
|
+
class: {
|
|
7415
|
+
track: "w-1 mx-[calc((theme(spacing.5)-theme(spacing.1))/2)] data-[thumb-hidden=false]:border-y-[calc(theme(spacing.5)/2)]"
|
|
7416
|
+
}
|
|
7417
|
+
},
|
|
7418
|
+
{
|
|
7419
|
+
size: "md",
|
|
7420
|
+
isVertical: true,
|
|
7421
|
+
class: {
|
|
7422
|
+
track: "w-3 mx-[calc((theme(spacing.6)-theme(spacing.3))/2)] data-[thumb-hidden=false]:border-y-[calc(theme(spacing.6)/2)]"
|
|
7423
|
+
}
|
|
7424
|
+
},
|
|
7425
|
+
{
|
|
7426
|
+
size: "lg",
|
|
7427
|
+
isVertical: true,
|
|
7428
|
+
class: {
|
|
7429
|
+
track: "w-7 mx-[calc((theme(spacing.7)-theme(spacing.5))/2)] data-[thumb-hidden=false]:border-y-[calc(theme(spacing.7)/2)]"
|
|
7430
|
+
}
|
|
7431
|
+
},
|
|
7432
|
+
{
|
|
7433
|
+
color: "foreground",
|
|
7434
|
+
isVertical: false,
|
|
7435
|
+
hasSingleThumb: true,
|
|
7436
|
+
class: {
|
|
7437
|
+
track: "border-s-foreground"
|
|
7438
|
+
}
|
|
7439
|
+
},
|
|
7440
|
+
{
|
|
7441
|
+
color: "primary",
|
|
7442
|
+
isVertical: false,
|
|
7443
|
+
hasSingleThumb: true,
|
|
7444
|
+
class: {
|
|
7445
|
+
track: "border-s-primary"
|
|
7446
|
+
}
|
|
7447
|
+
},
|
|
7448
|
+
{
|
|
7449
|
+
color: "secondary",
|
|
7450
|
+
isVertical: false,
|
|
7451
|
+
hasSingleThumb: true,
|
|
7452
|
+
class: {
|
|
7453
|
+
track: "border-s-secondary"
|
|
7454
|
+
}
|
|
7455
|
+
},
|
|
7456
|
+
{
|
|
7457
|
+
color: "success",
|
|
7458
|
+
isVertical: false,
|
|
7459
|
+
hasSingleThumb: true,
|
|
7460
|
+
class: {
|
|
7461
|
+
track: "border-s-success"
|
|
7462
|
+
}
|
|
7463
|
+
},
|
|
7464
|
+
{
|
|
7465
|
+
color: "warning",
|
|
7466
|
+
isVertical: false,
|
|
7467
|
+
hasSingleThumb: true,
|
|
7468
|
+
class: {
|
|
7469
|
+
track: "border-s-warning"
|
|
7470
|
+
}
|
|
7471
|
+
},
|
|
7472
|
+
{
|
|
7473
|
+
color: "danger",
|
|
7474
|
+
isVertical: false,
|
|
7475
|
+
hasSingleThumb: true,
|
|
7476
|
+
class: {
|
|
7477
|
+
track: "border-s-danger"
|
|
7478
|
+
}
|
|
7479
|
+
},
|
|
7480
|
+
{
|
|
7481
|
+
color: "foreground",
|
|
7482
|
+
isVertical: true,
|
|
7483
|
+
hasSingleThumb: true,
|
|
7484
|
+
class: {
|
|
7485
|
+
track: "border-b-foreground"
|
|
7486
|
+
}
|
|
7487
|
+
},
|
|
7488
|
+
{
|
|
7489
|
+
color: "primary",
|
|
7490
|
+
isVertical: true,
|
|
7491
|
+
hasSingleThumb: true,
|
|
7492
|
+
class: {
|
|
7493
|
+
track: "border-b-primary"
|
|
7494
|
+
}
|
|
7495
|
+
},
|
|
7496
|
+
{
|
|
7497
|
+
color: "secondary",
|
|
7498
|
+
isVertical: true,
|
|
7499
|
+
hasSingleThumb: true,
|
|
7500
|
+
class: {
|
|
7501
|
+
track: "border-b-secondary"
|
|
7502
|
+
}
|
|
7503
|
+
},
|
|
7504
|
+
{
|
|
7505
|
+
color: "success",
|
|
7506
|
+
isVertical: true,
|
|
7507
|
+
hasSingleThumb: true,
|
|
7508
|
+
class: {
|
|
7509
|
+
track: "border-b-success"
|
|
7510
|
+
}
|
|
7511
|
+
},
|
|
7512
|
+
{
|
|
7513
|
+
color: "warning",
|
|
7514
|
+
isVertical: true,
|
|
7515
|
+
hasSingleThumb: true,
|
|
7516
|
+
class: {
|
|
7517
|
+
track: "border-b-warning"
|
|
7518
|
+
}
|
|
7519
|
+
},
|
|
7520
|
+
{
|
|
7521
|
+
color: "danger",
|
|
7522
|
+
isVertical: true,
|
|
7523
|
+
hasSingleThumb: true,
|
|
7524
|
+
class: {
|
|
7525
|
+
track: "border-b-danger"
|
|
7526
|
+
}
|
|
7527
|
+
}
|
|
7528
|
+
],
|
|
7529
|
+
defaultVariants: {
|
|
7530
|
+
size: "md",
|
|
7531
|
+
color: "primary",
|
|
7532
|
+
radius: "full",
|
|
7533
|
+
hideValue: false,
|
|
7534
|
+
hideThumb: false,
|
|
7535
|
+
isDisabled: false,
|
|
7536
|
+
disableThumbScale: false,
|
|
7537
|
+
disableAnimation: false,
|
|
7538
|
+
showOutline: false
|
|
7539
|
+
}
|
|
7540
|
+
});
|
|
7541
|
+
|
|
7542
|
+
// src/components/breadcrumbs.ts
|
|
7543
|
+
var breadcrumbItem = tv({
|
|
7544
|
+
slots: {
|
|
7545
|
+
base: "flex items-center",
|
|
7546
|
+
item: [
|
|
7547
|
+
"flex gap-1 items-center",
|
|
7548
|
+
"cursor-pointer",
|
|
7549
|
+
"whitespace-nowrap",
|
|
7550
|
+
"line-clamp-1",
|
|
7551
|
+
"outline-none",
|
|
7552
|
+
"tap-highlight-transparent",
|
|
7553
|
+
...dataFocusVisibleClasses
|
|
7554
|
+
],
|
|
7555
|
+
separator: "text-default-400 px-1"
|
|
7556
|
+
},
|
|
7557
|
+
variants: {
|
|
7558
|
+
color: {
|
|
7559
|
+
foreground: {
|
|
7560
|
+
item: "text-foreground/50",
|
|
7561
|
+
separator: "text-foreground/50"
|
|
7562
|
+
},
|
|
7563
|
+
primary: {
|
|
7564
|
+
item: "text-primary/80",
|
|
7565
|
+
separator: "text-primary/80"
|
|
7566
|
+
},
|
|
7567
|
+
secondary: {
|
|
7568
|
+
item: "text-secondary/80",
|
|
7569
|
+
separator: "text-secondary/80"
|
|
7570
|
+
},
|
|
7571
|
+
success: {
|
|
7572
|
+
item: "text-success/80",
|
|
7573
|
+
separator: "text-success/80"
|
|
7574
|
+
},
|
|
7575
|
+
warning: {
|
|
7576
|
+
item: "text-warning/80",
|
|
7577
|
+
separator: "text-warning/80"
|
|
7578
|
+
},
|
|
7579
|
+
danger: {
|
|
7580
|
+
item: "text-danger/80",
|
|
7581
|
+
separator: "text-danger/80"
|
|
7582
|
+
}
|
|
7583
|
+
},
|
|
7584
|
+
size: {
|
|
7585
|
+
sm: {
|
|
7586
|
+
item: "text-tiny"
|
|
7587
|
+
},
|
|
7588
|
+
md: {
|
|
7589
|
+
item: "text-small"
|
|
7590
|
+
},
|
|
7591
|
+
lg: {
|
|
7592
|
+
item: "text-medium"
|
|
7593
|
+
}
|
|
7594
|
+
},
|
|
7595
|
+
underline: {
|
|
7596
|
+
none: {
|
|
7597
|
+
item: "no-underline"
|
|
7598
|
+
},
|
|
7599
|
+
hover: {
|
|
7600
|
+
item: "hover:underline"
|
|
7601
|
+
},
|
|
7602
|
+
always: {
|
|
7603
|
+
item: "underline"
|
|
7604
|
+
},
|
|
7605
|
+
active: {
|
|
7606
|
+
item: "active:underline"
|
|
7607
|
+
},
|
|
7608
|
+
focus: {
|
|
7609
|
+
item: "focus:underline"
|
|
7610
|
+
}
|
|
7611
|
+
},
|
|
7612
|
+
isCurrent: {
|
|
7613
|
+
true: {
|
|
7614
|
+
item: "cursor-default"
|
|
7615
|
+
},
|
|
7616
|
+
false: {
|
|
7617
|
+
item: ["hover:opacity-80", "active:opacity-disabled"]
|
|
7618
|
+
}
|
|
7619
|
+
},
|
|
7620
|
+
isDisabled: {
|
|
7621
|
+
true: {
|
|
7622
|
+
item: "opacity-disabled pointer-events-none",
|
|
7623
|
+
separator: "opacity-disabled"
|
|
7624
|
+
}
|
|
7625
|
+
},
|
|
7626
|
+
disableAnimation: {
|
|
7627
|
+
false: {
|
|
7628
|
+
item: "transition-opacity"
|
|
7629
|
+
},
|
|
7630
|
+
true: {
|
|
7631
|
+
item: "transition-none"
|
|
7632
|
+
}
|
|
7633
|
+
}
|
|
7634
|
+
},
|
|
7635
|
+
defaultVariants: {
|
|
7636
|
+
size: "md",
|
|
7637
|
+
color: "foreground",
|
|
7638
|
+
underline: "hover",
|
|
7639
|
+
isDisabled: false,
|
|
7640
|
+
disableAnimation: false
|
|
7641
|
+
},
|
|
7642
|
+
compoundVariants: [
|
|
7643
|
+
{
|
|
7644
|
+
isCurrent: true,
|
|
7645
|
+
color: "foreground",
|
|
7646
|
+
class: {
|
|
7647
|
+
item: "text-foreground"
|
|
7648
|
+
}
|
|
7649
|
+
},
|
|
7650
|
+
{
|
|
7651
|
+
isCurrent: true,
|
|
7652
|
+
color: "primary",
|
|
7653
|
+
class: {
|
|
7654
|
+
item: "text-primary"
|
|
7655
|
+
}
|
|
7656
|
+
},
|
|
7657
|
+
{
|
|
7658
|
+
isCurrent: true,
|
|
7659
|
+
color: "secondary",
|
|
7660
|
+
class: {
|
|
7661
|
+
item: "text-secondary"
|
|
7662
|
+
}
|
|
7663
|
+
},
|
|
7664
|
+
{
|
|
7665
|
+
isCurrent: true,
|
|
7666
|
+
color: "success",
|
|
7667
|
+
class: {
|
|
7668
|
+
item: "text-success"
|
|
7669
|
+
}
|
|
7670
|
+
},
|
|
7671
|
+
{
|
|
7672
|
+
isCurrent: true,
|
|
7673
|
+
color: "warning",
|
|
7674
|
+
class: {
|
|
7675
|
+
item: "text-warning"
|
|
7676
|
+
}
|
|
7677
|
+
},
|
|
7678
|
+
{
|
|
7679
|
+
isCurrent: true,
|
|
7680
|
+
color: "danger",
|
|
7681
|
+
class: {
|
|
7682
|
+
item: "text-danger"
|
|
7683
|
+
}
|
|
7684
|
+
},
|
|
7685
|
+
{
|
|
7686
|
+
isCurrent: false,
|
|
7687
|
+
underline: "none",
|
|
7688
|
+
class: {
|
|
7689
|
+
item: "no-underline"
|
|
7690
|
+
}
|
|
7691
|
+
},
|
|
7692
|
+
{
|
|
7693
|
+
underline: ["hover", "always", "active", "focus"],
|
|
7694
|
+
class: "underline-offset-4"
|
|
7695
|
+
}
|
|
7696
|
+
]
|
|
7697
|
+
});
|
|
7698
|
+
var breadcrumbs = tv({
|
|
7699
|
+
slots: {
|
|
7700
|
+
base: "",
|
|
7701
|
+
list: "flex flex-wrap list-none",
|
|
7702
|
+
ellipsis: "text-medium",
|
|
7703
|
+
separator: "text-default-400 px-1"
|
|
7704
|
+
},
|
|
7705
|
+
variants: {
|
|
7706
|
+
size: {
|
|
7707
|
+
sm: {},
|
|
7708
|
+
md: {},
|
|
7709
|
+
lg: {}
|
|
7710
|
+
},
|
|
7711
|
+
radius: {
|
|
7712
|
+
none: {
|
|
7713
|
+
list: "rounded-none"
|
|
7714
|
+
},
|
|
7715
|
+
sm: {
|
|
7716
|
+
list: "rounded-small"
|
|
7717
|
+
},
|
|
7718
|
+
md: {
|
|
7719
|
+
list: "rounded-medium"
|
|
7720
|
+
},
|
|
7721
|
+
lg: {
|
|
7722
|
+
list: "rounded-large"
|
|
7723
|
+
},
|
|
7724
|
+
full: {
|
|
7725
|
+
list: "rounded-full"
|
|
7726
|
+
}
|
|
7727
|
+
},
|
|
7728
|
+
variant: {
|
|
7729
|
+
solid: {
|
|
7730
|
+
list: "bg-default-100"
|
|
7731
|
+
},
|
|
7732
|
+
bordered: {
|
|
7733
|
+
list: "border-medium border-default-200 shadow-sm"
|
|
7734
|
+
},
|
|
7735
|
+
light: {}
|
|
7736
|
+
}
|
|
7737
|
+
},
|
|
7738
|
+
defaultVariants: {
|
|
7739
|
+
size: "md",
|
|
7740
|
+
radius: "sm",
|
|
7741
|
+
variant: "light"
|
|
7742
|
+
},
|
|
7743
|
+
compoundVariants: [
|
|
7744
|
+
{
|
|
7745
|
+
variant: ["solid", "bordered"],
|
|
7746
|
+
class: {
|
|
7747
|
+
list: "max-w-fit"
|
|
7748
|
+
}
|
|
7749
|
+
},
|
|
7750
|
+
{
|
|
7751
|
+
variant: ["solid", "bordered"],
|
|
7752
|
+
size: "sm",
|
|
7753
|
+
class: {
|
|
7754
|
+
list: "px-2 py-1"
|
|
7755
|
+
}
|
|
7756
|
+
},
|
|
7757
|
+
{
|
|
7758
|
+
variant: ["solid", "bordered"],
|
|
7759
|
+
size: "md",
|
|
7760
|
+
class: {
|
|
7761
|
+
list: "px-2.5 py-1.5"
|
|
7762
|
+
}
|
|
7763
|
+
},
|
|
7764
|
+
{
|
|
7765
|
+
variant: ["solid", "bordered"],
|
|
7766
|
+
size: "lg",
|
|
7767
|
+
class: {
|
|
7768
|
+
list: "px-3 py-2"
|
|
7769
|
+
}
|
|
7770
|
+
}
|
|
7771
|
+
]
|
|
7772
|
+
});
|
|
7773
|
+
|
|
7774
|
+
// src/components/autocomplete.ts
|
|
7775
|
+
var autocomplete = tv({
|
|
7776
|
+
slots: {
|
|
7777
|
+
base: "group inline-flex flex-column w-full",
|
|
7778
|
+
listboxWrapper: "scroll-py-6 max-h-64 w-full",
|
|
7779
|
+
listbox: "",
|
|
7780
|
+
popoverContent: "w-full p-1 overflow-hidden",
|
|
7781
|
+
endContentWrapper: "relative flex h-full items-center -mr-2",
|
|
7782
|
+
clearButton: [
|
|
7783
|
+
"text-medium",
|
|
7784
|
+
"translate-x-1",
|
|
7785
|
+
"cursor-text",
|
|
7786
|
+
"opacity-0",
|
|
7787
|
+
"text-default-500",
|
|
7788
|
+
"group-data-[invalid=true]:text-danger",
|
|
7789
|
+
"data-[visible=true]:opacity-100",
|
|
7790
|
+
"data-[visible=true]:cursor-pointer",
|
|
7791
|
+
"sm:data-[visible=true]:opacity-0",
|
|
7792
|
+
"sm:group-data-[hover=true]:data-[visible=true]:opacity-100"
|
|
7793
|
+
],
|
|
7794
|
+
selectorButton: "text-medium"
|
|
7795
|
+
},
|
|
7796
|
+
variants: {
|
|
7797
|
+
disableClearable: {
|
|
7798
|
+
true: {
|
|
7799
|
+
clearButton: "hidden"
|
|
7800
|
+
},
|
|
7801
|
+
false: {}
|
|
7802
|
+
},
|
|
7803
|
+
disableAnimation: {
|
|
7804
|
+
true: {
|
|
7805
|
+
selectorButton: "transition-none"
|
|
7806
|
+
},
|
|
7807
|
+
false: {
|
|
7808
|
+
selectorButton: "transition-transform duration-150 ease motion-reduce:transition-none"
|
|
7809
|
+
}
|
|
7810
|
+
},
|
|
7811
|
+
disableSelectorIconRotation: {
|
|
7812
|
+
true: {},
|
|
7813
|
+
false: {
|
|
7814
|
+
selectorButton: "data-[open=true]:rotate-180"
|
|
7815
|
+
}
|
|
7816
|
+
}
|
|
7817
|
+
},
|
|
7818
|
+
defaultVariants: {
|
|
7819
|
+
disableAnimation: false,
|
|
7820
|
+
disableClearable: false,
|
|
7821
|
+
disableSelectorIconRotation: false
|
|
7822
|
+
}
|
|
7823
|
+
});
|
|
6847
7824
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6848
7825
|
0 && (module.exports = {
|
|
6849
7826
|
accordion,
|
|
6850
7827
|
accordionItem,
|
|
7828
|
+
autocomplete,
|
|
6851
7829
|
avatar,
|
|
6852
7830
|
avatarGroup,
|
|
6853
7831
|
badge,
|
|
7832
|
+
breadcrumbItem,
|
|
7833
|
+
breadcrumbs,
|
|
6854
7834
|
button,
|
|
6855
7835
|
buttonGroup,
|
|
6856
7836
|
card,
|
|
@@ -6886,6 +7866,7 @@ var scrollShadow = tv({
|
|
|
6886
7866
|
scrollShadow,
|
|
6887
7867
|
select,
|
|
6888
7868
|
skeleton,
|
|
7869
|
+
slider,
|
|
6889
7870
|
snippet,
|
|
6890
7871
|
spacer,
|
|
6891
7872
|
spinner,
|