@m4l/styles 7.1.13 → 7.1.14-beta.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/config.js +8 -6
- package/index.js +36 -36
- package/package.json +3 -2
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.js +113 -111
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.js +193 -191
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.js +94 -92
- package/theme/overrides/M4LExtendedComponents/M4LAppBarCommercial.js +22 -20
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.js +410 -408
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.js +473 -471
- package/theme/overrides/M4LExtendedComponents/M4LAvatar.js +40 -38
- package/theme/overrides/M4LExtendedComponents/M4LBadge.js +31 -29
- package/theme/overrides/M4LExtendedComponents/M4LButton.js +214 -212
- package/theme/overrides/M4LExtendedComponents/M4LCheckBox.js +76 -74
- package/theme/overrides/M4LExtendedComponents/M4LCommonActions.js +15 -13
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.js +347 -345
- package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.js +25 -23
- package/theme/overrides/M4LExtendedComponents/M4LFieldLabel.js +23 -21
- package/theme/overrides/M4LExtendedComponents/M4LFormatter.js +15 -13
- package/theme/overrides/M4LExtendedComponents/M4LGridLayout.js +10 -8
- package/theme/overrides/M4LExtendedComponents/M4LHamburgerMenuCommercial.js +11 -9
- package/theme/overrides/M4LExtendedComponents/M4LIcon.js +50 -48
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.js +132 -130
- package/theme/overrides/M4LExtendedComponents/M4LImage.js +13 -11
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.js +53 -51
- package/theme/overrides/M4LExtendedComponents/M4LMFLoader.js +17 -15
- package/theme/overrides/M4LExtendedComponents/M4LMap.js +262 -260
- package/theme/overrides/M4LExtendedComponents/M4LMapGpsTools.js +53 -51
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.js +30 -28
- package/theme/overrides/M4LExtendedComponents/M4LMenuActions.js +31 -29
- package/theme/overrides/M4LExtendedComponents/M4LModalDialog.js +124 -122
- package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.js +15 -13
- package/theme/overrides/M4LExtendedComponents/M4LNavLink.js +19 -17
- package/theme/overrides/M4LExtendedComponents/M4LNoItemSelected.js +21 -19
- package/theme/overrides/M4LExtendedComponents/M4LPDFViewer.js +16 -14
- package/theme/overrides/M4LExtendedComponents/M4LPager.js +96 -94
- package/theme/overrides/M4LExtendedComponents/M4LPaperForm.js +51 -49
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.js +151 -149
- package/theme/overrides/M4LExtendedComponents/M4LPopover.js +83 -81
- package/theme/overrides/M4LExtendedComponents/M4LPrintingSystem.js +157 -155
- package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.js +107 -105
- package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.js +16 -14
- package/theme/overrides/M4LExtendedComponents/M4LScrollBar.js +33 -31
- package/theme/overrides/M4LExtendedComponents/M4LSectionCommercial.js +19 -17
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.js +1393 -1391
- package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.js +133 -131
- package/theme/overrides/M4LExtendedComponents/M4LStack.js +15 -13
- package/theme/overrides/M4LExtendedComponents/M4LTab.js +62 -60
- package/theme/overrides/M4LExtendedComponents/M4LTabContent.js +32 -30
- package/theme/overrides/M4LExtendedComponents/M4LTabs.js +39 -37
- package/theme/overrides/M4LExtendedComponents/M4LTooltip.js +23 -21
- package/theme/overrides/M4LExtendedComponents/M4LTopBar.js +54 -52
- package/theme/overrides/M4LExtendedComponents/M4LTypography.js +13 -11
- package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.js +17 -15
- package/theme/overrides/M4LExtendedComponents/M4LinearProgressIndeterminate.js +52 -50
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.js +202 -200
- package/theme/overrides/M4LExtendedComponents/M4LoadingError.js +59 -57
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.js +325 -321
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.js +11 -9
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.js +73 -71
- package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.js +111 -109
- package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.js +156 -154
- package/theme/overrides/M4LRHFComponents/M4LRHFPeriod.js +10 -8
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.js +150 -148
- package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.js +10 -8
- package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.js +152 -150
- package/theme/overrides/MUIComponents/Accordion.js +17 -17
- package/theme/overrides/MUIComponents/Autocomplete.js +4 -4
- package/theme/overrides/MUIComponents/Avatar.js +8 -8
- package/theme/overrides/MUIComponents/Backdrop.js +9 -8
- package/theme/overrides/MUIComponents/Badge.js +2 -2
- package/theme/overrides/MUIComponents/Breadcrumbs.js +4 -4
- package/theme/overrides/MUIComponents/Button.js +14 -14
- package/theme/overrides/MUIComponents/ButtonGroup.js +16 -16
- package/theme/overrides/MUIComponents/Card.js +7 -7
- package/theme/overrides/MUIComponents/Checkbox.js +6 -6
- package/theme/overrides/MUIComponents/CmpDisenoTest.js +8 -6
- package/theme/overrides/MUIComponents/ControlLabel.js +5 -5
- package/theme/overrides/MUIComponents/CssBaseline.js +2 -2
- package/theme/overrides/MUIComponents/DataGrid.js +27 -27
- package/theme/overrides/MUIComponents/Drawer.js +11 -11
- package/theme/overrides/MUIComponents/Fab.js +9 -9
- package/theme/overrides/MUIComponents/IconButton.js +4 -4
- package/theme/overrides/MUIComponents/Input.js +19 -19
- package/theme/overrides/MUIComponents/InputLabel.js +2 -2
- package/theme/overrides/MUIComponents/Link.js +3 -3
- package/theme/overrides/MUIComponents/List.js +4 -4
- package/theme/overrides/MUIComponents/LoadingButton.js +4 -4
- package/theme/overrides/MUIComponents/Menu.js +4 -4
- package/theme/overrides/MUIComponents/Pagination.js +11 -11
- package/theme/overrides/MUIComponents/Paper.js +22 -22
- package/theme/overrides/MUIComponents/Popover.js +2 -2
- package/theme/overrides/MUIComponents/Progress.js +4 -4
- package/theme/overrides/MUIComponents/Radio.js +3 -3
- package/theme/overrides/MUIComponents/Skeleton.js +3 -3
- package/theme/overrides/MUIComponents/Slider.js +6 -6
- package/theme/overrides/MUIComponents/Stepper.js +3 -3
- package/theme/overrides/MUIComponents/SvgIcon.js +2 -2
- package/theme/overrides/MUIComponents/Switch.js +8 -8
- package/theme/overrides/MUIComponents/Table.js +25 -25
- package/theme/overrides/MUIComponents/Timeline.js +3 -3
- package/theme/overrides/MUIComponents/ToggleButton.js +20 -20
- package/theme/overrides/MUIComponents/Tooltip.js +5 -5
- package/theme/overrides/MUIComponents/Typography.js +4 -4
- package/theme/overrides/index.js +202 -202
- package/theme/palette/baseChipsPalette.js +107 -106
- package/theme/palette/baseColors.js +2 -2
- package/theme/palette/baseOpacityColors.js +110 -110
- package/theme/palette/commonColors.js +2 -2
- package/theme/palette/defaultColors.js +67 -65
- package/theme/palette/greyPalette.js +11 -11
- package/theme/palette/presetColors.js +366 -362
- package/theme/palette/semanticColors.js +241 -239
- package/theme/shadows.js +82 -72
- package/theme/sizes/baseBorder.js +2 -2
- package/theme/sizes/baseBorderRadius.js +2 -2
- package/theme/sizes/baseSizes.js +2 -2
- package/theme/sizes/pointerQr.js +24 -23
- package/theme/sizes/presetSizes.js +24 -23
- package/theme/sizes/size.js +13 -13
- package/theme/typography/baseFontSize.js +2 -2
- package/theme/typography/baseLetterSpacing.js +2 -2
- package/theme/typography/baseLineHeight.js +2 -2
- package/theme/typography/baseWeight.js +2 -2
- package/theme/typography/typography.js +11 -11
- package/theme/typography/typographySizes.js +169 -168
- package/theme/typography.d.ts +0 -4
- package/theme/typography.js +27 -27
- package/utils/getColorPresets.js +10 -9
- package/utils/getColorState.js +4 -2
- package/utils/getFontValue.js +11 -11
- package/utils/getPaletteByPreset.js +102 -100
- package/utils/getUserThemeOptions.d.ts +1 -1
- package/utils/getUserThemeOptions.js +19 -18
- package/utils/useResponsive.js +21 -13
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
const M4LRHFAutocompleteAsync = (_theme) => {
|
|
2
|
+
return {
|
|
3
|
+
M4LRHFAutocompleteAsync: {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
"&.M4LRHFAutocompleteAsync-root": {
|
|
6
|
+
width: "100%",
|
|
7
|
+
height: "auto"
|
|
8
|
+
}
|
|
7
9
|
}
|
|
8
10
|
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
+
};
|
|
12
|
+
};
|
|
11
13
|
export {
|
|
12
|
-
|
|
14
|
+
M4LRHFAutocompleteAsync as M
|
|
13
15
|
};
|
|
@@ -1,80 +1,82 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"& .
|
|
11
|
-
"& .
|
|
12
|
-
"& .
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
const M4LRHFCheckbox = (theme) => {
|
|
2
|
+
return {
|
|
3
|
+
M4LRHFCheckbox: {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
"&.M4LRHFCheckbox-root": {
|
|
6
|
+
display: "flex",
|
|
7
|
+
flexDirection: "column",
|
|
8
|
+
width: "100%",
|
|
9
|
+
[theme.breakpoints.down("sm")]: {
|
|
10
|
+
"& .M4LRHFCheckbox-checkTypography": {
|
|
11
|
+
"& .M4LCheckBox-root": {
|
|
12
|
+
"& .MuiButtonBase-root": {
|
|
13
|
+
"& .MuiSvgIcon-fontSizeSmall": {
|
|
14
|
+
height: "20px",
|
|
15
|
+
width: "20px"
|
|
16
|
+
}
|
|
15
17
|
}
|
|
16
18
|
}
|
|
17
19
|
}
|
|
20
|
+
},
|
|
21
|
+
".M4LRHFCheckbox-checkTypography": {
|
|
22
|
+
display: "flex",
|
|
23
|
+
gap: theme.spacing(2),
|
|
24
|
+
[theme.breakpoints.down("sm")]: {
|
|
25
|
+
gap: theme.spacing(1),
|
|
26
|
+
...theme.colorSchemes.finalTheme.typography.paragraph
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"& .MuiTypography-root": {
|
|
30
|
+
color: theme.vars.palette.text.primary,
|
|
31
|
+
...theme.colorSchemes.finalTheme.typography.body
|
|
32
|
+
},
|
|
33
|
+
/* caso small */
|
|
34
|
+
".M4LRHFCheckbox-small .MuiButtonBase-root": {
|
|
35
|
+
width: "20px",
|
|
36
|
+
height: "20px"
|
|
37
|
+
},
|
|
38
|
+
".MuiCheckbox-root .MuiSvgIcon-fontSizeSmall": {
|
|
39
|
+
width: "16px",
|
|
40
|
+
height: "16px"
|
|
41
|
+
},
|
|
42
|
+
/* caso medium */
|
|
43
|
+
".M4LRHFCheckbox-medium .MuiButtonBase-root": {
|
|
44
|
+
width: "24px",
|
|
45
|
+
height: "24px"
|
|
46
|
+
},
|
|
47
|
+
".MuiCheckbox-root .MuiSvgIcon-fontSizeMedium": {
|
|
48
|
+
width: "20px",
|
|
49
|
+
height: "20px"
|
|
50
|
+
},
|
|
51
|
+
".MuiButtonBase-root": {
|
|
52
|
+
borderRadius: "4px"
|
|
53
|
+
},
|
|
54
|
+
".MuiButtonBase-root:hover": {
|
|
55
|
+
backgroundColor: theme.vars.palette.primary.opacity
|
|
56
|
+
},
|
|
57
|
+
".Mui-focusVisible": {
|
|
58
|
+
border: "1px solid",
|
|
59
|
+
borderColor: theme.vars.palette.primary.active
|
|
60
|
+
},
|
|
61
|
+
".MuiButtonBase-root:hover .MuiSvgIcon-root": {
|
|
62
|
+
fill: theme.vars.palette.primary?.hover
|
|
63
|
+
},
|
|
64
|
+
/* caso general */
|
|
65
|
+
".M4LRHFCheckbox-checkTypography .MuiTypography-root": {
|
|
66
|
+
...theme.colorSchemes.finalTheme.typography.body
|
|
67
|
+
},
|
|
68
|
+
".M4LRHFCheckbox-stateDisabled .MuiSvgIcon-root": {
|
|
69
|
+
fill: theme.vars.palette.background?.default
|
|
70
|
+
},
|
|
71
|
+
/* selector del caso focus por tab */
|
|
72
|
+
".MuiButtonBase-root .Mui-focusVisible:focus-visible": {
|
|
73
|
+
outline: "#FFF00"
|
|
18
74
|
}
|
|
19
|
-
},
|
|
20
|
-
".M4LRHFCheckbox-checkTypography": {
|
|
21
|
-
display: "flex",
|
|
22
|
-
gap: o.spacing(2),
|
|
23
|
-
[o.breakpoints.down("sm")]: {
|
|
24
|
-
gap: o.spacing(1),
|
|
25
|
-
...o.colorSchemes.finalTheme.typography.paragraph
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"& .MuiTypography-root": {
|
|
29
|
-
color: o.vars.palette.text.primary,
|
|
30
|
-
...o.colorSchemes.finalTheme.typography.body
|
|
31
|
-
},
|
|
32
|
-
/* caso small */
|
|
33
|
-
".M4LRHFCheckbox-small .MuiButtonBase-root": {
|
|
34
|
-
width: "20px",
|
|
35
|
-
height: "20px"
|
|
36
|
-
},
|
|
37
|
-
".MuiCheckbox-root .MuiSvgIcon-fontSizeSmall": {
|
|
38
|
-
width: "16px",
|
|
39
|
-
height: "16px"
|
|
40
|
-
},
|
|
41
|
-
/* caso medium */
|
|
42
|
-
".M4LRHFCheckbox-medium .MuiButtonBase-root": {
|
|
43
|
-
width: "24px",
|
|
44
|
-
height: "24px"
|
|
45
|
-
},
|
|
46
|
-
".MuiCheckbox-root .MuiSvgIcon-fontSizeMedium": {
|
|
47
|
-
width: "20px",
|
|
48
|
-
height: "20px"
|
|
49
|
-
},
|
|
50
|
-
".MuiButtonBase-root": {
|
|
51
|
-
borderRadius: "4px"
|
|
52
|
-
},
|
|
53
|
-
".MuiButtonBase-root:hover": {
|
|
54
|
-
backgroundColor: o.vars.palette.primary.opacity
|
|
55
|
-
},
|
|
56
|
-
".Mui-focusVisible": {
|
|
57
|
-
border: "1px solid",
|
|
58
|
-
borderColor: o.vars.palette.primary.active
|
|
59
|
-
},
|
|
60
|
-
".MuiButtonBase-root:hover .MuiSvgIcon-root": {
|
|
61
|
-
fill: o.vars.palette.primary?.hover
|
|
62
|
-
},
|
|
63
|
-
/* caso general */
|
|
64
|
-
".M4LRHFCheckbox-checkTypography .MuiTypography-root": {
|
|
65
|
-
...o.colorSchemes.finalTheme.typography.body
|
|
66
|
-
},
|
|
67
|
-
".M4LRHFCheckbox-stateDisabled .MuiSvgIcon-root": {
|
|
68
|
-
fill: o.vars.palette.background?.default
|
|
69
|
-
},
|
|
70
|
-
/* selector del caso focus por tab */
|
|
71
|
-
".MuiButtonBase-root .Mui-focusVisible:focus-visible": {
|
|
72
|
-
outline: "#FFF00"
|
|
73
75
|
}
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
+
};
|
|
79
|
+
};
|
|
78
80
|
export {
|
|
79
|
-
|
|
81
|
+
M4LRHFCheckbox as M
|
|
80
82
|
};
|
|
@@ -1,133 +1,135 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
"& .M4LRHFColorPicker-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
const M4LRHFColorPicker = (theme) => {
|
|
2
|
+
return {
|
|
3
|
+
M4LRHFColorPicker: {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
"&.M4LRHFColorPicker-root": {
|
|
6
|
+
width: "100%",
|
|
7
|
+
display: "flex",
|
|
8
|
+
flexDirection: "column",
|
|
9
|
+
gap: "4px",
|
|
10
|
+
outline: "unset",
|
|
11
|
+
"&.M4LRHFColorPicker-sizeSmall": {
|
|
12
|
+
"& .M4LRHFColorPicker-containerFieldColor": {
|
|
13
|
+
"& .M4LRHFColorPicker-boxColor": {
|
|
14
|
+
width: "20px",
|
|
15
|
+
height: "20px"
|
|
16
|
+
}
|
|
15
17
|
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
},
|
|
19
|
+
"&.M4LRHFColorPicker-sizeMedium": {
|
|
20
|
+
"& .M4LRHFColorPicker-containerFieldColor": {
|
|
21
|
+
"& .M4LRHFColorPicker-boxColor": {
|
|
22
|
+
width: "24px",
|
|
23
|
+
height: "24px"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"& .M4LRHFColorPicker-skeleton": {
|
|
28
|
+
borderRadius: "4px"
|
|
29
|
+
},
|
|
19
30
|
"& .M4LRHFColorPicker-containerFieldColor": {
|
|
31
|
+
display: "flex",
|
|
32
|
+
aligItems: "center",
|
|
33
|
+
justifyContent: "center",
|
|
34
|
+
gap: "4px",
|
|
35
|
+
padding: "2px",
|
|
36
|
+
border: "1.5px solid",
|
|
37
|
+
borderColor: theme.vars.palette?.border.default,
|
|
38
|
+
borderRadius: "4px",
|
|
39
|
+
width: "fit-content",
|
|
20
40
|
"& .M4LRHFColorPicker-boxColor": {
|
|
21
|
-
|
|
22
|
-
|
|
41
|
+
cursor: "pointer"
|
|
42
|
+
},
|
|
43
|
+
/* '& .M4LIcon-root': {
|
|
44
|
+
minHeight: '18px',
|
|
45
|
+
minWidth: '18px',
|
|
46
|
+
cursor: 'pointer',
|
|
47
|
+
borderRadius: '4px',
|
|
48
|
+
}, */
|
|
49
|
+
"& .M4LIcon-root:hover": {
|
|
50
|
+
background: theme.vars.palette.background.hover
|
|
23
51
|
}
|
|
24
52
|
}
|
|
25
|
-
},
|
|
26
|
-
"& .M4LRHFColorPicker-skeleton": {
|
|
27
|
-
borderRadius: "4px"
|
|
28
|
-
},
|
|
29
|
-
"& .M4LRHFColorPicker-containerFieldColor": {
|
|
30
|
-
display: "flex",
|
|
31
|
-
aligItems: "center",
|
|
32
|
-
justifyContent: "center",
|
|
33
|
-
gap: "4px",
|
|
34
|
-
padding: "2px",
|
|
35
|
-
border: "1.5px solid",
|
|
36
|
-
borderColor: o.vars.palette?.border.default,
|
|
37
|
-
borderRadius: "4px",
|
|
38
|
-
width: "fit-content",
|
|
39
|
-
"& .M4LRHFColorPicker-boxColor": {
|
|
40
|
-
cursor: "pointer"
|
|
41
|
-
},
|
|
42
|
-
/* '& .M4LIcon-root': {
|
|
43
|
-
minHeight: '18px',
|
|
44
|
-
minWidth: '18px',
|
|
45
|
-
cursor: 'pointer',
|
|
46
|
-
borderRadius: '4px',
|
|
47
|
-
}, */
|
|
48
|
-
"& .M4LIcon-root:hover": {
|
|
49
|
-
background: o.vars.palette.background.hover
|
|
50
|
-
}
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
borderColor: o.vars.palette?.border.secondary,
|
|
63
|
-
borderRadius: "4px",
|
|
64
|
-
boxShadow: o.vars.customShadows.z4,
|
|
65
|
-
test: "root",
|
|
66
|
-
"& .M4LRHFColorPicker-containerPicker": {
|
|
67
|
-
background: "transparent",
|
|
55
|
+
},
|
|
56
|
+
M4LRHFColorPickerPopoverRoot: {
|
|
57
|
+
styleOverrides: {
|
|
58
|
+
"&.M4LRHFColorPicker-popoverRoot": {
|
|
59
|
+
"& .MuiPaper-root": {
|
|
60
|
+
background: theme.vars.palette.background.default,
|
|
61
|
+
padding: "8px",
|
|
62
|
+
border: "1px solid",
|
|
63
|
+
borderColor: theme.vars.palette?.border.secondary,
|
|
68
64
|
borderRadius: "4px",
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
background: "transparent !important",
|
|
75
|
-
boxShadow: "none !important",
|
|
76
|
-
padding: "12px !important",
|
|
65
|
+
boxShadow: theme.vars.customShadows.z4,
|
|
66
|
+
test: "root",
|
|
67
|
+
"& .M4LRHFColorPicker-containerPicker": {
|
|
68
|
+
background: "transparent",
|
|
69
|
+
borderRadius: "4px",
|
|
77
70
|
display: "flex",
|
|
78
71
|
flexDirection: "column",
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
borderRadius: "4px",
|
|
83
|
-
backgroundColor: o.vars.palette.background.default,
|
|
84
|
-
"& :nth-of-type(-n + 1)": {
|
|
85
|
-
borderRadius: "4px"
|
|
86
|
-
},
|
|
87
|
-
"& .flexbox-fix": {
|
|
88
|
-
border: "none !important",
|
|
72
|
+
alignItems: "flex-end",
|
|
73
|
+
gap: "24px",
|
|
74
|
+
"& .sketch-picker": {
|
|
89
75
|
background: "transparent !important",
|
|
90
|
-
"
|
|
76
|
+
boxShadow: "none !important",
|
|
77
|
+
padding: "12px !important",
|
|
78
|
+
display: "flex",
|
|
79
|
+
flexDirection: "column",
|
|
80
|
+
gap: "8px",
|
|
81
|
+
border: "1px solid",
|
|
82
|
+
borderColor: theme.vars.palette?.border.secondary,
|
|
83
|
+
borderRadius: "4px",
|
|
84
|
+
backgroundColor: theme.vars.palette.background.default,
|
|
85
|
+
"& :nth-of-type(-n + 1)": {
|
|
86
|
+
borderRadius: "4px"
|
|
87
|
+
},
|
|
88
|
+
"& .flexbox-fix": {
|
|
89
|
+
border: "none !important",
|
|
90
|
+
background: "transparent !important",
|
|
91
91
|
"& > div": {
|
|
92
|
-
|
|
93
|
-
flexDirection: "column-reverse",
|
|
94
|
-
...o.colorSchemes.finalTheme.typography.body,
|
|
95
|
-
color: o.vars.palette.text.secondary,
|
|
96
|
-
gap: "2px",
|
|
97
|
-
padding: "0 important",
|
|
98
|
-
"& > input": {
|
|
92
|
+
"& > div": {
|
|
99
93
|
display: "flex",
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
94
|
+
flexDirection: "column-reverse",
|
|
95
|
+
...theme.colorSchemes.finalTheme.typography.body,
|
|
96
|
+
color: theme.vars.palette.text.secondary,
|
|
97
|
+
gap: "2px",
|
|
98
|
+
padding: "0 important",
|
|
99
|
+
"& > input": {
|
|
100
|
+
display: "flex",
|
|
101
|
+
textAlign: "center !important",
|
|
102
|
+
border: "1px solid",
|
|
103
|
+
borderColor: theme.vars.palette?.border.default,
|
|
104
|
+
borderRadius: "2px",
|
|
105
|
+
background: "transparent",
|
|
106
|
+
minHeight: "24px",
|
|
107
|
+
height: "24px !important",
|
|
108
|
+
...theme.colorSchemes.finalTheme.typography.body,
|
|
109
|
+
color: `${theme.vars.palette.text.primary} !important`
|
|
110
|
+
},
|
|
111
|
+
"& > label": {
|
|
112
|
+
display: "flex",
|
|
113
|
+
textAlign: "left !important",
|
|
114
|
+
...theme.colorSchemes.finalTheme.typography.body,
|
|
115
|
+
color: `${theme.vars.palette.text.secondary} !important`,
|
|
116
|
+
padding: "0 !important"
|
|
117
|
+
}
|
|
116
118
|
}
|
|
117
119
|
}
|
|
118
120
|
}
|
|
121
|
+
},
|
|
122
|
+
"& .M4LButton-root": {
|
|
123
|
+
display: "flex",
|
|
124
|
+
justifyContent: "right"
|
|
119
125
|
}
|
|
120
|
-
},
|
|
121
|
-
"& .M4LButton-root": {
|
|
122
|
-
display: "flex",
|
|
123
|
-
justifyContent: "right"
|
|
124
126
|
}
|
|
125
127
|
}
|
|
126
128
|
}
|
|
127
129
|
}
|
|
128
130
|
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
+
};
|
|
132
|
+
};
|
|
131
133
|
export {
|
|
132
|
-
|
|
134
|
+
M4LRHFColorPicker as M
|
|
133
135
|
};
|