@vygruppen/spor-react 13.0.3 → 13.1.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/.turbo/turbo-build.log +10 -10
- package/.turbo/turbo-postinstall.log +3 -4
- package/CHANGELOG.md +15 -0
- package/dist/index.cjs +411 -402
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +175 -175
- package/dist/index.d.ts +175 -175
- package/dist/index.mjs +411 -401
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -10
- package/src/alert/AlertIcon.tsx +2 -2
- package/src/alert/ServiceAlert.tsx +2 -1
- package/src/calendar/CalendarCell.tsx +4 -4
- package/src/datepicker/CalendarHeader.tsx +1 -1
- package/src/dialog/Drawer.tsx +1 -1
- package/src/input/CardSelect.tsx +4 -4
- package/src/input/Combobox.tsx +1 -1
- package/src/input/Field.tsx +1 -1
- package/src/input/Popover.tsx +9 -7
- package/src/linjetag/LineIcon.tsx +1 -1
- package/src/loader/ColorInlineLoader.tsx +2 -1
- package/src/loader/ColorSpinner.tsx +2 -1
- package/src/loader/ContentLoader.tsx +2 -1
- package/src/loader/DarkFullScreenLoader.tsx +2 -1
- package/src/loader/DarkInlineLoader.tsx +2 -1
- package/src/loader/DarkSpinner.tsx +2 -1
- package/src/loader/LightFullScreenLoader.tsx +2 -1
- package/src/loader/LightInlineLoader.tsx +2 -1
- package/src/loader/LightSpinner.tsx +2 -1
- package/src/loader/Lottie.tsx +3 -2
- package/src/loader/text.ts +15 -0
- package/src/stepper/StepperStep.tsx +2 -2
- package/src/theme/recipes/badge.ts +24 -24
- package/src/theme/recipes/button.ts +22 -22
- package/src/theme/recipes/close-button.ts +2 -2
- package/src/theme/recipes/input.ts +9 -9
- package/src/theme/recipes/link.ts +1 -1
- package/src/theme/recipes/pressable-card.ts +12 -12
- package/src/theme/recipes/skeleton.ts +1 -1
- package/src/theme/recipes/static-card.ts +8 -8
- package/src/theme/semantic-tokens/colors.ts +1 -1
- package/src/theme/slot-recipes/accordion.ts +10 -10
- package/src/theme/slot-recipes/alert-expandable.ts +35 -35
- package/src/theme/slot-recipes/alert-service.ts +10 -10
- package/src/theme/slot-recipes/alert.ts +11 -11
- package/src/theme/slot-recipes/autocomplete.ts +5 -5
- package/src/theme/slot-recipes/breadcrumb.ts +4 -4
- package/src/theme/slot-recipes/checkbox.ts +11 -17
- package/src/theme/slot-recipes/choice-chip.ts +21 -21
- package/src/theme/slot-recipes/datepicker.ts +29 -29
- package/src/theme/slot-recipes/field.ts +3 -3
- package/src/theme/slot-recipes/floating-action-button.ts +14 -14
- package/src/theme/slot-recipes/input-chip.ts +10 -10
- package/src/theme/slot-recipes/listbox.ts +9 -9
- package/src/theme/slot-recipes/media-controller-button.ts +9 -9
- package/src/theme/slot-recipes/menu.ts +7 -7
- package/src/theme/slot-recipes/numeric-stepper.ts +4 -4
- package/src/theme/slot-recipes/pagination.ts +4 -4
- package/src/theme/slot-recipes/popover.ts +4 -4
- package/src/theme/slot-recipes/progress-bar.ts +2 -2
- package/src/theme/slot-recipes/progress-indicator.ts +1 -1
- package/src/theme/slot-recipes/radio-card.ts +11 -11
- package/src/theme/slot-recipes/radio.ts +5 -5
- package/src/theme/slot-recipes/select.ts +16 -16
- package/src/theme/slot-recipes/stepper.ts +5 -5
- package/src/theme/slot-recipes/switch.ts +6 -6
- package/src/theme/slot-recipes/table.ts +2 -2
- package/src/theme/slot-recipes/tabs.ts +18 -18
- package/src/theme/slot-recipes/toast.ts +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -25,10 +25,10 @@ declare const accordionSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
25
25
|
};
|
|
26
26
|
itemTrigger: {
|
|
27
27
|
"&:hover": {
|
|
28
|
-
background: "ghost.
|
|
28
|
+
background: "surface.ghost.hover";
|
|
29
29
|
};
|
|
30
30
|
"&:active": {
|
|
31
|
-
backgroundColor: "ghost.
|
|
31
|
+
backgroundColor: "surface.ghost.active";
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
};
|
|
@@ -36,7 +36,7 @@ declare const accordionSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
36
36
|
item: {
|
|
37
37
|
outline: "solid";
|
|
38
38
|
outlineWidth: string;
|
|
39
|
-
outlineColor: "core
|
|
39
|
+
outlineColor: "outline.core";
|
|
40
40
|
};
|
|
41
41
|
itemTrigger: {
|
|
42
42
|
_expanded: {
|
|
@@ -44,12 +44,12 @@ declare const accordionSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
44
44
|
};
|
|
45
45
|
"&:hover": {
|
|
46
46
|
outlineWidth: string;
|
|
47
|
-
outlineColor: "core
|
|
47
|
+
outlineColor: "outline.core";
|
|
48
48
|
outline: "2px solid";
|
|
49
49
|
outlineOffset: number;
|
|
50
50
|
};
|
|
51
51
|
"&:active": {
|
|
52
|
-
backgroundColor: "core.
|
|
52
|
+
backgroundColor: "surface.core.active";
|
|
53
53
|
outlineWidth: string;
|
|
54
54
|
outline: "none";
|
|
55
55
|
};
|
|
@@ -62,7 +62,7 @@ declare const accordionSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
62
62
|
item: {
|
|
63
63
|
borderRadius: "none";
|
|
64
64
|
borderBottom: "1px solid";
|
|
65
|
-
borderBottomColor: "
|
|
65
|
+
borderBottomColor: "outline.neutral";
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
68
|
floating: {
|
|
@@ -70,7 +70,7 @@ declare const accordionSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
70
70
|
outline: "1px solid";
|
|
71
71
|
outlineWidth: string;
|
|
72
72
|
boxShadow: "sm";
|
|
73
|
-
outlineColor: "floating
|
|
73
|
+
outlineColor: "outline.floating";
|
|
74
74
|
};
|
|
75
75
|
itemTrigger: {
|
|
76
76
|
_expanded: {
|
|
@@ -79,11 +79,11 @@ declare const accordionSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
79
79
|
"&:hover": {
|
|
80
80
|
outlineWidth: string;
|
|
81
81
|
outline: "1px solid";
|
|
82
|
-
outlineColor: "floating.
|
|
82
|
+
outlineColor: "outline.floating.hover";
|
|
83
83
|
outlineOffset: number;
|
|
84
84
|
};
|
|
85
85
|
"&:active": {
|
|
86
|
-
backgroundColor: "floating.
|
|
86
|
+
backgroundColor: "surface.floating.active";
|
|
87
87
|
outlineWidth: string;
|
|
88
88
|
outline: "none";
|
|
89
89
|
};
|
|
@@ -213,117 +213,117 @@ declare const alertExpandableSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"
|
|
|
213
213
|
variant: {
|
|
214
214
|
important: {
|
|
215
215
|
itemContent: {
|
|
216
|
-
color: "
|
|
216
|
+
color: "text.warning.subtle";
|
|
217
217
|
};
|
|
218
218
|
itemTrigger: {
|
|
219
219
|
"&:hover": {
|
|
220
|
-
bg: "
|
|
220
|
+
bg: "surface.warning.hover";
|
|
221
221
|
outline: "1px solid";
|
|
222
|
-
outlineColor: "
|
|
222
|
+
outlineColor: "outline.warning.hover";
|
|
223
223
|
outlineOffset: "0px";
|
|
224
224
|
};
|
|
225
225
|
"&:active": {
|
|
226
|
-
bg: "
|
|
226
|
+
bg: "surface.warning.active";
|
|
227
227
|
};
|
|
228
228
|
};
|
|
229
229
|
root: {
|
|
230
|
-
borderColor: "
|
|
231
|
-
bg: "
|
|
230
|
+
borderColor: "outline.warning";
|
|
231
|
+
bg: "surface.warning";
|
|
232
232
|
};
|
|
233
233
|
title: {
|
|
234
|
-
color: "
|
|
234
|
+
color: "text.warning";
|
|
235
235
|
};
|
|
236
236
|
};
|
|
237
237
|
success: {
|
|
238
238
|
itemContent: {
|
|
239
|
-
color: "
|
|
239
|
+
color: "text.success.subtle";
|
|
240
240
|
};
|
|
241
241
|
itemTrigger: {
|
|
242
242
|
"&:hover": {
|
|
243
|
-
bg: "
|
|
243
|
+
bg: "surface.success.hover";
|
|
244
244
|
outline: "1px solid";
|
|
245
245
|
outlineOffset: "0px";
|
|
246
|
-
outlineColor: "
|
|
246
|
+
outlineColor: "outline.success.hover";
|
|
247
247
|
"&:active": {
|
|
248
|
-
bg: "
|
|
248
|
+
bg: "surface.success.active";
|
|
249
249
|
};
|
|
250
250
|
};
|
|
251
251
|
};
|
|
252
252
|
root: {
|
|
253
|
-
borderColor: "
|
|
254
|
-
bg: "
|
|
253
|
+
borderColor: "outline.success";
|
|
254
|
+
bg: "surface.success";
|
|
255
255
|
};
|
|
256
256
|
title: {
|
|
257
|
-
color: "
|
|
257
|
+
color: "text.success";
|
|
258
258
|
};
|
|
259
259
|
};
|
|
260
260
|
alt: {
|
|
261
261
|
itemContent: {
|
|
262
|
-
color: "
|
|
262
|
+
color: "text.notice.subtle";
|
|
263
263
|
};
|
|
264
264
|
itemTrigger: {
|
|
265
265
|
"&:hover": {
|
|
266
|
-
bg: "
|
|
266
|
+
bg: "surface.notice.hover";
|
|
267
267
|
outlineOffset: "0px";
|
|
268
268
|
outline: "1px solid";
|
|
269
|
-
outlineColor: "
|
|
269
|
+
outlineColor: "outline.notice.hover";
|
|
270
270
|
"&:active": {
|
|
271
|
-
bg: "
|
|
271
|
+
bg: "surface.notice.active";
|
|
272
272
|
};
|
|
273
273
|
};
|
|
274
274
|
};
|
|
275
275
|
root: {
|
|
276
|
-
borderColor: "
|
|
277
|
-
bg: "
|
|
276
|
+
borderColor: "outline.notice";
|
|
277
|
+
bg: "surface.notice";
|
|
278
278
|
};
|
|
279
279
|
title: {
|
|
280
|
-
color: "
|
|
280
|
+
color: "text.notice";
|
|
281
281
|
};
|
|
282
282
|
};
|
|
283
283
|
info: {
|
|
284
284
|
itemContent: {
|
|
285
|
-
color: "
|
|
285
|
+
color: "text.info.subtle";
|
|
286
286
|
};
|
|
287
287
|
itemTrigger: {
|
|
288
288
|
"&:hover": {
|
|
289
|
-
bg: "
|
|
289
|
+
bg: "surface.info.hover";
|
|
290
290
|
outlineOffset: "0px";
|
|
291
291
|
outline: "1px solid";
|
|
292
|
-
outlineColor: "
|
|
292
|
+
outlineColor: "outline.info.hover";
|
|
293
293
|
"&:active": {
|
|
294
|
-
bg: "
|
|
294
|
+
bg: "surface.info.active";
|
|
295
295
|
};
|
|
296
296
|
};
|
|
297
297
|
};
|
|
298
298
|
root: {
|
|
299
|
-
borderColor: "
|
|
300
|
-
bg: "
|
|
299
|
+
borderColor: "outline.info";
|
|
300
|
+
bg: "surface.info";
|
|
301
301
|
};
|
|
302
302
|
title: {
|
|
303
|
-
color: "
|
|
303
|
+
color: "text.info";
|
|
304
304
|
};
|
|
305
305
|
};
|
|
306
306
|
error: {
|
|
307
307
|
itemContent: {
|
|
308
|
-
color: "
|
|
308
|
+
color: "text.critical.subtle";
|
|
309
309
|
};
|
|
310
310
|
itemTrigger: {
|
|
311
311
|
"&:hover": {
|
|
312
|
-
bg: "
|
|
312
|
+
bg: "surface.critical.hover";
|
|
313
313
|
outlineOffset: "0px";
|
|
314
314
|
outline: "1px solid";
|
|
315
|
-
outlineColor: "
|
|
315
|
+
outlineColor: "outline.critical.hover";
|
|
316
316
|
"&:active": {
|
|
317
|
-
bg: "
|
|
317
|
+
bg: "surface.critical.active";
|
|
318
318
|
};
|
|
319
319
|
};
|
|
320
320
|
};
|
|
321
321
|
root: {
|
|
322
|
-
borderColor: "
|
|
323
|
-
bg: "
|
|
322
|
+
borderColor: "outline.critical";
|
|
323
|
+
bg: "surface.critical";
|
|
324
324
|
};
|
|
325
325
|
title: {
|
|
326
|
-
color: "
|
|
326
|
+
color: "text.critical";
|
|
327
327
|
};
|
|
328
328
|
};
|
|
329
329
|
};
|
|
@@ -427,40 +427,40 @@ declare const Breadcrumb: ({ ref, children, css, ...props }: BreadcrumbRootProps
|
|
|
427
427
|
declare const buttonRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
428
428
|
variant: {
|
|
429
429
|
primary: {
|
|
430
|
-
background: "brand
|
|
431
|
-
color: "brand
|
|
430
|
+
background: "surface.brand";
|
|
431
|
+
color: "text.brand";
|
|
432
432
|
fontWeight: "bold";
|
|
433
433
|
_hover: {
|
|
434
|
-
background: "brand.
|
|
434
|
+
background: "surface.brand.hover";
|
|
435
435
|
_active: {
|
|
436
|
-
background: "brand.
|
|
436
|
+
background: "surface.brand.active";
|
|
437
437
|
};
|
|
438
438
|
};
|
|
439
439
|
};
|
|
440
440
|
secondary: {
|
|
441
|
-
background: "accent
|
|
442
|
-
color: "accent
|
|
441
|
+
background: "surface.accent";
|
|
442
|
+
color: "text.accent";
|
|
443
443
|
fontWeight: "bold";
|
|
444
444
|
_hover: {
|
|
445
|
-
background: "accent.
|
|
445
|
+
background: "surface.accent.hover";
|
|
446
446
|
_active: {
|
|
447
|
-
background: "accent.
|
|
447
|
+
background: "surface.accent.active";
|
|
448
448
|
};
|
|
449
449
|
};
|
|
450
450
|
};
|
|
451
451
|
tertiary: {
|
|
452
|
-
color: "core
|
|
452
|
+
color: "text.core";
|
|
453
453
|
outline: "solid";
|
|
454
454
|
fontWeight: "normal";
|
|
455
455
|
outlineWidth: string;
|
|
456
|
-
outlineColor: "core
|
|
456
|
+
outlineColor: "outline.core";
|
|
457
457
|
_hover: {
|
|
458
458
|
outlineWidth: string;
|
|
459
|
-
outlineColor: "core.
|
|
459
|
+
outlineColor: "outline.core.hover";
|
|
460
460
|
_active: {
|
|
461
|
-
background: "core.
|
|
461
|
+
background: "surface.core.active";
|
|
462
462
|
outlineWidth: string;
|
|
463
|
-
outlineColor: "core
|
|
463
|
+
outlineColor: "outline.core";
|
|
464
464
|
};
|
|
465
465
|
};
|
|
466
466
|
_focus: {
|
|
@@ -468,28 +468,28 @@ declare const buttonRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
468
468
|
};
|
|
469
469
|
};
|
|
470
470
|
ghost: {
|
|
471
|
-
color: "ghost
|
|
471
|
+
color: "text.ghost";
|
|
472
472
|
fontWeight: "bold";
|
|
473
473
|
_hover: {
|
|
474
|
-
background: "ghost.
|
|
474
|
+
background: "surface.ghost.hover";
|
|
475
475
|
_active: {
|
|
476
|
-
background: "ghost.
|
|
476
|
+
background: "surface.ghost.active";
|
|
477
477
|
};
|
|
478
478
|
};
|
|
479
479
|
};
|
|
480
480
|
floating: {
|
|
481
|
-
color: "floating
|
|
482
|
-
background: "floating
|
|
481
|
+
color: "text.floating";
|
|
482
|
+
background: "surface.floating";
|
|
483
483
|
fontWeight: "bold";
|
|
484
484
|
border: "sm";
|
|
485
|
-
borderColor: "floating
|
|
485
|
+
borderColor: "outline.floating";
|
|
486
486
|
boxShadow: "0px 1px 3px 0px var(--spor-colors-surface-disabled, rgba(0, 0, 0, 0.10))";
|
|
487
487
|
_hover: {
|
|
488
|
-
borderColor: "floating.
|
|
488
|
+
borderColor: "outline.floating.hover";
|
|
489
489
|
_active: {
|
|
490
|
-
background: "core.
|
|
490
|
+
background: "surface.core.active";
|
|
491
491
|
boxShadow: "none";
|
|
492
|
-
borderColor: "floating
|
|
492
|
+
borderColor: "outline.floating";
|
|
493
493
|
};
|
|
494
494
|
};
|
|
495
495
|
};
|
|
@@ -663,12 +663,12 @@ declare const floatingActionButtonSlotRecipe: _chakra_ui_react.SlotRecipeDefinit
|
|
|
663
663
|
variant: {
|
|
664
664
|
brand: {
|
|
665
665
|
root: {
|
|
666
|
-
backgroundColor: "brand
|
|
667
|
-
color: "brand
|
|
666
|
+
backgroundColor: "surface.brand";
|
|
667
|
+
color: "text.brand";
|
|
668
668
|
_hover: {
|
|
669
|
-
backgroundColor: "brand.
|
|
669
|
+
backgroundColor: "surface.brand.hover";
|
|
670
670
|
_active: {
|
|
671
|
-
backgroundColor: "brand.
|
|
671
|
+
backgroundColor: "surface.brand.active";
|
|
672
672
|
};
|
|
673
673
|
};
|
|
674
674
|
};
|
|
@@ -677,29 +677,29 @@ declare const floatingActionButtonSlotRecipe: _chakra_ui_react.SlotRecipeDefinit
|
|
|
677
677
|
root: {
|
|
678
678
|
backgroundColor: "transparent";
|
|
679
679
|
outline: "1px solid";
|
|
680
|
-
outlineColor: "core
|
|
681
|
-
color: "core
|
|
680
|
+
outlineColor: "outline.core";
|
|
681
|
+
color: "text.core";
|
|
682
682
|
_hover: {
|
|
683
683
|
backgroundColor: "transparent";
|
|
684
684
|
outline: "2px solid";
|
|
685
|
-
outlineColor: "core
|
|
685
|
+
outlineColor: "outline.core";
|
|
686
686
|
_active: {
|
|
687
687
|
outline: "1px solid";
|
|
688
|
-
outlineColor: "core
|
|
689
|
-
backgroundColor: "core.
|
|
688
|
+
outlineColor: "outline.core";
|
|
689
|
+
backgroundColor: "surface.core.active";
|
|
690
690
|
};
|
|
691
691
|
};
|
|
692
692
|
};
|
|
693
693
|
};
|
|
694
694
|
accent: {
|
|
695
695
|
root: {
|
|
696
|
-
backgroundColor: "accent
|
|
697
|
-
color: "accent
|
|
696
|
+
backgroundColor: "surface.accent";
|
|
697
|
+
color: "text.accent";
|
|
698
698
|
_hover: {
|
|
699
|
-
backgroundColor: "accent.
|
|
700
|
-
color: "accent
|
|
699
|
+
backgroundColor: "surface.accent.hover";
|
|
700
|
+
color: "text.accent";
|
|
701
701
|
_active: {
|
|
702
|
-
backgroundColor: "accent.
|
|
702
|
+
backgroundColor: "surface.accent.active";
|
|
703
703
|
};
|
|
704
704
|
};
|
|
705
705
|
};
|
|
@@ -847,29 +847,29 @@ declare const pressableCardRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
847
847
|
boxShadow: "0px 1px 3px 0px var(--shadow-color)";
|
|
848
848
|
shadowColor: "surface.disabled";
|
|
849
849
|
border: "sm";
|
|
850
|
-
borderColor: "floating
|
|
851
|
-
backgroundColor: "floating
|
|
850
|
+
borderColor: "outline.floating";
|
|
851
|
+
backgroundColor: "surface.floating";
|
|
852
852
|
_hover: {
|
|
853
853
|
boxShadow: "0px 2px 6px 0px var(--shadow-color)";
|
|
854
|
-
backgroundColor: "floating.
|
|
855
|
-
borderColor: "floating.
|
|
854
|
+
backgroundColor: "surface.floating.hover";
|
|
855
|
+
borderColor: "outline.floating.hover";
|
|
856
856
|
_active: {
|
|
857
857
|
boxShadow: "none";
|
|
858
|
-
backgroundColor: "floating.
|
|
859
|
-
borderColor: "
|
|
858
|
+
backgroundColor: "surface.floating.active";
|
|
859
|
+
borderColor: "outline.neutral";
|
|
860
860
|
};
|
|
861
861
|
};
|
|
862
862
|
};
|
|
863
863
|
core: {
|
|
864
|
-
outlineColor: "core
|
|
864
|
+
outlineColor: "outline.core";
|
|
865
865
|
outlineWidth: string;
|
|
866
866
|
outlineStyle: "solid";
|
|
867
867
|
_hover: {
|
|
868
|
-
outlineColor: "core.
|
|
868
|
+
outlineColor: "outline.core.hover";
|
|
869
869
|
outlineWidth: string;
|
|
870
870
|
outlineStyle: "solid";
|
|
871
871
|
_active: {
|
|
872
|
-
backgroundColor: "core.
|
|
872
|
+
backgroundColor: "surface.core.active";
|
|
873
873
|
outlineWidth: string;
|
|
874
874
|
};
|
|
875
875
|
};
|
|
@@ -877,12 +877,12 @@ declare const pressableCardRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
877
877
|
accent: {
|
|
878
878
|
boxShadow: "0px 1px 3px 0px var(--shadow-color)";
|
|
879
879
|
shadowColor: "surface.disabled";
|
|
880
|
-
background: "
|
|
880
|
+
background: "surface.success";
|
|
881
881
|
_hover: {
|
|
882
|
-
background: "
|
|
882
|
+
background: "surface.success.hover";
|
|
883
883
|
boxShadow: "0px 2px 6px 0px var(--shadow-color)";
|
|
884
884
|
_active: {
|
|
885
|
-
background: "
|
|
885
|
+
background: "surface.success.active";
|
|
886
886
|
boxShadow: "none";
|
|
887
887
|
};
|
|
888
888
|
};
|
|
@@ -928,15 +928,15 @@ declare const radioCardSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
928
928
|
variant: {
|
|
929
929
|
core: {
|
|
930
930
|
item: {
|
|
931
|
-
outlineColor: "core
|
|
931
|
+
outlineColor: "outline.core";
|
|
932
932
|
outlineWidth: string;
|
|
933
933
|
outlineStyle: "solid";
|
|
934
934
|
_hover: {
|
|
935
|
-
outlineColor: "core.
|
|
935
|
+
outlineColor: "outline.core.hover";
|
|
936
936
|
outlineWidth: string;
|
|
937
937
|
outlineStyle: "solid";
|
|
938
938
|
_active: {
|
|
939
|
-
backgroundColor: "core.
|
|
939
|
+
backgroundColor: "surface.core.active";
|
|
940
940
|
outlineWidth: string;
|
|
941
941
|
};
|
|
942
942
|
};
|
|
@@ -944,7 +944,7 @@ declare const radioCardSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
944
944
|
outlineColor: "outline.focus";
|
|
945
945
|
outlineWidth: string;
|
|
946
946
|
outlineStyle: "solid";
|
|
947
|
-
backgroundColor: "core.
|
|
947
|
+
backgroundColor: "surface.core.active";
|
|
948
948
|
_focusVisible: {
|
|
949
949
|
outlineStyle: "double";
|
|
950
950
|
outlineWidth: `calc(3 * ${string})`;
|
|
@@ -957,15 +957,15 @@ declare const radioCardSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
957
957
|
boxShadow: "0px 1px 3px 0px var(--shadow-color)";
|
|
958
958
|
shadowColor: "surface.disabled";
|
|
959
959
|
border: "sm";
|
|
960
|
-
borderColor: "floating
|
|
961
|
-
background: "floating
|
|
960
|
+
borderColor: "outline.floating";
|
|
961
|
+
background: "surface.floating";
|
|
962
962
|
_hover: {
|
|
963
|
-
background: "floating.
|
|
964
|
-
borderColor: "floating.
|
|
963
|
+
background: "surface.floating.hover";
|
|
964
|
+
borderColor: "outline.floating.hover";
|
|
965
965
|
boxShadow: "0px 2px 6px 0px var(--shadow-color)";
|
|
966
966
|
_active: {
|
|
967
|
-
background: "floating.
|
|
968
|
-
borderColor: "
|
|
967
|
+
background: "surface.floating.active";
|
|
968
|
+
borderColor: "outline.neutral";
|
|
969
969
|
boxShadow: "none";
|
|
970
970
|
};
|
|
971
971
|
};
|
|
@@ -973,7 +973,7 @@ declare const radioCardSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root"
|
|
|
973
973
|
outlineColor: "outline.focus";
|
|
974
974
|
outlineWidth: string;
|
|
975
975
|
outlineStyle: "solid";
|
|
976
|
-
backgroundColor: "core.
|
|
976
|
+
backgroundColor: "surface.core.active";
|
|
977
977
|
_focusVisible: {
|
|
978
978
|
outlineStyle: "double";
|
|
979
979
|
outlineWidth: `calc(3 * ${string})`;
|
|
@@ -1028,29 +1028,29 @@ declare const Separator: ({ ref, ...props }: SeparatorProps & {
|
|
|
1028
1028
|
declare const staticCardRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
1029
1029
|
colorPalette: {
|
|
1030
1030
|
white: {
|
|
1031
|
-
backgroundColor: "surface
|
|
1031
|
+
backgroundColor: "surface";
|
|
1032
1032
|
color: "text";
|
|
1033
1033
|
};
|
|
1034
1034
|
grey: {
|
|
1035
|
-
backgroundColor: "surface.
|
|
1035
|
+
backgroundColor: "surface.neutral";
|
|
1036
1036
|
};
|
|
1037
1037
|
yellow: {
|
|
1038
|
-
backgroundColor: "surface.
|
|
1038
|
+
backgroundColor: "surface.warning";
|
|
1039
1039
|
};
|
|
1040
1040
|
darkYellow: {
|
|
1041
|
-
backgroundColor: "surface.
|
|
1041
|
+
backgroundColor: "surface.notice";
|
|
1042
1042
|
};
|
|
1043
1043
|
red: {
|
|
1044
|
-
backgroundColor: "surface.
|
|
1044
|
+
backgroundColor: "surface.critical";
|
|
1045
1045
|
};
|
|
1046
1046
|
green: {
|
|
1047
|
-
backgroundColor: "surface.
|
|
1047
|
+
backgroundColor: "surface.success";
|
|
1048
1048
|
};
|
|
1049
1049
|
blue: {
|
|
1050
|
-
backgroundColor: "surface.
|
|
1050
|
+
backgroundColor: "surface.info";
|
|
1051
1051
|
};
|
|
1052
1052
|
orange: {
|
|
1053
|
-
backgroundColor: "surface.
|
|
1053
|
+
backgroundColor: "surface.caution";
|
|
1054
1054
|
};
|
|
1055
1055
|
};
|
|
1056
1056
|
}>;
|
|
@@ -1163,14 +1163,14 @@ declare const datePickerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell"
|
|
|
1163
1163
|
core: {
|
|
1164
1164
|
wrapper: {
|
|
1165
1165
|
outline: "1px solid";
|
|
1166
|
-
outlineColor: "core
|
|
1166
|
+
outlineColor: "outline.core";
|
|
1167
1167
|
_hover: {
|
|
1168
1168
|
outline: "2px solid";
|
|
1169
|
-
outlineColor: "core.
|
|
1169
|
+
outlineColor: "outline.core.hover";
|
|
1170
1170
|
_active: {
|
|
1171
|
-
backgroundColor: "ghost.
|
|
1171
|
+
backgroundColor: "surface.ghost.active";
|
|
1172
1172
|
outline: "1px solid";
|
|
1173
|
-
outlineColor: "core
|
|
1173
|
+
outlineColor: "outline.core";
|
|
1174
1174
|
};
|
|
1175
1175
|
"&[data-active]": {
|
|
1176
1176
|
outline: "2px solid";
|
|
@@ -1188,17 +1188,17 @@ declare const datePickerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell"
|
|
|
1188
1188
|
};
|
|
1189
1189
|
floating: {
|
|
1190
1190
|
wrapper: {
|
|
1191
|
-
bg: "floating
|
|
1191
|
+
bg: "surface.floating";
|
|
1192
1192
|
outline: "1px solid";
|
|
1193
|
-
outlineColor: "floating
|
|
1193
|
+
outlineColor: "outline.floating";
|
|
1194
1194
|
boxShadow: "sm";
|
|
1195
1195
|
_hover: {
|
|
1196
1196
|
outline: "1px solid";
|
|
1197
|
-
outlineColor: "floating.
|
|
1197
|
+
outlineColor: "outline.floating.hover";
|
|
1198
1198
|
_active: {
|
|
1199
|
-
backgroundColor: "ghost.
|
|
1199
|
+
backgroundColor: "surface.ghost.active";
|
|
1200
1200
|
outline: "1px solid";
|
|
1201
|
-
outlineColor: "core
|
|
1201
|
+
outlineColor: "outline.core";
|
|
1202
1202
|
};
|
|
1203
1203
|
"&[data-active]": {
|
|
1204
1204
|
outline: "2px solid";
|
|
@@ -1218,11 +1218,11 @@ declare const datePickerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell"
|
|
|
1218
1218
|
wrapper: {
|
|
1219
1219
|
_hover: {
|
|
1220
1220
|
outline: "2px solid";
|
|
1221
|
-
outlineColor: "core.
|
|
1221
|
+
outlineColor: "outline.core.hover";
|
|
1222
1222
|
_active: {
|
|
1223
|
-
backgroundColor: "ghost.
|
|
1223
|
+
backgroundColor: "surface.ghost.active";
|
|
1224
1224
|
outline: "1px solid";
|
|
1225
|
-
outlineColor: "core
|
|
1225
|
+
outlineColor: "outline.core";
|
|
1226
1226
|
};
|
|
1227
1227
|
"&[data-active]": {
|
|
1228
1228
|
outline: "2px solid";
|
|
@@ -1923,13 +1923,13 @@ declare const listBoxSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
|
|
|
1923
1923
|
core: {
|
|
1924
1924
|
root: {
|
|
1925
1925
|
outline: "1px solid";
|
|
1926
|
-
outlineColor: "core
|
|
1926
|
+
outlineColor: "outline.core";
|
|
1927
1927
|
};
|
|
1928
1928
|
};
|
|
1929
1929
|
floating: {
|
|
1930
1930
|
root: {
|
|
1931
1931
|
outline: "1px solid";
|
|
1932
|
-
outlineColor: "floating
|
|
1932
|
+
outlineColor: "outline.floating";
|
|
1933
1933
|
};
|
|
1934
1934
|
};
|
|
1935
1935
|
};
|
|
@@ -2072,14 +2072,14 @@ declare const nativeSelectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"ico
|
|
|
2072
2072
|
field: {
|
|
2073
2073
|
backgroundColor?: "transparent" | undefined;
|
|
2074
2074
|
outline?: "1px solid" | undefined;
|
|
2075
|
-
outlineColor?: "core
|
|
2075
|
+
outlineColor?: "outline.core" | undefined;
|
|
2076
2076
|
_hover?: {
|
|
2077
2077
|
outline: "2px solid";
|
|
2078
|
-
outlineColor: "core.
|
|
2078
|
+
outlineColor: "outline.core.hover";
|
|
2079
2079
|
_active: {
|
|
2080
2080
|
outline: "1px solid";
|
|
2081
2081
|
outlineColor: "outline.disabled";
|
|
2082
|
-
backgroundColor: "core.
|
|
2082
|
+
backgroundColor: "surface.core.active";
|
|
2083
2083
|
};
|
|
2084
2084
|
} | undefined;
|
|
2085
2085
|
_focus?: {
|
|
@@ -2091,17 +2091,17 @@ declare const nativeSelectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"ico
|
|
|
2091
2091
|
floating: {
|
|
2092
2092
|
field: {
|
|
2093
2093
|
boxShadow?: "sm" | undefined;
|
|
2094
|
-
bg?: "floating
|
|
2094
|
+
bg?: "surface.floating" | undefined;
|
|
2095
2095
|
outline?: "1px solid" | undefined;
|
|
2096
|
-
outlineColor?: "floating
|
|
2096
|
+
outlineColor?: "outline.floating" | undefined;
|
|
2097
2097
|
_hover?: {
|
|
2098
2098
|
outline: "1px solid";
|
|
2099
|
-
outlineColor: "floating.
|
|
2099
|
+
outlineColor: "outline.floating.hover";
|
|
2100
2100
|
} | undefined;
|
|
2101
2101
|
_active?: {
|
|
2102
2102
|
outline: "1px solid";
|
|
2103
|
-
outlineColor: "
|
|
2104
|
-
backgroundColor: "floating.
|
|
2103
|
+
outlineColor: "outline.neutral";
|
|
2104
|
+
backgroundColor: "surface.floating.active";
|
|
2105
2105
|
} | undefined;
|
|
2106
2106
|
focus?: {
|
|
2107
2107
|
outline: string;
|
|
@@ -2477,14 +2477,14 @@ declare const textareaRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
2477
2477
|
core: {
|
|
2478
2478
|
backgroundColor?: "transparent" | undefined;
|
|
2479
2479
|
outline?: "1px solid" | undefined;
|
|
2480
|
-
outlineColor?: "core
|
|
2480
|
+
outlineColor?: "outline.core" | undefined;
|
|
2481
2481
|
_hover?: {
|
|
2482
2482
|
outline: "2px solid";
|
|
2483
|
-
outlineColor: "core.
|
|
2483
|
+
outlineColor: "outline.core.hover";
|
|
2484
2484
|
_active: {
|
|
2485
2485
|
outline: "1px solid";
|
|
2486
2486
|
outlineColor: "outline.disabled";
|
|
2487
|
-
backgroundColor: "core.
|
|
2487
|
+
backgroundColor: "surface.core.active";
|
|
2488
2488
|
};
|
|
2489
2489
|
} | undefined;
|
|
2490
2490
|
_focus?: {
|
|
@@ -2494,17 +2494,17 @@ declare const textareaRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
2494
2494
|
};
|
|
2495
2495
|
floating: {
|
|
2496
2496
|
boxShadow?: "sm" | undefined;
|
|
2497
|
-
bg?: "floating
|
|
2497
|
+
bg?: "surface.floating" | undefined;
|
|
2498
2498
|
outline?: "1px solid" | undefined;
|
|
2499
|
-
outlineColor?: "floating
|
|
2499
|
+
outlineColor?: "outline.floating" | undefined;
|
|
2500
2500
|
_hover?: {
|
|
2501
2501
|
outline: "1px solid";
|
|
2502
|
-
outlineColor: "floating.
|
|
2502
|
+
outlineColor: "outline.floating.hover";
|
|
2503
2503
|
} | undefined;
|
|
2504
2504
|
_active?: {
|
|
2505
2505
|
outline: "1px solid";
|
|
2506
|
-
outlineColor: "
|
|
2507
|
-
backgroundColor: "floating.
|
|
2506
|
+
outlineColor: "outline.neutral";
|
|
2507
|
+
backgroundColor: "surface.floating.active";
|
|
2508
2508
|
} | undefined;
|
|
2509
2509
|
focus?: {
|
|
2510
2510
|
outline: string;
|
|
@@ -3214,7 +3214,7 @@ declare const skeletonRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
3214
3214
|
};
|
|
3215
3215
|
none: {
|
|
3216
3216
|
animation: "none";
|
|
3217
|
-
background: "surface.
|
|
3217
|
+
background: "surface.neutral";
|
|
3218
3218
|
};
|
|
3219
3219
|
};
|
|
3220
3220
|
}>;
|
|
@@ -3269,14 +3269,14 @@ declare const mediaControllerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"
|
|
|
3269
3269
|
play: {
|
|
3270
3270
|
root: {
|
|
3271
3271
|
padding: number;
|
|
3272
|
-
color: "brand
|
|
3273
|
-
backgroundColor: "brand
|
|
3272
|
+
color: "text.brand";
|
|
3273
|
+
backgroundColor: "surface.brand";
|
|
3274
3274
|
_hover: {
|
|
3275
|
-
color: "brand
|
|
3276
|
-
backgroundColor: "brand.
|
|
3275
|
+
color: "text.brand";
|
|
3276
|
+
backgroundColor: "surface.brand.hover";
|
|
3277
3277
|
_active: {
|
|
3278
|
-
color: "brand
|
|
3279
|
-
backgroundColor: "brand.
|
|
3278
|
+
color: "text.brand";
|
|
3279
|
+
backgroundColor: "surface.brand.active";
|
|
3280
3280
|
};
|
|
3281
3281
|
};
|
|
3282
3282
|
_disabled: {
|
|
@@ -3289,9 +3289,9 @@ declare const mediaControllerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"
|
|
|
3289
3289
|
jumpSkip: {
|
|
3290
3290
|
root: {
|
|
3291
3291
|
_hover: {
|
|
3292
|
-
backgroundColor: "ghost.
|
|
3292
|
+
backgroundColor: "surface.ghost.hover";
|
|
3293
3293
|
_active: {
|
|
3294
|
-
backgroundColor: "ghost.
|
|
3294
|
+
backgroundColor: "surface.ghost.active";
|
|
3295
3295
|
};
|
|
3296
3296
|
};
|
|
3297
3297
|
_disabled: {
|
|
@@ -3527,7 +3527,7 @@ declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
|
|
|
3527
3527
|
};
|
|
3528
3528
|
accent: {
|
|
3529
3529
|
root: {
|
|
3530
|
-
backgroundColor: "accent
|
|
3530
|
+
backgroundColor: "bg.accent";
|
|
3531
3531
|
};
|
|
3532
3532
|
stepButton: {
|
|
3533
3533
|
color: {
|
|
@@ -3535,13 +3535,13 @@ declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
|
|
|
3535
3535
|
_dark: "whiteAlpha.900";
|
|
3536
3536
|
};
|
|
3537
3537
|
_disabled: {
|
|
3538
|
-
color: "core
|
|
3538
|
+
color: "text.core";
|
|
3539
3539
|
};
|
|
3540
3540
|
_currentStep: {
|
|
3541
|
-
color: "accent
|
|
3541
|
+
color: "text.accent";
|
|
3542
3542
|
};
|
|
3543
3543
|
_hover: {
|
|
3544
|
-
backgroundColor: "accent.
|
|
3544
|
+
backgroundColor: "surface.accent.hover";
|
|
3545
3545
|
_disabled: {
|
|
3546
3546
|
backgroundColor: "transparent";
|
|
3547
3547
|
};
|
|
@@ -3549,7 +3549,7 @@ declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
|
|
|
3549
3549
|
};
|
|
3550
3550
|
backButton: {
|
|
3551
3551
|
_hover: {
|
|
3552
|
-
backgroundColor: "brand.
|
|
3552
|
+
backgroundColor: "surface.brand.hover";
|
|
3553
3553
|
};
|
|
3554
3554
|
};
|
|
3555
3555
|
};
|
|
@@ -3645,26 +3645,26 @@ declare const tabsSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "in
|
|
|
3645
3645
|
variant: {
|
|
3646
3646
|
core: {
|
|
3647
3647
|
list: {
|
|
3648
|
-
color: "core
|
|
3648
|
+
color: "text.core";
|
|
3649
3649
|
border: "sm";
|
|
3650
3650
|
};
|
|
3651
3651
|
trigger: {
|
|
3652
|
-
color: "core
|
|
3652
|
+
color: "text.core";
|
|
3653
3653
|
border: "md";
|
|
3654
3654
|
borderColor: "transparent";
|
|
3655
3655
|
_hover: {
|
|
3656
3656
|
outline: "2px solid";
|
|
3657
|
-
outlineColor: "core.
|
|
3657
|
+
outlineColor: "outline.core.hover";
|
|
3658
3658
|
outlineOffset: "-2px";
|
|
3659
3659
|
};
|
|
3660
3660
|
_active: {
|
|
3661
|
-
backgroundColor: "brand.
|
|
3662
|
-
color: "brand
|
|
3661
|
+
backgroundColor: "surface.brand.active";
|
|
3662
|
+
color: "text.brand";
|
|
3663
3663
|
outline: "none";
|
|
3664
3664
|
};
|
|
3665
3665
|
_selected: {
|
|
3666
|
-
backgroundColor: "brand
|
|
3667
|
-
color: "brand
|
|
3666
|
+
backgroundColor: "surface.brand";
|
|
3667
|
+
color: "text.brand";
|
|
3668
3668
|
_hover: {
|
|
3669
3669
|
outline: "none";
|
|
3670
3670
|
};
|
|
@@ -3677,28 +3677,28 @@ declare const tabsSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "in
|
|
|
3677
3677
|
};
|
|
3678
3678
|
accent: {
|
|
3679
3679
|
list: {
|
|
3680
|
-
backgroundColor: "accent
|
|
3681
|
-
color: "accent
|
|
3680
|
+
backgroundColor: "bg.accent";
|
|
3681
|
+
color: "text.accent";
|
|
3682
3682
|
};
|
|
3683
3683
|
trigger: {
|
|
3684
|
-
color: "accent
|
|
3684
|
+
color: "text.accent";
|
|
3685
3685
|
_disabled: {
|
|
3686
3686
|
backgroundColor: "surface.disabled";
|
|
3687
3687
|
color: "icon.disabled";
|
|
3688
3688
|
};
|
|
3689
3689
|
_hover: {
|
|
3690
|
-
backgroundColor: "accent.
|
|
3690
|
+
backgroundColor: "surface.accent.hover";
|
|
3691
3691
|
_active: {
|
|
3692
|
-
backgroundColor: "brand.
|
|
3693
|
-
color: "brand
|
|
3692
|
+
backgroundColor: "surface.brand.active";
|
|
3693
|
+
color: "text.brand";
|
|
3694
3694
|
};
|
|
3695
3695
|
};
|
|
3696
3696
|
_selected: {
|
|
3697
|
-
backgroundColor: "brand
|
|
3698
|
-
color: "brand
|
|
3697
|
+
backgroundColor: "surface.brand";
|
|
3698
|
+
color: "text.brand";
|
|
3699
3699
|
_hover: {
|
|
3700
|
-
backgroundColor: "brand.
|
|
3701
|
-
color: "brand
|
|
3700
|
+
backgroundColor: "surface.brand.hover";
|
|
3701
|
+
color: "text.brand";
|
|
3702
3702
|
outline: "none";
|
|
3703
3703
|
};
|
|
3704
3704
|
};
|
|
@@ -3746,7 +3746,7 @@ declare const tabsSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "in
|
|
|
3746
3746
|
paddingX: number;
|
|
3747
3747
|
_focus: {
|
|
3748
3748
|
border: "md";
|
|
3749
|
-
borderColor: "accent
|
|
3749
|
+
borderColor: "surface.accent";
|
|
3750
3750
|
};
|
|
3751
3751
|
};
|
|
3752
3752
|
};
|
|
@@ -3812,10 +3812,10 @@ declare const tableSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "b
|
|
|
3812
3812
|
backgroundColor: "bg";
|
|
3813
3813
|
};
|
|
3814
3814
|
header: {
|
|
3815
|
-
backgroundColor: "bg.
|
|
3815
|
+
backgroundColor: "bg.brand";
|
|
3816
3816
|
};
|
|
3817
3817
|
columnHeader: {
|
|
3818
|
-
color: "text.
|
|
3818
|
+
color: "text.highlight";
|
|
3819
3819
|
};
|
|
3820
3820
|
};
|
|
3821
3821
|
grey: {
|