@m4l/styles 0.0.37 → 0.0.39

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.
@@ -49,6 +49,7 @@ export declare const M4LRHFColorPicker: (_theme: Theme) => {
49
49
  borderRadius: string;
50
50
  display: string;
51
51
  flexDirection: string;
52
+ alignItems: string;
52
53
  gap: string;
53
54
  '& .sketch-picker': {
54
55
  background: string;
@@ -96,7 +97,6 @@ export declare const M4LRHFColorPicker: (_theme: Theme) => {
96
97
  };
97
98
  '& .M4LButton-root': {
98
99
  display: string;
99
- width: string;
100
100
  justifyContent: string;
101
101
  };
102
102
  };
@@ -164,7 +164,7 @@ const r = (t) => ({
164
164
  }
165
165
  }
166
166
  }
167
- }), p = (t) => ({
167
+ }), l = (t) => ({
168
168
  M4LRHFCheckbox: {
169
169
  styleOverrides: {
170
170
  "&.M4LRHFCheckbox-root": {
@@ -247,7 +247,7 @@ const r = (t) => ({
247
247
  }
248
248
  }
249
249
  }
250
- }), l = (t) => ({
250
+ }), p = (t) => ({
251
251
  M4LRHFAutocomplete: {
252
252
  styleOverrides: {
253
253
  "&.M4LRHFAutocomplete-root": {
@@ -919,6 +919,7 @@ const r = (t) => ({
919
919
  borderRadius: "4px",
920
920
  display: "flex",
921
921
  flexDirection: "column",
922
+ alignItems: "flex-end",
922
923
  gap: "24px",
923
924
  "& .sketch-picker": {
924
925
  background: "transparent !important",
@@ -969,7 +970,6 @@ const r = (t) => ({
969
970
  },
970
971
  "& .M4LButton-root": {
971
972
  display: "flex",
972
- width: "100%",
973
973
  justifyContent: "right"
974
974
  }
975
975
  }
@@ -981,11 +981,11 @@ const r = (t) => ({
981
981
  export {
982
982
  n as M,
983
983
  r as a,
984
- l as b,
984
+ p as b,
985
985
  d as c,
986
986
  u as d,
987
987
  s as e,
988
988
  M as f,
989
- p as g,
989
+ l as g,
990
990
  c as h
991
991
  };
@@ -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 d, T as c, P as l, S as u, c as g, d as B, D as F, A as P, e as A, f as T, g as b, h as y, i as C, j as I, k as R, l as S, m as v, n as D, o as k, p as H, q as f, r as x, s as w, t as G, u as E, v as V, w as j, x as N, y as O, z as q, E as z } from "./MUIComponents/index.b3f5b7a7.js";
2
- import { M as U, a as t, 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 m, l as e, m as h, n as aa, o as sa, p as oa, q as ra, r as La, s as Ma, t as na, u as ia, v as pa, w as da, x as ca, y as la, z as ua, A as ga, B as Ba, C as Fa, D as Pa, E as Aa, F as Ta, G as ba, H as ya, I as Ca, J as Ia, K as Ra, L as Sa, N as va, O as Da, P as ka, Q as Ha, R as fa, S as xa, T as wa, U as Ga, V as Ea } from "./M4LExtendedComponents/index.e3b8814c.js";
3
- import { M as Va, a as ja, b as Na, c as Oa, d as qa, e as za, f as Ua, g as ta, h as Ja } from "./M4LRHFComponents/index.15a2012d.js";
2
+ import { M as U, a as t, 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 m, l as e, m as h, n as aa, o as sa, p as oa, q as ra, r as La, s as Ma, t as na, u as ia, v as pa, w as da, x as ca, y as la, z as ua, A as ga, B as Ba, C as Fa, D as Pa, E as Aa, F as Ta, G as ba, H as ya, I as Ca, J as Ia, K as Ra, L as Sa, N as va, O as Da, P as ka, Q as Ha, R as fa, S as xa, T as wa, U as Ga, V as Ea } from "./M4LExtendedComponents/index.f5ad1a5c.js";
3
+ import { M as Va, a as ja, b as Na, c as Oa, d as qa, e as za, f as Ua, g as ta, h as Ja } from "./M4LRHFComponents/index.427e0f0e.js";
4
4
  function Xa(a) {
5
5
  return Object.assign(
6
6
  s(a),
@@ -1,13 +1,5 @@
1
- import "@mui/material/styles";
2
- import "@mui/material/useMediaQuery";
3
- import "../utils/getColorPresets.479f9922.js";
4
- import "@mui/system";
5
- import "./defaultThemeOptions.5e505df7.js";
6
- import "./shadows.479d005a.js";
7
- import "./palette.1b577d8c.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
- ...t({ sm: 38, md: 40, lg: 40 })
10
+ ...e({ sm: 38, md: 40, lg: 40 })
19
11
  },
20
12
  h2: {
21
13
  fontWeight: 600,
22
14
  lineHeight: 1,
23
- ...t({ sm: 40, md: 44, lg: 48 })
15
+ ...e({ sm: 40, md: 44, lg: 48 })
24
16
  },
25
17
  h3: {
26
18
  fontWeight: 600,
27
19
  lineHeight: 1.5,
28
- ...t({ sm: 30, md: 32, lg: 32 })
20
+ ...e({ sm: 30, md: 32, lg: 32 })
29
21
  },
30
22
  h4: {
31
23
  fontWeight: 600,
32
24
  lineHeight: 1.5,
33
- ...t({ sm: 20, md: 24, lg: 24 })
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
- ...t({ sm: 22, md: 24, lg: 24 })
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
- ...t({ sm: 18, md: 18, lg: 18 })
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
- ...t({ sm: 18, md: 15, lg: 15 })
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
- ...t({ sm: 18, md: 15, lg: 15 })
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
- ...t({ sm: 16, md: 13, lg: 13 })
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
- ...t({ sm: 16, md: 13, lg: 13 })
61
+ ...e({ sm: 16, md: 13, lg: 13 })
70
62
  },
71
63
  subtitle1: {
72
64
  fontWeight: 600,
73
65
  lineHeight: 1.5,
74
- fontSize: e(14)
66
+ fontSize: t(14)
75
67
  },
76
68
  subtitle2: {
77
69
  fontWeight: 600,
78
70
  lineHeight: 1.5,
79
- fontSize: e(12)
71
+ fontSize: t(12)
80
72
  },
81
73
  body: {
82
74
  fontWeight: 400,
83
75
  lineHeight: "16px",
84
- ...t({ sm: 14, md: 11, lg: 11 })
76
+ ...e({ sm: 14, md: 11, lg: 11 })
85
77
  },
86
78
  bodyDens: {
87
79
  fontWeight: 600,
88
80
  lineHeight: "16px",
89
- ...t({ sm: 14, md: 11, lg: 11 })
81
+ ...e({ sm: 14, md: 11, lg: 11 })
90
82
  },
91
83
  body0: {
92
84
  lineHeight: 1.5,
93
85
  fontWeight: 400,
94
- fontSize: e(16)
86
+ fontSize: t(16)
95
87
  },
96
88
  body1: {
97
89
  lineHeight: 1.5,
98
90
  fontWeight: 400,
99
- fontSize: e(14)
91
+ fontSize: t(14)
100
92
  },
101
93
  body2: {
102
94
  lineHeight: 1.5,
103
95
  fontWeight: 400,
104
- fontSize: e(12)
96
+ fontSize: t(12)
105
97
  },
106
98
  caption: {
107
99
  lineHeight: 1.5,
108
- fontSize: e(11)
100
+ fontSize: t(11)
109
101
  },
110
102
  overline: {
111
103
  fontWeight: 700,
112
104
  lineHeight: 1.5,
113
- fontSize: e(12),
105
+ fontSize: t(12),
114
106
  textTransform: "uppercase"
115
107
  },
116
108
  button: {
117
109
  fontWeight: 700,
118
110
  lineHeight: 24 / 14,
119
- fontSize: e(14),
111
+ fontSize: t(14),
120
112
  textTransform: "capitalize"
121
113
  },
122
114
  action: {
123
115
  fontWeight: 600,
124
116
  lineHeight: "16px",
125
- ...t({ sm: 14, md: 12, lg: 12 })
117
+ ...e({ sm: 14, md: 12, lg: 12 })
126
118
  }
127
119
  };
128
120
  export {
129
- r as t
121
+ g as t
130
122
  };
@@ -1,11 +1,6 @@
1
1
  import { alpha as a } from "@mui/system";
2
- import "../theme/defaultThemeOptions.5e505df7.js";
3
- import "../theme/shadows.479d005a.js";
4
2
  import { P as e, O as r, S as o } from "../theme/palette.1b577d8c.js";
5
- import "../theme/typography.927a0f62.js";
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
- c as g
238
+ u as g
244
239
  };
@@ -1,7 +0,0 @@
1
- import "./defaultThemeOptions.5e505df7.js";
2
- import "./shadows.479d005a.js";
3
- import "./palette.1b577d8c.js";
4
- import "./typography.927a0f62.js";
5
- import "@mui/material";
6
- import "@mui/material/styles";
7
- import "@mui/system";