@m4l/styles 0.0.23 → 0.0.25
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 +18 -18
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.605b5b1a.js → defaultThemeOptions.ce206b4e.js} +5 -5
- package/theme/index.8bbc9635.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +2 -4
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +64 -11
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +4 -8
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +12705 -5220
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +41 -7
- package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +4 -1
- package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +22 -1
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +11 -10
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +122 -25
- package/theme/overrides/M4LExtendedComponents/M4LGridLayout.d.ts +10 -0
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +3 -17
- package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +955 -4
- package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +0 -3
- package/theme/overrides/M4LExtendedComponents/M4LNoItemSelected.d.ts +22 -0
- package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +2 -3
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +14 -1
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +4 -1
- package/theme/overrides/M4LExtendedComponents/M4LScrollBar.d.ts +17 -0
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +265 -53
- package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.d.ts +31 -0
- package/theme/overrides/M4LExtendedComponents/M4LStack.d.ts +14 -0
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +2 -1
- package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +16 -0
- package/theme/overrides/M4LExtendedComponents/{index.566e183a.js → index.a0dbf03e.js} +896 -491
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +2 -0
- package/theme/overrides/M4LRHFComponents/{index.0e107243.js → index.3df47466.js} +2 -0
- package/theme/overrides/MUIComponents/Avatar.d.ts +2 -0
- package/theme/overrides/MUIComponents/Button.d.ts +7 -0
- package/theme/overrides/MUIComponents/Input.d.ts +1 -1
- package/theme/overrides/MUIComponents/Menu.d.ts +1 -0
- package/theme/overrides/MUIComponents/{index.b9c696e9.js → index.56b4e9b3.js} +40 -29
- package/theme/overrides/index.5c0e3013.js +98 -0
- package/theme/{palette.688aaf56.js → palette.b6e02e1c.js} +53 -33
- package/theme/palette.d.ts +10 -6
- package/theme/{shadows.1b2f7a87.js → shadows.386e7ef4.js} +1 -1
- package/theme/{typography.86a19de9.js → typography.248c39d2.js} +4 -4
- package/types/augmentations.d.ts +1 -1
- package/types/types.d.ts +1 -1
- package/utils/getColorPresets.241c5bac.js +70 -0
- package/utils/getColorPresets.d.ts +1 -1
- package/utils/{getColorState.7b615773.js → getColorState.2c0892d1.js} +66 -54
- package/utils/getColorState.d.ts +1 -0
- package/theme/index.c8a2f20d.js +0 -7
- package/theme/overrides/index.ed4b5bcb.js +0 -93
- package/utils/getColorPresets.8106cfef.js +0 -70
package/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { d as f } from "./theme/defaultThemeOptions.
|
|
2
|
-
import { c as l, s as g } from "./theme/shadows.
|
|
3
|
-
import { P as
|
|
4
|
-
import { t as S } from "./theme/typography.
|
|
5
|
-
import { f as O } from "./theme/overrides/index.
|
|
6
|
-
import { u as
|
|
7
|
-
import { e as
|
|
8
|
-
import { g as k } from "./utils/getColorState.
|
|
1
|
+
import { d as f } from "./theme/defaultThemeOptions.ce206b4e.js";
|
|
2
|
+
import { c as l, s as g } from "./theme/shadows.386e7ef4.js";
|
|
3
|
+
import { P as u, p as d } from "./theme/palette.b6e02e1c.js";
|
|
4
|
+
import { t as S } from "./theme/typography.248c39d2.js";
|
|
5
|
+
import { f as O } from "./theme/overrides/index.5c0e3013.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.241c5bac.js";
|
|
8
|
+
import { g as k } from "./utils/getColorState.2c0892d1.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.
|
|
16
|
-
import "./theme/overrides/M4LExtendedComponents/index.
|
|
17
|
-
import "./theme/overrides/M4LRHFComponents/index.
|
|
15
|
+
import "./theme/overrides/MUIComponents/index.56b4e9b3.js";
|
|
16
|
+
import "./theme/overrides/M4LExtendedComponents/index.a0dbf03e.js";
|
|
17
|
+
import "./theme/overrides/M4LRHFComponents/index.3df47466.js";
|
|
18
18
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
u as PATRONUSCOLORS,
|
|
20
|
+
h as blaze,
|
|
21
|
+
T as brown,
|
|
22
|
+
v as colorPresets,
|
|
22
23
|
l as createCustomShadows,
|
|
23
|
-
|
|
24
|
+
w as defaultPreset,
|
|
24
25
|
f as defaultThemeOptions,
|
|
25
|
-
z as desert,
|
|
26
26
|
O as fnComponentsOverrides,
|
|
27
|
-
|
|
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
|
-
|
|
40
|
+
b as useResponsive
|
|
41
41
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "@mui/material/styles";
|
|
2
2
|
import "@mui/material/useMediaQuery";
|
|
3
|
-
import { g as t } from "../utils/getColorPresets.
|
|
3
|
+
import { g as t } from "../utils/getColorPresets.241c5bac.js";
|
|
4
4
|
import "@mui/system";
|
|
5
|
-
import { t as o } from "./typography.
|
|
6
|
-
import { p as a } from "./palette.
|
|
5
|
+
import { t as o } from "./typography.248c39d2.js";
|
|
6
|
+
import { p as a } from "./palette.b6e02e1c.js";
|
|
7
7
|
import { alpha as s } from "@mui/material";
|
|
8
|
-
import { s as p, c as e } from "./shadows.
|
|
9
|
-
import { g as i } from "../utils/getColorState.
|
|
8
|
+
import { s as p, c as e } from "./shadows.386e7ef4.js";
|
|
9
|
+
import { g as i } from "../utils/getColorState.2c0892d1.js";
|
|
10
10
|
const w = {
|
|
11
11
|
typography: o,
|
|
12
12
|
palette: {
|
|
@@ -5,9 +5,6 @@ export declare const M4LAccordion: (theme: Theme) => {
|
|
|
5
5
|
'&.M4LAccordion-root': {
|
|
6
6
|
width: string;
|
|
7
7
|
background: string;
|
|
8
|
-
boxShadow: string;
|
|
9
|
-
borderTop: string;
|
|
10
|
-
borderColor: string;
|
|
11
8
|
borderRadius: string;
|
|
12
9
|
'& .M4LTypography-root': {
|
|
13
10
|
'& .MuiTypography-root': {
|
|
@@ -15,7 +12,9 @@ export declare const M4LAccordion: (theme: Theme) => {
|
|
|
15
12
|
};
|
|
16
13
|
};
|
|
17
14
|
'& .MuiPaper-root': {
|
|
15
|
+
background: string;
|
|
18
16
|
marginBottom: string;
|
|
17
|
+
borderRadius: string;
|
|
19
18
|
};
|
|
20
19
|
};
|
|
21
20
|
'& .MuiButtonBase-root': {
|
|
@@ -39,7 +38,6 @@ export declare const M4LAccordion: (theme: Theme) => {
|
|
|
39
38
|
};
|
|
40
39
|
'& .MuiCollapse-root': {
|
|
41
40
|
background: string;
|
|
42
|
-
boxShadow: string;
|
|
43
41
|
borderTop: string;
|
|
44
42
|
borderColor: string;
|
|
45
43
|
borderRadius: string;
|
|
@@ -25,19 +25,34 @@ export declare const M4LAccountPopover: (theme: Theme) => {
|
|
|
25
25
|
'& .M4LAccountPopover-containerUserInfo': {
|
|
26
26
|
display: string;
|
|
27
27
|
flexDirection: string;
|
|
28
|
-
|
|
28
|
+
'& .M4LAccountPopover-containerUserName': {
|
|
29
|
+
display: string;
|
|
30
|
+
flexDirection: string;
|
|
31
|
+
gap: string;
|
|
29
32
|
padding: string;
|
|
30
|
-
|
|
33
|
+
"& .M4LAccountPopover-labelUserName": {
|
|
34
|
+
padding: string;
|
|
35
|
+
color: string;
|
|
36
|
+
};
|
|
31
37
|
};
|
|
32
|
-
|
|
38
|
+
'& .M4LAccountPopover-containerUserEmail': {
|
|
39
|
+
display: string;
|
|
40
|
+
flexDirection: string;
|
|
41
|
+
gap: string;
|
|
33
42
|
padding: string;
|
|
34
|
-
|
|
43
|
+
"& .M4LAccountPopover-labelUserEmail": {
|
|
44
|
+
padding: string;
|
|
45
|
+
color: string;
|
|
46
|
+
};
|
|
35
47
|
};
|
|
36
48
|
};
|
|
37
49
|
'& .M4LAccountPopover-containerAppVersion': {
|
|
38
50
|
display: string;
|
|
51
|
+
flexDirection: string;
|
|
52
|
+
gap: string;
|
|
39
53
|
padding: string;
|
|
40
54
|
"& .M4LAccountPopover-labelVersion": {
|
|
55
|
+
padding: string;
|
|
41
56
|
color: string;
|
|
42
57
|
};
|
|
43
58
|
};
|
|
@@ -47,27 +62,65 @@ export declare const M4LAccountPopover: (theme: Theme) => {
|
|
|
47
62
|
borderColor: string;
|
|
48
63
|
padding: string;
|
|
49
64
|
margin: string;
|
|
50
|
-
|
|
51
|
-
|
|
65
|
+
display: string;
|
|
66
|
+
flexDirection: string;
|
|
67
|
+
gap: string;
|
|
68
|
+
'& .M4LAccountPopover-containerSetting': {
|
|
69
|
+
display: string;
|
|
70
|
+
flexDirection: string;
|
|
71
|
+
gap: string;
|
|
72
|
+
width: string;
|
|
52
73
|
borderRadius: string;
|
|
53
|
-
|
|
74
|
+
padding: string;
|
|
54
75
|
'&:hover': {
|
|
55
76
|
background: string;
|
|
56
77
|
};
|
|
78
|
+
'& .M4LAccountPopover-menuItem': {
|
|
79
|
+
padding: string;
|
|
80
|
+
borderRadius: string;
|
|
81
|
+
cursor: string;
|
|
82
|
+
};
|
|
57
83
|
};
|
|
58
84
|
};
|
|
59
|
-
'& .M4LAccountPopover-
|
|
85
|
+
'& .M4LAccountPopover-containerlogOut': {
|
|
86
|
+
display: string;
|
|
87
|
+
flexDirection: string;
|
|
88
|
+
gap: string;
|
|
60
89
|
padding: string;
|
|
61
90
|
borderRadius: string;
|
|
91
|
+
width: string;
|
|
92
|
+
alignItems: string;
|
|
62
93
|
'&:hover': {
|
|
63
94
|
background: string;
|
|
64
95
|
};
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
96
|
+
'& .M4LAccountPopover-logOut': {
|
|
97
|
+
padding: string;
|
|
98
|
+
borderRadius: string;
|
|
99
|
+
cursor: string;
|
|
100
|
+
color: string;
|
|
101
|
+
};
|
|
68
102
|
};
|
|
69
103
|
'& .M4LPopover-arrowStyle': {
|
|
70
104
|
display: string;
|
|
105
|
+
'& .M4LAccountPopover-containerUserInfo': {
|
|
106
|
+
display: string;
|
|
107
|
+
'& .M4LAccountPopover-containerUserName': {
|
|
108
|
+
display: string;
|
|
109
|
+
flexDirection: string;
|
|
110
|
+
gap: string;
|
|
111
|
+
};
|
|
112
|
+
'& .M4LAccountPopover-containerUserEmail': {
|
|
113
|
+
display: string;
|
|
114
|
+
flexDirection: string;
|
|
115
|
+
gap: string;
|
|
116
|
+
};
|
|
117
|
+
'& .M4LAccountPopover-containerAppVersion': {
|
|
118
|
+
display: string;
|
|
119
|
+
flexDirection: string;
|
|
120
|
+
gap: string;
|
|
121
|
+
};
|
|
122
|
+
'& .M4LAccountPopover-logOut': {};
|
|
123
|
+
};
|
|
71
124
|
};
|
|
72
125
|
};
|
|
73
126
|
};
|
|
@@ -6,6 +6,7 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
6
6
|
[x: string]: string | {
|
|
7
7
|
width: string;
|
|
8
8
|
marginLeft: string;
|
|
9
|
+
gap: string;
|
|
9
10
|
display?: undefined;
|
|
10
11
|
alingItems?: undefined;
|
|
11
12
|
height?: undefined;
|
|
@@ -17,7 +18,6 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
17
18
|
justifyContent?: undefined;
|
|
18
19
|
"& .M4LAppBar-iconMenuToggle"?: undefined;
|
|
19
20
|
flexDirection?: undefined;
|
|
20
|
-
gap?: undefined;
|
|
21
21
|
'& .M4LAppBar-containerChilds'?: undefined;
|
|
22
22
|
} | {
|
|
23
23
|
display: string;
|
|
@@ -51,8 +51,8 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
51
51
|
minHeight: string;
|
|
52
52
|
};
|
|
53
53
|
marginLeft?: undefined;
|
|
54
|
-
flexDirection?: undefined;
|
|
55
54
|
gap?: undefined;
|
|
55
|
+
flexDirection?: undefined;
|
|
56
56
|
'& .M4LAppBar-containerChilds'?: undefined;
|
|
57
57
|
} | {
|
|
58
58
|
[x: string]: string | {
|
|
@@ -65,7 +65,7 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
65
65
|
boxShadow: string;
|
|
66
66
|
paddingRight: string;
|
|
67
67
|
borderRadius: string;
|
|
68
|
-
overflow
|
|
68
|
+
overflow?: undefined;
|
|
69
69
|
justifyContent?: undefined;
|
|
70
70
|
'& .M4LAvatar-root'?: undefined;
|
|
71
71
|
} | {
|
|
@@ -179,14 +179,10 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
179
179
|
overflow: string;
|
|
180
180
|
height: string;
|
|
181
181
|
alignItems: string;
|
|
182
|
-
borderRadius: string;
|
|
183
182
|
padding: string;
|
|
184
|
-
borderTop: string;
|
|
185
183
|
borderColor: string;
|
|
186
184
|
background: string;
|
|
187
|
-
boxShadow: string;
|
|
188
185
|
justifyContent: string;
|
|
189
|
-
marginLeft: string;
|
|
190
186
|
'& .M4LAppBar-containerIconMenuToggle': {
|
|
191
187
|
display: string;
|
|
192
188
|
alingItems: string;
|
|
@@ -230,7 +226,7 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
230
226
|
boxShadow: string;
|
|
231
227
|
paddingRight: string;
|
|
232
228
|
borderRadius: string;
|
|
233
|
-
overflow
|
|
229
|
+
overflow?: undefined;
|
|
234
230
|
justifyContent?: undefined;
|
|
235
231
|
'& .M4LAvatar-root'?: undefined;
|
|
236
232
|
} | {
|