@nextui-org/theme 0.0.0-dev-v2-20230415023901 → 0.0.0-dev-v2-20230415210725
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-2QIDY5NZ.mjs +22 -0
- package/dist/{chunk-TEP7IDHT.mjs → chunk-7GYSEREC.mjs} +12 -16
- package/dist/{chunk-K6HUFGJV.mjs → chunk-ANRX4UF2.mjs} +10 -17
- package/dist/{chunk-PC5X557I.mjs → chunk-DBYBIR6S.mjs} +38 -30
- package/dist/{chunk-TSETU4MR.mjs → chunk-FZQRP6V7.mjs} +19 -14
- package/dist/{chunk-D3I4FO36.mjs → chunk-KWYOTFZ4.mjs} +45 -48
- package/dist/{chunk-4IAUQPNO.mjs → chunk-MZ2ZBGLR.mjs} +7 -9
- package/dist/{chunk-WYZNUYAJ.mjs → chunk-SN6PW6NR.mjs} +16 -19
- package/dist/{chunk-FTD4Z4HA.mjs → chunk-TDD767J7.mjs} +9 -13
- package/dist/chunk-UXBWU2G4.mjs +178 -0
- package/dist/{chunk-W3CNTVG5.mjs → chunk-XQ3KK6F3.mjs} +14 -17
- package/dist/{chunk-IB25MFRG.mjs → chunk-XSFH4S4Y.mjs} +9 -10
- package/dist/{chunk-BLQLHY22.mjs → chunk-Y63UYKP7.mjs} +8 -8
- package/dist/{chunk-53YQ75PY.mjs → chunk-YMIOHWCD.mjs} +9 -12
- package/dist/components/accordion-item.d.ts +1 -11
- package/dist/components/accordion-item.js +9 -18
- package/dist/components/accordion-item.mjs +1 -5
- package/dist/components/avatar.d.ts +3 -13
- package/dist/components/avatar.js +12 -23
- package/dist/components/avatar.mjs +1 -1
- package/dist/components/button.d.ts +7 -7
- package/dist/components/button.js +8 -15
- package/dist/components/button.mjs +1 -1
- package/dist/components/card.d.ts +0 -10
- package/dist/components/card.js +9 -21
- package/dist/components/card.mjs +1 -5
- package/dist/components/checkbox.d.ts +0 -10
- package/dist/components/checkbox.js +14 -25
- package/dist/components/checkbox.mjs +1 -5
- package/dist/components/dropdown-item.d.ts +1 -11
- package/dist/components/dropdown-item.js +45 -56
- package/dist/components/dropdown-item.mjs +1 -5
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +274 -222
- package/dist/components/index.mjs +36 -36
- package/dist/components/input.d.ts +0 -16
- package/dist/components/input.js +38 -38
- package/dist/components/input.mjs +1 -5
- package/dist/components/modal.d.ts +0 -10
- package/dist/components/modal.js +9 -20
- package/dist/components/modal.mjs +1 -5
- package/dist/components/pagination.d.ts +1 -11
- package/dist/components/pagination.js +19 -21
- package/dist/components/pagination.mjs +1 -1
- package/dist/components/popover.d.ts +0 -10
- package/dist/components/popover.js +7 -16
- package/dist/components/popover.mjs +1 -1
- package/dist/components/radio.d.ts +6 -11
- package/dist/components/radio.js +16 -27
- package/dist/components/radio.mjs +1 -5
- package/dist/components/snippet.d.ts +1 -11
- package/dist/components/snippet.js +10 -24
- package/dist/components/snippet.mjs +1 -1
- package/dist/components/toggle.d.ts +22 -27
- package/dist/components/toggle.js +69 -54
- package/dist/components/toggle.mjs +1 -5
- package/dist/components/user.d.ts +15 -19
- package/dist/components/user.js +9 -20
- package/dist/components/user.mjs +1 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +274 -222
- package/dist/index.mjs +40 -40
- package/dist/plugin.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-6KZCW2WL.mjs +0 -25
- package/dist/chunk-JQ2VRKTU.mjs +0 -155
- package/dist/{chunk-WS27WNYH.mjs → chunk-XSFNJVJG.mjs} +3 -3
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// src/components/user.ts
|
|
2
|
+
import { tv } from "tailwind-variants";
|
|
3
|
+
var user = tv({
|
|
4
|
+
slots: {
|
|
5
|
+
base: [
|
|
6
|
+
"inline-flex items-center justify-center gap-2 rounded-sm",
|
|
7
|
+
"data-[focus-visible=true]:outline-none",
|
|
8
|
+
"data-[focus-visible=true]:ring-2",
|
|
9
|
+
"data-[focus-visible=true]:ring-primary",
|
|
10
|
+
"data-[focus-visible=true]:ring-offset-2",
|
|
11
|
+
"data-[focus-visible=true]:ring-offset-background",
|
|
12
|
+
"data-[focus-visible=true]:dark:ring-offset-background-dark"
|
|
13
|
+
],
|
|
14
|
+
wrapper: "inline-flex flex-col items-start",
|
|
15
|
+
name: "text-sm text-foreground dark:text-foreground-dark",
|
|
16
|
+
description: "text-xs text-neutral-500"
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
export {
|
|
21
|
+
user
|
|
22
|
+
};
|
|
@@ -2,7 +2,6 @@ import {
|
|
|
2
2
|
colorVariants
|
|
3
3
|
} from "./chunk-LGGZKBOO.mjs";
|
|
4
4
|
import {
|
|
5
|
-
ringClasses,
|
|
6
5
|
translateCenterClasses
|
|
7
6
|
} from "./chunk-INZK6TTL.mjs";
|
|
8
7
|
|
|
@@ -19,7 +18,13 @@ var avatar = tv({
|
|
|
19
18
|
"overflow-hidden",
|
|
20
19
|
"align-middle",
|
|
21
20
|
"text-white",
|
|
22
|
-
"z-10"
|
|
21
|
+
"z-10",
|
|
22
|
+
"data-[focus-visible=true]:outline-none",
|
|
23
|
+
"data-[focus-visible=true]:ring-2",
|
|
24
|
+
"data-[focus-visible=true]:ring-primary",
|
|
25
|
+
"data-[focus-visible=true]:ring-offset-2",
|
|
26
|
+
"data-[focus-visible=true]:ring-offset-background",
|
|
27
|
+
"data-[focus-visible=true]:dark:ring-offset-background-dark"
|
|
23
28
|
],
|
|
24
29
|
img: [
|
|
25
30
|
"flex",
|
|
@@ -120,19 +125,17 @@ var avatar = tv({
|
|
|
120
125
|
base: "opacity-50"
|
|
121
126
|
}
|
|
122
127
|
},
|
|
123
|
-
isFocusVisible: {
|
|
124
|
-
true: {
|
|
125
|
-
base: [...ringClasses]
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
128
|
isInGroup: {
|
|
129
129
|
true: {
|
|
130
|
-
base:
|
|
130
|
+
base: [
|
|
131
|
+
"-ml-2 data-[hover=true]:-translate-x-3 transition-transform",
|
|
132
|
+
"data-[focus-visible=true]:-translate-x-3"
|
|
133
|
+
]
|
|
131
134
|
}
|
|
132
135
|
},
|
|
133
136
|
isInGridGroup: {
|
|
134
137
|
true: {
|
|
135
|
-
base: "m-0 hover:translate-x-0"
|
|
138
|
+
base: "m-0 data-[hover=true]:translate-x-0"
|
|
136
139
|
}
|
|
137
140
|
}
|
|
138
141
|
},
|
|
@@ -190,13 +193,6 @@ var avatar = tv({
|
|
|
190
193
|
class: {
|
|
191
194
|
base: "ring"
|
|
192
195
|
}
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
isInGroup: true,
|
|
196
|
-
isFocusVisible: true,
|
|
197
|
-
class: {
|
|
198
|
-
base: "-translate-x-3"
|
|
199
|
-
}
|
|
200
196
|
}
|
|
201
197
|
]
|
|
202
198
|
});
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colorVariants
|
|
3
3
|
} from "./chunk-LGGZKBOO.mjs";
|
|
4
|
-
import {
|
|
5
|
-
ringClasses
|
|
6
|
-
} from "./chunk-INZK6TTL.mjs";
|
|
7
4
|
|
|
8
5
|
// src/components/snippet.ts
|
|
9
6
|
import { tv } from "tailwind-variants";
|
|
@@ -11,7 +8,15 @@ var snippet = tv({
|
|
|
11
8
|
slots: {
|
|
12
9
|
base: "inline-flex items-center justify-between space-x-3 rounded-md",
|
|
13
10
|
pre: "bg-transparent text-inherit font-mono whitespace-pre-wrap",
|
|
14
|
-
copy:
|
|
11
|
+
copy: [
|
|
12
|
+
"z-10 appearance-none outline-none rounded-sm",
|
|
13
|
+
"data-[focus-visible=true]:outline-none",
|
|
14
|
+
"data-[focus-visible=true]:ring-1",
|
|
15
|
+
"data-[focus-visible=true]:ring-primary",
|
|
16
|
+
"data-[focus-visible=true]:ring-offset-2",
|
|
17
|
+
"data-[focus-visible=true]:ring-offset-transparent",
|
|
18
|
+
"data-[focus-visible=true]:dark:ring-offset-transparent"
|
|
19
|
+
]
|
|
15
20
|
},
|
|
16
21
|
variants: {
|
|
17
22
|
variant: {
|
|
@@ -84,17 +89,6 @@ var snippet = tv({
|
|
|
84
89
|
true: {
|
|
85
90
|
base: "w-full"
|
|
86
91
|
}
|
|
87
|
-
},
|
|
88
|
-
isFocusVisible: {
|
|
89
|
-
true: {
|
|
90
|
-
copy: [
|
|
91
|
-
...ringClasses,
|
|
92
|
-
"ring-1",
|
|
93
|
-
"rounded-sm",
|
|
94
|
-
"ring-offset-transparent",
|
|
95
|
-
"dark:ring-offset-transparent"
|
|
96
|
-
]
|
|
97
|
-
}
|
|
98
92
|
}
|
|
99
93
|
},
|
|
100
94
|
defaultVariants: {
|
|
@@ -102,8 +96,7 @@ var snippet = tv({
|
|
|
102
96
|
variant: "flat",
|
|
103
97
|
size: "md",
|
|
104
98
|
radius: "lg",
|
|
105
|
-
fullWidth: false
|
|
106
|
-
isFocusVisible: false
|
|
99
|
+
fullWidth: false
|
|
107
100
|
},
|
|
108
101
|
compoundVariants: [
|
|
109
102
|
{
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ringClasses
|
|
3
|
-
} from "./chunk-INZK6TTL.mjs";
|
|
4
|
-
|
|
5
1
|
// src/components/input.ts
|
|
6
2
|
import { tv } from "tailwind-variants";
|
|
7
3
|
var input = tv({
|
|
8
4
|
slots: {
|
|
9
|
-
base: "flex flex-col gap-2",
|
|
5
|
+
base: "group flex flex-col gap-2",
|
|
10
6
|
label: "block text-sm font-medium text-neutral-600",
|
|
11
7
|
inputWrapper: "relative w-full inline-flex flex-row items-center shadow-sm px-3 gap-3",
|
|
12
8
|
innerWrapper: "inline-flex h-full items-center w-full gap-1.5 box-border",
|
|
@@ -23,7 +19,13 @@ var input = tv({
|
|
|
23
19
|
"hover:!opacity-100",
|
|
24
20
|
"cursor-pointer",
|
|
25
21
|
"active:!opacity-70",
|
|
26
|
-
"rounded-full"
|
|
22
|
+
"rounded-full",
|
|
23
|
+
"data-[focus-visible]:outline-none",
|
|
24
|
+
"data-[focus-visible]:ring-2",
|
|
25
|
+
"data-[focus-visible]:!ring-primary",
|
|
26
|
+
"data-[focus-visible]:ring-offset-2",
|
|
27
|
+
"data-[focus-visible]:ring-offset-background",
|
|
28
|
+
"data-[focus-visible]:dark:ring-offset-background-dark"
|
|
27
29
|
],
|
|
28
30
|
description: "text-xs text-neutral-500",
|
|
29
31
|
errorMessage: "text-xs text-danger"
|
|
@@ -31,21 +33,25 @@ var input = tv({
|
|
|
31
33
|
variants: {
|
|
32
34
|
variant: {
|
|
33
35
|
flat: {
|
|
34
|
-
inputWrapper: [
|
|
36
|
+
inputWrapper: [
|
|
37
|
+
"bg-neutral-100",
|
|
38
|
+
"data-[hover=true]:bg-neutral-200",
|
|
39
|
+
"focus-within:!bg-neutral-100"
|
|
40
|
+
]
|
|
35
41
|
},
|
|
36
42
|
faded: {
|
|
37
43
|
inputWrapper: [
|
|
38
44
|
"bg-neutral-100",
|
|
39
45
|
"border",
|
|
40
46
|
"border-neutral-200",
|
|
41
|
-
"hover:border-neutral-400"
|
|
47
|
+
"data-[hover=true]:border-neutral-400"
|
|
42
48
|
]
|
|
43
49
|
},
|
|
44
50
|
bordered: {
|
|
45
51
|
inputWrapper: [
|
|
46
52
|
"border-2",
|
|
47
53
|
"border-neutral-200",
|
|
48
|
-
"hover:border-neutral-400",
|
|
54
|
+
"data-[hover=true]:border-neutral-400",
|
|
49
55
|
"focus-within:!border-foreground"
|
|
50
56
|
]
|
|
51
57
|
},
|
|
@@ -179,14 +185,6 @@ var input = tv({
|
|
|
179
185
|
base: "opacity-50 pointer-events-none"
|
|
180
186
|
}
|
|
181
187
|
},
|
|
182
|
-
isFocusVisible: {
|
|
183
|
-
true: {}
|
|
184
|
-
},
|
|
185
|
-
isClearButtonFocusVisible: {
|
|
186
|
-
true: {
|
|
187
|
-
clearButton: [...ringClasses]
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
188
|
isInvalid: {
|
|
191
189
|
true: {
|
|
192
190
|
label: "!text-danger",
|
|
@@ -240,7 +238,7 @@ var input = tv({
|
|
|
240
238
|
class: {
|
|
241
239
|
inputWrapper: [
|
|
242
240
|
"bg-primary-50",
|
|
243
|
-
"hover:bg-primary-100",
|
|
241
|
+
"data-[hover=true]:bg-primary-100",
|
|
244
242
|
"text-primary",
|
|
245
243
|
"focus-within:!bg-primary-50",
|
|
246
244
|
"placeholder:text-primary"
|
|
@@ -254,7 +252,7 @@ var input = tv({
|
|
|
254
252
|
class: {
|
|
255
253
|
inputWrapper: [
|
|
256
254
|
"bg-secondary-50",
|
|
257
|
-
"hover:bg-secondary-100",
|
|
255
|
+
"data-[hover=true]:bg-secondary-100",
|
|
258
256
|
"text-secondary",
|
|
259
257
|
"focus-within:!bg-secondary-50",
|
|
260
258
|
"placeholder:text-secondary"
|
|
@@ -268,7 +266,7 @@ var input = tv({
|
|
|
268
266
|
class: {
|
|
269
267
|
inputWrapper: [
|
|
270
268
|
"bg-success-50",
|
|
271
|
-
"hover:bg-success-100",
|
|
269
|
+
"data-[hover=true]:bg-success-100",
|
|
272
270
|
"text-success",
|
|
273
271
|
"focus-within:!bg-success-50",
|
|
274
272
|
"placeholder:text-success"
|
|
@@ -282,7 +280,7 @@ var input = tv({
|
|
|
282
280
|
class: {
|
|
283
281
|
inputWrapper: [
|
|
284
282
|
"bg-warning-50",
|
|
285
|
-
"hover:bg-warning-100",
|
|
283
|
+
"data-[hover=true]:bg-warning-100",
|
|
286
284
|
"text-warning",
|
|
287
285
|
"focus-within:!bg-warning-50",
|
|
288
286
|
"placeholder:text-warning"
|
|
@@ -296,7 +294,7 @@ var input = tv({
|
|
|
296
294
|
class: {
|
|
297
295
|
inputWrapper: [
|
|
298
296
|
"bg-danger-50",
|
|
299
|
-
"hover:bg-danger-100",
|
|
297
|
+
"data-[hover=true]:bg-danger-100",
|
|
300
298
|
"text-danger",
|
|
301
299
|
"focus-within:!bg-danger-50",
|
|
302
300
|
"placeholder:text-danger"
|
|
@@ -309,7 +307,7 @@ var input = tv({
|
|
|
309
307
|
color: "primary",
|
|
310
308
|
class: {
|
|
311
309
|
label: "text-primary",
|
|
312
|
-
inputWrapper: "hover:border-primary focus-within:border-primary"
|
|
310
|
+
inputWrapper: "data-[hover=true]:border-primary focus-within:border-primary"
|
|
313
311
|
}
|
|
314
312
|
},
|
|
315
313
|
{
|
|
@@ -317,7 +315,7 @@ var input = tv({
|
|
|
317
315
|
color: "secondary",
|
|
318
316
|
class: {
|
|
319
317
|
label: "text-secondary",
|
|
320
|
-
inputWrapper: "hover:border-secondary focus-within:border-secondary"
|
|
318
|
+
inputWrapper: "data-[hover=true]:border-secondary focus-within:border-secondary"
|
|
321
319
|
}
|
|
322
320
|
},
|
|
323
321
|
{
|
|
@@ -325,7 +323,7 @@ var input = tv({
|
|
|
325
323
|
color: "success",
|
|
326
324
|
class: {
|
|
327
325
|
label: "text-success",
|
|
328
|
-
inputWrapper: "hover:border-success focus-within:border-success"
|
|
326
|
+
inputWrapper: "data-[hover=true]:border-success focus-within:border-success"
|
|
329
327
|
}
|
|
330
328
|
},
|
|
331
329
|
{
|
|
@@ -333,7 +331,7 @@ var input = tv({
|
|
|
333
331
|
color: "warning",
|
|
334
332
|
class: {
|
|
335
333
|
label: "text-warning",
|
|
336
|
-
inputWrapper: "hover:border-warning focus-within:border-warning"
|
|
334
|
+
inputWrapper: "data-[hover=true]:border-warning focus-within:border-warning"
|
|
337
335
|
}
|
|
338
336
|
},
|
|
339
337
|
{
|
|
@@ -341,7 +339,7 @@ var input = tv({
|
|
|
341
339
|
color: "danger",
|
|
342
340
|
class: {
|
|
343
341
|
label: "text-danger",
|
|
344
|
-
inputWrapper: "hover:border-danger focus-within:border-danger"
|
|
342
|
+
inputWrapper: "data-[hover=true]:border-danger focus-within:border-danger"
|
|
345
343
|
}
|
|
346
344
|
},
|
|
347
345
|
{
|
|
@@ -457,17 +455,27 @@ var input = tv({
|
|
|
457
455
|
}
|
|
458
456
|
},
|
|
459
457
|
{
|
|
460
|
-
isFocusVisible: true,
|
|
461
458
|
variant: ["flat", "faded"],
|
|
462
459
|
class: {
|
|
463
|
-
inputWrapper: [
|
|
460
|
+
inputWrapper: [
|
|
461
|
+
"group-data-[focus-visible]:outline-none",
|
|
462
|
+
"group-data-[focus-visible]:ring-2",
|
|
463
|
+
"group-data-[focus-visible]:!ring-primary",
|
|
464
|
+
"group-data-[focus-visible]:ring-offset-2",
|
|
465
|
+
"group-data-[focus-visible]:ring-offset-background",
|
|
466
|
+
"group-data-[focus-visible]:dark:ring-offset-background-dark"
|
|
467
|
+
]
|
|
464
468
|
}
|
|
465
469
|
},
|
|
466
470
|
{
|
|
467
471
|
isInvalid: true,
|
|
468
472
|
variant: "flat",
|
|
469
473
|
class: {
|
|
470
|
-
inputWrapper: [
|
|
474
|
+
inputWrapper: [
|
|
475
|
+
"bg-danger-50",
|
|
476
|
+
"data-[hover=true]:bg-danger-100",
|
|
477
|
+
"focus-within:!bg-danger-50"
|
|
478
|
+
]
|
|
471
479
|
}
|
|
472
480
|
},
|
|
473
481
|
{
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colorVariants
|
|
3
3
|
} from "./chunk-LGGZKBOO.mjs";
|
|
4
|
-
import {
|
|
5
|
-
ringClasses
|
|
6
|
-
} from "./chunk-INZK6TTL.mjs";
|
|
7
4
|
|
|
8
5
|
// src/components/pagination.ts
|
|
9
6
|
import { tv } from "tailwind-variants";
|
|
10
7
|
var pagination = tv({
|
|
11
8
|
slots: {
|
|
12
9
|
base: "flex flex-wrap relative items-center gap-1 max-w-fit",
|
|
13
|
-
item:
|
|
10
|
+
item: [],
|
|
14
11
|
prev: "",
|
|
15
12
|
next: "",
|
|
16
13
|
cursor: [
|
|
@@ -26,7 +23,12 @@ var pagination = tv({
|
|
|
26
23
|
variants: {
|
|
27
24
|
variant: {
|
|
28
25
|
bordered: {
|
|
29
|
-
item: [
|
|
26
|
+
item: [
|
|
27
|
+
"border-1.5",
|
|
28
|
+
"border-neutral",
|
|
29
|
+
"bg-transparent",
|
|
30
|
+
"data-[hover=true]:bg-neutral-100"
|
|
31
|
+
]
|
|
30
32
|
},
|
|
31
33
|
light: {
|
|
32
34
|
item: "bg-transparent"
|
|
@@ -89,11 +91,6 @@ var pagination = tv({
|
|
|
89
91
|
base: "opacity-50 pointer-events-none"
|
|
90
92
|
}
|
|
91
93
|
},
|
|
92
|
-
isFocusVisible: {
|
|
93
|
-
true: {
|
|
94
|
-
wrapper: [...ringClasses]
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
94
|
showShadow: {
|
|
98
95
|
true: {}
|
|
99
96
|
},
|
|
@@ -300,23 +297,31 @@ var pagination = tv({
|
|
|
300
297
|
"outline-none",
|
|
301
298
|
"items-center",
|
|
302
299
|
"justify-center",
|
|
303
|
-
"text-neutral-contrastText"
|
|
300
|
+
"text-neutral-contrastText",
|
|
301
|
+
"data-[focus-visible=true]:outline-none",
|
|
302
|
+
"data-[focus-visible=true]:ring-2",
|
|
303
|
+
"data-[focus-visible=true]:ring-primary",
|
|
304
|
+
"data-[focus-visible=true]:ring-offset-2",
|
|
305
|
+
"data-[focus-visible=true]:ring-offset-background",
|
|
306
|
+
"data-[focus-visible=true]:dark:ring-offset-background-dark",
|
|
307
|
+
"data-[disabled=true]:opacity-50",
|
|
308
|
+
"data-[disabled=true]:pointer-events-none"
|
|
304
309
|
]
|
|
305
310
|
},
|
|
306
311
|
{
|
|
307
312
|
slots: ["item", "prev", "next"],
|
|
308
313
|
variant: "flat",
|
|
309
|
-
class: ["bg-neutral-100", "hover:bg-neutral-200", "active:bg-neutral-300"]
|
|
314
|
+
class: ["bg-neutral-100", "data-[hover=true]:bg-neutral-200", "active:bg-neutral-300"]
|
|
310
315
|
},
|
|
311
316
|
{
|
|
312
317
|
slots: ["item", "prev", "next"],
|
|
313
318
|
variant: "faded",
|
|
314
|
-
class: ["bg-neutral-100", "hover:bg-neutral-200", "active:bg-neutral-300"]
|
|
319
|
+
class: ["bg-neutral-100", "data-[hover=true]:bg-neutral-200", "active:bg-neutral-300"]
|
|
315
320
|
},
|
|
316
321
|
{
|
|
317
322
|
slots: ["item", "prev", "next"],
|
|
318
323
|
variant: "light",
|
|
319
|
-
class: ["hover:bg-neutral-100", "active:bg-neutral-200"]
|
|
324
|
+
class: ["data-[hover=true]:bg-neutral-100", "active:bg-neutral-200"]
|
|
320
325
|
},
|
|
321
326
|
{
|
|
322
327
|
slots: ["item", "cursor", "prev", "next"],
|