@m4l/styles 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +46 -46
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.d580f3ec.js → defaultThemeOptions.cc70c82e.js} +5 -8
- package/theme/index.34d0fdea.js +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LMap.d.ts +260 -0
- package/theme/overrides/M4LExtendedComponents/M4LMapGpsTools.d.ts +57 -0
- package/theme/overrides/M4LExtendedComponents/{index.ba1cc72c.js → index.b30ae579.js} +410 -108
- package/theme/overrides/{index.34ab62d3.js → index.3f4073e8.js} +12 -10
- package/theme/overrides/index.d.ts +1 -1
- package/theme/{typography.947dc33f.js → typography.616cfe0c.js} +24 -31
- package/types/augmentations.d.ts +144 -144
- package/types/types.d.ts +24 -24
- package/utils/{getColorState.18b61422.js → getColorState.7cbf2219.js} +4 -9
- package/vite-env.d.ts +3 -3
- package/theme/index.16e25179.js +0 -7
|
@@ -1,7 +1,7 @@
|
|
|
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
|
|
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
|
|
4
|
-
function
|
|
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.b30ae579.js";
|
|
4
|
+
function ma(a) {
|
|
5
5
|
return Object.assign(
|
|
6
6
|
s(a),
|
|
7
7
|
o(a),
|
|
@@ -11,16 +11,16 @@ function $a(a) {
|
|
|
11
11
|
n(),
|
|
12
12
|
i(a),
|
|
13
13
|
p(),
|
|
14
|
-
c(a),
|
|
15
14
|
l(a),
|
|
15
|
+
c(a),
|
|
16
16
|
d(a),
|
|
17
17
|
u(a),
|
|
18
18
|
g(a),
|
|
19
19
|
B(a),
|
|
20
20
|
F(a),
|
|
21
21
|
P(a),
|
|
22
|
-
A(a),
|
|
23
22
|
T(a),
|
|
23
|
+
A(a),
|
|
24
24
|
b(a),
|
|
25
25
|
C(),
|
|
26
26
|
S(),
|
|
@@ -64,16 +64,16 @@ function $a(a) {
|
|
|
64
64
|
na(a),
|
|
65
65
|
ia(a),
|
|
66
66
|
pa(a),
|
|
67
|
-
ca(a),
|
|
68
67
|
la(a),
|
|
68
|
+
ca(a),
|
|
69
69
|
da(a),
|
|
70
70
|
ua(a),
|
|
71
71
|
ga(a),
|
|
72
72
|
Ba(),
|
|
73
73
|
Fa(a),
|
|
74
74
|
Pa(a),
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
Ta(),
|
|
76
|
+
Aa(a),
|
|
77
77
|
ba(a),
|
|
78
78
|
Ca(a),
|
|
79
79
|
Sa(a),
|
|
@@ -101,9 +101,11 @@ function $a(a) {
|
|
|
101
101
|
Ka(a),
|
|
102
102
|
Qa(a),
|
|
103
103
|
Wa(),
|
|
104
|
-
Xa(a)
|
|
104
|
+
Xa(a),
|
|
105
|
+
Ya(),
|
|
106
|
+
Za(a)
|
|
105
107
|
);
|
|
106
108
|
}
|
|
107
109
|
export {
|
|
108
|
-
|
|
110
|
+
ma as f
|
|
109
111
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Theme, CssVarsTheme } from '@mui/material/styles';
|
|
2
|
-
export declare function fnComponentsOverrides(theme: Omit<Theme,
|
|
2
|
+
export declare function fnComponentsOverrides(theme: Omit<Theme, 'palette' | 'applyStyles'> & CssVarsTheme): any;
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import { createTheme as i } from "@mui/material";
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
import "../utils/getColorPresets.a96a4046.js";
|
|
5
|
-
import "@mui/system";
|
|
6
|
-
import "./defaultThemeOptions.d580f3ec.js";
|
|
7
|
-
import "./shadows.e0c009ff.js";
|
|
8
|
-
import "./palette.287635f2.js";
|
|
9
|
-
import { r as t, p as e } from "../utils/getFontValue.88831637.js";
|
|
10
|
-
const n = "Segoe UI, Poppins, sans-serif", g = i(), W = {
|
|
2
|
+
import { r as e, p as t } from "../utils/getFontValue.88831637.js";
|
|
3
|
+
const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
11
4
|
...g.typography,
|
|
12
5
|
fontFamily: n,
|
|
13
6
|
fontWeightRegular: 400,
|
|
@@ -16,116 +9,116 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), W = {
|
|
|
16
9
|
h1: {
|
|
17
10
|
fontWeight: 600,
|
|
18
11
|
lineHeight: 1.5,
|
|
19
|
-
...
|
|
12
|
+
...e({ sm: 38, md: 38, lg: 38 })
|
|
20
13
|
},
|
|
21
14
|
h2: {
|
|
22
15
|
fontWeight: 600,
|
|
23
16
|
lineHeight: 1,
|
|
24
|
-
...
|
|
17
|
+
...e({ sm: 40, md: 40, lg: 40 })
|
|
25
18
|
},
|
|
26
19
|
h3: {
|
|
27
20
|
fontWeight: 600,
|
|
28
21
|
lineHeight: 1.5,
|
|
29
|
-
...
|
|
22
|
+
...e({ sm: 30, md: 30, lg: 30 })
|
|
30
23
|
},
|
|
31
24
|
h4: {
|
|
32
25
|
fontWeight: 600,
|
|
33
26
|
lineHeight: 1.5,
|
|
34
|
-
...
|
|
27
|
+
...e({ sm: 20, md: 20, lg: 20 })
|
|
35
28
|
},
|
|
36
29
|
h5: {
|
|
37
30
|
fontWeight: 500,
|
|
38
31
|
lineHeight: "28px",
|
|
39
32
|
letterSpacing: "-0.01em",
|
|
40
|
-
...
|
|
33
|
+
...e({ sm: 22, md: 22, lg: 22 })
|
|
41
34
|
},
|
|
42
35
|
h6: {
|
|
43
36
|
fontWeight: 500,
|
|
44
37
|
lineHeight: "24px",
|
|
45
38
|
letterSpacing: "-0.08em",
|
|
46
|
-
...
|
|
39
|
+
...e({ sm: 18, md: 18, lg: 18 })
|
|
47
40
|
},
|
|
48
41
|
subtitle: {
|
|
49
42
|
fontWeight: 400,
|
|
50
43
|
lineHeight: "20px",
|
|
51
44
|
letterSpacing: "-0.006em",
|
|
52
|
-
...
|
|
45
|
+
...e({ sm: 15, md: 15, lg: 15 })
|
|
53
46
|
},
|
|
54
47
|
subtitleDens: {
|
|
55
48
|
fontWeight: 600,
|
|
56
49
|
lineHeight: "24px",
|
|
57
50
|
letterSpacing: "-0.006em",
|
|
58
|
-
...
|
|
51
|
+
...e({ sm: 15, md: 15, lg: 15 })
|
|
59
52
|
},
|
|
60
53
|
paragraph: {
|
|
61
54
|
fontWeight: 400,
|
|
62
55
|
lineHeight: "16px",
|
|
63
56
|
letterSpacing: "-0.003em",
|
|
64
|
-
...
|
|
57
|
+
...e({ sm: 13, md: 13, lg: 13 })
|
|
65
58
|
},
|
|
66
59
|
paragraphDens: {
|
|
67
60
|
fontWeight: 600,
|
|
68
61
|
lineHeight: "20px",
|
|
69
62
|
letterSpacing: "-0.003em",
|
|
70
|
-
...
|
|
63
|
+
...e({ sm: 13, md: 13, lg: 13 })
|
|
71
64
|
},
|
|
72
65
|
subtitle1: {
|
|
73
66
|
fontWeight: 600,
|
|
74
67
|
lineHeight: 1.5,
|
|
75
|
-
fontSize:
|
|
68
|
+
fontSize: t(14)
|
|
76
69
|
},
|
|
77
70
|
subtitle2: {
|
|
78
71
|
fontWeight: 600,
|
|
79
72
|
lineHeight: 1.5,
|
|
80
|
-
fontSize:
|
|
73
|
+
fontSize: t(12)
|
|
81
74
|
},
|
|
82
75
|
body: {
|
|
83
76
|
fontWeight: 400,
|
|
84
77
|
lineHeight: "16px",
|
|
85
|
-
...
|
|
78
|
+
...e({ sm: 11, md: 11, lg: 11 })
|
|
86
79
|
},
|
|
87
80
|
bodyDens: {
|
|
88
81
|
fontWeight: 600,
|
|
89
82
|
lineHeight: "16px",
|
|
90
|
-
...
|
|
83
|
+
...e({ sm: 11, md: 11, lg: 11 })
|
|
91
84
|
},
|
|
92
85
|
body0: {
|
|
93
86
|
lineHeight: 1.5,
|
|
94
87
|
fontWeight: 400,
|
|
95
|
-
fontSize:
|
|
88
|
+
fontSize: t(16)
|
|
96
89
|
},
|
|
97
90
|
body1: {
|
|
98
91
|
lineHeight: 1.5,
|
|
99
92
|
fontWeight: 400,
|
|
100
|
-
fontSize:
|
|
93
|
+
fontSize: t(14)
|
|
101
94
|
},
|
|
102
95
|
body2: {
|
|
103
96
|
lineHeight: 1.5,
|
|
104
97
|
fontWeight: 400,
|
|
105
|
-
fontSize:
|
|
98
|
+
fontSize: t(12)
|
|
106
99
|
},
|
|
107
100
|
caption: {
|
|
108
101
|
lineHeight: 1.5,
|
|
109
|
-
fontSize:
|
|
102
|
+
fontSize: t(11)
|
|
110
103
|
},
|
|
111
104
|
overline: {
|
|
112
105
|
fontWeight: 700,
|
|
113
106
|
lineHeight: 1.5,
|
|
114
|
-
fontSize:
|
|
107
|
+
fontSize: t(12),
|
|
115
108
|
textTransform: "uppercase"
|
|
116
109
|
},
|
|
117
110
|
button: {
|
|
118
111
|
fontWeight: 700,
|
|
119
112
|
lineHeight: 24 / 14,
|
|
120
|
-
fontSize:
|
|
113
|
+
fontSize: t(14),
|
|
121
114
|
textTransform: "capitalize"
|
|
122
115
|
},
|
|
123
116
|
action: {
|
|
124
117
|
fontWeight: 600,
|
|
125
118
|
lineHeight: "16px",
|
|
126
|
-
...
|
|
119
|
+
...e({ sm: 12, md: 12, lg: 12 })
|
|
127
120
|
}
|
|
128
121
|
};
|
|
129
122
|
export {
|
|
130
|
-
|
|
123
|
+
l as t
|
|
131
124
|
};
|
package/types/augmentations.d.ts
CHANGED
|
@@ -1,144 +1,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,13 +1,8 @@
|
|
|
1
1
|
import { alpha as a } from "@mui/system";
|
|
2
|
-
import "../theme/defaultThemeOptions.d580f3ec.js";
|
|
3
|
-
import "../theme/shadows.e0c009ff.js";
|
|
4
2
|
import { P as e, O as r, S as o } from "../theme/palette.287635f2.js";
|
|
5
|
-
|
|
6
|
-
import "@mui/material";
|
|
7
|
-
import "@mui/material/styles";
|
|
8
|
-
const m = (i, l) => {
|
|
3
|
+
const u = (l, d) => {
|
|
9
4
|
let t = {};
|
|
10
|
-
switch (
|
|
5
|
+
switch (l) {
|
|
11
6
|
case "patronus":
|
|
12
7
|
t = {
|
|
13
8
|
light: {
|
|
@@ -249,8 +244,8 @@ const m = (i, l) => {
|
|
|
249
244
|
};
|
|
250
245
|
break;
|
|
251
246
|
}
|
|
252
|
-
return
|
|
247
|
+
return d === "light" ? { ...t.light } : { ...t.dark };
|
|
253
248
|
};
|
|
254
249
|
export {
|
|
255
|
-
|
|
250
|
+
u as g
|
|
256
251
|
};
|
package/vite-env.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
|
-
/// <reference types="vitest" />
|
|
3
|
-
/// <reference types="vitest/importMeta" />
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
/// <reference types="vitest" />
|
|
3
|
+
/// <reference types="vitest/importMeta" />
|
package/theme/index.16e25179.js
DELETED