@m4l/styles 3.2.2 → 3.2.3
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 +33 -41
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.b39953a8.js → defaultThemeOptions-BlJvKCE6.js} +4 -4
- package/theme/overrides/M4LExtendedComponents/{index.dbc24a3d.js → index-C4PXddLa.js} +342 -22
- package/theme/overrides/M4LRHFComponents/{index.7d702163.js → index-BRZVeOM5.js} +76 -4
- package/theme/overrides/MUIComponents/{index.2b5bc914.js → index-XoLdmZP6.js} +48 -0
- package/theme/overrides/{index.cc540e59.js → index-B9xZa27y.js} +9 -3
- package/theme/{palette.fc293d0e.js → palette-DM0gXxA2.js} +9 -0
- package/theme/{shadows.67c0a60a.js → shadows-GTYqExFA.js} +2 -1
- package/theme/{typography.616cfe0c.js → typography-BsOO459U.js} +11 -1
- package/utils/{getColorPresets.38329841.js → getColorPresets-CXZaM9oS.js} +1 -1
- package/utils/{getFontValue.88831637.js → getFontValue-BEO-XID9.js} +8 -5
- /package/{config.3bb6415c.js → config-B8bZIPuH.js} +0 -0
- /package/theme/{index.34d0fdea.js → index-l0sNRNKZ.js} +0 -0
- /package/utils/{getColorState.b8092fb6.js → getColorState-D1JKXD4T.js} +0 -0
- /package/utils/{useResponsive.2c45e8e0.js → useResponsive-DaeQVwlH.js} +0 -0
|
@@ -12,11 +12,13 @@ const a = (o) => ({
|
|
|
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 = (o) => ({
|
|
|
69
71
|
}
|
|
70
72
|
}
|
|
71
73
|
},
|
|
74
|
+
/* State hover */
|
|
72
75
|
"&:hover": {
|
|
73
76
|
"& .M4LRHFTextField-label": {
|
|
74
77
|
color: o.vars.palette.primary?.hover
|
|
@@ -88,6 +91,7 @@ const a = (o) => ({
|
|
|
88
91
|
backgroundColor: o.vars.palette.primary?.hover
|
|
89
92
|
}
|
|
90
93
|
},
|
|
94
|
+
/* State focus and active */
|
|
91
95
|
"&.M4LRHFTextField-isFocus": {
|
|
92
96
|
"& .M4LRHFTextField-label": {
|
|
93
97
|
color: o.vars.palette.primary?.active
|
|
@@ -109,6 +113,7 @@ const a = (o) => ({
|
|
|
109
113
|
backgroundColor: o.vars.palette.primary?.active
|
|
110
114
|
}
|
|
111
115
|
},
|
|
116
|
+
/* State error */
|
|
112
117
|
"&.M4LRHFTextField-variantError": {
|
|
113
118
|
"& .M4LRHFTextField-label": {
|
|
114
119
|
color: o.vars.palette.error.main
|
|
@@ -135,6 +140,7 @@ const a = (o) => ({
|
|
|
135
140
|
}
|
|
136
141
|
}
|
|
137
142
|
},
|
|
143
|
+
/* State disabled */
|
|
138
144
|
"&.M4LRHFTextField-isDisabled": {
|
|
139
145
|
"& .M4LRHFTextField-label": {
|
|
140
146
|
color: o.vars.palette.text.disabled
|
|
@@ -152,6 +158,7 @@ const a = (o) => ({
|
|
|
152
158
|
backgroundColor: o.vars.palette.text.disabled
|
|
153
159
|
}
|
|
154
160
|
},
|
|
161
|
+
/* Sizes */
|
|
155
162
|
"&.M4LRHFTextField-sizeSmall": {
|
|
156
163
|
"& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFTextField-skeleton": {
|
|
157
164
|
height: "24px",
|
|
@@ -202,6 +209,7 @@ const a = (o) => ({
|
|
|
202
209
|
color: o.vars.palette.text.primary,
|
|
203
210
|
...o.colorSchemes.finalTheme.typography.body
|
|
204
211
|
},
|
|
212
|
+
/* caso small */
|
|
205
213
|
".M4LRHFCheckbox-small .MuiButtonBase-root": {
|
|
206
214
|
width: "20px",
|
|
207
215
|
height: "20px"
|
|
@@ -210,6 +218,7 @@ const a = (o) => ({
|
|
|
210
218
|
width: "16px",
|
|
211
219
|
height: "16px"
|
|
212
220
|
},
|
|
221
|
+
/* caso medium */
|
|
213
222
|
".M4LRHFCheckbox-medium .MuiButtonBase-root": {
|
|
214
223
|
width: "24px",
|
|
215
224
|
height: "24px"
|
|
@@ -231,12 +240,14 @@ const a = (o) => ({
|
|
|
231
240
|
".MuiButtonBase-root:hover .MuiSvgIcon-root": {
|
|
232
241
|
fill: o.vars.palette.primary?.hover
|
|
233
242
|
},
|
|
243
|
+
/* caso general */
|
|
234
244
|
".M4LRHFCheckbox-checkTypography .MuiTypography-root": {
|
|
235
245
|
...o.colorSchemes.finalTheme.typography.body
|
|
236
246
|
},
|
|
237
247
|
".M4LRHFCheckbox-stateDisabled .MuiSvgIcon-root": {
|
|
238
248
|
fill: o.vars.palette.background?.default
|
|
239
249
|
},
|
|
250
|
+
/* selector del caso focus por tab */
|
|
240
251
|
".MuiButtonBase-root .Mui-focusVisible:focus-visible": {
|
|
241
252
|
outline: "#FFF00"
|
|
242
253
|
}
|
|
@@ -253,6 +264,7 @@ const a = (o) => ({
|
|
|
253
264
|
width: "100%",
|
|
254
265
|
gap: "2px",
|
|
255
266
|
outline: "unset",
|
|
267
|
+
// Variant
|
|
256
268
|
"&.M4LRHFAutocomplete-multiple": {
|
|
257
269
|
"& .MuiAutocomplete-inputRoot": {
|
|
258
270
|
display: "flex",
|
|
@@ -276,6 +288,7 @@ const a = (o) => ({
|
|
|
276
288
|
}
|
|
277
289
|
}
|
|
278
290
|
},
|
|
291
|
+
/* General properties */
|
|
279
292
|
"& .MuiAutocomplete-root": {
|
|
280
293
|
height: "100%",
|
|
281
294
|
"& .MuiFormControl-root": {
|
|
@@ -285,12 +298,35 @@ const a = (o) => ({
|
|
|
285
298
|
position: "relative",
|
|
286
299
|
height: "100%",
|
|
287
300
|
"& .MuiInputBase-input": {
|
|
301
|
+
/* Selector del elemento html input */
|
|
288
302
|
boxSizing: "border-box",
|
|
289
303
|
color: o.vars.palette.text.secondary,
|
|
290
304
|
backgroundColor: "transparent",
|
|
291
305
|
height: "100%",
|
|
292
306
|
padding: "0 16px 0 8px",
|
|
293
307
|
...o.colorSchemes.finalTheme.typography.body
|
|
308
|
+
/* '& .MuiInputAdornment-root': {
|
|
309
|
+
margin: '0px',
|
|
310
|
+
padding: '0px',
|
|
311
|
+
},
|
|
312
|
+
|
|
313
|
+
'& .M4LIcon-icon': {
|
|
314
|
+
backgroundColor: theme.vars.palette.text.secondary,
|
|
315
|
+
transition: 'all .3s ease',
|
|
316
|
+
},
|
|
317
|
+
|
|
318
|
+
'& .MuiOutlinedInput-notchedOutline': {
|
|
319
|
+
border: '1px solid',
|
|
320
|
+
borderColor: theme.vars.palette.border.primary,
|
|
321
|
+
borderRadius: '4px',
|
|
322
|
+
inset: '0px',
|
|
323
|
+
transition: 'all .3s ease',
|
|
324
|
+
|
|
325
|
+
'& legend': {
|
|
326
|
+
display: 'none'
|
|
327
|
+
},
|
|
328
|
+
|
|
329
|
+
} */
|
|
294
330
|
},
|
|
295
331
|
"& .M4LRHFAutocomplete-containerRefreshDown": {
|
|
296
332
|
display: "flex",
|
|
@@ -311,6 +347,7 @@ const a = (o) => ({
|
|
|
311
347
|
}
|
|
312
348
|
}
|
|
313
349
|
},
|
|
350
|
+
/* Skeleton general properties*/
|
|
314
351
|
"& .M4LRHFAutocomplete-skeletonRoot": {
|
|
315
352
|
display: "flex",
|
|
316
353
|
flexDirection: "column",
|
|
@@ -346,7 +383,9 @@ const a = (o) => ({
|
|
|
346
383
|
"& .MuiAutocomplete-root .MuiInputBase-root": {
|
|
347
384
|
padding: "0p 8px",
|
|
348
385
|
height: "100%"
|
|
386
|
+
//revisar
|
|
349
387
|
},
|
|
388
|
+
/* State hover */
|
|
350
389
|
"&:hover": {
|
|
351
390
|
"& .M4LRHFAutocomplete-label": {
|
|
352
391
|
color: o.vars.palette.text.secondary
|
|
@@ -365,6 +404,7 @@ const a = (o) => ({
|
|
|
365
404
|
backgroundColor: o.vars.palette.primary?.hover
|
|
366
405
|
}
|
|
367
406
|
},
|
|
407
|
+
/* State focus and active */
|
|
368
408
|
"&.M4LRHFAutocomplete-isFocus": {
|
|
369
409
|
"& .M4LRHFAutocomplete-label": {
|
|
370
410
|
color: o.vars.palette.primary?.active
|
|
@@ -386,6 +426,7 @@ const a = (o) => ({
|
|
|
386
426
|
backgroundColor: o.vars.palette.primary?.active
|
|
387
427
|
}
|
|
388
428
|
},
|
|
429
|
+
/* State error */
|
|
389
430
|
"&.M4LRHFAutocomplete-variantError": {
|
|
390
431
|
"& .M4LRHFAutocomplete-label": {
|
|
391
432
|
color: o.vars.palette.error.main
|
|
@@ -411,6 +452,7 @@ const a = (o) => ({
|
|
|
411
452
|
}
|
|
412
453
|
}
|
|
413
454
|
},
|
|
455
|
+
/* State disabled */
|
|
414
456
|
"&.M4LRHFAutocomplete-isDisabled": {
|
|
415
457
|
"& .M4LRHFAutocomplete-label": {
|
|
416
458
|
color: o.vars.palette.text.disabled
|
|
@@ -428,9 +470,9 @@ const a = (o) => ({
|
|
|
428
470
|
backgroundColor: o.vars.palette.text.disabled
|
|
429
471
|
}
|
|
430
472
|
},
|
|
473
|
+
/* Sizes */
|
|
431
474
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
432
|
-
|
|
433
|
-
& .MuiAutocomplete-root`]: {
|
|
475
|
+
"& .M4LRHFAutocomplete-skeleton,\n & .MuiAutocomplete-root": {
|
|
434
476
|
"& .M4LImage-root": {
|
|
435
477
|
width: "24px",
|
|
436
478
|
height: "24px",
|
|
@@ -441,8 +483,7 @@ const a = (o) => ({
|
|
|
441
483
|
}
|
|
442
484
|
},
|
|
443
485
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
444
|
-
|
|
445
|
-
& .MuiAutocomplete-root`]: {
|
|
486
|
+
"& .M4LRHFAutocomplete-skeleton,\n & .MuiAutocomplete-root": {
|
|
446
487
|
"& .M4LImage-root": {
|
|
447
488
|
width: "28px",
|
|
448
489
|
height: "28px",
|
|
@@ -452,6 +493,7 @@ const a = (o) => ({
|
|
|
452
493
|
minHeight: "36px"
|
|
453
494
|
}
|
|
454
495
|
},
|
|
496
|
+
// variant image defined
|
|
455
497
|
"&.M4LRHFAutocomplete-imageWidthDefined": {
|
|
456
498
|
"& .M4LImage-root": {
|
|
457
499
|
"& .M4LImage-img": {
|
|
@@ -459,13 +501,17 @@ const a = (o) => ({
|
|
|
459
501
|
}
|
|
460
502
|
}
|
|
461
503
|
}
|
|
504
|
+
// with multiple values in chips
|
|
462
505
|
}
|
|
463
506
|
}
|
|
464
507
|
},
|
|
465
508
|
M4LRHFAutocompletePopover: {
|
|
466
509
|
styleOverrides: {
|
|
510
|
+
// Menu popover que se despliega luego de interactuar con el componente.
|
|
511
|
+
// Despliega la lista de opciones diponibles.
|
|
467
512
|
"&.M4LRHFAutocomplete-popper": {
|
|
468
513
|
zIndex: "1300",
|
|
514
|
+
// Primer contendeor del manu, se utiliza para dar espacio interno y distribuir los items.
|
|
469
515
|
"& .MuiAutocomplete-listbox": {
|
|
470
516
|
padding: "8px",
|
|
471
517
|
display: "flex",
|
|
@@ -484,9 +530,11 @@ const a = (o) => ({
|
|
|
484
530
|
}
|
|
485
531
|
}
|
|
486
532
|
},
|
|
533
|
+
// Estilos generales para withImage
|
|
487
534
|
"& .M4LRHFAutocomplete-withImage": {
|
|
488
535
|
display: "flex",
|
|
489
536
|
gap: "8px",
|
|
537
|
+
// Estados por evento de usuario
|
|
490
538
|
"&:hover": {
|
|
491
539
|
color: o.vars.palette.text.primary,
|
|
492
540
|
backgroundColor: o.vars.palette.primary.activeOpacity
|
|
@@ -496,11 +544,14 @@ const a = (o) => ({
|
|
|
496
544
|
height: "100%"
|
|
497
545
|
}
|
|
498
546
|
},
|
|
547
|
+
// Estilos del menu para la versión de tamaño small
|
|
499
548
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
549
|
+
// Item sin imagen
|
|
500
550
|
"& .MuiAutocomplete-listbox": {
|
|
501
551
|
"& .MuiAutocomplete-option": {
|
|
502
552
|
minHeight: "24px"
|
|
503
553
|
},
|
|
554
|
+
// Item con imagen
|
|
504
555
|
"& .M4LRHFAutocomplete-withImage": {
|
|
505
556
|
paddingLeft: "4px",
|
|
506
557
|
height: "24px",
|
|
@@ -516,12 +567,15 @@ const a = (o) => ({
|
|
|
516
567
|
}
|
|
517
568
|
}
|
|
518
569
|
},
|
|
570
|
+
// Estilos del menu para la versión de tamaño medium
|
|
519
571
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
572
|
+
// Item sin imagen
|
|
520
573
|
"& .MuiAutocomplete-listbox": {
|
|
521
574
|
"& .MuiAutocomplete-option": {
|
|
522
575
|
height: "36px"
|
|
523
576
|
}
|
|
524
577
|
},
|
|
578
|
+
// Item con imagen
|
|
525
579
|
"& .M4LRHFAutocomplete-withImage": {
|
|
526
580
|
paddingLeft: "4px",
|
|
527
581
|
height: "36px",
|
|
@@ -536,6 +590,7 @@ const a = (o) => ({
|
|
|
536
590
|
}
|
|
537
591
|
}
|
|
538
592
|
},
|
|
593
|
+
// variación de ancho de imagen definido
|
|
539
594
|
"&.M4LRHFAutocomplete-imageWidthDefined": {
|
|
540
595
|
"& .M4LImage-img": {
|
|
541
596
|
minWidth: "24px",
|
|
@@ -556,6 +611,7 @@ const a = (o) => ({
|
|
|
556
611
|
styleOverrides: {
|
|
557
612
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
558
613
|
height: "18px",
|
|
614
|
+
// important debido a que MUI agrega media queries directamente al elemento.
|
|
559
615
|
minHeight: "18px !important",
|
|
560
616
|
"& .MuiChip-deleteIcon": {
|
|
561
617
|
fontSize: "16px"
|
|
@@ -566,6 +622,7 @@ const a = (o) => ({
|
|
|
566
622
|
},
|
|
567
623
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
568
624
|
height: "24px",
|
|
625
|
+
// important debido a que MUI agrega media queries directamente al elemento.
|
|
569
626
|
minHeight: "24px !important",
|
|
570
627
|
"& .MuiChip-deleteIcon": {
|
|
571
628
|
fontSize: "20px"
|
|
@@ -631,6 +688,7 @@ const a = (o) => ({
|
|
|
631
688
|
height: "36px"
|
|
632
689
|
}
|
|
633
690
|
},
|
|
691
|
+
/* General properties */
|
|
634
692
|
"& .MuiFormControl-root": {
|
|
635
693
|
"& .MuiInputBase-root": {
|
|
636
694
|
padding: "0 4px 0 0",
|
|
@@ -685,6 +743,7 @@ const a = (o) => ({
|
|
|
685
743
|
}
|
|
686
744
|
}
|
|
687
745
|
},
|
|
746
|
+
/* State hover */
|
|
688
747
|
"&:hover": {
|
|
689
748
|
"& .M4LTypography-root": {
|
|
690
749
|
color: o.vars.palette.primary?.hover
|
|
@@ -699,6 +758,7 @@ const a = (o) => ({
|
|
|
699
758
|
backgroundColor: o.vars.palette.primary?.hover
|
|
700
759
|
}
|
|
701
760
|
},
|
|
761
|
+
/* State focus and active */
|
|
702
762
|
"&.M4LRHFDateTime-isFocus": {
|
|
703
763
|
"& .M4LTypography-root": {
|
|
704
764
|
color: o.vars.palette.primary.active
|
|
@@ -715,6 +775,7 @@ const a = (o) => ({
|
|
|
715
775
|
backgroundColor: o.vars.palette.primary?.active
|
|
716
776
|
}
|
|
717
777
|
},
|
|
778
|
+
/* State error */
|
|
718
779
|
"&.M4LRHFTextField-variantError": {
|
|
719
780
|
"& .M4LRHFTextField-label": {
|
|
720
781
|
color: o.vars.palette.error.main
|
|
@@ -740,6 +801,7 @@ const a = (o) => ({
|
|
|
740
801
|
}
|
|
741
802
|
}
|
|
742
803
|
},
|
|
804
|
+
/* State disabled */
|
|
743
805
|
"&.M4LRHFTextField-isDisabled": {
|
|
744
806
|
"& .M4LRHFTextField-label": {
|
|
745
807
|
color: o.vars.palette.text.disabled
|
|
@@ -836,6 +898,7 @@ const a = (o) => ({
|
|
|
836
898
|
gap: "0",
|
|
837
899
|
position: "relative",
|
|
838
900
|
overflow: "hidden",
|
|
901
|
+
// Icono de carga
|
|
839
902
|
"& .M4LRHFUploadImage-containerBodyImage": {
|
|
840
903
|
display: "flex",
|
|
841
904
|
justifyContent: "center",
|
|
@@ -885,6 +948,7 @@ const a = (o) => ({
|
|
|
885
948
|
}
|
|
886
949
|
}
|
|
887
950
|
},
|
|
951
|
+
// Skeleton
|
|
888
952
|
"& .M4LRHFUploadImage-skeleton": {
|
|
889
953
|
maskPosition: "center!important",
|
|
890
954
|
maskRepeat: "no-repeat!important",
|
|
@@ -896,6 +960,7 @@ const a = (o) => ({
|
|
|
896
960
|
WebkitMask: "url('data:image/svg+xml;base64, PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDcwIDcwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA3MCA3MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiM2MzczODE7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00NSw4LjdjMS40LTEuNSwzLjQtMi4zLDUuNC0yLjNzMy45LDAuOCw1LjQsMi4zczIuNCwzLjUsMi41LDUuN2MwLDIuMi0wLjksNC4yLTIuNCw1LjdzLTMuNSwyLjMtNS41LDIuMgoJCWMtMi4xLDAuMS00LTAuNy01LjUtMi4yYy0xLjQtMS41LTIuMy0zLjUtMi40LTUuN0M0Mi42LDEyLjIsNDMuNSwxMC4yLDQ1LDguN3oiLz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik02OC40LDYyLjFjLTAuMywwLjUtMC43LDAuOC0xLjIsMS4xcy0xLDAuNC0xLjYsMC40SDQuM2MtMC42LDAtMS4xLTAuMS0xLjYtMC40cy0wLjktMC42LTEuMi0xLjEKCQljLTAuMi0wLjUtMC40LTEtMC40LTEuNXMwLjEtMS4xLDAuNC0xLjVsMjMtMzYuNGMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNHMwLjksMC42LDEuMiwxLjEKCQlsMTEuNSwxOC4yYzAuMiwwLjMsMC41LDAuNSwwLjgsMC43czAuNiwwLjMsMSwwLjNjMC4zLDAsMC43LTAuMSwxLTAuM3MwLjYtMC40LDAuOC0wLjdsMy4xLTQuOWMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMQoJCXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNGMwLjUsMC4zLDAuOSwwLjYsMS4yLDEuMWwxNC42LDIzLjFjMC4zLDAuNSwwLjMsMSwwLjMsMS41UzY4LjcsNjEuNyw2OC40LDYyLjF6Ii8+CjwvZz4KPC9zdmc+Cg==')"
|
|
897
961
|
}
|
|
898
962
|
},
|
|
963
|
+
// Imagen cargada
|
|
899
964
|
"&.M4LRHFUploadImage-hasFile": {
|
|
900
965
|
"& .M4LRHFUploadImage-placeHolder": {
|
|
901
966
|
opacity: "0",
|
|
@@ -915,6 +980,7 @@ const a = (o) => ({
|
|
|
915
980
|
"&:hover": {
|
|
916
981
|
opacity: 1
|
|
917
982
|
},
|
|
983
|
+
// Comportamiento Hover imagen cargada
|
|
918
984
|
"& .M4LRHFUploadImage-containerUploadBoddy": {
|
|
919
985
|
"& .M4LRHFUploadImage-containerBodyImage": {
|
|
920
986
|
opacity: "0"
|
|
@@ -989,6 +1055,12 @@ const a = (o) => ({
|
|
|
989
1055
|
"& .M4LRHFColorPicker-boxColor": {
|
|
990
1056
|
cursor: "pointer"
|
|
991
1057
|
},
|
|
1058
|
+
/* '& .M4LIcon-root': {
|
|
1059
|
+
minHeight: '18px',
|
|
1060
|
+
minWidth: '18px',
|
|
1061
|
+
cursor: 'pointer',
|
|
1062
|
+
borderRadius: '4px',
|
|
1063
|
+
}, */
|
|
992
1064
|
"& .M4LIcon-root:hover": {
|
|
993
1065
|
background: o.vars.palette.background.hover
|
|
994
1066
|
}
|
|
@@ -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.border.line}`,
|
|
@@ -92,6 +95,9 @@ function l(r) {
|
|
|
92
95
|
function p(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 p(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 M(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 f(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 f(r) {
|
|
|
385
397
|
backgroundColor: r.vars.palette.background.default,
|
|
386
398
|
boxShadow: `0 0 0 1px ${r.vars.palette.primary?.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 m(r) {
|
|
|
551
566
|
display: "flex",
|
|
552
567
|
flexDirection: "row"
|
|
553
568
|
}
|
|
569
|
+
/* "& .MuiPaper-root": {
|
|
570
|
+
borderRadius: "4px",
|
|
571
|
+
backgroundColor: theme.vars.palette.primary.activeOpacity,
|
|
572
|
+
padding: "8px",
|
|
573
|
+
}, */
|
|
554
574
|
}
|
|
555
575
|
},
|
|
556
576
|
modal: {
|
|
@@ -855,10 +875,18 @@ function z(r) {
|
|
|
855
875
|
function A(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 A(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 $(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 D(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-XoLdmZP6.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-BRZVeOM5.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-C4PXddLa.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(),
|
|
@@ -148,6 +148,7 @@ const e = {
|
|
|
148
148
|
"00": "#FFFFFF",
|
|
149
149
|
10: "#FFFFFF",
|
|
150
150
|
20: "#F9FAFA",
|
|
151
|
+
//'#F5F9FA',
|
|
151
152
|
30: "#F4F5F5",
|
|
152
153
|
40: "#F0F4F4",
|
|
153
154
|
50: "#E6E8EA",
|
|
@@ -495,12 +496,17 @@ const a = {
|
|
|
495
496
|
},
|
|
496
497
|
background: {
|
|
497
498
|
default: e.marbleLight[10],
|
|
499
|
+
// todo: revisar contra figma (old state.default)
|
|
498
500
|
hover: a.oxford[4],
|
|
501
|
+
// todo: revisar contra figma (old state.hoverDefault)
|
|
499
502
|
surface: a.oxford[4],
|
|
500
503
|
subtle: e.marbleLight[10],
|
|
501
504
|
main: e.marbleLight[30],
|
|
505
|
+
// todo: background.neutral
|
|
502
506
|
bold: e.marbleLight[60],
|
|
507
|
+
// background.background
|
|
503
508
|
backdrop: a.oxford[72],
|
|
509
|
+
// hace referencia a alpha(`${theme.colorSchemes.finalTheme.palette.patronus?.onyx[60]}`, 0.8)
|
|
504
510
|
reverse: e.onyx[50],
|
|
505
511
|
header: e.marbleLight[20]
|
|
506
512
|
},
|
|
@@ -508,6 +514,7 @@ const a = {
|
|
|
508
514
|
active: s?.active,
|
|
509
515
|
selected: s?.selected,
|
|
510
516
|
default: a.oxford[4],
|
|
517
|
+
// before oxford 12 (hoverDefault)
|
|
511
518
|
primary: a.oxford[16],
|
|
512
519
|
secondary: a.oxford[10],
|
|
513
520
|
disabled: a.oxford[4],
|
|
@@ -534,7 +541,9 @@ const a = {
|
|
|
534
541
|
},
|
|
535
542
|
background: {
|
|
536
543
|
default: e.onyx[40],
|
|
544
|
+
// todo: revisar contra figma (old state default)
|
|
537
545
|
hover: a.mint[14],
|
|
546
|
+
// todo: revisar contra figma (old state hoverDefault)
|
|
538
547
|
surface: a.mint[8],
|
|
539
548
|
subtle: e.onyx[30],
|
|
540
549
|
main: e.onyx[50],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { alpha as a } from "@mui/material/styles";
|
|
2
|
-
import { G as n, B as s, C as e } from "./palette.
|
|
2
|
+
import { G as n, B as s, C as e } from "./palette-DM0gXxA2.js";
|
|
3
3
|
const o = n[500], c = "#000000", t = (r) => {
|
|
4
4
|
const p = a(r, 0.2), x = a(r, 0.14), $ = a(r, 0.12);
|
|
5
5
|
return [
|
|
@@ -36,6 +36,7 @@ const o = n[500], c = "#000000", t = (r) => {
|
|
|
36
36
|
success: `0px 2px 8px 0px ${a(s.acidGreen[50], 0.2)}`,
|
|
37
37
|
warning: `0px 2px 8px 0px ${a(s.middleYellow[50], 0.2)}`,
|
|
38
38
|
error: `0px 2px 8px 0px ${a(s.flameRed[50], 0.2)}`,
|
|
39
|
+
//
|
|
39
40
|
card: `0 0 2px 0 ${a(n[500], 0.2)}, 0 12px 24px -4px ${a(
|
|
40
41
|
n[500],
|
|
41
42
|
0.12
|