@m4l/styles 1.0.8 → 2.0.0
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/M4LAreasViewer.d.ts +0 -122
- package/theme/overrides/M4LExtendedComponents/{index.8c011674.js → index.8f549882.js} +114 -320
- package/theme/overrides/{index.781cfe02.js → index.3234140e.js} +13 -14
- package/theme/{typography.947dc33f.js → typography.616cfe0c.js} +24 -31
- package/types/augmentations.d.ts +137 -144
- package/types/index.d.ts +1 -1
- package/types/types.d.ts +29 -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
- package/theme/overrides/M4LExtendedComponents/M4LToastContainer.d.ts +0 -79
package/index.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { f as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { g as
|
|
9
|
-
import {
|
|
10
|
-
import { g as K,
|
|
11
|
-
import "@mui/material/styles";
|
|
12
|
-
import "@mui/material/useMediaQuery";
|
|
13
|
-
import "@mui/system";
|
|
1
|
+
import { g as f, m as O } from "./config.5405b46b.js";
|
|
2
|
+
import { d as S } from "./theme/defaultThemeOptions.cc70c82e.js";
|
|
3
|
+
import { c as C, s as l } from "./theme/shadows.e0c009ff.js";
|
|
4
|
+
import { t as n } from "./theme/typography.616cfe0c.js";
|
|
5
|
+
import { f as P } from "./theme/overrides/index.3234140e.js";
|
|
6
|
+
import { C as d, E as A, G as E, I as N, O as b, P as c, a as I, b as h, S as F, c as Y, W as v, p as w } from "./theme/palette.287635f2.js";
|
|
7
|
+
import { u as G } from "./utils/useResponsive.2c45e8e0.js";
|
|
8
|
+
import { g as M } from "./utils/getColorState.7cbf2219.js";
|
|
9
|
+
import { e as y, b as D, c as V, d as W, g as k, a as q, t as B } from "./utils/getColorPresets.a96a4046.js";
|
|
10
|
+
import { g as H, p as J, a as K, r as Q } from "./utils/getFontValue.88831637.js";
|
|
14
11
|
import "@mui/material";
|
|
12
|
+
import "@mui/material/styles";
|
|
15
13
|
import "./theme/overrides/MUIComponents/index.5c43e3b5.js";
|
|
16
14
|
import "./theme/overrides/M4LRHFComponents/index.3599b255.js";
|
|
17
|
-
import "
|
|
15
|
+
import "@mui/system";
|
|
16
|
+
import "./theme/overrides/M4LExtendedComponents/index.8f549882.js";
|
|
17
|
+
import "@mui/material/useMediaQuery";
|
|
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
|
+
d as COMMON,
|
|
20
|
+
A as ERROR,
|
|
21
|
+
E as GREY,
|
|
22
|
+
N as INFO,
|
|
23
|
+
b as OPACITYCOLORS,
|
|
24
|
+
c as PATRONUSCOLORS,
|
|
25
|
+
I as PRIMARY,
|
|
26
|
+
h as SECONDARY,
|
|
27
|
+
F as STATEDEFAULT,
|
|
28
|
+
Y as SUCCESS,
|
|
29
|
+
v as WARNING,
|
|
30
|
+
y as blaze,
|
|
31
|
+
D as brown,
|
|
32
|
+
V as colorPresets,
|
|
33
|
+
C as createCustomShadows,
|
|
34
|
+
W as defaultPreset,
|
|
35
|
+
S as defaultThemeOptions,
|
|
36
|
+
P as fnComponentsOverrides,
|
|
37
|
+
k as getColorPresets,
|
|
38
|
+
M as getColorState,
|
|
39
|
+
H as getFontValue,
|
|
40
|
+
f as globalRemSize,
|
|
41
|
+
q as grass,
|
|
42
|
+
O as muiBreakpointsValues,
|
|
43
|
+
w as palette,
|
|
44
|
+
J as pxToRem,
|
|
45
|
+
K as remToPx,
|
|
46
|
+
Q as responsiveFontSizes,
|
|
47
|
+
l as shadows,
|
|
48
|
+
B as turqui,
|
|
49
|
+
n as typography,
|
|
50
|
+
G as useResponsive
|
|
51
51
|
};
|
package/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import "
|
|
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";
|
|
1
|
+
import { t as a } from "./typography.616cfe0c.js";
|
|
6
2
|
import { p as e } from "./palette.287635f2.js";
|
|
7
3
|
import { createTheme as o, alpha as s } from "@mui/material";
|
|
8
4
|
import { s as p, c as m } from "./shadows.e0c009ff.js";
|
|
9
|
-
import { g as
|
|
10
|
-
|
|
5
|
+
import { g as t } from "../utils/getColorPresets.a96a4046.js";
|
|
6
|
+
import { g as i } from "../utils/getColorState.7cbf2219.js";
|
|
7
|
+
const r = o(), f = {
|
|
11
8
|
...r,
|
|
12
9
|
typography: a,
|
|
13
10
|
palette: {
|
|
@@ -30,5 +27,5 @@ const r = o(), k = {
|
|
|
30
27
|
stretch: !0
|
|
31
28
|
};
|
|
32
29
|
export {
|
|
33
|
-
|
|
30
|
+
f as d
|
|
34
31
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -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;
|