@nextui-org/theme 0.0.0-dev-v2-20230409022144 → 0.0.0-dev-v2-20230409144630
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-GJCSKHK6.mjs → chunk-2UDTG2TQ.mjs} +15 -15
- package/dist/{chunk-RD42SVXB.mjs → chunk-OMBBJ6LI.mjs} +1 -1
- package/dist/components/accordion-item.d.ts +3 -3
- package/dist/components/accordion-item.js +1 -1
- package/dist/components/accordion-item.mjs +1 -1
- package/dist/components/index.js +16 -16
- package/dist/components/index.mjs +20 -20
- package/dist/components/toggle.d.ts +29 -29
- package/dist/components/toggle.js +15 -15
- package/dist/components/toggle.mjs +1 -1
- package/dist/index.js +16 -16
- package/dist/index.mjs +22 -22
- package/dist/plugin.mjs +2 -2
- package/package.json +1 -1
- package/dist/{chunk-BMY6CGCY.mjs → chunk-56MY6KYG.mjs} +3 -3
|
@@ -29,8 +29,8 @@ var toggle = tv({
|
|
|
29
29
|
"rounded-full",
|
|
30
30
|
"data-[checked=true]:translate-x-full"
|
|
31
31
|
],
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
startIcon: "z-0 absolute left-1.5 text-current",
|
|
33
|
+
endIcon: "z-0 absolute right-1.5 text-neutral-600",
|
|
34
34
|
thumbIcon: "text-black",
|
|
35
35
|
label: "relative text-foreground select-none"
|
|
36
36
|
},
|
|
@@ -74,37 +74,37 @@ var toggle = tv({
|
|
|
74
74
|
xs: {
|
|
75
75
|
wrapper: "px-0.5 w-7 h-4 mr-1",
|
|
76
76
|
thumb: "w-3 h-3 text-[0.5rem]",
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
startIcon: "text-[0.5rem] left-1",
|
|
78
|
+
endIcon: "text-[0.5rem] right-1",
|
|
79
79
|
right: "text-[0.5rem]",
|
|
80
80
|
label: "text-xs"
|
|
81
81
|
},
|
|
82
82
|
sm: {
|
|
83
83
|
wrapper: "w-8 h-5 mr-1",
|
|
84
84
|
thumb: "w-3 h-3 text-[0.6rem]",
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
startIcon: "text-[0.6rem] left-1",
|
|
86
|
+
endIcon: "text-[0.6rem] right-1",
|
|
87
87
|
label: "text-sm"
|
|
88
88
|
},
|
|
89
89
|
md: {
|
|
90
90
|
wrapper: "w-10 h-6 mr-2",
|
|
91
91
|
thumb: "w-4 h-4 text-xs",
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
endIcon: "text-xs",
|
|
93
|
+
startIcon: "text-xs",
|
|
94
94
|
label: "text-base"
|
|
95
95
|
},
|
|
96
96
|
lg: {
|
|
97
97
|
wrapper: "w-12 h-7 mr-2",
|
|
98
98
|
thumb: "w-5 h-5 text-sm",
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
endIcon: "text-sm",
|
|
100
|
+
startIcon: "text-sm",
|
|
101
101
|
label: "text-lg"
|
|
102
102
|
},
|
|
103
103
|
xl: {
|
|
104
104
|
wrapper: "w-14 h-8 mr-2",
|
|
105
105
|
thumb: "w-6 h-6 text-base",
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
endIcon: "text-base",
|
|
107
|
+
startIcon: "text-base",
|
|
108
108
|
label: "text-xl"
|
|
109
109
|
}
|
|
110
110
|
},
|
|
@@ -124,16 +124,16 @@ var toggle = tv({
|
|
|
124
124
|
thumb: "transition-none"
|
|
125
125
|
},
|
|
126
126
|
false: {
|
|
127
|
-
wrapper: "transition-background
|
|
127
|
+
wrapper: "transition-background",
|
|
128
128
|
thumb: "transition-transform !ease-soft-spring !duration-500",
|
|
129
|
-
|
|
129
|
+
startIcon: [
|
|
130
130
|
"opacity-0",
|
|
131
131
|
"scale-50",
|
|
132
132
|
"transition-transform-opacity",
|
|
133
133
|
"data-[checked=true]:scale-100",
|
|
134
134
|
"data-[checked=true]:opacity-100"
|
|
135
135
|
],
|
|
136
|
-
|
|
136
|
+
endIcon: [
|
|
137
137
|
"opacity-100",
|
|
138
138
|
"transition-transform-opacity",
|
|
139
139
|
"data-[checked=true]:translate-x-3",
|
|
@@ -19,7 +19,7 @@ var accordionItem = tv({
|
|
|
19
19
|
],
|
|
20
20
|
heading: "",
|
|
21
21
|
trigger: "py-2 flex w-full gap-3 outline-none items-center",
|
|
22
|
-
|
|
22
|
+
startContent: "flex-shrink-0",
|
|
23
23
|
indicator: "text-neutral-400",
|
|
24
24
|
titleWrapper: "flex-1 flex flex-col text-left",
|
|
25
25
|
title: "text-foreground text-lg",
|
|
@@ -5,13 +5,13 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
5
5
|
/**
|
|
6
6
|
* AccordionItem wrapper **Tailwind Variants** component
|
|
7
7
|
*
|
|
8
|
-
* const {base, heading, indicator, trigger,
|
|
8
|
+
* const {base, heading, indicator, trigger, startContent, title, subtitle, content } = accordionItem({...})
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* <div className={base())}>
|
|
12
12
|
* <div className={heading())}>
|
|
13
13
|
* <button className={trigger())}>
|
|
14
|
-
* <div className={
|
|
14
|
+
* <div className={startContent()}>
|
|
15
15
|
* // content
|
|
16
16
|
* </div>
|
|
17
17
|
* <div className={titleWrapper()}>
|
|
@@ -75,7 +75,7 @@ declare const accordionItem: tailwind_variants.TVReturnType<{
|
|
|
75
75
|
base: string[];
|
|
76
76
|
heading: string;
|
|
77
77
|
trigger: string;
|
|
78
|
-
|
|
78
|
+
startContent: string;
|
|
79
79
|
indicator: string;
|
|
80
80
|
titleWrapper: string;
|
|
81
81
|
title: string;
|
|
@@ -51,7 +51,7 @@ var accordionItem = (0, import_tailwind_variants.tv)({
|
|
|
51
51
|
],
|
|
52
52
|
heading: "",
|
|
53
53
|
trigger: "py-2 flex w-full gap-3 outline-none items-center",
|
|
54
|
-
|
|
54
|
+
startContent: "flex-shrink-0",
|
|
55
55
|
indicator: "text-neutral-400",
|
|
56
56
|
titleWrapper: "flex-1 flex flex-col text-left",
|
|
57
57
|
title: "text-foreground text-lg",
|
package/dist/components/index.js
CHANGED
|
@@ -3263,8 +3263,8 @@ var toggle = (0, import_tailwind_variants20.tv)({
|
|
|
3263
3263
|
"rounded-full",
|
|
3264
3264
|
"data-[checked=true]:translate-x-full"
|
|
3265
3265
|
],
|
|
3266
|
-
|
|
3267
|
-
|
|
3266
|
+
startIcon: "z-0 absolute left-1.5 text-current",
|
|
3267
|
+
endIcon: "z-0 absolute right-1.5 text-neutral-600",
|
|
3268
3268
|
thumbIcon: "text-black",
|
|
3269
3269
|
label: "relative text-foreground select-none"
|
|
3270
3270
|
},
|
|
@@ -3308,37 +3308,37 @@ var toggle = (0, import_tailwind_variants20.tv)({
|
|
|
3308
3308
|
xs: {
|
|
3309
3309
|
wrapper: "px-0.5 w-7 h-4 mr-1",
|
|
3310
3310
|
thumb: "w-3 h-3 text-[0.5rem]",
|
|
3311
|
-
|
|
3312
|
-
|
|
3311
|
+
startIcon: "text-[0.5rem] left-1",
|
|
3312
|
+
endIcon: "text-[0.5rem] right-1",
|
|
3313
3313
|
right: "text-[0.5rem]",
|
|
3314
3314
|
label: "text-xs"
|
|
3315
3315
|
},
|
|
3316
3316
|
sm: {
|
|
3317
3317
|
wrapper: "w-8 h-5 mr-1",
|
|
3318
3318
|
thumb: "w-3 h-3 text-[0.6rem]",
|
|
3319
|
-
|
|
3320
|
-
|
|
3319
|
+
startIcon: "text-[0.6rem] left-1",
|
|
3320
|
+
endIcon: "text-[0.6rem] right-1",
|
|
3321
3321
|
label: "text-sm"
|
|
3322
3322
|
},
|
|
3323
3323
|
md: {
|
|
3324
3324
|
wrapper: "w-10 h-6 mr-2",
|
|
3325
3325
|
thumb: "w-4 h-4 text-xs",
|
|
3326
|
-
|
|
3327
|
-
|
|
3326
|
+
endIcon: "text-xs",
|
|
3327
|
+
startIcon: "text-xs",
|
|
3328
3328
|
label: "text-base"
|
|
3329
3329
|
},
|
|
3330
3330
|
lg: {
|
|
3331
3331
|
wrapper: "w-12 h-7 mr-2",
|
|
3332
3332
|
thumb: "w-5 h-5 text-sm",
|
|
3333
|
-
|
|
3334
|
-
|
|
3333
|
+
endIcon: "text-sm",
|
|
3334
|
+
startIcon: "text-sm",
|
|
3335
3335
|
label: "text-lg"
|
|
3336
3336
|
},
|
|
3337
3337
|
xl: {
|
|
3338
3338
|
wrapper: "w-14 h-8 mr-2",
|
|
3339
3339
|
thumb: "w-6 h-6 text-base",
|
|
3340
|
-
|
|
3341
|
-
|
|
3340
|
+
endIcon: "text-base",
|
|
3341
|
+
startIcon: "text-base",
|
|
3342
3342
|
label: "text-xl"
|
|
3343
3343
|
}
|
|
3344
3344
|
},
|
|
@@ -3358,16 +3358,16 @@ var toggle = (0, import_tailwind_variants20.tv)({
|
|
|
3358
3358
|
thumb: "transition-none"
|
|
3359
3359
|
},
|
|
3360
3360
|
false: {
|
|
3361
|
-
wrapper: "transition-background
|
|
3361
|
+
wrapper: "transition-background",
|
|
3362
3362
|
thumb: "transition-transform !ease-soft-spring !duration-500",
|
|
3363
|
-
|
|
3363
|
+
startIcon: [
|
|
3364
3364
|
"opacity-0",
|
|
3365
3365
|
"scale-50",
|
|
3366
3366
|
"transition-transform-opacity",
|
|
3367
3367
|
"data-[checked=true]:scale-100",
|
|
3368
3368
|
"data-[checked=true]:opacity-100"
|
|
3369
3369
|
],
|
|
3370
|
-
|
|
3370
|
+
endIcon: [
|
|
3371
3371
|
"opacity-100",
|
|
3372
3372
|
"transition-transform-opacity",
|
|
3373
3373
|
"data-[checked=true]:translate-x-3",
|
|
@@ -3401,7 +3401,7 @@ var accordionItem = (0, import_tailwind_variants21.tv)({
|
|
|
3401
3401
|
],
|
|
3402
3402
|
heading: "",
|
|
3403
3403
|
trigger: "py-2 flex w-full gap-3 outline-none items-center",
|
|
3404
|
-
|
|
3404
|
+
startContent: "flex-shrink-0",
|
|
3405
3405
|
indicator: "text-neutral-400",
|
|
3406
3406
|
titleWrapper: "flex-1 flex flex-col text-left",
|
|
3407
3407
|
title: "text-foreground text-lg",
|
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
import "../chunk-EERASTP4.mjs";
|
|
2
|
-
import {
|
|
3
|
-
radio
|
|
4
|
-
} from "../chunk-Y37XC5QN.mjs";
|
|
5
|
-
import {
|
|
6
|
-
snippet
|
|
7
|
-
} from "../chunk-QMP2FDFR.mjs";
|
|
8
2
|
import {
|
|
9
3
|
spinner
|
|
10
4
|
} from "../chunk-CO6ANWRA.mjs";
|
|
11
5
|
import {
|
|
12
6
|
toggle
|
|
13
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-2UDTG2TQ.mjs";
|
|
14
8
|
import {
|
|
15
9
|
user
|
|
16
10
|
} from "../chunk-FS36US4S.mjs";
|
|
17
|
-
import {
|
|
18
|
-
dropdown
|
|
19
|
-
} from "../chunk-UNMHV7HH.mjs";
|
|
20
11
|
import {
|
|
21
12
|
input
|
|
22
13
|
} from "../chunk-6YCEBN5V.mjs";
|
|
@@ -36,11 +27,11 @@ import {
|
|
|
36
27
|
radioGroup
|
|
37
28
|
} from "../chunk-HHWXPWYN.mjs";
|
|
38
29
|
import {
|
|
39
|
-
|
|
40
|
-
} from "../chunk-
|
|
30
|
+
radio
|
|
31
|
+
} from "../chunk-Y37XC5QN.mjs";
|
|
41
32
|
import {
|
|
42
|
-
|
|
43
|
-
} from "../chunk-
|
|
33
|
+
snippet
|
|
34
|
+
} from "../chunk-QMP2FDFR.mjs";
|
|
44
35
|
import {
|
|
45
36
|
circularProgress
|
|
46
37
|
} from "../chunk-FK5GDC67.mjs";
|
|
@@ -60,11 +51,8 @@ import {
|
|
|
60
51
|
dropdownSection
|
|
61
52
|
} from "../chunk-AVGEHFT4.mjs";
|
|
62
53
|
import {
|
|
63
|
-
|
|
64
|
-
} from "../chunk-
|
|
65
|
-
import {
|
|
66
|
-
avatarGroup
|
|
67
|
-
} from "../chunk-MLH3XSY7.mjs";
|
|
54
|
+
dropdown
|
|
55
|
+
} from "../chunk-UNMHV7HH.mjs";
|
|
68
56
|
import {
|
|
69
57
|
avatar
|
|
70
58
|
} from "../chunk-D4TJV7NY.mjs";
|
|
@@ -83,12 +71,24 @@ import {
|
|
|
83
71
|
import {
|
|
84
72
|
checkboxGroup
|
|
85
73
|
} from "../chunk-U77YMEWM.mjs";
|
|
74
|
+
import {
|
|
75
|
+
checkbox
|
|
76
|
+
} from "../chunk-NJQP2VWT.mjs";
|
|
77
|
+
import {
|
|
78
|
+
chip
|
|
79
|
+
} from "../chunk-CPOL2EGG.mjs";
|
|
86
80
|
import {
|
|
87
81
|
accordionItem
|
|
88
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-OMBBJ6LI.mjs";
|
|
89
83
|
import "../chunk-CMYR6AOY.mjs";
|
|
90
84
|
import "../chunk-K7LK7NCE.mjs";
|
|
91
85
|
import "../chunk-LGGZKBOO.mjs";
|
|
86
|
+
import {
|
|
87
|
+
accordion
|
|
88
|
+
} from "../chunk-YYBLBQIV.mjs";
|
|
89
|
+
import {
|
|
90
|
+
avatarGroup
|
|
91
|
+
} from "../chunk-MLH3XSY7.mjs";
|
|
92
92
|
import "../chunk-IJCHUO4J.mjs";
|
|
93
93
|
export {
|
|
94
94
|
accordion,
|
|
@@ -5,17 +5,17 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
5
5
|
/**
|
|
6
6
|
* Toggle (Switch) wrapper **Tailwind Variants** component
|
|
7
7
|
*
|
|
8
|
-
* const {base, wrapper, thumb, thumbIcon, label} = toggle({...})
|
|
8
|
+
* const {base, wrapper, thumb, thumbIcon, label, startIcon, endIcon} = toggle({...})
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* <label className={base())}>
|
|
12
12
|
* // hidden input
|
|
13
13
|
* <span className={wrapper()} aria-hidden="true" data-checked={checked}>
|
|
14
|
-
* <svg className={
|
|
14
|
+
* <svg className={startIcon()}>...</svg>
|
|
15
15
|
* <span className={thumb()}>
|
|
16
16
|
* <svg className={thumbIcon()}>...</svg>
|
|
17
17
|
* </span>
|
|
18
|
-
* <svg className={
|
|
18
|
+
* <svg className={endIcon()}>...</svg>
|
|
19
19
|
* </span>
|
|
20
20
|
* <span className={label()}>Label</span>
|
|
21
21
|
* </label>
|
|
@@ -45,37 +45,37 @@ declare const toggle: tailwind_variants.TVReturnType<{
|
|
|
45
45
|
xs: {
|
|
46
46
|
wrapper: string;
|
|
47
47
|
thumb: string;
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
startIcon: string;
|
|
49
|
+
endIcon: string;
|
|
50
50
|
right: string;
|
|
51
51
|
label: string;
|
|
52
52
|
};
|
|
53
53
|
sm: {
|
|
54
54
|
wrapper: string;
|
|
55
55
|
thumb: string;
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
startIcon: string;
|
|
57
|
+
endIcon: string;
|
|
58
58
|
label: string;
|
|
59
59
|
};
|
|
60
60
|
md: {
|
|
61
61
|
wrapper: string;
|
|
62
62
|
thumb: string;
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
endIcon: string;
|
|
64
|
+
startIcon: string;
|
|
65
65
|
label: string;
|
|
66
66
|
};
|
|
67
67
|
lg: {
|
|
68
68
|
wrapper: string;
|
|
69
69
|
thumb: string;
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
endIcon: string;
|
|
71
|
+
startIcon: string;
|
|
72
72
|
label: string;
|
|
73
73
|
};
|
|
74
74
|
xl: {
|
|
75
75
|
wrapper: string;
|
|
76
76
|
thumb: string;
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
endIcon: string;
|
|
78
|
+
startIcon: string;
|
|
79
79
|
label: string;
|
|
80
80
|
};
|
|
81
81
|
};
|
|
@@ -97,16 +97,16 @@ declare const toggle: tailwind_variants.TVReturnType<{
|
|
|
97
97
|
false: {
|
|
98
98
|
wrapper: string;
|
|
99
99
|
thumb: string;
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
startIcon: string[];
|
|
101
|
+
endIcon: string[];
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
104
|
}, unknown, {
|
|
105
105
|
base: string;
|
|
106
106
|
wrapper: string[];
|
|
107
107
|
thumb: string[];
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
startIcon: string;
|
|
109
|
+
endIcon: string;
|
|
110
110
|
thumbIcon: string;
|
|
111
111
|
label: string;
|
|
112
112
|
}, undefined, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
@@ -134,37 +134,37 @@ declare const toggle: tailwind_variants.TVReturnType<{
|
|
|
134
134
|
xs: {
|
|
135
135
|
wrapper: string;
|
|
136
136
|
thumb: string;
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
startIcon: string;
|
|
138
|
+
endIcon: string;
|
|
139
139
|
right: string;
|
|
140
140
|
label: string;
|
|
141
141
|
};
|
|
142
142
|
sm: {
|
|
143
143
|
wrapper: string;
|
|
144
144
|
thumb: string;
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
startIcon: string;
|
|
146
|
+
endIcon: string;
|
|
147
147
|
label: string;
|
|
148
148
|
};
|
|
149
149
|
md: {
|
|
150
150
|
wrapper: string;
|
|
151
151
|
thumb: string;
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
endIcon: string;
|
|
153
|
+
startIcon: string;
|
|
154
154
|
label: string;
|
|
155
155
|
};
|
|
156
156
|
lg: {
|
|
157
157
|
wrapper: string;
|
|
158
158
|
thumb: string;
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
endIcon: string;
|
|
160
|
+
startIcon: string;
|
|
161
161
|
label: string;
|
|
162
162
|
};
|
|
163
163
|
xl: {
|
|
164
164
|
wrapper: string;
|
|
165
165
|
thumb: string;
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
endIcon: string;
|
|
167
|
+
startIcon: string;
|
|
168
168
|
label: string;
|
|
169
169
|
};
|
|
170
170
|
};
|
|
@@ -186,8 +186,8 @@ declare const toggle: tailwind_variants.TVReturnType<{
|
|
|
186
186
|
false: {
|
|
187
187
|
wrapper: string;
|
|
188
188
|
thumb: string;
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
startIcon: string[];
|
|
190
|
+
endIcon: string[];
|
|
191
191
|
};
|
|
192
192
|
};
|
|
193
193
|
}, unknown>>;
|
|
@@ -61,8 +61,8 @@ var toggle = (0, import_tailwind_variants.tv)({
|
|
|
61
61
|
"rounded-full",
|
|
62
62
|
"data-[checked=true]:translate-x-full"
|
|
63
63
|
],
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
startIcon: "z-0 absolute left-1.5 text-current",
|
|
65
|
+
endIcon: "z-0 absolute right-1.5 text-neutral-600",
|
|
66
66
|
thumbIcon: "text-black",
|
|
67
67
|
label: "relative text-foreground select-none"
|
|
68
68
|
},
|
|
@@ -106,37 +106,37 @@ var toggle = (0, import_tailwind_variants.tv)({
|
|
|
106
106
|
xs: {
|
|
107
107
|
wrapper: "px-0.5 w-7 h-4 mr-1",
|
|
108
108
|
thumb: "w-3 h-3 text-[0.5rem]",
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
startIcon: "text-[0.5rem] left-1",
|
|
110
|
+
endIcon: "text-[0.5rem] right-1",
|
|
111
111
|
right: "text-[0.5rem]",
|
|
112
112
|
label: "text-xs"
|
|
113
113
|
},
|
|
114
114
|
sm: {
|
|
115
115
|
wrapper: "w-8 h-5 mr-1",
|
|
116
116
|
thumb: "w-3 h-3 text-[0.6rem]",
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
startIcon: "text-[0.6rem] left-1",
|
|
118
|
+
endIcon: "text-[0.6rem] right-1",
|
|
119
119
|
label: "text-sm"
|
|
120
120
|
},
|
|
121
121
|
md: {
|
|
122
122
|
wrapper: "w-10 h-6 mr-2",
|
|
123
123
|
thumb: "w-4 h-4 text-xs",
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
endIcon: "text-xs",
|
|
125
|
+
startIcon: "text-xs",
|
|
126
126
|
label: "text-base"
|
|
127
127
|
},
|
|
128
128
|
lg: {
|
|
129
129
|
wrapper: "w-12 h-7 mr-2",
|
|
130
130
|
thumb: "w-5 h-5 text-sm",
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
endIcon: "text-sm",
|
|
132
|
+
startIcon: "text-sm",
|
|
133
133
|
label: "text-lg"
|
|
134
134
|
},
|
|
135
135
|
xl: {
|
|
136
136
|
wrapper: "w-14 h-8 mr-2",
|
|
137
137
|
thumb: "w-6 h-6 text-base",
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
endIcon: "text-base",
|
|
139
|
+
startIcon: "text-base",
|
|
140
140
|
label: "text-xl"
|
|
141
141
|
}
|
|
142
142
|
},
|
|
@@ -156,16 +156,16 @@ var toggle = (0, import_tailwind_variants.tv)({
|
|
|
156
156
|
thumb: "transition-none"
|
|
157
157
|
},
|
|
158
158
|
false: {
|
|
159
|
-
wrapper: "transition-background
|
|
159
|
+
wrapper: "transition-background",
|
|
160
160
|
thumb: "transition-transform !ease-soft-spring !duration-500",
|
|
161
|
-
|
|
161
|
+
startIcon: [
|
|
162
162
|
"opacity-0",
|
|
163
163
|
"scale-50",
|
|
164
164
|
"transition-transform-opacity",
|
|
165
165
|
"data-[checked=true]:scale-100",
|
|
166
166
|
"data-[checked=true]:opacity-100"
|
|
167
167
|
],
|
|
168
|
-
|
|
168
|
+
endIcon: [
|
|
169
169
|
"opacity-100",
|
|
170
170
|
"transition-transform-opacity",
|
|
171
171
|
"data-[checked=true]:translate-x-3",
|
package/dist/index.js
CHANGED
|
@@ -3286,8 +3286,8 @@ var toggle = (0, import_tailwind_variants20.tv)({
|
|
|
3286
3286
|
"rounded-full",
|
|
3287
3287
|
"data-[checked=true]:translate-x-full"
|
|
3288
3288
|
],
|
|
3289
|
-
|
|
3290
|
-
|
|
3289
|
+
startIcon: "z-0 absolute left-1.5 text-current",
|
|
3290
|
+
endIcon: "z-0 absolute right-1.5 text-neutral-600",
|
|
3291
3291
|
thumbIcon: "text-black",
|
|
3292
3292
|
label: "relative text-foreground select-none"
|
|
3293
3293
|
},
|
|
@@ -3331,37 +3331,37 @@ var toggle = (0, import_tailwind_variants20.tv)({
|
|
|
3331
3331
|
xs: {
|
|
3332
3332
|
wrapper: "px-0.5 w-7 h-4 mr-1",
|
|
3333
3333
|
thumb: "w-3 h-3 text-[0.5rem]",
|
|
3334
|
-
|
|
3335
|
-
|
|
3334
|
+
startIcon: "text-[0.5rem] left-1",
|
|
3335
|
+
endIcon: "text-[0.5rem] right-1",
|
|
3336
3336
|
right: "text-[0.5rem]",
|
|
3337
3337
|
label: "text-xs"
|
|
3338
3338
|
},
|
|
3339
3339
|
sm: {
|
|
3340
3340
|
wrapper: "w-8 h-5 mr-1",
|
|
3341
3341
|
thumb: "w-3 h-3 text-[0.6rem]",
|
|
3342
|
-
|
|
3343
|
-
|
|
3342
|
+
startIcon: "text-[0.6rem] left-1",
|
|
3343
|
+
endIcon: "text-[0.6rem] right-1",
|
|
3344
3344
|
label: "text-sm"
|
|
3345
3345
|
},
|
|
3346
3346
|
md: {
|
|
3347
3347
|
wrapper: "w-10 h-6 mr-2",
|
|
3348
3348
|
thumb: "w-4 h-4 text-xs",
|
|
3349
|
-
|
|
3350
|
-
|
|
3349
|
+
endIcon: "text-xs",
|
|
3350
|
+
startIcon: "text-xs",
|
|
3351
3351
|
label: "text-base"
|
|
3352
3352
|
},
|
|
3353
3353
|
lg: {
|
|
3354
3354
|
wrapper: "w-12 h-7 mr-2",
|
|
3355
3355
|
thumb: "w-5 h-5 text-sm",
|
|
3356
|
-
|
|
3357
|
-
|
|
3356
|
+
endIcon: "text-sm",
|
|
3357
|
+
startIcon: "text-sm",
|
|
3358
3358
|
label: "text-lg"
|
|
3359
3359
|
},
|
|
3360
3360
|
xl: {
|
|
3361
3361
|
wrapper: "w-14 h-8 mr-2",
|
|
3362
3362
|
thumb: "w-6 h-6 text-base",
|
|
3363
|
-
|
|
3364
|
-
|
|
3363
|
+
endIcon: "text-base",
|
|
3364
|
+
startIcon: "text-base",
|
|
3365
3365
|
label: "text-xl"
|
|
3366
3366
|
}
|
|
3367
3367
|
},
|
|
@@ -3381,16 +3381,16 @@ var toggle = (0, import_tailwind_variants20.tv)({
|
|
|
3381
3381
|
thumb: "transition-none"
|
|
3382
3382
|
},
|
|
3383
3383
|
false: {
|
|
3384
|
-
wrapper: "transition-background
|
|
3384
|
+
wrapper: "transition-background",
|
|
3385
3385
|
thumb: "transition-transform !ease-soft-spring !duration-500",
|
|
3386
|
-
|
|
3386
|
+
startIcon: [
|
|
3387
3387
|
"opacity-0",
|
|
3388
3388
|
"scale-50",
|
|
3389
3389
|
"transition-transform-opacity",
|
|
3390
3390
|
"data-[checked=true]:scale-100",
|
|
3391
3391
|
"data-[checked=true]:opacity-100"
|
|
3392
3392
|
],
|
|
3393
|
-
|
|
3393
|
+
endIcon: [
|
|
3394
3394
|
"opacity-100",
|
|
3395
3395
|
"transition-transform-opacity",
|
|
3396
3396
|
"data-[checked=true]:translate-x-3",
|
|
@@ -3424,7 +3424,7 @@ var accordionItem = (0, import_tailwind_variants21.tv)({
|
|
|
3424
3424
|
],
|
|
3425
3425
|
heading: "",
|
|
3426
3426
|
trigger: "py-2 flex w-full gap-3 outline-none items-center",
|
|
3427
|
-
|
|
3427
|
+
startContent: "flex-shrink-0",
|
|
3428
3428
|
indicator: "text-neutral-400",
|
|
3429
3429
|
titleWrapper: "flex-1 flex flex-col text-left",
|
|
3430
3430
|
title: "text-foreground text-lg",
|
package/dist/index.mjs
CHANGED
|
@@ -1,22 +1,13 @@
|
|
|
1
1
|
import "./chunk-EERASTP4.mjs";
|
|
2
|
-
import {
|
|
3
|
-
radio
|
|
4
|
-
} from "./chunk-Y37XC5QN.mjs";
|
|
5
|
-
import {
|
|
6
|
-
snippet
|
|
7
|
-
} from "./chunk-QMP2FDFR.mjs";
|
|
8
2
|
import {
|
|
9
3
|
spinner
|
|
10
4
|
} from "./chunk-CO6ANWRA.mjs";
|
|
11
5
|
import {
|
|
12
6
|
toggle
|
|
13
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2UDTG2TQ.mjs";
|
|
14
8
|
import {
|
|
15
9
|
user
|
|
16
10
|
} from "./chunk-FS36US4S.mjs";
|
|
17
|
-
import {
|
|
18
|
-
dropdown
|
|
19
|
-
} from "./chunk-UNMHV7HH.mjs";
|
|
20
11
|
import {
|
|
21
12
|
input
|
|
22
13
|
} from "./chunk-6YCEBN5V.mjs";
|
|
@@ -36,11 +27,11 @@ import {
|
|
|
36
27
|
radioGroup
|
|
37
28
|
} from "./chunk-HHWXPWYN.mjs";
|
|
38
29
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
30
|
+
radio
|
|
31
|
+
} from "./chunk-Y37XC5QN.mjs";
|
|
41
32
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
33
|
+
snippet
|
|
34
|
+
} from "./chunk-QMP2FDFR.mjs";
|
|
44
35
|
import {
|
|
45
36
|
circularProgress
|
|
46
37
|
} from "./chunk-FK5GDC67.mjs";
|
|
@@ -60,11 +51,8 @@ import {
|
|
|
60
51
|
dropdownSection
|
|
61
52
|
} from "./chunk-AVGEHFT4.mjs";
|
|
62
53
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import {
|
|
66
|
-
avatarGroup
|
|
67
|
-
} from "./chunk-MLH3XSY7.mjs";
|
|
54
|
+
dropdown
|
|
55
|
+
} from "./chunk-UNMHV7HH.mjs";
|
|
68
56
|
import {
|
|
69
57
|
avatar
|
|
70
58
|
} from "./chunk-D4TJV7NY.mjs";
|
|
@@ -83,18 +71,29 @@ import {
|
|
|
83
71
|
import {
|
|
84
72
|
checkboxGroup
|
|
85
73
|
} from "./chunk-U77YMEWM.mjs";
|
|
74
|
+
import {
|
|
75
|
+
checkbox
|
|
76
|
+
} from "./chunk-NJQP2VWT.mjs";
|
|
77
|
+
import {
|
|
78
|
+
chip
|
|
79
|
+
} from "./chunk-CPOL2EGG.mjs";
|
|
86
80
|
import {
|
|
87
81
|
accordionItem
|
|
88
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-OMBBJ6LI.mjs";
|
|
89
83
|
import "./chunk-CMYR6AOY.mjs";
|
|
90
84
|
import "./chunk-K7LK7NCE.mjs";
|
|
91
85
|
import {
|
|
92
86
|
colorVariants
|
|
93
87
|
} from "./chunk-LGGZKBOO.mjs";
|
|
88
|
+
import {
|
|
89
|
+
accordion
|
|
90
|
+
} from "./chunk-YYBLBQIV.mjs";
|
|
91
|
+
import {
|
|
92
|
+
avatarGroup
|
|
93
|
+
} from "./chunk-MLH3XSY7.mjs";
|
|
94
94
|
import {
|
|
95
95
|
nextui
|
|
96
|
-
} from "./chunk-
|
|
97
|
-
import "./chunk-XLATS5QU.mjs";
|
|
96
|
+
} from "./chunk-56MY6KYG.mjs";
|
|
98
97
|
import {
|
|
99
98
|
absoluteFullClasses,
|
|
100
99
|
baseStyles,
|
|
@@ -102,6 +101,7 @@ import {
|
|
|
102
101
|
ringClasses,
|
|
103
102
|
translateCenterClasses
|
|
104
103
|
} from "./chunk-IJCHUO4J.mjs";
|
|
104
|
+
import "./chunk-XLATS5QU.mjs";
|
|
105
105
|
import "./chunk-WQEDQHKX.mjs";
|
|
106
106
|
import {
|
|
107
107
|
colors
|
package/dist/plugin.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nextui
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-XLATS5QU.mjs";
|
|
3
|
+
} from "./chunk-56MY6KYG.mjs";
|
|
5
4
|
import "./chunk-IJCHUO4J.mjs";
|
|
5
|
+
import "./chunk-XLATS5QU.mjs";
|
|
6
6
|
import "./chunk-WQEDQHKX.mjs";
|
|
7
7
|
import "./chunk-7MQD7UA2.mjs";
|
|
8
8
|
import "./chunk-Y52EXP4A.mjs";
|
package/package.json
CHANGED