@m4l/styles 3.2.2 → 3.2.3
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 +33 -41
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.b39953a8.js → defaultThemeOptions-BlJvKCE6.js} +4 -4
- package/theme/overrides/M4LExtendedComponents/{index.dbc24a3d.js → index-C4PXddLa.js} +342 -22
- package/theme/overrides/M4LRHFComponents/{index.7d702163.js → index-BRZVeOM5.js} +76 -4
- package/theme/overrides/MUIComponents/{index.2b5bc914.js → index-XoLdmZP6.js} +48 -0
- package/theme/overrides/{index.cc540e59.js → index-B9xZa27y.js} +9 -3
- package/theme/{palette.fc293d0e.js → palette-DM0gXxA2.js} +9 -0
- package/theme/{shadows.67c0a60a.js → shadows-GTYqExFA.js} +2 -1
- package/theme/{typography.616cfe0c.js → typography-BsOO459U.js} +11 -1
- package/utils/{getColorPresets.38329841.js → getColorPresets-CXZaM9oS.js} +1 -1
- package/utils/{getFontValue.88831637.js → getFontValue-BEO-XID9.js} +8 -5
- /package/{config.3bb6415c.js → config-B8bZIPuH.js} +0 -0
- /package/theme/{index.34d0fdea.js → index-l0sNRNKZ.js} +0 -0
- /package/utils/{getColorState.b8092fb6.js → getColorState-D1JKXD4T.js} +0 -0
- /package/utils/{useResponsive.2c45e8e0.js → useResponsive-DaeQVwlH.js} +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { createTheme as i } from "@mui/material";
|
|
2
|
-
import { r as e, p as t } from "../utils/getFontValue.
|
|
2
|
+
import { r as e, p as t } from "../utils/getFontValue-BEO-XID9.js";
|
|
3
3
|
const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
4
4
|
...g.typography,
|
|
5
5
|
fontFamily: n,
|
|
6
6
|
fontWeightRegular: 400,
|
|
7
7
|
fontWeightMedium: 600,
|
|
8
8
|
fontWeightBold: 700,
|
|
9
|
+
/* Definindo en Patronus */
|
|
9
10
|
h1: {
|
|
10
11
|
fontWeight: 600,
|
|
11
12
|
lineHeight: 1.5,
|
|
@@ -16,6 +17,7 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
|
16
17
|
lineHeight: 1,
|
|
17
18
|
...e({ sm: 40, md: 40, lg: 40 })
|
|
18
19
|
},
|
|
20
|
+
/* Definindo en Patronus */
|
|
19
21
|
h3: {
|
|
20
22
|
fontWeight: 600,
|
|
21
23
|
lineHeight: 1.5,
|
|
@@ -26,6 +28,7 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
|
26
28
|
lineHeight: 1.5,
|
|
27
29
|
...e({ sm: 20, md: 20, lg: 20 })
|
|
28
30
|
},
|
|
31
|
+
/* Definindo en Patronus */
|
|
29
32
|
h5: {
|
|
30
33
|
fontWeight: 500,
|
|
31
34
|
lineHeight: "28px",
|
|
@@ -38,24 +41,28 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
|
38
41
|
letterSpacing: "-0.08em",
|
|
39
42
|
...e({ sm: 18, md: 18, lg: 18 })
|
|
40
43
|
},
|
|
44
|
+
/* Definindo en Patronus */
|
|
41
45
|
subtitle: {
|
|
42
46
|
fontWeight: 400,
|
|
43
47
|
lineHeight: "20px",
|
|
44
48
|
letterSpacing: "-0.006em",
|
|
45
49
|
...e({ sm: 15, md: 15, lg: 15 })
|
|
46
50
|
},
|
|
51
|
+
/* Definindo en Patronus */
|
|
47
52
|
subtitleDens: {
|
|
48
53
|
fontWeight: 600,
|
|
49
54
|
lineHeight: "24px",
|
|
50
55
|
letterSpacing: "-0.006em",
|
|
51
56
|
...e({ sm: 15, md: 15, lg: 15 })
|
|
52
57
|
},
|
|
58
|
+
/* Definindo en Patronus */
|
|
53
59
|
paragraph: {
|
|
54
60
|
fontWeight: 400,
|
|
55
61
|
lineHeight: "16px",
|
|
56
62
|
letterSpacing: "-0.003em",
|
|
57
63
|
...e({ sm: 13, md: 13, lg: 13 })
|
|
58
64
|
},
|
|
65
|
+
/* Definindo en Patronus */
|
|
59
66
|
paragraphDens: {
|
|
60
67
|
fontWeight: 600,
|
|
61
68
|
lineHeight: "20px",
|
|
@@ -72,11 +79,13 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
|
72
79
|
lineHeight: 1.5,
|
|
73
80
|
fontSize: t(12)
|
|
74
81
|
},
|
|
82
|
+
/* Definindo en Patronus */
|
|
75
83
|
body: {
|
|
76
84
|
fontWeight: 400,
|
|
77
85
|
lineHeight: "16px",
|
|
78
86
|
...e({ sm: 11, md: 11, lg: 11 })
|
|
79
87
|
},
|
|
88
|
+
/* Definindo en Patronus */
|
|
80
89
|
bodyDens: {
|
|
81
90
|
fontWeight: 600,
|
|
82
91
|
lineHeight: "16px",
|
|
@@ -113,6 +122,7 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
|
113
122
|
fontSize: t(14),
|
|
114
123
|
textTransform: "capitalize"
|
|
115
124
|
},
|
|
125
|
+
/* Definindo en Patronus */
|
|
116
126
|
action: {
|
|
117
127
|
fontWeight: 600,
|
|
118
128
|
lineHeight: "16px",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTheme as h } from "@mui/material/styles";
|
|
2
|
-
import { u as m } from "./useResponsive.
|
|
2
|
+
import { u as m } from "./useResponsive-DaeQVwlH.js";
|
|
3
3
|
function f(e) {
|
|
4
4
|
return Math.round(parseFloat(e) * 16);
|
|
5
5
|
}
|
|
@@ -20,10 +20,13 @@ function l({ sm: e, md: t, lg: o }) {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
function g() {
|
|
23
|
-
return
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
return (
|
|
24
|
+
// @ts-ignore not sure what is this
|
|
25
|
+
[...h().breakpoints.keys].reverse().reduce((o, n) => {
|
|
26
|
+
const s = m("up", n);
|
|
27
|
+
return !o && s ? n : o;
|
|
28
|
+
}, null) || "xs"
|
|
29
|
+
);
|
|
27
30
|
}
|
|
28
31
|
function S(e) {
|
|
29
32
|
const t = h(), o = g(), n = t.breakpoints.up(o === "xl" ? "lg" : o), i = (e === "h1" || e === "h2" || e === "h3" || e === "h4" || e === "h5" || e === "h6") && t.typography[e][n] ? t.typography[e][n] : t.typography[e], p = f(i.fontSize), r = Number(t.typography[e].lineHeight) * p, { fontWeight: u, letterSpacing: c } = t.typography[e];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|