@dooherceg/material-react-table 3.2.20 → 4.0.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 CHANGED
@@ -1,9 +1,9 @@
1
- import * as _tanstack_react_table from '@tanstack/react-table';
2
- import { Row, ColumnFiltersState, ColumnOrderState, ColumnPinningState, ColumnSizingInfoState, ColumnSizingState, ExpandedState, GroupingState, PaginationState, RowSelectionState, SortingState, Updater, VisibilityState, AccessorFn, DeepKeys, DeepValue, Table, TableState, Column, Header, HeaderGroup, Cell, AggregationFn, SortingFn, FilterFn, TableOptions, OnChangeFn, ColumnDef, RowData, Renderable, RowPinningPosition } from '@tanstack/react-table';
1
+ import { ColumnOrderState, ColumnPinningState, columnResizingState, ColumnSizingState, ExpandedState, GroupingState, PaginationState, RowSelectionState, SortingState, Updater, ColumnVisibilityState, AccessorFn, DeepKeys, DeepValue, Table, TableState, Column, Header, HeaderGroup, Row, Cell, AggregationFnDef, SortFn, TableOptions, OnChangeFn, ColumnDef, TableFeatures, RowData, Renderable, RowPinningPosition } from '@tanstack/react-table';
3
2
  import * as react from 'react';
4
3
  import react__default, { ReactNode, RefObject, Dispatch, SetStateAction, ChangeEvent, MouseEvent, JSX, Ref, ReactElement, DragEventHandler, HTMLAttributes, FormEventHandler } from 'react';
5
4
  import { RegisterOptions, UseFormReturn } from 'react-hook-form';
6
5
  import { VirtualItem, VirtualizerOptions, Virtualizer } from '@tanstack/react-virtual';
6
+ import { ReadonlyStore } from '@tanstack/store';
7
7
  import { AlertProps } from '@mui/material/Alert';
8
8
  import { AutocompleteProps } from '@mui/material/Autocomplete';
9
9
  import { BoxProps } from '@mui/material/Box';
@@ -11,7 +11,6 @@ import { ButtonProps } from '@mui/material/Button';
11
11
  import { CheckboxProps } from '@mui/material/Checkbox';
12
12
  import { ChipProps } from '@mui/material/Chip';
13
13
  import { CircularProgressProps } from '@mui/material/CircularProgress';
14
- import { DialogProps } from '@mui/material/Dialog';
15
14
  import { IconButtonProps } from '@mui/material/IconButton';
16
15
  import { LinearProgressProps } from '@mui/material/LinearProgress';
17
16
  import { ModalProps } from '@mui/material/Modal';
@@ -32,7 +31,7 @@ import { TableHeadProps } from '@mui/material/TableHead';
32
31
  import { TableRowProps } from '@mui/material/TableRow';
33
32
  import { TextFieldProps } from '@mui/material/TextField';
34
33
  import { DatePickerProps, DateTimePickerProps, TimePickerProps } from '@mui/x-date-pickers';
35
- import { RankingInfo } from '@tanstack/match-sorter-utils';
34
+ import * as _tanstack_table_core from '@tanstack/table-core';
36
35
  import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
37
36
  import * as _mui_material from '@mui/material';
38
37
  import { SvgIconProps } from '@mui/material/SvgIcon';
@@ -42,94 +41,27 @@ import { MenuItemProps } from '@mui/material/MenuItem';
42
41
  import { MenuProps } from '@mui/material/Menu';
43
42
 
44
43
  declare const MRT_AggregationFns: {
45
- sum: _tanstack_react_table.AggregationFn<any>;
46
- min: _tanstack_react_table.AggregationFn<any>;
47
- max: _tanstack_react_table.AggregationFn<any>;
48
- extent: _tanstack_react_table.AggregationFn<any>;
49
- mean: _tanstack_react_table.AggregationFn<any>;
50
- median: _tanstack_react_table.AggregationFn<any>;
51
- unique: _tanstack_react_table.AggregationFn<any>;
52
- uniqueCount: _tanstack_react_table.AggregationFn<any>;
53
- count: _tanstack_react_table.AggregationFn<any>;
54
- };
55
-
56
- declare const MRT_FilterFns: {
57
- between: {
58
- <TData extends MRT_RowData>(row: Row<TData>, id: string, filterValues: [number | string, number | string]): boolean;
59
- autoRemove(val: unknown): boolean;
60
- };
61
- betweenInclusive: {
62
- <TData extends MRT_RowData>(row: Row<TData>, id: string, filterValues: [number | string, number | string]): boolean;
63
- autoRemove(val: unknown): boolean;
64
- };
65
- contains: {
66
- <TData extends MRT_RowData>(row: Row<TData>, id: string, filterValue: number | string): boolean;
67
- autoRemove(val: unknown): boolean;
68
- };
69
- empty: {
70
- <TData extends MRT_RowData>(row: Row<TData>, id: string, _filterValue: number | string): boolean;
71
- autoRemove(val: unknown): boolean;
72
- };
73
- endsWith: {
74
- <TData extends MRT_RowData>(row: Row<TData>, id: string, filterValue: number | string): boolean;
75
- autoRemove(val: unknown): boolean;
76
- };
77
- equals: {
78
- <TData extends MRT_RowData>(row: Row<TData>, id: string, filterValue: number | string): boolean;
79
- autoRemove(val: unknown): boolean;
80
- };
81
- fuzzy: {
82
- <TData extends MRT_RowData>(row: Row<TData>, columnId: string, filterValue: number | string, addMeta: (item: RankingInfo) => void): boolean;
83
- autoRemove(val: unknown): boolean;
84
- };
85
- greaterThan: {
86
- <TData extends MRT_RowData>(row: Row<TData>, id: string, filterValue: number | string): boolean;
87
- autoRemove(val: unknown): boolean;
88
- };
89
- greaterThanOrEqualTo: {
90
- <TData extends MRT_RowData>(row: Row<TData>, id: string, filterValue: number | string): boolean;
91
- autoRemove(val: unknown): boolean;
92
- };
93
- lessThan: {
94
- <TData extends MRT_RowData>(row: Row<TData>, id: string, filterValue: number | string): boolean;
95
- autoRemove(val: unknown): boolean;
96
- };
97
- lessThanOrEqualTo: {
98
- <TData extends MRT_RowData>(row: Row<TData>, id: string, filterValue: number | string): boolean;
99
- autoRemove(val: unknown): boolean;
100
- };
101
- notEmpty: {
102
- <TData extends MRT_RowData>(row: Row<TData>, id: string, _filterValue: number | string): boolean;
103
- autoRemove(val: unknown): boolean;
104
- };
105
- notEquals: {
106
- <TData extends MRT_RowData>(row: Row<TData>, id: string, filterValue: number | string): boolean;
107
- autoRemove(val: unknown): boolean;
108
- };
109
- startsWith: {
110
- <TData extends MRT_RowData>(row: Row<TData>, id: string, filterValue: number | string): boolean;
111
- autoRemove(val: unknown): boolean;
112
- };
113
- includesString: _tanstack_react_table.FilterFn<any>;
114
- includesStringSensitive: _tanstack_react_table.FilterFn<any>;
115
- equalsString: _tanstack_react_table.FilterFn<any>;
116
- arrIncludes: _tanstack_react_table.FilterFn<any>;
117
- arrIncludesAll: _tanstack_react_table.FilterFn<any>;
118
- arrIncludesSome: _tanstack_react_table.FilterFn<any>;
119
- weakEquals: _tanstack_react_table.FilterFn<any>;
120
- inNumberRange: _tanstack_react_table.FilterFn<any>;
44
+ sum: _tanstack_table_core.AggregationFnDef<any, any, unknown, number>;
45
+ min: _tanstack_table_core.AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
46
+ max: _tanstack_table_core.AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
47
+ extent: _tanstack_table_core.AggregationFnDef<any, any, unknown, [(number | Date) | undefined, (number | Date) | undefined]>;
48
+ mean: _tanstack_table_core.AggregationFnDef<any, any, unknown, number | undefined>;
49
+ median: _tanstack_table_core.AggregationFnDef<any, any, unknown, number | undefined>;
50
+ unique: _tanstack_table_core.AggregationFnDef<any, any, unknown, unknown[]>;
51
+ uniqueCount: _tanstack_table_core.AggregationFnDef<any, any, unknown, number>;
52
+ count: _tanstack_table_core.AggregationFnDef<any, any, unknown, number>;
53
+ first: _tanstack_table_core.AggregationFnDef<any, any, unknown, unknown>;
54
+ last: _tanstack_table_core.AggregationFnDef<any, any, unknown, unknown>;
121
55
  };
122
56
 
123
57
  declare const MRT_SortingFns: {
124
- fuzzy: <TData extends MRT_RowData>(rowA: Row<TData>, rowB: Row<TData>, columnId: string) => number;
125
- alphanumeric: _tanstack_react_table.SortingFn<any>;
126
- alphanumericCaseSensitive: _tanstack_react_table.SortingFn<any>;
127
- text: _tanstack_react_table.SortingFn<any>;
128
- textCaseSensitive: _tanstack_react_table.SortingFn<any>;
129
- datetime: _tanstack_react_table.SortingFn<any>;
130
- basic: _tanstack_react_table.SortingFn<any>;
58
+ alphanumeric: _tanstack_table_core.CreatedSortFn<any, any>;
59
+ alphanumericCaseSensitive: _tanstack_table_core.CreatedSortFn<any, any>;
60
+ basic: _tanstack_table_core.CreatedSortFn<any, any>;
61
+ datetime: _tanstack_table_core.CreatedSortFn<any, any>;
62
+ text: _tanstack_table_core.CreatedSortFn<any, any>;
63
+ textCaseSensitive: _tanstack_table_core.CreatedSortFn<any, any>;
131
64
  };
132
- declare const rankGlobalFuzzy: <TData extends MRT_RowData>(rowA: MRT_Row<TData>, rowB: MRT_Row<TData>) => number;
133
65
 
