@stackone/malachite 0.56.0 → 0.57.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.
- package/dist/index.d.ts +7 -1
- package/dist/index.js +2035 -2023
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1482,7 +1482,7 @@ export declare interface TabItem {
|
|
|
1482
1482
|
disabled?: boolean;
|
|
1483
1483
|
}
|
|
1484
1484
|
|
|
1485
|
-
export declare const Table: <T = Record<string, unknown>>({ columns, data, loading, error, errorTitle, errorSubTitle, bordered, showHeader, rowKey, scrollHeight, size, layout, headerVariant, rowClassName, rowVariant, onRow, onClickRow, rowSelection, pagination, className, style, stickyHeaderTop, scrollX, rowSection, renderSectionDivider, virtual, virtualRowHeightEstimate, virtualScrollElement, }: TableProps<T>) => JSX_2.Element;
|
|
1485
|
+
export declare const Table: <T = Record<string, unknown>>({ columns, data, loading, error, errorTitle, errorSubTitle, emptyTitle, emptySubTitle, bordered, showHeader, rowKey, scrollHeight, size, rowDensity, layout, headerVariant, rowClassName, rowVariant, onRow, onClickRow, rowSelection, pagination, className, style, stickyHeaderTop, scrollX, rowSection, renderSectionDivider, virtual, virtualRowHeightEstimate, virtualScrollElement, }: TableProps<T>) => JSX_2.Element;
|
|
1486
1486
|
|
|
1487
1487
|
export declare type TableColumnDefinition<T = Record<string, unknown>> = {
|
|
1488
1488
|
title: string | default_2.ReactNode;
|
|
@@ -1518,12 +1518,18 @@ declare type TableProps<T = Record<string, unknown>> = {
|
|
|
1518
1518
|
error?: boolean;
|
|
1519
1519
|
errorTitle?: string;
|
|
1520
1520
|
errorSubTitle?: string;
|
|
1521
|
+
emptyTitle?: string;
|
|
1522
|
+
emptySubTitle?: string;
|
|
1521
1523
|
bordered?: boolean;
|
|
1522
1524
|
showHeader?: boolean;
|
|
1523
1525
|
rowKey?: string | ((record: T) => string);
|
|
1524
1526
|
scrollHeight?: string | number;
|
|
1525
1527
|
type?: TableType;
|
|
1526
1528
|
size?: TableSize;
|
|
1529
|
+
/** Vertical density of body rows. 'compact' halves the cell padding so
|
|
1530
|
+
* rows carrying controls (buttons, dropdowns) sit close to text-row
|
|
1531
|
+
* height; headers keep their own padding. */
|
|
1532
|
+
rowDensity?: 'default' | 'compact';
|
|
1527
1533
|
layout?: 'fixed' | 'auto';
|
|
1528
1534
|
headerVariant?: TableHeaderVariant;
|
|
1529
1535
|
rowClassName?: (record: T, index: number) => string;
|