@luscii-healthtech/web-ui 42.8.0 → 42.8.2
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 +17 -5
- 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/Icons/ArrowBackward.d.ts +3 -0
- package/dist/src/components/Icons/index.d.ts +1 -0
- package/dist/src/components/PageWithCenteredContentLayout/PageWithCenteredContentLayout.d.ts +11 -1
- package/dist/src/components/TableNew/TableNew.d.ts +9 -0
- package/dist/stories/PageWithCenteredContentLayout.stories.d.ts +3 -0
- package/dist/stories/TableNew.stories.d.ts +1 -0
- package/dist/web-ui-tailwind.css +8 -2
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -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";
|
package/dist/src/components/PageWithCenteredContentLayout/PageWithCenteredContentLayout.d.ts
CHANGED
|
@@ -7,7 +7,17 @@ type StaticComponents = {
|
|
|
7
7
|
type Props = {
|
|
8
8
|
header: ReactNode;
|
|
9
9
|
} & ComponentProps<typeof Box>;
|
|
10
|
-
|
|
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 {};
|
|
@@ -12,6 +12,15 @@ export interface TableProps extends HTMLAttributes<HTMLTableElement> {
|
|
|
12
12
|
* @default `"none"`
|
|
13
13
|
*/
|
|
14
14
|
headerBackground?: "first-column" | "first-row" | "first-row-and-column" | "none";
|
|
15
|
+
/**
|
|
16
|
+
* Controls how the table width will behave:
|
|
17
|
+
*
|
|
18
|
+
* - `fit-content`: Width adjusted based on its content while staying within the limits of its container.
|
|
19
|
+
* It ensures the element is never smaller than its minimum intrinsic size or larger than its maximum intrinsic size.
|
|
20
|
+
*
|
|
21
|
+
* - `full-width`: Width will always stretch to the full viewport size, regardless of the size of the content.
|
|
22
|
+
*/
|
|
23
|
+
variant?: "fit-content" | "full-width";
|
|
15
24
|
}
|
|
16
25
|
export interface TheadProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
17
26
|
stickyHeader?: boolean;
|
|
@@ -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;
|
|
@@ -22,6 +22,7 @@ declare const meta: {
|
|
|
22
22
|
export default meta;
|
|
23
23
|
type Story = StoryObj<typeof meta>;
|
|
24
24
|
export declare const Basic: Story;
|
|
25
|
+
export declare const BasicFullWidth: Story;
|
|
25
26
|
export declare const WithActions: Story;
|
|
26
27
|
export declare const WithoutHeader: Story;
|
|
27
28
|
export declare const MixedContent: Story;
|
package/dist/web-ui-tailwind.css
CHANGED
|
@@ -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
|
}
|
|
@@ -1153,6 +1156,9 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
1153
1156
|
.ui\:w-104 {
|
|
1154
1157
|
width: 26rem;
|
|
1155
1158
|
}
|
|
1159
|
+
.ui\:w-\[--spacing\(9\)\] {
|
|
1160
|
+
width: calc(var(--ui-spacing) * 9);
|
|
1161
|
+
}
|
|
1156
1162
|
.ui\:w-\[8px\] {
|
|
1157
1163
|
width: 8px;
|
|
1158
1164
|
}
|
|
@@ -4556,9 +4562,9 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
4556
4562
|
width: 100%;
|
|
4557
4563
|
}
|
|
4558
4564
|
}
|
|
4559
|
-
.ui\:lg\:max-w-\[--spacing\(
|
|
4565
|
+
.ui\:lg\:max-w-\[--spacing\(310\)\] {
|
|
4560
4566
|
@media (width >= 64rem) {
|
|
4561
|
-
max-width: calc(var(--ui-spacing) *
|
|
4567
|
+
max-width: calc(var(--ui-spacing) * 310);
|
|
4562
4568
|
}
|
|
4563
4569
|
}
|
|
4564
4570
|
.ui\:lg\:max-w-\[calc\(100vw-\(--spacing\(132\)\)\)\] {
|