@m4l/styles 1.0.7 → 1.0.8
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.cc70c82e.js → defaultThemeOptions.d580f3ec.js} +8 -5
- package/theme/index.16e25179.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +5 -0
- package/theme/overrides/M4LExtendedComponents/{index.b30ae579.js → index.8c011674.js} +118 -109
- package/theme/overrides/{index.3f4073e8.js → index.781cfe02.js} +1 -1
- package/theme/{typography.616cfe0c.js → typography.947dc33f.js} +31 -24
- package/types/augmentations.d.ts +144 -144
- package/types/types.d.ts +24 -24
- package/utils/{getColorState.7cbf2219.js → getColorState.18b61422.js} +9 -4
- package/vite-env.d.ts +3 -3
- package/theme/index.34d0fdea.js +0 -1
package/index.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { c as
|
|
4
|
-
import { t as
|
|
5
|
-
import { f as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { g as
|
|
9
|
-
import {
|
|
10
|
-
import { g as
|
|
11
|
-
import "@mui/material";
|
|
1
|
+
import { d as f } from "./theme/defaultThemeOptions.d580f3ec.js";
|
|
2
|
+
import { c as R, s as S } from "./theme/shadows.e0c009ff.js";
|
|
3
|
+
import { C, E as l, G as g, I as n, O as u, P, a as T, b as d, S as A, c as E, W as N, p as b } from "./theme/palette.287635f2.js";
|
|
4
|
+
import { t as I } from "./theme/typography.947dc33f.js";
|
|
5
|
+
import { f as F } from "./theme/overrides/index.781cfe02.js";
|
|
6
|
+
import { u as v } from "./utils/useResponsive.2c45e8e0.js";
|
|
7
|
+
import { e as z, b as G, c as L, d as M, g as U, a as y, t as D } from "./utils/getColorPresets.a96a4046.js";
|
|
8
|
+
import { g as W } from "./utils/getColorState.18b61422.js";
|
|
9
|
+
import { g as q, p as B, a as j, r as H } from "./utils/getFontValue.88831637.js";
|
|
10
|
+
import { g as K, m as Q } from "./config.5405b46b.js";
|
|
12
11
|
import "@mui/material/styles";
|
|
12
|
+
import "@mui/material/useMediaQuery";
|
|
13
|
+
import "@mui/system";
|
|
14
|
+
import "@mui/material";
|
|
13
15
|
import "./theme/overrides/MUIComponents/index.5c43e3b5.js";
|
|
14
16
|
import "./theme/overrides/M4LRHFComponents/index.3599b255.js";
|
|
15
|
-
import "
|
|
16
|
-
import "./theme/overrides/M4LExtendedComponents/index.b30ae579.js";
|
|
17
|
-
import "@mui/material/useMediaQuery";
|
|
17
|
+
import "./theme/overrides/M4LExtendedComponents/index.8c011674.js";
|
|
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
|
+
C as COMMON,
|
|
20
|
+
l as ERROR,
|
|
21
|
+
g as GREY,
|
|
22
|
+
n as INFO,
|
|
23
|
+
u as OPACITYCOLORS,
|
|
24
|
+
P as PATRONUSCOLORS,
|
|
25
|
+
T as PRIMARY,
|
|
26
|
+
d as SECONDARY,
|
|
27
|
+
A as STATEDEFAULT,
|
|
28
|
+
E as SUCCESS,
|
|
29
|
+
N as WARNING,
|
|
30
|
+
z as blaze,
|
|
31
|
+
G as brown,
|
|
32
|
+
L as colorPresets,
|
|
33
|
+
R as createCustomShadows,
|
|
34
|
+
M as defaultPreset,
|
|
35
|
+
f as defaultThemeOptions,
|
|
36
|
+
F as fnComponentsOverrides,
|
|
37
|
+
U as getColorPresets,
|
|
38
|
+
W as getColorState,
|
|
39
|
+
q as getFontValue,
|
|
40
|
+
K as globalRemSize,
|
|
41
|
+
y as grass,
|
|
42
|
+
Q as muiBreakpointsValues,
|
|
43
|
+
b as palette,
|
|
44
|
+
B as pxToRem,
|
|
45
|
+
j as remToPx,
|
|
46
|
+
H as responsiveFontSizes,
|
|
47
|
+
S as shadows,
|
|
48
|
+
D as turqui,
|
|
49
|
+
I as typography,
|
|
50
|
+
v as useResponsive
|
|
51
51
|
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "@mui/material/styles";
|
|
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";
|
|
2
6
|
import { p as e } from "./palette.287635f2.js";
|
|
3
7
|
import { createTheme as o, alpha as s } from "@mui/material";
|
|
4
8
|
import { s as p, c as m } from "./shadows.e0c009ff.js";
|
|
5
|
-
import { g as
|
|
6
|
-
|
|
7
|
-
const r = o(), f = {
|
|
9
|
+
import { g as i } from "../utils/getColorState.18b61422.js";
|
|
10
|
+
const r = o(), k = {
|
|
8
11
|
...r,
|
|
9
12
|
typography: a,
|
|
10
13
|
palette: {
|
|
@@ -27,5 +30,5 @@ const r = o(), f = {
|
|
|
27
30
|
stretch: !0
|
|
28
31
|
};
|
|
29
32
|
export {
|
|
30
|
-
|
|
33
|
+
k as d
|
|
31
34
|
};
|
|
@@ -1,7 +1,11 @@
|
|
|
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";
|
|
3
5
|
import { P as e } from "../../palette.287635f2.js";
|
|
4
|
-
|
|
6
|
+
import "../../typography.947dc33f.js";
|
|
7
|
+
import "@mui/material";
|
|
8
|
+
const c = (o) => ({
|
|
5
9
|
M4LIcon: {
|
|
6
10
|
styleOverrides: {
|
|
7
11
|
["&.M4LIcon-root"]: {
|
|
@@ -50,7 +54,7 @@ const p = (o) => ({
|
|
|
50
54
|
}
|
|
51
55
|
}
|
|
52
56
|
}
|
|
53
|
-
}),
|
|
57
|
+
}), g = (o) => ({
|
|
54
58
|
M4LIconButton: {
|
|
55
59
|
styleOverrides: {
|
|
56
60
|
["&.M4LIconButton-root"]: {
|
|
@@ -185,7 +189,7 @@ const p = (o) => ({
|
|
|
185
189
|
}
|
|
186
190
|
}
|
|
187
191
|
}
|
|
188
|
-
}),
|
|
192
|
+
}), x = (o) => ({
|
|
189
193
|
M4LanguagePopover: {
|
|
190
194
|
styleOverrides: {
|
|
191
195
|
["&.M4LanguagePopover-root"]: {
|
|
@@ -206,7 +210,7 @@ const p = (o) => ({
|
|
|
206
210
|
}
|
|
207
211
|
}
|
|
208
212
|
}
|
|
209
|
-
}),
|
|
213
|
+
}), u = (o) => ({
|
|
210
214
|
M4LImageButton: {
|
|
211
215
|
styleOverrides: {
|
|
212
216
|
["&.M4LImageButton-root"]: {
|
|
@@ -260,7 +264,7 @@ const p = (o) => ({
|
|
|
260
264
|
}
|
|
261
265
|
}
|
|
262
266
|
}
|
|
263
|
-
}),
|
|
267
|
+
}), b = (o) => ({
|
|
264
268
|
M4LImage: {
|
|
265
269
|
styleOverrides: {
|
|
266
270
|
["&.M4LImage-root"]: {
|
|
@@ -271,7 +275,7 @@ const p = (o) => ({
|
|
|
271
275
|
}
|
|
272
276
|
}
|
|
273
277
|
}
|
|
274
|
-
}),
|
|
278
|
+
}), M = (o) => ({
|
|
275
279
|
M4LPopover: {
|
|
276
280
|
styleOverrides: {
|
|
277
281
|
"&.M4LPopover-root": {
|
|
@@ -362,7 +366,7 @@ const p = (o) => ({
|
|
|
362
366
|
}
|
|
363
367
|
}
|
|
364
368
|
}
|
|
365
|
-
}),
|
|
369
|
+
}), L = (o) => ({
|
|
366
370
|
M4LErrorLabel: {
|
|
367
371
|
styleOverrides: {
|
|
368
372
|
["&.M4LHelperText-root"]: {
|
|
@@ -381,7 +385,7 @@ const p = (o) => ({
|
|
|
381
385
|
}
|
|
382
386
|
}
|
|
383
387
|
}
|
|
384
|
-
}),
|
|
388
|
+
}), v = (o) => ({
|
|
385
389
|
M4LTypography: {
|
|
386
390
|
styleOverrides: {
|
|
387
391
|
["&.M4LTypography-root"]: {
|
|
@@ -393,7 +397,7 @@ const p = (o) => ({
|
|
|
393
397
|
}
|
|
394
398
|
}
|
|
395
399
|
}
|
|
396
|
-
}),
|
|
400
|
+
}), h = (o) => ({
|
|
397
401
|
M4LButton: {
|
|
398
402
|
styleOverrides: {
|
|
399
403
|
"&.M4LButton-root": {
|
|
@@ -626,7 +630,7 @@ const p = (o) => ({
|
|
|
626
630
|
}
|
|
627
631
|
}
|
|
628
632
|
}
|
|
629
|
-
}),
|
|
633
|
+
}), y = (o) => ({
|
|
630
634
|
M4LNavLink: {
|
|
631
635
|
styleOverrides: {
|
|
632
636
|
["&.M4LNavLink-root"]: {
|
|
@@ -646,7 +650,7 @@ const p = (o) => ({
|
|
|
646
650
|
}
|
|
647
651
|
}
|
|
648
652
|
}
|
|
649
|
-
}),
|
|
653
|
+
}), f = (o) => ({
|
|
650
654
|
M4LSideBar: {
|
|
651
655
|
styleOverrides: {
|
|
652
656
|
"&.M4LSideBar-root": {
|
|
@@ -657,7 +661,7 @@ const p = (o) => ({
|
|
|
657
661
|
width: "240px",
|
|
658
662
|
"& .M4LSideBar-areaExpandMenu": {
|
|
659
663
|
position: "absolute",
|
|
660
|
-
zIndex: "
|
|
664
|
+
zIndex: "99999",
|
|
661
665
|
height: "100%",
|
|
662
666
|
transition: "all 0.3s",
|
|
663
667
|
width: "240px",
|
|
@@ -2348,7 +2352,7 @@ const p = (o) => ({
|
|
|
2348
2352
|
}
|
|
2349
2353
|
}
|
|
2350
2354
|
}
|
|
2351
|
-
}),
|
|
2355
|
+
}), w = (o) => ({
|
|
2352
2356
|
M4LAreasAdmin: {
|
|
2353
2357
|
styleOverrides: {
|
|
2354
2358
|
"&.M4LAreasAdmin-root": {
|
|
@@ -2789,7 +2793,7 @@ const p = (o) => ({
|
|
|
2789
2793
|
}
|
|
2790
2794
|
}
|
|
2791
2795
|
}
|
|
2792
|
-
}),
|
|
2796
|
+
}), m = (o) => ({
|
|
2793
2797
|
M4LAreasViewer: {
|
|
2794
2798
|
styleOverrides: {
|
|
2795
2799
|
"&.M4LAreasViewer-root": {
|
|
@@ -3278,6 +3282,11 @@ const p = (o) => ({
|
|
|
3278
3282
|
}
|
|
3279
3283
|
}
|
|
3280
3284
|
}
|
|
3285
|
+
},
|
|
3286
|
+
"& .M4LAreasViewer-panelWindowsSeparator": {
|
|
3287
|
+
width: "100%",
|
|
3288
|
+
border: "0.5px solid",
|
|
3289
|
+
borderColor: o.vars.palette.state.borderPrimary
|
|
3281
3290
|
}
|
|
3282
3291
|
}
|
|
3283
3292
|
}
|
|
@@ -3451,7 +3460,7 @@ const p = (o) => ({
|
|
|
3451
3460
|
}
|
|
3452
3461
|
}
|
|
3453
3462
|
}
|
|
3454
|
-
}),
|
|
3463
|
+
}), C = (o) => ({
|
|
3455
3464
|
M4LAppBar: {
|
|
3456
3465
|
styleOverrides: {
|
|
3457
3466
|
"&.M4LAppBar-root": {
|
|
@@ -3566,7 +3575,7 @@ const p = (o) => ({
|
|
|
3566
3575
|
}
|
|
3567
3576
|
}
|
|
3568
3577
|
}
|
|
3569
|
-
}),
|
|
3578
|
+
}), k = (o) => ({
|
|
3570
3579
|
M4LAvatar: {
|
|
3571
3580
|
styleOverrides: {
|
|
3572
3581
|
"&.M4LAvatar-root": {
|
|
@@ -3605,7 +3614,7 @@ const p = (o) => ({
|
|
|
3605
3614
|
}
|
|
3606
3615
|
}
|
|
3607
3616
|
}
|
|
3608
|
-
}),
|
|
3617
|
+
}), S = (o) => ({
|
|
3609
3618
|
M4LAccountPopover: {
|
|
3610
3619
|
styleOverrides: {
|
|
3611
3620
|
"&.M4LAccountPopover-root": {
|
|
@@ -3884,7 +3893,7 @@ const p = (o) => ({
|
|
|
3884
3893
|
}
|
|
3885
3894
|
}
|
|
3886
3895
|
}
|
|
3887
|
-
}),
|
|
3896
|
+
}), B = (o) => ({
|
|
3888
3897
|
M4LModuleLayout: {
|
|
3889
3898
|
styleOverrides: {
|
|
3890
3899
|
"&.M4LModuleLayout-root": {
|
|
@@ -3901,7 +3910,7 @@ const p = (o) => ({
|
|
|
3901
3910
|
}
|
|
3902
3911
|
}
|
|
3903
3912
|
}
|
|
3904
|
-
}),
|
|
3913
|
+
}), I = (o) => ({
|
|
3905
3914
|
M4LMasterDetailLayout: {
|
|
3906
3915
|
styleOverrides: {
|
|
3907
3916
|
"&.M4LMasterDetailLayout-root": {
|
|
@@ -3934,7 +3943,7 @@ const p = (o) => ({
|
|
|
3934
3943
|
}
|
|
3935
3944
|
}
|
|
3936
3945
|
}
|
|
3937
|
-
}),
|
|
3946
|
+
}), T = (o) => ({
|
|
3938
3947
|
M4LSplitLayout: {
|
|
3939
3948
|
styleOverrides: {
|
|
3940
3949
|
"&.M4LSplitLayout-root": {
|
|
@@ -4055,7 +4064,7 @@ const p = (o) => ({
|
|
|
4055
4064
|
}
|
|
4056
4065
|
}
|
|
4057
4066
|
}
|
|
4058
|
-
}),
|
|
4067
|
+
}), R = (o) => ({
|
|
4059
4068
|
M4LCommonActions: {
|
|
4060
4069
|
styleOverrides: {
|
|
4061
4070
|
"&.M4LCommonActions-root": {
|
|
@@ -4068,7 +4077,7 @@ const p = (o) => ({
|
|
|
4068
4077
|
}
|
|
4069
4078
|
}
|
|
4070
4079
|
}
|
|
4071
|
-
}),
|
|
4080
|
+
}), A = (o) => ({
|
|
4072
4081
|
M4LinearProgressIndeterminate: {
|
|
4073
4082
|
styleOverrides: {
|
|
4074
4083
|
"&.M4LinearProgressIndeterminate-root": {
|
|
@@ -4122,7 +4131,7 @@ const p = (o) => ({
|
|
|
4122
4131
|
}
|
|
4123
4132
|
}
|
|
4124
4133
|
}
|
|
4125
|
-
}),
|
|
4134
|
+
}), P = (o) => ({
|
|
4126
4135
|
M4LPropertyValue: {
|
|
4127
4136
|
styleOverrides: {
|
|
4128
4137
|
"&.M4LPropertyValue-root": {
|
|
@@ -4224,7 +4233,7 @@ const p = (o) => ({
|
|
|
4224
4233
|
}
|
|
4225
4234
|
}
|
|
4226
4235
|
}
|
|
4227
|
-
}),
|
|
4236
|
+
}), D = (o) => ({
|
|
4228
4237
|
M4LTab: {
|
|
4229
4238
|
styleOverrides: {
|
|
4230
4239
|
"&.M4LTab-root": {
|
|
@@ -4287,7 +4296,7 @@ const p = (o) => ({
|
|
|
4287
4296
|
}
|
|
4288
4297
|
}
|
|
4289
4298
|
}
|
|
4290
|
-
}),
|
|
4299
|
+
}), H = (o) => ({
|
|
4291
4300
|
M4LAccordion: {
|
|
4292
4301
|
styleOverrides: {
|
|
4293
4302
|
"&.M4LAccordion-root": {
|
|
@@ -4428,7 +4437,7 @@ const p = (o) => ({
|
|
|
4428
4437
|
}
|
|
4429
4438
|
}
|
|
4430
4439
|
}
|
|
4431
|
-
}),
|
|
4440
|
+
}), W = (o) => ({
|
|
4432
4441
|
M4LRHFormProvider: {
|
|
4433
4442
|
styleOverrides: {
|
|
4434
4443
|
"&.M4LRHFormProvider-root": {
|
|
@@ -4443,7 +4452,7 @@ const p = (o) => ({
|
|
|
4443
4452
|
}
|
|
4444
4453
|
}
|
|
4445
4454
|
}
|
|
4446
|
-
}),
|
|
4455
|
+
}), O = (o) => ({
|
|
4447
4456
|
M4LPeriod: {
|
|
4448
4457
|
styleOverrides: {
|
|
4449
4458
|
"&.M4LPeriod-root": {
|
|
@@ -4623,7 +4632,7 @@ const p = (o) => ({
|
|
|
4623
4632
|
}
|
|
4624
4633
|
}
|
|
4625
4634
|
}
|
|
4626
|
-
}),
|
|
4635
|
+
}), z = (o) => ({
|
|
4627
4636
|
M4LModalDialog: {
|
|
4628
4637
|
styleOverrides: {
|
|
4629
4638
|
"&.M4LModal-root": {
|
|
@@ -4749,7 +4758,7 @@ const p = (o) => ({
|
|
|
4749
4758
|
}
|
|
4750
4759
|
}
|
|
4751
4760
|
}
|
|
4752
|
-
}),
|
|
4761
|
+
}), V = (o) => ({
|
|
4753
4762
|
M4LPaperForm: {
|
|
4754
4763
|
styleOverrides: {
|
|
4755
4764
|
"&.M4LPaperForm-root": {
|
|
@@ -4798,7 +4807,7 @@ const p = (o) => ({
|
|
|
4798
4807
|
}
|
|
4799
4808
|
}
|
|
4800
4809
|
}
|
|
4801
|
-
}),
|
|
4810
|
+
}), G = (o) => ({
|
|
4802
4811
|
M4LTooltip: {
|
|
4803
4812
|
styleOverrides: {
|
|
4804
4813
|
"&.M4LTooltip-root": {
|
|
@@ -4819,7 +4828,7 @@ const p = (o) => ({
|
|
|
4819
4828
|
}
|
|
4820
4829
|
}
|
|
4821
4830
|
}
|
|
4822
|
-
}),
|
|
4831
|
+
}), F = (o) => ({
|
|
4823
4832
|
M4LBadge: {
|
|
4824
4833
|
styleOverrides: {
|
|
4825
4834
|
"&.M4LBadge-root": {
|
|
@@ -4850,7 +4859,7 @@ const p = (o) => ({
|
|
|
4850
4859
|
}
|
|
4851
4860
|
}
|
|
4852
4861
|
}
|
|
4853
|
-
}),
|
|
4862
|
+
}), j = (o) => (console.log("Test media query", o.typography.body), {
|
|
4854
4863
|
M4LDataGrid: {
|
|
4855
4864
|
styleOverrides: {
|
|
4856
4865
|
"&.M4LDataGrid-root": {
|
|
@@ -5197,7 +5206,7 @@ const p = (o) => ({
|
|
|
5197
5206
|
}
|
|
5198
5207
|
}
|
|
5199
5208
|
}
|
|
5200
|
-
}),
|
|
5209
|
+
}), N = (o) => ({
|
|
5201
5210
|
M4LPager: {
|
|
5202
5211
|
styleOverrides: {
|
|
5203
5212
|
"&.M4LPager-root": {
|
|
@@ -5304,7 +5313,7 @@ const p = (o) => ({
|
|
|
5304
5313
|
}
|
|
5305
5314
|
}
|
|
5306
5315
|
}
|
|
5307
|
-
}),
|
|
5316
|
+
}), E = (o) => ({
|
|
5308
5317
|
M4LCheckBox: {
|
|
5309
5318
|
styleOverrides: {
|
|
5310
5319
|
"&.M4LCheckBox-root": {
|
|
@@ -5378,7 +5387,7 @@ const p = (o) => ({
|
|
|
5378
5387
|
}
|
|
5379
5388
|
}
|
|
5380
5389
|
}
|
|
5381
|
-
}),
|
|
5390
|
+
}), $ = (o) => ({
|
|
5382
5391
|
M4LStack: {
|
|
5383
5392
|
styleOverrides: {
|
|
5384
5393
|
"&.M4LStack-root": {
|
|
@@ -5391,7 +5400,7 @@ const p = (o) => ({
|
|
|
5391
5400
|
}
|
|
5392
5401
|
}
|
|
5393
5402
|
}
|
|
5394
|
-
}),
|
|
5403
|
+
}), _ = (o) => ({
|
|
5395
5404
|
M4LTabs: {
|
|
5396
5405
|
styleOverrides: {
|
|
5397
5406
|
"&.M4LTabs-root": {
|
|
@@ -5431,7 +5440,7 @@ const p = (o) => ({
|
|
|
5431
5440
|
}
|
|
5432
5441
|
}
|
|
5433
5442
|
}
|
|
5434
|
-
}),
|
|
5443
|
+
}), U = (o) => ({
|
|
5435
5444
|
M4LNoItemSelected: {
|
|
5436
5445
|
styleOverrides: {
|
|
5437
5446
|
"&.M4LNoItemSelected-root": {
|
|
@@ -5451,7 +5460,7 @@ const p = (o) => ({
|
|
|
5451
5460
|
}
|
|
5452
5461
|
}
|
|
5453
5462
|
}
|
|
5454
|
-
}),
|
|
5463
|
+
}), q = (o) => ({
|
|
5455
5464
|
M4LScrollBar: {
|
|
5456
5465
|
styleOverrides: {
|
|
5457
5466
|
"&.M4LScrollBar-root": {
|
|
@@ -5486,7 +5495,7 @@ const p = (o) => ({
|
|
|
5486
5495
|
}
|
|
5487
5496
|
}
|
|
5488
5497
|
}
|
|
5489
|
-
}),
|
|
5498
|
+
}), Y = (o) => ({
|
|
5490
5499
|
M4LGridLayout: {
|
|
5491
5500
|
styleOverrides: {
|
|
5492
5501
|
"&.M4LGridLayout-root": {
|
|
@@ -5494,7 +5503,7 @@ const p = (o) => ({
|
|
|
5494
5503
|
}
|
|
5495
5504
|
}
|
|
5496
5505
|
}
|
|
5497
|
-
}),
|
|
5506
|
+
}), X = (o) => ({
|
|
5498
5507
|
M4LTabContent: {
|
|
5499
5508
|
styleOverrides: {
|
|
5500
5509
|
"&.M4LTabContent-root": {
|
|
@@ -5525,7 +5534,7 @@ const p = (o) => ({
|
|
|
5525
5534
|
}
|
|
5526
5535
|
}
|
|
5527
5536
|
}
|
|
5528
|
-
}),
|
|
5537
|
+
}), J = (o) => ({
|
|
5529
5538
|
M4LMenuActions: {
|
|
5530
5539
|
styleOverrides: {
|
|
5531
5540
|
"&.M4LMenuActions-root": {
|
|
@@ -5559,7 +5568,7 @@ const p = (o) => ({
|
|
|
5559
5568
|
}
|
|
5560
5569
|
}
|
|
5561
5570
|
}
|
|
5562
|
-
}),
|
|
5571
|
+
}), K = (o) => ({
|
|
5563
5572
|
M4LPrintingSystem: {
|
|
5564
5573
|
styleOverrides: {
|
|
5565
5574
|
"&.M4LPrintingSystem-root": {
|
|
@@ -5741,7 +5750,7 @@ const p = (o) => ({
|
|
|
5741
5750
|
}
|
|
5742
5751
|
}
|
|
5743
5752
|
}
|
|
5744
|
-
}),
|
|
5753
|
+
}), Q = (o) => ({
|
|
5745
5754
|
M4LFormatter: {
|
|
5746
5755
|
styleOverrides: {
|
|
5747
5756
|
"&.M4LFormatter-root": {
|
|
@@ -5758,7 +5767,7 @@ const p = (o) => ({
|
|
|
5758
5767
|
}
|
|
5759
5768
|
}
|
|
5760
5769
|
}
|
|
5761
|
-
}),
|
|
5770
|
+
}), Z = (o) => ({
|
|
5762
5771
|
M4LoadingError: {
|
|
5763
5772
|
styleOverrides: {
|
|
5764
5773
|
"&.M4LoadingError-root": {
|
|
@@ -5817,7 +5826,7 @@ const p = (o) => ({
|
|
|
5817
5826
|
}
|
|
5818
5827
|
}
|
|
5819
5828
|
}
|
|
5820
|
-
}),
|
|
5829
|
+
}), oo = (o) => ({
|
|
5821
5830
|
M4LMFLoader: {
|
|
5822
5831
|
styleOverrides: {
|
|
5823
5832
|
"&.M4LMFLoader-root": {
|
|
@@ -5836,7 +5845,7 @@ const p = (o) => ({
|
|
|
5836
5845
|
}
|
|
5837
5846
|
}
|
|
5838
5847
|
}
|
|
5839
|
-
}),
|
|
5848
|
+
}), to = (o) => ({
|
|
5840
5849
|
M4LLoadingButton: {
|
|
5841
5850
|
styleOverrides: {
|
|
5842
5851
|
"&.M4LLoadingButton-root": {
|
|
@@ -6068,7 +6077,7 @@ const p = (o) => ({
|
|
|
6068
6077
|
}
|
|
6069
6078
|
}
|
|
6070
6079
|
}
|
|
6071
|
-
}),
|
|
6080
|
+
}), ro = (o) => ({
|
|
6072
6081
|
M4LToastContainer: {
|
|
6073
6082
|
styleOverrides: {
|
|
6074
6083
|
"&.M4LToastContainer-root": {
|
|
@@ -6146,7 +6155,7 @@ const p = (o) => ({
|
|
|
6146
6155
|
}
|
|
6147
6156
|
}
|
|
6148
6157
|
}
|
|
6149
|
-
}),
|
|
6158
|
+
}), eo = (o) => ({
|
|
6150
6159
|
M4LPDFViewer: {
|
|
6151
6160
|
styleOverrides: {
|
|
6152
6161
|
"&.M4LPDFViewer-root": {
|
|
@@ -6161,7 +6170,7 @@ const p = (o) => ({
|
|
|
6161
6170
|
}
|
|
6162
6171
|
}
|
|
6163
6172
|
}
|
|
6164
|
-
}),
|
|
6173
|
+
}), ao = (o) => ({
|
|
6165
6174
|
M4LTopBar: {
|
|
6166
6175
|
styleOverrides: {
|
|
6167
6176
|
"&.M4LTopBar-root": {
|
|
@@ -6224,7 +6233,7 @@ const p = (o) => ({
|
|
|
6224
6233
|
}
|
|
6225
6234
|
}
|
|
6226
6235
|
}
|
|
6227
|
-
}),
|
|
6236
|
+
}), io = (o) => ({
|
|
6228
6237
|
M4LAppBarCommercial: {
|
|
6229
6238
|
styleOverrides: {
|
|
6230
6239
|
"&.M4LAppBarCommercial-root": {
|
|
@@ -6245,7 +6254,7 @@ const p = (o) => ({
|
|
|
6245
6254
|
}
|
|
6246
6255
|
}
|
|
6247
6256
|
}
|
|
6248
|
-
}),
|
|
6257
|
+
}), no = (o) => ({
|
|
6249
6258
|
M4LSectionCommercial: {
|
|
6250
6259
|
styleOverrides: {
|
|
6251
6260
|
"&.M4LSectionCommercial-root": {
|
|
@@ -6264,7 +6273,7 @@ const p = (o) => ({
|
|
|
6264
6273
|
}
|
|
6265
6274
|
}
|
|
6266
6275
|
}
|
|
6267
|
-
}),
|
|
6276
|
+
}), po = (o) => ({
|
|
6268
6277
|
M4LHamburgerMenuCommercial: {
|
|
6269
6278
|
styleOverrides: {
|
|
6270
6279
|
"&.M4LHamburgerMenuCommercial-root": {
|
|
@@ -6274,7 +6283,7 @@ const p = (o) => ({
|
|
|
6274
6283
|
}
|
|
6275
6284
|
}
|
|
6276
6285
|
}
|
|
6277
|
-
}),
|
|
6286
|
+
}), so = (o) => ({
|
|
6278
6287
|
M4LFieldLabel: {
|
|
6279
6288
|
styleOverrides: {
|
|
6280
6289
|
"&.M4LFieldLabel-root": {
|
|
@@ -6297,7 +6306,7 @@ const p = (o) => ({
|
|
|
6297
6306
|
}
|
|
6298
6307
|
}
|
|
6299
6308
|
}
|
|
6300
|
-
}),
|
|
6309
|
+
}), lo = (o) => ({
|
|
6301
6310
|
M4LMap: {
|
|
6302
6311
|
styleOverrides: {
|
|
6303
6312
|
"&.M4LMap-root": {
|
|
@@ -6546,7 +6555,7 @@ const p = (o) => ({
|
|
|
6546
6555
|
}
|
|
6547
6556
|
}
|
|
6548
6557
|
}
|
|
6549
|
-
}),
|
|
6558
|
+
}), co = (o) => ({
|
|
6550
6559
|
M4LMapGpsTools: {
|
|
6551
6560
|
styleOverrides: {
|
|
6552
6561
|
"&.M4LMapGpsTools-gpsToolsRoot": {
|
|
@@ -6603,58 +6612,58 @@ const p = (o) => ({
|
|
|
6603
6612
|
}
|
|
6604
6613
|
});
|
|
6605
6614
|
export {
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
G,
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6615
|
+
lo as $,
|
|
6616
|
+
H as A,
|
|
6617
|
+
O as B,
|
|
6618
|
+
z as C,
|
|
6619
|
+
V as D,
|
|
6620
|
+
G as E,
|
|
6621
|
+
N as F,
|
|
6622
|
+
E as G,
|
|
6623
|
+
$ as H,
|
|
6624
|
+
_ as I,
|
|
6625
|
+
U as J,
|
|
6626
|
+
q as K,
|
|
6627
|
+
Y as L,
|
|
6628
|
+
to as M,
|
|
6629
|
+
X as N,
|
|
6630
|
+
J as O,
|
|
6631
|
+
K as P,
|
|
6632
|
+
Q,
|
|
6633
|
+
Z as R,
|
|
6634
|
+
oo as S,
|
|
6635
|
+
ro as T,
|
|
6636
|
+
eo as U,
|
|
6637
|
+
ao as V,
|
|
6638
|
+
io as W,
|
|
6639
|
+
no as X,
|
|
6640
|
+
po as Y,
|
|
6641
|
+
so as Z,
|
|
6642
|
+
co as _,
|
|
6643
|
+
W as a,
|
|
6644
|
+
c as b,
|
|
6645
|
+
g as c,
|
|
6646
|
+
x as d,
|
|
6647
|
+
u as e,
|
|
6648
|
+
y as f,
|
|
6649
|
+
b as g,
|
|
6650
|
+
F as h,
|
|
6651
|
+
M as i,
|
|
6652
|
+
j,
|
|
6653
|
+
L as k,
|
|
6654
|
+
v as l,
|
|
6655
|
+
h as m,
|
|
6656
|
+
f as n,
|
|
6657
|
+
C as o,
|
|
6658
|
+
w as p,
|
|
6659
|
+
m as q,
|
|
6660
|
+
k as r,
|
|
6661
|
+
S as s,
|
|
6662
|
+
B as t,
|
|
6663
|
+
I as u,
|
|
6664
|
+
T as v,
|
|
6665
|
+
R as w,
|
|
6666
|
+
A as x,
|
|
6667
|
+
P as y,
|
|
6668
|
+
D as z
|
|
6660
6669
|
};
|
|
@@ -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.8c011674.js";
|
|
4
4
|
function ma(a) {
|
|
5
5
|
return Object.assign(
|
|
6
6
|
s(a),
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { createTheme as i } from "@mui/material";
|
|
2
|
-
import
|
|
3
|
-
|
|
2
|
+
import "@mui/material/styles";
|
|
3
|
+
import "@mui/material/useMediaQuery";
|
|
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 = {
|
|
4
11
|
...g.typography,
|
|
5
12
|
fontFamily: n,
|
|
6
13
|
fontWeightRegular: 400,
|
|
@@ -9,116 +16,116 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
|
9
16
|
h1: {
|
|
10
17
|
fontWeight: 600,
|
|
11
18
|
lineHeight: 1.5,
|
|
12
|
-
...
|
|
19
|
+
...t({ sm: 38, md: 38, lg: 38 })
|
|
13
20
|
},
|
|
14
21
|
h2: {
|
|
15
22
|
fontWeight: 600,
|
|
16
23
|
lineHeight: 1,
|
|
17
|
-
...
|
|
24
|
+
...t({ sm: 40, md: 40, lg: 40 })
|
|
18
25
|
},
|
|
19
26
|
h3: {
|
|
20
27
|
fontWeight: 600,
|
|
21
28
|
lineHeight: 1.5,
|
|
22
|
-
...
|
|
29
|
+
...t({ sm: 30, md: 30, lg: 30 })
|
|
23
30
|
},
|
|
24
31
|
h4: {
|
|
25
32
|
fontWeight: 600,
|
|
26
33
|
lineHeight: 1.5,
|
|
27
|
-
...
|
|
34
|
+
...t({ sm: 20, md: 20, lg: 20 })
|
|
28
35
|
},
|
|
29
36
|
h5: {
|
|
30
37
|
fontWeight: 500,
|
|
31
38
|
lineHeight: "28px",
|
|
32
39
|
letterSpacing: "-0.01em",
|
|
33
|
-
...
|
|
40
|
+
...t({ sm: 22, md: 22, lg: 22 })
|
|
34
41
|
},
|
|
35
42
|
h6: {
|
|
36
43
|
fontWeight: 500,
|
|
37
44
|
lineHeight: "24px",
|
|
38
45
|
letterSpacing: "-0.08em",
|
|
39
|
-
...
|
|
46
|
+
...t({ sm: 18, md: 18, lg: 18 })
|
|
40
47
|
},
|
|
41
48
|
subtitle: {
|
|
42
49
|
fontWeight: 400,
|
|
43
50
|
lineHeight: "20px",
|
|
44
51
|
letterSpacing: "-0.006em",
|
|
45
|
-
...
|
|
52
|
+
...t({ sm: 15, md: 15, lg: 15 })
|
|
46
53
|
},
|
|
47
54
|
subtitleDens: {
|
|
48
55
|
fontWeight: 600,
|
|
49
56
|
lineHeight: "24px",
|
|
50
57
|
letterSpacing: "-0.006em",
|
|
51
|
-
...
|
|
58
|
+
...t({ sm: 15, md: 15, lg: 15 })
|
|
52
59
|
},
|
|
53
60
|
paragraph: {
|
|
54
61
|
fontWeight: 400,
|
|
55
62
|
lineHeight: "16px",
|
|
56
63
|
letterSpacing: "-0.003em",
|
|
57
|
-
...
|
|
64
|
+
...t({ sm: 13, md: 13, lg: 13 })
|
|
58
65
|
},
|
|
59
66
|
paragraphDens: {
|
|
60
67
|
fontWeight: 600,
|
|
61
68
|
lineHeight: "20px",
|
|
62
69
|
letterSpacing: "-0.003em",
|
|
63
|
-
...
|
|
70
|
+
...t({ sm: 13, md: 13, lg: 13 })
|
|
64
71
|
},
|
|
65
72
|
subtitle1: {
|
|
66
73
|
fontWeight: 600,
|
|
67
74
|
lineHeight: 1.5,
|
|
68
|
-
fontSize:
|
|
75
|
+
fontSize: e(14)
|
|
69
76
|
},
|
|
70
77
|
subtitle2: {
|
|
71
78
|
fontWeight: 600,
|
|
72
79
|
lineHeight: 1.5,
|
|
73
|
-
fontSize:
|
|
80
|
+
fontSize: e(12)
|
|
74
81
|
},
|
|
75
82
|
body: {
|
|
76
83
|
fontWeight: 400,
|
|
77
84
|
lineHeight: "16px",
|
|
78
|
-
...
|
|
85
|
+
...t({ sm: 11, md: 11, lg: 11 })
|
|
79
86
|
},
|
|
80
87
|
bodyDens: {
|
|
81
88
|
fontWeight: 600,
|
|
82
89
|
lineHeight: "16px",
|
|
83
|
-
...
|
|
90
|
+
...t({ sm: 11, md: 11, lg: 11 })
|
|
84
91
|
},
|
|
85
92
|
body0: {
|
|
86
93
|
lineHeight: 1.5,
|
|
87
94
|
fontWeight: 400,
|
|
88
|
-
fontSize:
|
|
95
|
+
fontSize: e(16)
|
|
89
96
|
},
|
|
90
97
|
body1: {
|
|
91
98
|
lineHeight: 1.5,
|
|
92
99
|
fontWeight: 400,
|
|
93
|
-
fontSize:
|
|
100
|
+
fontSize: e(14)
|
|
94
101
|
},
|
|
95
102
|
body2: {
|
|
96
103
|
lineHeight: 1.5,
|
|
97
104
|
fontWeight: 400,
|
|
98
|
-
fontSize:
|
|
105
|
+
fontSize: e(12)
|
|
99
106
|
},
|
|
100
107
|
caption: {
|
|
101
108
|
lineHeight: 1.5,
|
|
102
|
-
fontSize:
|
|
109
|
+
fontSize: e(11)
|
|
103
110
|
},
|
|
104
111
|
overline: {
|
|
105
112
|
fontWeight: 700,
|
|
106
113
|
lineHeight: 1.5,
|
|
107
|
-
fontSize:
|
|
114
|
+
fontSize: e(12),
|
|
108
115
|
textTransform: "uppercase"
|
|
109
116
|
},
|
|
110
117
|
button: {
|
|
111
118
|
fontWeight: 700,
|
|
112
119
|
lineHeight: 24 / 14,
|
|
113
|
-
fontSize:
|
|
120
|
+
fontSize: e(14),
|
|
114
121
|
textTransform: "capitalize"
|
|
115
122
|
},
|
|
116
123
|
action: {
|
|
117
124
|
fontWeight: 600,
|
|
118
125
|
lineHeight: "16px",
|
|
119
|
-
...
|
|
126
|
+
...t({ sm: 12, md: 12, lg: 12 })
|
|
120
127
|
}
|
|
121
128
|
};
|
|
122
129
|
export {
|
|
123
|
-
|
|
130
|
+
W as t
|
|
124
131
|
};
|
package/types/augmentations.d.ts
CHANGED
|
@@ -1,144 +1,144 @@
|
|
|
1
|
-
import { PatronusConstantColors, PatronusOpacityColors, PatronusOpacityOptions } from '../theme/palette';
|
|
2
|
-
import { ColorStateOptions, CustomShadowOptions } from '../theme';
|
|
3
|
-
import { ChartPaletteOptions, GradientsPaletteOptions, GridPaletteOptions } from './types';
|
|
4
|
-
import { Breakpoints, ColorSystemOptions } from '@mui/material';
|
|
5
|
-
import { CssVarsTheme } from '@mui/material/styles';
|
|
6
|
-
|
|
7
|
-
declare module '@mui/material' {
|
|
8
|
-
interface Color {
|
|
9
|
-
0: string;
|
|
10
|
-
500_8: string;
|
|
11
|
-
500_12: string;
|
|
12
|
-
500_16: string;
|
|
13
|
-
500_24: string;
|
|
14
|
-
500_32: string;
|
|
15
|
-
500_48: string;
|
|
16
|
-
500_56: string;
|
|
17
|
-
500_80: string;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare module '@mui/material/styles/createPalette' {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// declare module '@mui/core/Typography' {
|
|
27
|
-
// interface TypographyProps {
|
|
28
|
-
// variant?: 'subtitle';
|
|
29
|
-
// }
|
|
30
|
-
// }
|
|
31
|
-
|
|
32
|
-
declare module '@mui/material/styles' {
|
|
33
|
-
|
|
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
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
declare module '@mui/material/styles' {
|
|
108
|
-
|
|
109
|
-
interface TypographyVariants {
|
|
110
|
-
subtitle: Record<string, any>;
|
|
111
|
-
subtitleDens: Record<string, any>;
|
|
112
|
-
paragraph: Record<string, any>;
|
|
113
|
-
paragraphDens: Record<string, any>;
|
|
114
|
-
body: Record<string, any>;
|
|
115
|
-
bodyDens: Record<string, any>;
|
|
116
|
-
action: Record<string, any>;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
// allow configuration using `createTheme`
|
|
120
|
-
interface TypographyVariantsOptions {
|
|
121
|
-
subtitle: React.CSSProperties;
|
|
122
|
-
subtitleDens: React.CSSProperties;
|
|
123
|
-
paragraph: React.CSSProperties;
|
|
124
|
-
paragraphDens: React.CSSProperties;
|
|
125
|
-
body: React.CSSProperties;
|
|
126
|
-
bodyDens: React.CSSProperties;
|
|
127
|
-
action: React.CSSProperties;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
declare module '@mui/material/Typography' {
|
|
135
|
-
interface TypographyPropsVariantOverrides {
|
|
136
|
-
subtitle: true;
|
|
137
|
-
subtitleDens: true;
|
|
138
|
-
paragraph: true;
|
|
139
|
-
paragraphDens: true;
|
|
140
|
-
body: true;
|
|
141
|
-
bodyDens: true;
|
|
142
|
-
action: true;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
1
|
+
import { PatronusConstantColors, PatronusOpacityColors, PatronusOpacityOptions } from '../theme/palette';
|
|
2
|
+
import { ColorStateOptions, CustomShadowOptions } from '../theme';
|
|
3
|
+
import { ChartPaletteOptions, GradientsPaletteOptions, GridPaletteOptions } from './types';
|
|
4
|
+
import { Breakpoints, ColorSystemOptions } from '@mui/material';
|
|
5
|
+
import { CssVarsTheme } from '@mui/material/styles';
|
|
6
|
+
|
|
7
|
+
declare module '@mui/material' {
|
|
8
|
+
interface Color {
|
|
9
|
+
0: string;
|
|
10
|
+
500_8: string;
|
|
11
|
+
500_12: string;
|
|
12
|
+
500_16: string;
|
|
13
|
+
500_24: string;
|
|
14
|
+
500_32: string;
|
|
15
|
+
500_48: string;
|
|
16
|
+
500_56: string;
|
|
17
|
+
500_80: string;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare module '@mui/material/styles/createPalette' {
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// declare module '@mui/core/Typography' {
|
|
27
|
+
// interface TypographyProps {
|
|
28
|
+
// variant?: 'subtitle';
|
|
29
|
+
// }
|
|
30
|
+
// }
|
|
31
|
+
|
|
32
|
+
declare module '@mui/material/styles' {
|
|
33
|
+
|
|
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
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
declare module '@mui/material/styles' {
|
|
108
|
+
|
|
109
|
+
interface TypographyVariants {
|
|
110
|
+
subtitle: Record<string, any>;
|
|
111
|
+
subtitleDens: Record<string, any>;
|
|
112
|
+
paragraph: Record<string, any>;
|
|
113
|
+
paragraphDens: Record<string, any>;
|
|
114
|
+
body: Record<string, any>;
|
|
115
|
+
bodyDens: Record<string, any>;
|
|
116
|
+
action: Record<string, any>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// allow configuration using `createTheme`
|
|
120
|
+
interface TypographyVariantsOptions {
|
|
121
|
+
subtitle: React.CSSProperties;
|
|
122
|
+
subtitleDens: React.CSSProperties;
|
|
123
|
+
paragraph: React.CSSProperties;
|
|
124
|
+
paragraphDens: React.CSSProperties;
|
|
125
|
+
body: React.CSSProperties;
|
|
126
|
+
bodyDens: React.CSSProperties;
|
|
127
|
+
action: React.CSSProperties;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
declare module '@mui/material/Typography' {
|
|
135
|
+
interface TypographyPropsVariantOverrides {
|
|
136
|
+
subtitle: true;
|
|
137
|
+
subtitleDens: true;
|
|
138
|
+
paragraph: true;
|
|
139
|
+
paragraphDens: true;
|
|
140
|
+
body: true;
|
|
141
|
+
bodyDens: true;
|
|
142
|
+
action: true;
|
|
143
|
+
}
|
|
144
|
+
}
|
package/types/types.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export declare type ThemeColorPresets = 'patronus' | 'turqui' | 'grass' | 'brown' | 'blaze';
|
|
2
|
-
|
|
3
|
-
export interface GridPaletteOptions {
|
|
4
|
-
sectionHeader: string;
|
|
5
|
-
rowHover: string;
|
|
6
|
-
divider: string;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface ChartPaletteOptions {
|
|
10
|
-
violet: string[];
|
|
11
|
-
blue: string[];
|
|
12
|
-
green: string[];
|
|
13
|
-
yellow: string[];
|
|
14
|
-
red: string[];
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface GradientsPaletteOptions {
|
|
18
|
-
primary: string;
|
|
19
|
-
info: string;
|
|
20
|
-
success: string;
|
|
21
|
-
warning: string;
|
|
22
|
-
error: string;
|
|
23
|
-
}
|
|
24
|
-
|
|
1
|
+
export declare type ThemeColorPresets = 'patronus' | 'turqui' | 'grass' | 'brown' | 'blaze';
|
|
2
|
+
|
|
3
|
+
export interface GridPaletteOptions {
|
|
4
|
+
sectionHeader: string;
|
|
5
|
+
rowHover: string;
|
|
6
|
+
divider: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface ChartPaletteOptions {
|
|
10
|
+
violet: string[];
|
|
11
|
+
blue: string[];
|
|
12
|
+
green: string[];
|
|
13
|
+
yellow: string[];
|
|
14
|
+
red: string[];
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface GradientsPaletteOptions {
|
|
18
|
+
primary: string;
|
|
19
|
+
info: string;
|
|
20
|
+
success: string;
|
|
21
|
+
warning: string;
|
|
22
|
+
error: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { alpha as a } from "@mui/system";
|
|
2
|
+
import "../theme/defaultThemeOptions.d580f3ec.js";
|
|
3
|
+
import "../theme/shadows.e0c009ff.js";
|
|
2
4
|
import { P as e, O as r, S as o } from "../theme/palette.287635f2.js";
|
|
3
|
-
|
|
5
|
+
import "../theme/typography.947dc33f.js";
|
|
6
|
+
import "@mui/material";
|
|
7
|
+
import "@mui/material/styles";
|
|
8
|
+
const m = (i, l) => {
|
|
4
9
|
let t = {};
|
|
5
|
-
switch (
|
|
10
|
+
switch (i) {
|
|
6
11
|
case "patronus":
|
|
7
12
|
t = {
|
|
8
13
|
light: {
|
|
@@ -244,8 +249,8 @@ const u = (l, d) => {
|
|
|
244
249
|
};
|
|
245
250
|
break;
|
|
246
251
|
}
|
|
247
|
-
return
|
|
252
|
+
return l === "light" ? { ...t.light } : { ...t.dark };
|
|
248
253
|
};
|
|
249
254
|
export {
|
|
250
|
-
|
|
255
|
+
m as g
|
|
251
256
|
};
|
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.34d0fdea.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|