@m4l/styles 0.0.22 → 0.0.24

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 (41) hide show
  1. package/index.js +17 -17
  2. package/package.json +1 -1
  3. package/theme/{defaultThemeOptions.733652aa.js → defaultThemeOptions.d50c50f1.js} +5 -5
  4. package/theme/index.5e193e78.js +7 -0
  5. package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +1 -0
  6. package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +85 -25
  7. package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +2 -4
  8. package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +5965 -218
  9. package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +22 -2
  10. package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +9 -1
  11. package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +26 -1
  12. package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +287 -821
  13. package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +17 -12
  14. package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +1 -3
  15. package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +955 -4
  16. package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +0 -3
  17. package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +76 -0
  18. package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +14 -1
  19. package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +4 -1
  20. package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +158 -53
  21. package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +2 -1
  22. package/theme/overrides/M4LExtendedComponents/{index.28d622ba.js → index.83dad55c.js} +626 -240
  23. package/theme/overrides/MUIComponents/Avatar.d.ts +2 -0
  24. package/theme/overrides/MUIComponents/Button.d.ts +7 -0
  25. package/theme/overrides/MUIComponents/DataGrid.d.ts +1 -1616
  26. package/theme/overrides/MUIComponents/Input.d.ts +1 -1
  27. package/theme/overrides/MUIComponents/Menu.d.ts +1 -0
  28. package/theme/overrides/MUIComponents/{index.d308ce65.js → index.1489876d.js} +33 -22
  29. package/theme/overrides/{index.76becad2.js → index.03494fe3.js} +3 -3
  30. package/theme/palette.d.ts +10 -6
  31. package/theme/{palette.a914c187.js → palette.d06284f6.js} +53 -33
  32. package/theme/{shadows.3dfe77c2.js → shadows.7ecb0e23.js} +1 -1
  33. package/theme/{typography.dd335f0f.js → typography.b693a0c9.js} +4 -4
  34. package/types/augmentations.d.ts +1 -1
  35. package/types/types.d.ts +1 -1
  36. package/utils/getColorPresets.826b8bc5.js +70 -0
  37. package/utils/getColorPresets.d.ts +1 -1
  38. package/utils/{getColorState.184e9d10.js → getColorState.c9741929.js} +39 -27
  39. package/utils/getColorState.d.ts +1 -0
  40. package/theme/index.fa6b03ae.js +0 -7
  41. package/utils/getColorPresets.9c103b85.js +0 -70
package/index.js CHANGED
@@ -1,30 +1,30 @@
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
- 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.9c103b85.js";
8
- import { g as k } from "./utils/getColorState.184e9d10.js";
1
+ import { d as f } from "./theme/defaultThemeOptions.d50c50f1.js";
2
+ import { c as l, s as g } from "./theme/shadows.7ecb0e23.js";
3
+ import { P as u, p as d } from "./theme/palette.d06284f6.js";
4
+ import { t as S } from "./theme/typography.b693a0c9.js";
5
+ import { f as O } from "./theme/overrides/index.03494fe3.js";
6
+ import { u as b } from "./utils/useResponsive.2c45e8e0.js";
7
+ import { e as h, b as T, c as v, d as w, g as z, a as y, t as F } from "./utils/getColorPresets.826b8bc5.js";
8
+ import { g as k } from "./utils/getColorState.c9741929.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.d308ce65.js";
16
- import "./theme/overrides/M4LExtendedComponents/index.28d622ba.js";
15
+ import "./theme/overrides/MUIComponents/index.1489876d.js";
16
+ import "./theme/overrides/M4LExtendedComponents/index.83dad55c.js";
17
17
  import "./theme/overrides/M4LRHFComponents/index.0e107243.js";
