@memobit/libs 1.0.6 → 1.0.7
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.css +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.esm.js +3595 -3565
- package/dist/version.json +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -781,7 +781,7 @@ declare interface CountryWithFlagProps {
|
|
|
781
781
|
className?: string;
|
|
782
782
|
}
|
|
783
783
|
|
|
784
|
-
declare function DataView_2<T>({ columns, data, rowKey, selectable, onSelectionChange, selectedIds: controlledSelectedIds, pageSizeOptions, initialPageSize, showPageSize, card, actions, actionsWidth, timeline, onRowClick, rowHref, rowClassName, rowDetail, empty, initialSortKey, initialSortDirection, sortKey: controlledSortKey, sortDirection: controlledSortDirection, onSortChange, miniSort, showCardSortControls, desktopView, cardMaxWidth, className, onPageChange, onPageSizeChange, currentPage: controlledCurrentPage, totalItems: controlledTotalItems, group, showResultsCount, totalCount, itemNoun, }: DataViewProps<T>): JSX.Element;
|
|
784
|
+
declare function DataView_2<T>({ columns, data, rowKey, pinnedIds, selectable, onSelectionChange, selectedIds: controlledSelectedIds, pageSizeOptions, initialPageSize, showPageSize, card, actions, actionsWidth, timeline, onRowClick, rowHref, rowClassName, rowDetail, empty, initialSortKey, initialSortDirection, sortKey: controlledSortKey, sortDirection: controlledSortDirection, onSortChange, miniSort, showCardSortControls, desktopView, cardMaxWidth, className, onPageChange, onPageSizeChange, currentPage: controlledCurrentPage, totalItems: controlledTotalItems, group, showResultsCount, totalCount, itemNoun, }: DataViewProps<T>): JSX.Element;
|
|
785
785
|
export { DataView_2 as DataView }
|
|
786
786
|
|
|
787
787
|
export declare interface DataViewCardConfig<T> {
|
|
@@ -862,6 +862,9 @@ export declare interface DataViewProps<T> {
|
|
|
862
862
|
columns: DataViewColumn<T>[];
|
|
863
863
|
data: T[];
|
|
864
864
|
rowKey?: (row: T, index: number) => string | number;
|
|
865
|
+
/** Row keys that should remain at the top of the list regardless of sorting/pagination.
|
|
866
|
+
* Pinned rows appear in the order given in this array, before any unpinned rows. */
|
|
867
|
+
pinnedIds?: Array<string | number>;
|
|
865
868
|
selectable?: boolean;
|
|
866
869
|
onSelectionChange?: (rows: T[]) => void;
|
|
867
870
|
/** Controlled selection. When provided, DataView reflects this array of row keys instead of its internal state. */
|