@m4l/styles 0.0.15 → 0.0.17

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 (47) hide show
  1. package/index.js +10 -10
  2. package/package.json +1 -1
  3. package/theme/{defaultThemeOptions.364b28b6.js → defaultThemeOptions.d67fe64c.js} +7 -7
  4. package/theme/index.efa44d2d.js +7 -0
  5. package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +53 -0
  6. package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +55 -0
  7. package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +164 -0
  8. package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +161 -63
  9. package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +1961 -37
  10. package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +15 -0
  11. package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +8 -12
  12. package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +10 -0
  13. package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +8 -3
  14. package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +34 -0
  15. package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +913 -0
  16. package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +22 -0
  17. package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +43 -0
  18. package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +99 -0
  19. package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.d.ts +10 -0
  20. package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.d.ts +13 -0
  21. package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.d.ts +92 -0
  22. package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +47 -0
  23. package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +26 -0
  24. package/theme/overrides/M4LExtendedComponents/M4LinearProgressIndeterminate.d.ts +56 -0
  25. package/theme/overrides/M4LExtendedComponents/{index.9ef37d1d.js → index.39bae580.js} +1251 -135
  26. package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +1 -0
  27. package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +0 -1
  28. package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.d.ts +130 -0
  29. package/theme/overrides/M4LRHFComponents/M4LRHFPeriod.d.ts +10 -0
  30. package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +16 -0
  31. package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.d.ts +172 -0
  32. package/theme/overrides/M4LRHFComponents/index.1406e2ed.js +678 -0
  33. package/theme/overrides/MUIComponents/Tabs.d.ts +23 -3
  34. package/theme/overrides/MUIComponents/{index.56660771.js → index.e3d060c3.js} +47 -27
  35. package/theme/overrides/index.2e62f620.js +89 -0
  36. package/theme/{palette.4b477f9b.js → palette.95c4f9c8.js} +17 -17
  37. package/theme/palette.d.ts +4 -4
  38. package/theme/{shadows.b2f38616.js → shadows.354bbb03.js} +1 -1
  39. package/theme/{typography.1db0276b.js → typography.61f909b7.js} +4 -4
  40. package/types/augmentations.d.ts +3 -1
  41. package/utils/{getColorPresets.f3113d85.js → getColorPresets.d73f30ad.js} +1 -1
  42. package/utils/getColorState.bde51cf7.js +159 -0
  43. package/utils/getColorState.d.ts +2 -0
  44. package/theme/index.cd1bedc8.js +0 -7
  45. package/theme/overrides/M4LRHFComponents/index.5f690e33.js +0 -350
  46. package/theme/overrides/index.19dec027.js +0 -70
  47. package/utils/getColorState.456150fd.js +0 -136
package/index.js CHANGED
@@ -1,20 +1,20 @@
1
- import { d as f } from "./theme/defaultThemeOptions.364b28b6.js";
2
- import { c as l, s as g } from "./theme/shadows.b2f38616.js";
3
- import { P as u, p as d } from "./theme/palette.4b477f9b.js";
4
- import { t as S } from "./theme/typography.1db0276b.js";
5
- import { f as C } from "./theme/overrides/index.19dec027.js";
1
+ import { d as f } from "./theme/defaultThemeOptions.d67fe64c.js";
2
+ import { c as l, s as g } from "./theme/shadows.354bbb03.js";
3
+ import { P as u, p as d } from "./theme/palette.95c4f9c8.js";
4
+ import { t as S } from "./theme/typography.61f909b7.js";
5
+ import { f as C } from "./theme/overrides/index.2e62f620.js";
6
6
  import { u as R } from "./utils/useResponsive.2c45e8e0.js";
