@stackone/malachite 2.126.0 → 2.127.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/COMPONENTS.md +2 -1
- package/dist/components/Invisible.js +16 -0
- package/dist/components/Invisible.js.map +1 -0
- package/dist/components/Table/Table.js +657 -641
- package/dist/components/Table/Table.js.map +1 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +397 -395
- package/dist/index.js.map +1 -1
- package/dist/tailwind.css.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3604,6 +3604,15 @@ declare type InputVariant = 'default' | 'ghost';
|
|
|
3604
3604
|
|
|
3605
3605
|
export declare const IntegrationsIcon: React.FC<IconProps_69>;
|
|
3606
3606
|
|
|
3607
|
+
/** Keeps its children's space while hiding them from sight, focus and assistive technology. */
|
|
3608
|
+
export declare const Invisible: default_2.FC<InvisibleProps>;
|
|
3609
|
+
|
|
3610
|
+
export declare interface InvisibleProps {
|
|
3611
|
+
children: default_2.ReactNode;
|
|
3612
|
+
/** Hides the children while true, so a slot can toggle without remounting them. Defaults to true. */
|
|
3613
|
+
hidden?: boolean;
|
|
3614
|
+
}
|
|
3615
|
+
|
|
3607
3616
|
declare const Item: default_2.FC<KeyValueStripItemProps>;
|
|
3608
3617
|
|
|
3609
3618
|
declare const Item_2: default_2.FC<TimelineItemProps>;
|
|
@@ -6227,7 +6236,7 @@ export declare interface TabItem {
|
|
|
6227
6236
|
content?: default_2.ReactNode;
|
|
6228
6237
|
}
|
|
6229
6238
|
|
|
6230
|
-
export declare const Table: <T = Record<string, unknown>>({ columns, data, loading, error, errorTitle, errorSubTitle, emptyTitle, emptySubTitle, bordered, showHeader, rowKey, scrollHeight, size, rowDensity, layout, headerVariant, title, subtitle, extra, rowClassName, rowVariant, onRow, onClickRow, selectedRowKey, scrollSelectedIntoView, rowSelection, pagination, className, style, stickyHeaderTop, scrollX, rowSection, renderSectionDivider, onVisibleOrderChange, virtual, virtualRowHeightEstimate, virtualScrollElement, }: TableProps<T>) => JSX_2.Element;
|
|
6239
|
+
export declare const Table: <T = Record<string, unknown>>({ columns, data, loading, loadingRowCount, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, error, errorTitle, errorSubTitle, emptyTitle, emptySubTitle, bordered, showHeader, rowKey, scrollHeight, size, rowDensity, layout, headerVariant, title, subtitle, extra, rowClassName, rowVariant, onRow, onClickRow, selectedRowKey, scrollSelectedIntoView, rowSelection, pagination, className, style, stickyHeaderTop, scrollX, rowSection, renderSectionDivider, onVisibleOrderChange, virtual, virtualRowHeightEstimate, virtualScrollElement, }: TableProps<T>) => JSX_2.Element;
|
|
6231
6240
|
|
|
6232
6241
|
export declare type TableColumnDefinition<T = Record<string, unknown>> = {
|
|
6233
6242
|
title: string | default_2.ReactNode;
|
|
@@ -6279,6 +6288,12 @@ declare type TableProps<T = Record<string, unknown>> = {
|
|
|
6279
6288
|
columns: TableColumns<T>;
|
|
6280
6289
|
data: T[];
|
|
6281
6290
|
loading?: boolean;
|
|
6291
|
+
/** How many skeleton rows `loading` draws, for a table whose real row count is known. */
|
|
6292
|
+
loadingRowCount?: number;
|
|
6293
|
+
/** Names the inline table for assistive technology. */
|
|
6294
|
+
'aria-label'?: string;
|
|
6295
|
+
/** Names the inline table by the id of a visible heading. */
|
|
6296
|
+
'aria-labelledby'?: string;
|
|
6282
6297
|
error?: boolean;
|
|
6283
6298
|
errorTitle?: string;
|
|
6284
6299
|
errorSubTitle?: string;
|