@luscii-healthtech/web-ui 42.13.2 → 42.14.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.
@@ -6358,8 +6358,11 @@ const Aside = (props) => {
6358
6358
  SplitViewLayout.Aside = Aside;
6359
6359
 
6360
6360
  const Header = (props) => {
6361
- const { children, className, leftActionSlot, rightActionSlot } = props, restProps = __rest(props, ["children", "className", "leftActionSlot", "rightActionSlot"]);
6362
- const classes = classNames__default.default(className, "ui:max-w-[100vw] ui:content-center");
6361
+ const { children, className, leftActionSlot, rightActionSlot, slotsAlignment = "center" } = props, restProps = __rest(props, ["children", "className", "leftActionSlot", "rightActionSlot", "slotsAlignment"]);
6362
+ const classes = classNames__default.default(className, "ui:max-w-[100vw]", {
6363
+ "ui:items-center": slotsAlignment === "center",
6364
+ "ui:items-start": slotsAlignment === "start"
6365
+ });
6363
6366
  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 })] }));
6364
6367
  };
6365
6368
  Header.displayName = "PageWithCenteredContentLayout.Header";