@carrier-dpx/air-react-library 0.1.0 → 0.2.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.
@@ -0,0 +1,873 @@
1
+ import { Components } from "@mui/material/styles";
2
+ import { TypographyVariantMapping, fleetTypography } from "./typography";
3
+ import fleetPalette from "./colors";
4
+
5
+ const fleetComponents: Components = {
6
+ MuiCssBaseline: {
7
+ defaultProps: {
8
+ enableColorScheme: false,
9
+ },
10
+ },
11
+ MuiAccordion: {
12
+ defaultProps: {
13
+ defaultExpanded: false,
14
+ disabled: false,
15
+ disableGutters: true,
16
+ square: false,
17
+ elevation: 0,
18
+ },
19
+ },
20
+ MuiAccordionActions: {
21
+ defaultProps: {
22
+ disableSpacing: false,
23
+ },
24
+ },
25
+ MuiAvatar: {
26
+ defaultProps: {
27
+ variant: "rounded",
28
+ },
29
+ },
30
+ MuiSnackbar: {
31
+ defaultProps: {
32
+ anchorOrigin: { horizontal: "right", vertical: "bottom" },
33
+ autoHideDuration: null,
34
+ disableWindowBlurListener: false,
35
+ open: false,
36
+ TransitionProps: {},
37
+ },
38
+ },
39
+ MuiSnackbarContent: {
40
+ defaultProps: {
41
+ elevation: 3,
42
+ },
43
+ },
44
+ MuiBackdrop: {
45
+ defaultProps: {
46
+ invisible: false,
47
+ open: false,
48
+ },
49
+ },
50
+ MuiBadge: {
51
+ defaultProps: {
52
+ color: "primary",
53
+ },
54
+ },
55
+ MuiBottomNavigation: {
56
+ defaultProps: {
57
+ showLabels: false,
58
+ },
59
+ },
60
+ MuiBottomNavigationAction: {
61
+ defaultProps: {
62
+ showLabel: false,
63
+ },
64
+ },
65
+ MuiButtonBase: {
66
+ defaultProps: {
67
+ centerRipple: false,
68
+ disabled: false,
69
+ disableRipple: true,
70
+ disableTouchRipple: true,
71
+ focusRipple: true,
72
+ LinkComponent: "a",
73
+ },
74
+ },
75
+ MuiButton: {
76
+ defaultProps: {
77
+ size: "large",
78
+ },
79
+ styleOverrides: {
80
+ root: {
81
+ textTransform: "none",
82
+ "&.MuiButton-sizeXsmall": {
83
+ ...fleetTypography.body3Bold,
84
+ height: "24px",
85
+ },
86
+ "&.MuiButton-sizeSmall": {
87
+ ...fleetTypography.body3Bold,
88
+ height: "32px",
89
+ },
90
+ "&.MuiButton-sizeMedium": {
91
+ ...fleetTypography.body2Bold,
92
+ height: "40px",
93
+ },
94
+ "&.MuiButton-sizeLarge": {
95
+ ...fleetTypography.body1Bold,
96
+ height: "48px",
97
+ },
98
+ "&.MuiButton-sizeXlarge": {
99
+ ...fleetTypography.body1Bold,
100
+ height: "56px",
101
+ },
102
+ },
103
+ },
104
+ },
105
+ MuiCard: {
106
+ defaultProps: {
107
+ raised: false,
108
+ },
109
+ },
110
+ MuiCardActions: {
111
+ defaultProps: {
112
+ disableSpacing: false,
113
+ },
114
+ },
115
+ MuiCardHeader: {
116
+ defaultProps: {
117
+ disableTypography: false,
118
+ },
119
+ },
120
+ MuiBreadcrumbs: {
121
+ defaultProps: {
122
+ expandText: "Show path",
123
+ itemsAfterCollapse: 1,
124
+ itemsBeforeCollapse: 1,
125
+ maxItems: 8,
126
+ separator: "/",
127
+ },
128
+ },
129
+ MuiDivider: {
130
+ defaultProps: {
131
+ absolute: false,
132
+ flexItem: false,
133
+ orientation: "horizontal",
134
+ textAlign: "center",
135
+ variant: "full",
136
+ },
137
+ styleOverrides: {
138
+ root: {
139
+ "&.MuiDivider-light": {
140
+ "::before, ::after": {
141
+ borderColor: fleetPalette.base.filledInput.background,
142
+ },
143
+ },
144
+ },
145
+ },
146
+ },
147
+ MuiDrawer: {
148
+ defaultProps: {
149
+ anchor: "left",
150
+ elevation: 2,
151
+ hideBackdrop: false,
152
+ ModalProps: {},
153
+ open: false,
154
+ PaperProps: {},
155
+ variant: "temporary",
156
+ },
157
+ },
158
+ MuiFab: {
159
+ defaultProps: {
160
+ color: "base",
161
+ disabled: false,
162
+ disableFocusRipple: true,
163
+ disableRipple: true,
164
+ disableTouchRipple: true,
165
+ size: "large",
166
+ variant: "circular",
167
+ },
168
+ },
169
+
170
+ MuiFilledInput: {
171
+ styleOverrides: {
172
+ root: {
173
+ backgroundColor: fleetPalette.base.filledInput.background,
174
+ borderWidth: 1,
175
+ borderStyle: "solid",
176
+ borderRadius: 4,
177
+ borderColor: fleetPalette.base?.filledInput.outlinedBorder,
178
+ "&.Mui-focused": {
179
+ borderWidth: 1,
180
+ borderColor: fleetPalette.primary?.main,
181
+ backgroundColor: fleetPalette.base?.filledInput.background,
182
+ },
183
+ "&.Mui-error": {
184
+ borderColor: fleetPalette.error?.main,
185
+ "&:focus-within": {
186
+ borderWidth: 1,
187
+ borderColor: fleetPalette.error?.dark,
188
+ },
189
+ },
190
+ "&.MuiInputBase-colorError": {
191
+ border: 1,
192
+ borderStyle: "solid",
193
+ borderRadius: 4,
194
+ borderColor: fleetPalette.error?.main,
195
+ "&:focus-within": {
196
+ borderWidth: 1,
197
+ borderColor: fleetPalette.error?.dark,
198
+ },
199
+ },
200
+ "&.MuiInputBase-colorWarning": {
201
+ border: 1,
202
+ borderStyle: "solid",
203
+ borderRadius: 4,
204
+ borderColor: fleetPalette.warning?.main,
205
+ "&:focus-within": {
206
+ borderWidth: 1,
207
+ borderColor: fleetPalette.warning?.dark,
208
+ },
209
+ },
210
+ "&.MuiInputBase-colorSuccess": {
211
+ border: 1,
212
+ borderStyle: "solid",
213
+ borderRadius: 4,
214
+ borderColor: fleetPalette.success?.main,
215
+ "&:focus-within": {
216
+ borderWidth: 1,
217
+ borderColor: fleetPalette.success?.dark,
218
+ },
219
+ },
220
+ "&.MuiInputBase-colorInfo": {
221
+ backgroundColor: fleetPalette.base?.filledInput.background,
222
+ border: 1,
223
+ borderStyle: "solid",
224
+ borderRadius: 4,
225
+ borderColor: fleetPalette.info?.main,
226
+ "&:focus-within": {
227
+ borderWidth: 1,
228
+ borderColor: fleetPalette.info?.dark,
229
+ },
230
+ },
231
+ "&.Mui-disabled": {
232
+ backgroundColor: fleetPalette.base?.state.disabledBackground,
233
+ },
234
+ },
235
+ colorSecondary: {
236
+ backgroundColor: fleetPalette.secondary?.outlinedHoverBackground,
237
+ border: 1,
238
+ borderStyle: "solid",
239
+ borderRadius: 4,
240
+ borderColor: fleetPalette.base?.filledInput.outlinedBorder,
241
+ "&:focus-within": {
242
+ borderWidth: 1,
243
+ borderColor: fleetPalette.secondary?.dark,
244
+ },
245
+ },
246
+ },
247
+ },
248
+ MuiGrid: {
249
+ defaultProps: {
250
+ columns: 12,
251
+ container: false,
252
+ direction: "row",
253
+ item: false,
254
+ lg: false,
255
+ md: false,
256
+ sm: false,
257
+ spacing: 0,
258
+ wrap: "wrap",
259
+ xl: false,
260
+ xs: false,
261
+ zeroMinWidth: false,
262
+ },
263
+ },
264
+ MuiLink: {
265
+ defaultProps: {
266
+ color: "primary",
267
+ underline: "always",
268
+ variant: "inherit",
269
+ },
270
+ variants: [
271
+ {
272
+ props: { color: "primary" },
273
+ style: {
274
+ color: fleetPalette.primary?.main,
275
+ },
276
+ },
277
+ ],
278
+ },
279
+ MuiList: {
280
+ defaultProps: {
281
+ dense: false,
282
+ disablePadding: false,
283
+ },
284
+ },
285
+ MuiListItemButton: {
286
+ defaultProps: {
287
+ alignItems: "center",
288
+ autoFocus: false,
289
+ dense: false,
290
+ disabled: false,
291
+ disableGutters: false,
292
+ divider: false,
293
+ selected: false,
294
+ },
295
+ styleOverrides: {
296
+ root: {
297
+ "&.Mui-selected": {
298
+ backgroundColor: fleetPalette.base?.state.selected,
299
+ },
300
+ "&.Mui-selected:hover": {
301
+ backgroundColor: fleetPalette.base?.state.hover,
302
+ },
303
+ },
304
+ },
305
+ },
306
+ MuiPaper: {
307
+ styleOverrides: {
308
+ root: {
309
+ "&.MuiPaper-rounded": {
310
+ // Needed for custom picker select styling on Date Suite
311
+ ".MuiPickersYear-yearButton": {
312
+ borderRadius: "4px!important",
313
+ "&:hover": {
314
+ height: "32px",
315
+ backgroundColor: `${fleetPalette.base.state.hover}`,
316
+ },
317
+ "&.Mui-selected": {
318
+ height: "32px",
319
+ backgroundColor: `${fleetPalette.primary.main}`,
320
+ },
321
+ },
322
+ ".MuiPickersMonth-monthButton": {
323
+ borderRadius: "4px!important",
324
+ "&:hover": {
325
+ height: "32px",
326
+ backgroundColor: `${fleetPalette.base.state.hover}`,
327
+ },
328
+ "&.Mui-selected": {
329
+ height: "32px",
330
+ backgroundColor: `${fleetPalette.primary.main}`,
331
+ },
332
+ },
333
+ // Needed for custom picker styling Time Picker
334
+ ".MuiMultiSectionDigitalClockSection-item": {
335
+ borderRadius: "4px!important",
336
+ "&:hover": {
337
+ backgroundColor: `${fleetPalette.base.state.hover}`,
338
+ },
339
+ "&.Mui-selected": {
340
+ backgroundColor: `${fleetPalette.primary.main}`,
341
+ },
342
+ },
343
+ },
344
+ },
345
+ },
346
+ defaultProps: {
347
+ elevation: 2,
348
+ square: false,
349
+ variant: "elevation",
350
+ },
351
+ },
352
+ MuiPopover: {
353
+ defaultProps: {
354
+ anchorOrigin: { horizontal: "left", vertical: "top" },
355
+ anchorReference: "anchorEl",
356
+ elevation: 2,
357
+ marginThreshold: 16,
358
+ open: false,
359
+ PaperProps: {},
360
+ transformOrigin: { horizontal: "left", vertical: "top" },
361
+ transitionDuration: "auto",
362
+ TransitionProps: {},
363
+ },
364
+ },
365
+ MuiPagination: {
366
+ defaultProps: {
367
+ boundaryCount: 1,
368
+ color: "standard",
369
+ count: 1,
370
+ defaultPage: 1,
371
+ disabled: false,
372
+ hideNextButton: false,
373
+ hidePrevButton: false,
374
+ shape: "circular",
375
+ showFirstButton: false,
376
+ showLastButton: false,
377
+ siblingCount: 1,
378
+ size: "medium",
379
+ variant: "text",
380
+ },
381
+ },
382
+ MuiPaginationItem: {
383
+ defaultProps: {
384
+ color: "standard",
385
+ disabled: false,
386
+ selected: false,
387
+ shape: "circular",
388
+ size: "medium",
389
+ type: "page",
390
+ variant: "text",
391
+ },
392
+ },
393
+ MuiSkeleton: {
394
+ defaultProps: {
395
+ animation: "pulse",
396
+ variant: "text",
397
+ },
398
+ },
399
+ MuiSwitch: {
400
+ defaultProps: {
401
+ color: "primary",
402
+ disabled: false,
403
+ disableRipple: true,
404
+ edge: false,
405
+ required: false,
406
+ size: "medium",
407
+ },
408
+ },
409
+ MuiSpeedDial: {
410
+ defaultProps: {
411
+ direction: "up",
412
+ FabProps: {},
413
+ hidden: false,
414
+ open: false,
415
+ },
416
+ },
417
+ MuiSpeedDialAction: {
418
+ defaultProps: {
419
+ delay: 0,
420
+ FabProps: {},
421
+ open: false,
422
+ tooltipOpen: false,
423
+ tooltipPlacement: "left",
424
+ },
425
+ styleOverrides: {
426
+ fab: {
427
+ minWidth: 36,
428
+ minHeight: 36,
429
+ borderRadius: "50%",
430
+ svg: {
431
+ width: 20,
432
+ height: 20,
433
+ },
434
+ },
435
+ },
436
+ },
437
+ MuiTab: {
438
+ styleOverrides: {
439
+ root: {
440
+ color: fleetPalette.base.state.active,
441
+ "&.Mui-selected": {
442
+ color: fleetPalette.base.text?.primary,
443
+ },
444
+ },
445
+ },
446
+ },
447
+ MuiTabs: {
448
+ styleOverrides: {
449
+ indicator: {
450
+ borderRadius: "4px 4px 0 0",
451
+ },
452
+ root: {
453
+ "&.MuiTab-indicator": {
454
+ "&__content": {
455
+ ".MuiTab-root": {
456
+ margin: "0 16px",
457
+ padding: "12px 0",
458
+ },
459
+ },
460
+ "&__full": {
461
+ ".MuiTab-root": {
462
+ margin: 0,
463
+ padding: "12px 16px",
464
+ },
465
+ },
466
+ "&__line": {
467
+ ".MuiTabs-indicator": {
468
+ height: "2px",
469
+ borderRadius: 0,
470
+ },
471
+ },
472
+ "&__standard": {
473
+ ".MuiTabs-indicator": {
474
+ height: "4px",
475
+ },
476
+ },
477
+ },
478
+ ".MuiTab-root": {
479
+ minWidth: "auto",
480
+ },
481
+ },
482
+ vertical: {
483
+ "&.MuiTab-indicator": {
484
+ "&__content": {
485
+ ".MuiTab-root": {
486
+ margin: "15px 16px",
487
+ minHeight: "auto",
488
+ padding: 0,
489
+ },
490
+ },
491
+ "&__line": {
492
+ ".MuiTabs-indicator": {
493
+ width: "2px",
494
+ borderRadius: 0,
495
+ },
496
+ },
497
+ "&__standard": {
498
+ ".MuiTabs-indicator": {
499
+ width: "4px",
500
+ },
501
+ },
502
+ },
503
+ ".MuiTabs-indicator": {
504
+ borderRadius: "4px 0 0 4px",
505
+ },
506
+ ".MuiTab-root": {
507
+ padding: 0,
508
+ "&.Mui-selected > .MuiBox-root": {
509
+ paddingTop: 0,
510
+ },
511
+ "&.Mui-selected > .MuiBox-root:after": {
512
+ marginTop: 0,
513
+ width: 0,
514
+ },
515
+ },
516
+ },
517
+ },
518
+ },
519
+ MuiTable: {
520
+ defaultProps: {
521
+ padding: "normal",
522
+ size: "medium",
523
+ stickyHeader: false,
524
+ },
525
+ },
526
+ MuiTableCell: {
527
+ defaultProps: {
528
+ align: "inherit",
529
+ },
530
+ },
531
+ MuiTablePagination: {
532
+ defaultProps: {
533
+ labelRowsPerPage: "Rows per page:",
534
+ rowsPerPageOptions: [10, 20, 50, 100],
535
+ SelectProps: {},
536
+ showFirstButton: false,
537
+ showLastButton: false,
538
+ },
539
+ },
540
+ MuiTableRow: {
541
+ defaultProps: {
542
+ hover: false,
543
+ selected: false,
544
+ },
545
+ },
546
+ MuiToggleButton: {
547
+ defaultProps: {
548
+ disabled: false,
549
+ disableFocusRipple: true,
550
+ disableRipple: true,
551
+ fullWidth: false,
552
+ selected: false,
553
+ size: "medium",
554
+ },
555
+ },
556
+ MuiTooltip: {
557
+ defaultProps: {
558
+ arrow: false,
559
+ components: {},
560
+ componentsProps: {},
561
+ describeChild: false,
562
+ disableFocusListener: false,
563
+ disableHoverListener: false,
564
+ disableInteractive: false,
565
+ disableTouchListener: false,
566
+ enterDelay: 100,
567
+ enterNextDelay: 0,
568
+ enterTouchDelay: 700,
569
+ followCursor: false,
570
+ leaveDelay: 0,
571
+ leaveTouchDelay: 1500,
572
+ placement: "bottom",
573
+ PopperProps: {},
574
+ },
575
+ },
576
+ MuiTypography: {
577
+ defaultProps: {
578
+ align: "inherit",
579
+ gutterBottom: false,
580
+ noWrap: false,
581
+ paragraph: false,
582
+ variant: "body1",
583
+ variantMapping: TypographyVariantMapping,
584
+ },
585
+ },
586
+ MuiIcon: {
587
+ defaultProps: {
588
+ baseClassName: "material-icons-round",
589
+ color: "inherit",
590
+ fontSize: "medium",
591
+ },
592
+ styleOverrides: {
593
+ root: {
594
+ fontSize: "18px",
595
+ },
596
+ fontSizeSmall: {
597
+ fontSize: "15px",
598
+ },
599
+ fontSizeLarge: {
600
+ fontSize: "21px",
601
+ },
602
+ fontSizeInherit: {
603
+ fontSize: "inherit",
604
+ },
605
+ },
606
+ variants: [
607
+ {
608
+ props: { fontSize: "xsmall" },
609
+ style: {
610
+ fontSize: "12px",
611
+ },
612
+ },
613
+ ],
614
+ },
615
+ MuiStack: {
616
+ defaultProps: {
617
+ direction: "column",
618
+ spacing: 0,
619
+ },
620
+ },
621
+ MuiContainer: {
622
+ defaultProps: {
623
+ disableGutters: false,
624
+ fixed: false,
625
+ maxWidth: "lg",
626
+ },
627
+ },
628
+ MuiCircularProgress: {
629
+ defaultProps: {
630
+ color: "primary",
631
+ disableShrink: false,
632
+ size: 40,
633
+ thickness: 3.6,
634
+ value: 0,
635
+ variant: "indeterminate",
636
+ },
637
+ },
638
+ MuiLinearProgress: {
639
+ defaultProps: {
640
+ color: "primary",
641
+ valueBuffer: 0,
642
+ value: 0,
643
+ variant: "indeterminate",
644
+ },
645
+ },
646
+ MuiMenu: {
647
+ defaultProps: {
648
+ autoFocus: true,
649
+ disableAutoFocusItem: false,
650
+ MenuListProps: {},
651
+ open: false,
652
+ transitionDuration: "auto",
653
+ TransitionProps: {},
654
+ variant: "selectedMenu",
655
+ },
656
+ },
657
+ MuiMenuItem: {
658
+ defaultProps: {
659
+ autoFocus: false,
660
+ dense: false,
661
+ disableGutters: false,
662
+ divider: false,
663
+ },
664
+ styleOverrides: {
665
+ root: {
666
+ lineHeight: 1.2,
667
+ color: fleetPalette.base.text?.primary,
668
+ "&.Mui-selected": {
669
+ backgroundColor: fleetPalette.base?.state.selected,
670
+ },
671
+ "&.Mui-selected:hover": {
672
+ backgroundColor: fleetPalette.base?.state.hover,
673
+ },
674
+ "&.Mui-focusVisible": {
675
+ backgroundColor: fleetPalette.base?.state.focus,
676
+ },
677
+ "&.Mui-selected.Mui-focusVisible": {
678
+ backgroundColor: fleetPalette.base?.state.focus,
679
+ },
680
+ },
681
+ divider: {
682
+ borderBottom: "none",
683
+ "& + .MuiDivider-root": {
684
+ marginBottom: 0,
685
+ marginTop: 0,
686
+ },
687
+ },
688
+ },
689
+ },
690
+ MuiModal: {
691
+ defaultProps: {
692
+ open: false,
693
+ closeAfterTransition: false,
694
+ components: {},
695
+ componentsProps: {},
696
+ disableAutoFocus: false,
697
+ disableEnforceFocus: false,
698
+ disableEscapeKeyDown: false,
699
+ disablePortal: false,
700
+ disableRestoreFocus: false,
701
+ disableScrollLock: false,
702
+ hideBackdrop: false,
703
+ keepMounted: false,
704
+ },
705
+ },
706
+ MuiAppBar: {
707
+ defaultProps: {
708
+ color: "primary",
709
+ enableColorOnDark: false,
710
+ position: "fixed",
711
+ },
712
+ },
713
+ MuiDialog: {
714
+ defaultProps: {
715
+ open: false,
716
+ disableEscapeKeyDown: false,
717
+ fullScreen: false,
718
+ fullWidth: false,
719
+ maxWidth: "sm",
720
+ scroll: "paper",
721
+ },
722
+ styleOverrides: {
723
+ paperWidthMd: {
724
+ maxWidth: 960,
725
+ },
726
+ paperWidthLg: {
727
+ maxWidth: 1280,
728
+ },
729
+ paperWidthXl: {
730
+ maxWidth: 1920,
731
+ },
732
+ },
733
+ },
734
+ MuiDialogActions: {
735
+ defaultProps: {
736
+ disableSpacing: false,
737
+ },
738
+ },
739
+ MuiDialogContentText: {
740
+ styleOverrides: {
741
+ root: {
742
+ color: fleetPalette.base.text?.primary,
743
+ },
744
+ },
745
+ },
746
+ MuiDialogContent: {
747
+ defaultProps: {
748
+ dividers: false,
749
+ },
750
+ styleOverrides: {
751
+ root: {
752
+ paddingBottom: 8,
753
+ ".MuiDialogTitle-root + &": {
754
+ paddingTop: 8,
755
+ },
756
+ "&.MuiDialogContent-root": {
757
+ padding: "5px 20px 20px 24px",
758
+ },
759
+ },
760
+ },
761
+ },
762
+ MuiDialogTitle: {
763
+ styleOverrides: {
764
+ root: {
765
+ fontWeight: "bold",
766
+ "&.MuiDialogTitle-root": {
767
+ padding: "16px 16px 5px 24px",
768
+ },
769
+ },
770
+ },
771
+ },
772
+ MuiAlert: {
773
+ defaultProps: {
774
+ closeText: "Close",
775
+ role: "alert",
776
+ },
777
+ },
778
+ MuiStepper: {
779
+ defaultProps: {
780
+ activeStep: 0,
781
+ alternativeLabel: false,
782
+ nonLinear: false,
783
+ orientation: "horizontal",
784
+ },
785
+ },
786
+ MuiStep: {
787
+ defaultProps: {
788
+ /**
789
+ * `false` is not used here, because in Mui Step component props are merged with default theme props
790
+ * and there is check for undefined for active/completed/disabled
791
+ * active/completed/disabled/last can be set based on context values passed from Stepper
792
+ */
793
+ active: undefined,
794
+ completed: undefined,
795
+ expanded: false,
796
+ disabled: undefined,
797
+ last: undefined,
798
+ },
799
+ styleOverrides: {
800
+ vertical: {
801
+ "&.MuiStep-alternativeLabel": {
802
+ display: "flex",
803
+ flexDirection: "column",
804
+ alignItems: "center",
805
+ },
806
+ },
807
+ },
808
+ },
809
+ MuiStepConnector: {
810
+ styleOverrides: {
811
+ vertical: {
812
+ "&.MuiStepConnector-alternativeLabel": {
813
+ position: "initial",
814
+ marginLeft: 0,
815
+ top: 0,
816
+ left: 0,
817
+ right: 0,
818
+ },
819
+ },
820
+ },
821
+ },
822
+ MuiStepContent: {
823
+ defaultProps: {
824
+ transitionDuration: "auto",
825
+ },
826
+ styleOverrides: {
827
+ root: {
828
+ ".MuiStep-alternativeLabel &": {
829
+ border: "none",
830
+ },
831
+ },
832
+ },
833
+ },
834
+ MuiStepIcon: {
835
+ defaultProps: {
836
+ active: true,
837
+ completed: true,
838
+ error: true,
839
+ },
840
+ },
841
+ MuiStepLabel: {
842
+ defaultProps: {
843
+ componentsProps: {},
844
+ error: false,
845
+ },
846
+ styleOverrides: {
847
+ root: {
848
+ "&.MuiStepLabel-alternativeLabel": {
849
+ ".MuiTypography-root": {
850
+ textAlign: "center",
851
+ display: "block",
852
+ },
853
+ },
854
+ },
855
+ label: {
856
+ "&.Mui-active": {
857
+ fontWeight: 600,
858
+ },
859
+ "&.Mui-completed": {
860
+ fontWeight: 600,
861
+ },
862
+ },
863
+ },
864
+ },
865
+ MuiChip: {
866
+ defaultProps: {
867
+ variant: "filled",
868
+ size: "small",
869
+ },
870
+ },
871
+ };
872
+
873
+ export default fleetComponents;