@m4l/layouts 3.1.2 → 4.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-CUgDdhzy.js";
6
+ import { N, d as d3, g as g3 } from "./layouts/NoAuthModuleLayout/index-C_NBiUuH.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";
@@ -146,24 +146,24 @@ const DesktopContent = () => {
146
146
  children: [/* @__PURE__ */ jsx(Typography, {
147
147
  variant: "subtitleDens",
148
148
  skeletonWidth: "70%",
149
- skeletongHeight: "24px",
149
+ skeletonHeight: "24px",
150
150
  children: name
151
151
  }), /* @__PURE__ */ jsx(Typography, {
152
152
  variant: "paragraph",
153
153
  skeletonWidth: "40%",
154
- skeletongHeight: "20px",
154
+ skeletonHeight: "20px",
155
155
  children: getLabel("company_name_subtitle")
156
156
  })]
157
157
  }), /* @__PURE__ */ jsxs(CompanyLeyend, {
158
158
  children: [/* @__PURE__ */ jsx(Typography, {
159
159
  variant: "h5",
160
160
  skeletonWidth: "50%",
161
- skeletongHeight: "36px",
161
+ skeletonHeight: "36px",
162
162
  children: getLabel("module_leyend")
163
163
  }), /* @__PURE__ */ jsx(Typography, {
164
164
  variant: "subtitle",
165
165
  skeletonWidth: "80%",
166
- skeletongHeight: "24px",
166
+ skeletonHeight: "24px",
167
167
  children: slogan
168
168
  })]
169
169
  })]
@@ -173,12 +173,12 @@ const DesktopContent = () => {
173
173
  children: [/* @__PURE__ */ jsx(Typography, {
174
174
  variant: "h5",
175
175
  skeletonWidth: "20%",
176
- skeletongHeight: "36px",
176
+ skeletonHeight: "36px",
177
177
  children: getLabel("module_name")
178
178
  }), /* @__PURE__ */ jsx(Typography, {
179
179
  variant: "paragraph",
180
180
  skeletonWidth: "40%",
181
- skeletongHeight: "20px",
181
+ skeletonHeight: "20px",
182
182
  children: getLabel("module_description")
183
183
  })]
184
184
  }), /* @__PURE__ */ jsx(Stack, {
@@ -304,12 +304,12 @@ const MobileContent = () => {
304
304
  children: [/* @__PURE__ */ jsx(Typography, {
305
305
  variant: "subtitleDens",
306
306
  skeletonWidth: "70%",
307
- skeletongHeight: "24px",
307
+ skeletonHeight: "24px",
308
308
  children: name
309
309
  }), /* @__PURE__ */ jsx(Typography, {
310
310
  variant: "paragraph",
311
311
  skeletonWidth: "40%",
312
- skeletongHeight: "20px",
312
+ skeletonHeight: "20px",
313
313
  children: getLabel("company_name_subtitle")
314
314
  })]
315
315
  }), /* @__PURE__ */ jsx(LanguagePopover, {})]
@@ -320,12 +320,12 @@ const MobileContent = () => {
320
320
  children: [/* @__PURE__ */ jsx(Typography, {
321
321
  variant: "h5",
322
322
  skeletonWidth: "20%",
323
- skeletongHeight: "36px",
323
+ skeletonHeight: "36px",
324
324
  children: getLabel("module_name")
325
325
  }), /* @__PURE__ */ jsx(Typography, {
326
326
  variant: "paragraph",
327
327
  skeletonWidth: "40%",
328
- skeletongHeight: "20px",
328
+ skeletonHeight: "20px",
329
329
  children: getLabel("module_description")
330
330
  })]
331
331
  }), children]
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@m4l/layouts",
3
- "version": "3.1.2",
3
+ "version": "4.0.0",
4
4
  "license": "UNLICENSED",
5
5
  "author": "M4L Team",
6
6
  "private": false,
7
7
  "dependencies": {
8
- "@mui/material": "5.15.19",
9
- "@m4l/core": "^2.0.0",
10
- "@m4l/graphics": "^3.0.0",
11
- "@m4l/styles": "^3.0.0"
8
+ "@mui/material": "5.15.19"
12
9
  },
13
10
  "peerDependencies": {
14
- "@m4l/components": "^4.0.0",
11
+ "@m4l/core": "^2.0.0",
12
+ "@m4l/graphics": "^3.0.0",
13
+ "@m4l/styles": "^3.0.0",
14
+ "@m4l/components": "^5.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",