@spothero/ui 25.4.0 → 25.6.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/components/Accordion/styles/index.d.ts +2 -2
- package/dist/components/Badge/styles/index.d.ts +78 -0
- package/dist/components/Button/Button.styles.d.ts +601 -0
- package/dist/components/Card/Card.d.ts +4 -0
- package/dist/components/Checkbox/styles/index.d.ts +200 -0
- package/dist/components/Container/Container.d.ts +4 -0
- package/dist/components/Container/Container.styles.d.ts +10 -0
- package/dist/components/Divider/Divider.d.ts +11 -0
- package/dist/components/Divider/Divider.styles.d.ts +40 -0
- package/dist/components/Drawer/styles/index.d.ts +149 -0
- package/dist/components/FormControl/FormControl.d.ts +13 -0
- package/dist/components/Grid/GridItem.styles.d.ts +4 -0
- package/dist/components/Heading/Heading.styles.d.ts +66 -0
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Input/styles/index.d.ts +217 -0
- package/dist/components/Link/Link.styles.d.ts +102 -0
- package/dist/components/List/styles/index.d.ts +32 -0
- package/dist/components/List/styles/item.styles.d.ts +4 -0
- package/dist/components/Menu/Menu.styles.d.ts +258 -0
- package/dist/components/Modal/styles/body.d.ts +30 -0
- package/dist/components/Modal/styles/closeButton.d.ts +18 -0
- package/dist/components/Modal/styles/dialog.d.ts +16 -0
- package/dist/components/Modal/styles/dialogContainer.d.ts +12 -0
- package/dist/components/Modal/styles/footer.d.ts +6 -0
- package/dist/components/Modal/styles/header.d.ts +10 -0
- package/dist/components/Modal/styles/index.d.ts +227 -0
- package/dist/components/Modal/styles/overlay.d.ts +5 -0
- package/dist/components/Popover/styles/index.d.ts +100 -0
- package/dist/components/Popover/styles/popover-body.d.ts +4 -0
- package/dist/components/Popover/styles/popover-content.d.ts +20 -0
- package/dist/components/Popover/styles/popover-header.d.ts +5 -0
- package/dist/components/Popover/styles/popper.d.ts +4 -0
- package/dist/components/Progress/Progress.styles.d.ts +75 -0
- package/dist/components/Radio/styles/index.d.ts +292 -0
- package/dist/components/RefreshedInput/Button/styles/index.d.ts +413 -0
- package/dist/components/RefreshedInput/Input/styles/index.d.ts +260 -0
- package/dist/components/Select/styles/index.d.ts +2 -2
- package/dist/components/Skeleton/Skeleton.styles.d.ts +26 -0
- package/dist/components/Spinner/Spinner.d.ts +12 -0
- package/dist/components/Spinner/Spinner.styles.d.ts +144 -0
- package/dist/components/Switch/styles/index.d.ts +116 -0
- package/dist/components/Table/Table.styles.d.ts +69 -0
- package/dist/components/Tabs/styles/index.d.ts +308 -0
- package/dist/components/Text/Text.styles.d.ts +30 -0
- package/dist/components/styles.d.ts +26 -0
- package/dist/index.cjs.js +1992 -693
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +251 -0
- package/dist/index.esm.js +1990 -693
- package/dist/index.esm.js.map +1 -1
- package/dist/theme/base/breakpoints.d.ts +6 -6
- package/dist/theme/base/colors.d.ts +106 -116
- package/dist/theme/base/index.d.ts +7 -7
- package/dist/theme/base/notifications.d.ts +80 -104
- package/dist/theme/base/sizes.d.ts +41 -41
- package/dist/theme/base/typography.d.ts +22 -22
- package/dist/theme/base/zindices.d.ts +15 -15
- package/dist/theme/global.d.ts +21 -0
- package/dist/theme/index.d.ts +2 -0
- package/package.json +13 -11
|
@@ -19,7 +19,7 @@ export declare const accordionTheme: {
|
|
|
19
19
|
} | undefined;
|
|
20
20
|
sizes?: {
|
|
21
21
|
[key: string]: import("@chakra-ui/react").PartsStyleInterpolation<{
|
|
22
|
-
keys: ("container" | "
|
|
22
|
+
keys: ("container" | "root" | "button" | "panel" | "icon")[];
|
|
23
23
|
}>;
|
|
24
24
|
} | undefined;
|
|
25
25
|
variants?: {
|
|
@@ -87,7 +87,7 @@ export declare const accordionTheme: {
|
|
|
87
87
|
variant?: "lined" | "contained" | "unstyled" | undefined;
|
|
88
88
|
colorScheme?: string | undefined;
|
|
89
89
|
} | undefined;
|
|
90
|
-
parts: ("container" | "
|
|
90
|
+
parts: ("container" | "root" | "button" | "panel" | "icon")[];
|
|
91
91
|
};
|
|
92
92
|
export declare const theme: Record<string, any>;
|
|
93
93
|
export default theme;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export namespace variants {
|
|
2
|
+
namespace primary {
|
|
3
|
+
let bg: string;
|
|
4
|
+
let color: string;
|
|
5
|
+
}
|
|
6
|
+
namespace warningLight {
|
|
7
|
+
let bg_1: string;
|
|
8
|
+
export { bg_1 as bg };
|
|
9
|
+
let color_1: string;
|
|
10
|
+
export { color_1 as color };
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
declare const _default: {
|
|
14
|
+
baseStyle?: {
|
|
15
|
+
px: number;
|
|
16
|
+
textTransform: string;
|
|
17
|
+
fontSize: string;
|
|
18
|
+
borderRadius: string;
|
|
19
|
+
fontWeight: string;
|
|
20
|
+
bg: string;
|
|
21
|
+
color: string;
|
|
22
|
+
boxShadow: string;
|
|
23
|
+
} | undefined;
|
|
24
|
+
sizes?: {
|
|
25
|
+
[key: string]: import("@chakra-ui/react").SystemStyleInterpolation;
|
|
26
|
+
} | undefined;
|
|
27
|
+
variants?: {
|
|
28
|
+
solid: (props: import("@chakra-ui/react").StyleFunctionProps) => {
|
|
29
|
+
[x: string]: string | {
|
|
30
|
+
[x: string]: string;
|
|
31
|
+
};
|
|
32
|
+
_dark: {
|
|
33
|
+
[x: string]: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
subtle: (props: import("@chakra-ui/react").StyleFunctionProps) => {
|
|
37
|
+
[x: string]: string | {
|
|
38
|
+
[x: string]: string;
|
|
39
|
+
};
|
|
40
|
+
_dark: {
|
|
41
|
+
[x: string]: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
outline: (props: import("@chakra-ui/react").StyleFunctionProps) => {
|
|
45
|
+
[x: string]: string | {
|
|
46
|
+
[x: string]: string;
|
|
47
|
+
};
|
|
48
|
+
_dark: {
|
|
49
|
+
[x: string]: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
} | undefined;
|
|
53
|
+
defaultProps?: {
|
|
54
|
+
size?: string | number | undefined;
|
|
55
|
+
variant?: "outline" | "solid" | "subtle" | undefined;
|
|
56
|
+
colorScheme?: string | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
} & {
|
|
59
|
+
variants: {
|
|
60
|
+
primary: {
|
|
61
|
+
bg: string;
|
|
62
|
+
color: string;
|
|
63
|
+
};
|
|
64
|
+
warningLight: {
|
|
65
|
+
bg: string;
|
|
66
|
+
color: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
baseStyle: {
|
|
70
|
+
px: number;
|
|
71
|
+
textTransform: string;
|
|
72
|
+
fontSize: string;
|
|
73
|
+
borderRadius: string;
|
|
74
|
+
fontWeight: string;
|
|
75
|
+
};
|
|
76
|
+
defaultProps: {};
|
|
77
|
+
};
|
|
78
|
+
export default _default;
|
|
@@ -0,0 +1,601 @@
|
|
|
1
|
+
export function heightProps(height?: string): any;
|
|
2
|
+
export namespace variants {
|
|
3
|
+
namespace primary {
|
|
4
|
+
let bg: string;
|
|
5
|
+
let borderColor: string;
|
|
6
|
+
let color: string;
|
|
7
|
+
namespace _hover {
|
|
8
|
+
export namespace _disabled {
|
|
9
|
+
let bg_1: string;
|
|
10
|
+
export { bg_1 as bg };
|
|
11
|
+
let borderColor_1: string;
|
|
12
|
+
export { borderColor_1 as borderColor };
|
|
13
|
+
let color_1: string;
|
|
14
|
+
export { color_1 as color };
|
|
15
|
+
}
|
|
16
|
+
export { hoverPrimaryColor as bg };
|
|
17
|
+
export { hoverPrimaryColor as borderColor };
|
|
18
|
+
let color_2: string;
|
|
19
|
+
export { color_2 as color };
|
|
20
|
+
}
|
|
21
|
+
namespace _active {
|
|
22
|
+
export { activePrimaryColor as bg };
|
|
23
|
+
export { activePrimaryColor as borderColor };
|
|
24
|
+
let color_3: string;
|
|
25
|
+
export { color_3 as color };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
namespace primaryOnDark {
|
|
29
|
+
let bg_2: string;
|
|
30
|
+
export { bg_2 as bg };
|
|
31
|
+
let borderColor_2: string;
|
|
32
|
+
export { borderColor_2 as borderColor };
|
|
33
|
+
let color_4: string;
|
|
34
|
+
export { color_4 as color };
|
|
35
|
+
export namespace _hover_1 {
|
|
36
|
+
export { hoverDarkColor as bg };
|
|
37
|
+
export { hoverDarkColor as borderColor };
|
|
38
|
+
let color_5: string;
|
|
39
|
+
export { color_5 as color };
|
|
40
|
+
}
|
|
41
|
+
export { _hover_1 as _hover };
|
|
42
|
+
export namespace _focus {
|
|
43
|
+
let boxShadow: string;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
namespace secondary {
|
|
47
|
+
let bg_3: string;
|
|
48
|
+
export { bg_3 as bg };
|
|
49
|
+
let borderColor_3: string;
|
|
50
|
+
export { borderColor_3 as borderColor };
|
|
51
|
+
let color_6: string;
|
|
52
|
+
export { color_6 as color };
|
|
53
|
+
export namespace _hover_2 {
|
|
54
|
+
export { hoverSecondaryColor as bg };
|
|
55
|
+
let color_7: string;
|
|
56
|
+
export { color_7 as color };
|
|
57
|
+
}
|
|
58
|
+
export { _hover_2 as _hover };
|
|
59
|
+
export namespace _active_1 {
|
|
60
|
+
export { activeSecondaryColor as bg };
|
|
61
|
+
}
|
|
62
|
+
export { _active_1 as _active };
|
|
63
|
+
}
|
|
64
|
+
namespace secondaryOnDark {
|
|
65
|
+
let bg_4: string;
|
|
66
|
+
export { bg_4 as bg };
|
|
67
|
+
let borderColor_4: string;
|
|
68
|
+
export { borderColor_4 as borderColor };
|
|
69
|
+
let color_8: string;
|
|
70
|
+
export { color_8 as color };
|
|
71
|
+
export namespace _hover_3 {
|
|
72
|
+
let bg_5: string;
|
|
73
|
+
export { bg_5 as bg };
|
|
74
|
+
let color_9: string;
|
|
75
|
+
export { color_9 as color };
|
|
76
|
+
}
|
|
77
|
+
export { _hover_3 as _hover };
|
|
78
|
+
export namespace _focus_1 {
|
|
79
|
+
let boxShadow_1: string;
|
|
80
|
+
export { boxShadow_1 as boxShadow };
|
|
81
|
+
}
|
|
82
|
+
export { _focus_1 as _focus };
|
|
83
|
+
}
|
|
84
|
+
namespace tertiary {
|
|
85
|
+
let bg_6: string;
|
|
86
|
+
export { bg_6 as bg };
|
|
87
|
+
export let borderWidth: string;
|
|
88
|
+
export let borderRadius: string;
|
|
89
|
+
let color_10: string;
|
|
90
|
+
export { color_10 as color };
|
|
91
|
+
export let h: string;
|
|
92
|
+
export let m: string;
|
|
93
|
+
export let minW: string;
|
|
94
|
+
export let p: string;
|
|
95
|
+
export let lineHeight: number;
|
|
96
|
+
export namespace _disabled_1 {
|
|
97
|
+
let bg_7: string;
|
|
98
|
+
export { bg_7 as bg };
|
|
99
|
+
let color_11: string;
|
|
100
|
+
export { color_11 as color };
|
|
101
|
+
}
|
|
102
|
+
export { _disabled_1 as _disabled };
|
|
103
|
+
export namespace _hover_4 {
|
|
104
|
+
export namespace _disabled_2 {
|
|
105
|
+
let color_12: string;
|
|
106
|
+
export { color_12 as color };
|
|
107
|
+
}
|
|
108
|
+
export { _disabled_2 as _disabled };
|
|
109
|
+
}
|
|
110
|
+
export { _hover_4 as _hover };
|
|
111
|
+
export namespace _active_2 {
|
|
112
|
+
export namespace _disabled_3 {
|
|
113
|
+
let color_13: string;
|
|
114
|
+
export { color_13 as color };
|
|
115
|
+
}
|
|
116
|
+
export { _disabled_3 as _disabled };
|
|
117
|
+
}
|
|
118
|
+
export { _active_2 as _active };
|
|
119
|
+
}
|
|
120
|
+
namespace tertiaryOnDark {
|
|
121
|
+
let bg_8: string;
|
|
122
|
+
export { bg_8 as bg };
|
|
123
|
+
let borderRadius_1: string;
|
|
124
|
+
export { borderRadius_1 as borderRadius };
|
|
125
|
+
let borderWidth_1: string;
|
|
126
|
+
export { borderWidth_1 as borderWidth };
|
|
127
|
+
let color_14: string;
|
|
128
|
+
export { color_14 as color };
|
|
129
|
+
let h_1: string;
|
|
130
|
+
export { h_1 as h };
|
|
131
|
+
let m_1: string;
|
|
132
|
+
export { m_1 as m };
|
|
133
|
+
let minW_1: string;
|
|
134
|
+
export { minW_1 as minW };
|
|
135
|
+
let p_1: string;
|
|
136
|
+
export { p_1 as p };
|
|
137
|
+
export namespace _disabled_4 {
|
|
138
|
+
let bg_9: string;
|
|
139
|
+
export { bg_9 as bg };
|
|
140
|
+
let color_15: string;
|
|
141
|
+
export { color_15 as color };
|
|
142
|
+
export let opacity: number;
|
|
143
|
+
}
|
|
144
|
+
export { _disabled_4 as _disabled };
|
|
145
|
+
export namespace _hover_5 {
|
|
146
|
+
let color_16: string;
|
|
147
|
+
export { color_16 as color };
|
|
148
|
+
let opacity_1: number;
|
|
149
|
+
export { opacity_1 as opacity };
|
|
150
|
+
export namespace _disabled_5 {
|
|
151
|
+
let opacity_2: number;
|
|
152
|
+
export { opacity_2 as opacity };
|
|
153
|
+
}
|
|
154
|
+
export { _disabled_5 as _disabled };
|
|
155
|
+
}
|
|
156
|
+
export { _hover_5 as _hover };
|
|
157
|
+
}
|
|
158
|
+
namespace black {
|
|
159
|
+
let bg_10: string;
|
|
160
|
+
export { bg_10 as bg };
|
|
161
|
+
let borderColor_5: string;
|
|
162
|
+
export { borderColor_5 as borderColor };
|
|
163
|
+
let color_17: string;
|
|
164
|
+
export { color_17 as color };
|
|
165
|
+
export let py: number;
|
|
166
|
+
export namespace _hover_6 {
|
|
167
|
+
export { hoverBlackColor as bg };
|
|
168
|
+
export { hoverBlackColor as borderColor };
|
|
169
|
+
let color_18: string;
|
|
170
|
+
export { color_18 as color };
|
|
171
|
+
}
|
|
172
|
+
export { _hover_6 as _hover };
|
|
173
|
+
export namespace _active_3 {
|
|
174
|
+
export { activeBlackColor as bg };
|
|
175
|
+
export { activeBlackColor as borderColor };
|
|
176
|
+
let color_19: string;
|
|
177
|
+
export { color_19 as color };
|
|
178
|
+
}
|
|
179
|
+
export { _active_3 as _active };
|
|
180
|
+
}
|
|
181
|
+
namespace blackOnDark {
|
|
182
|
+
let bg_11: string;
|
|
183
|
+
export { bg_11 as bg };
|
|
184
|
+
let borderColor_6: string;
|
|
185
|
+
export { borderColor_6 as borderColor };
|
|
186
|
+
let color_20: string;
|
|
187
|
+
export { color_20 as color };
|
|
188
|
+
let py_1: number;
|
|
189
|
+
export { py_1 as py };
|
|
190
|
+
export namespace _hover_7 {
|
|
191
|
+
export { hoverSecondaryColor as bg };
|
|
192
|
+
export { hoverSecondaryColor as borderColor };
|
|
193
|
+
let color_21: string;
|
|
194
|
+
export { color_21 as color };
|
|
195
|
+
}
|
|
196
|
+
export { _hover_7 as _hover };
|
|
197
|
+
export namespace _active_4 {
|
|
198
|
+
export { activeSecondaryColor as bg };
|
|
199
|
+
export { activeSecondaryColor as borderColor };
|
|
200
|
+
let color_22: string;
|
|
201
|
+
export { color_22 as color };
|
|
202
|
+
}
|
|
203
|
+
export { _active_4 as _active };
|
|
204
|
+
export namespace _focus_2 {
|
|
205
|
+
let boxShadow_2: string;
|
|
206
|
+
export { boxShadow_2 as boxShadow };
|
|
207
|
+
}
|
|
208
|
+
export { _focus_2 as _focus };
|
|
209
|
+
}
|
|
210
|
+
namespace destructive {
|
|
211
|
+
let bg_12: string;
|
|
212
|
+
export { bg_12 as bg };
|
|
213
|
+
let borderColor_7: string;
|
|
214
|
+
export { borderColor_7 as borderColor };
|
|
215
|
+
let color_23: string;
|
|
216
|
+
export { color_23 as color };
|
|
217
|
+
export namespace _hover_8 {
|
|
218
|
+
let borderColor_8: string;
|
|
219
|
+
export { borderColor_8 as borderColor };
|
|
220
|
+
let color_24: string;
|
|
221
|
+
export { color_24 as color };
|
|
222
|
+
}
|
|
223
|
+
export { _hover_8 as _hover };
|
|
224
|
+
}
|
|
225
|
+
namespace destructiveOnDark { }
|
|
226
|
+
}
|
|
227
|
+
declare const _default: {
|
|
228
|
+
baseStyle?: {
|
|
229
|
+
lineHeight: string;
|
|
230
|
+
borderRadius: string;
|
|
231
|
+
fontWeight: string;
|
|
232
|
+
transitionProperty: string;
|
|
233
|
+
transitionDuration: string;
|
|
234
|
+
_focusVisible: {
|
|
235
|
+
boxShadow: string;
|
|
236
|
+
};
|
|
237
|
+
_disabled: {
|
|
238
|
+
opacity: number;
|
|
239
|
+
cursor: string;
|
|
240
|
+
boxShadow: string;
|
|
241
|
+
};
|
|
242
|
+
_hover: {
|
|
243
|
+
_disabled: {
|
|
244
|
+
bg: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
} | undefined;
|
|
248
|
+
sizes?: {
|
|
249
|
+
lg: {
|
|
250
|
+
h: string;
|
|
251
|
+
minW: string;
|
|
252
|
+
fontSize: string;
|
|
253
|
+
px: string;
|
|
254
|
+
};
|
|
255
|
+
md: {
|
|
256
|
+
h: string;
|
|
257
|
+
minW: string;
|
|
258
|
+
fontSize: string;
|
|
259
|
+
px: string;
|
|
260
|
+
};
|
|
261
|
+
sm: {
|
|
262
|
+
h: string;
|
|
263
|
+
minW: string;
|
|
264
|
+
fontSize: string;
|
|
265
|
+
px: string;
|
|
266
|
+
};
|
|
267
|
+
xs: {
|
|
268
|
+
h: string;
|
|
269
|
+
minW: string;
|
|
270
|
+
fontSize: string;
|
|
271
|
+
px: string;
|
|
272
|
+
};
|
|
273
|
+
} | undefined;
|
|
274
|
+
variants?: {
|
|
275
|
+
ghost: (props: import("@chakra-ui/react").StyleFunctionProps) => {
|
|
276
|
+
color: string;
|
|
277
|
+
_hover: {
|
|
278
|
+
bg: string;
|
|
279
|
+
};
|
|
280
|
+
_active: {
|
|
281
|
+
bg: string;
|
|
282
|
+
};
|
|
283
|
+
bg?: undefined;
|
|
284
|
+
} | {
|
|
285
|
+
color: string;
|
|
286
|
+
bg: string;
|
|
287
|
+
_hover: {
|
|
288
|
+
bg: string;
|
|
289
|
+
};
|
|
290
|
+
_active: {
|
|
291
|
+
bg: string;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
outline: (props: import("@chakra-ui/react").StyleFunctionProps) => {
|
|
295
|
+
color: string;
|
|
296
|
+
_hover: {
|
|
297
|
+
bg: string;
|
|
298
|
+
};
|
|
299
|
+
_active: {
|
|
300
|
+
bg: string;
|
|
301
|
+
};
|
|
302
|
+
bg?: undefined;
|
|
303
|
+
border: string;
|
|
304
|
+
borderColor: string;
|
|
305
|
+
".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)": {
|
|
306
|
+
marginEnd: string;
|
|
307
|
+
};
|
|
308
|
+
".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)": {
|
|
309
|
+
marginBottom: string;
|
|
310
|
+
};
|
|
311
|
+
} | {
|
|
312
|
+
color: string;
|
|
313
|
+
bg: string;
|
|
314
|
+
_hover: {
|
|
315
|
+
bg: string;
|
|
316
|
+
};
|
|
317
|
+
_active: {
|
|
318
|
+
bg: string;
|
|
319
|
+
};
|
|
320
|
+
border: string;
|
|
321
|
+
borderColor: string;
|
|
322
|
+
".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)": {
|
|
323
|
+
marginEnd: string;
|
|
324
|
+
};
|
|
325
|
+
".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)": {
|
|
326
|
+
marginBottom: string;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
solid: (props: import("@chakra-ui/react").StyleFunctionProps) => {
|
|
330
|
+
bg: string;
|
|
331
|
+
color: string;
|
|
332
|
+
_hover: {
|
|
333
|
+
bg: string;
|
|
334
|
+
_disabled: {
|
|
335
|
+
bg: string;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
_active: {
|
|
339
|
+
bg: string;
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
link: (props: import("@chakra-ui/react").StyleFunctionProps) => {
|
|
343
|
+
padding: number;
|
|
344
|
+
height: string;
|
|
345
|
+
lineHeight: string;
|
|
346
|
+
verticalAlign: string;
|
|
347
|
+
color: string;
|
|
348
|
+
_hover: {
|
|
349
|
+
textDecoration: string;
|
|
350
|
+
_disabled: {
|
|
351
|
+
textDecoration: string;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
_active: {
|
|
355
|
+
color: string;
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
unstyled: {
|
|
359
|
+
bg: string;
|
|
360
|
+
color: string;
|
|
361
|
+
display: string;
|
|
362
|
+
lineHeight: string;
|
|
363
|
+
m: string;
|
|
364
|
+
p: string;
|
|
365
|
+
};
|
|
366
|
+
} | undefined;
|
|
367
|
+
defaultProps?: {
|
|
368
|
+
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
369
|
+
variant?: "link" | "outline" | "solid" | "ghost" | "unstyled" | undefined;
|
|
370
|
+
colorScheme?: string | undefined;
|
|
371
|
+
} | undefined;
|
|
372
|
+
} & {
|
|
373
|
+
variants: {
|
|
374
|
+
primary: {
|
|
375
|
+
bg: string;
|
|
376
|
+
borderColor: string;
|
|
377
|
+
color: string;
|
|
378
|
+
_hover: {
|
|
379
|
+
_disabled: {
|
|
380
|
+
bg: string;
|
|
381
|
+
borderColor: string;
|
|
382
|
+
color: string;
|
|
383
|
+
};
|
|
384
|
+
bg: string;
|
|
385
|
+
borderColor: string;
|
|
386
|
+
color: string;
|
|
387
|
+
};
|
|
388
|
+
_active: {
|
|
389
|
+
bg: string;
|
|
390
|
+
borderColor: string;
|
|
391
|
+
color: string;
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
primaryOnDark: {
|
|
395
|
+
bg: string;
|
|
396
|
+
borderColor: string;
|
|
397
|
+
color: string;
|
|
398
|
+
_hover: {
|
|
399
|
+
_disabled: {
|
|
400
|
+
bg: string;
|
|
401
|
+
borderColor: string;
|
|
402
|
+
color: string;
|
|
403
|
+
};
|
|
404
|
+
bg: string;
|
|
405
|
+
borderColor: string;
|
|
406
|
+
color: string;
|
|
407
|
+
};
|
|
408
|
+
_focus: {
|
|
409
|
+
boxShadow: string;
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
secondary: {
|
|
413
|
+
bg: string;
|
|
414
|
+
borderColor: string;
|
|
415
|
+
color: string;
|
|
416
|
+
_hover: {
|
|
417
|
+
_disabled: {
|
|
418
|
+
bg: string;
|
|
419
|
+
borderColor: string;
|
|
420
|
+
color: string;
|
|
421
|
+
};
|
|
422
|
+
bg: string;
|
|
423
|
+
color: string;
|
|
424
|
+
};
|
|
425
|
+
_active: {
|
|
426
|
+
bg: string;
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
secondaryOnDark: {
|
|
430
|
+
bg: string;
|
|
431
|
+
borderColor: string;
|
|
432
|
+
color: string;
|
|
433
|
+
_hover: {
|
|
434
|
+
_disabled: {
|
|
435
|
+
bg: string;
|
|
436
|
+
borderColor: string;
|
|
437
|
+
color: string;
|
|
438
|
+
};
|
|
439
|
+
bg: string;
|
|
440
|
+
color: string;
|
|
441
|
+
};
|
|
442
|
+
_focus: {
|
|
443
|
+
boxShadow: string;
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
tertiary: {
|
|
447
|
+
bg: string;
|
|
448
|
+
borderWidth: string;
|
|
449
|
+
borderRadius: string;
|
|
450
|
+
color: string;
|
|
451
|
+
h: string;
|
|
452
|
+
m: string;
|
|
453
|
+
minW: string;
|
|
454
|
+
p: string;
|
|
455
|
+
lineHeight: number;
|
|
456
|
+
_disabled: {
|
|
457
|
+
bg: string;
|
|
458
|
+
color: string;
|
|
459
|
+
};
|
|
460
|
+
_hover: {
|
|
461
|
+
_disabled: {
|
|
462
|
+
color: string;
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
_active: {
|
|
466
|
+
_disabled: {
|
|
467
|
+
color: string;
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
tertiaryOnDark: {
|
|
472
|
+
bg: string;
|
|
473
|
+
borderRadius: string;
|
|
474
|
+
borderWidth: string;
|
|
475
|
+
color: string;
|
|
476
|
+
h: string;
|
|
477
|
+
m: string;
|
|
478
|
+
minW: string;
|
|
479
|
+
p: string;
|
|
480
|
+
_disabled: {
|
|
481
|
+
bg: string;
|
|
482
|
+
color: string;
|
|
483
|
+
opacity: number;
|
|
484
|
+
};
|
|
485
|
+
_hover: {
|
|
486
|
+
color: string;
|
|
487
|
+
opacity: number;
|
|
488
|
+
_disabled: {
|
|
489
|
+
opacity: number;
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
};
|
|
493
|
+
black: {
|
|
494
|
+
bg: string;
|
|
495
|
+
borderColor: string;
|
|
496
|
+
color: string;
|
|
497
|
+
py: number;
|
|
498
|
+
_hover: {
|
|
499
|
+
_disabled: {
|
|
500
|
+
bg: string;
|
|
501
|
+
borderColor: string;
|
|
502
|
+
color: string;
|
|
503
|
+
};
|
|
504
|
+
bg: string;
|
|
505
|
+
borderColor: string;
|
|
506
|
+
color: string;
|
|
507
|
+
};
|
|
508
|
+
_active: {
|
|
509
|
+
bg: string;
|
|
510
|
+
borderColor: string;
|
|
511
|
+
color: string;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
blackOnDark: {
|
|
515
|
+
bg: string;
|
|
516
|
+
borderColor: string;
|
|
517
|
+
color: string;
|
|
518
|
+
py: number;
|
|
519
|
+
_hover: {
|
|
520
|
+
_disabled: {
|
|
521
|
+
bg: string;
|
|
522
|
+
borderColor: string;
|
|
523
|
+
color: string;
|
|
524
|
+
};
|
|
525
|
+
bg: string;
|
|
526
|
+
borderColor: string;
|
|
527
|
+
color: string;
|
|
528
|
+
};
|
|
529
|
+
_active: {
|
|
530
|
+
bg: string;
|
|
531
|
+
borderColor: string;
|
|
532
|
+
color: string;
|
|
533
|
+
};
|
|
534
|
+
_focus: {
|
|
535
|
+
boxShadow: string;
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
destructive: {
|
|
539
|
+
bg: string;
|
|
540
|
+
borderColor: string;
|
|
541
|
+
color: string;
|
|
542
|
+
_hover: {
|
|
543
|
+
_disabled: {
|
|
544
|
+
bg: string;
|
|
545
|
+
borderColor: string;
|
|
546
|
+
color: string;
|
|
547
|
+
};
|
|
548
|
+
borderColor: string;
|
|
549
|
+
color: string;
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
destructiveOnDark: {
|
|
553
|
+
bg: string;
|
|
554
|
+
borderColor: string;
|
|
555
|
+
color: string;
|
|
556
|
+
_hover: {
|
|
557
|
+
_disabled: {
|
|
558
|
+
bg: string;
|
|
559
|
+
borderColor: string;
|
|
560
|
+
color: string;
|
|
561
|
+
};
|
|
562
|
+
borderColor: string;
|
|
563
|
+
color: string;
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
baseStyle: {
|
|
568
|
+
px: number;
|
|
569
|
+
py: number;
|
|
570
|
+
fontSize: string;
|
|
571
|
+
fontFamily: string;
|
|
572
|
+
lineHeight: number;
|
|
573
|
+
fontWeight: string;
|
|
574
|
+
borderWidth: string;
|
|
575
|
+
borderStyle: string;
|
|
576
|
+
borderRadius: string;
|
|
577
|
+
textTransform: string;
|
|
578
|
+
transition: string;
|
|
579
|
+
_disabled: {
|
|
580
|
+
cursor: string;
|
|
581
|
+
opacity: number;
|
|
582
|
+
bg: string;
|
|
583
|
+
borderColor: string;
|
|
584
|
+
color: string;
|
|
585
|
+
};
|
|
586
|
+
'& svg': {
|
|
587
|
+
display: string;
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
defaultProps: {
|
|
591
|
+
size: null;
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
export default _default;
|
|
595
|
+
declare const hoverPrimaryColor: string;
|
|
596
|
+
declare const activePrimaryColor: string;
|
|
597
|
+
declare const hoverDarkColor: string;
|
|
598
|
+
declare const hoverSecondaryColor: string;
|
|
599
|
+
declare const activeSecondaryColor: string;
|
|
600
|
+
declare const hoverBlackColor: string;
|
|
601
|
+
declare const activeBlackColor: string;
|