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