@nextui-org/theme 2.4.3 → 2.4.5
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-444KJ2OU.mjs → chunk-3ZDIPBHM.mjs} +1 -1
- package/dist/{chunk-MO6TCUI5.mjs → chunk-423W5XJQ.mjs} +5 -5
- package/dist/{chunk-GA67JEKY.mjs → chunk-6B2RD5MH.mjs} +1 -1
- package/dist/{chunk-TK7HBD3N.mjs → chunk-A3NXEE2Q.mjs} +75 -10
- package/dist/{chunk-RABDZR7I.mjs → chunk-CRDAR2QA.mjs} +18 -8
- package/dist/components/alert.d.ts +7 -7
- package/dist/components/alert.js +5 -5
- package/dist/components/alert.mjs +1 -1
- package/dist/components/date-input.js +75 -10
- package/dist/components/date-input.mjs +1 -1
- package/dist/components/index.js +100 -25
- package/dist/components/index.mjs +5 -5
- package/dist/components/input.js +1 -1
- package/dist/components/input.mjs +1 -1
- package/dist/components/listbox.js +1 -1
- package/dist/components/listbox.mjs +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/menu.mjs +1 -1
- package/dist/components/select.d.ts +105 -35
- package/dist/components/select.js +18 -8
- package/dist/components/select.mjs +1 -1
- package/dist/index.js +100 -25
- package/dist/index.mjs +5 -5
- package/package.json +2 -2
package/dist/components/index.js
CHANGED
|
@@ -4285,7 +4285,7 @@ var input = tv({
|
|
|
4285
4285
|
flat: {
|
|
4286
4286
|
inputWrapper: [
|
|
4287
4287
|
"bg-default-100",
|
|
4288
|
-
"data-[hover=true]:bg-default-
|
|
4288
|
+
"data-[hover=true]:bg-default-200",
|
|
4289
4289
|
"group-data-[focus=true]:bg-default-100"
|
|
4290
4290
|
]
|
|
4291
4291
|
},
|
|
@@ -6701,8 +6701,8 @@ var select = tv({
|
|
|
6701
6701
|
flat: {
|
|
6702
6702
|
trigger: [
|
|
6703
6703
|
"bg-default-100",
|
|
6704
|
-
"data-[hover=true]:bg-default-
|
|
6705
|
-
"group-data-[focus=true]:bg-default-
|
|
6704
|
+
"data-[hover=true]:bg-default-200",
|
|
6705
|
+
"group-data-[focus=true]:bg-default-200"
|
|
6706
6706
|
]
|
|
6707
6707
|
},
|
|
6708
6708
|
faded: {
|
|
@@ -6753,11 +6753,21 @@ var select = tv({
|
|
|
6753
6753
|
},
|
|
6754
6754
|
color: {
|
|
6755
6755
|
default: {},
|
|
6756
|
-
primary: {
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
|
|
6756
|
+
primary: {
|
|
6757
|
+
selectorIcon: "text-primary"
|
|
6758
|
+
},
|
|
6759
|
+
secondary: {
|
|
6760
|
+
selectorIcon: "text-secondary"
|
|
6761
|
+
},
|
|
6762
|
+
success: {
|
|
6763
|
+
selectorIcon: "text-success"
|
|
6764
|
+
},
|
|
6765
|
+
warning: {
|
|
6766
|
+
selectorIcon: "text-warning"
|
|
6767
|
+
},
|
|
6768
|
+
danger: {
|
|
6769
|
+
selectorIcon: "text-danger"
|
|
6770
|
+
}
|
|
6761
6771
|
},
|
|
6762
6772
|
size: {
|
|
6763
6773
|
sm: {
|
|
@@ -6883,7 +6893,7 @@ var select = tv({
|
|
|
6883
6893
|
color: "default",
|
|
6884
6894
|
class: {
|
|
6885
6895
|
value: "group-data-[has-value=true]:text-default-foreground",
|
|
6886
|
-
trigger: ["bg-default-100", "data-[hover=true]:bg-default-
|
|
6896
|
+
trigger: ["bg-default-100", "data-[hover=true]:bg-default-200"]
|
|
6887
6897
|
}
|
|
6888
6898
|
},
|
|
6889
6899
|
{
|
|
@@ -7367,7 +7377,7 @@ var select = tv({
|
|
|
7367
7377
|
// src/components/menu.ts
|
|
7368
7378
|
var menu = tv({
|
|
7369
7379
|
slots: {
|
|
7370
|
-
base: "w-full relative flex flex-col gap-1 p-1 overflow-
|
|
7380
|
+
base: "w-full relative flex flex-col gap-1 p-1 overflow-clip",
|
|
7371
7381
|
list: "w-full flex flex-col gap-0.5 outline-none",
|
|
7372
7382
|
emptyContent: [
|
|
7373
7383
|
"h-10",
|
|
@@ -9129,7 +9139,7 @@ var dateInput = tv({
|
|
|
9129
9139
|
color: "primary",
|
|
9130
9140
|
class: {
|
|
9131
9141
|
innerWrapper: "text-primary",
|
|
9132
|
-
inputWrapper: ["bg-primary-
|
|
9142
|
+
inputWrapper: ["bg-primary-100", "hover:bg-primary-50", "focus-within:bg-primary-50"],
|
|
9133
9143
|
segment: "text-primary-300 data-[editable=true]:data-[placeholder=true]:text-primary-300 data-[editable=true]:text-primary",
|
|
9134
9144
|
label: "text-primary"
|
|
9135
9145
|
}
|
|
@@ -9139,7 +9149,7 @@ var dateInput = tv({
|
|
|
9139
9149
|
color: "secondary",
|
|
9140
9150
|
class: {
|
|
9141
9151
|
innerWrapper: "text-secondary",
|
|
9142
|
-
inputWrapper: ["bg-secondary-
|
|
9152
|
+
inputWrapper: ["bg-secondary-100", "hover:bg-secondary-50", "focus-within:bg-secondary-50"],
|
|
9143
9153
|
segment: "text-secondary-300 data-[editable=true]:data-[placeholder=true]:text-secondary-300 data-[editable=true]:text-secondary",
|
|
9144
9154
|
label: "text-secondary"
|
|
9145
9155
|
}
|
|
@@ -9149,7 +9159,7 @@ var dateInput = tv({
|
|
|
9149
9159
|
color: "success",
|
|
9150
9160
|
class: {
|
|
9151
9161
|
innerWrapper: "text-success-600 dark:text-success",
|
|
9152
|
-
inputWrapper: ["bg-success-
|
|
9162
|
+
inputWrapper: ["bg-success-100", "hover:bg-success-50", "focus-within:bg-success-50"],
|
|
9153
9163
|
segment: "text-success-400 data-[editable=true]:data-[placeholder=true]:text-success-400 data-[editable=true]:text-success-600 data-[editable=true]:focus:text-success-600",
|
|
9154
9164
|
label: "text-success-600 dark:text-success"
|
|
9155
9165
|
}
|
|
@@ -9159,7 +9169,7 @@ var dateInput = tv({
|
|
|
9159
9169
|
color: "warning",
|
|
9160
9170
|
class: {
|
|
9161
9171
|
innerWrapper: "text-warning-600 dark:text-warning",
|
|
9162
|
-
inputWrapper: ["bg-warning-
|
|
9172
|
+
inputWrapper: ["bg-warning-100", "hover:bg-warning-50", "focus-within:bg-warning-50"],
|
|
9163
9173
|
segment: "text-warning-400 data-[editable=true]:data-[placeholder=true]:text-warning-400 data-[editable=true]:text-warning-600 data-[editable=true]:focus:text-warning-600",
|
|
9164
9174
|
label: "text-warning-600 dark:text-warning"
|
|
9165
9175
|
}
|
|
@@ -9169,13 +9179,78 @@ var dateInput = tv({
|
|
|
9169
9179
|
color: "danger",
|
|
9170
9180
|
class: {
|
|
9171
9181
|
innerWrapper: "text-danger",
|
|
9172
|
-
inputWrapper: ["bg-danger-
|
|
9182
|
+
inputWrapper: ["bg-danger-100", "hover:bg-danger-50", "focus-within:bg-danger-50"],
|
|
9173
9183
|
segment: "text-danger-300 data-[editable=true]:data-[placeholder=true]:text-danger-300 data-[editable=true]:text-danger",
|
|
9174
9184
|
label: "text-danger"
|
|
9175
9185
|
}
|
|
9176
9186
|
},
|
|
9177
9187
|
{
|
|
9178
|
-
variant:
|
|
9188
|
+
variant: "faded",
|
|
9189
|
+
color: "primary",
|
|
9190
|
+
class: {
|
|
9191
|
+
innerWrapper: "text-primary",
|
|
9192
|
+
inputWrapper: [
|
|
9193
|
+
"hover:border-primary",
|
|
9194
|
+
"focus-within:border-primary",
|
|
9195
|
+
"focus-within:hover:border-primary"
|
|
9196
|
+
],
|
|
9197
|
+
label: "text-primary"
|
|
9198
|
+
}
|
|
9199
|
+
},
|
|
9200
|
+
{
|
|
9201
|
+
variant: "faded",
|
|
9202
|
+
color: "secondary",
|
|
9203
|
+
class: {
|
|
9204
|
+
innerWrapper: "text-secondary",
|
|
9205
|
+
inputWrapper: [
|
|
9206
|
+
"hover:border-secondary",
|
|
9207
|
+
"focus-within:border-secondary",
|
|
9208
|
+
"focus-within:hover:border-secondary"
|
|
9209
|
+
],
|
|
9210
|
+
label: "text-secondary"
|
|
9211
|
+
}
|
|
9212
|
+
},
|
|
9213
|
+
{
|
|
9214
|
+
variant: "faded",
|
|
9215
|
+
color: "success",
|
|
9216
|
+
class: {
|
|
9217
|
+
innerWrapper: "text-success",
|
|
9218
|
+
inputWrapper: [
|
|
9219
|
+
"hover:border-success",
|
|
9220
|
+
"focus-within:border-success",
|
|
9221
|
+
"focus-within:hover:border-success"
|
|
9222
|
+
],
|
|
9223
|
+
label: "text-success"
|
|
9224
|
+
}
|
|
9225
|
+
},
|
|
9226
|
+
{
|
|
9227
|
+
variant: "faded",
|
|
9228
|
+
color: "warning",
|
|
9229
|
+
class: {
|
|
9230
|
+
innerWrapper: "text-warning",
|
|
9231
|
+
inputWrapper: [
|
|
9232
|
+
"hover:border-warning",
|
|
9233
|
+
"focus-within:border-warning",
|
|
9234
|
+
"focus-within:hover:border-warning"
|
|
9235
|
+
],
|
|
9236
|
+
label: "text-warning"
|
|
9237
|
+
}
|
|
9238
|
+
},
|
|
9239
|
+
{
|
|
9240
|
+
variant: "faded",
|
|
9241
|
+
color: "danger",
|
|
9242
|
+
class: {
|
|
9243
|
+
innerWrapper: "text-danger",
|
|
9244
|
+
inputWrapper: [
|
|
9245
|
+
"hover:border-danger",
|
|
9246
|
+
"focus-within:border-danger",
|
|
9247
|
+
"focus-within:hover:border-danger"
|
|
9248
|
+
],
|
|
9249
|
+
label: "text-danger"
|
|
9250
|
+
}
|
|
9251
|
+
},
|
|
9252
|
+
{
|
|
9253
|
+
variant: "bordered",
|
|
9179
9254
|
color: "primary",
|
|
9180
9255
|
class: {
|
|
9181
9256
|
innerWrapper: "text-primary",
|
|
@@ -9184,7 +9259,7 @@ var dateInput = tv({
|
|
|
9184
9259
|
}
|
|
9185
9260
|
},
|
|
9186
9261
|
{
|
|
9187
|
-
variant:
|
|
9262
|
+
variant: "bordered",
|
|
9188
9263
|
color: "secondary",
|
|
9189
9264
|
class: {
|
|
9190
9265
|
innerWrapper: "text-secondary",
|
|
@@ -9193,7 +9268,7 @@ var dateInput = tv({
|
|
|
9193
9268
|
}
|
|
9194
9269
|
},
|
|
9195
9270
|
{
|
|
9196
|
-
variant:
|
|
9271
|
+
variant: "bordered",
|
|
9197
9272
|
color: "success",
|
|
9198
9273
|
class: {
|
|
9199
9274
|
innerWrapper: "text-success",
|
|
@@ -9202,7 +9277,7 @@ var dateInput = tv({
|
|
|
9202
9277
|
}
|
|
9203
9278
|
},
|
|
9204
9279
|
{
|
|
9205
|
-
variant:
|
|
9280
|
+
variant: "bordered",
|
|
9206
9281
|
color: "warning",
|
|
9207
9282
|
class: {
|
|
9208
9283
|
innerWrapper: "text-warning",
|
|
@@ -9211,7 +9286,7 @@ var dateInput = tv({
|
|
|
9211
9286
|
}
|
|
9212
9287
|
},
|
|
9213
9288
|
{
|
|
9214
|
-
variant:
|
|
9289
|
+
variant: "bordered",
|
|
9215
9290
|
color: "danger",
|
|
9216
9291
|
class: {
|
|
9217
9292
|
innerWrapper: "text-danger",
|
|
@@ -9330,11 +9405,11 @@ var dateRangePicker = tv({
|
|
|
9330
9405
|
var alert = tv({
|
|
9331
9406
|
slots: {
|
|
9332
9407
|
base: "flex flex-grow flex-row w-full items-start py-3 px-4 gap-x-1",
|
|
9333
|
-
mainWrapper: "h-full flex-grow min-h-10 ms-2 flex flex-col box-border items-start text-inherit",
|
|
9408
|
+
mainWrapper: "h-full flex-grow min-h-10 ms-2 flex flex-col box-border items-start text-inherit justify-center",
|
|
9334
9409
|
title: "text-small w-full font-medium block text-inherit leading-5",
|
|
9335
9410
|
description: "pl-[1px] text-small font-normal text-inherit",
|
|
9336
9411
|
closeButton: "relative text-inherit translate-x-1 -translate-y-1",
|
|
9337
|
-
iconWrapper: "flex-none relative w-9 h-9 rounded-full",
|
|
9412
|
+
iconWrapper: "flex-none relative w-9 h-9 rounded-full grid place-items-center",
|
|
9338
9413
|
alertIcon: "fill-current w-6 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"
|
|
9339
9414
|
},
|
|
9340
9415
|
variants: {
|
|
@@ -9381,13 +9456,13 @@ var alert = tv({
|
|
|
9381
9456
|
hideIconWrapper: {
|
|
9382
9457
|
true: {
|
|
9383
9458
|
base: "gap-x-0",
|
|
9384
|
-
iconWrapper: "!bg-transparent !shadow-none"
|
|
9459
|
+
iconWrapper: "!bg-transparent !shadow-none !border-none"
|
|
9385
9460
|
}
|
|
9386
9461
|
},
|
|
9387
|
-
|
|
9462
|
+
hasContent: {
|
|
9388
9463
|
false: {
|
|
9389
9464
|
base: "items-start",
|
|
9390
|
-
mainWrapper: "justify-center"
|
|
9465
|
+
mainWrapper: "justify-center items-center"
|
|
9391
9466
|
}
|
|
9392
9467
|
}
|
|
9393
9468
|
},
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "../chunk-AN5I7NTT.mjs";
|
|
34
34
|
import {
|
|
35
35
|
select
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-CRDAR2QA.mjs";
|
|
37
37
|
import {
|
|
38
38
|
skeleton
|
|
39
39
|
} from "../chunk-OAHW4NON.mjs";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from "../chunk-SC2SILVU.mjs";
|
|
46
46
|
import {
|
|
47
47
|
input
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-3ZDIPBHM.mjs";
|
|
49
49
|
import {
|
|
50
50
|
kbd
|
|
51
51
|
} from "../chunk-VX7HAPUO.mjs";
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
menu,
|
|
59
59
|
menuItem,
|
|
60
60
|
menuSection
|
|
61
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-6B2RD5MH.mjs";
|
|
62
62
|
import {
|
|
63
63
|
modal
|
|
64
64
|
} from "../chunk-NVK4XVTT.mjs";
|
|
@@ -114,7 +114,7 @@ import {
|
|
|
114
114
|
} from "../chunk-JE6SPRGQ.mjs";
|
|
115
115
|
import {
|
|
116
116
|
dateInput
|
|
117
|
-
} from "../chunk-
|
|
117
|
+
} from "../chunk-A3NXEE2Q.mjs";
|
|
118
118
|
import {
|
|
119
119
|
datePicker,
|
|
120
120
|
dateRangePicker
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
} from "../chunk-UGMXQ6TV.mjs";
|
|
126
126
|
import {
|
|
127
127
|
alert
|
|
128
|
-
} from "../chunk-
|
|
128
|
+
} from "../chunk-423W5XJQ.mjs";
|
|
129
129
|
import {
|
|
130
130
|
autocomplete
|
|
131
131
|
} from "../chunk-ZZ2VSLD6.mjs";
|
package/dist/components/input.js
CHANGED
|
@@ -84,7 +84,7 @@ var dataFocusVisibleClasses = [
|
|
|
84
84
|
// src/components/menu.ts
|
|
85
85
|
var menu = tv({
|
|
86
86
|
slots: {
|
|
87
|
-
base: "w-full relative flex flex-col gap-1 p-1 overflow-
|
|
87
|
+
base: "w-full relative flex flex-col gap-1 p-1 overflow-clip",
|
|
88
88
|
list: "w-full flex flex-col gap-0.5 outline-none",
|
|
89
89
|
emptyContent: [
|
|
90
90
|
"h-10",
|
package/dist/components/menu.js
CHANGED
|
@@ -84,7 +84,7 @@ var dataFocusVisibleClasses = [
|
|
|
84
84
|
// src/components/menu.ts
|
|
85
85
|
var menu = tv({
|
|
86
86
|
slots: {
|
|
87
|
-
base: "w-full relative flex flex-col gap-1 p-1 overflow-
|
|
87
|
+
base: "w-full relative flex flex-col gap-1 p-1 overflow-clip",
|
|
88
88
|
list: "w-full flex flex-col gap-0.5 outline-none",
|
|
89
89
|
emptyContent: [
|
|
90
90
|
"h-10",
|
package/dist/components/menu.mjs
CHANGED
|
@@ -22,11 +22,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
22
22
|
};
|
|
23
23
|
color: {
|
|
24
24
|
default: {};
|
|
25
|
-
primary: {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
primary: {
|
|
26
|
+
selectorIcon: string;
|
|
27
|
+
};
|
|
28
|
+
secondary: {
|
|
29
|
+
selectorIcon: string;
|
|
30
|
+
};
|
|
31
|
+
success: {
|
|
32
|
+
selectorIcon: string;
|
|
33
|
+
};
|
|
34
|
+
warning: {
|
|
35
|
+
selectorIcon: string;
|
|
36
|
+
};
|
|
37
|
+
danger: {
|
|
38
|
+
selectorIcon: string;
|
|
39
|
+
};
|
|
30
40
|
};
|
|
31
41
|
size: {
|
|
32
42
|
sm: {
|
|
@@ -162,11 +172,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
162
172
|
};
|
|
163
173
|
color: {
|
|
164
174
|
default: {};
|
|
165
|
-
primary: {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
175
|
+
primary: {
|
|
176
|
+
selectorIcon: string;
|
|
177
|
+
};
|
|
178
|
+
secondary: {
|
|
179
|
+
selectorIcon: string;
|
|
180
|
+
};
|
|
181
|
+
success: {
|
|
182
|
+
selectorIcon: string;
|
|
183
|
+
};
|
|
184
|
+
warning: {
|
|
185
|
+
selectorIcon: string;
|
|
186
|
+
};
|
|
187
|
+
danger: {
|
|
188
|
+
selectorIcon: string;
|
|
189
|
+
};
|
|
170
190
|
};
|
|
171
191
|
size: {
|
|
172
192
|
sm: {
|
|
@@ -287,11 +307,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
287
307
|
};
|
|
288
308
|
color: {
|
|
289
309
|
default: {};
|
|
290
|
-
primary: {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
310
|
+
primary: {
|
|
311
|
+
selectorIcon: string;
|
|
312
|
+
};
|
|
313
|
+
secondary: {
|
|
314
|
+
selectorIcon: string;
|
|
315
|
+
};
|
|
316
|
+
success: {
|
|
317
|
+
selectorIcon: string;
|
|
318
|
+
};
|
|
319
|
+
warning: {
|
|
320
|
+
selectorIcon: string;
|
|
321
|
+
};
|
|
322
|
+
danger: {
|
|
323
|
+
selectorIcon: string;
|
|
324
|
+
};
|
|
295
325
|
};
|
|
296
326
|
size: {
|
|
297
327
|
sm: {
|
|
@@ -412,11 +442,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
412
442
|
};
|
|
413
443
|
color: {
|
|
414
444
|
default: {};
|
|
415
|
-
primary: {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
445
|
+
primary: {
|
|
446
|
+
selectorIcon: string;
|
|
447
|
+
};
|
|
448
|
+
secondary: {
|
|
449
|
+
selectorIcon: string;
|
|
450
|
+
};
|
|
451
|
+
success: {
|
|
452
|
+
selectorIcon: string;
|
|
453
|
+
};
|
|
454
|
+
warning: {
|
|
455
|
+
selectorIcon: string;
|
|
456
|
+
};
|
|
457
|
+
danger: {
|
|
458
|
+
selectorIcon: string;
|
|
459
|
+
};
|
|
420
460
|
};
|
|
421
461
|
size: {
|
|
422
462
|
sm: {
|
|
@@ -552,11 +592,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
552
592
|
};
|
|
553
593
|
color: {
|
|
554
594
|
default: {};
|
|
555
|
-
primary: {
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
595
|
+
primary: {
|
|
596
|
+
selectorIcon: string;
|
|
597
|
+
};
|
|
598
|
+
secondary: {
|
|
599
|
+
selectorIcon: string;
|
|
600
|
+
};
|
|
601
|
+
success: {
|
|
602
|
+
selectorIcon: string;
|
|
603
|
+
};
|
|
604
|
+
warning: {
|
|
605
|
+
selectorIcon: string;
|
|
606
|
+
};
|
|
607
|
+
danger: {
|
|
608
|
+
selectorIcon: string;
|
|
609
|
+
};
|
|
560
610
|
};
|
|
561
611
|
size: {
|
|
562
612
|
sm: {
|
|
@@ -692,11 +742,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
692
742
|
};
|
|
693
743
|
color: {
|
|
694
744
|
default: {};
|
|
695
|
-
primary: {
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
745
|
+
primary: {
|
|
746
|
+
selectorIcon: string;
|
|
747
|
+
};
|
|
748
|
+
secondary: {
|
|
749
|
+
selectorIcon: string;
|
|
750
|
+
};
|
|
751
|
+
success: {
|
|
752
|
+
selectorIcon: string;
|
|
753
|
+
};
|
|
754
|
+
warning: {
|
|
755
|
+
selectorIcon: string;
|
|
756
|
+
};
|
|
757
|
+
danger: {
|
|
758
|
+
selectorIcon: string;
|
|
759
|
+
};
|
|
700
760
|
};
|
|
701
761
|
size: {
|
|
702
762
|
sm: {
|
|
@@ -817,11 +877,21 @@ declare const select: tailwind_variants.TVReturnType<{
|
|
|
817
877
|
};
|
|
818
878
|
color: {
|
|
819
879
|
default: {};
|
|
820
|
-
primary: {
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
880
|
+
primary: {
|
|
881
|
+
selectorIcon: string;
|
|
882
|
+
};
|
|
883
|
+
secondary: {
|
|
884
|
+
selectorIcon: string;
|
|
885
|
+
};
|
|
886
|
+
success: {
|
|
887
|
+
selectorIcon: string;
|
|
888
|
+
};
|
|
889
|
+
warning: {
|
|
890
|
+
selectorIcon: string;
|
|
891
|
+
};
|
|
892
|
+
danger: {
|
|
893
|
+
selectorIcon: string;
|
|
894
|
+
};
|
|
825
895
|
};
|
|
826
896
|
size: {
|
|
827
897
|
sm: {
|
|
@@ -110,8 +110,8 @@ var select = tv({
|
|
|
110
110
|
flat: {
|
|
111
111
|
trigger: [
|
|
112
112
|
"bg-default-100",
|
|
113
|
-
"data-[hover=true]:bg-default-
|
|
114
|
-
"group-data-[focus=true]:bg-default-
|
|
113
|
+
"data-[hover=true]:bg-default-200",
|
|
114
|
+
"group-data-[focus=true]:bg-default-200"
|
|
115
115
|
]
|
|
116
116
|
},
|
|
117
117
|
faded: {
|
|
@@ -162,11 +162,21 @@ var select = tv({
|
|
|
162
162
|
},
|
|
163
163
|
color: {
|
|
164
164
|
default: {},
|
|
165
|
-
primary: {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
165
|
+
primary: {
|
|
166
|
+
selectorIcon: "text-primary"
|
|
167
|
+
},
|
|
168
|
+
secondary: {
|
|
169
|
+
selectorIcon: "text-secondary"
|
|
170
|
+
},
|
|
171
|
+
success: {
|
|
172
|
+
selectorIcon: "text-success"
|
|
173
|
+
},
|
|
174
|
+
warning: {
|
|
175
|
+
selectorIcon: "text-warning"
|
|
176
|
+
},
|
|
177
|
+
danger: {
|
|
178
|
+
selectorIcon: "text-danger"
|
|
179
|
+
}
|
|
170
180
|
},
|
|
171
181
|
size: {
|
|
172
182
|
sm: {
|
|
@@ -292,7 +302,7 @@ var select = tv({
|
|
|
292
302
|
color: "default",
|
|
293
303
|
class: {
|
|
294
304
|
value: "group-data-[has-value=true]:text-default-foreground",
|
|
295
|
-
trigger: ["bg-default-100", "data-[hover=true]:bg-default-
|
|
305
|
+
trigger: ["bg-default-100", "data-[hover=true]:bg-default-200"]
|
|
296
306
|
}
|
|
297
307
|
},
|
|
298
308
|
{
|