@m4l/styles 0.0.22 → 0.0.24
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 +17 -17
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.733652aa.js → defaultThemeOptions.d50c50f1.js} +5 -5
- package/theme/index.5e193e78.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +85 -25
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +2 -4
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +5965 -218
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +22 -2
- package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +9 -1
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +26 -1
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +287 -821
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +17 -12
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +1 -3
- package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +955 -4
- package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +0 -3
- package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +76 -0
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +14 -1
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +4 -1
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +158 -53
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +2 -1
- package/theme/overrides/M4LExtendedComponents/{index.28d622ba.js → index.83dad55c.js} +626 -240
- package/theme/overrides/MUIComponents/Avatar.d.ts +2 -0
- package/theme/overrides/MUIComponents/Button.d.ts +7 -0
- package/theme/overrides/MUIComponents/DataGrid.d.ts +1 -1616
- package/theme/overrides/MUIComponents/Input.d.ts +1 -1
- package/theme/overrides/MUIComponents/Menu.d.ts +1 -0
- package/theme/overrides/MUIComponents/{index.d308ce65.js → index.1489876d.js} +33 -22
- package/theme/overrides/{index.76becad2.js → index.03494fe3.js} +3 -3
- package/theme/palette.d.ts +10 -6
- package/theme/{palette.a914c187.js → palette.d06284f6.js} +53 -33
- package/theme/{shadows.3dfe77c2.js → shadows.7ecb0e23.js} +1 -1
- package/theme/{typography.dd335f0f.js → typography.b693a0c9.js} +4 -4
- package/types/augmentations.d.ts +1 -1
- package/types/types.d.ts +1 -1
- package/utils/getColorPresets.826b8bc5.js +70 -0
- package/utils/getColorPresets.d.ts +1 -1
- package/utils/{getColorState.184e9d10.js → getColorState.c9741929.js} +39 -27
- package/utils/getColorState.d.ts +1 -0
- package/theme/index.fa6b03ae.js +0 -7
- package/utils/getColorPresets.9c103b85.js +0 -70
|
@@ -16,6 +16,7 @@ export default function Input(theme: Theme): {
|
|
|
16
16
|
root: {
|
|
17
17
|
borderRadius: string;
|
|
18
18
|
padding: string;
|
|
19
|
+
paddingBottom: string;
|
|
19
20
|
'&.Mui-disabled': {
|
|
20
21
|
'& svg': {
|
|
21
22
|
color: string;
|
|
@@ -274,7 +275,6 @@ export default function Input(theme: Theme): {
|
|
|
274
275
|
overscrollBehaviorY?: import("csstype").Property.OverscrollBehaviorY | undefined;
|
|
275
276
|
paddingBlockEnd?: import("csstype").Property.PaddingBlockEnd<string | number> | undefined;
|
|
276
277
|
paddingBlockStart?: import("csstype").Property.PaddingBlockStart<string | number> | undefined;
|
|
277
|
-
paddingBottom?: import("csstype").Property.PaddingBottom<string | number> | undefined;
|
|
278
278
|
paddingInlineEnd?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
279
279
|
paddingInlineStart?: import("csstype").Property.PaddingInlineStart<string | number> | undefined;
|
|
280
280
|
paddingLeft?: import("csstype").Property.PaddingLeft<string | number> | undefined;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { alpha as e } from "@mui/material";
|
|
2
2
|
import { alpha as t } from "@mui/material/styles";
|
|
3
|
-
function
|
|
3
|
+
function s(o) {
|
|
4
4
|
return {
|
|
5
5
|
MuiAvatar: {
|
|
6
6
|
styleOverrides: {
|
|
7
|
+
borderTop: "1.5px",
|
|
8
|
+
borderColor: o.palette.state.borderTop,
|
|
7
9
|
colorDefault: {
|
|
8
10
|
color: o.palette.text.secondary,
|
|
9
11
|
backgroundColor: o.palette.grey[400]
|
|
@@ -25,7 +27,7 @@ function l(o) {
|
|
|
25
27
|
}
|
|
26
28
|
};
|
|
27
29
|
}
|
|
28
|
-
function
|
|
30
|
+
function l(o) {
|
|
29
31
|
return {
|
|
30
32
|
MuiButton: {
|
|
31
33
|
styleOverrides: {
|
|
@@ -33,6 +35,7 @@ function s(o) {
|
|
|
33
35
|
display: "flex",
|
|
34
36
|
flexDirection: "row",
|
|
35
37
|
alignItems: "center",
|
|
38
|
+
borderRadius: "4px",
|
|
36
39
|
"&:hover": {
|
|
37
40
|
boxShadow: "none"
|
|
38
41
|
}
|
|
@@ -43,8 +46,10 @@ function s(o) {
|
|
|
43
46
|
containedInherit: {
|
|
44
47
|
color: o.palette.grey[800],
|
|
45
48
|
boxShadow: o.customShadows?.z1,
|
|
49
|
+
borderRadius: "4px",
|
|
46
50
|
"&:hover": {
|
|
47
|
-
backgroundColor: o.palette.grey[400]
|
|
51
|
+
backgroundColor: o.palette.grey[400],
|
|
52
|
+
borderRadius: "4px"
|
|
48
53
|
}
|
|
49
54
|
},
|
|
50
55
|
containedPrimary: {
|
|
@@ -66,14 +71,18 @@ function s(o) {
|
|
|
66
71
|
boxShadow: o.customShadows?.error
|
|
67
72
|
},
|
|
68
73
|
outlinedInherit: {
|
|
74
|
+
borderRadius: "4px",
|
|
69
75
|
border: `1px solid ${o.palette.grey[50032]}`,
|
|
70
76
|
"&:hover": {
|
|
71
|
-
backgroundColor: o.palette.action.hover
|
|
77
|
+
backgroundColor: o.palette.action.hover,
|
|
78
|
+
borderRadius: "4px"
|
|
72
79
|
}
|
|
73
80
|
},
|
|
74
81
|
textInherit: {
|
|
82
|
+
borderRadius: "4px",
|
|
75
83
|
"&:hover": {
|
|
76
|
-
backgroundColor: o.palette.action.hover
|
|
84
|
+
backgroundColor: o.palette.action.hover,
|
|
85
|
+
borderRadius: "4px"
|
|
77
86
|
}
|
|
78
87
|
}
|
|
79
88
|
}
|
|
@@ -176,7 +185,7 @@ function g(o) {
|
|
|
176
185
|
MuiTabs: {
|
|
177
186
|
styleOverrides: {
|
|
178
187
|
root: {
|
|
179
|
-
padding:
|
|
188
|
+
padding: 0,
|
|
180
189
|
borderRadius: 4,
|
|
181
190
|
display: "flex",
|
|
182
191
|
flexDirection: "row",
|
|
@@ -185,13 +194,13 @@ function g(o) {
|
|
|
185
194
|
overflow: "visible",
|
|
186
195
|
"& .MuiTabs-flexContainer": {
|
|
187
196
|
padding: 4,
|
|
188
|
-
borderRadius:
|
|
197
|
+
borderRadius: 4,
|
|
189
198
|
display: "flex",
|
|
190
199
|
flexDirection: "row",
|
|
191
200
|
alignItems: "center",
|
|
192
201
|
gap: 4,
|
|
193
|
-
width: "
|
|
194
|
-
boxShadow: o.customShadows.
|
|
202
|
+
width: "100%",
|
|
203
|
+
boxShadow: o.customShadows.z1,
|
|
195
204
|
background: o.palette.background.default,
|
|
196
205
|
borderTop: "1.5px solid",
|
|
197
206
|
borderColor: o.palette.state.borderTop
|
|
@@ -255,6 +264,7 @@ function b(o) {
|
|
|
255
264
|
MuiMenuItem: {
|
|
256
265
|
styleOverrides: {
|
|
257
266
|
root: {
|
|
267
|
+
borderRadius: "4px",
|
|
258
268
|
"&.Mui-selected": {
|
|
259
269
|
backgroundColor: o.palette.action.selected,
|
|
260
270
|
"&:hover": {
|
|
@@ -500,7 +510,8 @@ function k(o) {
|
|
|
500
510
|
backgroundColor: o.palette.background.default,
|
|
501
511
|
...o.typography.body2,
|
|
502
512
|
borderRadius: "2px",
|
|
503
|
-
padding: "
|
|
513
|
+
padding: "4px",
|
|
514
|
+
paddingBottom: "0px",
|
|
504
515
|
"&.Mui-disabled": {
|
|
505
516
|
"& svg": { color: o.palette.text.disabled }
|
|
506
517
|
}
|
|
@@ -724,7 +735,7 @@ function O(o) {
|
|
|
724
735
|
}
|
|
725
736
|
};
|
|
726
737
|
}
|
|
727
|
-
function
|
|
738
|
+
function R(o) {
|
|
728
739
|
const r = o.palette.mode === "light";
|
|
729
740
|
return {
|
|
730
741
|
MuiSwitch: {
|
|
@@ -754,7 +765,7 @@ function B(o) {
|
|
|
754
765
|
}
|
|
755
766
|
};
|
|
756
767
|
}
|
|
757
|
-
function
|
|
768
|
+
function B(o) {
|
|
758
769
|
return {
|
|
759
770
|
MuiSvgIcon: {
|
|
760
771
|
styleOverrides: {
|
|
@@ -772,7 +783,7 @@ function R(o) {
|
|
|
772
783
|
}
|
|
773
784
|
};
|
|
774
785
|
}
|
|
775
|
-
function
|
|
786
|
+
function T(o) {
|
|
776
787
|
const r = o.palette.mode === "light";
|
|
777
788
|
return {
|
|
778
789
|
MuiTooltip: {
|
|
@@ -787,7 +798,7 @@ function I(o) {
|
|
|
787
798
|
}
|
|
788
799
|
};
|
|
789
800
|
}
|
|
790
|
-
function
|
|
801
|
+
function I(o) {
|
|
791
802
|
return {
|
|
792
803
|
MuiPopover: {
|
|
793
804
|
styleOverrides: {
|
|
@@ -848,7 +859,7 @@ function m(o) {
|
|
|
848
859
|
borderRadius: o.shape.borderRadius
|
|
849
860
|
},
|
|
850
861
|
"& .MuiMenuItem-root": {
|
|
851
|
-
...o.typography.
|
|
862
|
+
...o.typography.body
|
|
852
863
|
}
|
|
853
864
|
}
|
|
854
865
|
}
|
|
@@ -866,7 +877,7 @@ function m(o) {
|
|
|
866
877
|
display: "none"
|
|
867
878
|
},
|
|
868
879
|
"& .MuiNativeSelect-select, .MuiInput-input": {
|
|
869
|
-
...o.typography.
|
|
880
|
+
...o.typography.body,
|
|
870
881
|
padding: o.spacing(0.75, 1),
|
|
871
882
|
borderRadius: o.shape.borderRadius,
|
|
872
883
|
backgroundColor: o.palette.background.neutral
|
|
@@ -1360,7 +1371,7 @@ const J = (o) => ({
|
|
|
1360
1371
|
}
|
|
1361
1372
|
});
|
|
1362
1373
|
export {
|
|
1363
|
-
|
|
1374
|
+
s as A,
|
|
1364
1375
|
f as B,
|
|
1365
1376
|
c as C,
|
|
1366
1377
|
h as D,
|
|
@@ -1372,19 +1383,19 @@ export {
|
|
|
1372
1383
|
b as M,
|
|
1373
1384
|
v as P,
|
|
1374
1385
|
S as R,
|
|
1375
|
-
|
|
1386
|
+
R as S,
|
|
1376
1387
|
g as T,
|
|
1377
1388
|
w as a,
|
|
1378
1389
|
M as b,
|
|
1379
1390
|
x as c,
|
|
1380
|
-
|
|
1391
|
+
l as d,
|
|
1381
1392
|
p as e,
|
|
1382
1393
|
O as f,
|
|
1383
1394
|
C as g,
|
|
1384
1395
|
L as h,
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1396
|
+
T as i,
|
|
1397
|
+
I as j,
|
|
1398
|
+
B as k,
|
|
1388
1399
|
A as l,
|
|
1389
1400
|
m,
|
|
1390
1401
|
D as n,
|
|
@@ -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.1489876d.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.83dad55c.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(
|
|
@@ -73,7 +73,7 @@ function ja(a) {
|
|
|
73
73
|
na(a),
|
|
74
74
|
ia(a),
|
|
75
75
|
pa(a),
|
|
76
|
-
da(
|
|
76
|
+
da(),
|
|
77
77
|
la(a),
|
|
78
78
|
ua(),
|
|
79
79
|
ca(a),
|
package/theme/palette.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare type ColorSchema = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error';
|
|
2
|
-
export declare type PatronusColors = 'patronusBlue' | 'crayonBlue' | 'middleYellow' | 'acidGreen' | 'grassGreen' | 'desertBeige' | 'turquiBlue' | 'blazeOrange' | 'flameRed' | 'coolGrey' | 'marbleLight' | 'ashBlak';
|
|
3
|
-
export declare type PatronusOpacityColors = 'patronus' | 'turqui' | 'grass' | '
|
|
2
|
+
export declare type PatronusColors = 'patronusBlue' | 'crayonBlue' | 'middleYellow' | 'acidGreen' | 'grassGreen' | 'desertBeige' | 'turquiBlue' | 'blazeOrange' | 'flameRed' | 'coolGrey' | 'brown' | 'marbleLight' | 'ashBlak';
|
|
3
|
+
export declare type PatronusOpacityColors = 'patronus' | 'turqui' | 'grass' | 'brown' | 'beige' | 'orange' | 'cool' | 'marbel';
|
|
4
4
|
export interface PatronusColorOptions {
|
|
5
5
|
10: string;
|
|
6
6
|
20: string;
|
|
@@ -138,15 +138,17 @@ export declare const palette: {
|
|
|
138
138
|
blazeOrange: PatronusColorOptions;
|
|
139
139
|
flameRed: PatronusColorOptions;
|
|
140
140
|
coolGrey: PatronusColorOptions;
|
|
141
|
+
brown: PatronusColorOptions;
|
|
141
142
|
marbleLight: PatronusColorOptions;
|
|
142
143
|
ashBlak: PatronusColorOptions;
|
|
143
144
|
};
|
|
144
145
|
readonly opacity: {
|
|
146
|
+
brown: PatronusOpacityOptions;
|
|
145
147
|
patronus: PatronusOpacityOptions;
|
|
146
148
|
turqui: PatronusOpacityOptions;
|
|
147
149
|
grass: PatronusOpacityOptions;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
+
beige: PatronusOpacityOptions;
|
|
151
|
+
orange: PatronusOpacityOptions;
|
|
150
152
|
cool: PatronusOpacityOptions;
|
|
151
153
|
marbel: PatronusOpacityOptions;
|
|
152
154
|
};
|
|
@@ -297,15 +299,17 @@ export declare const palette: {
|
|
|
297
299
|
blazeOrange: PatronusColorOptions;
|
|
298
300
|
flameRed: PatronusColorOptions;
|
|
299
301
|
coolGrey: PatronusColorOptions;
|
|
302
|
+
brown: PatronusColorOptions;
|
|
300
303
|
marbleLight: PatronusColorOptions;
|
|
301
304
|
ashBlak: PatronusColorOptions;
|
|
302
305
|
};
|
|
303
306
|
readonly opacity: {
|
|
307
|
+
brown: PatronusOpacityOptions;
|
|
304
308
|
patronus: PatronusOpacityOptions;
|
|
305
309
|
turqui: PatronusOpacityOptions;
|
|
306
310
|
grass: PatronusOpacityOptions;
|
|
307
|
-
|
|
308
|
-
|
|
311
|
+
beige: PatronusOpacityOptions;
|
|
312
|
+
orange: PatronusOpacityOptions;
|
|
309
313
|
cool: PatronusOpacityOptions;
|
|
310
314
|
marbel: PatronusOpacityOptions;
|
|
311
315
|
};
|
|
@@ -113,6 +113,17 @@ const e = {
|
|
|
113
113
|
80: "#364546",
|
|
114
114
|
90: "#233333"
|
|
115
115
|
},
|
|
116
|
+
brown: {
|
|
117
|
+
10: "#D8BEB0",
|
|
118
|
+
20: "#C59D88",
|
|
119
|
+
30: "#B8886E",
|
|
120
|
+
40: "#B17D61",
|
|
121
|
+
50: "#9E694D",
|
|
122
|
+
60: "#875A42",
|
|
123
|
+
70: "#7C533D",
|
|
124
|
+
80: "#704B37",
|
|
125
|
+
90: "#654432"
|
|
126
|
+
},
|
|
116
127
|
marbleLight: {
|
|
117
128
|
10: "#FFFFFF",
|
|
118
129
|
20: "#F7FCFC",
|
|
@@ -126,7 +137,7 @@ const e = {
|
|
|
126
137
|
},
|
|
127
138
|
ashBlak: {
|
|
128
139
|
10: "#364040",
|
|
129
|
-
20: "#
|
|
140
|
+
20: "#323B3B",
|
|
130
141
|
30: "#2A3232",
|
|
131
142
|
40: "#252C2C",
|
|
132
143
|
50: "#212727",
|
|
@@ -137,8 +148,8 @@ const e = {
|
|
|
137
148
|
}
|
|
138
149
|
}, c = {
|
|
139
150
|
patronus: {
|
|
140
|
-
4: r(e.patronusBlue[50], 0.
|
|
141
|
-
12: r(e.patronusBlue[50], 0.
|
|
151
|
+
4: r(e.patronusBlue[50], 0.08),
|
|
152
|
+
12: r(e.patronusBlue[50], 0.12),
|
|
142
153
|
24: r(e.patronusBlue[50], 0.16),
|
|
143
154
|
36: r(e.patronusBlue[50], 0.32),
|
|
144
155
|
48: r(e.patronusBlue[50], 0.48),
|
|
@@ -146,8 +157,8 @@ const e = {
|
|
|
146
157
|
72: r(e.patronusBlue[50], 0.72)
|
|
147
158
|
},
|
|
148
159
|
turqui: {
|
|
149
|
-
4: r(e.turquiBlue[50], 0.
|
|
150
|
-
12: r(e.turquiBlue[50], 0.
|
|
160
|
+
4: r(e.turquiBlue[50], 0.08),
|
|
161
|
+
12: r(e.turquiBlue[50], 0.12),
|
|
151
162
|
24: r(e.turquiBlue[50], 0.16),
|
|
152
163
|
36: r(e.turquiBlue[50], 0.32),
|
|
153
164
|
48: r(e.turquiBlue[50], 0.48),
|
|
@@ -155,26 +166,35 @@ const e = {
|
|
|
155
166
|
72: r(e.turquiBlue[50], 0.72)
|
|
156
167
|
},
|
|
157
168
|
grass: {
|
|
158
|
-
4: r(e.grassGreen[50], 0.
|
|
159
|
-
12: r(e.grassGreen[50], 0.
|
|
169
|
+
4: r(e.grassGreen[50], 0.08),
|
|
170
|
+
12: r(e.grassGreen[50], 0.12),
|
|
160
171
|
24: r(e.grassGreen[50], 0.16),
|
|
161
172
|
36: r(e.grassGreen[50], 0.32),
|
|
162
173
|
48: r(e.grassGreen[50], 0.48),
|
|
163
174
|
60: r(e.grassGreen[50], 0.6),
|
|
164
175
|
72: r(e.grassGreen[50], 0.72)
|
|
165
176
|
},
|
|
166
|
-
|
|
167
|
-
4: r(e.
|
|
168
|
-
12: r(e.
|
|
177
|
+
brown: {
|
|
178
|
+
4: r(e.brown[50], 0.08),
|
|
179
|
+
12: r(e.brown[50], 0.12),
|
|
180
|
+
24: r(e.brown[50], 0.16),
|
|
181
|
+
36: r(e.brown[50], 0.32),
|
|
182
|
+
48: r(e.brown[50], 0.48),
|
|
183
|
+
60: r(e.brown[50], 0.6),
|
|
184
|
+
72: r(e.brown[50], 0.72)
|
|
185
|
+
},
|
|
186
|
+
beige: {
|
|
187
|
+
4: r(e.desertBeige[50], 0.08),
|
|
188
|
+
12: r(e.desertBeige[50], 0.12),
|
|
169
189
|
24: r(e.desertBeige[50], 0.16),
|
|
170
190
|
36: r(e.desertBeige[50], 0.32),
|
|
171
191
|
48: r(e.desertBeige[50], 0.48),
|
|
172
192
|
60: r(e.desertBeige[50], 0.6),
|
|
173
193
|
72: r(e.desertBeige[50], 0.72)
|
|
174
194
|
},
|
|
175
|
-
|
|
176
|
-
4: r(e.blazeOrange[50], 0.
|
|
177
|
-
12: r(e.blazeOrange[50], 0.
|
|
195
|
+
orange: {
|
|
196
|
+
4: r(e.blazeOrange[50], 0.08),
|
|
197
|
+
12: r(e.blazeOrange[50], 0.12),
|
|
178
198
|
24: r(e.blazeOrange[50], 0.16),
|
|
179
199
|
36: r(e.blazeOrange[50], 0.32),
|
|
180
200
|
48: r(e.blazeOrange[50], 0.48),
|
|
@@ -182,8 +202,8 @@ const e = {
|
|
|
182
202
|
72: r(e.blazeOrange[50], 0.72)
|
|
183
203
|
},
|
|
184
204
|
cool: {
|
|
185
|
-
4: r(e.coolGrey[70], 0.
|
|
186
|
-
12: r(e.coolGrey[70], 0.
|
|
205
|
+
4: r(e.coolGrey[70], 0.08),
|
|
206
|
+
12: r(e.coolGrey[70], 0.12),
|
|
187
207
|
24: r(e.coolGrey[70], 0.16),
|
|
188
208
|
36: r(e.coolGrey[70], 0.32),
|
|
189
209
|
48: r(e.coolGrey[70], 0.48),
|
|
@@ -191,8 +211,8 @@ const e = {
|
|
|
191
211
|
72: r(e.coolGrey[70], 0.72)
|
|
192
212
|
},
|
|
193
213
|
marbel: {
|
|
194
|
-
4: r(e.marbleLight[10], 0.
|
|
195
|
-
12: r(e.marbleLight[10], 0.
|
|
214
|
+
4: r(e.marbleLight[10], 0.08),
|
|
215
|
+
12: r(e.marbleLight[10], 0.12),
|
|
196
216
|
24: r(e.marbleLight[10], 0.16),
|
|
197
217
|
36: r(e.marbleLight[10], 0.32),
|
|
198
218
|
48: r(e.marbleLight[10], 0.48),
|
|
@@ -212,14 +232,14 @@ const e = {
|
|
|
212
232
|
main: "#fff0",
|
|
213
233
|
dark: "#fff0",
|
|
214
234
|
darker: "#fff0"
|
|
215
|
-
},
|
|
235
|
+
}, o = {
|
|
216
236
|
lighter: "#fff0",
|
|
217
237
|
light: "#fff0",
|
|
218
238
|
main: e.crayonBlue[50],
|
|
219
239
|
dark: "#fff0",
|
|
220
240
|
darker: "#fff0",
|
|
221
241
|
opacity: r(e.crayonBlue[50], 0.08)
|
|
222
|
-
},
|
|
242
|
+
}, l = {
|
|
223
243
|
lighter: "#fff0",
|
|
224
244
|
light: "#fff0",
|
|
225
245
|
main: e.acidGreen[60],
|
|
@@ -261,8 +281,8 @@ const e = {
|
|
|
261
281
|
50080: r("#919EAB", 0.8)
|
|
262
282
|
}, u = {
|
|
263
283
|
primary: a(t.light, t.main),
|
|
264
|
-
info: a(
|
|
265
|
-
success: a(
|
|
284
|
+
info: a(o.light, o.main),
|
|
285
|
+
success: a(l.light, l.main),
|
|
266
286
|
warning: a(n.light, n.main),
|
|
267
287
|
error: a(i.light, i.main)
|
|
268
288
|
}, A = {
|
|
@@ -280,18 +300,18 @@ const e = {
|
|
|
280
300
|
}, C = {
|
|
281
301
|
normal: e.flameRed[40],
|
|
282
302
|
hover: e.flameRed[60]
|
|
283
|
-
},
|
|
303
|
+
}, D = {
|
|
284
304
|
normal: e.middleYellow[60],
|
|
285
305
|
hover: e.middleYellow[70]
|
|
286
|
-
},
|
|
306
|
+
}, m = {
|
|
287
307
|
default: r(e.coolGrey[50], 0.24),
|
|
288
308
|
transition: r(e.coolGrey[50], 0.08)
|
|
289
309
|
}, h = {
|
|
290
310
|
info: { ...g },
|
|
291
311
|
success: { ...E },
|
|
292
312
|
error: { ...C },
|
|
293
|
-
warning: { ...
|
|
294
|
-
skeleton: { ...
|
|
313
|
+
warning: { ...D },
|
|
314
|
+
skeleton: { ...m }
|
|
295
315
|
}, f = {
|
|
296
316
|
common: { black: "#000", white: "#fff" },
|
|
297
317
|
primary: { ...t },
|
|
@@ -301,8 +321,8 @@ const e = {
|
|
|
301
321
|
patronus: { ...e },
|
|
302
322
|
opacity: { ...c },
|
|
303
323
|
secondary: { ...d, contrastText: "#fff" },
|
|
304
|
-
info: { ...
|
|
305
|
-
success: { ...
|
|
324
|
+
info: { ...o, contrastText: "#fff" },
|
|
325
|
+
success: { ...l, contrastText: F[800] },
|
|
306
326
|
warning: { ...n, contrastText: F[800] },
|
|
307
327
|
error: { ...i, contrastText: "#fff" },
|
|
308
328
|
grey: F,
|
|
@@ -313,20 +333,20 @@ const e = {
|
|
|
313
333
|
hoverOpacity: 0.08,
|
|
314
334
|
disabledOpacity: 0.48
|
|
315
335
|
}
|
|
316
|
-
},
|
|
336
|
+
}, p = {
|
|
317
337
|
light: {
|
|
318
338
|
...f,
|
|
319
339
|
mode: "light",
|
|
320
340
|
text: {
|
|
321
341
|
primary: e.ashBlak[10],
|
|
322
|
-
secondary: e.coolGrey[
|
|
323
|
-
disabled: e.coolGrey[
|
|
342
|
+
secondary: e.coolGrey[50],
|
|
343
|
+
disabled: e.coolGrey[30]
|
|
324
344
|
},
|
|
325
345
|
background: {
|
|
326
346
|
paper: "#fff0",
|
|
327
347
|
default: e.marbleLight[20],
|
|
328
348
|
neutral: e.marbleLight[40],
|
|
329
|
-
background: e.marbleLight[
|
|
349
|
+
background: e.marbleLight[70]
|
|
330
350
|
},
|
|
331
351
|
grid: { sectionHeader: "#F6F7F9", divider: "#EDEFF2", rowHover: "#FAFBFC" }
|
|
332
352
|
},
|
|
@@ -340,7 +360,7 @@ const e = {
|
|
|
340
360
|
},
|
|
341
361
|
background: {
|
|
342
362
|
paper: "#fff0",
|
|
343
|
-
default: e.ashBlak[
|
|
363
|
+
default: e.ashBlak[20],
|
|
344
364
|
neutral: e.ashBlak[30],
|
|
345
365
|
background: e.ashBlak[50]
|
|
346
366
|
},
|
|
@@ -350,5 +370,5 @@ const e = {
|
|
|
350
370
|
export {
|
|
351
371
|
e as P,
|
|
352
372
|
h as S,
|
|
353
|
-
|
|
373
|
+
p
|
|
354
374
|
};
|
|
@@ -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.d06284f6.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.826b8bc5.js";
|
|
4
4
|
import "@mui/system";
|
|
5
|
-
import "./defaultThemeOptions.
|
|
6
|
-
import "./shadows.
|
|
7
|
-
import "./palette.
|
|
5
|
+
import "./defaultThemeOptions.d50c50f1.js";
|
|
6
|
+
import "./shadows.7ecb0e23.js";
|
|
7
|
+
import "./palette.d06284f6.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 = {
|
package/types/augmentations.d.ts
CHANGED
package/types/types.d.ts
CHANGED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { P as r } from "../theme/palette.d06284f6.js";
|
|
2
|
+
const e = [
|
|
3
|
+
{
|
|
4
|
+
name: "patronus",
|
|
5
|
+
lighter: r.patronusBlue[60],
|
|
6
|
+
light: r.patronusBlue[40],
|
|
7
|
+
main: r.patronusBlue[50],
|
|
8
|
+
dark: r.patronusBlue[30],
|
|
9
|
+
darker: r.patronusBlue[10],
|
|
10
|
+
contrastText: r.marbleLight[10]
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: "turqui",
|
|
14
|
+
lighter: r.turquiBlue[70],
|
|
15
|
+
light: r.turquiBlue[40],
|
|
16
|
+
main: r.turquiBlue[50],
|
|
17
|
+
dark: r.turquiBlue[30],
|
|
18
|
+
darker: r.turquiBlue[10],
|
|
19
|
+
contrastText: r.marbleLight[10]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: "grass",
|
|
23
|
+
lighter: r.grassGreen[70],
|
|
24
|
+
light: r.grassGreen[60],
|
|
25
|
+
main: r.grassGreen[50],
|
|
26
|
+
dark: r.grassGreen[40],
|
|
27
|
+
darker: r.grassGreen[10],
|
|
28
|
+
contrastText: r.marbleLight[10]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: "brown",
|
|
32
|
+
lighter: r.brown[90],
|
|
33
|
+
light: r.brown[70],
|
|
34
|
+
main: r.brown[50],
|
|
35
|
+
dark: r.brown[30],
|
|
36
|
+
darker: r.brown[10],
|
|
37
|
+
contrastText: r.marbleLight[10]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: "blaze",
|
|
41
|
+
lighter: r.blazeOrange[70],
|
|
42
|
+
light: r.blazeOrange[60],
|
|
43
|
+
main: r.blazeOrange[50],
|
|
44
|
+
dark: r.blazeOrange[30],
|
|
45
|
+
darker: r.blazeOrange[10],
|
|
46
|
+
contrastText: r.marbleLight[10]
|
|
47
|
+
}
|
|
48
|
+
], a = e[0], n = e[1], s = e[2], l = e[3], u = e[4];
|
|
49
|
+
function i(t) {
|
|
50
|
+
try {
|
|
51
|
+
return {
|
|
52
|
+
patronus: a,
|
|
53
|
+
turqui: n,
|
|
54
|
+
grass: s,
|
|
55
|
+
brown: l,
|
|
56
|
+
blaze: u
|
|
57
|
+
}[t];
|
|
58
|
+
} catch {
|
|
59
|
+
}
|
|
60
|
+
return a;
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
s as a,
|
|
64
|
+
l as b,
|
|
65
|
+
e as c,
|
|
66
|
+
a as d,
|
|
67
|
+
u as e,
|
|
68
|
+
i as g,
|
|
69
|
+
n as t
|
|
70
|
+
};
|