@m4l/styles 0.0.22 → 0.0.23
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 +9 -9
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.733652aa.js → defaultThemeOptions.605b5b1a.js} +5 -5
- package/theme/index.c8a2f20d.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +40 -25
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +5604 -190
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +0 -2
- package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +3 -1
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +4 -0
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +280 -818
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +15 -2
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +6 -0
- package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +76 -0
- package/theme/overrides/M4LExtendedComponents/{index.28d622ba.js → index.566e183a.js} +349 -127
- package/theme/overrides/MUIComponents/DataGrid.d.ts +1 -1616
- package/theme/overrides/MUIComponents/{index.d308ce65.js → index.b9c696e9.js} +2 -2
- package/theme/overrides/{index.76becad2.js → index.ed4b5bcb.js} +2 -2
- package/theme/{palette.a914c187.js → palette.688aaf56.js} +1 -1
- package/theme/{shadows.3dfe77c2.js → shadows.1b2f7a87.js} +1 -1
- package/theme/{typography.dd335f0f.js → typography.86a19de9.js} +4 -4
- package/utils/{getColorPresets.9c103b85.js → getColorPresets.8106cfef.js} +1 -1
- package/utils/{getColorState.184e9d10.js → getColorState.7b615773.js} +31 -31
- package/theme/index.fa6b03ae.js +0 -7
|
@@ -848,7 +848,7 @@ function m(o) {
|
|
|
848
848
|
borderRadius: o.shape.borderRadius
|
|
849
849
|
},
|
|
850
850
|
"& .MuiMenuItem-root": {
|
|
851
|
-
...o.typography.
|
|
851
|
+
...o.typography.body
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
854
|
}
|
|
@@ -866,7 +866,7 @@ function m(o) {
|
|
|
866
866
|
display: "none"
|
|
867
867
|
},
|
|
868
868
|
"& .MuiNativeSelect-select, .MuiInput-input": {
|
|
869
|
-
...o.typography.
|
|
869
|
+
...o.typography.body,
|
|
870
870
|
padding: o.spacing(0.75, 1),
|
|
871
871
|
borderRadius: o.shape.borderRadius,
|
|
872
872
|
backgroundColor: o.palette.background.neutral
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as s, T as o, C as r, M as L, L as M, I as n, a as i, R as p, B as d, b as l, c as u, P as c, S as g, d as B, e as A, D as F, A as P, f as b, g as T, h as v, i as y, j as C, k as D, l as I, m as R, n as H, o as f, p as k, q as x, r as S, s as w, t as G, u as j, v as E, w as q, x as z, y as O, z as V, E as N, G as U } from "./MUIComponents/index.
|
|
2
|
-
import { M as J, a as K, b as Q, c as W, d as X, e as Y, f as Z, g as _, h as $, i as t, j as m, k as e, l as h, m as aa, n as sa, o as oa, p as ra, q as La, r as Ma, s as na, t as ia, u as pa, v as da, w as la, x as ua, y as ca, z as ga, A as Ba, B as Aa, C as Fa, D as Pa, E as ba, F as Ta, G as va, H as ya } from "./M4LExtendedComponents/index.
|
|
1
|
+
import { F as s, T as o, C as r, M as L, L as M, I as n, a as i, R as p, B as d, b as l, c as u, P as c, S as g, d as B, e as A, D as F, A as P, f as b, g as T, h as v, i as y, j as C, k as D, l as I, m as R, n as H, o as f, p as k, q as x, r as S, s as w, t as G, u as j, v as E, w as q, x as z, y as O, z as V, E as N, G as U } from "./MUIComponents/index.b9c696e9.js";
|
|
2
|
+
import { M as J, a as K, b as Q, c as W, d as X, e as Y, f as Z, g as _, h as $, i as t, j as m, k as e, l as h, m as aa, n as sa, o as oa, p as ra, q as La, r as Ma, s as na, t as ia, u as pa, v as da, w as la, x as ua, y as ca, z as ga, A as Ba, B as Aa, C as Fa, D as Pa, E as ba, F as Ta, G as va, H as ya } from "./M4LExtendedComponents/index.566e183a.js";
|
|
3
3
|
import { M as Ca, a as Da, b as Ia, c as Ra, d as Ha, e as fa, f as ka, g as xa } from "./M4LRHFComponents/index.0e107243.js";
|
|
4
4
|
function ja(a) {
|
|
5
5
|
return Object.assign(
|
|
@@ -326,7 +326,7 @@ const e = {
|
|
|
326
326
|
paper: "#fff0",
|
|
327
327
|
default: e.marbleLight[20],
|
|
328
328
|
neutral: e.marbleLight[40],
|
|
329
|
-
background: e.marbleLight[
|
|
329
|
+
background: e.marbleLight[70]
|
|
330
330
|
},
|
|
331
331
|
grid: { sectionHeader: "#F6F7F9", divider: "#EDEFF2", rowHover: "#FAFBFC" }
|
|
332
332
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { alpha as a } from "@mui/material/styles";
|
|
2
|
-
import { p as e, P as r } from "./palette.
|
|
2
|
+
import { p as e, P as r } from "./palette.688aaf56.js";
|
|
3
3
|
const s = e.light.grey[500], n = "#000000", o = (t) => {
|
|
4
4
|
const p = a(t, 0.2), x = a(t, 0.14), $ = a(t, 0.12);
|
|
5
5
|
return [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "@mui/material/styles";
|
|
2
2
|
import "@mui/material/useMediaQuery";
|
|
3
|
-
import "../utils/getColorPresets.
|
|
3
|
+
import "../utils/getColorPresets.8106cfef.js";
|
|
4
4
|
import "@mui/system";
|
|
5
|
-
import "./defaultThemeOptions.
|
|
6
|
-
import "./shadows.
|
|
7
|
-
import "./palette.
|
|
5
|
+
import "./defaultThemeOptions.605b5b1a.js";
|
|
6
|
+
import "./shadows.1b2f7a87.js";
|
|
7
|
+
import "./palette.688aaf56.js";
|
|
8
8
|
import "@mui/material";
|
|
9
9
|
import { r as t, p as i } from "../utils/getFontValue.88831637.js";
|
|
10
10
|
const e = "Poppins, sans-serif", p = {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { alpha as r } from "@mui/system";
|
|
2
|
-
import "../theme/defaultThemeOptions.
|
|
3
|
-
import "../theme/shadows.
|
|
4
|
-
import { P as e, S as
|
|
5
|
-
import "../theme/typography.
|
|
2
|
+
import "../theme/defaultThemeOptions.605b5b1a.js";
|
|
3
|
+
import "../theme/shadows.1b2f7a87.js";
|
|
4
|
+
import { P as e, S as t } from "../theme/palette.688aaf56.js";
|
|
5
|
+
import "../theme/typography.86a19de9.js";
|
|
6
6
|
import "@mui/material";
|
|
7
7
|
import "@mui/material/styles";
|
|
8
8
|
const f = (a, l) => {
|
|
9
|
-
let
|
|
9
|
+
let o = {};
|
|
10
10
|
switch (a) {
|
|
11
11
|
case "patronus":
|
|
12
|
-
|
|
12
|
+
o = {
|
|
13
13
|
light: {
|
|
14
14
|
active12: r(e?.patronusBlue[50], 0.08),
|
|
15
15
|
active: e?.patronusBlue[50],
|
|
16
16
|
focus: e?.patronusBlue[40],
|
|
17
17
|
hover: e?.patronusBlue[40],
|
|
18
|
-
overdefoult: r(e?.coolGrey[
|
|
19
|
-
default: r(e?.
|
|
18
|
+
overdefoult: r(e?.coolGrey[60], 0.1),
|
|
19
|
+
default: r(e?.marbleLight[40], 0.5),
|
|
20
20
|
borderDefault: e?.coolGrey[40],
|
|
21
21
|
borderTop: e?.marbleLight[10],
|
|
22
|
-
...
|
|
22
|
+
...t
|
|
23
23
|
},
|
|
24
24
|
dark: {
|
|
25
25
|
active12: r(e?.patronusBlue[50], 0.08),
|
|
@@ -30,22 +30,22 @@ const f = (a, l) => {
|
|
|
30
30
|
default: r(e?.marbleLight[10], 0.04),
|
|
31
31
|
borderDefault: e?.coolGrey[20],
|
|
32
32
|
borderTop: r(e?.marbleLight[10], 0.04),
|
|
33
|
-
...
|
|
33
|
+
...t
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
break;
|
|
37
37
|
case "turqui":
|
|
38
|
-
|
|
38
|
+
o = {
|
|
39
39
|
light: {
|
|
40
40
|
active12: r(e?.turquiBlue[50], 0.08),
|
|
41
41
|
active: e?.turquiBlue[50],
|
|
42
42
|
focus: e?.turquiBlue[70],
|
|
43
43
|
hover: e?.turquiBlue[70],
|
|
44
44
|
overdefoult: r(e?.coolGrey[70], 0.1),
|
|
45
|
-
default: r(e?.
|
|
45
|
+
default: r(e?.marbleLight[60], 0.3),
|
|
46
46
|
borderDefault: e?.coolGrey[40],
|
|
47
47
|
borderTop: e?.marbleLight[10],
|
|
48
|
-
...
|
|
48
|
+
...t
|
|
49
49
|
},
|
|
50
50
|
dark: {
|
|
51
51
|
active12: r(e?.turquiBlue[50], 0.08),
|
|
@@ -56,22 +56,22 @@ const f = (a, l) => {
|
|
|
56
56
|
default: r(e?.marbleLight[10], 0.04),
|
|
57
57
|
borderDefault: e?.coolGrey[20],
|
|
58
58
|
borderTop: r(e?.marbleLight[10], 0.04),
|
|
59
|
-
...
|
|
59
|
+
...t
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
break;
|
|
63
63
|
case "grass":
|
|
64
|
-
|
|
64
|
+
o = {
|
|
65
65
|
light: {
|
|
66
66
|
active12: r(e?.grassGreen[50], 0.08),
|
|
67
67
|
active: e?.grassGreen[50],
|
|
68
68
|
focus: e?.grassGreen[70],
|
|
69
69
|
hover: e?.grassGreen[70],
|
|
70
70
|
overdefoult: r(e?.coolGrey[70], 0.1),
|
|
71
|
-
default: r(e?.
|
|
71
|
+
default: r(e?.marbleLight[60], 0.3),
|
|
72
72
|
borderDefault: e?.coolGrey[40],
|
|
73
73
|
borderTop: e?.marbleLight[10],
|
|
74
|
-
...
|
|
74
|
+
...t
|
|
75
75
|
},
|
|
76
76
|
dark: {
|
|
77
77
|
active12: r(e?.grassGreen[50], 0.08),
|
|
@@ -82,22 +82,22 @@ const f = (a, l) => {
|
|
|
82
82
|
default: r(e?.marbleLight[10], 0.04),
|
|
83
83
|
borderDefault: e?.coolGrey[20],
|
|
84
84
|
borderTop: r(e?.marbleLight[10], 0.04),
|
|
85
|
-
...
|
|
85
|
+
...t
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
break;
|
|
89
89
|
case "desert":
|
|
90
|
-
|
|
90
|
+
o = {
|
|
91
91
|
light: {
|
|
92
92
|
active12: r(e?.desertBeige[50], 0.08),
|
|
93
93
|
active: e?.desertBeige[50],
|
|
94
94
|
focus: e?.desertBeige[70],
|
|
95
95
|
hover: e?.desertBeige[70],
|
|
96
96
|
overdefoult: r(e?.marbleLight[70], 0.1),
|
|
97
|
-
default: r(e?.
|
|
97
|
+
default: r(e?.marbleLight[60], 0.3),
|
|
98
98
|
borderDefault: e?.coolGrey[40],
|
|
99
99
|
borderTop: e?.marbleLight[10],
|
|
100
|
-
...
|
|
100
|
+
...t
|
|
101
101
|
},
|
|
102
102
|
dark: {
|
|
103
103
|
active12: r(e?.desertBeige[50], 0.08),
|
|
@@ -108,22 +108,22 @@ const f = (a, l) => {
|
|
|
108
108
|
default: r(e?.marbleLight[10], 0.04),
|
|
109
109
|
borderDefault: e?.coolGrey[20],
|
|
110
110
|
borderTop: r(e?.marbleLight[10], 0.04),
|
|
111
|
-
...
|
|
111
|
+
...t
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
break;
|
|
115
115
|
case "blaze":
|
|
116
|
-
|
|
116
|
+
o = {
|
|
117
117
|
light: {
|
|
118
118
|
active12: r(e?.blazeOrange[50], 0.08),
|
|
119
119
|
active: e?.blazeOrange[50],
|
|
120
120
|
focus: e?.blazeOrange[70],
|
|
121
121
|
hover: e?.blazeOrange[70],
|
|
122
122
|
overdefoult: r(e?.coolGrey[70], 0.1),
|
|
123
|
-
default: r(e?.
|
|
123
|
+
default: r(e?.marbleLight[60], 0.3),
|
|
124
124
|
borderDefault: e?.coolGrey[40],
|
|
125
125
|
borderTop: e?.marbleLight[10],
|
|
126
|
-
...
|
|
126
|
+
...t
|
|
127
127
|
},
|
|
128
128
|
dark: {
|
|
129
129
|
active12: r(e?.blazeOrange[50], 0.08),
|
|
@@ -134,22 +134,22 @@ const f = (a, l) => {
|
|
|
134
134
|
default: r(e?.marbleLight[10], 0.04),
|
|
135
135
|
borderDefault: e?.coolGrey[20],
|
|
136
136
|
borderTop: r(e?.marbleLight[10], 0.04),
|
|
137
|
-
...
|
|
137
|
+
...t
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
break;
|
|
141
141
|
default:
|
|
142
|
-
|
|
142
|
+
o = {
|
|
143
143
|
light: {
|
|
144
144
|
active12: r(e?.turquiBlue[50], 0.08),
|
|
145
145
|
active: e?.turquiBlue[50],
|
|
146
146
|
focus: e?.turquiBlue[70],
|
|
147
147
|
hover: e?.turquiBlue[70],
|
|
148
148
|
overdefoult: r(e?.coolGrey[70], 0.1),
|
|
149
|
-
default: r(e?.
|
|
149
|
+
default: r(e?.marbleLight[60], 0.3),
|
|
150
150
|
borderDefault: e?.coolGrey[40],
|
|
151
151
|
borderTop: e?.marbleLight[10],
|
|
152
|
-
...
|
|
152
|
+
...t
|
|
153
153
|
},
|
|
154
154
|
dark: {
|
|
155
155
|
active12: r(e?.turquiBlue[50], 0.08),
|
|
@@ -160,12 +160,12 @@ const f = (a, l) => {
|
|
|
160
160
|
default: r(e?.marbleLight[10], 0.04),
|
|
161
161
|
borderDefault: e?.coolGrey[20],
|
|
162
162
|
borderTop: r(e?.marbleLight[10], 0.04),
|
|
163
|
-
...
|
|
163
|
+
...t
|
|
164
164
|
}
|
|
165
165
|
};
|
|
166
166
|
break;
|
|
167
167
|
}
|
|
168
|
-
return l === "light" ? { ...
|
|
168
|
+
return l === "light" ? { ...o.light } : { ...o.dark };
|
|
169
169
|
};
|
|
170
170
|
export {
|
|
171
171
|
f as g
|
package/theme/index.fa6b03ae.js
DELETED