@m4l/styles 1.0.8 → 1.0.9
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 +46 -46
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.d580f3ec.js → defaultThemeOptions.cc70c82e.js} +5 -8
- package/theme/index.34d0fdea.js +1 -0
- package/theme/overrides/M4LExtendedComponents/{index.8c011674.js → index.a1f65f10.js} +108 -112
- package/theme/overrides/{index.781cfe02.js → index.f76e2bb0.js} +1 -1
- package/theme/{typography.947dc33f.js → typography.616cfe0c.js} +24 -31
- package/types/augmentations.d.ts +137 -144
- package/types/index.d.ts +1 -1
- package/types/types.d.ts +29 -24
- package/utils/{getColorState.18b61422.js → getColorState.7cbf2219.js} +4 -9
- package/vite-env.d.ts +3 -3
- package/theme/index.16e25179.js +0 -7
package/index.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { f as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { g as
|
|
9
|
-
import {
|
|
10
|
-
import { g as K,
|
|
11
|
-
import "@mui/material/styles";
|
|
12
|
-
import "@mui/material/useMediaQuery";
|
|
13
|
-
import "@mui/system";
|
|
1
|
+
import { g as f, m as O } from "./config.5405b46b.js";
|
|
2
|
+
import { d as S } from "./theme/defaultThemeOptions.cc70c82e.js";
|
|
3
|
+
import { c as C, s as l } from "./theme/shadows.e0c009ff.js";
|
|
4
|
+
import { t as n } from "./theme/typography.616cfe0c.js";
|
|
5
|
+
import { f as P } from "./theme/overrides/index.f76e2bb0.js";
|
|
6
|
+
import { C as d, E as A, G as E, I as N, O as b, P as c, a as I, b as h, S as F, c as Y, W as v, p as w } from "./theme/palette.287635f2.js";
|
|
7
|
+
import { u as G } from "./utils/useResponsive.2c45e8e0.js";
|
|
8
|
+
import { g as M } from "./utils/getColorState.7cbf2219.js";
|
|
9
|
+
import { e as y, b as D, c as V, d as W, g as k, a as q, t as B } from "./utils/getColorPresets.a96a4046.js";
|
|
10
|
+
import { g as H, p as J, a as K, r as Q } from "./utils/getFontValue.88831637.js";
|
|
14
11
|
import "@mui/material";
|
|
12
|
+
import "@mui/material/styles";
|
|
15
13
|
import "./theme/overrides/MUIComponents/index.5c43e3b5.js";
|
|
16
14
|
import "./theme/overrides/M4LRHFComponents/index.3599b255.js";
|
|
17
|
-
import "
|
|
15
|
+
import "@mui/system";
|
|
16
|
+
import "./theme/overrides/M4LExtendedComponents/index.a1f65f10.js";
|
|
17
|
+
import "@mui/material/useMediaQuery";
|
|
18
18
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
19
|
+
d as COMMON,
|
|
20
|
+
A as ERROR,
|
|
21
|
+
E as GREY,
|
|
22
|
+
N as INFO,
|
|
23
|
+
b as OPACITYCOLORS,
|
|
24
|
+
c as PATRONUSCOLORS,
|
|
25
|
+
I as PRIMARY,
|
|
26
|
+
h as SECONDARY,
|
|
27
|
+
F as STATEDEFAULT,
|
|
28
|
+
Y as SUCCESS,
|
|
29
|
+
v as WARNING,
|
|
30
|
+
y as blaze,
|
|
31
|
+
D as brown,
|
|
32
|
+
V as colorPresets,
|
|
33
|
+
C as createCustomShadows,
|
|
34
|
+
W as defaultPreset,
|
|
35
|
+
S as defaultThemeOptions,
|
|
36
|
+
P as fnComponentsOverrides,
|
|
37
|
+
k as getColorPresets,
|
|
38
|
+
M as getColorState,
|
|
39
|
+
H as getFontValue,
|
|
40
|
+
f as globalRemSize,
|
|
41
|
+
q as grass,
|
|
42
|
+
O as muiBreakpointsValues,
|
|
43
|
+
w as palette,
|
|
44
|
+
J as pxToRem,
|
|
45
|
+
K as remToPx,
|
|
46
|
+
Q as responsiveFontSizes,
|
|
47
|
+
l as shadows,
|
|
48
|
+
B as turqui,
|
|
49
|
+
n as typography,
|
|
50
|
+
G as useResponsive
|
|
51
51
|
};
|
package/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "@mui/material/useMediaQuery";
|
|
3
|
-
import { g as t } from "../utils/getColorPresets.a96a4046.js";
|
|
4
|
-
import "@mui/system";
|
|
5
|
-
import { t as a } from "./typography.947dc33f.js";
|
|
1
|
+
import { t as a } from "./typography.616cfe0c.js";
|
|
6
2
|
import { p as e } from "./palette.287635f2.js";
|
|
7
3
|
import { createTheme as o, alpha as s } from "@mui/material";
|
|
8
4
|
import { s as p, c as m } from "./shadows.e0c009ff.js";
|
|
9
|
-
import { g as
|
|
10
|
-
|
|
5
|
+
import { g as t } from "../utils/getColorPresets.a96a4046.js";
|
|
6
|
+
import { g as i } from "../utils/getColorState.7cbf2219.js";
|
|
7
|
+
const r = o(), f = {
|
|
11
8
|
...r,
|
|
12
9
|
typography: a,
|
|
13
10
|
palette: {
|
|
@@ -30,5 +27,5 @@ const r = o(), k = {
|
|
|
30
27
|
stretch: !0
|
|
31
28
|
};
|
|
32
29
|
export {
|
|
33
|
-
|
|
30
|
+
f as d
|
|
34
31
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { alpha as t } from "@mui/material/styles";
|
|
2
2
|
import { alpha as r } from "@mui/system";
|
|
3
|
-
import "../../defaultThemeOptions.d580f3ec.js";
|
|
4
|
-
import "../../shadows.e0c009ff.js";
|
|
5
3
|
import { P as e } from "../../palette.287635f2.js";
|
|
6
|
-
|
|
7
|
-
import "@mui/material";
|
|
8
|
-
const c = (o) => ({
|
|
4
|
+
const p = (o) => ({
|
|
9
5
|
M4LIcon: {
|
|
10
6
|
styleOverrides: {
|
|
11
7
|
["&.M4LIcon-root"]: {
|
|
@@ -54,7 +50,7 @@ const c = (o) => ({
|
|
|
54
50
|
}
|
|
55
51
|
}
|
|
56
52
|
}
|
|
57
|
-
}),
|
|
53
|
+
}), d = (o) => ({
|
|
58
54
|
M4LIconButton: {
|
|
59
55
|
styleOverrides: {
|
|
60
56
|
["&.M4LIconButton-root"]: {
|
|
@@ -189,7 +185,7 @@ const c = (o) => ({
|
|
|
189
185
|
}
|
|
190
186
|
}
|
|
191
187
|
}
|
|
192
|
-
}),
|
|
188
|
+
}), s = (o) => ({
|
|
193
189
|
M4LanguagePopover: {
|
|
194
190
|
styleOverrides: {
|
|
195
191
|
["&.M4LanguagePopover-root"]: {
|
|
@@ -210,7 +206,7 @@ const c = (o) => ({
|
|
|
210
206
|
}
|
|
211
207
|
}
|
|
212
208
|
}
|
|
213
|
-
}),
|
|
209
|
+
}), l = (o) => ({
|
|
214
210
|
M4LImageButton: {
|
|
215
211
|
styleOverrides: {
|
|
216
212
|
["&.M4LImageButton-root"]: {
|
|
@@ -264,7 +260,7 @@ const c = (o) => ({
|
|
|
264
260
|
}
|
|
265
261
|
}
|
|
266
262
|
}
|
|
267
|
-
}),
|
|
263
|
+
}), c = (o) => ({
|
|
268
264
|
M4LImage: {
|
|
269
265
|
styleOverrides: {
|
|
270
266
|
["&.M4LImage-root"]: {
|
|
@@ -275,7 +271,7 @@ const c = (o) => ({
|
|
|
275
271
|
}
|
|
276
272
|
}
|
|
277
273
|
}
|
|
278
|
-
}),
|
|
274
|
+
}), g = (o) => ({
|
|
279
275
|
M4LPopover: {
|
|
280
276
|
styleOverrides: {
|
|
281
277
|
"&.M4LPopover-root": {
|
|
@@ -366,7 +362,7 @@ const c = (o) => ({
|
|
|
366
362
|
}
|
|
367
363
|
}
|
|
368
364
|
}
|
|
369
|
-
}),
|
|
365
|
+
}), x = (o) => ({
|
|
370
366
|
M4LErrorLabel: {
|
|
371
367
|
styleOverrides: {
|
|
372
368
|
["&.M4LHelperText-root"]: {
|
|
@@ -385,7 +381,7 @@ const c = (o) => ({
|
|
|
385
381
|
}
|
|
386
382
|
}
|
|
387
383
|
}
|
|
388
|
-
}),
|
|
384
|
+
}), u = (o) => ({
|
|
389
385
|
M4LTypography: {
|
|
390
386
|
styleOverrides: {
|
|
391
387
|
["&.M4LTypography-root"]: {
|
|
@@ -397,7 +393,7 @@ const c = (o) => ({
|
|
|
397
393
|
}
|
|
398
394
|
}
|
|
399
395
|
}
|
|
400
|
-
}),
|
|
396
|
+
}), b = (o) => ({
|
|
401
397
|
M4LButton: {
|
|
402
398
|
styleOverrides: {
|
|
403
399
|
"&.M4LButton-root": {
|
|
@@ -630,7 +626,7 @@ const c = (o) => ({
|
|
|
630
626
|
}
|
|
631
627
|
}
|
|
632
628
|
}
|
|
633
|
-
}),
|
|
629
|
+
}), M = (o) => ({
|
|
634
630
|
M4LNavLink: {
|
|
635
631
|
styleOverrides: {
|
|
636
632
|
["&.M4LNavLink-root"]: {
|
|
@@ -650,7 +646,7 @@ const c = (o) => ({
|
|
|
650
646
|
}
|
|
651
647
|
}
|
|
652
648
|
}
|
|
653
|
-
}),
|
|
649
|
+
}), L = (o) => ({
|
|
654
650
|
M4LSideBar: {
|
|
655
651
|
styleOverrides: {
|
|
656
652
|
"&.M4LSideBar-root": {
|
|
@@ -2352,7 +2348,7 @@ const c = (o) => ({
|
|
|
2352
2348
|
}
|
|
2353
2349
|
}
|
|
2354
2350
|
}
|
|
2355
|
-
}),
|
|
2351
|
+
}), v = (o) => ({
|
|
2356
2352
|
M4LAreasAdmin: {
|
|
2357
2353
|
styleOverrides: {
|
|
2358
2354
|
"&.M4LAreasAdmin-root": {
|
|
@@ -2793,7 +2789,7 @@ const c = (o) => ({
|
|
|
2793
2789
|
}
|
|
2794
2790
|
}
|
|
2795
2791
|
}
|
|
2796
|
-
}),
|
|
2792
|
+
}), h = (o) => ({
|
|
2797
2793
|
M4LAreasViewer: {
|
|
2798
2794
|
styleOverrides: {
|
|
2799
2795
|
"&.M4LAreasViewer-root": {
|
|
@@ -3460,7 +3456,7 @@ const c = (o) => ({
|
|
|
3460
3456
|
}
|
|
3461
3457
|
}
|
|
3462
3458
|
}
|
|
3463
|
-
}),
|
|
3459
|
+
}), y = (o) => ({
|
|
3464
3460
|
M4LAppBar: {
|
|
3465
3461
|
styleOverrides: {
|
|
3466
3462
|
"&.M4LAppBar-root": {
|
|
@@ -3575,7 +3571,7 @@ const c = (o) => ({
|
|
|
3575
3571
|
}
|
|
3576
3572
|
}
|
|
3577
3573
|
}
|
|
3578
|
-
}),
|
|
3574
|
+
}), f = (o) => ({
|
|
3579
3575
|
M4LAvatar: {
|
|
3580
3576
|
styleOverrides: {
|
|
3581
3577
|
"&.M4LAvatar-root": {
|
|
@@ -3614,7 +3610,7 @@ const c = (o) => ({
|
|
|
3614
3610
|
}
|
|
3615
3611
|
}
|
|
3616
3612
|
}
|
|
3617
|
-
}),
|
|
3613
|
+
}), w = (o) => ({
|
|
3618
3614
|
M4LAccountPopover: {
|
|
3619
3615
|
styleOverrides: {
|
|
3620
3616
|
"&.M4LAccountPopover-root": {
|
|
@@ -3893,7 +3889,7 @@ const c = (o) => ({
|
|
|
3893
3889
|
}
|
|
3894
3890
|
}
|
|
3895
3891
|
}
|
|
3896
|
-
}),
|
|
3892
|
+
}), m = (o) => ({
|
|
3897
3893
|
M4LModuleLayout: {
|
|
3898
3894
|
styleOverrides: {
|
|
3899
3895
|
"&.M4LModuleLayout-root": {
|
|
@@ -3910,7 +3906,7 @@ const c = (o) => ({
|
|
|
3910
3906
|
}
|
|
3911
3907
|
}
|
|
3912
3908
|
}
|
|
3913
|
-
}),
|
|
3909
|
+
}), C = (o) => ({
|
|
3914
3910
|
M4LMasterDetailLayout: {
|
|
3915
3911
|
styleOverrides: {
|
|
3916
3912
|
"&.M4LMasterDetailLayout-root": {
|
|
@@ -3943,7 +3939,7 @@ const c = (o) => ({
|
|
|
3943
3939
|
}
|
|
3944
3940
|
}
|
|
3945
3941
|
}
|
|
3946
|
-
}),
|
|
3942
|
+
}), k = (o) => ({
|
|
3947
3943
|
M4LSplitLayout: {
|
|
3948
3944
|
styleOverrides: {
|
|
3949
3945
|
"&.M4LSplitLayout-root": {
|
|
@@ -4064,7 +4060,7 @@ const c = (o) => ({
|
|
|
4064
4060
|
}
|
|
4065
4061
|
}
|
|
4066
4062
|
}
|
|
4067
|
-
}),
|
|
4063
|
+
}), S = (o) => ({
|
|
4068
4064
|
M4LCommonActions: {
|
|
4069
4065
|
styleOverrides: {
|
|
4070
4066
|
"&.M4LCommonActions-root": {
|
|
@@ -4077,7 +4073,7 @@ const c = (o) => ({
|
|
|
4077
4073
|
}
|
|
4078
4074
|
}
|
|
4079
4075
|
}
|
|
4080
|
-
}),
|
|
4076
|
+
}), B = (o) => ({
|
|
4081
4077
|
M4LinearProgressIndeterminate: {
|
|
4082
4078
|
styleOverrides: {
|
|
4083
4079
|
"&.M4LinearProgressIndeterminate-root": {
|
|
@@ -4131,7 +4127,7 @@ const c = (o) => ({
|
|
|
4131
4127
|
}
|
|
4132
4128
|
}
|
|
4133
4129
|
}
|
|
4134
|
-
}),
|
|
4130
|
+
}), I = (o) => ({
|
|
4135
4131
|
M4LPropertyValue: {
|
|
4136
4132
|
styleOverrides: {
|
|
4137
4133
|
"&.M4LPropertyValue-root": {
|
|
@@ -4233,7 +4229,7 @@ const c = (o) => ({
|
|
|
4233
4229
|
}
|
|
4234
4230
|
}
|
|
4235
4231
|
}
|
|
4236
|
-
}),
|
|
4232
|
+
}), T = (o) => ({
|
|
4237
4233
|
M4LTab: {
|
|
4238
4234
|
styleOverrides: {
|
|
4239
4235
|
"&.M4LTab-root": {
|
|
@@ -4296,7 +4292,7 @@ const c = (o) => ({
|
|
|
4296
4292
|
}
|
|
4297
4293
|
}
|
|
4298
4294
|
}
|
|
4299
|
-
}),
|
|
4295
|
+
}), R = (o) => ({
|
|
4300
4296
|
M4LAccordion: {
|
|
4301
4297
|
styleOverrides: {
|
|
4302
4298
|
"&.M4LAccordion-root": {
|
|
@@ -4437,7 +4433,7 @@ const c = (o) => ({
|
|
|
4437
4433
|
}
|
|
4438
4434
|
}
|
|
4439
4435
|
}
|
|
4440
|
-
}),
|
|
4436
|
+
}), A = (o) => ({
|
|
4441
4437
|
M4LRHFormProvider: {
|
|
4442
4438
|
styleOverrides: {
|
|
4443
4439
|
"&.M4LRHFormProvider-root": {
|
|
@@ -4452,7 +4448,7 @@ const c = (o) => ({
|
|
|
4452
4448
|
}
|
|
4453
4449
|
}
|
|
4454
4450
|
}
|
|
4455
|
-
}),
|
|
4451
|
+
}), P = (o) => ({
|
|
4456
4452
|
M4LPeriod: {
|
|
4457
4453
|
styleOverrides: {
|
|
4458
4454
|
"&.M4LPeriod-root": {
|
|
@@ -4632,7 +4628,7 @@ const c = (o) => ({
|
|
|
4632
4628
|
}
|
|
4633
4629
|
}
|
|
4634
4630
|
}
|
|
4635
|
-
}),
|
|
4631
|
+
}), D = (o) => ({
|
|
4636
4632
|
M4LModalDialog: {
|
|
4637
4633
|
styleOverrides: {
|
|
4638
4634
|
"&.M4LModal-root": {
|
|
@@ -4758,7 +4754,7 @@ const c = (o) => ({
|
|
|
4758
4754
|
}
|
|
4759
4755
|
}
|
|
4760
4756
|
}
|
|
4761
|
-
}),
|
|
4757
|
+
}), H = (o) => ({
|
|
4762
4758
|
M4LPaperForm: {
|
|
4763
4759
|
styleOverrides: {
|
|
4764
4760
|
"&.M4LPaperForm-root": {
|
|
@@ -4807,7 +4803,7 @@ const c = (o) => ({
|
|
|
4807
4803
|
}
|
|
4808
4804
|
}
|
|
4809
4805
|
}
|
|
4810
|
-
}),
|
|
4806
|
+
}), W = (o) => ({
|
|
4811
4807
|
M4LTooltip: {
|
|
4812
4808
|
styleOverrides: {
|
|
4813
4809
|
"&.M4LTooltip-root": {
|
|
@@ -4828,7 +4824,7 @@ const c = (o) => ({
|
|
|
4828
4824
|
}
|
|
4829
4825
|
}
|
|
4830
4826
|
}
|
|
4831
|
-
}),
|
|
4827
|
+
}), O = (o) => ({
|
|
4832
4828
|
M4LBadge: {
|
|
4833
4829
|
styleOverrides: {
|
|
4834
4830
|
"&.M4LBadge-root": {
|
|
@@ -4859,7 +4855,7 @@ const c = (o) => ({
|
|
|
4859
4855
|
}
|
|
4860
4856
|
}
|
|
4861
4857
|
}
|
|
4862
|
-
}),
|
|
4858
|
+
}), z = (o) => (console.log("Test media query", o.typography.body), {
|
|
4863
4859
|
M4LDataGrid: {
|
|
4864
4860
|
styleOverrides: {
|
|
4865
4861
|
"&.M4LDataGrid-root": {
|
|
@@ -5206,7 +5202,7 @@ const c = (o) => ({
|
|
|
5206
5202
|
}
|
|
5207
5203
|
}
|
|
5208
5204
|
}
|
|
5209
|
-
}),
|
|
5205
|
+
}), V = (o) => ({
|
|
5210
5206
|
M4LPager: {
|
|
5211
5207
|
styleOverrides: {
|
|
5212
5208
|
"&.M4LPager-root": {
|
|
@@ -5313,7 +5309,7 @@ const c = (o) => ({
|
|
|
5313
5309
|
}
|
|
5314
5310
|
}
|
|
5315
5311
|
}
|
|
5316
|
-
}),
|
|
5312
|
+
}), G = (o) => ({
|
|
5317
5313
|
M4LCheckBox: {
|
|
5318
5314
|
styleOverrides: {
|
|
5319
5315
|
"&.M4LCheckBox-root": {
|
|
@@ -5387,7 +5383,7 @@ const c = (o) => ({
|
|
|
5387
5383
|
}
|
|
5388
5384
|
}
|
|
5389
5385
|
}
|
|
5390
|
-
}),
|
|
5386
|
+
}), F = (o) => ({
|
|
5391
5387
|
M4LStack: {
|
|
5392
5388
|
styleOverrides: {
|
|
5393
5389
|
"&.M4LStack-root": {
|
|
@@ -5400,7 +5396,7 @@ const c = (o) => ({
|
|
|
5400
5396
|
}
|
|
5401
5397
|
}
|
|
5402
5398
|
}
|
|
5403
|
-
}),
|
|
5399
|
+
}), j = (o) => ({
|
|
5404
5400
|
M4LTabs: {
|
|
5405
5401
|
styleOverrides: {
|
|
5406
5402
|
"&.M4LTabs-root": {
|
|
@@ -5440,7 +5436,7 @@ const c = (o) => ({
|
|
|
5440
5436
|
}
|
|
5441
5437
|
}
|
|
5442
5438
|
}
|
|
5443
|
-
}),
|
|
5439
|
+
}), N = (o) => ({
|
|
5444
5440
|
M4LNoItemSelected: {
|
|
5445
5441
|
styleOverrides: {
|
|
5446
5442
|
"&.M4LNoItemSelected-root": {
|
|
@@ -5460,7 +5456,7 @@ const c = (o) => ({
|
|
|
5460
5456
|
}
|
|
5461
5457
|
}
|
|
5462
5458
|
}
|
|
5463
|
-
}),
|
|
5459
|
+
}), E = (o) => ({
|
|
5464
5460
|
M4LScrollBar: {
|
|
5465
5461
|
styleOverrides: {
|
|
5466
5462
|
"&.M4LScrollBar-root": {
|
|
@@ -5495,7 +5491,7 @@ const c = (o) => ({
|
|
|
5495
5491
|
}
|
|
5496
5492
|
}
|
|
5497
5493
|
}
|
|
5498
|
-
}),
|
|
5494
|
+
}), $ = (o) => ({
|
|
5499
5495
|
M4LGridLayout: {
|
|
5500
5496
|
styleOverrides: {
|
|
5501
5497
|
"&.M4LGridLayout-root": {
|
|
@@ -5503,7 +5499,7 @@ const c = (o) => ({
|
|
|
5503
5499
|
}
|
|
5504
5500
|
}
|
|
5505
5501
|
}
|
|
5506
|
-
}),
|
|
5502
|
+
}), _ = (o) => ({
|
|
5507
5503
|
M4LTabContent: {
|
|
5508
5504
|
styleOverrides: {
|
|
5509
5505
|
"&.M4LTabContent-root": {
|
|
@@ -5534,7 +5530,7 @@ const c = (o) => ({
|
|
|
5534
5530
|
}
|
|
5535
5531
|
}
|
|
5536
5532
|
}
|
|
5537
|
-
}),
|
|
5533
|
+
}), U = (o) => ({
|
|
5538
5534
|
M4LMenuActions: {
|
|
5539
5535
|
styleOverrides: {
|
|
5540
5536
|
"&.M4LMenuActions-root": {
|
|
@@ -5568,7 +5564,7 @@ const c = (o) => ({
|
|
|
5568
5564
|
}
|
|
5569
5565
|
}
|
|
5570
5566
|
}
|
|
5571
|
-
}),
|
|
5567
|
+
}), q = (o) => ({
|
|
5572
5568
|
M4LPrintingSystem: {
|
|
5573
5569
|
styleOverrides: {
|
|
5574
5570
|
"&.M4LPrintingSystem-root": {
|
|
@@ -5750,7 +5746,7 @@ const c = (o) => ({
|
|
|
5750
5746
|
}
|
|
5751
5747
|
}
|
|
5752
5748
|
}
|
|
5753
|
-
}),
|
|
5749
|
+
}), Y = (o) => ({
|
|
5754
5750
|
M4LFormatter: {
|
|
5755
5751
|
styleOverrides: {
|
|
5756
5752
|
"&.M4LFormatter-root": {
|
|
@@ -5767,7 +5763,7 @@ const c = (o) => ({
|
|
|
5767
5763
|
}
|
|
5768
5764
|
}
|
|
5769
5765
|
}
|
|
5770
|
-
}),
|
|
5766
|
+
}), X = (o) => ({
|
|
5771
5767
|
M4LoadingError: {
|
|
5772
5768
|
styleOverrides: {
|
|
5773
5769
|
"&.M4LoadingError-root": {
|
|
@@ -5826,7 +5822,7 @@ const c = (o) => ({
|
|
|
5826
5822
|
}
|
|
5827
5823
|
}
|
|
5828
5824
|
}
|
|
5829
|
-
}),
|
|
5825
|
+
}), J = (o) => ({
|
|
5830
5826
|
M4LMFLoader: {
|
|
5831
5827
|
styleOverrides: {
|
|
5832
5828
|
"&.M4LMFLoader-root": {
|
|
@@ -5845,7 +5841,7 @@ const c = (o) => ({
|
|
|
5845
5841
|
}
|
|
5846
5842
|
}
|
|
5847
5843
|
}
|
|
5848
|
-
}),
|
|
5844
|
+
}), K = (o) => ({
|
|
5849
5845
|
M4LLoadingButton: {
|
|
5850
5846
|
styleOverrides: {
|
|
5851
5847
|
"&.M4LLoadingButton-root": {
|
|
@@ -6077,7 +6073,7 @@ const c = (o) => ({
|
|
|
6077
6073
|
}
|
|
6078
6074
|
}
|
|
6079
6075
|
}
|
|
6080
|
-
}),
|
|
6076
|
+
}), Q = (o) => ({
|
|
6081
6077
|
M4LToastContainer: {
|
|
6082
6078
|
styleOverrides: {
|
|
6083
6079
|
"&.M4LToastContainer-root": {
|
|
@@ -6155,7 +6151,7 @@ const c = (o) => ({
|
|
|
6155
6151
|
}
|
|
6156
6152
|
}
|
|
6157
6153
|
}
|
|
6158
|
-
}),
|
|
6154
|
+
}), Z = (o) => ({
|
|
6159
6155
|
M4LPDFViewer: {
|
|
6160
6156
|
styleOverrides: {
|
|
6161
6157
|
"&.M4LPDFViewer-root": {
|
|
@@ -6170,7 +6166,7 @@ const c = (o) => ({
|
|
|
6170
6166
|
}
|
|
6171
6167
|
}
|
|
6172
6168
|
}
|
|
6173
|
-
}),
|
|
6169
|
+
}), oo = (o) => ({
|
|
6174
6170
|
M4LTopBar: {
|
|
6175
6171
|
styleOverrides: {
|
|
6176
6172
|
"&.M4LTopBar-root": {
|
|
@@ -6233,7 +6229,7 @@ const c = (o) => ({
|
|
|
6233
6229
|
}
|
|
6234
6230
|
}
|
|
6235
6231
|
}
|
|
6236
|
-
}),
|
|
6232
|
+
}), to = (o) => ({
|
|
6237
6233
|
M4LAppBarCommercial: {
|
|
6238
6234
|
styleOverrides: {
|
|
6239
6235
|
"&.M4LAppBarCommercial-root": {
|
|
@@ -6254,7 +6250,7 @@ const c = (o) => ({
|
|
|
6254
6250
|
}
|
|
6255
6251
|
}
|
|
6256
6252
|
}
|
|
6257
|
-
}),
|
|
6253
|
+
}), ro = (o) => ({
|
|
6258
6254
|
M4LSectionCommercial: {
|
|
6259
6255
|
styleOverrides: {
|
|
6260
6256
|
"&.M4LSectionCommercial-root": {
|
|
@@ -6273,7 +6269,7 @@ const c = (o) => ({
|
|
|
6273
6269
|
}
|
|
6274
6270
|
}
|
|
6275
6271
|
}
|
|
6276
|
-
}),
|
|
6272
|
+
}), eo = (o) => ({
|
|
6277
6273
|
M4LHamburgerMenuCommercial: {
|
|
6278
6274
|
styleOverrides: {
|
|
6279
6275
|
"&.M4LHamburgerMenuCommercial-root": {
|
|
@@ -6283,7 +6279,7 @@ const c = (o) => ({
|
|
|
6283
6279
|
}
|
|
6284
6280
|
}
|
|
6285
6281
|
}
|
|
6286
|
-
}),
|
|
6282
|
+
}), ao = (o) => ({
|
|
6287
6283
|
M4LFieldLabel: {
|
|
6288
6284
|
styleOverrides: {
|
|
6289
6285
|
"&.M4LFieldLabel-root": {
|
|
@@ -6306,7 +6302,7 @@ const c = (o) => ({
|
|
|
6306
6302
|
}
|
|
6307
6303
|
}
|
|
6308
6304
|
}
|
|
6309
|
-
}),
|
|
6305
|
+
}), io = (o) => ({
|
|
6310
6306
|
M4LMap: {
|
|
6311
6307
|
styleOverrides: {
|
|
6312
6308
|
"&.M4LMap-root": {
|
|
@@ -6555,7 +6551,7 @@ const c = (o) => ({
|
|
|
6555
6551
|
}
|
|
6556
6552
|
}
|
|
6557
6553
|
}
|
|
6558
|
-
}),
|
|
6554
|
+
}), no = (o) => ({
|
|
6559
6555
|
M4LMapGpsTools: {
|
|
6560
6556
|
styleOverrides: {
|
|
6561
6557
|
"&.M4LMapGpsTools-gpsToolsRoot": {
|
|
@@ -6612,58 +6608,58 @@ const c = (o) => ({
|
|
|
6612
6608
|
}
|
|
6613
6609
|
});
|
|
6614
6610
|
export {
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
Q,
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
j,
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6611
|
+
io as $,
|
|
6612
|
+
R as A,
|
|
6613
|
+
P as B,
|
|
6614
|
+
D as C,
|
|
6615
|
+
H as D,
|
|
6616
|
+
W as E,
|
|
6617
|
+
V as F,
|
|
6618
|
+
G,
|
|
6619
|
+
F as H,
|
|
6620
|
+
j as I,
|
|
6621
|
+
N as J,
|
|
6622
|
+
E as K,
|
|
6623
|
+
$ as L,
|
|
6624
|
+
K as M,
|
|
6625
|
+
_ as N,
|
|
6626
|
+
U as O,
|
|
6627
|
+
q as P,
|
|
6628
|
+
Y as Q,
|
|
6629
|
+
X as R,
|
|
6630
|
+
J as S,
|
|
6631
|
+
Q as T,
|
|
6632
|
+
Z as U,
|
|
6633
|
+
oo as V,
|
|
6634
|
+
to as W,
|
|
6635
|
+
ro as X,
|
|
6636
|
+
eo as Y,
|
|
6637
|
+
ao as Z,
|
|
6638
|
+
no as _,
|
|
6639
|
+
A as a,
|
|
6640
|
+
p as b,
|
|
6641
|
+
d as c,
|
|
6642
|
+
s as d,
|
|
6643
|
+
l as e,
|
|
6644
|
+
M as f,
|
|
6645
|
+
c as g,
|
|
6646
|
+
O as h,
|
|
6647
|
+
g as i,
|
|
6648
|
+
z as j,
|
|
6649
|
+
x as k,
|
|
6650
|
+
u as l,
|
|
6651
|
+
b as m,
|
|
6652
|
+
L as n,
|
|
6653
|
+
y as o,
|
|
6654
|
+
v as p,
|
|
6655
|
+
h as q,
|
|
6656
|
+
f as r,
|
|
6657
|
+
w as s,
|
|
6658
|
+
m as t,
|
|
6659
|
+
C as u,
|
|
6660
|
+
k as v,
|
|
6661
|
+
S as w,
|
|
6662
|
+
B as x,
|
|
6663
|
+
I as y,
|
|
6664
|
+
T as z
|
|
6669
6665
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as s, C as o, M as r, L, I as M, a as n, R as i, B as p, b as l, T as c, P as d, S as u, c as g, d as B, A as F, e as P, D as T, f as A, g as b, h as C, i as S, j as y, k as I, l as R, m as v, n as H, o as k, p as D, q as f, r as x, s as w, t as G, u as V, v as j, w as E, x as N, y as O, z as q } from "./MUIComponents/index.5c43e3b5.js";
|
|
2
2
|
import { M as z, a as U, b as J, c as K, d as Q, e as W, f as X, g as Y, h as Z } from "./M4LRHFComponents/index.3599b255.js";
|
|
3
|
-
import { M as _, a as $, b as t, c as m, d as e, e as h, f as aa, g as sa, h as oa, i as ra, j as La, k as Ma, l as na, m as ia, n as pa, o as la, p as ca, q as da, r as ua, s as ga, t as Ba, u as Fa, v as Pa, w as Ta, x as Aa, y as ba, z as Ca, A as Sa, B as ya, C as Ia, D as Ra, E as va, F as Ha, G as ka, H as Da, I as fa, J as xa, K as wa, L as Ga, N as Va, O as ja, P as Ea, Q as Na, R as Oa, S as qa, T as za, U as Ua, V as Ja, W as Ka, X as Qa, Y as Wa, Z as Xa, _ as Ya, $ as Za } from "./M4LExtendedComponents/index.
|
|
3
|
+
import { M as _, a as $, b as t, c as m, d as e, e as h, f as aa, g as sa, h as oa, i as ra, j as La, k as Ma, l as na, m as ia, n as pa, o as la, p as ca, q as da, r as ua, s as ga, t as Ba, u as Fa, v as Pa, w as Ta, x as Aa, y as ba, z as Ca, A as Sa, B as ya, C as Ia, D as Ra, E as va, F as Ha, G as ka, H as Da, I as fa, J as xa, K as wa, L as Ga, N as Va, O as ja, P as Ea, Q as Na, R as Oa, S as qa, T as za, U as Ua, V as Ja, W as Ka, X as Qa, Y as Wa, Z as Xa, _ as Ya, $ as Za } from "./M4LExtendedComponents/index.a1f65f10.js";
|
|
4
4
|
function ma(a) {
|
|
5
5
|
return Object.assign(
|
|
6
6
|
s(a),
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import { createTheme as i } from "@mui/material";
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
import "../utils/getColorPresets.a96a4046.js";
|
|
5
|
-
import "@mui/system";
|
|
6
|
-
import "./defaultThemeOptions.d580f3ec.js";
|
|
7
|
-
import "./shadows.e0c009ff.js";
|
|
8
|
-
import "./palette.287635f2.js";
|
|
9
|
-
import { r as t, p as e } from "../utils/getFontValue.88831637.js";
|
|
10
|
-
const n = "Segoe UI, Poppins, sans-serif", g = i(), W = {
|
|
2
|
+
import { r as e, p as t } from "../utils/getFontValue.88831637.js";
|
|
3
|
+
const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
11
4
|
...g.typography,
|
|
12
5
|
fontFamily: n,
|
|
13
6
|
fontWeightRegular: 400,
|
|
@@ -16,116 +9,116 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), W = {
|
|
|
16
9
|
h1: {
|
|
17
10
|
fontWeight: 600,
|
|
18
11
|
lineHeight: 1.5,
|
|
19
|
-
...
|
|
12
|
+
...e({ sm: 38, md: 38, lg: 38 })
|
|
20
13
|
},
|
|
21
14
|
h2: {
|
|
22
15
|
fontWeight: 600,
|
|
23
16
|
lineHeight: 1,
|
|
24
|
-
...
|
|
17
|
+
...e({ sm: 40, md: 40, lg: 40 })
|
|
25
18
|
},
|
|
26
19
|
h3: {
|
|
27
20
|
fontWeight: 600,
|
|
28
21
|
lineHeight: 1.5,
|
|
29
|
-
...
|
|
22
|
+
...e({ sm: 30, md: 30, lg: 30 })
|
|
30
23
|
},
|
|
31
24
|
h4: {
|
|
32
25
|
fontWeight: 600,
|
|
33
26
|
lineHeight: 1.5,
|
|
34
|
-
...
|
|
27
|
+
...e({ sm: 20, md: 20, lg: 20 })
|
|
35
28
|
},
|
|
36
29
|
h5: {
|
|
37
30
|
fontWeight: 500,
|
|
38
31
|
lineHeight: "28px",
|
|
39
32
|
letterSpacing: "-0.01em",
|
|
40
|
-
...
|
|
33
|
+
...e({ sm: 22, md: 22, lg: 22 })
|
|
41
34
|
},
|
|
42
35
|
h6: {
|
|
43
36
|
fontWeight: 500,
|
|
44
37
|
lineHeight: "24px",
|
|
45
38
|
letterSpacing: "-0.08em",
|
|
46
|
-
...
|
|
39
|
+
...e({ sm: 18, md: 18, lg: 18 })
|
|
47
40
|
},
|
|
48
41
|
subtitle: {
|
|
49
42
|
fontWeight: 400,
|
|
50
43
|
lineHeight: "20px",
|
|
51
44
|
letterSpacing: "-0.006em",
|
|
52
|
-
...
|
|
45
|
+
...e({ sm: 15, md: 15, lg: 15 })
|
|
53
46
|
},
|
|
54
47
|
subtitleDens: {
|
|
55
48
|
fontWeight: 600,
|
|
56
49
|
lineHeight: "24px",
|
|
57
50
|
letterSpacing: "-0.006em",
|
|
58
|
-
...
|
|
51
|
+
...e({ sm: 15, md: 15, lg: 15 })
|
|
59
52
|
},
|
|
60
53
|
paragraph: {
|
|
61
54
|
fontWeight: 400,
|
|
62
55
|
lineHeight: "16px",
|
|
63
56
|
letterSpacing: "-0.003em",
|
|
64
|
-
...
|
|
57
|
+
...e({ sm: 13, md: 13, lg: 13 })
|
|
65
58
|
},
|
|
66
59
|
paragraphDens: {
|
|
67
60
|
fontWeight: 600,
|
|
68
61
|
lineHeight: "20px",
|
|
69
62
|
letterSpacing: "-0.003em",
|
|
70
|
-
...
|
|
63
|
+
...e({ sm: 13, md: 13, lg: 13 })
|
|
71
64
|
},
|
|
72
65
|
subtitle1: {
|
|
73
66
|
fontWeight: 600,
|
|
74
67
|
lineHeight: 1.5,
|
|
75
|
-
fontSize:
|
|
68
|
+
fontSize: t(14)
|
|
76
69
|
},
|
|
77
70
|
subtitle2: {
|
|
78
71
|
fontWeight: 600,
|
|
79
72
|
lineHeight: 1.5,
|
|
80
|
-
fontSize:
|
|
73
|
+
fontSize: t(12)
|
|
81
74
|
},
|
|
82
75
|
body: {
|
|
83
76
|
fontWeight: 400,
|
|
84
77
|
lineHeight: "16px",
|
|
85
|
-
...
|
|
78
|
+
...e({ sm: 11, md: 11, lg: 11 })
|
|
86
79
|
},
|
|
87
80
|
bodyDens: {
|
|
88
81
|
fontWeight: 600,
|
|
89
82
|
lineHeight: "16px",
|
|
90
|
-
...
|
|
83
|
+
...e({ sm: 11, md: 11, lg: 11 })
|
|
91
84
|
},
|
|
92
85
|
body0: {
|
|
93
86
|
lineHeight: 1.5,
|
|
94
87
|
fontWeight: 400,
|
|
95
|
-
fontSize:
|
|
88
|
+
fontSize: t(16)
|
|
96
89
|
},
|
|
97
90
|
body1: {
|
|
98
91
|
lineHeight: 1.5,
|
|
99
92
|
fontWeight: 400,
|
|
100
|
-
fontSize:
|
|
93
|
+
fontSize: t(14)
|
|
101
94
|
},
|
|
102
95
|
body2: {
|
|
103
96
|
lineHeight: 1.5,
|
|
104
97
|
fontWeight: 400,
|
|
105
|
-
fontSize:
|
|
98
|
+
fontSize: t(12)
|
|
106
99
|
},
|
|
107
100
|
caption: {
|
|
108
101
|
lineHeight: 1.5,
|
|
109
|
-
fontSize:
|
|
102
|
+
fontSize: t(11)
|
|
110
103
|
},
|
|
111
104
|
overline: {
|
|
112
105
|
fontWeight: 700,
|
|
113
106
|
lineHeight: 1.5,
|
|
114
|
-
fontSize:
|
|
107
|
+
fontSize: t(12),
|
|
115
108
|
textTransform: "uppercase"
|
|
116
109
|
},
|
|
117
110
|
button: {
|
|
118
111
|
fontWeight: 700,
|
|
119
112
|
lineHeight: 24 / 14,
|
|
120
|
-
fontSize:
|
|
113
|
+
fontSize: t(14),
|
|
121
114
|
textTransform: "capitalize"
|
|
122
115
|
},
|
|
123
116
|
action: {
|
|
124
117
|
fontWeight: 600,
|
|
125
118
|
lineHeight: "16px",
|
|
126
|
-
...
|
|
119
|
+
...e({ sm: 12, md: 12, lg: 12 })
|
|
127
120
|
}
|
|
128
121
|
};
|
|
129
122
|
export {
|
|
130
|
-
|
|
123
|
+
l as t
|
|
131
124
|
};
|
package/types/augmentations.d.ts
CHANGED
|
@@ -1,144 +1,137 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
//
|
|
28
|
-
//
|
|
29
|
-
//
|
|
30
|
-
//
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
paragraph: true;
|
|
139
|
-
paragraphDens: true;
|
|
140
|
-
body: true;
|
|
141
|
-
bodyDens: true;
|
|
142
|
-
action: true;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
1
|
+
import {
|
|
2
|
+
PatronusConstantColors,
|
|
3
|
+
PatronusOpacityColors,
|
|
4
|
+
PatronusOpacityOptions,
|
|
5
|
+
} from '../theme/palette';
|
|
6
|
+
import { ColorStateOptions, CustomShadowOptions } from '../theme';
|
|
7
|
+
import { ChartPaletteOptions, GradientsPaletteOptions, GridPaletteOptions } from './types';
|
|
8
|
+
import { Breakpoints } from '@mui/material';
|
|
9
|
+
import { CssVarsTheme } from '@mui/material/styles';
|
|
10
|
+
|
|
11
|
+
declare module '@mui/material' {
|
|
12
|
+
interface Color {
|
|
13
|
+
0: string;
|
|
14
|
+
500_8: string;
|
|
15
|
+
500_12: string;
|
|
16
|
+
500_16: string;
|
|
17
|
+
500_24: string;
|
|
18
|
+
500_32: string;
|
|
19
|
+
500_48: string;
|
|
20
|
+
500_56: string;
|
|
21
|
+
500_80: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare module '@mui/material/styles/createPalette' {}
|
|
26
|
+
|
|
27
|
+
// declare module '@mui/core/Typography' {
|
|
28
|
+
// interface TypographyProps {
|
|
29
|
+
// variant?: 'subtitle';
|
|
30
|
+
// }
|
|
31
|
+
// }
|
|
32
|
+
|
|
33
|
+
declare module '@mui/material/styles' {
|
|
34
|
+
interface SimplePaletteColorOptions {
|
|
35
|
+
lighter?: string;
|
|
36
|
+
darker?: string;
|
|
37
|
+
LightSelected?: string;
|
|
38
|
+
LightSelectedHover?: string;
|
|
39
|
+
DarkSelected?: string;
|
|
40
|
+
DarkSelectedHover?: string;
|
|
41
|
+
}
|
|
42
|
+
interface PaletteColor {
|
|
43
|
+
lighter?: string;
|
|
44
|
+
darker?: string;
|
|
45
|
+
LightSelected?: string;
|
|
46
|
+
LightSelectedHover?: string;
|
|
47
|
+
DarkSelected?: string;
|
|
48
|
+
DarkSelectedHover?: string;
|
|
49
|
+
opacity?: string;
|
|
50
|
+
name?: string;
|
|
51
|
+
}
|
|
52
|
+
interface Palette {
|
|
53
|
+
gradients?: GradientsPaletteOptions;
|
|
54
|
+
chart: ChartPaletteOptions;
|
|
55
|
+
grid?: GridPaletteOptions;
|
|
56
|
+
patronus?: PatronusConstantColors;
|
|
57
|
+
opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
|
|
58
|
+
state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
|
|
59
|
+
representative: string;
|
|
60
|
+
mode: 'light' | 'dark';
|
|
61
|
+
/* info: AgumentationInfoOptions; */
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
interface TypeText {
|
|
65
|
+
bgPrimary: string;
|
|
66
|
+
}
|
|
67
|
+
interface PaletteOptions {
|
|
68
|
+
gradients?: GradientsPaletteOptions;
|
|
69
|
+
chart?: ChartPaletteOptions;
|
|
70
|
+
grid?: GridPaletteOptions;
|
|
71
|
+
patronus?: PatronusConstantColors;
|
|
72
|
+
opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
|
|
73
|
+
state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
|
|
74
|
+
representative: string;
|
|
75
|
+
mode: 'light' | 'dark';
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
interface ColorSchemeOverrides {
|
|
79
|
+
finalTheme?: true;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
interface Theme extends CssVarsTheme {
|
|
83
|
+
stretch: boolean;
|
|
84
|
+
customShadows: CustomShadowOptions;
|
|
85
|
+
breakpoints: Breakpoints;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
interface ThemeVars {
|
|
89
|
+
customShadows: CustomShadowOptions;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
interface ColorSystem {
|
|
93
|
+
typography: TypographyVariants;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
interface TypeBackground {
|
|
97
|
+
neutral: string;
|
|
98
|
+
autofill: string;
|
|
99
|
+
header: string;
|
|
100
|
+
background: string;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
declare module '@mui/material/styles' {
|
|
105
|
+
interface TypographyVariants {
|
|
106
|
+
subtitle: Record<string, any>;
|
|
107
|
+
subtitleDens: Record<string, any>;
|
|
108
|
+
paragraph: Record<string, any>;
|
|
109
|
+
paragraphDens: Record<string, any>;
|
|
110
|
+
body: Record<string, any>;
|
|
111
|
+
bodyDens: Record<string, any>;
|
|
112
|
+
action: Record<string, any>;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// allow configuration using `createTheme`
|
|
116
|
+
interface TypographyVariantsOptions {
|
|
117
|
+
subtitle: React.CSSProperties;
|
|
118
|
+
subtitleDens: React.CSSProperties;
|
|
119
|
+
paragraph: React.CSSProperties;
|
|
120
|
+
paragraphDens: React.CSSProperties;
|
|
121
|
+
body: React.CSSProperties;
|
|
122
|
+
bodyDens: React.CSSProperties;
|
|
123
|
+
action: React.CSSProperties;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
declare module '@mui/material/Typography' {
|
|
128
|
+
interface TypographyPropsVariantOverrides {
|
|
129
|
+
subtitle: true;
|
|
130
|
+
subtitleDens: true;
|
|
131
|
+
paragraph: true;
|
|
132
|
+
paragraphDens: true;
|
|
133
|
+
body: true;
|
|
134
|
+
bodyDens: true;
|
|
135
|
+
action: true;
|
|
136
|
+
}
|
|
137
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './types
|
|
1
|
+
export * from './types';
|
|
2
2
|
export * from './augmentations.d';
|
package/types/types.d.ts
CHANGED
|
@@ -1,24 +1,29 @@
|
|
|
1
|
-
export declare type ThemeColorPresets = 'patronus' | 'turqui' | 'grass' | 'brown' | 'blaze';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
export declare type ThemeColorPresets = 'patronus' | 'turqui' | 'grass' | 'brown' | 'blaze';
|
|
2
|
+
export interface GridPaletteOptions {
|
|
3
|
+
sectionHeader: string;
|
|
4
|
+
rowHover: string;
|
|
5
|
+
divider: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ChartPaletteOptions {
|
|
8
|
+
violet: string[];
|
|
9
|
+
blue: string[];
|
|
10
|
+
green: string[];
|
|
11
|
+
yellow: string[];
|
|
12
|
+
red: string[];
|
|
13
|
+
}
|
|
14
|
+
export interface GradientsPaletteOptions {
|
|
15
|
+
primary: string;
|
|
16
|
+
info: string;
|
|
17
|
+
success: string;
|
|
18
|
+
warning: string;
|
|
19
|
+
error: string;
|
|
20
|
+
}
|
|
21
|
+
export declare type ColorVariants = {
|
|
22
|
+
name: string;
|
|
23
|
+
lighter: string;
|
|
24
|
+
light: string;
|
|
25
|
+
main: string;
|
|
26
|
+
dark: string;
|
|
27
|
+
darker: string;
|
|
28
|
+
contrastText: string;
|
|
29
|
+
};
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { alpha as a } from "@mui/system";
|
|
2
|
-
import "../theme/defaultThemeOptions.d580f3ec.js";
|
|
3
|
-
import "../theme/shadows.e0c009ff.js";
|
|
4
2
|
import { P as e, O as r, S as o } from "../theme/palette.287635f2.js";
|
|
5
|
-
|
|
6
|
-
import "@mui/material";
|
|
7
|
-
import "@mui/material/styles";
|
|
8
|
-
const m = (i, l) => {
|
|
3
|
+
const u = (l, d) => {
|
|
9
4
|
let t = {};
|
|
10
|
-
switch (
|
|
5
|
+
switch (l) {
|
|
11
6
|
case "patronus":
|
|
12
7
|
t = {
|
|
13
8
|
light: {
|
|
@@ -249,8 +244,8 @@ const m = (i, l) => {
|
|
|
249
244
|
};
|
|
250
245
|
break;
|
|
251
246
|
}
|
|
252
|
-
return
|
|
247
|
+
return d === "light" ? { ...t.light } : { ...t.dark };
|
|
253
248
|
};
|
|
254
249
|
export {
|
|
255
|
-
|
|
250
|
+
u as g
|
|
256
251
|
};
|
package/vite-env.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
|
-
/// <reference types="vitest" />
|
|
3
|
-
/// <reference types="vitest/importMeta" />
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
/// <reference types="vitest" />
|
|
3
|
+
/// <reference types="vitest/importMeta" />
|
package/theme/index.16e25179.js
DELETED