@vygruppen/spor-react 13.0.3 → 13.1.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/.turbo/turbo-build.log +12 -12
- package/.turbo/turbo-postinstall.log +2 -2
- package/CHANGELOG.md +24 -0
- package/dist/index.cjs +509 -427
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +178 -177
- package/dist/index.d.ts +178 -177
- package/dist/index.mjs +509 -426
- 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/Menu.tsx +9 -5
- 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 +120 -48
- 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.cts
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
|
};
|
|
@@ -2028,10 +2028,11 @@ declare const MenuContent: ({ children, ref, ...props }: MenuContentProps & {
|
|
|
2028
2028
|
}) => react_jsx_runtime.JSX.Element;
|
|
2029
2029
|
type MenuTriggerProps = {
|
|
2030
2030
|
icon?: ReactNode;
|
|
2031
|
-
|
|
2031
|
+
withChevron?: boolean;
|
|
2032
|
+
} & Omit<ButtonProps, "rightIcon" | "leftIcon"> & {
|
|
2032
2033
|
ref?: Ref<HTMLButtonElement>;
|
|
2033
2034
|
};
|
|
2034
|
-
declare const MenuTrigger: ({ icon, size, children, ref, ...props }: MenuTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
2035
|
+
declare const MenuTrigger: ({ icon, size, children, ref, withChevron, ...props }: MenuTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
2035
2036
|
type MenuItemProps = {
|
|
2036
2037
|
itemCommand?: string;
|
|
2037
2038
|
leftIcon?: React.ReactNode;
|
|
@@ -2072,14 +2073,14 @@ declare const nativeSelectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"ico
|
|
|
2072
2073
|
field: {
|
|
2073
2074
|
backgroundColor?: "transparent" | undefined;
|
|
2074
2075
|
outline?: "1px solid" | undefined;
|
|
2075
|
-
outlineColor?: "core
|
|
2076
|
+
outlineColor?: "outline.core" | undefined;
|
|
2076
2077
|
_hover?: {
|
|
2077
2078
|
outline: "2px solid";
|
|
2078
|
-
outlineColor: "core.
|
|
2079
|
+
outlineColor: "outline.core.hover";
|
|
2079
2080
|
_active: {
|
|
2080
2081
|
outline: "1px solid";
|
|
2081
2082
|
outlineColor: "outline.disabled";
|
|
2082
|
-
backgroundColor: "core.
|
|
2083
|
+
backgroundColor: "surface.core.active";
|
|
2083
2084
|
};
|
|
2084
2085
|
} | undefined;
|
|
2085
2086
|
_focus?: {
|
|
@@ -2091,17 +2092,17 @@ declare const nativeSelectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"ico
|
|
|
2091
2092
|
floating: {
|
|
2092
2093
|
field: {
|
|
2093
2094
|
boxShadow?: "sm" | undefined;
|
|
2094
|
-
bg?: "floating
|
|
2095
|
+
bg?: "surface.floating" | undefined;
|
|
2095
2096
|
outline?: "1px solid" | undefined;
|
|
2096
|
-
outlineColor?: "floating
|
|
2097
|
+
outlineColor?: "outline.floating" | undefined;
|
|
2097
2098
|
_hover?: {
|
|
2098
2099
|
outline: "1px solid";
|
|
2099
|
-
outlineColor: "floating.
|
|
2100
|
+
outlineColor: "outline.floating.hover";
|
|
2100
2101
|
} | undefined;
|
|
2101
2102
|
_active?: {
|
|
2102
2103
|
outline: "1px solid";
|
|
2103
|
-
outlineColor: "
|
|
2104
|
-
backgroundColor: "floating.
|
|
2104
|
+
outlineColor: "outline.neutral";
|
|
2105
|
+
backgroundColor: "surface.floating.active";
|
|
2105
2106
|
} | undefined;
|
|
2106
2107
|
focus?: {
|
|
2107
2108
|
outline: string;
|
|
@@ -2477,14 +2478,14 @@ declare const textareaRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
2477
2478
|
core: {
|
|
2478
2479
|
backgroundColor?: "transparent" | undefined;
|
|
2479
2480
|
outline?: "1px solid" | undefined;
|
|
2480
|
-
outlineColor?: "core
|
|
2481
|
+
outlineColor?: "outline.core" | undefined;
|
|
2481
2482
|
_hover?: {
|
|
2482
2483
|
outline: "2px solid";
|
|
2483
|
-
outlineColor: "core.
|
|
2484
|
+
outlineColor: "outline.core.hover";
|
|
2484
2485
|
_active: {
|
|
2485
2486
|
outline: "1px solid";
|
|
2486
2487
|
outlineColor: "outline.disabled";
|
|
2487
|
-
backgroundColor: "core.
|
|
2488
|
+
backgroundColor: "surface.core.active";
|
|
2488
2489
|
};
|
|
2489
2490
|
} | undefined;
|
|
2490
2491
|
_focus?: {
|
|
@@ -2494,17 +2495,17 @@ declare const textareaRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
2494
2495
|
};
|
|
2495
2496
|
floating: {
|
|
2496
2497
|
boxShadow?: "sm" | undefined;
|
|
2497
|
-
bg?: "floating
|
|
2498
|
+
bg?: "surface.floating" | undefined;
|
|
2498
2499
|
outline?: "1px solid" | undefined;
|
|
2499
|
-
outlineColor?: "floating
|
|
2500
|
+
outlineColor?: "outline.floating" | undefined;
|
|
2500
2501
|
_hover?: {
|
|
2501
2502
|
outline: "1px solid";
|
|
2502
|
-
outlineColor: "floating.
|
|
2503
|
+
outlineColor: "outline.floating.hover";
|
|
2503
2504
|
} | undefined;
|
|
2504
2505
|
_active?: {
|
|
2505
2506
|
outline: "1px solid";
|
|
2506
|
-
outlineColor: "
|
|
2507
|
-
backgroundColor: "floating.
|
|
2507
|
+
outlineColor: "outline.neutral";
|
|
2508
|
+
backgroundColor: "surface.floating.active";
|
|
2508
2509
|
} | undefined;
|
|
2509
2510
|
focus?: {
|
|
2510
2511
|
outline: string;
|
|
@@ -3214,7 +3215,7 @@ declare const skeletonRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
3214
3215
|
};
|
|
3215
3216
|
none: {
|
|
3216
3217
|
animation: "none";
|
|
3217
|
-
background: "surface.
|
|
3218
|
+
background: "surface.neutral";
|
|
3218
3219
|
};
|
|
3219
3220
|
};
|
|
3220
3221
|
}>;
|
|
@@ -3269,14 +3270,14 @@ declare const mediaControllerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"
|
|
|
3269
3270
|
play: {
|
|
3270
3271
|
root: {
|
|
3271
3272
|
padding: number;
|
|
3272
|
-
color: "brand
|
|
3273
|
-
backgroundColor: "brand
|
|
3273
|
+
color: "text.brand";
|
|
3274
|
+
backgroundColor: "surface.brand";
|
|
3274
3275
|
_hover: {
|
|
3275
|
-
color: "brand
|
|
3276
|
-
backgroundColor: "brand.
|
|
3276
|
+
color: "text.brand";
|
|
3277
|
+
backgroundColor: "surface.brand.hover";
|
|
3277
3278
|
_active: {
|
|
3278
|
-
color: "brand
|
|
3279
|
-
backgroundColor: "brand.
|
|
3279
|
+
color: "text.brand";
|
|
3280
|
+
backgroundColor: "surface.brand.active";
|
|
3280
3281
|
};
|
|
3281
3282
|
};
|
|
3282
3283
|
_disabled: {
|
|
@@ -3289,9 +3290,9 @@ declare const mediaControllerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"
|
|
|
3289
3290
|
jumpSkip: {
|
|
3290
3291
|
root: {
|
|
3291
3292
|
_hover: {
|
|
3292
|
-
backgroundColor: "ghost.
|
|
3293
|
+
backgroundColor: "surface.ghost.hover";
|
|
3293
3294
|
_active: {
|
|
3294
|
-
backgroundColor: "ghost.
|
|
3295
|
+
backgroundColor: "surface.ghost.active";
|
|
3295
3296
|
};
|
|
3296
3297
|
};
|
|
3297
3298
|
_disabled: {
|
|
@@ -3527,7 +3528,7 @@ declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
|
|
|
3527
3528
|
};
|
|
3528
3529
|
accent: {
|
|
3529
3530
|
root: {
|
|
3530
|
-
backgroundColor: "accent
|
|
3531
|
+
backgroundColor: "bg.accent";
|
|
3531
3532
|
};
|
|
3532
3533
|
stepButton: {
|
|
3533
3534
|
color: {
|
|
@@ -3535,13 +3536,13 @@ declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
|
|
|
3535
3536
|
_dark: "whiteAlpha.900";
|
|
3536
3537
|
};
|
|
3537
3538
|
_disabled: {
|
|
3538
|
-
color: "core
|
|
3539
|
+
color: "text.core";
|
|
3539
3540
|
};
|
|
3540
3541
|
_currentStep: {
|
|
3541
|
-
color: "accent
|
|
3542
|
+
color: "text.accent";
|
|
3542
3543
|
};
|
|
3543
3544
|
_hover: {
|
|
3544
|
-
backgroundColor: "accent.
|
|
3545
|
+
backgroundColor: "surface.accent.hover";
|
|
3545
3546
|
_disabled: {
|
|
3546
3547
|
backgroundColor: "transparent";
|
|
3547
3548
|
};
|
|
@@ -3549,7 +3550,7 @@ declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
|
|
|
3549
3550
|
};
|
|
3550
3551
|
backButton: {
|
|
3551
3552
|
_hover: {
|
|
3552
|
-
backgroundColor: "brand.
|
|
3553
|
+
backgroundColor: "surface.brand.hover";
|
|
3553
3554
|
};
|
|
3554
3555
|
};
|
|
3555
3556
|
};
|
|
@@ -3645,26 +3646,26 @@ declare const tabsSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "in
|
|
|
3645
3646
|
variant: {
|
|
3646
3647
|
core: {
|
|
3647
3648
|
list: {
|
|
3648
|
-
color: "core
|
|
3649
|
+
color: "text.core";
|
|
3649
3650
|
border: "sm";
|
|
3650
3651
|
};
|
|
3651
3652
|
trigger: {
|
|
3652
|
-
color: "core
|
|
3653
|
+
color: "text.core";
|
|
3653
3654
|
border: "md";
|
|
3654
3655
|
borderColor: "transparent";
|
|
3655
3656
|
_hover: {
|
|
3656
3657
|
outline: "2px solid";
|
|
3657
|
-
outlineColor: "core.
|
|
3658
|
+
outlineColor: "outline.core.hover";
|
|
3658
3659
|
outlineOffset: "-2px";
|
|
3659
3660
|
};
|
|
3660
3661
|
_active: {
|
|
3661
|
-
backgroundColor: "brand.
|
|
3662
|
-
color: "brand
|
|
3662
|
+
backgroundColor: "surface.brand.active";
|
|
3663
|
+
color: "text.brand";
|
|
3663
3664
|
outline: "none";
|
|
3664
3665
|
};
|
|
3665
3666
|
_selected: {
|
|
3666
|
-
backgroundColor: "brand
|
|
3667
|
-
color: "brand
|
|
3667
|
+
backgroundColor: "surface.brand";
|
|
3668
|
+
color: "text.brand";
|
|
3668
3669
|
_hover: {
|
|
3669
3670
|
outline: "none";
|
|
3670
3671
|
};
|
|
@@ -3677,28 +3678,28 @@ declare const tabsSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "in
|
|
|
3677
3678
|
};
|
|
3678
3679
|
accent: {
|
|
3679
3680
|
list: {
|
|
3680
|
-
backgroundColor: "accent
|
|
3681
|
-
color: "accent
|
|
3681
|
+
backgroundColor: "bg.accent";
|
|
3682
|
+
color: "text.accent";
|
|
3682
3683
|
};
|
|
3683
3684
|
trigger: {
|
|
3684
|
-
color: "accent
|
|
3685
|
+
color: "text.accent";
|
|
3685
3686
|
_disabled: {
|
|
3686
3687
|
backgroundColor: "surface.disabled";
|
|
3687
3688
|
color: "icon.disabled";
|
|
3688
3689
|
};
|
|
3689
3690
|
_hover: {
|
|
3690
|
-
backgroundColor: "accent.
|
|
3691
|
+
backgroundColor: "surface.accent.hover";
|
|
3691
3692
|
_active: {
|
|
3692
|
-
backgroundColor: "brand.
|
|
3693
|
-
color: "brand
|
|
3693
|
+
backgroundColor: "surface.brand.active";
|
|
3694
|
+
color: "text.brand";
|
|
3694
3695
|
};
|
|
3695
3696
|
};
|
|
3696
3697
|
_selected: {
|
|
3697
|
-
backgroundColor: "brand
|
|
3698
|
-
color: "brand
|
|
3698
|
+
backgroundColor: "surface.brand";
|
|
3699
|
+
color: "text.brand";
|
|
3699
3700
|
_hover: {
|
|
3700
|
-
backgroundColor: "brand.
|
|
3701
|
-
color: "brand
|
|
3701
|
+
backgroundColor: "surface.brand.hover";
|
|
3702
|
+
color: "text.brand";
|
|
3702
3703
|
outline: "none";
|
|
3703
3704
|
};
|
|
3704
3705
|
};
|
|
@@ -3746,7 +3747,7 @@ declare const tabsSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "in
|
|
|
3746
3747
|
paddingX: number;
|
|
3747
3748
|
_focus: {
|
|
3748
3749
|
border: "md";
|
|
3749
|
-
borderColor: "accent
|
|
3750
|
+
borderColor: "surface.accent";
|
|
3750
3751
|
};
|
|
3751
3752
|
};
|
|
3752
3753
|
};
|
|
@@ -3812,10 +3813,10 @@ declare const tableSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "b
|
|
|
3812
3813
|
backgroundColor: "bg";
|
|
3813
3814
|
};
|
|
3814
3815
|
header: {
|
|
3815
|
-
backgroundColor: "bg.
|
|
3816
|
+
backgroundColor: "bg.brand";
|
|
3816
3817
|
};
|
|
3817
3818
|
columnHeader: {
|
|
3818
|
-
color: "text.
|
|
3819
|
+
color: "text.highlight";
|
|
3819
3820
|
};
|
|
3820
3821
|
};
|
|
3821
3822
|
grey: {
|