@m4l/styles 0.0.29 → 0.0.30
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 +8 -8
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.b3a908dd.js → defaultThemeOptions.a8de2e18.js} +5 -5
- package/theme/index.b0919dac.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +9 -6
- package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +10 -0
- package/theme/overrides/M4LExtendedComponents/{index.c76da8b1.js → index.e875a5e1.js} +20 -10
- package/theme/overrides/{index.04787df9.js → index.cbe0dea7.js} +1 -1
- package/theme/{palette.18138191.js → palette.104051a7.js} +15 -15
- package/theme/{shadows.6e84fd80.js → shadows.b036a684.js} +1 -1
- package/theme/{typography.05534ee9.js → typography.7591a12b.js} +4 -4
- package/utils/{getColorPresets.60a0f2ca.js → getColorPresets.2693301f.js} +1 -1
- package/utils/{getColorState.e6b609a7.js → getColorState.32c050bf.js} +6 -6
- package/theme/index.30213ab6.js +0 -7
package/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as f } from "./theme/defaultThemeOptions.
|
|
2
|
-
import { c as l, s as g } from "./theme/shadows.
|
|
3
|
-
import { P as u, p as d } from "./theme/palette.
|
|
4
|
-
import { t as S } from "./theme/typography.
|
|
5
|
-
import { f as O } from "./theme/overrides/index.
|
|
1
|
+
import { d as f } from "./theme/defaultThemeOptions.a8de2e18.js";
|
|
2
|
+
import { c as l, s as g } from "./theme/shadows.b036a684.js";
|
|
3
|
+
import { P as u, p as d } from "./theme/palette.104051a7.js";
|
|
4
|
+
import { t as S } from "./theme/typography.7591a12b.js";
|
|
5
|
+
import { f as O } from "./theme/overrides/index.cbe0dea7.js";
|
|
6
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.
|
|
8
|
-
import { g as k } from "./utils/getColorState.
|
|
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.2693301f.js";
|
|
8
|
+
import { g as k } from "./utils/getColorState.32c050bf.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";
|
|
@@ -13,7 +13,7 @@ import "@mui/material/useMediaQuery";
|
|
|
13
13
|
import "@mui/system";
|
|
14
14
|
import "@mui/material";
|
|
15
15
|
import "./theme/overrides/MUIComponents/index.f50cd1c7.js";
|
|
16
|
-
import "./theme/overrides/M4LExtendedComponents/index.
|
|
16
|
+
import "./theme/overrides/M4LExtendedComponents/index.e875a5e1.js";
|
|
17
17
|
import "./theme/overrides/M4LRHFComponents/index.d3125fd8.js";
|
|
18
18
|
export {
|
|
19
19
|
u as PATRONUSCOLORS,
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "@mui/material/styles";
|
|
2
2
|
import "@mui/material/useMediaQuery";
|
|
3
|
-
import { g as r } from "../utils/getColorPresets.
|
|
3
|
+
import { g as r } from "../utils/getColorPresets.2693301f.js";
|
|
4
4
|
import "@mui/system";
|
|
5
|
-
import { t as a } from "./typography.
|
|
6
|
-
import { p as o } from "./palette.
|
|
5
|
+
import { t as a } from "./typography.7591a12b.js";
|
|
6
|
+
import { p as o } from "./palette.104051a7.js";
|
|
7
7
|
import { alpha as s } from "@mui/material";
|
|
8
|
-
import { s as p, c as e } from "./shadows.
|
|
9
|
-
import { g as m } from "../utils/getColorState.
|
|
8
|
+
import { s as p, c as e } from "./shadows.b036a684.js";
|
|
9
|
+
import { g as m } from "../utils/getColorState.32c050bf.js";
|
|
10
10
|
const k = {
|
|
11
11
|
typography: a,
|
|
12
12
|
palette: {
|
|
@@ -5,6 +5,14 @@ export declare const M4LAreasViewer: (theme: Theme) => {
|
|
|
5
5
|
'&.M4LAreasViewer-root': {
|
|
6
6
|
test: string;
|
|
7
7
|
background: string;
|
|
8
|
+
'& .M4LGridLayout-gridItemRoot.M4LGridLayout-colapsed-40 .M4LAreasViewer-windowHeader': {
|
|
9
|
+
minHeight: string;
|
|
10
|
+
height: string;
|
|
11
|
+
};
|
|
12
|
+
'& .M4LGridLayout-gridItemRoot.M4LGridLayout-colapsed-48 .M4LAreasViewer-windowHeader': {
|
|
13
|
+
minHeight: string;
|
|
14
|
+
height: string;
|
|
15
|
+
};
|
|
8
16
|
'& .M4LAreasViewer-areaGridLayout': {
|
|
9
17
|
'& .M4LAreasViewer-resizeHandle': {
|
|
10
18
|
test: string;
|
|
@@ -42,7 +50,6 @@ export declare const M4LAreasViewer: (theme: Theme) => {
|
|
|
42
50
|
'& .M4LAreasViewer-windowHeader': {
|
|
43
51
|
[x: string]: string | {
|
|
44
52
|
height: string;
|
|
45
|
-
minHeight: string;
|
|
46
53
|
display?: undefined;
|
|
47
54
|
width?: undefined;
|
|
48
55
|
alignItems?: undefined;
|
|
@@ -66,12 +73,10 @@ export declare const M4LAreasViewer: (theme: Theme) => {
|
|
|
66
73
|
width: string;
|
|
67
74
|
};
|
|
68
75
|
};
|
|
69
|
-
minHeight?: undefined;
|
|
70
76
|
} | {
|
|
71
77
|
color: string;
|
|
72
78
|
overflow: string;
|
|
73
79
|
height?: undefined;
|
|
74
|
-
minHeight?: undefined;
|
|
75
80
|
display?: undefined;
|
|
76
81
|
width?: undefined;
|
|
77
82
|
alignItems?: undefined;
|
|
@@ -81,10 +86,9 @@ export declare const M4LAreasViewer: (theme: Theme) => {
|
|
|
81
86
|
flexDirection: string;
|
|
82
87
|
background: string;
|
|
83
88
|
padding: string;
|
|
84
|
-
height: string;
|
|
85
|
-
minHeight: string;
|
|
86
89
|
border: string;
|
|
87
90
|
boxShadow: string;
|
|
91
|
+
height: string;
|
|
88
92
|
'& .M4LAreasViewer-windowHeaderContent': {
|
|
89
93
|
display: string;
|
|
90
94
|
width: string;
|
|
@@ -286,7 +290,6 @@ export declare const M4LAreasViewer: (theme: Theme) => {
|
|
|
286
290
|
justifyContent: string;
|
|
287
291
|
overflow: string;
|
|
288
292
|
cursor: string;
|
|
289
|
-
height: string;
|
|
290
293
|
'& .M4LTypography-root .MuiTypography-root': {
|
|
291
294
|
[x: string]: any;
|
|
292
295
|
};
|
|
@@ -117,11 +117,16 @@ export declare const M4LModalDialog: (theme: Theme) => {
|
|
|
117
117
|
'& .M4LModal-iconCloseHeader': {};
|
|
118
118
|
};
|
|
119
119
|
'& .M4LModal-windowContent': {
|
|
120
|
+
[x: string]: string | {
|
|
121
|
+
padding: string;
|
|
122
|
+
};
|
|
120
123
|
padding: string;
|
|
121
124
|
width: string;
|
|
122
125
|
height: string;
|
|
123
126
|
display: string;
|
|
124
127
|
flexDirection: string;
|
|
128
|
+
flex: string;
|
|
129
|
+
overflow: string;
|
|
125
130
|
};
|
|
126
131
|
maxHeight?: undefined;
|
|
127
132
|
borderColor?: undefined;
|
|
@@ -245,11 +250,16 @@ export declare const M4LModalDialog: (theme: Theme) => {
|
|
|
245
250
|
'& .M4LModal-iconCloseHeader': {};
|
|
246
251
|
};
|
|
247
252
|
'& .M4LModal-windowContent': {
|
|
253
|
+
[x: string]: string | {
|
|
254
|
+
padding: string;
|
|
255
|
+
};
|
|
248
256
|
padding: string;
|
|
249
257
|
width: string;
|
|
250
258
|
height: string;
|
|
251
259
|
display: string;
|
|
252
260
|
flexDirection: string;
|
|
261
|
+
flex: string;
|
|
262
|
+
overflow: string;
|
|
253
263
|
};
|
|
254
264
|
};
|
|
255
265
|
'& .react-resizable': {
|
|
@@ -2135,6 +2135,14 @@ const i = (o) => ({
|
|
|
2135
2135
|
"&.M4LAreasViewer-root": {
|
|
2136
2136
|
test: "root",
|
|
2137
2137
|
background: o.palette.background.background,
|
|
2138
|
+
"& .M4LGridLayout-gridItemRoot.M4LGridLayout-colapsed-40 .M4LAreasViewer-windowHeader": {
|
|
2139
|
+
minHeight: "36px",
|
|
2140
|
+
height: "36px"
|
|
2141
|
+
},
|
|
2142
|
+
"& .M4LGridLayout-gridItemRoot.M4LGridLayout-colapsed-48 .M4LAreasViewer-windowHeader": {
|
|
2143
|
+
minHeight: "44px",
|
|
2144
|
+
height: "44px"
|
|
2145
|
+
},
|
|
2138
2146
|
"& .M4LAreasViewer-areaGridLayout": {
|
|
2139
2147
|
"& .M4LAreasViewer-resizeHandle": {
|
|
2140
2148
|
test: "test",
|
|
@@ -2174,13 +2182,11 @@ const i = (o) => ({
|
|
|
2174
2182
|
flexDirection: "column",
|
|
2175
2183
|
background: o.palette.background.neutral,
|
|
2176
2184
|
padding: "4px 4px 4px 8px",
|
|
2177
|
-
height: "36px",
|
|
2178
|
-
minHeight: "36px",
|
|
2179
2185
|
border: "none",
|
|
2180
2186
|
boxShadow: o.customShadows.z1,
|
|
2187
|
+
height: "36px",
|
|
2181
2188
|
[o.breakpoints.down("sm")]: {
|
|
2182
|
-
height: "44px"
|
|
2183
|
-
minHeight: "44px"
|
|
2189
|
+
height: "44px"
|
|
2184
2190
|
},
|
|
2185
2191
|
"& .M4LAreasViewer-windowHeaderContent": {
|
|
2186
2192
|
display: "flex",
|
|
@@ -2371,7 +2377,6 @@ const i = (o) => ({
|
|
|
2371
2377
|
justifyContent: "end",
|
|
2372
2378
|
overflow: "hidden",
|
|
2373
2379
|
cursor: "move",
|
|
2374
|
-
height: "36px",
|
|
2375
2380
|
"& .M4LTypography-root .MuiTypography-root": {
|
|
2376
2381
|
...o.typography.paragraphDens
|
|
2377
2382
|
},
|
|
@@ -3623,7 +3628,12 @@ const i = (o) => ({
|
|
|
3623
3628
|
width: "100%",
|
|
3624
3629
|
height: "100%",
|
|
3625
3630
|
display: "flex",
|
|
3626
|
-
flexDirection: "column"
|
|
3631
|
+
flexDirection: "column",
|
|
3632
|
+
flex: "1",
|
|
3633
|
+
overflow: "hidden",
|
|
3634
|
+
[o.breakpoints.down("sm")]: {
|
|
3635
|
+
padding: "0 8px 8px 8px"
|
|
3636
|
+
}
|
|
3627
3637
|
}
|
|
3628
3638
|
},
|
|
3629
3639
|
"& .react-resizable": {
|
|
@@ -3711,7 +3721,7 @@ const i = (o) => ({
|
|
|
3711
3721
|
}
|
|
3712
3722
|
}
|
|
3713
3723
|
}
|
|
3714
|
-
}),
|
|
3724
|
+
}), V = (o) => ({
|
|
3715
3725
|
M4LBadge: {
|
|
3716
3726
|
styleOverrides: {
|
|
3717
3727
|
"&.M4LBadge-root": {
|
|
@@ -3737,7 +3747,7 @@ const i = (o) => ({
|
|
|
3737
3747
|
}
|
|
3738
3748
|
}
|
|
3739
3749
|
}
|
|
3740
|
-
}),
|
|
3750
|
+
}), O = (o) => ({
|
|
3741
3751
|
M4LDataGrid: {
|
|
3742
3752
|
styleOverrides: {
|
|
3743
3753
|
"&.M4LDataGrid-root": {
|
|
@@ -4352,9 +4362,9 @@ export {
|
|
|
4352
4362
|
l as f,
|
|
4353
4363
|
M as g,
|
|
4354
4364
|
s as h,
|
|
4355
|
-
|
|
4365
|
+
V as i,
|
|
4356
4366
|
c as j,
|
|
4357
|
-
|
|
4367
|
+
O as k,
|
|
4358
4368
|
u as l,
|
|
4359
4369
|
g as m,
|
|
4360
4370
|
x as n,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as s, T as o, C as r, M as L, L as M, I as i, a as n, R as l, B as p, b as c, c as d, P as u, S as g, d as B, e as T, D as P, A, f as b, g as F, h as k, i as v, j as y, k as I, l as S, m as C, n as D, o as R, p as H, q as f, r as x, s as w, t as G, u as j, v as t, w as E, x as N, y as O, z as q, E as z, G as V } from "./MUIComponents/index.f50cd1c7.js";
|
|
2
|
-
import { M as J, a as K, b as Q, c as U, d as W, e as X, f as Y, g as Z, h as _, i as $, 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 ia, t as na, u as la, v as pa, w as ca, x as da, y as ua, z as ga, A as Ba, B as Ta, C as Pa, D as Aa, E as ba, F as Fa, G as ka, H as va, I as ya, J as Ia, K as Sa, L as Ca, N as Da, O as Ra, P as Ha, Q as fa, R as xa, S as wa } from "./M4LExtendedComponents/index.
|
|
2
|
+
import { M as J, a as K, b as Q, c as U, d as W, e as X, f as Y, g as Z, h as _, i as $, 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 ia, t as na, u as la, v as pa, w as ca, x as da, y as ua, z as ga, A as Ba, B as Ta, C as Pa, D as Aa, E as ba, F as Fa, G as ka, H as va, I as ya, J as Ia, K as Sa, L as Ca, N as Da, O as Ra, P as Ha, Q as fa, R as xa, S as wa } from "./M4LExtendedComponents/index.e875a5e1.js";
|
|
3
3
|
import { M as Ga, a as ja, b as ta, c as Ea, d as Na, e as Oa, f as qa, g as za } from "./M4LRHFComponents/index.d3125fd8.js";
|
|
4
4
|
function Qa(a) {
|
|
5
5
|
return Object.assign(
|
|
@@ -32,18 +32,18 @@ const e = {
|
|
|
32
32
|
40: "#FFF039",
|
|
33
33
|
50: "#FFEC08",
|
|
34
34
|
60: "#E5D400",
|
|
35
|
-
70: "#
|
|
35
|
+
70: "#9E9200",
|
|
36
36
|
80: "#696100",
|
|
37
37
|
90: "#353100"
|
|
38
38
|
},
|
|
39
39
|
acidGreen: {
|
|
40
|
-
10: "#
|
|
40
|
+
10: "#CDFFC2",
|
|
41
41
|
20: "#A8FF97",
|
|
42
42
|
30: "#83FF6B",
|
|
43
43
|
40: "#5EFF40",
|
|
44
44
|
50: "#39FF14",
|
|
45
|
-
60: "#
|
|
46
|
-
70: "#
|
|
45
|
+
60: "#47CC2D",
|
|
46
|
+
70: "#1F9009",
|
|
47
47
|
80: "#176E05",
|
|
48
48
|
90: "#0B3D00"
|
|
49
49
|
},
|
|
@@ -87,7 +87,7 @@ const e = {
|
|
|
87
87
|
40: "#EBAE53",
|
|
88
88
|
50: "#E59722",
|
|
89
89
|
60: "#BA7916",
|
|
90
|
-
70: "#
|
|
90
|
+
70: "#925F11",
|
|
91
91
|
80: "#774D0E",
|
|
92
92
|
90: "#735133"
|
|
93
93
|
},
|
|
@@ -114,7 +114,7 @@ const e = {
|
|
|
114
114
|
90: "#233333"
|
|
115
115
|
},
|
|
116
116
|
brown: {
|
|
117
|
-
10: "#
|
|
117
|
+
10: "#DFC9BD",
|
|
118
118
|
20: "#C59D88",
|
|
119
119
|
30: "#B8886E",
|
|
120
120
|
40: "#B17D61",
|
|
@@ -129,7 +129,7 @@ const e = {
|
|
|
129
129
|
20: "#F7FCFC",
|
|
130
130
|
30: "#F9FBFB",
|
|
131
131
|
40: "#F0F4F4",
|
|
132
|
-
50: "#
|
|
132
|
+
50: "#EAEFF0",
|
|
133
133
|
60: "#E1E9EA",
|
|
134
134
|
70: "#E2E7E9",
|
|
135
135
|
80: "#fff0",
|
|
@@ -285,13 +285,13 @@ const e = {
|
|
|
285
285
|
success: a(l.light, l.main),
|
|
286
286
|
warning: a(n.light, n.main),
|
|
287
287
|
error: a(i.light, i.main)
|
|
288
|
-
},
|
|
288
|
+
}, g = {
|
|
289
289
|
violet: ["#826AF9", "#9E86FF", "#D0AEFF", "#F7D2FF"],
|
|
290
290
|
blue: ["#2D99FF", "#83CFFF", "#A5F3FF", "#CCFAFF"],
|
|
291
291
|
green: ["#2CD9C5", "#60F1C8", "#A4F7CC", "#C0F2DC"],
|
|
292
292
|
yellow: ["#FFE700", "#FFEF5A", "#FFF7AE", "#FFF3D6"],
|
|
293
293
|
red: ["#FF6C40", "#FF8F6D", "#FFBD98", "#FFF2D4"]
|
|
294
|
-
},
|
|
294
|
+
}, A = {
|
|
295
295
|
normal: e.crayonBlue[50],
|
|
296
296
|
hover: e.crayonBlue[70]
|
|
297
297
|
}, E = {
|
|
@@ -300,18 +300,18 @@ const e = {
|
|
|
300
300
|
}, C = {
|
|
301
301
|
normal: e.flameRed[40],
|
|
302
302
|
hover: e.flameRed[60]
|
|
303
|
-
},
|
|
303
|
+
}, D = {
|
|
304
304
|
normal: e.middleYellow[60],
|
|
305
305
|
hover: e.middleYellow[70]
|
|
306
|
-
},
|
|
306
|
+
}, m = {
|
|
307
307
|
default: r(e.coolGrey[50], 0.24),
|
|
308
308
|
transition: r(e.coolGrey[50], 0.08)
|
|
309
309
|
}, h = {
|
|
310
|
-
info: { ...
|
|
310
|
+
info: { ...A },
|
|
311
311
|
success: { ...E },
|
|
312
312
|
error: { ...C },
|
|
313
|
-
warning: { ...
|
|
314
|
-
skeleton: { ...
|
|
313
|
+
warning: { ...D },
|
|
314
|
+
skeleton: { ...m }
|
|
315
315
|
}, f = {
|
|
316
316
|
common: { black: "#000", white: "#fff" },
|
|
317
317
|
primary: { ...t },
|
|
@@ -327,7 +327,7 @@ const e = {
|
|
|
327
327
|
error: { ...i, contrastText: "#fff" },
|
|
328
328
|
grey: F,
|
|
329
329
|
gradients: u,
|
|
330
|
-
chart:
|
|
330
|
+
chart: g,
|
|
331
331
|
divider: F[50024],
|
|
332
332
|
action: {
|
|
333
333
|
hoverOpacity: 0.08,
|
|
@@ -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.104051a7.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.2693301f.js";
|
|
4
4
|
import "@mui/system";
|
|
5
|
-
import "./defaultThemeOptions.
|
|
6
|
-
import "./shadows.
|
|
7
|
-
import "./palette.
|
|
5
|
+
import "./defaultThemeOptions.a8de2e18.js";
|
|
6
|
+
import "./shadows.b036a684.js";
|
|
7
|
+
import "./palette.104051a7.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,8 +1,8 @@
|
|
|
1
1
|
import { alpha as r } from "@mui/system";
|
|
2
|
-
import "../theme/defaultThemeOptions.
|
|
3
|
-
import "../theme/shadows.
|
|
4
|
-
import { P as e, S as o } from "../theme/palette.
|
|
5
|
-
import "../theme/typography.
|
|
2
|
+
import "../theme/defaultThemeOptions.a8de2e18.js";
|
|
3
|
+
import "../theme/shadows.b036a684.js";
|
|
4
|
+
import { P as e, S as o } from "../theme/palette.104051a7.js";
|
|
5
|
+
import "../theme/typography.7591a12b.js";
|
|
6
6
|
import "@mui/material";
|
|
7
7
|
import "@mui/material/styles";
|
|
8
8
|
const v = (t, a) => {
|
|
@@ -17,7 +17,7 @@ const v = (t, a) => {
|
|
|
17
17
|
hover: e?.patronusBlue[40],
|
|
18
18
|
overdefoult: r(e?.coolGrey[30], 0.16),
|
|
19
19
|
default: r(e?.marbleLight[60], 0.45),
|
|
20
|
-
borderDefault: e?.coolGrey[
|
|
20
|
+
borderDefault: e?.coolGrey[10],
|
|
21
21
|
borderTop: e?.marbleLight[10],
|
|
22
22
|
toneOp: "#D9E9FC",
|
|
23
23
|
scrollBar: "#bcc5c8",
|
|
@@ -31,7 +31,7 @@ const v = (t, a) => {
|
|
|
31
31
|
hover: e?.patronusBlue[30],
|
|
32
32
|
overdefoult: r(e?.marbleLight[10], 0.1),
|
|
33
33
|
default: r(e?.marbleLight[70], 0.02),
|
|
34
|
-
borderDefault: e?.coolGrey[
|
|
34
|
+
borderDefault: e?.coolGrey[60],
|
|
35
35
|
borderTop: r(e?.marbleLight[10], 0.04),
|
|
36
36
|
toneOp: "#2C4053",
|
|
37
37
|
scrollBar: "#414950",
|
package/theme/index.30213ab6.js
DELETED