@m4l/styles 0.0.46 → 0.0.48
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 +37 -37
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.656b9eff.js → defaultThemeOptions.348dc196.js} +8 -11
- package/theme/index.34d0fdea.js +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +8 -3
- package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +20 -139
- package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +18 -3
- package/theme/overrides/M4LExtendedComponents/{index.af978cd0.js → index.fbdb0818.js} +154 -137
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +37 -0
- package/theme/overrides/M4LRHFComponents/{index.02fada22.js → index.f37c2406.js} +43 -6
- package/theme/overrides/MUIComponents/{index.b3f5b7a7.js → index.d2b98b86.js} +41 -98
- package/theme/overrides/index.155beeb3.js +110 -0
- package/theme/{typography.ed54f014.js → typography.8878fde5.js} +24 -32
- package/types/augmentations.d.ts +121 -121
- package/types/types.d.ts +24 -24
- package/utils/{getColorState.7b9634af.js → getColorState.6c23eada.js} +2 -7
- package/vite-env.d.ts +3 -3
- package/theme/index.bc975e94.js +0 -7
- package/theme/overrides/MUIComponents/Dialog.d.ts +0 -55
- package/theme/overrides/index.d6e1b6ee.js +0 -111
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 j,
|
|
1
|
+
import { g as f, m as x } from "./config.5405b46b.js";
|
|
2
|
+
import { d as g } from "./theme/defaultThemeOptions.348dc196.js";
|
|
3
|
+
import { c as u, s as d } from "./theme/shadows.86540b18.js";
|
|
4
|
+
import { P as S, p as C } from "./theme/palette.0590e8a6.js";
|
|
5
|
+
import { t as R } from "./theme/typography.8878fde5.js";
|
|
6
|
+
import { f as c } from "./theme/overrides/index.155beeb3.js";
|
|
7
|
+
import { u as T } from "./utils/useResponsive.2c45e8e0.js";
|
|
8
|
+
import { g as w } from "./utils/getColorState.6c23eada.js";
|
|
9
|
+
import { e as y, b as F, c as V, d as k, g as q, a as A, t as B } from "./utils/getColorPresets.2a91ffaf.js";
|
|
10
|
+
import { g as N, p as U, a as j, r as D } from "./utils/getFontValue.88831637.js";
|
|
11
|
+
import "@mui/material";
|
|
11
12
|
import "@mui/material/styles";
|
|
12
|
-
import "
|
|
13
|
+
import "./theme/overrides/MUIComponents/index.d2b98b86.js";
|
|
14
|
+
import "./theme/overrides/M4LExtendedComponents/index.fbdb0818.js";
|
|
13
15
|
import "@mui/system";
|
|
14
|
-
import "
|
|
15
|
-
import "
|
|
16
|
-
import "./theme/overrides/M4LExtendedComponents/index.af978cd0.js";
|
|
17
|
-
import "./theme/overrides/M4LRHFComponents/index.02fada22.js";
|
|
16
|
+
import "./theme/overrides/M4LRHFComponents/index.f37c2406.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
|
+
S as PATRONUSCOLORS,
|
|
20
|
+
y as blaze,
|
|
21
|
+
F as brown,
|
|
22
|
+
V as colorPresets,
|
|
23
|
+
u as createCustomShadows,
|
|
24
|
+
k as defaultPreset,
|
|
25
|
+
g as defaultThemeOptions,
|
|
26
|
+
c as fnComponentsOverrides,
|
|
27
|
+
q as getColorPresets,
|
|
28
|
+
w as getColorState,
|
|
29
|
+
N as getFontValue,
|
|
30
|
+
f as globalRemSize,
|
|
31
|
+
A as grass,
|
|
32
|
+
x as muiBreakpointsValues,
|
|
33
|
+
C as palette,
|
|
34
|
+
U as pxToRem,
|
|
35
|
+
j as remToPx,
|
|
36
|
+
D as responsiveFontSizes,
|
|
37
|
+
d as shadows,
|
|
38
|
+
B as turqui,
|
|
39
|
+
R as typography,
|
|
40
|
+
T as useResponsive
|
|
41
41
|
};
|
package/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import "
|
|
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";
|
|
1
|
+
import { t as a } from "./typography.8878fde5.js";
|
|
6
2
|
import { p as o } from "./palette.0590e8a6.js";
|
|
7
3
|
import { alpha as s } from "@mui/material";
|
|
8
|
-
import { s as
|
|
9
|
-
import { g as
|
|
10
|
-
|
|
4
|
+
import { s as e, c as p } from "./shadows.86540b18.js";
|
|
5
|
+
import { g as r } from "../utils/getColorPresets.2a91ffaf.js";
|
|
6
|
+
import { g as m } from "../utils/getColorState.6c23eada.js";
|
|
7
|
+
const f = {
|
|
11
8
|
typography: a,
|
|
12
9
|
palette: {
|
|
13
10
|
...o.dark,
|
|
@@ -17,14 +14,14 @@ const k = {
|
|
|
17
14
|
},
|
|
18
15
|
shape: { borderRadius: 8 },
|
|
19
16
|
direction: "rtl",
|
|
20
|
-
shadows:
|
|
17
|
+
shadows: e.dark,
|
|
21
18
|
customShadows: {
|
|
22
19
|
primary: `0 8px 16px 0 ${s(r("patronus").main, 0.2)}`,
|
|
23
|
-
...
|
|
20
|
+
...p("dark")
|
|
24
21
|
},
|
|
25
22
|
stretch: !0,
|
|
26
23
|
spacing: (t) => `${0.5 * t}rem`
|
|
27
24
|
};
|
|
28
25
|
export {
|
|
29
|
-
|
|
26
|
+
f as d
|
|
30
27
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -592,6 +592,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
592
592
|
[x: string]: string | {
|
|
593
593
|
padding: string;
|
|
594
594
|
minWidth: string;
|
|
595
|
+
maxWidth: string;
|
|
595
596
|
minHeight: string;
|
|
596
597
|
boxShadow: string;
|
|
597
598
|
'& .M4LPopover-arrowStyle': {
|
|
@@ -601,6 +602,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
601
602
|
gap: string;
|
|
602
603
|
width: string;
|
|
603
604
|
minWidth: string;
|
|
605
|
+
maxWidth: string;
|
|
604
606
|
height: string;
|
|
605
607
|
'& .M4LDynamicFilter-popoverFilterHeader': {
|
|
606
608
|
background: string;
|
|
@@ -621,7 +623,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
621
623
|
};
|
|
622
624
|
'& .M4LDynamicFilter-popoverContainerFields': {
|
|
623
625
|
height: string;
|
|
624
|
-
"& .M4LDynamicFilter-containerStringFilter,\n & .M4LDynamicFilter-containerBooleanFilter,\n & .M4LDynamicFilter-containerNumberFilter,\n & .M4LDynamicFilter-containerDateTimeFilter\n ": {
|
|
626
|
+
"& .M4LDynamicFilter-containerStringFilter,\n & .M4LDynamicFilter-containerBooleanFilter,\n & .M4LDynamicFilter-containerNumberFilter,\n & .M4LDynamicFilter-containerDateTimeFilter,\n & .M4LDynamicFilter-containerSelectFilter\n ": {
|
|
625
627
|
display: string;
|
|
626
628
|
height: string;
|
|
627
629
|
flexDirection: string;
|
|
@@ -655,7 +657,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
655
657
|
};
|
|
656
658
|
'& .M4LDynamicFilter-popoverContainerFields': {
|
|
657
659
|
height: string;
|
|
658
|
-
"& .M4LDynamicFilter-containerStringFilter,\n & .M4LDynamicFilter-containerBooleanFilter,\n & .M4LDynamicFilter-containerNumberFilter,\n & .M4LDynamicFilter-containerDateTimeFilter\n ": {
|
|
660
|
+
"& .M4LDynamicFilter-containerStringFilter,\n & .M4LDynamicFilter-containerBooleanFilter,\n & .M4LDynamicFilter-containerNumberFilter,\n & .M4LDynamicFilter-containerDateTimeFilter,\n & .M4LDynamicFilter-containerSelectFilter\n ": {
|
|
659
661
|
display: string;
|
|
660
662
|
height: string;
|
|
661
663
|
flexDirection: string;
|
|
@@ -676,6 +678,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
676
678
|
};
|
|
677
679
|
padding?: undefined;
|
|
678
680
|
minWidth?: undefined;
|
|
681
|
+
maxWidth?: undefined;
|
|
679
682
|
minHeight?: undefined;
|
|
680
683
|
boxShadow?: undefined;
|
|
681
684
|
'& .M4LPopover-arrowStyle'?: undefined;
|
|
@@ -685,6 +688,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
685
688
|
'& .M4LDynamicFilter-popoverFilterPaper': {
|
|
686
689
|
padding: string;
|
|
687
690
|
minWidth: string;
|
|
691
|
+
maxWidth: string;
|
|
688
692
|
minHeight: string;
|
|
689
693
|
boxShadow: string;
|
|
690
694
|
'& .M4LPopover-arrowStyle': {
|
|
@@ -694,6 +698,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
694
698
|
gap: string;
|
|
695
699
|
width: string;
|
|
696
700
|
minWidth: string;
|
|
701
|
+
maxWidth: string;
|
|
697
702
|
height: string;
|
|
698
703
|
'& .M4LDynamicFilter-popoverFilterHeader': {
|
|
699
704
|
background: string;
|
|
@@ -714,7 +719,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
714
719
|
};
|
|
715
720
|
'& .M4LDynamicFilter-popoverContainerFields': {
|
|
716
721
|
height: string;
|
|
717
|
-
"& .M4LDynamicFilter-containerStringFilter,\n & .M4LDynamicFilter-containerBooleanFilter,\n & .M4LDynamicFilter-containerNumberFilter,\n & .M4LDynamicFilter-containerDateTimeFilter\n ": {
|
|
722
|
+
"& .M4LDynamicFilter-containerStringFilter,\n & .M4LDynamicFilter-containerBooleanFilter,\n & .M4LDynamicFilter-containerNumberFilter,\n & .M4LDynamicFilter-containerDateTimeFilter,\n & .M4LDynamicFilter-containerSelectFilter\n ": {
|
|
718
723
|
display: string;
|
|
719
724
|
height: string;
|
|
720
725
|
flexDirection: string;
|
|
@@ -4,145 +4,7 @@ export declare const M4LModalDialog: (theme: Theme) => {
|
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
'&.M4LModal-root': {
|
|
6
6
|
test: string;
|
|
7
|
-
'& .MuiPaper-root
|
|
8
|
-
[x: string]: string | {
|
|
9
|
-
width: string;
|
|
10
|
-
height: string;
|
|
11
|
-
maxHeight: string;
|
|
12
|
-
borderColor: string;
|
|
13
|
-
display?: undefined;
|
|
14
|
-
flexDirection?: undefined;
|
|
15
|
-
justifyContent?: undefined;
|
|
16
|
-
alignItems?: undefined;
|
|
17
|
-
overflow?: undefined;
|
|
18
|
-
background?: undefined;
|
|
19
|
-
boxShadow?: undefined;
|
|
20
|
-
borderRadius?: undefined;
|
|
21
|
-
'& .M4LCommonActions-root'?: undefined;
|
|
22
|
-
'& .M4LModal-containerMassageIlustration'?: undefined;
|
|
23
|
-
'& .M4LModal-headerContainer'?: undefined;
|
|
24
|
-
'& .M4LModal-windowContent'?: undefined;
|
|
25
|
-
} | {
|
|
26
|
-
display: string;
|
|
27
|
-
flexDirection: string;
|
|
28
|
-
width: string;
|
|
29
|
-
height: string;
|
|
30
|
-
maxHeight?: undefined;
|
|
31
|
-
borderColor?: undefined;
|
|
32
|
-
justifyContent?: undefined;
|
|
33
|
-
alignItems?: undefined;
|
|
34
|
-
overflow?: undefined;
|
|
35
|
-
background?: undefined;
|
|
36
|
-
boxShadow?: undefined;
|
|
37
|
-
borderRadius?: undefined;
|
|
38
|
-
'& .M4LCommonActions-root'?: undefined;
|
|
39
|
-
'& .M4LModal-containerMassageIlustration'?: undefined;
|
|
40
|
-
'& .M4LModal-headerContainer'?: undefined;
|
|
41
|
-
'& .M4LModal-windowContent'?: undefined;
|
|
42
|
-
} | {
|
|
43
|
-
display: string;
|
|
44
|
-
flexDirection: string;
|
|
45
|
-
justifyContent: string;
|
|
46
|
-
alignItems: string;
|
|
47
|
-
height: string;
|
|
48
|
-
overflow: string;
|
|
49
|
-
width: string;
|
|
50
|
-
background: string;
|
|
51
|
-
boxShadow: string;
|
|
52
|
-
borderRadius: string;
|
|
53
|
-
'& .M4LCommonActions-root': {
|
|
54
|
-
padding: string;
|
|
55
|
-
margin: string;
|
|
56
|
-
width: string;
|
|
57
|
-
height: string;
|
|
58
|
-
display: string;
|
|
59
|
-
flexDirection: string;
|
|
60
|
-
justifyContent: string;
|
|
61
|
-
gap: string;
|
|
62
|
-
};
|
|
63
|
-
'& .M4LModal-containerMassageIlustration': {
|
|
64
|
-
display: string;
|
|
65
|
-
flexDirection: string;
|
|
66
|
-
justifyContent: string;
|
|
67
|
-
alignItems: string;
|
|
68
|
-
height: string;
|
|
69
|
-
width: string;
|
|
70
|
-
overflow: string;
|
|
71
|
-
gap: string;
|
|
72
|
-
'& .M4LModal-modalContent': {
|
|
73
|
-
display: string;
|
|
74
|
-
flexDirection: string;
|
|
75
|
-
justifyContent: string;
|
|
76
|
-
alignItems: string;
|
|
77
|
-
gap: string;
|
|
78
|
-
'& .M4LModal-illustrationContainer': {
|
|
79
|
-
display: string;
|
|
80
|
-
flexDirection: string;
|
|
81
|
-
justifyContent: string;
|
|
82
|
-
alignItems: string;
|
|
83
|
-
marginBottom: string;
|
|
84
|
-
height: string;
|
|
85
|
-
width: string;
|
|
86
|
-
};
|
|
87
|
-
'& .MuiTypography-subtitle': {
|
|
88
|
-
color: string;
|
|
89
|
-
};
|
|
90
|
-
'& .M4LModal-messageContainer': {
|
|
91
|
-
color: string;
|
|
92
|
-
textAlign: string;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
'& .M4LModal-headerContainer': {
|
|
97
|
-
display: string;
|
|
98
|
-
alignItems: string;
|
|
99
|
-
justifyContent: string;
|
|
100
|
-
minHeight: string;
|
|
101
|
-
padding: string;
|
|
102
|
-
gap: string;
|
|
103
|
-
cursor: string;
|
|
104
|
-
'& .M4LModal-iconHeader': {
|
|
105
|
-
display: string;
|
|
106
|
-
alignItems: string;
|
|
107
|
-
justifyContent: string;
|
|
108
|
-
};
|
|
109
|
-
'& .M4LModal-titleHeader': {
|
|
110
|
-
width: string;
|
|
111
|
-
whiteSpace: string;
|
|
112
|
-
textOverflow: string;
|
|
113
|
-
overflow: string;
|
|
114
|
-
};
|
|
115
|
-
'& .M4LModal-iconCloseHeader': {};
|
|
116
|
-
};
|
|
117
|
-
'& .M4LModal-windowContent': {
|
|
118
|
-
padding: string;
|
|
119
|
-
width: string;
|
|
120
|
-
height: string;
|
|
121
|
-
display: string;
|
|
122
|
-
flexDirection: string;
|
|
123
|
-
flex: string;
|
|
124
|
-
overflow: string;
|
|
125
|
-
'& .M4LStack-root': {
|
|
126
|
-
gap: string;
|
|
127
|
-
overflow: string;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
maxHeight?: undefined;
|
|
131
|
-
borderColor?: undefined;
|
|
132
|
-
};
|
|
133
|
-
display: string;
|
|
134
|
-
flexDirection: string;
|
|
135
|
-
overflow: string;
|
|
136
|
-
borderRadius: string;
|
|
137
|
-
margin: string;
|
|
138
|
-
width: string;
|
|
139
|
-
height: string;
|
|
140
|
-
maxWidth: string;
|
|
141
|
-
maxHeight: string;
|
|
142
|
-
background: string;
|
|
143
|
-
border: string;
|
|
144
|
-
borderColor: string;
|
|
145
|
-
boxShadow: string;
|
|
7
|
+
'& .MuiPaper-root': {
|
|
146
8
|
'& .M4LModal-windowBaseRoot': {
|
|
147
9
|
display: string;
|
|
148
10
|
flexDirection: string;
|
|
@@ -240,6 +102,25 @@ export declare const M4LModalDialog: (theme: Theme) => {
|
|
|
240
102
|
};
|
|
241
103
|
};
|
|
242
104
|
};
|
|
105
|
+
'& .MuiPaper-root.MuiDialog-paperFullScreen': {
|
|
106
|
+
width: string;
|
|
107
|
+
height: string;
|
|
108
|
+
};
|
|
109
|
+
'& .MuiPaper-root:not(.MuiDialog-paperFullScreen).MuiDialog-paper': {
|
|
110
|
+
display: string;
|
|
111
|
+
flexDirection: string;
|
|
112
|
+
overflow: string;
|
|
113
|
+
borderRadius: string;
|
|
114
|
+
margin: string;
|
|
115
|
+
maxWidth: string;
|
|
116
|
+
maxHeight: string;
|
|
117
|
+
background: string;
|
|
118
|
+
border: string;
|
|
119
|
+
borderColor: string;
|
|
120
|
+
boxShadow: string;
|
|
121
|
+
width: string;
|
|
122
|
+
height: string;
|
|
123
|
+
};
|
|
243
124
|
};
|
|
244
125
|
};
|
|
245
126
|
};
|
|
@@ -7,7 +7,6 @@ export declare const M4LPager: (theme: Theme) => {
|
|
|
7
7
|
display: string;
|
|
8
8
|
flexDirection: string;
|
|
9
9
|
alignItems: string;
|
|
10
|
-
gap: string;
|
|
11
10
|
whiteSpace: string;
|
|
12
11
|
width: string;
|
|
13
12
|
justifyContent: string;
|
|
@@ -58,9 +57,21 @@ export declare const M4LPager: (theme: Theme) => {
|
|
|
58
57
|
"& .M4LPager-labelRowsPerPageContainer": {
|
|
59
58
|
display: string;
|
|
60
59
|
flexDirection: string;
|
|
61
|
-
gap: string;
|
|
62
60
|
justifyContent: string;
|
|
63
61
|
alignItems: string;
|
|
62
|
+
'& .M4LPager-select': {
|
|
63
|
+
'& .MuiSelect-select': {
|
|
64
|
+
color: string;
|
|
65
|
+
};
|
|
66
|
+
'& .MuiSelect-icon': {
|
|
67
|
+
right: string;
|
|
68
|
+
top: string;
|
|
69
|
+
bottom: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
'& .M4LPager-labelDisplayRows': {
|
|
74
|
+
marginLeft: string;
|
|
64
75
|
};
|
|
65
76
|
"& .MuiInputBase-root": {
|
|
66
77
|
padding: string;
|
|
@@ -102,7 +113,11 @@ export declare const M4LPager: (theme: Theme) => {
|
|
|
102
113
|
M4LPagerMenuPopover: {
|
|
103
114
|
styleOverrides: {
|
|
104
115
|
'&.M4LPager-selectMenuPopover': {
|
|
105
|
-
|
|
116
|
+
'& .MuiList-root': {
|
|
117
|
+
'& .MuiMenuItem-root': {
|
|
118
|
+
color: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
106
121
|
};
|
|
107
122
|
};
|
|
108
123
|
};
|