@nextui-org/theme 0.0.0-dev-v2-20230326202948 → 0.0.0-dev-v2-20230328184744
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-VB4T62HR.mjs → chunk-GJCSKHK6.mjs} +3 -7
- package/dist/{chunk-JNZ4NJJH.mjs → chunk-SCSMWJOJ.mjs} +6 -3
- package/dist/components/index.js +3 -7
- package/dist/components/index.mjs +9 -9
- package/dist/components/toggle.d.ts +2 -2
- package/dist/components/toggle.js +3 -7
- package/dist/components/toggle.mjs +1 -1
- package/dist/index.js +6 -7
- package/dist/index.mjs +11 -11
- package/dist/plugin.js +3 -0
- package/dist/plugin.mjs +2 -2
- package/package.json +1 -1
|
@@ -124,12 +124,8 @@ var toggle = tv({
|
|
|
124
124
|
thumb: "transition-none"
|
|
125
125
|
},
|
|
126
126
|
false: {
|
|
127
|
-
wrapper: "transition-background",
|
|
128
|
-
thumb:
|
|
129
|
-
"transition",
|
|
130
|
-
"group-active:translate-x-1",
|
|
131
|
-
"data-[checked=true]:group-active:translate-x-[90%]"
|
|
132
|
-
],
|
|
127
|
+
wrapper: "transition-background !duration-500",
|
|
128
|
+
thumb: "transition-transform !ease-soft-spring !duration-500",
|
|
133
129
|
leftIcon: [
|
|
134
130
|
"opacity-0",
|
|
135
131
|
"scale-50",
|
|
@@ -148,7 +144,7 @@ var toggle = tv({
|
|
|
148
144
|
},
|
|
149
145
|
defaultVariants: {
|
|
150
146
|
color: "primary",
|
|
151
|
-
size: "
|
|
147
|
+
size: "lg",
|
|
152
148
|
isDisabled: false,
|
|
153
149
|
disableAnimation: false
|
|
154
150
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
animations
|
|
3
|
-
} from "./chunk-OMTYF2LL.mjs";
|
|
4
1
|
import {
|
|
5
2
|
utilities
|
|
6
3
|
} from "./chunk-45FXWIO6.mjs";
|
|
@@ -13,6 +10,9 @@ import {
|
|
|
13
10
|
import {
|
|
14
11
|
removeDefaultKeys
|
|
15
12
|
} from "./chunk-37PIXVP4.mjs";
|
|
13
|
+
import {
|
|
14
|
+
animations
|
|
15
|
+
} from "./chunk-OMTYF2LL.mjs";
|
|
16
16
|
import {
|
|
17
17
|
commonColors
|
|
18
18
|
} from "./chunk-CRCBVLUP.mjs";
|
|
@@ -124,6 +124,9 @@ var corePlugin = (config = {}, defaultTheme) => {
|
|
|
124
124
|
0: "0ms",
|
|
125
125
|
250: "250ms"
|
|
126
126
|
},
|
|
127
|
+
transitionTimingFunction: {
|
|
128
|
+
"soft-spring": "cubic-bezier(0.155, 1.105, 0.295, 1.12)"
|
|
129
|
+
},
|
|
127
130
|
...animations
|
|
128
131
|
}
|
|
129
132
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -3320,12 +3320,8 @@ var toggle = (0, import_tailwind_variants20.tv)({
|
|
|
3320
3320
|
thumb: "transition-none"
|
|
3321
3321
|
},
|
|
3322
3322
|
false: {
|
|
3323
|
-
wrapper: "transition-background",
|
|
3324
|
-
thumb:
|
|
3325
|
-
"transition",
|
|
3326
|
-
"group-active:translate-x-1",
|
|
3327
|
-
"data-[checked=true]:group-active:translate-x-[90%]"
|
|
3328
|
-
],
|
|
3323
|
+
wrapper: "transition-background !duration-500",
|
|
3324
|
+
thumb: "transition-transform !ease-soft-spring !duration-500",
|
|
3329
3325
|
leftIcon: [
|
|
3330
3326
|
"opacity-0",
|
|
3331
3327
|
"scale-50",
|
|
@@ -3344,7 +3340,7 @@ var toggle = (0, import_tailwind_variants20.tv)({
|
|
|
3344
3340
|
},
|
|
3345
3341
|
defaultVariants: {
|
|
3346
3342
|
color: "primary",
|
|
3347
|
-
size: "
|
|
3343
|
+
size: "lg",
|
|
3348
3344
|
isDisabled: false,
|
|
3349
3345
|
disableAnimation: false
|
|
3350
3346
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import "../chunk-5SJ7B53O.mjs";
|
|
2
|
+
import {
|
|
3
|
+
radio
|
|
4
|
+
} from "../chunk-Y37XC5QN.mjs";
|
|
2
5
|
import {
|
|
3
6
|
snippet
|
|
4
7
|
} from "../chunk-QMP2FDFR.mjs";
|
|
@@ -7,13 +10,16 @@ import {
|
|
|
7
10
|
} from "../chunk-CO6ANWRA.mjs";
|
|
8
11
|
import {
|
|
9
12
|
toggle
|
|
10
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-GJCSKHK6.mjs";
|
|
11
14
|
import {
|
|
12
15
|
tooltip
|
|
13
16
|
} from "../chunk-QIC7EALL.mjs";
|
|
14
17
|
import {
|
|
15
18
|
user
|
|
16
19
|
} from "../chunk-FS36US4S.mjs";
|
|
20
|
+
import {
|
|
21
|
+
checkbox
|
|
22
|
+
} from "../chunk-NJQP2VWT.mjs";
|
|
17
23
|
import {
|
|
18
24
|
chip
|
|
19
25
|
} from "../chunk-TV7EJNXI.mjs";
|
|
@@ -33,8 +39,8 @@ import {
|
|
|
33
39
|
radioGroup
|
|
34
40
|
} from "../chunk-HHWXPWYN.mjs";
|
|
35
41
|
import {
|
|
36
|
-
|
|
37
|
-
} from "../chunk-
|
|
42
|
+
accordion
|
|
43
|
+
} from "../chunk-YYBLBQIV.mjs";
|
|
38
44
|
import {
|
|
39
45
|
avatarGroup
|
|
40
46
|
} from "../chunk-MLH3XSY7.mjs";
|
|
@@ -56,18 +62,12 @@ import {
|
|
|
56
62
|
import {
|
|
57
63
|
checkboxGroup
|
|
58
64
|
} from "../chunk-U77YMEWM.mjs";
|
|
59
|
-
import {
|
|
60
|
-
checkbox
|
|
61
|
-
} from "../chunk-NJQP2VWT.mjs";
|
|
62
65
|
import {
|
|
63
66
|
accordionItem
|
|
64
67
|
} from "../chunk-RD42SVXB.mjs";
|
|
65
68
|
import "../chunk-CMYR6AOY.mjs";
|
|
66
69
|
import "../chunk-K7LK7NCE.mjs";
|
|
67
70
|
import "../chunk-LGGZKBOO.mjs";
|
|
68
|
-
import {
|
|
69
|
-
accordion
|
|
70
|
-
} from "../chunk-YYBLBQIV.mjs";
|
|
71
71
|
import "../chunk-IJCHUO4J.mjs";
|
|
72
72
|
export {
|
|
73
73
|
accordion,
|
|
@@ -96,7 +96,7 @@ declare const toggle: tailwind_variants.TVReturnType<{
|
|
|
96
96
|
};
|
|
97
97
|
false: {
|
|
98
98
|
wrapper: string;
|
|
99
|
-
thumb: string
|
|
99
|
+
thumb: string;
|
|
100
100
|
leftIcon: string[];
|
|
101
101
|
rightIcon: string[];
|
|
102
102
|
};
|
|
@@ -185,7 +185,7 @@ declare const toggle: tailwind_variants.TVReturnType<{
|
|
|
185
185
|
};
|
|
186
186
|
false: {
|
|
187
187
|
wrapper: string;
|
|
188
|
-
thumb: string
|
|
188
|
+
thumb: string;
|
|
189
189
|
leftIcon: string[];
|
|
190
190
|
rightIcon: string[];
|
|
191
191
|
};
|
|
@@ -156,12 +156,8 @@ var toggle = (0, import_tailwind_variants.tv)({
|
|
|
156
156
|
thumb: "transition-none"
|
|
157
157
|
},
|
|
158
158
|
false: {
|
|
159
|
-
wrapper: "transition-background",
|
|
160
|
-
thumb:
|
|
161
|
-
"transition",
|
|
162
|
-
"group-active:translate-x-1",
|
|
163
|
-
"data-[checked=true]:group-active:translate-x-[90%]"
|
|
164
|
-
],
|
|
159
|
+
wrapper: "transition-background !duration-500",
|
|
160
|
+
thumb: "transition-transform !ease-soft-spring !duration-500",
|
|
165
161
|
leftIcon: [
|
|
166
162
|
"opacity-0",
|
|
167
163
|
"scale-50",
|
|
@@ -180,7 +176,7 @@ var toggle = (0, import_tailwind_variants.tv)({
|
|
|
180
176
|
},
|
|
181
177
|
defaultVariants: {
|
|
182
178
|
color: "primary",
|
|
183
|
-
size: "
|
|
179
|
+
size: "lg",
|
|
184
180
|
isDisabled: false,
|
|
185
181
|
disableAnimation: false
|
|
186
182
|
}
|
package/dist/index.js
CHANGED
|
@@ -3343,12 +3343,8 @@ var toggle = (0, import_tailwind_variants20.tv)({
|
|
|
3343
3343
|
thumb: "transition-none"
|
|
3344
3344
|
},
|
|
3345
3345
|
false: {
|
|
3346
|
-
wrapper: "transition-background",
|
|
3347
|
-
thumb:
|
|
3348
|
-
"transition",
|
|
3349
|
-
"group-active:translate-x-1",
|
|
3350
|
-
"data-[checked=true]:group-active:translate-x-[90%]"
|
|
3351
|
-
],
|
|
3346
|
+
wrapper: "transition-background !duration-500",
|
|
3347
|
+
thumb: "transition-transform !ease-soft-spring !duration-500",
|
|
3352
3348
|
leftIcon: [
|
|
3353
3349
|
"opacity-0",
|
|
3354
3350
|
"scale-50",
|
|
@@ -3367,7 +3363,7 @@ var toggle = (0, import_tailwind_variants20.tv)({
|
|
|
3367
3363
|
},
|
|
3368
3364
|
defaultVariants: {
|
|
3369
3365
|
color: "primary",
|
|
3370
|
-
size: "
|
|
3366
|
+
size: "lg",
|
|
3371
3367
|
isDisabled: false,
|
|
3372
3368
|
disableAnimation: false
|
|
3373
3369
|
}
|
|
@@ -3980,6 +3976,9 @@ var corePlugin = (config = {}, defaultTheme) => {
|
|
|
3980
3976
|
0: "0ms",
|
|
3981
3977
|
250: "250ms"
|
|
3982
3978
|
},
|
|
3979
|
+
transitionTimingFunction: {
|
|
3980
|
+
"soft-spring": "cubic-bezier(0.155, 1.105, 0.295, 1.12)"
|
|
3981
|
+
},
|
|
3983
3982
|
...animations
|
|
3984
3983
|
}
|
|
3985
3984
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import "./chunk-5SJ7B53O.mjs";
|
|
2
|
+
import {
|
|
3
|
+
radio
|
|
4
|
+
} from "./chunk-Y37XC5QN.mjs";
|
|
2
5
|
import {
|
|
3
6
|
snippet
|
|
4
7
|
} from "./chunk-QMP2FDFR.mjs";
|
|
@@ -7,13 +10,16 @@ import {
|
|
|
7
10
|
} from "./chunk-CO6ANWRA.mjs";
|
|
8
11
|
import {
|
|
9
12
|
toggle
|
|
10
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GJCSKHK6.mjs";
|
|
11
14
|
import {
|
|
12
15
|
tooltip
|
|
13
16
|
} from "./chunk-QIC7EALL.mjs";
|
|
14
17
|
import {
|
|
15
18
|
user
|
|
16
19
|
} from "./chunk-FS36US4S.mjs";
|
|
20
|
+
import {
|
|
21
|
+
checkbox
|
|
22
|
+
} from "./chunk-NJQP2VWT.mjs";
|
|
17
23
|
import {
|
|
18
24
|
chip
|
|
19
25
|
} from "./chunk-TV7EJNXI.mjs";
|
|
@@ -33,8 +39,8 @@ import {
|
|
|
33
39
|
radioGroup
|
|
34
40
|
} from "./chunk-HHWXPWYN.mjs";
|
|
35
41
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
42
|
+
accordion
|
|
43
|
+
} from "./chunk-YYBLBQIV.mjs";
|
|
38
44
|
import {
|
|
39
45
|
avatarGroup
|
|
40
46
|
} from "./chunk-MLH3XSY7.mjs";
|
|
@@ -56,9 +62,6 @@ import {
|
|
|
56
62
|
import {
|
|
57
63
|
checkboxGroup
|
|
58
64
|
} from "./chunk-U77YMEWM.mjs";
|
|
59
|
-
import {
|
|
60
|
-
checkbox
|
|
61
|
-
} from "./chunk-NJQP2VWT.mjs";
|
|
62
65
|
import {
|
|
63
66
|
accordionItem
|
|
64
67
|
} from "./chunk-RD42SVXB.mjs";
|
|
@@ -67,13 +70,9 @@ import "./chunk-K7LK7NCE.mjs";
|
|
|
67
70
|
import {
|
|
68
71
|
colorVariants
|
|
69
72
|
} from "./chunk-LGGZKBOO.mjs";
|
|
70
|
-
import {
|
|
71
|
-
accordion
|
|
72
|
-
} from "./chunk-YYBLBQIV.mjs";
|
|
73
73
|
import {
|
|
74
74
|
nextui
|
|
75
|
-
} from "./chunk-
|
|
76
|
-
import "./chunk-OMTYF2LL.mjs";
|
|
75
|
+
} from "./chunk-SCSMWJOJ.mjs";
|
|
77
76
|
import "./chunk-45FXWIO6.mjs";
|
|
78
77
|
import {
|
|
79
78
|
absoluteFullClasses,
|
|
@@ -91,6 +90,7 @@ import {
|
|
|
91
90
|
} from "./chunk-Y52EXP4A.mjs";
|
|
92
91
|
import "./chunk-37PIXVP4.mjs";
|
|
93
92
|
import "./chunk-M63AFAHO.mjs";
|
|
93
|
+
import "./chunk-OMTYF2LL.mjs";
|
|
94
94
|
import {
|
|
95
95
|
commonColors
|
|
96
96
|
} from "./chunk-CRCBVLUP.mjs";
|
package/dist/plugin.js
CHANGED
package/dist/plugin.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nextui
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-OMTYF2LL.mjs";
|
|
3
|
+
} from "./chunk-SCSMWJOJ.mjs";
|
|
5
4
|
import "./chunk-45FXWIO6.mjs";
|
|
6
5
|
import "./chunk-IJCHUO4J.mjs";
|
|
7
6
|
import "./chunk-WQEDQHKX.mjs";
|
|
@@ -9,6 +8,7 @@ import "./chunk-7MQD7UA2.mjs";
|
|
|
9
8
|
import "./chunk-Y52EXP4A.mjs";
|
|
10
9
|
import "./chunk-37PIXVP4.mjs";
|
|
11
10
|
import "./chunk-M63AFAHO.mjs";
|
|
11
|
+
import "./chunk-OMTYF2LL.mjs";
|
|
12
12
|
import "./chunk-CRCBVLUP.mjs";
|
|
13
13
|
import "./chunk-DCEG5LGX.mjs";
|
|
14
14
|
import "./chunk-L2OL7R23.mjs";
|