@m4l/styles 0.0.30 → 0.0.32
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 +37 -37
- package/package.json +1 -1
- package/theme/defaultThemeOptions.b25c825e.js +27 -0
- package/theme/index.34d0fdea.js +1 -0
- package/theme/index.d.ts +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +22 -15
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +106 -76
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +58 -3
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +6834 -13145
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +171 -977
- package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +0 -2
- package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +5 -0
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +56 -57
- package/theme/overrides/M4LExtendedComponents/M4LCheckBox.d.ts +13 -12
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +41 -30
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +78 -85
- package/theme/overrides/M4LExtendedComponents/M4LFormatter.d.ts +19 -0
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/{M4LToolkitPage.d.ts → M4LMFLoader.d.ts} +6 -7
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +13 -2
- package/theme/overrides/M4LExtendedComponents/M4LMenuActions.d.ts +17 -0
- package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +4 -48
- package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +0 -2
- package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +1 -2
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +43 -33
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +12 -0
- package/theme/overrides/M4LExtendedComponents/M4LPrintingSystem.d.ts +1000 -0
- package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.d.ts +140 -2
- package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.d.ts +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +91 -48
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +3 -0
- package/theme/overrides/M4LExtendedComponents/M4LTabContent.d.ts +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +16 -0
- package/theme/overrides/M4LExtendedComponents/M4LToastContainer.d.ts +29 -0
- package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +0 -4
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +24 -20
- package/theme/overrides/M4LExtendedComponents/M4LoadingError.d.ts +881 -0
- package/theme/overrides/M4LExtendedComponents/{index.e875a5e1.js → index.15f2650a.js} +1539 -1080
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +102 -4
- package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.d.ts +107 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.d.ts +20 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +5 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.d.ts +2 -1
- package/theme/overrides/M4LRHFComponents/{index.d3125fd8.js → index.e6262889.js} +270 -38
- package/theme/overrides/MUIComponents/Accordion.d.ts +34 -17
- package/theme/overrides/MUIComponents/ControlLabel.d.ts +34 -17
- package/theme/overrides/MUIComponents/Input.d.ts +68 -34
- package/theme/overrides/MUIComponents/LoadingButton.d.ts +34 -17
- package/theme/overrides/MUIComponents/Table.d.ts +136 -68
- package/theme/overrides/MUIComponents/{index.f50cd1c7.js → index.1b2b2be2.js} +59 -138
- package/theme/overrides/index.158187f3.js +105 -0
- package/theme/{palette.104051a7.js → palette.31d770bc.js} +90 -47
- package/theme/palette.d.ts +18 -8
- package/theme/{shadows.b036a684.js → shadows.9800d84c.js} +24 -24
- package/theme/typography.b14a8e35.js +122 -0
- package/theme/typography.d.ts +20 -13
- package/types/augmentations.d.ts +1 -1
- package/utils/{getColorPresets.2693301f.js → getColorPresets.9fec9cc2.js} +1 -1
- package/utils/getColorState.4350ccb4.js +239 -0
- package/utils/getColorState.d.ts +5 -0
- package/theme/defaultThemeOptions.a8de2e18.js +0 -30
- package/theme/index.b0919dac.js +0 -7
- package/theme/overrides/M4LExtendedComponents/M4LToolkitDivider.d.ts +0 -18
- package/theme/overrides/M4LExtendedComponents/M4LToolkitSection.d.ts +0 -24
- package/theme/overrides/MUIComponents/Tabs.d.ts +0 -886
- package/theme/overrides/index.cbe0dea7.js +0 -103
- package/theme/typography.7591a12b.js +0 -124
- package/utils/getColorState.32c050bf.js +0 -208
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { alpha as o } from "@mui/system";
|
|
2
2
|
import { alpha as e } from "@mui/material/styles";
|
|
3
|
-
const
|
|
3
|
+
const r = (t) => ({
|
|
4
4
|
M4LRHFTextFieldPassword: {
|
|
5
5
|
styleOverrides: {
|
|
6
6
|
"&.M4LRHFTextFieldPassword-root": {
|
|
@@ -8,20 +8,21 @@ const n = (t) => ({
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
}),
|
|
11
|
+
}), n = (t) => ({
|
|
12
12
|
M4LRHFTextField: {
|
|
13
13
|
styleOverrides: {
|
|
14
14
|
"&.M4LRHFTextField-root": {
|
|
15
15
|
display: "flex",
|
|
16
16
|
flexDirection: "column",
|
|
17
17
|
width: "100%",
|
|
18
|
-
gap: "
|
|
18
|
+
gap: "2px",
|
|
19
19
|
"&.M4LRHFTextField-variantText": {
|
|
20
20
|
height: "auto",
|
|
21
21
|
"& .MuiFormControl-root": {
|
|
22
|
+
minHeight: "24px",
|
|
22
23
|
height: "auto",
|
|
23
24
|
"& .MuiInputBase-multiline": {
|
|
24
|
-
minHeight: "
|
|
25
|
+
minHeight: "24px",
|
|
25
26
|
height: "auto",
|
|
26
27
|
"& .MuiInputBase-input": {
|
|
27
28
|
padding: "4px"
|
|
@@ -39,6 +40,7 @@ const n = (t) => ({
|
|
|
39
40
|
},
|
|
40
41
|
"& .MuiInputBase-root": {
|
|
41
42
|
padding: "0px",
|
|
43
|
+
borderRadius: "4px",
|
|
42
44
|
"& .MuiInputBase-input": {
|
|
43
45
|
color: t.palette.text.secondary,
|
|
44
46
|
padding: "4px 8px",
|
|
@@ -55,9 +57,9 @@ const n = (t) => ({
|
|
|
55
57
|
transition: "all .3s ease"
|
|
56
58
|
},
|
|
57
59
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
58
|
-
border: "
|
|
60
|
+
border: "1.3px solid",
|
|
59
61
|
padding: "4px",
|
|
60
|
-
borderColor: t.palette.
|
|
62
|
+
borderColor: t.palette.state.borderPrimary,
|
|
61
63
|
borderRadius: "4px",
|
|
62
64
|
inset: "0px",
|
|
63
65
|
transition: "all .3s ease",
|
|
@@ -72,7 +74,8 @@ const n = (t) => ({
|
|
|
72
74
|
},
|
|
73
75
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
74
76
|
borderColor: t.palette.state?.hover,
|
|
75
|
-
boxShadow: `0px 1px 8px ${o(t.palette.primary.main, 0.32)}
|
|
77
|
+
boxShadow: `0px 1px 8px ${o(t.palette.primary.main, 0.32)}`,
|
|
78
|
+
background: t.palette.state?.active12
|
|
76
79
|
},
|
|
77
80
|
"& .MuiInputBase-input": {
|
|
78
81
|
color: t.palette.text.primary
|
|
@@ -89,7 +92,8 @@ const n = (t) => ({
|
|
|
89
92
|
transition: "all .1s ease",
|
|
90
93
|
border: "2px solid",
|
|
91
94
|
borderColor: t.palette.state?.active,
|
|
92
|
-
boxShadow: `0px 1px 8px ${o(t.palette.primary.main, 0.32)}
|
|
95
|
+
boxShadow: `0px 1px 8px ${o(t.palette.primary.main, 0.32)}`,
|
|
96
|
+
background: t.palette.state?.active12
|
|
93
97
|
},
|
|
94
98
|
"& .MuiInputBase-input": {
|
|
95
99
|
color: t.palette.text.primary
|
|
@@ -104,7 +108,8 @@ const n = (t) => ({
|
|
|
104
108
|
},
|
|
105
109
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
106
110
|
border: "1px solid",
|
|
107
|
-
borderColor: t.palette.state?.error.normal
|
|
111
|
+
borderColor: t.palette.state?.error.normal,
|
|
112
|
+
background: t.palette.error.opacity
|
|
108
113
|
},
|
|
109
114
|
"& .MuiInputBase-input": {
|
|
110
115
|
color: t.palette.text.primary
|
|
@@ -129,7 +134,7 @@ const n = (t) => ({
|
|
|
129
134
|
},
|
|
130
135
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
131
136
|
border: "1px solid",
|
|
132
|
-
borderColor: t.palette.
|
|
137
|
+
borderColor: t.palette.state.borderSecondary,
|
|
133
138
|
backgroundColor: t.palette.state?.default,
|
|
134
139
|
boxShadow: "none"
|
|
135
140
|
},
|
|
@@ -142,7 +147,7 @@ const n = (t) => ({
|
|
|
142
147
|
},
|
|
143
148
|
"&.M4LRHFTextField-sizeSmall": {
|
|
144
149
|
"& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFTextField-skeleton": {
|
|
145
|
-
height: "
|
|
150
|
+
height: "24px",
|
|
146
151
|
padding: "0px 8px"
|
|
147
152
|
}
|
|
148
153
|
},
|
|
@@ -159,7 +164,7 @@ const n = (t) => ({
|
|
|
159
164
|
}
|
|
160
165
|
}
|
|
161
166
|
}
|
|
162
|
-
}),
|
|
167
|
+
}), l = (t) => ({
|
|
163
168
|
M4LRHFCheckbox: {
|
|
164
169
|
styleOverrides: {
|
|
165
170
|
"&.M4LRHFCheckbox-root": {
|
|
@@ -222,7 +227,7 @@ const n = (t) => ({
|
|
|
222
227
|
}
|
|
223
228
|
}
|
|
224
229
|
}
|
|
225
|
-
}),
|
|
230
|
+
}), p = (t) => ({
|
|
226
231
|
M4LRHFAutocomplete: {
|
|
227
232
|
styleOverrides: {
|
|
228
233
|
"&.M4LRHFAutocomplete-root": {
|
|
@@ -230,20 +235,22 @@ const n = (t) => ({
|
|
|
230
235
|
display: "flex",
|
|
231
236
|
flexDirection: "column",
|
|
232
237
|
width: "100%",
|
|
233
|
-
gap: "
|
|
238
|
+
gap: "2px",
|
|
234
239
|
"& .MuiAutocomplete-root": {
|
|
235
240
|
height: "auto",
|
|
236
241
|
"& .MuiFormControl-root": {
|
|
237
242
|
height: "100%",
|
|
238
243
|
"& .MuiInputBase-root": {
|
|
244
|
+
borderColor: t.palette.state.borderPrimary,
|
|
239
245
|
position: "relative",
|
|
240
246
|
height: "100%",
|
|
247
|
+
gap: "16px",
|
|
241
248
|
"& .MuiInputBase-input": {
|
|
242
249
|
boxSizing: "border-box",
|
|
243
250
|
color: t.palette.text.secondary,
|
|
244
251
|
backgroundColor: "transparent",
|
|
245
|
-
height: "
|
|
246
|
-
padding: "
|
|
252
|
+
height: "100%",
|
|
253
|
+
padding: "0 0 0 8px",
|
|
247
254
|
...t.typography.body
|
|
248
255
|
},
|
|
249
256
|
"& .M4LRHFAutocomplete-iconDown": {},
|
|
@@ -295,11 +302,11 @@ const n = (t) => ({
|
|
|
295
302
|
},
|
|
296
303
|
"& .MuiAutocomplete-root .MuiInputBase-root": {
|
|
297
304
|
padding: "0p 8px",
|
|
298
|
-
|
|
305
|
+
height: "100%"
|
|
299
306
|
},
|
|
300
307
|
"&:hover": {
|
|
301
308
|
"& .M4LRHFAutocomplete-label": {
|
|
302
|
-
color: t.palette.
|
|
309
|
+
color: t.palette.text.secondary
|
|
303
310
|
},
|
|
304
311
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
305
312
|
borderColor: t.palette.state?.hover,
|
|
@@ -318,6 +325,7 @@ const n = (t) => ({
|
|
|
318
325
|
},
|
|
319
326
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
320
327
|
transition: "all .1s ease",
|
|
328
|
+
background: t.palette.state.active12,
|
|
321
329
|
border: "2px solid",
|
|
322
330
|
borderColor: t.palette.state?.active,
|
|
323
331
|
boxShadow: `0px 1px 8px ${e(t.palette.primary.main, 0.32)}`
|
|
@@ -360,7 +368,7 @@ const n = (t) => ({
|
|
|
360
368
|
},
|
|
361
369
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
362
370
|
border: "1px solid",
|
|
363
|
-
borderColor: t.palette.
|
|
371
|
+
borderColor: t.palette.state.borderDisable,
|
|
364
372
|
backgroundColor: t.palette.state?.default,
|
|
365
373
|
boxShadow: "none"
|
|
366
374
|
},
|
|
@@ -374,14 +382,31 @@ const n = (t) => ({
|
|
|
374
382
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
375
383
|
[`& .M4LRHFAutocomplete-skeleton,
|
|
376
384
|
& .MuiAutocomplete-root`]: {
|
|
377
|
-
|
|
385
|
+
"& .M4LImage-root": {
|
|
386
|
+
width: "24px",
|
|
387
|
+
height: "24px",
|
|
388
|
+
marginLeft: "6px"
|
|
389
|
+
},
|
|
390
|
+
height: "24px"
|
|
378
391
|
}
|
|
379
392
|
},
|
|
380
393
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
381
394
|
[`& .M4LRHFAutocomplete-skeleton,
|
|
382
395
|
& .MuiAutocomplete-root`]: {
|
|
396
|
+
"& .M4LImage-root": {
|
|
397
|
+
width: "28px",
|
|
398
|
+
height: "28px",
|
|
399
|
+
marginLeft: "6px"
|
|
400
|
+
},
|
|
383
401
|
height: "36px"
|
|
384
402
|
}
|
|
403
|
+
},
|
|
404
|
+
"&.M4LRHFAutocomplete-imageWidthDefined": {
|
|
405
|
+
"& .M4LImage-root": {
|
|
406
|
+
"& .M4LImage-img": {
|
|
407
|
+
objectPosition: "left"
|
|
408
|
+
}
|
|
409
|
+
}
|
|
385
410
|
}
|
|
386
411
|
}
|
|
387
412
|
}
|
|
@@ -389,16 +414,94 @@ const n = (t) => ({
|
|
|
389
414
|
M4LRHFAutocompletePopover: {
|
|
390
415
|
styleOverrides: {
|
|
391
416
|
"&.M4LRHFAutocomplete-popper": {
|
|
392
|
-
test: "root",
|
|
393
|
-
position: "fixed",
|
|
394
417
|
zIndex: "1300",
|
|
418
|
+
"& .MuiAutocomplete-listbox": {
|
|
419
|
+
padding: "8px",
|
|
420
|
+
display: "flex",
|
|
421
|
+
flexDirection: "column",
|
|
422
|
+
"& .MuiAutocomplete-option": {
|
|
423
|
+
borderRadius: "unset"
|
|
424
|
+
},
|
|
425
|
+
"& .M4LRHFAutocomplete-withImage": {
|
|
426
|
+
display: "flex",
|
|
427
|
+
alignItems: "center",
|
|
428
|
+
cursor: "pointer",
|
|
429
|
+
"& .M4LImage-root": {
|
|
430
|
+
height: "100%",
|
|
431
|
+
width: "auto",
|
|
432
|
+
alignItems: "start"
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
"& .M4LRHFAutocomplete-withImage": {
|
|
437
|
+
display: "flex",
|
|
438
|
+
gap: "8px",
|
|
439
|
+
"&:hover": {
|
|
440
|
+
color: t.palette.text.primary,
|
|
441
|
+
backgroundColor: t.palette.state.active12
|
|
442
|
+
},
|
|
443
|
+
"& .M4LImage-root": {
|
|
444
|
+
width: "auto",
|
|
445
|
+
height: "100%"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
449
|
+
"& .MuiAutocomplete-listbox": {
|
|
450
|
+
"& .MuiAutocomplete-option": {
|
|
451
|
+
height: "24px"
|
|
452
|
+
},
|
|
453
|
+
"& .M4LRHFAutocomplete-withImage": {
|
|
454
|
+
paddingLeft: "4px",
|
|
455
|
+
height: "24px",
|
|
456
|
+
display: "flex",
|
|
457
|
+
alignItems: "center",
|
|
458
|
+
gap: "8px",
|
|
459
|
+
overflow: "hidden",
|
|
460
|
+
"& .M4LImage-img": {
|
|
461
|
+
width: "22px",
|
|
462
|
+
height: "22px",
|
|
463
|
+
position: "relative"
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
469
|
+
"& .MuiAutocomplete-listbox": {
|
|
470
|
+
"& .MuiAutocomplete-option": {
|
|
471
|
+
height: "32px"
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
"& .M4LRHFAutocomplete-withImage": {
|
|
475
|
+
paddingLeft: "4px",
|
|
476
|
+
height: "32px",
|
|
477
|
+
display: "flex",
|
|
478
|
+
alignItems: "center",
|
|
479
|
+
gap: "8px",
|
|
480
|
+
overflow: "hidden",
|
|
481
|
+
"& .M4LImage-img": {
|
|
482
|
+
width: "28px",
|
|
483
|
+
height: "28px",
|
|
484
|
+
position: "relative"
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
"&.M4LRHFAutocomplete-imageWidthDefined": {
|
|
489
|
+
"& .M4LImage-img": {
|
|
490
|
+
minWidth: "24px",
|
|
491
|
+
objectPostion: "left"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
395
494
|
"& .MuiPaper-root": {
|
|
396
|
-
boxShadow: t.customShadows.z3
|
|
495
|
+
boxShadow: t.customShadows.z3,
|
|
496
|
+
"& .MuiAutocomplete-listbox .MuiAutocomplete-option:hover": {
|
|
497
|
+
color: t.palette.text.primary,
|
|
498
|
+
backgroundColor: t.palette.state.active12
|
|
499
|
+
}
|
|
397
500
|
}
|
|
398
501
|
}
|
|
399
502
|
}
|
|
400
503
|
}
|
|
401
|
-
}),
|
|
504
|
+
}), d = (t) => ({
|
|
402
505
|
M4LRHFAutocompleteAsync: {
|
|
403
506
|
styleOverrides: {
|
|
404
507
|
"&.M4LRHFAutocompleteAsync-root": {
|
|
@@ -407,7 +510,7 @@ const n = (t) => ({
|
|
|
407
510
|
}
|
|
408
511
|
}
|
|
409
512
|
}
|
|
410
|
-
}),
|
|
513
|
+
}), u = (t) => ({
|
|
411
514
|
M4LRHFDateTime: {
|
|
412
515
|
styleOverrides: {
|
|
413
516
|
"&.M4LRHFDateTime-root": {
|
|
@@ -415,13 +518,20 @@ const n = (t) => ({
|
|
|
415
518
|
display: "flex",
|
|
416
519
|
flexDirection: "column",
|
|
417
520
|
width: "100%",
|
|
418
|
-
gap: "
|
|
521
|
+
gap: "2px",
|
|
522
|
+
"& .MuiFormControl-root": {
|
|
523
|
+
height: "auto",
|
|
524
|
+
"& .MuiInputBase-root": {
|
|
525
|
+
padding: "0 4px 0 0",
|
|
526
|
+
minHeight: "24px"
|
|
527
|
+
}
|
|
528
|
+
},
|
|
419
529
|
"& .M4LRHFTextField-label": {
|
|
420
530
|
color: t.palette.text.secondary,
|
|
421
531
|
transition: "all .5s ease"
|
|
422
532
|
},
|
|
423
|
-
"& .MuiInputBase-root": {
|
|
424
|
-
padding: "
|
|
533
|
+
"& .MuiInputBase-root.MuiInputBase-formControl": {
|
|
534
|
+
padding: "0px 8px 0 0",
|
|
425
535
|
"& .MuiInputBase-input": {
|
|
426
536
|
color: t.palette.text.secondary,
|
|
427
537
|
padding: "1px 8px",
|
|
@@ -431,7 +541,19 @@ const n = (t) => ({
|
|
|
431
541
|
},
|
|
432
542
|
"& .MuiInputAdornment-root": {
|
|
433
543
|
margin: "0px",
|
|
434
|
-
padding: "0px"
|
|
544
|
+
padding: "0px",
|
|
545
|
+
width: "16px",
|
|
546
|
+
height: "auto",
|
|
547
|
+
position: "relative",
|
|
548
|
+
maxWidth: "16px",
|
|
549
|
+
minWidth: "16px",
|
|
550
|
+
display: "flex",
|
|
551
|
+
flex: "1",
|
|
552
|
+
overflow: "hidden",
|
|
553
|
+
"& .MuiButtonBase-root": {
|
|
554
|
+
padding: "0px",
|
|
555
|
+
backgroundColor: "transparent"
|
|
556
|
+
}
|
|
435
557
|
},
|
|
436
558
|
"& .M4LIcon-icon": {
|
|
437
559
|
backgroundColor: t.palette.text.secondary,
|
|
@@ -613,7 +735,8 @@ const n = (t) => ({
|
|
|
613
735
|
width: "56px",
|
|
614
736
|
height: "56px",
|
|
615
737
|
minWidth: "56px",
|
|
616
|
-
minHeight: "56px"
|
|
738
|
+
minHeight: "56px",
|
|
739
|
+
paddingBottom: "8px"
|
|
617
740
|
},
|
|
618
741
|
"& .M4LRHFUploadImage-containerMessage": {
|
|
619
742
|
display: "flex",
|
|
@@ -633,7 +756,7 @@ const n = (t) => ({
|
|
|
633
756
|
display: "flex",
|
|
634
757
|
justifyContent: "center",
|
|
635
758
|
".MuiTypography-root": {
|
|
636
|
-
...t.typography.
|
|
759
|
+
...t.typography.paragraph,
|
|
637
760
|
color: t.palette.text.secondary
|
|
638
761
|
}
|
|
639
762
|
},
|
|
@@ -648,7 +771,7 @@ const n = (t) => ({
|
|
|
648
771
|
"& .M4LButton-root": {
|
|
649
772
|
display: "flex",
|
|
650
773
|
justifyContent: "center",
|
|
651
|
-
|
|
774
|
+
paddingTop: "8px"
|
|
652
775
|
}
|
|
653
776
|
}
|
|
654
777
|
}
|
|
@@ -716,14 +839,123 @@ const n = (t) => ({
|
|
|
716
839
|
}
|
|
717
840
|
}
|
|
718
841
|
}
|
|
842
|
+
}), c = (t) => ({
|
|
843
|
+
M4LRHFColorPicker: {
|
|
844
|
+
styleOverrides: {
|
|
845
|
+
"&.M4LRHFColorPicker-root": {
|
|
846
|
+
test: "root",
|
|
847
|
+
"& .M4LRHFColorPicker-containerFieldColor": {
|
|
848
|
+
display: "flex",
|
|
849
|
+
alingnItems: "center",
|
|
850
|
+
justifyContent: "center",
|
|
851
|
+
gap: "4px",
|
|
852
|
+
padding: "2px",
|
|
853
|
+
border: "1.5px solid",
|
|
854
|
+
borderColor: t.palette.state.borderPrimary,
|
|
855
|
+
borderRadius: "4px",
|
|
856
|
+
minHeight: "24px",
|
|
857
|
+
height: "24px",
|
|
858
|
+
"& .M4LRHFColorPicker-boxColor": {
|
|
859
|
+
borderRadius: "4px",
|
|
860
|
+
height: "18px !important",
|
|
861
|
+
width: "18px !important"
|
|
862
|
+
},
|
|
863
|
+
"& .M4LIcon-root": {
|
|
864
|
+
minHeight: "18px",
|
|
865
|
+
minWidth: "18px",
|
|
866
|
+
cursor: "pointer",
|
|
867
|
+
borderRadius: "4px"
|
|
868
|
+
},
|
|
869
|
+
"& .M4LIcon-root:hover": {
|
|
870
|
+
background: t.palette.state.overdefoult
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
M4LRHFColorPickerPopoverRoot: {
|
|
877
|
+
styleOverrides: {
|
|
878
|
+
"&.M4LRHFColorPicker-popoverRoot": {
|
|
879
|
+
test: "test-popover-root",
|
|
880
|
+
"& .MuiPaper-root": {
|
|
881
|
+
background: t.palette.background.default,
|
|
882
|
+
padding: "8px",
|
|
883
|
+
border: "1px solid",
|
|
884
|
+
borderColor: t.palette.state.borderSecondary,
|
|
885
|
+
borderRadius: "4px",
|
|
886
|
+
boxShadow: t.customShadows.z4,
|
|
887
|
+
"& .M4LRHFColorPicker-containerPicker": {
|
|
888
|
+
background: "transparent",
|
|
889
|
+
borderRadius: "4px",
|
|
890
|
+
display: "flex",
|
|
891
|
+
flexDirection: "column",
|
|
892
|
+
gap: "24px",
|
|
893
|
+
"& .sketch-picker": {
|
|
894
|
+
background: "transparent !important",
|
|
895
|
+
boxShadow: "none !important",
|
|
896
|
+
padding: "12px !important",
|
|
897
|
+
display: "flex",
|
|
898
|
+
flexDirection: "column",
|
|
899
|
+
gap: "8px",
|
|
900
|
+
border: "1px solid",
|
|
901
|
+
borderColor: t.palette.state.borderSecondary,
|
|
902
|
+
borderRadius: "4px",
|
|
903
|
+
"& :nth-of-type(-n + 1)": {
|
|
904
|
+
borderRadius: "4px"
|
|
905
|
+
},
|
|
906
|
+
"& .flexbox-fix": {
|
|
907
|
+
border: "none !important",
|
|
908
|
+
background: "transparent !important",
|
|
909
|
+
"& > div": {
|
|
910
|
+
"& > div": {
|
|
911
|
+
display: "flex",
|
|
912
|
+
flexDirection: "column-reverse",
|
|
913
|
+
...t.typography.body,
|
|
914
|
+
color: t.palette.text.secondary,
|
|
915
|
+
gap: "2px",
|
|
916
|
+
padding: "0 important",
|
|
917
|
+
"& > input": {
|
|
918
|
+
display: "flex",
|
|
919
|
+
textAlign: "center !important",
|
|
920
|
+
border: "1px solid",
|
|
921
|
+
borderColor: t.palette.state.borderPrimary,
|
|
922
|
+
borderRadius: "2px",
|
|
923
|
+
background: "transparent",
|
|
924
|
+
minHeight: "24px",
|
|
925
|
+
height: "24px !important",
|
|
926
|
+
...t.typography.body,
|
|
927
|
+
color: `${t.palette.text.primary} !important`
|
|
928
|
+
},
|
|
929
|
+
"& > label": {
|
|
930
|
+
display: "flex",
|
|
931
|
+
textAlign: "left !important",
|
|
932
|
+
...t.typography.body,
|
|
933
|
+
color: `${t.palette.text.secondary} !important`,
|
|
934
|
+
padding: "0 !important"
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
"& .M4LButton-root": {
|
|
941
|
+
display: "flex",
|
|
942
|
+
width: "100%",
|
|
943
|
+
justifyContent: "right"
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
}
|
|
719
950
|
});
|
|
720
951
|
export {
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
d,
|
|
952
|
+
n as M,
|
|
953
|
+
r as a,
|
|
954
|
+
p as b,
|
|
955
|
+
d as c,
|
|
956
|
+
u as d,
|
|
726
957
|
s as e,
|
|
727
958
|
M as f,
|
|
728
|
-
|
|
959
|
+
l as g,
|
|
960
|
+
c as h
|
|
729
961
|
};
|