@m4l/styles 2.0.3 → 2.0.4
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/index.js +35 -42
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.d580f3ec.js → defaultThemeOptions-CNJ2UmWH.js} +7 -10
- package/theme/index-l0sNRNKZ.js +1 -0
- package/theme/overrides/M4LExtendedComponents/{index.79301515.js → index-CyXBfJc_.js} +485 -132
- package/theme/overrides/M4LRHFComponents/{index.38639c1b.js → index-D-E6fugB.js} +76 -4
- package/theme/overrides/MUIComponents/{index.5c43e3b5.js → index-oLVtA5nq.js} +48 -0
- package/theme/overrides/{index.78952902.js → index-DeiTY8li.js} +9 -3
- package/theme/{palette.287635f2.js → palette-CR1CkF2l.js} +1 -0
- package/theme/{shadows.e0c009ff.js → shadows-C9Ji2xrX.js} +4 -1
- package/theme/{typography.947dc33f.js → typography-BsOO459U.js} +34 -31
- package/utils/{getColorPresets.a96a4046.js → getColorPresets-B12zVrZ8.js} +10 -1
- package/utils/{getColorState.18b61422.js → getColorState-CGc0yrt5.js} +17 -10
- package/utils/{getFontValue.88831637.js → getFontValue-BEO-XID9.js} +8 -5
- package/theme/index.16e25179.js +0 -7
- /package/{config.5405b46b.js → config-CoeBxEZB.js} +0 -0
- /package/utils/{useResponsive.2c45e8e0.js → useResponsive-DaeQVwlH.js} +0 -0
|
@@ -12,11 +12,13 @@ const a = (t) => ({
|
|
|
12
12
|
M4LRHFTextField: {
|
|
13
13
|
styleOverrides: {
|
|
14
14
|
"&.M4LRHFTextField-root": {
|
|
15
|
+
/* Root styles */
|
|
15
16
|
display: "flex",
|
|
16
17
|
flexDirection: "column",
|
|
17
18
|
width: "100%",
|
|
18
19
|
gap: "2px",
|
|
19
20
|
outline: "unset",
|
|
21
|
+
/* General properties */
|
|
20
22
|
"&.M4LRHFTextField-variantText": {
|
|
21
23
|
height: "auto",
|
|
22
24
|
"& .MuiFormControl-root": {
|
|
@@ -69,6 +71,7 @@ const a = (t) => ({
|
|
|
69
71
|
}
|
|
70
72
|
}
|
|
71
73
|
},
|
|
74
|
+
/* State hover */
|
|
72
75
|
"&:hover": {
|
|
73
76
|
"& .M4LRHFTextField-label": {
|
|
74
77
|
color: t.vars.palette.state?.hover
|
|
@@ -85,6 +88,7 @@ const a = (t) => ({
|
|
|
85
88
|
backgroundColor: t.vars.palette.state?.hover
|
|
86
89
|
}
|
|
87
90
|
},
|
|
91
|
+
/* State focus and active */
|
|
88
92
|
"&.M4LRHFTextField-isFocus": {
|
|
89
93
|
"& .M4LRHFTextField-label": {
|
|
90
94
|
color: t.vars.palette.state?.active
|
|
@@ -103,6 +107,7 @@ const a = (t) => ({
|
|
|
103
107
|
backgroundColor: t.vars.palette.state?.active
|
|
104
108
|
}
|
|
105
109
|
},
|
|
110
|
+
/* State error */
|
|
106
111
|
"&.M4LRHFTextField-variantError": {
|
|
107
112
|
"& .M4LRHFTextField-label": {
|
|
108
113
|
color: t.vars.palette.state?.error.normal
|
|
@@ -129,6 +134,7 @@ const a = (t) => ({
|
|
|
129
134
|
}
|
|
130
135
|
}
|
|
131
136
|
},
|
|
137
|
+
/* State disabled */
|
|
132
138
|
"&.M4LRHFTextField-isDisabled": {
|
|
133
139
|
"& .M4LRHFTextField-label": {
|
|
134
140
|
color: t.vars.palette.text.disabled
|
|
@@ -146,6 +152,7 @@ const a = (t) => ({
|
|
|
146
152
|
backgroundColor: t.vars.palette.text.disabled
|
|
147
153
|
}
|
|
148
154
|
},
|
|
155
|
+
/* Sizes */
|
|
149
156
|
"&.M4LRHFTextField-sizeSmall": {
|
|
150
157
|
"& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFTextField-skeleton": {
|
|
151
158
|
height: "24px",
|
|
@@ -196,6 +203,7 @@ const a = (t) => ({
|
|
|
196
203
|
color: t.vars.palette.text.primary,
|
|
197
204
|
...t.colorSchemes.finalTheme.typography.body
|
|
198
205
|
},
|
|
206
|
+
/* caso small */
|
|
199
207
|
".M4LRHFCheckbox-small .MuiButtonBase-root": {
|
|
200
208
|
width: "20px",
|
|
201
209
|
height: "20px"
|
|
@@ -204,6 +212,7 @@ const a = (t) => ({
|
|
|
204
212
|
width: "16px",
|
|
205
213
|
height: "16px"
|
|
206
214
|
},
|
|
215
|
+
/* caso medium */
|
|
207
216
|
".M4LRHFCheckbox-medium .MuiButtonBase-root": {
|
|
208
217
|
width: "24px",
|
|
209
218
|
height: "24px"
|
|
@@ -225,12 +234,14 @@ const a = (t) => ({
|
|
|
225
234
|
".MuiButtonBase-root:hover .MuiSvgIcon-root": {
|
|
226
235
|
fill: t.vars.palette.state?.hover
|
|
227
236
|
},
|
|
237
|
+
/* caso general */
|
|
228
238
|
".M4LRHFCheckbox-checkTypography .MuiTypography-root": {
|
|
229
239
|
...t.colorSchemes.finalTheme.typography.body
|
|
230
240
|
},
|
|
231
241
|
".M4LRHFCheckbox-stateDisabled .MuiSvgIcon-root": {
|
|
232
242
|
fill: t.vars.palette.state?.default
|
|
233
243
|
},
|
|
244
|
+
/* selector del caso focus por tab */
|
|
234
245
|
".MuiButtonBase-root .Mui-focusVisible:focus-visible": {
|
|
235
246
|
outline: "#FFF00"
|
|
236
247
|
}
|
|
@@ -247,6 +258,7 @@ const a = (t) => ({
|
|
|
247
258
|
width: "100%",
|
|
248
259
|
gap: "2px",
|
|
249
260
|
outline: "unset",
|
|
261
|
+
// Variant
|
|
250
262
|
"&.M4LRHFAutocomplete-multiple": {
|
|
251
263
|
"& .MuiAutocomplete-inputRoot": {
|
|
252
264
|
display: "flex",
|
|
@@ -270,6 +282,7 @@ const a = (t) => ({
|
|
|
270
282
|
}
|
|
271
283
|
}
|
|
272
284
|
},
|
|
285
|
+
/* General properties */
|
|
273
286
|
"& .MuiAutocomplete-root": {
|
|
274
287
|
height: "100%",
|
|
275
288
|
"& .MuiFormControl-root": {
|
|
@@ -279,12 +292,35 @@ const a = (t) => ({
|
|
|
279
292
|
position: "relative",
|
|
280
293
|
height: "100%",
|
|
281
294
|
"& .MuiInputBase-input": {
|
|
295
|
+
/* Selector del elemento html input */
|
|
282
296
|
boxSizing: "border-box",
|
|
283
297
|
color: t.vars.palette.text.secondary,
|
|
284
298
|
backgroundColor: "transparent",
|
|
285
299
|
height: "100%",
|
|
286
300
|
padding: "0 16px 0 8px",
|
|
287
301
|
...t.colorSchemes.finalTheme.typography.body
|
|
302
|
+
/* '& .MuiInputAdornment-root': {
|
|
303
|
+
margin: '0px',
|
|
304
|
+
padding: '0px',
|
|
305
|
+
},
|
|
306
|
+
|
|
307
|
+
'& .M4LIcon-icon': {
|
|
308
|
+
backgroundColor: theme.vars.palette.text.secondary,
|
|
309
|
+
transition: 'all .3s ease',
|
|
310
|
+
},
|
|
311
|
+
|
|
312
|
+
'& .MuiOutlinedInput-notchedOutline': {
|
|
313
|
+
border: '1px solid',
|
|
314
|
+
borderColor: theme.vars.palette.state.borderPrimary,
|
|
315
|
+
borderRadius: '4px',
|
|
316
|
+
inset: '0px',
|
|
317
|
+
transition: 'all .3s ease',
|
|
318
|
+
|
|
319
|
+
'& legend': {
|
|
320
|
+
display: 'none'
|
|
321
|
+
},
|
|
322
|
+
|
|
323
|
+
} */
|
|
288
324
|
},
|
|
289
325
|
"& .M4LRHFAutocomplete-containerRefreshDown": {
|
|
290
326
|
display: "flex",
|
|
@@ -305,6 +341,7 @@ const a = (t) => ({
|
|
|
305
341
|
}
|
|
306
342
|
}
|
|
307
343
|
},
|
|
344
|
+
/* Skeleton general properties*/
|
|
308
345
|
"& .M4LRHFAutocomplete-skeletonRoot": {
|
|
309
346
|
display: "flex",
|
|
310
347
|
flexDirection: "column",
|
|
@@ -340,7 +377,9 @@ const a = (t) => ({
|
|
|
340
377
|
"& .MuiAutocomplete-root .MuiInputBase-root": {
|
|
341
378
|
padding: "0p 8px",
|
|
342
379
|
height: "100%"
|
|
380
|
+
//revisar
|
|
343
381
|
},
|
|
382
|
+
/* State hover */
|
|
344
383
|
"&:hover": {
|
|
345
384
|
"& .M4LRHFAutocomplete-label": {
|
|
346
385
|
color: t.vars.palette.text.secondary
|
|
@@ -359,6 +398,7 @@ const a = (t) => ({
|
|
|
359
398
|
backgroundColor: t.vars.palette.state?.hover
|
|
360
399
|
}
|
|
361
400
|
},
|
|
401
|
+
/* State focus and active */
|
|
362
402
|
"&.M4LRHFAutocomplete-isFocus": {
|
|
363
403
|
"& .M4LRHFAutocomplete-label": {
|
|
364
404
|
color: t.vars.palette.state?.active
|
|
@@ -380,6 +420,7 @@ const a = (t) => ({
|
|
|
380
420
|
backgroundColor: t.vars.palette.state?.active
|
|
381
421
|
}
|
|
382
422
|
},
|
|
423
|
+
/* State error */
|
|
383
424
|
"&.M4LRHFAutocomplete-variantError": {
|
|
384
425
|
"& .M4LRHFAutocomplete-label": {
|
|
385
426
|
color: t.vars.palette.state?.error.normal
|
|
@@ -405,6 +446,7 @@ const a = (t) => ({
|
|
|
405
446
|
}
|
|
406
447
|
}
|
|
407
448
|
},
|
|
449
|
+
/* State disabled */
|
|
408
450
|
"&.M4LRHFAutocomplete-isDisabled": {
|
|
409
451
|
"& .M4LRHFAutocomplete-label": {
|
|
410
452
|
color: t.vars.palette.text.disabled
|
|
@@ -422,9 +464,9 @@ const a = (t) => ({
|
|
|
422
464
|
backgroundColor: t.vars.palette.text.disabled
|
|
423
465
|
}
|
|
424
466
|
},
|
|
467
|
+
/* Sizes */
|
|
425
468
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
426
|
-
|
|
427
|
-
& .MuiAutocomplete-root`]: {
|
|
469
|
+
"& .M4LRHFAutocomplete-skeleton,\n & .MuiAutocomplete-root": {
|
|
428
470
|
"& .M4LImage-root": {
|
|
429
471
|
width: "24px",
|
|
430
472
|
height: "24px",
|
|
@@ -435,8 +477,7 @@ const a = (t) => ({
|
|
|
435
477
|
}
|
|
436
478
|
},
|
|
437
479
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
438
|
-
|
|
439
|
-
& .MuiAutocomplete-root`]: {
|
|
480
|
+
"& .M4LRHFAutocomplete-skeleton,\n & .MuiAutocomplete-root": {
|
|
440
481
|
"& .M4LImage-root": {
|
|
441
482
|
width: "28px",
|
|
442
483
|
height: "28px",
|
|
@@ -446,6 +487,7 @@ const a = (t) => ({
|
|
|
446
487
|
minHeight: "36px"
|
|
447
488
|
}
|
|
448
489
|
},
|
|
490
|
+
// variant image defined
|
|
449
491
|
"&.M4LRHFAutocomplete-imageWidthDefined": {
|
|
450
492
|
"& .M4LImage-root": {
|
|
451
493
|
"& .M4LImage-img": {
|
|
@@ -453,13 +495,17 @@ const a = (t) => ({
|
|
|
453
495
|
}
|
|
454
496
|
}
|
|
455
497
|
}
|
|
498
|
+
// with multiple values in chips
|
|
456
499
|
}
|
|
457
500
|
}
|
|
458
501
|
},
|
|
459
502
|
M4LRHFAutocompletePopover: {
|
|
460
503
|
styleOverrides: {
|
|
504
|
+
// Menu popover que se despliega luego de interactuar con el componente.
|
|
505
|
+
// Despliega la lista de opciones diponibles.
|
|
461
506
|
"&.M4LRHFAutocomplete-popper": {
|
|
462
507
|
zIndex: "1300",
|
|
508
|
+
// Primer contendeor del manu, se utiliza para dar espacio interno y distribuir los items.
|
|
463
509
|
"& .MuiAutocomplete-listbox": {
|
|
464
510
|
padding: "8px",
|
|
465
511
|
display: "flex",
|
|
@@ -478,9 +524,11 @@ const a = (t) => ({
|
|
|
478
524
|
}
|
|
479
525
|
}
|
|
480
526
|
},
|
|
527
|
+
// Estilos generales para withImage
|
|
481
528
|
"& .M4LRHFAutocomplete-withImage": {
|
|
482
529
|
display: "flex",
|
|
483
530
|
gap: "8px",
|
|
531
|
+
// Estados por evento de usuario
|
|
484
532
|
"&:hover": {
|
|
485
533
|
color: t.vars.palette.text.primary,
|
|
486
534
|
backgroundColor: t.vars.palette.state.active12
|
|
@@ -490,11 +538,14 @@ const a = (t) => ({
|
|
|
490
538
|
height: "100%"
|
|
491
539
|
}
|
|
492
540
|
},
|
|
541
|
+
// Estilos del menu para la versión de tamaño small
|
|
493
542
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
543
|
+
// Item sin imagen
|
|
494
544
|
"& .MuiAutocomplete-listbox": {
|
|
495
545
|
"& .MuiAutocomplete-option": {
|
|
496
546
|
minHeight: "24px"
|
|
497
547
|
},
|
|
548
|
+
// Item con imagen
|
|
498
549
|
"& .M4LRHFAutocomplete-withImage": {
|
|
499
550
|
paddingLeft: "4px",
|
|
500
551
|
height: "24px",
|
|
@@ -510,12 +561,15 @@ const a = (t) => ({
|
|
|
510
561
|
}
|
|
511
562
|
}
|
|
512
563
|
},
|
|
564
|
+
// Estilos del menu para la versión de tamaño medium
|
|
513
565
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
566
|
+
// Item sin imagen
|
|
514
567
|
"& .MuiAutocomplete-listbox": {
|
|
515
568
|
"& .MuiAutocomplete-option": {
|
|
516
569
|
height: "36px"
|
|
517
570
|
}
|
|
518
571
|
},
|
|
572
|
+
// Item con imagen
|
|
519
573
|
"& .M4LRHFAutocomplete-withImage": {
|
|
520
574
|
paddingLeft: "4px",
|
|
521
575
|
height: "36px",
|
|
@@ -530,6 +584,7 @@ const a = (t) => ({
|
|
|
530
584
|
}
|
|
531
585
|
}
|
|
532
586
|
},
|
|
587
|
+
// variación de ancho de imagen definido
|
|
533
588
|
"&.M4LRHFAutocomplete-imageWidthDefined": {
|
|
534
589
|
"& .M4LImage-img": {
|
|
535
590
|
minWidth: "24px",
|
|
@@ -550,6 +605,7 @@ const a = (t) => ({
|
|
|
550
605
|
styleOverrides: {
|
|
551
606
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
552
607
|
height: "18px",
|
|
608
|
+
// important debido a que MUI agrega media queries directamente al elemento.
|
|
553
609
|
minHeight: "18px !important",
|
|
554
610
|
"& .MuiChip-deleteIcon": {
|
|
555
611
|
fontSize: "16px"
|
|
@@ -560,6 +616,7 @@ const a = (t) => ({
|
|
|
560
616
|
},
|
|
561
617
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
562
618
|
height: "24px",
|
|
619
|
+
// important debido a que MUI agrega media queries directamente al elemento.
|
|
563
620
|
minHeight: "24px !important",
|
|
564
621
|
"& .MuiChip-deleteIcon": {
|
|
565
622
|
fontSize: "20px"
|
|
@@ -625,6 +682,7 @@ const a = (t) => ({
|
|
|
625
682
|
height: "36px"
|
|
626
683
|
}
|
|
627
684
|
},
|
|
685
|
+
/* General properties */
|
|
628
686
|
"& .MuiFormControl-root": {
|
|
629
687
|
"& .MuiInputBase-root": {
|
|
630
688
|
padding: "0 4px 0 0",
|
|
@@ -679,6 +737,7 @@ const a = (t) => ({
|
|
|
679
737
|
}
|
|
680
738
|
}
|
|
681
739
|
},
|
|
740
|
+
/* State hover */
|
|
682
741
|
"&:hover": {
|
|
683
742
|
"& .M4LTypography-root": {
|
|
684
743
|
color: t.vars.palette.state?.hover
|
|
@@ -693,6 +752,7 @@ const a = (t) => ({
|
|
|
693
752
|
backgroundColor: t.vars.palette.state?.hover
|
|
694
753
|
}
|
|
695
754
|
},
|
|
755
|
+
/* State focus and active */
|
|
696
756
|
"&.M4LRHFDateTime-isFocus": {
|
|
697
757
|
"& .M4LTypography-root": {
|
|
698
758
|
color: t.vars.palette.state.active
|
|
@@ -709,6 +769,7 @@ const a = (t) => ({
|
|
|
709
769
|
backgroundColor: t.vars.palette.state?.active
|
|
710
770
|
}
|
|
711
771
|
},
|
|
772
|
+
/* State error */
|
|
712
773
|
"&.M4LRHFTextField-variantError": {
|
|
713
774
|
"& .M4LRHFTextField-label": {
|
|
714
775
|
color: t.vars.palette.state?.error.normal
|
|
@@ -734,6 +795,7 @@ const a = (t) => ({
|
|
|
734
795
|
}
|
|
735
796
|
}
|
|
736
797
|
},
|
|
798
|
+
/* State disabled */
|
|
737
799
|
"&.M4LRHFTextField-isDisabled": {
|
|
738
800
|
"& .M4LRHFTextField-label": {
|
|
739
801
|
color: t.vars.palette.text.disabled
|
|
@@ -830,6 +892,7 @@ const a = (t) => ({
|
|
|
830
892
|
gap: "0",
|
|
831
893
|
position: "relative",
|
|
832
894
|
overflow: "hidden",
|
|
895
|
+
// Icono de carga
|
|
833
896
|
"& .M4LRHFUploadImage-containerBodyImage": {
|
|
834
897
|
display: "flex",
|
|
835
898
|
justifyContent: "center",
|
|
@@ -879,6 +942,7 @@ const a = (t) => ({
|
|
|
879
942
|
}
|
|
880
943
|
}
|
|
881
944
|
},
|
|
945
|
+
// Skeleton
|
|
882
946
|
"& .M4LRHFUploadImage-skeleton": {
|
|
883
947
|
maskPosition: "center!important",
|
|
884
948
|
maskRepeat: "no-repeat!important",
|
|
@@ -890,6 +954,7 @@ const a = (t) => ({
|
|
|
890
954
|
WebkitMask: "url('data:image/svg+xml;base64, PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDcwIDcwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA3MCA3MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiM2MzczODE7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00NSw4LjdjMS40LTEuNSwzLjQtMi4zLDUuNC0yLjNzMy45LDAuOCw1LjQsMi4zczIuNCwzLjUsMi41LDUuN2MwLDIuMi0wLjksNC4yLTIuNCw1LjdzLTMuNSwyLjMtNS41LDIuMgoJCWMtMi4xLDAuMS00LTAuNy01LjUtMi4yYy0xLjQtMS41LTIuMy0zLjUtMi40LTUuN0M0Mi42LDEyLjIsNDMuNSwxMC4yLDQ1LDguN3oiLz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik02OC40LDYyLjFjLTAuMywwLjUtMC43LDAuOC0xLjIsMS4xcy0xLDAuNC0xLjYsMC40SDQuM2MtMC42LDAtMS4xLTAuMS0xLjYtMC40cy0wLjktMC42LTEuMi0xLjEKCQljLTAuMi0wLjUtMC40LTEtMC40LTEuNXMwLjEtMS4xLDAuNC0xLjVsMjMtMzYuNGMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNHMwLjksMC42LDEuMiwxLjEKCQlsMTEuNSwxOC4yYzAuMiwwLjMsMC41LDAuNSwwLjgsMC43czAuNiwwLjMsMSwwLjNjMC4zLDAsMC43LTAuMSwxLTAuM3MwLjYtMC40LDAuOC0wLjdsMy4xLTQuOWMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMQoJCXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNGMwLjUsMC4zLDAuOSwwLjYsMS4yLDEuMWwxNC42LDIzLjFjMC4zLDAuNSwwLjMsMSwwLjMsMS41UzY4LjcsNjEuNyw2OC40LDYyLjF6Ii8+CjwvZz4KPC9zdmc+Cg==')"
|
|
891
955
|
}
|
|
892
956
|
},
|
|
957
|
+
// Imagen cargada
|
|
893
958
|
"&.M4LRHFUploadImage-hasFile": {
|
|
894
959
|
"& .M4LRHFUploadImage-placeHolder": {
|
|
895
960
|
opacity: "0",
|
|
@@ -909,6 +974,7 @@ const a = (t) => ({
|
|
|
909
974
|
"&:hover": {
|
|
910
975
|
opacity: 1
|
|
911
976
|
},
|
|
977
|
+
// Comportamiento Hover imagen cargada
|
|
912
978
|
"& .M4LRHFUploadImage-containerUploadBoddy": {
|
|
913
979
|
"& .M4LRHFUploadImage-containerBodyImage": {
|
|
914
980
|
opacity: "0"
|
|
@@ -983,6 +1049,12 @@ const a = (t) => ({
|
|
|
983
1049
|
"& .M4LRHFColorPicker-boxColor": {
|
|
984
1050
|
cursor: "pointer"
|
|
985
1051
|
},
|
|
1052
|
+
/* '& .M4LIcon-root': {
|
|
1053
|
+
minHeight: '18px',
|
|
1054
|
+
minWidth: '18px',
|
|
1055
|
+
cursor: 'pointer',
|
|
1056
|
+
borderRadius: '4px',
|
|
1057
|
+
}, */
|
|
986
1058
|
"& .M4LIcon-root:hover": {
|
|
987
1059
|
background: t.vars.palette.state.hoverDefault
|
|
988
1060
|
}
|
|
@@ -43,6 +43,7 @@ function l(r) {
|
|
|
43
43
|
sizeLarge: {
|
|
44
44
|
height: 48
|
|
45
45
|
},
|
|
46
|
+
// contained
|
|
46
47
|
containedInherit: {
|
|
47
48
|
color: r.vars.palette.grey[800],
|
|
48
49
|
boxShadow: r.customShadows?.z1,
|
|
@@ -54,6 +55,7 @@ function l(r) {
|
|
|
54
55
|
},
|
|
55
56
|
containedPrimary: {
|
|
56
57
|
boxShadow: r.customShadows?.z4
|
|
58
|
+
// color: theme.vars.palette.primary.contrastText,
|
|
57
59
|
},
|
|
58
60
|
containedSecondary: {
|
|
59
61
|
boxShadow: r.customShadows?.secondary
|
|
@@ -70,6 +72,7 @@ function l(r) {
|
|
|
70
72
|
containedError: {
|
|
71
73
|
boxShadow: r.customShadows?.error
|
|
72
74
|
},
|
|
75
|
+
// outlined
|
|
73
76
|
outlinedInherit: {
|
|
74
77
|
borderRadius: "4px",
|
|
75
78
|
border: `1px solid ${r.vars.palette.state.borderDefault}`,
|
|
@@ -92,6 +95,9 @@ function l(r) {
|
|
|
92
95
|
function u(r) {
|
|
93
96
|
return {
|
|
94
97
|
MuiIconButton: {
|
|
98
|
+
// defaultProps: {
|
|
99
|
+
// color: theme.vars.palette.text.primary,
|
|
100
|
+
// },
|
|
95
101
|
styleOverrides: {
|
|
96
102
|
root: {
|
|
97
103
|
"&.MuiIconButton-sizeSmall": {
|
|
@@ -109,6 +115,9 @@ function u(r) {
|
|
|
109
115
|
}
|
|
110
116
|
}
|
|
111
117
|
}
|
|
118
|
+
// colorDefault: {
|
|
119
|
+
// color: theme.vars.palette.text.primary,
|
|
120
|
+
// }
|
|
112
121
|
}
|
|
113
122
|
}
|
|
114
123
|
};
|
|
@@ -157,6 +166,7 @@ function c(r) {
|
|
|
157
166
|
boxShadow: r.customShadows?.card,
|
|
158
167
|
borderRadius: Number(r.shape.borderRadius) * 2,
|
|
159
168
|
zIndex: 0
|
|
169
|
+
// Fix Safari overflow: hidden with border radius
|
|
160
170
|
}
|
|
161
171
|
}
|
|
162
172
|
},
|
|
@@ -341,6 +351,7 @@ function f(r) {
|
|
|
341
351
|
width: "16px",
|
|
342
352
|
height: "16px",
|
|
343
353
|
borderRadius: "50%"
|
|
354
|
+
//background: "red",
|
|
344
355
|
}
|
|
345
356
|
}
|
|
346
357
|
}
|
|
@@ -363,6 +374,7 @@ function M(r) {
|
|
|
363
374
|
backgroundImage: "none",
|
|
364
375
|
backgroundColor: r.vars.palette.background.default,
|
|
365
376
|
borderRadius: "2px",
|
|
377
|
+
/* Stack */
|
|
366
378
|
"& .MuiStack-root .MuiMenuItem-root": {
|
|
367
379
|
color: r.vars.palette.text.primary,
|
|
368
380
|
transition: "all .5s",
|
|
@@ -385,6 +397,7 @@ function M(r) {
|
|
|
385
397
|
backgroundColor: r.vars.palette.background.default,
|
|
386
398
|
boxShadow: `0 0 0 1px ${r.vars.palette.state?.focus}`
|
|
387
399
|
},
|
|
400
|
+
/* Autocomplete Listbox */
|
|
388
401
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option": {
|
|
389
402
|
color: r.vars.palette.text.primary,
|
|
390
403
|
transition: "all .5s",
|
|
@@ -447,6 +460,7 @@ function h(r) {
|
|
|
447
460
|
}
|
|
448
461
|
}
|
|
449
462
|
},
|
|
463
|
+
/* Style input outline */
|
|
450
464
|
MuiInput: {
|
|
451
465
|
styleOverrides: {
|
|
452
466
|
underline: {
|
|
@@ -477,6 +491,7 @@ function h(r) {
|
|
|
477
491
|
}
|
|
478
492
|
}
|
|
479
493
|
},
|
|
494
|
+
/* Estilos variante outlined */
|
|
480
495
|
MuiOutlinedInput: {
|
|
481
496
|
styleOverrides: {
|
|
482
497
|
root: {
|
|
@@ -551,6 +566,11 @@ function S(r) {
|
|
|
551
566
|
display: "flex",
|
|
552
567
|
flexDirection: "row"
|
|
553
568
|
}
|
|
569
|
+
/* "& .MuiPaper-root": {
|
|
570
|
+
borderRadius: "4px",
|
|
571
|
+
backgroundColor: theme.vars.palette.state.active12,
|
|
572
|
+
padding: "8px",
|
|
573
|
+
}, */
|
|
554
574
|
}
|
|
555
575
|
},
|
|
556
576
|
modal: {
|
|
@@ -855,10 +875,18 @@ function P(r) {
|
|
|
855
875
|
function z(r) {
|
|
856
876
|
return {
|
|
857
877
|
MuiCheckbox: {
|
|
878
|
+
// defaultProps: {
|
|
879
|
+
// icon: <CheckboxIcon />,
|
|
880
|
+
// checkedIcon: <CheckboxCheckedIcon />,
|
|
881
|
+
// indeterminateIcon: <CheckboxIndeterminateIcon />,
|
|
882
|
+
// },
|
|
858
883
|
styleOverrides: {
|
|
859
884
|
root: {
|
|
860
885
|
padding: r.spacing(1),
|
|
861
886
|
oleee: "sss",
|
|
887
|
+
// '& .MuiCheckbox-root': {
|
|
888
|
+
// color: theme.vars.palette.divider,
|
|
889
|
+
// },
|
|
862
890
|
color: r.vars.palette.action.active,
|
|
863
891
|
"& .Mui-checked": {
|
|
864
892
|
color: r.vars.palette.primary.main
|
|
@@ -866,6 +894,23 @@ function z(r) {
|
|
|
866
894
|
"&.Mui-checked.Mui-disabled, &.Mui-disabled": {
|
|
867
895
|
color: r.vars.palette.action.disabled
|
|
868
896
|
}
|
|
897
|
+
// '& .MuiSvgIcon-root': {
|
|
898
|
+
// color: theme.vars.palette.text.secondary,
|
|
899
|
+
// },
|
|
900
|
+
// '& .MuiSvgIcon-fontSizeMedium': {
|
|
901
|
+
// width: 24,
|
|
902
|
+
// height: 24,
|
|
903
|
+
// },
|
|
904
|
+
// '& .MuiSvgIcon-fontSizeSmall': {
|
|
905
|
+
// width: 18,
|
|
906
|
+
// height: 18,
|
|
907
|
+
// },
|
|
908
|
+
// svg: {
|
|
909
|
+
// fontSize: 24,
|
|
910
|
+
// '&[font-size=small]': {
|
|
911
|
+
// fontSize: 18,
|
|
912
|
+
// },
|
|
913
|
+
// },
|
|
869
914
|
}
|
|
870
915
|
}
|
|
871
916
|
}
|
|
@@ -938,6 +983,8 @@ function A(r) {
|
|
|
938
983
|
content: {
|
|
939
984
|
...r.colorSchemes.finalTheme.typography.subtitle2,
|
|
940
985
|
margin: "0px",
|
|
986
|
+
// '& .MuiTypography-root': {
|
|
987
|
+
// },
|
|
941
988
|
"&.Mui-expanded": {
|
|
942
989
|
margin: "0px"
|
|
943
990
|
}
|
|
@@ -951,6 +998,7 @@ function $(r) {
|
|
|
951
998
|
MuiTypography: {
|
|
952
999
|
defaultProps: {
|
|
953
1000
|
variantMapping: {
|
|
1001
|
+
// Map the new variant to render a <h1> by default
|
|
954
1002
|
subtitleDens: "span"
|
|
955
1003
|
}
|
|
956
1004
|
},
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { F as s, C as o, M as r, L, I as M, a as n, R as i, B as p, b as l, T as c, P as d, S as u, c as g, d as B, A as F, e as P, D as A, f as T, g as b, h as C, i as S, j as y, k as I, l as R, m as v, n as H, o as k, p as D, q as f, r as x, s as w, t as G, u as V, v as j, w as E, x as N, y as O, z as q } from "./MUIComponents/index.
|
|
2
|
-
import { M as z, a as U, b as J, c as K, d as Q, e as W, f as X, g as Y, h as Z } from "./M4LRHFComponents/index.
|
|
3
|
-
import { M as _, a as $, b as t, c as m, d as e, e as h, f as aa, g as sa, h as oa, i as ra, j as La, k as Ma, l as na, m as ia, n as pa, o as la, p as ca, q as da, r as ua, s as ga, t as Ba, u as Fa, v as Pa, w as Aa, x as Ta, y as ba, z as Ca, A as Sa, B as ya, C as Ia, D as Ra, E as va, F as Ha, G as ka, H as Da, I as fa, J as xa, K as wa, L as Ga, N as Va, O as ja, P as Ea, Q as Na, R as Oa, S as qa, T as za, U as Ua, V as Ja, W as Ka, X as Qa, Y as Wa, Z as Xa, _ as Ya } from "./M4LExtendedComponents/index.
|
|
1
|
+
import { F as s, C as o, M as r, L, I as M, a as n, R as i, B as p, b as l, T as c, P as d, S as u, c as g, d as B, A as F, e as P, D as A, f as T, g as b, h as C, i as S, j as y, k as I, l as R, m as v, n as H, o as k, p as D, q as f, r as x, s as w, t as G, u as V, v as j, w as E, x as N, y as O, z as q } from "./MUIComponents/index-oLVtA5nq.js";
|
|
2
|
+
import { M as z, a as U, b as J, c as K, d as Q, e as W, f as X, g as Y, h as Z } from "./M4LRHFComponents/index-D-E6fugB.js";
|
|
3
|
+
import { M as _, a as $, b as t, c as m, d as e, e as h, f as aa, g as sa, h as oa, i as ra, j as La, k as Ma, l as na, m as ia, n as pa, o as la, p as ca, q as da, r as ua, s as ga, t as Ba, u as Fa, v as Pa, w as Aa, x as Ta, y as ba, z as Ca, A as Sa, B as ya, C as Ia, D as Ra, E as va, F as Ha, G as ka, H as Da, I as fa, J as xa, K as wa, L as Ga, N as Va, O as ja, P as Ea, Q as Na, R as Oa, S as qa, T as za, U as Ua, V as Ja, W as Ka, X as Qa, Y as Wa, Z as Xa, _ as Ya } from "./M4LExtendedComponents/index-CyXBfJc_.js";
|
|
4
4
|
function ta(a) {
|
|
5
5
|
return Object.assign(
|
|
6
6
|
s(a),
|
|
7
|
+
// Chip(theme),
|
|
7
8
|
o(a),
|
|
8
9
|
r(a),
|
|
9
10
|
L(a),
|
|
@@ -14,9 +15,12 @@ function ta(a) {
|
|
|
14
15
|
l(a),
|
|
15
16
|
c(a),
|
|
16
17
|
d(a),
|
|
18
|
+
// Alert(theme),
|
|
17
19
|
u(a),
|
|
20
|
+
// Select(theme),
|
|
18
21
|
g(a),
|
|
19
22
|
B(a),
|
|
23
|
+
// Rating(theme),
|
|
20
24
|
F(a),
|
|
21
25
|
P(a),
|
|
22
26
|
A(a),
|
|
@@ -28,6 +32,7 @@ function ta(a) {
|
|
|
28
32
|
I(a),
|
|
29
33
|
R(a),
|
|
30
34
|
v(a),
|
|
35
|
+
// TreeView(theme),
|
|
31
36
|
H(a),
|
|
32
37
|
k(a),
|
|
33
38
|
D(a),
|
|
@@ -41,6 +46,7 @@ function ta(a) {
|
|
|
41
46
|
N(a),
|
|
42
47
|
O(a),
|
|
43
48
|
_(a),
|
|
49
|
+
/* Owner components */
|
|
44
50
|
q(),
|
|
45
51
|
z(a),
|
|
46
52
|
U(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { alpha as r } from "@mui/material/styles";
|
|
2
|
-
import { p as a, P as e } from "./palette.
|
|
2
|
+
import { p as a, P as e } from "./palette-CR1CkF2l.js";
|
|
3
3
|
const s = a.light.grey[500], o = "#000000", n = (t) => {
|
|
4
4
|
const p = r(t, 0.2), x = r(t, 0.14), $ = r(t, 0.12);
|
|
5
5
|
return [
|
|
@@ -36,6 +36,7 @@ const s = a.light.grey[500], o = "#000000", n = (t) => {
|
|
|
36
36
|
success: `0px 2px 8px 0px ${r(e.acidGreen[50], 0.2)}`,
|
|
37
37
|
warning: `0px 2px 8px 0px ${r(e.middleYellow[50], 0.2)}`,
|
|
38
38
|
error: `0px 2px 8px 0px ${r(e.flameRed[50], 0.2)}`,
|
|
39
|
+
//
|
|
39
40
|
card: `0 0 2px 0 ${r(a.light.grey[500], 0.2)}, 0 12px 24px -4px ${r(
|
|
40
41
|
a.light.grey[500],
|
|
41
42
|
0.12
|
|
@@ -51,12 +52,14 @@ const s = a.light.grey[500], o = "#000000", n = (t) => {
|
|
|
51
52
|
z2: "0px 0px 4px 2px rgba(73, 88, 89, 0.14)",
|
|
52
53
|
z3: "0px 0px 8px 2px rgba(36, 59, 70, 0.14)",
|
|
53
54
|
z4: "0px 0px 18px 6px rgba(36, 59, 70, 0.12)",
|
|
55
|
+
//
|
|
54
56
|
...p
|
|
55
57
|
} : {
|
|
56
58
|
z1: "0px 0px 2px 2px rgba(0, 0, 0, 0.16)",
|
|
57
59
|
z2: "0px 0px 4px 2px rgba(17, 20, 20, 0.5)",
|
|
58
60
|
z3: "0px 0px 8px 2px rgba(9, 9, 10, 0.60)",
|
|
59
61
|
z4: "0px 0px 18px 6px rgba(9, 10, 10, 0.65)",
|
|
62
|
+
//
|
|
60
63
|
...p
|
|
61
64
|
};
|
|
62
65
|
}, l = {
|