@m4l/styles 0.0.13 → 0.0.15

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/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@m4l/styles",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "license": "UNLICENSED",
5
5
  "dependencies": {
6
- "@m4l/graphics": "*",
6
+ "@emotion/react": "^11.9.0",
7
+ "@emotion/styled": "^11.8.1",
7
8
  "@mui/material": "5.10.4",
8
- "@mui/system": "5.10.4",
9
+ "@mui/x-date-pickers": "6.6.0",
9
10
  "react": "^17.0.0 || 18.x",
10
11
  "react-dom": "^18.0.0"
11
12
  },
@@ -0,0 +1,30 @@
1
+ import "@mui/material/styles";
2
+ import "@mui/material/useMediaQuery";
3
+ import { g as t } from "../utils/getColorPresets.f3113d85.js";
4
+ import "@mui/system";
5
+ import { t as o } from "./typography.1db0276b.js";
6
+ import { p as a } from "./palette.4b477f9b.js";
7
+ import { alpha as s } from "@mui/material";
8
+ import { s as p, c as e } from "./shadows.b2f38616.js";
9
+ import { g as m } from "../utils/getColorState.456150fd.js";
10
+ const w = {
11
+ typography: o,
12
+ palette: {
13
+ ...a.light,
14
+ primary: t("patronus"),
15
+ state: { ...m("patronus", "light") },
16
+ representative: t("patronus").darker
17
+ },
18
+ shape: { borderRadius: 8 },
19
+ direction: "rtl",
20
+ shadows: p.light,
21
+ customShadows: {
22
+ primary: `0 8px 16px 0 ${s(t("patronus").main, 0.2)}`,
23
+ ...e("dark")
24
+ },
25
+ stretch: !0,
26
+ spacing: (r) => `${0.5 * r}rem`
27
+ };
28
+ export {
29
+ w as d
30
+ };
@@ -0,0 +1,7 @@
1
+ import "./defaultThemeOptions.364b28b6.js";
2
+ import "./shadows.b2f38616.js";
3
+ import "./palette.4b477f9b.js";
4
+ import "./typography.1db0276b.js";
5
+ import "@mui/material";
6
+ import "@mui/material/styles";
7
+ import "@mui/system";
@@ -1,16 +1,320 @@
1
1
  import { Theme } from '@mui/material/styles';
