@luscii-healthtech/web-ui 42.5.0 → 42.5.1
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 +3 -3
- 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
|
@@ -5257,9 +5257,9 @@ const VerticalMenu = (props) => {
|
|
|
5257
5257
|
const shouldShowCollapseButton = localization && Boolean(onCollapseButtonClick);
|
|
5258
5258
|
const hasHeaderContent = title || shouldShowCollapseButton;
|
|
5259
5259
|
const contextValue = React.useMemo(() => ({ variant }), [variant]);
|
|
5260
|
-
return jsxRuntime.jsx(context$1.Provider, { value: contextValue, children: jsxRuntime.jsxs(Stack, Object.assign({ as: "div", px: "xxs", py: "m", align: "normal", className: classNames__default.default("ui:max-w-full", {
|
|
5260
|
+
return jsxRuntime.jsx(context$1.Provider, { value: contextValue, children: jsxRuntime.jsxs(Stack, Object.assign({ as: "div", px: "xxs", py: "m", align: "normal", className: classNames__default.default("ui:max-w-full", "ui:max-h-full", {
|
|
5261
5261
|
[DEFAULT_TEXT_CLASS_NAME]: isCollapsed
|
|
5262
|
-
}, className) }, rest, { children: [header && jsxRuntime.jsx("
|
|
5262
|
+
}, className) }, rest, { children: [jsxRuntime.jsxs(Stack, { width: "full", children: [header && jsxRuntime.jsx(Box, { width: "full", children: header }), jsxRuntime.jsxs(Stack, { axis: "x", gap: "xxs", p: hasHeaderContent ? "m" : void 0, align: "start", justify: "between", width: "full", children: [title && jsxRuntime.jsx(Box, { children: jsxRuntime.jsx(Text, { variant: "lg-strong", children: title }) }), shouldShowCollapseButton && jsxRuntime.jsx(
|
|
5263
5263
|
Box,
|
|
5264
5264
|
{
|
|
5265
5265
|
/**
|
|
@@ -5284,7 +5284,7 @@ const VerticalMenu = (props) => {
|
|
|
5284
5284
|
children: jsxRuntime.jsx(SidebarIcon, {})
|
|
5285
5285
|
}) })
|
|
5286
5286
|
}
|
|
5287
|
-
)] }), isPrimaryVariant && hasHeaderContent && jsxRuntime.jsx(VerticalMenu.Divider, {}), jsxRuntime.jsx(Stack, { width: "full", gap: isCollapsed ? "xxs" : void 0, children: props.children }), jsxRuntime.jsx("div", { className: "ui:mt-auto", children: footer })] })) });
|
|
5287
|
+
)] })] }), isPrimaryVariant && hasHeaderContent && jsxRuntime.jsx(VerticalMenu.Divider, {}), jsxRuntime.jsx(Stack, { width: "full", className: "ui:flex-1 ui:overflow-y-auto", gap: isCollapsed ? "xxs" : void 0, children: props.children }), jsxRuntime.jsx("div", { className: "ui:mt-auto", children: footer })] })) });
|
|
5288
5288
|
};
|
|
5289
5289
|
VerticalMenu.Divider = MenuDivider;
|
|
5290
5290
|
VerticalMenu.Item = MenuItem;
|