@nextui-org/theme 2.2.5 → 2.2.7
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-QXCYVABV.mjs → chunk-3QYYLFUC.mjs} +1 -1
- package/dist/{chunk-66462YHM.mjs → chunk-ARFD2V3F.mjs} +4 -8
- package/dist/{chunk-VFGZ2KFC.mjs → chunk-MVG7GLBD.mjs} +7 -7
- package/dist/{chunk-WRLU2O3D.mjs → chunk-YC3FDJN4.mjs} +62 -5
- 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/index.js +74 -21
- package/dist/components/index.mjs +4 -4
- package/dist/components/input.js +4 -8
- package/dist/components/input.mjs +1 -1
- package/dist/components/navbar.js +1 -1
- package/dist/components/navbar.mjs +1 -1
- package/dist/components/table.d.ts +98 -0
- package/dist/components/table.js +71 -16
- package/dist/components/table.mjs +1 -1
- package/dist/index.js +74 -21
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
|
@@ -189,7 +189,7 @@ var navbar = tv({
|
|
|
189
189
|
},
|
|
190
190
|
disableAnimation: {
|
|
191
191
|
true: {
|
|
192
|
-
menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height)
|
|
192
|
+
menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height))]", "data-[open=true]:flex"]
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
},
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
// src/components/input.ts
|
|
10
10
|
var input = tv({
|
|
11
11
|
slots: {
|
|
12
|
-
base: "group flex flex-col",
|
|
12
|
+
base: "group flex flex-col data-[hidden=true]:hidden",
|
|
13
13
|
label: [
|
|
14
14
|
"absolute",
|
|
15
15
|
"z-10",
|
|
@@ -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,
|
|
@@ -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",
|
|
@@ -29,8 +29,6 @@ var table = tv({
|
|
|
29
29
|
"group",
|
|
30
30
|
"px-3",
|
|
31
31
|
"h-10",
|
|
32
|
-
"text-left",
|
|
33
|
-
"rtl:text-right",
|
|
34
32
|
"align-middle",
|
|
35
33
|
"bg-default-100",
|
|
36
34
|
"whitespace-nowrap",
|
|
@@ -88,7 +86,7 @@ var table = tv({
|
|
|
88
86
|
variants: {
|
|
89
87
|
color: {
|
|
90
88
|
default: {
|
|
91
|
-
td: "before:bg-default/
|
|
89
|
+
td: "before:bg-default/60 data-[selected=true]:text-default-foreground"
|
|
92
90
|
},
|
|
93
91
|
primary: {
|
|
94
92
|
td: "before:bg-primary/20 data-[selected=true]:text-primary"
|
|
@@ -211,6 +209,20 @@ var table = tv({
|
|
|
211
209
|
wrapper: "w-full",
|
|
212
210
|
table: "w-full"
|
|
213
211
|
}
|
|
212
|
+
},
|
|
213
|
+
align: {
|
|
214
|
+
start: {
|
|
215
|
+
th: "text-start",
|
|
216
|
+
td: "text-start"
|
|
217
|
+
},
|
|
218
|
+
center: {
|
|
219
|
+
th: "text-center",
|
|
220
|
+
td: "text-center"
|
|
221
|
+
},
|
|
222
|
+
end: {
|
|
223
|
+
th: "text-end",
|
|
224
|
+
td: "text-end"
|
|
225
|
+
}
|
|
214
226
|
}
|
|
215
227
|
},
|
|
216
228
|
defaultVariants: {
|
|
@@ -221,8 +233,53 @@ var table = tv({
|
|
|
221
233
|
isCompact: false,
|
|
222
234
|
hideHeader: false,
|
|
223
235
|
isStriped: false,
|
|
224
|
-
fullWidth: true
|
|
225
|
-
|
|
236
|
+
fullWidth: true,
|
|
237
|
+
align: "start"
|
|
238
|
+
},
|
|
239
|
+
compoundVariants: [
|
|
240
|
+
{
|
|
241
|
+
isStriped: true,
|
|
242
|
+
color: "default",
|
|
243
|
+
class: {
|
|
244
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-default/60"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
isStriped: true,
|
|
249
|
+
color: "primary",
|
|
250
|
+
class: {
|
|
251
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-primary/20"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
isStriped: true,
|
|
256
|
+
color: "secondary",
|
|
257
|
+
class: {
|
|
258
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-secondary/20"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
isStriped: true,
|
|
263
|
+
color: "success",
|
|
264
|
+
class: {
|
|
265
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-success/20"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
isStriped: true,
|
|
270
|
+
color: "warning",
|
|
271
|
+
class: {
|
|
272
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-warning/20"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
isStriped: true,
|
|
277
|
+
color: "danger",
|
|
278
|
+
class: {
|
|
279
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-danger/20"
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
]
|
|
226
283
|
});
|
|
227
284
|
|
|
228
285
|
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",
|
package/dist/components/index.js
CHANGED
|
@@ -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",
|
|
@@ -3714,7 +3714,7 @@ var circularProgress = tv({
|
|
|
3714
3714
|
// src/components/input.ts
|
|
3715
3715
|
var input = tv({
|
|
3716
3716
|
slots: {
|
|
3717
|
-
base: "group flex flex-col",
|
|
3717
|
+
base: "group flex flex-col data-[hidden=true]:hidden",
|
|
3718
3718
|
label: [
|
|
3719
3719
|
"absolute",
|
|
3720
3720
|
"z-10",
|
|
@@ -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,
|
|
@@ -5374,7 +5370,7 @@ var navbar = tv({
|
|
|
5374
5370
|
},
|
|
5375
5371
|
disableAnimation: {
|
|
5376
5372
|
true: {
|
|
5377
|
-
menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height)
|
|
5373
|
+
menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height))]", "data-[open=true]:flex"]
|
|
5378
5374
|
}
|
|
5379
5375
|
}
|
|
5380
5376
|
},
|
|
@@ -5409,8 +5405,6 @@ var table = tv({
|
|
|
5409
5405
|
"group",
|
|
5410
5406
|
"px-3",
|
|
5411
5407
|
"h-10",
|
|
5412
|
-
"text-left",
|
|
5413
|
-
"rtl:text-right",
|
|
5414
5408
|
"align-middle",
|
|
5415
5409
|
"bg-default-100",
|
|
5416
5410
|
"whitespace-nowrap",
|
|
@@ -5468,7 +5462,7 @@ var table = tv({
|
|
|
5468
5462
|
variants: {
|
|
5469
5463
|
color: {
|
|
5470
5464
|
default: {
|
|
5471
|
-
td: "before:bg-default/
|
|
5465
|
+
td: "before:bg-default/60 data-[selected=true]:text-default-foreground"
|
|
5472
5466
|
},
|
|
5473
5467
|
primary: {
|
|
5474
5468
|
td: "before:bg-primary/20 data-[selected=true]:text-primary"
|
|
@@ -5591,6 +5585,20 @@ var table = tv({
|
|
|
5591
5585
|
wrapper: "w-full",
|
|
5592
5586
|
table: "w-full"
|
|
5593
5587
|
}
|
|
5588
|
+
},
|
|
5589
|
+
align: {
|
|
5590
|
+
start: {
|
|
5591
|
+
th: "text-start",
|
|
5592
|
+
td: "text-start"
|
|
5593
|
+
},
|
|
5594
|
+
center: {
|
|
5595
|
+
th: "text-center",
|
|
5596
|
+
td: "text-center"
|
|
5597
|
+
},
|
|
5598
|
+
end: {
|
|
5599
|
+
th: "text-end",
|
|
5600
|
+
td: "text-end"
|
|
5601
|
+
}
|
|
5594
5602
|
}
|
|
5595
5603
|
},
|
|
5596
5604
|
defaultVariants: {
|
|
@@ -5601,8 +5609,53 @@ var table = tv({
|
|
|
5601
5609
|
isCompact: false,
|
|
5602
5610
|
hideHeader: false,
|
|
5603
5611
|
isStriped: false,
|
|
5604
|
-
fullWidth: true
|
|
5605
|
-
|
|
5612
|
+
fullWidth: true,
|
|
5613
|
+
align: "start"
|
|
5614
|
+
},
|
|
5615
|
+
compoundVariants: [
|
|
5616
|
+
{
|
|
5617
|
+
isStriped: true,
|
|
5618
|
+
color: "default",
|
|
5619
|
+
class: {
|
|
5620
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-default/60"
|
|
5621
|
+
}
|
|
5622
|
+
},
|
|
5623
|
+
{
|
|
5624
|
+
isStriped: true,
|
|
5625
|
+
color: "primary",
|
|
5626
|
+
class: {
|
|
5627
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-primary/20"
|
|
5628
|
+
}
|
|
5629
|
+
},
|
|
5630
|
+
{
|
|
5631
|
+
isStriped: true,
|
|
5632
|
+
color: "secondary",
|
|
5633
|
+
class: {
|
|
5634
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-secondary/20"
|
|
5635
|
+
}
|
|
5636
|
+
},
|
|
5637
|
+
{
|
|
5638
|
+
isStriped: true,
|
|
5639
|
+
color: "success",
|
|
5640
|
+
class: {
|
|
5641
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-success/20"
|
|
5642
|
+
}
|
|
5643
|
+
},
|
|
5644
|
+
{
|
|
5645
|
+
isStriped: true,
|
|
5646
|
+
color: "warning",
|
|
5647
|
+
class: {
|
|
5648
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-warning/20"
|
|
5649
|
+
}
|
|
5650
|
+
},
|
|
5651
|
+
{
|
|
5652
|
+
isStriped: true,
|
|
5653
|
+
color: "danger",
|
|
5654
|
+
class: {
|
|
5655
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-danger/20"
|
|
5656
|
+
}
|
|
5657
|
+
}
|
|
5658
|
+
]
|
|
5606
5659
|
});
|
|
5607
5660
|
|
|
5608
5661
|
// src/components/spacer.ts
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "../chunk-AXXUQWWC.mjs";
|
|
32
32
|
import {
|
|
33
33
|
table
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-YC3FDJN4.mjs";
|
|
35
35
|
import "../chunk-YJLQTC7L.mjs";
|
|
36
36
|
import {
|
|
37
37
|
menu,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "../chunk-INW3YHX5.mjs";
|
|
44
44
|
import {
|
|
45
45
|
navbar
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-3QYYLFUC.mjs";
|
|
47
47
|
import {
|
|
48
48
|
pagination
|
|
49
49
|
} from "../chunk-DXPS72CE.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";
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
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";
|
package/dist/components/input.js
CHANGED
|
@@ -83,7 +83,7 @@ var groupDataFocusVisibleClasses = [
|
|
|
83
83
|
// src/components/input.ts
|
|
84
84
|
var input = tv({
|
|
85
85
|
slots: {
|
|
86
|
-
base: "group flex flex-col",
|
|
86
|
+
base: "group flex flex-col data-[hidden=true]:hidden",
|
|
87
87
|
label: [
|
|
88
88
|
"absolute",
|
|
89
89
|
"z-10",
|
|
@@ -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,
|
|
@@ -256,7 +256,7 @@ var navbar = tv({
|
|
|
256
256
|
},
|
|
257
257
|
disableAnimation: {
|
|
258
258
|
true: {
|
|
259
|
-
menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height)
|
|
259
|
+
menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height))]", "data-[open=true]:flex"]
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
},
|
|
@@ -136,6 +136,20 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
136
136
|
table: string;
|
|
137
137
|
};
|
|
138
138
|
};
|
|
139
|
+
align: {
|
|
140
|
+
start: {
|
|
141
|
+
th: string;
|
|
142
|
+
td: string;
|
|
143
|
+
};
|
|
144
|
+
center: {
|
|
145
|
+
th: string;
|
|
146
|
+
td: string;
|
|
147
|
+
};
|
|
148
|
+
end: {
|
|
149
|
+
th: string;
|
|
150
|
+
td: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
139
153
|
}, {
|
|
140
154
|
base: string;
|
|
141
155
|
wrapper: string[];
|
|
@@ -248,6 +262,20 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
248
262
|
table: string;
|
|
249
263
|
};
|
|
250
264
|
};
|
|
265
|
+
align: {
|
|
266
|
+
start: {
|
|
267
|
+
th: string;
|
|
268
|
+
td: string;
|
|
269
|
+
};
|
|
270
|
+
center: {
|
|
271
|
+
th: string;
|
|
272
|
+
td: string;
|
|
273
|
+
};
|
|
274
|
+
end: {
|
|
275
|
+
th: string;
|
|
276
|
+
td: string;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
251
279
|
}, {
|
|
252
280
|
color: {
|
|
253
281
|
default: {
|
|
@@ -347,6 +375,20 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
347
375
|
table: string;
|
|
348
376
|
};
|
|
349
377
|
};
|
|
378
|
+
align: {
|
|
379
|
+
start: {
|
|
380
|
+
th: string;
|
|
381
|
+
td: string;
|
|
382
|
+
};
|
|
383
|
+
center: {
|
|
384
|
+
th: string;
|
|
385
|
+
td: string;
|
|
386
|
+
};
|
|
387
|
+
end: {
|
|
388
|
+
th: string;
|
|
389
|
+
td: string;
|
|
390
|
+
};
|
|
391
|
+
};
|
|
350
392
|
}>, {
|
|
351
393
|
color: {
|
|
352
394
|
default: {
|
|
@@ -446,6 +488,20 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
446
488
|
table: string;
|
|
447
489
|
};
|
|
448
490
|
};
|
|
491
|
+
align: {
|
|
492
|
+
start: {
|
|
493
|
+
th: string;
|
|
494
|
+
td: string;
|
|
495
|
+
};
|
|
496
|
+
center: {
|
|
497
|
+
th: string;
|
|
498
|
+
td: string;
|
|
499
|
+
};
|
|
500
|
+
end: {
|
|
501
|
+
th: string;
|
|
502
|
+
td: string;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
449
505
|
}, {
|
|
450
506
|
base: string;
|
|
451
507
|
wrapper: string[];
|
|
@@ -558,6 +614,20 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
558
614
|
table: string;
|
|
559
615
|
};
|
|
560
616
|
};
|
|
617
|
+
align: {
|
|
618
|
+
start: {
|
|
619
|
+
th: string;
|
|
620
|
+
td: string;
|
|
621
|
+
};
|
|
622
|
+
center: {
|
|
623
|
+
th: string;
|
|
624
|
+
td: string;
|
|
625
|
+
};
|
|
626
|
+
end: {
|
|
627
|
+
th: string;
|
|
628
|
+
td: string;
|
|
629
|
+
};
|
|
630
|
+
};
|
|
561
631
|
}, {
|
|
562
632
|
base: string;
|
|
563
633
|
wrapper: string[];
|
|
@@ -670,6 +740,20 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
670
740
|
table: string;
|
|
671
741
|
};
|
|
672
742
|
};
|
|
743
|
+
align: {
|
|
744
|
+
start: {
|
|
745
|
+
th: string;
|
|
746
|
+
td: string;
|
|
747
|
+
};
|
|
748
|
+
center: {
|
|
749
|
+
th: string;
|
|
750
|
+
td: string;
|
|
751
|
+
};
|
|
752
|
+
end: {
|
|
753
|
+
th: string;
|
|
754
|
+
td: string;
|
|
755
|
+
};
|
|
756
|
+
};
|
|
673
757
|
}, {
|
|
674
758
|
color: {
|
|
675
759
|
default: {
|
|
@@ -769,6 +853,20 @@ declare const table: tailwind_variants.TVReturnType<{
|
|
|
769
853
|
table: string;
|
|
770
854
|
};
|
|
771
855
|
};
|
|
856
|
+
align: {
|
|
857
|
+
start: {
|
|
858
|
+
th: string;
|
|
859
|
+
td: string;
|
|
860
|
+
};
|
|
861
|
+
center: {
|
|
862
|
+
th: string;
|
|
863
|
+
td: string;
|
|
864
|
+
};
|
|
865
|
+
end: {
|
|
866
|
+
th: string;
|
|
867
|
+
td: string;
|
|
868
|
+
};
|
|
869
|
+
};
|
|
772
870
|
}>, unknown, unknown, undefined>>;
|
|
773
871
|
type TableVariantProps = VariantProps<typeof table>;
|
|
774
872
|
type TableSlots = keyof ReturnType<typeof table>;
|
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: {
|
|
@@ -96,8 +94,6 @@ var table = tv({
|
|
|
96
94
|
"group",
|
|
97
95
|
"px-3",
|
|
98
96
|
"h-10",
|
|
99
|
-
"text-left",
|
|
100
|
-
"rtl:text-right",
|
|
101
97
|
"align-middle",
|
|
102
98
|
"bg-default-100",
|
|
103
99
|
"whitespace-nowrap",
|
|
@@ -155,7 +151,7 @@ var table = tv({
|
|
|
155
151
|
variants: {
|
|
156
152
|
color: {
|
|
157
153
|
default: {
|
|
158
|
-
td: "before:bg-default/
|
|
154
|
+
td: "before:bg-default/60 data-[selected=true]:text-default-foreground"
|
|
159
155
|
},
|
|
160
156
|
primary: {
|
|
161
157
|
td: "before:bg-primary/20 data-[selected=true]:text-primary"
|
|
@@ -278,6 +274,20 @@ var table = tv({
|
|
|
278
274
|
wrapper: "w-full",
|
|
279
275
|
table: "w-full"
|
|
280
276
|
}
|
|
277
|
+
},
|
|
278
|
+
align: {
|
|
279
|
+
start: {
|
|
280
|
+
th: "text-start",
|
|
281
|
+
td: "text-start"
|
|
282
|
+
},
|
|
283
|
+
center: {
|
|
284
|
+
th: "text-center",
|
|
285
|
+
td: "text-center"
|
|
286
|
+
},
|
|
287
|
+
end: {
|
|
288
|
+
th: "text-end",
|
|
289
|
+
td: "text-end"
|
|
290
|
+
}
|
|
281
291
|
}
|
|
282
292
|
},
|
|
283
293
|
defaultVariants: {
|
|
@@ -288,8 +298,53 @@ var table = tv({
|
|
|
288
298
|
isCompact: false,
|
|
289
299
|
hideHeader: false,
|
|
290
300
|
isStriped: false,
|
|
291
|
-
fullWidth: true
|
|
292
|
-
|
|
301
|
+
fullWidth: true,
|
|
302
|
+
align: "start"
|
|
303
|
+
},
|
|
304
|
+
compoundVariants: [
|
|
305
|
+
{
|
|
306
|
+
isStriped: true,
|
|
307
|
+
color: "default",
|
|
308
|
+
class: {
|
|
309
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-default/60"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
isStriped: true,
|
|
314
|
+
color: "primary",
|
|
315
|
+
class: {
|
|
316
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-primary/20"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
isStriped: true,
|
|
321
|
+
color: "secondary",
|
|
322
|
+
class: {
|
|
323
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-secondary/20"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
isStriped: true,
|
|
328
|
+
color: "success",
|
|
329
|
+
class: {
|
|
330
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-success/20"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
isStriped: true,
|
|
335
|
+
color: "warning",
|
|
336
|
+
class: {
|
|
337
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-warning/20"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
isStriped: true,
|
|
342
|
+
color: "danger",
|
|
343
|
+
class: {
|
|
344
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-danger/20"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
]
|
|
293
348
|
});
|
|
294
349
|
// Annotate the CommonJS export names for ESM import in node:
|
|
295
350
|
0 && (module.exports = {
|
package/dist/index.js
CHANGED
|
@@ -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",
|
|
@@ -3756,7 +3756,7 @@ var circularProgress = tv({
|
|
|
3756
3756
|
// src/components/input.ts
|
|
3757
3757
|
var input = tv({
|
|
3758
3758
|
slots: {
|
|
3759
|
-
base: "group flex flex-col",
|
|
3759
|
+
base: "group flex flex-col data-[hidden=true]:hidden",
|
|
3760
3760
|
label: [
|
|
3761
3761
|
"absolute",
|
|
3762
3762
|
"z-10",
|
|
@@ -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,
|
|
@@ -5416,7 +5412,7 @@ var navbar = tv({
|
|
|
5416
5412
|
},
|
|
5417
5413
|
disableAnimation: {
|
|
5418
5414
|
true: {
|
|
5419
|
-
menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height)
|
|
5415
|
+
menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height))]", "data-[open=true]:flex"]
|
|
5420
5416
|
}
|
|
5421
5417
|
}
|
|
5422
5418
|
},
|
|
@@ -5451,8 +5447,6 @@ var table = tv({
|
|
|
5451
5447
|
"group",
|
|
5452
5448
|
"px-3",
|
|
5453
5449
|
"h-10",
|
|
5454
|
-
"text-left",
|
|
5455
|
-
"rtl:text-right",
|
|
5456
5450
|
"align-middle",
|
|
5457
5451
|
"bg-default-100",
|
|
5458
5452
|
"whitespace-nowrap",
|
|
@@ -5510,7 +5504,7 @@ var table = tv({
|
|
|
5510
5504
|
variants: {
|
|
5511
5505
|
color: {
|
|
5512
5506
|
default: {
|
|
5513
|
-
td: "before:bg-default/
|
|
5507
|
+
td: "before:bg-default/60 data-[selected=true]:text-default-foreground"
|
|
5514
5508
|
},
|
|
5515
5509
|
primary: {
|
|
5516
5510
|
td: "before:bg-primary/20 data-[selected=true]:text-primary"
|
|
@@ -5633,6 +5627,20 @@ var table = tv({
|
|
|
5633
5627
|
wrapper: "w-full",
|
|
5634
5628
|
table: "w-full"
|
|
5635
5629
|
}
|
|
5630
|
+
},
|
|
5631
|
+
align: {
|
|
5632
|
+
start: {
|
|
5633
|
+
th: "text-start",
|
|
5634
|
+
td: "text-start"
|
|
5635
|
+
},
|
|
5636
|
+
center: {
|
|
5637
|
+
th: "text-center",
|
|
5638
|
+
td: "text-center"
|
|
5639
|
+
},
|
|
5640
|
+
end: {
|
|
5641
|
+
th: "text-end",
|
|
5642
|
+
td: "text-end"
|
|
5643
|
+
}
|
|
5636
5644
|
}
|
|
5637
5645
|
},
|
|
5638
5646
|
defaultVariants: {
|
|
@@ -5643,8 +5651,53 @@ var table = tv({
|
|
|
5643
5651
|
isCompact: false,
|
|
5644
5652
|
hideHeader: false,
|
|
5645
5653
|
isStriped: false,
|
|
5646
|
-
fullWidth: true
|
|
5647
|
-
|
|
5654
|
+
fullWidth: true,
|
|
5655
|
+
align: "start"
|
|
5656
|
+
},
|
|
5657
|
+
compoundVariants: [
|
|
5658
|
+
{
|
|
5659
|
+
isStriped: true,
|
|
5660
|
+
color: "default",
|
|
5661
|
+
class: {
|
|
5662
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-default/60"
|
|
5663
|
+
}
|
|
5664
|
+
},
|
|
5665
|
+
{
|
|
5666
|
+
isStriped: true,
|
|
5667
|
+
color: "primary",
|
|
5668
|
+
class: {
|
|
5669
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-primary/20"
|
|
5670
|
+
}
|
|
5671
|
+
},
|
|
5672
|
+
{
|
|
5673
|
+
isStriped: true,
|
|
5674
|
+
color: "secondary",
|
|
5675
|
+
class: {
|
|
5676
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-secondary/20"
|
|
5677
|
+
}
|
|
5678
|
+
},
|
|
5679
|
+
{
|
|
5680
|
+
isStriped: true,
|
|
5681
|
+
color: "success",
|
|
5682
|
+
class: {
|
|
5683
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-success/20"
|
|
5684
|
+
}
|
|
5685
|
+
},
|
|
5686
|
+
{
|
|
5687
|
+
isStriped: true,
|
|
5688
|
+
color: "warning",
|
|
5689
|
+
class: {
|
|
5690
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-warning/20"
|
|
5691
|
+
}
|
|
5692
|
+
},
|
|
5693
|
+
{
|
|
5694
|
+
isStriped: true,
|
|
5695
|
+
color: "danger",
|
|
5696
|
+
class: {
|
|
5697
|
+
td: "group-data-[odd=true]:data-[selected=true]:before:bg-danger/20"
|
|
5698
|
+
}
|
|
5699
|
+
}
|
|
5700
|
+
]
|
|
5648
5701
|
});
|
|
5649
5702
|
|
|
5650
5703
|
// src/components/spacer.ts
|
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-YC3FDJN4.mjs";
|
|
35
35
|
import "./chunk-YJLQTC7L.mjs";
|
|
36
36
|
import {
|
|
37
37
|
menu,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "./chunk-INW3YHX5.mjs";
|
|
44
44
|
import {
|
|
45
45
|
navbar
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-3QYYLFUC.mjs";
|
|
47
47
|
import {
|
|
48
48
|
pagination
|
|
49
49
|
} from "./chunk-DXPS72CE.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";
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
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";
|