@m4l/styles 2.0.1 → 2.0.2
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.a4e93e8e.js → index-DEvENvuH.js} +76 -4
- package/theme/overrides/MUIComponents/{index.5c43e3b5.js → index-oLVtA5nq.js} +48 -0
- package/theme/overrides/{index.11f693b6.js → index-CuD-MKOg.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",
|
|
@@ -434,8 +476,7 @@ const a = (t) => ({
|
|
|
434
476
|
}
|
|
435
477
|
},
|
|
436
478
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
437
|
-
|
|
438
|
-
& .MuiAutocomplete-root`]: {
|
|
479
|
+
"& .M4LRHFAutocomplete-skeleton,\n & .MuiAutocomplete-root": {
|
|
439
480
|
"& .M4LImage-root": {
|
|
440
481
|
width: "28px",
|
|
441
482
|
height: "28px",
|
|
@@ -444,6 +485,7 @@ const a = (t) => ({
|
|
|
444
485
|
height: "36px"
|
|
445
486
|
}
|
|
446
487
|
},
|
|
488
|
+
// variant image defined
|
|
447
489
|
"&.M4LRHFAutocomplete-imageWidthDefined": {
|
|
448
490
|
"& .M4LImage-root": {
|
|
449
491
|
"& .M4LImage-img": {
|
|
@@ -451,13 +493,17 @@ const a = (t) => ({
|
|
|
451
493
|
}
|
|
452
494
|
}
|
|
453
495
|
}
|
|
496
|
+
// with multiple values in chips
|
|
454
497
|
}
|
|
455
498
|
}
|
|
456
499
|
},
|
|
457
500
|
M4LRHFAutocompletePopover: {
|
|
458
501
|
styleOverrides: {
|
|
502
|
+
// Menu popover que se despliega luego de interactuar con el componente.
|
|
503
|
+
// Despliega la lista de opciones diponibles.
|
|
459
504
|
"&.M4LRHFAutocomplete-popper": {
|
|
460
505
|
zIndex: "1300",
|
|
506
|
+
// Primer contendeor del manu, se utiliza para dar espacio interno y distribuir los items.
|
|
461
507
|
"& .MuiAutocomplete-listbox": {
|
|
462
508
|
padding: "8px",
|
|
463
509
|
display: "flex",
|
|
@@ -476,9 +522,11 @@ const a = (t) => ({
|
|
|
476
522
|
}
|
|
477
523
|
}
|
|
478
524
|
},
|
|
525
|
+
// Estilos generales para withImage
|
|
479
526
|
"& .M4LRHFAutocomplete-withImage": {
|
|
480
527
|
display: "flex",
|
|
481
528
|
gap: "8px",
|
|
529
|
+
// Estados por evento de usuario
|
|
482
530
|
"&:hover": {
|
|
483
531
|
color: t.vars.palette.text.primary,
|
|
484
532
|
backgroundColor: t.vars.palette.state.active12
|
|
@@ -488,11 +536,14 @@ const a = (t) => ({
|
|
|
488
536
|
height: "100%"
|
|
489
537
|
}
|
|
490
538
|
},
|
|
539
|
+
// Estilos del menu para la versión de tamaño small
|
|
491
540
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
541
|
+
// Item sin imagen
|
|
492
542
|
"& .MuiAutocomplete-listbox": {
|
|
493
543
|
"& .MuiAutocomplete-option": {
|
|
494
544
|
minHeight: "24px"
|
|
495
545
|
},
|
|
546
|
+
// Item con imagen
|
|
496
547
|
"& .M4LRHFAutocomplete-withImage": {
|
|
497
548
|
paddingLeft: "4px",
|
|
498
549
|
height: "24px",
|
|
@@ -508,12 +559,15 @@ const a = (t) => ({
|
|
|
508
559
|
}
|
|
509
560
|
}
|
|
510
561
|
},
|
|
562
|
+
// Estilos del menu para la versión de tamaño medium
|
|
511
563
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
564
|
+
// Item sin imagen
|
|
512
565
|
"& .MuiAutocomplete-listbox": {
|
|
513
566
|
"& .MuiAutocomplete-option": {
|
|
514
567
|
height: "36px"
|
|
515
568
|
}
|
|
516
569
|
},
|
|
570
|
+
// Item con imagen
|
|
517
571
|
"& .M4LRHFAutocomplete-withImage": {
|
|
518
572
|
paddingLeft: "4px",
|
|
519
573
|
height: "36px",
|
|
@@ -528,6 +582,7 @@ const a = (t) => ({
|
|
|
528
582
|
}
|
|
529
583
|
}
|
|
530
584
|
},
|
|
585
|
+
// variación de ancho de imagen definido
|
|
531
586
|
"&.M4LRHFAutocomplete-imageWidthDefined": {
|
|
532
587
|
"& .M4LImage-img": {
|
|
533
588
|
minWidth: "24px",
|
|
@@ -548,6 +603,7 @@ const a = (t) => ({
|
|
|
548
603
|
styleOverrides: {
|
|
549
604
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
550
605
|
height: "18px",
|
|
606
|
+
// important debido a que MUI agrega media queries directamente al elemento.
|
|
551
607
|
minHeight: "18px !important",
|
|
552
608
|
"& .MuiChip-deleteIcon": {
|
|
553
609
|
fontSize: "16px"
|
|
@@ -558,6 +614,7 @@ const a = (t) => ({
|
|
|
558
614
|
},
|
|
559
615
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
560
616
|
height: "24px",
|
|
617
|
+
// important debido a que MUI agrega media queries directamente al elemento.
|
|
561
618
|
minHeight: "24px !important",
|
|
562
619
|
"& .MuiChip-deleteIcon": {
|
|
563
620
|
fontSize: "20px"
|
|
@@ -623,6 +680,7 @@ const a = (t) => ({
|
|
|
623
680
|
height: "36px"
|
|
624
681
|
}
|
|
625
682
|
},
|
|
683
|
+
/* General properties */
|
|
626
684
|
"& .MuiFormControl-root": {
|
|
627
685
|
"& .MuiInputBase-root": {
|
|
628
686
|
padding: "0 4px 0 0",
|
|
@@ -677,6 +735,7 @@ const a = (t) => ({
|
|
|
677
735
|
}
|
|
678
736
|
}
|
|
679
737
|
},
|
|
738
|
+
/* State hover */
|
|
680
739
|
"&:hover": {
|
|
681
740
|
"& .M4LTypography-root": {
|
|
682
741
|
color: t.vars.palette.state?.hover
|
|
@@ -691,6 +750,7 @@ const a = (t) => ({
|
|
|
691
750
|
backgroundColor: t.vars.palette.state?.hover
|
|
692
751
|
}
|
|
693
752
|
},
|
|
753
|
+
/* State focus and active */
|
|
694
754
|
"&.M4LRHFDateTime-isFocus": {
|
|
695
755
|
"& .M4LTypography-root": {
|
|
696
756
|
color: t.vars.palette.state.active
|
|
@@ -707,6 +767,7 @@ const a = (t) => ({
|
|
|
707
767
|
backgroundColor: t.vars.palette.state?.active
|
|
708
768
|
}
|
|
709
769
|
},
|
|
770
|
+
/* State error */
|
|
710
771
|
"&.M4LRHFTextField-variantError": {
|
|
711
772
|
"& .M4LRHFTextField-label": {
|
|
712
773
|
color: t.vars.palette.state?.error.normal
|
|
@@ -732,6 +793,7 @@ const a = (t) => ({
|
|
|
732
793
|
}
|
|
733
794
|
}
|
|
734
795
|
},
|
|
796
|
+
/* State disabled */
|
|
735
797
|
"&.M4LRHFTextField-isDisabled": {
|
|
736
798
|
"& .M4LRHFTextField-label": {
|
|
737
799
|
color: t.vars.palette.text.disabled
|
|
@@ -828,6 +890,7 @@ const a = (t) => ({
|
|
|
828
890
|
gap: "0",
|
|
829
891
|
position: "relative",
|
|
830
892
|
overflow: "hidden",
|
|
893
|
+
// Icono de carga
|
|
831
894
|
"& .M4LRHFUploadImage-containerBodyImage": {
|
|
832
895
|
display: "flex",
|
|
833
896
|
justifyContent: "center",
|
|
@@ -877,6 +940,7 @@ const a = (t) => ({
|
|
|
877
940
|
}
|
|
878
941
|
}
|
|
879
942
|
},
|
|
943
|
+
// Skeleton
|
|
880
944
|
"& .M4LRHFUploadImage-skeleton": {
|
|
881
945
|
maskPosition: "center!important",
|
|
882
946
|
maskRepeat: "no-repeat!important",
|
|
@@ -888,6 +952,7 @@ const a = (t) => ({
|
|
|
888
952
|
WebkitMask: "url('data:image/svg+xml;base64, PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDcwIDcwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA3MCA3MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiM2MzczODE7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00NSw4LjdjMS40LTEuNSwzLjQtMi4zLDUuNC0yLjNzMy45LDAuOCw1LjQsMi4zczIuNCwzLjUsMi41LDUuN2MwLDIuMi0wLjksNC4yLTIuNCw1LjdzLTMuNSwyLjMtNS41LDIuMgoJCWMtMi4xLDAuMS00LTAuNy01LjUtMi4yYy0xLjQtMS41LTIuMy0zLjUtMi40LTUuN0M0Mi42LDEyLjIsNDMuNSwxMC4yLDQ1LDguN3oiLz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik02OC40LDYyLjFjLTAuMywwLjUtMC43LDAuOC0xLjIsMS4xcy0xLDAuNC0xLjYsMC40SDQuM2MtMC42LDAtMS4xLTAuMS0xLjYtMC40cy0wLjktMC42LTEuMi0xLjEKCQljLTAuMi0wLjUtMC40LTEtMC40LTEuNXMwLjEtMS4xLDAuNC0xLjVsMjMtMzYuNGMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNHMwLjksMC42LDEuMiwxLjEKCQlsMTEuNSwxOC4yYzAuMiwwLjMsMC41LDAuNSwwLjgsMC43czAuNiwwLjMsMSwwLjNjMC4zLDAsMC43LTAuMSwxLTAuM3MwLjYtMC40LDAuOC0wLjdsMy4xLTQuOWMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMQoJCXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNGMwLjUsMC4zLDAuOSwwLjYsMS4yLDEuMWwxNC42LDIzLjFjMC4zLDAuNSwwLjMsMSwwLjMsMS41UzY4LjcsNjEuNyw2OC40LDYyLjF6Ii8+CjwvZz4KPC9zdmc+Cg==')"
|
|
889
953
|
}
|
|
890
954
|
},
|
|
955
|
+
// Imagen cargada
|
|
891
956
|
"&.M4LRHFUploadImage-hasFile": {
|
|
892
957
|
"& .M4LRHFUploadImage-placeHolder": {
|
|
893
958
|
opacity: "0",
|
|
@@ -907,6 +972,7 @@ const a = (t) => ({
|
|
|
907
972
|
"&:hover": {
|
|
908
973
|
opacity: 1
|
|
909
974
|
},
|
|
975
|
+
// Comportamiento Hover imagen cargada
|
|
910
976
|
"& .M4LRHFUploadImage-containerUploadBoddy": {
|
|
911
977
|
"& .M4LRHFUploadImage-containerBodyImage": {
|
|
912
978
|
opacity: "0"
|
|
@@ -981,6 +1047,12 @@ const a = (t) => ({
|
|
|
981
1047
|
"& .M4LRHFColorPicker-boxColor": {
|
|
982
1048
|
cursor: "pointer"
|
|
983
1049
|
},
|
|
1050
|
+
/* '& .M4LIcon-root': {
|
|
1051
|
+
minHeight: '18px',
|
|
1052
|
+
minWidth: '18px',
|
|
1053
|
+
cursor: 'pointer',
|
|
1054
|
+
borderRadius: '4px',
|
|
1055
|
+
}, */
|
|
984
1056
|
"& .M4LIcon-root:hover": {
|
|
985
1057
|
background: t.vars.palette.state.hoverDefault
|
|
986
1058
|
}
|
|
@@ -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-DEvENvuH.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 = {
|