@trackunit/react-components 2.13.0 → 2.13.1
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/index.cjs.js +579 -468
- package/index.esm.js +580 -469
- package/package.json +6 -6
- package/src/components/Alert/Alert.variants.d.ts +220 -21
- package/src/components/Badge/Badge.variants.d.ts +82 -6
- package/src/components/Breadcrumb/Breadcrumb.variant.d.ts +45 -6
- package/src/components/Card/Card.variants.d.ts +202 -20
- package/src/components/Clickable/Clickable.variants.d.ts +27 -3
- package/src/components/Collapse/Collapse.variants.d.ts +248 -24
- package/src/components/CopyableText/CopyableText.variants.d.ts +41 -4
- package/src/components/DetailsList/DetailsList.variants.d.ts +30 -4
- package/src/components/EmptyState/EmptyState.variants.d.ts +12 -2
- package/src/components/EmptyValue/EmptyValue.variants.d.ts +6 -1
- package/src/components/ExternalLink/ExternalLink.variants.d.ts +27 -3
- package/src/components/Heading/Heading.variants.d.ts +66 -5
- package/src/components/Highlight/Highlight.variants.d.ts +59 -5
- package/src/components/HorizontalOverflowScroller/HorizontalOverflowScroller.variants.d.ts +12 -2
- package/src/components/HorizontalOverflowScroller/OverflowIndicator.variants.d.ts +56 -8
- package/src/components/Icon/Icon.variants.d.ts +174 -5
- package/src/components/Indicator/Indicator.variants.d.ts +340 -14
- package/src/components/InteractableItem/InteractableItem.variants.d.ts +95 -6
- package/src/components/KPI/KPI.variants.d.ts +66 -6
- package/src/components/KPICard/KPICard.variants.d.ts +84 -9
- package/src/components/LabeledValue/LabeledValue.variants.d.ts +72 -9
- package/src/components/List/List.variants.d.ts +81 -8
- package/src/components/ListItem/ListItem.variants.d.ts +64 -10
- package/src/components/Menu/MenuContent/MenuContent.variants.d.ts +51 -7
- package/src/components/Menu/MenuItem/MenuItem.variants.d.ts +224 -20
- package/src/components/Menu/MoreMenu/MoreMenu.variants.d.ts +6 -1
- package/src/components/Notice/Notice.variants.d.ts +92 -8
- package/src/components/Page/Page.variants.d.ts +63 -6
- package/src/components/Page/PageContent.d.ts +4 -0
- package/src/components/PageHeader/PageHeader.variants.d.ts +34 -5
- package/src/components/Pagination/Pagination.variants.d.ts +12 -2
- package/src/components/Popover/Popover.variants.d.ts +34 -5
- package/src/components/PreferenceCard/PreferenceCard.variants.d.ts +187 -20
- package/src/components/Sheet/Sheet.variants.d.ts +101 -10
- package/src/components/Sidebar/Sidebar.variants.d.ts +43 -4
- package/src/components/SidebarContentLayout/SidebarContentLayout.variants.d.ts +111 -9
- package/src/components/Skeleton/Skeleton.variants.d.ts +55 -3
- package/src/components/SkeletonLines/SkeletonLines.variants.d.ts +6 -1
- package/src/components/Spacer/Spacer.variants.d.ts +44 -4
- package/src/components/Spinner/Spinner.variants.d.ts +100 -10
- package/src/components/Tabs/Tabs.variants.d.ts +45 -6
- package/src/components/Tag/Tag.variants.d.ts +157 -11
- package/src/components/Text/Text.variants.d.ts +127 -11
- package/src/components/ToggleGroup/ToggleGroup.variants.d.ts +178 -17
- package/src/components/Tooltip/Tooltip.variants.d.ts +135 -12
- package/src/components/ValueBar/SegmentedValueBar.variants.d.ts +57 -6
- package/src/components/ValueBar/ValueBar.shared.d.ts +27 -3
- package/src/components/ValueBar/ValueBar.variants.d.ts +30 -3
- package/src/components/ZStack/ZStack.variants.d.ts +12 -2
- package/src/components/buttons/shared/Button.variants.d.ts +389 -20
|
@@ -1,10 +1,100 @@
|
|
|
1
|
-
export declare const cvaSpinner: (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
export declare const cvaSpinner: import("cva").CVAComponent<Omit<{
|
|
2
|
+
base: string[];
|
|
3
|
+
variants: {
|
|
4
|
+
size: {
|
|
5
|
+
small: string[];
|
|
6
|
+
medium: string[];
|
|
7
|
+
large: string[];
|
|
8
|
+
};
|
|
9
|
+
mode: {
|
|
10
|
+
dark: string[];
|
|
11
|
+
light: string[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
defaultVariants: {
|
|
15
|
+
size: "medium";
|
|
16
|
+
mode: "light";
|
|
17
|
+
};
|
|
18
|
+
}, "defaultVariants"> & {
|
|
19
|
+
variants: {
|
|
20
|
+
size: {
|
|
21
|
+
small: string[];
|
|
22
|
+
medium: string[];
|
|
23
|
+
large: string[];
|
|
24
|
+
};
|
|
25
|
+
mode: {
|
|
26
|
+
dark: string[];
|
|
27
|
+
light: string[];
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
defaultVariants: Omit<{}, "size" | "mode"> & {
|
|
31
|
+
size: "medium";
|
|
32
|
+
mode: "light";
|
|
33
|
+
};
|
|
34
|
+
}, {
|
|
35
|
+
size: {
|
|
36
|
+
small: string[];
|
|
37
|
+
medium: string[];
|
|
38
|
+
large: string[];
|
|
39
|
+
};
|
|
40
|
+
mode: {
|
|
41
|
+
dark: string[];
|
|
42
|
+
light: string[];
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
export declare const cvaSpinnerContainerInner: import("cva").CVAComponent<Omit<{
|
|
46
|
+
base: string[];
|
|
47
|
+
}, "defaultVariants"> & {
|
|
48
|
+
variants: unknown;
|
|
49
|
+
defaultVariants: Omit<{}, never>;
|
|
50
|
+
}, unknown>;
|
|
51
|
+
export declare const cvaSpinnerContainer: import("cva").CVAComponent<Omit<{
|
|
52
|
+
base: string[];
|
|
53
|
+
variants: {
|
|
54
|
+
centering: {
|
|
55
|
+
centered: string[];
|
|
56
|
+
vertically: string[];
|
|
57
|
+
horizontally: string[];
|
|
58
|
+
};
|
|
59
|
+
mode: {
|
|
60
|
+
dark: string[];
|
|
61
|
+
light: string[];
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
defaultVariants: {
|
|
65
|
+
centering: "centered";
|
|
66
|
+
mode: "light";
|
|
67
|
+
};
|
|
68
|
+
}, "defaultVariants"> & {
|
|
69
|
+
variants: {
|
|
70
|
+
centering: {
|
|
71
|
+
centered: string[];
|
|
72
|
+
vertically: string[];
|
|
73
|
+
horizontally: string[];
|
|
74
|
+
};
|
|
75
|
+
mode: {
|
|
76
|
+
dark: string[];
|
|
77
|
+
light: string[];
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
defaultVariants: Omit<{}, "mode" | "centering"> & {
|
|
81
|
+
centering: "centered";
|
|
82
|
+
mode: "light";
|
|
83
|
+
};
|
|
84
|
+
}, {
|
|
85
|
+
centering: {
|
|
86
|
+
centered: string[];
|
|
87
|
+
vertically: string[];
|
|
88
|
+
horizontally: string[];
|
|
89
|
+
};
|
|
90
|
+
mode: {
|
|
91
|
+
dark: string[];
|
|
92
|
+
light: string[];
|
|
93
|
+
};
|
|
94
|
+
}>;
|
|
95
|
+
export declare const cvaSpinnerLabel: import("cva").CVAComponent<Omit<{
|
|
96
|
+
base: string[];
|
|
97
|
+
}, "defaultVariants"> & {
|
|
98
|
+
variants: unknown;
|
|
99
|
+
defaultVariants: Omit<{}, never>;
|
|
100
|
+
}, unknown>;
|
|
@@ -1,6 +1,45 @@
|
|
|
1
|
-
export declare const cvaTabsRoot:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
export declare const cvaTabsRoot: import("cva").CVAComponent<Omit<{
|
|
2
|
+
base: never[];
|
|
3
|
+
}, "defaultVariants"> & {
|
|
4
|
+
variants: unknown;
|
|
5
|
+
defaultVariants: Omit<{}, never>;
|
|
6
|
+
}, unknown>;
|
|
7
|
+
export declare const cvaTabList: import("cva").CVAComponent<Omit<{
|
|
8
|
+
base: string[];
|
|
9
|
+
}, "defaultVariants"> & {
|
|
10
|
+
variants: unknown;
|
|
11
|
+
defaultVariants: Omit<{}, never>;
|
|
12
|
+
}, unknown>;
|
|
13
|
+
export declare const cvaTabContent: import("cva").CVAComponent<Omit<{
|
|
14
|
+
base: never[];
|
|
15
|
+
}, "defaultVariants"> & {
|
|
16
|
+
variants: unknown;
|
|
17
|
+
defaultVariants: Omit<{}, never>;
|
|
18
|
+
}, unknown>;
|
|
19
|
+
export declare const cvaTab: import("cva").CVAComponent<Omit<{
|
|
20
|
+
base: string[];
|
|
21
|
+
variants: {
|
|
22
|
+
isFullWidth: {
|
|
23
|
+
true: string;
|
|
24
|
+
false: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
defaultVariants: {
|
|
28
|
+
isFullWidth: false;
|
|
29
|
+
};
|
|
30
|
+
}, "defaultVariants"> & {
|
|
31
|
+
variants: {
|
|
32
|
+
isFullWidth: {
|
|
33
|
+
true: string;
|
|
34
|
+
false: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
defaultVariants: Omit<{}, "isFullWidth"> & {
|
|
38
|
+
isFullWidth: false;
|
|
39
|
+
};
|
|
40
|
+
}, {
|
|
41
|
+
isFullWidth: {
|
|
42
|
+
true: string;
|
|
43
|
+
false: string;
|
|
44
|
+
};
|
|
45
|
+
}>;
|
|
@@ -3,14 +3,160 @@
|
|
|
3
3
|
* This is the source of truth - use parseTailwindArbitraryValue to derive the numeric value.
|
|
4
4
|
*/
|
|
5
5
|
export declare const TAG_TEXT_MIN_WIDTH_CLASS = "min-w-[80px]";
|
|
6
|
-
export declare const cvaTag: (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
export declare const cvaTag: import("cva").CVAComponent<Omit<{
|
|
7
|
+
base: string[];
|
|
8
|
+
variants: {
|
|
9
|
+
size: {
|
|
10
|
+
small: string;
|
|
11
|
+
medium: string;
|
|
12
|
+
};
|
|
13
|
+
layout: {
|
|
14
|
+
containsDismiss: string;
|
|
15
|
+
containsIcon: string;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
color: {
|
|
19
|
+
primary: string[];
|
|
20
|
+
neutral: string[];
|
|
21
|
+
black: string[];
|
|
22
|
+
white: string[];
|
|
23
|
+
info: string[];
|
|
24
|
+
success: string[];
|
|
25
|
+
warning: string[];
|
|
26
|
+
danger: string[];
|
|
27
|
+
good: string[];
|
|
28
|
+
low: string[];
|
|
29
|
+
critical: string[];
|
|
30
|
+
working: string[];
|
|
31
|
+
stopped: string[];
|
|
32
|
+
idle: string[];
|
|
33
|
+
unknown: string[];
|
|
34
|
+
moving: string[];
|
|
35
|
+
active: string[];
|
|
36
|
+
excessive_usage: string[];
|
|
37
|
+
};
|
|
38
|
+
border: {
|
|
39
|
+
none: string;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
defaultVariants: {
|
|
44
|
+
size: "medium";
|
|
45
|
+
layout: "default";
|
|
46
|
+
color: "info";
|
|
47
|
+
};
|
|
48
|
+
}, "defaultVariants"> & {
|
|
49
|
+
variants: {
|
|
50
|
+
size: {
|
|
51
|
+
small: string;
|
|
52
|
+
medium: string;
|
|
53
|
+
};
|
|
54
|
+
layout: {
|
|
55
|
+
containsDismiss: string;
|
|
56
|
+
containsIcon: string;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
color: {
|
|
60
|
+
primary: string[];
|
|
61
|
+
neutral: string[];
|
|
62
|
+
black: string[];
|
|
63
|
+
white: string[];
|
|
64
|
+
info: string[];
|
|
65
|
+
success: string[];
|
|
66
|
+
warning: string[];
|
|
67
|
+
danger: string[];
|
|
68
|
+
good: string[];
|
|
69
|
+
low: string[];
|
|
70
|
+
critical: string[];
|
|
71
|
+
working: string[];
|
|
72
|
+
stopped: string[];
|
|
73
|
+
idle: string[];
|
|
74
|
+
unknown: string[];
|
|
75
|
+
moving: string[];
|
|
76
|
+
active: string[];
|
|
77
|
+
excessive_usage: string[];
|
|
78
|
+
};
|
|
79
|
+
border: {
|
|
80
|
+
none: string;
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
defaultVariants: Omit<{}, "color" | "layout" | "size"> & {
|
|
85
|
+
size: "medium";
|
|
86
|
+
layout: "default";
|
|
87
|
+
color: "info";
|
|
88
|
+
};
|
|
89
|
+
}, {
|
|
90
|
+
size: {
|
|
91
|
+
small: string;
|
|
92
|
+
medium: string;
|
|
93
|
+
};
|
|
94
|
+
layout: {
|
|
95
|
+
containsDismiss: string;
|
|
96
|
+
containsIcon: string;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
color: {
|
|
100
|
+
primary: string[];
|
|
101
|
+
neutral: string[];
|
|
102
|
+
black: string[];
|
|
103
|
+
white: string[];
|
|
104
|
+
info: string[];
|
|
105
|
+
success: string[];
|
|
106
|
+
warning: string[];
|
|
107
|
+
danger: string[];
|
|
108
|
+
good: string[];
|
|
109
|
+
low: string[];
|
|
110
|
+
critical: string[];
|
|
111
|
+
working: string[];
|
|
112
|
+
stopped: string[];
|
|
113
|
+
idle: string[];
|
|
114
|
+
unknown: string[];
|
|
115
|
+
moving: string[];
|
|
116
|
+
active: string[];
|
|
117
|
+
excessive_usage: string[];
|
|
118
|
+
};
|
|
119
|
+
border: {
|
|
120
|
+
none: string;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
}>;
|
|
124
|
+
export declare const cvaTagText: import("cva").CVAComponent<Omit<{
|
|
125
|
+
base: string[];
|
|
126
|
+
variants: {
|
|
127
|
+
truncate: {
|
|
128
|
+
true: string[];
|
|
129
|
+
false: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
defaultVariants: {
|
|
133
|
+
truncate: true;
|
|
134
|
+
};
|
|
135
|
+
}, "defaultVariants"> & {
|
|
136
|
+
variants: {
|
|
137
|
+
truncate: {
|
|
138
|
+
true: string[];
|
|
139
|
+
false: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
defaultVariants: Omit<{}, "truncate"> & {
|
|
143
|
+
truncate: true;
|
|
144
|
+
};
|
|
145
|
+
}, {
|
|
146
|
+
truncate: {
|
|
147
|
+
true: string[];
|
|
148
|
+
false: string;
|
|
149
|
+
};
|
|
150
|
+
}>;
|
|
151
|
+
export declare const cvaTagIconContainer: import("cva").CVAComponent<Omit<{
|
|
152
|
+
base: string[];
|
|
153
|
+
}, "defaultVariants"> & {
|
|
154
|
+
variants: unknown;
|
|
155
|
+
defaultVariants: Omit<{}, never>;
|
|
156
|
+
}, unknown>;
|
|
157
|
+
export declare const cvaTagIcon: import("cva").CVAComponent<Omit<{
|
|
158
|
+
base: string[];
|
|
159
|
+
}, "defaultVariants"> & {
|
|
160
|
+
variants: unknown;
|
|
161
|
+
defaultVariants: Omit<{}, never>;
|
|
162
|
+
}, unknown>;
|
|
@@ -1,11 +1,127 @@
|
|
|
1
|
-
export declare const cvaText: (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
export declare const cvaText: import("cva").CVAComponent<Omit<{
|
|
2
|
+
base: string[];
|
|
3
|
+
variants: {
|
|
4
|
+
align: {
|
|
5
|
+
left: string;
|
|
6
|
+
right: string;
|
|
7
|
+
center: string;
|
|
8
|
+
};
|
|
9
|
+
italic: {
|
|
10
|
+
true: string;
|
|
11
|
+
false: string;
|
|
12
|
+
};
|
|
13
|
+
uppercase: {
|
|
14
|
+
true: string;
|
|
15
|
+
false: string;
|
|
16
|
+
};
|
|
17
|
+
underline: {
|
|
18
|
+
true: string[];
|
|
19
|
+
false: string;
|
|
20
|
+
};
|
|
21
|
+
weight: {
|
|
22
|
+
normal: string;
|
|
23
|
+
bold: string;
|
|
24
|
+
thick: string;
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
small: string;
|
|
28
|
+
medium: string;
|
|
29
|
+
large: string;
|
|
30
|
+
};
|
|
31
|
+
inverted: {
|
|
32
|
+
true: string;
|
|
33
|
+
false: string;
|
|
34
|
+
};
|
|
35
|
+
subtle: {
|
|
36
|
+
true: string;
|
|
37
|
+
false: string;
|
|
38
|
+
};
|
|
39
|
+
disabled: {
|
|
40
|
+
true: string;
|
|
41
|
+
false: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}, "defaultVariants"> & {
|
|
45
|
+
variants: {
|
|
46
|
+
align: {
|
|
47
|
+
left: string;
|
|
48
|
+
right: string;
|
|
49
|
+
center: string;
|
|
50
|
+
};
|
|
51
|
+
italic: {
|
|
52
|
+
true: string;
|
|
53
|
+
false: string;
|
|
54
|
+
};
|
|
55
|
+
uppercase: {
|
|
56
|
+
true: string;
|
|
57
|
+
false: string;
|
|
58
|
+
};
|
|
59
|
+
underline: {
|
|
60
|
+
true: string[];
|
|
61
|
+
false: string;
|
|
62
|
+
};
|
|
63
|
+
weight: {
|
|
64
|
+
normal: string;
|
|
65
|
+
bold: string;
|
|
66
|
+
thick: string;
|
|
67
|
+
};
|
|
68
|
+
size: {
|
|
69
|
+
small: string;
|
|
70
|
+
medium: string;
|
|
71
|
+
large: string;
|
|
72
|
+
};
|
|
73
|
+
inverted: {
|
|
74
|
+
true: string;
|
|
75
|
+
false: string;
|
|
76
|
+
};
|
|
77
|
+
subtle: {
|
|
78
|
+
true: string;
|
|
79
|
+
false: string;
|
|
80
|
+
};
|
|
81
|
+
disabled: {
|
|
82
|
+
true: string;
|
|
83
|
+
false: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
defaultVariants: Omit<{}, never>;
|
|
87
|
+
}, {
|
|
88
|
+
align: {
|
|
89
|
+
left: string;
|
|
90
|
+
right: string;
|
|
91
|
+
center: string;
|
|
92
|
+
};
|
|
93
|
+
italic: {
|
|
94
|
+
true: string;
|
|
95
|
+
false: string;
|
|
96
|
+
};
|
|
97
|
+
uppercase: {
|
|
98
|
+
true: string;
|
|
99
|
+
false: string;
|
|
100
|
+
};
|
|
101
|
+
underline: {
|
|
102
|
+
true: string[];
|
|
103
|
+
false: string;
|
|
104
|
+
};
|
|
105
|
+
weight: {
|
|
106
|
+
normal: string;
|
|
107
|
+
bold: string;
|
|
108
|
+
thick: string;
|
|
109
|
+
};
|
|
110
|
+
size: {
|
|
111
|
+
small: string;
|
|
112
|
+
medium: string;
|
|
113
|
+
large: string;
|
|
114
|
+
};
|
|
115
|
+
inverted: {
|
|
116
|
+
true: string;
|
|
117
|
+
false: string;
|
|
118
|
+
};
|
|
119
|
+
subtle: {
|
|
120
|
+
true: string;
|
|
121
|
+
false: string;
|
|
122
|
+
};
|
|
123
|
+
disabled: {
|
|
124
|
+
true: string;
|
|
125
|
+
false: string;
|
|
126
|
+
};
|
|
127
|
+
}>;
|
|
@@ -1,17 +1,178 @@
|
|
|
1
|
-
export declare const cvaToggleGroup:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
export declare const cvaToggleGroup: import("cva").CVAComponent<Omit<{
|
|
2
|
+
base: string[];
|
|
3
|
+
}, "defaultVariants"> & {
|
|
4
|
+
variants: unknown;
|
|
5
|
+
defaultVariants: Omit<{}, never>;
|
|
6
|
+
}, unknown>;
|
|
7
|
+
export declare const cvaToggleItem: import("cva").CVAComponent<Omit<{
|
|
8
|
+
base: string[];
|
|
9
|
+
variants: {
|
|
10
|
+
selected: {
|
|
11
|
+
true: never[];
|
|
12
|
+
false: never[];
|
|
13
|
+
};
|
|
14
|
+
disabled: {
|
|
15
|
+
true: never[];
|
|
16
|
+
false: never[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
compoundVariants: {
|
|
20
|
+
selected: true;
|
|
21
|
+
disabled: true;
|
|
22
|
+
class: ("rounded" | "bg-neutral-50" | "shadow-none")[];
|
|
23
|
+
}[];
|
|
24
|
+
}, "defaultVariants"> & {
|
|
25
|
+
variants: {
|
|
26
|
+
selected: {
|
|
27
|
+
true: never[];
|
|
28
|
+
false: never[];
|
|
29
|
+
};
|
|
30
|
+
disabled: {
|
|
31
|
+
true: never[];
|
|
32
|
+
false: never[];
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
defaultVariants: Omit<{}, never>;
|
|
36
|
+
}, {
|
|
37
|
+
selected: {
|
|
38
|
+
true: never[];
|
|
39
|
+
false: never[];
|
|
40
|
+
};
|
|
41
|
+
disabled: {
|
|
42
|
+
true: never[];
|
|
43
|
+
false: never[];
|
|
44
|
+
};
|
|
45
|
+
}>;
|
|
46
|
+
export declare const cvaToggleGroupWithSlidingBackground: import("cva").CVAComponent<Omit<{
|
|
47
|
+
base: never[];
|
|
48
|
+
variants: {
|
|
49
|
+
isMounted: {
|
|
50
|
+
true: string[];
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}, "defaultVariants"> & {
|
|
54
|
+
variants: {
|
|
55
|
+
isMounted: {
|
|
56
|
+
true: string[];
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
defaultVariants: Omit<{}, never>;
|
|
60
|
+
}, {
|
|
61
|
+
isMounted: {
|
|
62
|
+
true: string[];
|
|
63
|
+
};
|
|
64
|
+
}>;
|
|
65
|
+
export declare const cvaToggleItemText: import("cva").CVAComponent<Omit<{
|
|
66
|
+
base: string[];
|
|
67
|
+
variants: {
|
|
68
|
+
maxWidth: {
|
|
69
|
+
sm: string[];
|
|
70
|
+
md: string[];
|
|
71
|
+
};
|
|
72
|
+
selected: {
|
|
73
|
+
true: never[];
|
|
74
|
+
false: never[];
|
|
75
|
+
};
|
|
76
|
+
disabled: {
|
|
77
|
+
true: never[];
|
|
78
|
+
false: never[];
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
compoundVariants: ({
|
|
82
|
+
selected: true;
|
|
83
|
+
disabled: false;
|
|
84
|
+
class: "text-neutral-900"[];
|
|
85
|
+
} | {
|
|
86
|
+
selected: true;
|
|
87
|
+
disabled: true;
|
|
88
|
+
class: "text-neutral-400"[];
|
|
89
|
+
} | {
|
|
90
|
+
selected: false;
|
|
91
|
+
disabled: false;
|
|
92
|
+
class: ("text-neutral-600" | "group-hover:text-neutral-900")[];
|
|
93
|
+
} | {
|
|
94
|
+
selected: false;
|
|
95
|
+
disabled: true;
|
|
96
|
+
class: "text-neutral-400"[];
|
|
97
|
+
})[];
|
|
98
|
+
}, "defaultVariants"> & {
|
|
99
|
+
variants: {
|
|
100
|
+
maxWidth: {
|
|
101
|
+
sm: string[];
|
|
102
|
+
md: string[];
|
|
103
|
+
};
|
|
104
|
+
selected: {
|
|
105
|
+
true: never[];
|
|
106
|
+
false: never[];
|
|
107
|
+
};
|
|
108
|
+
disabled: {
|
|
109
|
+
true: never[];
|
|
110
|
+
false: never[];
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
defaultVariants: Omit<{}, never>;
|
|
114
|
+
}, {
|
|
115
|
+
maxWidth: {
|
|
116
|
+
sm: string[];
|
|
117
|
+
md: string[];
|
|
118
|
+
};
|
|
119
|
+
selected: {
|
|
120
|
+
true: never[];
|
|
121
|
+
false: never[];
|
|
122
|
+
};
|
|
123
|
+
disabled: {
|
|
124
|
+
true: never[];
|
|
125
|
+
false: never[];
|
|
126
|
+
};
|
|
127
|
+
}>;
|
|
128
|
+
export declare const cvaToggleItemContent: import("cva").CVAComponent<Omit<{
|
|
129
|
+
base: never[];
|
|
130
|
+
variants: {
|
|
131
|
+
selected: {
|
|
132
|
+
true: never[];
|
|
133
|
+
false: never[];
|
|
134
|
+
};
|
|
135
|
+
disabled: {
|
|
136
|
+
true: never[];
|
|
137
|
+
false: never[];
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
compoundVariants: ({
|
|
141
|
+
selected: true;
|
|
142
|
+
disabled: false;
|
|
143
|
+
class: "text-neutral-700"[];
|
|
144
|
+
} | {
|
|
145
|
+
selected: true;
|
|
146
|
+
disabled: true;
|
|
147
|
+
class: "text-neutral-300"[];
|
|
148
|
+
} | {
|
|
149
|
+
selected: false;
|
|
150
|
+
disabled: false;
|
|
151
|
+
class: ("text-neutral-500" | "group-hover:text-neutral-900")[];
|
|
152
|
+
} | {
|
|
153
|
+
selected: false;
|
|
154
|
+
disabled: true;
|
|
155
|
+
class: "text-neutral-400"[];
|
|
156
|
+
})[];
|
|
157
|
+
}, "defaultVariants"> & {
|
|
158
|
+
variants: {
|
|
159
|
+
selected: {
|
|
160
|
+
true: never[];
|
|
161
|
+
false: never[];
|
|
162
|
+
};
|
|
163
|
+
disabled: {
|
|
164
|
+
true: never[];
|
|
165
|
+
false: never[];
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
defaultVariants: Omit<{}, never>;
|
|
169
|
+
}, {
|
|
170
|
+
selected: {
|
|
171
|
+
true: never[];
|
|
172
|
+
false: never[];
|
|
173
|
+
};
|
|
174
|
+
disabled: {
|
|
175
|
+
true: never[];
|
|
176
|
+
false: never[];
|
|
177
|
+
};
|
|
178
|
+
}>;
|