@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/index.js
CHANGED
|
@@ -29,10 +29,13 @@ __export(src_exports, {
|
|
|
29
29
|
absoluteFullClasses: () => absoluteFullClasses,
|
|
30
30
|
accordion: () => accordion,
|
|
31
31
|
accordionItem: () => accordionItem,
|
|
32
|
+
autocomplete: () => autocomplete,
|
|
32
33
|
avatar: () => avatar,
|
|
33
34
|
avatarGroup: () => avatarGroup,
|
|
34
35
|
badge: () => badge,
|
|
35
36
|
baseStyles: () => baseStyles,
|
|
37
|
+
breadcrumbItem: () => breadcrumbItem,
|
|
38
|
+
breadcrumbs: () => breadcrumbs,
|
|
36
39
|
button: () => button,
|
|
37
40
|
buttonGroup: () => buttonGroup,
|
|
38
41
|
card: () => card,
|
|
@@ -41,6 +44,7 @@ __export(src_exports, {
|
|
|
41
44
|
chip: () => chip,
|
|
42
45
|
circularProgress: () => circularProgress,
|
|
43
46
|
code: () => code,
|
|
47
|
+
collapseAdjacentVariantBorders: () => collapseAdjacentVariantBorders,
|
|
44
48
|
colorVariants: () => colorVariants,
|
|
45
49
|
colors: () => colors,
|
|
46
50
|
commonColors: () => commonColors,
|
|
@@ -78,6 +82,7 @@ __export(src_exports, {
|
|
|
78
82
|
select: () => select,
|
|
79
83
|
semanticColors: () => semanticColors,
|
|
80
84
|
skeleton: () => skeleton,
|
|
85
|
+
slider: () => slider,
|
|
81
86
|
snippet: () => snippet,
|
|
82
87
|
spacer: () => spacer,
|
|
83
88
|
spacingScaleKeys: () => spacingScaleKeys,
|
|
@@ -149,39 +154,32 @@ var mappedSpacingScaleKeys = spacingScaleKeys.map((key) => `unit-${key}`);
|
|
|
149
154
|
|
|
150
155
|
// src/utils/tv.ts
|
|
151
156
|
var COMMON_UNITS = ["small", "medium", "large"];
|
|
152
|
-
var tv = (
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
],
|
|
176
|
-
"min-h": [
|
|
177
|
-
{
|
|
178
|
-
"min-h": ["unit", ...mappedSpacingScaleKeys]
|
|
179
|
-
}
|
|
180
|
-
]
|
|
181
|
-
}
|
|
157
|
+
var tv = (0, import_tailwind_variants.createTV)({
|
|
158
|
+
twMerge: true,
|
|
159
|
+
twMergeConfig: {
|
|
160
|
+
theme: {
|
|
161
|
+
opacity: ["disabled"],
|
|
162
|
+
spacing: ["divider", "unit", ...mappedSpacingScaleKeys],
|
|
163
|
+
borderWidth: COMMON_UNITS,
|
|
164
|
+
borderRadius: COMMON_UNITS
|
|
165
|
+
},
|
|
166
|
+
classGroups: {
|
|
167
|
+
shadow: [{ shadow: COMMON_UNITS }],
|
|
168
|
+
"font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
|
|
169
|
+
"bg-image": ["bg-stripe-gradient"],
|
|
170
|
+
"min-w": [
|
|
171
|
+
{
|
|
172
|
+
"min-w": ["unit", ...mappedSpacingScaleKeys]
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"min-h": [
|
|
176
|
+
{
|
|
177
|
+
"min-h": ["unit", ...mappedSpacingScaleKeys]
|
|
178
|
+
}
|
|
179
|
+
]
|
|
182
180
|
}
|
|
183
|
-
}
|
|
184
|
-
};
|
|
181
|
+
}
|
|
182
|
+
});
|
|
185
183
|
|
|
186
184
|
// src/utils/classes.ts
|
|
187
185
|
var baseStyles = (prefix) => ({
|
|
@@ -224,6 +222,14 @@ var translateCenterClasses = [
|
|
|
224
222
|
"-translate-y-1/2"
|
|
225
223
|
];
|
|
226
224
|
var absoluteFullClasses = ["absolute", "inset-0"];
|
|
225
|
+
var collapseAdjacentVariantBorders = {
|
|
226
|
+
default: ["[&+.border-medium.border-default]:ms-[calc(theme(borderWidth.medium)*-1)]"],
|
|
227
|
+
primary: ["[&+.border-medium.border-primary]:ms-[calc(theme(borderWidth.medium)*-1)]"],
|
|
228
|
+
secondary: ["[&+.border-medium.border-secondary]:ms-[calc(theme(borderWidth.medium)*-1)]"],
|
|
229
|
+
success: ["[&+.border-medium.border-success]:ms-[calc(theme(borderWidth.medium)*-1)]"],
|
|
230
|
+
warning: ["[&+.border-medium.border-warning]:ms-[calc(theme(borderWidth.medium)*-1)]"],
|
|
231
|
+
danger: ["[&+.border-medium.border-danger]:ms-[calc(theme(borderWidth.medium)*-1)]"]
|
|
232
|
+
};
|
|
227
233
|
|
|
228
234
|
// src/utils/variants.ts
|
|
229
235
|
var solid = {
|
|
@@ -311,7 +317,7 @@ var avatar = tv({
|
|
|
311
317
|
"overflow-hidden",
|
|
312
318
|
"align-middle",
|
|
313
319
|
"text-white",
|
|
314
|
-
"z-
|
|
320
|
+
"z-0",
|
|
315
321
|
...dataFocusVisibleClasses
|
|
316
322
|
],
|
|
317
323
|
img: [
|
|
@@ -398,7 +404,7 @@ var avatar = tv({
|
|
|
398
404
|
isInGroup: {
|
|
399
405
|
true: {
|
|
400
406
|
base: [
|
|
401
|
-
"-
|
|
407
|
+
"-ms-2 data-[hover=true]:-translate-x-3 transition-transform",
|
|
402
408
|
"data-[focus-visible=true]:-translate-x-3"
|
|
403
409
|
]
|
|
404
410
|
}
|
|
@@ -426,7 +432,7 @@ var avatar = tv({
|
|
|
426
432
|
color: "primary",
|
|
427
433
|
isBordered: true,
|
|
428
434
|
class: {
|
|
429
|
-
base: "ring-
|
|
435
|
+
base: "ring-primary"
|
|
430
436
|
}
|
|
431
437
|
},
|
|
432
438
|
{
|
|
@@ -500,7 +506,7 @@ var card = tv({
|
|
|
500
506
|
"flex",
|
|
501
507
|
"flex-1",
|
|
502
508
|
"w-full",
|
|
503
|
-
"p-
|
|
509
|
+
"p-3",
|
|
504
510
|
"flex-auto",
|
|
505
511
|
"flex-col",
|
|
506
512
|
"place-content-inherit",
|
|
@@ -792,7 +798,7 @@ var button = tv({
|
|
|
792
798
|
},
|
|
793
799
|
disableAnimation: {
|
|
794
800
|
true: "!transition-none",
|
|
795
|
-
false: "data-[pressed=true]:scale-[0.97] transition-transform-colors motion-reduce:transition-none"
|
|
801
|
+
false: "data-[pressed=true]:scale-[0.97] transition-transform-colors-opacity motion-reduce:transition-none"
|
|
796
802
|
}
|
|
797
803
|
},
|
|
798
804
|
defaultVariants: {
|
|
@@ -1015,30 +1021,90 @@ var button = tv({
|
|
|
1015
1021
|
color: "danger",
|
|
1016
1022
|
class: colorVariants.ghost.danger
|
|
1017
1023
|
},
|
|
1024
|
+
{
|
|
1025
|
+
isInGroup: true,
|
|
1026
|
+
class: "rounded-none first:rounded-s-medium last:rounded-e-medium"
|
|
1027
|
+
},
|
|
1018
1028
|
{
|
|
1019
1029
|
isInGroup: true,
|
|
1020
1030
|
size: "sm",
|
|
1021
|
-
class: "rounded-none first:rounded-
|
|
1031
|
+
class: "rounded-none first:rounded-s-small last:rounded-e-small"
|
|
1022
1032
|
},
|
|
1023
1033
|
{
|
|
1024
1034
|
isInGroup: true,
|
|
1025
1035
|
size: "md",
|
|
1026
|
-
class: "rounded-none first:rounded-
|
|
1036
|
+
class: "rounded-none first:rounded-s-medium last:rounded-e-medium"
|
|
1027
1037
|
},
|
|
1028
1038
|
{
|
|
1029
1039
|
isInGroup: true,
|
|
1030
1040
|
size: "lg",
|
|
1031
|
-
class: "rounded-none first:rounded-
|
|
1041
|
+
class: "rounded-none first:rounded-s-large last:rounded-e-large"
|
|
1032
1042
|
},
|
|
1033
1043
|
{
|
|
1034
1044
|
isInGroup: true,
|
|
1035
1045
|
isRounded: true,
|
|
1036
|
-
class: "rounded-none first:rounded-
|
|
1046
|
+
class: "rounded-none first:rounded-s-full last:rounded-e-full"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
isInGroup: true,
|
|
1050
|
+
radius: "none",
|
|
1051
|
+
class: "rounded-none first:rounded-s-none last:rounded-e-none"
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
isInGroup: true,
|
|
1055
|
+
radius: "sm",
|
|
1056
|
+
class: "rounded-none first:rounded-s-small last:rounded-e-small"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
isInGroup: true,
|
|
1060
|
+
radius: "md",
|
|
1061
|
+
class: "rounded-none first:rounded-s-medium last:rounded-e-medium"
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
isInGroup: true,
|
|
1065
|
+
radius: "lg",
|
|
1066
|
+
class: "rounded-none first:rounded-s-large last:rounded-e-large"
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
isInGroup: true,
|
|
1070
|
+
radius: "full",
|
|
1071
|
+
class: "rounded-none first:rounded-s-full last:rounded-e-full"
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
isInGroup: true,
|
|
1075
|
+
variant: ["ghost", "bordered"],
|
|
1076
|
+
color: "default",
|
|
1077
|
+
className: collapseAdjacentVariantBorders.default
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
isInGroup: true,
|
|
1081
|
+
variant: ["ghost", "bordered"],
|
|
1082
|
+
color: "primary",
|
|
1083
|
+
className: collapseAdjacentVariantBorders.primary
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
isInGroup: true,
|
|
1087
|
+
variant: ["ghost", "bordered"],
|
|
1088
|
+
color: "secondary",
|
|
1089
|
+
className: collapseAdjacentVariantBorders.secondary
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
isInGroup: true,
|
|
1093
|
+
variant: ["ghost", "bordered"],
|
|
1094
|
+
color: "success",
|
|
1095
|
+
className: collapseAdjacentVariantBorders.success
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
isInGroup: true,
|
|
1099
|
+
variant: ["ghost", "bordered"],
|
|
1100
|
+
color: "warning",
|
|
1101
|
+
className: collapseAdjacentVariantBorders.warning
|
|
1037
1102
|
},
|
|
1038
1103
|
{
|
|
1039
1104
|
isInGroup: true,
|
|
1040
|
-
variant: ["
|
|
1041
|
-
|
|
1105
|
+
variant: ["ghost", "bordered"],
|
|
1106
|
+
color: "danger",
|
|
1107
|
+
className: collapseAdjacentVariantBorders.danger
|
|
1042
1108
|
},
|
|
1043
1109
|
{
|
|
1044
1110
|
isIconOnly: true,
|
|
@@ -1054,6 +1120,10 @@ var button = tv({
|
|
|
1054
1120
|
isIconOnly: true,
|
|
1055
1121
|
size: "lg",
|
|
1056
1122
|
class: "min-w-unit-12 w-unit-12 h-unit-12"
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
variant: ["solid", "faded", "flat", "bordered", "shadow"],
|
|
1126
|
+
class: "data-[hover=true]:opacity-hover"
|
|
1057
1127
|
}
|
|
1058
1128
|
]
|
|
1059
1129
|
});
|
|
@@ -1225,107 +1295,118 @@ var code = tv({
|
|
|
1225
1295
|
var popover = tv({
|
|
1226
1296
|
slots: {
|
|
1227
1297
|
base: [
|
|
1228
|
-
"z-
|
|
1298
|
+
"z-0",
|
|
1229
1299
|
"relative",
|
|
1300
|
+
"bg-transparent",
|
|
1301
|
+
"before:content-['']",
|
|
1302
|
+
"before:hidden",
|
|
1303
|
+
"before:z-[-1]",
|
|
1304
|
+
"before:absolute",
|
|
1305
|
+
"before:rotate-45",
|
|
1306
|
+
"before:w-2.5",
|
|
1307
|
+
"before:h-2.5",
|
|
1308
|
+
"before:rounded-sm",
|
|
1309
|
+
"data-[arrow=true]:before:block",
|
|
1310
|
+
"data-[placement=top]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]",
|
|
1311
|
+
"data-[placement=top]:before:left-1/2",
|
|
1312
|
+
"data-[placement=top]:before:-translate-x-1/2",
|
|
1313
|
+
"data-[placement=top-start]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]",
|
|
1314
|
+
"data-[placement=top-start]:before:left-3",
|
|
1315
|
+
"data-[placement=top-end]:before:-bottom-[calc(theme(spacing.5)/4_-_1.5px)]",
|
|
1316
|
+
"data-[placement=top-end]:before:right-3",
|
|
1317
|
+
"data-[placement=bottom]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]",
|
|
1318
|
+
"data-[placement=bottom]:before:left-1/2",
|
|
1319
|
+
"data-[placement=bottom]:before:-translate-x-1/2",
|
|
1320
|
+
"data-[placement=bottom-start]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]",
|
|
1321
|
+
"data-[placement=bottom-start]:before:left-3",
|
|
1322
|
+
"data-[placement=bottom-end]:before:-top-[calc(theme(spacing.5)/4_-_1.5px)]",
|
|
1323
|
+
"data-[placement=bottom-end]:before:right-3",
|
|
1324
|
+
"data-[placement=left]:before:-right-[calc(theme(spacing.5)/4_-_2px)]",
|
|
1325
|
+
"data-[placement=left]:before:top-1/2",
|
|
1326
|
+
"data-[placement=left]:before:-translate-y-1/2",
|
|
1327
|
+
"data-[placement=left-start]:before:-right-[calc(theme(spacing.5)/4_-_3px)]",
|
|
1328
|
+
"data-[placement=left-start]:before:top-1/4",
|
|
1329
|
+
"data-[placement=left-end]:before:-right-[calc(theme(spacing.5)/4_-_3px)]",
|
|
1330
|
+
"data-[placement=left-end]:before:bottom-1/4",
|
|
1331
|
+
"data-[placement=right]:before:-left-[calc(theme(spacing.5)/4_-_2px)]",
|
|
1332
|
+
"data-[placement=right]:before:top-1/2",
|
|
1333
|
+
"data-[placement=right]:before:-translate-y-1/2",
|
|
1334
|
+
"data-[placement=right-start]:before:-left-[calc(theme(spacing.5)/4_-_3px)]",
|
|
1335
|
+
"data-[placement=right-start]:before:top-1/4",
|
|
1336
|
+
"data-[placement=right-end]:before:-left-[calc(theme(spacing.5)/4_-_3px)]",
|
|
1337
|
+
"data-[placement=right-end]:before:bottom-1/4",
|
|
1338
|
+
...dataFocusVisibleClasses
|
|
1339
|
+
],
|
|
1340
|
+
content: [
|
|
1341
|
+
"z-10",
|
|
1342
|
+
"px-2.5",
|
|
1343
|
+
"py-1",
|
|
1344
|
+
"w-full",
|
|
1230
1345
|
"inline-flex",
|
|
1231
1346
|
"flex-col",
|
|
1232
1347
|
"items-center",
|
|
1233
1348
|
"justify-center",
|
|
1234
1349
|
"box-border",
|
|
1235
1350
|
"subpixel-antialiased",
|
|
1236
|
-
"px-4",
|
|
1237
|
-
"py-1",
|
|
1238
1351
|
"outline-none",
|
|
1239
|
-
"box-border"
|
|
1240
|
-
...dataFocusVisibleClasses
|
|
1352
|
+
"box-border"
|
|
1241
1353
|
],
|
|
1242
1354
|
trigger: ["z-10"],
|
|
1243
1355
|
backdrop: ["hidden"],
|
|
1244
|
-
arrow: [
|
|
1245
|
-
"z-[-1]",
|
|
1246
|
-
"absolute",
|
|
1247
|
-
"rotate-45",
|
|
1248
|
-
"w-2.5",
|
|
1249
|
-
"h-2.5",
|
|
1250
|
-
"rounded-sm",
|
|
1251
|
-
"data-[placement=top]:-bottom-1",
|
|
1252
|
-
"data-[placement=top]:-translate-x-1/2",
|
|
1253
|
-
"data-[placement=top-start]:-bottom-1",
|
|
1254
|
-
"data-[placement=top-start]:-translate-x-8",
|
|
1255
|
-
"data-[placement=top-end]:-bottom-1",
|
|
1256
|
-
"data-[placement=top-end]:translate-x-6",
|
|
1257
|
-
"data-[placement=bottom]:-top-1",
|
|
1258
|
-
"data-[placement=bottom]:-translate-x-1/2",
|
|
1259
|
-
"data-[placement=bottom-start]:-top-1",
|
|
1260
|
-
"data-[placement=bottom-start]:-translate-x-8",
|
|
1261
|
-
"data-[placement=bottom-end]:-top-1",
|
|
1262
|
-
"data-[placement=bottom-end]:translate-x-6",
|
|
1263
|
-
"data-[placement=left]:-right-1",
|
|
1264
|
-
"data-[placement=left]:-translate-y-1/2",
|
|
1265
|
-
"data-[placement=left-start]:-right-1",
|
|
1266
|
-
"data-[placement=left-start]:-translate-y-3",
|
|
1267
|
-
"data-[placement=left-end]:-right-1",
|
|
1268
|
-
"data-[placement=left-end]:translate-y-0.5",
|
|
1269
|
-
"data-[placement=right]:-left-1",
|
|
1270
|
-
"data-[placement=right]:-translate-y-1/2",
|
|
1271
|
-
"data-[placement=right-start]:-left-1",
|
|
1272
|
-
"data-[placement=right-start]:-translate-y-3",
|
|
1273
|
-
"data-[placement=right-end]:-left-1",
|
|
1274
|
-
"data-[placement=right-end]:translate-y-0.5"
|
|
1275
|
-
]
|
|
1356
|
+
arrow: []
|
|
1276
1357
|
},
|
|
1277
1358
|
variants: {
|
|
1278
1359
|
size: {
|
|
1279
|
-
sm: {
|
|
1280
|
-
md: {
|
|
1281
|
-
lg: {
|
|
1360
|
+
sm: { content: "text-tiny" },
|
|
1361
|
+
md: { content: "text-small" },
|
|
1362
|
+
lg: { content: "text-medium" }
|
|
1282
1363
|
},
|
|
1283
1364
|
color: {
|
|
1284
1365
|
default: {
|
|
1285
|
-
base: "bg-content1",
|
|
1286
|
-
|
|
1366
|
+
base: "before:bg-content1 before:shadow-small",
|
|
1367
|
+
content: "bg-content1"
|
|
1287
1368
|
},
|
|
1288
1369
|
foreground: {
|
|
1289
|
-
base:
|
|
1290
|
-
|
|
1370
|
+
base: "before:bg-foreground",
|
|
1371
|
+
content: colorVariants.solid.foreground
|
|
1291
1372
|
},
|
|
1292
1373
|
primary: {
|
|
1293
|
-
base:
|
|
1294
|
-
|
|
1374
|
+
base: "before:bg-primary",
|
|
1375
|
+
content: colorVariants.solid.primary
|
|
1295
1376
|
},
|
|
1296
1377
|
secondary: {
|
|
1297
|
-
base:
|
|
1298
|
-
|
|
1378
|
+
base: "before:bg-secondary",
|
|
1379
|
+
content: colorVariants.solid.secondary
|
|
1299
1380
|
},
|
|
1300
1381
|
success: {
|
|
1301
|
-
base:
|
|
1302
|
-
|
|
1382
|
+
base: "before:bg-success",
|
|
1383
|
+
content: colorVariants.solid.success
|
|
1303
1384
|
},
|
|
1304
1385
|
warning: {
|
|
1305
|
-
base:
|
|
1306
|
-
|
|
1386
|
+
base: "before:bg-warning",
|
|
1387
|
+
content: colorVariants.solid.warning
|
|
1307
1388
|
},
|
|
1308
1389
|
danger: {
|
|
1309
|
-
base:
|
|
1310
|
-
|
|
1390
|
+
base: "before:bg-danger",
|
|
1391
|
+
content: colorVariants.solid.danger
|
|
1311
1392
|
}
|
|
1312
1393
|
},
|
|
1313
1394
|
radius: {
|
|
1314
|
-
none: {
|
|
1315
|
-
sm: {
|
|
1316
|
-
md: {
|
|
1317
|
-
lg: {
|
|
1318
|
-
full: {
|
|
1395
|
+
none: { content: "rounded-none" },
|
|
1396
|
+
sm: { content: "rounded-small" },
|
|
1397
|
+
md: { content: "rounded-medium" },
|
|
1398
|
+
lg: { content: "rounded-large" },
|
|
1399
|
+
full: { content: "rounded-full" }
|
|
1319
1400
|
},
|
|
1320
1401
|
shadow: {
|
|
1321
1402
|
sm: {
|
|
1322
|
-
|
|
1403
|
+
content: "shadow-small"
|
|
1323
1404
|
},
|
|
1324
1405
|
md: {
|
|
1325
|
-
|
|
1406
|
+
content: "shadow-medium"
|
|
1326
1407
|
},
|
|
1327
1408
|
lg: {
|
|
1328
|
-
|
|
1409
|
+
content: "shadow-large"
|
|
1329
1410
|
}
|
|
1330
1411
|
},
|
|
1331
1412
|
backdrop: {
|
|
@@ -1732,7 +1813,7 @@ var chip = tv({
|
|
|
1732
1813
|
},
|
|
1733
1814
|
size: {
|
|
1734
1815
|
sm: {
|
|
1735
|
-
base: "px-1 h-6 text-
|
|
1816
|
+
base: "px-1 h-6 text-tiny",
|
|
1736
1817
|
content: "px-1",
|
|
1737
1818
|
closeButton: "text-medium",
|
|
1738
1819
|
avatar: "w-4 h-4"
|
|
@@ -2199,12 +2280,12 @@ var badge = tv({
|
|
|
2199
2280
|
badge: "transition-transform-opacity !ease-soft-spring !duration-300"
|
|
2200
2281
|
}
|
|
2201
2282
|
},
|
|
2202
|
-
|
|
2283
|
+
showOutline: {
|
|
2203
2284
|
true: {
|
|
2204
|
-
badge: "border-
|
|
2285
|
+
badge: "border-2 border-background"
|
|
2205
2286
|
},
|
|
2206
2287
|
false: {
|
|
2207
|
-
badge: "border-
|
|
2288
|
+
badge: "border-transparent border-0"
|
|
2208
2289
|
}
|
|
2209
2290
|
}
|
|
2210
2291
|
},
|
|
@@ -2214,7 +2295,7 @@ var badge = tv({
|
|
|
2214
2295
|
size: "md",
|
|
2215
2296
|
shape: "rectangle",
|
|
2216
2297
|
placement: "top-right",
|
|
2217
|
-
|
|
2298
|
+
showOutline: true,
|
|
2218
2299
|
disableAnimation: false,
|
|
2219
2300
|
isInvisible: false
|
|
2220
2301
|
},
|
|
@@ -2783,7 +2864,7 @@ var radio = tv({
|
|
|
2783
2864
|
isInvalid: {
|
|
2784
2865
|
true: {
|
|
2785
2866
|
control: "bg-danger text-danger-foreground",
|
|
2786
|
-
wrapper: "border-danger data-[selected=true]:border-danger",
|
|
2867
|
+
wrapper: "border-danger group-data-[selected=true]:border-danger",
|
|
2787
2868
|
label: "text-danger",
|
|
2788
2869
|
description: "text-danger-300"
|
|
2789
2870
|
}
|
|
@@ -2870,6 +2951,7 @@ var pagination = tv({
|
|
|
2870
2951
|
"left-0",
|
|
2871
2952
|
"select-none",
|
|
2872
2953
|
"touch-none",
|
|
2954
|
+
"pointer-events-none",
|
|
2873
2955
|
"z-20"
|
|
2874
2956
|
],
|
|
2875
2957
|
forwardIcon: "hidden group-hover:block group-data-[focus-visible=true]:block data-[before=true]:rotate-180",
|
|
@@ -2959,7 +3041,12 @@ var pagination = tv({
|
|
|
2959
3041
|
},
|
|
2960
3042
|
false: {
|
|
2961
3043
|
item: ["data-[pressed=true]:scale-[0.97]", "transition-transform-background"],
|
|
2962
|
-
cursor: [
|
|
3044
|
+
cursor: [
|
|
3045
|
+
"data-[moving=true]:transition-transform",
|
|
3046
|
+
"!data-[moving=true]:duration-300",
|
|
3047
|
+
"opacity-0",
|
|
3048
|
+
"data-[moving]:opacity-100"
|
|
3049
|
+
]
|
|
2963
3050
|
}
|
|
2964
3051
|
}
|
|
2965
3052
|
},
|
|
@@ -3164,17 +3251,28 @@ var pagination = tv({
|
|
|
3164
3251
|
{
|
|
3165
3252
|
slots: ["item", "prev", "next"],
|
|
3166
3253
|
variant: "flat",
|
|
3167
|
-
class: [
|
|
3254
|
+
class: [
|
|
3255
|
+
"bg-default-100",
|
|
3256
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-200",
|
|
3257
|
+
"active:bg-default-300"
|
|
3258
|
+
]
|
|
3168
3259
|
},
|
|
3169
3260
|
{
|
|
3170
3261
|
slots: ["item", "prev", "next"],
|
|
3171
3262
|
variant: "faded",
|
|
3172
|
-
class: [
|
|
3263
|
+
class: [
|
|
3264
|
+
"bg-default-50",
|
|
3265
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-100",
|
|
3266
|
+
"active:bg-default-200"
|
|
3267
|
+
]
|
|
3173
3268
|
},
|
|
3174
3269
|
{
|
|
3175
3270
|
slots: ["item", "prev", "next"],
|
|
3176
3271
|
variant: "light",
|
|
3177
|
-
class: [
|
|
3272
|
+
class: [
|
|
3273
|
+
"[&[data-hover=true]:not([data-active=true])]:bg-default-100",
|
|
3274
|
+
"active:bg-default-200"
|
|
3275
|
+
]
|
|
3178
3276
|
},
|
|
3179
3277
|
{
|
|
3180
3278
|
slots: ["item", "cursor", "prev", "next"],
|
|
@@ -3415,7 +3513,7 @@ var accordionItem = tv({
|
|
|
3415
3513
|
],
|
|
3416
3514
|
startContent: "flex-shrink-0",
|
|
3417
3515
|
indicator: "text-default-400",
|
|
3418
|
-
titleWrapper: "flex-1 flex flex-col text-
|
|
3516
|
+
titleWrapper: "flex-1 flex flex-col text-start",
|
|
3419
3517
|
title: "text-foreground text-large",
|
|
3420
3518
|
subtitle: "text-small text-foreground-500 font-normal",
|
|
3421
3519
|
content: "py-2"
|
|
@@ -3454,7 +3552,7 @@ var accordionItem = tv({
|
|
|
3454
3552
|
indicator: "transition-none"
|
|
3455
3553
|
},
|
|
3456
3554
|
false: {
|
|
3457
|
-
indicator: "rotate-0 data-[open=true]:-rotate-90"
|
|
3555
|
+
indicator: "rotate-0 data-[open=true]:-rotate-90 rtl:-rotate-180 rtl:data-[open=true]:-rotate-90"
|
|
3458
3556
|
}
|
|
3459
3557
|
}
|
|
3460
3558
|
},
|
|
@@ -3672,11 +3770,24 @@ var circularProgress = tv({
|
|
|
3672
3770
|
var input = tv({
|
|
3673
3771
|
slots: {
|
|
3674
3772
|
base: "group flex flex-col",
|
|
3675
|
-
label:
|
|
3773
|
+
label: [
|
|
3774
|
+
"absolute",
|
|
3775
|
+
"z-10",
|
|
3776
|
+
"pointer-events-none",
|
|
3777
|
+
"origin-top-left",
|
|
3778
|
+
"subpixel-antialiased",
|
|
3779
|
+
"block",
|
|
3780
|
+
"text-small",
|
|
3781
|
+
"text-foreground-500"
|
|
3782
|
+
],
|
|
3676
3783
|
mainWrapper: "h-full",
|
|
3677
3784
|
inputWrapper: "relative w-full inline-flex tap-highlight-transparent flex-row items-center shadow-sm px-3 gap-3",
|
|
3678
|
-
innerWrapper: "inline-flex
|
|
3679
|
-
input:
|
|
3785
|
+
innerWrapper: "inline-flex w-full items-center h-full box-border",
|
|
3786
|
+
input: [
|
|
3787
|
+
"w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none",
|
|
3788
|
+
"data-[has-start-content=true]:ps-1.5",
|
|
3789
|
+
"data-[has-end-content=true]:pe-1.5"
|
|
3790
|
+
],
|
|
3680
3791
|
clearButton: [
|
|
3681
3792
|
"p-2",
|
|
3682
3793
|
"-m-2",
|
|
@@ -3745,7 +3856,8 @@ var input = tv({
|
|
|
3745
3856
|
"after:-bottom-[2px]",
|
|
3746
3857
|
"after:h-[2px]",
|
|
3747
3858
|
"group-data-[focus=true]:after:w-full"
|
|
3748
|
-
]
|
|
3859
|
+
],
|
|
3860
|
+
innerWrapper: "pb-1"
|
|
3749
3861
|
}
|
|
3750
3862
|
},
|
|
3751
3863
|
color: {
|
|
@@ -3800,11 +3912,12 @@ var input = tv({
|
|
|
3800
3912
|
base: "flex-row items-center flex-nowrap data-[has-helper=true]:items-start",
|
|
3801
3913
|
inputWrapper: "flex-1",
|
|
3802
3914
|
mainWrapper: "flex flex-col",
|
|
3803
|
-
label: "text-foreground pr-2"
|
|
3915
|
+
label: "relative text-foreground pr-2"
|
|
3804
3916
|
},
|
|
3805
3917
|
inside: {
|
|
3806
3918
|
label: "text-tiny cursor-text",
|
|
3807
|
-
inputWrapper: "flex-col items-start justify-center gap-0"
|
|
3919
|
+
inputWrapper: "flex-col items-start justify-center gap-0",
|
|
3920
|
+
innerWrapper: "items-end"
|
|
3808
3921
|
}
|
|
3809
3922
|
},
|
|
3810
3923
|
fullWidth: {
|
|
@@ -3812,11 +3925,6 @@ var input = tv({
|
|
|
3812
3925
|
base: "w-full"
|
|
3813
3926
|
}
|
|
3814
3927
|
},
|
|
3815
|
-
isLabelPlaceholder: {
|
|
3816
|
-
true: {
|
|
3817
|
-
label: "absolute z-10 pointer-events-none"
|
|
3818
|
-
}
|
|
3819
|
-
},
|
|
3820
3928
|
isClearable: {
|
|
3821
3929
|
true: {
|
|
3822
3930
|
input: "peer pr-6",
|
|
@@ -3843,12 +3951,14 @@ var input = tv({
|
|
|
3843
3951
|
},
|
|
3844
3952
|
isMultiline: {
|
|
3845
3953
|
true: {
|
|
3954
|
+
label: "relative",
|
|
3846
3955
|
inputWrapper: "!h-auto",
|
|
3847
|
-
input: "resize-none py-2"
|
|
3956
|
+
input: "resize-none py-2 data-[hide-scroll=true]:scrollbar-hide"
|
|
3848
3957
|
}
|
|
3849
3958
|
},
|
|
3850
3959
|
disableAnimation: {
|
|
3851
3960
|
true: {
|
|
3961
|
+
input: "transition-none",
|
|
3852
3962
|
inputWrapper: "transition-none",
|
|
3853
3963
|
label: "transition-none"
|
|
3854
3964
|
},
|
|
@@ -3856,11 +3966,10 @@ var input = tv({
|
|
|
3856
3966
|
inputWrapper: "transition-background motion-reduce:transition-none !duration-150",
|
|
3857
3967
|
label: [
|
|
3858
3968
|
"will-change-auto",
|
|
3859
|
-
"origin-top-left",
|
|
3860
|
-
"transition-all",
|
|
3861
3969
|
"!duration-200",
|
|
3862
3970
|
"!ease-out",
|
|
3863
|
-
"motion-reduce:transition-none"
|
|
3971
|
+
"motion-reduce:transition-none",
|
|
3972
|
+
"transition-[transform,color,left,opacity]"
|
|
3864
3973
|
],
|
|
3865
3974
|
clearButton: ["transition-opacity", "motion-reduce:transition-none"]
|
|
3866
3975
|
}
|
|
@@ -3873,6 +3982,7 @@ var input = tv({
|
|
|
3873
3982
|
fullWidth: true,
|
|
3874
3983
|
labelPlacement: "inside",
|
|
3875
3984
|
isDisabled: false,
|
|
3985
|
+
isMultiline: false,
|
|
3876
3986
|
disableAnimation: false
|
|
3877
3987
|
},
|
|
3878
3988
|
compoundVariants: [
|
|
@@ -4120,6 +4230,13 @@ var input = tv({
|
|
|
4120
4230
|
]
|
|
4121
4231
|
}
|
|
4122
4232
|
},
|
|
4233
|
+
{
|
|
4234
|
+
labelPlacement: "inside",
|
|
4235
|
+
color: "default",
|
|
4236
|
+
class: {
|
|
4237
|
+
label: "group-data-[filled-within=true]:text-foreground-600"
|
|
4238
|
+
}
|
|
4239
|
+
},
|
|
4123
4240
|
{
|
|
4124
4241
|
isInvalid: true,
|
|
4125
4242
|
variant: "flat",
|
|
@@ -4168,19 +4285,28 @@ var input = tv({
|
|
|
4168
4285
|
}
|
|
4169
4286
|
},
|
|
4170
4287
|
{
|
|
4171
|
-
|
|
4288
|
+
labelPlacement: "inside",
|
|
4289
|
+
size: "sm",
|
|
4290
|
+
variant: ["bordered", "faded"],
|
|
4291
|
+
class: {
|
|
4292
|
+
inputWrapper: "py-1"
|
|
4293
|
+
}
|
|
4294
|
+
},
|
|
4295
|
+
{
|
|
4172
4296
|
labelPlacement: ["inside", "outside"],
|
|
4173
4297
|
class: {
|
|
4174
|
-
label: [
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4298
|
+
label: ["group-data-[filled-within=true]:pointer-events-auto"]
|
|
4299
|
+
}
|
|
4300
|
+
},
|
|
4301
|
+
{
|
|
4302
|
+
labelPlacement: ["outside", "outside-left"],
|
|
4303
|
+
class: {
|
|
4304
|
+
input: "h-full"
|
|
4179
4305
|
}
|
|
4180
4306
|
},
|
|
4181
4307
|
{
|
|
4182
|
-
isLabelPlaceholder: true,
|
|
4183
4308
|
labelPlacement: "outside",
|
|
4309
|
+
isMultiline: false,
|
|
4184
4310
|
class: {
|
|
4185
4311
|
base: "group relative justify-end",
|
|
4186
4312
|
label: [
|
|
@@ -4195,85 +4321,176 @@ var input = tv({
|
|
|
4195
4321
|
}
|
|
4196
4322
|
},
|
|
4197
4323
|
{
|
|
4198
|
-
|
|
4324
|
+
labelPlacement: ["inside"],
|
|
4325
|
+
class: {
|
|
4326
|
+
label: ["group-data-[filled-within=true]:scale-85"]
|
|
4327
|
+
}
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
labelPlacement: ["inside"],
|
|
4331
|
+
variant: "flat",
|
|
4332
|
+
size: ["md", "lg"],
|
|
4333
|
+
class: {
|
|
4334
|
+
innerWrapper: "pb-0.5"
|
|
4335
|
+
}
|
|
4336
|
+
},
|
|
4337
|
+
{
|
|
4338
|
+
variant: "underlined",
|
|
4339
|
+
size: "sm",
|
|
4340
|
+
class: {
|
|
4341
|
+
innerWrapper: "pb-1"
|
|
4342
|
+
}
|
|
4343
|
+
},
|
|
4344
|
+
{
|
|
4345
|
+
variant: "underlined",
|
|
4346
|
+
size: ["md", "lg"],
|
|
4347
|
+
class: {
|
|
4348
|
+
innerWrapper: "pb-1.5"
|
|
4349
|
+
}
|
|
4350
|
+
},
|
|
4351
|
+
{
|
|
4199
4352
|
labelPlacement: "inside",
|
|
4200
4353
|
size: ["sm", "md"],
|
|
4201
4354
|
class: {
|
|
4202
|
-
label:
|
|
4203
|
-
input: "pt-4"
|
|
4355
|
+
label: "text-small"
|
|
4204
4356
|
}
|
|
4205
4357
|
},
|
|
4206
4358
|
{
|
|
4207
|
-
isLabelPlaceholder: true,
|
|
4208
4359
|
labelPlacement: "inside",
|
|
4360
|
+
isMultiline: false,
|
|
4209
4361
|
size: "sm",
|
|
4210
4362
|
class: {
|
|
4211
4363
|
label: [
|
|
4212
|
-
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-
|
|
4213
|
-
]
|
|
4214
|
-
input: "pt-4"
|
|
4364
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"
|
|
4365
|
+
]
|
|
4215
4366
|
}
|
|
4216
4367
|
},
|
|
4217
4368
|
{
|
|
4218
|
-
isLabelPlaceholder: true,
|
|
4219
4369
|
labelPlacement: "inside",
|
|
4370
|
+
isMultiline: false,
|
|
4220
4371
|
size: "md",
|
|
4221
4372
|
class: {
|
|
4222
4373
|
label: [
|
|
4223
|
-
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-
|
|
4224
|
-
]
|
|
4225
|
-
input: "pt-4"
|
|
4374
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
|
|
4375
|
+
]
|
|
4226
4376
|
}
|
|
4227
4377
|
},
|
|
4228
4378
|
{
|
|
4229
|
-
isLabelPlaceholder: true,
|
|
4230
4379
|
labelPlacement: "inside",
|
|
4380
|
+
isMultiline: false,
|
|
4231
4381
|
size: "lg",
|
|
4232
4382
|
class: {
|
|
4233
4383
|
label: [
|
|
4234
4384
|
"text-medium",
|
|
4235
|
-
"group-data-[filled-within=true]
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4385
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
|
|
4386
|
+
]
|
|
4387
|
+
}
|
|
4388
|
+
},
|
|
4389
|
+
{
|
|
4390
|
+
labelPlacement: "inside",
|
|
4391
|
+
variant: ["faded", "bordered"],
|
|
4392
|
+
isMultiline: false,
|
|
4393
|
+
size: "sm",
|
|
4394
|
+
class: {
|
|
4395
|
+
label: [
|
|
4396
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
4397
|
+
]
|
|
4398
|
+
}
|
|
4399
|
+
},
|
|
4400
|
+
{
|
|
4401
|
+
labelPlacement: "inside",
|
|
4402
|
+
variant: ["faded", "bordered"],
|
|
4403
|
+
isMultiline: false,
|
|
4404
|
+
size: "md",
|
|
4405
|
+
class: {
|
|
4406
|
+
label: [
|
|
4407
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
|
|
4408
|
+
]
|
|
4409
|
+
}
|
|
4410
|
+
},
|
|
4411
|
+
{
|
|
4412
|
+
labelPlacement: "inside",
|
|
4413
|
+
variant: ["faded", "bordered"],
|
|
4414
|
+
isMultiline: false,
|
|
4415
|
+
size: "lg",
|
|
4416
|
+
class: {
|
|
4417
|
+
label: [
|
|
4418
|
+
"text-medium",
|
|
4419
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
4420
|
+
]
|
|
4421
|
+
}
|
|
4422
|
+
},
|
|
4423
|
+
{
|
|
4424
|
+
labelPlacement: "inside",
|
|
4425
|
+
variant: "underlined",
|
|
4426
|
+
isMultiline: false,
|
|
4427
|
+
size: "sm",
|
|
4428
|
+
class: {
|
|
4429
|
+
label: [
|
|
4430
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"
|
|
4431
|
+
]
|
|
4432
|
+
}
|
|
4433
|
+
},
|
|
4434
|
+
{
|
|
4435
|
+
labelPlacement: "inside",
|
|
4436
|
+
variant: "underlined",
|
|
4437
|
+
isMultiline: false,
|
|
4438
|
+
size: "md",
|
|
4439
|
+
class: {
|
|
4440
|
+
label: [
|
|
4441
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
|
|
4442
|
+
]
|
|
4443
|
+
}
|
|
4444
|
+
},
|
|
4445
|
+
{
|
|
4446
|
+
labelPlacement: "inside",
|
|
4447
|
+
variant: "underlined",
|
|
4448
|
+
size: "lg",
|
|
4449
|
+
isMultiline: false,
|
|
4450
|
+
class: {
|
|
4451
|
+
label: [
|
|
4452
|
+
"text-medium",
|
|
4453
|
+
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
|
|
4454
|
+
]
|
|
4239
4455
|
}
|
|
4240
4456
|
},
|
|
4241
4457
|
{
|
|
4242
|
-
isLabelPlaceholder: true,
|
|
4243
4458
|
labelPlacement: "outside",
|
|
4244
4459
|
size: "sm",
|
|
4460
|
+
isMultiline: false,
|
|
4245
4461
|
class: {
|
|
4246
4462
|
label: [
|
|
4247
4463
|
"left-2",
|
|
4248
|
-
"text-
|
|
4249
|
-
"group-data-[filled-within=true]:text-tiny",
|
|
4464
|
+
"text-tiny",
|
|
4250
4465
|
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
4251
|
-
]
|
|
4466
|
+
],
|
|
4467
|
+
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"
|
|
4252
4468
|
}
|
|
4253
4469
|
},
|
|
4254
4470
|
{
|
|
4255
|
-
isLabelPlaceholder: true,
|
|
4256
4471
|
labelPlacement: "outside",
|
|
4257
4472
|
size: "md",
|
|
4473
|
+
isMultiline: false,
|
|
4258
4474
|
class: {
|
|
4259
4475
|
label: [
|
|
4260
4476
|
"left-3",
|
|
4261
4477
|
"text-small",
|
|
4262
4478
|
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
4263
|
-
]
|
|
4479
|
+
],
|
|
4480
|
+
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"
|
|
4264
4481
|
}
|
|
4265
4482
|
},
|
|
4266
4483
|
{
|
|
4267
|
-
isLabelPlaceholder: true,
|
|
4268
4484
|
labelPlacement: "outside",
|
|
4269
4485
|
size: "lg",
|
|
4486
|
+
isMultiline: false,
|
|
4270
4487
|
class: {
|
|
4271
4488
|
label: [
|
|
4272
4489
|
"left-3",
|
|
4273
4490
|
"text-medium",
|
|
4274
|
-
"group-data-[filled-within=true]:text-small",
|
|
4275
4491
|
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
4276
|
-
]
|
|
4492
|
+
],
|
|
4493
|
+
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"
|
|
4277
4494
|
}
|
|
4278
4495
|
},
|
|
4279
4496
|
{
|
|
@@ -4296,6 +4513,20 @@ var input = tv({
|
|
|
4296
4513
|
class: {
|
|
4297
4514
|
label: "group-data-[has-helper=true]:pt-4"
|
|
4298
4515
|
}
|
|
4516
|
+
},
|
|
4517
|
+
{
|
|
4518
|
+
labelPlacement: "inside",
|
|
4519
|
+
isMultiline: true,
|
|
4520
|
+
class: {
|
|
4521
|
+
input: "pt-0"
|
|
4522
|
+
}
|
|
4523
|
+
},
|
|
4524
|
+
{
|
|
4525
|
+
isMultiline: true,
|
|
4526
|
+
disableAnimation: false,
|
|
4527
|
+
class: {
|
|
4528
|
+
input: "transition-height !duration-150 motion-reduce:transition-none"
|
|
4529
|
+
}
|
|
4299
4530
|
}
|
|
4300
4531
|
]
|
|
4301
4532
|
});
|
|
@@ -5072,7 +5303,10 @@ var navbar = tv({
|
|
|
5072
5303
|
"gap-2",
|
|
5073
5304
|
"overflow-y-auto"
|
|
5074
5305
|
],
|
|
5075
|
-
menuItem: [
|
|
5306
|
+
menuItem: [
|
|
5307
|
+
"text-large",
|
|
5308
|
+
"data-[active=true]:font-semibold"
|
|
5309
|
+
]
|
|
5076
5310
|
},
|
|
5077
5311
|
variants: {
|
|
5078
5312
|
position: {
|
|
@@ -5785,7 +6019,7 @@ var skeleton = tv({
|
|
|
5785
6019
|
"after:-z-10",
|
|
5786
6020
|
"after:bg-content3",
|
|
5787
6021
|
"dark:after:bg-content2",
|
|
5788
|
-
"data-[loaded=true]
|
|
6022
|
+
"data-[loaded=true]:!bg-transparent",
|
|
5789
6023
|
"data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:animate-none",
|
|
5790
6024
|
"data-[loaded=true]:after:opacity-0"
|
|
5791
6025
|
],
|
|
@@ -5812,16 +6046,25 @@ var skeleton = tv({
|
|
|
5812
6046
|
var select = tv({
|
|
5813
6047
|
slots: {
|
|
5814
6048
|
base: "group inline-flex flex-col relative w-full",
|
|
5815
|
-
label:
|
|
6049
|
+
label: [
|
|
6050
|
+
"block",
|
|
6051
|
+
"absolute",
|
|
6052
|
+
"z-10",
|
|
6053
|
+
"origin-top-left",
|
|
6054
|
+
"subpixel-antialiased",
|
|
6055
|
+
"text-small",
|
|
6056
|
+
"text-foreground-500",
|
|
6057
|
+
"pointer-events-none"
|
|
6058
|
+
],
|
|
5816
6059
|
mainWrapper: "w-full flex flex-col",
|
|
5817
6060
|
trigger: "relative px-3 gap-3 w-full inline-flex flex-row items-center shadow-sm outline-none tap-highlight-transparent",
|
|
5818
6061
|
innerWrapper: "inline-flex h-full w-[calc(100%_-_theme(spacing.unit-6))] items-center gap-1.5 box-border",
|
|
5819
6062
|
selectorIcon: "absolute right-3 w-unit-4 h-unit-4",
|
|
5820
6063
|
spinner: "absolute right-3",
|
|
5821
|
-
value: "font-normal w-full text-left
|
|
6064
|
+
value: ["font-normal", "w-full", "text-left"],
|
|
5822
6065
|
listboxWrapper: "scroll-py-6 max-h-64 w-full",
|
|
5823
6066
|
listbox: "",
|
|
5824
|
-
|
|
6067
|
+
popoverContent: "w-full p-1 overflow-hidden",
|
|
5825
6068
|
helperWrapper: "flex relative flex-col gap-1.5 pt-1 px-1",
|
|
5826
6069
|
description: "text-tiny text-foreground-400",
|
|
5827
6070
|
errorMessage: "text-tiny text-danger"
|
|
@@ -5879,7 +6122,9 @@ var select = tv({
|
|
|
5879
6122
|
}
|
|
5880
6123
|
},
|
|
5881
6124
|
color: {
|
|
5882
|
-
default: {
|
|
6125
|
+
default: {
|
|
6126
|
+
value: ["text-foreground-500", "group-data-[has-value=true]:text-foreground"]
|
|
6127
|
+
},
|
|
5883
6128
|
primary: {},
|
|
5884
6129
|
secondary: {},
|
|
5885
6130
|
success: {},
|
|
@@ -5925,7 +6170,7 @@ var select = tv({
|
|
|
5925
6170
|
},
|
|
5926
6171
|
"outside-left": {
|
|
5927
6172
|
base: "flex-row items-center flex-nowrap items-start",
|
|
5928
|
-
label: "text-foreground pr-2"
|
|
6173
|
+
label: "relative text-foreground pr-2"
|
|
5929
6174
|
},
|
|
5930
6175
|
inside: {
|
|
5931
6176
|
label: "text-tiny cursor-pointer",
|
|
@@ -5937,11 +6182,6 @@ var select = tv({
|
|
|
5937
6182
|
base: "w-full"
|
|
5938
6183
|
}
|
|
5939
6184
|
},
|
|
5940
|
-
isLabelPlaceholder: {
|
|
5941
|
-
true: {
|
|
5942
|
-
label: "absolute z-10"
|
|
5943
|
-
}
|
|
5944
|
-
},
|
|
5945
6185
|
isDisabled: {
|
|
5946
6186
|
true: {
|
|
5947
6187
|
base: "opacity-disabled pointer-events-none",
|
|
@@ -5951,7 +6191,7 @@ var select = tv({
|
|
|
5951
6191
|
isInvalid: {
|
|
5952
6192
|
true: {
|
|
5953
6193
|
label: "!text-danger",
|
|
5954
|
-
value: "text-danger",
|
|
6194
|
+
value: "!text-danger",
|
|
5955
6195
|
selectorIcon: "text-danger"
|
|
5956
6196
|
}
|
|
5957
6197
|
},
|
|
@@ -5980,9 +6220,9 @@ var select = tv({
|
|
|
5980
6220
|
label: [
|
|
5981
6221
|
"will-change-auto",
|
|
5982
6222
|
"origin-top-left",
|
|
5983
|
-
"transition-all",
|
|
5984
6223
|
"!duration-200",
|
|
5985
6224
|
"!ease-out",
|
|
6225
|
+
"transition-[transform,color,left,opacity]",
|
|
5986
6226
|
"motion-reduce:transition-none"
|
|
5987
6227
|
],
|
|
5988
6228
|
selectorIcon: "transition-transform duration-150 ease motion-reduce:transition-none"
|
|
@@ -6244,7 +6484,14 @@ var select = tv({
|
|
|
6244
6484
|
}
|
|
6245
6485
|
},
|
|
6246
6486
|
{
|
|
6247
|
-
|
|
6487
|
+
labelPlacement: "inside",
|
|
6488
|
+
color: "default",
|
|
6489
|
+
class: {
|
|
6490
|
+
label: "group-data-[filled=true]:text-foreground-600"
|
|
6491
|
+
}
|
|
6492
|
+
},
|
|
6493
|
+
{
|
|
6494
|
+
isInvalid: true,
|
|
6248
6495
|
variant: "flat",
|
|
6249
6496
|
class: {
|
|
6250
6497
|
trigger: [
|
|
@@ -6291,18 +6538,12 @@ var select = tv({
|
|
|
6291
6538
|
}
|
|
6292
6539
|
},
|
|
6293
6540
|
{
|
|
6294
|
-
isLabelPlaceholder: true,
|
|
6295
6541
|
labelPlacement: ["inside", "outside"],
|
|
6296
6542
|
class: {
|
|
6297
|
-
label: [
|
|
6298
|
-
"font-normal",
|
|
6299
|
-
"group-data-[filled=true]:font-medium",
|
|
6300
|
-
"group-data-[filled=true]:pointer-events-auto"
|
|
6301
|
-
]
|
|
6543
|
+
label: ["group-data-[filled=true]:pointer-events-auto"]
|
|
6302
6544
|
}
|
|
6303
6545
|
},
|
|
6304
6546
|
{
|
|
6305
|
-
isLabelPlaceholder: true,
|
|
6306
6547
|
labelPlacement: "outside",
|
|
6307
6548
|
class: {
|
|
6308
6549
|
base: "group relative justify-end",
|
|
@@ -6318,62 +6559,121 @@ var select = tv({
|
|
|
6318
6559
|
}
|
|
6319
6560
|
},
|
|
6320
6561
|
{
|
|
6321
|
-
|
|
6562
|
+
labelPlacement: ["inside"],
|
|
6563
|
+
class: {
|
|
6564
|
+
label: "group-data-[filled=true]:scale-85"
|
|
6565
|
+
}
|
|
6566
|
+
},
|
|
6567
|
+
{
|
|
6322
6568
|
labelPlacement: "inside",
|
|
6323
6569
|
size: ["sm", "md"],
|
|
6324
6570
|
class: {
|
|
6325
|
-
label:
|
|
6571
|
+
label: "text-small",
|
|
6326
6572
|
input: "pt-4"
|
|
6327
6573
|
}
|
|
6328
6574
|
},
|
|
6329
6575
|
{
|
|
6330
|
-
isLabelPlaceholder: true,
|
|
6331
6576
|
labelPlacement: "inside",
|
|
6332
6577
|
size: "sm",
|
|
6333
6578
|
class: {
|
|
6334
|
-
label: ["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-
|
|
6579
|
+
label: ["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"],
|
|
6335
6580
|
innerWrapper: "pt-4"
|
|
6336
6581
|
}
|
|
6337
6582
|
},
|
|
6338
6583
|
{
|
|
6339
|
-
isLabelPlaceholder: true,
|
|
6340
6584
|
labelPlacement: "inside",
|
|
6341
6585
|
size: "md",
|
|
6342
6586
|
class: {
|
|
6343
6587
|
label: [
|
|
6344
|
-
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-
|
|
6588
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
|
|
6345
6589
|
],
|
|
6346
6590
|
innerWrapper: "pt-4"
|
|
6347
6591
|
}
|
|
6348
6592
|
},
|
|
6349
6593
|
{
|
|
6350
|
-
isLabelPlaceholder: true,
|
|
6351
6594
|
labelPlacement: "inside",
|
|
6352
6595
|
size: "lg",
|
|
6353
6596
|
class: {
|
|
6354
6597
|
label: [
|
|
6355
6598
|
"text-medium",
|
|
6356
|
-
"group-data-[filled=true]
|
|
6357
|
-
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_5px)]"
|
|
6599
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
|
|
6358
6600
|
],
|
|
6359
6601
|
innerWrapper: "pt-5"
|
|
6360
6602
|
}
|
|
6361
6603
|
},
|
|
6362
6604
|
{
|
|
6363
|
-
|
|
6605
|
+
labelPlacement: "inside",
|
|
6606
|
+
variant: ["faded", "bordered"],
|
|
6607
|
+
size: "sm",
|
|
6608
|
+
class: {
|
|
6609
|
+
label: [
|
|
6610
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
6611
|
+
]
|
|
6612
|
+
}
|
|
6613
|
+
},
|
|
6614
|
+
{
|
|
6615
|
+
labelPlacement: "inside",
|
|
6616
|
+
variant: ["faded", "bordered"],
|
|
6617
|
+
size: "md",
|
|
6618
|
+
class: {
|
|
6619
|
+
label: [
|
|
6620
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
|
|
6621
|
+
]
|
|
6622
|
+
}
|
|
6623
|
+
},
|
|
6624
|
+
{
|
|
6625
|
+
labelPlacement: "inside",
|
|
6626
|
+
variant: ["faded", "bordered"],
|
|
6627
|
+
size: "lg",
|
|
6628
|
+
class: {
|
|
6629
|
+
label: [
|
|
6630
|
+
"text-medium",
|
|
6631
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
6632
|
+
]
|
|
6633
|
+
}
|
|
6634
|
+
},
|
|
6635
|
+
{
|
|
6636
|
+
labelPlacement: "inside",
|
|
6637
|
+
variant: "underlined",
|
|
6638
|
+
size: "sm",
|
|
6639
|
+
class: {
|
|
6640
|
+
label: ["group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"]
|
|
6641
|
+
}
|
|
6642
|
+
},
|
|
6643
|
+
{
|
|
6644
|
+
labelPlacement: "inside",
|
|
6645
|
+
variant: "underlined",
|
|
6646
|
+
size: "md",
|
|
6647
|
+
class: {
|
|
6648
|
+
label: [
|
|
6649
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
|
|
6650
|
+
]
|
|
6651
|
+
}
|
|
6652
|
+
},
|
|
6653
|
+
{
|
|
6654
|
+
labelPlacement: "inside",
|
|
6655
|
+
variant: "underlined",
|
|
6656
|
+
size: "lg",
|
|
6657
|
+
class: {
|
|
6658
|
+
label: [
|
|
6659
|
+
"text-medium",
|
|
6660
|
+
"group-data-[filled=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
|
|
6661
|
+
]
|
|
6662
|
+
}
|
|
6663
|
+
},
|
|
6664
|
+
{
|
|
6364
6665
|
labelPlacement: "outside",
|
|
6365
6666
|
size: "sm",
|
|
6366
6667
|
class: {
|
|
6367
6668
|
label: [
|
|
6368
6669
|
"left-2",
|
|
6369
|
-
"text-
|
|
6370
|
-
"group-data-[filled=true]:text-tiny",
|
|
6670
|
+
"text-tiny",
|
|
6371
6671
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
6372
|
-
]
|
|
6672
|
+
],
|
|
6673
|
+
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"
|
|
6373
6674
|
}
|
|
6374
6675
|
},
|
|
6375
6676
|
{
|
|
6376
|
-
isLabelPlaceholder: true,
|
|
6377
6677
|
labelPlacement: "outside",
|
|
6378
6678
|
size: "md",
|
|
6379
6679
|
class: {
|
|
@@ -6381,20 +6681,20 @@ var select = tv({
|
|
|
6381
6681
|
"left-3",
|
|
6382
6682
|
"text-small",
|
|
6383
6683
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
6384
|
-
]
|
|
6684
|
+
],
|
|
6685
|
+
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"
|
|
6385
6686
|
}
|
|
6386
6687
|
},
|
|
6387
6688
|
{
|
|
6388
|
-
isLabelPlaceholder: true,
|
|
6389
6689
|
labelPlacement: "outside",
|
|
6390
6690
|
size: "lg",
|
|
6391
6691
|
class: {
|
|
6392
6692
|
label: [
|
|
6393
6693
|
"left-3",
|
|
6394
6694
|
"text-medium",
|
|
6395
|
-
"group-data-[filled=true]:text-small",
|
|
6396
6695
|
"group-data-[filled=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
6397
|
-
]
|
|
6696
|
+
],
|
|
6697
|
+
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"
|
|
6398
6698
|
}
|
|
6399
6699
|
}
|
|
6400
6700
|
]
|
|
@@ -6402,7 +6702,19 @@ var select = tv({
|
|
|
6402
6702
|
|
|
6403
6703
|
// src/components/menu.ts
|
|
6404
6704
|
var menu = tv({
|
|
6405
|
-
|
|
6705
|
+
slots: {
|
|
6706
|
+
base: "w-full relative flex flex-col gap-1 p-1",
|
|
6707
|
+
list: "w-full flex flex-col gap-0.5 outline-none",
|
|
6708
|
+
emptyContent: [
|
|
6709
|
+
"h-10",
|
|
6710
|
+
"px-2",
|
|
6711
|
+
"py-1.5",
|
|
6712
|
+
"w-full",
|
|
6713
|
+
"h-full",
|
|
6714
|
+
"text-foreground-400",
|
|
6715
|
+
"text-start"
|
|
6716
|
+
]
|
|
6717
|
+
}
|
|
6406
6718
|
});
|
|
6407
6719
|
var menuItem = tv({
|
|
6408
6720
|
slots: {
|
|
@@ -6496,7 +6808,9 @@ var menuItem = tv({
|
|
|
6496
6808
|
},
|
|
6497
6809
|
disableAnimation: {
|
|
6498
6810
|
true: {},
|
|
6499
|
-
false: {
|
|
6811
|
+
false: {
|
|
6812
|
+
base: "data-[hover=true]:transition-colors"
|
|
6813
|
+
}
|
|
6500
6814
|
}
|
|
6501
6815
|
},
|
|
6502
6816
|
defaultVariants: {
|
|
@@ -6666,214 +6980,878 @@ var menuItem = tv({
|
|
|
6666
6980
|
}
|
|
6667
6981
|
},
|
|
6668
6982
|
{
|
|
6669
|
-
variant: "bordered",
|
|
6983
|
+
variant: "bordered",
|
|
6984
|
+
color: "warning",
|
|
6985
|
+
class: {
|
|
6986
|
+
base: [
|
|
6987
|
+
"data-[hover=true]:border-warning data-[hover=true]:text-warning",
|
|
6988
|
+
"data-[selectable=true]:focus:border-warning data-[selectable=true]:focus:text-warning"
|
|
6989
|
+
]
|
|
6990
|
+
}
|
|
6991
|
+
},
|
|
6992
|
+
{
|
|
6993
|
+
variant: "bordered",
|
|
6994
|
+
color: "danger",
|
|
6995
|
+
class: {
|
|
6996
|
+
base: [
|
|
6997
|
+
"data-[hover=true]:border-danger data-[hover=true]:text-danger",
|
|
6998
|
+
"data-[selectable=true]:focus:border-danger data-[selectable=true]:focus:text-danger"
|
|
6999
|
+
]
|
|
7000
|
+
}
|
|
7001
|
+
},
|
|
7002
|
+
{
|
|
7003
|
+
variant: "flat",
|
|
7004
|
+
color: "default",
|
|
7005
|
+
class: {
|
|
7006
|
+
base: [
|
|
7007
|
+
"data-[hover=true]:bg-default/40",
|
|
7008
|
+
"data-[hover=true]:text-default-foreground",
|
|
7009
|
+
"data-[selectable=true]:focus:bg-default/40",
|
|
7010
|
+
"data-[selectable=true]:focus:text-default-foreground"
|
|
7011
|
+
]
|
|
7012
|
+
}
|
|
7013
|
+
},
|
|
7014
|
+
{
|
|
7015
|
+
variant: "flat",
|
|
7016
|
+
color: "primary",
|
|
7017
|
+
class: {
|
|
7018
|
+
base: [
|
|
7019
|
+
"data-[hover=true]:bg-primary/20 data-[hover=true]:text-primary",
|
|
7020
|
+
"data-[selectable=true]:focus:bg-primary/20 data-[selectable=true]:focus:text-primary"
|
|
7021
|
+
]
|
|
7022
|
+
}
|
|
7023
|
+
},
|
|
7024
|
+
{
|
|
7025
|
+
variant: "flat",
|
|
7026
|
+
color: "secondary",
|
|
7027
|
+
class: {
|
|
7028
|
+
base: [
|
|
7029
|
+
"data-[hover=true]:bg-secondary/20 data-[hover=true]:text-secondary",
|
|
7030
|
+
"data-[selectable=true]:focus:bg-secondary/20 data-[selectable=true]:focus:text-secondary"
|
|
7031
|
+
]
|
|
7032
|
+
}
|
|
7033
|
+
},
|
|
7034
|
+
{
|
|
7035
|
+
variant: "flat",
|
|
7036
|
+
color: "success",
|
|
7037
|
+
class: {
|
|
7038
|
+
base: [
|
|
7039
|
+
"data-[hover=true]:bg-success/20 data-[hover=true]:text-success",
|
|
7040
|
+
"data-[selectable=true]:focus:bg-success/20 data-[selectable=true]:focus:text-success"
|
|
7041
|
+
]
|
|
7042
|
+
}
|
|
7043
|
+
},
|
|
7044
|
+
{
|
|
7045
|
+
variant: "flat",
|
|
7046
|
+
color: "warning",
|
|
7047
|
+
class: {
|
|
7048
|
+
base: [
|
|
7049
|
+
"data-[hover=true]:bg-warning/20 data-[hover=true]:text-warning",
|
|
7050
|
+
"data-[selectable=true]:focus:bg-warning/20 data-[selectable=true]:focus:text-warning"
|
|
7051
|
+
]
|
|
7052
|
+
}
|
|
7053
|
+
},
|
|
7054
|
+
{
|
|
7055
|
+
variant: "flat",
|
|
7056
|
+
color: "danger",
|
|
7057
|
+
class: {
|
|
7058
|
+
base: [
|
|
7059
|
+
"data-[hover=true]:bg-danger/20 data-[hover=true]:text-danger",
|
|
7060
|
+
"data-[selectable=true]:focus:bg-danger/20 data-[selectable=true]:focus:text-danger"
|
|
7061
|
+
]
|
|
7062
|
+
}
|
|
7063
|
+
},
|
|
7064
|
+
{
|
|
7065
|
+
variant: "faded",
|
|
7066
|
+
color: "default",
|
|
7067
|
+
class: {
|
|
7068
|
+
base: [
|
|
7069
|
+
"data-[hover=true]:text-default-foreground",
|
|
7070
|
+
"data-[selectable=true]:focus:text-default-foreground"
|
|
7071
|
+
]
|
|
7072
|
+
}
|
|
7073
|
+
},
|
|
7074
|
+
{
|
|
7075
|
+
variant: "faded",
|
|
7076
|
+
color: "primary",
|
|
7077
|
+
class: {
|
|
7078
|
+
base: ["data-[hover=true]:text-primary", "data-[selectable=true]:focus:text-primary"]
|
|
7079
|
+
}
|
|
7080
|
+
},
|
|
7081
|
+
{
|
|
7082
|
+
variant: "faded",
|
|
7083
|
+
color: "secondary",
|
|
7084
|
+
class: {
|
|
7085
|
+
base: ["data-[hover=true]:text-secondary", "data-[selectable=true]:focus:text-secondary"]
|
|
7086
|
+
}
|
|
7087
|
+
},
|
|
7088
|
+
{
|
|
7089
|
+
variant: "faded",
|
|
7090
|
+
color: "success",
|
|
7091
|
+
class: {
|
|
7092
|
+
base: ["data-[hover=true]:text-success", "data-[selectable=true]:focus:text-success"]
|
|
7093
|
+
}
|
|
7094
|
+
},
|
|
7095
|
+
{
|
|
7096
|
+
variant: "faded",
|
|
7097
|
+
color: "warning",
|
|
7098
|
+
class: {
|
|
7099
|
+
base: ["data-[hover=true]:text-warning", "data-[selectable=true]:focus:text-warning"]
|
|
7100
|
+
}
|
|
7101
|
+
},
|
|
7102
|
+
{
|
|
7103
|
+
variant: "faded",
|
|
7104
|
+
color: "danger",
|
|
7105
|
+
class: {
|
|
7106
|
+
base: ["data-[hover=true]:text-danger", "data-[selectable=true]:focus:text-danger"]
|
|
7107
|
+
}
|
|
7108
|
+
},
|
|
7109
|
+
{
|
|
7110
|
+
variant: "light",
|
|
7111
|
+
color: "default",
|
|
7112
|
+
class: {
|
|
7113
|
+
base: [
|
|
7114
|
+
"data-[hover=true]:text-default-500",
|
|
7115
|
+
"data-[selectable=true]:focus:text-default-500"
|
|
7116
|
+
]
|
|
7117
|
+
}
|
|
7118
|
+
},
|
|
7119
|
+
{
|
|
7120
|
+
variant: "light",
|
|
7121
|
+
color: "primary",
|
|
7122
|
+
class: {
|
|
7123
|
+
base: ["data-[hover=true]:text-primary", "data-[selectable=true]:focus:text-primary"]
|
|
7124
|
+
}
|
|
7125
|
+
},
|
|
7126
|
+
{
|
|
7127
|
+
variant: "light",
|
|
7128
|
+
color: "secondary",
|
|
7129
|
+
class: {
|
|
7130
|
+
base: ["data-[hover=true]:text-secondary", "data-[selectable=true]:focus:text-secondary"]
|
|
7131
|
+
}
|
|
7132
|
+
},
|
|
7133
|
+
{
|
|
7134
|
+
variant: "light",
|
|
7135
|
+
color: "success",
|
|
7136
|
+
class: {
|
|
7137
|
+
base: ["data-[hover=true]:text-success", "data-[selectable=true]:focus:text-success"]
|
|
7138
|
+
}
|
|
7139
|
+
},
|
|
7140
|
+
{
|
|
7141
|
+
variant: "light",
|
|
7142
|
+
color: "warning",
|
|
7143
|
+
class: {
|
|
7144
|
+
base: ["data-[hover=true]:text-warning", "data-[selectable=true]:focus:text-warning"]
|
|
7145
|
+
}
|
|
7146
|
+
},
|
|
7147
|
+
{
|
|
7148
|
+
variant: "light",
|
|
7149
|
+
color: "danger",
|
|
7150
|
+
class: {
|
|
7151
|
+
base: ["data-[hover=true]:text-danger", "data-[selectable=true]:focus:text-danger"]
|
|
7152
|
+
}
|
|
7153
|
+
}
|
|
7154
|
+
]
|
|
7155
|
+
});
|
|
7156
|
+
var menuSection = tv({
|
|
7157
|
+
slots: {
|
|
7158
|
+
base: "relative mb-2",
|
|
7159
|
+
heading: "pl-1 text-tiny text-foreground-500",
|
|
7160
|
+
group: "data-[has-title=true]:pt-1",
|
|
7161
|
+
divider: "mt-2"
|
|
7162
|
+
}
|
|
7163
|
+
});
|
|
7164
|
+
|
|
7165
|
+
// src/components/scroll-shadow.ts
|
|
7166
|
+
var verticalShadow = [
|
|
7167
|
+
"data-[top-scroll=true]:[mask-image:linear-gradient(0deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]",
|
|
7168
|
+
"data-[bottom-scroll=true]:[mask-image:linear-gradient(180deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]",
|
|
7169
|
+
"data-[top-bottom-scroll=true]:[mask-image:linear-gradient(#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"
|
|
7170
|
+
];
|
|
7171
|
+
var horizontalShadow = [
|
|
7172
|
+
"data-[left-scroll=true]:[mask-image:linear-gradient(270deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]",
|
|
7173
|
+
"data-[right-scroll=true]:[mask-image:linear-gradient(90deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]",
|
|
7174
|
+
"data-[left-right-scroll=true]:[mask-image:linear-gradient(to_right,#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"
|
|
7175
|
+
];
|
|
7176
|
+
var scrollShadow = tv({
|
|
7177
|
+
base: [],
|
|
7178
|
+
variants: {
|
|
7179
|
+
orientation: {
|
|
7180
|
+
vertical: ["overflow-y-auto", ...verticalShadow],
|
|
7181
|
+
horizontal: ["overflow-x-auto", ...horizontalShadow]
|
|
7182
|
+
},
|
|
7183
|
+
hideScrollBar: {
|
|
7184
|
+
true: "scrollbar-hide",
|
|
7185
|
+
false: ""
|
|
7186
|
+
}
|
|
7187
|
+
},
|
|
7188
|
+
defaultVariants: {
|
|
7189
|
+
orientation: "vertical",
|
|
7190
|
+
hideScrollBar: false
|
|
7191
|
+
}
|
|
7192
|
+
});
|
|
7193
|
+
|
|
7194
|
+
// src/components/slider.ts
|
|
7195
|
+
var slider = tv({
|
|
7196
|
+
slots: {
|
|
7197
|
+
base: "flex flex-col w-full gap-1",
|
|
7198
|
+
labelWrapper: "w-full flex justify-between items-center",
|
|
7199
|
+
label: "",
|
|
7200
|
+
value: "",
|
|
7201
|
+
step: [
|
|
7202
|
+
"h-1.5",
|
|
7203
|
+
"w-1.5",
|
|
7204
|
+
"absolute",
|
|
7205
|
+
"rounded-full",
|
|
7206
|
+
"bg-default-300/50",
|
|
7207
|
+
"data-[in-range=true]:bg-background/50"
|
|
7208
|
+
],
|
|
7209
|
+
mark: [
|
|
7210
|
+
"absolute",
|
|
7211
|
+
"text-small",
|
|
7212
|
+
"cursor-default",
|
|
7213
|
+
"opacity-50",
|
|
7214
|
+
"data-[in-range=true]:opacity-100"
|
|
7215
|
+
],
|
|
7216
|
+
trackWrapper: "relative flex gap-2",
|
|
7217
|
+
track: ["flex", "w-full", "relative", "rounded-full", "bg-default-300/50"],
|
|
7218
|
+
filler: "h-full absolute",
|
|
7219
|
+
thumb: [
|
|
7220
|
+
"flex",
|
|
7221
|
+
"justify-center",
|
|
7222
|
+
"items-center",
|
|
7223
|
+
"before:absolute",
|
|
7224
|
+
"before:w-11",
|
|
7225
|
+
"before:h-11",
|
|
7226
|
+
"before:rounded-full",
|
|
7227
|
+
"after:shadow-small",
|
|
7228
|
+
"after:shadow-small",
|
|
7229
|
+
"after:bg-background",
|
|
7230
|
+
"data-[focused=true]:z-10",
|
|
7231
|
+
dataFocusVisibleClasses
|
|
7232
|
+
],
|
|
7233
|
+
startContent: [],
|
|
7234
|
+
endContent: []
|
|
7235
|
+
},
|
|
7236
|
+
variants: {
|
|
7237
|
+
size: {
|
|
7238
|
+
sm: {
|
|
7239
|
+
label: "text-small",
|
|
7240
|
+
value: "text-small",
|
|
7241
|
+
thumb: "w-5 h-5 after:w-4 after:h-4",
|
|
7242
|
+
step: "data-[in-range=false]:bg-default-200"
|
|
7243
|
+
},
|
|
7244
|
+
md: {
|
|
7245
|
+
thumb: "w-6 h-6 after:w-5 after:h-5",
|
|
7246
|
+
label: "text-small",
|
|
7247
|
+
value: "text-small"
|
|
7248
|
+
},
|
|
7249
|
+
lg: {
|
|
7250
|
+
thumb: "h-7 w-7 after:w-5 after:h-5",
|
|
7251
|
+
step: "w-2 h-2",
|
|
7252
|
+
label: "text-medium",
|
|
7253
|
+
value: "text-medium",
|
|
7254
|
+
mark: "mt-2"
|
|
7255
|
+
}
|
|
7256
|
+
},
|
|
7257
|
+
radius: {
|
|
7258
|
+
none: {
|
|
7259
|
+
thumb: "rounded-none after:rounded-none"
|
|
7260
|
+
},
|
|
7261
|
+
sm: {
|
|
7262
|
+
thumb: "rounded-[calc(theme(borderRadius.small)/2)] after:rounded-[calc(theme(borderRadius.small)/3)]"
|
|
7263
|
+
},
|
|
7264
|
+
md: {
|
|
7265
|
+
thumb: "rounded-[calc(theme(borderRadius.medium)/2)] after:rounded-[calc(theme(borderRadius.medium)/3)]"
|
|
7266
|
+
},
|
|
7267
|
+
lg: {
|
|
7268
|
+
thumb: "rounded-[calc(theme(borderRadius.large)/1.5)] after:rounded-[calc(theme(borderRadius.large)/2)]"
|
|
7269
|
+
},
|
|
7270
|
+
full: {
|
|
7271
|
+
thumb: "rounded-full after:rounded-full"
|
|
7272
|
+
}
|
|
7273
|
+
},
|
|
7274
|
+
color: {
|
|
7275
|
+
foreground: {
|
|
7276
|
+
filler: "bg-foreground",
|
|
7277
|
+
thumb: "bg-foreground"
|
|
7278
|
+
},
|
|
7279
|
+
primary: {
|
|
7280
|
+
filler: "bg-primary",
|
|
7281
|
+
thumb: "bg-primary"
|
|
7282
|
+
},
|
|
7283
|
+
secondary: {
|
|
7284
|
+
filler: "bg-secondary",
|
|
7285
|
+
thumb: "bg-secondary"
|
|
7286
|
+
},
|
|
7287
|
+
success: {
|
|
7288
|
+
filler: "bg-success",
|
|
7289
|
+
thumb: "bg-success"
|
|
7290
|
+
},
|
|
7291
|
+
warning: {
|
|
7292
|
+
filler: "bg-warning",
|
|
7293
|
+
thumb: "bg-warning"
|
|
7294
|
+
},
|
|
7295
|
+
danger: {
|
|
7296
|
+
filler: "bg-danger",
|
|
7297
|
+
thumb: "bg-danger"
|
|
7298
|
+
}
|
|
7299
|
+
},
|
|
7300
|
+
isVertical: {
|
|
7301
|
+
true: {
|
|
7302
|
+
base: "w-auto h-full flex-col-reverse items-center",
|
|
7303
|
+
trackWrapper: "flex-col h-full justify-center items-center",
|
|
7304
|
+
filler: "w-full h-auto",
|
|
7305
|
+
thumb: "left-1/2",
|
|
7306
|
+
track: "h-full border-y-transparent",
|
|
7307
|
+
labelWrapper: "flex-col justify-center items-center",
|
|
7308
|
+
step: ["left-1/2", "-translate-x-1/2", "translate-y-1/2"],
|
|
7309
|
+
mark: ["left-1/2", "ml-1", "translate-x-1/2", "-translate-y-1/2"]
|
|
7310
|
+
},
|
|
7311
|
+
false: {
|
|
7312
|
+
thumb: "top-1/2",
|
|
7313
|
+
trackWrapper: "items-center",
|
|
7314
|
+
track: "border-x-transparent",
|
|
7315
|
+
step: ["top-1/2", "-translate-x-1/2", "-translate-y-1/2"],
|
|
7316
|
+
mark: ["top-1/2", "mt-1", "-translate-x-1/2", "translate-y-1/2"]
|
|
7317
|
+
}
|
|
7318
|
+
},
|
|
7319
|
+
isDisabled: {
|
|
7320
|
+
false: {
|
|
7321
|
+
thumb: ["cursor-grab", "data-[dragging=true]:cursor-grabbing"]
|
|
7322
|
+
},
|
|
7323
|
+
true: {
|
|
7324
|
+
base: "opacity-disabled",
|
|
7325
|
+
thumb: "cursor-default"
|
|
7326
|
+
}
|
|
7327
|
+
},
|
|
7328
|
+
hasMarks: {
|
|
7329
|
+
true: {
|
|
7330
|
+
base: "mb-5"
|
|
7331
|
+
},
|
|
7332
|
+
false: {}
|
|
7333
|
+
},
|
|
7334
|
+
showOutline: {
|
|
7335
|
+
true: {
|
|
7336
|
+
thumb: "ring-2 ring-background"
|
|
7337
|
+
},
|
|
7338
|
+
false: {
|
|
7339
|
+
thumb: "ring-transparent border-0"
|
|
7340
|
+
}
|
|
7341
|
+
},
|
|
7342
|
+
hideValue: {
|
|
7343
|
+
true: {
|
|
7344
|
+
value: "sr-only"
|
|
7345
|
+
}
|
|
7346
|
+
},
|
|
7347
|
+
hideThumb: {
|
|
7348
|
+
true: {
|
|
7349
|
+
thumb: "sr-only",
|
|
7350
|
+
track: "overflow-hidden cursor-pointer"
|
|
7351
|
+
}
|
|
7352
|
+
},
|
|
7353
|
+
hasSingleThumb: {
|
|
7354
|
+
true: {},
|
|
7355
|
+
false: {}
|
|
7356
|
+
},
|
|
7357
|
+
disableAnimation: {
|
|
7358
|
+
true: {
|
|
7359
|
+
thumb: "data-[dragging=true]:after:scale-100"
|
|
7360
|
+
},
|
|
7361
|
+
false: {
|
|
7362
|
+
thumb: "after:transition-all motion-reduce:after:transition-none",
|
|
7363
|
+
mark: "transition-opacity motion-reduce:transition-none"
|
|
7364
|
+
}
|
|
7365
|
+
},
|
|
7366
|
+
disableThumbScale: {
|
|
7367
|
+
true: {},
|
|
7368
|
+
false: {
|
|
7369
|
+
thumb: "data-[dragging=true]:after:scale-80"
|
|
7370
|
+
}
|
|
7371
|
+
}
|
|
7372
|
+
},
|
|
7373
|
+
compoundVariants: [
|
|
7374
|
+
{
|
|
7375
|
+
size: ["sm", "md"],
|
|
7376
|
+
showOutline: false,
|
|
7377
|
+
class: {
|
|
7378
|
+
thumb: "shadow-small"
|
|
7379
|
+
}
|
|
7380
|
+
},
|
|
7381
|
+
{
|
|
7382
|
+
size: "sm",
|
|
7383
|
+
color: "foreground",
|
|
7384
|
+
class: {
|
|
7385
|
+
step: "data-[in-range=true]:bg-foreground"
|
|
7386
|
+
}
|
|
7387
|
+
},
|
|
7388
|
+
{
|
|
7389
|
+
size: "sm",
|
|
7390
|
+
color: "primary",
|
|
7391
|
+
class: {
|
|
7392
|
+
step: "data-[in-range=true]:bg-primary"
|
|
7393
|
+
}
|
|
7394
|
+
},
|
|
7395
|
+
{
|
|
7396
|
+
size: "sm",
|
|
7397
|
+
color: "secondary",
|
|
7398
|
+
class: {
|
|
7399
|
+
step: "data-[in-range=true]:bg-secondary"
|
|
7400
|
+
}
|
|
7401
|
+
},
|
|
7402
|
+
{
|
|
7403
|
+
size: "sm",
|
|
7404
|
+
color: "success",
|
|
7405
|
+
class: {
|
|
7406
|
+
step: "data-[in-range=true]:bg-success"
|
|
7407
|
+
}
|
|
7408
|
+
},
|
|
7409
|
+
{
|
|
7410
|
+
size: "sm",
|
|
7411
|
+
color: "warning",
|
|
7412
|
+
class: {
|
|
7413
|
+
step: "data-[in-range=true]:bg-warning"
|
|
7414
|
+
}
|
|
7415
|
+
},
|
|
7416
|
+
{
|
|
7417
|
+
size: "sm",
|
|
7418
|
+
color: "danger",
|
|
7419
|
+
class: {
|
|
7420
|
+
step: "data-[in-range=true]:bg-danger"
|
|
7421
|
+
}
|
|
7422
|
+
},
|
|
7423
|
+
{
|
|
7424
|
+
size: "sm",
|
|
7425
|
+
isVertical: false,
|
|
7426
|
+
class: {
|
|
7427
|
+
track: "h-1 my-[calc((theme(spacing.5)-theme(spacing.1))/2)] data-[thumb-hidden=false]:border-x-[calc(theme(spacing.5)/2)]"
|
|
7428
|
+
}
|
|
7429
|
+
},
|
|
7430
|
+
{
|
|
7431
|
+
size: "md",
|
|
7432
|
+
isVertical: false,
|
|
7433
|
+
class: {
|
|
7434
|
+
track: "h-3 my-[calc((theme(spacing.6)-theme(spacing.3))/2)] data-[thumb-hidden=false]:border-x-[calc(theme(spacing.6)/2)]"
|
|
7435
|
+
}
|
|
7436
|
+
},
|
|
7437
|
+
{
|
|
7438
|
+
size: "lg",
|
|
7439
|
+
isVertical: false,
|
|
7440
|
+
class: {
|
|
7441
|
+
track: "h-7 my-[calc((theme(spacing.7)-theme(spacing.5))/2)] data-[thumb-hidden=false]:border-x-[calc(theme(spacing.7)/2)]"
|
|
7442
|
+
}
|
|
7443
|
+
},
|
|
7444
|
+
{
|
|
7445
|
+
size: "sm",
|
|
7446
|
+
isVertical: true,
|
|
7447
|
+
class: {
|
|
7448
|
+
track: "w-1 mx-[calc((theme(spacing.5)-theme(spacing.1))/2)] data-[thumb-hidden=false]:border-y-[calc(theme(spacing.5)/2)]"
|
|
7449
|
+
}
|
|
7450
|
+
},
|
|
7451
|
+
{
|
|
7452
|
+
size: "md",
|
|
7453
|
+
isVertical: true,
|
|
7454
|
+
class: {
|
|
7455
|
+
track: "w-3 mx-[calc((theme(spacing.6)-theme(spacing.3))/2)] data-[thumb-hidden=false]:border-y-[calc(theme(spacing.6)/2)]"
|
|
7456
|
+
}
|
|
7457
|
+
},
|
|
7458
|
+
{
|
|
7459
|
+
size: "lg",
|
|
7460
|
+
isVertical: true,
|
|
7461
|
+
class: {
|
|
7462
|
+
track: "w-7 mx-[calc((theme(spacing.7)-theme(spacing.5))/2)] data-[thumb-hidden=false]:border-y-[calc(theme(spacing.7)/2)]"
|
|
7463
|
+
}
|
|
7464
|
+
},
|
|
7465
|
+
{
|
|
7466
|
+
color: "foreground",
|
|
7467
|
+
isVertical: false,
|
|
7468
|
+
hasSingleThumb: true,
|
|
7469
|
+
class: {
|
|
7470
|
+
track: "border-s-foreground"
|
|
7471
|
+
}
|
|
7472
|
+
},
|
|
7473
|
+
{
|
|
7474
|
+
color: "primary",
|
|
7475
|
+
isVertical: false,
|
|
7476
|
+
hasSingleThumb: true,
|
|
7477
|
+
class: {
|
|
7478
|
+
track: "border-s-primary"
|
|
7479
|
+
}
|
|
7480
|
+
},
|
|
7481
|
+
{
|
|
7482
|
+
color: "secondary",
|
|
7483
|
+
isVertical: false,
|
|
7484
|
+
hasSingleThumb: true,
|
|
7485
|
+
class: {
|
|
7486
|
+
track: "border-s-secondary"
|
|
7487
|
+
}
|
|
7488
|
+
},
|
|
7489
|
+
{
|
|
7490
|
+
color: "success",
|
|
7491
|
+
isVertical: false,
|
|
7492
|
+
hasSingleThumb: true,
|
|
7493
|
+
class: {
|
|
7494
|
+
track: "border-s-success"
|
|
7495
|
+
}
|
|
7496
|
+
},
|
|
7497
|
+
{
|
|
6670
7498
|
color: "warning",
|
|
7499
|
+
isVertical: false,
|
|
7500
|
+
hasSingleThumb: true,
|
|
6671
7501
|
class: {
|
|
6672
|
-
|
|
6673
|
-
"data-[hover=true]:border-warning data-[hover=true]:text-warning",
|
|
6674
|
-
"data-[selectable=true]:focus:border-warning data-[selectable=true]:focus:text-warning"
|
|
6675
|
-
]
|
|
7502
|
+
track: "border-s-warning"
|
|
6676
7503
|
}
|
|
6677
7504
|
},
|
|
6678
7505
|
{
|
|
6679
|
-
variant: "bordered",
|
|
6680
7506
|
color: "danger",
|
|
7507
|
+
isVertical: false,
|
|
7508
|
+
hasSingleThumb: true,
|
|
6681
7509
|
class: {
|
|
6682
|
-
|
|
6683
|
-
"data-[hover=true]:border-danger data-[hover=true]:text-danger",
|
|
6684
|
-
"data-[selectable=true]:focus:border-danger data-[selectable=true]:focus:text-danger"
|
|
6685
|
-
]
|
|
7510
|
+
track: "border-s-danger"
|
|
6686
7511
|
}
|
|
6687
7512
|
},
|
|
6688
7513
|
{
|
|
6689
|
-
|
|
6690
|
-
|
|
7514
|
+
color: "foreground",
|
|
7515
|
+
isVertical: true,
|
|
7516
|
+
hasSingleThumb: true,
|
|
6691
7517
|
class: {
|
|
6692
|
-
|
|
6693
|
-
"data-[hover=true]:bg-default/40",
|
|
6694
|
-
"data-[hover=true]:text-default-foreground",
|
|
6695
|
-
"data-[selectable=true]:focus:bg-default/40",
|
|
6696
|
-
"data-[selectable=true]:focus:text-default-foreground"
|
|
6697
|
-
]
|
|
7518
|
+
track: "border-b-foreground"
|
|
6698
7519
|
}
|
|
6699
7520
|
},
|
|
6700
7521
|
{
|
|
6701
|
-
variant: "flat",
|
|
6702
7522
|
color: "primary",
|
|
7523
|
+
isVertical: true,
|
|
7524
|
+
hasSingleThumb: true,
|
|
6703
7525
|
class: {
|
|
6704
|
-
|
|
6705
|
-
"data-[hover=true]:bg-primary/20 data-[hover=true]:text-primary",
|
|
6706
|
-
"data-[selectable=true]:focus:bg-primary/20 data-[selectable=true]:focus:text-primary"
|
|
6707
|
-
]
|
|
7526
|
+
track: "border-b-primary"
|
|
6708
7527
|
}
|
|
6709
7528
|
},
|
|
6710
7529
|
{
|
|
6711
|
-
variant: "flat",
|
|
6712
7530
|
color: "secondary",
|
|
7531
|
+
isVertical: true,
|
|
7532
|
+
hasSingleThumb: true,
|
|
6713
7533
|
class: {
|
|
6714
|
-
|
|
6715
|
-
"data-[hover=true]:bg-secondary/20 data-[hover=true]:text-secondary",
|
|
6716
|
-
"data-[selectable=true]:focus:bg-secondary/20 data-[selectable=true]:focus:text-secondary"
|
|
6717
|
-
]
|
|
7534
|
+
track: "border-b-secondary"
|
|
6718
7535
|
}
|
|
6719
7536
|
},
|
|
6720
7537
|
{
|
|
6721
|
-
variant: "flat",
|
|
6722
7538
|
color: "success",
|
|
7539
|
+
isVertical: true,
|
|
7540
|
+
hasSingleThumb: true,
|
|
6723
7541
|
class: {
|
|
6724
|
-
|
|
6725
|
-
"data-[hover=true]:bg-success/20 data-[hover=true]:text-success",
|
|
6726
|
-
"data-[selectable=true]:focus:bg-success/20 data-[selectable=true]:focus:text-success"
|
|
6727
|
-
]
|
|
7542
|
+
track: "border-b-success"
|
|
6728
7543
|
}
|
|
6729
7544
|
},
|
|
6730
7545
|
{
|
|
6731
|
-
variant: "flat",
|
|
6732
7546
|
color: "warning",
|
|
7547
|
+
isVertical: true,
|
|
7548
|
+
hasSingleThumb: true,
|
|
6733
7549
|
class: {
|
|
6734
|
-
|
|
6735
|
-
"data-[hover=true]:bg-warning/20 data-[hover=true]:text-warning",
|
|
6736
|
-
"data-[selectable=true]:focus:bg-warning/20 data-[selectable=true]:focus:text-warning"
|
|
6737
|
-
]
|
|
7550
|
+
track: "border-b-warning"
|
|
6738
7551
|
}
|
|
6739
7552
|
},
|
|
6740
7553
|
{
|
|
6741
|
-
variant: "flat",
|
|
6742
7554
|
color: "danger",
|
|
7555
|
+
isVertical: true,
|
|
7556
|
+
hasSingleThumb: true,
|
|
6743
7557
|
class: {
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
7558
|
+
track: "border-b-danger"
|
|
7559
|
+
}
|
|
7560
|
+
}
|
|
7561
|
+
],
|
|
7562
|
+
defaultVariants: {
|
|
7563
|
+
size: "md",
|
|
7564
|
+
color: "primary",
|
|
7565
|
+
radius: "full",
|
|
7566
|
+
hideValue: false,
|
|
7567
|
+
hideThumb: false,
|
|
7568
|
+
isDisabled: false,
|
|
7569
|
+
disableThumbScale: false,
|
|
7570
|
+
disableAnimation: false,
|
|
7571
|
+
showOutline: false
|
|
7572
|
+
}
|
|
7573
|
+
});
|
|
7574
|
+
|
|
7575
|
+
// src/components/breadcrumbs.ts
|
|
7576
|
+
var breadcrumbItem = tv({
|
|
7577
|
+
slots: {
|
|
7578
|
+
base: "flex items-center",
|
|
7579
|
+
item: [
|
|
7580
|
+
"flex gap-1 items-center",
|
|
7581
|
+
"cursor-pointer",
|
|
7582
|
+
"whitespace-nowrap",
|
|
7583
|
+
"line-clamp-1",
|
|
7584
|
+
"outline-none",
|
|
7585
|
+
"tap-highlight-transparent",
|
|
7586
|
+
...dataFocusVisibleClasses
|
|
7587
|
+
],
|
|
7588
|
+
separator: "text-default-400 px-1"
|
|
7589
|
+
},
|
|
7590
|
+
variants: {
|
|
7591
|
+
color: {
|
|
7592
|
+
foreground: {
|
|
7593
|
+
item: "text-foreground/50",
|
|
7594
|
+
separator: "text-foreground/50"
|
|
7595
|
+
},
|
|
7596
|
+
primary: {
|
|
7597
|
+
item: "text-primary/80",
|
|
7598
|
+
separator: "text-primary/80"
|
|
7599
|
+
},
|
|
7600
|
+
secondary: {
|
|
7601
|
+
item: "text-secondary/80",
|
|
7602
|
+
separator: "text-secondary/80"
|
|
7603
|
+
},
|
|
7604
|
+
success: {
|
|
7605
|
+
item: "text-success/80",
|
|
7606
|
+
separator: "text-success/80"
|
|
7607
|
+
},
|
|
7608
|
+
warning: {
|
|
7609
|
+
item: "text-warning/80",
|
|
7610
|
+
separator: "text-warning/80"
|
|
7611
|
+
},
|
|
7612
|
+
danger: {
|
|
7613
|
+
item: "text-danger/80",
|
|
7614
|
+
separator: "text-danger/80"
|
|
7615
|
+
}
|
|
7616
|
+
},
|
|
7617
|
+
size: {
|
|
7618
|
+
sm: {
|
|
7619
|
+
item: "text-tiny"
|
|
7620
|
+
},
|
|
7621
|
+
md: {
|
|
7622
|
+
item: "text-small"
|
|
7623
|
+
},
|
|
7624
|
+
lg: {
|
|
7625
|
+
item: "text-medium"
|
|
7626
|
+
}
|
|
7627
|
+
},
|
|
7628
|
+
underline: {
|
|
7629
|
+
none: {
|
|
7630
|
+
item: "no-underline"
|
|
7631
|
+
},
|
|
7632
|
+
hover: {
|
|
7633
|
+
item: "hover:underline"
|
|
7634
|
+
},
|
|
7635
|
+
always: {
|
|
7636
|
+
item: "underline"
|
|
7637
|
+
},
|
|
7638
|
+
active: {
|
|
7639
|
+
item: "active:underline"
|
|
7640
|
+
},
|
|
7641
|
+
focus: {
|
|
7642
|
+
item: "focus:underline"
|
|
6748
7643
|
}
|
|
6749
7644
|
},
|
|
7645
|
+
isCurrent: {
|
|
7646
|
+
true: {
|
|
7647
|
+
item: "cursor-default"
|
|
7648
|
+
},
|
|
7649
|
+
false: {
|
|
7650
|
+
item: ["hover:opacity-80", "active:opacity-disabled"]
|
|
7651
|
+
}
|
|
7652
|
+
},
|
|
7653
|
+
isDisabled: {
|
|
7654
|
+
true: {
|
|
7655
|
+
item: "opacity-disabled pointer-events-none",
|
|
7656
|
+
separator: "opacity-disabled"
|
|
7657
|
+
}
|
|
7658
|
+
},
|
|
7659
|
+
disableAnimation: {
|
|
7660
|
+
false: {
|
|
7661
|
+
item: "transition-opacity"
|
|
7662
|
+
},
|
|
7663
|
+
true: {
|
|
7664
|
+
item: "transition-none"
|
|
7665
|
+
}
|
|
7666
|
+
}
|
|
7667
|
+
},
|
|
7668
|
+
defaultVariants: {
|
|
7669
|
+
size: "md",
|
|
7670
|
+
color: "foreground",
|
|
7671
|
+
underline: "hover",
|
|
7672
|
+
isDisabled: false,
|
|
7673
|
+
disableAnimation: false
|
|
7674
|
+
},
|
|
7675
|
+
compoundVariants: [
|
|
6750
7676
|
{
|
|
6751
|
-
|
|
6752
|
-
color: "
|
|
7677
|
+
isCurrent: true,
|
|
7678
|
+
color: "foreground",
|
|
6753
7679
|
class: {
|
|
6754
|
-
|
|
6755
|
-
"data-[hover=true]:text-default-foreground",
|
|
6756
|
-
"data-[selectable=true]:focus:text-default-foreground"
|
|
6757
|
-
]
|
|
7680
|
+
item: "text-foreground"
|
|
6758
7681
|
}
|
|
6759
7682
|
},
|
|
6760
7683
|
{
|
|
6761
|
-
|
|
7684
|
+
isCurrent: true,
|
|
6762
7685
|
color: "primary",
|
|
6763
7686
|
class: {
|
|
6764
|
-
|
|
7687
|
+
item: "text-primary"
|
|
6765
7688
|
}
|
|
6766
7689
|
},
|
|
6767
7690
|
{
|
|
6768
|
-
|
|
7691
|
+
isCurrent: true,
|
|
6769
7692
|
color: "secondary",
|
|
6770
7693
|
class: {
|
|
6771
|
-
|
|
7694
|
+
item: "text-secondary"
|
|
6772
7695
|
}
|
|
6773
7696
|
},
|
|
6774
7697
|
{
|
|
6775
|
-
|
|
7698
|
+
isCurrent: true,
|
|
6776
7699
|
color: "success",
|
|
6777
7700
|
class: {
|
|
6778
|
-
|
|
7701
|
+
item: "text-success"
|
|
6779
7702
|
}
|
|
6780
7703
|
},
|
|
6781
7704
|
{
|
|
6782
|
-
|
|
7705
|
+
isCurrent: true,
|
|
6783
7706
|
color: "warning",
|
|
6784
7707
|
class: {
|
|
6785
|
-
|
|
7708
|
+
item: "text-warning"
|
|
6786
7709
|
}
|
|
6787
7710
|
},
|
|
6788
7711
|
{
|
|
6789
|
-
|
|
7712
|
+
isCurrent: true,
|
|
6790
7713
|
color: "danger",
|
|
6791
7714
|
class: {
|
|
6792
|
-
|
|
7715
|
+
item: "text-danger"
|
|
6793
7716
|
}
|
|
6794
7717
|
},
|
|
6795
7718
|
{
|
|
6796
|
-
|
|
6797
|
-
|
|
7719
|
+
isCurrent: false,
|
|
7720
|
+
underline: "none",
|
|
6798
7721
|
class: {
|
|
6799
|
-
|
|
6800
|
-
"data-[hover=true]:text-default-500",
|
|
6801
|
-
"data-[selectable=true]:focus:text-default-500"
|
|
6802
|
-
]
|
|
7722
|
+
item: "no-underline"
|
|
6803
7723
|
}
|
|
6804
7724
|
},
|
|
6805
7725
|
{
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
7726
|
+
underline: ["hover", "always", "active", "focus"],
|
|
7727
|
+
class: "underline-offset-4"
|
|
7728
|
+
}
|
|
7729
|
+
]
|
|
7730
|
+
});
|
|
7731
|
+
var breadcrumbs = tv({
|
|
7732
|
+
slots: {
|
|
7733
|
+
base: "",
|
|
7734
|
+
list: "flex flex-wrap list-none",
|
|
7735
|
+
ellipsis: "text-medium",
|
|
7736
|
+
separator: "text-default-400 px-1"
|
|
7737
|
+
},
|
|
7738
|
+
variants: {
|
|
7739
|
+
size: {
|
|
7740
|
+
sm: {},
|
|
7741
|
+
md: {},
|
|
7742
|
+
lg: {}
|
|
7743
|
+
},
|
|
7744
|
+
radius: {
|
|
7745
|
+
none: {
|
|
7746
|
+
list: "rounded-none"
|
|
7747
|
+
},
|
|
7748
|
+
sm: {
|
|
7749
|
+
list: "rounded-small"
|
|
7750
|
+
},
|
|
7751
|
+
md: {
|
|
7752
|
+
list: "rounded-medium"
|
|
7753
|
+
},
|
|
7754
|
+
lg: {
|
|
7755
|
+
list: "rounded-large"
|
|
7756
|
+
},
|
|
7757
|
+
full: {
|
|
7758
|
+
list: "rounded-full"
|
|
6810
7759
|
}
|
|
6811
7760
|
},
|
|
7761
|
+
variant: {
|
|
7762
|
+
solid: {
|
|
7763
|
+
list: "bg-default-100"
|
|
7764
|
+
},
|
|
7765
|
+
bordered: {
|
|
7766
|
+
list: "border-medium border-default-200 shadow-sm"
|
|
7767
|
+
},
|
|
7768
|
+
light: {}
|
|
7769
|
+
}
|
|
7770
|
+
},
|
|
7771
|
+
defaultVariants: {
|
|
7772
|
+
size: "md",
|
|
7773
|
+
radius: "sm",
|
|
7774
|
+
variant: "light"
|
|
7775
|
+
},
|
|
7776
|
+
compoundVariants: [
|
|
6812
7777
|
{
|
|
6813
|
-
variant: "
|
|
6814
|
-
color: "secondary",
|
|
7778
|
+
variant: ["solid", "bordered"],
|
|
6815
7779
|
class: {
|
|
6816
|
-
|
|
7780
|
+
list: "max-w-fit"
|
|
6817
7781
|
}
|
|
6818
7782
|
},
|
|
6819
7783
|
{
|
|
6820
|
-
variant: "
|
|
6821
|
-
|
|
7784
|
+
variant: ["solid", "bordered"],
|
|
7785
|
+
size: "sm",
|
|
6822
7786
|
class: {
|
|
6823
|
-
|
|
7787
|
+
list: "px-2 py-1"
|
|
6824
7788
|
}
|
|
6825
7789
|
},
|
|
6826
7790
|
{
|
|
6827
|
-
variant: "
|
|
6828
|
-
|
|
7791
|
+
variant: ["solid", "bordered"],
|
|
7792
|
+
size: "md",
|
|
6829
7793
|
class: {
|
|
6830
|
-
|
|
7794
|
+
list: "px-2.5 py-1.5"
|
|
6831
7795
|
}
|
|
6832
7796
|
},
|
|
6833
7797
|
{
|
|
6834
|
-
variant: "
|
|
6835
|
-
|
|
7798
|
+
variant: ["solid", "bordered"],
|
|
7799
|
+
size: "lg",
|
|
6836
7800
|
class: {
|
|
6837
|
-
|
|
7801
|
+
list: "px-3 py-2"
|
|
6838
7802
|
}
|
|
6839
7803
|
}
|
|
6840
7804
|
]
|
|
6841
7805
|
});
|
|
6842
|
-
var menuSection = tv({
|
|
6843
|
-
slots: {
|
|
6844
|
-
base: "relative mb-2",
|
|
6845
|
-
heading: "pl-1 text-tiny text-foreground-500",
|
|
6846
|
-
group: "data-[has-title=true]:pt-1",
|
|
6847
|
-
divider: "mt-2"
|
|
6848
|
-
}
|
|
6849
|
-
});
|
|
6850
7806
|
|
|
6851
|
-
// src/components/
|
|
6852
|
-
var
|
|
6853
|
-
|
|
6854
|
-
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
|
|
6858
|
-
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
|
|
6863
|
-
|
|
7807
|
+
// src/components/autocomplete.ts
|
|
7808
|
+
var autocomplete = tv({
|
|
7809
|
+
slots: {
|
|
7810
|
+
base: "group inline-flex flex-column w-full",
|
|
7811
|
+
listboxWrapper: "scroll-py-6 max-h-64 w-full",
|
|
7812
|
+
listbox: "",
|
|
7813
|
+
popoverContent: "w-full p-1 overflow-hidden",
|
|
7814
|
+
endContentWrapper: "relative flex h-full items-center -mr-2",
|
|
7815
|
+
clearButton: [
|
|
7816
|
+
"text-medium",
|
|
7817
|
+
"translate-x-1",
|
|
7818
|
+
"cursor-text",
|
|
7819
|
+
"opacity-0",
|
|
7820
|
+
"text-default-500",
|
|
7821
|
+
"group-data-[invalid=true]:text-danger",
|
|
7822
|
+
"data-[visible=true]:opacity-100",
|
|
7823
|
+
"data-[visible=true]:cursor-pointer",
|
|
7824
|
+
"sm:data-[visible=true]:opacity-0",
|
|
7825
|
+
"sm:group-data-[hover=true]:data-[visible=true]:opacity-100"
|
|
7826
|
+
],
|
|
7827
|
+
selectorButton: "text-medium"
|
|
7828
|
+
},
|
|
6864
7829
|
variants: {
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
7830
|
+
disableClearable: {
|
|
7831
|
+
true: {
|
|
7832
|
+
clearButton: "hidden"
|
|
7833
|
+
},
|
|
7834
|
+
false: {}
|
|
6868
7835
|
},
|
|
6869
|
-
|
|
6870
|
-
true:
|
|
6871
|
-
|
|
7836
|
+
disableAnimation: {
|
|
7837
|
+
true: {
|
|
7838
|
+
selectorButton: "transition-none"
|
|
7839
|
+
},
|
|
7840
|
+
false: {
|
|
7841
|
+
selectorButton: "transition-transform duration-150 ease motion-reduce:transition-none"
|
|
7842
|
+
}
|
|
7843
|
+
},
|
|
7844
|
+
disableSelectorIconRotation: {
|
|
7845
|
+
true: {},
|
|
7846
|
+
false: {
|
|
7847
|
+
selectorButton: "data-[open=true]:rotate-180"
|
|
7848
|
+
}
|
|
6872
7849
|
}
|
|
6873
7850
|
},
|
|
6874
7851
|
defaultVariants: {
|
|
6875
|
-
|
|
6876
|
-
|
|
7852
|
+
disableAnimation: false,
|
|
7853
|
+
disableClearable: false,
|
|
7854
|
+
disableSelectorIconRotation: false
|
|
6877
7855
|
}
|
|
6878
7856
|
});
|
|
6879
7857
|
|
|
@@ -7314,6 +8292,11 @@ var transition_default = {
|
|
|
7314
8292
|
"transition-timing-function": "ease",
|
|
7315
8293
|
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
7316
8294
|
},
|
|
8295
|
+
".transition-size": {
|
|
8296
|
+
"transition-property": "width, height",
|
|
8297
|
+
"transition-timing-function": "ease",
|
|
8298
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
8299
|
+
},
|
|
7317
8300
|
".transition-left": {
|
|
7318
8301
|
"transition-property": "left",
|
|
7319
8302
|
"transition-timing-function": "ease",
|
|
@@ -7343,6 +8326,11 @@ var transition_default = {
|
|
|
7343
8326
|
" transition-property": "transform, color, background, background-color, border-color, text-decoration-color, fill, stroke",
|
|
7344
8327
|
"transition-timing-function": "ease",
|
|
7345
8328
|
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
8329
|
+
},
|
|
8330
|
+
".transition-transform-colors-opacity": {
|
|
8331
|
+
" transition-property": "transform, color, background, background-color, border-color, text-decoration-color, fill, stroke, opacity",
|
|
8332
|
+
"transition-timing-function": "ease",
|
|
8333
|
+
"transition-duration": DEFAULT_TRANSITION_DURATION
|
|
7346
8334
|
}
|
|
7347
8335
|
};
|
|
7348
8336
|
|
|
@@ -7392,6 +8380,7 @@ var utilities = {
|
|
|
7392
8380
|
|
|
7393
8381
|
// src/utils/theme.ts
|
|
7394
8382
|
var isBaseTheme = (theme) => theme === "light" || theme === "dark";
|
|
8383
|
+
var ROOT_FONT_SIZE = 16;
|
|
7395
8384
|
var baseScale = [1, 2, 3, 3.5, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18];
|
|
7396
8385
|
var extendedScale = [20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 72, 80, 96];
|
|
7397
8386
|
var generateSpacingScale = (spacingUnit) => {
|
|
@@ -7412,7 +8401,7 @@ var generateSpacingScale = (spacingUnit) => {
|
|
|
7412
8401
|
};
|
|
7413
8402
|
const scale = { 0: "0px" };
|
|
7414
8403
|
Object.entries(scaleLabels).forEach(([label, multiplier]) => {
|
|
7415
|
-
scale[label] = multiplier ? `${spacingUnit * multiplier}
|
|
8404
|
+
scale[label] = multiplier ? `${spacingUnit * multiplier / ROOT_FONT_SIZE}rem` : `${spacingUnit / ROOT_FONT_SIZE}rem`;
|
|
7416
8405
|
});
|
|
7417
8406
|
baseScale.forEach((i) => {
|
|
7418
8407
|
let key = `${i}`;
|
|
@@ -7420,11 +8409,11 @@ var generateSpacingScale = (spacingUnit) => {
|
|
|
7420
8409
|
const [first, second] = key.split(".");
|
|
7421
8410
|
key = `${first}_${second}`;
|
|
7422
8411
|
}
|
|
7423
|
-
scale[key] = `${spacingUnit * i}
|
|
8412
|
+
scale[key] = `${spacingUnit * i / ROOT_FONT_SIZE}rem`;
|
|
7424
8413
|
});
|
|
7425
8414
|
extendedScale.forEach((i) => {
|
|
7426
8415
|
const key = `${i}`;
|
|
7427
|
-
scale[key] = `${spacingUnit * i}
|
|
8416
|
+
scale[key] = `${spacingUnit * i / ROOT_FONT_SIZE}rem`;
|
|
7428
8417
|
});
|
|
7429
8418
|
return scale;
|
|
7430
8419
|
};
|
|
@@ -7476,8 +8465,11 @@ var defaultLayout = {
|
|
|
7476
8465
|
large: "0px 0px 30px 0px rgb(0 0 0 / 0.04), 0px 30px 60px 0px rgb(0 0 0 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.3)"
|
|
7477
8466
|
}
|
|
7478
8467
|
};
|
|
7479
|
-
var lightLayout = {
|
|
8468
|
+
var lightLayout = {
|
|
8469
|
+
hoverOpacity: ".8"
|
|
8470
|
+
};
|
|
7480
8471
|
var darkLayout = {
|
|
8472
|
+
hoverOpacity: ".9",
|
|
7481
8473
|
boxShadow: {
|
|
7482
8474
|
small: "0px 0px 5px 0px rgb(0 0 0 / 0.05), 0px 2px 10px 0px rgb(0 0 0 / 0.2), inset 0px 0px 1px 0px rgb(255 255 255 / 0.15)",
|
|
7483
8475
|
medium: "0px 0px 15px 0px rgb(0 0 0 / 0.06), 0px 2px 30px 0px rgb(0 0 0 / 0.22), inset 0px 0px 1px 0px rgb(255 255 255 / 0.15)",
|
|
@@ -7550,6 +8542,9 @@ var resolveConfig = (themes = {}, defaultTheme, prefix) => {
|
|
|
7550
8542
|
});
|
|
7551
8543
|
} else {
|
|
7552
8544
|
const layoutVariable = `--${prefix}-${key}`;
|
|
8545
|
+
if (layoutVariable.includes("opacity") && typeof value === "number") {
|
|
8546
|
+
value = value.toString().replace(/^0\./, ".");
|
|
8547
|
+
}
|
|
7553
8548
|
resolved.utilities[cssSelector][layoutVariable] = value;
|
|
7554
8549
|
}
|
|
7555
8550
|
});
|
|
@@ -7596,7 +8591,8 @@ var corePlugin = (themes = {}, defaultTheme, prefix, addCommonColors) => {
|
|
|
7596
8591
|
...resolved.colors
|
|
7597
8592
|
},
|
|
7598
8593
|
scale: {
|
|
7599
|
-
"80": "0.8"
|
|
8594
|
+
"80": "0.8",
|
|
8595
|
+
"85": "0.85"
|
|
7600
8596
|
},
|
|
7601
8597
|
height: {
|
|
7602
8598
|
divider: `var(--${prefix}-divider-weight)`
|
|
@@ -7626,6 +8622,7 @@ var corePlugin = (themes = {}, defaultTheme, prefix, addCommonColors) => {
|
|
|
7626
8622
|
large: `var(--${prefix}-radius-large)`
|
|
7627
8623
|
},
|
|
7628
8624
|
opacity: {
|
|
8625
|
+
hover: `var(--${prefix}-hover-opacity)`,
|
|
7629
8626
|
disabled: `var(--${prefix}-disabled-opacity)`
|
|
7630
8627
|
},
|
|
7631
8628
|
borderWidth: {
|
|
@@ -7714,10 +8711,13 @@ var nextui = (config = {}) => {
|
|
|
7714
8711
|
absoluteFullClasses,
|
|
7715
8712
|
accordion,
|
|
7716
8713
|
accordionItem,
|
|
8714
|
+
autocomplete,
|
|
7717
8715
|
avatar,
|
|
7718
8716
|
avatarGroup,
|
|
7719
8717
|
badge,
|
|
7720
8718
|
baseStyles,
|
|
8719
|
+
breadcrumbItem,
|
|
8720
|
+
breadcrumbs,
|
|
7721
8721
|
button,
|
|
7722
8722
|
buttonGroup,
|
|
7723
8723
|
card,
|
|
@@ -7726,6 +8726,7 @@ var nextui = (config = {}) => {
|
|
|
7726
8726
|
chip,
|
|
7727
8727
|
circularProgress,
|
|
7728
8728
|
code,
|
|
8729
|
+
collapseAdjacentVariantBorders,
|
|
7729
8730
|
colorVariants,
|
|
7730
8731
|
colors,
|
|
7731
8732
|
commonColors,
|
|
@@ -7763,6 +8764,7 @@ var nextui = (config = {}) => {
|
|
|
7763
8764
|
select,
|
|
7764
8765
|
semanticColors,
|
|
7765
8766
|
skeleton,
|
|
8767
|
+
slider,
|
|
7766
8768
|
snippet,
|
|
7767
8769
|
spacer,
|
|
7768
8770
|
spacingScaleKeys,
|