@m4l/layouts 0.1.45 → 0.1.47

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.
@@ -1,6 +1,6 @@
1
1
  import { useEffect, useMemo, useCallback } from "react";
2
2
  import { unstable_HistoryRouter } from "react-router-dom";
3
- import { ToastContainer, toast } from "react-toastify";
3
+ import { toast } from "react-toastify";
4
4
  import { HostThemeProvider, GlobalStyles, FormatterProvider, LocalesProvider, getLocaleFromNetwork } 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";
@@ -9,10 +9,10 @@ import EventEmitter from "eventemitter3";
9
9
  import { format } from "date-fns";
10
10
  import { defaultThemeOptions, fnComponentsOverrides } from "@m4l/styles";
11
11
  import { u as useAuth } from "../../hooks/useAuth/index.cb6a3420.js";
12
+ import { ToastContainer, AreasProvider } from "@m4l/components";
12
13
  import { jsx, jsxs } from "react/jsx-runtime";
13
14
  import NProgress from "nprogress";
14
15
  import { B as BaseModule } from "../BaseModule/index.6659c50e.js";
15
- import { AreasProvider } from "@m4l/components";
16
16
  function MFAuthApp(props) {
17
17
  const {
18
18
  children,
@@ -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(GlobalStyles, {}), /* @__PURE__ */ jsx(DomainCountryProvider, {
55
+ children: [/* @__PURE__ */ jsx(GlobalStyles, {}), /* @__PURE__ */ jsx(DomainCountryProvider, {
56
56
  ...domianCountry,
57
57
  isMicroFrontEnd: false,
58
58
  children: /* @__PURE__ */ jsx(FormatterProvider, {
@@ -64,7 +64,9 @@ function MFAuthApp(props) {
64
64
  code: domianCountry.currency,
65
65
  decimalDigits: domianCountry.currency_decimal_digits
66
66
  },
67
- children
67
+ children: /* @__PURE__ */ jsx(ToastContainer, {
68
+ children
69
+ })
68
70
  })
69
71
  })]
70
72
  });
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M } from "./components/MFIsolationApp/index.c5ce8b36.js";
1
+ import { M } from "./components/MFIsolationApp/index.43c26757.js";
2
2
  import { M as M2 } from "./components/index.2a8eff7c.js";
3
3
  import { M as M3 } from "./components/MFHostApp/index.dbfb66ee.js";
4
4
  import { B } from "./components/BaseModule/index.6659c50e.js";
@@ -18,9 +18,9 @@ import "history";
18
18
  import "eventemitter3";
19
19
  import "date-fns";
20
20
  import "@m4l/styles";
21
+ import "@m4l/components";
21
22
  import "react/jsx-runtime";
22
23
  import "nprogress";
23
- import "@m4l/components";
24
24
  import "@mui/material/styles";
25
25
  import "@mui/material";
26
26
  import "@mui/base";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/layouts",
3
- "version": "0.1.45",
3
+ "version": "0.1.47",
4
4
  "license": "UNLICENSED",
5
5
  "dependencies": {
6
6
  "@m4l/components": "*",