@spothero/ui 25.5.1 → 25.11.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.
Files changed (67) hide show
  1. package/dist/components/Accordion/styles/index.d.ts +13 -89
  2. package/dist/components/Alert/Alert.d.ts +33 -0
  3. package/dist/components/Badge/Badge.d.ts +1 -0
  4. package/dist/components/Badge/styles/index.d.ts +11 -75
  5. package/dist/components/Button/Button.d.ts +27 -0
  6. package/dist/components/Button/Button.styles.d.ts +174 -553
  7. package/dist/components/Button/index.d.ts +2 -0
  8. package/dist/components/Checkbox/Checkbox.d.ts +10 -0
  9. package/dist/components/Checkbox/index.d.ts +1 -0
  10. package/dist/components/Checkbox/styles/index.d.ts +4 -200
  11. package/dist/components/Divider/Divider.styles.d.ts +5 -31
  12. package/dist/components/Drawer/Drawer.d.ts +10 -0
  13. package/dist/components/Drawer/index.d.ts +2 -0
  14. package/dist/components/Drawer/styles/index.d.ts +4 -149
  15. package/dist/components/Grid/Grid.d.ts +10 -0
  16. package/dist/components/Grid/Grid.styles.d.ts +10 -0
  17. package/dist/components/Grid/GridItem.d.ts +8 -0
  18. package/dist/components/Grid/GridItem.styles.d.ts +3 -3
  19. package/dist/components/Heading/Heading.d.ts +9 -0
  20. package/dist/components/Heading/Heading.styles.d.ts +12 -65
  21. package/dist/components/Image/Image.d.ts +21 -0
  22. package/dist/components/Input/Input.d.ts +12 -0
  23. package/dist/components/Input/index.d.ts +1 -0
  24. package/dist/components/Input/styles/index.d.ts +3 -217
  25. package/dist/components/Link/Link.d.ts +1 -0
  26. package/dist/components/Link/Link.styles.d.ts +11 -84
  27. package/dist/components/List/List.d.ts +25 -0
  28. package/dist/components/List/index.d.ts +2 -0
  29. package/dist/components/List/styles/index.d.ts +4 -32
  30. package/dist/components/List/styles/item.styles.d.ts +3 -3
  31. package/dist/components/Loader/Loader.d.ts +13 -0
  32. package/dist/components/Progress/Progress.d.ts +8 -0
  33. package/dist/components/Progress/Progress.styles.d.ts +4 -75
  34. package/dist/components/Radio/Radio.d.ts +9 -0
  35. package/dist/components/Radio/RadioGroup.d.ts +14 -0
  36. package/dist/components/Radio/index.d.ts +2 -0
  37. package/dist/components/Radio/styles/index.d.ts +43 -277
  38. package/dist/components/RefreshedInput/Button/styles/index.d.ts +1 -263
  39. package/dist/components/RefreshedInput/Input/styles/index.d.ts +2 -254
  40. package/dist/components/RefreshedInput/Select/styles/index.d.ts +2 -71
  41. package/dist/components/Select/Select.d.ts +11 -0
  42. package/dist/components/Select/index.d.ts +1 -0
  43. package/dist/components/Select/styles/index.d.ts +28 -218
  44. package/dist/components/Skeleton/Skeleton.styles.d.ts +4 -26
  45. package/dist/components/Skeleton/index.d.ts +1 -0
  46. package/dist/components/Switch/Switch.d.ts +21 -0
  47. package/dist/components/Switch/index.d.ts +1 -0
  48. package/dist/components/Switch/styles/index.d.ts +4 -116
  49. package/dist/components/Table/Table.styles.d.ts +1 -4
  50. package/dist/components/Text/Text.d.ts +11 -0
  51. package/dist/components/Text/Text.styles.d.ts +29 -30
  52. package/dist/components/Text/combineAsWithVariant.d.ts +101 -0
  53. package/dist/components/Text/options.d.ts +2 -0
  54. package/dist/components/Textarea/Textarea.d.ts +12 -0
  55. package/dist/components/Textarea/index.d.ts +1 -0
  56. package/dist/components/Textarea/styles/index.d.ts +3 -0
  57. package/dist/index.cjs.js +3277 -3480
  58. package/dist/index.cjs.js.map +1 -1
  59. package/dist/index.d.ts +366 -58
  60. package/dist/index.esm.js +3272 -3478
  61. package/dist/index.esm.js.map +1 -1
  62. package/dist/theme/base/animation.d.ts +217 -0
  63. package/dist/theme/base/colors.d.ts +29 -13
  64. package/dist/theme/base/index.d.ts +1 -0
  65. package/dist/theme/base/notifications.d.ts +3 -3
  66. package/dist/types/forwardRefComponent.d.ts +2 -0
  67. package/package.json +17 -14
