@luscii-healthtech/web-ui 46.3.3 → 46.4.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/dist/index.development.js +6 -2
- package/dist/index.development.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/components/NavMenu/NavLayout.d.ts +8 -0
- package/dist/src/generated/components/NavMenu/NavLayout.d.ts +8 -0
- package/dist/web-ui-tailwind.css +10 -0
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -4206,9 +4206,13 @@ const CheckboxListModal = ({
|
|
|
4206
4206
|
};
|
|
4207
4207
|
|
|
4208
4208
|
const NavLayout = (props) => {
|
|
4209
|
-
const { patientSidebar = null, isNavDisabled, menu, disableScrolling, pageHeader, children, isInViewer, secondaryNavigation = null } = props, rest = __rest(props, ["patientSidebar", "isNavDisabled", "menu", "disableScrolling", "pageHeader", "children", "isInViewer", "secondaryNavigation"]);
|
|
4209
|
+
const { patientSidebar = null, isNavDisabled, menu, disableScrolling, pageHeader, children, isInViewer, secondaryNavigation = null, rowBreakpoint = "lg" } = props, rest = __rest(props, ["patientSidebar", "isNavDisabled", "menu", "disableScrolling", "pageHeader", "children", "isInViewer", "secondaryNavigation", "rowBreakpoint"]);
|
|
4210
|
+
const rowBreakpointClasses = {
|
|
4211
|
+
lg: "ui:lg:mb-0 ui:lg:flex-row",
|
|
4212
|
+
xl: "ui:xl:mb-0 ui:xl:flex-row"
|
|
4213
|
+
};
|
|
4210
4214
|
const inViewer = isInViewer;
|
|
4211
|
-
return jsxRuntime.jsxs("div", Object.assign({ "data-test-id": "nav-layout", "data-in-viewer": inViewer, className:
|
|
4215
|
+
return jsxRuntime.jsxs("div", Object.assign({ "data-test-id": "nav-layout", "data-in-viewer": inViewer, className: `ui:mb-3 ui:flex ui:h-full ui:w-full ui:flex-col ${rowBreakpointClasses[rowBreakpoint]}` }, rest, { children: [!isNavDisabled && jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [menu, patientSidebar] }), jsxRuntime.jsxs("div", { id: "page-main-content", "data-test-id": "page-main-content", className: classNames__default.default([
|
|
4212
4216
|
"ui:w-full",
|
|
4213
4217
|
"ui:flex ui:flex-row",
|
|
4214
4218
|
{
|