@m4l/layouts 1.0.1 → 1.0.3
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/components/MFIsolationApp/{index.a36ab59f.js → index.e733d368.js} +2 -2
- package/components/{index.6a69212d.js → index.e548bed9.js} +1 -1
- package/index.js +3 -3
- package/layouts/NoAuthModuleLayout/{index.a0c88ca8.js → index.83cd3ea3.js} +10 -4
- package/layouts/{index.bcda3d40.js → index.b6d6ef2f.js} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useEffect, useMemo, useCallback } from "react";
|
|
2
2
|
import { unstable_HistoryRouter } from "react-router-dom";
|
|
3
3
|
import { ToastContainer, toast } from "react-toastify";
|
|
4
|
-
import { HostThemeProvider,
|
|
4
|
+
import { HostThemeProvider, FormatterProvider, LocalesProvider, getLocaleFromNetwork, ResponsiveContainerProvider } from "@m4l/graphics";
|
|
5
5
|
import { A as AuthProvider } from "../../contexts/AuthContext/index.6f966215.js";
|
|
6
6
|
import { DomainCountryProvider, EnvironmentProvider, HostToolsProvider, NetworkProvider, axiosOperation } from "@m4l/core";
|
|
7
7
|
import { createBrowserHistory } from "history";
|
|
@@ -52,7 +52,7 @@ function MFAuthApp(props) {
|
|
|
52
52
|
hostThemeOptions: defaultThemeOptions,
|
|
53
53
|
fnComponentsOverrides,
|
|
54
54
|
isMicroFrontEnd: true,
|
|
55
|
-
children: [/* @__PURE__ */ jsx(ToastContainer, {}), /* @__PURE__ */ jsx(
|
|
55
|
+
children: [/* @__PURE__ */ jsx(ToastContainer, {}), /* @__PURE__ */ jsx(DomainCountryProvider, {
|
|
56
56
|
...domianCountry,
|
|
57
57
|
isMicroFrontEnd: false,
|
|
58
58
|
children: /* @__PURE__ */ jsx(FormatterProvider, {
|
|
@@ -2,7 +2,7 @@ import { DomainCountryProvider } from "@m4l/core";
|
|
|
2
2
|
import { FormatterProvider, ResponsiveContainerProvider } from "@m4l/graphics";
|
|
3
3
|
import { B as BaseModule } from "./BaseModule/index.8ff0193e.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import "./MFIsolationApp/index.
|
|
5
|
+
import "./MFIsolationApp/index.e733d368.js";
|
|
6
6
|
import "@m4l/components";
|
|
7
7
|
import "react-router-dom";
|
|
8
8
|
function MFNoAuthApp(props) {
|
package/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { M } from "./components/MFIsolationApp/index.
|
|
2
|
-
import { M as M2 } from "./components/index.
|
|
1
|
+
import { M } from "./components/MFIsolationApp/index.e733d368.js";
|
|
2
|
+
import { M as M2 } from "./components/index.e548bed9.js";
|
|
3
3
|
import { M as M3 } from "./components/MFHostApp/index.401a303e.js";
|
|
4
4
|
import { B } from "./components/BaseModule/index.8ff0193e.js";
|
|
5
5
|
import { a, A } from "./contexts/AuthContext/index.6f966215.js";
|
|
6
6
|
import { a as a2, d, g } from "./layouts/ModuleLayout/index.e7218171.js";
|
|
7
7
|
import { a as a3, d as d2, g as g2 } from "./layouts/MasterDetailLayout/index.748f7ada.js";
|
|
8
|
-
import { N, d as d3, g as g3 } from "./layouts/NoAuthModuleLayout/index.
|
|
8
|
+
import { N, d as d3, g as g3 } from "./layouts/NoAuthModuleLayout/index.83cd3ea3.js";
|
|
9
9
|
import { u } from "./hooks/useMasterDetail/index.d45f2a86.js";
|
|
10
10
|
import { u as u2 } from "./hooks/useAuth/index.cb6a3420.js";
|
|
11
11
|
import { u as u3 } from "./hooks/useModule/index.b5f598b1.js";
|
|
@@ -21,7 +21,7 @@ const DesktopContentRoot = styled$1("div")(({ theme }) => ({
|
|
|
21
21
|
display: "flex",
|
|
22
22
|
borderRadius: "16px",
|
|
23
23
|
backgroundColor: theme.vars.palette.background.neutral,
|
|
24
|
-
boxShadow: theme.customShadows?.z4,
|
|
24
|
+
boxShadow: theme.vars.customShadows?.z4,
|
|
25
25
|
padding: "20px 0 20px 20px",
|
|
26
26
|
width: "100%",
|
|
27
27
|
height: "100%",
|
|
@@ -52,7 +52,7 @@ const DesktopBanner = styled$1("div")(({ theme }) => ({
|
|
|
52
52
|
maxWidth: "400px",
|
|
53
53
|
height: "100%",
|
|
54
54
|
backgroundColor: theme.vars.palette.state?.focus,
|
|
55
|
-
boxShadow: theme.customShadows?.z4,
|
|
55
|
+
boxShadow: theme.vars.customShadows?.z4,
|
|
56
56
|
padding: "0 60px",
|
|
57
57
|
gap: "40px",
|
|
58
58
|
overflow: "hidden",
|
|
@@ -64,7 +64,10 @@ const DesktopBanner = styled$1("div")(({ theme }) => ({
|
|
|
64
64
|
textTransform: "uppercase"
|
|
65
65
|
},
|
|
66
66
|
"& .M4LTypography-root .MuiSkeleton-root": {
|
|
67
|
-
backgroundColor: alpha(
|
|
67
|
+
backgroundColor: alpha(
|
|
68
|
+
`${theme.colorSchemes.finalTheme.palette.patronus?.marbleLight[10]}`,
|
|
69
|
+
0.24
|
|
70
|
+
),
|
|
68
71
|
margin: "auto"
|
|
69
72
|
}
|
|
70
73
|
}));
|
|
@@ -76,7 +79,10 @@ const ContainerLogo$1 = styled$1("div")(({ theme }) => ({
|
|
|
76
79
|
backgroundColor: theme.vars.palette.state?.active,
|
|
77
80
|
justifyContent: "center",
|
|
78
81
|
alignItems: "center",
|
|
79
|
-
boxShadow: `0px 4px 8px ${alpha(
|
|
82
|
+
boxShadow: `0px 4px 8px ${alpha(
|
|
83
|
+
theme.colorSchemes.finalTheme.palette.patronus?.coolGrey[70] || "",
|
|
84
|
+
0.16
|
|
85
|
+
)}`,
|
|
80
86
|
"& .M4LImage-root": {
|
|
81
87
|
backgroundColor: theme.vars.palette.patronus?.marbleLight[10],
|
|
82
88
|
borderRadius: "6px"
|