@m4l/styles 0.0.47 → 0.0.48
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 +37 -37
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.656b9eff.js → defaultThemeOptions.348dc196.js} +8 -11
- package/theme/index.34d0fdea.js +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +8 -3
- package/theme/overrides/M4LExtendedComponents/{index.53575c95.js → index.fbdb0818.js} +112 -112
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +37 -0
- package/theme/overrides/M4LRHFComponents/{index.02fada22.js → index.f37c2406.js} +43 -6
- package/theme/overrides/{index.8e0b0233.js → index.155beeb3.js} +2 -2
- package/theme/{typography.ed54f014.js → typography.8878fde5.js} +24 -32
- package/types/augmentations.d.ts +121 -121
- package/types/types.d.ts +24 -24
- package/utils/{getColorState.7b9634af.js → getColorState.6c23eada.js} +2 -7
- package/vite-env.d.ts +3 -3
- package/theme/index.bc975e94.js +0 -7
|
@@ -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 r = (t) => ({
|
|
4
4
|
M4LRHFTextFieldPassword: {
|
|
5
5
|
styleOverrides: {
|
|
6
6
|
"&.M4LRHFTextFieldPassword-root": {
|
|
@@ -8,7 +8,7 @@ const a = (t) => ({
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
}),
|
|
11
|
+
}), l = (t) => ({
|
|
12
12
|
M4LRHFTextField: {
|
|
13
13
|
styleOverrides: {
|
|
14
14
|
"&.M4LRHFTextField-root": {
|
|
@@ -165,7 +165,7 @@ const a = (t) => ({
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
}),
|
|
168
|
+
}), n = (t) => ({
|
|
169
169
|
M4LRHFCheckbox: {
|
|
170
170
|
styleOverrides: {
|
|
171
171
|
"&.M4LRHFCheckbox-root": {
|
|
@@ -413,6 +413,19 @@ const a = (t) => ({
|
|
|
413
413
|
objectPosition: "left"
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
+
},
|
|
417
|
+
"&.M4LRHFAutocomplete-multiple": {
|
|
418
|
+
"& .MuiAutocomplete-root": {
|
|
419
|
+
height: "auto"
|
|
420
|
+
},
|
|
421
|
+
"& .MuiAutocomplete-inputRoot": {
|
|
422
|
+
display: "flex",
|
|
423
|
+
flexWrap: "wrap",
|
|
424
|
+
gap: "6px"
|
|
425
|
+
},
|
|
426
|
+
"& .MuiInputBase-root": {
|
|
427
|
+
padding: "2px !important"
|
|
428
|
+
}
|
|
416
429
|
}
|
|
417
430
|
}
|
|
418
431
|
}
|
|
@@ -506,6 +519,30 @@ const a = (t) => ({
|
|
|
506
519
|
}
|
|
507
520
|
}
|
|
508
521
|
}
|
|
522
|
+
},
|
|
523
|
+
M4LRHFAutocompleteChip: {
|
|
524
|
+
styleOverrides: {
|
|
525
|
+
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
526
|
+
height: "18px",
|
|
527
|
+
minHeight: "18px !important",
|
|
528
|
+
"& .MuiChip-deleteIcon": {
|
|
529
|
+
fontSize: "16px"
|
|
530
|
+
},
|
|
531
|
+
"& .MuiChip-label": {
|
|
532
|
+
paddingRight: 0
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
536
|
+
height: "24px",
|
|
537
|
+
minHeight: "24px !important",
|
|
538
|
+
"& .MuiChip-deleteIcon": {
|
|
539
|
+
fontSize: "20px"
|
|
540
|
+
},
|
|
541
|
+
"& .MuiChip-label": {
|
|
542
|
+
paddingRight: 0
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
509
546
|
}
|
|
510
547
|
}), d = (t) => ({
|
|
511
548
|
M4LRHFAutocompleteAsync: {
|
|
@@ -1004,13 +1041,13 @@ const a = (t) => ({
|
|
|
1004
1041
|
}
|
|
1005
1042
|
});
|
|
1006
1043
|
export {
|
|
1007
|
-
|
|
1008
|
-
a,
|
|
1044
|
+
l as M,
|
|
1045
|
+
r as a,
|
|
1009
1046
|
p as b,
|
|
1010
1047
|
d as c,
|
|
1011
1048
|
u as d,
|
|
1012
1049
|
s as e,
|
|
1013
1050
|
M as f,
|
|
1014
|
-
|
|
1051
|
+
n as g,
|
|
1015
1052
|
c as h
|
|
1016
1053
|
};
|
|
@@ -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 c, T as l, 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 y, j as S, 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.d2b98b86.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, i as _, j as $, k as t, l as m, m as e, n as h, o as aa, p as sa, q as oa, r as ra, s as La, t as Ma, u as na, v as ia, w as pa, x as ca, y as la, z as da, A as ua, B as ga, C as Ba, D as Fa, E as Pa, F as Aa, G as Ta, H as ba, I as Ca, J as ya, K as Sa, L as Ia, N as Ra, O as va, P as Ha, Q as ka, R as Da, S as fa, T as xa, U as wa, V as Ga, W as Va, X as ja, Y as Ea, Z as Na, _ as Oa } from "./M4LExtendedComponents/index.
|
|
3
|
-
import { M as qa, a as za, b as Ua, c as Ja, d as Ka, e as Qa, f as Wa, g as Xa, h as Ya } from "./M4LRHFComponents/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, i as _, j as $, k as t, l as m, m as e, n as h, o as aa, p as sa, q as oa, r as ra, s as La, t as Ma, u as na, v as ia, w as pa, x as ca, y as la, z as da, A as ua, B as ga, C as Ba, D as Fa, E as Pa, F as Aa, G as Ta, H as ba, I as Ca, J as ya, K as Sa, L as Ia, N as Ra, O as va, P as Ha, Q as ka, R as Da, S as fa, T as xa, U as wa, V as Ga, W as Va, X as ja, Y as Ea, Z as Na, _ as Oa } from "./M4LExtendedComponents/index.fbdb0818.js";
|
|
3
|
+
import { M as qa, a as za, b as Ua, c as Ja, d as Ka, e as Qa, f as Wa, g as Xa, h as Ya } from "./M4LRHFComponents/index.f37c2406.js";
|
|
4
4
|
function ta(a) {
|
|
5
5
|
return Object.assign(
|
|
6
6
|
s(a),
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
3
|
-
import "../utils/getColorPresets.2a91ffaf.js";
|
|
4
|
-
import "@mui/system";
|
|
5
|
-
import "./defaultThemeOptions.656b9eff.js";
|
|
6
|
-
import "./shadows.86540b18.js";
|
|
7
|
-
import "./palette.0590e8a6.js";
|
|
8
|
-
import "@mui/material";
|
|
9
|
-
import { r as t, p as e } from "../utils/getFontValue.88831637.js";
|
|
10
|
-
const i = "Segoe UI, Poppins, sans-serif", r = {
|
|
1
|
+
import { r as e, p as t } from "../utils/getFontValue.88831637.js";
|
|
2
|
+
const i = "Segoe UI, Poppins, sans-serif", g = {
|
|
11
3
|
fontFamily: i,
|
|
12
4
|
fontWeightRegular: 400,
|
|
13
5
|
fontWeightMedium: 600,
|
|
@@ -15,116 +7,116 @@ const i = "Segoe UI, Poppins, sans-serif", r = {
|
|
|
15
7
|
h1: {
|
|
16
8
|
fontWeight: 600,
|
|
17
9
|
lineHeight: 1.5,
|
|
18
|
-
...
|
|
10
|
+
...e({ sm: 38, md: 40, lg: 40 })
|
|
19
11
|
},
|
|
20
12
|
h2: {
|
|
21
13
|
fontWeight: 600,
|
|
22
14
|
lineHeight: 1,
|
|
23
|
-
...
|
|
15
|
+
...e({ sm: 40, md: 44, lg: 48 })
|
|
24
16
|
},
|
|
25
17
|
h3: {
|
|
26
18
|
fontWeight: 600,
|
|
27
19
|
lineHeight: 1.5,
|
|
28
|
-
...
|
|
20
|
+
...e({ sm: 30, md: 32, lg: 32 })
|
|
29
21
|
},
|
|
30
22
|
h4: {
|
|
31
23
|
fontWeight: 600,
|
|
32
24
|
lineHeight: 1.5,
|
|
33
|
-
...
|
|
25
|
+
...e({ sm: 20, md: 24, lg: 24 })
|
|
34
26
|
},
|
|
35
27
|
h5: {
|
|
36
28
|
fontWeight: 500,
|
|
37
29
|
lineHeight: "28px",
|
|
38
30
|
letterSpacing: "-0.01em",
|
|
39
|
-
...
|
|
31
|
+
...e({ sm: 22, md: 24, lg: 24 })
|
|
40
32
|
},
|
|
41
33
|
h6: {
|
|
42
34
|
fontWeight: 500,
|
|
43
35
|
lineHeight: "24px",
|
|
44
36
|
letterSpacing: "-0.08em",
|
|
45
|
-
...
|
|
37
|
+
...e({ sm: 18, md: 18, lg: 18 })
|
|
46
38
|
},
|
|
47
39
|
subtitle: {
|
|
48
40
|
fontWeight: 400,
|
|
49
41
|
lineHeight: "20px",
|
|
50
42
|
letterSpacing: "-0.006em",
|
|
51
|
-
...
|
|
43
|
+
...e({ sm: 18, md: 15, lg: 15 })
|
|
52
44
|
},
|
|
53
45
|
subtitleDens: {
|
|
54
46
|
fontWeight: 600,
|
|
55
47
|
lineHeight: "24px",
|
|
56
48
|
letterSpacing: "-0.006em",
|
|
57
|
-
...
|
|
49
|
+
...e({ sm: 18, md: 15, lg: 15 })
|
|
58
50
|
},
|
|
59
51
|
paragraph: {
|
|
60
52
|
fontWeight: 400,
|
|
61
53
|
lineHeight: "16px",
|
|
62
54
|
letterSpacing: "-0.003em",
|
|
63
|
-
...
|
|
55
|
+
...e({ sm: 16, md: 13, lg: 13 })
|
|
64
56
|
},
|
|
65
57
|
paragraphDens: {
|
|
66
58
|
fontWeight: 600,
|
|
67
59
|
lineHeight: "20px",
|
|
68
60
|
letterSpacing: "-0.003em",
|
|
69
|
-
...
|
|
61
|
+
...e({ sm: 16, md: 13, lg: 13 })
|
|
70
62
|
},
|
|
71
63
|
subtitle1: {
|
|
72
64
|
fontWeight: 600,
|
|
73
65
|
lineHeight: 1.5,
|
|
74
|
-
fontSize:
|
|
66
|
+
fontSize: t(14)
|
|
75
67
|
},
|
|
76
68
|
subtitle2: {
|
|
77
69
|
fontWeight: 600,
|
|
78
70
|
lineHeight: 1.5,
|
|
79
|
-
fontSize:
|
|
71
|
+
fontSize: t(12)
|
|
80
72
|
},
|
|
81
73
|
body: {
|
|
82
74
|
fontWeight: 400,
|
|
83
75
|
lineHeight: "16px",
|
|
84
|
-
...
|
|
76
|
+
...e({ sm: 11, md: 11, lg: 11 })
|
|
85
77
|
},
|
|
86
78
|
bodyDens: {
|
|
87
79
|
fontWeight: 600,
|
|
88
80
|
lineHeight: "16px",
|
|
89
|
-
...
|
|
81
|
+
...e({ sm: 14, md: 11, lg: 11 })
|
|
90
82
|
},
|
|
91
83
|
body0: {
|
|
92
84
|
lineHeight: 1.5,
|
|
93
85
|
fontWeight: 400,
|
|
94
|
-
fontSize:
|
|
86
|
+
fontSize: t(16)
|
|
95
87
|
},
|
|
96
88
|
body1: {
|
|
97
89
|
lineHeight: 1.5,
|
|
98
90
|
fontWeight: 400,
|
|
99
|
-
fontSize:
|
|
91
|
+
fontSize: t(14)
|
|
100
92
|
},
|
|
101
93
|
body2: {
|
|
102
94
|
lineHeight: 1.5,
|
|
103
95
|
fontWeight: 400,
|
|
104
|
-
fontSize:
|
|
96
|
+
fontSize: t(12)
|
|
105
97
|
},
|
|
106
98
|
caption: {
|
|
107
99
|
lineHeight: 1.5,
|
|
108
|
-
fontSize:
|
|
100
|
+
fontSize: t(11)
|
|
109
101
|
},
|
|
110
102
|
overline: {
|
|
111
103
|
fontWeight: 700,
|
|
112
104
|
lineHeight: 1.5,
|
|
113
|
-
fontSize:
|
|
105
|
+
fontSize: t(12),
|
|
114
106
|
textTransform: "uppercase"
|
|
115
107
|
},
|
|
116
108
|
button: {
|
|
117
109
|
fontWeight: 700,
|
|
118
110
|
lineHeight: 24 / 14,
|
|
119
|
-
fontSize:
|
|
111
|
+
fontSize: t(14),
|
|
120
112
|
textTransform: "capitalize"
|
|
121
113
|
},
|
|
122
114
|
action: {
|
|
123
115
|
fontWeight: 600,
|
|
124
116
|
lineHeight: "16px",
|
|
125
|
-
...
|
|
117
|
+
...e({ sm: 14, md: 12, lg: 12 })
|
|
126
118
|
}
|
|
127
119
|
};
|
|
128
120
|
export {
|
|
129
|
-
|
|
121
|
+
g as t
|
|
130
122
|
};
|
package/types/augmentations.d.ts
CHANGED
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
import { PatronusConstantColors, PatronusOpacityColors, PatronusOpacityOptions } from '../theme/palette';
|
|
2
|
-
import { ColorStateOptions, CustomShadowOptions } from '../theme';
|
|
3
|
-
import { ChartPaletteOptions, GradientsPaletteOptions, GridPaletteOptions } from './types';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
declare module '@mui/material' {
|
|
7
|
-
interface Color {
|
|
8
|
-
0: string;
|
|
9
|
-
500_8: string;
|
|
10
|
-
500_12: string;
|
|
11
|
-
500_16: string;
|
|
12
|
-
500_24: string;
|
|
13
|
-
500_32: string;
|
|
14
|
-
500_48: string;
|
|
15
|
-
500_56: string;
|
|
16
|
-
500_80: string;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
declare module '@mui/material/styles/createPalette' {
|
|
21
|
-
|
|
22
|
-
interface SimplePaletteColorOptions {
|
|
23
|
-
lighter?: string;
|
|
24
|
-
darker?: string;
|
|
25
|
-
LightSelected?: string;
|
|
26
|
-
LightSelectedHover?: string;
|
|
27
|
-
DarkSelected?: string;
|
|
28
|
-
DarkSelectedHover?: string;
|
|
29
|
-
}
|
|
30
|
-
interface PaletteColor {
|
|
31
|
-
lighter?: string;
|
|
32
|
-
darker?: string;
|
|
33
|
-
LightSelected?: string;
|
|
34
|
-
LightSelectedHover?: string;
|
|
35
|
-
DarkSelected?: string;
|
|
36
|
-
DarkSelectedHover?: string;
|
|
37
|
-
opacity?: string;
|
|
38
|
-
}
|
|
39
|
-
interface Palette {
|
|
40
|
-
gradients?: GradientsPaletteOptions;
|
|
41
|
-
chart: ChartPaletteOptions;
|
|
42
|
-
grid?: GridPaletteOptions;
|
|
43
|
-
patronus?: PatronusConstantColors;
|
|
44
|
-
opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
|
|
45
|
-
state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
|
|
46
|
-
representative: string;
|
|
47
|
-
/* info: AgumentationInfoOptions; */
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
interface TypeText {
|
|
51
|
-
bgPrimary: string,
|
|
52
|
-
}
|
|
53
|
-
interface PaletteOptions {
|
|
54
|
-
gradients?: GradientsPaletteOptions;
|
|
55
|
-
chart?: ChartPaletteOptions;
|
|
56
|
-
grid?: GridPaletteOptions;
|
|
57
|
-
patronus?: PatronusConstantColors;
|
|
58
|
-
opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
|
|
59
|
-
state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
|
|
60
|
-
representative: string;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// declare module '@mui/core/Typography' {
|
|
65
|
-
// interface TypographyProps {
|
|
66
|
-
// variant?: 'subtitle';
|
|
67
|
-
// }
|
|
68
|
-
// }
|
|
69
|
-
|
|
70
|
-
declare module '@mui/material/styles' {
|
|
71
|
-
interface Theme {
|
|
72
|
-
stretch?: boolean;
|
|
73
|
-
customShadows: CustomShadowOptions;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
interface ThemeOptions {
|
|
77
|
-
stretch?: boolean;
|
|
78
|
-
customShadows?: CustomShadowOptions;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
interface TypographyVariants {
|
|
82
|
-
subtitle: Record<string, any>;
|
|
83
|
-
subtitleDens: Record<string, any>;
|
|
84
|
-
paragraph: Record<string, any>;
|
|
85
|
-
paragraphDens: Record<string, any>;
|
|
86
|
-
body: Record<string, any>;
|
|
87
|
-
bodyDens: Record<string, any>;
|
|
88
|
-
action: Record<string, any>;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
// allow configuration using `createTheme`
|
|
92
|
-
interface TypographyVariantsOptions {
|
|
93
|
-
subtitle: React.CSSProperties;
|
|
94
|
-
subtitleDens: React.CSSProperties;
|
|
95
|
-
paragraph: React.CSSProperties;
|
|
96
|
-
paragraphDens: React.CSSProperties;
|
|
97
|
-
body: React.CSSProperties;
|
|
98
|
-
bodyDens: React.CSSProperties;
|
|
99
|
-
action: React.CSSProperties;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
interface TypeBackground {
|
|
103
|
-
neutral: string;
|
|
104
|
-
autofill: string;
|
|
105
|
-
header: string;
|
|
106
|
-
background: string;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
declare module '@mui/material/Typography' {
|
|
112
|
-
interface TypographyPropsVariantOverrides {
|
|
113
|
-
subtitle: true;
|
|
114
|
-
subtitleDens: true;
|
|
115
|
-
paragraph: true;
|
|
116
|
-
paragraphDens: true;
|
|
117
|
-
body: true;
|
|
118
|
-
bodyDens: true;
|
|
119
|
-
action: true;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
1
|
+
import { PatronusConstantColors, PatronusOpacityColors, PatronusOpacityOptions } from '../theme/palette';
|
|
2
|
+
import { ColorStateOptions, CustomShadowOptions } from '../theme';
|
|
3
|
+
import { ChartPaletteOptions, GradientsPaletteOptions, GridPaletteOptions } from './types';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
declare module '@mui/material' {
|
|
7
|
+
interface Color {
|
|
8
|
+
0: string;
|
|
9
|
+
500_8: string;
|
|
10
|
+
500_12: string;
|
|
11
|
+
500_16: string;
|
|
12
|
+
500_24: string;
|
|
13
|
+
500_32: string;
|
|
14
|
+
500_48: string;
|
|
15
|
+
500_56: string;
|
|
16
|
+
500_80: string;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare module '@mui/material/styles/createPalette' {
|
|
21
|
+
|
|
22
|
+
interface SimplePaletteColorOptions {
|
|
23
|
+
lighter?: string;
|
|
24
|
+
darker?: string;
|
|
25
|
+
LightSelected?: string;
|
|
26
|
+
LightSelectedHover?: string;
|
|
27
|
+
DarkSelected?: string;
|
|
28
|
+
DarkSelectedHover?: string;
|
|
29
|
+
}
|
|
30
|
+
interface PaletteColor {
|
|
31
|
+
lighter?: string;
|
|
32
|
+
darker?: string;
|
|
33
|
+
LightSelected?: string;
|
|
34
|
+
LightSelectedHover?: string;
|
|
35
|
+
DarkSelected?: string;
|
|
36
|
+
DarkSelectedHover?: string;
|
|
37
|
+
opacity?: string;
|
|
38
|
+
}
|
|
39
|
+
interface Palette {
|
|
40
|
+
gradients?: GradientsPaletteOptions;
|
|
41
|
+
chart: ChartPaletteOptions;
|
|
42
|
+
grid?: GridPaletteOptions;
|
|
43
|
+
patronus?: PatronusConstantColors;
|
|
44
|
+
opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
|
|
45
|
+
state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
|
|
46
|
+
representative: string;
|
|
47
|
+
/* info: AgumentationInfoOptions; */
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
interface TypeText {
|
|
51
|
+
bgPrimary: string,
|
|
52
|
+
}
|
|
53
|
+
interface PaletteOptions {
|
|
54
|
+
gradients?: GradientsPaletteOptions;
|
|
55
|
+
chart?: ChartPaletteOptions;
|
|
56
|
+
grid?: GridPaletteOptions;
|
|
57
|
+
patronus?: PatronusConstantColors;
|
|
58
|
+
opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
|
|
59
|
+
state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
|
|
60
|
+
representative: string;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// declare module '@mui/core/Typography' {
|
|
65
|
+
// interface TypographyProps {
|
|
66
|
+
// variant?: 'subtitle';
|
|
67
|
+
// }
|
|
68
|
+
// }
|
|
69
|
+
|
|
70
|
+
declare module '@mui/material/styles' {
|
|
71
|
+
interface Theme {
|
|
72
|
+
stretch?: boolean;
|
|
73
|
+
customShadows: CustomShadowOptions;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
interface ThemeOptions {
|
|
77
|
+
stretch?: boolean;
|
|
78
|
+
customShadows?: CustomShadowOptions;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
interface TypographyVariants {
|
|
82
|
+
subtitle: Record<string, any>;
|
|
83
|
+
subtitleDens: Record<string, any>;
|
|
84
|
+
paragraph: Record<string, any>;
|
|
85
|
+
paragraphDens: Record<string, any>;
|
|
86
|
+
body: Record<string, any>;
|
|
87
|
+
bodyDens: Record<string, any>;
|
|
88
|
+
action: Record<string, any>;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// allow configuration using `createTheme`
|
|
92
|
+
interface TypographyVariantsOptions {
|
|
93
|
+
subtitle: React.CSSProperties;
|
|
94
|
+
subtitleDens: React.CSSProperties;
|
|
95
|
+
paragraph: React.CSSProperties;
|
|
96
|
+
paragraphDens: React.CSSProperties;
|
|
97
|
+
body: React.CSSProperties;
|
|
98
|
+
bodyDens: React.CSSProperties;
|
|
99
|
+
action: React.CSSProperties;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
interface TypeBackground {
|
|
103
|
+
neutral: string;
|
|
104
|
+
autofill: string;
|
|
105
|
+
header: string;
|
|
106
|
+
background: string;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
declare module '@mui/material/Typography' {
|
|
112
|
+
interface TypographyPropsVariantOverrides {
|
|
113
|
+
subtitle: true;
|
|
114
|
+
subtitleDens: true;
|
|
115
|
+
paragraph: true;
|
|
116
|
+
paragraphDens: true;
|
|
117
|
+
body: true;
|
|
118
|
+
bodyDens: true;
|
|
119
|
+
action: true;
|
|
120
|
+
}
|
|
121
|
+
}
|
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,11 +1,6 @@
|
|
|
1
1
|
import { alpha as a } from "@mui/system";
|
|
2
|
-
import "../theme/defaultThemeOptions.656b9eff.js";
|
|
3
|
-
import "../theme/shadows.86540b18.js";
|
|
4
2
|
import { P as e, O as r, S as o } from "../theme/palette.0590e8a6.js";
|
|
5
|
-
|
|
6
|
-
import "@mui/material";
|
|
7
|
-
import "@mui/material/styles";
|
|
8
|
-
const c = (i, n) => {
|
|
3
|
+
const u = (i, n) => {
|
|
9
4
|
let t = {};
|
|
10
5
|
switch (i) {
|
|
11
6
|
case "patronus":
|
|
@@ -240,5 +235,5 @@ const c = (i, n) => {
|
|
|
240
235
|
return n === "light" ? { ...t.light } : { ...t.dark };
|
|
241
236
|
};
|
|
242
237
|
export {
|
|
243
|
-
|
|
238
|
+
u as g
|
|
244
239
|
};
|
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.bc975e94.js
DELETED