@m4l/styles 0.0.21 → 0.0.23
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 +10 -10
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.81e20130.js → defaultThemeOptions.605b5b1a.js} +5 -5
- package/theme/index.c8a2f20d.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +47 -26
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +5604 -190
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +14 -2
- package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +4 -1
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +4 -0
- package/theme/overrides/M4LExtendedComponents/M4LCheckBox.d.ts +56 -0
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +450 -0
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +21 -2
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +6 -0
- package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +110 -0
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +4 -0
- package/theme/overrides/M4LExtendedComponents/{index.9ecb9eb5.js → index.566e183a.js} +642 -108
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +64 -30
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +1 -0
- package/theme/overrides/M4LRHFComponents/{index.e3118e8b.js → index.0e107243.js} +67 -38
- package/theme/overrides/MUIComponents/Autocomplete.d.ts +13 -2
- package/theme/overrides/MUIComponents/DataGrid.d.ts +1 -1616
- package/theme/overrides/MUIComponents/{index.25926753.js → index.b9c696e9.js} +37 -26
- package/theme/overrides/index.ed4b5bcb.js +93 -0
- package/theme/{palette.ad96498c.js → palette.688aaf56.js} +3 -3
- package/theme/{shadows.c56e8ae9.js → shadows.1b2f7a87.js} +1 -1
- package/theme/{typography.39389e10.js → typography.86a19de9.js} +4 -4
- package/utils/{getColorPresets.82f91ceb.js → getColorPresets.8106cfef.js} +1 -1
- package/utils/{getColorState.0e5b3a7c.js → getColorState.7b615773.js} +33 -33
- package/theme/index.38ad102a.js +0 -7
- package/theme/overrides/index.05460ef6.js +0 -90
|
@@ -3,10 +3,70 @@ export declare const M4LRHFAutocomplete: (theme: Theme) => {
|
|
|
3
3
|
M4LRHFAutocomplete: {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
'&.M4LRHFAutocomplete-root': {
|
|
6
|
+
height: string;
|
|
6
7
|
display: string;
|
|
7
8
|
flexDirection: string;
|
|
8
9
|
width: string;
|
|
9
10
|
gap: string;
|
|
11
|
+
'& .MuiAutocomplete-root': {
|
|
12
|
+
height: string;
|
|
13
|
+
'& .MuiFormControl-root': {
|
|
14
|
+
height: string;
|
|
15
|
+
'& .MuiInputBase-root': {
|
|
16
|
+
position: string;
|
|
17
|
+
height: string;
|
|
18
|
+
'& .MuiInputBase-input': {
|
|
19
|
+
boxSizing: string;
|
|
20
|
+
color: string;
|
|
21
|
+
backgroundColor: string;
|
|
22
|
+
height: string;
|
|
23
|
+
padding: string;
|
|
24
|
+
};
|
|
25
|
+
'& .M4LRHFAutocomplete-iconDown': {};
|
|
26
|
+
'& .MuiOutlinedInput-notchedOutline': {
|
|
27
|
+
inset: string;
|
|
28
|
+
height: string;
|
|
29
|
+
'& legend': {
|
|
30
|
+
display: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
'& .M4LRHFAutocomplete-skeletonRoot': {
|
|
37
|
+
display: string;
|
|
38
|
+
flexDirection: string;
|
|
39
|
+
gap: string;
|
|
40
|
+
width: string;
|
|
41
|
+
'& .M4LRHFAutocomplete-skeleton': {
|
|
42
|
+
[x: string]: string | {
|
|
43
|
+
width: string;
|
|
44
|
+
height?: undefined;
|
|
45
|
+
overflow?: undefined;
|
|
46
|
+
margin?: undefined;
|
|
47
|
+
} | {
|
|
48
|
+
width: string;
|
|
49
|
+
height: string;
|
|
50
|
+
overflow: string;
|
|
51
|
+
margin: string;
|
|
52
|
+
};
|
|
53
|
+
width: string;
|
|
54
|
+
display: string;
|
|
55
|
+
justifyContent: string;
|
|
56
|
+
alignItems: string;
|
|
57
|
+
height: string;
|
|
58
|
+
border: string;
|
|
59
|
+
borderRadius: string;
|
|
60
|
+
padding: string;
|
|
61
|
+
overflow: string;
|
|
62
|
+
'& .M4LRHFAutocomplete-skeletonContainerText': {
|
|
63
|
+
width: string;
|
|
64
|
+
height: string;
|
|
65
|
+
overflow: string;
|
|
66
|
+
margin: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
10
70
|
"& .MuiAutocomplete-root .MuiFormControl-root .MuiInputBase-root": {
|
|
11
71
|
padding: string;
|
|
12
72
|
};
|
|
@@ -20,30 +80,6 @@ export declare const M4LRHFAutocomplete: (theme: Theme) => {
|
|
|
20
80
|
'& .MuiAutocomplete-root .MuiInputBase-root': {
|
|
21
81
|
padding: string;
|
|
22
82
|
heigth: string;
|
|
23
|
-
'& .MuiInputBase-input': {
|
|
24
|
-
heigth: string;
|
|
25
|
-
color: string;
|
|
26
|
-
padding: string;
|
|
27
|
-
backgroundColor: string;
|
|
28
|
-
};
|
|
29
|
-
'& .MuiInputAdornment-root': {
|
|
30
|
-
margin: string;
|
|
31
|
-
padding: string;
|
|
32
|
-
};
|
|
33
|
-
'& .M4LIcon-icon': {
|
|
34
|
-
backgroundColor: string;
|
|
35
|
-
transition: string;
|
|
36
|
-
};
|
|
37
|
-
'& .MuiOutlinedInput-notchedOutline': {
|
|
38
|
-
border: string;
|
|
39
|
-
borderColor: string;
|
|
40
|
-
borderRadius: string;
|
|
41
|
-
inset: string;
|
|
42
|
-
transition: string;
|
|
43
|
-
'& legend': {
|
|
44
|
-
display: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
83
|
};
|
|
48
84
|
'&:hover': {
|
|
49
85
|
'& .M4LRHFAutocomplete-label': {
|
|
@@ -120,15 +156,13 @@ export declare const M4LRHFAutocomplete: (theme: Theme) => {
|
|
|
120
156
|
};
|
|
121
157
|
};
|
|
122
158
|
'&.M4LRHFAutocomplete-sizeSmall': {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
padding: string;
|
|
159
|
+
"& .M4LRHFAutocomplete-skeleton,\n & .MuiAutocomplete-root": {
|
|
160
|
+
height: string;
|
|
126
161
|
};
|
|
127
162
|
};
|
|
128
163
|
'&.M4LRHFAutocomplete-sizeMedium': {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
padding: string;
|
|
164
|
+
"& .M4LRHFAutocomplete-skeleton,\n & .MuiAutocomplete-root": {
|
|
165
|
+
height: string;
|
|
132
166
|
};
|
|
133
167
|
};
|
|
134
168
|
};
|
|
@@ -8,7 +8,7 @@ const n = (t) => ({
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
}),
|
|
11
|
+
}), l = (t) => ({
|
|
12
12
|
M4LRHFTextField: {
|
|
13
13
|
styleOverrides: {
|
|
14
14
|
"&.M4LRHFTextField-root": {
|
|
@@ -31,7 +31,7 @@ const n = (t) => ({
|
|
|
31
31
|
},
|
|
32
32
|
"& .MuiInputAdornment-root": {
|
|
33
33
|
margin: "0px",
|
|
34
|
-
padding: "0px"
|
|
34
|
+
padding: "0px 4px 0 0"
|
|
35
35
|
},
|
|
36
36
|
"& .M4LIcon-icon": {
|
|
37
37
|
backgroundColor: t.palette.text.secondary,
|
|
@@ -153,7 +153,7 @@ const n = (t) => ({
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
}),
|
|
156
|
+
}), r = (t) => ({
|
|
157
157
|
M4LRHFCheckbox: {
|
|
158
158
|
styleOverrides: {
|
|
159
159
|
"&.M4LRHFCheckbox-root": {
|
|
@@ -220,10 +220,63 @@ const n = (t) => ({
|
|
|
220
220
|
M4LRHFAutocomplete: {
|
|
221
221
|
styleOverrides: {
|
|
222
222
|
"&.M4LRHFAutocomplete-root": {
|
|
223
|
+
height: "auto",
|
|
223
224
|
display: "flex",
|
|
224
225
|
flexDirection: "column",
|
|
225
226
|
width: "100%",
|
|
226
227
|
gap: "4px",
|
|
228
|
+
"& .MuiAutocomplete-root": {
|
|
229
|
+
height: "auto",
|
|
230
|
+
"& .MuiFormControl-root": {
|
|
231
|
+
height: "100%",
|
|
232
|
+
"& .MuiInputBase-root": {
|
|
233
|
+
position: "relative",
|
|
234
|
+
height: "100%",
|
|
235
|
+
"& .MuiInputBase-input": {
|
|
236
|
+
boxSizing: "border-box",
|
|
237
|
+
color: t.palette.text.secondary,
|
|
238
|
+
backgroundColor: "transparent",
|
|
239
|
+
height: "auto",
|
|
240
|
+
padding: "2px 2px 2px 8px",
|
|
241
|
+
...t.typography.body
|
|
242
|
+
},
|
|
243
|
+
"& .M4LRHFAutocomplete-iconDown": {},
|
|
244
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
245
|
+
inset: "0",
|
|
246
|
+
height: "unset",
|
|
247
|
+
"& legend": {
|
|
248
|
+
display: "none"
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"& .M4LRHFAutocomplete-skeletonRoot": {
|
|
255
|
+
display: "flex",
|
|
256
|
+
flexDirection: "column",
|
|
257
|
+
gap: "4px",
|
|
258
|
+
width: "100%",
|
|
259
|
+
"& .M4LRHFAutocomplete-skeleton": {
|
|
260
|
+
width: "100%",
|
|
261
|
+
display: "flex",
|
|
262
|
+
justifyContent: "space-between",
|
|
263
|
+
alignItems: "center",
|
|
264
|
+
height: `${t.spacing(4.5)}`,
|
|
265
|
+
border: `1px solid ${t.palette.divider}`,
|
|
266
|
+
borderRadius: `${t.spacing(1)}`,
|
|
267
|
+
padding: `0 ${t.spacing(2)}`,
|
|
268
|
+
overflow: "hidden",
|
|
269
|
+
[t.breakpoints.down("md")]: {
|
|
270
|
+
width: "100%"
|
|
271
|
+
},
|
|
272
|
+
"& .M4LRHFAutocomplete-skeletonContainerText": {
|
|
273
|
+
width: "100%",
|
|
274
|
+
height: "auto",
|
|
275
|
+
overflow: "hidden",
|
|
276
|
+
margin: t.spacing(1.5)
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
},
|
|
227
280
|
"& .MuiAutocomplete-root .MuiFormControl-root .MuiInputBase-root": {
|
|
228
281
|
padding: "0"
|
|
229
282
|
},
|
|
@@ -236,32 +289,7 @@ const n = (t) => ({
|
|
|
236
289
|
},
|
|
237
290
|
"& .MuiAutocomplete-root .MuiInputBase-root": {
|
|
238
291
|
padding: "0p 8px",
|
|
239
|
-
heigth: "100%"
|
|
240
|
-
"& .MuiInputBase-input": {
|
|
241
|
-
color: t.palette.text.secondary,
|
|
242
|
-
padding: "4px",
|
|
243
|
-
backgroundColor: "transparent",
|
|
244
|
-
...t.typography.body,
|
|
245
|
-
heigth: "100%"
|
|
246
|
-
},
|
|
247
|
-
"& .MuiInputAdornment-root": {
|
|
248
|
-
margin: "0px",
|
|
249
|
-
padding: "0px"
|
|
250
|
-
},
|
|
251
|
-
"& .M4LIcon-icon": {
|
|
252
|
-
backgroundColor: t.palette.text.secondary,
|
|
253
|
-
transition: "all .3s ease"
|
|
254
|
-
},
|
|
255
|
-
"& .MuiOutlinedInput-notchedOutline": {
|
|
256
|
-
border: "1px solid",
|
|
257
|
-
borderColor: t.palette.divider,
|
|
258
|
-
borderRadius: "4px",
|
|
259
|
-
inset: "0px",
|
|
260
|
-
transition: "all .3s ease",
|
|
261
|
-
"& legend": {
|
|
262
|
-
display: "none"
|
|
263
|
-
}
|
|
264
|
-
}
|
|
292
|
+
heigth: "100%"
|
|
265
293
|
},
|
|
266
294
|
"&:hover": {
|
|
267
295
|
"& .M4LRHFAutocomplete-label": {
|
|
@@ -338,15 +366,15 @@ const n = (t) => ({
|
|
|
338
366
|
}
|
|
339
367
|
},
|
|
340
368
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
369
|
+
[`& .M4LRHFAutocomplete-skeleton,
|
|
370
|
+
& .MuiAutocomplete-root`]: {
|
|
371
|
+
height: "28px"
|
|
344
372
|
}
|
|
345
373
|
},
|
|
346
374
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
375
|
+
[`& .M4LRHFAutocomplete-skeleton,
|
|
376
|
+
& .MuiAutocomplete-root`]: {
|
|
377
|
+
height: "36px"
|
|
350
378
|
}
|
|
351
379
|
}
|
|
352
380
|
}
|
|
@@ -366,7 +394,8 @@ const n = (t) => ({
|
|
|
366
394
|
M4LRHFAutocompleteAsync: {
|
|
367
395
|
styleOverrides: {
|
|
368
396
|
"&.M4LRHFAutocompleteAsync-root": {
|
|
369
|
-
width: "100%"
|
|
397
|
+
width: "100%",
|
|
398
|
+
height: "auto"
|
|
370
399
|
}
|
|
371
400
|
}
|
|
372
401
|
}
|
|
@@ -681,12 +710,12 @@ const n = (t) => ({
|
|
|
681
710
|
}
|
|
682
711
|
});
|
|
683
712
|
export {
|
|
684
|
-
|
|
713
|
+
l as M,
|
|
685
714
|
n as a,
|
|
686
715
|
u as b,
|
|
687
716
|
p as c,
|
|
688
717
|
d,
|
|
689
718
|
s as e,
|
|
690
719
|
M as f,
|
|
691
|
-
|
|
720
|
+
r as g
|
|
692
721
|
};
|
|
@@ -3,19 +3,30 @@ export default function Autocomplete(theme: Theme): {
|
|
|
3
3
|
MuiAutocomplete: {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
root: {
|
|
6
|
+
height: string;
|
|
6
7
|
'& .MuiInputBase-root': {
|
|
8
|
+
[x: string]: string | {
|
|
9
|
+
height: string;
|
|
10
|
+
minHeight: string;
|
|
11
|
+
};
|
|
7
12
|
padding: string;
|
|
13
|
+
borderRadius: string;
|
|
14
|
+
minHeight: string;
|
|
8
15
|
};
|
|
9
16
|
};
|
|
10
17
|
paper: {
|
|
11
18
|
boxShadow: string;
|
|
12
19
|
};
|
|
13
20
|
listbox: {
|
|
21
|
+
display: string;
|
|
22
|
+
flexDirection: string;
|
|
23
|
+
gap: string;
|
|
14
24
|
padding: string;
|
|
25
|
+
borderRadius: string;
|
|
15
26
|
'& .MuiAutocomplete-option': {
|
|
16
27
|
padding: string;
|
|
17
|
-
|
|
18
|
-
|
|
28
|
+
borderRadius: string;
|
|
29
|
+
height: string;
|
|
19
30
|
};
|
|
20
31
|
};
|
|
21
32
|
};
|