@@ -1,601 +1,222 @@
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: {
1
+ import { theme as chakraDefaultTheme, type ButtonProps as ChakraButtonProps } from '@chakra-ui/react';
2
+ export type ButtonHeight = ChakraButtonProps['height'] | 'md' | 'lg';
3
+ export declare const heightProps: (height?: ButtonHeight) => {};
4
+ /**
5
+ * Button Variants - Simplified Color System Using OKLCH
6
+ *
7
+ * This implementation uses OKLCH relative color syntax for perceptually uniform color adjustments.
8
+ * Benefits:
9
+ * - White-label theming: Only need ONE brand color (primary.brand)
10
+ * - No package dependencies (native CSS)
11
+ * - Text color NOT affected (unlike CSS filters)
12
+ * - Perceptually uniform adjustments (10% lighter looks consistent across all hues)
13
+ * - Can adjust lightness, chroma, or hue independently
14
+ * - Future-proof modern CSS standard
15
+ *
16
+ * OKLCH Syntax: oklch(from <color> <lightness> <chroma> <hue>)
17
+ * - Lightness adjustments: calc(l - 0.1) = 10% darker, calc(l + 0.1) = 10% lighter
18
+ * - Works with any color format (hex, rgb, etc.) - CSS converts automatically
19
+ *
20
+ * Browser Support: Chrome 111+, Safari 16.4+, Firefox 113+ (Mar-May 2023)
21
+ * Fallback: Older browsers use base color without hover effect degradation
22
+ *
23
+ * Note: Destructive variants still use semantic red for safety/UX consistency
24
+ */
25
+ export declare const variants: {
26
+ readonly primary: {
27
+ readonly bg: "primary.brand";
28
+ readonly borderColor: "primary.brand";
29
+ readonly color: "text.brandText";
30
+ readonly _hover: {
31
+ readonly _disabled: {
318
32
  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: {
33
+ borderColor: string;
355
34
  color: string;
356
35
  };
36
+ readonly bg: string;
37
+ readonly borderColor: string;
38
+ readonly color: "text.brandText";
357
39
  };
358
- unstyled: {
359
- bg: string;
360
- color: string;
361
- display: string;
362
- lineHeight: string;
363
- m: string;
364
- p: string;
40
+ readonly _active: {
41
+ readonly bg: string;
42
+ readonly borderColor: string;
43
+ readonly color: "text.brandText";
365
44
  };
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: {
45
+ };
46
+ readonly primaryOnDark: {
47
+ readonly bg: "yellow.default";
48
+ readonly borderColor: "yellow.default";
49
+ readonly color: "black";
50
+ readonly _hover: {
51
+ readonly _disabled: {
389
52
  bg: string;
390
53
  borderColor: string;
391
54
  color: string;
392
55
  };
56
+ readonly bg: string;
57
+ readonly borderColor: string;
58
+ readonly color: "black";
393
59
  };
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
- };
60
+ readonly _focus: {
61
+ readonly boxShadow: "0 0 0 3px rgba(255, 255, 255, 0.7)";
62
+ };
63
+ };
64
+ readonly secondary: {
65
+ readonly bg: "white";
66
+ readonly borderColor: "gray.medium";
67
+ readonly color: "primary.default";
68
+ readonly _hover: {
69
+ readonly _disabled: {
404
70
  bg: string;
405
71
  borderColor: string;
406
72
  color: string;
407
73
  };
408
- _focus: {
409
- boxShadow: string;
410
- };
74
+ readonly bg: string;
75
+ readonly color: "primary.default";
411
76
  };
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
- };
77
+ readonly _active: {
78
+ readonly bg: string;
428
79
  };
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
- };
80
+ };
81
+ readonly secondaryOnDark: {
82
+ readonly bg: "none";
83
+ readonly borderColor: "white";
84
+ readonly color: "white";
85
+ readonly _hover: {
86
+ readonly _disabled: {
439
87
  bg: string;
88
+ borderColor: string;
440
89
  color: string;
441
90
  };
442
- _focus: {
443
- boxShadow: string;
444
- };
91
+ readonly bg: "white";
92
+ readonly color: "primary.default";
445
93
  };
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
- };
94
+ readonly _focus: {
95
+ readonly boxShadow: "0 0 0 3px rgba(255, 255, 255, 0.7)";
470
96
  };
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
- };
97
+ };
98
+ readonly tertiary: {
99
+ readonly bg: "none";
100
+ readonly borderWidth: "none";
101
+ readonly borderRadius: "unset";
102
+ readonly color: "primary.default";
103
+ readonly h: "unset";
104
+ readonly m: "unset";
105
+ readonly minW: "unset";
106
+ readonly p: "unset";
107
+ readonly lineHeight: 1;
108
+ readonly _disabled: {
109
+ readonly bg: "none";
110
+ readonly color: "gray.dark";
111
+ };
112
+ readonly _hover: {
113
+ readonly _disabled: {
114
+ readonly color: "gray.dark";
115
+ };
116
+ };
117
+ readonly _active: {
118
+ readonly _disabled: {
119
+ readonly color: "gray.dark";
491
120
  };
492
121
  };
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;
122
+ };
123
+ readonly tertiaryOnDark: {
124
+ readonly bg: "none";
125
+ readonly borderRadius: "unset";
126
+ readonly borderWidth: "none";
127
+ readonly color: "white";
128
+ readonly h: "unset";
129
+ readonly m: "unset";
130
+ readonly minW: "unset";
131
+ readonly p: "unset";
132
+ readonly _disabled: {
133
+ readonly bg: "none";
134
+ readonly color: "white";
135
+ readonly opacity: 0.4;
136
+ };
137
+ readonly _hover: {
138
+ readonly color: "white";
139
+ readonly opacity: 0.8;
140
+ readonly _disabled: {
141
+ readonly opacity: 0.4;
507
142
  };
508
- _active: {
143
+ };
144
+ };
145
+ readonly black: {
146
+ readonly bg: "black";
147
+ readonly borderColor: "black";
148
+ readonly color: "white";
149
+ readonly py: 2;
150
+ readonly _hover: {
151
+ readonly _disabled: {
509
152
  bg: string;
510
153
  borderColor: string;
511
154
  color: string;
512
155
  };
156
+ readonly bg: string;
157
+ readonly borderColor: string;
158
+ readonly color: "white";
513
159
  };
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
- };
160
+ readonly _active: {
161
+ readonly bg: string;
162
+ readonly borderColor: string;
163
+ readonly color: "white";
164
+ };
165
+ };
166
+ readonly blackOnDark: {
167
+ readonly bg: "white";
168
+ readonly borderColor: "white";
169
+ readonly color: "black";
170
+ readonly py: 2;
171
+ readonly _hover: {
172
+ readonly _disabled: {
525
173
  bg: string;
526
174
  borderColor: string;
527
175
  color: string;
528
176
  };
529
- _active: {
177
+ readonly bg: string;
178
+ readonly borderColor: string;
179
+ readonly color: "black";
180
+ };
181
+ readonly _active: {
182
+ readonly bg: string;
183
+ readonly borderColor: string;
184
+ readonly color: "black";
185
+ };
186
+ readonly _focus: {
187
+ readonly boxShadow: "0 0 0 3px rgba(255, 255, 255, 0.7)";
188
+ };
189
+ };
190
+ readonly destructive: {
191
+ readonly bg: string;
192
+ readonly borderColor: string;
193
+ readonly color: string;
194
+ readonly _hover: {
195
+ _disabled: {
530
196
  bg: string;
531
197
  borderColor: string;
532
198
  color: string;
533
199
  };
534
- _focus: {
535
- boxShadow: string;
536
- };
537
- };
538
- destructive: {
539
- bg: string;
540
200
  borderColor: string;
541
201
  color: string;
542
- _hover: {
543
- _disabled: {
544
- bg: string;
545
- borderColor: string;
546
- color: string;
547
- };
548
- borderColor: string;
549
- color: string;
550
- };
551
202
  };
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
- };
203
+ };
204
+ readonly destructiveOnDark: {
205
+ readonly bg: string;
206
+ readonly borderColor: string;
207
+ readonly color: string;
208
+ readonly _hover: {
209
+ _disabled: {
210
+ bg: string;
562
211
  borderColor: string;
563
212
  color: string;
564
213
  };
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
214
  borderColor: string;
584
215
  color: string;
585
216
  };
586
- '& svg': {
587
- display: string;
588
- };
589
- };
590
- defaultProps: {
591
- size: null;
592
217
  };
593
218
  };
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;
219
+ export type ButtonVariant = keyof typeof variants;
220
+ type ButtonStyle = NonNullable<typeof chakraDefaultTheme.components.Button>;
221
+ declare const buttonStyle: ButtonStyle;
222
+ export default buttonStyle;