@m4l/styles 0.0.13 → 0.0.15

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,1354 @@
1
+ import { alpha as e } from "@mui/material";
2
+ import { alpha as t } from "@mui/material/styles";
3
+ function s(o) {
4
+ return {
5
+ MuiAvatar: {
6
+ styleOverrides: {
7
+ colorDefault: {
8
+ color: o.palette.text.secondary,
9
+ backgroundColor: o.palette.grey[400]
10
+ }
11
+ }
12
+ },
13
+ MuiAvatarGroup: {
14
+ styleOverrides: {
15
+ avatar: {
16
+ fontSize: 16,
17
+ fontWeight: o.typography.fontWeightMedium,
18
+ "&:first-of-type": {
19
+ fontSize: 14,
20
+ color: o.palette.primary.main,
21
+ backgroundColor: o.palette.primary.lighter
22
+ }
23
+ }
24
+ }
25
+ }
26
+ };
27
+ }
28
+ function l(o) {
29
+ return {
30
+ MuiButton: {
31
+ styleOverrides: {
32
+ root: {
33
+ textTransform: "capitalize",
34
+ "&:hover": {
35
+ boxShadow: "none"
36
+ }
37
+ },
38
+ sizeLarge: {
39
+ height: 48
40
+ },
41
+ containedInherit: {
42
+ color: o.palette.grey[800],
43
+ boxShadow: o.customShadows?.z1,
44
+ "&:hover": {
45
+ backgroundColor: o.palette.grey[400]
46
+ }
47
+ },
48
+ containedPrimary: {
49
+ boxShadow: o.customShadows?.z4
50
+ },
51
+ containedSecondary: {
52
+ boxShadow: o.customShadows?.secondary
53
+ },
54
+ containedInfo: {
55
+ boxShadow: o.customShadows?.info
56
+ },
57
+ containedSuccess: {
58
+ boxShadow: o.customShadows?.success
59
+ },
60
+ containedWarning: {
61
+ boxShadow: o.customShadows?.warning
62
+ },
63
+ containedError: {
64
+ boxShadow: o.customShadows?.error
65
+ },
66
+ outlinedInherit: {
67
+ border: `1px solid ${o.palette.grey[50032]}`,
68
+ "&:hover": {
69
+ backgroundColor: o.palette.action.hover
70
+ }
71
+ },
72
+ textInherit: {
73
+ "&:hover": {
74
+ backgroundColor: o.palette.action.hover
75
+ }
76
+ }
77
+ }
78
+ }
79
+ };
80
+ }
81
+ function u(o) {
82
+ return {
83
+ MuiIconButton: {
84
+ styleOverrides: {
85
+ root: {
86
+ "&.MuiIconButton-sizeSmall": {
87
+ height: o.spacing(3),
88
+ width: o.spacing(3),
89
+ margin: 0,
90
+ padding: 0,
91
+ " > svg": {
92
+ height: 20,
93
+ width: 20
94
+ },
95
+ "& .MuiBox-root": {
96
+ height: 20,
97
+ width: 20
98
+ }
99
+ }
100
+ }
101
+ }
102
+ }
103
+ };
104
+ }
105
+ function p(o) {
106
+ return console.log("test theme", o.palette), {
107
+ MuiFab: {
108
+ defaultProps: {
109
+ color: "primary"
110
+ },
111
+ styleOverrides: {
112
+ root: {
113
+ boxShadow: o.customShadows?.z4,
114
+ "&:hover": {
115
+ boxShadow: "none",
116
+ backgroundColor: o.palette.grey[400]
117
+ }
118
+ },
119
+ primary: {
120
+ boxShadow: o.customShadows?.primary,
121
+ "&:hover": {
122
+ backgroundColor: o.palette.primary.dark
123
+ }
124
+ },
125
+ secondary: {
126
+ boxShadow: o.customShadows?.secondary,
127
+ "&:hover": {
128
+ backgroundColor: o.palette.secondary.dark
129
+ }
130
+ },
131
+ extended: {
132
+ "& svg": {
133
+ marginRight: o.spacing(1)
134
+ }
135
+ }
136
+ }
137
+ }
138
+ };
139
+ }
140
+ function c(o) {
141
+ return {
142
+ MuiCard: {
143
+ styleOverrides: {
144
+ root: {
145
+ position: "relative",
146
+ boxShadow: o.customShadows?.card,
147
+ borderRadius: Number(o.shape.borderRadius) * 2,
148
+ zIndex: 0
149
+ }
150
+ }
151
+ },
152
+ MuiCardHeader: {
153
+ defaultProps: {
154
+ titleTypographyProps: { variant: "h6" },
155
+ subheaderTypographyProps: { variant: "body2", marginTop: o.spacing(0.5) }
156
+ },
157
+ styleOverrides: {
158
+ root: {
159
+ padding: o.spacing(3, 3, 0)
160
+ }
161
+ }
162
+ },
163
+ MuiCardContent: {
164
+ styleOverrides: {
165
+ root: {
166
+ padding: o.spacing(3)
167
+ }
168
+ }
169
+ }
170
+ };
171
+ }
172
+ function g(o) {
173
+ return {
174
+ MuiTabs: {
175
+ styleOverrides: {
176
+ root: {
177
+ padding: 0,
178
+ fontWeight: o.typography.fontWeightMedium,
179
+ borderTopLeftRadius: o.shape.borderRadius,
180
+ borderTopRightRadius: o.shape.borderRadius,
181
+ "&.Mui-selected": {
182
+ color: o.palette.text.primary
183
+ },
184
+ "&:not(:last-of-type)": {
185
+ marginRight: o.spacing(5)
186
+ },
187
+ "@media (min-width: 600px)": {
188
+ minWidth: 48
189
+ },
190
+ "& .MuiButtonBase-root": {
191
+ ...o.typography.subtitle2
192
+ }
193
+ },
194
+ labelIcon: {
195
+ minHeight: 48,
196
+ flexDirection: "row",
197
+ "& > *:first-of-type": {
198
+ marginBottom: 0,
199
+ marginRight: o.spacing(1)
200
+ }
201
+ },
202
+ wrapper: {
203
+ flexDirection: "row",
204
+ whiteSpace: "nowrap"
205
+ },
206
+ textColorInherit: {
207
+ opacity: 1,
208
+ color: o.palette.text.secondary
209
+ }
210
+ }
211
+ },
212
+ MuiTabPanel: {
213
+ styleOverrides: {
214
+ root: {
215
+ padding: 0
216
+ }
217
+ }
218
+ },
219
+ MuiTabScrollButton: {
220
+ styleOverrides: {
221
+ root: {
222
+ width: 48,
223
+ borderRadius: "50%"
224
+ }
225
+ }
226
+ }
227
+ };
228
+ }
229
+ function b(o) {
230
+ return {
231
+ MuiMenuItem: {
232
+ styleOverrides: {
233
+ root: {
234
+ "&.Mui-selected": {
235
+ backgroundColor: o.palette.action.selected,
236
+ "&:hover": {
237
+ backgroundColor: o.palette.action.hover
238
+ }
239
+ }
240
+ }
241
+ }
242
+ }
243
+ };
244
+ }
245
+ function y(o) {
246
+ return {
247
+ MuiLink: {
248
+ defaultProps: {
249
+ underline: "hover"
250
+ },
251
+ styleOverrides: {
252
+ root: {
253
+ "&.MuiLink-underlineHover": {
254
+ textDecorationColor: o.palette.primary.main
255
+ }
256
+ }
257
+ }
258
+ }
259
+ };
260
+ }
261
+ function M(o) {
262
+ return {
263
+ MuiListItemIcon: {
264
+ styleOverrides: {
265
+ root: {
266
+ color: "inherit",
267
+ minWidth: "auto",
268
+ marginRight: o.spacing(2)
269
+ }
270
+ }
271
+ },
272
+ MuiListItemAvatar: {
273
+ styleOverrides: {
274
+ root: {
275
+ minWidth: "auto",
276
+ marginRight: o.spacing(2)
277
+ }
278
+ }
279
+ },
280
+ MuiListItemText: {
281
+ styleOverrides: {
282
+ root: {
283
+ marginTop: 0,
284
+ marginBottom: 0
285
+ },
286
+ multiline: {
287
+ marginTop: 0,
288
+ marginBottom: 0
289
+ }
290
+ }
291
+ }
292
+ };
293
+ }
294
+ function v(o) {
295
+ return {
296
+ MuiTableRow: {
297
+ styleOverrides: {
298
+ root: {
299
+ "&.Mui-selected": {
300
+ backgroundColor: o.palette.action.selected,
301
+ "&:hover": {
302
+ backgroundColor: o.palette.action.hover
303
+ }
304
+ }
305
+ }
306
+ }
307
+ },
308
+ MuiTableCell: {
309
+ styleOverrides: {
310
+ root: {
311
+ borderBottom: "none"
312
+ },
313
+ head: {
314
+ color: o.palette.text.secondary,
315
+ backgroundColor: o.palette.background.neutral,
316
+ "&:first-of-type": {
317
+ paddingLeft: o.spacing(3),
318
+ borderTopLeftRadius: o.shape.borderRadius,
319
+ borderBottomLeftRadius: o.shape.borderRadius,
320
+ boxShadow: `inset 8px 0 0 ${o.palette.background.paper}`
321
+ },
322
+ "&:last-of-type": {
323
+ paddingRight: o.spacing(3),
324
+ borderTopRightRadius: o.shape.borderRadius,
325
+ borderBottomRightRadius: o.shape.borderRadius,
326
+ boxShadow: `inset -8px 0 0 ${o.palette.background.paper}`
327
+ }
328
+ },
329
+ stickyHeader: {
330
+ backgroundColor: o.palette.background.paper,
331
+ backgroundImage: `linear-gradient(to bottom, ${o.palette.background.neutral} 0%, ${o.palette.background.neutral} 100%)`
332
+ },
333
+ body: {
334
+ "&:first-of-type": {
335
+ paddingLeft: o.spacing(3)
336
+ },
337
+ "&:last-of-type": {
338
+ paddingRight: o.spacing(3)
339
+ }
340
+ }
341
+ }
342
+ },
343
+ MuiTablePagination: {
344
+ styleOverrides: {
345
+ root: {
346
+ ...o.typography.caption
347
+ },
348
+ toolbar: {
349
+ "& .MuiInputBase-root": {
350
+ marginLeft: o.spacing(1),
351
+ marginRight: o.spacing(3),
352
+ ...o.typography.caption
353
+ },
354
+ "&.MuiToolbar-regular": {
355
+ minHeight: 40,
356
+ height: 40,
357
+ paddingRight: 0
358
+ },
359
+ "& .MuiTablePagination-displayedRows": {
360
+ ...o.typography.caption
361
+ }
362
+ },
363
+ selectLabel: {
364
+ ...o.typography.caption
365
+ },
366
+ select: {
367
+ paddingBottom: 4,
368
+ "&:focus": {
369
+ borderRadius: o.shape.borderRadius
370
+ }
371
+ },
372
+ selectIcon: {
373
+ width: 20,
374
+ height: 20
375
+ }
376
+ }
377
+ }
378
+ };
379
+ }
380
+ function f(o) {
381
+ return {
382
+ MuiBadge: {
383
+ styleOverrides: {
384
+ dot: {
385
+ width: 10,
386
+ height: 10,
387
+ borderRadius: "50%"
388
+ }
389
+ }
390
+ }
391
+ };
392
+ }
393
+ function x(o) {
394
+ return {
395
+ MuiPaper: {
396
+ defaultProps: {
397
+ elevation: 0
398
+ },
399
+ variants: [
400
+ {
401
+ props: { variant: "outlined" },
402
+ style: { borderColor: o.palette.grey[50012] }
403
+ }
404
+ ],
405
+ styleOverrides: {
406
+ root: {
407
+ backgroundImage: "none",
408
+ backgroundColor: o.palette.background.default,
409
+ borderRadius: "2px",
410
+ "& .MuiStack-root .MuiMenuItem-root": {
411
+ color: o.palette.text.primary,
412
+ transition: "all .5s",
413
+ borderRadius: "4px",
414
+ ...o.typography.action
415
+ },
416
+ "& .MuiStack-root .MuiMenuItem-root:hover": {
417
+ color: o.palette.state?.hover,
418
+ transition: "all .5s",
419
+ backgroundColor: o.palette.state?.active12
420
+ },
421
+ "& .MuiStack-root .MuiMenuItem-root.Mui-selected": {
422
+ color: o.palette.state?.active,
423
+ transition: "all .5s",
424
+ backgroundColor: o.palette.state?.active12
425
+ },
426
+ "& .MuiStack-root .MuiMenuItem-root:focus": {
427
+ color: o.palette.state?.focus,
428
+ transition: "all .5s",
429
+ backgroundColor: o.palette.background.default,
430
+ boxShadow: `0 0 0 1px ${o.palette.state?.focus}`
431
+ },
432
+ "& .MuiAutocomplete-listbox .MuiAutocomplete-option": {
433
+ color: o.palette.text.primary,
434
+ transition: "all .5s",
435
+ borderRadius: "4px",
436
+ ...o.typography.action
437
+ },
438
+ "& .MuiAutocomplete-listbox .MuiAutocomplete-option:hover": {
439
+ color: o.palette.state?.hover,
440
+ transition: "all .5s",
441
+ backgroundColor: o.palette.state?.active12
442
+ },
443
+ "& .MuiAutocomplete-listbox .MuiAutocomplete-option.Mui-selected": {
444
+ color: o.palette.state?.active,
445
+ transition: "all .5s",
446
+ backgroundColor: o.palette.state?.active12
447
+ },
448
+ "& .MuiAutocomplete-listbox .MuiAutocomplete-option:active": {
449
+ color: o.palette.state?.focus,
450
+ transition: "all .5s",
451
+ backgroundColor: o.palette.background.default,
452
+ boxShadow: `0 0 0 1px ${o.palette.state?.focus}`
453
+ }
454
+ }
455
+ }
456
+ }
457
+ };
458
+ }
459
+ function k(o) {
460
+ return {
461
+ MuiFormControl: {
462
+ styleOverrides: {
463
+ root: {}
464
+ }
465
+ },
466
+ MuiInputBase: {
467
+ styleOverrides: {
468
+ root: {
469
+ backgroundColor: o.palette.background.default,
470
+ ...o.typography.body2,
471
+ borderRadius: o.spacing(1),
472
+ "&.Mui-disabled": {
473
+ "& svg": { color: o.palette.text.disabled }
474
+ },
475
+ padding: "0px"
476
+ },
477
+ input: {
478
+ padding: "4px 8px",
479
+ "&::placeholder": {
480
+ opacity: 1,
481
+ color: o.palette.text.disabled
482
+ }
483
+ }
484
+ }
485
+ },
486
+ MuiInput: {
487
+ styleOverrides: {
488
+ underline: {
489
+ "&:before": {
490
+ borderBottomColor: o.palette.grey[50056]
491
+ }
492
+ }
493
+ }
494
+ },
495
+ MuiFilledInput: {
496
+ styleOverrides: {
497
+ root: {
498
+ backgroundColor: o.palette.grey[50012],
499
+ "&:hover": {
500
+ backgroundColor: o.palette.grey[50016]
501
+ },
502
+ "&.Mui-focused": {
503
+ backgroundColor: o.palette.action.focus
504
+ },
505
+ "&.Mui-disabled": {
506
+ backgroundColor: o.palette.action.disabledBackground
507
+ }
508
+ },
509
+ underline: {
510
+ "&:before": {
511
+ borderBottomColor: o.palette.grey[50056]
512
+ }
513
+ }
514
+ }
515
+ },
516
+ MuiOutlinedInput: {
517
+ styleOverrides: {
518
+ root: {
519
+ ...o.typography.body2,
520
+ color: o.palette.text.primary,
521
+ "& > input": {
522
+ padding: o.spacing(1.5, 1.5)
523
+ },
524
+ "& .MuiOutlinedInput-notchedOutline": {
525
+ borderColor: o.palette.grey[50032],
526
+ fontSize: "0.875rem"
527
+ },
528
+ "&.Mui-disabled": {
529
+ "& .MuiOutlinedInput-notchedOutline": {
530
+ borderColor: o.palette.action.disabledBackground
531
+ }
532
+ },
533
+ "& .MuiOutlinedInput-input:-webkit-autofill": {
534
+ WebkitBoxShadow: `0 0 0 1000px ${o.palette.background.autofill} inset`
535
+ }
536
+ }
537
+ }
538
+ }
539
+ };
540
+ }
541
+ function w(o) {
542
+ return {
543
+ MuiInputLabel: {
544
+ styleOverrides: {
545
+ shrink: {
546
+ transform: "translate(14px, -9px) scale(0.75)!important"
547
+ },
548
+ outlined: {
549
+ transform: "translate(14px, 12px) scale(1)",
550
+ fontSize: 12
551
+ }
552
+ }
553
+ }
554
+ };
555
+ }
556
+ function S(o) {
557
+ return {
558
+ MuiRadio: {
559
+ styleOverrides: {
560
+ root: {
561
+ padding: o.spacing(1),
562
+ svg: {
563
+ fontSize: 24,
564
+ "&[font-size=small]": {
565
+ fontSize: 20
566
+ }
567
+ }
568
+ }
569
+ }
570
+ }
571
+ };
572
+ }
573
+ function C(o) {
574
+ const r = o.palette.mode === "light";
575
+ return {
576
+ MuiDrawer: {
577
+ styleOverrides: {
578
+ root: {
579
+ "&.M4LSideBar-drawer": {
580
+ test: "root",
581
+ "& .MuiPaper-root": {
582
+ background: o.palette.background.neutral,
583
+ display: "flex",
584
+ flexDirection: "row"
585
+ }
586
+ }
587
+ },
588
+ modal: {
589
+ '&[role="presentation"]': {
590
+ "& .MuiDrawer-paperAnchorLeft": {
591
+ boxShadow: `8px 24px 24px 12px ${e(
592
+ o.palette.grey[900],
593
+ r ? 0.16 : 0.48
594
+ )}`
595
+ },
596
+ "& .MuiDrawer-paperAnchorRight": {
597
+ boxShadow: `-8px 24px 24px 12px ${e(
598
+ o.palette.grey[900],
599
+ r ? 0.16 : 0.48
600
+ )}`
601
+ }
602
+ }
603
+ }
604
+ }
605
+ }
606
+ };
607
+ }
608
+ function O(o) {
609
+ return {
610
+ MuiDialog: {
611
+ styleOverrides: {
612
+ paper: {
613
+ boxShadow: o.customShadows?.dialog,
614
+ "&.MuiPaper-rounded": {
615
+ borderRadius: Number(o.shape.borderRadius) * 2
616
+ },
617
+ "&.MuiDialog-paperFullScreen": {
618
+ borderRadius: 0
619
+ },
620
+ "&.MuiDialog-paper .MuiDialogActions-root": {
621
+ padding: o.spacing(3)
622
+ },
623
+ "@media (max-width: 600px)": {
624
+ margin: o.spacing(2)
625
+ },
626
+ "@media (max-width: 663.95px)": {
627
+ "&.MuiDialog-paperWidthSm.MuiDialog-paperScrollBody": {
628
+ maxWidth: "100%"
629
+ }
630
+ }
631
+ },
632
+ paperFullWidth: {
633
+ width: "100%"
634
+ }
635
+ }
636
+ },
637
+ MuiDialogTitle: {
638
+ styleOverrides: {
639
+ root: {
640
+ padding: o.spacing(3, 3, 0)
641
+ }
642
+ }
643
+ },
644
+ MuiDialogContent: {
645
+ styleOverrides: {
646
+ root: {
647
+ borderTop: 0,
648
+ borderBottom: 0,
649
+ padding: o.spacing(3)
650
+ }
651
+ }
652
+ },
653
+ MuiDialogActions: {
654
+ styleOverrides: {
655
+ root: {
656
+ "& > :not(:first-of-type)": {
657
+ marginLeft: o.spacing(1.5)
658
+ }
659
+ }
660
+ }
661
+ }
662
+ };
663
+ }
664
+ function h(o) {
665
+ const r = o.palette.mode === "light";
666
+ return {
667
+ MuiSlider: {
668
+ defaultProps: {
669
+ size: "small"
670
+ },
671
+ styleOverrides: {
672
+ root: {
673
+ "&.Mui-disabled": {
674
+ color: o.palette.action.disabled
675
+ }
676
+ },
677
+ markLabel: {
678
+ fontSize: 13,
679
+ color: o.palette.text.disabled
680
+ },
681
+ valueLabel: {
682
+ borderRadius: 8,
683
+ backgroundColor: o.palette.grey[r ? 800 : 700]
684
+ }
685
+ }
686
+ }
687
+ };
688
+ }
689
+ function B(o) {
690
+ const r = o.palette.mode === "light";
691
+ return {
692
+ MuiSwitch: {
693
+ styleOverrides: {
694
+ thumb: {
695
+ boxShadow: o.customShadows?.z1
696
+ },
697
+ track: {
698
+ opacity: 1,
699
+ backgroundColor: o.palette.grey[500]
700
+ },
701
+ switchBase: {
702
+ left: 0,
703
+ right: "auto",
704
+ "&:not(:.Mui-checked)": {
705
+ color: o.palette.grey[r ? 100 : 300]
706
+ },
707
+ "&.Mui-checked.Mui-disabled, &.Mui-disabled": {
708
+ color: o.palette.grey[r ? 400 : 600]
709
+ },
710
+ "&.Mui-disabled+.MuiSwitch-track": {
711
+ opacity: 1,
712
+ backgroundColor: `${o.palette.action.disabledBackground} !important`
713
+ }
714
+ }
715
+ }
716
+ }
717
+ };
718
+ }
719
+ function R(o) {
720
+ return {
721
+ MuiSvgIcon: {
722
+ styleOverrides: {
723
+ fontSizeSmall: {
724
+ width: 20,
725
+ height: 20,
726
+ fontSize: "inherit"
727
+ },
728
+ fontSizeLarge: {
729
+ width: 32,
730
+ height: 32,
731
+ fontSize: "inherit"
732
+ }
733
+ }
734
+ }
735
+ };
736
+ }
737
+ function I(o) {
738
+ const r = o.palette.mode === "light";
739
+ return {
740
+ MuiTooltip: {
741
+ styleOverrides: {
742
+ tooltip: {
743
+ backgroundColor: o.palette.grey[r ? 800 : 700]
744
+ },
745
+ arrow: {
746
+ color: o.palette.grey[r ? 800 : 700]
747
+ }
748
+ }
749
+ }
750
+ };
751
+ }
752
+ function T(o) {
753
+ return {
754
+ MuiPopover: {
755
+ styleOverrides: {
756
+ paper: {}
757
+ }
758
+ }
759
+ };
760
+ }
761
+ function L(o) {
762
+ return {
763
+ MuiStepConnector: {
764
+ styleOverrides: {
765
+ line: {
766
+ borderColor: o.palette.divider
767
+ }
768
+ }
769
+ }
770
+ };
771
+ }
772
+ function D(o) {
773
+ return {
774
+ MuiDataGrid: {
775
+ styleOverrides: {
776
+ root: {
777
+ borderRadius: 0,
778
+ border: "1px solid transparent",
779
+ "& .MuiTablePagination-root": {
780
+ borderTop: 0
781
+ },
782
+ "& .MuiDataGrid-toolbarContainer": {
783
+ padding: o.spacing(2),
784
+ backgroundColor: o.palette.background.neutral,
785
+ "& .MuiButton-root": {
786
+ marginRight: o.spacing(1.5),
787
+ color: o.palette.text.primary,
788
+ "&:hover": {
789
+ backgroundColor: o.palette.action.hover
790
+ }
791
+ }
792
+ },
793
+ "& .MuiDataGrid-cell, .MuiDataGrid-columnsContainer": {
794
+ borderBottom: `1px solid ${o.palette.divider}`
795
+ },
796
+ "& .MuiDataGrid-columnSeparator": {
797
+ color: o.palette.divider
798
+ },
799
+ '& .MuiDataGrid-columnHeader[data-field="__check__"]': {
800
+ padding: 0
801
+ }
802
+ }
803
+ }
804
+ },
805
+ MuiGridMenu: {
806
+ styleOverrides: {
807
+ root: {
808
+ "& .MuiDataGrid-gridMenuList": {
809
+ boxShadow: o.customShadows?.z4,
810
+ borderRadius: o.shape.borderRadius
811
+ },
812
+ "& .MuiMenuItem-root": {
813
+ ...o.typography.body2
814
+ }
815
+ }
816
+ }
817
+ },
818
+ MuiGridFilterForm: {
819
+ styleOverrides: {
820
+ root: {
821
+ padding: o.spacing(1.5, 0),
822
+ "& .MuiFormControl-root": {
823
+ margin: o.spacing(0, 0.5)
824
+ },
825
+ "& .MuiInput-root": {
826
+ marginTop: o.spacing(3),
827
+ "&::before, &::after": {
828
+ display: "none"
829
+ },
830
+ "& .MuiNativeSelect-select, .MuiInput-input": {
831
+ ...o.typography.body2,
832
+ padding: o.spacing(0.75, 1),
833
+ borderRadius: o.shape.borderRadius,
834
+ backgroundColor: o.palette.background.neutral
835
+ },
836
+ "& .MuiSvgIcon-root": {
837
+ right: 4
838
+ }
839
+ }
840
+ }
841
+ }
842
+ },
843
+ MuiGridPanelFooter: {
844
+ styleOverrides: {
845
+ root: {
846
+ padding: o.spacing(2),
847
+ justifyContent: "flex-end",
848
+ "& .MuiButton-root": {
849
+ "&:first-of-type": {
850
+ marginRight: o.spacing(1.5),
851
+ color: o.palette.text.primary,
852
+ "&:hover": {
853
+ backgroundColor: o.palette.action.hover
854
+ }
855
+ },
856
+ "&:last-of-type": {
857
+ color: o.palette.common.white,
858
+ backgroundColor: o.palette.primary.main,
859
+ "&:hover": {
860
+ backgroundColor: o.palette.primary.dark
861
+ }
862
+ }
863
+ }
864
+ }
865
+ }
866
+ }
867
+ };
868
+ }
869
+ function P(o) {
870
+ return {
871
+ MuiSkeleton: {
872
+ defaultProps: {
873
+ animation: "wave"
874
+ },
875
+ styleOverrides: {
876
+ root: {
877
+ backgroundColor: o.palette.divider
878
+ }
879
+ }
880
+ }
881
+ };
882
+ }
883
+ function m(o) {
884
+ const r = t(o.palette.grey[900], 0.48), i = t(o.palette.grey[900], 1);
885
+ return {
886
+ MuiBackdrop: {
887
+ styleOverrides: {
888
+ root: {
889
+ background: [
890
+ "rgb(22,28,36)",
891
+ `-moz-linear-gradient(75deg, ${r} 0%, ${i} 100%)`,
892
+ `-webkit-linear-gradient(75deg, ${r} 0%, ${i} 100%)`,
893
+ `linear-gradient(75deg, ${r} 0%, ${i} 100%)`
894
+ ],
895
+ "&.MuiBackdrop-invisible": {
896
+ background: "transparent"
897
+ }
898
+ }
899
+ }
900
+ }
901
+ };
902
+ }
903
+ function $(o) {
904
+ const r = o.palette.mode === "light";
905
+ return {
906
+ MuiLinearProgress: {
907
+ styleOverrides: {
908
+ root: {
909
+ borderRadius: 4,
910
+ overflow: "hidden"
911
+ },
912
+ bar: {
913
+ borderRadius: 4
914
+ },
915
+ colorPrimary: {
916
+ backgroundColor: o.palette.primary[r ? "lighter" : "darker"]
917
+ },
918
+ buffer: {
919
+ backgroundColor: "transparent"
920
+ }
921
+ }
922
+ }
923
+ };
924
+ }
925
+ function z(o) {
926
+ return {
927
+ MuiTimelineDot: {
928
+ styleOverrides: {
929
+ root: {
930
+ boxShadow: "none"
931
+ }
932
+ }
933
+ },
934
+ MuiTimelineConnector: {
935
+ styleOverrides: {
936
+ root: {
937
+ backgroundColor: o.palette.divider
938
+ }
939
+ }
940
+ }
941
+ };
942
+ }
943
+ function A(o) {
944
+ return {
945
+ MuiCheckbox: {
946
+ styleOverrides: {
947
+ root: {
948
+ padding: o.spacing(1),
949
+ oleee: "sss",
950
+ color: o.palette.action.active,
951
+ "& .Mui-checked": {
952
+ color: o.palette.primary.main
953
+ },
954
+ "&.Mui-checked.Mui-disabled, &.Mui-disabled": {
955
+ color: o.palette.action.disabled
956
+ }
957
+ }
958
+ }
959
+ }
960
+ };
961
+ }
962
+ function W(o) {
963
+ return {
964
+ MuiAccordion: {
965
+ styleOverrides: {
966
+ root: {
967
+ backgroundColor: o.palette.background.default,
968
+ width: "100%",
969
+ marginTop: "0px",
970
+ marginBottom: o.spacing(1.5),
971
+ "&.Mui-expanded": {
972
+ marginTop: "0px",
973
+ marginBottom: o.spacing(1.5)
974
+ },
975
+ border: "0px solid transparent",
976
+ "&.Mui-disabled": {
977
+ backgroundColor: "transparent"
978
+ },
979
+ "&::before": {
980
+ content: "none"
981
+ }
982
+ }
983
+ }
984
+ },
985
+ MuiAccordionDetails: {
986
+ styleOverrides: {
987
+ root: {
988
+ padding: `0px ${o.spacing(0)}`
989
+ }
990
+ }
991
+ },
992
+ MuiAccordionSummary: {
993
+ styleOverrides: {
994
+ root: {
995
+ borderRadius: o.spacing(0.5),
996
+ height: o.spacing(4.5),
997
+ minHeight: o.spacing(4.5),
998
+ backgroundColor: o.palette.background.header,
999
+ paddingLeft: o.spacing(2),
1000
+ paddingRight: o.spacing(2),
1001
+ marginBottom: "0px",
1002
+ "&.Mui-expanded": {
1003
+ height: o.spacing(4.5),
1004
+ minHeight: o.spacing(4.5),
1005
+ borderRadius: `${o.spacing(0.5)} ${o.spacing(0.5)} 0px 0px`
1006
+ },
1007
+ "&.Mui-disabled": {
1008
+ opacity: 1,
1009
+ color: o.palette.action.disabled,
1010
+ "& .MuiTypography-root": {
1011
+ color: "inherit"
1012
+ }
1013
+ }
1014
+ },
1015
+ expandIconWrapper: {
1016
+ color: o.palette.action.active,
1017
+ height: 20,
1018
+ width: 20,
1019
+ alignItems: "center",
1020
+ justifyContent: "center",
1021
+ "& > svg": {
1022
+ height: 12,
1023
+ width: 12
1024
+ }
1025
+ },
1026
+ content: {
1027
+ ...o.typography.subtitle2,
1028
+ margin: "0px",
1029
+ "&.Mui-expanded": {
1030
+ margin: "0px"
1031
+ }
1032
+ }
1033
+ }
1034
+ }
1035
+ };
1036
+ }
1037
+ function G(o) {
1038
+ return {
1039
+ MuiTypography: {
1040
+ defaultProps: {
1041
+ variantMapping: {
1042
+ subtitleDens: "span"
1043
+ }
1044
+ },
1045
+ styleOverrides: {
1046
+ paragraph: {
1047
+ marginBottom: o.spacing(2)
1048
+ },
1049
+ gutterBottom: {
1050
+ marginBottom: o.spacing(1)
1051
+ }
1052
+ }
1053
+ }
1054
+ };
1055
+ }
1056
+ function F(o) {
1057
+ return {
1058
+ MuiPaginationItem: {
1059
+ styleOverrides: {
1060
+ root: {
1061
+ "&.Mui-selected": {
1062
+ fontWeight: o.typography.fontWeightBold
1063
+ }
1064
+ },
1065
+ textPrimary: {
1066
+ "&.Mui-selected": {
1067
+ color: o.palette.primary.main,
1068
+ backgroundColor: t(o.palette.primary.main, 0.08),
1069
+ "&:hover, &.Mui-focusVisible": {
1070
+ backgroundColor: `${t(
1071
+ o.palette.primary.main,
1072
+ 0.24
1073
+ )} !important`
1074
+ }
1075
+ }
1076
+ },
1077
+ outlined: {
1078
+ border: `1px solid ${o.palette.grey[50032]}`
1079
+ },
1080
+ outlinedPrimary: {
1081
+ "&.Mui-selected": {
1082
+ backgroundColor: t(o.palette.primary.main, 0.08),
1083
+ border: `1px solid ${t(o.palette.primary.main, 0.24)}`
1084
+ }
1085
+ }
1086
+ }
1087
+ }
1088
+ };
1089
+ }
1090
+ function H(o) {
1091
+ return {
1092
+ MuiBreadcrumbs: {
1093
+ styleOverrides: {
1094
+ separator: {
1095
+ marginLeft: o.spacing(2),
1096
+ marginRight: o.spacing(2)
1097
+ }
1098
+ }
1099
+ }
1100
+ };
1101
+ }
1102
+ function _(o) {
1103
+ const r = (i) => ({
1104
+ props: { variant: "contained", color: i },
1105
+ style: { boxShadow: o.customShadows?.primary }
1106
+ });
1107
+ return {
1108
+ MuiButtonGroup: {
1109
+ variants: [
1110
+ {
1111
+ props: { variant: "contained", color: "inherit" },
1112
+ style: { boxShadow: o.customShadows?.z4 }
1113
+ },
1114
+ r("primary"),
1115
+ r("secondary"),
1116
+ r("info"),
1117
+ r("success"),
1118
+ r("warning"),
1119
+ r("error"),
1120
+ {
1121
+ props: { disabled: !0 },
1122
+ style: {
1123
+ boxShadow: "none",
1124
+ "& .MuiButtonGroup-grouped.Mui-disabled": {
1125
+ color: o.palette.action.disabled,
1126
+ borderColor: `${o.palette.action.disabledBackground} !important`,
1127
+ "&.MuiButton-contained": {
1128
+ backgroundColor: o.palette.action.disabledBackground
1129
+ }
1130
+ }
1131
+ }
1132
+ }
1133
+ ],
1134
+ styleOverrides: {
1135
+ root: {
1136
+ "&:hover": {
1137
+ boxShadow: "none"
1138
+ }
1139
+ }
1140
+ }
1141
+ }
1142
+ };
1143
+ }
1144
+ function j(o) {
1145
+ return {
1146
+ MuiCssBaseline: {
1147
+ styleOverrides: {
1148
+ "*": {
1149
+ margin: 0,
1150
+ padding: 0,
1151
+ boxSizing: "border-box"
1152
+ },
1153
+ html: {
1154
+ width: "100%",
1155
+ height: "100%",
1156
+ WebkitOverflowScrolling: "touch"
1157
+ },
1158
+ body: {
1159
+ width: "100%",
1160
+ height: "100%"
1161
+ },
1162
+ "#root": {
1163
+ width: "100%",
1164
+ height: "100%"
1165
+ },
1166
+ input: {
1167
+ "&[type=number]": {
1168
+ MozAppearance: "textfield",
1169
+ "&::-webkit-outer-spin-button": {
1170
+ margin: 0,
1171
+ WebkitAppearance: "none"
1172
+ },
1173
+ "&::-webkit-inner-spin-button": {
1174
+ margin: 0,
1175
+ WebkitAppearance: "none"
1176
+ }
1177
+ }
1178
+ },
1179
+ img: {
1180
+ display: "block",
1181
+ maxWidth: "100%"
1182
+ }
1183
+ }
1184
+ }
1185
+ };
1186
+ }
1187
+ function E(o) {
1188
+ return {
1189
+ MuiAutocomplete: {
1190
+ styleOverrides: {
1191
+ root: {
1192
+ "& .MuiInputBase-root": {
1193
+ padding: "0 39px 0px 0"
1194
+ }
1195
+ },
1196
+ paper: {
1197
+ boxShadow: o.customShadows?.dropdown
1198
+ },
1199
+ listbox: {
1200
+ padding: o.spacing(0, 1),
1201
+ "& .MuiAutocomplete-option": {
1202
+ padding: o.spacing(1),
1203
+ margin: o.spacing(1, 0),
1204
+ borderRadius: o.shape.borderRadius
1205
+ }
1206
+ }
1207
+ }
1208
+ }
1209
+ };
1210
+ }
1211
+ const a = (o, r) => ({
1212
+ props: { color: r },
1213
+ style: {
1214
+ "&:hover": {
1215
+ borderColor: t(o.palette[r].main, 0.48),
1216
+ backgroundColor: t(o.palette[r].main, o.palette.action.hoverOpacity)
1217
+ },
1218
+ "&.Mui-selected": {
1219
+ borderColor: t(o.palette[r].main, 0.48)
1220
+ }
1221
+ }
1222
+ });
1223
+ function N(o) {
1224
+ return {
1225
+ MuiToggleButton: {
1226
+ variants: [
1227
+ {
1228
+ props: { color: "standard" },
1229
+ style: {
1230
+ "&.Mui-selected": {
1231
+ backgroundColor: o.palette.action.selected
1232
+ }
1233
+ }
1234
+ },
1235
+ a(o, "primary"),
1236
+ a(o, "secondary"),
1237
+ a(o, "info"),
1238
+ a(o, "success"),
1239
+ a(o, "warning"),
1240
+ a(o, "error")
1241
+ ]
1242
+ },
1243
+ MuiToggleButtonGroup: {
1244
+ styleOverrides: {
1245
+ root: {
1246
+ borderRadius: o.shape.borderRadius,
1247
+ backgroundColor: o.palette.background.paper,
1248
+ border: `solid 1px ${o.palette.grey[50012]}`,
1249
+ "& .MuiToggleButton-root": {
1250
+ margin: 4,
1251
+ borderColor: "transparent !important",
1252
+ borderRadius: `${o.shape.borderRadius}px !important`
1253
+ }
1254
+ }
1255
+ }
1256
+ }
1257
+ };
1258
+ }
1259
+ function q(o) {
1260
+ return {
1261
+ MuiFormControlLabel: {
1262
+ styleOverrides: {
1263
+ label: {
1264
+ ...o.typography.body1
1265
+ }
1266
+ }
1267
+ },
1268
+ MuiFormHelperText: {
1269
+ styleOverrides: {
1270
+ root: {
1271
+ marginTop: o.spacing(1)
1272
+ }
1273
+ }
1274
+ },
1275
+ MuiFormLabel: {
1276
+ styleOverrides: {
1277
+ root: {
1278
+ color: o.palette.text.disabled
1279
+ }
1280
+ }
1281
+ }
1282
+ };
1283
+ }
1284
+ function V(o) {
1285
+ return {
1286
+ MuiLoadingButton: {
1287
+ styleOverrides: {
1288
+ root: {
1289
+ "&.MuiLoadingButton-root": {
1290
+ ...o.typography.subtitle2,
1291
+ "& .MuiCircularProgress-root": {
1292
+ color: o.palette.primary.main
1293
+ }
1294
+ },
1295
+ "&.MuiButton-text": {
1296
+ "& .MuiLoadingButton-startIconPendingStart": {
1297
+ marginLeft: 0
1298
+ },
1299
+ "& .MuiLoadingButton-endIconPendingEnd": {
1300
+ marginRight: 0
1301
+ }
1302
+ }
1303
+ }
1304
+ }
1305
+ }
1306
+ };
1307
+ }
1308
+ const J = (o) => ({
1309
+ M4LBruceTest: {
1310
+ styleOverrides: {}
1311
+ }
1312
+ });
1313
+ export {
1314
+ s as A,
1315
+ f as B,
1316
+ c as C,
1317
+ O as D,
1318
+ V as E,
1319
+ p as F,
1320
+ J as G,
1321
+ k as I,
1322
+ y as L,
1323
+ b as M,
1324
+ x as P,
1325
+ S as R,
1326
+ B as S,
1327
+ g as T,
1328
+ w as a,
1329
+ M as b,
1330
+ v as c,
1331
+ l as d,
1332
+ u as e,
1333
+ h as f,
1334
+ C as g,
1335
+ L as h,
1336
+ I as i,
1337
+ T as j,
1338
+ R as k,
1339
+ A as l,
1340
+ D as m,
1341
+ P as n,
1342
+ z as o,
1343
+ m as p,
1344
+ $ as q,
1345
+ W as r,
1346
+ G as s,
1347
+ F as t,
1348
+ _ as u,
1349
+ H as v,
1350
+ j as w,
1351
+ E as x,
1352
+ q as y,
1353
+ N as z
1354
+ };