@nextui-org/theme 0.0.0-dev-v2-20230714033008 → 0.0.0-dev-v2-20230715020155
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-X66RRFWA.mjs → chunk-2OA2D2OJ.mjs} +12 -3
- package/dist/{chunk-GQCXHDRA.mjs → chunk-2QUE56PB.mjs} +1 -1
- package/dist/{chunk-BTHG2MOO.mjs → chunk-2ZZ5QMHO.mjs} +1 -1
- package/dist/{chunk-NWJ7Y4FY.mjs → chunk-3NXFJ2VH.mjs} +1 -1
- package/dist/{chunk-7VWFPKXY.mjs → chunk-3PTYRMI4.mjs} +1 -1
- package/dist/{chunk-3OO2OG3D.mjs → chunk-66LVDEMB.mjs} +1 -1
- package/dist/{chunk-J2DAFXTJ.mjs → chunk-6AEINX52.mjs} +5 -0
- package/dist/{chunk-USEN2DE7.mjs → chunk-6BLLWSWM.mjs} +1 -1
- package/dist/{chunk-XYK4ELGZ.mjs → chunk-77O7KLUI.mjs} +1 -1
- package/dist/{chunk-DAX4HULG.mjs → chunk-AYHGQSL4.mjs} +1 -1
- package/dist/{chunk-ZLMOQ2CL.mjs → chunk-B55QBA5E.mjs} +1 -1
- package/dist/{chunk-FZB6NELW.mjs → chunk-B66TU4DC.mjs} +1 -1
- package/dist/{chunk-2DNJYASM.mjs → chunk-EC4F6RJF.mjs} +1 -1
- package/dist/{chunk-FTAANQDH.mjs → chunk-ERIVC7UK.mjs} +18 -8
- package/dist/{chunk-NW4JUNKJ.mjs → chunk-ERKNFIKY.mjs} +1 -1
- package/dist/{chunk-4Q5LLWJY.mjs → chunk-EUS2SEYI.mjs} +1 -1
- package/dist/{chunk-5TISNX3V.mjs → chunk-GNLIYZAQ.mjs} +1 -1
- package/dist/{chunk-GGKWZEZ3.mjs → chunk-LQGOKGQV.mjs} +1 -1
- package/dist/{chunk-GRAE3A2P.mjs → chunk-MKYSU3XO.mjs} +1 -1
- package/dist/{chunk-BGAU4FMH.mjs → chunk-NAY2XKLY.mjs} +1 -1
- package/dist/{chunk-7CWAY3O6.mjs → chunk-NQPPVHK4.mjs} +1 -1
- package/dist/{chunk-DK3LBYIW.mjs → chunk-NXGWHM2G.mjs} +1 -1
- package/dist/{chunk-YU23PDLH.mjs → chunk-QX5UKEWK.mjs} +1 -1
- package/dist/{chunk-BSCHFKQW.mjs → chunk-UOD2L4IP.mjs} +1 -1
- package/dist/{chunk-RXPDLLTT.mjs → chunk-VVOIHMB5.mjs} +1 -1
- package/dist/{chunk-EXMWYYBQ.mjs → chunk-WBNF66V7.mjs} +1 -1
- package/dist/{chunk-U4O7CA4C.mjs → chunk-XCWQAA5D.mjs} +1 -1
- package/dist/{chunk-UXQJVK7X.mjs → chunk-XPLXQDB3.mjs} +1 -1
- package/dist/{chunk-VU5BK47Z.mjs → chunk-XY766PDD.mjs} +1 -1
- package/dist/{chunk-HPJYEIT7.mjs → chunk-YSXRNNDV.mjs} +1 -1
- package/dist/{chunk-W4Y7SD3F.mjs → chunk-ZHTSPUDN.mjs} +1 -1
- package/dist/{chunk-NAQMB7Q2.mjs → chunk-ZZIKFGJI.mjs} +22 -16
- package/dist/components/accordion.js +5 -0
- package/dist/components/accordion.mjs +2 -2
- package/dist/components/avatar.js +5 -0
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/badge.js +5 -0
- package/dist/components/badge.mjs +2 -2
- package/dist/components/button.js +5 -0
- package/dist/components/button.mjs +2 -2
- package/dist/components/card.js +5 -0
- package/dist/components/card.mjs +2 -2
- package/dist/components/checkbox.js +5 -0
- package/dist/components/checkbox.mjs +2 -2
- package/dist/components/chip.js +5 -0
- package/dist/components/chip.mjs +2 -2
- package/dist/components/circular-progress.js +5 -0
- package/dist/components/circular-progress.mjs +2 -2
- package/dist/components/code.js +5 -0
- package/dist/components/code.mjs +2 -2
- package/dist/components/divider.js +5 -0
- package/dist/components/divider.mjs +2 -2
- package/dist/components/drip.js +5 -0
- package/dist/components/drip.mjs +2 -2
- package/dist/components/dropdown.js +5 -0
- package/dist/components/dropdown.mjs +2 -2
- package/dist/components/image.js +5 -0
- package/dist/components/image.mjs +2 -2
- package/dist/components/index.js +33 -9
- package/dist/components/index.mjs +31 -31
- package/dist/components/input.d.ts +32 -0
- package/dist/components/input.js +22 -7
- package/dist/components/input.mjs +2 -2
- package/dist/components/kbd.js +5 -0
- package/dist/components/kbd.mjs +2 -2
- package/dist/components/link.js +5 -0
- package/dist/components/link.mjs +2 -2
- package/dist/components/modal.js +5 -0
- package/dist/components/modal.mjs +2 -2
- package/dist/components/navbar.js +5 -0
- package/dist/components/navbar.mjs +2 -2
- package/dist/components/pagination.js +5 -0
- package/dist/components/pagination.mjs +2 -2
- package/dist/components/popover.js +5 -0
- package/dist/components/popover.mjs +2 -2
- package/dist/components/progress.js +5 -0
- package/dist/components/progress.mjs +2 -2
- package/dist/components/radio.js +5 -0
- package/dist/components/radio.mjs +2 -2
- package/dist/components/skeleton.js +5 -0
- package/dist/components/skeleton.mjs +2 -2
- package/dist/components/snippet.js +5 -0
- package/dist/components/snippet.mjs +2 -2
- package/dist/components/spacer.js +5 -0
- package/dist/components/spacer.mjs +2 -2
- package/dist/components/spinner.js +5 -0
- package/dist/components/spinner.mjs +2 -2
- package/dist/components/table.d.ts +24 -0
- package/dist/components/table.js +16 -2
- package/dist/components/table.mjs +2 -2
- package/dist/components/tabs.js +5 -0
- package/dist/components/tabs.mjs +2 -2
- package/dist/components/toggle.js +5 -0
- package/dist/components/toggle.mjs +2 -2
- package/dist/components/user.js +5 -0
- package/dist/components/user.mjs +2 -2
- package/dist/index.js +55 -25
- package/dist/index.mjs +32 -32
- package/dist/plugin.js +22 -16
- package/dist/plugin.mjs +1 -1
- package/dist/utils/tv.js +5 -0
- package/dist/utils/tv.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,112 +1,112 @@
|
|
|
1
1
|
import "./chunk-PRWEADY4.mjs";
|
|
2
2
|
import {
|
|
3
3
|
user
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NXGWHM2G.mjs";
|
|
5
5
|
import {
|
|
6
6
|
radio,
|
|
7
7
|
radioGroup
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2ZZ5QMHO.mjs";
|
|
9
9
|
import {
|
|
10
10
|
skeleton
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EUS2SEYI.mjs";
|
|
12
12
|
import {
|
|
13
13
|
snippet
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-B55QBA5E.mjs";
|
|
15
15
|
import {
|
|
16
16
|
spacer
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EC4F6RJF.mjs";
|
|
18
18
|
import {
|
|
19
19
|
spinner
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NAY2XKLY.mjs";
|
|
21
21
|
import {
|
|
22
22
|
table
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2OA2D2OJ.mjs";
|
|
24
24
|
import {
|
|
25
25
|
tabs
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UOD2L4IP.mjs";
|
|
27
27
|
import {
|
|
28
28
|
toggle
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-6BLLWSWM.mjs";
|
|
30
30
|
import {
|
|
31
31
|
input
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ERIVC7UK.mjs";
|
|
33
33
|
import {
|
|
34
34
|
kbd
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-XY766PDD.mjs";
|
|
36
36
|
import {
|
|
37
37
|
link,
|
|
38
38
|
linkAnchorClasses
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-QX5UKEWK.mjs";
|
|
40
40
|
import {
|
|
41
41
|
modal
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ERKNFIKY.mjs";
|
|
43
43
|
import {
|
|
44
44
|
navbar
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-66LVDEMB.mjs";
|
|
46
46
|
import {
|
|
47
47
|
pagination
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ZHTSPUDN.mjs";
|
|
49
49
|
import {
|
|
50
50
|
popover
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-2QUE56PB.mjs";
|
|
52
52
|
import {
|
|
53
53
|
progress
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-LQGOKGQV.mjs";
|
|
55
55
|
import {
|
|
56
56
|
chip
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-3PTYRMI4.mjs";
|
|
58
58
|
import {
|
|
59
59
|
circularProgress
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-XPLXQDB3.mjs";
|
|
61
61
|
import {
|
|
62
62
|
code
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-77O7KLUI.mjs";
|
|
64
64
|
import {
|
|
65
65
|
divider
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-YSXRNNDV.mjs";
|
|
67
67
|
import {
|
|
68
68
|
drip
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-GNLIYZAQ.mjs";
|
|
70
70
|
import {
|
|
71
71
|
dropdown,
|
|
72
72
|
dropdownItem,
|
|
73
73
|
dropdownMenu,
|
|
74
74
|
dropdownSection
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-NQPPVHK4.mjs";
|
|
76
76
|
import {
|
|
77
77
|
image
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-WBNF66V7.mjs";
|
|
79
79
|
import {
|
|
80
80
|
accordion,
|
|
81
81
|
accordionItem
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-MKYSU3XO.mjs";
|
|
83
83
|
import {
|
|
84
84
|
avatar,
|
|
85
85
|
avatarGroup
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-B66TU4DC.mjs";
|
|
87
87
|
import {
|
|
88
88
|
badge
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-XCWQAA5D.mjs";
|
|
90
90
|
import {
|
|
91
91
|
button,
|
|
92
92
|
buttonGroup
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-AYHGQSL4.mjs";
|
|
94
94
|
import {
|
|
95
95
|
card
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-3NXFJ2VH.mjs";
|
|
97
97
|
import {
|
|
98
98
|
checkbox,
|
|
99
99
|
checkboxGroup
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-VVOIHMB5.mjs";
|
|
101
101
|
import "./chunk-CMYR6AOY.mjs";
|
|
102
102
|
import "./chunk-K7LK7NCE.mjs";
|
|
103
103
|
import {
|
|
104
104
|
colorVariants
|
|
105
105
|
} from "./chunk-2PIR7DFM.mjs";
|
|
106
|
-
import "./chunk-
|
|
106
|
+
import "./chunk-6AEINX52.mjs";
|
|
107
107
|
import {
|
|
108
108
|
nextui
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-ZZIKFGJI.mjs";
|
|
110
110
|
import "./chunk-XA5ALA4E.mjs";
|
|
111
111
|
import "./chunk-DYIIRM5B.mjs";
|
|
112
112
|
import "./chunk-DI2L75XK.mjs";
|
package/dist/plugin.js
CHANGED
|
@@ -775,6 +775,24 @@ var resolveConfig = (themes = {}, defaultTheme, prefix) => {
|
|
|
775
775
|
};
|
|
776
776
|
var corePlugin = (themes = {}, defaultTheme, prefix, omitCommonColors) => {
|
|
777
777
|
const resolved = resolveConfig(themes, defaultTheme, prefix);
|
|
778
|
+
const minSizes = {
|
|
779
|
+
"unit-1": `var(--${prefix}-spacing-unit)`,
|
|
780
|
+
"unit-2": `var(--${prefix}-spacing-unit-2`,
|
|
781
|
+
"unit-3": `var(--${prefix}-spacing-unit-3)`,
|
|
782
|
+
"unit-3.5": `var(--${prefix}-spacing-unit-3_5)`,
|
|
783
|
+
"unit-4": `var(--${prefix}-spacing-unit-4)`,
|
|
784
|
+
"unit-5": `var(--${prefix}-spacing-unit-5)`,
|
|
785
|
+
"unit-6": `var(--${prefix}-spacing-unit-6)`,
|
|
786
|
+
"unit-7": `var(--${prefix}-spacing-unit-7)`,
|
|
787
|
+
"unit-8": `var(--${prefix}-spacing-unit-8)`,
|
|
788
|
+
"unit-9": `var(--${prefix}-spacing-unit-9)`,
|
|
789
|
+
"unit-10": `var(--${prefix}-spacing-unit-10)`,
|
|
790
|
+
"unit-11": `var(--${prefix}-spacing-unit-11)`,
|
|
791
|
+
"unit-12": `var(--${prefix}-spacing-unit-12)`,
|
|
792
|
+
"unit-16": `var(--${prefix}-spacing-unit-16)`,
|
|
793
|
+
"unit-20": `var(--${prefix}-spacing-unit-20)`,
|
|
794
|
+
"unit-24": `var(--${prefix}-spacing-unit-24)`
|
|
795
|
+
};
|
|
778
796
|
return (0, import_plugin.default)(
|
|
779
797
|
({ addBase, addUtilities, addVariant }) => {
|
|
780
798
|
addBase({
|
|
@@ -805,22 +823,10 @@ var corePlugin = (themes = {}, defaultTheme, prefix, omitCommonColors) => {
|
|
|
805
823
|
...createSpacingUnits(prefix)
|
|
806
824
|
},
|
|
807
825
|
minWidth: {
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
"unit-4": `var(--${prefix}-spacing-unit-4)`,
|
|
813
|
-
"unit-5": `var(--${prefix}-spacing-unit-5)`,
|
|
814
|
-
"unit-6": `var(--${prefix}-spacing-unit-6)`,
|
|
815
|
-
"unit-7": `var(--${prefix}-spacing-unit-7)`,
|
|
816
|
-
"unit-8": `var(--${prefix}-spacing-unit-8)`,
|
|
817
|
-
"unit-9": `var(--${prefix}-spacing-unit-9)`,
|
|
818
|
-
"unit-10": `var(--${prefix}-spacing-unit-10)`,
|
|
819
|
-
"unit-11": `var(--${prefix}-spacing-unit-11)`,
|
|
820
|
-
"unit-12": `var(--${prefix}-spacing-unit-12)`,
|
|
821
|
-
"unit-16": `var(--${prefix}-spacing-unit-16)`,
|
|
822
|
-
"unit-20": `var(--${prefix}-spacing-unit-20)`,
|
|
823
|
-
"unit-24": `var(--${prefix}-spacing-unit-24)`
|
|
826
|
+
...minSizes
|
|
827
|
+
},
|
|
828
|
+
minHeight: {
|
|
829
|
+
...minSizes
|
|
824
830
|
},
|
|
825
831
|
fontSize: {
|
|
826
832
|
tiny: [`var(--${prefix}-font-size-tiny)`, `var(--${prefix}-line-height-tiny)`],
|
package/dist/plugin.mjs
CHANGED
package/dist/utils/tv.js
CHANGED
package/dist/utils/tv.mjs
CHANGED