@m4l/styles 1.0.9 → 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/M4LAreasViewer.d.ts +0 -122
- package/theme/overrides/M4LExtendedComponents/{index.a1f65f10.js → index.79301515.js} +116 -314
- 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.f76e2bb0.js → index.11f693b6.js} +14 -15
- 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/theme/overrides/M4LExtendedComponents/M4LToastContainer.d.ts +0 -79
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.a1f65f10.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
|
};
|
|
@@ -111,128 +111,6 @@ export declare const M4LAreasViewer: (theme: Omit<Theme, 'palette' | 'applyStyle
|
|
|
111
111
|
overflow: string;
|
|
112
112
|
};
|
|
113
113
|
};
|
|
114
|
-
'& .M4LAreasViewer-windowToastiesContainer': {
|
|
115
|
-
padding: string;
|
|
116
|
-
top: string;
|
|
117
|
-
position: string;
|
|
118
|
-
display: string;
|
|
119
|
-
flexDirection: string;
|
|
120
|
-
width: string;
|
|
121
|
-
maxHeight: string;
|
|
122
|
-
zIndex: string;
|
|
123
|
-
gap: string;
|
|
124
|
-
background: string;
|
|
125
|
-
boxShadow: string;
|
|
126
|
-
'& .M4LAreasViewer-windowToastiesContainerTostys': {
|
|
127
|
-
boxSizing: string;
|
|
128
|
-
overflow: string;
|
|
129
|
-
display: string;
|
|
130
|
-
flexDirection: string;
|
|
131
|
-
width: string;
|
|
132
|
-
maxHeight: string;
|
|
133
|
-
'& .M4LAreasViewer-windowToastyContainer': {
|
|
134
|
-
background: string | undefined;
|
|
135
|
-
borderRadius: string;
|
|
136
|
-
padding: string;
|
|
137
|
-
width: string;
|
|
138
|
-
boxShadow: string;
|
|
139
|
-
gap: string;
|
|
140
|
-
position: string;
|
|
141
|
-
'& .M4LAreasViewer-windowToastyButtonsContainer': {
|
|
142
|
-
padding: string;
|
|
143
|
-
display: string;
|
|
144
|
-
flexDirection: string;
|
|
145
|
-
gap: string;
|
|
146
|
-
borderRadius: string;
|
|
147
|
-
};
|
|
148
|
-
'& .M4LAreasViewer-windowToastyMessage': {
|
|
149
|
-
color: string | undefined;
|
|
150
|
-
position: string;
|
|
151
|
-
'& .MuiLinearProgress-root': {
|
|
152
|
-
position: string;
|
|
153
|
-
width: string;
|
|
154
|
-
top: string;
|
|
155
|
-
left: string;
|
|
156
|
-
background: string;
|
|
157
|
-
'& .MuiLinearProgress-bar1Determinate .MuiLinearProgress-barColorPrimary': {
|
|
158
|
-
transform: string;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
display: string;
|
|
162
|
-
alignItems: string;
|
|
163
|
-
padding: string;
|
|
164
|
-
};
|
|
165
|
-
'&.M4LAreasViewer-error': {
|
|
166
|
-
background: string | undefined;
|
|
167
|
-
'& .M4LAreasViewer-windowToastyButtonsContainer': {
|
|
168
|
-
background: string;
|
|
169
|
-
'& .M4LIcon-icon': {
|
|
170
|
-
backgroundColor: string | undefined;
|
|
171
|
-
};
|
|
172
|
-
'& .M4LAreasViewer-pinIn': {
|
|
173
|
-
background: string;
|
|
174
|
-
boxShadow: string;
|
|
175
|
-
border: string;
|
|
176
|
-
};
|
|
177
|
-
'& .M4LIconButton-root:hover': {
|
|
178
|
-
background: string;
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
'&.M4LAreasViewer-info': {
|
|
183
|
-
background: string | undefined;
|
|
184
|
-
'& .M4LAreasViewer-windowToastyButtonsContainer': {
|
|
185
|
-
background: string;
|
|
186
|
-
'& .M4LIcon-icon': {
|
|
187
|
-
backgroundColor: string | undefined;
|
|
188
|
-
};
|
|
189
|
-
'& .M4LAreasViewer-pinIn': {
|
|
190
|
-
background: string;
|
|
191
|
-
boxShadow: string;
|
|
192
|
-
border: string;
|
|
193
|
-
};
|
|
194
|
-
'& .M4LIconButton-root:hover': {
|
|
195
|
-
background: string;
|
|
196
|
-
};
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
'&.M4LAreasViewer-warning': {
|
|
200
|
-
background: string | undefined;
|
|
201
|
-
'& .M4LAreasViewer-windowToastyButtonsContainer': {
|
|
202
|
-
background: string;
|
|
203
|
-
'& .M4LIcon-icon': {
|
|
204
|
-
backgroundColor: string | undefined;
|
|
205
|
-
};
|
|
206
|
-
'& .M4LAreasViewer-pinIn': {
|
|
207
|
-
background: string;
|
|
208
|
-
boxShadow: string;
|
|
209
|
-
border: string;
|
|
210
|
-
};
|
|
211
|
-
'& .M4LIconButton-root:hover': {
|
|
212
|
-
background: string;
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
'&.M4LAreasViewer-success ': {
|
|
217
|
-
background: string | undefined;
|
|
218
|
-
'& .M4LAreasViewer-windowToastyButtonsContainer': {
|
|
219
|
-
background: string;
|
|
220
|
-
'& .M4LIcon-icon': {
|
|
221
|
-
backgroundColor: string | undefined;
|
|
222
|
-
};
|
|
223
|
-
'& .M4LAreasViewer-pinIn': {
|
|
224
|
-
background: string;
|
|
225
|
-
boxShadow: string;
|
|
226
|
-
border: string;
|
|
227
|
-
};
|
|
228
|
-
'& .M4LIconButton-root:hover': {
|
|
229
|
-
background: string;
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
114
|
'& .M4LAreasViewer-windowContent': {
|
|
237
115
|
[x: string]: string | {
|
|
238
116
|
padding: string;
|