@m4l/styles 2.0.0 → 2.0.1
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 +47 -47
- 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/{index.8f549882.js → index.79301515.js} +110 -106
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +9 -1
- package/theme/overrides/M4LRHFComponents/{index.3599b255.js → index.a4e93e8e.js} +18 -4
- package/theme/overrides/{index.3234140e.js → index.11f693b6.js} +2 -2
- package/theme/{typography.616cfe0c.js → typography.947dc33f.js} +31 -24
- package/types/augmentations.d.ts +137 -137
- 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.11f693b6.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";
|
|
13
|
-
import "./theme/overrides/MUIComponents/index.5c43e3b5.js";
|
|
14
|
-
import "./theme/overrides/M4LRHFComponents/index.3599b255.js";
|
|
15
|
-
import "@mui/system";
|
|
16
|
-
import "./theme/overrides/M4LExtendedComponents/index.8f549882.js";
|
|
17
12
|
import "@mui/material/useMediaQuery";
|
|
13
|
+
import "@mui/system";
|
|
14
|
+
import "@mui/material";
|
|
15
|
+
import "./theme/overrides/MUIComponents/index.5c43e3b5.js";
|
|
16
|
+
import "./theme/overrides/M4LRHFComponents/index.a4e93e8e.js";
|
|
17
|
+
import "./theme/overrides/M4LExtendedComponents/index.79301515.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 e } from "@mui/system";
|
|
3
|
+
import "../../defaultThemeOptions.d580f3ec.js";
|
|
4
|
+
import "../../shadows.e0c009ff.js";
|
|
3
5
|
import { P as r } 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": {
|
|
@@ -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": {
|
|
@@ -3333,7 +3337,7 @@ const p = (o) => ({
|
|
|
3333
3337
|
}
|
|
3334
3338
|
}
|
|
3335
3339
|
}
|
|
3336
|
-
}),
|
|
3340
|
+
}), C = (o) => ({
|
|
3337
3341
|
M4LAppBar: {
|
|
3338
3342
|
styleOverrides: {
|
|
3339
3343
|
"&.M4LAppBar-root": {
|
|
@@ -3448,7 +3452,7 @@ const p = (o) => ({
|
|
|
3448
3452
|
}
|
|
3449
3453
|
}
|
|
3450
3454
|
}
|
|
3451
|
-
}),
|
|
3455
|
+
}), k = (o) => ({
|
|
3452
3456
|
M4LAvatar: {
|
|
3453
3457
|
styleOverrides: {
|
|
3454
3458
|
"&.M4LAvatar-root": {
|
|
@@ -3487,7 +3491,7 @@ const p = (o) => ({
|
|
|
3487
3491
|
}
|
|
3488
3492
|
}
|
|
3489
3493
|
}
|
|
3490
|
-
}),
|
|
3494
|
+
}), S = (o) => ({
|
|
3491
3495
|
M4LAccountPopover: {
|
|
3492
3496
|
styleOverrides: {
|
|
3493
3497
|
"&.M4LAccountPopover-root": {
|
|
@@ -3766,7 +3770,7 @@ const p = (o) => ({
|
|
|
3766
3770
|
}
|
|
3767
3771
|
}
|
|
3768
3772
|
}
|
|
3769
|
-
}),
|
|
3773
|
+
}), B = (o) => ({
|
|
3770
3774
|
M4LModuleLayout: {
|
|
3771
3775
|
styleOverrides: {
|
|
3772
3776
|
"&.M4LModuleLayout-root": {
|
|
@@ -3783,7 +3787,7 @@ const p = (o) => ({
|
|
|
3783
3787
|
}
|
|
3784
3788
|
}
|
|
3785
3789
|
}
|
|
3786
|
-
}),
|
|
3790
|
+
}), I = (o) => ({
|
|
3787
3791
|
M4LMasterDetailLayout: {
|
|
3788
3792
|
styleOverrides: {
|
|
3789
3793
|
"&.M4LMasterDetailLayout-root": {
|
|
@@ -3816,7 +3820,7 @@ const p = (o) => ({
|
|
|
3816
3820
|
}
|
|
3817
3821
|
}
|
|
3818
3822
|
}
|
|
3819
|
-
}),
|
|
3823
|
+
}), T = (o) => ({
|
|
3820
3824
|
M4LSplitLayout: {
|
|
3821
3825
|
styleOverrides: {
|
|
3822
3826
|
"&.M4LSplitLayout-root": {
|
|
@@ -3937,7 +3941,7 @@ const p = (o) => ({
|
|
|
3937
3941
|
}
|
|
3938
3942
|
}
|
|
3939
3943
|
}
|
|
3940
|
-
}),
|
|
3944
|
+
}), R = (o) => ({
|
|
3941
3945
|
M4LCommonActions: {
|
|
3942
3946
|
styleOverrides: {
|
|
3943
3947
|
"&.M4LCommonActions-root": {
|
|
@@ -3950,7 +3954,7 @@ const p = (o) => ({
|
|
|
3950
3954
|
}
|
|
3951
3955
|
}
|
|
3952
3956
|
}
|
|
3953
|
-
}),
|
|
3957
|
+
}), A = (o) => ({
|
|
3954
3958
|
M4LinearProgressIndeterminate: {
|
|
3955
3959
|
styleOverrides: {
|
|
3956
3960
|
"&.M4LinearProgressIndeterminate-root": {
|
|
@@ -4004,7 +4008,7 @@ const p = (o) => ({
|
|
|
4004
4008
|
}
|
|
4005
4009
|
}
|
|
4006
4010
|
}
|
|
4007
|
-
}),
|
|
4011
|
+
}), P = (o) => ({
|
|
4008
4012
|
M4LPropertyValue: {
|
|
4009
4013
|
styleOverrides: {
|
|
4010
4014
|
"&.M4LPropertyValue-root": {
|
|
@@ -4106,7 +4110,7 @@ const p = (o) => ({
|
|
|
4106
4110
|
}
|
|
4107
4111
|
}
|
|
4108
4112
|
}
|
|
4109
|
-
}),
|
|
4113
|
+
}), D = (o) => ({
|
|
4110
4114
|
M4LTab: {
|
|
4111
4115
|
styleOverrides: {
|
|
4112
4116
|
"&.M4LTab-root": {
|
|
@@ -4169,7 +4173,7 @@ const p = (o) => ({
|
|
|
4169
4173
|
}
|
|
4170
4174
|
}
|
|
4171
4175
|
}
|
|
4172
|
-
}),
|
|
4176
|
+
}), H = (o) => ({
|
|
4173
4177
|
M4LAccordion: {
|
|
4174
4178
|
styleOverrides: {
|
|
4175
4179
|
"&.M4LAccordion-root": {
|
|
@@ -4310,7 +4314,7 @@ const p = (o) => ({
|
|
|
4310
4314
|
}
|
|
4311
4315
|
}
|
|
4312
4316
|
}
|
|
4313
|
-
}),
|
|
4317
|
+
}), W = (o) => ({
|
|
4314
4318
|
M4LRHFormProvider: {
|
|
4315
4319
|
styleOverrides: {
|
|
4316
4320
|
"&.M4LRHFormProvider-root": {
|
|
@@ -4325,7 +4329,7 @@ const p = (o) => ({
|
|
|
4325
4329
|
}
|
|
4326
4330
|
}
|
|
4327
4331
|
}
|
|
4328
|
-
}),
|
|
4332
|
+
}), O = (o) => ({
|
|
4329
4333
|
M4LPeriod: {
|
|
4330
4334
|
styleOverrides: {
|
|
4331
4335
|
"&.M4LPeriod-root": {
|
|
@@ -4505,7 +4509,7 @@ const p = (o) => ({
|
|
|
4505
4509
|
}
|
|
4506
4510
|
}
|
|
4507
4511
|
}
|
|
4508
|
-
}),
|
|
4512
|
+
}), z = (o) => ({
|
|
4509
4513
|
M4LModalDialog: {
|
|
4510
4514
|
styleOverrides: {
|
|
4511
4515
|
"&.M4LModal-root": {
|
|
@@ -4631,7 +4635,7 @@ const p = (o) => ({
|
|
|
4631
4635
|
}
|
|
4632
4636
|
}
|
|
4633
4637
|
}
|
|
4634
|
-
}),
|
|
4638
|
+
}), V = (o) => ({
|
|
4635
4639
|
M4LPaperForm: {
|
|
4636
4640
|
styleOverrides: {
|
|
4637
4641
|
"&.M4LPaperForm-root": {
|
|
@@ -4680,7 +4684,7 @@ const p = (o) => ({
|
|
|
4680
4684
|
}
|
|
4681
4685
|
}
|
|
4682
4686
|
}
|
|
4683
|
-
}),
|
|
4687
|
+
}), G = (o) => ({
|
|
4684
4688
|
M4LTooltip: {
|
|
4685
4689
|
styleOverrides: {
|
|
4686
4690
|
"&.M4LTooltip-root": {
|
|
@@ -4701,7 +4705,7 @@ const p = (o) => ({
|
|
|
4701
4705
|
}
|
|
4702
4706
|
}
|
|
4703
4707
|
}
|
|
4704
|
-
}),
|
|
4708
|
+
}), F = (o) => ({
|
|
4705
4709
|
M4LBadge: {
|
|
4706
4710
|
styleOverrides: {
|
|
4707
4711
|
"&.M4LBadge-root": {
|
|
@@ -4732,7 +4736,7 @@ const p = (o) => ({
|
|
|
4732
4736
|
}
|
|
4733
4737
|
}
|
|
4734
4738
|
}
|
|
4735
|
-
}),
|
|
4739
|
+
}), j = (o) => (console.log("Test media query", o.typography.body), {
|
|
4736
4740
|
M4LDataGrid: {
|
|
4737
4741
|
styleOverrides: {
|
|
4738
4742
|
"&.M4LDataGrid-root": {
|
|
@@ -5079,7 +5083,7 @@ const p = (o) => ({
|
|
|
5079
5083
|
}
|
|
5080
5084
|
}
|
|
5081
5085
|
}
|
|
5082
|
-
}),
|
|
5086
|
+
}), N = (o) => ({
|
|
5083
5087
|
M4LPager: {
|
|
5084
5088
|
styleOverrides: {
|
|
5085
5089
|
"&.M4LPager-root": {
|
|
@@ -5186,7 +5190,7 @@ const p = (o) => ({
|
|
|
5186
5190
|
}
|
|
5187
5191
|
}
|
|
5188
5192
|
}
|
|
5189
|
-
}),
|
|
5193
|
+
}), E = (o) => ({
|
|
5190
5194
|
M4LCheckBox: {
|
|
5191
5195
|
styleOverrides: {
|
|
5192
5196
|
"&.M4LCheckBox-root": {
|
|
@@ -5260,7 +5264,7 @@ const p = (o) => ({
|
|
|
5260
5264
|
}
|
|
5261
5265
|
}
|
|
5262
5266
|
}
|
|
5263
|
-
}),
|
|
5267
|
+
}), $ = (o) => ({
|
|
5264
5268
|
M4LStack: {
|
|
5265
5269
|
styleOverrides: {
|
|
5266
5270
|
"&.M4LStack-root": {
|
|
@@ -5273,7 +5277,7 @@ const p = (o) => ({
|
|
|
5273
5277
|
}
|
|
5274
5278
|
}
|
|
5275
5279
|
}
|
|
5276
|
-
}),
|
|
5280
|
+
}), U = (o) => ({
|
|
5277
5281
|
M4LTabs: {
|
|
5278
5282
|
styleOverrides: {
|
|
5279
5283
|
"&.M4LTabs-root": {
|
|
@@ -5313,7 +5317,7 @@ const p = (o) => ({
|
|
|
5313
5317
|
}
|
|
5314
5318
|
}
|
|
5315
5319
|
}
|
|
5316
|
-
}),
|
|
5320
|
+
}), _ = (o) => ({
|
|
5317
5321
|
M4LNoItemSelected: {
|
|
5318
5322
|
styleOverrides: {
|
|
5319
5323
|
"&.M4LNoItemSelected-root": {
|
|
@@ -5333,7 +5337,7 @@ const p = (o) => ({
|
|
|
5333
5337
|
}
|
|
5334
5338
|
}
|
|
5335
5339
|
}
|
|
5336
|
-
}),
|
|
5340
|
+
}), q = (o) => ({
|
|
5337
5341
|
M4LScrollBar: {
|
|
5338
5342
|
styleOverrides: {
|
|
5339
5343
|
"&.M4LScrollBar-root": {
|
|
@@ -5368,7 +5372,7 @@ const p = (o) => ({
|
|
|
5368
5372
|
}
|
|
5369
5373
|
}
|
|
5370
5374
|
}
|
|
5371
|
-
}),
|
|
5375
|
+
}), J = (o) => ({
|
|
5372
5376
|
M4LGridLayout: {
|
|
5373
5377
|
styleOverrides: {
|
|
5374
5378
|
"&.M4LGridLayout-root": {
|
|
@@ -5376,7 +5380,7 @@ const p = (o) => ({
|
|
|
5376
5380
|
}
|
|
5377
5381
|
}
|
|
5378
5382
|
}
|
|
5379
|
-
}),
|
|
5383
|
+
}), K = (o) => ({
|
|
5380
5384
|
M4LTabContent: {
|
|
5381
5385
|
styleOverrides: {
|
|
5382
5386
|
"&.M4LTabContent-root": {
|
|
@@ -5407,7 +5411,7 @@ const p = (o) => ({
|
|
|
5407
5411
|
}
|
|
5408
5412
|
}
|
|
5409
5413
|
}
|
|
5410
|
-
}),
|
|
5414
|
+
}), Q = (o) => ({
|
|
5411
5415
|
M4LMenuActions: {
|
|
5412
5416
|
styleOverrides: {
|
|
5413
5417
|
"&.M4LMenuActions-root": {
|
|
@@ -5441,7 +5445,7 @@ const p = (o) => ({
|
|
|
5441
5445
|
}
|
|
5442
5446
|
}
|
|
5443
5447
|
}
|
|
5444
|
-
}),
|
|
5448
|
+
}), X = (o) => ({
|
|
5445
5449
|
M4LPrintingSystem: {
|
|
5446
5450
|
styleOverrides: {
|
|
5447
5451
|
"&.M4LPrintingSystem-root": {
|
|
@@ -5623,7 +5627,7 @@ const p = (o) => ({
|
|
|
5623
5627
|
}
|
|
5624
5628
|
}
|
|
5625
5629
|
}
|
|
5626
|
-
}),
|
|
5630
|
+
}), Y = (o) => ({
|
|
5627
5631
|
M4LFormatter: {
|
|
5628
5632
|
styleOverrides: {
|
|
5629
5633
|
"&.M4LFormatter-root": {
|
|
@@ -5640,7 +5644,7 @@ const p = (o) => ({
|
|
|
5640
5644
|
}
|
|
5641
5645
|
}
|
|
5642
5646
|
}
|
|
5643
|
-
}),
|
|
5647
|
+
}), Z = (o) => ({
|
|
5644
5648
|
M4LoadingError: {
|
|
5645
5649
|
styleOverrides: {
|
|
5646
5650
|
"&.M4LoadingError-root": {
|
|
@@ -5699,7 +5703,7 @@ const p = (o) => ({
|
|
|
5699
5703
|
}
|
|
5700
5704
|
}
|
|
5701
5705
|
}
|
|
5702
|
-
}),
|
|
5706
|
+
}), oo = (o) => ({
|
|
5703
5707
|
M4LMFLoader: {
|
|
5704
5708
|
styleOverrides: {
|
|
5705
5709
|
"&.M4LMFLoader-root": {
|
|
@@ -5718,7 +5722,7 @@ const p = (o) => ({
|
|
|
5718
5722
|
}
|
|
5719
5723
|
}
|
|
5720
5724
|
}
|
|
5721
|
-
}),
|
|
5725
|
+
}), to = (o) => ({
|
|
5722
5726
|
M4LLoadingButton: {
|
|
5723
5727
|
styleOverrides: {
|
|
5724
5728
|
"&.M4LLoadingButton-root": {
|
|
@@ -5950,7 +5954,7 @@ const p = (o) => ({
|
|
|
5950
5954
|
}
|
|
5951
5955
|
}
|
|
5952
5956
|
}
|
|
5953
|
-
}),
|
|
5957
|
+
}), ro = (o) => ({
|
|
5954
5958
|
M4LPDFViewer: {
|
|
5955
5959
|
styleOverrides: {
|
|
5956
5960
|
"&.M4LPDFViewer-root": {
|
|
@@ -5965,7 +5969,7 @@ const p = (o) => ({
|
|
|
5965
5969
|
}
|
|
5966
5970
|
}
|
|
5967
5971
|
}
|
|
5968
|
-
}),
|
|
5972
|
+
}), eo = (o) => ({
|
|
5969
5973
|
M4LTopBar: {
|
|
5970
5974
|
styleOverrides: {
|
|
5971
5975
|
"&.M4LTopBar-root": {
|
|
@@ -6028,7 +6032,7 @@ const p = (o) => ({
|
|
|
6028
6032
|
}
|
|
6029
6033
|
}
|
|
6030
6034
|
}
|
|
6031
|
-
}),
|
|
6035
|
+
}), ao = (o) => ({
|
|
6032
6036
|
M4LAppBarCommercial: {
|
|
6033
6037
|
styleOverrides: {
|
|
6034
6038
|
"&.M4LAppBarCommercial-root": {
|
|
@@ -6049,7 +6053,7 @@ const p = (o) => ({
|
|
|
6049
6053
|
}
|
|
6050
6054
|
}
|
|
6051
6055
|
}
|
|
6052
|
-
}),
|
|
6056
|
+
}), io = (o) => ({
|
|
6053
6057
|
M4LSectionCommercial: {
|
|
6054
6058
|
styleOverrides: {
|
|
6055
6059
|
"&.M4LSectionCommercial-root": {
|
|
@@ -6068,7 +6072,7 @@ const p = (o) => ({
|
|
|
6068
6072
|
}
|
|
6069
6073
|
}
|
|
6070
6074
|
}
|
|
6071
|
-
}),
|
|
6075
|
+
}), no = (o) => ({
|
|
6072
6076
|
M4LHamburgerMenuCommercial: {
|
|
6073
6077
|
styleOverrides: {
|
|
6074
6078
|
"&.M4LHamburgerMenuCommercial-root": {
|
|
@@ -6078,7 +6082,7 @@ const p = (o) => ({
|
|
|
6078
6082
|
}
|
|
6079
6083
|
}
|
|
6080
6084
|
}
|
|
6081
|
-
}),
|
|
6085
|
+
}), po = (o) => ({
|
|
6082
6086
|
M4LFieldLabel: {
|
|
6083
6087
|
styleOverrides: {
|
|
6084
6088
|
"&.M4LFieldLabel-root": {
|
|
@@ -6101,7 +6105,7 @@ const p = (o) => ({
|
|
|
6101
6105
|
}
|
|
6102
6106
|
}
|
|
6103
6107
|
}
|
|
6104
|
-
}),
|
|
6108
|
+
}), lo = (o) => ({
|
|
6105
6109
|
M4LMap: {
|
|
6106
6110
|
styleOverrides: {
|
|
6107
6111
|
"&.M4LMap-root": {
|
|
@@ -6350,7 +6354,7 @@ const p = (o) => ({
|
|
|
6350
6354
|
}
|
|
6351
6355
|
}
|
|
6352
6356
|
}
|
|
6353
|
-
}),
|
|
6357
|
+
}), so = (o) => ({
|
|
6354
6358
|
M4LMapGpsTools: {
|
|
6355
6359
|
styleOverrides: {
|
|
6356
6360
|
"&.M4LMapGpsTools-gpsToolsRoot": {
|
|
@@ -6407,57 +6411,57 @@ const p = (o) => ({
|
|
|
6407
6411
|
}
|
|
6408
6412
|
});
|
|
6409
6413
|
export {
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
G,
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6414
|
+
H as A,
|
|
6415
|
+
O as B,
|
|
6416
|
+
z as C,
|
|
6417
|
+
V as D,
|
|
6418
|
+
G as E,
|
|
6419
|
+
N as F,
|
|
6420
|
+
E as G,
|
|
6421
|
+
$ as H,
|
|
6422
|
+
U as I,
|
|
6423
|
+
_ as J,
|
|
6424
|
+
q as K,
|
|
6425
|
+
J as L,
|
|
6426
|
+
to as M,
|
|
6427
|
+
K as N,
|
|
6428
|
+
Q as O,
|
|
6429
|
+
X as P,
|
|
6430
|
+
Y as Q,
|
|
6431
|
+
Z as R,
|
|
6432
|
+
oo as S,
|
|
6433
|
+
ro as T,
|
|
6434
|
+
eo as U,
|
|
6435
|
+
ao as V,
|
|
6436
|
+
io as W,
|
|
6437
|
+
no as X,
|
|
6438
|
+
po as Y,
|
|
6439
|
+
so as Z,
|
|
6440
|
+
lo as _,
|
|
6441
|
+
W as a,
|
|
6442
|
+
c as b,
|
|
6443
|
+
g as c,
|
|
6444
|
+
x as d,
|
|
6445
|
+
u as e,
|
|
6446
|
+
y as f,
|
|
6447
|
+
b as g,
|
|
6448
|
+
F as h,
|
|
6449
|
+
M as i,
|
|
6450
|
+
j,
|
|
6451
|
+
L as k,
|
|
6452
|
+
v as l,
|
|
6453
|
+
h as m,
|
|
6454
|
+
f as n,
|
|
6455
|
+
C as o,
|
|
6456
|
+
w as p,
|
|
6457
|
+
m as q,
|
|
6458
|
+
k as r,
|
|
6459
|
+
S as s,
|
|
6460
|
+
B as t,
|
|
6461
|
+
I as u,
|
|
6462
|
+
T as v,
|
|
6463
|
+
R as w,
|
|
6464
|
+
A as x,
|
|
6465
|
+
P as y,
|
|
6466
|
+
D as z
|
|
6463
6467
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme, CssVarsTheme } from '@mui/material/styles';
|
|
2
|
-
export declare const M4LRHFAutocomplete: (theme: Omit<Theme,
|
|
2
|
+
export declare const M4LRHFAutocomplete: (theme: Omit<Theme, 'palette' | 'applyStyles'> & CssVarsTheme) => {
|
|
3
3
|
M4LRHFAutocomplete: {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
'&.M4LRHFAutocomplete-root': {
|
|
@@ -47,6 +47,14 @@ export declare const M4LRHFAutocomplete: (theme: Omit<Theme, "palette" | "applyS
|
|
|
47
47
|
height: string;
|
|
48
48
|
padding: string;
|
|
49
49
|
};
|
|
50
|
+
'& .M4LRHFAutocomplete-containerRefreshDown': {
|
|
51
|
+
display: string;
|
|
52
|
+
width: string;
|
|
53
|
+
'& .M4LRHFAutocomplete-iconLeft': {
|
|
54
|
+
borderLeft: string;
|
|
55
|
+
borderColor: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
50
58
|
'& .M4LRHFAutocomplete-iconDown': {};
|
|
51
59
|
'& .MuiOutlinedInput-notchedOutline': {
|
|
52
60
|
inset: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { alpha as o } from "@mui/system";
|
|
2
2
|
import { alpha as e } from "@mui/material/styles";
|
|
3
|
-
const
|
|
3
|
+
const a = (t) => ({
|
|
4
4
|
M4LRHFTextFieldPassword: {
|
|
5
5
|
styleOverrides: {
|
|
6
6
|
"&.M4LRHFTextFieldPassword-root": {
|
|
@@ -286,6 +286,14 @@ const r = (t) => ({
|
|
|
286
286
|
padding: "0 16px 0 8px",
|
|
287
287
|
...t.colorSchemes.finalTheme.typography.body
|
|
288
288
|
},
|
|
289
|
+
"& .M4LRHFAutocomplete-containerRefreshDown": {
|
|
290
|
+
display: "flex",
|
|
291
|
+
width: "auto",
|
|
292
|
+
"& .M4LRHFAutocomplete-iconLeft": {
|
|
293
|
+
borderLeft: "1px solid",
|
|
294
|
+
borderColor: t.vars.palette.state.borderPrimary
|
|
295
|
+
}
|
|
296
|
+
},
|
|
289
297
|
"& .M4LRHFAutocomplete-iconDown": {},
|
|
290
298
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
291
299
|
inset: "0",
|
|
@@ -339,7 +347,10 @@ const r = (t) => ({
|
|
|
339
347
|
},
|
|
340
348
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
341
349
|
borderColor: t.vars.palette.state?.hover,
|
|
342
|
-
boxShadow: `0px 1px 8px ${e(
|
|
350
|
+
boxShadow: `0px 1px 8px ${e(
|
|
351
|
+
t.colorSchemes.finalTheme.palette.primary.main,
|
|
352
|
+
0.32
|
|
353
|
+
)}`
|
|
343
354
|
},
|
|
344
355
|
"& .MuiInputBase-input": {
|
|
345
356
|
color: t.vars.palette.text.primary
|
|
@@ -357,7 +368,10 @@ const r = (t) => ({
|
|
|
357
368
|
background: t.vars.palette.state.active12,
|
|
358
369
|
border: "2px solid",
|
|
359
370
|
borderColor: t.vars.palette.state?.active,
|
|
360
|
-
boxShadow: `0px 1px 8px ${e(
|
|
371
|
+
boxShadow: `0px 1px 8px ${e(
|
|
372
|
+
t.colorSchemes.finalTheme.palette.primary.main,
|
|
373
|
+
0.32
|
|
374
|
+
)}`
|
|
361
375
|
},
|
|
362
376
|
"& .MuiInputBase-input": {
|
|
363
377
|
color: t.vars.palette.text.primary
|
|
@@ -1052,7 +1066,7 @@ const r = (t) => ({
|
|
|
1052
1066
|
});
|
|
1053
1067
|
export {
|
|
1054
1068
|
l as M,
|
|
1055
|
-
|
|
1069
|
+
a,
|
|
1056
1070
|
p as b,
|
|
1057
1071
|
s as c,
|
|
1058
1072
|
d,
|
|
@@ -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 A, f as T, 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
|
-
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.
|
|
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 Aa, x as Ta, 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 } from "./M4LExtendedComponents/index.
|
|
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.a4e93e8e.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 Aa, x as Ta, 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 } from "./M4LExtendedComponents/index.79301515.js";
|
|
4
4
|
function ta(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,137 +1,137 @@
|
|
|
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
|
-
}
|
|
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
|
+
}
|
|
@@ -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
|
-
|