@m4l/styles 0.0.44 → 0.0.45
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 +36 -36
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.4c9bc728.js → defaultThemeOptions.656b9eff.js} +11 -8
- package/theme/index.bc975e94.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +2 -0
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +19 -215
- package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +3 -1
- package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.d.ts +0 -4
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +9 -71
- package/theme/overrides/M4LExtendedComponents/{index.df05e9ba.js → index.21173919.js} +146 -172
- package/theme/overrides/{index.7c048e7a.js → index.1864049e.js} +1 -1
- package/theme/{typography.b14a8e35.js → typography.ed54f014.js} +32 -24
- package/types/augmentations.d.ts +121 -121
- package/types/types.d.ts +24 -24
- package/utils/{getColorState.6c23eada.js → getColorState.7b9634af.js} +7 -2
- package/vite-env.d.ts +3 -3
- package/theme/index.34d0fdea.js +0 -1
package/index.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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.656b9eff.js";
|
|
2
|
+
import { c as l, s as g } from "./theme/shadows.86540b18.js";
|
|
3
|
+
import { P as u, p as d } from "./theme/palette.0590e8a6.js";
|
|
4
|
+
import { t as S } from "./theme/typography.ed54f014.js";
|
|
5
|
+
import { f as O } from "./theme/overrides/index.1864049e.js";
|
|
6
|
+
import { u as b } from "./utils/useResponsive.2c45e8e0.js";
|
|
7
|
+
import { e as h, b as T, c as v, d as w, g as z, a as y, t as F } from "./utils/getColorPresets.2a91ffaf.js";
|
|
8
|
+
import { g as k } from "./utils/getColorState.7b9634af.js";
|
|
9
|
+
import { g as A, p as B, a as L, r as N } from "./utils/getFontValue.88831637.js";
|
|
10
|
+
import { g as j, m as D } from "./config.5405b46b.js";
|
|
12
11
|
import "@mui/material/styles";
|
|
13
|
-
import "
|
|
14
|
-
import "./theme/overrides/M4LExtendedComponents/index.df05e9ba.js";
|
|
12
|
+
import "@mui/material/useMediaQuery";
|
|
15
13
|
import "@mui/system";
|
|
14
|
+
import "@mui/material";
|
|
15
|
+
import "./theme/overrides/MUIComponents/index.b3f5b7a7.js";
|
|
16
|
+
import "./theme/overrides/M4LExtendedComponents/index.21173919.js";
|
|
16
17
|
import "./theme/overrides/M4LRHFComponents/index.02fada22.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
|
-
|
|
19
|
+
u as PATRONUSCOLORS,
|
|
20
|
+
h as blaze,
|
|
21
|
+
T as brown,
|
|
22
|
+
v as colorPresets,
|
|
23
|
+
l as createCustomShadows,
|
|
24
|
+
w as defaultPreset,
|
|
25
|
+
f as defaultThemeOptions,
|
|
26
|
+
O as fnComponentsOverrides,
|
|
27
|
+
z as getColorPresets,
|
|
28
|
+
k as getColorState,
|
|
29
|
+
A as getFontValue,
|
|
30
|
+
j as globalRemSize,
|
|
31
|
+
y as grass,
|
|
32
|
+
D as muiBreakpointsValues,
|
|
33
|
+
d as palette,
|
|
34
|
+
B as pxToRem,
|
|
35
|
+
L as remToPx,
|
|
36
|
+
N as responsiveFontSizes,
|
|
37
|
+
g as shadows,
|
|
38
|
+
F as turqui,
|
|
39
|
+
S as typography,
|
|
40
|
+
b as useResponsive
|
|
41
41
|
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "@mui/material/styles";
|
|
2
|
+
import "@mui/material/useMediaQuery";
|
|
3
|
+
import { g as r } from "../utils/getColorPresets.2a91ffaf.js";
|
|
4
|
+
import "@mui/system";
|
|
5
|
+
import { t as a } from "./typography.ed54f014.js";
|
|
2
6
|
import { p as o } from "./palette.0590e8a6.js";
|
|
3
7
|
import { alpha as s } from "@mui/material";
|
|
4
|
-
import { s as
|
|
5
|
-
import { g as
|
|
6
|
-
|
|
7
|
-
const f = {
|
|
8
|
+
import { s as p, c as e } from "./shadows.86540b18.js";
|
|
9
|
+
import { g as m } from "../utils/getColorState.7b9634af.js";
|
|
10
|
+
const k = {
|
|
8
11
|
typography: a,
|
|
9
12
|
palette: {
|
|
10
13
|
...o.dark,
|
|
@@ -14,14 +17,14 @@ const f = {
|
|
|
14
17
|
},
|
|
15
18
|
shape: { borderRadius: 8 },
|
|
16
19
|
direction: "rtl",
|
|
17
|
-
shadows:
|
|
20
|
+
shadows: p.dark,
|
|
18
21
|
customShadows: {
|
|
19
22
|
primary: `0 8px 16px 0 ${s(r("patronus").main, 0.2)}`,
|
|
20
|
-
...
|
|
23
|
+
...e("dark")
|
|
21
24
|
},
|
|
22
25
|
stretch: !0,
|
|
23
26
|
spacing: (t) => `${0.5 * t}rem`
|
|
24
27
|
};
|
|
25
28
|
export {
|
|
26
|
-
|
|
29
|
+
k as d
|
|
27
30
|
};
|
|
@@ -14,8 +14,20 @@ export declare const M4LDataGrid: (theme: Theme) => {
|
|
|
14
14
|
gap: string;
|
|
15
15
|
height: string;
|
|
16
16
|
width: string;
|
|
17
|
+
"&.M4LDataGrid-xs": {
|
|
18
|
+
'& .M4LDataGrid-actions': {
|
|
19
|
+
height: string;
|
|
20
|
+
'& .M4LPager-labelRowsPerPageContainer': {
|
|
21
|
+
'& .M4LTypography-root': {
|
|
22
|
+
display: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
'& .M4LPager-labelDisplayRows': {
|
|
26
|
+
display: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
17
30
|
'& .M4LDataGrid-actions': {
|
|
18
|
-
[x: string]: any;
|
|
19
31
|
left: string;
|
|
20
32
|
right: string;
|
|
21
33
|
top: string;
|
|
@@ -30,6 +42,9 @@ export declare const M4LDataGrid: (theme: Theme) => {
|
|
|
30
42
|
background: string;
|
|
31
43
|
position: string;
|
|
32
44
|
gap: string;
|
|
45
|
+
"@container main (max-width: 600px)": {
|
|
46
|
+
height: string;
|
|
47
|
+
};
|
|
33
48
|
'& .M4LDataGrid-actionsConfigContainer': {
|
|
34
49
|
display: string;
|
|
35
50
|
flexDirection: string;
|
|
@@ -63,220 +78,6 @@ export declare const M4LDataGrid: (theme: Theme) => {
|
|
|
63
78
|
top: string;
|
|
64
79
|
};
|
|
65
80
|
'& .M4LDataGrid-tableContaniner': {
|
|
66
|
-
[x: string]: string | {
|
|
67
|
-
top: string;
|
|
68
|
-
position?: undefined;
|
|
69
|
-
height?: undefined;
|
|
70
|
-
overflow?: undefined;
|
|
71
|
-
borderRadius?: undefined;
|
|
72
|
-
'& .rdg '?: undefined;
|
|
73
|
-
'& [role="columnheader"]'?: undefined;
|
|
74
|
-
'& .rdg-row'?: undefined;
|
|
75
|
-
'& .rdg-cell'?: undefined;
|
|
76
|
-
'& .rdg-cell[role="gridcell"]'?: undefined;
|
|
77
|
-
'& .rdg-cell[role="columnheader"] .rdg-header-sort-name'?: undefined;
|
|
78
|
-
'& .rdg-cell[role="columnheader"] [draggable="true"]'?: undefined;
|
|
79
|
-
'& [aria-selected=true]'?: undefined;
|
|
80
|
-
'& .rdg-cell.rdg-cell-align-left'?: undefined;
|
|
81
|
-
'& .rdg-cell.rdg-cell-align-center'?: undefined;
|
|
82
|
-
'& .rdg-cell.rdg-cell-align-right'?: undefined;
|
|
83
|
-
'& .rdg-row .rdg-cell-frozen-last:after'?: undefined;
|
|
84
|
-
'& .rdg-row :last-child:after'?: undefined;
|
|
85
|
-
'& .rdg-header-row'?: undefined;
|
|
86
|
-
'& .rdg-header-row .rdg-cell'?: undefined;
|
|
87
|
-
'& .rdg-header-row :last-child.rdg-cell'?: undefined;
|
|
88
|
-
'& .filter_cell_div'?: undefined;
|
|
89
|
-
'& .rdg-header-sort-cell'?: undefined;
|
|
90
|
-
} | {
|
|
91
|
-
position: string;
|
|
92
|
-
height: string;
|
|
93
|
-
overflow: string;
|
|
94
|
-
borderRadius: string;
|
|
95
|
-
'& .rdg ': {
|
|
96
|
-
border: string;
|
|
97
|
-
background: string;
|
|
98
|
-
gridColumnGap: string;
|
|
99
|
-
gridRowGap: string;
|
|
100
|
-
userSelect: string;
|
|
101
|
-
height: string;
|
|
102
|
-
contentVisibility: string;
|
|
103
|
-
overflow: string;
|
|
104
|
-
padding: string;
|
|
105
|
-
'--rdg-grid-inline-size': string;
|
|
106
|
-
'--rdg-header-background-color': string;
|
|
107
|
-
'--rdg-row-selected-background-color': string;
|
|
108
|
-
'--rdg-row-hover-background-color': string;
|
|
109
|
-
'--rdg-background-color': string;
|
|
110
|
-
'--rdg-selection-color': string;
|
|
111
|
-
'--row-selected-hover-background-color': string;
|
|
112
|
-
'--rdg-checkbox-color': string;
|
|
113
|
-
'--rdg-checkbox-focus-color': string;
|
|
114
|
-
'--rdg-border-color': string;
|
|
115
|
-
'&:last-child .rdg-cell': {
|
|
116
|
-
borderTop: string;
|
|
117
|
-
borderBottom: string;
|
|
118
|
-
borderLeft: string;
|
|
119
|
-
borderRight: string;
|
|
120
|
-
borderColor: string;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
'& [role="columnheader"]': {
|
|
124
|
-
justifyContent: string;
|
|
125
|
-
alignItems: string;
|
|
126
|
-
};
|
|
127
|
-
'& .rdg-row': {
|
|
128
|
-
'&[aria-selected="false"] .rdg-cell': {
|
|
129
|
-
backgroundColor: string;
|
|
130
|
-
borderLeft: string;
|
|
131
|
-
borderColor: string;
|
|
132
|
-
};
|
|
133
|
-
'&:nth-of-type(odd)': {
|
|
134
|
-
'& .rdg-cell': {
|
|
135
|
-
backgroundColor: string;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
'&[aria-selected="true"] .rdg-cell': {
|
|
139
|
-
backgroundColor: string;
|
|
140
|
-
};
|
|
141
|
-
'&:hover': {
|
|
142
|
-
'& .rdg-cell': {
|
|
143
|
-
backgroundColor: string;
|
|
144
|
-
transition: string;
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
backgroundColor: string;
|
|
148
|
-
};
|
|
149
|
-
'& .rdg-cell': {
|
|
150
|
-
transition: string;
|
|
151
|
-
borderBottom: string;
|
|
152
|
-
borderRight: string;
|
|
153
|
-
borderColor: string;
|
|
154
|
-
color: string;
|
|
155
|
-
display: string;
|
|
156
|
-
justifyContent: string;
|
|
157
|
-
alignItems: string;
|
|
158
|
-
textOverflow: string;
|
|
159
|
-
gridTemplateColumns: string;
|
|
160
|
-
'& .rdg-text-editor': {
|
|
161
|
-
textAlign: string;
|
|
162
|
-
color: string;
|
|
163
|
-
padding: string;
|
|
164
|
-
lineHeight: string;
|
|
165
|
-
border: string;
|
|
166
|
-
borderTop: string;
|
|
167
|
-
borderBottom: string;
|
|
168
|
-
borderLeft: string;
|
|
169
|
-
borderRight: string;
|
|
170
|
-
borderColor: string;
|
|
171
|
-
};
|
|
172
|
-
'&.rdg-cell-frozen': {
|
|
173
|
-
display: string;
|
|
174
|
-
justifyContent: string;
|
|
175
|
-
alignItems: string;
|
|
176
|
-
boxShadow: string;
|
|
177
|
-
};
|
|
178
|
-
'&:after': {
|
|
179
|
-
content: string;
|
|
180
|
-
borderRight: string;
|
|
181
|
-
position: string;
|
|
182
|
-
right: string;
|
|
183
|
-
height: string;
|
|
184
|
-
};
|
|
185
|
-
'& .m4l_icon': {
|
|
186
|
-
height: string;
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
'& .rdg-cell[role="gridcell"]': {
|
|
190
|
-
lineHeight: string;
|
|
191
|
-
};
|
|
192
|
-
'& .rdg-cell[role="columnheader"] .rdg-header-sort-name': {
|
|
193
|
-
lineHeight: string;
|
|
194
|
-
height: string;
|
|
195
|
-
display: string;
|
|
196
|
-
justifyContent: string;
|
|
197
|
-
alignItems: string;
|
|
198
|
-
};
|
|
199
|
-
'& .rdg-cell[role="columnheader"] [draggable="true"]': {
|
|
200
|
-
lineHeight: string;
|
|
201
|
-
};
|
|
202
|
-
'& [aria-selected=true]': {
|
|
203
|
-
backgroundColor: string;
|
|
204
|
-
color: string;
|
|
205
|
-
outline: string;
|
|
206
|
-
outlineOffset: string;
|
|
207
|
-
outlineColor: string;
|
|
208
|
-
};
|
|
209
|
-
'& .rdg-cell.rdg-cell-align-left': {
|
|
210
|
-
textAlign: string;
|
|
211
|
-
display: string;
|
|
212
|
-
justifyContent: string;
|
|
213
|
-
alignItems: string;
|
|
214
|
-
};
|
|
215
|
-
'& .rdg-cell.rdg-cell-align-center': {
|
|
216
|
-
textAlign: string;
|
|
217
|
-
display: string;
|
|
218
|
-
};
|
|
219
|
-
'& .rdg-cell.rdg-cell-align-right': {
|
|
220
|
-
textAlign: string;
|
|
221
|
-
};
|
|
222
|
-
'& .rdg-row .rdg-cell-frozen-last:after': {
|
|
223
|
-
borderRight: string;
|
|
224
|
-
};
|
|
225
|
-
'& .rdg-row :last-child:after': {
|
|
226
|
-
borderRight: string;
|
|
227
|
-
borderColor: string;
|
|
228
|
-
};
|
|
229
|
-
'& .rdg-header-row': {
|
|
230
|
-
backgroundColor: string;
|
|
231
|
-
};
|
|
232
|
-
'& .rdg-header-row .rdg-cell': {
|
|
233
|
-
fontFamily: Record<string, any>;
|
|
234
|
-
fontWeight: Record<string, any>;
|
|
235
|
-
fontSize: Record<string, any>;
|
|
236
|
-
color: string;
|
|
237
|
-
borderRight: string;
|
|
238
|
-
boxShadow: string;
|
|
239
|
-
gridTemplateColumns: string;
|
|
240
|
-
borderBottom: string;
|
|
241
|
-
borderColor: string;
|
|
242
|
-
'& [draggable="true"]': {
|
|
243
|
-
fontSize: Record<string, any>;
|
|
244
|
-
};
|
|
245
|
-
'&.rdg-cell-frozen-last': {
|
|
246
|
-
borderColor: string;
|
|
247
|
-
boxShadow: string;
|
|
248
|
-
'&:after': {};
|
|
249
|
-
};
|
|
250
|
-
'& .rdg-header-sort-cell': {
|
|
251
|
-
'& .rdg-header-sort-name + span': {
|
|
252
|
-
position: string;
|
|
253
|
-
margin: string;
|
|
254
|
-
right: string;
|
|
255
|
-
'& .rdg-sort-arrow': {
|
|
256
|
-
width: string;
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
'& .rdg-sort-arrow': {};
|
|
261
|
-
};
|
|
262
|
-
'& .rdg-header-row :last-child.rdg-cell': {
|
|
263
|
-
borderTopRightRadius: string;
|
|
264
|
-
'&:after': {
|
|
265
|
-
borderRight: string;
|
|
266
|
-
};
|
|
267
|
-
};
|
|
268
|
-
'& .filter_cell_div': {
|
|
269
|
-
paddingLeft: string;
|
|
270
|
-
paddingRight: string;
|
|
271
|
-
};
|
|
272
|
-
'& .rdg-header-sort-cell': {
|
|
273
|
-
width: string;
|
|
274
|
-
flexGrow: string;
|
|
275
|
-
alignItems: string;
|
|
276
|
-
color: string;
|
|
277
|
-
};
|
|
278
|
-
top?: undefined;
|
|
279
|
-
};
|
|
280
81
|
display: string;
|
|
281
82
|
flexDirection: string;
|
|
282
83
|
position: string;
|
|
@@ -290,6 +91,9 @@ export declare const M4LDataGrid: (theme: Theme) => {
|
|
|
290
91
|
border: string;
|
|
291
92
|
boxshadow: string;
|
|
292
93
|
background: string;
|
|
94
|
+
"@container main (max-width: 600px)": {
|
|
95
|
+
top: string;
|
|
96
|
+
};
|
|
293
97
|
'& .M4LDataGrid-wrapperDataGridCss': {
|
|
294
98
|
position: string;
|
|
295
99
|
height: string;
|
|
@@ -7,9 +7,10 @@ export declare const M4LPager: (theme: Theme) => {
|
|
|
7
7
|
display: string;
|
|
8
8
|
flexDirection: string;
|
|
9
9
|
alignItems: string;
|
|
10
|
-
justifyContent: string;
|
|
11
10
|
gap: string;
|
|
12
11
|
whiteSpace: string;
|
|
12
|
+
width: string;
|
|
13
|
+
justifyContent: string;
|
|
13
14
|
"& .M4LPager-pagerActions": {
|
|
14
15
|
[x: string]: string | {
|
|
15
16
|
gap: string;
|
|
@@ -40,6 +41,7 @@ export declare const M4LPager: (theme: Theme) => {
|
|
|
40
41
|
width: string;
|
|
41
42
|
background: string;
|
|
42
43
|
borderRadius: string;
|
|
44
|
+
margin: string;
|
|
43
45
|
"& .M4LIconButton-root": {
|
|
44
46
|
[x: string]: string | {
|
|
45
47
|
width: string;
|
|
@@ -42,8 +42,6 @@ export declare const M4LPropertyValue: (theme: Theme) => {
|
|
|
42
42
|
'& .M4LTypography-root': {
|
|
43
43
|
color: string;
|
|
44
44
|
fontWeight: string;
|
|
45
|
-
maxWidth: string;
|
|
46
|
-
width: string;
|
|
47
45
|
};
|
|
48
46
|
maxWidth: string;
|
|
49
47
|
width: string;
|
|
@@ -155,8 +153,6 @@ export declare const M4LPropertyValue: (theme: Theme) => {
|
|
|
155
153
|
'& .M4LTypography-root': {
|
|
156
154
|
color: string;
|
|
157
155
|
fontWeight: string;
|
|
158
|
-
maxWidth: string;
|
|
159
|
-
width: string;
|
|
160
156
|
};
|
|
161
157
|
maxWidth: string;
|
|
162
158
|
width: string;
|