@nextui-org/theme 0.0.0-dev-v2-20230525214932 → 0.0.0-dev-v2-20230527131721
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-W5WYYDCM.mjs → chunk-4A7R2B5L.mjs} +4 -4
- package/dist/{chunk-MFJMHP3B.mjs → chunk-5FMGABPD.mjs} +16 -14
- package/dist/{chunk-WFCALVUC.mjs → chunk-DTLDG5KJ.mjs} +1 -1
- package/dist/{chunk-AU7WYHMP.mjs → chunk-FVTLDCTS.mjs} +2 -2
- package/dist/{chunk-TLJBVOUD.mjs → chunk-LMXA7XIQ.mjs} +5 -5
- package/dist/{chunk-M74ZSXB7.mjs → chunk-MZAUPTXE.mjs} +2 -2
- package/dist/{chunk-LQHWK6UV.mjs → chunk-TFNTYAAW.mjs} +3 -3
- package/dist/{chunk-WUXZWYH4.mjs → chunk-XUFLJ7RP.mjs} +6 -6
- package/dist/colors/common.mjs +3 -3
- package/dist/colors/index.mjs +6 -6
- package/dist/colors/semantic.mjs +5 -5
- package/dist/colors.mjs +6 -6
- package/dist/components/avatar.mjs +1 -1
- package/dist/components/badge.mjs +1 -1
- package/dist/components/button.mjs +1 -1
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +5 -5
- package/dist/components/checkbox.mjs +1 -1
- package/dist/components/chip.js +4 -4
- package/dist/components/chip.mjs +2 -2
- package/dist/components/circular-progress.d.ts +6 -5
- package/dist/components/circular-progress.js +2 -2
- package/dist/components/circular-progress.mjs +1 -1
- package/dist/components/code.js +1 -1
- package/dist/components/code.mjs +2 -2
- package/dist/components/index.js +28 -26
- package/dist/components/index.mjs +42 -42
- package/dist/components/pagination.mjs +1 -1
- package/dist/components/popover.mjs +1 -1
- package/dist/components/snippet.mjs +1 -1
- package/dist/components/spinner.d.ts +13 -12
- package/dist/components/spinner.js +16 -14
- package/dist/components/spinner.mjs +1 -1
- package/dist/components/tabs.mjs +1 -1
- package/dist/index.js +28 -26
- package/dist/index.mjs +61 -61
- package/dist/plugin.mjs +9 -9
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/{chunk-CRCBVLUP.mjs → chunk-W4HTBNGS.mjs} +6 -6
package/dist/components/index.js
CHANGED
|
@@ -1073,7 +1073,8 @@ var drip = (0, import_tailwind_variants6.tv)({
|
|
|
1073
1073
|
var import_tailwind_variants7 = require("tailwind-variants");
|
|
1074
1074
|
var spinner = (0, import_tailwind_variants7.tv)({
|
|
1075
1075
|
slots: {
|
|
1076
|
-
base: "inline-flex flex-col items-center justify-center
|
|
1076
|
+
base: "inline-flex flex-col gap-2 items-center justify-center",
|
|
1077
|
+
wrapper: "relative",
|
|
1077
1078
|
circle1: [
|
|
1078
1079
|
"absolute",
|
|
1079
1080
|
"w-full",
|
|
@@ -1104,34 +1105,34 @@ var spinner = (0, import_tailwind_variants7.tv)({
|
|
|
1104
1105
|
variants: {
|
|
1105
1106
|
size: {
|
|
1106
1107
|
xs: {
|
|
1107
|
-
|
|
1108
|
+
wrapper: "w-4 h-4",
|
|
1108
1109
|
circle1: "border-2",
|
|
1109
1110
|
circle2: "border-2",
|
|
1110
|
-
label: "
|
|
1111
|
+
label: "text-xs"
|
|
1111
1112
|
},
|
|
1112
1113
|
sm: {
|
|
1113
|
-
|
|
1114
|
+
wrapper: "w-5 h-5",
|
|
1114
1115
|
circle1: "border-2",
|
|
1115
1116
|
circle2: "border-2",
|
|
1116
|
-
label: "
|
|
1117
|
+
label: "text-xs"
|
|
1117
1118
|
},
|
|
1118
1119
|
md: {
|
|
1119
|
-
|
|
1120
|
+
wrapper: "w-8 h-8",
|
|
1120
1121
|
circle1: "border-3",
|
|
1121
1122
|
circle2: "border-3",
|
|
1122
|
-
label: "
|
|
1123
|
+
label: "text-sm"
|
|
1123
1124
|
},
|
|
1124
1125
|
lg: {
|
|
1125
|
-
|
|
1126
|
+
wrapper: "w-10 h-10",
|
|
1126
1127
|
circle1: "border-3",
|
|
1127
1128
|
circle2: "border-3",
|
|
1128
|
-
label: "
|
|
1129
|
+
label: "text-base"
|
|
1129
1130
|
},
|
|
1130
1131
|
xl: {
|
|
1131
|
-
|
|
1132
|
+
wrapper: "w-12 h-12",
|
|
1132
1133
|
circle1: "border-4",
|
|
1133
1134
|
circle2: "border-4",
|
|
1134
|
-
label: "
|
|
1135
|
+
label: "text-lg"
|
|
1135
1136
|
}
|
|
1136
1137
|
},
|
|
1137
1138
|
color: {
|
|
@@ -1169,8 +1170,8 @@ var spinner = (0, import_tailwind_variants7.tv)({
|
|
|
1169
1170
|
}
|
|
1170
1171
|
},
|
|
1171
1172
|
labelColor: {
|
|
1172
|
-
|
|
1173
|
-
label: "text-
|
|
1173
|
+
foreground: {
|
|
1174
|
+
label: "text-foreground"
|
|
1174
1175
|
},
|
|
1175
1176
|
primary: {
|
|
1176
1177
|
label: "text-primary"
|
|
@@ -1191,14 +1192,15 @@ var spinner = (0, import_tailwind_variants7.tv)({
|
|
|
1191
1192
|
},
|
|
1192
1193
|
defaultVariants: {
|
|
1193
1194
|
size: "md",
|
|
1194
|
-
color: "primary"
|
|
1195
|
+
color: "primary",
|
|
1196
|
+
labelColor: "foreground"
|
|
1195
1197
|
}
|
|
1196
1198
|
});
|
|
1197
1199
|
|
|
1198
1200
|
// src/components/code.ts
|
|
1199
1201
|
var import_tailwind_variants8 = require("tailwind-variants");
|
|
1200
1202
|
var code = (0, import_tailwind_variants8.tv)({
|
|
1201
|
-
base: ["px-2", "py-1", "font-mono", "
|
|
1203
|
+
base: ["px-2", "py-1", "h-fit", "font-mono", "font-normal", "inline-block", "whitespace-nowrap"],
|
|
1202
1204
|
variants: {
|
|
1203
1205
|
color: {
|
|
1204
1206
|
neutral: colorVariants.flat.neutral,
|
|
@@ -1776,7 +1778,7 @@ var import_tailwind_variants11 = require("tailwind-variants");
|
|
|
1776
1778
|
var chip = (0, import_tailwind_variants11.tv)({
|
|
1777
1779
|
slots: {
|
|
1778
1780
|
base: ["relative", "max-w-fit", "inline-flex", "items-center", "justify-between", "box-border"],
|
|
1779
|
-
content: "flex-1 text-inherit select-none font-
|
|
1781
|
+
content: "flex-1 text-inherit select-none font-normal",
|
|
1780
1782
|
dot: ["w-2", "h-2", "ml-1", "rounded-full"],
|
|
1781
1783
|
avatar: "flex-shrink-0",
|
|
1782
1784
|
closeButton: [
|
|
@@ -1843,19 +1845,19 @@ var chip = (0, import_tailwind_variants11.tv)({
|
|
|
1843
1845
|
avatar: "w-4 h-4"
|
|
1844
1846
|
},
|
|
1845
1847
|
md: {
|
|
1846
|
-
base: "px-1 h-7 text-
|
|
1848
|
+
base: "px-1 h-7 text-sm",
|
|
1847
1849
|
content: "px-2",
|
|
1848
1850
|
closeButton: "text-lg",
|
|
1849
1851
|
avatar: "w-5 h-5"
|
|
1850
1852
|
},
|
|
1851
1853
|
lg: {
|
|
1852
|
-
base: "px-2 h-8 text-
|
|
1854
|
+
base: "px-2 h-8 text-base",
|
|
1853
1855
|
content: "px-2",
|
|
1854
1856
|
closeButton: "text-xl",
|
|
1855
1857
|
avatar: "w-6 h-6"
|
|
1856
1858
|
},
|
|
1857
1859
|
xl: {
|
|
1858
|
-
base: "px-2 h-9 text-
|
|
1860
|
+
base: "px-2 h-9 text-lg",
|
|
1859
1861
|
content: "px-2",
|
|
1860
1862
|
closeButton: "text-2xl",
|
|
1861
1863
|
avatar: "w-7 h-7"
|
|
@@ -2629,8 +2631,8 @@ var checkbox = (0, import_tailwind_variants13.tv)({
|
|
|
2629
2631
|
"after:scale-50",
|
|
2630
2632
|
"after:opacity-0",
|
|
2631
2633
|
"after:origin-center",
|
|
2632
|
-
"group-data-[
|
|
2633
|
-
"group-data-[
|
|
2634
|
+
"group-data-[selected=true]:after:scale-100",
|
|
2635
|
+
"group-data-[selected=true]:after:opacity-100",
|
|
2634
2636
|
"group-data-[hover=true]:before:bg-neutral-100",
|
|
2635
2637
|
"group-data-[hover=true]:before:bg-neutral-100",
|
|
2636
2638
|
"group-data-[focus-visible=true]:outline-none",
|
|
@@ -2640,7 +2642,7 @@ var checkbox = (0, import_tailwind_variants13.tv)({
|
|
|
2640
2642
|
"group-data-[focus-visible=true]:ring-offset-background",
|
|
2641
2643
|
"group-data-[focus-visible=true]:dark:ring-offset-background-dark"
|
|
2642
2644
|
],
|
|
2643
|
-
icon: "z-10 w-4 h-3 opacity-0 group-data-[
|
|
2645
|
+
icon: "z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",
|
|
2644
2646
|
label: "relative text-foreground select-none"
|
|
2645
2647
|
},
|
|
2646
2648
|
variants: {
|
|
@@ -2725,8 +2727,8 @@ var checkbox = (0, import_tailwind_variants13.tv)({
|
|
|
2725
2727
|
"before:bg-foreground",
|
|
2726
2728
|
"before:w-0",
|
|
2727
2729
|
"before:h-0.5",
|
|
2728
|
-
"group-data-[
|
|
2729
|
-
"group-data-[
|
|
2730
|
+
"group-data-[selected=true]:opacity-60",
|
|
2731
|
+
"group-data-[selected=true]:before:w-full"
|
|
2730
2732
|
]
|
|
2731
2733
|
}
|
|
2732
2734
|
},
|
|
@@ -3745,7 +3747,7 @@ var circularProgress = (0, import_tailwind_variants19.tv)({
|
|
|
3745
3747
|
svgWrapper: "relative block",
|
|
3746
3748
|
svg: "z-0 relative overflow-hidden",
|
|
3747
3749
|
track: "h-full stroke-neutral-300/50",
|
|
3748
|
-
|
|
3750
|
+
indicator: "h-full stroke-current",
|
|
3749
3751
|
value: "absolute font-normal inset-0 flex items-center justify-center"
|
|
3750
3752
|
},
|
|
3751
3753
|
variants: {
|
|
@@ -3809,7 +3811,7 @@ var circularProgress = (0, import_tailwind_variants19.tv)({
|
|
|
3809
3811
|
disableAnimation: {
|
|
3810
3812
|
true: {},
|
|
3811
3813
|
false: {
|
|
3812
|
-
|
|
3814
|
+
indicator: "transition-all !duration-500"
|
|
3813
3815
|
}
|
|
3814
3816
|
}
|
|
3815
3817
|
},
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
import "../chunk-PRWEADY4.mjs";
|
|
2
|
-
import {
|
|
3
|
-
spacer
|
|
4
|
-
} from "../chunk-3B4SYPW2.mjs";
|
|
5
|
-
import {
|
|
6
|
-
spinner
|
|
7
|
-
} from "../chunk-MFJMHP3B.mjs";
|
|
8
|
-
import {
|
|
9
|
-
table
|
|
10
|
-
} from "../chunk-KWWWVBJL.mjs";
|
|
11
2
|
import {
|
|
12
3
|
tabs
|
|
13
4
|
} from "../chunk-UUJTS7XS.mjs";
|
|
@@ -17,15 +8,6 @@ import {
|
|
|
17
8
|
import {
|
|
18
9
|
user
|
|
19
10
|
} from "../chunk-ZNBW4PQF.mjs";
|
|
20
|
-
import {
|
|
21
|
-
modal
|
|
22
|
-
} from "../chunk-YMIOHWCD.mjs";
|
|
23
|
-
import {
|
|
24
|
-
navbar
|
|
25
|
-
} from "../chunk-LC5AFIW7.mjs";
|
|
26
|
-
import {
|
|
27
|
-
pagination
|
|
28
|
-
} from "../chunk-3LME35GX.mjs";
|
|
29
11
|
import {
|
|
30
12
|
popover
|
|
31
13
|
} from "../chunk-JWVJZEAT.mjs";
|
|
@@ -43,17 +25,14 @@ import {
|
|
|
43
25
|
snippet
|
|
44
26
|
} from "../chunk-5ZJFAFZA.mjs";
|
|
45
27
|
import {
|
|
46
|
-
|
|
47
|
-
} from "../chunk-
|
|
28
|
+
spacer
|
|
29
|
+
} from "../chunk-3B4SYPW2.mjs";
|
|
48
30
|
import {
|
|
49
|
-
|
|
50
|
-
} from "../chunk-
|
|
31
|
+
spinner
|
|
32
|
+
} from "../chunk-5FMGABPD.mjs";
|
|
51
33
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
dropdownMenu,
|
|
55
|
-
dropdownSection
|
|
56
|
-
} from "../chunk-7EC2WH7W.mjs";
|
|
34
|
+
table
|
|
35
|
+
} from "../chunk-KWWWVBJL.mjs";
|
|
57
36
|
import {
|
|
58
37
|
image
|
|
59
38
|
} from "../chunk-6D57DOQF.mjs";
|
|
@@ -68,39 +47,60 @@ import {
|
|
|
68
47
|
linkAnchorClasses
|
|
69
48
|
} from "../chunk-YQXYRWJP.mjs";
|
|
70
49
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "../chunk-Y43NAEAT.mjs";
|
|
50
|
+
modal
|
|
51
|
+
} from "../chunk-YMIOHWCD.mjs";
|
|
74
52
|
import {
|
|
75
|
-
|
|
76
|
-
} from "../chunk-
|
|
53
|
+
navbar
|
|
54
|
+
} from "../chunk-LC5AFIW7.mjs";
|
|
77
55
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "../chunk-HAR22HFA.mjs";
|
|
56
|
+
pagination
|
|
57
|
+
} from "../chunk-3LME35GX.mjs";
|
|
81
58
|
import {
|
|
82
59
|
card
|
|
83
60
|
} from "../chunk-NFNV2TXA.mjs";
|
|
84
61
|
import {
|
|
85
62
|
checkbox,
|
|
86
63
|
checkboxGroup
|
|
87
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-LMXA7XIQ.mjs";
|
|
88
65
|
import {
|
|
89
66
|
chip
|
|
90
|
-
} from "../chunk-
|
|
67
|
+
} from "../chunk-4A7R2B5L.mjs";
|
|
91
68
|
import {
|
|
92
69
|
circularProgress
|
|
93
|
-
} from "../chunk-
|
|
70
|
+
} from "../chunk-FVTLDCTS.mjs";
|
|
94
71
|
import {
|
|
95
72
|
code
|
|
96
|
-
} from "../chunk-
|
|
97
|
-
import
|
|
98
|
-
|
|
99
|
-
|
|
73
|
+
} from "../chunk-DTLDG5KJ.mjs";
|
|
74
|
+
import {
|
|
75
|
+
divider
|
|
76
|
+
} from "../chunk-5HKM2D3Z.mjs";
|
|
77
|
+
import {
|
|
78
|
+
drip
|
|
79
|
+
} from "../chunk-OIVGIOVG.mjs";
|
|
80
|
+
import {
|
|
81
|
+
dropdown,
|
|
82
|
+
dropdownItem,
|
|
83
|
+
dropdownMenu,
|
|
84
|
+
dropdownSection
|
|
85
|
+
} from "../chunk-7EC2WH7W.mjs";
|
|
100
86
|
import {
|
|
101
87
|
accordion,
|
|
102
88
|
accordionItem
|
|
103
89
|
} from "../chunk-7CTZKPXG.mjs";
|
|
90
|
+
import {
|
|
91
|
+
avatar,
|
|
92
|
+
avatarGroup
|
|
93
|
+
} from "../chunk-Y43NAEAT.mjs";
|
|
94
|
+
import {
|
|
95
|
+
badge
|
|
96
|
+
} from "../chunk-25QTQFHB.mjs";
|
|
97
|
+
import {
|
|
98
|
+
button,
|
|
99
|
+
buttonGroup
|
|
100
|
+
} from "../chunk-HAR22HFA.mjs";
|
|
101
|
+
import "../chunk-CMYR6AOY.mjs";
|
|
102
|
+
import "../chunk-RO3WUCFF.mjs";
|
|
103
|
+
import "../chunk-K7LK7NCE.mjs";
|
|
104
104
|
import "../chunk-INZK6TTL.mjs";
|
|
105
105
|
export {
|
|
106
106
|
accordion,
|
|
@@ -17,31 +17,31 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
17
17
|
declare const spinner: tailwind_variants.TVReturnType<{
|
|
18
18
|
size: {
|
|
19
19
|
xs: {
|
|
20
|
-
|
|
20
|
+
wrapper: string;
|
|
21
21
|
circle1: string;
|
|
22
22
|
circle2: string;
|
|
23
23
|
label: string;
|
|
24
24
|
};
|
|
25
25
|
sm: {
|
|
26
|
-
|
|
26
|
+
wrapper: string;
|
|
27
27
|
circle1: string;
|
|
28
28
|
circle2: string;
|
|
29
29
|
label: string;
|
|
30
30
|
};
|
|
31
31
|
md: {
|
|
32
|
-
|
|
32
|
+
wrapper: string;
|
|
33
33
|
circle1: string;
|
|
34
34
|
circle2: string;
|
|
35
35
|
label: string;
|
|
36
36
|
};
|
|
37
37
|
lg: {
|
|
38
|
-
|
|
38
|
+
wrapper: string;
|
|
39
39
|
circle1: string;
|
|
40
40
|
circle2: string;
|
|
41
41
|
label: string;
|
|
42
42
|
};
|
|
43
43
|
xl: {
|
|
44
|
-
|
|
44
|
+
wrapper: string;
|
|
45
45
|
circle1: string;
|
|
46
46
|
circle2: string;
|
|
47
47
|
label: string;
|
|
@@ -82,7 +82,7 @@ declare const spinner: tailwind_variants.TVReturnType<{
|
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
84
|
labelColor: {
|
|
85
|
-
|
|
85
|
+
foreground: {
|
|
86
86
|
label: string;
|
|
87
87
|
};
|
|
88
88
|
primary: {
|
|
@@ -103,37 +103,38 @@ declare const spinner: tailwind_variants.TVReturnType<{
|
|
|
103
103
|
};
|
|
104
104
|
}, unknown, {
|
|
105
105
|
base: string;
|
|
106
|
+
wrapper: string;
|
|
106
107
|
circle1: string[];
|
|
107
108
|
circle2: string[];
|
|
108
109
|
label: string;
|
|
109
110
|
}, undefined, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
110
111
|
size: {
|
|
111
112
|
xs: {
|
|
112
|
-
|
|
113
|
+
wrapper: string;
|
|
113
114
|
circle1: string;
|
|
114
115
|
circle2: string;
|
|
115
116
|
label: string;
|
|
116
117
|
};
|
|
117
118
|
sm: {
|
|
118
|
-
|
|
119
|
+
wrapper: string;
|
|
119
120
|
circle1: string;
|
|
120
121
|
circle2: string;
|
|
121
122
|
label: string;
|
|
122
123
|
};
|
|
123
124
|
md: {
|
|
124
|
-
|
|
125
|
+
wrapper: string;
|
|
125
126
|
circle1: string;
|
|
126
127
|
circle2: string;
|
|
127
128
|
label: string;
|
|
128
129
|
};
|
|
129
130
|
lg: {
|
|
130
|
-
|
|
131
|
+
wrapper: string;
|
|
131
132
|
circle1: string;
|
|
132
133
|
circle2: string;
|
|
133
134
|
label: string;
|
|
134
135
|
};
|
|
135
136
|
xl: {
|
|
136
|
-
|
|
137
|
+
wrapper: string;
|
|
137
138
|
circle1: string;
|
|
138
139
|
circle2: string;
|
|
139
140
|
label: string;
|
|
@@ -174,7 +175,7 @@ declare const spinner: tailwind_variants.TVReturnType<{
|
|
|
174
175
|
};
|
|
175
176
|
};
|
|
176
177
|
labelColor: {
|
|
177
|
-
|
|
178
|
+
foreground: {
|
|
178
179
|
label: string;
|
|
179
180
|
};
|
|
180
181
|
primary: {
|
|
@@ -26,7 +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 items-center justify-center
|
|
29
|
+
base: "inline-flex flex-col gap-2 items-center justify-center",
|
|
30
|
+
wrapper: "relative",
|
|
30
31
|
circle1: [
|
|
31
32
|
"absolute",
|
|
32
33
|
"w-full",
|
|
@@ -57,34 +58,34 @@ var spinner = (0, import_tailwind_variants.tv)({
|
|
|
57
58
|
variants: {
|
|
58
59
|
size: {
|
|
59
60
|
xs: {
|
|
60
|
-
|
|
61
|
+
wrapper: "w-4 h-4",
|
|
61
62
|
circle1: "border-2",
|
|
62
63
|
circle2: "border-2",
|
|
63
|
-
label: "
|
|
64
|
+
label: "text-xs"
|
|
64
65
|
},
|
|
65
66
|
sm: {
|
|
66
|
-
|
|
67
|
+
wrapper: "w-5 h-5",
|
|
67
68
|
circle1: "border-2",
|
|
68
69
|
circle2: "border-2",
|
|
69
|
-
label: "
|
|
70
|
+
label: "text-xs"
|
|
70
71
|
},
|
|
71
72
|
md: {
|
|
72
|
-
|
|
73
|
+
wrapper: "w-8 h-8",
|
|
73
74
|
circle1: "border-3",
|
|
74
75
|
circle2: "border-3",
|
|
75
|
-
label: "
|
|
76
|
+
label: "text-sm"
|
|
76
77
|
},
|
|
77
78
|
lg: {
|
|
78
|
-
|
|
79
|
+
wrapper: "w-10 h-10",
|
|
79
80
|
circle1: "border-3",
|
|
80
81
|
circle2: "border-3",
|
|
81
|
-
label: "
|
|
82
|
+
label: "text-base"
|
|
82
83
|
},
|
|
83
84
|
xl: {
|
|
84
|
-
|
|
85
|
+
wrapper: "w-12 h-12",
|
|
85
86
|
circle1: "border-4",
|
|
86
87
|
circle2: "border-4",
|
|
87
|
-
label: "
|
|
88
|
+
label: "text-lg"
|
|
88
89
|
}
|
|
89
90
|
},
|
|
90
91
|
color: {
|
|
@@ -122,8 +123,8 @@ var spinner = (0, import_tailwind_variants.tv)({
|
|
|
122
123
|
}
|
|
123
124
|
},
|
|
124
125
|
labelColor: {
|
|
125
|
-
|
|
126
|
-
label: "text-
|
|
126
|
+
foreground: {
|
|
127
|
+
label: "text-foreground"
|
|
127
128
|
},
|
|
128
129
|
primary: {
|
|
129
130
|
label: "text-primary"
|
|
@@ -144,7 +145,8 @@ var spinner = (0, import_tailwind_variants.tv)({
|
|
|
144
145
|
},
|
|
145
146
|
defaultVariants: {
|
|
146
147
|
size: "md",
|
|
147
|
-
color: "primary"
|
|
148
|
+
color: "primary",
|
|
149
|
+
labelColor: "foreground"
|
|
148
150
|
}
|
|
149
151
|
});
|
|
150
152
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/components/tabs.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -1105,7 +1105,8 @@ var drip = (0, import_tailwind_variants6.tv)({
|
|
|
1105
1105
|
var import_tailwind_variants7 = require("tailwind-variants");
|
|
1106
1106
|
var spinner = (0, import_tailwind_variants7.tv)({
|
|
1107
1107
|
slots: {
|
|
1108
|
-
base: "inline-flex flex-col items-center justify-center
|
|
1108
|
+
base: "inline-flex flex-col gap-2 items-center justify-center",
|
|
1109
|
+
wrapper: "relative",
|
|
1109
1110
|
circle1: [
|
|
1110
1111
|
"absolute",
|
|
1111
1112
|
"w-full",
|
|
@@ -1136,34 +1137,34 @@ var spinner = (0, import_tailwind_variants7.tv)({
|
|
|
1136
1137
|
variants: {
|
|
1137
1138
|
size: {
|
|
1138
1139
|
xs: {
|
|
1139
|
-
|
|
1140
|
+
wrapper: "w-4 h-4",
|
|
1140
1141
|
circle1: "border-2",
|
|
1141
1142
|
circle2: "border-2",
|
|
1142
|
-
label: "
|
|
1143
|
+
label: "text-xs"
|
|
1143
1144
|
},
|
|
1144
1145
|
sm: {
|
|
1145
|
-
|
|
1146
|
+
wrapper: "w-5 h-5",
|
|
1146
1147
|
circle1: "border-2",
|
|
1147
1148
|
circle2: "border-2",
|
|
1148
|
-
label: "
|
|
1149
|
+
label: "text-xs"
|
|
1149
1150
|
},
|
|
1150
1151
|
md: {
|
|
1151
|
-
|
|
1152
|
+
wrapper: "w-8 h-8",
|
|
1152
1153
|
circle1: "border-3",
|
|
1153
1154
|
circle2: "border-3",
|
|
1154
|
-
label: "
|
|
1155
|
+
label: "text-sm"
|
|
1155
1156
|
},
|
|
1156
1157
|
lg: {
|
|
1157
|
-
|
|
1158
|
+
wrapper: "w-10 h-10",
|
|
1158
1159
|
circle1: "border-3",
|
|
1159
1160
|
circle2: "border-3",
|
|
1160
|
-
label: "
|
|
1161
|
+
label: "text-base"
|
|
1161
1162
|
},
|
|
1162
1163
|
xl: {
|
|
1163
|
-
|
|
1164
|
+
wrapper: "w-12 h-12",
|
|
1164
1165
|
circle1: "border-4",
|
|
1165
1166
|
circle2: "border-4",
|
|
1166
|
-
label: "
|
|
1167
|
+
label: "text-lg"
|
|
1167
1168
|
}
|
|
1168
1169
|
},
|
|
1169
1170
|
color: {
|
|
@@ -1201,8 +1202,8 @@ var spinner = (0, import_tailwind_variants7.tv)({
|
|
|
1201
1202
|
}
|
|
1202
1203
|
},
|
|
1203
1204
|
labelColor: {
|
|
1204
|
-
|
|
1205
|
-
label: "text-
|
|
1205
|
+
foreground: {
|
|
1206
|
+
label: "text-foreground"
|
|
1206
1207
|
},
|
|
1207
1208
|
primary: {
|
|
1208
1209
|
label: "text-primary"
|
|
@@ -1223,14 +1224,15 @@ var spinner = (0, import_tailwind_variants7.tv)({
|
|
|
1223
1224
|
},
|
|
1224
1225
|
defaultVariants: {
|
|
1225
1226
|
size: "md",
|
|
1226
|
-
color: "primary"
|
|
1227
|
+
color: "primary",
|
|
1228
|
+
labelColor: "foreground"
|
|
1227
1229
|
}
|
|
1228
1230
|
});
|
|
1229
1231
|
|
|
1230
1232
|
// src/components/code.ts
|
|
1231
1233
|
var import_tailwind_variants8 = require("tailwind-variants");
|
|
1232
1234
|
var code = (0, import_tailwind_variants8.tv)({
|
|
1233
|
-
base: ["px-2", "py-1", "font-mono", "
|
|
1235
|
+
base: ["px-2", "py-1", "h-fit", "font-mono", "font-normal", "inline-block", "whitespace-nowrap"],
|
|
1234
1236
|
variants: {
|
|
1235
1237
|
color: {
|
|
1236
1238
|
neutral: colorVariants.flat.neutral,
|
|
@@ -1808,7 +1810,7 @@ var import_tailwind_variants11 = require("tailwind-variants");
|
|
|
1808
1810
|
var chip = (0, import_tailwind_variants11.tv)({
|
|
1809
1811
|
slots: {
|
|
1810
1812
|
base: ["relative", "max-w-fit", "inline-flex", "items-center", "justify-between", "box-border"],
|
|
1811
|
-
content: "flex-1 text-inherit select-none font-
|
|
1813
|
+
content: "flex-1 text-inherit select-none font-normal",
|
|
1812
1814
|
dot: ["w-2", "h-2", "ml-1", "rounded-full"],
|
|
1813
1815
|
avatar: "flex-shrink-0",
|
|
1814
1816
|
closeButton: [
|
|
@@ -1875,19 +1877,19 @@ var chip = (0, import_tailwind_variants11.tv)({
|
|
|
1875
1877
|
avatar: "w-4 h-4"
|
|
1876
1878
|
},
|
|
1877
1879
|
md: {
|
|
1878
|
-
base: "px-1 h-7 text-
|
|
1880
|
+
base: "px-1 h-7 text-sm",
|
|
1879
1881
|
content: "px-2",
|
|
1880
1882
|
closeButton: "text-lg",
|
|
1881
1883
|
avatar: "w-5 h-5"
|
|
1882
1884
|
},
|
|
1883
1885
|
lg: {
|
|
1884
|
-
base: "px-2 h-8 text-
|
|
1886
|
+
base: "px-2 h-8 text-base",
|
|
1885
1887
|
content: "px-2",
|
|
1886
1888
|
closeButton: "text-xl",
|
|
1887
1889
|
avatar: "w-6 h-6"
|
|
1888
1890
|
},
|
|
1889
1891
|
xl: {
|
|
1890
|
-
base: "px-2 h-9 text-
|
|
1892
|
+
base: "px-2 h-9 text-lg",
|
|
1891
1893
|
content: "px-2",
|
|
1892
1894
|
closeButton: "text-2xl",
|
|
1893
1895
|
avatar: "w-7 h-7"
|
|
@@ -2661,8 +2663,8 @@ var checkbox = (0, import_tailwind_variants13.tv)({
|
|
|
2661
2663
|
"after:scale-50",
|
|
2662
2664
|
"after:opacity-0",
|
|
2663
2665
|
"after:origin-center",
|
|
2664
|
-
"group-data-[
|
|
2665
|
-
"group-data-[
|
|
2666
|
+
"group-data-[selected=true]:after:scale-100",
|
|
2667
|
+
"group-data-[selected=true]:after:opacity-100",
|
|
2666
2668
|
"group-data-[hover=true]:before:bg-neutral-100",
|
|
2667
2669
|
"group-data-[hover=true]:before:bg-neutral-100",
|
|
2668
2670
|
"group-data-[focus-visible=true]:outline-none",
|
|
@@ -2672,7 +2674,7 @@ var checkbox = (0, import_tailwind_variants13.tv)({
|
|
|
2672
2674
|
"group-data-[focus-visible=true]:ring-offset-background",
|
|
2673
2675
|
"group-data-[focus-visible=true]:dark:ring-offset-background-dark"
|
|
2674
2676
|
],
|
|
2675
|
-
icon: "z-10 w-4 h-3 opacity-0 group-data-[
|
|
2677
|
+
icon: "z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",
|
|
2676
2678
|
label: "relative text-foreground select-none"
|
|
2677
2679
|
},
|
|
2678
2680
|
variants: {
|
|
@@ -2757,8 +2759,8 @@ var checkbox = (0, import_tailwind_variants13.tv)({
|
|
|
2757
2759
|
"before:bg-foreground",
|
|
2758
2760
|
"before:w-0",
|
|
2759
2761
|
"before:h-0.5",
|
|
2760
|
-
"group-data-[
|
|
2761
|
-
"group-data-[
|
|
2762
|
+
"group-data-[selected=true]:opacity-60",
|
|
2763
|
+
"group-data-[selected=true]:before:w-full"
|
|
2762
2764
|
]
|
|
2763
2765
|
}
|
|
2764
2766
|
},
|
|
@@ -3777,7 +3779,7 @@ var circularProgress = (0, import_tailwind_variants19.tv)({
|
|
|
3777
3779
|
svgWrapper: "relative block",
|
|
3778
3780
|
svg: "z-0 relative overflow-hidden",
|
|
3779
3781
|
track: "h-full stroke-neutral-300/50",
|
|
3780
|
-
|
|
3782
|
+
indicator: "h-full stroke-current",
|
|
3781
3783
|
value: "absolute font-normal inset-0 flex items-center justify-center"
|
|
3782
3784
|
},
|
|
3783
3785
|
variants: {
|
|
@@ -3841,7 +3843,7 @@ var circularProgress = (0, import_tailwind_variants19.tv)({
|
|
|
3841
3843
|
disableAnimation: {
|
|
3842
3844
|
true: {},
|
|
3843
3845
|
false: {
|
|
3844
|
-
|
|
3846
|
+
indicator: "transition-all !duration-500"
|
|
3845
3847
|
}
|
|
3846
3848
|
}
|
|
3847
3849
|
},
|