@nextui-org/theme 2.2.6 → 2.2.8
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-AEDZYTPD.mjs → chunk-ARFD2V3F.mjs} +3 -7
- package/dist/{chunk-SPXRXN7C.mjs → chunk-MERQJVXF.mjs} +1 -1
- package/dist/{chunk-VFGZ2KFC.mjs → chunk-MVG7GLBD.mjs} +7 -7
- package/dist/{chunk-INW3YHX5.mjs → chunk-N4MWCCMM.mjs} +1 -1
- package/dist/{chunk-X7QC2HIM.mjs → chunk-WGH4WKVU.mjs} +2 -2
- package/dist/{chunk-BBWRBJQB.mjs → chunk-XT44N6I6.mjs} +46 -3
- package/dist/components/accordion.d.ts +45 -10
- package/dist/components/accordion.js +7 -7
- package/dist/components/accordion.mjs +1 -1
- package/dist/components/button.d.ts +7 -7
- package/dist/components/button.js +1 -1
- package/dist/components/button.mjs +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date-picker.mjs +1 -1
- package/dist/components/index.js +60 -21
- package/dist/components/index.mjs +6 -6
- package/dist/components/input.js +3 -7
- package/dist/components/input.mjs +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.mjs +1 -1
- package/dist/components/table.js +55 -14
- package/dist/components/table.mjs +1 -1
- package/dist/index.js +60 -21
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
|
@@ -27,7 +27,9 @@ var input = tv({
|
|
|
27
27
|
input: [
|
|
28
28
|
"w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none",
|
|
29
29
|
"data-[has-start-content=true]:ps-1.5",
|
|
30
|
-
"data-[has-end-content=true]:pe-1.5"
|
|
30
|
+
"data-[has-end-content=true]:pe-1.5",
|
|
31
|
+
"file:cursor-pointer file:bg-transparent file:border-0",
|
|
32
|
+
"autofill:bg-transparent bg-clip-text"
|
|
31
33
|
],
|
|
32
34
|
clearButton: [
|
|
33
35
|
"p-2",
|
|
@@ -563,12 +565,6 @@ var input = tv({
|
|
|
563
565
|
label: ["group-data-[filled-within=true]:pointer-events-auto"]
|
|
564
566
|
}
|
|
565
567
|
},
|
|
566
|
-
{
|
|
567
|
-
labelPlacement: ["outside", "outside-left"],
|
|
568
|
-
class: {
|
|
569
|
-
input: "h-full"
|
|
570
|
-
}
|
|
571
|
-
},
|
|
572
568
|
{
|
|
573
569
|
labelPlacement: "outside",
|
|
574
570
|
isMultiline: false,
|
|
@@ -75,7 +75,7 @@ var button = tv({
|
|
|
75
75
|
false: "[&>svg]:max-w-[theme(spacing.8)]"
|
|
76
76
|
},
|
|
77
77
|
disableAnimation: {
|
|
78
|
-
true: "!transition-none",
|
|
78
|
+
true: "!transition-none data-[pressed=true]:scale-100",
|
|
79
79
|
false: "transition-transform-colors-opacity motion-reduce:transition-none"
|
|
80
80
|
}
|
|
81
81
|
},
|
|
@@ -13,7 +13,7 @@ var accordion = tv({
|
|
|
13
13
|
light: "",
|
|
14
14
|
shadow: "px-4 shadow-medium rounded-medium bg-content1",
|
|
15
15
|
bordered: "px-4 border-medium border-divider rounded-medium",
|
|
16
|
-
splitted: "
|
|
16
|
+
splitted: "flex flex-col gap-2"
|
|
17
17
|
},
|
|
18
18
|
fullWidth: {
|
|
19
19
|
true: "w-full"
|
|
@@ -26,12 +26,7 @@ var accordion = tv({
|
|
|
26
26
|
});
|
|
27
27
|
var accordionItem = tv({
|
|
28
28
|
slots: {
|
|
29
|
-
base:
|
|
30
|
-
"group-[.is-splitted]:px-4",
|
|
31
|
-
"group-[.is-splitted]:bg-content1",
|
|
32
|
-
"group-[.is-splitted]:shadow-medium",
|
|
33
|
-
"group-[.is-splitted]:rounded-medium"
|
|
34
|
-
],
|
|
29
|
+
base: "",
|
|
35
30
|
heading: "",
|
|
36
31
|
trigger: [
|
|
37
32
|
"flex py-4 w-full h-full gap-3 outline-none items-center tap-highlight-transparent",
|
|
@@ -45,6 +40,11 @@ var accordionItem = tv({
|
|
|
45
40
|
content: "py-2"
|
|
46
41
|
},
|
|
47
42
|
variants: {
|
|
43
|
+
variant: {
|
|
44
|
+
splitted: {
|
|
45
|
+
base: "px-4 bg-content1 shadow-medium rounded-medium"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
48
|
isCompact: {
|
|
49
49
|
true: {
|
|
50
50
|
trigger: "py-2",
|
|
@@ -9,8 +9,8 @@ var datePicker = tv({
|
|
|
9
9
|
selectorButton: "-mr-2 text-inherit",
|
|
10
10
|
selectorIcon: "text-lg text-inherit pointer-events-none flex-shrink-0",
|
|
11
11
|
popoverContent: "p-0 w-full",
|
|
12
|
-
calendar: "w-[var(--calendar-width)] shadow-none",
|
|
13
|
-
calendarContent: "w-[var(--calendar-width)]",
|
|
12
|
+
calendar: "w-[calc(var(--visible-months)_*_var(--calendar-width))] shadow-none",
|
|
13
|
+
calendarContent: "w-[calc(var(--visible-months)_*_var(--calendar-width))]",
|
|
14
14
|
timeInputLabel: "font-medium",
|
|
15
15
|
timeInput: "px-5 pb-4 flex-wrap gap-x-6"
|
|
16
16
|
}
|
|
@@ -42,7 +42,6 @@ var table = tv({
|
|
|
42
42
|
"rtl:last:rounded-l-lg",
|
|
43
43
|
"rtl:last:rounded-r-[unset]",
|
|
44
44
|
"outline-none",
|
|
45
|
-
"data-[sortable=true]:transition-colors",
|
|
46
45
|
"data-[sortable=true]:cursor-pointer",
|
|
47
46
|
"data-[hover=true]:text-foreground-400",
|
|
48
47
|
...dataFocusVisibleClasses
|
|
@@ -86,7 +85,7 @@ var table = tv({
|
|
|
86
85
|
variants: {
|
|
87
86
|
color: {
|
|
88
87
|
default: {
|
|
89
|
-
td: "before:bg-default/
|
|
88
|
+
td: "before:bg-default/60 data-[selected=true]:text-default-foreground"
|
|
90
89
|
},
|
|
91
90
|
primary: {
|
|
92
91
|
td: "before:bg-primary/20 data-[selected=true]:text-primary"
|
|
@@ -235,7 +234,51 @@ var table = tv({
|
|
|
235
234
|
isStriped: false,
|
|
236
235
|
fullWidth: true,
|
|
237
236
|
align: "start"
|
|
238
|
-
}
|
|
237
|
+
},
|
|
238
|
+
compoundVariants: [
|
|
239
|
+
{
|
|
240
|
+
isStriped: true,
|
|
241
|
+
color: "default",
|
|
242
|
+
class: {
|
|
243
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-default/60"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
isStriped: true,
|
|
248
|
+
color: "primary",
|
|
249
|
+
class: {
|
|
250
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-primary/20"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
isStriped: true,
|
|
255
|
+
color: "secondary",
|
|
256
|
+
class: {
|
|
257
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-secondary/20"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
isStriped: true,
|
|
262
|
+
color: "success",
|
|
263
|
+
class: {
|
|
264
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-success/20"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
isStriped: true,
|
|
269
|
+
color: "warning",
|
|
270
|
+
class: {
|
|
271
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-warning/20"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
isStriped: true,
|
|
276
|
+
color: "danger",
|
|
277
|
+
class: {
|
|
278
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-danger/20"
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
]
|
|
239
282
|
});
|
|
240
283
|
|
|
241
284
|
export {
|
|
@@ -17,7 +17,7 @@ declare const accordion: tailwind_variants.TVReturnType<{
|
|
|
17
17
|
light: "";
|
|
18
18
|
shadow: "px-4 shadow-medium rounded-medium bg-content1";
|
|
19
19
|
bordered: "px-4 border-medium border-divider rounded-medium";
|
|
20
|
-
splitted: "
|
|
20
|
+
splitted: "flex flex-col gap-2";
|
|
21
21
|
};
|
|
22
22
|
fullWidth: {
|
|
23
23
|
true: "w-full";
|
|
@@ -27,7 +27,7 @@ declare const accordion: tailwind_variants.TVReturnType<{
|
|
|
27
27
|
light: "";
|
|
28
28
|
shadow: "px-4 shadow-medium rounded-medium bg-content1";
|
|
29
29
|
bordered: "px-4 border-medium border-divider rounded-medium";
|
|
30
|
-
splitted: "
|
|
30
|
+
splitted: "flex flex-col gap-2";
|
|
31
31
|
};
|
|
32
32
|
fullWidth: {
|
|
33
33
|
true: "w-full";
|
|
@@ -37,7 +37,7 @@ declare const accordion: tailwind_variants.TVReturnType<{
|
|
|
37
37
|
light: "";
|
|
38
38
|
shadow: "px-4 shadow-medium rounded-medium bg-content1";
|
|
39
39
|
bordered: "px-4 border-medium border-divider rounded-medium";
|
|
40
|
-
splitted: "
|
|
40
|
+
splitted: "flex flex-col gap-2";
|
|
41
41
|
};
|
|
42
42
|
fullWidth: {
|
|
43
43
|
true: "w-full";
|
|
@@ -47,7 +47,7 @@ declare const accordion: tailwind_variants.TVReturnType<{
|
|
|
47
47
|
light: "";
|
|
48
48
|
shadow: "px-4 shadow-medium rounded-medium bg-content1";
|
|
49
49
|
bordered: "px-4 border-medium border-divider rounded-medium";
|
|
50
|
-
splitted: "
|
|
50
|
+
splitted: "flex flex-col gap-2";
|
|
51
51
|
};
|
|
52
52
|
fullWidth: {
|
|
53
53
|
true: "w-full";
|
|
@@ -57,7 +57,7 @@ declare const accordion: tailwind_variants.TVReturnType<{
|
|
|
57
57
|
light: "";
|
|
58
58
|
shadow: "px-4 shadow-medium rounded-medium bg-content1";
|
|
59
59
|
bordered: "px-4 border-medium border-divider rounded-medium";
|
|
60
|
-
splitted: "
|
|
60
|
+
splitted: "flex flex-col gap-2";
|
|
61
61
|
};
|
|
62
62
|
fullWidth: {
|
|
63
63
|
true: "w-full";
|
|
@@ -67,7 +67,7 @@ declare const accordion: tailwind_variants.TVReturnType<{
|
|
|
67
67
|
light: "";
|
|
68
68
|
shadow: "px-4 shadow-medium rounded-medium bg-content1";
|
|
69
69
|
bordered: "px-4 border-medium border-divider rounded-medium";
|
|
70
|
-
splitted: "
|
|
70
|
+
splitted: "flex flex-col gap-2";
|
|
71
71
|
};
|
|
72
72
|
fullWidth: {
|
|
73
73
|
true: "w-full";
|
|
@@ -77,7 +77,7 @@ declare const accordion: tailwind_variants.TVReturnType<{
|
|
|
77
77
|
light: "";
|
|
78
78
|
shadow: "px-4 shadow-medium rounded-medium bg-content1";
|
|
79
79
|
bordered: "px-4 border-medium border-divider rounded-medium";
|
|
80
|
-
splitted: "
|
|
80
|
+
splitted: "flex flex-col gap-2";
|
|
81
81
|
};
|
|
82
82
|
fullWidth: {
|
|
83
83
|
true: "w-full";
|
|
@@ -106,6 +106,11 @@ declare const accordion: tailwind_variants.TVReturnType<{
|
|
|
106
106
|
* </div>
|
|
107
107
|
*/
|
|
108
108
|
declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
109
|
+
variant: {
|
|
110
|
+
splitted: {
|
|
111
|
+
base: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
109
114
|
isCompact: {
|
|
110
115
|
true: {
|
|
111
116
|
trigger: string;
|
|
@@ -143,7 +148,7 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
|
143
148
|
};
|
|
144
149
|
};
|
|
145
150
|
}, {
|
|
146
|
-
base: string
|
|
151
|
+
base: string;
|
|
147
152
|
heading: string;
|
|
148
153
|
trigger: string[];
|
|
149
154
|
startContent: string;
|
|
@@ -153,6 +158,11 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
|
153
158
|
subtitle: string;
|
|
154
159
|
content: string;
|
|
155
160
|
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
161
|
+
variant: {
|
|
162
|
+
splitted: {
|
|
163
|
+
base: string;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
156
166
|
isCompact: {
|
|
157
167
|
true: {
|
|
158
168
|
trigger: string;
|
|
@@ -190,6 +200,11 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
|
190
200
|
};
|
|
191
201
|
};
|
|
192
202
|
}, {
|
|
203
|
+
variant: {
|
|
204
|
+
splitted: {
|
|
205
|
+
base: string;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
193
208
|
isCompact: {
|
|
194
209
|
true: {
|
|
195
210
|
trigger: string;
|
|
@@ -227,6 +242,11 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
|
227
242
|
};
|
|
228
243
|
};
|
|
229
244
|
}>, {
|
|
245
|
+
variant: {
|
|
246
|
+
splitted: {
|
|
247
|
+
base: string;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
230
250
|
isCompact: {
|
|
231
251
|
true: {
|
|
232
252
|
trigger: string;
|
|
@@ -264,7 +284,7 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
|
264
284
|
};
|
|
265
285
|
};
|
|
266
286
|
}, {
|
|
267
|
-
base: string
|
|
287
|
+
base: string;
|
|
268
288
|
heading: string;
|
|
269
289
|
trigger: string[];
|
|
270
290
|
startContent: string;
|
|
@@ -274,6 +294,11 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
|
274
294
|
subtitle: string;
|
|
275
295
|
content: string;
|
|
276
296
|
}, tailwind_variants.TVReturnType<{
|
|
297
|
+
variant: {
|
|
298
|
+
splitted: {
|
|
299
|
+
base: string;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
277
302
|
isCompact: {
|
|
278
303
|
true: {
|
|
279
304
|
trigger: string;
|
|
@@ -311,7 +336,7 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
|
311
336
|
};
|
|
312
337
|
};
|
|
313
338
|
}, {
|
|
314
|
-
base: string
|
|
339
|
+
base: string;
|
|
315
340
|
heading: string;
|
|
316
341
|
trigger: string[];
|
|
317
342
|
startContent: string;
|
|
@@ -321,6 +346,11 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
|
321
346
|
subtitle: string;
|
|
322
347
|
content: string;
|
|
323
348
|
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
349
|
+
variant: {
|
|
350
|
+
splitted: {
|
|
351
|
+
base: string;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
324
354
|
isCompact: {
|
|
325
355
|
true: {
|
|
326
356
|
trigger: string;
|
|
@@ -358,6 +388,11 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
|
358
388
|
};
|
|
359
389
|
};
|
|
360
390
|
}, {
|
|
391
|
+
variant: {
|
|
392
|
+
splitted: {
|
|
393
|
+
base: string;
|
|
394
|
+
};
|
|
395
|
+
};
|
|
361
396
|
isCompact: {
|
|
362
397
|
true: {
|
|
363
398
|
trigger: string;
|
|
@@ -81,7 +81,7 @@ var accordion = tv({
|
|
|
81
81
|
light: "",
|
|
82
82
|
shadow: "px-4 shadow-medium rounded-medium bg-content1",
|
|
83
83
|
bordered: "px-4 border-medium border-divider rounded-medium",
|
|
84
|
-
splitted: "
|
|
84
|
+
splitted: "flex flex-col gap-2"
|
|
85
85
|
},
|
|
86
86
|
fullWidth: {
|
|
87
87
|
true: "w-full"
|
|
@@ -94,12 +94,7 @@ var accordion = tv({
|
|
|
94
94
|
});
|
|
95
95
|
var accordionItem = tv({
|
|
96
96
|
slots: {
|
|
97
|
-
base:
|
|
98
|
-
"group-[.is-splitted]:px-4",
|
|
99
|
-
"group-[.is-splitted]:bg-content1",
|
|
100
|
-
"group-[.is-splitted]:shadow-medium",
|
|
101
|
-
"group-[.is-splitted]:rounded-medium"
|
|
102
|
-
],
|
|
97
|
+
base: "",
|
|
103
98
|
heading: "",
|
|
104
99
|
trigger: [
|
|
105
100
|
"flex py-4 w-full h-full gap-3 outline-none items-center tap-highlight-transparent",
|
|
@@ -113,6 +108,11 @@ var accordionItem = tv({
|
|
|
113
108
|
content: "py-2"
|
|
114
109
|
},
|
|
115
110
|
variants: {
|
|
111
|
+
variant: {
|
|
112
|
+
splitted: {
|
|
113
|
+
base: "px-4 bg-content1 shadow-medium rounded-medium"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
116
|
isCompact: {
|
|
117
117
|
true: {
|
|
118
118
|
trigger: "py-2",
|
|
@@ -62,7 +62,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
62
62
|
false: "[&>svg]:max-w-[theme(spacing.8)]";
|
|
63
63
|
};
|
|
64
64
|
disableAnimation: {
|
|
65
|
-
true: "!transition-none";
|
|
65
|
+
true: "!transition-none data-[pressed=true]:scale-100";
|
|
66
66
|
false: "transition-transform-colors-opacity motion-reduce:transition-none";
|
|
67
67
|
};
|
|
68
68
|
}, undefined, string[], tailwind_variants_dist_config.TVConfig<{
|
|
@@ -109,7 +109,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
109
109
|
false: "[&>svg]:max-w-[theme(spacing.8)]";
|
|
110
110
|
};
|
|
111
111
|
disableAnimation: {
|
|
112
|
-
true: "!transition-none";
|
|
112
|
+
true: "!transition-none data-[pressed=true]:scale-100";
|
|
113
113
|
false: "transition-transform-colors-opacity motion-reduce:transition-none";
|
|
114
114
|
};
|
|
115
115
|
}, {
|
|
@@ -156,7 +156,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
156
156
|
false: "[&>svg]:max-w-[theme(spacing.8)]";
|
|
157
157
|
};
|
|
158
158
|
disableAnimation: {
|
|
159
|
-
true: "!transition-none";
|
|
159
|
+
true: "!transition-none data-[pressed=true]:scale-100";
|
|
160
160
|
false: "transition-transform-colors-opacity motion-reduce:transition-none";
|
|
161
161
|
};
|
|
162
162
|
}>, {
|
|
@@ -203,7 +203,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
203
203
|
false: "[&>svg]:max-w-[theme(spacing.8)]";
|
|
204
204
|
};
|
|
205
205
|
disableAnimation: {
|
|
206
|
-
true: "!transition-none";
|
|
206
|
+
true: "!transition-none data-[pressed=true]:scale-100";
|
|
207
207
|
false: "transition-transform-colors-opacity motion-reduce:transition-none";
|
|
208
208
|
};
|
|
209
209
|
}, undefined, tailwind_variants.TVReturnType<{
|
|
@@ -250,7 +250,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
250
250
|
false: "[&>svg]:max-w-[theme(spacing.8)]";
|
|
251
251
|
};
|
|
252
252
|
disableAnimation: {
|
|
253
|
-
true: "!transition-none";
|
|
253
|
+
true: "!transition-none data-[pressed=true]:scale-100";
|
|
254
254
|
false: "transition-transform-colors-opacity motion-reduce:transition-none";
|
|
255
255
|
};
|
|
256
256
|
}, undefined, string[], tailwind_variants_dist_config.TVConfig<{
|
|
@@ -297,7 +297,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
297
297
|
false: "[&>svg]:max-w-[theme(spacing.8)]";
|
|
298
298
|
};
|
|
299
299
|
disableAnimation: {
|
|
300
|
-
true: "!transition-none";
|
|
300
|
+
true: "!transition-none data-[pressed=true]:scale-100";
|
|
301
301
|
false: "transition-transform-colors-opacity motion-reduce:transition-none";
|
|
302
302
|
};
|
|
303
303
|
}, {
|
|
@@ -344,7 +344,7 @@ declare const button: tailwind_variants.TVReturnType<{
|
|
|
344
344
|
false: "[&>svg]:max-w-[theme(spacing.8)]";
|
|
345
345
|
};
|
|
346
346
|
disableAnimation: {
|
|
347
|
-
true: "!transition-none";
|
|
347
|
+
true: "!transition-none data-[pressed=true]:scale-100";
|
|
348
348
|
false: "transition-transform-colors-opacity motion-reduce:transition-none";
|
|
349
349
|
};
|
|
350
350
|
}>, unknown, unknown, undefined>>;
|
|
@@ -221,7 +221,7 @@ var button = tv({
|
|
|
221
221
|
false: "[&>svg]:max-w-[theme(spacing.8)]"
|
|
222
222
|
},
|
|
223
223
|
disableAnimation: {
|
|
224
|
-
true: "!transition-none",
|
|
224
|
+
true: "!transition-none data-[pressed=true]:scale-100",
|
|
225
225
|
false: "transition-transform-colors-opacity motion-reduce:transition-none"
|
|
226
226
|
}
|
|
227
227
|
},
|
|
@@ -71,8 +71,8 @@ var datePicker = tv({
|
|
|
71
71
|
selectorButton: "-mr-2 text-inherit",
|
|
72
72
|
selectorIcon: "text-lg text-inherit pointer-events-none flex-shrink-0",
|
|
73
73
|
popoverContent: "p-0 w-full",
|
|
74
|
-
calendar: "w-[var(--calendar-width)] shadow-none",
|
|
75
|
-
calendarContent: "w-[var(--calendar-width)]",
|
|
74
|
+
calendar: "w-[calc(var(--visible-months)_*_var(--calendar-width))] shadow-none",
|
|
75
|
+
calendarContent: "w-[calc(var(--visible-months)_*_var(--calendar-width))]",
|
|
76
76
|
timeInputLabel: "font-medium",
|
|
77
77
|
timeInput: "px-5 pb-4 flex-wrap gap-x-6"
|
|
78
78
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -730,7 +730,7 @@ var button = tv({
|
|
|
730
730
|
false: "[&>svg]:max-w-[theme(spacing.8)]"
|
|
731
731
|
},
|
|
732
732
|
disableAnimation: {
|
|
733
|
-
true: "!transition-none",
|
|
733
|
+
true: "!transition-none data-[pressed=true]:scale-100",
|
|
734
734
|
false: "transition-transform-colors-opacity motion-reduce:transition-none"
|
|
735
735
|
}
|
|
736
736
|
},
|
|
@@ -3435,7 +3435,7 @@ var accordion = tv({
|
|
|
3435
3435
|
light: "",
|
|
3436
3436
|
shadow: "px-4 shadow-medium rounded-medium bg-content1",
|
|
3437
3437
|
bordered: "px-4 border-medium border-divider rounded-medium",
|
|
3438
|
-
splitted: "
|
|
3438
|
+
splitted: "flex flex-col gap-2"
|
|
3439
3439
|
},
|
|
3440
3440
|
fullWidth: {
|
|
3441
3441
|
true: "w-full"
|
|
@@ -3448,12 +3448,7 @@ var accordion = tv({
|
|
|
3448
3448
|
});
|
|
3449
3449
|
var accordionItem = tv({
|
|
3450
3450
|
slots: {
|
|
3451
|
-
base:
|
|
3452
|
-
"group-[.is-splitted]:px-4",
|
|
3453
|
-
"group-[.is-splitted]:bg-content1",
|
|
3454
|
-
"group-[.is-splitted]:shadow-medium",
|
|
3455
|
-
"group-[.is-splitted]:rounded-medium"
|
|
3456
|
-
],
|
|
3451
|
+
base: "",
|
|
3457
3452
|
heading: "",
|
|
3458
3453
|
trigger: [
|
|
3459
3454
|
"flex py-4 w-full h-full gap-3 outline-none items-center tap-highlight-transparent",
|
|
@@ -3467,6 +3462,11 @@ var accordionItem = tv({
|
|
|
3467
3462
|
content: "py-2"
|
|
3468
3463
|
},
|
|
3469
3464
|
variants: {
|
|
3465
|
+
variant: {
|
|
3466
|
+
splitted: {
|
|
3467
|
+
base: "px-4 bg-content1 shadow-medium rounded-medium"
|
|
3468
|
+
}
|
|
3469
|
+
},
|
|
3470
3470
|
isCompact: {
|
|
3471
3471
|
true: {
|
|
3472
3472
|
trigger: "py-2",
|
|
@@ -3732,7 +3732,9 @@ var input = tv({
|
|
|
3732
3732
|
input: [
|
|
3733
3733
|
"w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none",
|
|
3734
3734
|
"data-[has-start-content=true]:ps-1.5",
|
|
3735
|
-
"data-[has-end-content=true]:pe-1.5"
|
|
3735
|
+
"data-[has-end-content=true]:pe-1.5",
|
|
3736
|
+
"file:cursor-pointer file:bg-transparent file:border-0",
|
|
3737
|
+
"autofill:bg-transparent bg-clip-text"
|
|
3736
3738
|
],
|
|
3737
3739
|
clearButton: [
|
|
3738
3740
|
"p-2",
|
|
@@ -4268,12 +4270,6 @@ var input = tv({
|
|
|
4268
4270
|
label: ["group-data-[filled-within=true]:pointer-events-auto"]
|
|
4269
4271
|
}
|
|
4270
4272
|
},
|
|
4271
|
-
{
|
|
4272
|
-
labelPlacement: ["outside", "outside-left"],
|
|
4273
|
-
class: {
|
|
4274
|
-
input: "h-full"
|
|
4275
|
-
}
|
|
4276
|
-
},
|
|
4277
4273
|
{
|
|
4278
4274
|
labelPlacement: "outside",
|
|
4279
4275
|
isMultiline: false,
|
|
@@ -5149,7 +5145,7 @@ var modal = tv({
|
|
|
5149
5145
|
base: "overflow-y-hidden"
|
|
5150
5146
|
},
|
|
5151
5147
|
inside: {
|
|
5152
|
-
base: "max-h-[calc(100%_-
|
|
5148
|
+
base: "max-h-[calc(100%_-_8rem)]",
|
|
5153
5149
|
body: "overflow-y-auto"
|
|
5154
5150
|
},
|
|
5155
5151
|
outside: {
|
|
@@ -5422,7 +5418,6 @@ var table = tv({
|
|
|
5422
5418
|
"rtl:last:rounded-l-lg",
|
|
5423
5419
|
"rtl:last:rounded-r-[unset]",
|
|
5424
5420
|
"outline-none",
|
|
5425
|
-
"data-[sortable=true]:transition-colors",
|
|
5426
5421
|
"data-[sortable=true]:cursor-pointer",
|
|
5427
5422
|
"data-[hover=true]:text-foreground-400",
|
|
5428
5423
|
...dataFocusVisibleClasses
|
|
@@ -5466,7 +5461,7 @@ var table = tv({
|
|
|
5466
5461
|
variants: {
|
|
5467
5462
|
color: {
|
|
5468
5463
|
default: {
|
|
5469
|
-
td: "before:bg-default/
|
|
5464
|
+
td: "before:bg-default/60 data-[selected=true]:text-default-foreground"
|
|
5470
5465
|
},
|
|
5471
5466
|
primary: {
|
|
5472
5467
|
td: "before:bg-primary/20 data-[selected=true]:text-primary"
|
|
@@ -5615,7 +5610,51 @@ var table = tv({
|
|
|
5615
5610
|
isStriped: false,
|
|
5616
5611
|
fullWidth: true,
|
|
5617
5612
|
align: "start"
|
|
5618
|
-
}
|
|
5613
|
+
},
|
|
5614
|
+
compoundVariants: [
|
|
5615
|
+
{
|
|
5616
|
+
isStriped: true,
|
|
5617
|
+
color: "default",
|
|
5618
|
+
class: {
|
|
5619
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-default/60"
|
|
5620
|
+
}
|
|
5621
|
+
},
|
|
5622
|
+
{
|
|
5623
|
+
isStriped: true,
|
|
5624
|
+
color: "primary",
|
|
5625
|
+
class: {
|
|
5626
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-primary/20"
|
|
5627
|
+
}
|
|
5628
|
+
},
|
|
5629
|
+
{
|
|
5630
|
+
isStriped: true,
|
|
5631
|
+
color: "secondary",
|
|
5632
|
+
class: {
|
|
5633
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-secondary/20"
|
|
5634
|
+
}
|
|
5635
|
+
},
|
|
5636
|
+
{
|
|
5637
|
+
isStriped: true,
|
|
5638
|
+
color: "success",
|
|
5639
|
+
class: {
|
|
5640
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-success/20"
|
|
5641
|
+
}
|
|
5642
|
+
},
|
|
5643
|
+
{
|
|
5644
|
+
isStriped: true,
|
|
5645
|
+
color: "warning",
|
|
5646
|
+
class: {
|
|
5647
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-warning/20"
|
|
5648
|
+
}
|
|
5649
|
+
},
|
|
5650
|
+
{
|
|
5651
|
+
isStriped: true,
|
|
5652
|
+
color: "danger",
|
|
5653
|
+
class: {
|
|
5654
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-danger/20"
|
|
5655
|
+
}
|
|
5656
|
+
}
|
|
5657
|
+
]
|
|
5619
5658
|
});
|
|
5620
5659
|
|
|
5621
5660
|
// src/components/spacer.ts
|
|
@@ -8748,8 +8787,8 @@ var datePicker = tv({
|
|
|
8748
8787
|
selectorButton: "-mr-2 text-inherit",
|
|
8749
8788
|
selectorIcon: "text-lg text-inherit pointer-events-none flex-shrink-0",
|
|
8750
8789
|
popoverContent: "p-0 w-full",
|
|
8751
|
-
calendar: "w-[var(--calendar-width)] shadow-none",
|
|
8752
|
-
calendarContent: "w-[var(--calendar-width)]",
|
|
8790
|
+
calendar: "w-[calc(var(--visible-months)_*_var(--calendar-width))] shadow-none",
|
|
8791
|
+
calendarContent: "w-[calc(var(--visible-months)_*_var(--calendar-width))]",
|
|
8753
8792
|
timeInputLabel: "font-medium",
|
|
8754
8793
|
timeInput: "px-5 pb-4 flex-wrap gap-x-6"
|
|
8755
8794
|
}
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "../chunk-AXXUQWWC.mjs";
|
|
32
32
|
import {
|
|
33
33
|
table
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-XT44N6I6.mjs";
|
|
35
35
|
import "../chunk-YJLQTC7L.mjs";
|
|
36
36
|
import {
|
|
37
37
|
menu,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "../chunk-4YQYZDME.mjs";
|
|
41
41
|
import {
|
|
42
42
|
modal
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-N4MWCCMM.mjs";
|
|
44
44
|
import {
|
|
45
45
|
navbar
|
|
46
46
|
} from "../chunk-3QYYLFUC.mjs";
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
} from "../chunk-U6G6SZ26.mjs";
|
|
75
75
|
import {
|
|
76
76
|
input
|
|
77
|
-
} from "../chunk-
|
|
77
|
+
} from "../chunk-ARFD2V3F.mjs";
|
|
78
78
|
import {
|
|
79
79
|
kbd
|
|
80
80
|
} from "../chunk-F4AOWB64.mjs";
|
|
@@ -107,11 +107,11 @@ import {
|
|
|
107
107
|
import {
|
|
108
108
|
datePicker,
|
|
109
109
|
dateRangePicker
|
|
110
|
-
} from "../chunk-
|
|
110
|
+
} from "../chunk-WGH4WKVU.mjs";
|
|
111
111
|
import {
|
|
112
112
|
accordion,
|
|
113
113
|
accordionItem
|
|
114
|
-
} from "../chunk-
|
|
114
|
+
} from "../chunk-MVG7GLBD.mjs";
|
|
115
115
|
import {
|
|
116
116
|
autocomplete
|
|
117
117
|
} from "../chunk-KKN74BUG.mjs";
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
import {
|
|
130
130
|
button,
|
|
131
131
|
buttonGroup
|
|
132
|
-
} from "../chunk-
|
|
132
|
+
} from "../chunk-MERQJVXF.mjs";
|
|
133
133
|
import "../chunk-IV3K5WDK.mjs";
|
|
134
134
|
import "../chunk-3XVMTUU7.mjs";
|
|
135
135
|
import "../chunk-2PIR7DFM.mjs";
|
package/dist/components/input.js
CHANGED
|
@@ -101,7 +101,9 @@ var input = tv({
|
|
|
101
101
|
input: [
|
|
102
102
|
"w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none",
|
|
103
103
|
"data-[has-start-content=true]:ps-1.5",
|
|
104
|
-
"data-[has-end-content=true]:pe-1.5"
|
|
104
|
+
"data-[has-end-content=true]:pe-1.5",
|
|
105
|
+
"file:cursor-pointer file:bg-transparent file:border-0",
|
|
106
|
+
"autofill:bg-transparent bg-clip-text"
|
|
105
107
|
],
|
|
106
108
|
clearButton: [
|
|
107
109
|
"p-2",
|
|
@@ -637,12 +639,6 @@ var input = tv({
|
|
|
637
639
|
label: ["group-data-[filled-within=true]:pointer-events-auto"]
|
|
638
640
|
}
|
|
639
641
|
},
|
|
640
|
-
{
|
|
641
|
-
labelPlacement: ["outside", "outside-left"],
|
|
642
|
-
class: {
|
|
643
|
-
input: "h-full"
|
|
644
|
-
}
|
|
645
|
-
},
|
|
646
642
|
{
|
|
647
643
|
labelPlacement: "outside",
|
|
648
644
|
isMultiline: false,
|
package/dist/components/modal.js
CHANGED
package/dist/components/table.js
CHANGED
|
@@ -24,8 +24,14 @@ __export(table_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(table_exports);
|
|
26
26
|
|
|
27
|
-
// src/utils/
|
|
28
|
-
var
|
|
27
|
+
// src/utils/classes.ts
|
|
28
|
+
var dataFocusVisibleClasses = [
|
|
29
|
+
"outline-none",
|
|
30
|
+
"data-[focus-visible=true]:z-10",
|
|
31
|
+
"data-[focus-visible=true]:outline-2",
|
|
32
|
+
"data-[focus-visible=true]:outline-focus",
|
|
33
|
+
"data-[focus-visible=true]:outline-offset-2"
|
|
34
|
+
];
|
|
29
35
|
|
|
30
36
|
// src/utils/tw-merge-config.ts
|
|
31
37
|
var COMMON_UNITS = ["small", "medium", "large"];
|
|
@@ -44,6 +50,7 @@ var twMergeConfig = {
|
|
|
44
50
|
};
|
|
45
51
|
|
|
46
52
|
// src/utils/tv.ts
|
|
53
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
47
54
|
var tv = (options, config) => {
|
|
48
55
|
var _a, _b, _c;
|
|
49
56
|
return (0, import_tailwind_variants.tv)(options, {
|
|
@@ -63,15 +70,6 @@ var tv = (options, config) => {
|
|
|
63
70
|
});
|
|
64
71
|
};
|
|
65
72
|
|
|
66
|
-
// src/utils/classes.ts
|
|
67
|
-
var dataFocusVisibleClasses = [
|
|
68
|
-
"outline-none",
|
|
69
|
-
"data-[focus-visible=true]:z-10",
|
|
70
|
-
"data-[focus-visible=true]:outline-2",
|
|
71
|
-
"data-[focus-visible=true]:outline-focus",
|
|
72
|
-
"data-[focus-visible=true]:outline-offset-2"
|
|
73
|
-
];
|
|
74
|
-
|
|
75
73
|
// src/components/table.ts
|
|
76
74
|
var table = tv({
|
|
77
75
|
slots: {
|
|
@@ -109,7 +107,6 @@ var table = tv({
|
|
|
109
107
|
"rtl:last:rounded-l-lg",
|
|
110
108
|
"rtl:last:rounded-r-[unset]",
|
|
111
109
|
"outline-none",
|
|
112
|
-
"data-[sortable=true]:transition-colors",
|
|
113
110
|
"data-[sortable=true]:cursor-pointer",
|
|
114
111
|
"data-[hover=true]:text-foreground-400",
|
|
115
112
|
...dataFocusVisibleClasses
|
|
@@ -153,7 +150,7 @@ var table = tv({
|
|
|
153
150
|
variants: {
|
|
154
151
|
color: {
|
|
155
152
|
default: {
|
|
156
|
-
td: "before:bg-default/
|
|
153
|
+
td: "before:bg-default/60 data-[selected=true]:text-default-foreground"
|
|
157
154
|
},
|
|
158
155
|
primary: {
|
|
159
156
|
td: "before:bg-primary/20 data-[selected=true]:text-primary"
|
|
@@ -302,7 +299,51 @@ var table = tv({
|
|
|
302
299
|
isStriped: false,
|
|
303
300
|
fullWidth: true,
|
|
304
301
|
align: "start"
|
|
305
|
-
}
|
|
302
|
+
},
|
|
303
|
+
compoundVariants: [
|
|
304
|
+
{
|
|
305
|
+
isStriped: true,
|
|
306
|
+
color: "default",
|
|
307
|
+
class: {
|
|
308
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-default/60"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
isStriped: true,
|
|
313
|
+
color: "primary",
|
|
314
|
+
class: {
|
|
315
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-primary/20"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
isStriped: true,
|
|
320
|
+
color: "secondary",
|
|
321
|
+
class: {
|
|
322
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-secondary/20"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
isStriped: true,
|
|
327
|
+
color: "success",
|
|
328
|
+
class: {
|
|
329
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-success/20"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
isStriped: true,
|
|
334
|
+
color: "warning",
|
|
335
|
+
class: {
|
|
336
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-warning/20"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
isStriped: true,
|
|
341
|
+
color: "danger",
|
|
342
|
+
class: {
|
|
343
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-danger/20"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
]
|
|
306
347
|
});
|
|
307
348
|
// Annotate the CommonJS export names for ESM import in node:
|
|
308
349
|
0 && (module.exports = {
|
package/dist/index.js
CHANGED
|
@@ -772,7 +772,7 @@ var button = tv({
|
|
|
772
772
|
false: "[&>svg]:max-w-[theme(spacing.8)]"
|
|
773
773
|
},
|
|
774
774
|
disableAnimation: {
|
|
775
|
-
true: "!transition-none",
|
|
775
|
+
true: "!transition-none data-[pressed=true]:scale-100",
|
|
776
776
|
false: "transition-transform-colors-opacity motion-reduce:transition-none"
|
|
777
777
|
}
|
|
778
778
|
},
|
|
@@ -3477,7 +3477,7 @@ var accordion = tv({
|
|
|
3477
3477
|
light: "",
|
|
3478
3478
|
shadow: "px-4 shadow-medium rounded-medium bg-content1",
|
|
3479
3479
|
bordered: "px-4 border-medium border-divider rounded-medium",
|
|
3480
|
-
splitted: "
|
|
3480
|
+
splitted: "flex flex-col gap-2"
|
|
3481
3481
|
},
|
|
3482
3482
|
fullWidth: {
|
|
3483
3483
|
true: "w-full"
|
|
@@ -3490,12 +3490,7 @@ var accordion = tv({
|
|
|
3490
3490
|
});
|
|
3491
3491
|
var accordionItem = tv({
|
|
3492
3492
|
slots: {
|
|
3493
|
-
base:
|
|
3494
|
-
"group-[.is-splitted]:px-4",
|
|
3495
|
-
"group-[.is-splitted]:bg-content1",
|
|
3496
|
-
"group-[.is-splitted]:shadow-medium",
|
|
3497
|
-
"group-[.is-splitted]:rounded-medium"
|
|
3498
|
-
],
|
|
3493
|
+
base: "",
|
|
3499
3494
|
heading: "",
|
|
3500
3495
|
trigger: [
|
|
3501
3496
|
"flex py-4 w-full h-full gap-3 outline-none items-center tap-highlight-transparent",
|
|
@@ -3509,6 +3504,11 @@ var accordionItem = tv({
|
|
|
3509
3504
|
content: "py-2"
|
|
3510
3505
|
},
|
|
3511
3506
|
variants: {
|
|
3507
|
+
variant: {
|
|
3508
|
+
splitted: {
|
|
3509
|
+
base: "px-4 bg-content1 shadow-medium rounded-medium"
|
|
3510
|
+
}
|
|
3511
|
+
},
|
|
3512
3512
|
isCompact: {
|
|
3513
3513
|
true: {
|
|
3514
3514
|
trigger: "py-2",
|
|
@@ -3774,7 +3774,9 @@ var input = tv({
|
|
|
3774
3774
|
input: [
|
|
3775
3775
|
"w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none",
|
|
3776
3776
|
"data-[has-start-content=true]:ps-1.5",
|
|
3777
|
-
"data-[has-end-content=true]:pe-1.5"
|
|
3777
|
+
"data-[has-end-content=true]:pe-1.5",
|
|
3778
|
+
"file:cursor-pointer file:bg-transparent file:border-0",
|
|
3779
|
+
"autofill:bg-transparent bg-clip-text"
|
|
3778
3780
|
],
|
|
3779
3781
|
clearButton: [
|
|
3780
3782
|
"p-2",
|
|
@@ -4310,12 +4312,6 @@ var input = tv({
|
|
|
4310
4312
|
label: ["group-data-[filled-within=true]:pointer-events-auto"]
|
|
4311
4313
|
}
|
|
4312
4314
|
},
|
|
4313
|
-
{
|
|
4314
|
-
labelPlacement: ["outside", "outside-left"],
|
|
4315
|
-
class: {
|
|
4316
|
-
input: "h-full"
|
|
4317
|
-
}
|
|
4318
|
-
},
|
|
4319
4315
|
{
|
|
4320
4316
|
labelPlacement: "outside",
|
|
4321
4317
|
isMultiline: false,
|
|
@@ -5191,7 +5187,7 @@ var modal = tv({
|
|
|
5191
5187
|
base: "overflow-y-hidden"
|
|
5192
5188
|
},
|
|
5193
5189
|
inside: {
|
|
5194
|
-
base: "max-h-[calc(100%_-
|
|
5190
|
+
base: "max-h-[calc(100%_-_8rem)]",
|
|
5195
5191
|
body: "overflow-y-auto"
|
|
5196
5192
|
},
|
|
5197
5193
|
outside: {
|
|
@@ -5464,7 +5460,6 @@ var table = tv({
|
|
|
5464
5460
|
"rtl:last:rounded-l-lg",
|
|
5465
5461
|
"rtl:last:rounded-r-[unset]",
|
|
5466
5462
|
"outline-none",
|
|
5467
|
-
"data-[sortable=true]:transition-colors",
|
|
5468
5463
|
"data-[sortable=true]:cursor-pointer",
|
|
5469
5464
|
"data-[hover=true]:text-foreground-400",
|
|
5470
5465
|
...dataFocusVisibleClasses
|
|
@@ -5508,7 +5503,7 @@ var table = tv({
|
|
|
5508
5503
|
variants: {
|
|
5509
5504
|
color: {
|
|
5510
5505
|
default: {
|
|
5511
|
-
td: "before:bg-default/
|
|
5506
|
+
td: "before:bg-default/60 data-[selected=true]:text-default-foreground"
|
|
5512
5507
|
},
|
|
5513
5508
|
primary: {
|
|
5514
5509
|
td: "before:bg-primary/20 data-[selected=true]:text-primary"
|
|
@@ -5657,7 +5652,51 @@ var table = tv({
|
|
|
5657
5652
|
isStriped: false,
|
|
5658
5653
|
fullWidth: true,
|
|
5659
5654
|
align: "start"
|
|
5660
|
-
}
|
|
5655
|
+
},
|
|
5656
|
+
compoundVariants: [
|
|
5657
|
+
{
|
|
5658
|
+
isStriped: true,
|
|
5659
|
+
color: "default",
|
|
5660
|
+
class: {
|
|
5661
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-default/60"
|
|
5662
|
+
}
|
|
5663
|
+
},
|
|
5664
|
+
{
|
|
5665
|
+
isStriped: true,
|
|
5666
|
+
color: "primary",
|
|
5667
|
+
class: {
|
|
5668
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-primary/20"
|
|
5669
|
+
}
|
|
5670
|
+
},
|
|
5671
|
+
{
|
|
5672
|
+
isStriped: true,
|
|
5673
|
+
color: "secondary",
|
|
5674
|
+
class: {
|
|
5675
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-secondary/20"
|
|
5676
|
+
}
|
|
5677
|
+
},
|
|
5678
|
+
{
|
|
5679
|
+
isStriped: true,
|
|
5680
|
+
color: "success",
|
|
5681
|
+
class: {
|
|
5682
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-success/20"
|
|
5683
|
+
}
|
|
5684
|
+
},
|
|
5685
|
+
{
|
|
5686
|
+
isStriped: true,
|
|
5687
|
+
color: "warning",
|
|
5688
|
+
class: {
|
|
5689
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-warning/20"
|
|
5690
|
+
}
|
|
5691
|
+
},
|
|
5692
|
+
{
|
|
5693
|
+
isStriped: true,
|
|
5694
|
+
color: "danger",
|
|
5695
|
+
class: {
|
|
5696
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-danger/20"
|
|
5697
|
+
}
|
|
5698
|
+
}
|
|
5699
|
+
]
|
|
5661
5700
|
});
|
|
5662
5701
|
|
|
5663
5702
|
// src/components/spacer.ts
|
|
@@ -8790,8 +8829,8 @@ var datePicker = tv({
|
|
|
8790
8829
|
selectorButton: "-mr-2 text-inherit",
|
|
8791
8830
|
selectorIcon: "text-lg text-inherit pointer-events-none flex-shrink-0",
|
|
8792
8831
|
popoverContent: "p-0 w-full",
|
|
8793
|
-
calendar: "w-[var(--calendar-width)] shadow-none",
|
|
8794
|
-
calendarContent: "w-[var(--calendar-width)]",
|
|
8832
|
+
calendar: "w-[calc(var(--visible-months)_*_var(--calendar-width))] shadow-none",
|
|
8833
|
+
calendarContent: "w-[calc(var(--visible-months)_*_var(--calendar-width))]",
|
|
8795
8834
|
timeInputLabel: "font-medium",
|
|
8796
8835
|
timeInput: "px-5 pb-4 flex-wrap gap-x-6"
|
|
8797
8836
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "./chunk-AXXUQWWC.mjs";
|
|
32
32
|
import {
|
|
33
33
|
table
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XT44N6I6.mjs";
|
|
35
35
|
import "./chunk-YJLQTC7L.mjs";
|
|
36
36
|
import {
|
|
37
37
|
menu,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-4YQYZDME.mjs";
|
|
41
41
|
import {
|
|
42
42
|
modal
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-N4MWCCMM.mjs";
|
|
44
44
|
import {
|
|
45
45
|
navbar
|
|
46
46
|
} from "./chunk-3QYYLFUC.mjs";
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
} from "./chunk-U6G6SZ26.mjs";
|
|
75
75
|
import {
|
|
76
76
|
input
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-ARFD2V3F.mjs";
|
|
78
78
|
import {
|
|
79
79
|
kbd
|
|
80
80
|
} from "./chunk-F4AOWB64.mjs";
|
|
@@ -107,11 +107,11 @@ import {
|
|
|
107
107
|
import {
|
|
108
108
|
datePicker,
|
|
109
109
|
dateRangePicker
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-WGH4WKVU.mjs";
|
|
111
111
|
import {
|
|
112
112
|
accordion,
|
|
113
113
|
accordionItem
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-MVG7GLBD.mjs";
|
|
115
115
|
import {
|
|
116
116
|
autocomplete
|
|
117
117
|
} from "./chunk-KKN74BUG.mjs";
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
import {
|
|
130
130
|
button,
|
|
131
131
|
buttonGroup
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-MERQJVXF.mjs";
|
|
133
133
|
import "./chunk-IV3K5WDK.mjs";
|
|
134
134
|
import {
|
|
135
135
|
cn
|