@mistersee/global-table 0.1.3 → 0.1.5
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/Pagination.d.ts +4 -2
- package/dist/SeeTable.d.ts +1 -1
- package/dist/global-table.js +506 -422
- package/dist/icons/SortIcon.d.ts +5 -0
- package/dist/index.d.ts +1 -1
- package/dist/types.d.ts +31 -1
- package/package.json +6 -3
package/dist/Pagination.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
export declare function Pagination({ skip, limit, total, limitOptions, onChange, className, startAddon, }: {
|
|
2
|
+
export declare function Pagination({ skip, limit, total, limitOptions, onChange, className, startAddon, endAddon, }: {
|
|
3
3
|
skip: number;
|
|
4
4
|
limit: number;
|
|
5
5
|
total: number;
|
|
@@ -9,6 +9,8 @@ export declare function Pagination({ skip, limit, total, limitOptions, onChange,
|
|
|
9
9
|
limit: number;
|
|
10
10
|
}) => void;
|
|
11
11
|
className?: string;
|
|
12
|
-
/** Extra control shown before the limit select
|
|
12
|
+
/** Extra control shown before the limit select */
|
|
13
13
|
startAddon?: ReactNode;
|
|
14
|
+
/** Extra control shown after the range/skip display (e.g. column toggle) */
|
|
15
|
+
endAddon?: ReactNode;
|
|
14
16
|
}): import("react").JSX.Element;
|
package/dist/SeeTable.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import type { MisterSeeGlobalTableProps } from './types';
|
|
|
2
2
|
export declare const INDEX_COLUMN_KEY = "__see_table_index__";
|
|
3
3
|
export declare const DEFAULT_COL_MIN_WIDTH = 120;
|
|
4
4
|
export declare const DEFAULT_COL_MAX_WIDTH = 310;
|
|
5
|
-
export declare function MisterSeeGlobalTable<T extends Record<string, unknown>>({ columns, data, getRowId, defaultVisibleColumns, limit: limitProp, skip: skipProp, total: totalProp, onPaginationChange, limitOptions, loading, stickyLeft, stickyRight, renderActions, actionsKey, actionsHeader, columnOrder, onColumnOrderChange, enableColumnReorder, showColumnToggle, columnsLabel, showIndex, indexHeader, indexWidth, renderIndex, fieldClassNames, classNames, }: MisterSeeGlobalTableProps<T>): import("react").JSX.Element;
|
|
5
|
+
export declare function MisterSeeGlobalTable<T extends Record<string, unknown>>({ columns, data, getRowId, defaultVisibleColumns, limit: limitProp, skip: skipProp, total: totalProp, onPaginationChange, limitOptions, loading, stickyLeft, stickyRight, renderActions, actionsKey, actionsHeader, columnOrder, onColumnOrderChange, enableColumnReorder, enableSorting, sortState: sortStateProp, defaultSort, onSortChange, showColumnToggle, columnTogglePosition, columnsLabel, showIndex, indexHeader, indexWidth, renderIndex, fieldClassNames, classNames, }: MisterSeeGlobalTableProps<T>): import("react").JSX.Element;
|