7
- import { e as T, b, c as v, d as y, g as z, a as w, t as F } from "./utils/getColorPresets.f3113d85.js";
8
- import { g as k } from "./utils/getColorState.456150fd.js";
7
+ import { e as T, b, c as v, d as y, g as z, a as w, t as F } from "./utils/getColorPresets.d73f30ad.js";
8
+ import { g as k } from "./utils/getColorState.bde51cf7.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.56660771.js";
16
- import "./theme/overrides/M4LExtendedComponents/index.9ef37d1d.js";
17
- import "./theme/overrides/M4LRHFComponents/index.5f690e33.js";
15
+ import "./theme/overrides/MUIComponents/index.e3d060c3.js";
16
+ import "./theme/overrides/M4LExtendedComponents/index.39bae580.js";
17
+ import "./theme/overrides/M4LRHFComponents/index.1406e2ed.js";
18
18
  export {
19
19
  u 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.15",
3
+ "version": "0.0.17",
4
4
  "license": "UNLICENSED",
5
5
  "dependencies": {
6
6
  "@emotion/react": "^11.9.0",
@@ -1,18 +1,18 @@
1
1
  import "@mui/material/styles";
2
2
  import "@mui/material/useMediaQuery";
3
- import { g as t } from "../utils/getColorPresets.f3113d85.js";
3
+ import { g as t } from "../utils/getColorPresets.d73f30ad.js";
4
4
  import "@mui/system";
5
- import { t as o } from "./typography.1db0276b.js";
6
- import { p as a } from "./palette.4b477f9b.js";
5
+ import { t as o } from "./typography.61f909b7.js";
6
+ import { p as a } from "./palette.95c4f9c8.js";
7
7
  import { alpha as s } from "@mui/material";
8
- import { s as p, c as e } from "./shadows.b2f38616.js";
9
- import { g as m } from "../utils/getColorState.456150fd.js";
8
+ import { s as p, c as e } from "./shadows.354bbb03.js";
9
+ import { g as i } from "../utils/getColorState.bde51cf7.js";
10
10
  const w = {
11
11
  typography: o,
12
12
  palette: {
13
13
  ...a.light,
14
14
  primary: t("patronus"),
15
- state: { ...m("patronus", "light") },
15
+ state: { ...i("patronus", "light") },
16
16
  representative: t("patronus").darker
17
17
  },
18
18
  shape: { borderRadius: 8 },
@@ -20,7 +20,7 @@ const w = {
20
20
  shadows: p.light,
21
21
  customShadows: {
22
22
  primary: `0 8px 16px 0 ${s(t("patronus").main, 0.2)}`,
23
- ...e("dark")
23
+ ...e("light")
24
24
  },
25
25
  stretch: !0,
26
26
  spacing: (r) => `${0.5 * r}rem`
@@ -0,0 +1,7 @@
1
+ import "./defaultThemeOptions.d67fe64c.js";
2
+ import "./shadows.354bbb03.js";
3
+ import "./palette.95c4f9c8.js";
4
+ import "./typography.61f909b7.js";
5
+ import "@mui/material";
6
+ import "@mui/material/styles";
7
+ import "@mui/system";
@@ -0,0 +1,53 @@
1
+ import { Theme } from '@mui/material/styles';
2
+ export declare const M4LAccordion: (theme: Theme) => {
3
+ M4LAccordion: {
4
+ styleOverrides: {
5
+ '&.M4LAccordion-root': {
6
+ width: string;
7
+ background: string;
8
+ boxShadow: string;
9
+ borderTop: string;
10
+ borderColor: string;
11
+ borderRadius: string;
12
+ '& .M4LTypography-root': {
13
+ '& .MuiTypography-root': {
14
+ color: string;
15
+ };
16
+ };
17
+ '& .MuiPaper-root': {
18
+ marginBottom: string;
19
+ };
20
+ };
21
+ '& .MuiButtonBase-root': {
22
+ '&.MuiAccordionSummary-root.Mui-expanded': {
23
+ background: string;
24
+ '& .M4LTypography-root': {
25
+ '& .MuiTypography-root': {
26
+ color: string;
27
+ };
28
+ };
29
+ '& .MuiAccordionSummary-expandIconWrapper': {
30
+ transform: string;
31
+ };
32
+ '& .M4LAccordion-endIcon': {
33
+ transform: string;
34
+ };
35
+ '& .M4LIconButton-root': {};
36
+ };
37
+ test: string;
38
+ };
39
+ '& .MuiCollapse-root': {
40
+ background: string;
41
+ boxShadow: string;
42
+ borderTop: string;
43
+ borderColor: string;
44
+ borderRadius: string;
45
+ padding: string;
46
+ '& .MuiCollapse-wrapper': {
47
+ padding: string;
48
+ borderRadius: string;
49
+ };
50
+ };
51
+ };
52
+ };
53
+ };
@@ -0,0 +1,55 @@
1
+ import { Theme } from '@mui/material/styles';
2
+ export declare const M4LAccountPopover: (theme: Theme) => {
3
+ M4LAccountPopover: {
4
+ styleOverrides: {
5
+ '&.M4LAccountPopover-root': {};
6
+ };
7
+ };
8
+ M4LAccountPopoverPopover: {
9
+ styleOverrides: {
10
+ '&.M4LAccountPopover-popover': {
11
+ test: string;
12
+ display: string;
13
+ flexDirection: string;
14
+ gap: string;
15
+ '& .MuiPaper-root': {
16
+ display: string;
17
+ flexDirection: string;
18
+ gap: string;
19
+ padding: string;
20
+ };
21
+ '& .M4LAccountPopover-containerAppVersion': {
22
+ display: string;
23
+ borderBottom: string;
24
+ borderColor: string;
25
+ paddingBottom: string;
26
+ };
27
+ '& .M4LAccountPopover-containerMenuItems': {
28
+ '& .M4LAccountPopover-menuItem': {
29
+ padding: string;
30
+ borderRadius: string;
31
+ cursor: string;
32
+ '&:hover': {
33
+ background: string;
34
+ };
35
+ };
36
+ };
37
+ '& .M4LAccountPopover-logOut': {
38
+ borderTop: string;
39
+ borderColor: string;
40
+ justifyContent: string;
41
+ paddingTop: string;
42
+ cursor: string;
43
+ padding: string;
44
+ borderRadius: string;
45
+ '&:hover': {
46
+ background: string;
47
+ };
48
+ };
49
+ '& .M4LPopover-arrowStyle': {
50
+ display: string;
51
+ };
52
+ };
53
+ };
54
+ };
55
+ };
@@ -0,0 +1,164 @@
1
+ import { Theme } from '@mui/material/styles';
2
+ export declare const M4LAppBar: (theme: Theme) => {
3
+ M4LAppBar: {
4
+ styleOverrides: {
5
+ '&.M4LAppBar-root': {
6
+ [x: string]: string | {
7
+ display: string;
8
+ justifyContent: string;
9
+ alingItems: string;
10
+ width: string;
11
+ height: string;
12
+ minWidth: string;
13
+ minHeight: string;
14
+ alignItems: string;
15
+ borderRadius: string;
16
+ borderColor: string;
17
+ "& .M4LAppBar-iconMenuToggle": {
18
+ background: string;
19
+ boxShadow: string;
20
+ borderTop: string;
21
+ borderColor: string;
22
+ width: string;
23
+ height: string;
24
+ minWidth: string;
25
+ minHeight: string;
26
+ };
27
+ borderTop?: undefined;
28
+ background?: undefined;
29
+ boxShadow?: undefined;
30
+ paddingRight?: undefined;
31
+ overflow?: undefined;
32
+ '& .M4LAvatar-root'?: undefined;
33
+ } | {
34
+ display: string;
35
+ alignItems: string;
36
+ width: string;
37
+ borderTop: string;
38
+ borderColor: string;
39
+ background: string;
40
+ boxShadow: string;
41
+ paddingRight: string;
42
+ borderRadius: string;
43
+ justifyContent?: undefined;
44
+ alingItems?: undefined;
45
+ height?: undefined;
46
+ minWidth?: undefined;
47
+ minHeight?: undefined;
48
+ "& .M4LAppBar-iconMenuToggle"?: undefined;
49
+ overflow?: undefined;
50
+ '& .M4LAvatar-root'?: undefined;
51
+ } | {
52
+ [x: string]: string | {
53
+ alignItems: string;
54
+ gap: string;
55
+ borderRadius: string;
56
+ display: string;
57
+ width?: undefined;
58
+ height?: undefined;
59
+ '& .MuiAvatar-root'?: undefined;
60
+ } | {
61
+ width: string;
62
+ height: string;
63
+ '& .MuiAvatar-root': {
64
+ width: string;
65
+ height: string;
66
+ };
67
+ alignItems?: undefined;
68
+ gap?: undefined;
69
+ borderRadius?: undefined;
70
+ display?: undefined;
71
+ };
72
+ display: string;
73
+ width: string;
74
+ overflow: string;
75
+ alignItems: string;
76
+ borderRadius: string;
77
+ '& .M4LAvatar-root': {
78
+ width: string;
79
+ height: string;
80
+ '& .MuiAvatar-root': {
81
+ width: string;
82
+ height: string;
83
+ };
84
+ };
85
+ justifyContent?: undefined;
86
+ alingItems?: undefined;
87
+ height?: undefined;
88
+ minWidth?: undefined;
89
+ minHeight?: undefined;
90
+ borderColor?: undefined;
91
+ "& .M4LAppBar-iconMenuToggle"?: undefined;
92
+ borderTop?: undefined;
93
+ background?: undefined;
94
+ boxShadow?: undefined;
95
+ paddingRight?: undefined;
96
+ };
97
+ test: string;
98
+ display: string;
99
+ width: string;
100
+ overflow: string;
101
+ height: string;
102
+ alignItems: string;
103
+ borderRadius: string;
104
+ '& .M4LAppBar-containerIconMenuToggle': {
105
+ display: string;
106
+ justifyContent: string;
107
+ alingItems: string;
108
+ width: string;
109
+ height: string;
110
+ minWidth: string;
111
+ minHeight: string;
112
+ alignItems: string;
113
+ borderRadius: string;
114
+ borderColor: string;
115
+ "& .M4LAppBar-iconMenuToggle": {
116
+ background: string;
117
+ boxShadow: string;
118
+ borderTop: string;
119
+ borderColor: string;
120
+ width: string;
121
+ height: string;
122
+ minWidth: string;
123
+ minHeight: string;
124
+ };
125
+ };
126
+ '& .M4LAppBar-containerChilds': {
127
+ [x: string]: string | {
128
+ alignItems: string;
129
+ gap: string;
130
+ borderRadius: string;
131
+ display: string;
132
+ width?: undefined;
133
+ height?: undefined;
134
+ '& .MuiAvatar-root'?: undefined;
135
+ } | {
136
+ width: string;
137
+ height: string;
138
+ '& .MuiAvatar-root': {
139
+ width: string;
140
+ height: string;
141
+ };
142
+ alignItems?: undefined;
143
+ gap?: undefined;
144
+ borderRadius?: undefined;
145
+ display?: undefined;
146
+ };
147
+ display: string;
148
+ width: string;
149
+ overflow: string;
150
+ alignItems: string;
151
+ borderRadius: string;
152
+ '& .M4LAvatar-root': {
153
+ width: string;
154
+ height: string;
155
+ '& .MuiAvatar-root': {
156
+ width: string;
157
+ height: string;
158
+ };
159
+ };
160
+ };
161
+ };
162
+ };
163
+ };
164
+ };