@luscii-healthtech/web-ui 44.3.1 → 44.3.2
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/dist/index.development.js +4 -4
- package/dist/index.development.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -6343,20 +6343,20 @@ const Header = (props) => {
|
|
|
6343
6343
|
"ui:items-center": slotsAlignment === "center",
|
|
6344
6344
|
"ui:items-start": slotsAlignment === "start"
|
|
6345
6345
|
});
|
|
6346
|
-
return jsxRuntime.jsxs(Stack, Object.assign({ as: "header", p: "xl", axis: "x", className: classes, gap: "xxl", align: "center", justify: "center", backgroundColor: "background" }, restProps, { children: [(leftActionSlot || rightActionSlot) && jsxRuntime.jsx(Box, { className: "ui:w-[--spacing(9)] ui:h-[--spacing(9)]", children: leftActionSlot }), jsxRuntime.jsx(Stack, { axis: "x", justify: "center", width: "full", className: "ui:lg:max-w-[--spacing(310)]", children: jsxRuntime.jsx(Box, { width: "full", children }) }), (leftActionSlot || rightActionSlot) && jsxRuntime.jsx(Box, { className: "ui:w-[--spacing(9)] ui:h-[--spacing(9)]", children: rightActionSlot })] }));
|
|
6346
|
+
return jsxRuntime.jsxs(Stack, Object.assign({ "data-component": "PageWithCenteredContentLayout.Header", as: "header", p: "xl", axis: "x", className: classes, gap: "xxl", align: "center", justify: "center", backgroundColor: "background" }, restProps, { children: [(leftActionSlot || rightActionSlot) && jsxRuntime.jsx(Box, { className: "ui:w-[--spacing(9)] ui:h-[--spacing(9)]", children: leftActionSlot }), jsxRuntime.jsx(Stack, { axis: "x", justify: "center", width: "full", className: "ui:lg:max-w-[--spacing(310)]", children: jsxRuntime.jsx(Box, { width: "full", children }) }), (leftActionSlot || rightActionSlot) && jsxRuntime.jsx(Box, { className: "ui:w-[--spacing(9)] ui:h-[--spacing(9)]", children: rightActionSlot })] }));
|
|
6347
6347
|
};
|
|
6348
6348
|
Header.displayName = "PageWithCenteredContentLayout.Header";
|
|
6349
6349
|
const Main = (props) => {
|
|
6350
6350
|
const { children, className } = props, restProps = __rest(props, ["children", "className"]);
|
|
6351
|
-
const classes = classNames__default.default(className, "ui:max-w-[100vw] ui:content-center ui:z-10");
|
|
6352
|
-
return jsxRuntime.jsx(Stack, Object.assign({ as: "main", width: "full", align: "center", p: "xl", className: classes }, restProps, { children: jsxRuntime.jsx(Box, { width: "full", className: "ui:lg:max-w-[--spacing(310)]", children }) }));
|
|
6351
|
+
const classes = classNames__default.default(className, "ui:max-w-[100vw] ui:h-full ui:content-center ui:z-10");
|
|
6352
|
+
return jsxRuntime.jsx(Stack, Object.assign({ "data-component": "PageWithCenteredContentLayout.Main", as: "main", width: "full", align: "center", p: "xl", className: classes }, restProps, { children: jsxRuntime.jsx(Box, { width: "full", className: "ui:lg:max-w-[--spacing(310)] ui:h-full", children }) }));
|
|
6353
6353
|
};
|
|
6354
6354
|
Main.displayName = "PageWithCenteredContentLayout.Main";
|
|
6355
6355
|
const PageWithCenteredContentLayout = (props) => {
|
|
6356
6356
|
const { header, className, children } = props, restProps = __rest(props, ["header", "className", "children"]);
|
|
6357
6357
|
const classes = classNames__default.default("ui:min-h-screen", className);
|
|
6358
6358
|
const headerContainerClasses = classNames__default.default("ui:sticky ui:top-0 ui:z-20", className);
|
|
6359
|
-
return jsxRuntime.jsxs(Stack, Object.assign({ width: "full", align: "stretch", className: classes, backgroundColor: "background" }, restProps, { children: [header && jsxRuntime.jsx(Box, { className: headerContainerClasses, children: header }), children] }));
|
|
6359
|
+
return jsxRuntime.jsxs(Stack, Object.assign({ "data-component": "PageWithCenteredContentLayout", width: "full", align: "stretch", className: classes, backgroundColor: "background" }, restProps, { children: [header && jsxRuntime.jsx(Box, { className: headerContainerClasses, children: header }), children] }));
|
|
6360
6360
|
};
|
|
6361
6361
|
PageWithCenteredContentLayout.displayName = "PageWithCenteredContentLayout";
|
|
6362
6362
|
PageWithCenteredContentLayout.Header = Header;
|