@m4l/styles 0.0.13 → 0.0.14
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
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useTheme as S, alpha as e } from "@mui/material/styles";
|
|
2
|
+
import M from "@mui/material/useMediaQuery";
|
|
2
3
|
import { alpha as n } from "@mui/system";
|
|
3
|
-
import { alpha as
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
import { alpha as B } from "@mui/material";
|
|
5
|
+
function $(o, r, a, i) {
|
|
6
|
+
const u = S(), f = M(u.breakpoints.up(r)), b = M(u.breakpoints.down(r)), v = M(u.breakpoints.between(a, i)), L = M(u.breakpoints.only(r));
|
|
7
|
+
if (o === "up")
|
|
8
|
+
return f;
|
|
9
|
+
if (o === "down")
|
|
10
|
+
return b;
|
|
11
|
+
if (o === "between")
|
|
12
|
+
return v;
|
|
13
|
+
if (o === "only")
|
|
14
|
+
return L;
|
|
15
|
+
}
|
|
16
|
+
function g(o, r) {
|
|
6
17
|
return `linear-gradient(to bottom, ${o}, ${r})`;
|
|
7
18
|
}
|
|
8
19
|
const t = {
|
|
@@ -138,7 +149,7 @@ const t = {
|
|
|
138
149
|
80: "#fff0",
|
|
139
150
|
90: "#fff0"
|
|
140
151
|
}
|
|
141
|
-
},
|
|
152
|
+
}, D = {
|
|
142
153
|
patronus: {
|
|
143
154
|
4: e(t.patronusBlue[50], 0.04),
|
|
144
155
|
12: e(t.patronusBlue[50], 0.12),
|
|
@@ -202,48 +213,48 @@ const t = {
|
|
|
202
213
|
60: e(t.marbleLight[10], 0.6),
|
|
203
214
|
72: e(t.marbleLight[10], 0.72)
|
|
204
215
|
}
|
|
205
|
-
},
|
|
216
|
+
}, C = {
|
|
206
217
|
lighter: t.patronusBlue[70],
|
|
207
218
|
light: t.patronusBlue[60],
|
|
208
219
|
main: t.patronusBlue[50],
|
|
209
220
|
dark: t.patronusBlue[40],
|
|
210
221
|
darker: t.patronusBlue[20],
|
|
211
222
|
contrastText: t.marbleLight[10]
|
|
212
|
-
},
|
|
223
|
+
}, m = {
|
|
213
224
|
lighter: "#fff0",
|
|
214
225
|
light: "#fff0",
|
|
215
226
|
main: "#fff0",
|
|
216
227
|
dark: "#fff0",
|
|
217
228
|
darker: "#fff0"
|
|
218
|
-
},
|
|
229
|
+
}, h = {
|
|
219
230
|
lighter: "#fff0",
|
|
220
231
|
light: "#fff0",
|
|
221
232
|
main: t.crayonBlue[50],
|
|
222
233
|
dark: "#fff0",
|
|
223
234
|
darker: "#fff0",
|
|
224
235
|
opacity: e(t.crayonBlue[50], 0.08)
|
|
225
|
-
},
|
|
236
|
+
}, F = {
|
|
226
237
|
lighter: "#fff0",
|
|
227
238
|
light: "#fff0",
|
|
228
239
|
main: t.acidGreen[60],
|
|
229
240
|
dark: "#fff0",
|
|
230
241
|
darker: "#fff0",
|
|
231
242
|
opacity: e(t.acidGreen[60], 0.08)
|
|
232
|
-
},
|
|
243
|
+
}, I = {
|
|
233
244
|
lighter: "#fff0",
|
|
234
245
|
light: "#fff0",
|
|
235
246
|
main: t.middleYellow[60],
|
|
236
247
|
dark: "#fff0",
|
|
237
248
|
darker: "#fff0",
|
|
238
249
|
opacity: e(t.middleYellow[60], 0.08)
|
|
239
|
-
},
|
|
250
|
+
}, w = {
|
|
240
251
|
lighter: "#fff0",
|
|
241
252
|
light: "#fff0",
|
|
242
253
|
main: t.flameRed[40],
|
|
243
254
|
dark: "#fff0",
|
|
244
255
|
darker: "#fff0",
|
|
245
256
|
opacity: e(t.flameRed[40], 0.08)
|
|
246
|
-
},
|
|
257
|
+
}, y = {
|
|
247
258
|
0: "#FFFFFF",
|
|
248
259
|
100: "#F9FAFB",
|
|
249
260
|
200: "#F4F6F8",
|
|
@@ -262,63 +273,63 @@ const t = {
|
|
|
262
273
|
50048: e("#919EAB", 0.48),
|
|
263
274
|
50056: e("#919EAB", 0.56),
|
|
264
275
|
50080: e("#919EAB", 0.8)
|
|
265
|
-
}, m = {
|
|
266
|
-
primary: c(y.light, y.main),
|
|
267
|
-
info: c(f.light, f.main),
|
|
268
|
-
success: c(v.light, v.main),
|
|
269
|
-
warning: c(L.light, L.main),
|
|
270
|
-
error: c(B.light, B.main)
|
|
271
276
|
}, z = {
|
|
277
|
+
primary: g(C.light, C.main),
|
|
278
|
+
info: g(h.light, h.main),
|
|
279
|
+
success: g(F.light, F.main),
|
|
280
|
+
warning: g(I.light, I.main),
|
|
281
|
+
error: g(w.light, w.main)
|
|
282
|
+
}, H = {
|
|
272
283
|
violet: ["#826AF9", "#9E86FF", "#D0AEFF", "#F7D2FF"],
|
|
273
284
|
blue: ["#2D99FF", "#83CFFF", "#A5F3FF", "#CCFAFF"],
|
|
274
285
|
green: ["#2CD9C5", "#60F1C8", "#A4F7CC", "#C0F2DC"],
|
|
275
286
|
yellow: ["#FFE700", "#FFEF5A", "#FFF7AE", "#FFF3D6"],
|
|
276
287
|
red: ["#FF6C40", "#FF8F6D", "#FFBD98", "#FFF2D4"]
|
|
277
|
-
},
|
|
288
|
+
}, G = {
|
|
278
289
|
normal: t.crayonBlue[50],
|
|
279
290
|
hover: t.crayonBlue[70]
|
|
280
|
-
},
|
|
291
|
+
}, E = {
|
|
281
292
|
normal: t.acidGreen[60],
|
|
282
293
|
hover: t.acidGreen[70]
|
|
283
|
-
},
|
|
294
|
+
}, W = {
|
|
284
295
|
normal: t.flameRed[40],
|
|
285
296
|
hover: t.flameRed[60]
|
|
286
|
-
},
|
|
297
|
+
}, P = {
|
|
287
298
|
normal: t.flameRed[60],
|
|
288
299
|
hover: t.flameRed[70]
|
|
289
|
-
},
|
|
300
|
+
}, q = {
|
|
290
301
|
default: e(t.coolGrey[50], 0.24),
|
|
291
302
|
transition: e(t.coolGrey[50], 0.08)
|
|
292
303
|
}, l = {
|
|
293
|
-
info: { ...
|
|
294
|
-
success: { ...
|
|
295
|
-
error: { ...
|
|
296
|
-
warning: { ...
|
|
297
|
-
skeleton: { ...
|
|
298
|
-
},
|
|
304
|
+
info: { ...G },
|
|
305
|
+
success: { ...E },
|
|
306
|
+
error: { ...W },
|
|
307
|
+
warning: { ...P },
|
|
308
|
+
skeleton: { ...q }
|
|
309
|
+
}, R = {
|
|
299
310
|
common: { black: "#000", white: "#fff" },
|
|
300
|
-
primary: { ...
|
|
311
|
+
primary: { ...C },
|
|
301
312
|
state: {
|
|
302
313
|
...l
|
|
303
314
|
},
|
|
304
315
|
patronus: { ...t },
|
|
305
|
-
opacity: {
|
|
306
|
-
secondary: { ...
|
|
307
|
-
info: { ...
|
|
308
|
-
success: { ...
|
|
309
|
-
warning: { ...
|
|
310
|
-
error: { ...
|
|
311
|
-
grey:
|
|
312
|
-
gradients:
|
|
313
|
-
chart:
|
|
314
|
-
divider:
|
|
316
|
+
opacity: { ...D },
|
|
317
|
+
secondary: { ...m, contrastText: "#fff" },
|
|
318
|
+
info: { ...h, contrastText: "#fff" },
|
|
319
|
+
success: { ...F, contrastText: y[800] },
|
|
320
|
+
warning: { ...I, contrastText: y[800] },
|
|
321
|
+
error: { ...w, contrastText: "#fff" },
|
|
322
|
+
grey: y,
|
|
323
|
+
gradients: z,
|
|
324
|
+
chart: H,
|
|
325
|
+
divider: y[50024],
|
|
315
326
|
action: {
|
|
316
327
|
hoverOpacity: 0.08,
|
|
317
328
|
disabledOpacity: 0.48
|
|
318
329
|
}
|
|
319
330
|
}, s = {
|
|
320
331
|
light: {
|
|
321
|
-
...
|
|
332
|
+
...R,
|
|
322
333
|
mode: "light",
|
|
323
334
|
text: {
|
|
324
335
|
primary: t.ashBlak[10],
|
|
@@ -334,7 +345,7 @@ const t = {
|
|
|
334
345
|
grid: { sectionHeader: "#F6F7F9", divider: "#EDEFF2", rowHover: "#FAFBFC" }
|
|
335
346
|
},
|
|
336
347
|
dark: {
|
|
337
|
-
...
|
|
348
|
+
...R,
|
|
338
349
|
mode: "dark",
|
|
339
350
|
text: {
|
|
340
351
|
primary: t.marbleLight[30],
|
|
@@ -349,7 +360,7 @@ const t = {
|
|
|
349
360
|
},
|
|
350
361
|
grid: { sectionHeader: "#29313A", divider: "#3E464F", rowHover: "#1F262F" }
|
|
351
362
|
}
|
|
352
|
-
},
|
|
363
|
+
}, x = [
|
|
353
364
|
{
|
|
354
365
|
name: "patronus",
|
|
355
366
|
lighter: t.patronusBlue[70],
|
|
@@ -395,21 +406,21 @@ const t = {
|
|
|
395
406
|
darker: t.blazeOrange[20],
|
|
396
407
|
contrastText: t.marbleLight[10]
|
|
397
408
|
}
|
|
398
|
-
],
|
|
399
|
-
function
|
|
409
|
+
], O = x[0], V = x[1], N = x[2], _ = x[3], j = x[4];
|
|
410
|
+
function k(o) {
|
|
400
411
|
try {
|
|
401
412
|
return {
|
|
402
|
-
patronus:
|
|
403
|
-
turqui:
|
|
404
|
-
grass:
|
|
405
|
-
candy:
|
|
413
|
+
patronus: O,
|
|
414
|
+
turqui: V,
|
|
415
|
+
grass: N,
|
|
416
|
+
candy: _,
|
|
406
417
|
blaze: j
|
|
407
418
|
}[o];
|
|
408
419
|
} catch {
|
|
409
420
|
}
|
|
410
|
-
return
|
|
421
|
+
return O;
|
|
411
422
|
}
|
|
412
|
-
const
|
|
423
|
+
const Y = (o, r) => {
|
|
413
424
|
let a = {};
|
|
414
425
|
switch (o) {
|
|
415
426
|
case "patronus":
|
|
@@ -535,7 +546,7 @@ const V = (o, r) => {
|
|
|
535
546
|
}
|
|
536
547
|
return r === "light" ? { ...a.light } : { ...a.dark };
|
|
537
548
|
};
|
|
538
|
-
function
|
|
549
|
+
function U(o) {
|
|
539
550
|
return Math.round(parseFloat(o) * 16);
|
|
540
551
|
}
|
|
541
552
|
function d(o) {
|
|
@@ -554,18 +565,18 @@ function p({ sm: o, md: r, lg: a }) {
|
|
|
554
565
|
}
|
|
555
566
|
};
|
|
556
567
|
}
|
|
557
|
-
function
|
|
558
|
-
return [...
|
|
559
|
-
const
|
|
560
|
-
return !a &&
|
|
568
|
+
function K() {
|
|
569
|
+
return [...S().breakpoints.keys].reverse().reduce((a, i) => {
|
|
570
|
+
const u = $("up", i);
|
|
571
|
+
return !a && u ? i : a;
|
|
561
572
|
}, null) || "xs";
|
|
562
573
|
}
|
|
563
|
-
function
|
|
564
|
-
const r =
|
|
565
|
-
return { fontSize:
|
|
574
|
+
function gt(o) {
|
|
575
|
+
const r = S(), a = K(), i = r.breakpoints.up(a === "xl" ? "lg" : a), f = (o === "h1" || o === "h2" || o === "h3" || o === "h4" || o === "h5" || o === "h6") && r.typography[o][i] ? r.typography[o][i] : r.typography[o], b = U(f.fontSize), v = Number(r.typography[o].lineHeight) * b, { fontWeight: L, letterSpacing: T } = r.typography[o];
|
|
576
|
+
return { fontSize: b, lineHeight: v, fontWeight: L, letterSpacing: T };
|
|
566
577
|
}
|
|
567
|
-
const
|
|
568
|
-
fontFamily:
|
|
578
|
+
const Q = "Poppins, sans-serif", J = {
|
|
579
|
+
fontFamily: Q,
|
|
569
580
|
fontWeightRegular: 400,
|
|
570
581
|
fontWeightMedium: 600,
|
|
571
582
|
fontWeightBold: 700,
|
|
@@ -675,7 +686,7 @@ const K = "Poppins, sans-serif", J = {
|
|
|
675
686
|
lineHeight: 1.667,
|
|
676
687
|
...p({ sm: 14, md: 12, lg: 12 })
|
|
677
688
|
}
|
|
678
|
-
},
|
|
689
|
+
}, X = s.light.grey[500], Z = "#000000", A = (o) => {
|
|
679
690
|
const r = e(o, 0.2), a = e(o, 0.14), i = e(o, 0.12);
|
|
680
691
|
return [
|
|
681
692
|
"none",
|
|
@@ -704,7 +715,7 @@ const K = "Poppins, sans-serif", J = {
|
|
|
704
715
|
`0px 11px 14px -7px ${r},0px 23px 36px 3px ${a},0px 9px 44px 8px ${i}`,
|
|
705
716
|
`0px 11px 15px -7px ${r},0px 24px 38px 3px ${a},0px 9px 46px 8px ${i}`
|
|
706
717
|
];
|
|
707
|
-
},
|
|
718
|
+
}, oo = (o) => {
|
|
708
719
|
const r = {
|
|
709
720
|
info: `0px 2px 8px 0px ${e(t.patronusBlue[50], 0.2)}`,
|
|
710
721
|
secondary: `0px 2px 8px 0px ${e(s.light.secondary.main, 0.24)}`,
|
|
@@ -734,28 +745,28 @@ const K = "Poppins, sans-serif", J = {
|
|
|
734
745
|
z4: `0px 8px 16px 4px ${e(t.ashBlak[60], 0.4)}`,
|
|
735
746
|
...r
|
|
736
747
|
};
|
|
737
|
-
},
|
|
738
|
-
light:
|
|
739
|
-
dark:
|
|
740
|
-
},
|
|
748
|
+
}, to = {
|
|
749
|
+
light: A(X),
|
|
750
|
+
dark: A(Z)
|
|
751
|
+
}, xt = {
|
|
741
752
|
typography: J,
|
|
742
753
|
palette: {
|
|
743
754
|
...s.light,
|
|
744
|
-
primary:
|
|
745
|
-
state: { ...
|
|
746
|
-
representative:
|
|
755
|
+
primary: k("patronus"),
|
|
756
|
+
state: { ...Y("patronus", "light") },
|
|
757
|
+
representative: k("patronus").darker
|
|
747
758
|
},
|
|
748
759
|
shape: { borderRadius: 8 },
|
|
749
760
|
direction: "rtl",
|
|
750
|
-
shadows:
|
|
761
|
+
shadows: to.light,
|
|
751
762
|
customShadows: {
|
|
752
|
-
primary: `0 8px 16px 0 ${
|
|
753
|
-
...
|
|
763
|
+
primary: `0 8px 16px 0 ${B(k("patronus").main, 0.2)}`,
|
|
764
|
+
...oo("dark")
|
|
754
765
|
},
|
|
755
766
|
stretch: !0,
|
|
756
767
|
spacing: (o) => `${0.5 * o}rem`
|
|
757
768
|
};
|
|
758
|
-
function
|
|
769
|
+
function eo(o) {
|
|
759
770
|
return {
|
|
760
771
|
MuiAvatar: {
|
|
761
772
|
styleOverrides: {
|
|
@@ -780,7 +791,7 @@ function to(o) {
|
|
|
780
791
|
}
|
|
781
792
|
};
|
|
782
793
|
}
|
|
783
|
-
function
|
|
794
|
+
function ro(o) {
|
|
784
795
|
return {
|
|
785
796
|
MuiButton: {
|
|
786
797
|
styleOverrides: {
|
|
@@ -833,7 +844,7 @@ function eo(o) {
|
|
|
833
844
|
}
|
|
834
845
|
};
|
|
835
846
|
}
|
|
836
|
-
function
|
|
847
|
+
function ao(o) {
|
|
837
848
|
return {
|
|
838
849
|
MuiIconButton: {
|
|
839
850
|
styleOverrides: {
|
|
@@ -857,7 +868,7 @@ function ro(o) {
|
|
|
857
868
|
}
|
|
858
869
|
};
|
|
859
870
|
}
|
|
860
|
-
function
|
|
871
|
+
function io(o) {
|
|
861
872
|
return console.log("test theme", o.palette), {
|
|
862
873
|
MuiFab: {
|
|
863
874
|
defaultProps: {
|
|
@@ -892,7 +903,7 @@ function ao(o) {
|
|
|
892
903
|
}
|
|
893
904
|
};
|
|
894
905
|
}
|
|
895
|
-
function
|
|
906
|
+
function no(o) {
|
|
896
907
|
return {
|
|
897
908
|
MuiCard: {
|
|
898
909
|
styleOverrides: {
|
|
@@ -924,7 +935,7 @@ function io(o) {
|
|
|
924
935
|
}
|
|
925
936
|
};
|
|
926
937
|
}
|
|
927
|
-
function
|
|
938
|
+
function po(o) {
|
|
928
939
|
return {
|
|
929
940
|
MuiTabs: {
|
|
930
941
|
styleOverrides: {
|
|
@@ -981,7 +992,7 @@ function no(o) {
|
|
|
981
992
|
}
|
|
982
993
|
};
|
|
983
994
|
}
|
|
984
|
-
function
|
|
995
|
+
function lo(o) {
|
|
985
996
|
return {
|
|
986
997
|
MuiMenuItem: {
|
|
987
998
|
styleOverrides: {
|
|
@@ -997,7 +1008,7 @@ function po(o) {
|
|
|
997
1008
|
}
|
|
998
1009
|
};
|
|
999
1010
|
}
|
|
1000
|
-
function
|
|
1011
|
+
function so(o) {
|
|
1001
1012
|
return {
|
|
1002
1013
|
MuiLink: {
|
|
1003
1014
|
defaultProps: {
|
|
@@ -1013,7 +1024,7 @@ function lo(o) {
|
|
|
1013
1024
|
}
|
|
1014
1025
|
};
|
|
1015
1026
|
}
|
|
1016
|
-
function
|
|
1027
|
+
function uo(o) {
|
|
1017
1028
|
return {
|
|
1018
1029
|
MuiListItemIcon: {
|
|
1019
1030
|
styleOverrides: {
|
|
@@ -1046,7 +1057,7 @@ function so(o) {
|
|
|
1046
1057
|
}
|
|
1047
1058
|
};
|
|
1048
1059
|
}
|
|
1049
|
-
function
|
|
1060
|
+
function co(o) {
|
|
1050
1061
|
return {
|
|
1051
1062
|
MuiTableRow: {
|
|
1052
1063
|
styleOverrides: {
|
|
@@ -1132,7 +1143,7 @@ function uo(o) {
|
|
|
1132
1143
|
}
|
|
1133
1144
|
};
|
|
1134
1145
|
}
|
|
1135
|
-
function
|
|
1146
|
+
function go(o) {
|
|
1136
1147
|
return {
|
|
1137
1148
|
MuiBadge: {
|
|
1138
1149
|
styleOverrides: {
|
|
@@ -1145,7 +1156,7 @@ function co(o) {
|
|
|
1145
1156
|
}
|
|
1146
1157
|
};
|
|
1147
1158
|
}
|
|
1148
|
-
function
|
|
1159
|
+
function xo(o) {
|
|
1149
1160
|
return {
|
|
1150
1161
|
MuiPaper: {
|
|
1151
1162
|
defaultProps: {
|
|
@@ -1211,7 +1222,7 @@ function go(o) {
|
|
|
1211
1222
|
}
|
|
1212
1223
|
};
|
|
1213
1224
|
}
|
|
1214
|
-
function
|
|
1225
|
+
function bo(o) {
|
|
1215
1226
|
return {
|
|
1216
1227
|
MuiFormControl: {
|
|
1217
1228
|
styleOverrides: {
|
|
@@ -1293,7 +1304,7 @@ function xo(o) {
|
|
|
1293
1304
|
}
|
|
1294
1305
|
};
|
|
1295
1306
|
}
|
|
1296
|
-
function
|
|
1307
|
+
function Mo(o) {
|
|
1297
1308
|
return {
|
|
1298
1309
|
MuiInputLabel: {
|
|
1299
1310
|
styleOverrides: {
|
|
@@ -1308,7 +1319,7 @@ function bo(o) {
|
|
|
1308
1319
|
}
|
|
1309
1320
|
};
|
|
1310
1321
|
}
|
|
1311
|
-
function
|
|
1322
|
+
function yo(o) {
|
|
1312
1323
|
return {
|
|
1313
1324
|
MuiRadio: {
|
|
1314
1325
|
styleOverrides: {
|
|
@@ -1325,7 +1336,7 @@ function Mo(o) {
|
|
|
1325
1336
|
}
|
|
1326
1337
|
};
|
|
1327
1338
|
}
|
|
1328
|
-
function
|
|
1339
|
+
function fo(o) {
|
|
1329
1340
|
const r = o.palette.mode === "light";
|
|
1330
1341
|
return {
|
|
1331
1342
|
MuiDrawer: {
|
|
@@ -1343,13 +1354,13 @@ function yo(o) {
|
|
|
1343
1354
|
modal: {
|
|
1344
1355
|
'&[role="presentation"]': {
|
|
1345
1356
|
"& .MuiDrawer-paperAnchorLeft": {
|
|
1346
|
-
boxShadow: `8px 24px 24px 12px ${
|
|
1357
|
+
boxShadow: `8px 24px 24px 12px ${B(
|
|
1347
1358
|
o.palette.grey[900],
|
|
1348
1359
|
r ? 0.16 : 0.48
|
|
1349
1360
|
)}`
|
|
1350
1361
|
},
|
|
1351
1362
|
"& .MuiDrawer-paperAnchorRight": {
|
|
1352
|
-
boxShadow: `-8px 24px 24px 12px ${
|
|
1363
|
+
boxShadow: `-8px 24px 24px 12px ${B(
|
|
1353
1364
|
o.palette.grey[900],
|
|
1354
1365
|
r ? 0.16 : 0.48
|
|
1355
1366
|
)}`
|
|
@@ -1360,7 +1371,7 @@ function yo(o) {
|
|
|
1360
1371
|
}
|
|
1361
1372
|
};
|
|
1362
1373
|
}
|
|
1363
|
-
function
|
|
1374
|
+
function vo(o) {
|
|
1364
1375
|
return {
|
|
1365
1376
|
MuiDialog: {
|
|
1366
1377
|
styleOverrides: {
|
|
@@ -1416,7 +1427,7 @@ function fo(o) {
|
|
|
1416
1427
|
}
|
|
1417
1428
|
};
|
|
1418
1429
|
}
|
|
1419
|
-
function
|
|
1430
|
+
function Lo(o) {
|
|
1420
1431
|
const r = o.palette.mode === "light";
|
|
1421
1432
|
return {
|
|
1422
1433
|
MuiSlider: {
|
|
@@ -1441,7 +1452,7 @@ function vo(o) {
|
|
|
1441
1452
|
}
|
|
1442
1453
|
};
|
|
1443
1454
|
}
|
|
1444
|
-
function
|
|
1455
|
+
function ko(o) {
|
|
1445
1456
|
const r = o.palette.mode === "light";
|
|
1446
1457
|
return {
|
|
1447
1458
|
MuiSwitch: {
|
|
@@ -1489,7 +1500,7 @@ function Bo(o) {
|
|
|
1489
1500
|
}
|
|
1490
1501
|
};
|
|
1491
1502
|
}
|
|
1492
|
-
function
|
|
1503
|
+
function Co(o) {
|
|
1493
1504
|
const r = o.palette.mode === "light";
|
|
1494
1505
|
return {
|
|
1495
1506
|
MuiTooltip: {
|
|
@@ -1504,7 +1515,7 @@ function ko(o) {
|
|
|
1504
1515
|
}
|
|
1505
1516
|
};
|
|
1506
1517
|
}
|
|
1507
|
-
function
|
|
1518
|
+
function ho(o) {
|
|
1508
1519
|
return {
|
|
1509
1520
|
MuiPopover: {
|
|
1510
1521
|
styleOverrides: {
|
|
@@ -1513,7 +1524,7 @@ function Co(o) {
|
|
|
1513
1524
|
}
|
|
1514
1525
|
};
|
|
1515
1526
|
}
|
|
1516
|
-
function
|
|
1527
|
+
function Fo(o) {
|
|
1517
1528
|
return {
|
|
1518
1529
|
MuiStepConnector: {
|
|
1519
1530
|
styleOverrides: {
|
|
@@ -1524,7 +1535,7 @@ function ho(o) {
|
|
|
1524
1535
|
}
|
|
1525
1536
|
};
|
|
1526
1537
|
}
|
|
1527
|
-
function
|
|
1538
|
+
function Io(o) {
|
|
1528
1539
|
return {
|
|
1529
1540
|
MuiDataGrid: {
|
|
1530
1541
|
styleOverrides: {
|
|
@@ -1621,7 +1632,7 @@ function Fo(o) {
|
|
|
1621
1632
|
}
|
|
1622
1633
|
};
|
|
1623
1634
|
}
|
|
1624
|
-
function
|
|
1635
|
+
function wo(o) {
|
|
1625
1636
|
return {
|
|
1626
1637
|
MuiSkeleton: {
|
|
1627
1638
|
defaultProps: {
|
|
@@ -1635,7 +1646,7 @@ function Io(o) {
|
|
|
1635
1646
|
}
|
|
1636
1647
|
};
|
|
1637
1648
|
}
|
|
1638
|
-
function
|
|
1649
|
+
function So(o) {
|
|
1639
1650
|
const r = e(o.palette.grey[900], 0.48), a = e(o.palette.grey[900], 1);
|
|
1640
1651
|
return {
|
|
1641
1652
|
MuiBackdrop: {
|
|
@@ -1655,7 +1666,7 @@ function wo(o) {
|
|
|
1655
1666
|
}
|
|
1656
1667
|
};
|
|
1657
1668
|
}
|
|
1658
|
-
function
|
|
1669
|
+
function Ro(o) {
|
|
1659
1670
|
const r = o.palette.mode === "light";
|
|
1660
1671
|
return {
|
|
1661
1672
|
MuiLinearProgress: {
|
|
@@ -1677,7 +1688,7 @@ function So(o) {
|
|
|
1677
1688
|
}
|
|
1678
1689
|
};
|
|
1679
1690
|
}
|
|
1680
|
-
function
|
|
1691
|
+
function Oo(o) {
|
|
1681
1692
|
return {
|
|
1682
1693
|
MuiTimelineDot: {
|
|
1683
1694
|
styleOverrides: {
|
|
@@ -1695,7 +1706,7 @@ function Ro(o) {
|
|
|
1695
1706
|
}
|
|
1696
1707
|
};
|
|
1697
1708
|
}
|
|
1698
|
-
function
|
|
1709
|
+
function Ao(o) {
|
|
1699
1710
|
return {
|
|
1700
1711
|
MuiCheckbox: {
|
|
1701
1712
|
styleOverrides: {
|
|
@@ -1714,7 +1725,7 @@ function Oo(o) {
|
|
|
1714
1725
|
}
|
|
1715
1726
|
};
|
|
1716
1727
|
}
|
|
1717
|
-
function
|
|
1728
|
+
function To(o) {
|
|
1718
1729
|
return {
|
|
1719
1730
|
MuiAccordion: {
|
|
1720
1731
|
styleOverrides: {
|
|
@@ -1789,7 +1800,7 @@ function Ao(o) {
|
|
|
1789
1800
|
}
|
|
1790
1801
|
};
|
|
1791
1802
|
}
|
|
1792
|
-
function
|
|
1803
|
+
function $o(o) {
|
|
1793
1804
|
return {
|
|
1794
1805
|
MuiTypography: {
|
|
1795
1806
|
defaultProps: {
|
|
@@ -1808,7 +1819,7 @@ function To(o) {
|
|
|
1808
1819
|
}
|
|
1809
1820
|
};
|
|
1810
1821
|
}
|
|
1811
|
-
function
|
|
1822
|
+
function Do(o) {
|
|
1812
1823
|
return {
|
|
1813
1824
|
MuiPaginationItem: {
|
|
1814
1825
|
styleOverrides: {
|
|
@@ -1842,7 +1853,7 @@ function $o(o) {
|
|
|
1842
1853
|
}
|
|
1843
1854
|
};
|
|
1844
1855
|
}
|
|
1845
|
-
function
|
|
1856
|
+
function mo(o) {
|
|
1846
1857
|
return {
|
|
1847
1858
|
MuiBreadcrumbs: {
|
|
1848
1859
|
styleOverrides: {
|
|
@@ -1854,7 +1865,7 @@ function Do(o) {
|
|
|
1854
1865
|
}
|
|
1855
1866
|
};
|
|
1856
1867
|
}
|
|
1857
|
-
function
|
|
1868
|
+
function zo(o) {
|
|
1858
1869
|
const r = (a) => ({
|
|
1859
1870
|
props: { variant: "contained", color: a },
|
|
1860
1871
|
style: { boxShadow: o.customShadows?.primary }
|
|
@@ -1896,7 +1907,7 @@ function mo(o) {
|
|
|
1896
1907
|
}
|
|
1897
1908
|
};
|
|
1898
1909
|
}
|
|
1899
|
-
function
|
|
1910
|
+
function Ho(o) {
|
|
1900
1911
|
return {
|
|
1901
1912
|
MuiCssBaseline: {
|
|
1902
1913
|
styleOverrides: {
|
|
@@ -1939,7 +1950,7 @@ function zo(o) {
|
|
|
1939
1950
|
}
|
|
1940
1951
|
};
|
|
1941
1952
|
}
|
|
1942
|
-
function
|
|
1953
|
+
function Go(o) {
|
|
1943
1954
|
return {
|
|
1944
1955
|
MuiAutocomplete: {
|
|
1945
1956
|
styleOverrides: {
|
|
@@ -1963,7 +1974,7 @@ function Ho(o) {
|
|
|
1963
1974
|
}
|
|
1964
1975
|
};
|
|
1965
1976
|
}
|
|
1966
|
-
const
|
|
1977
|
+
const c = (o, r) => ({
|
|
1967
1978
|
props: { color: r },
|
|
1968
1979
|
style: {
|
|
1969
1980
|
"&:hover": {
|
|
@@ -1975,7 +1986,7 @@ const u = (o, r) => ({
|
|
|
1975
1986
|
}
|
|
1976
1987
|
}
|
|
1977
1988
|
});
|
|
1978
|
-
function
|
|
1989
|
+
function Eo(o) {
|
|
1979
1990
|
return {
|
|
1980
1991
|
MuiToggleButton: {
|
|
1981
1992
|
variants: [
|
|
@@ -1987,12 +1998,12 @@ function Go(o) {
|
|
|
1987
1998
|
}
|
|
1988
1999
|
}
|
|
1989
2000
|
},
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
2001
|
+
c(o, "primary"),
|
|
2002
|
+
c(o, "secondary"),
|
|
2003
|
+
c(o, "info"),
|
|
2004
|
+
c(o, "success"),
|
|
2005
|
+
c(o, "warning"),
|
|
2006
|
+
c(o, "error")
|
|
1996
2007
|
]
|
|
1997
2008
|
},
|
|
1998
2009
|
MuiToggleButtonGroup: {
|
|
@@ -2011,7 +2022,7 @@ function Go(o) {
|
|
|
2011
2022
|
}
|
|
2012
2023
|
};
|
|
2013
2024
|
}
|
|
2014
|
-
function
|
|
2025
|
+
function Wo(o) {
|
|
2015
2026
|
return {
|
|
2016
2027
|
MuiFormControlLabel: {
|
|
2017
2028
|
styleOverrides: {
|
|
@@ -2036,7 +2047,7 @@ function Eo(o) {
|
|
|
2036
2047
|
}
|
|
2037
2048
|
};
|
|
2038
2049
|
}
|
|
2039
|
-
function
|
|
2050
|
+
function Po(o) {
|
|
2040
2051
|
return {
|
|
2041
2052
|
MuiLoadingButton: {
|
|
2042
2053
|
styleOverrides: {
|
|
@@ -2060,11 +2071,11 @@ function Wo(o) {
|
|
|
2060
2071
|
}
|
|
2061
2072
|
};
|
|
2062
2073
|
}
|
|
2063
|
-
const
|
|
2074
|
+
const qo = (o) => ({
|
|
2064
2075
|
M4LBruceTest: {
|
|
2065
2076
|
styleOverrides: {}
|
|
2066
2077
|
}
|
|
2067
|
-
}),
|
|
2078
|
+
}), Vo = (o) => ({
|
|
2068
2079
|
M4LDynamicFilter: {
|
|
2069
2080
|
styleOverrides: {
|
|
2070
2081
|
"&.M4LDynamicFilter-root": {
|
|
@@ -2203,7 +2214,7 @@ const Po = (o) => ({
|
|
|
2203
2214
|
}
|
|
2204
2215
|
}
|
|
2205
2216
|
}
|
|
2206
|
-
}),
|
|
2217
|
+
}), No = (o) => ({
|
|
2207
2218
|
M4LRHFTextFieldPassword: {
|
|
2208
2219
|
styleOverrides: {
|
|
2209
2220
|
"&.M4LRHFTextFieldPassword-root": {
|
|
@@ -2211,7 +2222,7 @@ const Po = (o) => ({
|
|
|
2211
2222
|
}
|
|
2212
2223
|
}
|
|
2213
2224
|
}
|
|
2214
|
-
}),
|
|
2225
|
+
}), _o = (o) => ({
|
|
2215
2226
|
M4LRHFTextField: {
|
|
2216
2227
|
styleOverrides: {
|
|
2217
2228
|
"&.M4LRHFTextField-root": {
|
|
@@ -2389,7 +2400,7 @@ const Po = (o) => ({
|
|
|
2389
2400
|
}
|
|
2390
2401
|
}
|
|
2391
2402
|
}
|
|
2392
|
-
}),
|
|
2403
|
+
}), Yo = (o) => ({
|
|
2393
2404
|
M4LIconButton: {
|
|
2394
2405
|
styleOverrides: {
|
|
2395
2406
|
["&.M4LIconButton-root"]: {
|
|
@@ -2528,13 +2539,13 @@ const Po = (o) => ({
|
|
|
2528
2539
|
}
|
|
2529
2540
|
}
|
|
2530
2541
|
}
|
|
2531
|
-
}),
|
|
2542
|
+
}), Uo = (o) => ({
|
|
2532
2543
|
M4LanguagePopover: {
|
|
2533
2544
|
styleOverrides: {
|
|
2534
2545
|
["&.M4LanguagePopover-root"]: {}
|
|
2535
2546
|
}
|
|
2536
2547
|
}
|
|
2537
|
-
}),
|
|
2548
|
+
}), Ko = (o) => ({
|
|
2538
2549
|
M4LImageButton: {
|
|
2539
2550
|
styleOverrides: {
|
|
2540
2551
|
["&.M4LImageButton-root"]: {
|
|
@@ -2576,7 +2587,7 @@ const Po = (o) => ({
|
|
|
2576
2587
|
}
|
|
2577
2588
|
}
|
|
2578
2589
|
}
|
|
2579
|
-
}),
|
|
2590
|
+
}), Qo = (o) => ({
|
|
2580
2591
|
M4LImage: {
|
|
2581
2592
|
styleOverrides: {
|
|
2582
2593
|
["&.M4LImage-root"]: {
|
|
@@ -2659,7 +2670,7 @@ const Po = (o) => ({
|
|
|
2659
2670
|
}
|
|
2660
2671
|
}
|
|
2661
2672
|
}
|
|
2662
|
-
}),
|
|
2673
|
+
}), Xo = (o) => ({
|
|
2663
2674
|
M4LRHFCheckbox: {
|
|
2664
2675
|
styleOverrides: {
|
|
2665
2676
|
"&.M4LRHFCheckbox-root": {
|
|
@@ -2722,7 +2733,7 @@ const Po = (o) => ({
|
|
|
2722
2733
|
}
|
|
2723
2734
|
}
|
|
2724
2735
|
}
|
|
2725
|
-
}),
|
|
2736
|
+
}), Zo = (o) => ({
|
|
2726
2737
|
M4LErrorLabel: {
|
|
2727
2738
|
styleOverrides: {
|
|
2728
2739
|
["&.M4LHelperText-root"]: {
|
|
@@ -2741,7 +2752,7 @@ const Po = (o) => ({
|
|
|
2741
2752
|
}
|
|
2742
2753
|
}
|
|
2743
2754
|
}
|
|
2744
|
-
}),
|
|
2755
|
+
}), ot = (o) => ({
|
|
2745
2756
|
M4LTypography: {
|
|
2746
2757
|
styleOverrides: {
|
|
2747
2758
|
["&.M4LTypography-root"]: {
|
|
@@ -2753,7 +2764,7 @@ const Po = (o) => ({
|
|
|
2753
2764
|
}
|
|
2754
2765
|
}
|
|
2755
2766
|
}
|
|
2756
|
-
}),
|
|
2767
|
+
}), tt = (o) => ({
|
|
2757
2768
|
M4LButton: {
|
|
2758
2769
|
styleOverrides: {
|
|
2759
2770
|
"&.M4LButton-root": {
|
|
@@ -2956,7 +2967,7 @@ const Po = (o) => ({
|
|
|
2956
2967
|
}
|
|
2957
2968
|
}
|
|
2958
2969
|
}
|
|
2959
|
-
}),
|
|
2970
|
+
}), et = (o) => ({
|
|
2960
2971
|
M4LRHFAutocomplete: {
|
|
2961
2972
|
styleOverrides: {
|
|
2962
2973
|
"&.M4LRHFAutocomplete-root": {
|
|
@@ -3087,7 +3098,7 @@ const Po = (o) => ({
|
|
|
3087
3098
|
}
|
|
3088
3099
|
}
|
|
3089
3100
|
}
|
|
3090
|
-
}),
|
|
3101
|
+
}), rt = (o) => ({
|
|
3091
3102
|
M4LRHFAutocompleteAsync: {
|
|
3092
3103
|
styleOverrides: {
|
|
3093
3104
|
"&.M4LRHFAutocompleteAsync-root": {
|
|
@@ -3096,7 +3107,7 @@ const Po = (o) => ({
|
|
|
3096
3107
|
}
|
|
3097
3108
|
}
|
|
3098
3109
|
}
|
|
3099
|
-
}),
|
|
3110
|
+
}), at = (o) => ({
|
|
3100
3111
|
M4LoadingButton: {
|
|
3101
3112
|
styleOverrides: {
|
|
3102
3113
|
"&.M4LoadingButton-root": {
|
|
@@ -3313,7 +3324,7 @@ const Po = (o) => ({
|
|
|
3313
3324
|
}
|
|
3314
3325
|
}
|
|
3315
3326
|
}
|
|
3316
|
-
}),
|
|
3327
|
+
}), it = (o) => ({
|
|
3317
3328
|
M4LNavLink: {
|
|
3318
3329
|
styleOverrides: {
|
|
3319
3330
|
["&.M4LNavLink-root"]: {
|
|
@@ -3333,7 +3344,7 @@ const Po = (o) => ({
|
|
|
3333
3344
|
}
|
|
3334
3345
|
}
|
|
3335
3346
|
}
|
|
3336
|
-
}),
|
|
3347
|
+
}), nt = (o) => ({
|
|
3337
3348
|
M4LSideBar: {
|
|
3338
3349
|
styleOverrides: {
|
|
3339
3350
|
"&.M4LSideBar-root": {
|
|
@@ -3558,7 +3569,7 @@ const Po = (o) => ({
|
|
|
3558
3569
|
}
|
|
3559
3570
|
}
|
|
3560
3571
|
}
|
|
3561
|
-
}),
|
|
3572
|
+
}), pt = (o) => ({
|
|
3562
3573
|
M4LAreasAdmin: {
|
|
3563
3574
|
styleOverrides: {
|
|
3564
3575
|
"&.M4LAreasAdmin-root": {
|
|
@@ -3576,80 +3587,125 @@ const Po = (o) => ({
|
|
|
3576
3587
|
}
|
|
3577
3588
|
}
|
|
3578
3589
|
}
|
|
3579
|
-
}),
|
|
3590
|
+
}), lt = (o) => ({
|
|
3580
3591
|
M4LAreasViewer: {
|
|
3581
3592
|
styleOverrides: {
|
|
3582
3593
|
"&.M4LAreasViewer-root": {
|
|
3583
|
-
test: "root"
|
|
3594
|
+
test: "root",
|
|
3595
|
+
background: o.palette.background.background,
|
|
3596
|
+
"& .M4LAreasViewer-windowRoot": {
|
|
3597
|
+
background: o.palette.background.neutral,
|
|
3598
|
+
border: "none",
|
|
3599
|
+
boxShadow: o.customShadows.z3,
|
|
3600
|
+
borderRadius: "4px",
|
|
3601
|
+
"& .M4LAreasViewer-windowHeader": {
|
|
3602
|
+
background: o.palette.state.default,
|
|
3603
|
+
padding: "8px",
|
|
3604
|
+
height: "40px",
|
|
3605
|
+
borderRadius: "4px",
|
|
3606
|
+
boxShadow: o.customShadows.z2,
|
|
3607
|
+
borderTop: "2px solid",
|
|
3608
|
+
borderColor: o.palette.state.default,
|
|
3609
|
+
"& .M4LTypography-root .MuiTypography-root": {
|
|
3610
|
+
...o.typography.paragraph,
|
|
3611
|
+
color: o.palette.text.primary
|
|
3612
|
+
}
|
|
3613
|
+
},
|
|
3614
|
+
"& .M4LAreasViewer-windowContent": {
|
|
3615
|
+
margin: "8px",
|
|
3616
|
+
background: o.palette.background.default,
|
|
3617
|
+
borderRadius: "4px"
|
|
3618
|
+
}
|
|
3619
|
+
},
|
|
3620
|
+
"& .M4LAreasViewer-windowPopupRoot": {
|
|
3621
|
+
background: o.palette.state.default,
|
|
3622
|
+
borderRadius: "4px",
|
|
3623
|
+
border: "1px solid",
|
|
3624
|
+
borderColor: o.palette.state.default,
|
|
3625
|
+
backdropFilter: "blur(8px)",
|
|
3626
|
+
"& .M4LAreasViewer-windowRoot": {
|
|
3627
|
+
margin: "8px",
|
|
3628
|
+
background: o.palette.background.default
|
|
3629
|
+
},
|
|
3630
|
+
"& .M4LAreasViewer-windowHeader": {
|
|
3631
|
+
height: "28px",
|
|
3632
|
+
padding: "0px 8px",
|
|
3633
|
+
boxShadow: "none",
|
|
3634
|
+
"& .M4LTypography-root .MuiTypography-root": {
|
|
3635
|
+
...o.typography.body,
|
|
3636
|
+
color: o.palette.text.primary
|
|
3637
|
+
}
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3584
3640
|
}
|
|
3585
3641
|
}
|
|
3586
3642
|
}
|
|
3587
3643
|
});
|
|
3588
|
-
function
|
|
3644
|
+
function bt(o) {
|
|
3589
3645
|
return Object.assign(
|
|
3590
|
-
ao(o),
|
|
3591
|
-
no(o),
|
|
3592
3646
|
io(o),
|
|
3593
3647
|
po(o),
|
|
3648
|
+
no(o),
|
|
3594
3649
|
lo(o),
|
|
3595
|
-
xo(o),
|
|
3596
|
-
bo(),
|
|
3597
|
-
Mo(o),
|
|
3598
|
-
co(),
|
|
3599
3650
|
so(o),
|
|
3651
|
+
bo(o),
|
|
3652
|
+
Mo(),
|
|
3653
|
+
yo(o),
|
|
3654
|
+
go(),
|
|
3600
3655
|
uo(o),
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3656
|
+
co(o),
|
|
3657
|
+
xo(o),
|
|
3658
|
+
ko(o),
|
|
3604
3659
|
ro(o),
|
|
3605
|
-
|
|
3606
|
-
to(o),
|
|
3660
|
+
ao(o),
|
|
3607
3661
|
vo(o),
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
Co(),
|
|
3612
|
-
Bo(),
|
|
3613
|
-
Oo(o),
|
|
3662
|
+
eo(o),
|
|
3663
|
+
Lo(o),
|
|
3664
|
+
fo(o),
|
|
3614
3665
|
Fo(o),
|
|
3666
|
+
Co(o),
|
|
3667
|
+
ho(),
|
|
3668
|
+
Bo(),
|
|
3669
|
+
Ao(o),
|
|
3615
3670
|
Io(o),
|
|
3616
|
-
Ro(o),
|
|
3617
3671
|
wo(o),
|
|
3672
|
+
Oo(o),
|
|
3618
3673
|
So(o),
|
|
3619
|
-
|
|
3674
|
+
Ro(o),
|
|
3620
3675
|
To(o),
|
|
3621
3676
|
$o(o),
|
|
3622
|
-
mo(o),
|
|
3623
3677
|
Do(o),
|
|
3624
|
-
zo(),
|
|
3625
|
-
|
|
3626
|
-
|
|
3678
|
+
zo(o),
|
|
3679
|
+
mo(o),
|
|
3680
|
+
Ho(),
|
|
3627
3681
|
Go(o),
|
|
3628
3682
|
Wo(o),
|
|
3629
|
-
|
|
3630
|
-
Po(),
|
|
3631
|
-
qo(o),
|
|
3632
|
-
No(o),
|
|
3633
|
-
_o(),
|
|
3634
|
-
tt(o),
|
|
3635
|
-
et(),
|
|
3636
|
-
jo(o),
|
|
3637
|
-
Vo(o),
|
|
3638
|
-
Yo(),
|
|
3639
|
-
Uo(o),
|
|
3683
|
+
Eo(o),
|
|
3684
|
+
Po(o),
|
|
3640
3685
|
at(o),
|
|
3641
|
-
|
|
3686
|
+
qo(),
|
|
3687
|
+
Vo(o),
|
|
3688
|
+
_o(o),
|
|
3689
|
+
No(),
|
|
3690
|
+
et(o),
|
|
3691
|
+
rt(),
|
|
3692
|
+
jo(o),
|
|
3693
|
+
Yo(o),
|
|
3694
|
+
Uo(),
|
|
3695
|
+
Ko(o),
|
|
3696
|
+
it(o),
|
|
3697
|
+
Qo(),
|
|
3642
3698
|
Jo(o),
|
|
3643
|
-
Qo(o),
|
|
3644
3699
|
Xo(o),
|
|
3645
3700
|
Zo(o),
|
|
3646
3701
|
ot(o),
|
|
3647
|
-
|
|
3648
|
-
nt(),
|
|
3649
|
-
pt()
|
|
3702
|
+
tt(o),
|
|
3703
|
+
nt(o),
|
|
3704
|
+
pt(),
|
|
3705
|
+
lt(o)
|
|
3650
3706
|
);
|
|
3651
3707
|
}
|
|
3652
|
-
const
|
|
3708
|
+
const Mt = {
|
|
3653
3709
|
values: {
|
|
3654
3710
|
xs: 0,
|
|
3655
3711
|
sm: 600,
|
|
@@ -3657,30 +3713,31 @@ const bt = {
|
|
|
3657
3713
|
lg: 1200,
|
|
3658
3714
|
xl: 1400
|
|
3659
3715
|
}
|
|
3660
|
-
},
|
|
3716
|
+
}, yt = {
|
|
3661
3717
|
mobile: 16,
|
|
3662
3718
|
desktop: 16
|
|
3663
3719
|
};
|
|
3664
3720
|
export {
|
|
3665
3721
|
t as PATRONUSCOLORS,
|
|
3666
3722
|
j as blaze,
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3723
|
+
_ as candy,
|
|
3724
|
+
x as colorPresets,
|
|
3725
|
+
oo as createCustomShadows,
|
|
3726
|
+
O as defaultPreset,
|
|
3727
|
+
xt as defaultThemeOptions,
|
|
3728
|
+
bt as fnComponentsOverrides,
|
|
3729
|
+
k as getColorPresets,
|
|
3730
|
+
Y as getColorState,
|
|
3731
|
+
gt as getFontValue,
|
|
3732
|
+
yt as globalRemSize,
|
|
3733
|
+
N as grass,
|
|
3734
|
+
Mt as muiBreakpointsValues,
|
|
3679
3735
|
s as palette,
|
|
3680
3736
|
d as pxToRem,
|
|
3681
|
-
|
|
3737
|
+
U as remToPx,
|
|
3682
3738
|
p as responsiveFontSizes,
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
J as typography
|
|
3739
|
+
to as shadows,
|
|
3740
|
+
V as turqui,
|
|
3741
|
+
J as typography,
|
|
3742
|
+
$ as useResponsive
|
|
3686
3743
|
};
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/styles",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@
|
|
6
|
+
"@emotion/react": "^11.9.0",
|
|
7
|
+
"@emotion/styled": "^11.8.1",
|
|
7
8
|
"@mui/material": "5.10.4",
|
|
8
|
-
"@mui/
|
|
9
|
+
"@mui/x-date-pickers": "6.6.0",
|
|
9
10
|
"react": "^17.0.0 || 18.x",
|
|
10
11
|
"react-dom": "^18.0.0"
|
|
11
12
|
},
|
|
@@ -1,9 +1,52 @@
|
|
|
1
1
|
import { Theme } from '@mui/material/styles';
|
|
2
|
-
export declare const M4LAreasViewer: (
|
|
2
|
+
export declare const M4LAreasViewer: (theme: Theme) => {
|
|
3
3
|
M4LAreasViewer: {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
'&.M4LAreasViewer-root': {
|
|
6
6
|
test: string;
|
|
7
|
+
background: string;
|
|
8
|
+
"& .M4LAreasViewer-windowRoot": {
|
|
9
|
+
background: string;
|
|
10
|
+
border: string;
|
|
11
|
+
boxShadow: string;
|
|
12
|
+
borderRadius: string;
|
|
13
|
+
"& .M4LAreasViewer-windowHeader": {
|
|
14
|
+
background: string;
|
|
15
|
+
padding: string;
|
|
16
|
+
height: string;
|
|
17
|
+
borderRadius: string;
|
|
18
|
+
boxShadow: string;
|
|
19
|
+
borderTop: string;
|
|
20
|
+
borderColor: string;
|
|
21
|
+
"& .M4LTypography-root .MuiTypography-root": {
|
|
22
|
+
color: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
"& .M4LAreasViewer-windowContent": {
|
|
26
|
+
margin: string;
|
|
27
|
+
background: string;
|
|
28
|
+
borderRadius: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
"& .M4LAreasViewer-windowPopupRoot": {
|
|
32
|
+
background: string;
|
|
33
|
+
borderRadius: string;
|
|
34
|
+
border: string;
|
|
35
|
+
borderColor: string;
|
|
36
|
+
backdropFilter: string;
|
|
37
|
+
"& .M4LAreasViewer-windowRoot": {
|
|
38
|
+
margin: string;
|
|
39
|
+
background: string;
|
|
40
|
+
};
|
|
41
|
+
"& .M4LAreasViewer-windowHeader": {
|
|
42
|
+
height: string;
|
|
43
|
+
padding: string;
|
|
44
|
+
boxShadow: string;
|
|
45
|
+
"& .M4LTypography-root .MuiTypography-root": {
|
|
46
|
+
color: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
7
50
|
};
|
|
8
51
|
};
|
|
9
52
|
};
|
package/utils/index.d.ts
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Breakpoint } from '@mui/material';
|
|
2
|
+
declare type Query = 'up' | 'down' | 'between' | 'only';
|
|
3
|
+
declare type Key = Breakpoint | number;
|
|
4
|
+
declare type Start = Breakpoint | number;
|
|
5
|
+
declare type End = Breakpoint | number;
|
|
6
|
+
export declare function useResponsive(query: Query, key?: Key, start?: Start, end?: End): boolean | undefined;
|
|
7
|
+
export {};
|