2
- export declare const M4LAreasAdmin: (_theme: Theme) => {
2
+ export declare const M4LAreasAdmin: (theme: Theme) => {
3
3
  M4LAreasAdmin: {
4
4
  styleOverrides: {
5
5
  '&.M4LAreasAdmin-root': {
6
+ [x: string]: string | {
7
+ height: string;
8
+ background?: undefined;
9
+ display?: undefined;
10
+ justifyContent?: undefined;
11
+ width?: undefined;
12
+ overflow?: undefined;
13
+ gap?: undefined;
14
+ padding?: undefined;
15
+ alignItems?: undefined;
16
+ paddingLeft?: undefined;
17
+ '& .MuiBox-root'?: undefined;
18
+ '& .simplebar-content'?: undefined;
19
+ '& .M4LAreasAdmin-areaChipRoot '?: undefined;
20
+ } | {
21
+ background: string;
22
+ display: string;
23
+ justifyContent: string;
24
+ width: string;
25
+ height: string;
26
+ overflow?: undefined;
27
+ gap?: undefined;
28
+ padding?: undefined;
29
+ alignItems?: undefined;
30
+ paddingLeft?: undefined;
31
+ '& .MuiBox-root'?: undefined;
32
+ '& .simplebar-content'?: undefined;
33
+ '& .M4LAreasAdmin-areaChipRoot '?: undefined;
34
+ } | {
35
+ display: string;
36
+ overflow: string;
37
+ gap: string;
38
+ padding: string;
39
+ width: string;
40
+ justifyContent: string;
41
+ background: string;
42
+ height: string;
43
+ alignItems: string;
44
+ paddingLeft: string;
45
+ '& .MuiBox-root': {
46
+ display: string;
47
+ alignItems: string;
48
+ height: string;
49
+ };
50
+ '& .simplebar-content': {
51
+ display: string;
52
+ gap: string;
53
+ alignItems: string;
54
+ };
55
+ '& .M4LAreasAdmin-areaChipRoot ': {
56
+ [x: string]: string | {
57
+ height: string;
58
+ display?: undefined;
59
+ justifyContent?: undefined;
60
+ width?: undefined;
61
+ '&.M4LIconButton-variantPrimary'?: undefined;
62
+ } | {
63
+ color: string;
64
+ '& .M4LAreasAdmin-areaChipTitle': {
65
+ backgroundColor: string;
66
+ border: string;
67
+ textWrap: string;
68
+ width: string;
69
+ display: string;
70
+ alignItems: string;
71
+ color: string | undefined;
72
+ };
73
+ '& .M4LIconButton-root': {
74
+ '& .M4LIcon-icon': {
75
+ backgroundColor: string | undefined;
76
+ };
77
+ '&:active': {
78
+ '& .M4LIcon-icon': {
79
+ backgroundColor: string | undefined;
80
+ };
81
+ };
82
+ '&:hover': {
83
+ '& .M4LIcon-icon': {
84
+ backgroundColor: string | undefined;
85
+ };
86
+ };
87
+ };
88
+ background: string;
89
+ height?: undefined;
90
+ display?: undefined;
91
+ justifyContent?: undefined;
92
+ width?: undefined;
93
+ '&.M4LIconButton-variantPrimary'?: undefined;
94
+ } | {
95
+ backgroundColor: string;
96
+ border: string;
97
+ textWrap: string;
98
+ width: string;
99
+ display: string;
100
+ alignItems: string;
101
+ color: string;
102
+ height?: undefined;
103
+ justifyContent?: undefined;
104
+ '&.M4LIconButton-variantPrimary'?: undefined;
105
+ } | {
106
+ display: string;
107
+ justifyContent: string;
108
+ width: string;
109
+ height: string;
110
+ '&.M4LIconButton-variantPrimary': {
111
+ background: string;
112
+ };
113
+ };
114
+ display: string;
115
+ boxShadow: string;
116
+ borderRadius: string;
117
+ height: string;
118
+ gap: string;
119
+ paddingLeft: string;
120
+ marginRight: string;
121
+ '&.M4LAreasAdmin-selected': {
122
+ color: string;
123
+ '& .M4LAreasAdmin-areaChipTitle': {
124
+ backgroundColor: string;
125
+ border: string;
126
+ textWrap: string;
127
+ width: string;
128
+ display: string;
129
+ alignItems: string;
130
+ color: string | undefined;
131
+ };
132
+ '& .M4LIconButton-root': {
133
+ '& .M4LIcon-icon': {
134
+ backgroundColor: string | undefined;
135
+ };
136
+ '&:active': {
137
+ '& .M4LIcon-icon': {
138
+ backgroundColor: string | undefined;
139
+ };
140
+ };
141
+ '&:hover': {
142
+ '& .M4LIcon-icon': {
143
+ backgroundColor: string | undefined;
144
+ };
145
+ };
146
+ };
147
+ background: string;
148
+ };
149
+ '& .M4LAreasAdmin-areaChipTitle': {
150
+ backgroundColor: string;
151
+ border: string;
152
+ textWrap: string;
153
+ width: string;
154
+ display: string;
155
+ alignItems: string;
156
+ color: string;
157
+ };
158
+ '& .M4LIconButton-root': {
159
+ display: string;
160
+ justifyContent: string;
161
+ width: string;
162
+ height: string;
163
+ '&.M4LIconButton-variantPrimary': {
164
+ background: string;
165
+ };
166
+ };
167
+ };
168
+ };
6
169
  width: string;
170
+ height: string;
171
+ test: string;
172
+ borderRadius: string;
173
+ paddingRight: string;
174
+ alignItems: string;
175
+ background: string;
176
+ boxShadow: string;
177
+ borderTop: string;
178
+ borderColor: string;
179
+ '& .M4LAreasAdmin-areaIconLayer': {
180
+ background: string;
181
+ display: string;
182
+ justifyContent: string;
183
+ width: string;
184
+ height: string;
185
+ };
7
186
  '& .M4LAreasAdmin-areaContainerChips': {
8
187
  display: string;
9
188
  overflow: string;
189
+ gap: string;
190
+ padding: string;
10
191
  width: string;
11
- '& .M4LAreasAdmin-areaChipRoot': {
192
+ justifyContent: string;
193
+ background: string;
194
+ height: string;
195
+ alignItems: string;
196
+ paddingLeft: string;
197
+ '& .MuiBox-root': {
198
+ display: string;
199
+ alignItems: string;
200
+ height: string;
201
+ };
202
+ '& .simplebar-content': {
203
+ display: string;
204
+ gap: string;
205
+ alignItems: string;
206
+ };
207
+ '& .M4LAreasAdmin-areaChipRoot ': {
208
+ [x: string]: string | {
209
+ height: string;
210
+ display?: undefined;
211
+ justifyContent?: undefined;
212
+ width?: undefined;
213
+ '&.M4LIconButton-variantPrimary'?: undefined;
214
+ } | {
215
+ color: string;
216
+ '& .M4LAreasAdmin-areaChipTitle': {
217
+ backgroundColor: string;
218
+ border: string;
219
+ textWrap: string;
220
+ width: string;
221
+ display: string;
222
+ alignItems: string;
223
+ color: string | undefined;
224
+ };
225
+ '& .M4LIconButton-root': {
226
+ '& .M4LIcon-icon': {
227
+ backgroundColor: string | undefined;
228
+ };
229
+ '&:active': {
230
+ '& .M4LIcon-icon': {
231
+ backgroundColor: string | undefined;
232
+ };
233
+ };
234
+ '&:hover': {
235
+ '& .M4LIcon-icon': {
236
+ backgroundColor: string | undefined;
237
+ };
238
+ };
239
+ };
240
+ background: string;
241
+ height?: undefined;
242
+ display?: undefined;
243
+ justifyContent?: undefined;
244
+ width?: undefined;
245
+ '&.M4LIconButton-variantPrimary'?: undefined;
246
+ } | {
247
+ backgroundColor: string;
248
+ border: string;
249
+ textWrap: string;
250
+ width: string;
251
+ display: string;
252
+ alignItems: string;
253
+ color: string;
254
+ height?: undefined;
255
+ justifyContent?: undefined;
256
+ '&.M4LIconButton-variantPrimary'?: undefined;
257
+ } | {
258
+ display: string;
259
+ justifyContent: string;
260
+ width: string;
261
+ height: string;
262
+ '&.M4LIconButton-variantPrimary': {
263
+ background: string;
264
+ };
265
+ };
266
+ display: string;
267
+ boxShadow: string;
268
+ borderRadius: string;
269
+ height: string;
270
+ gap: string;
271
+ paddingLeft: string;
272
+ marginRight: string;
273
+ '&.M4LAreasAdmin-selected': {
274
+ color: string;
275
+ '& .M4LAreasAdmin-areaChipTitle': {
276
+ backgroundColor: string;
277
+ border: string;
278
+ textWrap: string;
279
+ width: string;
280
+ display: string;
281
+ alignItems: string;
282
+ color: string | undefined;
283
+ };
284
+ '& .M4LIconButton-root': {
285
+ '& .M4LIcon-icon': {
286
+ backgroundColor: string | undefined;
287
+ };
288
+ '&:active': {
289
+ '& .M4LIcon-icon': {
290
+ backgroundColor: string | undefined;
291
+ };
292
+ };
293
+ '&:hover': {
294
+ '& .M4LIcon-icon': {
295
+ backgroundColor: string | undefined;
296
+ };
297
+ };
298
+ };
299
+ background: string;
300
+ };
12
301
  '& .M4LAreasAdmin-areaChipTitle': {
302
+ backgroundColor: string;
303
+ border: string;
13
304
  textWrap: string;
305
+ width: string;
306
+ display: string;
307
+ alignItems: string;
308
+ color: string;
309
+ };
310
+ '& .M4LIconButton-root': {
311
+ display: string;
312
+ justifyContent: string;
313
+ width: string;
314
+ height: string;
315
+ '&.M4LIconButton-variantPrimary': {
316
+ background: string;
317
+ };
14
318
  };
15
319
  };
16
320
  };
@@ -1,9 +1,156 @@
1
1
  import { Theme } from '@mui/material/styles';
2
- export declare const M4LAreasViewer: (_theme: Theme) => {
2
+ export declare const M4LAreasViewer: (theme: Theme) => {
3
3
  M4LAreasViewer: {
4
4
  styleOverrides: {
5
5
  '&.M4LAreasViewer-root': {
6
6
  test: string;
7
+ background: string;
8
+ '& .M4LAreasViewer-areaGridLayout': {
9
+ "& .M4LAreasViewer-windowRoot": {
10
+ background: string;
11
+ border: string;
12
+ boxShadow: string;
13
+ borderRadius: string;
14
+ display: string;
15
+ '& .react-resizable-handle': {
16
+ backgroundColor: string;
17
+ };
18
+ "& .M4LAreasViewer-windowRootContainer": {
19
+ display: string;
20
+ flexDirection: string;
21
+ width: string;
22
+ height: string;
23
+ };
24
+ "& .M4LAreasViewer-windowHeader": {
25
+ background: string;
26
+ padding: string;
27
+ height: string;
28
+ borderRadius: string;
29
+ boxShadow: string;
30
+ borderTop: string;
31
+ borderColor: string;
32
+ "& .M4LTypography-root .MuiTypography-root": {
33
+ color: string;
34
+ };
35
+ };
36
+ "& .M4LAreasViewer-windowContent": {
37
+ margin: string;
38
+ background: string;
39
+ borderRadius: string;
40
+ display: string;
41
+ flexDirection: string;
42
+ alignItems: string;
43
+ justifyContent: string;
44
+ };
45
+ "&.M4LAreasViewer-selectedWindow": {
46
+ border: string;
47
+ borderColor: string;
48
+ boxShadow: string | undefined;
49
+ "& .M4LAreasViewer-windowHeader": {
50
+ background: string;
51
+ "& .M4LTypography-root .MuiTypography-root": {
52
+ [x: string]: any;
53
+ };
54
+ };
55
+ };
56
+ };
57
+ };
58
+ '& .M4LAreasViewer-panelWindowsRoot': {
59
+ '& .M4LAreasViewer-panelWindowsButtonContainer': {
60
+ border: string;
61
+ borderColor: string;
62
+ '&.M4LAreasViewer-selected': {
63
+ borderColor: string;
64
+ };
65
+ };
66
+ };
67
+ "& .M4LAreasViewer-windowPopupRoot": {
68
+ boxShadow: string;
69
+ "& .M4LAreasViewer-windowRoot": {
70
+ padding: string;
71
+ background: string;
72
+ borderRadius: string;
73
+ border: string;
74
+ borderColor: string;
75
+ backdropFilter: string;
76
+ '& > .react-resizable-handle': {
77
+ backgroundColor: string;
78
+ };
79
+ "& .M4LAreasViewer-windowRootContainer": {
80
+ background: string;
81
+ borderRadius: string;
82
+ "& .M4LAreasViewer-windowHeader": {
83
+ height: string;
84
+ minHeight: string;
85
+ padding: string;
86
+ boxShadow: string;
87
+ "& .M4LTypography-root .MuiTypography-root": {
88
+ color: string;
89
+ };
90
+ };
91
+ };
92
+ "&.M4LAreasViewer-selectedWindow": {
93
+ border: string;
94
+ borderColor: string;
95
+ background: string;
96
+ boxShadow: string;
97
+ padding: string;
98
+ "& .M4LAreasViewer-windowHeader": {
99
+ background: string;
100
+ padding: string;
101
+ height: string;
102
+ borderRadius: string;
103
+ boxShadow: string;
104
+ borderTop: string;
105
+ borderColor: string;
106
+ "& .M4LTypography-root .MuiTypography-root": {
107
+ color: string;
108
+ };
109
+ };
110
+ };
111
+ };
112
+ };
113
+ "& .M4LAreasViewer-windowModalRoot": {
114
+ background: string;
115
+ borderRadius: string;
116
+ boxShadow: string;
117
+ "& .M4LAreasViewer-windowRoot": {
118
+ background: string;
119
+ margin: string;
120
+ padding: string;
121
+ borderRadius: string;
122
+ '& .react-resizable-handle': {
123
+ backgroundColor: string;
124
+ };
125
+ '& .M4LAreasViewer-windowRootContainer': {
126
+ display: string;
127
+ flexDirection: string;
128
+ height: string;
129
+ "& .M4LAreasViewer-windowHeader": {
130
+ height: string;
131
+ minHeight: string;
132
+ padding: string;
133
+ boxShadow: string;
134
+ background: string;
135
+ borderColor: string;
136
+ "& .M4LTypography-root .MuiTypography-root": {
137
+ color: string;
138
+ };
139
+ };
140
+ "& .M4LAreasViewer-windowContent": {
141
+ margin: string;
142
+ background: string;
143
+ borderRadius: string;
144
+ display: string;
145
+ flexDirection: string;
146
+ alignItems: string;
147
+ justifyContent: string;
148
+ flexGrow: string;
149
+ height: string;
150
+ };
151
+ };
152
+ };
153
+ };
7
154
  };
8
155
  };
9
156
  };