@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.
Files changed (53) hide show
  1. package/index.cjs.js +579 -468
  2. package/index.esm.js +580 -469
  3. package/package.json +6 -6
  4. package/src/components/Alert/Alert.variants.d.ts +220 -21
  5. package/src/components/Badge/Badge.variants.d.ts +82 -6
  6. package/src/components/Breadcrumb/Breadcrumb.variant.d.ts +45 -6
  7. package/src/components/Card/Card.variants.d.ts +202 -20
  8. package/src/components/Clickable/Clickable.variants.d.ts +27 -3
  9. package/src/components/Collapse/Collapse.variants.d.ts +248 -24
  10. package/src/components/CopyableText/CopyableText.variants.d.ts +41 -4
  11. package/src/components/DetailsList/DetailsList.variants.d.ts +30 -4
  12. package/src/components/EmptyState/EmptyState.variants.d.ts +12 -2
  13. package/src/components/EmptyValue/EmptyValue.variants.d.ts +6 -1
  14. package/src/components/ExternalLink/ExternalLink.variants.d.ts +27 -3
  15. package/src/components/Heading/Heading.variants.d.ts +66 -5
  16. package/src/components/Highlight/Highlight.variants.d.ts +59 -5
  17. package/src/components/HorizontalOverflowScroller/HorizontalOverflowScroller.variants.d.ts +12 -2
  18. package/src/components/HorizontalOverflowScroller/OverflowIndicator.variants.d.ts +56 -8
  19. package/src/components/Icon/Icon.variants.d.ts +174 -5
  20. package/src/components/Indicator/Indicator.variants.d.ts +340 -14
  21. package/src/components/InteractableItem/InteractableItem.variants.d.ts +95 -6
  22. package/src/components/KPI/KPI.variants.d.ts +66 -6
  23. package/src/components/KPICard/KPICard.variants.d.ts +84 -9
  24. package/src/components/LabeledValue/LabeledValue.variants.d.ts +72 -9
  25. package/src/components/List/List.variants.d.ts +81 -8
  26. package/src/components/ListItem/ListItem.variants.d.ts +64 -10
  27. package/src/components/Menu/MenuContent/MenuContent.variants.d.ts +51 -7
  28. package/src/components/Menu/MenuItem/MenuItem.variants.d.ts +224 -20
  29. package/src/components/Menu/MoreMenu/MoreMenu.variants.d.ts +6 -1
  30. package/src/components/Notice/Notice.variants.d.ts +92 -8
  31. package/src/components/Page/Page.variants.d.ts +63 -6
  32. package/src/components/Page/PageContent.d.ts +4 -0
  33. package/src/components/PageHeader/PageHeader.variants.d.ts +34 -5
  34. package/src/components/Pagination/Pagination.variants.d.ts +12 -2
  35. package/src/components/Popover/Popover.variants.d.ts +34 -5
  36. package/src/components/PreferenceCard/PreferenceCard.variants.d.ts +187 -20
  37. package/src/components/Sheet/Sheet.variants.d.ts +101 -10
  38. package/src/components/Sidebar/Sidebar.variants.d.ts +43 -4
  39. package/src/components/SidebarContentLayout/SidebarContentLayout.variants.d.ts +111 -9
  40. package/src/components/Skeleton/Skeleton.variants.d.ts +55 -3
  41. package/src/components/SkeletonLines/SkeletonLines.variants.d.ts +6 -1
  42. package/src/components/Spacer/Spacer.variants.d.ts +44 -4
  43. package/src/components/Spinner/Spinner.variants.d.ts +100 -10
  44. package/src/components/Tabs/Tabs.variants.d.ts +45 -6
  45. package/src/components/Tag/Tag.variants.d.ts +157 -11
  46. package/src/components/Text/Text.variants.d.ts +127 -11
  47. package/src/components/ToggleGroup/ToggleGroup.variants.d.ts +178 -17
  48. package/src/components/Tooltip/Tooltip.variants.d.ts +135 -12
  49. package/src/components/ValueBar/SegmentedValueBar.variants.d.ts +57 -6
  50. package/src/components/ValueBar/ValueBar.shared.d.ts +27 -3
  51. package/src/components/ValueBar/ValueBar.variants.d.ts +30 -3
  52. package/src/components/ZStack/ZStack.variants.d.ts +12 -2
  53. package/src/components/buttons/shared/Button.variants.d.ts +389 -20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-components",
