@m4l/styles 0.0.19 → 0.0.21
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 +19 -19
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.d67fe64c.js → defaultThemeOptions.81e20130.js} +5 -5
- package/theme/index.38ad102a.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +237 -67
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +1151 -336
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +116 -63
- package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +245 -8
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +46 -12
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +8 -4
- package/theme/overrides/M4LExtendedComponents/{index.bd713d88.js → index.9ecb9eb5.js} +524 -289
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +17 -3
- package/theme/overrides/M4LRHFComponents/{index.1406e2ed.js → index.e3118e8b.js} +25 -11
- package/theme/overrides/MUIComponents/Button.d.ts +3 -1
- package/theme/overrides/MUIComponents/Input.d.ts +16 -3
- package/theme/overrides/MUIComponents/Tabs.d.ts +2 -0
- package/theme/overrides/MUIComponents/{index.e3d060c3.js → index.25926753.js} +50 -32
- package/theme/overrides/{index.6b7aec0f.js → index.05460ef6.js} +3 -3
- package/theme/{palette.95c4f9c8.js → palette.ad96498c.js} +114 -114
- package/theme/palette.d.ts +6 -6
- package/theme/{shadows.354bbb03.js → shadows.c56e8ae9.js} +1 -1
- package/theme/{typography.61f909b7.js → typography.39389e10.js} +4 -4
- package/types/types.d.ts +1 -1
- package/utils/getColorPresets.82f91ceb.js +70 -0
- package/utils/getColorPresets.d.ts +1 -1
- package/utils/getColorState.0e5b3a7c.js +172 -0
- package/utils/getColorState.d.ts +1 -0
- package/theme/index.efa44d2d.js +0 -7
- package/utils/getColorPresets.d73f30ad.js +0 -70
- package/utils/getColorState.bde51cf7.js +0 -159
package/index.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
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
|
|
6
|
-
import { u as
|
|
7
|
-
import { e as T, b,
|
|
8
|
-
import { g as k } from "./utils/getColorState.
|
|
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";
|
|
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";
|
|
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.25926753.js";
|
|
16
|
+
import "./theme/overrides/M4LExtendedComponents/index.9ecb9eb5.js";
|
|
17
|
+
import "./theme/overrides/M4LRHFComponents/index.e3118e8b.js";
|
|
18
18
|
export {
|
|
19
|
-
|
|
19
|
+
n as PATRONUSCOLORS,
|
|
20
20
|
T as blaze,
|
|
21
|
-
b as
|
|
22
|
-
v as colorPresets,
|
|
21
|
+
b as colorPresets,
|
|
23
22
|
l as createCustomShadows,
|
|
24
|
-
|
|
23
|
+
v as defaultPreset,
|
|
25
24
|
f as defaultThemeOptions,
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
z as desert,
|
|
26
|
+
O as fnComponentsOverrides,
|
|
27
|
+
w as getColorPresets,
|
|
28
28
|
k as getColorState,
|
|
29
29
|
A as getFontValue,
|
|
30
30
|
j as globalRemSize,
|
|
31
|
-
|
|
31
|
+
y as grass,
|
|
32
32
|
D as muiBreakpointsValues,
|
|
33
33
|
d as palette,
|
|
34
34
|
B as pxToRem,
|
|
@@ -37,5 +37,5 @@ export {
|
|
|
37
37
|
g as shadows,
|
|
38
38
|
F as turqui,
|
|
39
39
|
S as typography,
|
|
40
|
-
|
|
40
|
+
c 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.82f91ceb.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.39389e10.js";
|
|
6
|
+
import { p as a } from "./palette.ad96498c.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.c56e8ae9.js";
|
|
9
|
+
import { g as i } from "../utils/getColorState.0e5b3a7c.js";
|
|
10
10
|
const w = {
|
|
11
11
|
typography: o,
|
|
12
12
|
palette: {
|
|
@@ -4,8 +4,23 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
'&.M4LAppBar-root': {
|
|
6
6
|
[x: string]: string | {
|
|
7
|
+
width: string;
|
|
8
|
+
marginLeft: string;
|
|
9
|
+
display?: undefined;
|
|
10
|
+
alingItems?: undefined;
|
|
11
|
+
height?: undefined;
|
|
12
|
+
minWidth?: undefined;
|
|
13
|
+
minHeight?: undefined;
|
|
14
|
+
alignItems?: undefined;
|
|
15
|
+
borderRadius?: undefined;
|
|
16
|
+
borderColor?: undefined;
|
|
17
|
+
justifyContent?: undefined;
|
|
18
|
+
"& .M4LAppBar-iconMenuToggle"?: undefined;
|
|
19
|
+
flexDirection?: undefined;
|
|
20
|
+
gap?: undefined;
|
|
21
|
+
'& .M4LAppBar-containerChilds'?: undefined;
|
|
22
|
+
} | {
|
|
7
23
|
display: string;
|
|
8
|
-
justifyContent: string;
|
|
9
24
|
alingItems: string;
|
|
10
25
|
width: string;
|
|
11
26
|
height: string;
|
|
@@ -14,7 +29,18 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
14
29
|
alignItems: string;
|
|
15
30
|
borderRadius: string;
|
|
16
31
|
borderColor: string;
|
|
32
|
+
justifyContent: string;
|
|
17
33
|
"& .M4LAppBar-iconMenuToggle": {
|
|
34
|
+
[x: string]: string | {
|
|
35
|
+
background: string;
|
|
36
|
+
boxShadow: string;
|
|
37
|
+
borderTop: string;
|
|
38
|
+
borderColor: string;
|
|
39
|
+
width: string;
|
|
40
|
+
height: string;
|
|
41
|
+
minWidth: string;
|
|
42
|
+
minHeight: string;
|
|
43
|
+
};
|
|
18
44
|
background: string;
|
|
19
45
|
boxShadow: string;
|
|
20
46
|
borderTop: string;
|
|
@@ -24,77 +50,130 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
24
50
|
minWidth: string;
|
|
25
51
|
minHeight: string;
|
|
26
52
|
};
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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;
|
|
53
|
+
marginLeft?: undefined;
|
|
54
|
+
flexDirection?: undefined;
|
|
55
|
+
gap?: undefined;
|
|
56
|
+
'& .M4LAppBar-containerChilds'?: undefined;
|
|
51
57
|
} | {
|
|
52
58
|
[x: string]: string | {
|
|
53
|
-
|
|
59
|
+
display: string;
|
|
54
60
|
alignItems: string;
|
|
55
|
-
|
|
61
|
+
width: string;
|
|
62
|
+
borderTop: string;
|
|
63
|
+
borderColor: string;
|
|
64
|
+
background: string;
|
|
65
|
+
boxShadow: string;
|
|
66
|
+
paddingRight: string;
|
|
56
67
|
borderRadius: string;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
'& .
|
|
68
|
+
overflow: string;
|
|
69
|
+
justifyContent?: undefined;
|
|
70
|
+
'& .M4LAvatar-root'?: undefined;
|
|
60
71
|
} | {
|
|
72
|
+
[x: string]: string | {
|
|
73
|
+
width: string;
|
|
74
|
+
alignItems: string;
|
|
75
|
+
gap: string;
|
|
76
|
+
borderRadius: string;
|
|
77
|
+
display: string;
|
|
78
|
+
background: string;
|
|
79
|
+
boxShadow: string;
|
|
80
|
+
borderTop: string;
|
|
81
|
+
height?: undefined;
|
|
82
|
+
'& .MuiAvatar-root'?: undefined;
|
|
83
|
+
} | {
|
|
84
|
+
width: string;
|
|
85
|
+
height: string;
|
|
86
|
+
'& .MuiAvatar-root': {
|
|
87
|
+
width: string;
|
|
88
|
+
height: string;
|
|
89
|
+
};
|
|
90
|
+
alignItems?: undefined;
|
|
91
|
+
gap?: undefined;
|
|
92
|
+
borderRadius?: undefined;
|
|
93
|
+
display?: undefined;
|
|
94
|
+
background?: undefined;
|
|
95
|
+
boxShadow?: undefined;
|
|
96
|
+
borderTop?: undefined;
|
|
97
|
+
};
|
|
98
|
+
display: string;
|
|
61
99
|
width: string;
|
|
62
|
-
|
|
63
|
-
|
|
100
|
+
overflow: string;
|
|
101
|
+
alignItems: string;
|
|
102
|
+
borderRadius: string;
|
|
103
|
+
background: string;
|
|
104
|
+
boxShadow: string;
|
|
105
|
+
justifyContent: string;
|
|
106
|
+
'& .M4LAvatar-root': {
|
|
64
107
|
width: string;
|
|
65
108
|
height: string;
|
|
109
|
+
'& .MuiAvatar-root': {
|
|
110
|
+
width: string;
|
|
111
|
+
height: string;
|
|
112
|
+
};
|
|
66
113
|
};
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
display?: undefined;
|
|
114
|
+
borderTop?: undefined;
|
|
115
|
+
borderColor?: undefined;
|
|
116
|
+
paddingRight?: undefined;
|
|
71
117
|
};
|
|
72
118
|
display: string;
|
|
119
|
+
flexDirection: string;
|
|
120
|
+
gap: string;
|
|
73
121
|
width: string;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
122
|
+
justifyContent: string;
|
|
123
|
+
'& .M4LAppBar-containerChilds': {
|
|
124
|
+
[x: string]: string | {
|
|
125
|
+
width: string;
|
|
126
|
+
alignItems: string;
|
|
127
|
+
gap: string;
|
|
128
|
+
borderRadius: string;
|
|
129
|
+
display: string;
|
|
130
|
+
background: string;
|
|
131
|
+
boxShadow: string;
|
|
132
|
+
borderTop: string;
|
|
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
|
+
background?: undefined;
|
|
147
|
+
boxShadow?: undefined;
|
|
148
|
+
borderTop?: undefined;
|
|
149
|
+
};
|
|
150
|
+
display: string;
|
|
78
151
|
width: string;
|
|
79
|
-
|
|
80
|
-
|
|
152
|
+
overflow: string;
|
|
153
|
+
alignItems: string;
|
|
154
|
+
borderRadius: string;
|
|
155
|
+
background: string;
|
|
156
|
+
boxShadow: string;
|
|
157
|
+
justifyContent: string;
|
|
158
|
+
'& .M4LAvatar-root': {
|
|
81
159
|
width: string;
|
|
82
160
|
height: string;
|
|
161
|
+
'& .MuiAvatar-root': {
|
|
162
|
+
width: string;
|
|
163
|
+
height: string;
|
|
164
|
+
};
|
|
83
165
|
};
|
|
84
166
|
};
|
|
85
|
-
|
|
167
|
+
marginLeft?: undefined;
|
|
86
168
|
alingItems?: undefined;
|
|
87
169
|
height?: undefined;
|
|
88
170
|
minWidth?: undefined;
|
|
89
171
|
minHeight?: undefined;
|
|
172
|
+
alignItems?: undefined;
|
|
173
|
+
borderRadius?: undefined;
|
|
90
174
|
borderColor?: undefined;
|
|
91
175
|
"& .M4LAppBar-iconMenuToggle"?: undefined;
|
|
92
|
-
borderTop?: undefined;
|
|
93
|
-
background?: undefined;
|
|
94
|
-
boxShadow?: undefined;
|
|
95
|
-
paddingRight?: undefined;
|
|
96
176
|
};
|
|
97
|
-
test: string;
|
|
98
177
|
display: string;
|
|
99
178
|
width: string;
|
|
100
179
|
overflow: string;
|
|
@@ -106,9 +185,10 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
106
185
|
borderColor: string;
|
|
107
186
|
background: string;
|
|
108
187
|
boxShadow: string;
|
|
188
|
+
justifyContent: string;
|
|
189
|
+
marginLeft: string;
|
|
109
190
|
'& .M4LAppBar-containerIconMenuToggle': {
|
|
110
191
|
display: string;
|
|
111
|
-
justifyContent: string;
|
|
112
192
|
alingItems: string;
|
|
113
193
|
width: string;
|
|
114
194
|
height: string;
|
|
@@ -117,7 +197,18 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
117
197
|
alignItems: string;
|
|
118
198
|
borderRadius: string;
|
|
119
199
|
borderColor: string;
|
|
200
|
+
justifyContent: string;
|
|
120
201
|
"& .M4LAppBar-iconMenuToggle": {
|
|
202
|
+
[x: string]: string | {
|
|
203
|
+
background: string;
|
|
204
|
+
boxShadow: string;
|
|
205
|
+
borderTop: string;
|
|
206
|
+
borderColor: string;
|
|
207
|
+
width: string;
|
|
208
|
+
height: string;
|
|
209
|
+
minWidth: string;
|
|
210
|
+
minHeight: string;
|
|
211
|
+
};
|
|
121
212
|
background: string;
|
|
122
213
|
boxShadow: string;
|
|
123
214
|
borderTop: string;
|
|
@@ -128,42 +219,121 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
128
219
|
minHeight: string;
|
|
129
220
|
};
|
|
130
221
|
};
|
|
131
|
-
|
|
222
|
+
"& .M4LAppBar-containerChilds": {
|
|
132
223
|
[x: string]: string | {
|
|
133
|
-
|
|
224
|
+
display: string;
|
|
134
225
|
alignItems: string;
|
|
135
|
-
|
|
226
|
+
width: string;
|
|
227
|
+
borderTop: string;
|
|
228
|
+
borderColor: string;
|
|
229
|
+
background: string;
|
|
230
|
+
boxShadow: string;
|
|
231
|
+
paddingRight: string;
|
|
136
232
|
borderRadius: string;
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
'& .
|
|
233
|
+
overflow: string;
|
|
234
|
+
justifyContent?: undefined;
|
|
235
|
+
'& .M4LAvatar-root'?: undefined;
|
|
140
236
|
} | {
|
|
237
|
+
[x: string]: string | {
|
|
238
|
+
width: string;
|
|
239
|
+
alignItems: string;
|
|
240
|
+
gap: string;
|
|
241
|
+
borderRadius: string;
|
|
242
|
+
display: string;
|
|
243
|
+
background: string;
|
|
244
|
+
boxShadow: string;
|
|
245
|
+
borderTop: string;
|
|
246
|
+
height?: undefined;
|
|
247
|
+
'& .MuiAvatar-root'?: undefined;
|
|
248
|
+
} | {
|
|
249
|
+
width: string;
|
|
250
|
+
height: string;
|
|
251
|
+
'& .MuiAvatar-root': {
|
|
252
|
+
width: string;
|
|
253
|
+
height: string;
|
|
254
|
+
};
|
|
255
|
+
alignItems?: undefined;
|
|
256
|
+
gap?: undefined;
|
|
257
|
+
borderRadius?: undefined;
|
|
258
|
+
display?: undefined;
|
|
259
|
+
background?: undefined;
|
|
260
|
+
boxShadow?: undefined;
|
|
261
|
+
borderTop?: undefined;
|
|
262
|
+
};
|
|
263
|
+
display: string;
|
|
141
264
|
width: string;
|
|
142
|
-
|
|
143
|
-
|
|
265
|
+
overflow: string;
|
|
266
|
+
alignItems: string;
|
|
267
|
+
borderRadius: string;
|
|
268
|
+
background: string;
|
|
269
|
+
boxShadow: string;
|
|
270
|
+
justifyContent: string;
|
|
271
|
+
'& .M4LAvatar-root': {
|
|
144
272
|
width: string;
|
|
145
273
|
height: string;
|
|
274
|
+
'& .MuiAvatar-root': {
|
|
275
|
+
width: string;
|
|
276
|
+
height: string;
|
|
277
|
+
};
|
|
146
278
|
};
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
display?: undefined;
|
|
279
|
+
borderTop?: undefined;
|
|
280
|
+
borderColor?: undefined;
|
|
281
|
+
paddingRight?: undefined;
|
|
151
282
|
};
|
|
152
283
|
display: string;
|
|
284
|
+
flexDirection: string;
|
|
285
|
+
gap: string;
|
|
153
286
|
width: string;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
287
|
+
justifyContent: string;
|
|
288
|
+
'& .M4LAppBar-containerChilds': {
|
|
289
|
+
[x: string]: string | {
|
|
290
|
+
width: string;
|
|
291
|
+
alignItems: string;
|
|
292
|
+
gap: string;
|
|
293
|
+
borderRadius: string;
|
|
294
|
+
display: string;
|
|
295
|
+
background: string;
|
|
296
|
+
boxShadow: string;
|
|
297
|
+
borderTop: string;
|
|
298
|
+
height?: undefined;
|
|
299
|
+
'& .MuiAvatar-root'?: undefined;
|
|
300
|
+
} | {
|
|
301
|
+
width: string;
|
|
302
|
+
height: string;
|
|
303
|
+
'& .MuiAvatar-root': {
|
|
304
|
+
width: string;
|
|
305
|
+
height: string;
|
|
306
|
+
};
|
|
307
|
+
alignItems?: undefined;
|
|
308
|
+
gap?: undefined;
|
|
309
|
+
borderRadius?: undefined;
|
|
310
|
+
display?: undefined;
|
|
311
|
+
background?: undefined;
|
|
312
|
+
boxShadow?: undefined;
|
|
313
|
+
borderTop?: undefined;
|
|
314
|
+
};
|
|
315
|
+
display: string;
|
|
158
316
|
width: string;
|
|
159
|
-
|
|
160
|
-
|
|
317
|
+
overflow: string;
|
|
318
|
+
alignItems: string;
|
|
319
|
+
borderRadius: string;
|
|
320
|
+
background: string;
|
|
321
|
+
boxShadow: string;
|
|
322
|
+
justifyContent: string;
|
|
323
|
+
'& .M4LAvatar-root': {
|
|
161
324
|
width: string;
|
|
162
325
|
height: string;
|
|
326
|
+
'& .MuiAvatar-root': {
|
|
327
|
+
width: string;
|
|
328
|
+
height: string;
|
|
329
|
+
};
|
|
163
330
|
};
|
|
164
331
|
};
|
|
165
332
|
};
|
|
166
333
|
};
|
|
167
334
|
};
|
|
335
|
+
"*css-1gn3ygk": {
|
|
336
|
+
overflow: string;
|
|
337
|
+
};
|
|
168
338
|
};
|
|
169
339
|
};
|