@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 CHANGED
@@ -1,51 +1,51 @@
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.781cfe02.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";
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 "./theme/overrides/M4LExtendedComponents/index.8c011674.js";
15
+ import "@mui/system";
16
+ import "./theme/overrides/M4LExtendedComponents/index.8f549882.js";
17
+ import "@mui/material/useMediaQuery";
18
18
  export {
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
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/styles",
3
- "version": "1.0.8",
3
+ "version": "2.0.0",
4
4
  "license": "UNLICENSED",
5
5
  "author": "m4l team",
6
6
  "dependencies": {
@@ -1,13 +1,10 @@
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";
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 i } from "../utils/getColorState.18b61422.js";
10
- const r = o(), k = {
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
- k as d
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;