@m4l/styles 0.0.21 → 0.0.22

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.
Files changed (26) hide show
  1. package/index.js +10 -10
  2. package/package.json +1 -1
  3. package/theme/{defaultThemeOptions.81e20130.js → defaultThemeOptions.733652aa.js} +5 -5
  4. package/theme/index.fa6b03ae.js +7 -0
  5. package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +8 -2
  6. package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +16 -2
  7. package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +2 -1
  8. package/theme/overrides/M4LExtendedComponents/M4LCheckBox.d.ts +56 -0
  9. package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +988 -0
  10. package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +6 -0
  11. package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +34 -0
  12. package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +4 -0
  13. package/theme/overrides/M4LExtendedComponents/{index.9ecb9eb5.js → index.28d622ba.js} +356 -44
  14. package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +64 -30
  15. package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +1 -0
  16. package/theme/overrides/M4LRHFComponents/{index.e3118e8b.js → index.0e107243.js} +67 -38
  17. package/theme/overrides/MUIComponents/Autocomplete.d.ts +13 -2
  18. package/theme/overrides/MUIComponents/{index.25926753.js → index.d308ce65.js} +35 -24
  19. package/theme/overrides/index.76becad2.js +93 -0
  20. package/theme/{palette.ad96498c.js → palette.a914c187.js} +2 -2
  21. package/theme/{shadows.c56e8ae9.js → shadows.3dfe77c2.js} +1 -1
  22. package/theme/{typography.39389e10.js → typography.dd335f0f.js} +4 -4
  23. package/utils/{getColorPresets.82f91ceb.js → getColorPresets.9c103b85.js} +1 -1
  24. package/utils/{getColorState.0e5b3a7c.js → getColorState.184e9d10.js} +6 -6
  25. package/theme/index.38ad102a.js +0 -7
  26. package/theme/overrides/index.05460ef6.js +0 -90
package/index.js CHANGED
@@ -1,20 +1,20 @@
1
- import { d as f } from "./theme/defaultThemeOptions.81e20130.js";
2
- import { c as l, s as g } from "./theme/shadows.c56e8ae9.js";
3
- import { P as n, p as d } from "./theme/palette.ad96498c.js";
4
- import { t as S } from "./theme/typography.39389e10.js";
5
- import { f as O } from "./theme/overrides/index.05460ef6.js";
1
+ import { d as f } from "./theme/defaultThemeOptions.733652aa.js";
2
+ import { c as l, s as g } from "./theme/shadows.3dfe77c2.js";
3
+ import { P as n, p as d } from "./theme/palette.a914c187.js";
4
+ import { t as S } from "./theme/typography.dd335f0f.js";
5
+ import { f as O } from "./theme/overrides/index.76becad2.js";
6
6
  import { u as c } from "./utils/useResponsive.2c45e8e0.js";
7
- import { e as T, c as b, d as v, b as z, g as w, a as y, t as F } from "./utils/getColorPresets.82f91ceb.js";
8
- import { g as k } from "./utils/getColorState.0e5b3a7c.js";
7
+ import { e as T, c as b, d as v, b as z, g as w, a as y, t as F } from "./utils/getColorPresets.9c103b85.js";
8
+ import { g as k } from "./utils/getColorState.184e9d10.js";
9
9
  import { g as A, p as B, a as L, r as N } from "./utils/getFontValue.88831637.js";
10
10
  import { g as j, m as D } from "./config.5405b46b.js";
11
11
  import "@mui/material/styles";
12
12
  import "@mui/material/useMediaQuery";
13
13
  import "@mui/system";
14
14
  import "@mui/material";
