@nextui-org/theme 2.2.8 → 2.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-726LN7M3.mjs → chunk-3LD7T42T.mjs} +1 -1
- package/dist/{chunk-GDIZAU4E.mjs → chunk-42JWJWWX.mjs} +1 -1
- package/dist/{chunk-A4VDWEXY.mjs → chunk-4MIBATA4.mjs} +12 -12
- package/dist/{chunk-DXPS72CE.mjs → chunk-63NMFZTF.mjs} +12 -7
- package/dist/{chunk-4YQYZDME.mjs → chunk-7YPXCOW5.mjs} +1 -1
- package/dist/{chunk-KKN74BUG.mjs → chunk-BOVVTMHS.mjs} +7 -3
- package/dist/{chunk-2PIR7DFM.mjs → chunk-BZCSOIUI.mjs} +12 -12
- package/dist/{chunk-DZGYN4XH.mjs → chunk-FE2UYWMQ.mjs} +57 -64
- package/dist/{chunk-ARFD2V3F.mjs → chunk-I33PMOA3.mjs} +52 -55
- package/dist/{chunk-YSA7EQBH.mjs → chunk-JFWA3DGK.mjs} +2 -2
- package/dist/{chunk-NPRQPDVP.mjs → chunk-KPI62GDB.mjs} +4 -4
- package/dist/{chunk-XT44N6I6.mjs → chunk-LSQXJEPE.mjs} +9 -27
- package/dist/{chunk-GFTQERGX.mjs → chunk-MP2JYSMR.mjs} +1 -1
- package/dist/{chunk-5AGRECY5.mjs → chunk-OUNBTYJ7.mjs} +8 -8
- package/dist/{chunk-N4MWCCMM.mjs → chunk-P73E5YV7.mjs} +3 -2
- package/dist/{chunk-BT3FGTF7.mjs → chunk-PWJWH4MD.mjs} +1 -1
- package/dist/{chunk-SKQWKT6K.mjs → chunk-QV3ALCMB.mjs} +1 -1
- package/dist/{chunk-HZX5JB5L.mjs → chunk-R27WO3A6.mjs} +1 -1
- package/dist/{chunk-WGH4WKVU.mjs → chunk-TSTU52NB.mjs} +3 -3
- package/dist/{chunk-D7H5R3VL.mjs → chunk-UDSOWFZE.mjs} +2 -2
- package/dist/{chunk-WUUKIKPR.mjs → chunk-WJIRIXV4.mjs} +31 -22
- package/dist/{chunk-HPFX3B3F.mjs → chunk-WN6AL2BX.mjs} +2 -2
- package/dist/{chunk-CKTE75OS.mjs → chunk-XAYP4CR3.mjs} +1 -1
- package/dist/{chunk-22SLLLIZ.mjs → chunk-XEPPBQPJ.mjs} +16 -16
- package/dist/{chunk-IISEDJRF.mjs → chunk-XL6AWNU3.mjs} +1 -1
- package/dist/{chunk-MERQJVXF.mjs → chunk-XXQSA25O.mjs} +19 -7
- package/dist/components/accordion.mjs +1 -1
- package/dist/components/autocomplete.js +7 -3
- package/dist/components/autocomplete.mjs +1 -1
- package/dist/components/avatar.js +12 -12
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/badge.js +12 -12
- package/dist/components/badge.mjs +2 -2
- package/dist/components/breadcrumbs.mjs +1 -1
- package/dist/components/button.js +30 -18
- package/dist/components/button.mjs +2 -2
- package/dist/components/calendar.d.ts +6 -6
- package/dist/components/calendar.js +4 -4
- package/dist/components/calendar.mjs +2 -2
- package/dist/components/card.mjs +1 -1
- package/dist/components/checkbox.js +8 -8
- package/dist/components/checkbox.mjs +2 -2
- package/dist/components/chip.js +12 -12
- package/dist/components/chip.mjs +2 -2
- package/dist/components/code.js +12 -12
- package/dist/components/code.mjs +2 -2
- package/dist/components/date-input.js +16 -16
- package/dist/components/date-input.mjs +1 -1
- package/dist/components/date-picker.js +3 -3
- package/dist/components/date-picker.mjs +1 -1
- package/dist/components/dropdown.mjs +1 -1
- package/dist/components/index.js +246 -243
- package/dist/components/index.mjs +23 -23
- package/dist/components/input.js +52 -55
- package/dist/components/input.mjs +2 -2
- package/dist/components/link.mjs +1 -1
- package/dist/components/listbox.js +1 -1
- package/dist/components/listbox.mjs +2 -2
- package/dist/components/menu.js +1 -1
- package/dist/components/menu.mjs +2 -2
- package/dist/components/modal.js +3 -2
- package/dist/components/modal.mjs +2 -2
- package/dist/components/navbar.mjs +1 -1
- package/dist/components/pagination.d.ts +3 -3
- package/dist/components/pagination.js +23 -18
- package/dist/components/pagination.mjs +2 -2
- package/dist/components/popover.js +12 -12
- package/dist/components/popover.mjs +2 -2
- package/dist/components/radio.js +12 -12
- package/dist/components/radio.mjs +2 -2
- package/dist/components/select.d.ts +14 -7
- package/dist/components/select.js +57 -64
- package/dist/components/select.mjs +2 -2
- package/dist/components/skeleton.js +2 -2
- package/dist/components/skeleton.mjs +1 -1
- package/dist/components/slider.mjs +1 -1
- package/dist/components/snippet.js +12 -12
- package/dist/components/snippet.mjs +2 -2
- package/dist/components/table.js +9 -27
- package/dist/components/table.mjs +2 -2
- package/dist/components/tabs.js +12 -12
- package/dist/components/tabs.mjs +2 -2
- package/dist/components/toggle.js +31 -22
- package/dist/components/toggle.mjs +2 -2
- package/dist/components/user.mjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +254 -245
- package/dist/index.mjs +34 -27
- package/dist/plugin.js +2 -2
- package/dist/plugin.mjs +3 -3
- package/dist/utilities/index.d.ts +2 -2
- package/dist/utilities/index.js +2 -2
- package/dist/utilities/index.mjs +2 -2
- package/dist/utilities/transition.d.ts +2 -2
- package/dist/utilities/transition.js +2 -2
- package/dist/utilities/transition.mjs +1 -1
- package/dist/utils/index.js +12 -12
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/variants.js +12 -12
- package/dist/utils/variants.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-UVXYPGDZ.mjs";
|
|
2
2
|
import {
|
|
3
3
|
tabs
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-42JWJWWX.mjs";
|
|
5
5
|
import {
|
|
6
6
|
toggle
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-WJIRIXV4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
user
|
|
10
10
|
} from "../chunk-BJ6IKX32.mjs";
|
|
@@ -13,16 +13,16 @@ import {
|
|
|
13
13
|
} from "../chunk-EF6G67MF.mjs";
|
|
14
14
|
import {
|
|
15
15
|
select
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-FE2UYWMQ.mjs";
|
|
17
17
|
import {
|
|
18
18
|
skeleton
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-UDSOWFZE.mjs";
|
|
20
20
|
import {
|
|
21
21
|
slider
|
|
22
22
|
} from "../chunk-JBKBSMXM.mjs";
|
|
23
23
|
import {
|
|
24
24
|
snippet
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-XAYP4CR3.mjs";
|
|
26
26
|
import {
|
|
27
27
|
spacer
|
|
28
28
|
} from "../chunk-T2VR4T5R.mjs";
|
|
@@ -31,32 +31,32 @@ import {
|
|
|
31
31
|
} from "../chunk-AXXUQWWC.mjs";
|
|
32
32
|
import {
|
|
33
33
|
table
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-LSQXJEPE.mjs";
|
|
35
35
|
import "../chunk-YJLQTC7L.mjs";
|
|
36
36
|
import {
|
|
37
37
|
menu,
|
|
38
38
|
menuItem,
|
|
39
39
|
menuSection
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-7YPXCOW5.mjs";
|
|
41
41
|
import {
|
|
42
42
|
modal
|
|
43
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-P73E5YV7.mjs";
|
|
44
44
|
import {
|
|
45
45
|
navbar
|
|
46
46
|
} from "../chunk-3QYYLFUC.mjs";
|
|
47
47
|
import {
|
|
48
48
|
pagination
|
|
49
|
-
} from "../chunk-
|
|
49
|
+
} from "../chunk-63NMFZTF.mjs";
|
|
50
50
|
import {
|
|
51
51
|
popover
|
|
52
|
-
} from "../chunk-
|
|
52
|
+
} from "../chunk-XL6AWNU3.mjs";
|
|
53
53
|
import {
|
|
54
54
|
progress
|
|
55
55
|
} from "../chunk-2KK3SUMT.mjs";
|
|
56
56
|
import {
|
|
57
57
|
radio,
|
|
58
58
|
radioGroup
|
|
59
|
-
} from "../chunk-
|
|
59
|
+
} from "../chunk-4MIBATA4.mjs";
|
|
60
60
|
import {
|
|
61
61
|
divider
|
|
62
62
|
} from "../chunk-A2DU46QS.mjs";
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
} from "../chunk-U6G6SZ26.mjs";
|
|
75
75
|
import {
|
|
76
76
|
input
|
|
77
|
-
} from "../chunk-
|
|
77
|
+
} from "../chunk-I33PMOA3.mjs";
|
|
78
78
|
import {
|
|
79
79
|
kbd
|
|
80
80
|
} from "../chunk-F4AOWB64.mjs";
|
|
@@ -84,44 +84,44 @@ import {
|
|
|
84
84
|
} from "../chunk-C3SML4G4.mjs";
|
|
85
85
|
import {
|
|
86
86
|
calendar
|
|
87
|
-
} from "../chunk-
|
|
87
|
+
} from "../chunk-KPI62GDB.mjs";
|
|
88
88
|
import {
|
|
89
89
|
card
|
|
90
90
|
} from "../chunk-VLE2FQQR.mjs";
|
|
91
91
|
import {
|
|
92
92
|
checkbox,
|
|
93
93
|
checkboxGroup
|
|
94
|
-
} from "../chunk-
|
|
94
|
+
} from "../chunk-OUNBTYJ7.mjs";
|
|
95
95
|
import {
|
|
96
96
|
chip
|
|
97
|
-
} from "../chunk-
|
|
97
|
+
} from "../chunk-MP2JYSMR.mjs";
|
|
98
98
|
import {
|
|
99
99
|
circularProgress
|
|
100
100
|
} from "../chunk-KPVV2V7V.mjs";
|
|
101
101
|
import {
|
|
102
102
|
code
|
|
103
|
-
} from "../chunk-
|
|
103
|
+
} from "../chunk-PWJWH4MD.mjs";
|
|
104
104
|
import {
|
|
105
105
|
dateInput
|
|
106
|
-
} from "../chunk-
|
|
106
|
+
} from "../chunk-XEPPBQPJ.mjs";
|
|
107
107
|
import {
|
|
108
108
|
datePicker,
|
|
109
109
|
dateRangePicker
|
|
110
|
-
} from "../chunk-
|
|
110
|
+
} from "../chunk-TSTU52NB.mjs";
|
|
111
111
|
import {
|
|
112
112
|
accordion,
|
|
113
113
|
accordionItem
|
|
114
114
|
} from "../chunk-MVG7GLBD.mjs";
|
|
115
115
|
import {
|
|
116
116
|
autocomplete
|
|
117
|
-
} from "../chunk-
|
|
117
|
+
} from "../chunk-BOVVTMHS.mjs";
|
|
118
118
|
import {
|
|
119
119
|
avatar,
|
|
120
120
|
avatarGroup
|
|
121
|
-
} from "../chunk-
|
|
121
|
+
} from "../chunk-R27WO3A6.mjs";
|
|
122
122
|
import {
|
|
123
123
|
badge
|
|
124
|
-
} from "../chunk-
|
|
124
|
+
} from "../chunk-QV3ALCMB.mjs";
|
|
125
125
|
import {
|
|
126
126
|
breadcrumbItem,
|
|
127
127
|
breadcrumbs
|
|
@@ -129,10 +129,10 @@ import {
|
|
|
129
129
|
import {
|
|
130
130
|
button,
|
|
131
131
|
buttonGroup
|
|
132
|
-
} from "../chunk-
|
|
132
|
+
} from "../chunk-XXQSA25O.mjs";
|
|
133
133
|
import "../chunk-IV3K5WDK.mjs";
|
|
134
134
|
import "../chunk-3XVMTUU7.mjs";
|
|
135
|
-
import "../chunk-
|
|
135
|
+
import "../chunk-BZCSOIUI.mjs";
|
|
136
136
|
import "../chunk-N2KXC5ZE.mjs";
|
|
137
137
|
import "../chunk-BYWORP66.mjs";
|
|
138
138
|
import "../chunk-XHQUSKIE.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 data-[hidden=true]:hidden",
|
|
86
|
+
base: "group/input flex flex-col data-[hidden=true]:hidden",
|
|
87
87
|
label: [
|
|
88
88
|
"absolute",
|
|
89
89
|
"z-10",
|
|
@@ -111,9 +111,8 @@ var input = tv({
|
|
|
111
111
|
"z-10",
|
|
112
112
|
"hidden",
|
|
113
113
|
"absolute",
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"rtl:left-3",
|
|
114
|
+
"end-3",
|
|
115
|
+
"start-auto",
|
|
117
116
|
"appearance-none",
|
|
118
117
|
"outline-none",
|
|
119
118
|
"select-none",
|
|
@@ -124,7 +123,7 @@ var input = tv({
|
|
|
124
123
|
"rounded-full",
|
|
125
124
|
...dataFocusVisibleClasses
|
|
126
125
|
],
|
|
127
|
-
helperWrapper: "hidden group-data-[has-helper=true]:flex p-1 relative flex-col gap-1.5",
|
|
126
|
+
helperWrapper: "hidden group-data-[has-helper=true]/input:flex p-1 relative flex-col gap-1.5",
|
|
128
127
|
description: "text-tiny text-foreground-400",
|
|
129
128
|
errorMessage: "text-tiny text-danger"
|
|
130
129
|
},
|
|
@@ -134,7 +133,7 @@ var input = tv({
|
|
|
134
133
|
inputWrapper: [
|
|
135
134
|
"bg-default-100",
|
|
136
135
|
"data-[hover=true]:bg-default-200",
|
|
137
|
-
"group-data-[focus=true]:bg-default-100"
|
|
136
|
+
"group-data-[focus=true]/input:bg-default-100"
|
|
138
137
|
]
|
|
139
138
|
},
|
|
140
139
|
faded: {
|
|
@@ -144,14 +143,14 @@ var input = tv({
|
|
|
144
143
|
"border-default-200",
|
|
145
144
|
"data-[hover=true]:border-default-400"
|
|
146
145
|
],
|
|
147
|
-
value: "group-data-[has-value=true]:text-default-foreground"
|
|
146
|
+
value: "group-data-[has-value=true]/input:text-default-foreground"
|
|
148
147
|
},
|
|
149
148
|
bordered: {
|
|
150
149
|
inputWrapper: [
|
|
151
150
|
"border-medium",
|
|
152
151
|
"border-default-200",
|
|
153
152
|
"data-[hover=true]:border-default-400",
|
|
154
|
-
"group-data-[focus=true]:border-default-foreground"
|
|
153
|
+
"group-data-[focus=true]/input:border-default-foreground"
|
|
155
154
|
]
|
|
156
155
|
},
|
|
157
156
|
underlined: {
|
|
@@ -175,10 +174,10 @@ var input = tv({
|
|
|
175
174
|
"after:-translate-x-1/2",
|
|
176
175
|
"after:-bottom-[2px]",
|
|
177
176
|
"after:h-[2px]",
|
|
178
|
-
"group-data-[focus=true]:after:w-full"
|
|
177
|
+
"group-data-[focus=true]/input:after:w-full"
|
|
179
178
|
],
|
|
180
179
|
innerWrapper: "pb-1",
|
|
181
|
-
label: "group-data-[filled-within=true]:text-foreground"
|
|
180
|
+
label: "group-data-[filled-within=true]/input:text-foreground"
|
|
182
181
|
}
|
|
183
182
|
},
|
|
184
183
|
color: {
|
|
@@ -232,12 +231,12 @@ var input = tv({
|
|
|
232
231
|
base: "flex-row items-center flex-nowrap data-[has-helper=true]:items-start",
|
|
233
232
|
inputWrapper: "flex-1",
|
|
234
233
|
mainWrapper: "flex flex-col",
|
|
235
|
-
label: "relative text-foreground
|
|
234
|
+
label: "relative text-foreground pe-2 ps-2 pointer-events-auto"
|
|
236
235
|
},
|
|
237
236
|
inside: {
|
|
238
237
|
label: "text-tiny cursor-text",
|
|
239
238
|
inputWrapper: "flex-col items-start justify-center gap-0",
|
|
240
|
-
innerWrapper: "group-data-[has-label=true]:items-end"
|
|
239
|
+
innerWrapper: "group-data-[has-label=true]/input:items-end"
|
|
241
240
|
}
|
|
242
241
|
},
|
|
243
242
|
fullWidth: {
|
|
@@ -273,7 +272,7 @@ var input = tv({
|
|
|
273
272
|
true: {
|
|
274
273
|
label: "relative",
|
|
275
274
|
inputWrapper: "!h-auto",
|
|
276
|
-
innerWrapper: "items-start group-data-[has-label=true]:items-start",
|
|
275
|
+
innerWrapper: "items-start group-data-[has-label=true]/input:items-start",
|
|
277
276
|
input: "resize-none data-[hide-scroll=true]:scrollbar-hide"
|
|
278
277
|
}
|
|
279
278
|
},
|
|
@@ -310,7 +309,7 @@ var input = tv({
|
|
|
310
309
|
variant: "flat",
|
|
311
310
|
color: "default",
|
|
312
311
|
class: {
|
|
313
|
-
input: "group-data-[has-value=true]:text-default-foreground"
|
|
312
|
+
input: "group-data-[has-value=true]/input:text-default-foreground"
|
|
314
313
|
}
|
|
315
314
|
},
|
|
316
315
|
{
|
|
@@ -321,7 +320,7 @@ var input = tv({
|
|
|
321
320
|
"bg-primary-50",
|
|
322
321
|
"data-[hover=true]:bg-primary-100",
|
|
323
322
|
"text-primary",
|
|
324
|
-
"group-data-[focus=true]:bg-primary-50",
|
|
323
|
+
"group-data-[focus=true]/input:bg-primary-50",
|
|
325
324
|
"placeholder:text-primary"
|
|
326
325
|
],
|
|
327
326
|
input: "placeholder:text-primary",
|
|
@@ -336,7 +335,7 @@ var input = tv({
|
|
|
336
335
|
"bg-secondary-50",
|
|
337
336
|
"text-secondary",
|
|
338
337
|
"data-[hover=true]:bg-secondary-100",
|
|
339
|
-
"group-data-[focus=true]:bg-secondary-50",
|
|
338
|
+
"group-data-[focus=true]/input:bg-secondary-50",
|
|
340
339
|
"placeholder:text-secondary"
|
|
341
340
|
],
|
|
342
341
|
input: "placeholder:text-secondary",
|
|
@@ -354,7 +353,7 @@ var input = tv({
|
|
|
354
353
|
"placeholder:text-success-600",
|
|
355
354
|
"dark:placeholder:text-success",
|
|
356
355
|
"data-[hover=true]:bg-success-100",
|
|
357
|
-
"group-data-[focus=true]:bg-success-50"
|
|
356
|
+
"group-data-[focus=true]/input:bg-success-50"
|
|
358
357
|
],
|
|
359
358
|
input: "placeholder:text-success-600 dark:placeholder:text-success",
|
|
360
359
|
label: "text-success-600 dark:text-success"
|
|
@@ -371,7 +370,7 @@ var input = tv({
|
|
|
371
370
|
"placeholder:text-warning-600",
|
|
372
371
|
"dark:placeholder:text-warning",
|
|
373
372
|
"data-[hover=true]:bg-warning-100",
|
|
374
|
-
"group-data-[focus=true]:bg-warning-50"
|
|
373
|
+
"group-data-[focus=true]/input:bg-warning-50"
|
|
375
374
|
],
|
|
376
375
|
input: "placeholder:text-warning-600 dark:placeholder:text-warning",
|
|
377
376
|
label: "text-warning-600 dark:text-warning"
|
|
@@ -388,7 +387,7 @@ var input = tv({
|
|
|
388
387
|
"placeholder:text-danger",
|
|
389
388
|
"dark:placeholder:text-danger-500",
|
|
390
389
|
"data-[hover=true]:bg-danger-100",
|
|
391
|
-
"group-data-[focus=true]:bg-danger-50"
|
|
390
|
+
"group-data-[focus=true]/input:bg-danger-50"
|
|
392
391
|
],
|
|
393
392
|
input: "placeholder:text-danger dark:placeholder:text-danger-500",
|
|
394
393
|
label: "text-danger dark:text-danger-500"
|
|
@@ -438,7 +437,7 @@ var input = tv({
|
|
|
438
437
|
variant: "underlined",
|
|
439
438
|
color: "default",
|
|
440
439
|
class: {
|
|
441
|
-
input: "group-data-[has-value=true]:text-foreground"
|
|
440
|
+
input: "group-data-[has-value=true]/input:text-foreground"
|
|
442
441
|
}
|
|
443
442
|
},
|
|
444
443
|
{
|
|
@@ -485,7 +484,7 @@ var input = tv({
|
|
|
485
484
|
variant: "bordered",
|
|
486
485
|
color: "primary",
|
|
487
486
|
class: {
|
|
488
|
-
inputWrapper: "group-data-[focus=true]:border-primary",
|
|
487
|
+
inputWrapper: "group-data-[focus=true]/input:border-primary",
|
|
489
488
|
label: "text-primary"
|
|
490
489
|
}
|
|
491
490
|
},
|
|
@@ -493,7 +492,7 @@ var input = tv({
|
|
|
493
492
|
variant: "bordered",
|
|
494
493
|
color: "secondary",
|
|
495
494
|
class: {
|
|
496
|
-
inputWrapper: "group-data-[focus=true]:border-secondary",
|
|
495
|
+
inputWrapper: "group-data-[focus=true]/input:border-secondary",
|
|
497
496
|
label: "text-secondary"
|
|
498
497
|
}
|
|
499
498
|
},
|
|
@@ -501,7 +500,7 @@ var input = tv({
|
|
|
501
500
|
variant: "bordered",
|
|
502
501
|
color: "success",
|
|
503
502
|
class: {
|
|
504
|
-
inputWrapper: "group-data-[focus=true]:border-success",
|
|
503
|
+
inputWrapper: "group-data-[focus=true]/input:border-success",
|
|
505
504
|
label: "text-success"
|
|
506
505
|
}
|
|
507
506
|
},
|
|
@@ -509,7 +508,7 @@ var input = tv({
|
|
|
509
508
|
variant: "bordered",
|
|
510
509
|
color: "warning",
|
|
511
510
|
class: {
|
|
512
|
-
inputWrapper: "group-data-[focus=true]:border-warning",
|
|
511
|
+
inputWrapper: "group-data-[focus=true]/input:border-warning",
|
|
513
512
|
label: "text-warning"
|
|
514
513
|
}
|
|
515
514
|
},
|
|
@@ -517,7 +516,7 @@ var input = tv({
|
|
|
517
516
|
variant: "bordered",
|
|
518
517
|
color: "danger",
|
|
519
518
|
class: {
|
|
520
|
-
inputWrapper: "group-data-[focus=true]:border-danger",
|
|
519
|
+
inputWrapper: "group-data-[focus=true]/input:border-danger",
|
|
521
520
|
label: "text-danger"
|
|
522
521
|
}
|
|
523
522
|
},
|
|
@@ -525,14 +524,14 @@ var input = tv({
|
|
|
525
524
|
labelPlacement: "inside",
|
|
526
525
|
color: "default",
|
|
527
526
|
class: {
|
|
528
|
-
label: "group-data-[filled-within=true]:text-default-600"
|
|
527
|
+
label: "group-data-[filled-within=true]/input:text-default-600"
|
|
529
528
|
}
|
|
530
529
|
},
|
|
531
530
|
{
|
|
532
531
|
labelPlacement: "outside",
|
|
533
532
|
color: "default",
|
|
534
533
|
class: {
|
|
535
|
-
label: "group-data-[filled-within=true]:text-foreground"
|
|
534
|
+
label: "group-data-[filled-within=true]/input:text-foreground"
|
|
536
535
|
}
|
|
537
536
|
},
|
|
538
537
|
{
|
|
@@ -585,7 +584,7 @@ var input = tv({
|
|
|
585
584
|
inputWrapper: [
|
|
586
585
|
"!bg-danger-50",
|
|
587
586
|
"data-[hover=true]:!bg-danger-100",
|
|
588
|
-
"group-data-[focus=true]:!bg-danger-50"
|
|
587
|
+
"group-data-[focus=true]/input:!bg-danger-50"
|
|
589
588
|
]
|
|
590
589
|
}
|
|
591
590
|
},
|
|
@@ -593,7 +592,7 @@ var input = tv({
|
|
|
593
592
|
isInvalid: true,
|
|
594
593
|
variant: "bordered",
|
|
595
594
|
class: {
|
|
596
|
-
inputWrapper: "!border-danger group-data-[focus=true]:!border-danger"
|
|
595
|
+
inputWrapper: "!border-danger group-data-[focus=true]/input:!border-danger"
|
|
597
596
|
}
|
|
598
597
|
},
|
|
599
598
|
{
|
|
@@ -636,27 +635,27 @@ var input = tv({
|
|
|
636
635
|
{
|
|
637
636
|
labelPlacement: ["inside", "outside"],
|
|
638
637
|
class: {
|
|
639
|
-
label: ["group-data-[filled-within=true]:pointer-events-auto"]
|
|
638
|
+
label: ["group-data-[filled-within=true]/input:pointer-events-auto"]
|
|
640
639
|
}
|
|
641
640
|
},
|
|
642
641
|
{
|
|
643
642
|
labelPlacement: "outside",
|
|
644
643
|
isMultiline: false,
|
|
645
644
|
class: {
|
|
646
|
-
base: "
|
|
645
|
+
base: "relative justify-end",
|
|
647
646
|
label: [
|
|
648
647
|
"pb-0",
|
|
649
648
|
"z-20",
|
|
650
649
|
"top-1/2",
|
|
651
650
|
"-translate-y-1/2",
|
|
652
|
-
"group-data-[filled-within=true]:
|
|
651
|
+
"group-data-[filled-within=true]/input:start-0"
|
|
653
652
|
]
|
|
654
653
|
}
|
|
655
654
|
},
|
|
656
655
|
{
|
|
657
656
|
labelPlacement: ["inside"],
|
|
658
657
|
class: {
|
|
659
|
-
label: ["group-data-[filled-within=true]:scale-85"]
|
|
658
|
+
label: ["group-data-[filled-within=true]/input:scale-85"]
|
|
660
659
|
}
|
|
661
660
|
},
|
|
662
661
|
{
|
|
@@ -693,7 +692,7 @@ var input = tv({
|
|
|
693
692
|
size: "sm",
|
|
694
693
|
class: {
|
|
695
694
|
label: [
|
|
696
|
-
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"
|
|
695
|
+
"group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px)]"
|
|
697
696
|
]
|
|
698
697
|
}
|
|
699
698
|
},
|
|
@@ -703,7 +702,7 @@ var input = tv({
|
|
|
703
702
|
size: "md",
|
|
704
703
|
class: {
|
|
705
704
|
label: [
|
|
706
|
-
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
|
|
705
|
+
"group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px)]"
|
|
707
706
|
]
|
|
708
707
|
}
|
|
709
708
|
},
|
|
@@ -714,7 +713,7 @@ var input = tv({
|
|
|
714
713
|
class: {
|
|
715
714
|
label: [
|
|
716
715
|
"text-medium",
|
|
717
|
-
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
|
|
716
|
+
"group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px)]"
|
|
718
717
|
]
|
|
719
718
|
}
|
|
720
719
|
},
|
|
@@ -725,7 +724,7 @@ var input = tv({
|
|
|
725
724
|
size: "sm",
|
|
726
725
|
class: {
|
|
727
726
|
label: [
|
|
728
|
-
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
727
|
+
"group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
729
728
|
]
|
|
730
729
|
}
|
|
731
730
|
},
|
|
@@ -736,7 +735,7 @@ var input = tv({
|
|
|
736
735
|
size: "md",
|
|
737
736
|
class: {
|
|
738
737
|
label: [
|
|
739
|
-
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
|
|
738
|
+
"group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_6px_-_theme(borderWidth.medium))]"
|
|
740
739
|
]
|
|
741
740
|
}
|
|
742
741
|
},
|
|
@@ -748,7 +747,7 @@ var input = tv({
|
|
|
748
747
|
class: {
|
|
749
748
|
label: [
|
|
750
749
|
"text-medium",
|
|
751
|
-
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
750
|
+
"group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_8px_-_theme(borderWidth.medium))]"
|
|
752
751
|
]
|
|
753
752
|
}
|
|
754
753
|
},
|
|
@@ -759,7 +758,7 @@ var input = tv({
|
|
|
759
758
|
size: "sm",
|
|
760
759
|
class: {
|
|
761
760
|
label: [
|
|
762
|
-
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"
|
|
761
|
+
"group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.tiny)/2_-_5px)]"
|
|
763
762
|
]
|
|
764
763
|
}
|
|
765
764
|
},
|
|
@@ -770,7 +769,7 @@ var input = tv({
|
|
|
770
769
|
size: "md",
|
|
771
770
|
class: {
|
|
772
771
|
label: [
|
|
773
|
-
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
|
|
772
|
+
"group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_3.5px)]"
|
|
774
773
|
]
|
|
775
774
|
}
|
|
776
775
|
},
|
|
@@ -782,7 +781,7 @@ var input = tv({
|
|
|
782
781
|
class: {
|
|
783
782
|
label: [
|
|
784
783
|
"text-medium",
|
|
785
|
-
"group-data-[filled-within=true]:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
|
|
784
|
+
"group-data-[filled-within=true]/input:-translate-y-[calc(50%_+_theme(fontSize.small)/2_-_4px)]"
|
|
786
785
|
]
|
|
787
786
|
}
|
|
788
787
|
},
|
|
@@ -792,9 +791,9 @@ var input = tv({
|
|
|
792
791
|
isMultiline: false,
|
|
793
792
|
class: {
|
|
794
793
|
label: [
|
|
795
|
-
"
|
|
794
|
+
"start-2",
|
|
796
795
|
"text-tiny",
|
|
797
|
-
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
796
|
+
"group-data-[filled-within=true]/input:-translate-y-[calc(100%_+_theme(fontSize.tiny)/2_+_16px)]"
|
|
798
797
|
],
|
|
799
798
|
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_8px)]"
|
|
800
799
|
}
|
|
@@ -805,11 +804,10 @@ var input = tv({
|
|
|
805
804
|
isMultiline: false,
|
|
806
805
|
class: {
|
|
807
806
|
label: [
|
|
808
|
-
"
|
|
809
|
-
"
|
|
810
|
-
"rtl:right-3",
|
|
807
|
+
"start-3",
|
|
808
|
+
"end-auto",
|
|
811
809
|
"text-small",
|
|
812
|
-
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
810
|
+
"group-data-[filled-within=true]/input:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_20px)]"
|
|
813
811
|
],
|
|
814
812
|
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_10px)]"
|
|
815
813
|
}
|
|
@@ -820,11 +818,10 @@ var input = tv({
|
|
|
820
818
|
isMultiline: false,
|
|
821
819
|
class: {
|
|
822
820
|
label: [
|
|
823
|
-
"
|
|
824
|
-
"
|
|
825
|
-
"rtl:right-3",
|
|
821
|
+
"start-3",
|
|
822
|
+
"end-auto",
|
|
826
823
|
"text-medium",
|
|
827
|
-
"group-data-[filled-within=true]:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
824
|
+
"group-data-[filled-within=true]/input:-translate-y-[calc(100%_+_theme(fontSize.small)/2_+_24px)]"
|
|
828
825
|
],
|
|
829
826
|
base: "data-[has-label=true]:mt-[calc(theme(fontSize.small)_+_12px)]"
|
|
830
827
|
}
|
|
@@ -833,21 +830,21 @@ var input = tv({
|
|
|
833
830
|
labelPlacement: "outside-left",
|
|
834
831
|
size: "sm",
|
|
835
832
|
class: {
|
|
836
|
-
label: "group-data-[has-helper=true]:pt-2"
|
|
833
|
+
label: "group-data-[has-helper=true]/input:pt-2"
|
|
837
834
|
}
|
|
838
835
|
},
|
|
839
836
|
{
|
|
840
837
|
labelPlacement: "outside-left",
|
|
841
838
|
size: "md",
|
|
842
839
|
class: {
|
|
843
|
-
label: "group-data-[has-helper=true]:pt-3"
|
|
840
|
+
label: "group-data-[has-helper=true]/input:pt-3"
|
|
844
841
|
}
|
|
845
842
|
},
|
|
846
843
|
{
|
|
847
844
|
labelPlacement: "outside-left",
|
|
848
845
|
size: "lg",
|
|
849
846
|
class: {
|
|
850
|
-
label: "group-data-[has-helper=true]:pt-4"
|
|
847
|
+
label: "group-data-[has-helper=true]/input:pt-4"
|
|
851
848
|
}
|
|
852
849
|
},
|
|
853
850
|
{
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
input
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-I33PMOA3.mjs";
|
|
4
4
|
import "../chunk-IV3K5WDK.mjs";
|
|
5
5
|
import "../chunk-3XVMTUU7.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-BZCSOIUI.mjs";
|
|
7
7
|
import "../chunk-N2KXC5ZE.mjs";
|
|
8
8
|
import "../chunk-BYWORP66.mjs";
|
|
9
9
|
import "../chunk-XHQUSKIE.mjs";
|
package/dist/components/link.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-C3SML4G4.mjs";
|
|
5
5
|
import "../chunk-IV3K5WDK.mjs";
|
|
6
6
|
import "../chunk-3XVMTUU7.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-BZCSOIUI.mjs";
|
|
8
8
|
import "../chunk-N2KXC5ZE.mjs";
|
|
9
9
|
import "../chunk-BYWORP66.mjs";
|
|
10
10
|
import "../chunk-XHQUSKIE.mjs";
|
|
@@ -113,7 +113,7 @@ var menuItem = tv({
|
|
|
113
113
|
"data-[focus-visible=true]:dark:ring-offset-background-content1"
|
|
114
114
|
],
|
|
115
115
|
wrapper: "w-full flex flex-col items-start justify-center",
|
|
116
|
-
title: "flex-1 text-small font-normal
|
|
116
|
+
title: "flex-1 text-small font-normal",
|
|
117
117
|
description: ["w-full", "text-tiny", "text-foreground-500", "group-hover:text-current"],
|
|
118
118
|
selectedIcon: ["text-inherit", "w-3", "h-3", "flex-shrink-0"],
|
|
119
119
|
shortcut: [
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
menu,
|
|
4
4
|
menuItem,
|
|
5
5
|
menuSection
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-7YPXCOW5.mjs";
|
|
7
7
|
import "../chunk-IV3K5WDK.mjs";
|
|
8
8
|
import "../chunk-3XVMTUU7.mjs";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-BZCSOIUI.mjs";
|
|
10
10
|
import "../chunk-N2KXC5ZE.mjs";
|
|
11
11
|
import "../chunk-BYWORP66.mjs";
|
|
12
12
|
import "../chunk-XHQUSKIE.mjs";
|
package/dist/components/menu.js
CHANGED
|
@@ -113,7 +113,7 @@ var menuItem = tv({
|
|
|
113
113
|
"data-[focus-visible=true]:dark:ring-offset-background-content1"
|
|
114
114
|
],
|
|
115
115
|
wrapper: "w-full flex flex-col items-start justify-center",
|
|
116
|
-
title: "flex-1 text-small font-normal
|
|
116
|
+
title: "flex-1 text-small font-normal",
|
|
117
117
|
description: ["w-full", "text-tiny", "text-foreground-500", "group-hover:text-current"],
|
|
118
118
|
selectedIcon: ["text-inherit", "w-3", "h-3", "flex-shrink-0"],
|
|
119
119
|
shortcut: [
|
package/dist/components/menu.mjs
CHANGED
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
menu,
|
|
3
3
|
menuItem,
|
|
4
4
|
menuSection
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-7YPXCOW5.mjs";
|
|
6
6
|
import "../chunk-IV3K5WDK.mjs";
|
|
7
7
|
import "../chunk-3XVMTUU7.mjs";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-BZCSOIUI.mjs";
|
|
9
9
|
import "../chunk-N2KXC5ZE.mjs";
|
|
10
10
|
import "../chunk-BYWORP66.mjs";
|
|
11
11
|
import "../chunk-XHQUSKIE.mjs";
|
package/dist/components/modal.js
CHANGED
|
@@ -83,7 +83,8 @@ var modal = tv({
|
|
|
83
83
|
"inset-0",
|
|
84
84
|
"z-50",
|
|
85
85
|
"overflow-x-auto",
|
|
86
|
-
"justify-center"
|
|
86
|
+
"justify-center",
|
|
87
|
+
"h-[--visual-viewport-height]"
|
|
87
88
|
],
|
|
88
89
|
base: [
|
|
89
90
|
"flex",
|
|
@@ -152,7 +153,7 @@ var modal = tv({
|
|
|
152
153
|
base: "max-w-5xl"
|
|
153
154
|
},
|
|
154
155
|
full: {
|
|
155
|
-
base: "my-0 mx-0 sm:mx-0 sm:my-0 max-w-full h-[100dvh] !rounded-none"
|
|
156
|
+
base: "my-0 mx-0 sm:mx-0 sm:my-0 max-w-full h-[100dvh] min-h-[100dvh] !rounded-none"
|
|
156
157
|
}
|
|
157
158
|
},
|
|
158
159
|
radius: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
modal
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-P73E5YV7.mjs";
|
|
4
4
|
import "../chunk-IV3K5WDK.mjs";
|
|
5
5
|
import "../chunk-3XVMTUU7.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-BZCSOIUI.mjs";
|
|
7
7
|
import "../chunk-N2KXC5ZE.mjs";
|
|
8
8
|
import "../chunk-BYWORP66.mjs";
|
|
9
9
|
import "../chunk-XHQUSKIE.mjs";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "../chunk-3QYYLFUC.mjs";
|
|
4
4
|
import "../chunk-IV3K5WDK.mjs";
|
|
5
5
|
import "../chunk-3XVMTUU7.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-BZCSOIUI.mjs";
|
|
7
7
|
import "../chunk-N2KXC5ZE.mjs";
|
|
8
8
|
import "../chunk-BYWORP66.mjs";
|
|
9
9
|
import "../chunk-XHQUSKIE.mjs";
|