@m4l/layouts 4.0.0 → 7.0.0

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 CHANGED
@@ -3,7 +3,7 @@ import { M } from "./components/MFHostApp/index-Bz3RUvvY.js";
3
3
  import { A, a as a2 } from "./contexts/AuthContext/index-DARkRRM4.js";
4
4
  import { a as a3, d, g } from "./layouts/ModuleLayout/index-DAtDuh6s.js";
5
5
  import { a as a4, d as d2, g as g2 } from "./layouts/MasterDetailLayout/index-DeC4RoBs.js";
6
- import { N, d as d3, g as g3 } from "./layouts/NoAuthModuleLayout/index-C_NBiUuH.js";
6
+ import { N, d as d3, g as g3 } from "./layouts/NoAuthModuleLayout/index-txgn4T5B.js";
7
7
  import { u } from "./hooks/useMasterDetail/index-D4QUQYYc.js";
8
8
  import { u as u2 } from "./hooks/useAuth/index-8hAi3guc.js";
9
9
  import { u as u3 } from "./hooks/useModule/index-FY5nsBmE.js";
@@ -12,7 +12,7 @@ const InnerModuleRoot = styled("div")(({
12
12
  alignItems: "center",
13
13
  height: "100vh",
14
14
  padding: "20px",
15
- backgroundColor: theme.vars.palette.background.bold,
15
+ backgroundColor: theme.vars.palette.background.neutral,
16
16
  [theme.breakpoints.down("md")]: {
17
17
  padding: "0px"
18
18
  }
@@ -20,7 +20,7 @@ const InnerModuleRoot = styled("div")(({
20
20
  const DesktopContentRoot = styled$1("div")(({ theme }) => ({
21
21
  display: "flex",
22
22
  borderRadius: "16px",
23
- backgroundColor: theme.vars.palette.background.main,
23
+ backgroundColor: theme.vars.palette.background.surface,
24
24
  boxShadow: theme.vars.customShadows?.z4,
25
25
  padding: "20px 0 20px 20px",
26
26
  width: "100%",
@@ -51,7 +51,7 @@ const DesktopBanner = styled$1("div")(({ theme }) => ({
51
51
  width: "100%",
52
52
  maxWidth: "400px",
53
53
  height: "100%",
54
- backgroundColor: theme.vars.palette.primary?.focus,
54
+ backgroundColor: theme.vars.palette.primary.focusActive,
55
55
  boxShadow: theme.vars.customShadows?.z4,
56
56
  padding: "0 60px",
57
57
  gap: "40px",
@@ -73,7 +73,7 @@ const ContainerLogo$1 = styled$1("div")(({ theme }) => ({
73
73
  width: "84px",
74
74
  height: "84px",
75
75
  borderRadius: "6px",
76
- backgroundColor: theme.vars.palette.primary?.active,
76
+ backgroundColor: theme.vars.palette.primary?.focusActive,
77
77
  justifyContent: "center",
78
78
  alignItems: "center",
79
79
  boxShadow: `0px 4px 8px ${alpha(theme.colorSchemes.finalTheme.palette.grey["700"] || "", 0.16)}`,
@@ -199,7 +199,7 @@ const MobileContentRoot = styled$1("div")(({ theme }) => ({
199
199
  flexDirection: "column",
200
200
  width: "100%",
201
201
  height: "100%",
202
- backgroundColor: theme.vars.palette.background.main,
202
+ backgroundColor: theme.vars.palette.background.surface,
203
203
  padding: "12px",
204
204
  gap: "32px"
205
205
  }));
@@ -209,7 +209,7 @@ const MobileBanner = styled$1("div")(({ theme }) => ({
209
209
  padding: "12px",
210
210
  gap: "20px",
211
211
  width: "100%",
212
- backgroundColor: theme.vars.palette.primary?.focus,
212
+ backgroundColor: theme.vars.palette.primary.focusActive,
213
213
  boxShadow: theme.customShadows?.z4,
214
214
  position: "relative",
215
215
  borderRadius: "8px",
@@ -246,7 +246,7 @@ const ContainerLogo = styled$1("div")(({ theme }) => ({
246
246
  width: "52px",
247
247
  height: "52px",
248
248
  borderRadius: "6px",
249
- backgroundColor: theme.vars.palette.primary?.active,
249
+ backgroundColor: theme.vars.palette.primary?.focusActive,
250
250
  justifyContent: "center",
251
251
  alignItems: "center",
252
252
  boxShadow: `0px 4px 8px ${alpha(theme.colorSchemes.finalTheme.palette.grey["700"] || "", 0.16)}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/layouts",
3
- "version": "4.0.0",
3
+ "version": "7.0.0",
4
4
  "license": "UNLICENSED",
5
5
  "author": "M4L Team",
6
6
  "private": false,
@@ -9,9 +9,9 @@
9
9
  },
10
10
  "peerDependencies": {
11
11
  "@m4l/core": "^2.0.0",
12
- "@m4l/graphics": "^3.0.0",
13
- "@m4l/styles": "^3.0.0",
14
- "@m4l/components": "^5.0.0",
12
+ "@m4l/graphics": "^6.0.0",
13
+ "@m4l/styles": "^6.0.0",
14
+ "@m4l/components": "^7.0.0",
15
15
  "@types/react": "^17.0.0 || ^18.0.0",
16
16
  "@types/react-dom": "^17.0.0 || ^18.0.0",
17
17
  "eventemitter3": "^4.0.7",