@luscii-healthtech/web-ui 42.7.0 → 42.8.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.
@@ -0,0 +1,3 @@
1
+ import { IconProps } from "./types/IconProps.type";
2
+ declare const _default: ({ className, size, color, ...rest }: IconProps) => JSX.Element;
3
+ export default _default;
@@ -3,6 +3,7 @@ export { default as AbsentIcon } from "./AbsentIcon";
3
3
  export { default as AddNoteIcon } from "./AddNoteIcon";
4
4
  export { default as AlarmClockIcon } from "./AlarmClockIcon";
5
5
  export { default as AmberAlertIcon } from "./AmberAlertIcon";
6
+ export { default as ArrowBackward } from "./ArrowBackward";
6
7
  export { default as ArrowForward } from "./ArrowForward";
7
8
  export { default as AssignIcon } from "./AssignIcon";
8
9
  export { default as AssignedIcon } from "./AssignedIcon";
@@ -7,7 +7,17 @@ type StaticComponents = {
7
7
  type Props = {
8
8
  header: ReactNode;
9
9
  } & ComponentProps<typeof Box>;
10
- declare const Header: FC<ComponentProps<typeof Box>>;
10
+ type HeaderProps = ComponentProps<typeof Box> & {
11
+ /**
12
+ * A 36x36 slot for an action (usually a SecondaryIconButton) to be placed on the left side of the header.
13
+ */
14
+ leftActionSlot?: ReactNode;
15
+ /**
16
+ * A 36x36 slot for an action (usually a SecondaryIconButton) to be placed on the right side of the header.
17
+ */
18
+ rightActionSlot?: ReactNode;
19
+ };
20
+ declare const Header: FC<HeaderProps>;
11
21
  declare const Main: FC<ComponentProps<typeof Box>>;
12
22
  export declare const PageWithCenteredContentLayout: FC<PropsWithChildren<Props>> & StaticComponents;
13
23
  export {};
@@ -24,6 +24,9 @@ declare const meta: {
24
24
  borderRadiusRight?: keyof typeof import("../src/index").SIZES;
25
25
  hoverBackgroundColor?: import("../src/types/general.types").BackgroundColor;
26
26
  cursor?: import("../src/types/general.types").CursorOption;
27
+ } & {
28
+ leftActionSlot?: import("react").ReactNode;
29
+ rightActionSlot?: import("react").ReactNode;
27
30
  }>;
28
31
  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" | "xl" | "m" | "xs" | "xxxxs" | "xxxs" | "xxs" | "l" | "xxl">> & {
29
32
  as?: import("react").ElementType | undefined;
@@ -958,6 +958,9 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
958
958
  .ui\:h-44 {
959
959
  height: 11rem;
960
960
  }
961
+ .ui\:h-\[--spacing\(9\)\] {
962
+ height: calc(var(--ui-spacing) * 9);
963
+ }
961
964
  .ui\:h-\[8px\] {
962
965
  height: 8px;
963
966
  }
@@ -1126,9 +1129,6 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
1126
1129
  .ui\:w-16 {
1127
1130
  width: calc(var(--ui-spacing) * 16);
1128
1131
  }
1129
- .ui\:w-24 {
1130
- width: calc(var(--ui-spacing) * 24);
1131
- }
1132
1132
  .ui\:w-32 {
1133
1133
  width: calc(var(--ui-spacing) * 32);
1134
1134
  }
@@ -1156,6 +1156,9 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
1156
1156
  .ui\:w-104 {
1157
1157
  width: 26rem;
1158
1158
  }
1159
+ .ui\:w-\[--spacing\(9\)\] {
1160
+ width: calc(var(--ui-spacing) * 9);
1161
+ }
1159
1162
  .ui\:w-\[8px\] {
1160
1163
  width: 8px;
1161
1164
  }
@@ -4559,9 +4562,9 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
4559
4562
  width: 100%;
4560
4563
  }
4561
4564
  }
4562
- .ui\:lg\:max-w-\[--spacing\(192\)\] {
4565
+ .ui\:lg\:max-w-\[--spacing\(310\)\] {
4563
4566
  @media (width >= 64rem) {
4564
- max-width: calc(var(--ui-spacing) * 192);
4567
+ max-width: calc(var(--ui-spacing) * 310);
4565
4568
  }
4566
4569
  }
4567
4570
  .ui\:lg\:max-w-\[calc\(100vw-\(--spacing\(132\)\)\)\] {