@luscii-healthtech/web-ui 42.8.1 → 42.8.4
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 +8 -2
- 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/TableNew/TableNew.d.ts +9 -0
- package/dist/stories/TableNew.stories.d.ts +1 -0
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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;
|