@m4l/styles 0.0.24 → 0.0.26
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.e09f6ae8.js +30 -0
- package/theme/index.e131f0b1.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +2 -4
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +13 -5
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +2 -4
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +14154 -5524
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +26 -15
- package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +1 -4
- package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +18 -2
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +0 -3
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +204 -12
- package/theme/overrides/M4LExtendedComponents/M4LGridLayout.d.ts +10 -0
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +2 -8
- package/theme/overrides/M4LExtendedComponents/M4LNoItemSelected.d.ts +22 -0
- package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +2 -3
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +5 -1
- package/theme/overrides/M4LExtendedComponents/M4LScrollBar.d.ts +26 -0
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +179 -84
- package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.d.ts +31 -0
- package/theme/overrides/M4LExtendedComponents/M4LStack.d.ts +14 -0
- package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +16 -0
- package/theme/overrides/M4LExtendedComponents/{index.83dad55c.js → index.ebc4ec7a.js} +774 -428
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +2 -0
- package/theme/overrides/M4LRHFComponents/{index.0e107243.js → index.3df47466.js} +2 -0
- package/theme/overrides/MUIComponents/Badge.d.ts +2 -0
- package/theme/overrides/MUIComponents/Tabs.d.ts +1 -2
- package/theme/overrides/MUIComponents/{index.1489876d.js → index.c5a85efa.js} +24 -23
- package/theme/overrides/index.ede1f7a6.js +98 -0
- package/theme/{palette.d06284f6.js → palette.b6e02e1c.js} +1 -1
- package/theme/{shadows.7ecb0e23.js → shadows.386e7ef4.js} +1 -1
- package/theme/{typography.b693a0c9.js → typography.006a6c85.js} +4 -4
- package/utils/{getColorPresets.826b8bc5.js → getColorPresets.241c5bac.js} +1 -1
- package/utils/{getColorState.c9741929.js → getColorState.f10d3d33.js} +18 -18
- package/theme/defaultThemeOptions.d50c50f1.js +0 -30
- package/theme/index.5e193e78.js +0 -7
- package/theme/overrides/index.03494fe3.js +0 -93
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 O } from "./theme/overrides/index.
|
|
1
|
+
import { d as f } from "./theme/defaultThemeOptions.e09f6ae8.js";
|
|
2
|
+
import { c as l, s as g } from "./theme/shadows.386e7ef4.js";
|
|
3
|
+
import { P as u, p as d } from "./theme/palette.b6e02e1c.js";
|
|
4
|
+
import { t as S } from "./theme/typography.006a6c85.js";
|
|
5
|
+
import { f as O } from "./theme/overrides/index.ede1f7a6.js";
|
|
6
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.
|
|
8
|
-
import { g as k } from "./utils/getColorState.
|
|
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.241c5bac.js";
|
|
8
|
+
import { g as k } from "./utils/getColorState.f10d3d33.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.c5a85efa.js";
|
|
16
|
+
import "./theme/overrides/M4LExtendedComponents/index.ebc4ec7a.js";
|
|
17
|
+
import "./theme/overrides/M4LRHFComponents/index.3df47466.js";
|
|
18
18
|
export {
|
|
19
19
|
u as PATRONUSCOLORS,
|
|
20
20
|
h as blaze,
|
package/package.json
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "@mui/material/styles";
|
|
2
|
+
import "@mui/material/useMediaQuery";
|
|
3
|
+
import { g as r } from "../utils/getColorPresets.241c5bac.js";
|
|
4
|
+
import "@mui/system";
|
|
5
|
+
import { t as a } from "./typography.006a6c85.js";
|
|
6
|
+
import { p as o } from "./palette.b6e02e1c.js";
|
|
7
|
+
import { alpha as s } from "@mui/material";
|
|
8
|
+
import { s as p, c as e } from "./shadows.386e7ef4.js";
|
|
9
|
+
import { g as m } from "../utils/getColorState.f10d3d33.js";
|
|
10
|
+
const k = {
|
|
11
|
+
typography: a,
|
|
12
|
+
palette: {
|
|
13
|
+
...o.dark,
|
|
14
|
+
primary: r("patronus"),
|
|
15
|
+
state: { ...m("patronus", "dark") },
|
|
16
|
+
representative: r("patronus").darker
|
|
17
|
+
},
|
|
18
|
+
shape: { borderRadius: 8 },
|
|
19
|
+
direction: "rtl",
|
|
20
|
+
shadows: p.dark,
|
|
21
|
+
customShadows: {
|
|
22
|
+
primary: `0 8px 16px 0 ${s(r("patronus").main, 0.2)}`,
|
|
23
|
+
...e("dark")
|
|
24
|
+
},
|
|
25
|
+
stretch: !0,
|
|
26
|
+
spacing: (t) => `${0.5 * t}rem`
|
|
27
|
+
};
|
|
28
|
+
export {
|
|
29
|
+
k as d
|
|
30
|
+
};
|
|
@@ -5,9 +5,6 @@ export declare const M4LAccordion: (theme: Theme) => {
|
|
|
5
5
|
'&.M4LAccordion-root': {
|
|
6
6
|
width: string;
|
|
7
7
|
background: string;
|
|
8
|
-
boxShadow: string;
|
|
9
|
-
borderTop: string;
|
|
10
|
-
borderColor: string;
|
|
11
8
|
borderRadius: string;
|
|
12
9
|
'& .M4LTypography-root': {
|
|
13
10
|
'& .MuiTypography-root': {
|
|
@@ -15,7 +12,9 @@ export declare const M4LAccordion: (theme: Theme) => {
|
|
|
15
12
|
};
|
|
16
13
|
};
|
|
17
14
|
'& .MuiPaper-root': {
|
|
15
|
+
background: string;
|
|
18
16
|
marginBottom: string;
|
|
17
|
+
borderRadius: string;
|
|
19
18
|
};
|
|
20
19
|
};
|
|
21
20
|
'& .MuiButtonBase-root': {
|
|
@@ -39,7 +38,6 @@ export declare const M4LAccordion: (theme: Theme) => {
|
|
|
39
38
|
};
|
|
40
39
|
'& .MuiCollapse-root': {
|
|
41
40
|
background: string;
|
|
42
|
-
boxShadow: string;
|
|
43
41
|
borderTop: string;
|
|
44
42
|
borderColor: string;
|
|
45
43
|
borderRadius: string;
|
|
@@ -72,25 +72,33 @@ export declare const M4LAccountPopover: (theme: Theme) => {
|
|
|
72
72
|
width: string;
|
|
73
73
|
borderRadius: string;
|
|
74
74
|
padding: string;
|
|
75
|
+
cursor: string;
|
|
75
76
|
'&:hover': {
|
|
76
77
|
background: string;
|
|
77
78
|
};
|
|
78
79
|
'& .M4LAccountPopover-menuItem': {
|
|
79
80
|
padding: string;
|
|
80
81
|
borderRadius: string;
|
|
81
|
-
cursor: string;
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
84
|
};
|
|
85
|
-
'& .M4LAccountPopover-
|
|
85
|
+
'& .M4LAccountPopover-containerlogOut': {
|
|
86
|
+
display: string;
|
|
87
|
+
flexDirection: string;
|
|
88
|
+
gap: string;
|
|
86
89
|
padding: string;
|
|
87
90
|
borderRadius: string;
|
|
91
|
+
width: string;
|
|
92
|
+
alignItems: string;
|
|
93
|
+
cursor: string;
|
|
88
94
|
'&:hover': {
|
|
89
95
|
background: string;
|
|
90
96
|
};
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
97
|
+
'& .M4LAccountPopover-logOut': {
|
|
98
|
+
padding: string;
|
|
99
|
+
borderRadius: string;
|
|
100
|
+
color: string;
|
|
101
|
+
};
|
|
94
102
|
};
|
|
95
103
|
'& .M4LPopover-arrowStyle': {
|
|
96
104
|
display: string;
|
|
@@ -6,6 +6,7 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
6
6
|
[x: string]: string | {
|
|
7
7
|
width: string;
|
|
8
8
|
marginLeft: string;
|
|
9
|
+
gap: string;
|
|
9
10
|
display?: undefined;
|
|
10
11
|
alingItems?: undefined;
|
|
11
12
|
height?: undefined;
|
|
@@ -17,7 +18,6 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
17
18
|
justifyContent?: undefined;
|
|
18
19
|
"& .M4LAppBar-iconMenuToggle"?: undefined;
|
|
19
20
|
flexDirection?: undefined;
|
|
20
|
-
gap?: undefined;
|
|
21
21
|
'& .M4LAppBar-containerChilds'?: undefined;
|
|
22
22
|
} | {
|
|
23
23
|
display: string;
|
|
@@ -51,8 +51,8 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
51
51
|
minHeight: string;
|
|
52
52
|
};
|
|
53
53
|
marginLeft?: undefined;
|
|
54
|
-
flexDirection?: undefined;
|
|
55
54
|
gap?: undefined;
|
|
55
|
+
flexDirection?: undefined;
|
|
56
56
|
'& .M4LAppBar-containerChilds'?: undefined;
|
|
57
57
|
} | {
|
|
58
58
|
[x: string]: string | {
|
|
@@ -179,12 +179,10 @@ export declare const M4LAppBar: (theme: Theme) => {
|
|
|
179
179
|
overflow: string;
|
|
180
180
|
height: string;
|
|
181
181
|
alignItems: string;
|
|
182
|
-
borderRadius: string;
|
|
183
182
|
padding: string;
|
|
184
183
|
borderColor: string;
|
|
185
184
|
background: string;
|
|
186
185
|
justifyContent: string;
|
|
187
|
-
marginLeft: string;
|
|
188
186
|
'& .M4LAppBar-containerIconMenuToggle': {
|
|
189
187
|
display: string;
|
|
190
188
|
alingItems: string;
|