3
- "version": "2.13.0",
3
+ "version": "2.13.1",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "migrations": "./migrations.json",
@@ -14,16 +14,16 @@
14
14
  "@floating-ui/react": "^0.26.25",
15
15
  "string-ts": "^2.0.0",
16
16
  "tailwind-merge": "^2.0.0",
17
- "@trackunit/ui-design-tokens": "1.15.19",
18
- "@trackunit/css-class-variance-utilities": "1.14.29",
19
- "@trackunit/shared-utils": "1.16.32",
20
- "@trackunit/ui-icons": "1.14.28",
17
+ "@trackunit/ui-design-tokens": "1.15.20",
18
+ "@trackunit/css-class-variance-utilities": "2.0.0",
19
+ "@trackunit/shared-utils": "1.16.33",
20
+ "@trackunit/ui-icons": "1.14.29",
21
21
  "es-toolkit": "^1.39.10",
22
22
  "@tanstack/react-virtual": "^3.14.3",
23
23
  "dequal": "^2.0.3",
24
24
  "fflate": "^0.8.2",
25
25
  "zod": "^3.25.76",
26
- "@trackunit/i18n-library-translation": "2.4.41"
26
+ "@trackunit/i18n-library-translation": "2.4.42"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": "^19.0.0",
@@ -1,21 +1,220 @@
1
- export declare const cvaAlert: (props?: ({
2
- color?: "neutral" | "info" | "success" | "warning" | "danger" | null | undefined;
3
- actionsInline?: boolean | null | undefined;
4
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
- export declare const cvaAlertActionsContainer: (props?: ({
6
- inline?: boolean | null | undefined;
7
- actionsInline?: boolean | null | undefined;
8
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
- export declare const cvaContent: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
10
- export declare const cvaAlertContentContainer: (props?: ({
11
- inline?: boolean | null | undefined;
12
- actionsInline?: boolean | null | undefined;
13
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
14
- export declare const cvaAlertCloseButtonContainer: (props?: ({
15
- inline?: boolean | null | undefined;
16
- actionsInline?: boolean | null | undefined;
17
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
18
- export declare const cvaAlertIconContainer: (props?: ({
19
- inline?: boolean | null | undefined;
20
- actionsInline?: boolean | null | undefined;
21
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1
+ export declare const cvaAlert: import("cva").CVAComponent<Omit<{
2
+ base: string[];
3
+ variants: {
4
+ color: {
5
+ danger: string[];
6
+ warning: string[];
7
+ success: string[];
8
+ info: string[];
9
+ neutral: string[];
10
+ };
11
+ actionsInline: {
12
+ true: string[];
13
+ false: string[];
14
+ };
15
+ };
16
+ defaultVariants: {
17
+ color: "info";
18
+ actionsInline: false;
19
+ };
20
+ }, "defaultVariants"> & {
21
+ variants: {
22
+ color: {
23
+ danger: string[];
24
+ warning: string[];
25
+ success: string[];
26
+ info: string[];
27
+ neutral: string[];
28
+ };
29
+ actionsInline: {
30
+ true: string[];
31
+ false: string[];
32
+ };
33
+ };
34
+ defaultVariants: Omit<{}, "color" | "actionsInline"> & {
35
+ color: "info";
36
+ actionsInline: false;
37
+ };
38
+ }, {
39
+ color: {
40
+ danger: string[];
41
+ warning: string[];
42
+ success: string[];
43
+ info: string[];
44
+ neutral: string[];
45
+ };
46
+ actionsInline: {
47
+ true: string[];
48
+ false: string[];
49
+ };
50
+ }>;
51
+ export declare const cvaAlertActionsContainer: import("cva").CVAComponent<Omit<{
52
+ base: string[];
53
+ variants: {
54
+ inline: {
55
+ true: string[];
56
+ false: string[];
57
+ };
58
+ actionsInline: {
59
+ true: string[];
60
+ false: never[];
61
+ };
62
+ };
63
+ defaultVariants: {
64
+ inline: false;
65
+ actionsInline: false;
66
+ };
67
+ }, "defaultVariants"> & {
68
+ variants: {
69
+ inline: {
70
+ true: string[];
71
+ false: string[];
72
+ };
73
+ actionsInline: {
74
+ true: string[];
75
+ false: never[];
76
+ };
77
+ };
78
+ defaultVariants: Omit<{}, "inline" | "actionsInline"> & {
79
+ inline: false;
80
+ actionsInline: false;
81
+ };
82
+ }, {
83
+ inline: {
84
+ true: string[];
85
+ false: string[];
86
+ };
87
+ actionsInline: {
88
+ true: string[];
89
+ false: never[];
90
+ };
91
+ }>;
92
+ export declare const cvaContent: import("cva").CVAComponent<Omit<{
93
+ base: string[];
94
+ }, "defaultVariants"> & {
95
+ variants: unknown;
96
+ defaultVariants: Omit<{}, never>;
97
+ }, unknown>;
98
+ export declare const cvaAlertContentContainer: import("cva").CVAComponent<Omit<{
99
+ base: string[];
100
+ variants: {
101
+ inline: {
102
+ true: string[];
103
+ false: string[];
104
+ };
105
+ actionsInline: {
106
+ true: string[];
107
+ false: never[];
108
+ };
109
+ };
110
+ defaultVariants: {
111
+ inline: false;
112
+ actionsInline: false;
113
+ };
114
+ }, "defaultVariants"> & {
115
+ variants: {
116
+ inline: {
117
+ true: string[];
118
+ false: string[];
119
+ };
120
+ actionsInline: {
121
+ true: string[];
122
+ false: never[];
123
+ };
124
+ };
125
+ defaultVariants: Omit<{}, "inline" | "actionsInline"> & {
126
+ inline: false;
127
+ actionsInline: false;
128
+ };
129
+ }, {
130
+ inline: {
131
+ true: string[];
132
+ false: string[];
133
+ };
134
+ actionsInline: {
135
+ true: string[];
136
+ false: never[];
137
+ };
138
+ }>;
139
+ export declare const cvaAlertCloseButtonContainer: import("cva").CVAComponent<Omit<{
140
+ base: string[];
141
+ variants: {
142
+ inline: {
143
+ true: string[];
144
+ false: string[];
145
+ };
146
+ actionsInline: {
147
+ true: string[];
148
+ false: string[];
149
+ };
150
+ };
151
+ defaultVariants: {
152
+ inline: false;
153
+ actionsInline: false;
154
+ };
155
+ }, "defaultVariants"> & {
156
+ variants: {
157
+ inline: {
158
+ true: string[];
159
+ false: string[];
160
+ };
161
+ actionsInline: {
162
+ true: string[];
163
+ false: string[];
164
+ };
165
+ };
166
+ defaultVariants: Omit<{}, "inline" | "actionsInline"> & {
167
+ inline: false;
168
+ actionsInline: false;
169
+ };
170
+ }, {
171
+ inline: {
172
+ true: string[];
173
+ false: string[];
174
+ };
175
+ actionsInline: {
176
+ true: string[];
177
+ false: string[];
178
+ };
179
+ }>;
180
+ export declare const cvaAlertIconContainer: import("cva").CVAComponent<Omit<{
181
+ base: string[];
182
+ variants: {
183
+ inline: {
184
+ true: string[];
185
+ false: string[];
186
+ };
187
+ actionsInline: {
188
+ true: string[];
189
+ false: never[];
190
+ };
191
+ };
192
+ defaultVariants: {
193
+ inline: false;
194
+ actionsInline: false;
195
+ };
196
+ }, "defaultVariants"> & {
197
+ variants: {
198
+ inline: {
199
+ true: string[];
200
+ false: string[];
201
+ };
202
+ actionsInline: {
203
+ true: string[];
204
+ false: never[];
205
+ };
206
+ };
207
+ defaultVariants: Omit<{}, "inline" | "actionsInline"> & {
208
+ inline: false;
209
+ actionsInline: false;
210
+ };
211
+ }, {
212
+ inline: {
213
+ true: string[];
214
+ false: string[];
215
+ };
216
+ actionsInline: {
217
+ true: string[];
218
+ false: never[];
219
+ };
220
+ }>;
@@ -1,6 +1,82 @@
1
- export declare const cvaBadge: (props?: ({
2
- color?: "primary" | "neutral" | "warning" | "danger" | null | undefined;
3
- compact?: boolean | null | undefined;
4
- size?: "default" | "condensed" | null | undefined;
5
- isSingleChar?: boolean | null | undefined;
6
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1
+ export declare const cvaBadge: import("cva").CVAComponent<Omit<{
2
+ base: string[];
3
+ variants: {
4
+ color: {
5
+ primary: string;
6
+ danger: string;
7
+ warning: string;
8
+ neutral: string;
9
+ };
10
+ compact: {
11
+ true: string;
12
+ false: string;
13
+ };
14
+ size: {
15
+ default: string;
16
+ condensed: string;
17
+ };
18
+ isSingleChar: {
19
+ true: string;
20
+ false: string;
21
+ };
22
+ };
23
+ compoundVariants: ({
24
+ isSingleChar: false;
25
+ compact: false;
26
+ className: "px-1";
27
+ size?: undefined;
28
+ } | {
29
+ isSingleChar: false;
30
+ size: "condensed";
31
+ className: "px-[3px] py-0";
32
+ compact?: undefined;
33
+ })[];
34
+ defaultVariants: {
35
+ color: "primary";
36
+ size: "default";
37
+ };
38
+ }, "defaultVariants"> & {
39
+ variants: {
40
+ color: {
41
+ primary: string;
42
+ danger: string;
43
+ warning: string;
44
+ neutral: string;
45
+ };
46
+ compact: {
47
+ true: string;
48
+ false: string;
49
+ };
50
+ size: {
51
+ default: string;
52
+ condensed: string;
53
+ };
54
+ isSingleChar: {
55
+ true: string;
56
+ false: string;
57
+ };
58
+ };
59
+ defaultVariants: Omit<{}, "color" | "size"> & {
60
+ color: "primary";
61
+ size: "default";
62
+ };
63
+ }, {
64
+ color: {
65
+ primary: string;
66
+ danger: string;
67
+ warning: string;
68
+ neutral: string;
69
+ };
70
+ compact: {
71
+ true: string;
72
+ false: string;
73
+ };
74
+ size: {
75
+ default: string;
76
+ condensed: string;
77
+ };
78
+ isSingleChar: {
79
+ true: string;
80
+ false: string;
81
+ };
82
+ }>;
@@ -1,6 +1,45 @@
1
- export declare const cvaBreadcrumb: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
2
- export declare const cvaBreadcrumbItem: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
3
- export declare const cvaBreadcrumbForLargeScreen: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
4
- export declare const cvaBreadcrumbForMediumScreen: (props?: ({
5
- expanded?: boolean | null | undefined;
6
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1
+ export declare const cvaBreadcrumb: import("cva").CVAComponent<Omit<{
2
+ base: string[];
3
+ }, "defaultVariants"> & {
4
+ variants: unknown;
5
+ defaultVariants: Omit<{}, never>;
6
+ }, unknown>;
7
+ export declare const cvaBreadcrumbItem: import("cva").CVAComponent<Omit<{
8
+ base: string[];
9
+ }, "defaultVariants"> & {
10
+ variants: unknown;
11
+ defaultVariants: Omit<{}, never>;
12
+ }, unknown>;
13
+ export declare const cvaBreadcrumbForLargeScreen: import("cva").CVAComponent<Omit<{
14
+ base: string[];
15
+ }, "defaultVariants"> & {
16
+ variants: unknown;
17
+ defaultVariants: Omit<{}, never>;
18
+ }, unknown>;
19
+ export declare const cvaBreadcrumbForMediumScreen: import("cva").CVAComponent<Omit<{
20
+ base: string[];
21
+ variants: {
22
+ expanded: {
23
+ true: string;
24
+ false: string;
25
+ };
26
+ };
27
+ defaultVariants: {
28
+ expanded: false;
29
+ };
30
+ }, "defaultVariants"> & {
31
+ variants: {
32
+ expanded: {
33
+ true: string;
34
+ false: string;
35
+ };
36
+ };
37
+ defaultVariants: Omit<{}, "expanded"> & {
38
+ expanded: false;
39
+ };
40
+ }, {
41
+ expanded: {
42
+ true: string;
43
+ false: string;
44
+ };
45
+ }>;
@@ -1,20 +1,202 @@
1
- export declare const cvaCard: (props?: ({
2
- clickable?: boolean | null | undefined;
3
- fullHeight?: boolean | null | undefined;
4
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
- export declare const cvaCardFooterContainerRoot: (props?: ({
6
- border?: "default" | "borderless" | null | undefined;
7
- padding?: "default" | "none" | null | undefined;
8
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
- export declare const cvaCardFooterContainer: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
10
- export declare const cvaCardHeader: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
11
- export declare const cvaCardHeaderHeadingContainer: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
12
- export declare const cvaCardHeaderContainer: (props?: ({
13
- border?: "default" | "borderless" | null | undefined;
14
- padding?: "default" | "none" | null | undefined;
15
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
16
- export declare const cvaCardBodyContainer: (props?: ({
17
- direction?: "column" | "column-reverse" | "row" | "row-reverse" | null | undefined;
18
- padding?: "default" | "none" | null | undefined;
19
- gap?: "default" | "none" | null | undefined;
20
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1
+ export declare const cvaCard: import("cva").CVAComponent<Omit<{
2
+ base: string[];
3
+ variants: {
4
+ clickable: {
5
+ false: string;
6
+ true: string;
7
+ };
8
+ fullHeight: {
9
+ false: string;
10
+ true: string;
11
+ };
12
+ };
13
+ defaultVariants: {
14
+ clickable: false;
15
+ fullHeight: false;
16
+ };
17
+ }, "defaultVariants"> & {
18
+ variants: {
19
+ clickable: {
20
+ false: string;
21
+ true: string;
22
+ };
23
+ fullHeight: {
24
+ false: string;
25
+ true: string;
26
+ };
27
+ };
28
+ defaultVariants: Omit<{}, "clickable" | "fullHeight"> & {
29
+ clickable: false;
30
+ fullHeight: false;
31
+ };
32
+ }, {
33
+ clickable: {
34
+ false: string;
35
+ true: string;
36
+ };
37
+ fullHeight: {
38
+ false: string;
39
+ true: string;
40
+ };
41
+ }>;
42
+ export declare const cvaCardFooterContainerRoot: import("cva").CVAComponent<Omit<{
43
+ base: string[];
44
+ variants: {
45
+ border: {
46
+ default: string;
47
+ borderless: string;
48
+ };
49
+ padding: {
50
+ none: string;
51
+ default: string;
52
+ };
53
+ };
54
+ defaultVariants: {
55
+ border: "default";
56
+ padding: "default";
57
+ };
58
+ }, "defaultVariants"> & {
59
+ variants: {
60
+ border: {
61
+ default: string;
62
+ borderless: string;
63
+ };
64
+ padding: {
65
+ none: string;
66
+ default: string;
67
+ };
68
+ };
69
+ defaultVariants: Omit<{}, "border" | "padding"> & {
70
+ border: "default";
71
+ padding: "default";
72
+ };
73
+ }, {
74
+ border: {
75
+ default: string;
76
+ borderless: string;
77
+ };
78
+ padding: {
79
+ none: string;
80
+ default: string;
81
+ };
82
+ }>;
83
+ export declare const cvaCardFooterContainer: import("cva").CVAComponent<Omit<{
84
+ base: string[];
85
+ }, "defaultVariants"> & {
86
+ variants: unknown;
87
+ defaultVariants: Omit<{}, never>;
88
+ }, unknown>;
89
+ export declare const cvaCardHeader: import("cva").CVAComponent<Omit<{
90
+ base: string[];
91
+ }, "defaultVariants"> & {
92
+ variants: unknown;
93
+ defaultVariants: Omit<{}, never>;
94
+ }, unknown>;
95
+ export declare const cvaCardHeaderHeadingContainer: import("cva").CVAComponent<Omit<{
96
+ base: string[];
97
+ }, "defaultVariants"> & {
98
+ variants: unknown;
99
+ defaultVariants: Omit<{}, never>;
100
+ }, unknown>;
101
+ export declare const cvaCardHeaderContainer: import("cva").CVAComponent<Omit<{
102
+ base: string[];
103
+ variants: {
104
+ border: {
105
+ default: string;
106
+ borderless: string;
107
+ };
108
+ padding: {
109
+ none: string;
110
+ default: string;
111
+ };
112
+ };
113
+ defaultVariants: {
114
+ border: "default";
115
+ padding: "default";
116
+ };
117
+ }, "defaultVariants"> & {
118
+ variants: {
119
+ border: {
120
+ default: string;
121
+ borderless: string;
122
+ };
123
+ padding: {
124
+ none: string;
125
+ default: string;
126
+ };
127
+ };
128
+ defaultVariants: Omit<{}, "border" | "padding"> & {
129
+ border: "default";
130
+ padding: "default";
131
+ };
132
+ }, {
133
+ border: {
134
+ default: string;
135
+ borderless: string;
136
+ };
137
+ padding: {
138
+ none: string;
139
+ default: string;
140
+ };
141
+ }>;
142
+ export declare const cvaCardBodyContainer: import("cva").CVAComponent<Omit<{
143
+ base: string[];
144
+ variants: {
145
+ direction: {
146
+ row: string;
147
+ "row-reverse": string;
148
+ column: string;
149
+ "column-reverse": string;
150
+ };
151
+ padding: {
152
+ none: string;
153
+ default: string;
154
+ };
155
+ gap: {
156
+ none: string;
157
+ default: string;
158
+ };
159
+ };
160
+ defaultVariants: {
161
+ direction: "column";
162
+ padding: "default";
163
+ gap: "default";
164
+ };
165
+ }, "defaultVariants"> & {
166
+ variants: {
167
+ direction: {
168
+ row: string;
169
+ "row-reverse": string;
170
+ column: string;
171
+ "column-reverse": string;
172
+ };
173
+ padding: {
174
+ none: string;
175
+ default: string;
176
+ };
177
+ gap: {
178
+ none: string;
179
+ default: string;
180
+ };
181
+ };
182
+ defaultVariants: Omit<{}, "padding" | "direction" | "gap"> & {
183
+ direction: "column";
184
+ padding: "default";
185
+ gap: "default";
186
+ };
187
+ }, {
188
+ direction: {
189
+ row: string;
190
+ "row-reverse": string;
191
+ column: string;
192
+ "column-reverse": string;
193
+ };
194
+ padding: {
195
+ none: string;
196
+ default: string;
197
+ };
198
+ gap: {
199
+ none: string;
200
+ default: string;
201
+ };
202
+ }>;
@@ -1,3 +1,27 @@
1
- export declare const cvaClickable: (props?: ({
2
- disabled?: boolean | null | undefined;
3
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1
+ export declare const cvaClickable: import("cva").CVAComponent<Omit<{
2
+ base: string[];
3
+ variants: {
4
+ disabled: {
5
+ false: string;
6
+ true: string;
7
+ };
8
+ };
9
+ defaultVariants: {
10
+ disabled: false;
11
+ };
12
+ }, "defaultVariants"> & {
13
+ variants: {
14
+ disabled: {
15
+ false: string;
16
+ true: string;
17
+ };
18
+ };
19
+ defaultVariants: Omit<{}, "disabled"> & {
20
+ disabled: false;
21
+ };
22
+ }, {
23
+ disabled: {
24
+ false: string;
25
+ true: string;
26
+ };
27
+ }>;