@nextui-org/theme 0.0.0-dev-v2-20230531020353 → 0.0.0-dev-v2-20230601002458
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-EQNNT2LH.mjs → chunk-HOQUCE4N.mjs} +2 -2
- package/dist/{chunk-3YUVISFE.mjs → chunk-WIVW4YCJ.mjs} +6 -7
- package/dist/components/button.js +6 -7
- package/dist/components/button.mjs +1 -1
- package/dist/components/index.js +8 -9
- package/dist/components/index.mjs +2 -2
- package/dist/components/spinner.js +2 -2
- package/dist/components/spinner.mjs +1 -1
- package/dist/index.js +8 -9
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
3
|
var spinner = tv({
|
|
4
4
|
slots: {
|
|
5
|
-
base: "inline-flex flex-col gap-2 items-center justify-center",
|
|
6
|
-
wrapper: "relative",
|
|
5
|
+
base: "relative inline-flex flex-col gap-2 items-center justify-center",
|
|
6
|
+
wrapper: "relative flex",
|
|
7
7
|
circle1: [
|
|
8
8
|
"absolute",
|
|
9
9
|
"w-full",
|
|
@@ -20,7 +20,6 @@ var button = tv({
|
|
|
20
20
|
"subpixel-antialiased",
|
|
21
21
|
"data-[pressed=true]:scale-95",
|
|
22
22
|
"overflow-hidden",
|
|
23
|
-
"gap-2",
|
|
24
23
|
"data-[focus-visible=true]:outline-none",
|
|
25
24
|
"data-[focus-visible=true]:ring-2",
|
|
26
25
|
"data-[focus-visible=true]:ring-primary",
|
|
@@ -39,11 +38,11 @@ var button = tv({
|
|
|
39
38
|
ghost: "border-2 bg-transparent"
|
|
40
39
|
},
|
|
41
40
|
size: {
|
|
42
|
-
xs: "px-2 h-6 text-xs",
|
|
43
|
-
sm: "px-3 h-8 text-sm",
|
|
44
|
-
md: "px-4 h-10 text-sm",
|
|
45
|
-
lg: "px-6 h-12 text-base",
|
|
46
|
-
xl: "px-8 h-14 text-lg"
|
|
41
|
+
xs: "px-2 min-w-[5rem] h-6 text-xs gap-1",
|
|
42
|
+
sm: "px-3 min-w-[6rem] h-8 text-sm gap-2",
|
|
43
|
+
md: "px-4 min-w-[7rem] h-10 text-sm gap-2",
|
|
44
|
+
lg: "px-6 min-w-[8rem] h-12 text-base gap-3",
|
|
45
|
+
xl: "px-8 min-w-[10rem] h-14 text-lg gap-3"
|
|
47
46
|
},
|
|
48
47
|
color: {
|
|
49
48
|
default: "",
|
|
@@ -77,7 +76,7 @@ var button = tv({
|
|
|
77
76
|
true: "[&:not(:first-child):not(:last-child)]:rounded-none"
|
|
78
77
|
},
|
|
79
78
|
isIconOnly: {
|
|
80
|
-
true: "p-0 gap-0",
|
|
79
|
+
true: "p-0 gap-0 min-w-fit",
|
|
81
80
|
false: "[&>svg]:max-w-[2em]"
|
|
82
81
|
},
|
|
83
82
|
disableAnimation: {
|
|
@@ -117,7 +117,6 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
117
117
|
"subpixel-antialiased",
|
|
118
118
|
"data-[pressed=true]:scale-95",
|
|
119
119
|
"overflow-hidden",
|
|
120
|
-
"gap-2",
|
|
121
120
|
"data-[focus-visible=true]:outline-none",
|
|
122
121
|
"data-[focus-visible=true]:ring-2",
|
|
123
122
|
"data-[focus-visible=true]:ring-primary",
|
|
@@ -136,11 +135,11 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
136
135
|
ghost: "border-2 bg-transparent"
|
|
137
136
|
},
|
|
138
137
|
size: {
|
|
139
|
-
xs: "px-2 h-6 text-xs",
|
|
140
|
-
sm: "px-3 h-8 text-sm",
|
|
141
|
-
md: "px-4 h-10 text-sm",
|
|
142
|
-
lg: "px-6 h-12 text-base",
|
|
143
|
-
xl: "px-8 h-14 text-lg"
|
|
138
|
+
xs: "px-2 min-w-[5rem] h-6 text-xs gap-1",
|
|
139
|
+
sm: "px-3 min-w-[6rem] h-8 text-sm gap-2",
|
|
140
|
+
md: "px-4 min-w-[7rem] h-10 text-sm gap-2",
|
|
141
|
+
lg: "px-6 min-w-[8rem] h-12 text-base gap-3",
|
|
142
|
+
xl: "px-8 min-w-[10rem] h-14 text-lg gap-3"
|
|
144
143
|
},
|
|
145
144
|
color: {
|
|
146
145
|
default: "",
|
|
@@ -174,7 +173,7 @@ var button = (0, import_tailwind_variants.tv)({
|
|
|
174
173
|
true: "[&:not(:first-child):not(:last-child)]:rounded-none"
|
|
175
174
|
},
|
|
176
175
|
isIconOnly: {
|
|
177
|
-
true: "p-0 gap-0",
|
|
176
|
+
true: "p-0 gap-0 min-w-fit",
|
|
178
177
|
false: "[&>svg]:max-w-[2em]"
|
|
179
178
|
},
|
|
180
179
|
disableAnimation: {
|
package/dist/components/index.js
CHANGED
|
@@ -687,7 +687,6 @@ var button = (0, import_tailwind_variants5.tv)({
|
|
|
687
687
|
"subpixel-antialiased",
|
|
688
688
|
"data-[pressed=true]:scale-95",
|
|
689
689
|
"overflow-hidden",
|
|
690
|
-
"gap-2",
|
|
691
690
|
"data-[focus-visible=true]:outline-none",
|
|
692
691
|
"data-[focus-visible=true]:ring-2",
|
|
693
692
|
"data-[focus-visible=true]:ring-primary",
|
|
@@ -706,11 +705,11 @@ var button = (0, import_tailwind_variants5.tv)({
|
|
|
706
705
|
ghost: "border-2 bg-transparent"
|
|
707
706
|
},
|
|
708
707
|
size: {
|
|
709
|
-
xs: "px-2 h-6 text-xs",
|
|
710
|
-
sm: "px-3 h-8 text-sm",
|
|
711
|
-
md: "px-4 h-10 text-sm",
|
|
712
|
-
lg: "px-6 h-12 text-base",
|
|
713
|
-
xl: "px-8 h-14 text-lg"
|
|
708
|
+
xs: "px-2 min-w-[5rem] h-6 text-xs gap-1",
|
|
709
|
+
sm: "px-3 min-w-[6rem] h-8 text-sm gap-2",
|
|
710
|
+
md: "px-4 min-w-[7rem] h-10 text-sm gap-2",
|
|
711
|
+
lg: "px-6 min-w-[8rem] h-12 text-base gap-3",
|
|
712
|
+
xl: "px-8 min-w-[10rem] h-14 text-lg gap-3"
|
|
714
713
|
},
|
|
715
714
|
color: {
|
|
716
715
|
default: "",
|
|
@@ -744,7 +743,7 @@ var button = (0, import_tailwind_variants5.tv)({
|
|
|
744
743
|
true: "[&:not(:first-child):not(:last-child)]:rounded-none"
|
|
745
744
|
},
|
|
746
745
|
isIconOnly: {
|
|
747
|
-
true: "p-0 gap-0",
|
|
746
|
+
true: "p-0 gap-0 min-w-fit",
|
|
748
747
|
false: "[&>svg]:max-w-[2em]"
|
|
749
748
|
},
|
|
750
749
|
disableAnimation: {
|
|
@@ -1073,8 +1072,8 @@ var drip = (0, import_tailwind_variants6.tv)({
|
|
|
1073
1072
|
var import_tailwind_variants7 = require("tailwind-variants");
|
|
1074
1073
|
var spinner = (0, import_tailwind_variants7.tv)({
|
|
1075
1074
|
slots: {
|
|
1076
|
-
base: "inline-flex flex-col gap-2 items-center justify-center",
|
|
1077
|
-
wrapper: "relative",
|
|
1075
|
+
base: "relative inline-flex flex-col gap-2 items-center justify-center",
|
|
1076
|
+
wrapper: "relative flex",
|
|
1078
1077
|
circle1: [
|
|
1079
1078
|
"absolute",
|
|
1080
1079
|
"w-full",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "../chunk-3B4SYPW2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
spinner
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-HOQUCE4N.mjs";
|
|
8
8
|
import {
|
|
9
9
|
table
|
|
10
10
|
} from "../chunk-U54UQOTS.mjs";
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
import {
|
|
78
78
|
button,
|
|
79
79
|
buttonGroup
|
|
80
|
-
} from "../chunk-
|
|
80
|
+
} from "../chunk-WIVW4YCJ.mjs";
|
|
81
81
|
import {
|
|
82
82
|
card
|
|
83
83
|
} from "../chunk-QW2ZGOKD.mjs";
|
|
@@ -26,8 +26,8 @@ module.exports = __toCommonJS(spinner_exports);
|
|
|
26
26
|
var import_tailwind_variants = require("tailwind-variants");
|
|
27
27
|
var spinner = (0, import_tailwind_variants.tv)({
|
|
28
28
|
slots: {
|
|
29
|
-
base: "inline-flex flex-col gap-2 items-center justify-center",
|
|
30
|
-
wrapper: "relative",
|
|
29
|
+
base: "relative inline-flex flex-col gap-2 items-center justify-center",
|
|
30
|
+
wrapper: "relative flex",
|
|
31
31
|
circle1: [
|
|
32
32
|
"absolute",
|
|
33
33
|
"w-full",
|
package/dist/index.js
CHANGED
|
@@ -719,7 +719,6 @@ var button = (0, import_tailwind_variants5.tv)({
|
|
|
719
719
|
"subpixel-antialiased",
|
|
720
720
|
"data-[pressed=true]:scale-95",
|
|
721
721
|
"overflow-hidden",
|
|
722
|
-
"gap-2",
|
|
723
722
|
"data-[focus-visible=true]:outline-none",
|
|
724
723
|
"data-[focus-visible=true]:ring-2",
|
|
725
724
|
"data-[focus-visible=true]:ring-primary",
|
|
@@ -738,11 +737,11 @@ var button = (0, import_tailwind_variants5.tv)({
|
|
|
738
737
|
ghost: "border-2 bg-transparent"
|
|
739
738
|
},
|
|
740
739
|
size: {
|
|
741
|
-
xs: "px-2 h-6 text-xs",
|
|
742
|
-
sm: "px-3 h-8 text-sm",
|
|
743
|
-
md: "px-4 h-10 text-sm",
|
|
744
|
-
lg: "px-6 h-12 text-base",
|
|
745
|
-
xl: "px-8 h-14 text-lg"
|
|
740
|
+
xs: "px-2 min-w-[5rem] h-6 text-xs gap-1",
|
|
741
|
+
sm: "px-3 min-w-[6rem] h-8 text-sm gap-2",
|
|
742
|
+
md: "px-4 min-w-[7rem] h-10 text-sm gap-2",
|
|
743
|
+
lg: "px-6 min-w-[8rem] h-12 text-base gap-3",
|
|
744
|
+
xl: "px-8 min-w-[10rem] h-14 text-lg gap-3"
|
|
746
745
|
},
|
|
747
746
|
color: {
|
|
748
747
|
default: "",
|
|
@@ -776,7 +775,7 @@ var button = (0, import_tailwind_variants5.tv)({
|
|
|
776
775
|
true: "[&:not(:first-child):not(:last-child)]:rounded-none"
|
|
777
776
|
},
|
|
778
777
|
isIconOnly: {
|
|
779
|
-
true: "p-0 gap-0",
|
|
778
|
+
true: "p-0 gap-0 min-w-fit",
|
|
780
779
|
false: "[&>svg]:max-w-[2em]"
|
|
781
780
|
},
|
|
782
781
|
disableAnimation: {
|
|
@@ -1105,8 +1104,8 @@ var drip = (0, import_tailwind_variants6.tv)({
|
|
|
1105
1104
|
var import_tailwind_variants7 = require("tailwind-variants");
|
|
1106
1105
|
var spinner = (0, import_tailwind_variants7.tv)({
|
|
1107
1106
|
slots: {
|
|
1108
|
-
base: "inline-flex flex-col gap-2 items-center justify-center",
|
|
1109
|
-
wrapper: "relative",
|
|
1107
|
+
base: "relative inline-flex flex-col gap-2 items-center justify-center",
|
|
1108
|
+
wrapper: "relative flex",
|
|
1110
1109
|
circle1: [
|
|
1111
1110
|
"absolute",
|
|
1112
1111
|
"w-full",
|
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-3B4SYPW2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
spinner
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HOQUCE4N.mjs";
|
|
8
8
|
import {
|
|
9
9
|
table
|
|
10
10
|
} from "./chunk-U54UQOTS.mjs";
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
import {
|
|
78
78
|
button,
|
|
79
79
|
buttonGroup
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-WIVW4YCJ.mjs";
|
|
81
81
|
import {
|
|
82
82
|
card
|
|
83
83
|
} from "./chunk-QW2ZGOKD.mjs";
|