@nextui-org/theme 0.0.0-dev-v2-20230420134926 → 0.0.0-dev-v2-20230423211529
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-3B4SYPW2.mjs +18 -0
- package/dist/{chunk-ANRX4UF2.mjs → chunk-4XSCIGTZ.mjs} +1 -1
- package/dist/{chunk-XQ3KK6F3.mjs → chunk-7EKGN7JP.mjs} +6 -6
- package/dist/{chunk-DOBGL5T3.mjs → chunk-BLEVU2FW.mjs} +1 -1
- package/dist/{chunk-HZLJ4FYR.mjs → chunk-FDBBFTXB.mjs} +1 -1
- package/dist/{chunk-FGWYWKMA.mjs → chunk-FJNSTLAL.mjs} +21 -21
- package/dist/{chunk-MZ2ZBGLR.mjs → chunk-JWVJZEAT.mjs} +1 -1
- package/dist/{chunk-5Z3NCB7W.mjs → chunk-LCSLO6UV.mjs} +1 -1
- package/dist/{chunk-2QIDY5NZ.mjs → chunk-MW7UVOSP.mjs} +2 -2
- package/dist/{chunk-OS73LTIZ.mjs → chunk-NCFXYR7C.mjs} +6 -6
- package/dist/{chunk-QRMWQXOX.mjs → chunk-NQJBJXX3.mjs} +4 -4
- package/dist/{chunk-SN6PW6NR.mjs → chunk-OZPCO5UB.mjs} +7 -7
- package/dist/{chunk-Y63UYKP7.mjs → chunk-R47OQZR5.mjs} +2 -1
- package/dist/{chunk-LGGZKBOO.mjs → chunk-RO3WUCFF.mjs} +21 -21
- package/dist/chunk-TILCNEZM.mjs +212 -0
- package/dist/{chunk-FZQRP6V7.mjs → chunk-TYA6TT57.mjs} +9 -9
- package/dist/{chunk-64MHH33S.mjs → chunk-VS5PMCQU.mjs} +27 -8
- package/dist/{chunk-7GYSEREC.mjs → chunk-VZVHC65R.mjs} +1 -1
- package/dist/{chunk-B5S7HT6N.mjs → chunk-WFCALVUC.mjs} +1 -1
- package/dist/{chunk-CO6ANWRA.mjs → chunk-XUL76UJD.mjs} +1 -1
- package/dist/{chunk-KVW35URF.mjs → chunk-Z6VEZVD6.mjs} +14 -14
- package/dist/colors/index.js +21 -21
- package/dist/colors/index.mjs +2 -2
- package/dist/colors/semantic.js +21 -21
- package/dist/colors/semantic.mjs +1 -1
- package/dist/colors/types.d.ts +1 -1
- package/dist/colors.js +21 -21
- package/dist/colors.mjs +2 -2
- package/dist/components/avatar.js +21 -21
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/badge.js +21 -21
- package/dist/components/badge.mjs +2 -2
- package/dist/components/button.js +22 -21
- package/dist/components/button.mjs +2 -2
- package/dist/components/checkbox.js +6 -6
- package/dist/components/checkbox.mjs +1 -1
- package/dist/components/chip.js +24 -24
- package/dist/components/chip.mjs +2 -2
- package/dist/components/code.js +21 -21
- package/dist/components/code.mjs +2 -2
- package/dist/components/dropdown-item.js +14 -14
- package/dist/components/dropdown-item.mjs +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +324 -76
- package/dist/components/index.mjs +55 -47
- package/dist/components/link.mjs +1 -1
- package/dist/components/modal.d.ts +1 -1
- package/dist/components/navbar.js +27 -8
- package/dist/components/navbar.mjs +1 -1
- package/dist/components/pagination.js +29 -29
- package/dist/components/pagination.mjs +2 -2
- package/dist/components/popover.js +21 -21
- package/dist/components/popover.mjs +2 -2
- package/dist/components/radio.js +7 -7
- package/dist/components/radio.mjs +1 -1
- package/dist/components/snippet.js +21 -21
- package/dist/components/snippet.mjs +2 -2
- package/dist/components/spacer.d.ts +27 -0
- package/dist/components/spacer.js +42 -0
- package/dist/components/spacer.mjs +6 -0
- package/dist/components/spinner.js +1 -1
- package/dist/components/spinner.mjs +1 -1
- package/dist/components/table.d.ts +277 -0
- package/dist/components/table.js +236 -0
- package/dist/components/table.mjs +6 -0
- package/dist/components/toggle.js +6 -6
- package/dist/components/toggle.mjs +1 -1
- package/dist/components/user.js +2 -2
- package/dist/components/user.mjs +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.js +349 -101
- package/dist/index.mjs +58 -50
- package/dist/plugin.js +21 -21
- package/dist/plugin.mjs +3 -3
- package/dist/utils/index.js +21 -21
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/variants.js +21 -21
- package/dist/utils/variants.mjs +1 -1
- package/package.json +2 -2
- /package/dist/{chunk-NP4SOC4S.mjs → chunk-RH7YHIQY.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,22 +1,46 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-RH7YHIQY.mjs";
|
|
2
|
+
import {
|
|
3
|
+
table
|
|
4
|
+
} from "./chunk-TILCNEZM.mjs";
|
|
5
|
+
import {
|
|
6
|
+
toggle
|
|
7
|
+
} from "./chunk-NCFXYR7C.mjs";
|
|
8
|
+
import {
|
|
9
|
+
user
|
|
10
|
+
} from "./chunk-MW7UVOSP.mjs";
|
|
11
|
+
import {
|
|
12
|
+
pagination
|
|
13
|
+
} from "./chunk-TYA6TT57.mjs";
|
|
14
|
+
import {
|
|
15
|
+
popover
|
|
16
|
+
} from "./chunk-JWVJZEAT.mjs";
|
|
17
|
+
import {
|
|
18
|
+
progress
|
|
19
|
+
} from "./chunk-I7DM7NL7.mjs";
|
|
2
20
|
import {
|
|
3
21
|
radioGroup
|
|
4
22
|
} from "./chunk-HHWXPWYN.mjs";
|
|
5
23
|
import {
|
|
6
24
|
radio
|
|
7
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OZPCO5UB.mjs";
|
|
8
26
|
import {
|
|
9
27
|
snippet
|
|
10
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4XSCIGTZ.mjs";
|
|
29
|
+
import {
|
|
30
|
+
spacer
|
|
31
|
+
} from "./chunk-3B4SYPW2.mjs";
|
|
11
32
|
import {
|
|
12
33
|
spinner
|
|
13
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XUL76UJD.mjs";
|
|
14
35
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
36
|
+
dropdownSection
|
|
37
|
+
} from "./chunk-AVGEHFT4.mjs";
|
|
17
38
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
39
|
+
dropdown
|
|
40
|
+
} from "./chunk-UNMHV7HH.mjs";
|
|
41
|
+
import {
|
|
42
|
+
image
|
|
43
|
+
} from "./chunk-6GGRJ6I7.mjs";
|
|
20
44
|
import {
|
|
21
45
|
input
|
|
22
46
|
} from "./chunk-DBYBIR6S.mjs";
|
|
@@ -28,81 +52,63 @@ import {
|
|
|
28
52
|
} from "./chunk-YMIOHWCD.mjs";
|
|
29
53
|
import {
|
|
30
54
|
navbar
|
|
31
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-VS5PMCQU.mjs";
|
|
32
56
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
57
|
+
checkboxGroup
|
|
58
|
+
} from "./chunk-U77YMEWM.mjs";
|
|
35
59
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
60
|
+
checkbox
|
|
61
|
+
} from "./chunk-7EKGN7JP.mjs";
|
|
38
62
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
63
|
+
chip
|
|
64
|
+
} from "./chunk-NQJBJXX3.mjs";
|
|
41
65
|
import {
|
|
42
66
|
circularProgress
|
|
43
67
|
} from "./chunk-FK5GDC67.mjs";
|
|
44
68
|
import {
|
|
45
69
|
code
|
|
46
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-WFCALVUC.mjs";
|
|
47
71
|
import {
|
|
48
72
|
drip
|
|
49
73
|
} from "./chunk-OIVGIOVG.mjs";
|
|
50
74
|
import {
|
|
51
75
|
dropdownItem
|
|
52
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-Z6VEZVD6.mjs";
|
|
53
77
|
import {
|
|
54
78
|
dropdownMenu
|
|
55
79
|
} from "./chunk-FCYNUVAR.mjs";
|
|
56
80
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
81
|
+
accordionItem
|
|
82
|
+
} from "./chunk-XSFH4S4Y.mjs";
|
|
59
83
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
84
|
+
accordion
|
|
85
|
+
} from "./chunk-YYBLBQIV.mjs";
|
|
62
86
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
87
|
+
avatarGroup
|
|
88
|
+
} from "./chunk-MLH3XSY7.mjs";
|
|
65
89
|
import {
|
|
66
90
|
avatar
|
|
67
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-VZVHC65R.mjs";
|
|
68
92
|
import {
|
|
69
93
|
badge
|
|
70
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-LCSLO6UV.mjs";
|
|
71
95
|
import {
|
|
72
96
|
buttonGroup
|
|
73
97
|
} from "./chunk-VKFQ7EZN.mjs";
|
|
74
98
|
import {
|
|
75
99
|
button
|
|
76
|
-
} from "./chunk-
|
|
77
|
-
import {
|
|
78
|
-
card
|
|
79
|
-
} from "./chunk-TDD767J7.mjs";
|
|
80
|
-
import {
|
|
81
|
-
checkboxGroup
|
|
82
|
-
} from "./chunk-U77YMEWM.mjs";
|
|
83
|
-
import {
|
|
84
|
-
checkbox
|
|
85
|
-
} from "./chunk-XQ3KK6F3.mjs";
|
|
86
|
-
import {
|
|
87
|
-
chip
|
|
88
|
-
} from "./chunk-QRMWQXOX.mjs";
|
|
100
|
+
} from "./chunk-R47OQZR5.mjs";
|
|
89
101
|
import "./chunk-CMYR6AOY.mjs";
|
|
90
102
|
import "./chunk-K7LK7NCE.mjs";
|
|
91
103
|
import {
|
|
92
104
|
colorVariants
|
|
93
|
-
} from "./chunk-
|
|
94
|
-
import {
|
|
95
|
-
accordionItem
|
|
96
|
-
} from "./chunk-XSFH4S4Y.mjs";
|
|
105
|
+
} from "./chunk-RO3WUCFF.mjs";
|
|
97
106
|
import {
|
|
98
|
-
|
|
99
|
-
} from "./chunk-
|
|
100
|
-
import {
|
|
101
|
-
avatarGroup
|
|
102
|
-
} from "./chunk-MLH3XSY7.mjs";
|
|
107
|
+
card
|
|
108
|
+
} from "./chunk-TDD767J7.mjs";
|
|
103
109
|
import {
|
|
104
110
|
nextui
|
|
105
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-FDBBFTXB.mjs";
|
|
106
112
|
import {
|
|
107
113
|
absoluteFullClasses,
|
|
108
114
|
baseStyles,
|
|
@@ -114,10 +120,10 @@ import "./chunk-XLATS5QU.mjs";
|
|
|
114
120
|
import "./chunk-WQEDQHKX.mjs";
|
|
115
121
|
import {
|
|
116
122
|
colors
|
|
117
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-BLEVU2FW.mjs";
|
|
118
124
|
import {
|
|
119
125
|
semanticColors
|
|
120
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-FJNSTLAL.mjs";
|
|
121
127
|
import "./chunk-37PIXVP4.mjs";
|
|
122
128
|
import "./chunk-M63AFAHO.mjs";
|
|
123
129
|
import "./chunk-DMASP6FA.mjs";
|
|
@@ -176,7 +182,9 @@ export {
|
|
|
176
182
|
ringClasses,
|
|
177
183
|
semanticColors,
|
|
178
184
|
snippet,
|
|
185
|
+
spacer,
|
|
179
186
|
spinner,
|
|
187
|
+
table,
|
|
180
188
|
toggle,
|
|
181
189
|
translateCenterClasses,
|
|
182
190
|
tv,
|
package/dist/plugin.js
CHANGED
|
@@ -194,24 +194,24 @@ var base = {
|
|
|
194
194
|
},
|
|
195
195
|
content1: {
|
|
196
196
|
DEFAULT: import_colors.default.zinc[50],
|
|
197
|
-
|
|
197
|
+
foreground: import_colors.default.zinc[900]
|
|
198
198
|
},
|
|
199
199
|
content2: {
|
|
200
200
|
DEFAULT: import_colors.default.zinc[100],
|
|
201
|
-
|
|
201
|
+
foreground: import_colors.default.zinc[800]
|
|
202
202
|
},
|
|
203
203
|
content3: {
|
|
204
204
|
DEFAULT: import_colors.default.zinc[200],
|
|
205
|
-
|
|
205
|
+
foreground: import_colors.default.zinc[700]
|
|
206
206
|
},
|
|
207
207
|
content4: {
|
|
208
208
|
DEFAULT: import_colors.default.zinc[300],
|
|
209
|
-
|
|
209
|
+
foreground: import_colors.default.zinc[600]
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
212
|
dark: {
|
|
213
213
|
background: {
|
|
214
|
-
DEFAULT: "#
|
|
214
|
+
DEFAULT: "#000000"
|
|
215
215
|
},
|
|
216
216
|
foreground: {
|
|
217
217
|
DEFAULT: "#ECEDEE"
|
|
@@ -221,19 +221,19 @@ var base = {
|
|
|
221
221
|
},
|
|
222
222
|
content1: {
|
|
223
223
|
DEFAULT: import_colors.default.zinc[900],
|
|
224
|
-
|
|
224
|
+
foreground: import_colors.default.zinc[50]
|
|
225
225
|
},
|
|
226
226
|
content2: {
|
|
227
227
|
DEFAULT: import_colors.default.zinc[800],
|
|
228
|
-
|
|
228
|
+
foreground: import_colors.default.zinc[100]
|
|
229
229
|
},
|
|
230
230
|
content3: {
|
|
231
231
|
DEFAULT: import_colors.default.zinc[700],
|
|
232
|
-
|
|
232
|
+
foreground: import_colors.default.zinc[200]
|
|
233
233
|
},
|
|
234
234
|
content4: {
|
|
235
235
|
DEFAULT: import_colors.default.zinc[600],
|
|
236
|
-
|
|
236
|
+
foreground: import_colors.default.zinc[300]
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
};
|
|
@@ -241,32 +241,32 @@ var semanticColorsLight = {
|
|
|
241
241
|
...base.light,
|
|
242
242
|
neutral: {
|
|
243
243
|
...import_colors.default.zinc,
|
|
244
|
-
|
|
244
|
+
foreground: (0, import_color2k.readableColor)(import_colors.default.zinc[300]),
|
|
245
245
|
DEFAULT: import_colors.default.zinc[300]
|
|
246
246
|
},
|
|
247
247
|
primary: {
|
|
248
248
|
...commonColors.blue,
|
|
249
|
-
|
|
249
|
+
foreground: commonColors.white,
|
|
250
250
|
DEFAULT: commonColors.blue[500]
|
|
251
251
|
},
|
|
252
252
|
secondary: {
|
|
253
253
|
...commonColors.purple,
|
|
254
|
-
|
|
254
|
+
foreground: commonColors.white,
|
|
255
255
|
DEFAULT: commonColors.purple[500]
|
|
256
256
|
},
|
|
257
257
|
success: {
|
|
258
258
|
...commonColors.green,
|
|
259
|
-
|
|
259
|
+
foreground: commonColors.white,
|
|
260
260
|
DEFAULT: commonColors.green[500]
|
|
261
261
|
},
|
|
262
262
|
warning: {
|
|
263
263
|
...commonColors.yellow,
|
|
264
|
-
|
|
264
|
+
foreground: commonColors.white,
|
|
265
265
|
DEFAULT: commonColors.yellow[500]
|
|
266
266
|
},
|
|
267
267
|
danger: {
|
|
268
268
|
...commonColors.red,
|
|
269
|
-
|
|
269
|
+
foreground: commonColors.white,
|
|
270
270
|
DEFAULT: commonColors.red[500]
|
|
271
271
|
}
|
|
272
272
|
};
|
|
@@ -274,32 +274,32 @@ var semanticColorsDark = {
|
|
|
274
274
|
...base.dark,
|
|
275
275
|
neutral: {
|
|
276
276
|
...swapColorValues(import_colors.default.zinc),
|
|
277
|
-
|
|
277
|
+
foreground: (0, import_color2k.readableColor)(import_colors.default.zinc[700]),
|
|
278
278
|
DEFAULT: import_colors.default.zinc[700]
|
|
279
279
|
},
|
|
280
280
|
primary: {
|
|
281
281
|
...swapColorValues(commonColors.blue),
|
|
282
282
|
DEFAULT: commonColors.blue[500],
|
|
283
|
-
|
|
283
|
+
foreground: commonColors.white
|
|
284
284
|
},
|
|
285
285
|
secondary: {
|
|
286
286
|
...swapColorValues(commonColors.purple),
|
|
287
|
-
|
|
287
|
+
foreground: commonColors.white,
|
|
288
288
|
DEFAULT: commonColors.purple[400]
|
|
289
289
|
},
|
|
290
290
|
success: {
|
|
291
291
|
...swapColorValues(commonColors.green),
|
|
292
|
-
|
|
292
|
+
foreground: (0, import_color2k.readableColor)(commonColors.green[500]),
|
|
293
293
|
DEFAULT: commonColors.green[500]
|
|
294
294
|
},
|
|
295
295
|
warning: {
|
|
296
296
|
...swapColorValues(commonColors.yellow),
|
|
297
|
-
|
|
297
|
+
foreground: (0, import_color2k.readableColor)(commonColors.yellow[500]),
|
|
298
298
|
DEFAULT: commonColors.yellow[500]
|
|
299
299
|
},
|
|
300
300
|
danger: {
|
|
301
301
|
...swapColorValues(commonColors.red),
|
|
302
|
-
|
|
302
|
+
foreground: commonColors.white,
|
|
303
303
|
DEFAULT: commonColors.red[500]
|
|
304
304
|
}
|
|
305
305
|
};
|
package/dist/plugin.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nextui
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FDBBFTXB.mjs";
|
|
4
4
|
import "./chunk-INZK6TTL.mjs";
|
|
5
5
|
import "./chunk-XLATS5QU.mjs";
|
|
6
6
|
import "./chunk-WQEDQHKX.mjs";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-BLEVU2FW.mjs";
|
|
8
|
+
import "./chunk-FJNSTLAL.mjs";
|
|
9
9
|
import "./chunk-37PIXVP4.mjs";
|
|
10
10
|
import "./chunk-M63AFAHO.mjs";
|
|
11
11
|
import "./chunk-DMASP6FA.mjs";
|
package/dist/utils/index.js
CHANGED
|
@@ -62,21 +62,21 @@ var absoluteFullClasses = ["absolute", "inset-0"];
|
|
|
62
62
|
|
|
63
63
|
// src/utils/variants.ts
|
|
64
64
|
var solid = {
|
|
65
|
-
neutral: "bg-neutral text-neutral-
|
|
66
|
-
primary: "bg-primary text-primary-
|
|
67
|
-
secondary: "bg-secondary text-secondary-
|
|
68
|
-
success: "bg-success text-success-
|
|
69
|
-
warning: "bg-warning text-warning-
|
|
70
|
-
danger: "bg-danger text-danger-
|
|
65
|
+
neutral: "bg-neutral text-neutral-foreground",
|
|
66
|
+
primary: "bg-primary text-primary-foreground",
|
|
67
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
68
|
+
success: "bg-success text-success-foreground",
|
|
69
|
+
warning: "bg-warning text-warning-foreground",
|
|
70
|
+
danger: "bg-danger text-danger-foreground",
|
|
71
71
|
foreground: "bg-foreground text-background"
|
|
72
72
|
};
|
|
73
73
|
var shadow = {
|
|
74
|
-
neutral: "shadow-lg shadow-neutral/50 bg-neutral text-neutral-
|
|
75
|
-
primary: "shadow-lg shadow-primary/40 bg-primary text-primary-
|
|
76
|
-
secondary: "shadow-lg shadow-secondary/40 bg-secondary text-secondary-
|
|
77
|
-
success: "shadow-lg shadow-success/40 bg-success text-success-
|
|
78
|
-
warning: "shadow-lg shadow-warning/40 bg-warning text-warning-
|
|
79
|
-
danger: "shadow-lg shadow-danger/40 bg-danger text-danger-
|
|
74
|
+
neutral: "shadow-lg shadow-neutral/50 bg-neutral text-neutral-foreground",
|
|
75
|
+
primary: "shadow-lg shadow-primary/40 bg-primary text-primary-foreground",
|
|
76
|
+
secondary: "shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",
|
|
77
|
+
success: "shadow-lg shadow-success/40 bg-success text-success-foreground",
|
|
78
|
+
warning: "shadow-lg shadow-warning/40 bg-warning text-warning-foreground",
|
|
79
|
+
danger: "shadow-lg shadow-danger/40 bg-danger text-danger-foreground",
|
|
80
80
|
foreground: "shadow-lg shadow-foreground/40 bg-foreground text-background"
|
|
81
81
|
};
|
|
82
82
|
var bordered = {
|
|
@@ -89,7 +89,7 @@ var bordered = {
|
|
|
89
89
|
foreground: "bg-transparent border-foreground text-foreground"
|
|
90
90
|
};
|
|
91
91
|
var flat = {
|
|
92
|
-
neutral: "bg-neutral-100 text-neutral-
|
|
92
|
+
neutral: "bg-neutral-100 text-neutral-foreground",
|
|
93
93
|
primary: "bg-primary-50 text-primary",
|
|
94
94
|
secondary: "bg-secondary-100 text-secondary",
|
|
95
95
|
success: "bg-success-50 text-success",
|
|
@@ -98,7 +98,7 @@ var flat = {
|
|
|
98
98
|
foreground: "bg-foreground/10 text-foreground"
|
|
99
99
|
};
|
|
100
100
|
var faded = {
|
|
101
|
-
neutral: "border-neutral bg-neutral-100 text-neutral-
|
|
101
|
+
neutral: "border-neutral bg-neutral-100 text-neutral-foreground",
|
|
102
102
|
primary: "border-neutral bg-neutral-100 text-primary",
|
|
103
103
|
secondary: "border-neutral bg-neutral-100 text-secondary",
|
|
104
104
|
success: "border-neutral bg-neutral-100 text-success",
|
|
@@ -107,7 +107,7 @@ var faded = {
|
|
|
107
107
|
foreground: "border-neutral bg-neutral-100 text-foreground"
|
|
108
108
|
};
|
|
109
109
|
var light = {
|
|
110
|
-
neutral: "bg-transparent text-neutral-
|
|
110
|
+
neutral: "bg-transparent text-neutral-foreground",
|
|
111
111
|
primary: "bg-transparent text-primary",
|
|
112
112
|
secondary: "bg-transparent text-secondary",
|
|
113
113
|
success: "bg-transparent text-success",
|
|
@@ -116,12 +116,12 @@ var light = {
|
|
|
116
116
|
foreground: "bg-transparent text-foreground"
|
|
117
117
|
};
|
|
118
118
|
var ghost = {
|
|
119
|
-
neutral: "border-neutral text-neutral-
|
|
120
|
-
primary: "border-primary text-primary hover:!text-primary-
|
|
121
|
-
secondary: "border-secondary text-secondary hover:text-secondary-
|
|
122
|
-
success: "border-success text-success hover:!text-success-
|
|
123
|
-
warning: "border-warning text-warning hover:!text-warning-
|
|
124
|
-
danger: "border-danger text-danger hover:!text-danger-
|
|
119
|
+
neutral: "border-neutral text-neutral-foreground hover:!bg-neutral",
|
|
120
|
+
primary: "border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",
|
|
121
|
+
secondary: "border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",
|
|
122
|
+
success: "border-success text-success hover:!text-success-foreground hover:!bg-success",
|
|
123
|
+
warning: "border-warning text-warning hover:!text-warning-foreground hover:!bg-warning",
|
|
124
|
+
danger: "border-danger text-danger hover:!text-danger-foreground hover:!bg-danger",
|
|
125
125
|
foreground: "border-foreground text-foreground hover:!bg-foreground"
|
|
126
126
|
};
|
|
127
127
|
var colorVariants = {
|
package/dist/utils/index.mjs
CHANGED
package/dist/utils/variants.js
CHANGED
|
@@ -24,21 +24,21 @@ __export(variants_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(variants_exports);
|
|
26
26
|
var solid = {
|
|
27
|
-
neutral: "bg-neutral text-neutral-
|
|
28
|
-
primary: "bg-primary text-primary-
|
|
29
|
-
secondary: "bg-secondary text-secondary-
|
|
30
|
-
success: "bg-success text-success-
|
|
31
|
-
warning: "bg-warning text-warning-
|
|
32
|
-
danger: "bg-danger text-danger-
|
|
27
|
+
neutral: "bg-neutral text-neutral-foreground",
|
|
28
|
+
primary: "bg-primary text-primary-foreground",
|
|
29
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
30
|
+
success: "bg-success text-success-foreground",
|
|
31
|
+
warning: "bg-warning text-warning-foreground",
|
|
32
|
+
danger: "bg-danger text-danger-foreground",
|
|
33
33
|
foreground: "bg-foreground text-background"
|
|
34
34
|
};
|
|
35
35
|
var shadow = {
|
|
36
|
-
neutral: "shadow-lg shadow-neutral/50 bg-neutral text-neutral-
|
|
37
|
-
primary: "shadow-lg shadow-primary/40 bg-primary text-primary-
|
|
38
|
-
secondary: "shadow-lg shadow-secondary/40 bg-secondary text-secondary-
|
|
39
|
-
success: "shadow-lg shadow-success/40 bg-success text-success-
|
|
40
|
-
warning: "shadow-lg shadow-warning/40 bg-warning text-warning-
|
|
41
|
-
danger: "shadow-lg shadow-danger/40 bg-danger text-danger-
|
|
36
|
+
neutral: "shadow-lg shadow-neutral/50 bg-neutral text-neutral-foreground",
|
|
37
|
+
primary: "shadow-lg shadow-primary/40 bg-primary text-primary-foreground",
|
|
38
|
+
secondary: "shadow-lg shadow-secondary/40 bg-secondary text-secondary-foreground",
|
|
39
|
+
success: "shadow-lg shadow-success/40 bg-success text-success-foreground",
|
|
40
|
+
warning: "shadow-lg shadow-warning/40 bg-warning text-warning-foreground",
|
|
41
|
+
danger: "shadow-lg shadow-danger/40 bg-danger text-danger-foreground",
|
|
42
42
|
foreground: "shadow-lg shadow-foreground/40 bg-foreground text-background"
|
|
43
43
|
};
|
|
44
44
|
var bordered = {
|
|
@@ -51,7 +51,7 @@ var bordered = {
|
|
|
51
51
|
foreground: "bg-transparent border-foreground text-foreground"
|
|
52
52
|
};
|
|
53
53
|
var flat = {
|
|
54
|
-
neutral: "bg-neutral-100 text-neutral-
|
|
54
|
+
neutral: "bg-neutral-100 text-neutral-foreground",
|
|
55
55
|
primary: "bg-primary-50 text-primary",
|
|
56
56
|
secondary: "bg-secondary-100 text-secondary",
|
|
57
57
|
success: "bg-success-50 text-success",
|
|
@@ -60,7 +60,7 @@ var flat = {
|
|
|
60
60
|
foreground: "bg-foreground/10 text-foreground"
|
|
61
61
|
};
|
|
62
62
|
var faded = {
|
|
63
|
-
neutral: "border-neutral bg-neutral-100 text-neutral-
|
|
63
|
+
neutral: "border-neutral bg-neutral-100 text-neutral-foreground",
|
|
64
64
|
primary: "border-neutral bg-neutral-100 text-primary",
|
|
65
65
|
secondary: "border-neutral bg-neutral-100 text-secondary",
|
|
66
66
|
success: "border-neutral bg-neutral-100 text-success",
|
|
@@ -69,7 +69,7 @@ var faded = {
|
|
|
69
69
|
foreground: "border-neutral bg-neutral-100 text-foreground"
|
|
70
70
|
};
|
|
71
71
|
var light = {
|
|
72
|
-
neutral: "bg-transparent text-neutral-
|
|
72
|
+
neutral: "bg-transparent text-neutral-foreground",
|
|
73
73
|
primary: "bg-transparent text-primary",
|
|
74
74
|
secondary: "bg-transparent text-secondary",
|
|
75
75
|
success: "bg-transparent text-success",
|
|
@@ -78,12 +78,12 @@ var light = {
|
|
|
78
78
|
foreground: "bg-transparent text-foreground"
|
|
79
79
|
};
|
|
80
80
|
var ghost = {
|
|
81
|
-
neutral: "border-neutral text-neutral-
|
|
82
|
-
primary: "border-primary text-primary hover:!text-primary-
|
|
83
|
-
secondary: "border-secondary text-secondary hover:text-secondary-
|
|
84
|
-
success: "border-success text-success hover:!text-success-
|
|
85
|
-
warning: "border-warning text-warning hover:!text-warning-
|
|
86
|
-
danger: "border-danger text-danger hover:!text-danger-
|
|
81
|
+
neutral: "border-neutral text-neutral-foreground hover:!bg-neutral",
|
|
82
|
+
primary: "border-primary text-primary hover:!text-primary-foreground hover:!bg-primary",
|
|
83
|
+
secondary: "border-secondary text-secondary hover:text-secondary-foreground hover:!bg-secondary",
|
|
84
|
+
success: "border-success text-success hover:!text-success-foreground hover:!bg-success",
|
|
85
|
+
warning: "border-warning text-warning hover:!text-warning-foreground hover:!bg-warning",
|
|
86
|
+
danger: "border-danger text-danger hover:!text-danger-foreground hover:!bg-danger",
|
|
87
87
|
foreground: "border-foreground text-foreground hover:!bg-foreground"
|
|
88
88
|
};
|
|
89
89
|
var colorVariants = {
|
package/dist/utils/variants.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextui-org/theme",
|
|
3
|
-
"version": "0.0.0-dev-v2-
|
|
3
|
+
"version": "0.0.0-dev-v2-20230423211529",
|
|
4
4
|
"description": "The default theme for NextUI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"theme",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"lodash.foreach": "^4.5.0",
|
|
45
45
|
"lodash.get": "^4.4.2",
|
|
46
46
|
"lodash.isempty": "^4.4.0",
|
|
47
|
-
"tailwind-variants": "^0.1.
|
|
47
|
+
"tailwind-variants": "^0.1.3",
|
|
48
48
|
"tailwindcss": "^3.2.7"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
File without changes
|