@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.
@@ -16,6 +16,11 @@ type HeaderProps = ComponentProps<typeof Box> & {
16
16
  * A 36x36 slot for an action (usually a SecondaryIconButton) to be placed on the right side of the header.
17
17
  */
18
18
  rightActionSlot?: ReactNode;
19
+ /**
20
+ * In some cases you want the action slots to be aligned differently than centered.
21
+ * @default "center"
22
+ */
23
+ slotsAlignment?: "start" | "center";
19
24
  };
20
25
  declare const Header: FC<HeaderProps>;
21
26
  declare const Main: FC<ComponentProps<typeof Box>>;
@@ -27,6 +27,7 @@ declare const meta: {
27
27
  } & {
28
28
  leftActionSlot?: import("react").ReactNode;
29
29
  rightActionSlot?: import("react").ReactNode;
30
+ slotsAlignment?: "start" | "center";
30
31
  }>;
31
32
  Main: import("react").FC<Omit<any, "ref"> & Partial<Record<"p" | "m" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "mt" | "mr" | "mb" | "ml" | "mx" | "my", "none" | "s" | "xs" | "xl" | "m" | "xxxxs" | "xxxs" | "xxs" | "l" | "xxl">> & {
32
33
  as?: import("react").ElementType | undefined;
@@ -49,3 +50,4 @@ export default meta;
49
50
  type Story = StoryObj<typeof meta>;
50
51
  export declare const Simple: Story;
51
52
  export declare const Overflow: Story;
53
+ export declare const ActionsAlignment: Story;