@m4l/layouts 0.1.42 → 0.1.43

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
@@ -4,7 +4,7 @@ import { B } from "./components/BaseModule/index.6309486a.js";
4
4
  import { a, A } from "./contexts/AuthContext/index.6f966215.js";
5
5
  import { a as a2, d, g } from "./layouts/ModuleLayout/index.e7218171.js";
6
6
  import { a as a3, d as d2, g as g2 } from "./layouts/MasterDetailLayout/index.fe6ac47b.js";
7
- import { N, d as d3, g as g3 } from "./layouts/NoAuthModuleLayout/index.2808fa44.js";
7
+ import { N, d as d3, g as g3 } from "./layouts/NoAuthModuleLayout/index.82656886.js";
8
8
  import { u } from "./hooks/useMasterDetail/index.be4908d9.js";
9
9
  import { u as u2 } from "./hooks/useAuth/index.cb6a3420.js";
10
10
  import { u as u3 } from "./hooks/useModule/index.b5f598b1.js";
@@ -93,6 +93,7 @@ const FormContent$1 = styled("div")(() => ({
93
93
  padding: "0 60px 0 80px",
94
94
  margin: "auto 0",
95
95
  width: "100%",
96
+ height: "auto",
96
97
  gap: "20px"
97
98
  }));
98
99
  const WrapperFormContent$1 = styled("div")(() => ({
@@ -106,6 +107,13 @@ const ContainerModuleName$1 = styled("div")(() => ({
106
107
  width: "100%",
107
108
  gap: "4px"
108
109
  }));
110
+ styled("div")(() => ({
111
+ display: "flex",
112
+ width: "100%",
113
+ height: "100%",
114
+ justifyContent: "center",
115
+ alignItems: "center"
116
+ }));
109
117
  const DesktopContent = () => {
110
118
  const {
111
119
  children,
@@ -153,22 +161,20 @@ const DesktopContent = () => {
153
161
  })]
154
162
  })]
155
163
  }), /* @__PURE__ */ jsx(WrapperFormContent$1, {
156
- children: /* @__PURE__ */ jsx(ScrollBar, {
157
- children: /* @__PURE__ */ jsxs(FormContent$1, {
158
- children: [/* @__PURE__ */ jsxs(ContainerModuleName$1, {
159
- children: [/* @__PURE__ */ jsx(Typography, {
160
- variant: "h5",
161
- skeletonWidth: "20%",
162
- skeletongHeight: "36px",
163
- children: getLabel("module_name")
164
- }), /* @__PURE__ */ jsx(Typography, {
165
- variant: "paragraph",
166
- skeletonWidth: "40%",
167
- skeletongHeight: "20px",
168
- children: getLabel("module_description")
169
- })]
170
- }), children]
171
- })
164
+ children: /* @__PURE__ */ jsxs(FormContent$1, {
165
+ children: [/* @__PURE__ */ jsxs(ContainerModuleName$1, {
166
+ children: [/* @__PURE__ */ jsx(Typography, {
167
+ variant: "h5",
168
+ skeletonWidth: "20%",
169
+ skeletongHeight: "36px",
170
+ children: getLabel("module_name")
171
+ }), /* @__PURE__ */ jsx(Typography, {
172
+ variant: "paragraph",
173
+ skeletonWidth: "40%",
174
+ skeletongHeight: "20px",
175
+ children: getLabel("module_description")
176
+ })]
177
+ }), children]
172
178
  })
173
179
  })]
174
180
  });
@@ -5,4 +5,4 @@ import "@m4l/core";
5
5
  import "./MasterDetailLayout/index.fe6ac47b.js";
6
6
  import "@m4l/graphics";
7
7
  import "react/jsx-runtime";
8
- import "./NoAuthModuleLayout/index.2808fa44.js";
8
+ import "./NoAuthModuleLayout/index.82656886.js";
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@m4l/layouts",
3
- "version": "0.1.42",
3
+ "version": "0.1.43",
4
4
  "license": "UNLICENSED",
5
5
  "dependencies": {
6
- "@mui/material": "5.10.4",
7
6
  "@m4l/components": "*",
8
7
  "@m4l/core": "*",
9
8
  "@m4l/graphics": "*",
10
- "@m4l/styles": "*"
9
+ "@m4l/styles": "*",
10
+ "@mui/material": "5.10.4"
11
11
  },
12
12
  "peerDependencies": {
13
13
  "@types/react": "^17.0.0 || ^18.0.0",