mantine-datatable 9.2.0 → 9.2.2
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +2 -2
- package/dist/styles.layer.css +2 -2
- package/package.json +37 -37
package/dist/index.d.ts
CHANGED
|
@@ -301,7 +301,7 @@ type DataTablePageSizeSelectorProps = {
|
|
|
301
301
|
recordsPerPageLabel?: string;
|
|
302
302
|
};
|
|
303
303
|
|
|
304
|
-
type
|
|
304
|
+
type DataTablePaginationRenderContext = {
|
|
305
305
|
state: {
|
|
306
306
|
paginationSize: MantineSize;
|
|
307
307
|
page: number;
|
|
@@ -425,7 +425,7 @@ type DataTablePaginationProps = ({
|
|
|
425
425
|
/**
|
|
426
426
|
* Optional render function to replace the entire pagination component.
|
|
427
427
|
*/
|
|
428
|
-
renderPagination?: (ctx:
|
|
428
|
+
renderPagination?: (ctx: DataTablePaginationRenderContext) => React.ReactNode;
|
|
429
429
|
}) & DataTablePageSizeSelectorProps;
|
|
430
430
|
|
|
431
431
|
type DataTableColorProps<T> = {
|
|
@@ -1088,4 +1088,4 @@ declare function getGroupsAtDepth<T>(groups: readonly DataTableColumnGroup<T>[],
|
|
|
1088
1088
|
*/
|
|
1089
1089
|
declare function needsRightBorder(isLastGroup: boolean, hasMoreColumnsAfter: boolean, withColumnBorders: boolean): boolean;
|
|
1090
1090
|
|
|
1091
|
-
export { DataTable, type DataTableCellClickHandler, type DataTableColumn, type DataTableColumnGroup, type DataTableColumnPinning, type DataTableColumnTextAlign, type DataTableColumnToggle, type DataTableDefaultColumnProps, DataTableDraggableRow, type DataTableDraggableRowProps, type DataTableEmptyStateProps, type DataTableOuterBorderProps, type DataTablePaginationProps, type DataTableProps, type DataTableRowClickHandler, type DataTableRowExpansionCollapseProps, type DataTableRowExpansionProps, type DataTableSelectionProps, type DataTableSelectionTrigger, type DataTableSortProps, type DataTableSortStatus, type DataTableVerticalAlign, type WithOptionalProperty, type WithRequiredProperty, calculateColSpan, differenceBy, flattenColumns, getGroupsAtDepth, getMaxGroupDepth, getRecordId, getValueAtPath, humanize, needsRightBorder, reorderRecords, swapRecords, uniqBy, useDataTableColumns };
|
|
1091
|
+
export { DataTable, type DataTableCellClickHandler, type DataTableColumn, type DataTableColumnGroup, type DataTableColumnPinning, type DataTableColumnTextAlign, type DataTableColumnToggle, type DataTableDefaultColumnProps, DataTableDraggableRow, type DataTableDraggableRowProps, type DataTableEmptyStateProps, type DataTableOuterBorderProps, type DataTablePaginationProps, type DataTablePaginationRenderContext, type DataTableProps, type DataTableRowClickHandler, type DataTableRowExpansionCollapseProps, type DataTableRowExpansionProps, type DataTableSelectionProps, type DataTableSelectionTrigger, type DataTableSortProps, type DataTableSortStatus, type DataTableVerticalAlign, type WithOptionalProperty, type WithRequiredProperty, calculateColSpan, differenceBy, flattenColumns, getGroupsAtDepth, getMaxGroupDepth, getRecordId, getValueAtPath, humanize, needsRightBorder, reorderRecords, swapRecords, uniqBy, useDataTableColumns };
|