@nextui-org/theme 0.0.0-dev-v2-20230619185541 → 0.0.0-dev-v2-20230620004617
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-CRCBVLUP.mjs → chunk-5LKRUH3Q.mjs} +1 -1
- package/dist/{chunk-KZJBCC2H.mjs → chunk-DYAPDM2A.mjs} +1 -1
- package/dist/{chunk-T6BORZ45.mjs → chunk-KC5GPIAM.mjs} +18 -18
- package/dist/{chunk-MPEOTJDC.mjs → chunk-LBMDDCFV.mjs} +2 -2
- package/dist/{chunk-GNI32UV5.mjs → chunk-RB7R7Z3Y.mjs} +8 -8
- package/dist/{chunk-CI2QPWUR.mjs → chunk-V6XCZLK2.mjs} +7 -5
- package/dist/colors/blue.js +1 -1
- package/dist/colors/blue.mjs +1 -1
- package/dist/colors/common.js +1 -1
- package/dist/colors/common.mjs +2 -2
- package/dist/colors/index.js +8 -8
- package/dist/colors/index.mjs +4 -4
- package/dist/colors/semantic.js +8 -8
- package/dist/colors/semantic.mjs +3 -3
- package/dist/colors.js +8 -8
- package/dist/colors.mjs +4 -4
- package/dist/components/index.js +18 -18
- package/dist/components/index.mjs +1 -1
- package/dist/components/pagination.d.ts +20 -20
- package/dist/components/pagination.js +18 -18
- package/dist/components/pagination.mjs +1 -1
- package/dist/index.js +31 -29
- package/dist/index.mjs +6 -6
- package/dist/plugin.d.ts +4 -0
- package/dist/plugin.js +13 -11
- package/dist/plugin.mjs +5 -5
- package/package.json +1 -1
|
@@ -92,6 +92,11 @@ var pagination = tv({
|
|
|
92
92
|
showShadow: {
|
|
93
93
|
true: {}
|
|
94
94
|
},
|
|
95
|
+
hideCursor: {
|
|
96
|
+
true: {
|
|
97
|
+
cursor: "hidden"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
95
100
|
disableAnimation: {
|
|
96
101
|
true: {
|
|
97
102
|
item: "transition-none",
|
|
@@ -101,11 +106,6 @@ var pagination = tv({
|
|
|
101
106
|
item: "transition-background",
|
|
102
107
|
cursor: ["transition-transform", "!duration-300"]
|
|
103
108
|
}
|
|
104
|
-
},
|
|
105
|
-
disableCursor: {
|
|
106
|
-
true: {
|
|
107
|
-
cursor: "hidden"
|
|
108
|
-
}
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
defaultVariants: {
|
|
@@ -117,7 +117,7 @@ var pagination = tv({
|
|
|
117
117
|
isDisabled: false,
|
|
118
118
|
showShadow: false,
|
|
119
119
|
disableAnimation: false,
|
|
120
|
-
|
|
120
|
+
hideCursor: false
|
|
121
121
|
},
|
|
122
122
|
compoundVariants: [
|
|
123
123
|
{
|
|
@@ -170,7 +170,7 @@ var pagination = tv({
|
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
|
-
|
|
173
|
+
hideCursor: true,
|
|
174
174
|
color: "default",
|
|
175
175
|
class: {
|
|
176
176
|
item: [
|
|
@@ -181,7 +181,7 @@ var pagination = tv({
|
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
|
-
|
|
184
|
+
hideCursor: true,
|
|
185
185
|
color: "primary",
|
|
186
186
|
class: {
|
|
187
187
|
item: [
|
|
@@ -192,7 +192,7 @@ var pagination = tv({
|
|
|
192
192
|
}
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
|
|
195
|
+
hideCursor: true,
|
|
196
196
|
color: "secondary",
|
|
197
197
|
class: {
|
|
198
198
|
item: [
|
|
@@ -203,7 +203,7 @@ var pagination = tv({
|
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
|
-
|
|
206
|
+
hideCursor: true,
|
|
207
207
|
color: "success",
|
|
208
208
|
class: {
|
|
209
209
|
item: [
|
|
@@ -214,7 +214,7 @@ var pagination = tv({
|
|
|
214
214
|
}
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
|
-
|
|
217
|
+
hideCursor: true,
|
|
218
218
|
color: "warning",
|
|
219
219
|
class: {
|
|
220
220
|
item: [
|
|
@@ -225,7 +225,7 @@ var pagination = tv({
|
|
|
225
225
|
}
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
|
-
|
|
228
|
+
hideCursor: true,
|
|
229
229
|
color: "danger",
|
|
230
230
|
class: {
|
|
231
231
|
item: [
|
|
@@ -236,7 +236,7 @@ var pagination = tv({
|
|
|
236
236
|
}
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
|
-
|
|
239
|
+
hideCursor: true,
|
|
240
240
|
showShadow: true,
|
|
241
241
|
color: "default",
|
|
242
242
|
class: {
|
|
@@ -244,7 +244,7 @@ var pagination = tv({
|
|
|
244
244
|
}
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
|
-
|
|
247
|
+
hideCursor: true,
|
|
248
248
|
showShadow: true,
|
|
249
249
|
color: "primary",
|
|
250
250
|
class: {
|
|
@@ -252,7 +252,7 @@ var pagination = tv({
|
|
|
252
252
|
}
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
|
-
|
|
255
|
+
hideCursor: true,
|
|
256
256
|
showShadow: true,
|
|
257
257
|
color: "secondary",
|
|
258
258
|
class: {
|
|
@@ -260,7 +260,7 @@ var pagination = tv({
|
|
|
260
260
|
}
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
|
-
|
|
263
|
+
hideCursor: true,
|
|
264
264
|
showShadow: true,
|
|
265
265
|
color: "success",
|
|
266
266
|
class: {
|
|
@@ -268,7 +268,7 @@ var pagination = tv({
|
|
|
268
268
|
}
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
|
-
|
|
271
|
+
hideCursor: true,
|
|
272
272
|
showShadow: true,
|
|
273
273
|
color: "warning",
|
|
274
274
|
class: {
|
|
@@ -276,7 +276,7 @@ var pagination = tv({
|
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
|
-
|
|
279
|
+
hideCursor: true,
|
|
280
280
|
showShadow: true,
|
|
281
281
|
color: "danger",
|
|
282
282
|
class: {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-37PIXVP4.mjs";
|
|
4
4
|
import {
|
|
5
5
|
commonColors
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5LKRUH3Q.mjs";
|
|
7
7
|
|
|
8
8
|
// src/colors/semantic.ts
|
|
9
9
|
import twColors from "tailwindcss/colors.js";
|
|
@@ -73,22 +73,22 @@ var semanticColorsLight = {
|
|
|
73
73
|
},
|
|
74
74
|
primary: {
|
|
75
75
|
...commonColors.blue,
|
|
76
|
-
foreground: commonColors.
|
|
76
|
+
foreground: readableColor(commonColors.blue[500]),
|
|
77
77
|
DEFAULT: commonColors.blue[500]
|
|
78
78
|
},
|
|
79
79
|
secondary: {
|
|
80
80
|
...commonColors.purple,
|
|
81
|
-
foreground: commonColors.
|
|
81
|
+
foreground: readableColor(commonColors.purple[500]),
|
|
82
82
|
DEFAULT: commonColors.purple[500]
|
|
83
83
|
},
|
|
84
84
|
success: {
|
|
85
85
|
...commonColors.green,
|
|
86
|
-
foreground: commonColors.
|
|
86
|
+
foreground: commonColors.green[800],
|
|
87
87
|
DEFAULT: commonColors.green[500]
|
|
88
88
|
},
|
|
89
89
|
warning: {
|
|
90
90
|
...commonColors.yellow,
|
|
91
|
-
foreground: commonColors.
|
|
91
|
+
foreground: commonColors.yellow[900],
|
|
92
92
|
DEFAULT: commonColors.yellow[500]
|
|
93
93
|
},
|
|
94
94
|
danger: {
|
|
@@ -106,12 +106,12 @@ var semanticColorsDark = {
|
|
|
106
106
|
},
|
|
107
107
|
primary: {
|
|
108
108
|
...swapColorValues(commonColors.blue),
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
foreground: readableColor(commonColors.blue[500]),
|
|
110
|
+
DEFAULT: commonColors.blue[500]
|
|
111
111
|
},
|
|
112
112
|
secondary: {
|
|
113
113
|
...swapColorValues(commonColors.purple),
|
|
114
|
-
foreground: commonColors.
|
|
114
|
+
foreground: readableColor(commonColors.purple[400]),
|
|
115
115
|
DEFAULT: commonColors.purple[400]
|
|
116
116
|
},
|
|
117
117
|
success: {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-TSW7CNKY.mjs";
|
|
7
7
|
import {
|
|
8
8
|
semanticColors
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RB7R7Z3Y.mjs";
|
|
10
10
|
import {
|
|
11
11
|
removeDefaultKeys
|
|
12
12
|
} from "./chunk-37PIXVP4.mjs";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-DMASP6FA.mjs";
|
|
16
16
|
import {
|
|
17
17
|
commonColors
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5LKRUH3Q.mjs";
|
|
19
19
|
|
|
20
20
|
// src/plugin.ts
|
|
21
21
|
import Color from "color";
|
|
@@ -91,7 +91,7 @@ var resolveConfig = (config = {}, defaultTheme, prefix) => {
|
|
|
91
91
|
});
|
|
92
92
|
return resolved;
|
|
93
93
|
};
|
|
94
|
-
var corePlugin = (config = {}, defaultTheme, prefix) => {
|
|
94
|
+
var corePlugin = (config = {}, defaultTheme, prefix, omitCommonColors) => {
|
|
95
95
|
const resolved = resolveConfig(config, defaultTheme, prefix);
|
|
96
96
|
return plugin(
|
|
97
97
|
({ addBase, addUtilities, addVariant }) => {
|
|
@@ -109,7 +109,7 @@ var corePlugin = (config = {}, defaultTheme, prefix) => {
|
|
|
109
109
|
theme: {
|
|
110
110
|
extend: {
|
|
111
111
|
colors: {
|
|
112
|
-
...commonColors,
|
|
112
|
+
...omitCommonColors ? {} : commonColors,
|
|
113
113
|
...resolved.colors
|
|
114
114
|
},
|
|
115
115
|
fontSize: {
|
|
@@ -155,6 +155,7 @@ var nextui = (config = {}) => {
|
|
|
155
155
|
const userDarkColors = get(themeObject, "dark", {});
|
|
156
156
|
const defaultTheme = config.defaultTheme || "light";
|
|
157
157
|
const defaultPrefix = config.prefix || DEFAULT_PREFIX;
|
|
158
|
+
const omitCommonColors = config.omitCommonColors || false;
|
|
158
159
|
const otherThemes = omit(themeObject, ["light", "dark"]) || {};
|
|
159
160
|
return corePlugin(
|
|
160
161
|
{
|
|
@@ -163,7 +164,8 @@ var nextui = (config = {}) => {
|
|
|
163
164
|
...otherThemes
|
|
164
165
|
},
|
|
165
166
|
defaultTheme,
|
|
166
|
-
defaultPrefix
|
|
167
|
+
defaultPrefix,
|
|
168
|
+
omitCommonColors
|
|
167
169
|
);
|
|
168
170
|
};
|
|
169
171
|
|
package/dist/colors/blue.js
CHANGED
package/dist/colors/blue.mjs
CHANGED
package/dist/colors/common.js
CHANGED
package/dist/colors/common.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
commonColors
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-5LKRUH3Q.mjs";
|
|
4
4
|
import "../chunk-DCEG5LGX.mjs";
|
|
5
5
|
import "../chunk-L2OL7R23.mjs";
|
|
6
6
|
import "../chunk-YZYGFPNK.mjs";
|
|
7
7
|
import "../chunk-Y4YW5MKL.mjs";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-DYAPDM2A.mjs";
|
|
9
9
|
import "../chunk-T3GWIVAM.mjs";
|
|
10
10
|
import "../chunk-OR5PUD24.mjs";
|
|
11
11
|
export {
|
package/dist/colors/index.js
CHANGED
|
@@ -39,7 +39,7 @@ var blue = {
|
|
|
39
39
|
200: "#99c7fb",
|
|
40
40
|
300: "#66aaf9",
|
|
41
41
|
400: "#338ef7",
|
|
42
|
-
500: "#
|
|
42
|
+
500: "#0069E0",
|
|
43
43
|
600: "#005bc4",
|
|
44
44
|
700: "#004493",
|
|
45
45
|
800: "#002e62",
|
|
@@ -231,22 +231,22 @@ var semanticColorsLight = {
|
|
|
231
231
|
},
|
|
232
232
|
primary: {
|
|
233
233
|
...commonColors.blue,
|
|
234
|
-
foreground: commonColors.
|
|
234
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
235
235
|
DEFAULT: commonColors.blue[500]
|
|
236
236
|
},
|
|
237
237
|
secondary: {
|
|
238
238
|
...commonColors.purple,
|
|
239
|
-
foreground: commonColors.
|
|
239
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[500]),
|
|
240
240
|
DEFAULT: commonColors.purple[500]
|
|
241
241
|
},
|
|
242
242
|
success: {
|
|
243
243
|
...commonColors.green,
|
|
244
|
-
foreground: commonColors.
|
|
244
|
+
foreground: commonColors.green[800],
|
|
245
245
|
DEFAULT: commonColors.green[500]
|
|
246
246
|
},
|
|
247
247
|
warning: {
|
|
248
248
|
...commonColors.yellow,
|
|
249
|
-
foreground: commonColors.
|
|
249
|
+
foreground: commonColors.yellow[900],
|
|
250
250
|
DEFAULT: commonColors.yellow[500]
|
|
251
251
|
},
|
|
252
252
|
danger: {
|
|
@@ -264,12 +264,12 @@ var semanticColorsDark = {
|
|
|
264
264
|
},
|
|
265
265
|
primary: {
|
|
266
266
|
...swapColorValues(commonColors.blue),
|
|
267
|
-
|
|
268
|
-
|
|
267
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
268
|
+
DEFAULT: commonColors.blue[500]
|
|
269
269
|
},
|
|
270
270
|
secondary: {
|
|
271
271
|
...swapColorValues(commonColors.purple),
|
|
272
|
-
foreground: commonColors.
|
|
272
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[400]),
|
|
273
273
|
DEFAULT: commonColors.purple[400]
|
|
274
274
|
},
|
|
275
275
|
success: {
|
package/dist/colors/index.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colors
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-LBMDDCFV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
semanticColors
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-RB7R7Z3Y.mjs";
|
|
7
7
|
import "../chunk-37PIXVP4.mjs";
|
|
8
8
|
import "../chunk-M63AFAHO.mjs";
|
|
9
9
|
import {
|
|
10
10
|
commonColors
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-5LKRUH3Q.mjs";
|
|
12
12
|
import "../chunk-DCEG5LGX.mjs";
|
|
13
13
|
import "../chunk-L2OL7R23.mjs";
|
|
14
14
|
import "../chunk-YZYGFPNK.mjs";
|
|
15
15
|
import "../chunk-Y4YW5MKL.mjs";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-DYAPDM2A.mjs";
|
|
17
17
|
import "../chunk-T3GWIVAM.mjs";
|
|
18
18
|
import "../chunk-OR5PUD24.mjs";
|
|
19
19
|
export {
|
package/dist/colors/semantic.js
CHANGED
|
@@ -59,7 +59,7 @@ var blue = {
|
|
|
59
59
|
200: "#99c7fb",
|
|
60
60
|
300: "#66aaf9",
|
|
61
61
|
400: "#338ef7",
|
|
62
|
-
500: "#
|
|
62
|
+
500: "#0069E0",
|
|
63
63
|
600: "#005bc4",
|
|
64
64
|
700: "#004493",
|
|
65
65
|
800: "#002e62",
|
|
@@ -229,22 +229,22 @@ var semanticColorsLight = {
|
|
|
229
229
|
},
|
|
230
230
|
primary: {
|
|
231
231
|
...commonColors.blue,
|
|
232
|
-
foreground: commonColors.
|
|
232
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
233
233
|
DEFAULT: commonColors.blue[500]
|
|
234
234
|
},
|
|
235
235
|
secondary: {
|
|
236
236
|
...commonColors.purple,
|
|
237
|
-
foreground: commonColors.
|
|
237
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[500]),
|
|
238
238
|
DEFAULT: commonColors.purple[500]
|
|
239
239
|
},
|
|
240
240
|
success: {
|
|
241
241
|
...commonColors.green,
|
|
242
|
-
foreground: commonColors.
|
|
242
|
+
foreground: commonColors.green[800],
|
|
243
243
|
DEFAULT: commonColors.green[500]
|
|
244
244
|
},
|
|
245
245
|
warning: {
|
|
246
246
|
...commonColors.yellow,
|
|
247
|
-
foreground: commonColors.
|
|
247
|
+
foreground: commonColors.yellow[900],
|
|
248
248
|
DEFAULT: commonColors.yellow[500]
|
|
249
249
|
},
|
|
250
250
|
danger: {
|
|
@@ -262,12 +262,12 @@ var semanticColorsDark = {
|
|
|
262
262
|
},
|
|
263
263
|
primary: {
|
|
264
264
|
...swapColorValues(commonColors.blue),
|
|
265
|
-
|
|
266
|
-
|
|
265
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
266
|
+
DEFAULT: commonColors.blue[500]
|
|
267
267
|
},
|
|
268
268
|
secondary: {
|
|
269
269
|
...swapColorValues(commonColors.purple),
|
|
270
|
-
foreground: commonColors.
|
|
270
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[400]),
|
|
271
271
|
DEFAULT: commonColors.purple[400]
|
|
272
272
|
},
|
|
273
273
|
success: {
|
package/dist/colors/semantic.mjs
CHANGED
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
semanticColors,
|
|
3
3
|
semanticColorsDark,
|
|
4
4
|
semanticColorsLight
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-RB7R7Z3Y.mjs";
|
|
6
6
|
import "../chunk-37PIXVP4.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-5LKRUH3Q.mjs";
|
|
8
8
|
import "../chunk-DCEG5LGX.mjs";
|
|
9
9
|
import "../chunk-L2OL7R23.mjs";
|
|
10
10
|
import "../chunk-YZYGFPNK.mjs";
|
|
11
11
|
import "../chunk-Y4YW5MKL.mjs";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-DYAPDM2A.mjs";
|
|
13
13
|
import "../chunk-T3GWIVAM.mjs";
|
|
14
14
|
import "../chunk-OR5PUD24.mjs";
|
|
15
15
|
export {
|
package/dist/colors.js
CHANGED
|
@@ -39,7 +39,7 @@ var blue = {
|
|
|
39
39
|
200: "#99c7fb",
|
|
40
40
|
300: "#66aaf9",
|
|
41
41
|
400: "#338ef7",
|
|
42
|
-
500: "#
|
|
42
|
+
500: "#0069E0",
|
|
43
43
|
600: "#005bc4",
|
|
44
44
|
700: "#004493",
|
|
45
45
|
800: "#002e62",
|
|
@@ -231,22 +231,22 @@ var semanticColorsLight = {
|
|
|
231
231
|
},
|
|
232
232
|
primary: {
|
|
233
233
|
...commonColors.blue,
|
|
234
|
-
foreground: commonColors.
|
|
234
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
235
235
|
DEFAULT: commonColors.blue[500]
|
|
236
236
|
},
|
|
237
237
|
secondary: {
|
|
238
238
|
...commonColors.purple,
|
|
239
|
-
foreground: commonColors.
|
|
239
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[500]),
|
|
240
240
|
DEFAULT: commonColors.purple[500]
|
|
241
241
|
},
|
|
242
242
|
success: {
|
|
243
243
|
...commonColors.green,
|
|
244
|
-
foreground: commonColors.
|
|
244
|
+
foreground: commonColors.green[800],
|
|
245
245
|
DEFAULT: commonColors.green[500]
|
|
246
246
|
},
|
|
247
247
|
warning: {
|
|
248
248
|
...commonColors.yellow,
|
|
249
|
-
foreground: commonColors.
|
|
249
|
+
foreground: commonColors.yellow[900],
|
|
250
250
|
DEFAULT: commonColors.yellow[500]
|
|
251
251
|
},
|
|
252
252
|
danger: {
|
|
@@ -264,12 +264,12 @@ var semanticColorsDark = {
|
|
|
264
264
|
},
|
|
265
265
|
primary: {
|
|
266
266
|
...swapColorValues(commonColors.blue),
|
|
267
|
-
|
|
268
|
-
|
|
267
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
268
|
+
DEFAULT: commonColors.blue[500]
|
|
269
269
|
},
|
|
270
270
|
secondary: {
|
|
271
271
|
...swapColorValues(commonColors.purple),
|
|
272
|
-
foreground: commonColors.
|
|
272
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[400]),
|
|
273
273
|
DEFAULT: commonColors.purple[400]
|
|
274
274
|
},
|
|
275
275
|
success: {
|
package/dist/colors.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import "./chunk-WQEDQHKX.mjs";
|
|
2
2
|
import {
|
|
3
3
|
colors
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LBMDDCFV.mjs";
|
|
5
5
|
import {
|
|
6
6
|
semanticColors
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RB7R7Z3Y.mjs";
|
|
8
8
|
import "./chunk-37PIXVP4.mjs";
|
|
9
9
|
import "./chunk-M63AFAHO.mjs";
|
|
10
10
|
import {
|
|
11
11
|
commonColors
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5LKRUH3Q.mjs";
|
|
13
13
|
import "./chunk-DCEG5LGX.mjs";
|
|
14
14
|
import "./chunk-L2OL7R23.mjs";
|
|
15
15
|
import "./chunk-YZYGFPNK.mjs";
|
|
16
16
|
import "./chunk-Y4YW5MKL.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-DYAPDM2A.mjs";
|
|
18
18
|
import "./chunk-T3GWIVAM.mjs";
|
|
19
19
|
import "./chunk-OR5PUD24.mjs";
|
|
20
20
|
export {
|
package/dist/components/index.js
CHANGED
|
@@ -2956,6 +2956,11 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
2956
2956
|
showShadow: {
|
|
2957
2957
|
true: {}
|
|
2958
2958
|
},
|
|
2959
|
+
hideCursor: {
|
|
2960
|
+
true: {
|
|
2961
|
+
cursor: "hidden"
|
|
2962
|
+
}
|
|
2963
|
+
},
|
|
2959
2964
|
disableAnimation: {
|
|
2960
2965
|
true: {
|
|
2961
2966
|
item: "transition-none",
|
|
@@ -2965,11 +2970,6 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
2965
2970
|
item: "transition-background",
|
|
2966
2971
|
cursor: ["transition-transform", "!duration-300"]
|
|
2967
2972
|
}
|
|
2968
|
-
},
|
|
2969
|
-
disableCursor: {
|
|
2970
|
-
true: {
|
|
2971
|
-
cursor: "hidden"
|
|
2972
|
-
}
|
|
2973
2973
|
}
|
|
2974
2974
|
},
|
|
2975
2975
|
defaultVariants: {
|
|
@@ -2981,7 +2981,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
2981
2981
|
isDisabled: false,
|
|
2982
2982
|
showShadow: false,
|
|
2983
2983
|
disableAnimation: false,
|
|
2984
|
-
|
|
2984
|
+
hideCursor: false
|
|
2985
2985
|
},
|
|
2986
2986
|
compoundVariants: [
|
|
2987
2987
|
{
|
|
@@ -3034,7 +3034,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3034
3034
|
}
|
|
3035
3035
|
},
|
|
3036
3036
|
{
|
|
3037
|
-
|
|
3037
|
+
hideCursor: true,
|
|
3038
3038
|
color: "default",
|
|
3039
3039
|
class: {
|
|
3040
3040
|
item: [
|
|
@@ -3045,7 +3045,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3045
3045
|
}
|
|
3046
3046
|
},
|
|
3047
3047
|
{
|
|
3048
|
-
|
|
3048
|
+
hideCursor: true,
|
|
3049
3049
|
color: "primary",
|
|
3050
3050
|
class: {
|
|
3051
3051
|
item: [
|
|
@@ -3056,7 +3056,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3056
3056
|
}
|
|
3057
3057
|
},
|
|
3058
3058
|
{
|
|
3059
|
-
|
|
3059
|
+
hideCursor: true,
|
|
3060
3060
|
color: "secondary",
|
|
3061
3061
|
class: {
|
|
3062
3062
|
item: [
|
|
@@ -3067,7 +3067,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3067
3067
|
}
|
|
3068
3068
|
},
|
|
3069
3069
|
{
|
|
3070
|
-
|
|
3070
|
+
hideCursor: true,
|
|
3071
3071
|
color: "success",
|
|
3072
3072
|
class: {
|
|
3073
3073
|
item: [
|
|
@@ -3078,7 +3078,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3078
3078
|
}
|
|
3079
3079
|
},
|
|
3080
3080
|
{
|
|
3081
|
-
|
|
3081
|
+
hideCursor: true,
|
|
3082
3082
|
color: "warning",
|
|
3083
3083
|
class: {
|
|
3084
3084
|
item: [
|
|
@@ -3089,7 +3089,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3089
3089
|
}
|
|
3090
3090
|
},
|
|
3091
3091
|
{
|
|
3092
|
-
|
|
3092
|
+
hideCursor: true,
|
|
3093
3093
|
color: "danger",
|
|
3094
3094
|
class: {
|
|
3095
3095
|
item: [
|
|
@@ -3100,7 +3100,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3100
3100
|
}
|
|
3101
3101
|
},
|
|
3102
3102
|
{
|
|
3103
|
-
|
|
3103
|
+
hideCursor: true,
|
|
3104
3104
|
showShadow: true,
|
|
3105
3105
|
color: "default",
|
|
3106
3106
|
class: {
|
|
@@ -3108,7 +3108,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3108
3108
|
}
|
|
3109
3109
|
},
|
|
3110
3110
|
{
|
|
3111
|
-
|
|
3111
|
+
hideCursor: true,
|
|
3112
3112
|
showShadow: true,
|
|
3113
3113
|
color: "primary",
|
|
3114
3114
|
class: {
|
|
@@ -3116,7 +3116,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3116
3116
|
}
|
|
3117
3117
|
},
|
|
3118
3118
|
{
|
|
3119
|
-
|
|
3119
|
+
hideCursor: true,
|
|
3120
3120
|
showShadow: true,
|
|
3121
3121
|
color: "secondary",
|
|
3122
3122
|
class: {
|
|
@@ -3124,7 +3124,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3124
3124
|
}
|
|
3125
3125
|
},
|
|
3126
3126
|
{
|
|
3127
|
-
|
|
3127
|
+
hideCursor: true,
|
|
3128
3128
|
showShadow: true,
|
|
3129
3129
|
color: "success",
|
|
3130
3130
|
class: {
|
|
@@ -3132,7 +3132,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3132
3132
|
}
|
|
3133
3133
|
},
|
|
3134
3134
|
{
|
|
3135
|
-
|
|
3135
|
+
hideCursor: true,
|
|
3136
3136
|
showShadow: true,
|
|
3137
3137
|
color: "warning",
|
|
3138
3138
|
class: {
|
|
@@ -3140,7 +3140,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3140
3140
|
}
|
|
3141
3141
|
},
|
|
3142
3142
|
{
|
|
3143
|
-
|
|
3143
|
+
hideCursor: true,
|
|
3144
3144
|
showShadow: true,
|
|
3145
3145
|
color: "danger",
|
|
3146
3146
|
class: {
|
|
@@ -83,6 +83,11 @@ declare const pagination: tailwind_variants.TVReturnType<{
|
|
|
83
83
|
showShadow: {
|
|
84
84
|
true: {};
|
|
85
85
|
};
|
|
86
|
+
hideCursor: {
|
|
87
|
+
true: {
|
|
88
|
+
cursor: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
86
91
|
disableAnimation: {
|
|
87
92
|
true: {
|
|
88
93
|
item: string;
|
|
@@ -93,11 +98,6 @@ declare const pagination: tailwind_variants.TVReturnType<{
|
|
|
93
98
|
cursor: string[];
|
|
94
99
|
};
|
|
95
100
|
};
|
|
96
|
-
disableCursor: {
|
|
97
|
-
true: {
|
|
98
|
-
cursor: string;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
101
|
}, {
|
|
102
102
|
base: string;
|
|
103
103
|
item: never[];
|
|
@@ -172,6 +172,11 @@ declare const pagination: tailwind_variants.TVReturnType<{
|
|
|
172
172
|
showShadow: {
|
|
173
173
|
true: {};
|
|
174
174
|
};
|
|
175
|
+
hideCursor: {
|
|
176
|
+
true: {
|
|
177
|
+
cursor: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
175
180
|
disableAnimation: {
|
|
176
181
|
true: {
|
|
177
182
|
item: string;
|
|
@@ -182,11 +187,6 @@ declare const pagination: tailwind_variants.TVReturnType<{
|
|
|
182
187
|
cursor: string[];
|
|
183
188
|
};
|
|
184
189
|
};
|
|
185
|
-
disableCursor: {
|
|
186
|
-
true: {
|
|
187
|
-
cursor: string;
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
190
|
}, {
|
|
191
191
|
variant: {
|
|
192
192
|
bordered: {
|
|
@@ -252,6 +252,11 @@ declare const pagination: tailwind_variants.TVReturnType<{
|
|
|
252
252
|
showShadow: {
|
|
253
253
|
true: {};
|
|
254
254
|
};
|
|
255
|
+
hideCursor: {
|
|
256
|
+
true: {
|
|
257
|
+
cursor: string;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
255
260
|
disableAnimation: {
|
|
256
261
|
true: {
|
|
257
262
|
item: string;
|
|
@@ -262,11 +267,6 @@ declare const pagination: tailwind_variants.TVReturnType<{
|
|
|
262
267
|
cursor: string[];
|
|
263
268
|
};
|
|
264
269
|
};
|
|
265
|
-
disableCursor: {
|
|
266
|
-
true: {
|
|
267
|
-
cursor: string;
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
270
|
}>, {
|
|
271
271
|
variant: {
|
|
272
272
|
bordered: {
|
|
@@ -332,6 +332,11 @@ declare const pagination: tailwind_variants.TVReturnType<{
|
|
|
332
332
|
showShadow: {
|
|
333
333
|
true: {};
|
|
334
334
|
};
|
|
335
|
+
hideCursor: {
|
|
336
|
+
true: {
|
|
337
|
+
cursor: string;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
335
340
|
disableAnimation: {
|
|
336
341
|
true: {
|
|
337
342
|
item: string;
|
|
@@ -342,11 +347,6 @@ declare const pagination: tailwind_variants.TVReturnType<{
|
|
|
342
347
|
cursor: string[];
|
|
343
348
|
};
|
|
344
349
|
};
|
|
345
|
-
disableCursor: {
|
|
346
|
-
true: {
|
|
347
|
-
cursor: string;
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
350
|
}, {
|
|
351
351
|
base: string;
|
|
352
352
|
item: never[];
|
|
@@ -188,6 +188,11 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
188
188
|
showShadow: {
|
|
189
189
|
true: {}
|
|
190
190
|
},
|
|
191
|
+
hideCursor: {
|
|
192
|
+
true: {
|
|
193
|
+
cursor: "hidden"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
191
196
|
disableAnimation: {
|
|
192
197
|
true: {
|
|
193
198
|
item: "transition-none",
|
|
@@ -197,11 +202,6 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
197
202
|
item: "transition-background",
|
|
198
203
|
cursor: ["transition-transform", "!duration-300"]
|
|
199
204
|
}
|
|
200
|
-
},
|
|
201
|
-
disableCursor: {
|
|
202
|
-
true: {
|
|
203
|
-
cursor: "hidden"
|
|
204
|
-
}
|
|
205
205
|
}
|
|
206
206
|
},
|
|
207
207
|
defaultVariants: {
|
|
@@ -213,7 +213,7 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
213
213
|
isDisabled: false,
|
|
214
214
|
showShadow: false,
|
|
215
215
|
disableAnimation: false,
|
|
216
|
-
|
|
216
|
+
hideCursor: false
|
|
217
217
|
},
|
|
218
218
|
compoundVariants: [
|
|
219
219
|
{
|
|
@@ -266,7 +266,7 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
{
|
|
269
|
-
|
|
269
|
+
hideCursor: true,
|
|
270
270
|
color: "default",
|
|
271
271
|
class: {
|
|
272
272
|
item: [
|
|
@@ -277,7 +277,7 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
277
277
|
}
|
|
278
278
|
},
|
|
279
279
|
{
|
|
280
|
-
|
|
280
|
+
hideCursor: true,
|
|
281
281
|
color: "primary",
|
|
282
282
|
class: {
|
|
283
283
|
item: [
|
|
@@ -288,7 +288,7 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
288
288
|
}
|
|
289
289
|
},
|
|
290
290
|
{
|
|
291
|
-
|
|
291
|
+
hideCursor: true,
|
|
292
292
|
color: "secondary",
|
|
293
293
|
class: {
|
|
294
294
|
item: [
|
|
@@ -299,7 +299,7 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
299
299
|
}
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
|
-
|
|
302
|
+
hideCursor: true,
|
|
303
303
|
color: "success",
|
|
304
304
|
class: {
|
|
305
305
|
item: [
|
|
@@ -310,7 +310,7 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
310
310
|
}
|
|
311
311
|
},
|
|
312
312
|
{
|
|
313
|
-
|
|
313
|
+
hideCursor: true,
|
|
314
314
|
color: "warning",
|
|
315
315
|
class: {
|
|
316
316
|
item: [
|
|
@@ -321,7 +321,7 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
321
321
|
}
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
|
-
|
|
324
|
+
hideCursor: true,
|
|
325
325
|
color: "danger",
|
|
326
326
|
class: {
|
|
327
327
|
item: [
|
|
@@ -332,7 +332,7 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
332
332
|
}
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
|
-
|
|
335
|
+
hideCursor: true,
|
|
336
336
|
showShadow: true,
|
|
337
337
|
color: "default",
|
|
338
338
|
class: {
|
|
@@ -340,7 +340,7 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
340
340
|
}
|
|
341
341
|
},
|
|
342
342
|
{
|
|
343
|
-
|
|
343
|
+
hideCursor: true,
|
|
344
344
|
showShadow: true,
|
|
345
345
|
color: "primary",
|
|
346
346
|
class: {
|
|
@@ -348,7 +348,7 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
348
348
|
}
|
|
349
349
|
},
|
|
350
350
|
{
|
|
351
|
-
|
|
351
|
+
hideCursor: true,
|
|
352
352
|
showShadow: true,
|
|
353
353
|
color: "secondary",
|
|
354
354
|
class: {
|
|
@@ -356,7 +356,7 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
356
356
|
}
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
|
-
|
|
359
|
+
hideCursor: true,
|
|
360
360
|
showShadow: true,
|
|
361
361
|
color: "success",
|
|
362
362
|
class: {
|
|
@@ -364,7 +364,7 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
364
364
|
}
|
|
365
365
|
},
|
|
366
366
|
{
|
|
367
|
-
|
|
367
|
+
hideCursor: true,
|
|
368
368
|
showShadow: true,
|
|
369
369
|
color: "warning",
|
|
370
370
|
class: {
|
|
@@ -372,7 +372,7 @@ var pagination = (0, import_tailwind_variants.tv)({
|
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
374
|
{
|
|
375
|
-
|
|
375
|
+
hideCursor: true,
|
|
376
376
|
showShadow: true,
|
|
377
377
|
color: "danger",
|
|
378
378
|
class: {
|
package/dist/index.js
CHANGED
|
@@ -2988,6 +2988,11 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
2988
2988
|
showShadow: {
|
|
2989
2989
|
true: {}
|
|
2990
2990
|
},
|
|
2991
|
+
hideCursor: {
|
|
2992
|
+
true: {
|
|
2993
|
+
cursor: "hidden"
|
|
2994
|
+
}
|
|
2995
|
+
},
|
|
2991
2996
|
disableAnimation: {
|
|
2992
2997
|
true: {
|
|
2993
2998
|
item: "transition-none",
|
|
@@ -2997,11 +3002,6 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
2997
3002
|
item: "transition-background",
|
|
2998
3003
|
cursor: ["transition-transform", "!duration-300"]
|
|
2999
3004
|
}
|
|
3000
|
-
},
|
|
3001
|
-
disableCursor: {
|
|
3002
|
-
true: {
|
|
3003
|
-
cursor: "hidden"
|
|
3004
|
-
}
|
|
3005
3005
|
}
|
|
3006
3006
|
},
|
|
3007
3007
|
defaultVariants: {
|
|
@@ -3013,7 +3013,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3013
3013
|
isDisabled: false,
|
|
3014
3014
|
showShadow: false,
|
|
3015
3015
|
disableAnimation: false,
|
|
3016
|
-
|
|
3016
|
+
hideCursor: false
|
|
3017
3017
|
},
|
|
3018
3018
|
compoundVariants: [
|
|
3019
3019
|
{
|
|
@@ -3066,7 +3066,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3066
3066
|
}
|
|
3067
3067
|
},
|
|
3068
3068
|
{
|
|
3069
|
-
|
|
3069
|
+
hideCursor: true,
|
|
3070
3070
|
color: "default",
|
|
3071
3071
|
class: {
|
|
3072
3072
|
item: [
|
|
@@ -3077,7 +3077,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3077
3077
|
}
|
|
3078
3078
|
},
|
|
3079
3079
|
{
|
|
3080
|
-
|
|
3080
|
+
hideCursor: true,
|
|
3081
3081
|
color: "primary",
|
|
3082
3082
|
class: {
|
|
3083
3083
|
item: [
|
|
@@ -3088,7 +3088,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3088
3088
|
}
|
|
3089
3089
|
},
|
|
3090
3090
|
{
|
|
3091
|
-
|
|
3091
|
+
hideCursor: true,
|
|
3092
3092
|
color: "secondary",
|
|
3093
3093
|
class: {
|
|
3094
3094
|
item: [
|
|
@@ -3099,7 +3099,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3099
3099
|
}
|
|
3100
3100
|
},
|
|
3101
3101
|
{
|
|
3102
|
-
|
|
3102
|
+
hideCursor: true,
|
|
3103
3103
|
color: "success",
|
|
3104
3104
|
class: {
|
|
3105
3105
|
item: [
|
|
@@ -3110,7 +3110,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3110
3110
|
}
|
|
3111
3111
|
},
|
|
3112
3112
|
{
|
|
3113
|
-
|
|
3113
|
+
hideCursor: true,
|
|
3114
3114
|
color: "warning",
|
|
3115
3115
|
class: {
|
|
3116
3116
|
item: [
|
|
@@ -3121,7 +3121,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3121
3121
|
}
|
|
3122
3122
|
},
|
|
3123
3123
|
{
|
|
3124
|
-
|
|
3124
|
+
hideCursor: true,
|
|
3125
3125
|
color: "danger",
|
|
3126
3126
|
class: {
|
|
3127
3127
|
item: [
|
|
@@ -3132,7 +3132,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3132
3132
|
}
|
|
3133
3133
|
},
|
|
3134
3134
|
{
|
|
3135
|
-
|
|
3135
|
+
hideCursor: true,
|
|
3136
3136
|
showShadow: true,
|
|
3137
3137
|
color: "default",
|
|
3138
3138
|
class: {
|
|
@@ -3140,7 +3140,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3140
3140
|
}
|
|
3141
3141
|
},
|
|
3142
3142
|
{
|
|
3143
|
-
|
|
3143
|
+
hideCursor: true,
|
|
3144
3144
|
showShadow: true,
|
|
3145
3145
|
color: "primary",
|
|
3146
3146
|
class: {
|
|
@@ -3148,7 +3148,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3148
3148
|
}
|
|
3149
3149
|
},
|
|
3150
3150
|
{
|
|
3151
|
-
|
|
3151
|
+
hideCursor: true,
|
|
3152
3152
|
showShadow: true,
|
|
3153
3153
|
color: "secondary",
|
|
3154
3154
|
class: {
|
|
@@ -3156,7 +3156,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3156
3156
|
}
|
|
3157
3157
|
},
|
|
3158
3158
|
{
|
|
3159
|
-
|
|
3159
|
+
hideCursor: true,
|
|
3160
3160
|
showShadow: true,
|
|
3161
3161
|
color: "success",
|
|
3162
3162
|
class: {
|
|
@@ -3164,7 +3164,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3164
3164
|
}
|
|
3165
3165
|
},
|
|
3166
3166
|
{
|
|
3167
|
-
|
|
3167
|
+
hideCursor: true,
|
|
3168
3168
|
showShadow: true,
|
|
3169
3169
|
color: "warning",
|
|
3170
3170
|
class: {
|
|
@@ -3172,7 +3172,7 @@ var pagination = (0, import_tailwind_variants15.tv)({
|
|
|
3172
3172
|
}
|
|
3173
3173
|
},
|
|
3174
3174
|
{
|
|
3175
|
-
|
|
3175
|
+
hideCursor: true,
|
|
3176
3176
|
showShadow: true,
|
|
3177
3177
|
color: "danger",
|
|
3178
3178
|
class: {
|
|
@@ -6222,7 +6222,7 @@ var blue = {
|
|
|
6222
6222
|
200: "#99c7fb",
|
|
6223
6223
|
300: "#66aaf9",
|
|
6224
6224
|
400: "#338ef7",
|
|
6225
|
-
500: "#
|
|
6225
|
+
500: "#0069E0",
|
|
6226
6226
|
600: "#005bc4",
|
|
6227
6227
|
700: "#004493",
|
|
6228
6228
|
800: "#002e62",
|
|
@@ -6425,22 +6425,22 @@ var semanticColorsLight = {
|
|
|
6425
6425
|
},
|
|
6426
6426
|
primary: {
|
|
6427
6427
|
...commonColors.blue,
|
|
6428
|
-
foreground: commonColors.
|
|
6428
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
6429
6429
|
DEFAULT: commonColors.blue[500]
|
|
6430
6430
|
},
|
|
6431
6431
|
secondary: {
|
|
6432
6432
|
...commonColors.purple,
|
|
6433
|
-
foreground: commonColors.
|
|
6433
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[500]),
|
|
6434
6434
|
DEFAULT: commonColors.purple[500]
|
|
6435
6435
|
},
|
|
6436
6436
|
success: {
|
|
6437
6437
|
...commonColors.green,
|
|
6438
|
-
foreground: commonColors.
|
|
6438
|
+
foreground: commonColors.green[800],
|
|
6439
6439
|
DEFAULT: commonColors.green[500]
|
|
6440
6440
|
},
|
|
6441
6441
|
warning: {
|
|
6442
6442
|
...commonColors.yellow,
|
|
6443
|
-
foreground: commonColors.
|
|
6443
|
+
foreground: commonColors.yellow[900],
|
|
6444
6444
|
DEFAULT: commonColors.yellow[500]
|
|
6445
6445
|
},
|
|
6446
6446
|
danger: {
|
|
@@ -6458,12 +6458,12 @@ var semanticColorsDark = {
|
|
|
6458
6458
|
},
|
|
6459
6459
|
primary: {
|
|
6460
6460
|
...swapColorValues(commonColors.blue),
|
|
6461
|
-
|
|
6462
|
-
|
|
6461
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
6462
|
+
DEFAULT: commonColors.blue[500]
|
|
6463
6463
|
},
|
|
6464
6464
|
secondary: {
|
|
6465
6465
|
...swapColorValues(commonColors.purple),
|
|
6466
|
-
foreground: commonColors.
|
|
6466
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[400]),
|
|
6467
6467
|
DEFAULT: commonColors.purple[400]
|
|
6468
6468
|
},
|
|
6469
6469
|
success: {
|
|
@@ -6722,7 +6722,7 @@ var resolveConfig = (config = {}, defaultTheme, prefix) => {
|
|
|
6722
6722
|
});
|
|
6723
6723
|
return resolved;
|
|
6724
6724
|
};
|
|
6725
|
-
var corePlugin = (config = {}, defaultTheme, prefix) => {
|
|
6725
|
+
var corePlugin = (config = {}, defaultTheme, prefix, omitCommonColors) => {
|
|
6726
6726
|
const resolved = resolveConfig(config, defaultTheme, prefix);
|
|
6727
6727
|
return (0, import_plugin.default)(
|
|
6728
6728
|
({ addBase, addUtilities, addVariant }) => {
|
|
@@ -6740,7 +6740,7 @@ var corePlugin = (config = {}, defaultTheme, prefix) => {
|
|
|
6740
6740
|
theme: {
|
|
6741
6741
|
extend: {
|
|
6742
6742
|
colors: {
|
|
6743
|
-
...commonColors,
|
|
6743
|
+
...omitCommonColors ? {} : commonColors,
|
|
6744
6744
|
...resolved.colors
|
|
6745
6745
|
},
|
|
6746
6746
|
fontSize: {
|
|
@@ -6786,6 +6786,7 @@ var nextui = (config = {}) => {
|
|
|
6786
6786
|
const userDarkColors = (0, import_lodash2.default)(themeObject, "dark", {});
|
|
6787
6787
|
const defaultTheme = config.defaultTheme || "light";
|
|
6788
6788
|
const defaultPrefix = config.prefix || DEFAULT_PREFIX;
|
|
6789
|
+
const omitCommonColors = config.omitCommonColors || false;
|
|
6789
6790
|
const otherThemes = (0, import_lodash3.default)(themeObject, ["light", "dark"]) || {};
|
|
6790
6791
|
return corePlugin(
|
|
6791
6792
|
{
|
|
@@ -6794,7 +6795,8 @@ var nextui = (config = {}) => {
|
|
|
6794
6795
|
...otherThemes
|
|
6795
6796
|
},
|
|
6796
6797
|
defaultTheme,
|
|
6797
|
-
defaultPrefix
|
|
6798
|
+
defaultPrefix,
|
|
6799
|
+
omitCommonColors
|
|
6798
6800
|
);
|
|
6799
6801
|
};
|
|
6800
6802
|
|
package/dist/index.mjs
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-LWJT5D6G.mjs";
|
|
26
26
|
import {
|
|
27
27
|
pagination
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KC5GPIAM.mjs";
|
|
29
29
|
import {
|
|
30
30
|
popover
|
|
31
31
|
} from "./chunk-O32L4YWJ.mjs";
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
} from "./chunk-HNRHIJNK.mjs";
|
|
106
106
|
import {
|
|
107
107
|
nextui
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-V6XCZLK2.mjs";
|
|
109
109
|
import "./chunk-JH2TR6BI.mjs";
|
|
110
110
|
import {
|
|
111
111
|
absoluteFullClasses,
|
|
@@ -117,21 +117,21 @@ import {
|
|
|
117
117
|
import "./chunk-WQEDQHKX.mjs";
|
|
118
118
|
import {
|
|
119
119
|
colors
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-LBMDDCFV.mjs";
|
|
121
121
|
import {
|
|
122
122
|
semanticColors
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-RB7R7Z3Y.mjs";
|
|
124
124
|
import "./chunk-37PIXVP4.mjs";
|
|
125
125
|
import "./chunk-M63AFAHO.mjs";
|
|
126
126
|
import "./chunk-DMASP6FA.mjs";
|
|
127
127
|
import {
|
|
128
128
|
commonColors
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-5LKRUH3Q.mjs";
|
|
130
130
|
import "./chunk-DCEG5LGX.mjs";
|
|
131
131
|
import "./chunk-L2OL7R23.mjs";
|
|
132
132
|
import "./chunk-YZYGFPNK.mjs";
|
|
133
133
|
import "./chunk-Y4YW5MKL.mjs";
|
|
134
|
-
import "./chunk-
|
|
134
|
+
import "./chunk-DYAPDM2A.mjs";
|
|
135
135
|
import "./chunk-T3GWIVAM.mjs";
|
|
136
136
|
import "./chunk-OR5PUD24.mjs";
|
|
137
137
|
|
package/dist/plugin.d.ts
CHANGED
|
@@ -26,6 +26,10 @@ type NextUIConfig = {
|
|
|
26
26
|
* @default "nextui"
|
|
27
27
|
*/
|
|
28
28
|
prefix?: string;
|
|
29
|
+
/**
|
|
30
|
+
* If true, the common nextui colors (e.g. "blue", "green", "purple") will not be extended on the theme.
|
|
31
|
+
*/
|
|
32
|
+
omitCommonColors?: boolean;
|
|
29
33
|
/**
|
|
30
34
|
* The theme definitions.
|
|
31
35
|
*/
|
package/dist/plugin.js
CHANGED
|
@@ -44,7 +44,7 @@ var blue = {
|
|
|
44
44
|
200: "#99c7fb",
|
|
45
45
|
300: "#66aaf9",
|
|
46
46
|
400: "#338ef7",
|
|
47
|
-
500: "#
|
|
47
|
+
500: "#0069E0",
|
|
48
48
|
600: "#005bc4",
|
|
49
49
|
700: "#004493",
|
|
50
50
|
800: "#002e62",
|
|
@@ -247,22 +247,22 @@ var semanticColorsLight = {
|
|
|
247
247
|
},
|
|
248
248
|
primary: {
|
|
249
249
|
...commonColors.blue,
|
|
250
|
-
foreground: commonColors.
|
|
250
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
251
251
|
DEFAULT: commonColors.blue[500]
|
|
252
252
|
},
|
|
253
253
|
secondary: {
|
|
254
254
|
...commonColors.purple,
|
|
255
|
-
foreground: commonColors.
|
|
255
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[500]),
|
|
256
256
|
DEFAULT: commonColors.purple[500]
|
|
257
257
|
},
|
|
258
258
|
success: {
|
|
259
259
|
...commonColors.green,
|
|
260
|
-
foreground: commonColors.
|
|
260
|
+
foreground: commonColors.green[800],
|
|
261
261
|
DEFAULT: commonColors.green[500]
|
|
262
262
|
},
|
|
263
263
|
warning: {
|
|
264
264
|
...commonColors.yellow,
|
|
265
|
-
foreground: commonColors.
|
|
265
|
+
foreground: commonColors.yellow[900],
|
|
266
266
|
DEFAULT: commonColors.yellow[500]
|
|
267
267
|
},
|
|
268
268
|
danger: {
|
|
@@ -280,12 +280,12 @@ var semanticColorsDark = {
|
|
|
280
280
|
},
|
|
281
281
|
primary: {
|
|
282
282
|
...swapColorValues(commonColors.blue),
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
foreground: (0, import_color2k.readableColor)(commonColors.blue[500]),
|
|
284
|
+
DEFAULT: commonColors.blue[500]
|
|
285
285
|
},
|
|
286
286
|
secondary: {
|
|
287
287
|
...swapColorValues(commonColors.purple),
|
|
288
|
-
foreground: commonColors.
|
|
288
|
+
foreground: (0, import_color2k.readableColor)(commonColors.purple[400]),
|
|
289
289
|
DEFAULT: commonColors.purple[400]
|
|
290
290
|
},
|
|
291
291
|
success: {
|
|
@@ -541,7 +541,7 @@ var resolveConfig = (config = {}, defaultTheme, prefix) => {
|
|
|
541
541
|
});
|
|
542
542
|
return resolved;
|
|
543
543
|
};
|
|
544
|
-
var corePlugin = (config = {}, defaultTheme, prefix) => {
|
|
544
|
+
var corePlugin = (config = {}, defaultTheme, prefix, omitCommonColors) => {
|
|
545
545
|
const resolved = resolveConfig(config, defaultTheme, prefix);
|
|
546
546
|
return (0, import_plugin.default)(
|
|
547
547
|
({ addBase, addUtilities, addVariant }) => {
|
|
@@ -559,7 +559,7 @@ var corePlugin = (config = {}, defaultTheme, prefix) => {
|
|
|
559
559
|
theme: {
|
|
560
560
|
extend: {
|
|
561
561
|
colors: {
|
|
562
|
-
...commonColors,
|
|
562
|
+
...omitCommonColors ? {} : commonColors,
|
|
563
563
|
...resolved.colors
|
|
564
564
|
},
|
|
565
565
|
fontSize: {
|
|
@@ -605,6 +605,7 @@ var nextui = (config = {}) => {
|
|
|
605
605
|
const userDarkColors = (0, import_lodash2.default)(themeObject, "dark", {});
|
|
606
606
|
const defaultTheme = config.defaultTheme || "light";
|
|
607
607
|
const defaultPrefix = config.prefix || DEFAULT_PREFIX;
|
|
608
|
+
const omitCommonColors = config.omitCommonColors || false;
|
|
608
609
|
const otherThemes = (0, import_lodash3.default)(themeObject, ["light", "dark"]) || {};
|
|
609
610
|
return corePlugin(
|
|
610
611
|
{
|
|
@@ -613,7 +614,8 @@ var nextui = (config = {}) => {
|
|
|
613
614
|
...otherThemes
|
|
614
615
|
},
|
|
615
616
|
defaultTheme,
|
|
616
|
-
defaultPrefix
|
|
617
|
+
defaultPrefix,
|
|
618
|
+
omitCommonColors
|
|
617
619
|
);
|
|
618
620
|
};
|
|
619
621
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/plugin.mjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nextui
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-V6XCZLK2.mjs";
|
|
4
4
|
import "./chunk-JH2TR6BI.mjs";
|
|
5
5
|
import "./chunk-TSW7CNKY.mjs";
|
|
6
6
|
import "./chunk-WQEDQHKX.mjs";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-LBMDDCFV.mjs";
|
|
8
|
+
import "./chunk-RB7R7Z3Y.mjs";
|
|
9
9
|
import "./chunk-37PIXVP4.mjs";
|
|
10
10
|
import "./chunk-M63AFAHO.mjs";
|
|
11
11
|
import "./chunk-DMASP6FA.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-5LKRUH3Q.mjs";
|
|
13
13
|
import "./chunk-DCEG5LGX.mjs";
|
|
14
14
|
import "./chunk-L2OL7R23.mjs";
|
|
15
15
|
import "./chunk-YZYGFPNK.mjs";
|
|
16
16
|
import "./chunk-Y4YW5MKL.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-DYAPDM2A.mjs";
|
|
18
18
|
import "./chunk-T3GWIVAM.mjs";
|
|
19
19
|
import "./chunk-OR5PUD24.mjs";
|
|
20
20
|
export {
|