@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
|
@@ -10,7 +10,7 @@ import { tv } from "tailwind-variants";
|
|
|
10
10
|
var chip = tv({
|
|
11
11
|
slots: {
|
|
12
12
|
base: ["relative", "max-w-fit", "inline-flex", "items-center", "justify-between", "box-border"],
|
|
13
|
-
content: "flex-1 text-inherit select-none font-
|
|
13
|
+
content: "flex-1 text-inherit select-none font-normal",
|
|
14
14
|
dot: ["w-2", "h-2", "ml-1", "rounded-full"],
|
|
15
15
|
avatar: "flex-shrink-0",
|
|
16
16
|
closeButton: [
|
|
@@ -77,19 +77,19 @@ var chip = tv({
|
|
|
77
77
|
avatar: "w-4 h-4"
|
|
78
78
|
},
|
|
79
79
|
md: {
|
|
80
|
-
base: "px-1 h-7 text-
|
|
80
|
+
base: "px-1 h-7 text-sm",
|
|
81
81
|
content: "px-2",
|
|
82
82
|
closeButton: "text-lg",
|
|
83
83
|
avatar: "w-5 h-5"
|
|
84
84
|
},
|
|
85
85
|
lg: {
|
|
86
|
-
base: "px-2 h-8 text-
|
|
86
|
+
base: "px-2 h-8 text-base",
|
|
87
87
|
content: "px-2",
|
|
88
88
|
closeButton: "text-xl",
|
|
89
89
|
avatar: "w-6 h-6"
|
|
90
90
|
},
|
|
91
91
|
xl: {
|
|
92
|
-
base: "px-2 h-9 text-
|
|
92
|
+
base: "px-2 h-9 text-lg",
|
|
93
93
|
content: "px-2",
|
|
94
94
|
closeButton: "text-2xl",
|
|
95
95
|
avatar: "w-7 h-7"
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
import { tv } from "tailwind-variants";
|
|
3
3
|
var spinner = tv({
|
|
4
4
|
slots: {
|
|
5
|
-
base: "inline-flex flex-col items-center justify-center
|
|
5
|
+
base: "inline-flex flex-col gap-2 items-center justify-center",
|
|
6
|
+
wrapper: "relative",
|
|
6
7
|
circle1: [
|
|
7
8
|
"absolute",
|
|
8
9
|
"w-full",
|
|
@@ -33,34 +34,34 @@ var spinner = tv({
|
|
|
33
34
|
variants: {
|
|
34
35
|
size: {
|
|
35
36
|
xs: {
|
|
36
|
-
|
|
37
|
+
wrapper: "w-4 h-4",
|
|
37
38
|
circle1: "border-2",
|
|
38
39
|
circle2: "border-2",
|
|
39
|
-
label: "
|
|
40
|
+
label: "text-xs"
|
|
40
41
|
},
|
|
41
42
|
sm: {
|
|
42
|
-
|
|
43
|
+
wrapper: "w-5 h-5",
|
|
43
44
|
circle1: "border-2",
|
|
44
45
|
circle2: "border-2",
|
|
45
|
-
label: "
|
|
46
|
+
label: "text-xs"
|
|
46
47
|
},
|
|
47
48
|
md: {
|
|
48
|
-
|
|
49
|
+
wrapper: "w-8 h-8",
|
|
49
50
|
circle1: "border-3",
|
|
50
51
|
circle2: "border-3",
|
|
51
|
-
label: "
|
|
52
|
+
label: "text-sm"
|
|
52
53
|
},
|
|
53
54
|
lg: {
|
|
54
|
-
|
|
55
|
+
wrapper: "w-10 h-10",
|
|
55
56
|
circle1: "border-3",
|
|
56
57
|
circle2: "border-3",
|
|
57
|
-
label: "
|
|
58
|
+
label: "text-base"
|
|
58
59
|
},
|
|
59
60
|
xl: {
|
|
60
|
-
|
|
61
|
+
wrapper: "w-12 h-12",
|
|
61
62
|
circle1: "border-4",
|
|
62
63
|
circle2: "border-4",
|
|
63
|
-
label: "
|
|
64
|
+
label: "text-lg"
|
|
64
65
|
}
|
|
65
66
|
},
|
|
66
67
|
color: {
|
|
@@ -98,8 +99,8 @@ var spinner = tv({
|
|
|
98
99
|
}
|
|
99
100
|
},
|
|
100
101
|
labelColor: {
|
|
101
|
-
|
|
102
|
-
label: "text-
|
|
102
|
+
foreground: {
|
|
103
|
+
label: "text-foreground"
|
|
103
104
|
},
|
|
104
105
|
primary: {
|
|
105
106
|
label: "text-primary"
|
|
@@ -120,7 +121,8 @@ var spinner = tv({
|
|
|
120
121
|
},
|
|
121
122
|
defaultVariants: {
|
|
122
123
|
size: "md",
|
|
123
|
-
color: "primary"
|
|
124
|
+
color: "primary",
|
|
125
|
+
labelColor: "foreground"
|
|
124
126
|
}
|
|
125
127
|
});
|
|
126
128
|
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
// src/components/code.ts
|
|
6
6
|
import { tv } from "tailwind-variants";
|
|
7
7
|
var code = tv({
|
|
8
|
-
base: ["px-2", "py-1", "font-mono", "
|
|
8
|
+
base: ["px-2", "py-1", "h-fit", "font-mono", "font-normal", "inline-block", "whitespace-nowrap"],
|
|
9
9
|
variants: {
|
|
10
10
|
color: {
|
|
11
11
|
neutral: colorVariants.flat.neutral,
|
|
@@ -7,7 +7,7 @@ var circularProgress = tv({
|
|
|
7
7
|
svgWrapper: "relative block",
|
|
8
8
|
svg: "z-0 relative overflow-hidden",
|
|
9
9
|
track: "h-full stroke-neutral-300/50",
|
|
10
|
-
|
|
10
|
+
indicator: "h-full stroke-current",
|
|
11
11
|
value: "absolute font-normal inset-0 flex items-center justify-center"
|
|
12
12
|
},
|
|
13
13
|
variants: {
|
|
@@ -71,7 +71,7 @@ var circularProgress = tv({
|
|
|
71
71
|
disableAnimation: {
|
|
72
72
|
true: {},
|
|
73
73
|
false: {
|
|
74
|
-
|
|
74
|
+
indicator: "transition-all !duration-500"
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
},
|
|
@@ -23,8 +23,8 @@ var checkbox = tv({
|
|
|
23
23
|
"after:scale-50",
|
|
24
24
|
"after:opacity-0",
|
|
25
25
|
"after:origin-center",
|
|
26
|
-
"group-data-[
|
|
27
|
-
"group-data-[
|
|
26
|
+
"group-data-[selected=true]:after:scale-100",
|
|
27
|
+
"group-data-[selected=true]:after:opacity-100",
|
|
28
28
|
"group-data-[hover=true]:before:bg-neutral-100",
|
|
29
29
|
"group-data-[hover=true]:before:bg-neutral-100",
|
|
30
30
|
"group-data-[focus-visible=true]:outline-none",
|
|
@@ -34,7 +34,7 @@ var checkbox = tv({
|
|
|
34
34
|
"group-data-[focus-visible=true]:ring-offset-background",
|
|
35
35
|
"group-data-[focus-visible=true]:dark:ring-offset-background-dark"
|
|
36
36
|
],
|
|
37
|
-
icon: "z-10 w-4 h-3 opacity-0 group-data-[
|
|
37
|
+
icon: "z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",
|
|
38
38
|
label: "relative text-foreground select-none"
|
|
39
39
|
},
|
|
40
40
|
variants: {
|
|
@@ -119,8 +119,8 @@ var checkbox = tv({
|
|
|
119
119
|
"before:bg-foreground",
|
|
120
120
|
"before:w-0",
|
|
121
121
|
"before:h-0.5",
|
|
122
|
-
"group-data-[
|
|
123
|
-
"group-data-[
|
|
122
|
+
"group-data-[selected=true]:opacity-60",
|
|
123
|
+
"group-data-[selected=true]:before:w-full"
|
|
124
124
|
]
|
|
125
125
|
}
|
|
126
126
|
},
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
utilities
|
|
3
3
|
} from "./chunk-XLATS5QU.mjs";
|
|
4
|
-
import {
|
|
5
|
-
baseStyles
|
|
6
|
-
} from "./chunk-INZK6TTL.mjs";
|
|
7
4
|
import {
|
|
8
5
|
semanticColors
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TFNTYAAW.mjs";
|
|
7
|
+
import {
|
|
8
|
+
commonColors
|
|
9
|
+
} from "./chunk-W4HTBNGS.mjs";
|
|
10
10
|
import {
|
|
11
11
|
removeDefaultKeys
|
|
12
12
|
} from "./chunk-37PIXVP4.mjs";
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
animations
|
|
15
15
|
} from "./chunk-DMASP6FA.mjs";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./chunk-
|
|
17
|
+
baseStyles
|
|
18
|
+
} from "./chunk-INZK6TTL.mjs";
|
|
19
19
|
|
|
20
20
|
// src/plugin.ts
|
|
21
21
|
import Color from "color";
|
package/dist/colors/common.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
commonColors
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-DCEG5LGX.mjs";
|
|
5
|
-
import "../chunk-L2OL7R23.mjs";
|
|
3
|
+
} from "../chunk-W4HTBNGS.mjs";
|
|
6
4
|
import "../chunk-YZYGFPNK.mjs";
|
|
7
5
|
import "../chunk-Y4YW5MKL.mjs";
|
|
8
6
|
import "../chunk-KZJBCC2H.mjs";
|
|
9
7
|
import "../chunk-T3GWIVAM.mjs";
|
|
10
8
|
import "../chunk-OR5PUD24.mjs";
|
|
9
|
+
import "../chunk-DCEG5LGX.mjs";
|
|
10
|
+
import "../chunk-L2OL7R23.mjs";
|
|
11
11
|
export {
|
|
12
12
|
commonColors
|
|
13
13
|
};
|
package/dist/colors/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colors
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-MZAUPTXE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
semanticColors
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-37PIXVP4.mjs";
|
|
6
|
+
} from "../chunk-TFNTYAAW.mjs";
|
|
8
7
|
import "../chunk-M63AFAHO.mjs";
|
|
9
8
|
import {
|
|
10
9
|
commonColors
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-DCEG5LGX.mjs";
|
|
13
|
-
import "../chunk-L2OL7R23.mjs";
|
|
10
|
+
} from "../chunk-W4HTBNGS.mjs";
|
|
14
11
|
import "../chunk-YZYGFPNK.mjs";
|
|
15
12
|
import "../chunk-Y4YW5MKL.mjs";
|
|
16
13
|
import "../chunk-KZJBCC2H.mjs";
|
|
17
14
|
import "../chunk-T3GWIVAM.mjs";
|
|
18
15
|
import "../chunk-OR5PUD24.mjs";
|
|
16
|
+
import "../chunk-DCEG5LGX.mjs";
|
|
17
|
+
import "../chunk-L2OL7R23.mjs";
|
|
18
|
+
import "../chunk-37PIXVP4.mjs";
|
|
19
19
|
export {
|
|
20
20
|
colors,
|
|
21
21
|
commonColors,
|
package/dist/colors/semantic.mjs
CHANGED
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
semanticColors,
|
|
3
3
|
semanticColorsDark,
|
|
4
4
|
semanticColorsLight
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-CRCBVLUP.mjs";
|
|
8
|
-
import "../chunk-DCEG5LGX.mjs";
|
|
9
|
-
import "../chunk-L2OL7R23.mjs";
|
|
5
|
+
} from "../chunk-TFNTYAAW.mjs";
|
|
6
|
+
import "../chunk-W4HTBNGS.mjs";
|
|
10
7
|
import "../chunk-YZYGFPNK.mjs";
|
|
11
8
|
import "../chunk-Y4YW5MKL.mjs";
|
|
12
9
|
import "../chunk-KZJBCC2H.mjs";
|
|
13
10
|
import "../chunk-T3GWIVAM.mjs";
|
|
14
11
|
import "../chunk-OR5PUD24.mjs";
|
|
12
|
+
import "../chunk-DCEG5LGX.mjs";
|
|
13
|
+
import "../chunk-L2OL7R23.mjs";
|
|
14
|
+
import "../chunk-37PIXVP4.mjs";
|
|
15
15
|
export {
|
|
16
16
|
semanticColors,
|
|
17
17
|
semanticColorsDark,
|
package/dist/colors.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "./chunk-WQEDQHKX.mjs";
|
|
2
2
|
import {
|
|
3
3
|
colors
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MZAUPTXE.mjs";
|
|
5
5
|
import {
|
|
6
6
|
semanticColors
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-37PIXVP4.mjs";
|
|
7
|
+
} from "./chunk-TFNTYAAW.mjs";
|
|
9
8
|
import "./chunk-M63AFAHO.mjs";
|
|
10
9
|
import {
|
|
11
10
|
commonColors
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-DCEG5LGX.mjs";
|
|
14
|
-
import "./chunk-L2OL7R23.mjs";
|
|
11
|
+
} from "./chunk-W4HTBNGS.mjs";
|
|
15
12
|
import "./chunk-YZYGFPNK.mjs";
|
|
16
13
|
import "./chunk-Y4YW5MKL.mjs";
|
|
17
14
|
import "./chunk-KZJBCC2H.mjs";
|
|
18
15
|
import "./chunk-T3GWIVAM.mjs";
|
|
19
16
|
import "./chunk-OR5PUD24.mjs";
|
|
17
|
+
import "./chunk-DCEG5LGX.mjs";
|
|
18
|
+
import "./chunk-L2OL7R23.mjs";
|
|
19
|
+
import "./chunk-37PIXVP4.mjs";
|
|
20
20
|
export {
|
|
21
21
|
colors,
|
|
22
22
|
commonColors,
|
|
@@ -10,7 +10,7 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
10
10
|
* @example
|
|
11
11
|
* <label className={base())}>
|
|
12
12
|
* // hidden input
|
|
13
|
-
* <span className={wrapper()} aria-hidden="true" data-
|
|
13
|
+
* <span className={wrapper()} aria-hidden="true" data-selected={selected}>
|
|
14
14
|
* <svg className={icon()}>
|
|
15
15
|
* // check icon
|
|
16
16
|
* </svg>
|
|
@@ -48,8 +48,8 @@ var checkbox = (0, import_tailwind_variants.tv)({
|
|
|
48
48
|
"after:scale-50",
|
|
49
49
|
"after:opacity-0",
|
|
50
50
|
"after:origin-center",
|
|
51
|
-
"group-data-[
|
|
52
|
-
"group-data-[
|
|
51
|
+
"group-data-[selected=true]:after:scale-100",
|
|
52
|
+
"group-data-[selected=true]:after:opacity-100",
|
|
53
53
|
"group-data-[hover=true]:before:bg-neutral-100",
|
|
54
54
|
"group-data-[hover=true]:before:bg-neutral-100",
|
|
55
55
|
"group-data-[focus-visible=true]:outline-none",
|
|
@@ -59,7 +59,7 @@ var checkbox = (0, import_tailwind_variants.tv)({
|
|
|
59
59
|
"group-data-[focus-visible=true]:ring-offset-background",
|
|
60
60
|
"group-data-[focus-visible=true]:dark:ring-offset-background-dark"
|
|
61
61
|
],
|
|
62
|
-
icon: "z-10 w-4 h-3 opacity-0 group-data-[
|
|
62
|
+
icon: "z-10 w-4 h-3 opacity-0 group-data-[selected=true]:opacity-100",
|
|
63
63
|
label: "relative text-foreground select-none"
|
|
64
64
|
},
|
|
65
65
|
variants: {
|
|
@@ -144,8 +144,8 @@ var checkbox = (0, import_tailwind_variants.tv)({
|
|
|
144
144
|
"before:bg-foreground",
|
|
145
145
|
"before:w-0",
|
|
146
146
|
"before:h-0.5",
|
|
147
|
-
"group-data-[
|
|
148
|
-
"group-data-[
|
|
147
|
+
"group-data-[selected=true]:opacity-60",
|
|
148
|
+
"group-data-[selected=true]:before:w-full"
|
|
149
149
|
]
|
|
150
150
|
}
|
|
151
151
|
},
|
package/dist/components/chip.js
CHANGED
|
@@ -113,7 +113,7 @@ var colorVariants = {
|
|
|
113
113
|
var chip = (0, import_tailwind_variants.tv)({
|
|
114
114
|
slots: {
|
|
115
115
|
base: ["relative", "max-w-fit", "inline-flex", "items-center", "justify-between", "box-border"],
|
|
116
|
-
content: "flex-1 text-inherit select-none font-
|
|
116
|
+
content: "flex-1 text-inherit select-none font-normal",
|
|
117
117
|
dot: ["w-2", "h-2", "ml-1", "rounded-full"],
|
|
118
118
|
avatar: "flex-shrink-0",
|
|
119
119
|
closeButton: [
|
|
@@ -180,19 +180,19 @@ var chip = (0, import_tailwind_variants.tv)({
|
|
|
180
180
|
avatar: "w-4 h-4"
|
|
181
181
|
},
|
|
182
182
|
md: {
|
|
183
|
-
base: "px-1 h-7 text-
|
|
183
|
+
base: "px-1 h-7 text-sm",
|
|
184
184
|
content: "px-2",
|
|
185
185
|
closeButton: "text-lg",
|
|
186
186
|
avatar: "w-5 h-5"
|
|
187
187
|
},
|
|
188
188
|
lg: {
|
|
189
|
-
base: "px-2 h-8 text-
|
|
189
|
+
base: "px-2 h-8 text-base",
|
|
190
190
|
content: "px-2",
|
|
191
191
|
closeButton: "text-xl",
|
|
192
192
|
avatar: "w-6 h-6"
|
|
193
193
|
},
|
|
194
194
|
xl: {
|
|
195
|
-
base: "px-2 h-9 text-
|
|
195
|
+
base: "px-2 h-9 text-lg",
|
|
196
196
|
content: "px-2",
|
|
197
197
|
closeButton: "text-2xl",
|
|
198
198
|
avatar: "w-7 h-7"
|
package/dist/components/chip.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chip
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-4A7R2B5L.mjs";
|
|
4
4
|
import "../chunk-CMYR6AOY.mjs";
|
|
5
|
-
import "../chunk-K7LK7NCE.mjs";
|
|
6
5
|
import "../chunk-RO3WUCFF.mjs";
|
|
6
|
+
import "../chunk-K7LK7NCE.mjs";
|
|
7
7
|
import "../chunk-INZK6TTL.mjs";
|
|
8
8
|
export {
|
|
9
9
|
chip
|
|
@@ -7,12 +7,13 @@ import * as tailwind_variants_dist_config from 'tailwind-variants/dist/config';
|
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```js
|
|
10
|
-
* const {base, svgWrapper, svg,
|
|
10
|
+
* const {base, svgWrapper, svg, indicator, value, label} = circularProgress({...})
|
|
11
11
|
*
|
|
12
12
|
* <div className={base()} aria-label="progress" role="progressbar" aria-valuenow={value} aria-valuemin={min} aria-valuemax={max}>
|
|
13
13
|
* <div className={svgWrapper()}>
|
|
14
14
|
* <svg className={svg()}>
|
|
15
|
-
* <circle className={
|
|
15
|
+
* <circle className={track()} />
|
|
16
|
+
* <circle className={indicator()} />
|
|
16
17
|
* </svg>
|
|
17
18
|
* <span className={value()}>{value}</span>
|
|
18
19
|
* </div>
|
|
@@ -81,7 +82,7 @@ declare const circularProgress: tailwind_variants.TVReturnType<{
|
|
|
81
82
|
disableAnimation: {
|
|
82
83
|
true: {};
|
|
83
84
|
false: {
|
|
84
|
-
|
|
85
|
+
indicator: string;
|
|
85
86
|
};
|
|
86
87
|
};
|
|
87
88
|
}, unknown, {
|
|
@@ -90,7 +91,7 @@ declare const circularProgress: tailwind_variants.TVReturnType<{
|
|
|
90
91
|
svgWrapper: string;
|
|
91
92
|
svg: string;
|
|
92
93
|
track: string;
|
|
93
|
-
|
|
94
|
+
indicator: string;
|
|
94
95
|
value: string;
|
|
95
96
|
}, undefined, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
96
97
|
color: {
|
|
@@ -153,7 +154,7 @@ declare const circularProgress: tailwind_variants.TVReturnType<{
|
|
|
153
154
|
disableAnimation: {
|
|
154
155
|
true: {};
|
|
155
156
|
false: {
|
|
156
|
-
|
|
157
|
+
indicator: string;
|
|
157
158
|
};
|
|
158
159
|
};
|
|
159
160
|
}, unknown>>;
|
|
@@ -31,7 +31,7 @@ var circularProgress = (0, import_tailwind_variants.tv)({
|
|
|
31
31
|
svgWrapper: "relative block",
|
|
32
32
|
svg: "z-0 relative overflow-hidden",
|
|
33
33
|
track: "h-full stroke-neutral-300/50",
|
|
34
|
-
|
|
34
|
+
indicator: "h-full stroke-current",
|
|
35
35
|
value: "absolute font-normal inset-0 flex items-center justify-center"
|
|
36
36
|
},
|
|
37
37
|
variants: {
|
|
@@ -95,7 +95,7 @@ var circularProgress = (0, import_tailwind_variants.tv)({
|
|
|
95
95
|
disableAnimation: {
|
|
96
96
|
true: {},
|
|
97
97
|
false: {
|
|
98
|
-
|
|
98
|
+
indicator: "transition-all !duration-500"
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
},
|
package/dist/components/code.js
CHANGED
|
@@ -101,7 +101,7 @@ var colorVariants = {
|
|
|
101
101
|
|
|
102
102
|
// src/components/code.ts
|
|
103
103
|
var code = (0, import_tailwind_variants.tv)({
|
|
104
|
-
base: ["px-2", "py-1", "font-mono", "
|
|
104
|
+
base: ["px-2", "py-1", "h-fit", "font-mono", "font-normal", "inline-block", "whitespace-nowrap"],
|
|
105
105
|
variants: {
|
|
106
106
|
color: {
|
|
107
107
|
neutral: colorVariants.flat.neutral,
|
package/dist/components/code.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
code
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-DTLDG5KJ.mjs";
|
|
4
4
|
import "../chunk-CMYR6AOY.mjs";
|
|
5
|
-
import "../chunk-K7LK7NCE.mjs";
|
|
6
5
|
import "../chunk-RO3WUCFF.mjs";
|
|
6
|
+
import "../chunk-K7LK7NCE.mjs";
|
|
7
7
|
import "../chunk-INZK6TTL.mjs";
|
|
8
8
|
export {
|
|
9
9
|
code
|