134
66
  declare const MRT_Default_Icons: {
135
67
  readonly AddIcon: _mui_material_OverridableComponent.OverridableComponent<_mui_material.SvgIconTypeMap<{}, "svg">> & {
@@ -240,6 +172,65 @@ declare const MRT_Default_Icons: {
240
172
  };
241
173
  type MRT_Icons = Record<keyof typeof MRT_Default_Icons, react__default.ComponentType<SvgIconProps>>;
242
174
 
175
+ /**
176
+ * MRT always ships the same fixed set of TanStack Table v9 features — every
177
+ * MRT_* type in types.ts bakes this in as TFeatures so the public API keeps a
178
+ * single TData generic instead of threading TFeatures through ~100 files.
179
+ *
180
+ * `globalFilteringFeature`, `columnFacetingFeature`, and `columnFilteringFeature`
181
+ * are deliberately not registered: global filter is unused, faceted values are
182
+ * unused (dropdown filter options are always supplied explicitly), and
183
+ * per-column filtering is unused — filtering goes through pinned/quick and
184
+ * advanced filters instead (the per-column filter input never had a working
185
+ * render path in this fork). See TABLE_FEATURES_INVENTORY.md for the full list
186
+ * of removed features and TANSTACK_TABLE_V9_MIGRATION_PLAN.md Faza 1 for the
187
+ * reasoning. The row-model pipeline (core -> grouping -> sorting -> expanding
188
+ * -> pagination) gracefully skips the missing filtering stage on its own —
189
+ * table_getFilteredRowModel falls back to getPreFilteredRowModel (the core
190
+ * row model) whenever no filteredRowModel factory is registered.
191
+ */
192
+ declare const MRT_tableFeatures: {
193
+ rowSortingFeature: _tanstack_table_core.TableFeature;
194
+ columnGroupingFeature: _tanstack_table_core.TableFeature;
195
+ rowAggregationFeature: _tanstack_table_core.TableFeature;
196
+ rowExpandingFeature: _tanstack_table_core.TableFeature;
197
+ rowPaginationFeature: _tanstack_table_core.TableFeature;
198
+ rowSelectionFeature: _tanstack_table_core.TableFeature;
199
+ rowPinningFeature: _tanstack_table_core.TableFeature;
200
+ columnPinningFeature: _tanstack_table_core.TableFeature;
201
+ columnVisibilityFeature: _tanstack_table_core.TableFeature;
202
+ columnOrderingFeature: _tanstack_table_core.TableFeature;
203
+ columnSizingFeature: _tanstack_table_core.TableFeature;
204
+ columnResizingFeature: _tanstack_table_core.TableFeature;
205
+ mrtUiFeature: _tanstack_table_core.TableFeature;
206
+ sortedRowModel: (table: _tanstack_table_core.Table<any, any>) => () => _tanstack_table_core.RowModel<any, any>;
207
+ paginatedRowModel: (table: _tanstack_table_core.Table<any, any>) => () => _tanstack_table_core.RowModel<any, any>;
208
+ expandedRowModel: (table: _tanstack_table_core.Table<any, any>) => () => _tanstack_table_core.RowModel<any, any>;
209
+ groupedRowModel: (table: _tanstack_table_core.Table<any, any>) => () => _tanstack_table_core.RowModel<any, any>;
210
+ sortFns: {
211
+ alphanumeric: _tanstack_table_core.CreatedSortFn<any, any>;
212
+ alphanumericCaseSensitive: _tanstack_table_core.CreatedSortFn<any, any>;
213
+ basic: _tanstack_table_core.CreatedSortFn<any, any>;
214
+ datetime: _tanstack_table_core.CreatedSortFn<any, any>;
215
+ text: _tanstack_table_core.CreatedSortFn<any, any>;
216
+ textCaseSensitive: _tanstack_table_core.CreatedSortFn<any, any>;
217
+ };
218
+ aggregationFns: {
219
+ sum: _tanstack_table_core.AggregationFnDef<any, any, unknown, number>;
220
+ min: _tanstack_table_core.AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
221
+ max: _tanstack_table_core.AggregationFnDef<any, any, unknown, (number | Date) | undefined>;
222
+ extent: _tanstack_table_core.AggregationFnDef<any, any, unknown, [(number | Date) | undefined, (number | Date) | undefined]>;
223
+ mean: _tanstack_table_core.AggregationFnDef<any, any, unknown, number | undefined>;
224
+ median: _tanstack_table_core.AggregationFnDef<any, any, unknown, number | undefined>;
225
+ unique: _tanstack_table_core.AggregationFnDef<any, any, unknown, unknown[]>;
226
+ uniqueCount: _tanstack_table_core.AggregationFnDef<any, any, unknown, number>;
227
+ count: _tanstack_table_core.AggregationFnDef<any, any, unknown, number>;
228
+ first: _tanstack_table_core.AggregationFnDef<any, any, unknown, unknown>;
229
+ last: _tanstack_table_core.AggregationFnDef<any, any, unknown, unknown>;
230
+ };
231
+ };
232
+ type MRT_TableFeatures = typeof MRT_tableFeatures;
233
+
243
234
  interface ActionToolbarRenderContext<TData extends MRT_RowData> {
244
235
  table: MRT_TableInstance<TData>;
245
236
  }
@@ -322,12 +313,6 @@ interface CreateEditActionOptions<TData extends MRT_RowData> extends Partial<Omi
322
313
  renderRow?: (context: EditActionRowRenderContext<TData>) => ReactNode;
323
314
  }
324
315
 
325
- interface MRT_SliceStore<T> {
326
- get: () => T;
327
- set: (next: T | ((prev: T) => T)) => void;
328
- subscribe: (listener: () => void) => () => void;
329
- }
330
-
331
316
  type LiteralUnion<T extends U, U = string> = T | (U & Record<never, never>);
332
317
  type Prettify<T> = {
333
318
  [K in keyof T]: T[K];
@@ -343,13 +328,11 @@ type DropdownOption = {
343
328
  value: unknown;
344
329
  } | string;
345
330
  type MRT_DensityState = 'comfortable' | 'compact' | 'spacious';
346
- type MRT_ColumnFilterFnsState = Record<string, MRT_FilterOption>;
347
331
  type MRT_FiltersLogicOperator = 'and' | 'or';
348
332
  type MRT_RowData = Record<string, unknown>;
349
- type MRT_ColumnFiltersState = ColumnFiltersState;
350
333
  type MRT_ColumnOrderState = ColumnOrderState;
351
334
  type MRT_ColumnPinningState = ColumnPinningState;
352
- type MRT_ColumnSizingInfoState = ColumnSizingInfoState;
335
+ type MRT_ColumnResizingState = columnResizingState;
353
336
  type MRT_ColumnSizingState = ColumnSizingState;
354
337
  type MRT_ExpandedState = ExpandedState;
355
338
  type MRT_GroupingState = GroupingState;
@@ -358,7 +341,7 @@ type MRT_RowSelectionState = RowSelectionState;
358
341
  type MRT_SortingState = SortingState;
359
342
  type MRT_Updater<T> = Updater<T>;
360
343
  type MRT_VirtualItem = VirtualItem;
361
- type MRT_VisibilityState = VisibilityState;
344
+ type MRT_VisibilityState = ColumnVisibilityState;
362
345
  type MRT_VirtualizerOptions<TScrollElement extends Element | Window = Element | Window, TItemElement extends Element = Element> = VirtualizerOptions<TScrollElement, TItemElement>;
363
346
  type MRT_ColumnVirtualizer<TScrollElement extends Element | Window = HTMLDivElement, TItemElement extends Element = HTMLTableCellElement> = Virtualizer<TScrollElement, TItemElement> & {
364
347
  virtualColumns: MRT_VirtualItem[];
@@ -413,7 +396,6 @@ interface MRT_Localization {
413
396
  filterEqualsString: string;
414
397
  filterIs: string;
415
398
  filterNot: string;
416
- filterFuzzy: string;
417
399
  filterBefore: string;
418
400
  filterAfter: string;
419
401
  filterRange: string;
@@ -560,30 +542,8 @@ interface MRT_RowModel<TData extends MRT_RowData> {
560
542
  };
561
543
  }
562
544
  type MRT_RowManipulationInput<TData extends MRT_RowData> = TData | TData[];
563
- type MRT_TableInstance<TData extends MRT_RowData> = Omit<Table<TData>, 'getAllColumns' | 'getAllFlatColumns' | 'getAllLeafColumns' | 'getBottomRows' | 'getCenterLeafColumns' | 'getCenterRows' | 'getColumn' | 'getExpandedRowModel' | 'getFlatHeaders' | 'getFooterGroups' | 'getHeaderGroups' | 'getLeafHeaders' | 'getLeftLeafColumns' | 'getPaginationRowModel' | 'getPreFilteredRowModel' | 'getPrePaginationRowModel' | 'getRightLeafColumns' | 'getRowModel' | 'getSelectedRowModel' | 'getState' | 'getTopRows' | 'options'> & {
564
- _dragStore: MRT_SliceStore<{
565
- draggingColumn: MRT_Column<TData> | null;
566
- draggingRow: MRT_Row<TData> | null;
567
- }>;
568
- _hoverStore: MRT_SliceStore<{
569
- hoveredColumn: Partial<MRT_Column<TData>> | null;
570
- hoveredRow: Partial<MRT_Row<TData>> | null;
571
- }>;
572
- _uiStore: MRT_SliceStore<{
573
- actionCell: MRT_Cell<TData> | null;
574
- columnSizingInfo: MRT_ColumnSizingInfoState;
575
- density: MRT_DensityState;
576
- editingCell: MRT_Cell<TData> | null;
577
- editingRow: MRT_Row<TData> | null;
578
- newEntryModal: MRT_NewEntryModalState;
579
- rowReorderingSelection: MRT_RowReorderingSelectionState;
580
- savedFilters: MRT_SavedFilters;
581
- showAlertBanner: boolean;
582
- showColumnFilters: boolean;
583
- showGlobalFilter: boolean;
584
- showProgressBars: boolean;
585
- showToolbarDropZone: boolean;
586
- }>;
545
+ type MRT_TableInstance<TData extends MRT_RowData> = Omit<Table<MRT_TableFeatures, TData>, 'getAllColumns' | 'getAllFlatColumns' | 'getAllLeafColumns' | 'getBottomRows' | 'getCenterLeafColumns' | 'getCenterRows' | 'getColumn' | 'getExpandedRowModel' | 'getFlatHeaders' | 'getFooterGroups' | 'getHeaderGroups' | 'getLeafHeaders' | 'getStartLeafColumns' | 'getPaginatedRowModel' | 'getPreFilteredRowModel' | 'getPrePaginatedRowModel' | 'getEndLeafColumns' | 'getRowModel' | 'getSelectedRowModel' | 'getState' | 'getTopRows' | 'options' | 'store'> & {
546
+ store: ReadonlyStore<MRT_TableState<TData>>;
587
547
  getAllColumns: () => MRT_Column<TData>[];
588
548
  getAllFlatColumns: () => MRT_Column<TData>[];
589
549
  getAllLeafColumns: () => MRT_Column<TData>[];
@@ -596,11 +556,11 @@ type MRT_TableInstance<TData extends MRT_RowData> = Omit<Table<TData>, 'getAllCo
596
556
  getFooterGroups: () => MRT_HeaderGroup<TData>[];
597
557
  getHeaderGroups: () => MRT_HeaderGroup<TData>[];
598
558
  getLeafHeaders: () => MRT_Header<TData>[];
599
- getLeftLeafColumns: () => MRT_Column<TData>[];
600
- getPaginationRowModel: () => MRT_RowModel<TData>;
559
+ getStartLeafColumns: () => MRT_Column<TData>[];
560
+ getPaginatedRowModel: () => MRT_RowModel<TData>;
601
561
  getPreFilteredRowModel: () => MRT_RowModel<TData>;
602
- getPrePaginationRowModel: () => MRT_RowModel<TData>;
603
- getRightLeafColumns: () => MRT_Column<TData>[];
562
+ getPrePaginatedRowModel: () => MRT_RowModel<TData>;
563
+ getEndLeafColumns: () => MRT_Column<TData>[];
604
564
  getRowModel: () => MRT_RowModel<TData>;
605
565
  getSelectedRowModel: () => MRT_RowModel<TData>;
606
566
  getState: () => MRT_TableState<TData>;
@@ -610,7 +570,6 @@ type MRT_TableInstance<TData extends MRT_RowData> = Omit<Table<TData>, 'getAllCo
610
570
  actionCellRef: RefObject<HTMLTableCellElement | null>;
611
571
  bottomToolbarRef: RefObject<HTMLDivElement | null>;
612
572
  editInputRefs: RefObject<Record<string, HTMLInputElement> | null>;
613
- filterInputRefs: RefObject<Record<string, HTMLInputElement> | null>;
614
573
  allSelectableRowIdsRef: RefObject<string[]>;
615
574
  isResizingRef: RefObject<false | string>;
616
575
  lastSelectedRowId: RefObject<null | string>;
@@ -625,21 +584,14 @@ type MRT_TableInstance<TData extends MRT_RowData> = Omit<Table<TData>, 'getAllCo
625
584
  topToolbarRef: RefObject<HTMLDivElement | null>;
626
585
  };
627
586
  setActionCell: Dispatch<SetStateAction<MRT_Cell<TData> | null>>;
628
- setColumnFilterFns: Dispatch<SetStateAction<MRT_ColumnFilterFnsState>>;
629
- setCreatingRow: Dispatch<SetStateAction<MRT_Row<TData> | null | true>>;
630
587
  setDensity: Dispatch<SetStateAction<MRT_DensityState>>;
631
588
  setDraggingColumn: Dispatch<SetStateAction<MRT_Column<TData> | null>>;
632
589
  setDraggingRow: Dispatch<SetStateAction<MRT_Row<TData> | null>>;
633
- setEditingCell: Dispatch<SetStateAction<MRT_Cell<TData> | null>>;
634
- setEditingRow: Dispatch<SetStateAction<MRT_Row<TData> | null>>;
635
590
  setFilters: Dispatch<SetStateAction<MRT_FiltersState>>;
636
- setGlobalFilterFn: Dispatch<SetStateAction<MRT_FilterOption>>;
637
591
  setHoveredColumn: Dispatch<SetStateAction<Partial<MRT_Column<TData>> | null>>;
638
592
  setHoveredRow: Dispatch<SetStateAction<Partial<MRT_Row<TData>> | null>>;
639
593
  setSavedFilters: Dispatch<SetStateAction<MRT_SavedFilters>>;
640
594
  setShowAlertBanner: Dispatch<SetStateAction<boolean>>;
641
- setShowColumnFilters: Dispatch<SetStateAction<boolean>>;
642
- setShowGlobalFilter: Dispatch<SetStateAction<boolean>>;
643
595
  setShowProgressBars: Dispatch<SetStateAction<boolean>>;
644
596
  setShowToolbarDropZone: Dispatch<SetStateAction<boolean>>;
645
597
  setShowAdvancedFilters: Dispatch<SetStateAction<boolean>>;
@@ -663,27 +615,20 @@ type MRT_DefinedTableOptions<TData extends MRT_RowData> = Omit<MRT_TableOptions<
663
615
  mrtTheme: Required<MRT_Theme>;
664
616
  };
665
617
  type MRT_StatefulTableOptions<TData extends MRT_RowData> = MRT_DefinedTableOptions<TData> & {
666
- state: Pick<MRT_TableState<TData>, 'columnFilterFns' | 'columnOrder' | 'columnSizingInfo' | 'creatingRow' | 'density' | 'draggingColumn' | 'draggingRow' | 'editingCell' | 'editingRow' | 'filters' | 'globalFilterFn' | 'grouping' | 'hoveredColumn' | 'hoveredRow' | 'pagination' | 'showAlertBanner' | 'showAdvancedFilters' | 'showColumnFilters' | 'showGlobalFilter' | 'showToolbarDropZone' | 'newEntryModal' | 'rowReorderingSelection'>;
618
+ state: Pick<MRT_TableState<TData>, 'columnOrder' | 'columnResizing' | 'density' | 'draggingColumn' | 'draggingRow' | 'filters' | 'grouping' | 'hoveredColumn' | 'hoveredRow' | 'pagination' | 'showAlertBanner' | 'showAdvancedFilters' | 'showToolbarDropZone' | 'newEntryModal' | 'rowReorderingSelection'>;
667
619
  };
668
- interface MRT_TableState<TData extends MRT_RowData> extends TableState {
620
+ interface MRT_TableState<TData extends MRT_RowData> extends TableState<MRT_TableFeatures> {
669
621
  actionCell?: MRT_Cell<TData> | null;
670
- columnFilterFns: MRT_ColumnFilterFnsState;
671
- creatingRow: MRT_Row<TData> | null;
672
622
  density: MRT_DensityState;
673
623
  draggingColumn: MRT_Column<TData> | null;
674
624
  draggingRow: MRT_Row<TData> | null;
675
- editingCell: MRT_Cell<TData> | null;
676
- editingRow: MRT_Row<TData> | null;
677
625
  filters: MRT_FiltersState;
678
- globalFilterFn: MRT_FilterOption;
679
626
  hoveredColumn: Partial<MRT_Column<TData>> | null;
680
627
  hoveredRow: Partial<MRT_Row<TData>> | null;
681
628
  isLoading: boolean;
682
629
  isSaving: boolean;
683
630
  savedFilters: MRT_SavedFilters;
684
631
  showAlertBanner: boolean;
685
- showColumnFilters: boolean;
686
- showGlobalFilter: boolean;
687
632
  showAdvancedFilters: boolean;
688
633
  showLoadingOverlay: boolean;
689
634
  showProgressBars: boolean;
@@ -693,7 +638,7 @@ interface MRT_TableState<TData extends MRT_RowData> extends TableState {
693
638
  newEntryModal: MRT_NewEntryModalState;
694
639
  rowReorderingSelection: MRT_RowReorderingSelectionState;
695
640
  }
696
- interface MRT_ColumnDefBase<TData extends MRT_RowData, TValue = unknown> extends Omit<ColumnDef<TData, TValue>, 'accessorKey' | 'aggregatedCell' | 'aggregationFn' | 'cell' | 'columns' | 'filterFn' | 'footer' | 'header' | 'id' | 'sortingFn'> {
641
+ interface MRT_ColumnDefBase<TData extends MRT_RowData, TValue = unknown> extends Omit<ColumnDef<MRT_TableFeatures, TData, TValue>, 'accessorKey' | 'aggregatedCell' | 'aggregationFn' | 'cell' | 'columns' | 'footer' | 'header' | 'id' | 'sortFn'> {
697
642
  /**
698
643
  * Either an `accessorKey` or a combination of an `accessorFn` and `id` are required for a data column definition.
699
644
  * Specify which key in the row this column should use to access the correct data.
@@ -731,37 +676,17 @@ interface MRT_ColumnDefBase<TData extends MRT_RowData, TValue = unknown> extends
731
676
  * @example columnDefType: 'display'
732
677
  */
733
678
  columnDefType?: 'data' | 'display' | 'group';
734
- columnFilterModeOptions?: Array<LiteralUnion<string & MRT_FilterOption>> | null;
735
679
  columns?: MRT_ColumnDef<TData, TValue>[];
736
- Edit?: (props: {
737
- cell: MRT_Cell<TData, TValue>;
738
- column: MRT_Column<TData, TValue>;
739
- row: MRT_Row<TData>;
740
- table: MRT_TableInstance<TData>;
741
- }) => ReactNode;
742
- editSelectOptions?: ((props: {
743
- cell: MRT_Cell<TData, TValue>;
744
- column: MRT_Column<TData>;
745
- row: MRT_Row<TData>;
746
- table: MRT_TableInstance<TData>;
747
- }) => DropdownOption[]) | DropdownOption[];
748
- editVariant?: 'select' | 'text';
749
- enableClickToCopy?: 'context-menu' | ((cell: MRT_Cell<TData>) => 'context-menu' | boolean) | boolean;
750
680
  enableColumnActions?: boolean;
751
681
  enableColumnDragging?: boolean;
752
- enableColumnFilterModes?: boolean;
682
+ /**
683
+ * Whether this column is eligible to be added as an advanced filter rule.
684
+ * Defaults to `true`. Set to `false` to exclude a column from the advanced
685
+ * filters rule builder (getFilterableColumns).
686
+ */
687
+ enableColumnFilter?: boolean;
753
688
  enableColumnOrdering?: boolean;
754
689
  enableEditing?: ((row: MRT_Row<TData>) => boolean) | boolean;
755
- enableFilterMatchHighlighting?: boolean;
756
- Filter?: (props: {
757
- column: MRT_Column<TData, TValue>;
758
- header: MRT_Header<TData>;
759
- rangeFilterIndex?: number;
760
- table: MRT_TableInstance<TData>;
761
- }) => ReactNode;
762
- filterFn?: MRT_FilterFn<TData>;
763
- filterSelectOptions?: DropdownOption[];
764
- filterVariant?: 'autocomplete' | 'checkbox' | 'date' | 'date-range' | 'datetime' | 'datetime-range' | 'multi-select' | 'range' | 'range-slider' | 'select' | 'text' | 'time' | 'time-range';
765
690
  /**
766
691
  * footer must be a string. If you want custom JSX to render the footer, you can also specify a `Footer` option. (Capital F)
767
692
  */
@@ -810,18 +735,6 @@ interface MRT_ColumnDefBase<TData extends MRT_RowData, TValue = unknown> extends
810
735
  column: MRT_Column<TData>;
811
736
  table: MRT_TableInstance<TData>;
812
737
  }) => IconButtonProps) | IconButtonProps;
813
- muiCopyButtonProps?: ((props: {
814
- cell: MRT_Cell<TData, TValue>;
815
- column: MRT_Column<TData>;
816
- row: MRT_Row<TData>;
817
- table: MRT_TableInstance<TData>;
818
- }) => ButtonProps) | ButtonProps;
819
- muiEditTextFieldProps?: ((props: {
820
- cell: MRT_Cell<TData, TValue>;
821
- column: MRT_Column<TData>;
822
- row: MRT_Row<TData>;
823
- table: MRT_TableInstance<TData>;
824
- }) => TextFieldProps) | TextFieldProps;
825
738
  muiFilterAutocompleteProps?: ((props: {
826
739
  column: MRT_Column<TData>;
827
740
  table: MRT_TableInstance<TData>;
@@ -891,13 +804,7 @@ interface MRT_ColumnDefBase<TData extends MRT_RowData, TValue = unknown> extends
891
804
  internalColumnMenuItems: ReactNode[];
892
805
  table: MRT_TableInstance<TData>;
893
806
  }) => ReactNode[];
894
- renderColumnFilterModeMenuItems?: (props: {
895
- column: MRT_Column<TData>;
896
- internalFilterOptions: MRT_InternalFilterOption[];
897
- onSelectFilterMode: (filterMode: MRT_FilterOption) => void;
898
- table: MRT_TableInstance<TData>;
899
- }) => ReactNode[];
900
- sortingFn?: MRT_SortingFn<TData>;
807
+ sortFn?: MRT_SortFn<TData>;
901
808
  visibleInShowHideMenu?: boolean;
902
809
  }
903
810
  type MRT_IconTypeColumnClickArgs<TData extends MRT_RowData> = {
@@ -925,24 +832,22 @@ type MRT_GroupColumnDef<TData extends MRT_RowData> = MRT_DisplayColumnDef<TData,
925
832
  columns: MRT_ColumnDef<TData>[];
926
833
  };
927
834
  type MRT_DefinedColumnDef<TData extends MRT_RowData, TValue = unknown> = DistributiveOmit<MRT_ColumnDef<TData, TValue>, 'defaultDisplayColumn' | 'id'> & {
928
- _filterFn: MRT_FilterOption;
929
835
  defaultDisplayColumn: Partial<MRT_ColumnDef<TData, TValue>>;
930
836
  id: string;
931
837
  };
932
- type MRT_Column<TData extends MRT_RowData, TValue = unknown> = Omit<Column<TData, TValue>, 'columnDef' | 'columns' | 'filterFn' | 'footer' | 'header'> & {
838
+ type MRT_Column<TData extends MRT_RowData, TValue = unknown> = Omit<Column<MRT_TableFeatures, TData, TValue>, 'columnDef' | 'columns' | 'footer' | 'header'> & {
933
839
  columnDef: MRT_DefinedColumnDef<TData, TValue>;
934
840
  columns?: MRT_Column<TData, TValue>[];
935
- filterFn?: MRT_FilterFn<TData>;
936
841
  footer: string;
937
842
  header: string;
938
843
  };
939
- type MRT_Header<TData extends MRT_RowData> = Omit<Header<TData, unknown>, 'column'> & {
844
+ type MRT_Header<TData extends MRT_RowData> = Omit<Header<MRT_TableFeatures, TData, unknown>, 'column'> & {
940
845
  column: MRT_Column<TData>;
941
846
  };
942
- type MRT_HeaderGroup<TData extends MRT_RowData> = Omit<HeaderGroup<TData>, 'headers'> & {
847
+ type MRT_HeaderGroup<TData extends MRT_RowData> = Omit<HeaderGroup<MRT_TableFeatures, TData>, 'headers'> & {
943
848
  headers: MRT_Header<TData>[];
944
849
  };
945
- type MRT_Row<TData extends MRT_RowData> = Omit<Row<TData>, '_valuesCache' | 'getAllCells' | 'getParentRow' | 'getParentRows' | 'getRow' | 'getVisibleCells' | 'subRows'> & {
850
+ type MRT_Row<TData extends MRT_RowData> = Omit<Row<MRT_TableFeatures, TData>, '_valuesCache' | 'getAllCells' | 'getParentRow' | 'getParentRows' | 'getRow' | 'getVisibleCells' | 'subRows'> & {
946
851
  _valuesCache: Record<LiteralUnion<string & DeepKeys<TData>>, unknown>;
947
852
  getAllCells: () => MRT_Cell<TData>[];
948
853
  getParentRow: () => MRT_Row<TData> | null;
@@ -951,22 +856,14 @@ type MRT_Row<TData extends MRT_RowData> = Omit<Row<TData>, '_valuesCache' | 'get
951
856
  getVisibleCells: () => MRT_Cell<TData>[];
952
857
  subRows?: MRT_Row<TData>[];
953
858
  };
954
- type MRT_Cell<TData extends MRT_RowData, TValue = unknown> = Omit<Cell<TData, TValue>, 'column' | 'row'> & {
859
+ type MRT_Cell<TData extends MRT_RowData, TValue = unknown> = Omit<Cell<MRT_TableFeatures, TData, TValue>, 'column' | 'row'> & {
955
860
  column: MRT_Column<TData, TValue>;
956
861
  row: MRT_Row<TData>;
957
862
  };
958
863
  type MRT_AggregationOption = string & keyof typeof MRT_AggregationFns;
959
- type MRT_AggregationFn<TData extends MRT_RowData> = AggregationFn<TData> | MRT_AggregationOption;
864
+ type MRT_AggregationFn<TData extends MRT_RowData> = AggregationFnDef<MRT_TableFeatures, TData> | MRT_AggregationOption;
960
865
  type MRT_SortingOption = LiteralUnion<string & keyof typeof MRT_SortingFns>;
961
- type MRT_SortingFn<TData extends MRT_RowData> = MRT_SortingOption | SortingFn<TData>;
962
- type MRT_FilterOption = LiteralUnion<string & keyof typeof MRT_FilterFns>;
963
- type MRT_FilterFn<TData extends MRT_RowData> = FilterFn<TData> | MRT_FilterOption;
964
- type MRT_InternalFilterOption = {
965
- divider: boolean;
966
- label: string;
967
- option: string;
968
- symbol: string;
969
- };
866
+ type MRT_SortFn<TData extends MRT_RowData> = MRT_SortingOption | SortFn<MRT_TableFeatures, TData>;
970
867
  type MRT_RowReorderingSelectionState = Record<string, boolean>;
971
868
  type MRT_TreeRowReorderEvent<TData extends MRT_RowData> = {
972
869
  selectedRowIds: string[];
@@ -974,7 +871,7 @@ type MRT_TreeRowReorderEvent<TData extends MRT_RowData> = {
974
871
  table: MRT_TableInstance<TData>;
975
872
  targetRow: MRT_Row<TData> | null;
976
873
  };
977
- type MRT_DisplayColumnIds = 'mrt-row-actions' | 'mrt-row-drag' | 'mrt-row-expand' | 'mrt-row-numbers' | 'mrt-row-pin' | '__check__' | 'mrt-row-spacer';
874
+ type MRT_DisplayColumnIds = 'mrt-row-actions' | 'mrt-row-expand' | 'mrt-row-numbers' | 'mrt-row-pin' | '__check__' | 'mrt-row-spacer';
978
875
  type MRT_GetRowId<TData extends MRT_RowData> = (originalRow: TData, index: number, parentRow?: MRT_Row<TData>) => string;
979
876
  /**
980
877
  * `columns` and `data` props are the only required props, but there are over 170 other optional props.
@@ -985,7 +882,7 @@ type MRT_GetRowId<TData extends MRT_RowData> = (originalRow: TData, index: numbe
985
882
  * See the full props list on the official docs site:
986
883
  * @link https://www.material-react-table.com/docs/api/props
987
884
  */
988
- interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<TableOptions<TData>>, 'columns' | 'data' | 'defaultColumn' | 'enableRowSelection' | 'expandRowsFn' | 'getRowId' | 'globalFilterFn' | 'initialState' | 'onStateChange' | 'state'> {
885
+ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<TableOptions<MRT_TableFeatures, TData>>, 'columns' | 'data' | 'defaultColumn' | 'enableRowSelection' | 'expandRowsFn' | 'getRowId' | 'initialState' | 'state'> {
989
886
  /**
990
887
  * Table-wide map of iconCode -> Iconify glyph + colour, used by every 'icon'
991
888
  * type column. The backend only ever sends colour/description metadata
@@ -995,8 +892,6 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
995
892
  * when a code isn't in the map, or when this option isn't supplied at all).
996
893
  */
997
894
  iconsList?: Record<string, MRT_IconsListEntry>;
998
- columnFilterDisplayMode?: 'custom' | 'popover' | 'subheader';
999
- columnFilterModeOptions?: Array<LiteralUnion<string & MRT_FilterOption>> | null;
1000
895
  /**
1001
896
  * The columns to display in the table. `accessorKey`s or `accessorFn`s must match keys in the `data` table option.
1002
897
  *
@@ -1012,7 +907,6 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
1012
907
  columnVirtualizerOptions?: ((props: {
1013
908
  table: MRT_TableInstance<TData>;
1014
909
  }) => Partial<VirtualizerOptions<HTMLDivElement, HTMLTableCellElement>>) | Partial<VirtualizerOptions<HTMLDivElement, HTMLTableCellElement>>;
1015
- createDisplayMode?: 'custom' | 'modal' | 'row';
1016
910
  /**
1017
911
  * Pass your data as an array of objects. Objects can theoretically be any shape, but it's best to keep them consistent.
1018
912
  *
@@ -1031,14 +925,11 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
1031
925
  displayColumnDefOptions?: Partial<{
1032
926
  [key in MRT_DisplayColumnIds]: Partial<MRT_DisplayColumnDef<TData>>;
1033
927
  }>;
1034
- editDisplayMode?: 'cell' | 'custom' | 'modal' | 'row' | 'table';
1035
928
  enableBatchRowSelection?: boolean;
1036
929
  enableBottomToolbar?: boolean;
1037
930
  enableCellActions?: ((cell: MRT_Cell<TData>) => boolean) | boolean;
1038
- enableClickToCopy?: 'context-menu' | ((cell: MRT_Cell<TData>) => 'context-menu' | boolean) | boolean;
1039
931
  enableColumnActions?: boolean;
1040
932
  enableColumnDragging?: boolean;
1041
- enableColumnFilterModes?: boolean;
1042
933
  enableColumnOrdering?: boolean;
1043
934
  enableColumnVirtualization?: boolean;
1044
935
  enableDensityToggle?: boolean;
@@ -1047,17 +938,24 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
1047
938
  enableExpandAll?: boolean;
1048
939
  maxDepth?: number;
1049
940
  enableRowReordering?: boolean;
1050
- enableFacetedValues?: boolean;
1051
941
  enableAdvancedFilters?: boolean;
1052
- enableFilterMatchHighlighting?: boolean;
1053
- enableGlobalFilterModes?: boolean;
1054
- enableGlobalFilterRankedResults?: boolean;
1055
- enableKeyboardShortcuts?: boolean;
942
+ /**
943
+ * Previously a passthrough to TanStack's per-column filtering feature
944
+ * (removed along with columnFilters). Kept as an MRT-own option — its only
945
+ * remaining effect is computing the `manualFiltering` default when that
946
+ * option isn't explicitly set.
947
+ */
948
+ enableFilters?: boolean;
949
+ /**
950
+ * Previously provided by TanStack's per-column filtering feature (removed
951
+ * along with columnFilters). Kept as an MRT-own option: gates whether the
952
+ * advanced filters panel/button render (see MRT_AdvancedFilters.tsx /
953
+ * MRT_ToggleAdvancedFiltersButton.tsx).
954
+ */
955
+ manualFiltering?: boolean;
1056
956
  enablePagination?: boolean;
1057
957
  enableRowActions?: boolean;
1058
- enableRowDragging?: boolean;
1059
958
  enableRowNumbers?: boolean;
1060
- enableRowOrdering?: boolean;
1061
959
  enableRowSelection?: ((row: MRT_Row<TData>) => boolean) | boolean;
1062
960
  enableRowVirtualization?: boolean;
1063
961
  /**
@@ -1101,8 +999,6 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
1101
999
  enableTopToolbar?: boolean;
1102
1000
  expandRowsFn?: (dataRow: TData) => TData[];
1103
1001
  getRowId?: MRT_GetRowId<TData>;
1104
- globalFilterFn?: MRT_FilterOption;
1105
- globalFilterModeOptions?: MRT_FilterOption[] | null;
1106
1002
  icons?: Partial<MRT_Icons>;
1107
1003
  id?: string;
1108
1004
  initialState?: Partial<MRT_TableState<TData>>;
@@ -1143,30 +1039,10 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
1143
1039
  column: MRT_Column<TData>;
1144
1040
  table: MRT_TableInstance<TData>;
1145
1041
  }) => IconButtonProps) | IconButtonProps;
1146
- muiCopyButtonProps?: ((props: {
1147
- cell: MRT_Cell<TData>;
1148
- column: MRT_Column<TData>;
1149
- row: MRT_Row<TData>;
1150
- table: MRT_TableInstance<TData>;
1151
- }) => ButtonProps) | ButtonProps;
1152
- muiCreateRowModalProps?: ((props: {
1153
- row: MRT_Row<TData>;
1154
- table: MRT_TableInstance<TData>;
1155
- }) => DialogProps) | DialogProps;
1156
1042
  muiDetailPanelProps?: ((props: {
1157
1043
  row: MRT_Row<TData>;
1158
1044
  table: MRT_TableInstance<TData>;
1159
1045
  }) => TableCellProps) | TableCellProps;
1160
- muiEditRowDialogProps?: ((props: {
1161
- row: MRT_Row<TData>;
1162
- table: MRT_TableInstance<TData>;
1163
- }) => DialogProps) | DialogProps;
1164
- muiEditTextFieldProps?: ((props: {
1165
- cell: MRT_Cell<TData>;
1166
- column: MRT_Column<TData>;
1167
- row: MRT_Row<TData>;
1168
- table: MRT_TableInstance<TData>;
1169
- }) => TextFieldProps) | TextFieldProps;
1170
1046
  muiExpandAllButtonProps?: ((props: {
1171
1047
  table: MRT_TableInstance<TData>;
1172
1048
  }) => IconButtonProps) | IconButtonProps;
@@ -1230,13 +1106,6 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
1230
1106
  }[] | number[];
1231
1107
  showRowsPerPage?: boolean;
1232
1108
  }>;
1233
- muiRowDragHandleProps?: ((props: {
1234
- row: MRT_Row<TData>;
1235
- table: MRT_TableInstance<TData>;
1236
- }) => IconButtonProps) | IconButtonProps;
1237
- muiSearchTextFieldProps?: ((props: {
1238
- table: MRT_TableInstance<TData>;
1239
- }) => TextFieldProps) | TextFieldProps;
1240
1109
  muiSelectAllCheckboxProps?: ((props: {
1241
1110
  table: MRT_TableInstance<TData>;
1242
1111
  }) => CheckboxProps) | CheckboxProps;
@@ -1312,54 +1181,26 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
1312
1181
  }) => ButtonProps) | ButtonProps;
1313
1182
  formConfig?: MRT_FormConfig<TData>;
1314
1183
  onActionCellChange?: OnChangeFn<MRT_Cell<TData> | null>;
1315
- onColumnFilterFnsChange?: OnChangeFn<{
1316
- [key: string]: MRT_FilterOption;
1317
- }>;
1318
- onCreatingRowCancel?: (props: {
1319
- row: MRT_Row<TData>;
1320
- table: MRT_TableInstance<TData>;
1321
- }) => void;
1322
- onCreatingRowChange?: OnChangeFn<MRT_Row<TData> | null>;
1323
- onCreatingRowSave?: (props: {
1324
- exitCreatingMode: () => void;
1325
- row: MRT_Row<TData>;
1326
- table: MRT_TableInstance<TData>;
1327
- values: Record<LiteralUnion<string & DeepKeys<TData>>, unknown>;
1328
- }) => Promise<void> | void;
1329
1184
  onDensityChange?: OnChangeFn<MRT_DensityState>;
1330
1185
  onDraggingColumnChange?: OnChangeFn<MRT_Column<TData> | null>;
1331
1186
  onDraggingRowChange?: OnChangeFn<MRT_Row<TData> | null>;
1332
- onEditingCellChange?: OnChangeFn<MRT_Cell<TData> | null>;
1333
- onEditingRowCancel?: (props: {
1334
- row: MRT_Row<TData>;
1335
- table: MRT_TableInstance<TData>;
1336
- }) => void;
1337
- onEditingRowChange?: OnChangeFn<MRT_Row<TData> | null>;
1338
- onEditingRowSave?: (props: {
1339
- exitEditingMode: () => void;
1340
- row: MRT_Row<TData>;
1341
- table: MRT_TableInstance<TData>;
1342
- values: Record<LiteralUnion<string & DeepKeys<TData>>, unknown>;
1343
- }) => Promise<void> | void;
1344
1187
  onFiltersChange?: OnChangeFn<MRT_FiltersState>;
1345
- onGlobalFilterFnChange?: OnChangeFn<MRT_FilterOption>;
1346
1188
  onSaveFilters?: (savedFilter: MRT_SavedFilter) => Promise<void>;
1347
1189
  onDeleteSavedFilter?: (filterName: string) => Promise<void>;
1348
1190
  initialSavedFilters?: MRT_SavedFilters;
1349
1191
  onHoveredColumnChange?: OnChangeFn<Partial<MRT_Column<TData>> | null>;
1350
1192
  onHoveredRowChange?: OnChangeFn<Partial<MRT_Row<TData>> | null>;
1193
+ onNewEntryModalChange?: OnChangeFn<MRT_NewEntryModalState>;
1194
+ onSavedFiltersChange?: OnChangeFn<MRT_SavedFilters>;
1351
1195
  onShowAlertBannerChange?: OnChangeFn<boolean>;
1352
1196
  onShowAdvancedFiltersChange?: OnChangeFn<boolean>;
1353
- onShowColumnFiltersChange?: OnChangeFn<boolean>;
1354
- onShowGlobalFilterChange?: OnChangeFn<boolean>;
1197
+ onShowProgressBarsChange?: OnChangeFn<boolean>;
1355
1198
  onShowToolbarDropZoneChange?: OnChangeFn<boolean>;
1356
1199
  onRowReorderingSelectionChange?: OnChangeFn<MRT_RowReorderingSelectionState>;
1357
1200
  onTreeRowReorder?: (event: MRT_TreeRowReorderEvent<TData>) => void;
1358
1201
  paginationDisplayMode?: 'custom' | 'default' | 'pages';
1359
1202
  positionActionsColumn?: 'first' | 'last';
1360
- positionCreatingRow?: 'bottom' | 'top' | number;
1361
1203
  positionExpandColumn?: 'first' | 'last';
1362
- positionGlobalFilter?: 'left' | 'none' | 'right';
1363
1204
  positionPagination?: 'both' | 'bottom' | 'none' | 'top';
1364
1205
  positionToolbarAlertBanner?: 'bottom' | 'head-overlay' | 'none' | 'top';
1365
1206
  positionToolbarDropZone?: 'both' | 'bottom' | 'none' | 'top';
@@ -1388,34 +1229,13 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
1388
1229
  internalColumnMenuItems: ReactNode[];
1389
1230
  table: MRT_TableInstance<TData>;
1390
1231
  }) => ReactNode[];
1391
- renderColumnFilterModeMenuItems?: (props: {
1392
- column: MRT_Column<TData>;
1393
- internalFilterOptions: MRT_InternalFilterOption[];
1394
- onSelectFilterMode: (filterMode: MRT_FilterOption) => void;
1395
- table: MRT_TableInstance<TData>;
1396
- }) => ReactNode[];
1397
- renderCreateRowDialogContent?: (props: {
1398
- internalEditComponents: ReactNode[];
1399
- row: MRT_Row<TData>;
1400
- table: MRT_TableInstance<TData>;
1401
- }) => ReactNode;
1402
1232
  renderDetailPanel?: (props: {
1403
1233
  row: MRT_Row<TData>;
1404
1234
  table: MRT_TableInstance<TData>;
1405
1235
  }) => ReactNode;
1406
- renderEditRowDialogContent?: (props: {
1407
- internalEditComponents: ReactNode[];
1408
- row: MRT_Row<TData>;
1409
- table: MRT_TableInstance<TData>;
1410
- }) => ReactNode;
1411
1236
  renderEmptyRowsFallback?: (props: {
1412
1237
  table: MRT_TableInstance<TData>;
1413
1238
  }) => ReactNode;
1414
- renderGlobalFilterModeMenuItems?: (props: {
1415
- internalFilterOptions: MRT_InternalFilterOption[];
1416
- onSelectFilterMode: (filterMode: MRT_FilterOption) => void;
1417
- table: MRT_TableInstance<TData>;
1418
- }) => ReactNode[];
1419
1239
  renderRowActionMenuItems?: (props: {
1420
1240
  closeMenu: () => void;
1421
1241
  row: MRT_Row<TData>;
@@ -1542,7 +1362,7 @@ type UseServerTableStateReturn = {
1542
1362
  refetch: () => void;
1543
1363
  };
1544
1364
  type ColumnType = 'string' | 'number' | 'date' | 'dateTime' | 'enum' | 'icon' | 'dimension' | 'boolean' | 'actions' | 'object';
1545
- type MRT_FilterOperator = '!=' | '<' | '<=' | '=' | '>' | '>=' | 'after' | 'before' | 'contains' | 'current-month' | 'current-week' | 'doesNotContain' | 'doesNotEqual' | 'endsWith' | 'equals' | 'from-today' | 'fuzzy' | 'is' | 'isAnyOf' | 'isEmpty' | 'isNotEmpty' | 'last-7-days' | 'last-month' | 'last-week' | 'not' | 'range' | 'startsWith' | 'to-today';
1365
+ type MRT_FilterOperator = '!=' | '<' | '<=' | '=' | '>' | '>=' | 'after' | 'before' | 'contains' | 'current-month' | 'current-week' | 'doesNotContain' | 'doesNotEqual' | 'endsWith' | 'equals' | 'from-today' | 'is' | 'isAnyOf' | 'isEmpty' | 'isNotEmpty' | 'last-7-days' | 'last-month' | 'last-week' | 'not' | 'range' | 'startsWith' | 'to-today';
1546
1366
  interface MRT_SavedFilter {
1547
1367
  name: string;
1548
1368
  logicOperator: MRT_FiltersLogicOperator;
@@ -1693,7 +1513,7 @@ interface MRT_DimensionsDef {
1693
1513
  }
1694
1514
  type ExtraFieldFilterOption<TData extends RowData> = Pick<MRT_ColumnDef<TData & MRT_RowData>, 'type' | 'accessorKey' | 'header' | 'meta'>;
1695
1515
  declare module '@tanstack/react-table' {
1696
- interface ColumnMeta<TData extends RowData, TValue> {
1516
+ interface ColumnMeta<TFeatures extends TableFeatures, TData extends RowData, TValue> {
1697
1517
  enumValues?: Array<{
1698
1518
  value: string;
1699
1519
  label: string;
@@ -1704,25 +1524,6 @@ declare module '@tanstack/react-table' {
1704
1524
  }
1705
1525
  }
1706
1526
 
1707
- declare const isCellEditable: <TData extends MRT_RowData>({ cell, table, }: {
1708
- cell: MRT_Cell<TData>;
1709
- table: MRT_TableInstance<TData>;
1710
- }) => boolean | undefined;
1711
- declare const openEditingCell: <TData extends MRT_RowData>({ cell, table, }: {
1712
- cell: MRT_Cell<TData>;
1713
- table: MRT_TableInstance<TData>;
1714
- }) => void;
1715
- declare const cellKeyboardShortcuts: <TData extends MRT_RowData = MRT_RowData>({ cell, cellElements, cellValue, containerElement, event, header, parentElement, table, }: {
1716
- cell?: MRT_Cell<TData>;
1717
- header?: MRT_Header<TData>;
1718
- cellElements?: Array<HTMLTableCellElement>;
1719
- cellValue?: string;
1720
- containerElement?: HTMLTableElement;
1721
- event: react__default.KeyboardEvent<HTMLTableCellElement>;
1722
- parentElement?: HTMLTableRowElement;
1723
- table: MRT_TableInstance<TData>;
1724
- }) => void;
1725
-
1726
1527
  declare const getColumnId: <TData extends MRT_RowData>(columnDef: MRT_ColumnDef<TData>) => string;
1727
1528
  declare const getAllLeafColumnDefs: <TData extends MRT_RowData>(columns: MRT_ColumnDef<TData>[]) => MRT_ColumnDef<TData>[];
1728
1529
  declare const prepareColumns: <TData extends MRT_RowData>({ columnDefs, tableOptions, }: {
@@ -1730,25 +1531,6 @@ declare const prepareColumns: <TData extends MRT_RowData>({ columnDefs, tableOpt
1730
1531
  tableOptions: MRT_DefinedTableOptions<TData>;
1731
1532
  }) => MRT_DefinedColumnDef<TData>[];
1732
1533
  declare const reorderColumn: <TData extends MRT_RowData>(draggedColumn: MRT_Column<TData>, targetColumn: MRT_Column<TData>, columnOrder: MRT_ColumnOrderState) => MRT_ColumnOrderState;
1733
- declare const getDefaultColumnFilterFn: <TData extends MRT_RowData>(columnDef: MRT_ColumnDef<TData>) => MRT_FilterOption;
1734
- declare const getColumnFilterInfo: <TData extends MRT_RowData>({ header, table, }: {
1735
- header: MRT_Header<TData>;
1736
- table: MRT_TableInstance<TData>;
1737
- }) => {
1738
- readonly allowedColumnFilterOptions: LiteralUnion<string & MRT_FilterOption, string>[] | null | undefined;
1739
- readonly currentFilterOption: MRT_FilterOption;
1740
- readonly facetedUniqueValues: Map<any, number>;
1741
- readonly isAutocompleteFilter: boolean;
1742
- readonly isDateFilter: boolean;
1743
- readonly isMultiSelectFilter: boolean;
1744
- readonly isRangeFilter: boolean;
1745
- readonly isSelectFilter: boolean;
1746
- readonly isTextboxFilter: boolean;
1747
- };
1748
- declare const useDropdownOptions: <TData extends MRT_RowData>({ header, table, }: {
1749
- header: MRT_Header<TData>;
1750
- table: MRT_TableInstance<TData>;
1751
- }) => DropdownOption[] | undefined;
1752
1534
 
1753
1535
  declare function defaultDisplayColumnProps<TData extends MRT_RowData>({ header, id, size, tableOptions, }: {
1754
1536
  header?: keyof MRT_Localization;
@@ -1757,7 +1539,6 @@ declare function defaultDisplayColumnProps<TData extends MRT_RowData>({ header,
1757
1539
  tableOptions: MRT_DefinedTableOptions<TData>;
1758
1540
  }): MRT_DisplayColumnDef<TData>;
1759
1541
  declare const showRowPinningColumn: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>) => boolean;
1760
- declare const showRowDragColumn: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>) => boolean;
1761
1542
  declare const showRowExpandColumn: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>) => boolean;
1762
1543
  declare const showRowActionsColumn: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>) => boolean;
1763
1544
  declare const showRowSelectionColumn: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>) => boolean;
@@ -1769,24 +1550,22 @@ declare const getTrailingDisplayColumnIds: <TData extends MRT_RowData>(tableOpti
1769
1550
  declare const CHECKBOX_DISPLAY_COLUMN_ID = "__check__";
1770
1551
  /**
1771
1552
  * Builds the default columnPinning state so that the checkbox column
1772
- * is always the first (leftmost) sticky column when row selection is enabled.
1553
+ * is always the first start-pinned column when row selection is enabled.
1773
1554
  * The checkbox is pinned for sticky positioning only — its visual styles are
1774
1555
  * intentionally overridden in style.utils.ts to match center column appearance.
1775
- * Any user-supplied left-pinned column IDs are kept, but appended after the
1776
- * checkbox so they never appear to its left.
1556
+ * Any user-supplied start-pinned column IDs are kept, but appended after the
1557
+ * checkbox so they never appear before it.
1777
1558
  */
1778
1559
  declare const getDefaultColumnPinningState: <TData extends MRT_RowData>(tableOptions: MRT_DefinedTableOptions<TData>, existingColumnPinning?: {
1779
- left?: string[];
1780
- right?: string[];
1560
+ start?: string[];
1561
+ end?: string[];
1781
1562
  }) => {
1782
- left: string[];
1783
- right: string[];
1563
+ start: string[];
1564
+ end: string[];
1784
1565
  };
1785
1566
  declare const getDefaultColumnOrderIds: <TData extends MRT_RowData>(tableOptions: MRT_StatefulTableOptions<TData>, reset?: boolean) => string[];
1786
1567
 
1787
1568
  declare const getMRT_Rows: <TData extends MRT_RowData>(table: MRT_TableInstance<TData>, all?: boolean) => MRT_Row<TData>[];
1788
- declare const getCanRankRows: <TData extends MRT_RowData>(table: MRT_TableInstance<TData>) => boolean | undefined;
1789
- declare const getIsRankingRows: <TData extends MRT_RowData>(table: MRT_TableInstance<TData>) => any;
1790
1569
  declare const getIsRowSelected: <TData extends MRT_RowData>({ row, table, }: {
1791
1570
  row: MRT_Row<TData>;
1792
1571
  table: MRT_TableInstance<TData>;
@@ -1818,34 +1597,29 @@ declare const useMaterialReactTable: <TData extends MRT_RowData>(tableOptions: M
1818
1597
 
1819
1598
  declare const useMRT_ColumnVirtualizer: <TData extends MRT_RowData, TScrollElement extends Element | Window = HTMLDivElement, TItemElement extends Element = HTMLTableCellElement>(table: MRT_TableInstance<TData>) => MRT_ColumnVirtualizer | undefined;
1820
1599
 
1821
- declare const useMRT_Effects: <TData extends MRT_RowData>(table: MRT_TableInstance<TData>) => void;
1822
-
1823
1600
  declare const useMRT_Rows: <TData extends MRT_RowData>(table: MRT_TableInstance<TData>) => MRT_Row<TData>[];
1824
1601
 
1825
1602
  declare const useMRT_RowVirtualizer: <TData extends MRT_RowData, TScrollElement extends Element | Window = HTMLDivElement, TItemElement extends Element = HTMLTableRowElement>(table: MRT_TableInstance<TData>, rows?: MRT_Row<TData>[]) => MRT_RowVirtualizer<TScrollElement, TItemElement> | undefined;
1826
1603
 
1827
1604
  /**
1828
- * The MRT hook that wraps the TanStack useReactTable hook and adds additional functionality
1605
+ * The MRT hook that wraps the TanStack useTable hook and adds additional functionality
1829
1606
  * @param definedTableOptions - table options with proper defaults set
1830
1607
  * @returns the MRT table instance
1831
1608
  */
1832
1609
  declare const useMRT_TableInstance: <TData extends MRT_RowData>(definedTableOptions: MRT_DefinedTableOptions<TData>) => MRT_TableInstance<TData>;
1833
1610
 
1834
1611
  declare const MRT_DefaultColumn: {
1835
- readonly filterVariant: "text";
1836
1612
  readonly maxSize: 1000;
1837
1613
  readonly minSize: 40;
1838
1614
  readonly size: 180;
1839
1615
  };
1840
1616
  declare const MRT_DefaultDisplayColumn: {
1841
1617
  readonly columnDefType: "display";
1842
- readonly enableClickToCopy: false;
1843
1618
  readonly enableColumnActions: false;
1844
1619
  readonly enableColumnDragging: false;
1845
1620
  readonly enableColumnFilter: false;
1846
1621
  readonly enableColumnOrdering: false;
1847
1622
  readonly enableEditing: false;
1848
- readonly enableGlobalFilter: false;
1849
1623
  readonly enableGrouping: false;
1850
1624
  readonly enableHiding: false;
1851
1625
  readonly enableResizing: false;
@@ -1919,7 +1693,7 @@ interface MRT_TableBodyCellProps<TData extends MRT_RowData> extends TableCellPro
1919
1693
  table: MRT_TableInstance<TData>;
1920
1694
  theme: Theme;
1921
1695
  }
1922
- declare const MRT_TableBodyCell: <TData extends MRT_RowData>({ cell, numRows, rowRef, staticColumnIndex, staticRowIndex, table, theme, ...rest }: MRT_TableBodyCellProps<TData>) => react__default.JSX.Element;
1696
+ declare const MRT_TableBodyCell: <TData extends MRT_RowData>({ cell, numRows, rowRef, staticColumnIndex, staticRowIndex, table, theme, ...rest }: MRT_TableBodyCellProps<TData>) => react.JSX.Element;
1923
1697
  declare const Memo_MRT_TableBodyCell: typeof MRT_TableBodyCell;
1924
1698
 
1925
1699
  interface MRT_TableBodyCellValueProps<TData extends MRT_RowData> {
@@ -1945,13 +1719,6 @@ interface MRT_TableBodyRowProps<TData extends MRT_RowData> extends TableRowProps
1945
1719
  declare const MRT_TableBodyRow: <TData extends MRT_RowData>({ columnVirtualizer, numRows, pinnedRowIds, row, rowVirtualizer, staticRowIndex, table, theme, virtualRow, ...rest }: MRT_TableBodyRowProps<TData>) => react.JSX.Element;
1946
1720
  declare const Memo_MRT_TableBodyRow: typeof MRT_TableBodyRow;
1947
1721
 
1948
- interface MRT_TableBodyRowGrabHandleProps<TData extends MRT_RowData> extends IconButtonProps {
1949
- row: MRT_Row<TData>;
1950
- rowRef: RefObject<HTMLTableRowElement | null>;
1951
- table: MRT_TableInstance<TData>;
1952
- }
1953
- declare const MRT_TableBodyRowGrabHandle: <TData extends MRT_RowData>({ row, rowRef, table, ...rest }: MRT_TableBodyRowGrabHandleProps<TData>) => react.JSX.Element;
1954
-
1955
1722
  interface MRT_TableBodyRowPinButtonProps<TData extends MRT_RowData> extends IconButtonProps {
1956
1723
  row: MRT_Row<TData>;
1957
1724
  table: MRT_TableInstance<TData>;
@@ -1974,19 +1741,6 @@ interface MRT_ColumnPinningButtonsProps<TData extends MRT_RowData> extends BoxPr
1974
1741
  }
1975
1742
  declare const MRT_ColumnPinningButtons: <TData extends MRT_RowData>({ column, table, ...rest }: MRT_ColumnPinningButtonsProps<TData>) => react.JSX.Element;
1976
1743
 
1977
- interface MRT_CopyButtonProps<TData extends MRT_RowData> extends ButtonProps {
1978
- cell: MRT_Cell<TData>;
1979
- table: MRT_TableInstance<TData>;
1980
- }
1981
- declare const MRT_CopyButton: <TData extends MRT_RowData>({ cell, table, ...rest }: MRT_CopyButtonProps<TData>) => react.JSX.Element;
1982
-
1983
- interface MRT_EditActionButtonsProps<TData extends MRT_RowData> extends BoxProps {
1984
- row: MRT_Row<TData>;
1985
- table: MRT_TableInstance<TData>;
1986
- variant?: 'icon' | 'text';
1987
- }
1988
- declare const MRT_EditActionButtons: <TData extends MRT_RowData>({ row, table, variant, ...rest }: MRT_EditActionButtonsProps<TData>) => react.JSX.Element;
1989
-
1990
1744
  interface MRT_ExpandAllButtonProps<TData extends MRT_RowData> extends IconButtonProps {
1991
1745
  table: MRT_TableInstance<TData>;
1992
1746
  }
@@ -2025,16 +1779,6 @@ interface MRT_ToggleDensePaddingButtonProps<TData extends MRT_RowData> extends O
2025
1779
  }
2026
1780
  declare const MRT_ToggleDensePaddingButton: <TData extends MRT_RowData>({ table, ...rest }: MRT_ToggleDensePaddingButtonProps<TData>) => react.JSX.Element;
2027
1781
 
2028
- interface MRT_ToggleFiltersButtonProps<TData extends MRT_RowData> extends IconButtonProps {
2029
- table: MRT_TableInstance<TData>;
2030
- }
2031
- declare const MRT_ToggleFiltersButton: <TData extends MRT_RowData>({ table, ...rest }: MRT_ToggleFiltersButtonProps<TData>) => react.JSX.Element;
2032
-
2033
- interface MRT_ToggleGlobalFilterButtonProps<TData extends MRT_RowData> extends IconButtonProps {
2034
- table: MRT_TableInstance<TData>;
2035
- }
2036
- declare const MRT_ToggleGlobalFilterButton: <TData extends MRT_RowData>({ table, ...rest }: MRT_ToggleGlobalFilterButtonProps<TData>) => react.JSX.Element;
2037
-
2038
1782
  interface MRT_ToggleRowActionMenuButtonProps<TData extends MRT_RowData> extends IconButtonProps {
2039
1783
  cell: MRT_Cell<TData>;
2040
1784
  row: MRT_Row<TData>;
@@ -2043,6 +1787,20 @@ interface MRT_ToggleRowActionMenuButtonProps<TData extends MRT_RowData> extends
2043
1787
  }
2044
1788
  declare const MRT_ToggleRowActionMenuButton: <TData extends MRT_RowData>({ cell, row, staticRowIndex, table, ...rest }: MRT_ToggleRowActionMenuButtonProps<TData>) => react.JSX.Element;
2045
1789
 
1790
+ interface MRT_PaginationBoundsEffectProps<TData extends MRT_RowData> {
1791
+ table: MRT_TableInstance<TData>;
1792
+ }
1793
+ /**
1794
+ * Headless (renders nothing) — owns its own reactive subscription so this
1795
+ * correction runs independently of whatever the root `useTable()` selector
1796
+ * excludes. Subscribes to exactly the row-model pipeline stages that feed
1797
+ * `getPrePaginatedRowModel()` (sorting/grouping/expanded/rowPinning) plus
1798
+ * pagination itself: when the total row count shrinks (e.g. a group
1799
+ * collapses) and the current page index is no longer valid, snaps back to
1800
+ * the last valid page.
1801
+ */
1802
+ declare const MRT_PaginationBoundsEffect: <TData extends MRT_RowData>({ table, }: MRT_PaginationBoundsEffectProps<TData>) => null;
1803
+
2046
1804
  interface MRT_TableFooterProps<TData extends MRT_RowData> extends TableFooterProps {
2047
1805
  columnVirtualizer?: MRT_ColumnVirtualizer;
2048
1806
  table: MRT_TableInstance<TData>;
@@ -2054,7 +1812,7 @@ interface MRT_TableFooterCellProps<TData extends MRT_RowData> extends TableCellP
2054
1812
  staticColumnIndex?: number;
2055
1813
  table: MRT_TableInstance<TData>;
2056
1814
  }
2057
- declare const MRT_TableFooterCell: <TData extends MRT_RowData>({ footer, staticColumnIndex, table, ...rest }: MRT_TableFooterCellProps<TData>) => react__default.JSX.Element;
1815
+ declare const MRT_TableFooterCell: <TData extends MRT_RowData>({ footer, staticColumnIndex, table, ...rest }: MRT_TableFooterCellProps<TData>) => react.JSX.Element;
2058
1816
 
2059
1817
  interface MRT_TableFooterRowProps<TData extends MRT_RowData> extends TableRowProps {
2060
1818
  columnVirtualizer?: MRT_ColumnVirtualizer;
@@ -2075,7 +1833,7 @@ interface MRT_TableHeadCellProps<TData extends MRT_RowData> extends TableCellPro
2075
1833
  staticColumnIndex?: number;
2076
1834
  table: MRT_TableInstance<TData>;
2077
1835
  }
2078
- declare const MRT_TableHeadCell: <TData extends MRT_RowData>({ columnVirtualizer, header, staticColumnIndex, table, ...rest }: MRT_TableHeadCellProps<TData>) => react__default.JSX.Element;
1836
+ declare const MRT_TableHeadCell: <TData extends MRT_RowData>({ columnVirtualizer, header, staticColumnIndex, table, ...rest }: MRT_TableHeadCellProps<TData>) => react.JSX.Element;
2079
1837
 
2080
1838
  interface MRT_TableHeadCellColumnActionsButtonProps<TData extends MRT_RowData> extends IconButtonProps {
2081
1839
  header: MRT_Header<TData>;
@@ -2083,12 +1841,6 @@ interface MRT_TableHeadCellColumnActionsButtonProps<TData extends MRT_RowData> e
2083
1841
  }
2084
1842
  declare const MRT_TableHeadCellColumnActionsButton: <TData extends MRT_RowData>({ header, table, ...rest }: MRT_TableHeadCellColumnActionsButtonProps<TData>) => react.JSX.Element;
2085
1843
 
2086
- interface MRT_TableHeadCellFilterLabelProps<TData extends MRT_RowData> extends IconButtonProps {
2087
- header: MRT_Header<TData>;
2088
- table: MRT_TableInstance<TData>;
2089
- }
2090
- declare const MRT_TableHeadCellFilterLabel: <TData extends MRT_RowData = {}>({ header, table, ...rest }: MRT_TableHeadCellFilterLabelProps<TData>) => react.JSX.Element;
2091
-
2092
1844
  interface MRT_TableHeadCellGrabHandleProps<TData extends MRT_RowData> extends IconButtonProps {
2093
1845
  column: MRT_Column<TData>;
2094
1846
  table: MRT_TableInstance<TData>;
@@ -2115,12 +1867,6 @@ interface MRT_TableHeadRowProps<TData extends MRT_RowData> extends TableRowProps
2115
1867
  }
2116
1868
  declare const MRT_TableHeadRow: <TData extends MRT_RowData>({ columnVirtualizer, headerGroup, table, ...rest }: MRT_TableHeadRowProps<TData>) => react.JSX.Element;
2117
1869
 
2118
- interface MRT_EditCellTextFieldProps<TData extends MRT_RowData> extends TextFieldProps<'standard'> {
2119
- cell: MRT_Cell<TData>;
2120
- table: MRT_TableInstance<TData>;
2121
- }
2122
- declare const MRT_EditCellTextField: <TData extends MRT_RowData>({ cell, table, ...rest }: MRT_EditCellTextFieldProps<TData>) => react.JSX.Element;
2123
-
2124
1870
  interface MRT_SelectAllMenuProps<TData extends MRT_RowData> {
2125
1871
  table: MRT_TableInstance<TData>;
2126
1872
  }
@@ -2149,26 +1895,14 @@ interface MRT_ColumnActionMenuProps<TData extends MRT_RowData> extends Partial<M
2149
1895
  }
2150
1896
  declare const MRT_ColumnActionMenu: <TData extends MRT_RowData>({ anchorEl, header, setAnchorEl, table, ...rest }: MRT_ColumnActionMenuProps<TData>) => react.JSX.Element;
2151
1897
 
2152
- declare const mrtFilterOptions: (localization: MRT_Localization) => MRT_InternalFilterOption[];
2153
- interface MRT_FilterOptionMenuProps<TData extends MRT_RowData> extends Partial<MenuProps> {
2154
- anchorEl: HTMLElement | null;
2155
- header?: MRT_Header<TData>;
2156
- onSelect?: () => void;
2157
- setAnchorEl: (anchorEl: HTMLElement | null) => void;
2158
- setFilterValue?: (filterValue: unknown) => void;
2159
- table: MRT_TableInstance<TData>;
2160
- }
2161
- declare const MRT_FilterOptionMenu: <TData extends MRT_RowData>({ anchorEl, header, onSelect, setAnchorEl, setFilterValue, table, ...rest }: MRT_FilterOptionMenuProps<TData>) => react.JSX.Element;
2162
-
2163
1898
  interface MRT_RowActionMenuProps<TData extends MRT_RowData> extends Partial<MenuProps> {
2164
1899
  anchorEl: HTMLElement | null;
2165
- handleEdit: (event: MouseEvent) => void;
2166
1900
  row: MRT_Row<TData>;
2167
1901
  setAnchorEl: (anchorEl: HTMLElement | null) => void;
2168
1902
  staticRowIndex?: number;
2169
1903
  table: MRT_TableInstance<TData>;
2170
1904
  }
2171
- declare const MRT_RowActionMenu: <TData extends MRT_RowData>({ anchorEl, handleEdit, row, setAnchorEl, staticRowIndex, table, ...rest }: MRT_RowActionMenuProps<TData>) => react.JSX.Element | null;
1905
+ declare const MRT_RowActionMenu: <TData extends MRT_RowData>({ anchorEl, row, setAnchorEl, staticRowIndex, table, ...rest }: MRT_RowActionMenuProps<TData>) => react.JSX.Element | null;
2172
1906
 
2173
1907
  interface MRT_ShowHideColumnsMenuProps<TData extends MRT_RowData> extends Partial<MenuProps> {
2174
1908
  anchorEl: HTMLElement | null;
@@ -2188,12 +1922,6 @@ interface MRT_ShowHideColumnsMenuItemsProps<TData extends MRT_RowData> extends M
2188
1922
  }
2189
1923
  declare const MRT_ShowHideColumnsMenuItems: <TData extends MRT_RowData>({ allColumns, column, hoveredColumn, isNestedColumns, setHoveredColumn, table, ...rest }: MRT_ShowHideColumnsMenuItemsProps<TData>) => react.JSX.Element | null;
2190
1924
 
2191
- interface MRT_EditRowModalProps<TData extends MRT_RowData> extends Partial<DialogProps> {
2192
- open: boolean;
2193
- table: MRT_TableInstance<TData>;
2194
- }
2195
- declare const MRT_EditRowModal: <TData extends MRT_RowData>({ open, table, ...rest }: MRT_EditRowModalProps<TData>) => react.JSX.Element;
2196
-
2197
1925
  interface MRT_NewEntryFormProps<TData extends MRT_RowData> {
2198
1926
  table: MRT_TableInstance<TData>;
2199
1927
  }
@@ -2344,4 +2072,4 @@ interface MRT_TopToolbarProps<TData extends MRT_RowData> {
2344
2072
  }
2345
2073
  declare const MRT_TopToolbar: <TData extends MRT_RowData>({ table, }: MRT_TopToolbarProps<TData>) => react.JSX.Element;
2346
2074
 
2347
- export { type Action, type ActionRowRenderContext, type ActionToolbarRenderContext, CHECKBOX_DISPLAY_COLUMN_ID, type ColumnType, type ColumnTypeResolver, type CreateDeleteActionOptions, type CreateEditActionOptions, type CreateExportActionOptions, type CustomOnDeleteActionContext, type CustomOnEditActionContext, type CustomOnExportActionContext, type DeleteActionRowRenderContext, type DeleteActionToolbarRenderContext, type DeleteConfirmationConfig, type DistributiveOmit, type DropdownOption, type ExportActionRowRenderContext, type ExportActionToolbarRenderContext, type LiteralUnion, MRT_ActionMenuItem, type MRT_ActionMenuItemProps, type MRT_ActiveExportsState, MRT_AdvancedFilters, type MRT_AdvancedFiltersProps, type MRT_AggregationFn, MRT_AggregationFns, type MRT_AggregationOption, MRT_BottomToolbar, type MRT_BottomToolbarProps, type MRT_Cell, type MRT_Column, MRT_ColumnActionMenu, type MRT_ColumnActionMenuProps, type MRT_ColumnDef, type MRT_ColumnFilterFnsState, type MRT_ColumnFiltersState, type MRT_ColumnHelper, type MRT_ColumnOrderState, MRT_ColumnPinningButtons, type MRT_ColumnPinningButtonsProps, type MRT_ColumnPinningState, type MRT_ColumnSizingInfoState, type MRT_ColumnSizingState, type MRT_ColumnVirtualizer, MRT_CopyButton, type MRT_CopyButtonProps, MRT_DefaultColumn, MRT_DefaultDisplayColumn, type MRT_DefinedColumnDef, type MRT_DefinedTableOptions, type MRT_DensityState, type MRT_DisplayColumnDef, type MRT_DisplayColumnIds, MRT_EditActionButtons, type MRT_EditActionButtonsProps, MRT_EditCellTextField, type MRT_EditCellTextFieldProps, MRT_EditRowModal, type MRT_EditRowModalProps, MRT_ExpandAllButton, type MRT_ExpandAllButtonProps, MRT_ExpandButton, type MRT_ExpandButtonProps, type MRT_ExpandedState, type MRT_ExportDefinition, type MRT_ExportFileResponse, type MRT_ExportParams, MRT_ExportsToolbar, type MRT_ExportsToolbarProps, type MRT_FilterFn, MRT_FilterFns, type MRT_FilterOperator, type MRT_FilterOperatorDefinition, type MRT_FilterOperatorEditComponentProps, type MRT_FilterOperatorValueShape, type MRT_FilterOption, MRT_FilterOptionMenu, type MRT_FilterOptionMenuProps, type MRT_FilterRule, type MRT_FiltersLogicOperator, type MRT_FiltersState, type MRT_FormActionButtonRenderProps, type MRT_FormAdditionalField, type MRT_FormAdditionalFieldRenderProps, type MRT_FormCallbackProps, type MRT_FormConfig, type MRT_FormCustomAction, type MRT_FormFieldConfig, type MRT_FormFieldEntry, type MRT_FormFieldRenderProps, type MRT_FormRenderEntry, type MRT_FormSectionConfig, type MRT_GetRowId, MRT_GrabHandleButton, type MRT_GrabHandleButtonProps, type MRT_GroupColumnDef, type MRT_GroupingState, type MRT_Header, type MRT_HeaderGroup, type MRT_IconColumnDef, type MRT_Icons, type MRT_IconsListEntry, type MRT_InternalFilterOption, MRT_LinearProgressBar, type MRT_LinearProgressBarProps, type MRT_Localization, type MRT_ModalPosition, MRT_NewEntryForm, MRT_NewEntryFormActions, MRT_NewEntryFormActionsContext, type MRT_NewEntryFormActionsContextValue, type MRT_NewEntryFormActionsProps, type MRT_NewEntryFormProps, MRT_NewEntryFormProvider, type MRT_NewEntryFormProviderProps, MRT_NewEntryModal, type MRT_NewEntryModalOverrides, type MRT_NewEntryModalProps, type MRT_NewEntryModalState, type MRT_NonIconColumnDef, type MRT_PaginationState, type MRT_Row, MRT_RowActionMenu, type MRT_RowActionMenuProps, type MRT_RowData, type MRT_RowManipulationInput, type MRT_RowModel, MRT_RowPinButton, type MRT_RowPinButtonProps, type MRT_RowReorderingSelectionState, type MRT_RowSelectionState, type MRT_RowVirtualizer, type MRT_SavedFilter, type MRT_SavedFilters, MRT_SelectAllMenu, type MRT_SelectAllMenuProps, MRT_SelectCheckbox, type MRT_SelectCheckboxProps, MRT_SelectionCountBadge, type MRT_SelectionCountBadgeProps, MRT_ShowHideColumnsButton, type MRT_ShowHideColumnsButtonProps, MRT_ShowHideColumnsMenu, MRT_ShowHideColumnsMenuItems, type MRT_ShowHideColumnsMenuItemsProps, type MRT_ShowHideColumnsMenuProps, type MRT_SortingFn, MRT_SortingFns, type MRT_SortingOption, type MRT_SortingState, type MRT_StatefulTableOptions, MRT_Table, MRT_TableBody, MRT_TableBodyCell, type MRT_TableBodyCellProps, MRT_TableBodyCellValue, type MRT_TableBodyCellValueProps, type MRT_TableBodyProps, MRT_TableBodyRow, MRT_TableBodyRowGrabHandle, type MRT_TableBodyRowGrabHandleProps, MRT_TableBodyRowPinButton, type MRT_TableBodyRowPinButtonProps, type MRT_TableBodyRowProps, type MRT_TableConfig, MRT_TableContainer, type MRT_TableContainerProps, type MRT_TableData, MRT_TableDetailPanel, type MRT_TableDetailPanelProps, MRT_TableFooter, MRT_TableFooterCell, type MRT_TableFooterCellProps, type MRT_TableFooterProps, MRT_TableFooterRow, type MRT_TableFooterRowProps, MRT_TableHead, MRT_TableHeadCell, MRT_TableHeadCellColumnActionsButton, type MRT_TableHeadCellColumnActionsButtonProps, MRT_TableHeadCellFilterLabel, type MRT_TableHeadCellFilterLabelProps, MRT_TableHeadCellGrabHandle, type MRT_TableHeadCellGrabHandleProps, type MRT_TableHeadCellProps, MRT_TableHeadCellResizeHandle, type MRT_TableHeadCellResizeHandleProps, MRT_TableHeadCellSortLabel, type MRT_TableHeadCellSortLabelProps, type MRT_TableHeadProps, MRT_TableHeadRow, type MRT_TableHeadRowProps, type MRT_TableInstance, MRT_TableLoadingOverlay, type MRT_TableLoadingOverlayProps, type MRT_TableOptions, MRT_TablePagination, type MRT_TablePaginationProps, MRT_TablePaper, type MRT_TablePaperProps, type MRT_TableProps, type MRT_TableState, type MRT_Theme, MRT_ToggleDensePaddingButton, type MRT_ToggleDensePaddingButtonProps, MRT_ToggleFiltersButton, type MRT_ToggleFiltersButtonProps, MRT_ToggleGlobalFilterButton, type MRT_ToggleGlobalFilterButtonProps, MRT_ToggleRowActionMenuButton, type MRT_ToggleRowActionMenuButtonProps, MRT_ToolbarAlertBanner, type MRT_ToolbarAlertBannerProps, MRT_ToolbarDropZone, type MRT_ToolbarDropZoneProps, MRT_ToolbarInternalButtons, type MRT_ToolbarInternalButtonsProps, MRT_TopToolbar, type MRT_TopToolbarProps, type MRT_TreeRowReorderEvent, type MRT_Updater, type MRT_VirtualItem, type MRT_VirtualizerOptions, type MRT_VisibilityState, MaterialReactServerTable, type MaterialReactServerTableProps, MaterialReactTable, type MaterialReactTableProps, Memo_MRT_TableBody, Memo_MRT_TableBodyCell, Memo_MRT_TableBodyRow, type OnDeleteActionContext, type OnEditActionContext, type OnExportActionContext, type Prettify, RHF_FormProvider, type RHF_FormProviderProps, type UseServerTableStateOptions, type UseServerTableStateReturn, type Xor, buildDefaultValues, cellKeyboardShortcuts, createDeleteAction, createEditAction, createExportAction, createMRTColumnHelper, createRow, defaultDisplayColumnProps, flexRender, getAllLeafColumnDefs, getCanRankRows, getColumnFilterInfo, getColumnId, getDefaultColumnFilterFn, getDefaultColumnOrderIds, getDefaultColumnPinningState, getIsAllPagesSelectionActive, getIsRankingRows, getIsRowSelected, getLeadingDisplayColumnIds, getMRT_RowSelectionHandler, getMRT_Rows, getMRT_SelectAllHandler, getTrailingDisplayColumnIds, groupFieldsBySection, isCellEditable, mrtFilterOptions, openEditingCell, prepareColumns, rankGlobalFuzzy, reorderColumn, resolveFormFields, showRowActionsColumn, showRowDragColumn, showRowExpandColumn, showRowNumbersColumn, showRowPinningColumn, showRowSelectionColumn, showRowSpacerColumn, sortByOrder, toAdditionalRenderEntries, toColumnRenderEntries, useDropdownOptions, useMRT_ColumnVirtualizer, useMRT_Effects, useMRT_NewEntryFormActions, useMRT_RowVirtualizer, useMRT_Rows, useMRT_TableInstance, useMRT_TableOptions, useMaterialReactTable };
2075
+ export { type Action, type ActionRowRenderContext, type ActionToolbarRenderContext, CHECKBOX_DISPLAY_COLUMN_ID, type ColumnType, type ColumnTypeResolver, type CreateDeleteActionOptions, type CreateEditActionOptions, type CreateExportActionOptions, type CustomOnDeleteActionContext, type CustomOnEditActionContext, type CustomOnExportActionContext, type DeleteActionRowRenderContext, type DeleteActionToolbarRenderContext, type DeleteConfirmationConfig, type DistributiveOmit, type DropdownOption, type ExportActionRowRenderContext, type ExportActionToolbarRenderContext, type LiteralUnion, MRT_ActionMenuItem, type MRT_ActionMenuItemProps, type MRT_ActiveExportsState, MRT_AdvancedFilters, type MRT_AdvancedFiltersProps, type MRT_AggregationFn, MRT_AggregationFns, type MRT_AggregationOption, MRT_BottomToolbar, type MRT_BottomToolbarProps, type MRT_Cell, type MRT_Column, MRT_ColumnActionMenu, type MRT_ColumnActionMenuProps, type MRT_ColumnDef, type MRT_ColumnHelper, type MRT_ColumnOrderState, MRT_ColumnPinningButtons, type MRT_ColumnPinningButtonsProps, type MRT_ColumnPinningState, type MRT_ColumnResizingState, type MRT_ColumnSizingState, type MRT_ColumnVirtualizer, MRT_DefaultColumn, MRT_DefaultDisplayColumn, type MRT_DefinedColumnDef, type MRT_DefinedTableOptions, type MRT_DensityState, type MRT_DisplayColumnDef, type MRT_DisplayColumnIds, MRT_ExpandAllButton, type MRT_ExpandAllButtonProps, MRT_ExpandButton, type MRT_ExpandButtonProps, type MRT_ExpandedState, type MRT_ExportDefinition, type MRT_ExportFileResponse, type MRT_ExportParams, MRT_ExportsToolbar, type MRT_ExportsToolbarProps, type MRT_FilterOperator, type MRT_FilterOperatorDefinition, type MRT_FilterOperatorEditComponentProps, type MRT_FilterOperatorValueShape, type MRT_FilterRule, type MRT_FiltersLogicOperator, type MRT_FiltersState, type MRT_FormActionButtonRenderProps, type MRT_FormAdditionalField, type MRT_FormAdditionalFieldRenderProps, type MRT_FormCallbackProps, type MRT_FormConfig, type MRT_FormCustomAction, type MRT_FormFieldConfig, type MRT_FormFieldEntry, type MRT_FormFieldRenderProps, type MRT_FormRenderEntry, type MRT_FormSectionConfig, type MRT_GetRowId, MRT_GrabHandleButton, type MRT_GrabHandleButtonProps, type MRT_GroupColumnDef, type MRT_GroupingState, type MRT_Header, type MRT_HeaderGroup, type MRT_IconColumnDef, type MRT_Icons, type MRT_IconsListEntry, MRT_LinearProgressBar, type MRT_LinearProgressBarProps, type MRT_Localization, type MRT_ModalPosition, MRT_NewEntryForm, MRT_NewEntryFormActions, MRT_NewEntryFormActionsContext, type MRT_NewEntryFormActionsContextValue, type MRT_NewEntryFormActionsProps, type MRT_NewEntryFormProps, MRT_NewEntryFormProvider, type MRT_NewEntryFormProviderProps, MRT_NewEntryModal, type MRT_NewEntryModalOverrides, type MRT_NewEntryModalProps, type MRT_NewEntryModalState, type MRT_NonIconColumnDef, MRT_PaginationBoundsEffect, type MRT_PaginationBoundsEffectProps, type MRT_PaginationState, type MRT_Row, MRT_RowActionMenu, type MRT_RowActionMenuProps, type MRT_RowData, type MRT_RowManipulationInput, type MRT_RowModel, MRT_RowPinButton, type MRT_RowPinButtonProps, type MRT_RowReorderingSelectionState, type MRT_RowSelectionState, type MRT_RowVirtualizer, type MRT_SavedFilter, type MRT_SavedFilters, MRT_SelectAllMenu, type MRT_SelectAllMenuProps, MRT_SelectCheckbox, type MRT_SelectCheckboxProps, MRT_SelectionCountBadge, type MRT_SelectionCountBadgeProps, MRT_ShowHideColumnsButton, type MRT_ShowHideColumnsButtonProps, MRT_ShowHideColumnsMenu, MRT_ShowHideColumnsMenuItems, type MRT_ShowHideColumnsMenuItemsProps, type MRT_ShowHideColumnsMenuProps, type MRT_SortFn, MRT_SortingFns, type MRT_SortingOption, type MRT_SortingState, type MRT_StatefulTableOptions, MRT_Table, MRT_TableBody, MRT_TableBodyCell, type MRT_TableBodyCellProps, MRT_TableBodyCellValue, type MRT_TableBodyCellValueProps, type MRT_TableBodyProps, MRT_TableBodyRow, MRT_TableBodyRowPinButton, type MRT_TableBodyRowPinButtonProps, type MRT_TableBodyRowProps, type MRT_TableConfig, MRT_TableContainer, type MRT_TableContainerProps, type MRT_TableData, MRT_TableDetailPanel, type MRT_TableDetailPanelProps, MRT_TableFooter, MRT_TableFooterCell, type MRT_TableFooterCellProps, type MRT_TableFooterProps, MRT_TableFooterRow, type MRT_TableFooterRowProps, MRT_TableHead, MRT_TableHeadCell, MRT_TableHeadCellColumnActionsButton, type MRT_TableHeadCellColumnActionsButtonProps, MRT_TableHeadCellGrabHandle, type MRT_TableHeadCellGrabHandleProps, type MRT_TableHeadCellProps, MRT_TableHeadCellResizeHandle, type MRT_TableHeadCellResizeHandleProps, MRT_TableHeadCellSortLabel, type MRT_TableHeadCellSortLabelProps, type MRT_TableHeadProps, MRT_TableHeadRow, type MRT_TableHeadRowProps, type MRT_TableInstance, MRT_TableLoadingOverlay, type MRT_TableLoadingOverlayProps, type MRT_TableOptions, MRT_TablePagination, type MRT_TablePaginationProps, MRT_TablePaper, type MRT_TablePaperProps, type MRT_TableProps, type MRT_TableState, type MRT_Theme, MRT_ToggleDensePaddingButton, type MRT_ToggleDensePaddingButtonProps, MRT_ToggleRowActionMenuButton, type MRT_ToggleRowActionMenuButtonProps, MRT_ToolbarAlertBanner, type MRT_ToolbarAlertBannerProps, MRT_ToolbarDropZone, type MRT_ToolbarDropZoneProps, MRT_ToolbarInternalButtons, type MRT_ToolbarInternalButtonsProps, MRT_TopToolbar, type MRT_TopToolbarProps, type MRT_TreeRowReorderEvent, type MRT_Updater, type MRT_VirtualItem, type MRT_VirtualizerOptions, type MRT_VisibilityState, MaterialReactServerTable, type MaterialReactServerTableProps, MaterialReactTable, type MaterialReactTableProps, Memo_MRT_TableBody, Memo_MRT_TableBodyCell, Memo_MRT_TableBodyRow, type OnDeleteActionContext, type OnEditActionContext, type OnExportActionContext, type Prettify, RHF_FormProvider, type RHF_FormProviderProps, type UseServerTableStateOptions, type UseServerTableStateReturn, type Xor, buildDefaultValues, createDeleteAction, createEditAction, createExportAction, createMRTColumnHelper, createRow, defaultDisplayColumnProps, flexRender, getAllLeafColumnDefs, getColumnId, getDefaultColumnOrderIds, getDefaultColumnPinningState, getIsAllPagesSelectionActive, getIsRowSelected, getLeadingDisplayColumnIds, getMRT_RowSelectionHandler, getMRT_Rows, getMRT_SelectAllHandler, getTrailingDisplayColumnIds, groupFieldsBySection, prepareColumns, reorderColumn, resolveFormFields, showRowActionsColumn, showRowExpandColumn, showRowNumbersColumn, showRowPinningColumn, showRowSelectionColumn, showRowSpacerColumn, sortByOrder, toAdditionalRenderEntries, toColumnRenderEntries, useMRT_ColumnVirtualizer, useMRT_NewEntryFormActions, useMRT_RowVirtualizer, useMRT_Rows, useMRT_TableInstance, useMRT_TableOptions, useMaterialReactTable };