@m4l/styles 0.0.16 → 0.0.18
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 +2 -1
- package/theme/{defaultThemeOptions.364b28b6.js → defaultThemeOptions.d67fe64c.js} +7 -7
- package/theme/index.efa44d2d.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +53 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +42 -4
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +77 -96
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +206 -59
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +1960 -37
- package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +10 -0
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +10 -15
- package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +5 -1
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +9 -10
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +7 -6
- package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +927 -0
- package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +42 -0
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +146 -0
- package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.d.ts +10 -0
- package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.d.ts +13 -0
- package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.d.ts +5 -0
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +47 -0
- package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +26 -0
- package/theme/overrides/M4LExtendedComponents/M4LinearProgressIndeterminate.d.ts +56 -0
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +8 -3
- package/theme/overrides/M4LExtendedComponents/{index.9d7c79cc.js → index.bd713d88.js} +1198 -226
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +1 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +0 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFPeriod.d.ts +10 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +16 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.d.ts +172 -0
- package/theme/overrides/M4LRHFComponents/{index.b7f8e30c.js → index.1406e2ed.js} +209 -11
- package/theme/overrides/MUIComponents/Tabs.d.ts +23 -3
- package/theme/overrides/MUIComponents/{index.56660771.js → index.e3d060c3.js} +47 -27
- package/theme/overrides/index.6b7aec0f.js +90 -0
- package/theme/{palette.4b477f9b.js → palette.95c4f9c8.js} +17 -17
- package/theme/palette.d.ts +4 -4
- package/theme/{shadows.b2f38616.js → shadows.354bbb03.js} +1 -1
- package/theme/{typography.1db0276b.js → typography.61f909b7.js} +4 -4
- package/types/augmentations.d.ts +3 -1
- package/utils/{getColorPresets.f3113d85.js → getColorPresets.d73f30ad.js} +1 -1
- package/utils/getColorState.bde51cf7.js +159 -0
- package/utils/getColorState.d.ts +2 -0
- package/theme/index.cd1bedc8.js +0 -7
- package/theme/overrides/index.ff2a1a5a.js +0 -78
- package/utils/getColorState.456150fd.js +0 -136
package/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { d as f } from "./theme/defaultThemeOptions.
|
|
2
|
-
import { c as l, s as g } from "./theme/shadows.
|
|
3
|
-
import { P as u, p as d } from "./theme/palette.
|
|
4
|
-
import { t as S } from "./theme/typography.
|
|
5
|
-
import { f as C } from "./theme/overrides/index.
|
|
1
|
+
import { d as f } from "./theme/defaultThemeOptions.d67fe64c.js";
|
|
2
|
+
import { c as l, s as g } from "./theme/shadows.354bbb03.js";
|
|
3
|
+
import { P as u, p as d } from "./theme/palette.95c4f9c8.js";
|
|
4
|
+
import { t as S } from "./theme/typography.61f909b7.js";
|
|
5
|
+
import { f as C } from "./theme/overrides/index.6b7aec0f.js";
|
|
6
6
|
import { u as R } from "./utils/useResponsive.2c45e8e0.js";
|
|
7
|
-
import { e as T, b, c as v, d as y, g as z, a as w, t as F } from "./utils/getColorPresets.
|
|
8
|
-
import { g as k } from "./utils/getColorState.
|
|
7
|
+
import { e as T, b, c as v, d as y, g as z, a as w, t as F } from "./utils/getColorPresets.d73f30ad.js";
|
|
8
|
+
import { g as k } from "./utils/getColorState.bde51cf7.js";
|
|
9
9
|
import { g as A, p as B, a as L, r as N } from "./utils/getFontValue.88831637.js";
|
|
10
10
|
import { g as j, m as D } from "./config.5405b46b.js";
|
|
11
11
|
import "@mui/material/styles";
|
|
12
12
|
import "@mui/material/useMediaQuery";
|
|
13
13
|
import "@mui/system";
|
|
14
14
|
import "@mui/material";
|
|
15
|
-
import "./theme/overrides/MUIComponents/index.
|
|
16
|
-
import "./theme/overrides/M4LExtendedComponents/index.
|
|
17
|
-
import "./theme/overrides/M4LRHFComponents/index.
|
|
15
|
+
import "./theme/overrides/MUIComponents/index.e3d060c3.js";
|
|
16
|
+
import "./theme/overrides/M4LExtendedComponents/index.bd713d88.js";
|
|
17
|
+
import "./theme/overrides/M4LRHFComponents/index.1406e2ed.js";
|
|
18
18
|
export {
|
|
19
19
|
u as PATRONUSCOLORS,
|
|
20
20
|
T as blaze,
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "@mui/material/styles";
|
|
2
2
|
import "@mui/material/useMediaQuery";
|
|
3
|
-
import { g as t } from "../utils/getColorPresets.
|
|
3
|
+
import { g as t } from "../utils/getColorPresets.d73f30ad.js";
|
|
4
4
|
import "@mui/system";
|
|
5
|
-
import { t as o } from "./typography.
|
|
6
|
-
import { p as a } from "./palette.
|
|
5
|
+
import { t as o } from "./typography.61f909b7.js";
|
|
6
|
+
import { p as a } from "./palette.95c4f9c8.js";
|
|
7
7
|
import { alpha as s } from "@mui/material";
|
|
8
|
-
import { s as p, c as e } from "./shadows.
|
|
9
|
-
import { g as
|
|
8
|
+
import { s as p, c as e } from "./shadows.354bbb03.js";
|
|
9
|
+
import { g as i } from "../utils/getColorState.bde51cf7.js";
|
|
10
10
|
const w = {
|
|
11
11
|
typography: o,
|
|
12
12
|
palette: {
|
|
13
13
|
...a.light,
|
|
14
14
|
primary: t("patronus"),
|
|
15
|
-
state: { ...
|
|
15
|
+
state: { ...i("patronus", "light") },
|
|
16
16
|
representative: t("patronus").darker
|
|
17
17
|
},
|
|
18
18
|
shape: { borderRadius: 8 },
|
|
@@ -20,7 +20,7 @@ const w = {
|
|
|
20
20
|
shadows: p.light,
|
|
21
21
|
customShadows: {
|
|
22
22
|
primary: `0 8px 16px 0 ${s(t("patronus").main, 0.2)}`,
|
|
23
|
-
...e("
|
|
23
|
+
...e("light")
|
|
24
24
|
},
|
|
25
25
|
stretch: !0,
|
|
26
26
|
spacing: (r) => `${0.5 * r}rem`
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
export declare const M4LAccordion: (theme: Theme) => {
|
|
3
|
+
M4LAccordion: {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
'&.M4LAccordion-root': {
|
|
6
|
+
width: string;
|
|
7
|
+
background: string;
|
|
8
|
+
boxShadow: string;
|
|
9
|
+
borderTop: string;
|
|
10
|
+
borderColor: string;
|
|
11
|
+
borderRadius: string;
|
|
12
|
+
'& .M4LTypography-root': {
|
|
13
|
+
'& .MuiTypography-root': {
|
|
14
|
+
color: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
'& .MuiPaper-root': {
|
|
18
|
+
marginBottom: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
'& .MuiButtonBase-root': {
|
|
22
|
+
'&.MuiAccordionSummary-root.Mui-expanded': {
|
|
23
|
+
background: string;
|
|
24
|
+
'& .M4LTypography-root': {
|
|
25
|
+
'& .MuiTypography-root': {
|
|
26
|
+
color: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
'& .MuiAccordionSummary-expandIconWrapper': {
|
|
30
|
+
transform: string;
|
|
31
|
+
};
|
|
32
|
+
'& .M4LAccordion-endIcon': {
|
|
33
|
+
transform: string;
|
|
34
|
+
};
|
|
35
|
+
'& .M4LIconButton-root': {};
|
|
36
|
+
};
|
|
37
|
+
test: string;
|
|
38
|
+
};
|
|
39
|
+
'& .MuiCollapse-root': {
|
|
40
|
+
background: string;
|
|
41
|
+
boxShadow: string;
|
|
42
|
+
borderTop: string;
|
|
43
|
+
borderColor: string;
|
|
44
|
+
borderRadius: string;
|
|
45
|
+
padding: string;
|
|
46
|
+
'& .MuiCollapse-wrapper': {
|
|
47
|
+
padding: string;
|
|
48
|
+
borderRadius: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -1,16 +1,54 @@
|
|
|
1
1
|
import { Theme } from '@mui/material/styles';
|
|
2
|
-
export declare const M4LAccountPopover: (
|
|
2
|
+
export declare const M4LAccountPopover: (theme: Theme) => {
|
|
3
3
|
M4LAccountPopover: {
|
|
4
4
|
styleOverrides: {
|
|
5
|
-
'&.M4LAccountPopover-root': {
|
|
6
|
-
test: string;
|
|
7
|
-
};
|
|
5
|
+
'&.M4LAccountPopover-root': {};
|
|
8
6
|
};
|
|
9
7
|
};
|
|
10
8
|
M4LAccountPopoverPopover: {
|
|
11
9
|
styleOverrides: {
|
|
12
10
|
'&.M4LAccountPopover-popover': {
|
|
13
11
|
test: string;
|
|
12
|
+
display: string;
|
|
13
|
+
flexDirection: string;
|
|
14
|
+
gap: string;
|
|
15
|
+
'& .MuiPaper-root': {
|
|
16
|
+
display: string;
|
|
17
|
+
flexDirection: string;
|
|
18
|
+
gap: string;
|
|
19
|
+
padding: string;
|
|
20
|
+
};
|
|
21
|
+
'& .M4LAccountPopover-containerAppVersion': {
|
|
22
|
+
display: string;
|
|
23
|
+
borderBottom: string;
|
|
24
|
+
borderColor: string;
|
|
25
|
+
paddingBottom: string;
|
|
26
|
+
};
|
|
27
|
+
'& .M4LAccountPopover-containerMenuItems': {
|
|
28
|
+
'& .M4LAccountPopover-menuItem': {
|
|
29
|
+
padding: string;
|
|
30
|
+
borderRadius: string;
|
|
31
|
+
cursor: string;
|
|
32
|
+
'&:hover': {
|
|
33
|
+
background: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
'& .M4LAccountPopover-logOut': {
|
|
38
|
+
borderTop: string;
|
|
39
|
+
borderColor: string;
|
|
40
|
+
justifyContent: string;
|
|
41
|
+
paddingTop: string;
|
|
42
|
+
cursor: string;
|
|
43
|
+
padding: string;
|
|
44
|
+
borderRadius: string;
|
|
45
|
+
'&:hover': {
|
|
46
|
+
background: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
'& .M4LPopover-arrowStyle': {
|
|
50
|
+
display: string;
|
|
51
|
+
};
|
|
14
52
|
};
|
|
15
53
|
};
|
|
16
54
|
};
|
|
@@ -1,59 +1,60 @@
|
|
|
1
1
|
import { Theme } from '@mui/material/styles';
|
|
2
|
-
export declare const M4LAppBar: (
|
|
2
|
+
export declare const M4LAppBar: (theme: Theme) => {
|
|
3
3
|
M4LAppBar: {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
'&.M4LAppBar-root': {
|
|
6
6
|
[x: string]: string | {
|
|
7
7
|
display: string;
|
|
8
|
-
|
|
8
|
+
justifyContent: string;
|
|
9
|
+
alingItems: string;
|
|
9
10
|
width: string;
|
|
10
11
|
height: string;
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
minWidth: string;
|
|
13
|
+
minHeight: string;
|
|
14
|
+
alignItems: string;
|
|
15
|
+
borderRadius: string;
|
|
16
|
+
borderColor: string;
|
|
17
|
+
"& .M4LAppBar-iconMenuToggle": {
|
|
18
|
+
background: string;
|
|
19
|
+
boxShadow: string;
|
|
20
|
+
borderTop: string;
|
|
21
|
+
borderColor: string;
|
|
22
|
+
width: string;
|
|
23
|
+
height: string;
|
|
24
|
+
minWidth: string;
|
|
25
|
+
minHeight: string;
|
|
26
|
+
};
|
|
27
|
+
borderTop?: undefined;
|
|
28
|
+
background?: undefined;
|
|
13
29
|
boxShadow?: undefined;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
'& .M4LIconButton-root'?: undefined;
|
|
30
|
+
paddingRight?: undefined;
|
|
31
|
+
overflow?: undefined;
|
|
17
32
|
'& .M4LAvatar-root'?: undefined;
|
|
18
33
|
} | {
|
|
34
|
+
display: string;
|
|
35
|
+
alignItems: string;
|
|
36
|
+
width: string;
|
|
37
|
+
borderTop: string;
|
|
38
|
+
borderColor: string;
|
|
19
39
|
background: string;
|
|
20
40
|
boxShadow: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
41
|
+
paddingRight: string;
|
|
42
|
+
borderRadius: string;
|
|
43
|
+
justifyContent?: undefined;
|
|
44
|
+
alingItems?: undefined;
|
|
45
|
+
height?: undefined;
|
|
46
|
+
minWidth?: undefined;
|
|
47
|
+
minHeight?: undefined;
|
|
48
|
+
"& .M4LAppBar-iconMenuToggle"?: undefined;
|
|
49
|
+
overflow?: undefined;
|
|
29
50
|
'& .M4LAvatar-root'?: undefined;
|
|
30
51
|
} | {
|
|
31
52
|
[x: string]: string | {
|
|
32
|
-
|
|
53
|
+
width: string;
|
|
33
54
|
alignItems: string;
|
|
34
55
|
gap: string;
|
|
35
|
-
widht: string;
|
|
36
|
-
padding: string;
|
|
37
56
|
borderRadius: string;
|
|
38
|
-
|
|
39
|
-
width?: undefined;
|
|
40
|
-
height?: undefined;
|
|
41
|
-
'& .MuiAvatar-root'?: undefined;
|
|
42
|
-
} | {
|
|
43
|
-
'&.M4LIconButton-sizeSmall': {
|
|
44
|
-
backgroundColor: string;
|
|
45
|
-
marginLeft: string;
|
|
46
|
-
'& .M4LIcon-icon': {
|
|
47
|
-
background: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
display?: undefined;
|
|
51
|
-
alignItems?: undefined;
|
|
52
|
-
gap?: undefined;
|
|
53
|
-
widht?: undefined;
|
|
54
|
-
padding?: undefined;
|
|
55
|
-
borderRadius?: undefined;
|
|
56
|
-
width?: undefined;
|
|
57
|
+
display: string;
|
|
57
58
|
height?: undefined;
|
|
58
59
|
'& .MuiAvatar-root'?: undefined;
|
|
59
60
|
} | {
|
|
@@ -63,26 +64,16 @@ export declare const M4LAppBar: (_theme: Theme) => {
|
|
|
63
64
|
width: string;
|
|
64
65
|
height: string;
|
|
65
66
|
};
|
|
66
|
-
display?: undefined;
|
|
67
67
|
alignItems?: undefined;
|
|
68
68
|
gap?: undefined;
|
|
69
|
-
widht?: undefined;
|
|
70
|
-
padding?: undefined;
|
|
71
69
|
borderRadius?: undefined;
|
|
72
|
-
|
|
70
|
+
display?: undefined;
|
|
73
71
|
};
|
|
74
72
|
display: string;
|
|
75
73
|
width: string;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
backgroundColor: string;
|
|
80
|
-
marginLeft: string;
|
|
81
|
-
'& .M4LIcon-icon': {
|
|
82
|
-
background: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
};
|
|
74
|
+
overflow: string;
|
|
75
|
+
alignItems: string;
|
|
76
|
+
borderRadius: string;
|
|
86
77
|
'& .M4LAvatar-root': {
|
|
87
78
|
width: string;
|
|
88
79
|
height: string;
|
|
@@ -91,59 +82,59 @@ export declare const M4LAppBar: (_theme: Theme) => {
|
|
|
91
82
|
height: string;
|
|
92
83
|
};
|
|
93
84
|
};
|
|
94
|
-
|
|
85
|
+
justifyContent?: undefined;
|
|
86
|
+
alingItems?: undefined;
|
|
95
87
|
height?: undefined;
|
|
96
|
-
background?: undefined;
|
|
97
|
-
boxShadow?: undefined;
|
|
98
88
|
minWidth?: undefined;
|
|
99
89
|
minHeight?: undefined;
|
|
90
|
+
borderColor?: undefined;
|
|
91
|
+
"& .M4LAppBar-iconMenuToggle"?: undefined;
|
|
92
|
+
borderTop?: undefined;
|
|
93
|
+
background?: undefined;
|
|
94
|
+
boxShadow?: undefined;
|
|
95
|
+
paddingRight?: undefined;
|
|
100
96
|
};
|
|
101
97
|
test: string;
|
|
102
98
|
display: string;
|
|
103
99
|
width: string;
|
|
100
|
+
overflow: string;
|
|
104
101
|
height: string;
|
|
105
|
-
padding: string;
|
|
106
102
|
alignItems: string;
|
|
107
103
|
borderRadius: string;
|
|
108
|
-
|
|
109
|
-
boxShadow: string;
|
|
104
|
+
padding: string;
|
|
110
105
|
borderTop: string;
|
|
111
106
|
borderColor: string;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
107
|
+
background: string;
|
|
108
|
+
boxShadow: string;
|
|
109
|
+
'& .M4LAppBar-containerIconMenuToggle': {
|
|
110
|
+
display: string;
|
|
111
|
+
justifyContent: string;
|
|
112
|
+
alingItems: string;
|
|
115
113
|
width: string;
|
|
116
114
|
height: string;
|
|
117
115
|
minWidth: string;
|
|
118
116
|
minHeight: string;
|
|
117
|
+
alignItems: string;
|
|
118
|
+
borderRadius: string;
|
|
119
|
+
borderColor: string;
|
|
120
|
+
"& .M4LAppBar-iconMenuToggle": {
|
|
121
|
+
background: string;
|
|
122
|
+
boxShadow: string;
|
|
123
|
+
borderTop: string;
|
|
124
|
+
borderColor: string;
|
|
125
|
+
width: string;
|
|
126
|
+
height: string;
|
|
127
|
+
minWidth: string;
|
|
128
|
+
minHeight: string;
|
|
129
|
+
};
|
|
119
130
|
};
|
|
120
131
|
'& .M4LAppBar-containerChilds': {
|
|
121
132
|
[x: string]: string | {
|
|
122
|
-
|
|
133
|
+
width: string;
|
|
123
134
|
alignItems: string;
|
|
124
135
|
gap: string;
|
|
125
|
-
widht: string;
|
|
126
|
-
padding: string;
|
|
127
136
|
borderRadius: string;
|
|
128
|
-
|
|
129
|
-
width?: undefined;
|
|
130
|
-
height?: undefined;
|
|
131
|
-
'& .MuiAvatar-root'?: undefined;
|
|
132
|
-
} | {
|
|
133
|
-
'&.M4LIconButton-sizeSmall': {
|
|
134
|
-
backgroundColor: string;
|
|
135
|
-
marginLeft: string;
|
|
136
|
-
'& .M4LIcon-icon': {
|
|
137
|
-
background: string;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
display?: undefined;
|
|
141
|
-
alignItems?: undefined;
|
|
142
|
-
gap?: undefined;
|
|
143
|
-
widht?: undefined;
|
|
144
|
-
padding?: undefined;
|
|
145
|
-
borderRadius?: undefined;
|
|
146
|
-
width?: undefined;
|
|
137
|
+
display: string;
|
|
147
138
|
height?: undefined;
|
|
148
139
|
'& .MuiAvatar-root'?: undefined;
|
|
149
140
|
} | {
|
|
@@ -153,26 +144,16 @@ export declare const M4LAppBar: (_theme: Theme) => {
|
|
|
153
144
|
width: string;
|
|
154
145
|
height: string;
|
|
155
146
|
};
|
|
156
|
-
display?: undefined;
|
|
157
147
|
alignItems?: undefined;
|
|
158
148
|
gap?: undefined;
|
|
159
|
-
widht?: undefined;
|
|
160
|
-
padding?: undefined;
|
|
161
149
|
borderRadius?: undefined;
|
|
162
|
-
|
|
150
|
+
display?: undefined;
|
|
163
151
|
};
|
|
164
152
|
display: string;
|
|
165
153
|
width: string;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
backgroundColor: string;
|
|
170
|
-
marginLeft: string;
|
|
171
|
-
'& .M4LIcon-icon': {
|
|
172
|
-
background: string;
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
};
|
|
154
|
+
overflow: string;
|
|
155
|
+
alignItems: string;
|
|
156
|
+
borderRadius: string;
|
|
176
157
|
'& .M4LAvatar-root': {
|
|
177
158
|
width: string;
|
|
178
159
|
height: string;
|