18
18
  export {
19
- n as PATRONUSCOLORS,
20
- T as blaze,
21
- b as colorPresets,
19
+ u as PATRONUSCOLORS,
20
+ h as blaze,
21
+ T as brown,
22
+ v as colorPresets,
22
23
  l as createCustomShadows,
23
- v as defaultPreset,
24
+ w as defaultPreset,
24
25
  f as defaultThemeOptions,
25
- z as desert,
26
26
  O as fnComponentsOverrides,
27
- w as getColorPresets,
27
+ z as getColorPresets,
28
28
  k as getColorState,
29
29
  A as getFontValue,
30
30
  j as globalRemSize,
@@ -37,5 +37,5 @@ export {
37
37
  g as shadows,
38
38
  F as turqui,
39
39
  S as typography,
40
- c as useResponsive
40
+ b as useResponsive
41
41
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/styles",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
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.9c103b85.js";
3
+ import { g as t } from "../utils/getColorPresets.826b8bc5.js";
4
4
  import "@mui/system";
5
- import { t as o } from "./typography.dd335f0f.js";
6
- import { p as a } from "./palette.a914c187.js";
5
+ import { t as o } from "./typography.b693a0c9.js";
6
+ import { p as a } from "./palette.d06284f6.js";
7
7
  import { alpha as s } from "@mui/material";
8
- import { s as p, c as e } from "./shadows.3dfe77c2.js";
9
- import { g as i } from "../utils/getColorState.184e9d10.js";
8
+ import { s as p, c as e } from "./shadows.7ecb0e23.js";
9
+ import { g as i } from "../utils/getColorState.c9741929.js";
10
10
  const w = {
11
11
  typography: o,
12
12
  palette: {
@@ -0,0 +1,7 @@
1
+ import "./defaultThemeOptions.d50c50f1.js";
2
+ import "./shadows.7ecb0e23.js";
3
+ import "./palette.d06284f6.js";
4
+ import "./typography.b693a0c9.js";
5
+ import "@mui/material";
6
+ import "@mui/material/styles";
7
+ import "@mui/system";
@@ -19,6 +19,7 @@ export declare const M4LAccordion: (theme: Theme) => {
19
19
  };
20
20
  };
21
21
  '& .MuiButtonBase-root': {
22
+ padding: string;
22
23
  '&.MuiAccordionSummary-root.Mui-expanded': {
23
24
  background: string;
24
25
  '& .M4LTypography-root': {
@@ -10,7 +10,6 @@ export declare const M4LAccountPopover: (theme: Theme) => {
10
10
  M4LAccountPopoverPopover: {
11
11
  styleOverrides: {
12
12
  '&.M4LAccountPopover-popover': {
13
- test: string;
14
13
  display: string;
15
14
  flexDirection: string;
16
15
  gap: string;
@@ -23,38 +22,99 @@ export declare const M4LAccountPopover: (theme: Theme) => {
23
22
  borderRadius: string;
24
23
  boxShadow: string;
25
24
  background: string;
26
- };
27
- '& .M4LAccountPopover-containerAppVersion': {
28
- display: string;
29
- borderBottom: string;
30
- borderColor: string;
31
- padding: string;
32
- };
33
- '& .M4LAccountPopover-containerMenuItems': {
34
- '& .M4LAccountPopover-menuItem': {
25
+ '& .M4LAccountPopover-containerUserInfo': {
26
+ display: string;
27
+ flexDirection: string;
28
+ '& .M4LAccountPopover-containerUserName': {
29
+ display: string;
30
+ flexDirection: string;
31
+ gap: string;
32
+ padding: string;
33
+ "& .M4LAccountPopover-labelUserName": {
34
+ padding: string;
35
+ color: string;
36
+ };
37
+ };
38
+ '& .M4LAccountPopover-containerUserEmail': {
39
+ display: string;
40
+ flexDirection: string;
41
+ gap: string;
42
+ padding: string;
43
+ "& .M4LAccountPopover-labelUserEmail": {
44
+ padding: string;
45
+ color: string;
46
+ };
47
+ };
48
+ };
49
+ '& .M4LAccountPopover-containerAppVersion': {
50
+ display: string;
51
+ flexDirection: string;
52
+ gap: string;
53
+ padding: string;
54
+ "& .M4LAccountPopover-labelVersion": {
55
+ padding: string;
56
+ color: string;
57
+ };
58
+ };
59
+ '& .M4LAccountPopover-containerMenuItems': {
60
+ borderTop: string;
61
+ borderBottom: string;
62
+ borderColor: string;
63
+ padding: string;
64
+ margin: string;
65
+ display: string;
66
+ flexDirection: string;
67
+ gap: string;
68
+ '& .M4LAccountPopover-containerSetting': {
69
+ display: string;
70
+ flexDirection: string;
71
+ gap: string;
72
+ width: string;
73
+ borderRadius: string;
74
+ padding: string;
75
+ '&:hover': {
76
+ background: string;
77
+ };
78
+ '& .M4LAccountPopover-menuItem': {
79
+ padding: string;
80
+ borderRadius: string;
81
+ cursor: string;
82
+ };
83
+ };
84
+ };
85
+ '& .M4LAccountPopover-logOut': {
35
86
  padding: string;
36
87
  borderRadius: string;
37
- cursor: string;
38
88
  '&:hover': {
39
89
  background: string;
40
90
  };
91
+ justifyContent: string;
92
+ cursor: string;
93
+ color: string;
41
94
  };
42
- };
43
- '& .M4LAccountPopover-logOut': {
44
- borderTop: string;
45
- borderColor: string;
46
- justifyContent: string;
47
- paddingTop: string;
48
- cursor: string;
49
- padding: string;
50
- borderRadius: string;
51
- '&:hover': {
52
- background: string;
95
+ '& .M4LPopover-arrowStyle': {
96
+ display: string;
97
+ '& .M4LAccountPopover-containerUserInfo': {
98
+ display: string;
99
+ '& .M4LAccountPopover-containerUserName': {
100
+ display: string;
101
+ flexDirection: string;
102
+ gap: string;
103
+ };
104
+ '& .M4LAccountPopover-containerUserEmail': {
105
+ display: string;
106
+ flexDirection: string;
107
+ gap: string;
108
+ };
109
+ '& .M4LAccountPopover-containerAppVersion': {
110
+ display: string;
111
+ flexDirection: string;
112
+ gap: string;
113
+ };
114
+ '& .M4LAccountPopover-logOut': {};
115
+ };
53
116
  };
54
117
  };
55
- '& .M4LPopover-arrowStyle': {
56
- display: string;
57
- };
58
118
  };
59
119
  };
60
120
  };
@@ -65,7 +65,7 @@ export declare const M4LAppBar: (theme: Theme) => {
65
65
  boxShadow: string;
66
66
  paddingRight: string;
67
67
  borderRadius: string;
68
- overflow: string;
68
+ overflow?: undefined;
69
69
  justifyContent?: undefined;
70
70
  '& .M4LAvatar-root'?: undefined;
71
71
  } | {
@@ -181,10 +181,8 @@ export declare const M4LAppBar: (theme: Theme) => {
181
181
  alignItems: string;
182
182
  borderRadius: string;
183
183
  padding: string;
184
- borderTop: string;
185
184
  borderColor: string;
186
185
  background: string;
187
- boxShadow: string;
188
186
  justifyContent: string;
189
187
  marginLeft: string;
190
188
  '& .M4LAppBar-containerIconMenuToggle': {
@@ -230,7 +228,7 @@ export declare const M4LAppBar: (theme: Theme) => {
230
228
  boxShadow: string;
231
229
  paddingRight: string;
232
230
  borderRadius: string;
233
- overflow: string;
231
+ overflow?: undefined;
234
232
  justifyContent?: undefined;
235
233
  '& .M4LAvatar-root'?: undefined;
236
234
  } | {