@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
|
@@ -3,23 +3,190 @@
|
|
|
3
3
|
* by having them both satisfy the same template literal type containing the data-slot attribute name.
|
|
4
4
|
*/
|
|
5
5
|
export type StringContainingDataInputContainerAttr = `${string}input-container${string}`;
|
|
6
|
-
export declare const cvaPreferenceCard: (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
6
|
+
export declare const cvaPreferenceCard: import("cva").CVAComponent<Omit<{
|
|
7
|
+
base: string[];
|
|
8
|
+
variants: {
|
|
9
|
+
disabled: {
|
|
10
|
+
true: string;
|
|
11
|
+
false: string;
|
|
12
|
+
};
|
|
13
|
+
clickable: {
|
|
14
|
+
true: string[];
|
|
15
|
+
false: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
compoundVariants: {
|
|
19
|
+
disabled: true;
|
|
20
|
+
clickable: true;
|
|
21
|
+
class: "cursor-not-allowed";
|
|
22
|
+
}[];
|
|
23
|
+
defaultVariants: {
|
|
24
|
+
disabled: false;
|
|
25
|
+
clickable: false;
|
|
26
|
+
};
|
|
27
|
+
}, "defaultVariants"> & {
|
|
28
|
+
variants: {
|
|
29
|
+
disabled: {
|
|
30
|
+
true: string;
|
|
31
|
+
false: string;
|
|
32
|
+
};
|
|
33
|
+
clickable: {
|
|
34
|
+
true: string[];
|
|
35
|
+
false: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
defaultVariants: Omit<{}, "disabled" | "clickable"> & {
|
|
39
|
+
disabled: false;
|
|
40
|
+
clickable: false;
|
|
41
|
+
};
|
|
42
|
+
}, {
|
|
43
|
+
disabled: {
|
|
44
|
+
true: string;
|
|
45
|
+
false: string;
|
|
46
|
+
};
|
|
47
|
+
clickable: {
|
|
48
|
+
true: string[];
|
|
49
|
+
false: string;
|
|
50
|
+
};
|
|
51
|
+
}>;
|
|
52
|
+
export declare const cvaInputContainer: import("cva").CVAComponent<Omit<{
|
|
53
|
+
base: string[];
|
|
54
|
+
variants: {
|
|
55
|
+
itemPlacement: {
|
|
56
|
+
center: string;
|
|
57
|
+
start: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
defaultVariants: {
|
|
61
|
+
itemPlacement: "start";
|
|
62
|
+
};
|
|
63
|
+
}, "defaultVariants"> & {
|
|
64
|
+
variants: {
|
|
65
|
+
itemPlacement: {
|
|
66
|
+
center: string;
|
|
67
|
+
start: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
defaultVariants: Omit<{}, "itemPlacement"> & {
|
|
71
|
+
itemPlacement: "start";
|
|
72
|
+
};
|
|
73
|
+
}, {
|
|
74
|
+
itemPlacement: {
|
|
75
|
+
center: string;
|
|
76
|
+
start: string;
|
|
77
|
+
};
|
|
78
|
+
}>;
|
|
79
|
+
export declare const cvaContentContainer: import("cva").CVAComponent<Omit<{
|
|
80
|
+
base: string[];
|
|
81
|
+
variants: {
|
|
82
|
+
itemPlacement: {
|
|
83
|
+
center: string;
|
|
84
|
+
start: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
defaultVariants: {
|
|
88
|
+
itemPlacement: "start";
|
|
89
|
+
};
|
|
90
|
+
}, "defaultVariants"> & {
|
|
91
|
+
variants: {
|
|
92
|
+
itemPlacement: {
|
|
93
|
+
center: string;
|
|
94
|
+
start: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
defaultVariants: Omit<{}, "itemPlacement"> & {
|
|
98
|
+
itemPlacement: "start";
|
|
99
|
+
};
|
|
100
|
+
}, {
|
|
101
|
+
itemPlacement: {
|
|
102
|
+
center: string;
|
|
103
|
+
start: string;
|
|
104
|
+
};
|
|
105
|
+
}>;
|
|
106
|
+
export declare const cvaTitleCard: import("cva").CVAComponent<Omit<{
|
|
107
|
+
base: string[];
|
|
108
|
+
variants: {
|
|
109
|
+
disabled: {
|
|
110
|
+
true: string;
|
|
111
|
+
false: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
defaultVariants: {
|
|
115
|
+
disabled: false;
|
|
116
|
+
};
|
|
117
|
+
}, "defaultVariants"> & {
|
|
118
|
+
variants: {
|
|
119
|
+
disabled: {
|
|
120
|
+
true: string;
|
|
121
|
+
false: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
defaultVariants: Omit<{}, "disabled"> & {
|
|
125
|
+
disabled: false;
|
|
126
|
+
};
|
|
127
|
+
}, {
|
|
128
|
+
disabled: {
|
|
129
|
+
true: string;
|
|
130
|
+
false: string;
|
|
131
|
+
};
|
|
132
|
+
}>;
|
|
133
|
+
export declare const cvaDescriptionCard: import("cva").CVAComponent<Omit<{
|
|
134
|
+
base: never[];
|
|
135
|
+
variants: {
|
|
136
|
+
disabled: {
|
|
137
|
+
true: string;
|
|
138
|
+
false: string;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
defaultVariants: {
|
|
142
|
+
disabled: false;
|
|
143
|
+
};
|
|
144
|
+
}, "defaultVariants"> & {
|
|
145
|
+
variants: {
|
|
146
|
+
disabled: {
|
|
147
|
+
true: string;
|
|
148
|
+
false: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
defaultVariants: Omit<{}, "disabled"> & {
|
|
152
|
+
disabled: false;
|
|
153
|
+
};
|
|
154
|
+
}, {
|
|
155
|
+
disabled: {
|
|
156
|
+
true: string;
|
|
157
|
+
false: string;
|
|
158
|
+
};
|
|
159
|
+
}>;
|
|
160
|
+
export declare const cvaIconBackground: import("cva").CVAComponent<Omit<{
|
|
161
|
+
base: string[];
|
|
162
|
+
variants: {
|
|
163
|
+
disabled: {
|
|
164
|
+
true: string;
|
|
165
|
+
false: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
defaultVariants: {
|
|
169
|
+
disabled: false;
|
|
170
|
+
};
|
|
171
|
+
}, "defaultVariants"> & {
|
|
172
|
+
variants: {
|
|
173
|
+
disabled: {
|
|
174
|
+
true: string;
|
|
175
|
+
false: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
defaultVariants: Omit<{}, "disabled"> & {
|
|
179
|
+
disabled: false;
|
|
180
|
+
};
|
|
181
|
+
}, {
|
|
182
|
+
disabled: {
|
|
183
|
+
true: string;
|
|
184
|
+
false: string;
|
|
185
|
+
};
|
|
186
|
+
}>;
|
|
187
|
+
export declare const cvaContentWrapper: import("cva").CVAComponent<Omit<{
|
|
188
|
+
base: string[];
|
|
189
|
+
}, "defaultVariants"> & {
|
|
190
|
+
variants: unknown;
|
|
191
|
+
defaultVariants: Omit<{}, never>;
|
|
192
|
+
}, unknown>;
|
|
@@ -8,9 +8,33 @@ import type { SheetVariant } from "./sheet-types";
|
|
|
8
8
|
*
|
|
9
9
|
* Always absolutely positioned within the provided container element.
|
|
10
10
|
*/
|
|
11
|
-
export declare const cvaSheetContainer: (
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
export declare const cvaSheetContainer: import("cva").CVAComponent<Omit<{
|
|
12
|
+
base: string[];
|
|
13
|
+
variants: {
|
|
14
|
+
docked: {
|
|
15
|
+
true: string[];
|
|
16
|
+
false: never[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
defaultVariants: {
|
|
20
|
+
docked: false;
|
|
21
|
+
};
|
|
22
|
+
}, "defaultVariants"> & {
|
|
23
|
+
variants: {
|
|
24
|
+
docked: {
|
|
25
|
+
true: string[];
|
|
26
|
+
false: never[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
defaultVariants: Omit<{}, "docked"> & {
|
|
30
|
+
docked: false;
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
docked: {
|
|
34
|
+
true: string[];
|
|
35
|
+
false: never[];
|
|
36
|
+
};
|
|
37
|
+
}>;
|
|
14
38
|
/**
|
|
15
39
|
* Sheet panel — the main content surface, always positioned at the bottom
|
|
16
40
|
* of the container.
|
|
@@ -27,10 +51,53 @@ export declare const cvaSheetContainer: (props?: ({
|
|
|
27
51
|
* During drag, the gesture hook sets `--sheet-drag-height` and `transition: none`
|
|
28
52
|
* directly on the element for immediate visual feedback, then restores on release.
|
|
29
53
|
*/
|
|
30
|
-
export declare const cvaSheetPanel: (
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
54
|
+
export declare const cvaSheetPanel: import("cva").CVAComponent<Omit<{
|
|
55
|
+
base: string[];
|
|
56
|
+
variants: {
|
|
57
|
+
anchor: {
|
|
58
|
+
center: string[];
|
|
59
|
+
start: string[];
|
|
60
|
+
end: string[];
|
|
61
|
+
};
|
|
62
|
+
variant: {
|
|
63
|
+
default: never[];
|
|
64
|
+
modal: never[];
|
|
65
|
+
floating: string[];
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
defaultVariants: {
|
|
69
|
+
anchor: "center";
|
|
70
|
+
variant: "default";
|
|
71
|
+
};
|
|
72
|
+
}, "defaultVariants"> & {
|
|
73
|
+
variants: {
|
|
74
|
+
anchor: {
|
|
75
|
+
center: string[];
|
|
76
|
+
start: string[];
|
|
77
|
+
end: string[];
|
|
78
|
+
};
|
|
79
|
+
variant: {
|
|
80
|
+
default: never[];
|
|
81
|
+
modal: never[];
|
|
82
|
+
floating: string[];
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
defaultVariants: Omit<{}, "anchor" | "variant"> & {
|
|
86
|
+
anchor: "center";
|
|
87
|
+
variant: "default";
|
|
88
|
+
};
|
|
89
|
+
}, {
|
|
90
|
+
anchor: {
|
|
91
|
+
center: string[];
|
|
92
|
+
start: string[];
|
|
93
|
+
end: string[];
|
|
94
|
+
};
|
|
95
|
+
variant: {
|
|
96
|
+
default: never[];
|
|
97
|
+
modal: never[];
|
|
98
|
+
floating: string[];
|
|
99
|
+
};
|
|
100
|
+
}>;
|
|
34
101
|
/**
|
|
35
102
|
* Scrollable area below the drag handle. Nested inside the Sheet panel (Card)
|
|
36
103
|
* so the Card's base `overflow-clip` clips this element's scrollbar at the
|
|
@@ -41,9 +108,33 @@ export declare const cvaSheetPanel: (props?: ({
|
|
|
41
108
|
* for fit mode so that `scrollHeight` reflects natural content height rather
|
|
42
109
|
* than the stretched layout — critical for correct fit-height measurement.
|
|
43
110
|
*/
|
|
44
|
-
export declare const cvaSheetScrollArea: (
|
|
45
|
-
|
|
46
|
-
|
|
111
|
+
export declare const cvaSheetScrollArea: import("cva").CVAComponent<Omit<{
|
|
112
|
+
base: string[];
|
|
113
|
+
variants: {
|
|
114
|
+
fillHeight: {
|
|
115
|
+
true: string[];
|
|
116
|
+
false: never[];
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
defaultVariants: {
|
|
120
|
+
fillHeight: true;
|
|
121
|
+
};
|
|
122
|
+
}, "defaultVariants"> & {
|
|
123
|
+
variants: {
|
|
124
|
+
fillHeight: {
|
|
125
|
+
true: string[];
|
|
126
|
+
false: never[];
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
defaultVariants: Omit<{}, "fillHeight"> & {
|
|
130
|
+
fillHeight: true;
|
|
131
|
+
};
|
|
132
|
+
}, {
|
|
133
|
+
fillHeight: {
|
|
134
|
+
true: string[];
|
|
135
|
+
false: never[];
|
|
136
|
+
};
|
|
137
|
+
}>;
|
|
47
138
|
/**
|
|
48
139
|
* Returns inline styles for the sheet panel element.
|
|
49
140
|
*
|
|
@@ -1,4 +1,43 @@
|
|
|
1
|
-
export declare const cvaSidebar:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const cvaSidebar: import("cva").CVAComponent<Omit<{
|
|
2
|
+
base: string[];
|
|
3
|
+
}, "defaultVariants"> & {
|
|
4
|
+
variants: unknown;
|
|
5
|
+
defaultVariants: Omit<{}, never>;
|
|
6
|
+
}, unknown>;
|
|
7
|
+
export declare const cvaSidebarChildContainer: import("cva").CVAComponent<Omit<{
|
|
8
|
+
base: string[];
|
|
9
|
+
variants: {
|
|
10
|
+
breakpoint: {
|
|
11
|
+
xs: string[];
|
|
12
|
+
sm: string[];
|
|
13
|
+
md: string[];
|
|
14
|
+
lg: string[];
|
|
15
|
+
xl: string[];
|
|
16
|
+
"2xl": string[];
|
|
17
|
+
"3xl": string[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}, "defaultVariants"> & {
|
|
21
|
+
variants: {
|
|
22
|
+
breakpoint: {
|
|
23
|
+
xs: string[];
|
|
24
|
+
sm: string[];
|
|
25
|
+
md: string[];
|
|
26
|
+
lg: string[];
|
|
27
|
+
xl: string[];
|
|
28
|
+
"2xl": string[];
|
|
29
|
+
"3xl": string[];
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
defaultVariants: Omit<{}, never>;
|
|
33
|
+
}, {
|
|
34
|
+
breakpoint: {
|
|
35
|
+
xs: string[];
|
|
36
|
+
sm: string[];
|
|
37
|
+
md: string[];
|
|
38
|
+
lg: string[];
|
|
39
|
+
xl: string[];
|
|
40
|
+
"2xl": string[];
|
|
41
|
+
"3xl": string[];
|
|
42
|
+
};
|
|
43
|
+
}>;
|
|
@@ -25,9 +25,48 @@
|
|
|
25
25
|
* would never appear as a complete literal string anywhere in this file and so would silently fail
|
|
26
26
|
* to generate any CSS at all.
|
|
27
27
|
*/
|
|
28
|
-
export declare const cvaSidebarContentLayout: (
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
export declare const cvaSidebarContentLayout: import("cva").CVAComponent<Omit<{
|
|
29
|
+
base: string[];
|
|
30
|
+
variants: {
|
|
31
|
+
breakpoint: {
|
|
32
|
+
xs: string[];
|
|
33
|
+
sm: string[];
|
|
34
|
+
md: string[];
|
|
35
|
+
lg: string[];
|
|
36
|
+
xl: string[];
|
|
37
|
+
"2xl": string[];
|
|
38
|
+
"3xl": string[];
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
defaultVariants: {
|
|
42
|
+
breakpoint: "lg";
|
|
43
|
+
};
|
|
44
|
+
}, "defaultVariants"> & {
|
|
45
|
+
variants: {
|
|
46
|
+
breakpoint: {
|
|
47
|
+
xs: string[];
|
|
48
|
+
sm: string[];
|
|
49
|
+
md: string[];
|
|
50
|
+
lg: string[];
|
|
51
|
+
xl: string[];
|
|
52
|
+
"2xl": string[];
|
|
53
|
+
"3xl": string[];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
defaultVariants: Omit<{}, "breakpoint"> & {
|
|
57
|
+
breakpoint: "lg";
|
|
58
|
+
};
|
|
59
|
+
}, {
|
|
60
|
+
breakpoint: {
|
|
61
|
+
xs: string[];
|
|
62
|
+
sm: string[];
|
|
63
|
+
md: string[];
|
|
64
|
+
lg: string[];
|
|
65
|
+
xl: string[];
|
|
66
|
+
"2xl": string[];
|
|
67
|
+
"3xl": string[];
|
|
68
|
+
};
|
|
69
|
+
}>;
|
|
31
70
|
/**
|
|
32
71
|
* The sidebar's own grid cell. `pt-4 pl-4` give it a fixed top/left inset (matching
|
|
33
72
|
* `p-content-space`'s own `spacing-4`) now that there's no ambient ancestor padding left to inherit
|
|
@@ -68,9 +107,48 @@ export declare const cvaSidebarContentLayout: (props?: ({
|
|
|
68
107
|
* `p-content-space` already owns - it is deliberately *not* zero, but not enough to look like a second
|
|
69
108
|
* gap either.
|
|
70
109
|
*/
|
|
71
|
-
export declare const cvaSidebarContentLayoutSidebar: (
|
|
72
|
-
|
|
73
|
-
|
|
110
|
+
export declare const cvaSidebarContentLayoutSidebar: import("cva").CVAComponent<Omit<{
|
|
111
|
+
base: string[];
|
|
112
|
+
variants: {
|
|
113
|
+
breakpoint: {
|
|
114
|
+
xs: string[];
|
|
115
|
+
sm: string[];
|
|
116
|
+
md: string[];
|
|
117
|
+
lg: string[];
|
|
118
|
+
xl: string[];
|
|
119
|
+
"2xl": string[];
|
|
120
|
+
"3xl": string[];
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
defaultVariants: {
|
|
124
|
+
breakpoint: "lg";
|
|
125
|
+
};
|
|
126
|
+
}, "defaultVariants"> & {
|
|
127
|
+
variants: {
|
|
128
|
+
breakpoint: {
|
|
129
|
+
xs: string[];
|
|
130
|
+
sm: string[];
|
|
131
|
+
md: string[];
|
|
132
|
+
lg: string[];
|
|
133
|
+
xl: string[];
|
|
134
|
+
"2xl": string[];
|
|
135
|
+
"3xl": string[];
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
defaultVariants: Omit<{}, "breakpoint"> & {
|
|
139
|
+
breakpoint: "lg";
|
|
140
|
+
};
|
|
141
|
+
}, {
|
|
142
|
+
breakpoint: {
|
|
143
|
+
xs: string[];
|
|
144
|
+
sm: string[];
|
|
145
|
+
md: string[];
|
|
146
|
+
lg: string[];
|
|
147
|
+
xl: string[];
|
|
148
|
+
"2xl": string[];
|
|
149
|
+
"3xl": string[];
|
|
150
|
+
};
|
|
151
|
+
}>;
|
|
74
152
|
/**
|
|
75
153
|
* The content's own grid cell: `relative` (a positioning context for a future side panel/drawer to
|
|
76
154
|
* anchor into), a definite height (`h-full`, chained from the root grid's own fill contract) with
|
|
@@ -82,6 +160,30 @@ export declare const cvaSidebarContentLayoutSidebar: (props?: ({
|
|
|
82
160
|
* ancestor. Callers rendering a route that must sit flush (e.g. a full-page extension iframe) opt
|
|
83
161
|
* out with `contentSpace={false}`.
|
|
84
162
|
*/
|
|
85
|
-
export declare const cvaSidebarContentLayoutContent: (
|
|
86
|
-
|
|
87
|
-
|
|
163
|
+
export declare const cvaSidebarContentLayoutContent: import("cva").CVAComponent<Omit<{
|
|
164
|
+
base: string[];
|
|
165
|
+
variants: {
|
|
166
|
+
contentSpace: {
|
|
167
|
+
true: string[];
|
|
168
|
+
false: never[];
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
defaultVariants: {
|
|
172
|
+
contentSpace: true;
|
|
173
|
+
};
|
|
174
|
+
}, "defaultVariants"> & {
|
|
175
|
+
variants: {
|
|
176
|
+
contentSpace: {
|
|
177
|
+
true: string[];
|
|
178
|
+
false: never[];
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
defaultVariants: Omit<{}, "contentSpace"> & {
|
|
182
|
+
contentSpace: true;
|
|
183
|
+
};
|
|
184
|
+
}, {
|
|
185
|
+
contentSpace: {
|
|
186
|
+
true: string[];
|
|
187
|
+
false: never[];
|
|
188
|
+
};
|
|
189
|
+
}>;
|
|
@@ -1,3 +1,55 @@
|
|
|
1
|
-
export declare const cvaSkeleton: (
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const cvaSkeleton: import("cva").CVAComponent<Omit<{
|
|
2
|
+
base: string[];
|
|
3
|
+
variants: {
|
|
4
|
+
textSize: {
|
|
5
|
+
"text-xs": string[];
|
|
6
|
+
"text-sm": string[];
|
|
7
|
+
"text-base": string[];
|
|
8
|
+
"text-lg": string[];
|
|
9
|
+
"text-xl": string[];
|
|
10
|
+
"text-2xl": string[];
|
|
11
|
+
"text-3xl": string[];
|
|
12
|
+
"text-4xl": string[];
|
|
13
|
+
"text-5xl": string[];
|
|
14
|
+
"text-6xl": string[];
|
|
15
|
+
"text-7xl": string[];
|
|
16
|
+
"text-8xl": string[];
|
|
17
|
+
"text-9xl": string[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}, "defaultVariants"> & {
|
|
21
|
+
variants: {
|
|
22
|
+
textSize: {
|
|
23
|
+
"text-xs": string[];
|
|
24
|
+
"text-sm": string[];
|
|
25
|
+
"text-base": string[];
|
|
26
|
+
"text-lg": string[];
|
|
27
|
+
"text-xl": string[];
|
|
28
|
+
"text-2xl": string[];
|
|
29
|
+
"text-3xl": string[];
|
|
30
|
+
"text-4xl": string[];
|
|
31
|
+
"text-5xl": string[];
|
|
32
|
+
"text-6xl": string[];
|
|
33
|
+
"text-7xl": string[];
|
|
34
|
+
"text-8xl": string[];
|
|
35
|
+
"text-9xl": string[];
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
defaultVariants: Omit<{}, never>;
|
|
39
|
+
}, {
|
|
40
|
+
textSize: {
|
|
41
|
+
"text-xs": string[];
|
|
42
|
+
"text-sm": string[];
|
|
43
|
+
"text-base": string[];
|
|
44
|
+
"text-lg": string[];
|
|
45
|
+
"text-xl": string[];
|
|
46
|
+
"text-2xl": string[];
|
|
47
|
+
"text-3xl": string[];
|
|
48
|
+
"text-4xl": string[];
|
|
49
|
+
"text-5xl": string[];
|
|
50
|
+
"text-6xl": string[];
|
|
51
|
+
"text-7xl": string[];
|
|
52
|
+
"text-8xl": string[];
|
|
53
|
+
"text-9xl": string[];
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
export declare const cvaSkeletonContainer:
|
|
1
|
+
export declare const cvaSkeletonContainer: import("cva").CVAComponent<Omit<{
|
|
2
|
+
base: string[];
|
|
3
|
+
}, "defaultVariants"> & {
|
|
4
|
+
variants: unknown;
|
|
5
|
+
defaultVariants: Omit<{}, never>;
|
|
6
|
+
}, unknown>;
|
|
@@ -1,4 +1,44 @@
|
|
|
1
|
-
export declare const cvaSpacer: (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const cvaSpacer: import("cva").CVAComponent<Omit<{
|
|
2
|
+
base: never[];
|
|
3
|
+
variants: {
|
|
4
|
+
border: {
|
|
5
|
+
true: string[];
|
|
6
|
+
false: string;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
small: string;
|
|
10
|
+
medium: string;
|
|
11
|
+
large: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
defaultVariants: {
|
|
15
|
+
border: false;
|
|
16
|
+
size: "medium";
|
|
17
|
+
};
|
|
18
|
+
}, "defaultVariants"> & {
|
|
19
|
+
variants: {
|
|
20
|
+
border: {
|
|
21
|
+
true: string[];
|
|
22
|
+
false: string;
|
|
23
|
+
};
|
|
24
|
+
size: {
|
|
25
|
+
small: string;
|
|
26
|
+
medium: string;
|
|
27
|
+
large: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
defaultVariants: Omit<{}, "size" | "border"> & {
|
|
31
|
+
border: false;
|
|
32
|
+
size: "medium";
|
|
33
|
+
};
|
|
34
|
+
}, {
|
|
35
|
+
border: {
|
|
36
|
+
true: string[];
|
|
37
|
+
false: string;
|
|
38
|
+
};
|
|
39
|
+
size: {
|
|
40
|
+
small: string;
|
|
41
|
+
medium: string;
|
|
42
|
+
large: string;
|
|
43
|
+
};
|
|
44
|
+
}>;
|