15
- import "./theme/overrides/MUIComponents/index.25926753.js";
16
- import "./theme/overrides/M4LExtendedComponents/index.9ecb9eb5.js";
17
- import "./theme/overrides/M4LRHFComponents/index.e3118e8b.js";
15
+ import "./theme/overrides/MUIComponents/index.d308ce65.js";
16
+ import "./theme/overrides/M4LExtendedComponents/index.28d622ba.js";
17
+ import "./theme/overrides/M4LRHFComponents/index.0e107243.js";
18
18
  export {
19
19
  n as PATRONUSCOLORS,
20
20
  T as blaze,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/styles",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "license": "UNLICENSED",
5
5
  "author": "m4l team",
6
6
  "dependencies": {
@@ -1,12 +1,12 @@
1
1
  import "@mui/material/styles";
2
2
  import "@mui/material/useMediaQuery";
3
- import { g as t } from "../utils/getColorPresets.82f91ceb.js";
3
+ import { g as t } from "../utils/getColorPresets.9c103b85.js";
4
4
  import "@mui/system";
5
- import { t as o } from "./typography.39389e10.js";
6
- import { p as a } from "./palette.ad96498c.js";
5
+ import { t as o } from "./typography.dd335f0f.js";
6
+ import { p as a } from "./palette.a914c187.js";
7
7
  import { alpha as s } from "@mui/material";
8
- import { s as p, c as e } from "./shadows.c56e8ae9.js";
9
- import { g as i } from "../utils/getColorState.0e5b3a7c.js";
8
+ import { s as p, c as e } from "./shadows.3dfe77c2.js";
9
+ import { g as i } from "../utils/getColorState.184e9d10.js";
10
10
  const w = {
11
11
  typography: o,
12
12
  palette: {
@@ -0,0 +1,7 @@
1
+ import "./defaultThemeOptions.733652aa.js";
2
+ import "./shadows.3dfe77c2.js";
3
+ import "./palette.a914c187.js";
4
+ import "./typography.dd335f0f.js";
5
+ import "@mui/material";
6
+ import "@mui/material/styles";
7
+ import "@mui/system";
@@ -2,7 +2,9 @@ import { Theme } from '@mui/material/styles';
2
2
  export declare const M4LAccountPopover: (theme: Theme) => {
3
3
  M4LAccountPopover: {
4
4
  styleOverrides: {
5
- '&.M4LAccountPopover-root': {};
5
+ '&.M4LAccountPopover-root': {
6
+ borderRadius: string;
7
+ };
6
8
  };
7
9
  };
8
10
  M4LAccountPopoverPopover: {
@@ -12,17 +14,21 @@ export declare const M4LAccountPopover: (theme: Theme) => {
12
14
  display: string;
13
15
  flexDirection: string;
14
16
  gap: string;
17
+ borderRadius: string;
15
18
  '& .MuiPaper-root': {
16
19
  display: string;
17
20
  flexDirection: string;
18
21
  gap: string;
19
22
  padding: string;
23
+ borderRadius: string;
24
+ boxShadow: string;
25
+ background: string;
20
26
  };
21
27
  '& .M4LAccountPopover-containerAppVersion': {
22
28
  display: string;
23
29
  borderBottom: string;
24
30
  borderColor: string;
25
- paddingBottom: string;
31
+ padding: string;
26
32
  };
27
33
  '& .M4LAccountPopover-containerMenuItems': {
28
34
  '& .M4LAccountPopover-menuItem': {
@@ -209,8 +209,22 @@ export declare const M4LAreasViewer: (theme: Theme) => {
209
209
  "& .M4LTypography-root .MuiTypography-root": {
210
210
  [x: string]: any;
211
211
  };
212
- "& .M4LIcon-icon": {
213
- backgroundColor: string;
212
+ "& .MuiButtonBase-root": {
213
+ "& .M4LIcon-icon": {
214
+ backgroundColor: string;
215
+ };
216
+ };
217
+ "& .Mui-disabled": {
218
+ "& .M4LIcon-icon": {
219
+ backgroundColor: string;
220
+ };
221
+ };
222
+ "& .MuiButtonBase-root:hover": {
223
+ background: string;
224
+ color: string;
225
+ "& .M4LIcon-icon": {
226
+ backgroundColor: string;
227
+ };
214
228
  };
215
229
  };
216
230
  };
@@ -1,5 +1,5 @@
1
1
  import { Theme } from '@mui/material/styles';
2
- export declare const M4LAvatar: (_theme: Theme) => {
2
+ export declare const M4LAvatar: (theme: Theme) => {
3
3
  M4LAvatar: {
4
4
  styleOverrides: {
5
5
  '&.M4LAvatar-root': {
@@ -7,6 +7,7 @@ export declare const M4LAvatar: (_theme: Theme) => {
7
7
  width: string;
8
8
  height: string;
9
9
  borderRadius: string;
10
+ background: string | undefined;
10
11
  };
11
12
  test: string;
12
13
  };
@@ -0,0 +1,56 @@
1
+ import { Theme } from '@mui/material/styles';
2
+ export declare const M4LCheckBox: (theme: Theme) => {
3
+ M4LCheckBox: {
4
+ styleOverrides: {
5
+ '&.M4LCheckBox-root': {
6
+ display: string;
7
+ flexDirection: string;
8
+ gap: string;
9
+ '& .MuiTypography-root': {
10
+ color: string;
11
+ };
12
+ '.M4LCheckBox-small .MuiButtonBase-root': {
13
+ width: string;
14
+ height: string;
15
+ };
16
+ '.MuiCheckbox-root .MuiSvgIcon-fontSizeSmall': {
17
+ width: string;
18
+ height: string;
19
+ };
20
+ '.M4LCheckBox-medium .MuiButtonBase-root': {
21
+ width: string;
22
+ height: string;
23
+ };
24
+ '.MuiCheckbox-root .MuiSvgIcon-fontSizeMedium': {
25
+ width: string;
26
+ height: string;
27
+ };
28
+ '.MuiButtonBase-root': {
29
+ borderRadius: string;
30
+ };
31
+ '.MuiButtonBase-root:hover': {
32
+ backgroundColor: string;
33
+ };
34
+ '.Mui-focusVisible': {
35
+ border: string;
36
+ borderColor: string;
37
+ };
38
+ '.MuiButtonBase-root:hover .MuiSvgIcon-root': {
39
+ fill: string;
40
+ };
41
+ '.M4LCheckBox-checkTypography .MuiTypography-root': {
42
+ [x: string]: any;
43
+ };
44
+ '.M4LCheckBox-stateDisabled .MuiSvgIcon-root': {
45
+ fill: string;
46
+ };
47
+ '.M4LCheckBox-stateDisabled .MuiTypography-root': {
48
+ color: string;
49
+ };
50
+ '.MuiButtonBase-root .Mui-focusVisible:focus-visible': {
51
+ outline: string;
52
+ };
53
+ };
54
+ };
55
+ };
56
+ };