iryx-ui 0.20.0 → 0.22.0
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/component-names.d.ts +1 -1
- package/dist/component-names.js +1 -1
- package/dist/components/Carousel.js +5 -0
- package/dist/components/Carousel.vue.d.ts +74 -0
- package/dist/components/Carousel.vue_vue_type_script_setup_true_lang.js +220 -0
- package/dist/components/Checkbox.vue.d.ts +20 -3
- package/dist/components/Checkbox.vue_vue_type_script_setup_true_lang.js +90 -43
- package/dist/components/Progress.vue.d.ts +29 -3
- package/dist/components/Progress.vue_vue_type_script_setup_true_lang.js +103 -47
- package/dist/components/RadioGroup.vue.d.ts +12 -0
- package/dist/components/RadioGroup.vue_vue_type_script_setup_true_lang.js +73 -39
- package/dist/components/Switch.vue_vue_type_script_setup_true_lang.js +35 -35
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +124 -122
- package/dist/index.d.ts +1 -0
- package/dist/index.js +127 -126
- package/dist/theme/carousel.d.ts +65 -0
- package/dist/theme/carousel.js +22 -0
- package/dist/theme/checkbox.d.ts +42 -39
- package/dist/theme/checkbox.js +117 -15
- package/dist/theme/form.d.ts +3 -3
- package/dist/theme/presets.d.ts +8 -2
- package/dist/theme/presets.js +2 -2
- package/dist/theme/progress.d.ts +75 -0
- package/dist/theme/progress.js +43 -11
- package/dist/theme/radio-group.d.ts +45 -30
- package/dist/theme/radio-group.js +118 -11
- package/package.json +1 -1
- package/theme.css +25 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
//#region src/theme/carousel.ts
|
|
3
|
+
var t = e({
|
|
4
|
+
slots: {
|
|
5
|
+
root: "relative",
|
|
6
|
+
track: "flex snap-x snap-mandatory [scrollbar-width:none] overflow-x-auto scroll-smooth outline-none focus-visible:ring-2 focus-visible:ring-primary/50 motion-reduce:scroll-auto [&::-webkit-scrollbar]:hidden",
|
|
7
|
+
item: "shrink-0 snap-start px-px",
|
|
8
|
+
viewport: "relative",
|
|
9
|
+
control: "absolute inset-y-0 z-10 flex items-center",
|
|
10
|
+
dots: "mt-4 flex items-center justify-center gap-2",
|
|
11
|
+
dot: "h-2 w-2 rounded-full bg-border transition-none outline-none focus-visible:ring-2 focus-visible:ring-primary/50 data-[state=active]:w-6 data-[state=active]:bg-primary"
|
|
12
|
+
},
|
|
13
|
+
variants: { gap: {
|
|
14
|
+
none: {},
|
|
15
|
+
sm: { track: "gap-2" },
|
|
16
|
+
md: { track: "gap-4" },
|
|
17
|
+
lg: { track: "gap-6" }
|
|
18
|
+
} },
|
|
19
|
+
defaultVariants: { gap: "md" }
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { t as carouselTheme };
|
package/dist/theme/checkbox.d.ts
CHANGED
|
@@ -1,96 +1,99 @@
|
|
|
1
1
|
export declare const checkboxTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
variant: {
|
|
3
|
+
checkbox: {
|
|
4
4
|
root: string;
|
|
5
|
-
indicator: string;
|
|
6
5
|
};
|
|
7
|
-
|
|
6
|
+
card: {
|
|
8
7
|
root: string;
|
|
9
|
-
indicator: string;
|
|
10
8
|
};
|
|
11
|
-
|
|
9
|
+
tile: {
|
|
12
10
|
root: string;
|
|
13
|
-
|
|
11
|
+
content: string;
|
|
14
12
|
};
|
|
15
13
|
};
|
|
14
|
+
size: {
|
|
15
|
+
sm: {};
|
|
16
|
+
md: {};
|
|
17
|
+
lg: {};
|
|
18
|
+
};
|
|
16
19
|
withText: {
|
|
17
|
-
true: {
|
|
18
|
-
root: string;
|
|
19
|
-
};
|
|
20
|
+
true: {};
|
|
20
21
|
};
|
|
21
22
|
invalid: {
|
|
22
|
-
true: {
|
|
23
|
-
root: string;
|
|
24
|
-
};
|
|
23
|
+
true: {};
|
|
25
24
|
};
|
|
26
25
|
}, {
|
|
27
26
|
wrapper: string;
|
|
28
27
|
root: string;
|
|
28
|
+
mark: string;
|
|
29
29
|
indicator: string;
|
|
30
|
+
icon: string;
|
|
30
31
|
content: string;
|
|
31
32
|
label: string;
|
|
32
33
|
description: string;
|
|
33
34
|
}, undefined, {
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
variant: {
|
|
36
|
+
checkbox: {
|
|
36
37
|
root: string;
|
|
37
|
-
indicator: string;
|
|
38
38
|
};
|
|
39
|
-
|
|
39
|
+
card: {
|
|
40
40
|
root: string;
|
|
41
|
-
indicator: string;
|
|
42
41
|
};
|
|
43
|
-
|
|
42
|
+
tile: {
|
|
44
43
|
root: string;
|
|
45
|
-
|
|
44
|
+
content: string;
|
|
46
45
|
};
|
|
47
46
|
};
|
|
47
|
+
size: {
|
|
48
|
+
sm: {};
|
|
49
|
+
md: {};
|
|
50
|
+
lg: {};
|
|
51
|
+
};
|
|
48
52
|
withText: {
|
|
49
|
-
true: {
|
|
50
|
-
root: string;
|
|
51
|
-
};
|
|
53
|
+
true: {};
|
|
52
54
|
};
|
|
53
55
|
invalid: {
|
|
54
|
-
true: {
|
|
55
|
-
root: string;
|
|
56
|
-
};
|
|
56
|
+
true: {};
|
|
57
57
|
};
|
|
58
58
|
}, {
|
|
59
59
|
wrapper: string;
|
|
60
60
|
root: string;
|
|
61
|
+
mark: string;
|
|
61
62
|
indicator: string;
|
|
63
|
+
icon: string;
|
|
62
64
|
content: string;
|
|
63
65
|
label: string;
|
|
64
66
|
description: string;
|
|
65
67
|
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
variant: {
|
|
69
|
+
checkbox: {
|
|
68
70
|
root: string;
|
|
69
|
-
indicator: string;
|
|
70
71
|
};
|
|
71
|
-
|
|
72
|
+
card: {
|
|
72
73
|
root: string;
|
|
73
|
-
indicator: string;
|
|
74
74
|
};
|
|
75
|
-
|
|
75
|
+
tile: {
|
|
76
76
|
root: string;
|
|
77
|
-
|
|
77
|
+
content: string;
|
|
78
78
|
};
|
|
79
79
|
};
|
|
80
|
+
size: {
|
|
81
|
+
sm: {};
|
|
82
|
+
md: {};
|
|
83
|
+
lg: {};
|
|
84
|
+
};
|
|
80
85
|
withText: {
|
|
81
|
-
true: {
|
|
82
|
-
root: string;
|
|
83
|
-
};
|
|
86
|
+
true: {};
|
|
84
87
|
};
|
|
85
88
|
invalid: {
|
|
86
|
-
true: {
|
|
87
|
-
root: string;
|
|
88
|
-
};
|
|
89
|
+
true: {};
|
|
89
90
|
};
|
|
90
91
|
}, {
|
|
91
92
|
wrapper: string;
|
|
92
93
|
root: string;
|
|
94
|
+
mark: string;
|
|
93
95
|
indicator: string;
|
|
96
|
+
icon: string;
|
|
94
97
|
content: string;
|
|
95
98
|
label: string;
|
|
96
99
|
description: string;
|
package/dist/theme/checkbox.js
CHANGED
|
@@ -3,36 +3,138 @@ import { tv as e } from "tailwind-variants";
|
|
|
3
3
|
var t = e({
|
|
4
4
|
slots: {
|
|
5
5
|
wrapper: "flex items-start gap-2.5",
|
|
6
|
-
root: "peer
|
|
6
|
+
root: "peer cursor-pointer transition-[color,background-color,border-color,box-shadow] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 disabled:cursor-not-allowed disabled:opacity-50",
|
|
7
|
+
mark: "flex shrink-0 items-center justify-center rounded border border-border bg-background text-primary-foreground transition-[color,background-color,border-color] group-data-[state=checked]/item:border-primary group-data-[state=checked]/item:bg-primary group-data-[state=indeterminate]/item:border-primary group-data-[state=indeterminate]/item:bg-primary",
|
|
7
8
|
indicator: "flex items-center justify-center text-current",
|
|
9
|
+
icon: "text-muted-foreground transition-colors",
|
|
8
10
|
content: "grid gap-1",
|
|
9
11
|
label: "text-sm leading-5 font-medium text-foreground select-none",
|
|
10
12
|
description: "text-sm leading-snug text-muted-foreground"
|
|
11
13
|
},
|
|
12
14
|
variants: {
|
|
15
|
+
variant: {
|
|
16
|
+
checkbox: { root: "flex shrink-0 items-center justify-center rounded border border-border bg-background text-primary-foreground data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary" },
|
|
17
|
+
card: { root: "flex w-full items-start gap-3 rounded-lg border border-border bg-background text-left hover:bg-accent/50 data-[state=checked]:border-primary data-[state=checked]:bg-primary/5 data-[state=indeterminate]:border-primary" },
|
|
18
|
+
tile: {
|
|
19
|
+
root: "flex w-full flex-col items-center gap-2 rounded-lg border border-border bg-background text-center hover:bg-accent/50 data-[state=checked]:border-primary data-[state=checked]:bg-primary/5 data-[state=checked]:[&_[data-slot=icon]]:text-primary",
|
|
20
|
+
content: "justify-items-center gap-0.5"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
13
23
|
size: {
|
|
14
|
-
sm: {
|
|
24
|
+
sm: {},
|
|
25
|
+
md: {},
|
|
26
|
+
lg: {}
|
|
27
|
+
},
|
|
28
|
+
withText: { true: {} },
|
|
29
|
+
invalid: { true: {} }
|
|
30
|
+
},
|
|
31
|
+
compoundVariants: [
|
|
32
|
+
{
|
|
33
|
+
variant: "checkbox",
|
|
34
|
+
size: "sm",
|
|
35
|
+
class: {
|
|
15
36
|
root: "size-3.5",
|
|
16
37
|
indicator: "[&_svg]:size-2.5"
|
|
17
|
-
}
|
|
18
|
-
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
variant: "checkbox",
|
|
42
|
+
size: "md",
|
|
43
|
+
class: {
|
|
19
44
|
root: "size-4",
|
|
20
45
|
indicator: "[&_svg]:size-3"
|
|
21
|
-
}
|
|
22
|
-
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
variant: "checkbox",
|
|
50
|
+
size: "lg",
|
|
51
|
+
class: {
|
|
23
52
|
root: "size-5",
|
|
24
53
|
indicator: "[&_svg]:size-3.5"
|
|
25
54
|
}
|
|
26
55
|
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
56
|
+
{
|
|
57
|
+
variant: "checkbox",
|
|
58
|
+
withText: !0,
|
|
59
|
+
class: { root: "mt-0.5" }
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
variant: "checkbox",
|
|
63
|
+
size: "lg",
|
|
64
|
+
withText: !0,
|
|
65
|
+
class: { root: "mt-0" }
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
variant: "checkbox",
|
|
69
|
+
invalid: !0,
|
|
70
|
+
class: { root: "border-red-500 focus-visible:ring-red-500/40" }
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
variant: "card",
|
|
74
|
+
size: "sm",
|
|
75
|
+
class: {
|
|
76
|
+
root: "p-3",
|
|
77
|
+
mark: "mt-0.5 size-3.5",
|
|
78
|
+
indicator: "[&_svg]:size-2.5"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
variant: "card",
|
|
83
|
+
size: "md",
|
|
84
|
+
class: {
|
|
85
|
+
root: "p-4",
|
|
86
|
+
mark: "mt-0.5 size-4",
|
|
87
|
+
indicator: "[&_svg]:size-3"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
variant: "card",
|
|
92
|
+
size: "lg",
|
|
93
|
+
class: {
|
|
94
|
+
root: "p-5",
|
|
95
|
+
mark: "size-5",
|
|
96
|
+
indicator: "[&_svg]:size-3.5"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
variant: "card",
|
|
101
|
+
invalid: !0,
|
|
102
|
+
class: { root: "border-red-500 focus-visible:ring-red-500/40" }
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
variant: "tile",
|
|
106
|
+
size: "sm",
|
|
107
|
+
class: {
|
|
108
|
+
root: "p-3",
|
|
109
|
+
icon: "size-5"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
variant: "tile",
|
|
114
|
+
size: "md",
|
|
115
|
+
class: {
|
|
116
|
+
root: "p-4",
|
|
117
|
+
icon: "size-6"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
variant: "tile",
|
|
122
|
+
size: "lg",
|
|
123
|
+
class: {
|
|
124
|
+
root: "p-5",
|
|
125
|
+
icon: "size-7"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
variant: "tile",
|
|
130
|
+
invalid: !0,
|
|
131
|
+
class: { root: "border-red-500 focus-visible:ring-red-500/40" }
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
defaultVariants: {
|
|
135
|
+
variant: "checkbox",
|
|
136
|
+
size: "md"
|
|
137
|
+
}
|
|
36
138
|
});
|
|
37
139
|
//#endregion
|
|
38
140
|
export { t as checkboxTheme };
|
package/dist/theme/form.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ export declare const formFieldTheme: import("tailwind-variants").TVReturnType<{
|
|
|
5
5
|
header?: import("tailwind-variants").ClassValue;
|
|
6
6
|
label?: import("tailwind-variants").ClassValue;
|
|
7
7
|
description?: import("tailwind-variants").ClassValue;
|
|
8
|
-
control?: import("tailwind-variants").ClassValue;
|
|
9
8
|
error?: import("tailwind-variants").ClassValue;
|
|
9
|
+
control?: import("tailwind-variants").ClassValue;
|
|
10
10
|
hint?: import("tailwind-variants").ClassValue;
|
|
11
11
|
help?: import("tailwind-variants").ClassValue;
|
|
12
12
|
};
|
|
@@ -18,8 +18,8 @@ export declare const formFieldTheme: import("tailwind-variants").TVReturnType<{
|
|
|
18
18
|
header?: import("tailwind-variants").ClassValue;
|
|
19
19
|
label?: import("tailwind-variants").ClassValue;
|
|
20
20
|
description?: import("tailwind-variants").ClassValue;
|
|
21
|
-
control?: import("tailwind-variants").ClassValue;
|
|
22
21
|
error?: import("tailwind-variants").ClassValue;
|
|
22
|
+
control?: import("tailwind-variants").ClassValue;
|
|
23
23
|
hint?: import("tailwind-variants").ClassValue;
|
|
24
24
|
help?: import("tailwind-variants").ClassValue;
|
|
25
25
|
};
|
|
@@ -40,8 +40,8 @@ export declare const formFieldTheme: import("tailwind-variants").TVReturnType<{
|
|
|
40
40
|
header?: import("tailwind-variants").ClassValue;
|
|
41
41
|
label?: import("tailwind-variants").ClassValue;
|
|
42
42
|
description?: import("tailwind-variants").ClassValue;
|
|
43
|
-
control?: import("tailwind-variants").ClassValue;
|
|
44
43
|
error?: import("tailwind-variants").ClassValue;
|
|
44
|
+
control?: import("tailwind-variants").ClassValue;
|
|
45
45
|
hint?: import("tailwind-variants").ClassValue;
|
|
46
46
|
help?: import("tailwind-variants").ClassValue;
|
|
47
47
|
};
|
package/dist/theme/presets.d.ts
CHANGED
|
@@ -33,8 +33,14 @@ export interface ThemeColors {
|
|
|
33
33
|
}
|
|
34
34
|
/** A theme provides token values per appearance mode. Omitted tokens keep the defaults from theme.css. */
|
|
35
35
|
export interface Theme {
|
|
36
|
-
light
|
|
37
|
-
dark
|
|
36
|
+
light?: ThemeColors;
|
|
37
|
+
dark?: ThemeColors;
|
|
38
|
+
/**
|
|
39
|
+
* Corner radius for the whole library — what `rounded-lg` resolves to, with
|
|
40
|
+
* the rest of the scale derived from it. One value rather than one per mode:
|
|
41
|
+
* corners do not change between light and dark.
|
|
42
|
+
*/
|
|
43
|
+
radius?: string;
|
|
38
44
|
}
|
|
39
45
|
/**
|
|
40
46
|
* Built-in theme presets. Each swaps only the brand primary (solid colour +
|
package/dist/theme/presets.js
CHANGED
|
@@ -66,8 +66,8 @@ function r(t) {
|
|
|
66
66
|
}
|
|
67
67
|
function i(e) {
|
|
68
68
|
if (typeof document > "u") return;
|
|
69
|
-
let i = typeof e == "string" ? t[e] : e, a = document.getElementById(n);
|
|
70
|
-
|
|
69
|
+
let i = typeof e == "string" ? t[e] : e, a = i.radius == null ? "" : `--iryx-radius: ${i.radius}; `, o = document.getElementById(n);
|
|
70
|
+
o || (o = document.createElement("style"), o.id = n, document.head.appendChild(o)), o.textContent = `:root { ${a}${r(i.light ?? {})} }\n.dark { ${r(i.dark ?? {})} }`;
|
|
71
71
|
}
|
|
72
72
|
function a() {
|
|
73
73
|
typeof document > "u" || document.getElementById(n)?.remove();
|
package/dist/theme/progress.d.ts
CHANGED
|
@@ -1,50 +1,69 @@
|
|
|
1
1
|
export declare const progressTheme: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
shape: {
|
|
3
|
+
linear: {};
|
|
4
|
+
circle: {
|
|
5
|
+
root: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
2
8
|
variant: {
|
|
3
9
|
primary: {
|
|
4
10
|
indicator: string;
|
|
5
11
|
segment: string;
|
|
6
12
|
legendSwatch: string;
|
|
13
|
+
ringIndicator: string;
|
|
7
14
|
};
|
|
8
15
|
success: {
|
|
9
16
|
indicator: string;
|
|
10
17
|
segment: string;
|
|
11
18
|
legendSwatch: string;
|
|
19
|
+
ringIndicator: string;
|
|
12
20
|
};
|
|
13
21
|
warning: {
|
|
14
22
|
indicator: string;
|
|
15
23
|
segment: string;
|
|
16
24
|
legendSwatch: string;
|
|
25
|
+
ringIndicator: string;
|
|
17
26
|
};
|
|
18
27
|
danger: {
|
|
19
28
|
indicator: string;
|
|
20
29
|
segment: string;
|
|
21
30
|
legendSwatch: string;
|
|
31
|
+
ringIndicator: string;
|
|
22
32
|
};
|
|
23
33
|
info: {
|
|
24
34
|
indicator: string;
|
|
25
35
|
segment: string;
|
|
26
36
|
legendSwatch: string;
|
|
37
|
+
ringIndicator: string;
|
|
27
38
|
};
|
|
28
39
|
neutral: {
|
|
29
40
|
indicator: string;
|
|
30
41
|
segment: string;
|
|
31
42
|
legendSwatch: string;
|
|
43
|
+
ringIndicator: string;
|
|
32
44
|
};
|
|
33
45
|
};
|
|
34
46
|
size: {
|
|
35
47
|
sm: {
|
|
36
48
|
track: string;
|
|
49
|
+
ring: string;
|
|
50
|
+
ringValue: string;
|
|
37
51
|
};
|
|
38
52
|
md: {
|
|
39
53
|
track: string;
|
|
54
|
+
ring: string;
|
|
55
|
+
ringValue: string;
|
|
40
56
|
};
|
|
41
57
|
lg: {
|
|
42
58
|
track: string;
|
|
59
|
+
ring: string;
|
|
60
|
+
ringValue: string;
|
|
43
61
|
};
|
|
44
62
|
};
|
|
45
63
|
indeterminate: {
|
|
46
64
|
true: {
|
|
47
65
|
indicator: string;
|
|
66
|
+
ring: string;
|
|
48
67
|
};
|
|
49
68
|
};
|
|
50
69
|
}, {
|
|
@@ -59,53 +78,78 @@ export declare const progressTheme: import("tailwind-variants").TVReturnType<{
|
|
|
59
78
|
legendItem: string;
|
|
60
79
|
legendSwatch: string;
|
|
61
80
|
legendValue: string;
|
|
81
|
+
ring: string;
|
|
82
|
+
ringTrack: string;
|
|
83
|
+
ringIndicator: string;
|
|
84
|
+
ringContent: string;
|
|
85
|
+
ringValue: string;
|
|
86
|
+
ringLabel: string;
|
|
62
87
|
}, undefined, {
|
|
88
|
+
shape: {
|
|
89
|
+
linear: {};
|
|
90
|
+
circle: {
|
|
91
|
+
root: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
63
94
|
variant: {
|
|
64
95
|
primary: {
|
|
65
96
|
indicator: string;
|
|
66
97
|
segment: string;
|
|
67
98
|
legendSwatch: string;
|
|
99
|
+
ringIndicator: string;
|
|
68
100
|
};
|
|
69
101
|
success: {
|
|
70
102
|
indicator: string;
|
|
71
103
|
segment: string;
|
|
72
104
|
legendSwatch: string;
|
|
105
|
+
ringIndicator: string;
|
|
73
106
|
};
|
|
74
107
|
warning: {
|
|
75
108
|
indicator: string;
|
|
76
109
|
segment: string;
|
|
77
110
|
legendSwatch: string;
|
|
111
|
+
ringIndicator: string;
|
|
78
112
|
};
|
|
79
113
|
danger: {
|
|
80
114
|
indicator: string;
|
|
81
115
|
segment: string;
|
|
82
116
|
legendSwatch: string;
|
|
117
|
+
ringIndicator: string;
|
|
83
118
|
};
|
|
84
119
|
info: {
|
|
85
120
|
indicator: string;
|
|
86
121
|
segment: string;
|
|
87
122
|
legendSwatch: string;
|
|
123
|
+
ringIndicator: string;
|
|
88
124
|
};
|
|
89
125
|
neutral: {
|
|
90
126
|
indicator: string;
|
|
91
127
|
segment: string;
|
|
92
128
|
legendSwatch: string;
|
|
129
|
+
ringIndicator: string;
|
|
93
130
|
};
|
|
94
131
|
};
|
|
95
132
|
size: {
|
|
96
133
|
sm: {
|
|
97
134
|
track: string;
|
|
135
|
+
ring: string;
|
|
136
|
+
ringValue: string;
|
|
98
137
|
};
|
|
99
138
|
md: {
|
|
100
139
|
track: string;
|
|
140
|
+
ring: string;
|
|
141
|
+
ringValue: string;
|
|
101
142
|
};
|
|
102
143
|
lg: {
|
|
103
144
|
track: string;
|
|
145
|
+
ring: string;
|
|
146
|
+
ringValue: string;
|
|
104
147
|
};
|
|
105
148
|
};
|
|
106
149
|
indeterminate: {
|
|
107
150
|
true: {
|
|
108
151
|
indicator: string;
|
|
152
|
+
ring: string;
|
|
109
153
|
};
|
|
110
154
|
};
|
|
111
155
|
}, {
|
|
@@ -120,53 +164,78 @@ export declare const progressTheme: import("tailwind-variants").TVReturnType<{
|
|
|
120
164
|
legendItem: string;
|
|
121
165
|
legendSwatch: string;
|
|
122
166
|
legendValue: string;
|
|
167
|
+
ring: string;
|
|
168
|
+
ringTrack: string;
|
|
169
|
+
ringIndicator: string;
|
|
170
|
+
ringContent: string;
|
|
171
|
+
ringValue: string;
|
|
172
|
+
ringLabel: string;
|
|
123
173
|
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
174
|
+
shape: {
|
|
175
|
+
linear: {};
|
|
176
|
+
circle: {
|
|
177
|
+
root: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
124
180
|
variant: {
|
|
125
181
|
primary: {
|
|
126
182
|
indicator: string;
|
|
127
183
|
segment: string;
|
|
128
184
|
legendSwatch: string;
|
|
185
|
+
ringIndicator: string;
|
|
129
186
|
};
|
|
130
187
|
success: {
|
|
131
188
|
indicator: string;
|
|
132
189
|
segment: string;
|
|
133
190
|
legendSwatch: string;
|
|
191
|
+
ringIndicator: string;
|
|
134
192
|
};
|
|
135
193
|
warning: {
|
|
136
194
|
indicator: string;
|
|
137
195
|
segment: string;
|
|
138
196
|
legendSwatch: string;
|
|
197
|
+
ringIndicator: string;
|
|
139
198
|
};
|
|
140
199
|
danger: {
|
|
141
200
|
indicator: string;
|
|
142
201
|
segment: string;
|
|
143
202
|
legendSwatch: string;
|
|
203
|
+
ringIndicator: string;
|
|
144
204
|
};
|
|
145
205
|
info: {
|
|
146
206
|
indicator: string;
|
|
147
207
|
segment: string;
|
|
148
208
|
legendSwatch: string;
|
|
209
|
+
ringIndicator: string;
|
|
149
210
|
};
|
|
150
211
|
neutral: {
|
|
151
212
|
indicator: string;
|
|
152
213
|
segment: string;
|
|
153
214
|
legendSwatch: string;
|
|
215
|
+
ringIndicator: string;
|
|
154
216
|
};
|
|
155
217
|
};
|
|
156
218
|
size: {
|
|
157
219
|
sm: {
|
|
158
220
|
track: string;
|
|
221
|
+
ring: string;
|
|
222
|
+
ringValue: string;
|
|
159
223
|
};
|
|
160
224
|
md: {
|
|
161
225
|
track: string;
|
|
226
|
+
ring: string;
|
|
227
|
+
ringValue: string;
|
|
162
228
|
};
|
|
163
229
|
lg: {
|
|
164
230
|
track: string;
|
|
231
|
+
ring: string;
|
|
232
|
+
ringValue: string;
|
|
165
233
|
};
|
|
166
234
|
};
|
|
167
235
|
indeterminate: {
|
|
168
236
|
true: {
|
|
169
237
|
indicator: string;
|
|
238
|
+
ring: string;
|
|
170
239
|
};
|
|
171
240
|
};
|
|
172
241
|
}, {
|
|
@@ -181,5 +250,11 @@ export declare const progressTheme: import("tailwind-variants").TVReturnType<{
|
|
|
181
250
|
legendItem: string;
|
|
182
251
|
legendSwatch: string;
|
|
183
252
|
legendValue: string;
|
|
253
|
+
ring: string;
|
|
254
|
+
ringTrack: string;
|
|
255
|
+
ringIndicator: string;
|
|
256
|
+
ringContent: string;
|
|
257
|
+
ringValue: string;
|
|
258
|
+
ringLabel: string;
|
|
184
259
|
}>>;
|
|
185
260
|
export type ProgressSlots = keyof ReturnType<typeof progressTheme>;
|