material-react-table 2.13.2 → 3.0.0-beta.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/README.md +5 -5
- package/dist/index.d.ts +53 -15
- package/dist/index.esm.js +170 -57
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +170 -56
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
- package/src/components/body/MRT_TableBodyCell.tsx +15 -1
- package/src/components/body/MRT_TableBodyRow.tsx +3 -2
- package/src/components/buttons/MRT_ToggleRowActionMenuButton.tsx +5 -1
- package/src/components/footer/MRT_TableFooter.tsx +17 -2
- package/src/components/footer/MRT_TableFooterCell.tsx +14 -1
- package/src/components/head/MRT_TableHeadCell.tsx +11 -0
- package/src/components/menus/MRT_RowActionMenu.tsx +26 -16
- package/src/fns/filterFns.ts +43 -35
- package/src/hooks/useMRT_TableOptions.ts +2 -0
- package/src/types.ts +49 -18
- package/src/utils/cell.utils.ts +75 -0
- package/src/utils/style.utils.ts +5 -0
- package/src/utils/utils.ts +1 -1
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Material React Table
|
1
|
+
# Material React Table V3
|
2
2
|
|
3
3
|
View [Documentation](https://www.material-react-table.com/)
|
4
4
|
|
@@ -14,7 +14,7 @@ View [Documentation](https://www.material-react-table.com/)
|
|
14
14
|
<a href="https://star-history.com/#kevinvandy/material-react-table&Date" target="_blank">
|
15
15
|
<img alt="" src="https://badgen.net/github/stars/KevinVandy/material-react-table?color=blue" />
|
16
16
|
</a>
|
17
|
-
<a href="https://github.com/KevinVandy/material-react-table/blob/
|
17
|
+
<a href="https://github.com/KevinVandy/material-react-table/blob/v3/LICENSE" target="_blank">
|
18
18
|
<img alt="" src="https://badgen.net/github/license/KevinVandy/material-react-table?color=blue" />
|
19
19
|
</a>
|
20
20
|
<a
|
@@ -36,7 +36,7 @@ View [Documentation](https://www.material-react-table.com/)
|
|
36
36
|
|
37
37
|
### _Quickly Create React Data Tables with Material Design_
|
38
38
|
|
39
|
-
### **Built with [Material UI <sup>
|
39
|
+
### **Built with [Material UI <sup>V6</sup>](https://mui.com) and [TanStack Table <sup>V8</sup>](https://tanstack.com/table/v8)**
|
40
40
|
|
41
41
|
<img src="https://material-react-table.com/banner.png" alt="MRT" height="50" />
|
42
42
|
|
@@ -116,7 +116,7 @@ View the full [Installation Docs](https://www.material-react-table.com/docs/gett
|
|
116
116
|
|
117
117
|
1. Ensure that you have React 18 or later installed
|
118
118
|
|
119
|
-
2. Install Peer Dependencies (Material UI
|
119
|
+
2. Install Peer Dependencies (Material UI V6)
|
120
120
|
|
121
121
|
```bash
|
122
122
|
npm install @mui/material @mui/x-date-pickers @mui/icons-material @emotion/react @emotion/styled
|
@@ -210,6 +210,6 @@ _Open in [Code Sandbox](https://codesandbox.io/s/simple-material-react-table-exa
|
|
210
210
|
|
211
211
|
PRs are Welcome, but please discuss in [GitHub Discussions](https://github.com/KevinVandy/material-react-table/discussions) or the [Discord Server](https://discord.gg/5wqyRx6fnm) first if it is a large change!
|
212
212
|
|
213
|
-
Read the [Contributing Guide](https://github.com/KevinVandy/material-react-table/blob/
|
213
|
+
Read the [Contributing Guide](https://github.com/KevinVandy/material-react-table/blob/v3/CONTRIBUTING.md) to learn how to run this project locally.
|
214
214
|
|
215
215
|
<!-- Use the FORCE, Luke! -->
|
package/dist/index.d.ts
CHANGED
@@ -247,10 +247,6 @@ type Xor<A, B> = Prettify<A & {
|
|
247
247
|
}>;
|
248
248
|
type DropdownOption = {
|
249
249
|
label?: string;
|
250
|
-
/**
|
251
|
-
* @deprecated use `label` instead
|
252
|
-
*/
|
253
|
-
text?: string;
|
254
250
|
value: any;
|
255
251
|
} | string;
|
256
252
|
type MRT_DensityState = 'comfortable' | 'compact' | 'spacious';
|
@@ -278,10 +274,6 @@ type MRT_ColumnVirtualizer<TScrollElement extends Element | Window = HTMLDivElem
|
|
278
274
|
type MRT_RowVirtualizer<TScrollElement extends Element | Window = HTMLDivElement, TItemElement extends Element = HTMLTableRowElement> = Virtualizer<TScrollElement, TItemElement> & {
|
279
275
|
virtualRows: MRT_VirtualItem[];
|
280
276
|
};
|
281
|
-
/**
|
282
|
-
* @deprecated use `MRT_ColumnVirtualizer` or `MRT_RowVirtualizer` instead
|
283
|
-
*/
|
284
|
-
type MRT_Virtualizer<_TScrollElement = any, _TItemElement = any> = MRT_ColumnVirtualizer | MRT_RowVirtualizer;
|
285
277
|
type MRT_ColumnHelper<TData extends MRT_RowData> = {
|
286
278
|
accessor: <TAccessor extends AccessorFn<TData> | DeepKeys<TData>, TValue extends TAccessor extends AccessorFn<TData, infer TReturn> ? TReturn : TAccessor extends DeepKeys<TData> ? DeepValue<TData, TAccessor> : never>(accessor: TAccessor, column: MRT_DisplayColumnDef<TData, TValue>) => MRT_ColumnDef<TData, TValue>;
|
287
279
|
display: (column: MRT_DisplayColumnDef<TData>) => MRT_ColumnDef<TData>;
|
@@ -382,6 +374,7 @@ interface MRT_Localization {
|
|
382
374
|
}
|
383
375
|
interface MRT_Theme {
|
384
376
|
baseBackgroundColor: string;
|
377
|
+
cellNavigationOutlineColor: string;
|
385
378
|
draggingBorderColor: string;
|
386
379
|
matchHighlightColor: string;
|
387
380
|
menuBackgroundColor: string;
|
@@ -395,7 +388,7 @@ interface MRT_RowModel<TData extends MRT_RowData> {
|
|
395
388
|
[key: string]: MRT_Row<TData>;
|
396
389
|
};
|
397
390
|
}
|
398
|
-
type MRT_TableInstance<TData extends MRT_RowData> = Omit<Table<TData>, 'getAllColumns' | 'getAllFlatColumns' | 'getAllLeafColumns' | 'getBottomRows' | 'getCenterLeafColumns' | 'getCenterRows' | 'getColumn' | 'getExpandedRowModel' | 'getFlatHeaders' | 'getHeaderGroups' | 'getLeafHeaders' | 'getLeftLeafColumns' | 'getPaginationRowModel' | 'getPreFilteredRowModel' | 'getPrePaginationRowModel' | 'getRightLeafColumns' | 'getRowModel' | 'getSelectedRowModel' | 'getState' | 'getTopRows' | 'options'> & {
|
391
|
+
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'> & {
|
399
392
|
getAllColumns: () => MRT_Column<TData>[];
|
400
393
|
getAllFlatColumns: () => MRT_Column<TData>[];
|
401
394
|
getAllLeafColumns: () => MRT_Column<TData>[];
|
@@ -405,6 +398,7 @@ type MRT_TableInstance<TData extends MRT_RowData> = Omit<Table<TData>, 'getAllCo
|
|
405
398
|
getColumn: (columnId: string) => MRT_Column<TData>;
|
406
399
|
getExpandedRowModel: () => MRT_RowModel<TData>;
|
407
400
|
getFlatHeaders: () => MRT_Header<TData>[];
|
401
|
+
getFooterGroups: () => MRT_HeaderGroup<TData>[];
|
408
402
|
getHeaderGroups: () => MRT_HeaderGroup<TData>[];
|
409
403
|
getLeafHeaders: () => MRT_Header<TData>[];
|
410
404
|
getLeftLeafColumns: () => MRT_Column<TData>[];
|
@@ -752,7 +746,7 @@ type MRT_DisplayColumnIds = 'mrt-row-actions' | 'mrt-row-drag' | 'mrt-row-expand
|
|
752
746
|
interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<TableOptions<TData>>, 'columns' | 'data' | 'defaultColumn' | 'enableRowSelection' | 'expandRowsFn' | 'getRowId' | 'globalFilterFn' | 'initialState' | 'onStateChange' | 'state'> {
|
753
747
|
columnFilterDisplayMode?: 'custom' | 'popover' | 'subheader';
|
754
748
|
columnFilterModeOptions?: Array<LiteralUnion<string & MRT_FilterOption>> | null;
|
755
|
-
columnVirtualizerInstanceRef?: MutableRefObject<MRT_ColumnVirtualizer |
|
749
|
+
columnVirtualizerInstanceRef?: MutableRefObject<MRT_ColumnVirtualizer | null>;
|
756
750
|
columnVirtualizerOptions?: ((props: {
|
757
751
|
table: MRT_TableInstance<TData>;
|
758
752
|
}) => Partial<VirtualizerOptions<HTMLDivElement, HTMLTableCellElement>>) | Partial<VirtualizerOptions<HTMLDivElement, HTMLTableCellElement>>;
|
@@ -804,6 +798,7 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
|
|
804
798
|
enableFullScreenToggle?: boolean;
|
805
799
|
enableGlobalFilterModes?: boolean;
|
806
800
|
enableGlobalFilterRankedResults?: boolean;
|
801
|
+
enableCellNavigation?: boolean;
|
807
802
|
enablePagination?: boolean;
|
808
803
|
enableRowActions?: boolean;
|
809
804
|
enableRowDragging?: boolean;
|
@@ -853,14 +848,23 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
|
|
853
848
|
}) | (CircularProgressProps & {
|
854
849
|
Component?: ReactNode;
|
855
850
|
});
|
851
|
+
/**
|
852
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
853
|
+
*/
|
856
854
|
muiColumnActionsButtonProps?: ((props: {
|
857
855
|
column: MRT_Column<TData>;
|
858
856
|
table: MRT_TableInstance<TData>;
|
859
857
|
}) => IconButtonProps) | IconButtonProps;
|
858
|
+
/**
|
859
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
860
|
+
*/
|
860
861
|
muiColumnDragHandleProps?: ((props: {
|
861
862
|
column: MRT_Column<TData>;
|
862
863
|
table: MRT_TableInstance<TData>;
|
863
864
|
}) => IconButtonProps) | IconButtonProps;
|
865
|
+
/**
|
866
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
867
|
+
*/
|
864
868
|
muiCopyButtonProps?: ((props: {
|
865
869
|
cell: MRT_Cell<TData>;
|
866
870
|
column: MRT_Column<TData>;
|
@@ -879,6 +883,9 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
|
|
879
883
|
row: MRT_Row<TData>;
|
880
884
|
table: MRT_TableInstance<TData>;
|
881
885
|
}) => DialogProps) | DialogProps;
|
886
|
+
/**
|
887
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
888
|
+
*/
|
882
889
|
muiEditTextFieldProps?: ((props: {
|
883
890
|
cell: MRT_Cell<TData>;
|
884
891
|
column: MRT_Column<TData>;
|
@@ -893,33 +900,54 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
|
|
893
900
|
staticRowIndex?: number;
|
894
901
|
table: MRT_TableInstance<TData>;
|
895
902
|
}) => IconButtonProps) | IconButtonProps;
|
903
|
+
/**
|
904
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
905
|
+
*/
|
896
906
|
muiFilterAutocompleteProps?: ((props: {
|
897
907
|
column: MRT_Column<TData>;
|
898
908
|
table: MRT_TableInstance<TData>;
|
899
909
|
}) => AutocompleteProps<any, any, any, any>) | AutocompleteProps<any, any, any, any>;
|
910
|
+
/**
|
911
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
912
|
+
*/
|
900
913
|
muiFilterCheckboxProps?: ((props: {
|
901
914
|
column: MRT_Column<TData>;
|
902
915
|
table: MRT_TableInstance<TData>;
|
903
916
|
}) => CheckboxProps) | CheckboxProps;
|
917
|
+
/**
|
918
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
919
|
+
*/
|
904
920
|
muiFilterDatePickerProps?: ((props: {
|
905
921
|
column: MRT_Column<TData>;
|
906
922
|
rangeFilterIndex?: number;
|
907
923
|
table: MRT_TableInstance<TData>;
|
908
924
|
}) => DatePickerProps<never>) | DatePickerProps<never>;
|
925
|
+
/**
|
926
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
927
|
+
*/
|
909
928
|
muiFilterDateTimePickerProps?: ((props: {
|
910
929
|
column: MRT_Column<TData>;
|
911
930
|
rangeFilterIndex?: number;
|
912
931
|
table: MRT_TableInstance<TData>;
|
913
932
|
}) => DateTimePickerProps<never>) | DateTimePickerProps<never>;
|
933
|
+
/**
|
934
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
935
|
+
*/
|
914
936
|
muiFilterSliderProps?: ((props: {
|
915
937
|
column: MRT_Column<TData>;
|
916
938
|
table: MRT_TableInstance<TData>;
|
917
939
|
}) => SliderProps) | SliderProps;
|
940
|
+
/**
|
941
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
942
|
+
*/
|
918
943
|
muiFilterTextFieldProps?: ((props: {
|
919
944
|
column: MRT_Column<TData>;
|
920
945
|
rangeFilterIndex?: number;
|
921
946
|
table: MRT_TableInstance<TData>;
|
922
947
|
}) => TextFieldProps) | TextFieldProps;
|
948
|
+
/**
|
949
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
950
|
+
*/
|
923
951
|
muiFilterTimePickerProps?: ((props: {
|
924
952
|
column: MRT_Column<TData>;
|
925
953
|
rangeFilterIndex?: number;
|
@@ -963,12 +991,18 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
|
|
963
991
|
staticRowIndex?: number;
|
964
992
|
table: MRT_TableInstance<TData>;
|
965
993
|
}) => CheckboxProps | RadioProps) | (CheckboxProps | RadioProps);
|
994
|
+
/**
|
995
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
996
|
+
*/
|
966
997
|
muiSkeletonProps?: ((props: {
|
967
998
|
cell: MRT_Cell<TData>;
|
968
999
|
column: MRT_Column<TData>;
|
969
1000
|
row: MRT_Row<TData>;
|
970
1001
|
table: MRT_TableInstance<TData>;
|
971
1002
|
}) => SkeletonProps) | SkeletonProps;
|
1003
|
+
/**
|
1004
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
1005
|
+
*/
|
972
1006
|
muiTableBodyCellProps?: ((props: {
|
973
1007
|
cell: MRT_Cell<TData>;
|
974
1008
|
column: MRT_Column<TData>;
|
@@ -998,6 +1032,9 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
|
|
998
1032
|
footerGroup: MRT_HeaderGroup<TData>;
|
999
1033
|
table: MRT_TableInstance<TData>;
|
1000
1034
|
}) => TableRowProps) | TableRowProps;
|
1035
|
+
/**
|
1036
|
+
* @deprecated Specify this in the `defaultColumn` table option instead if you want to apply to all columns.
|
1037
|
+
*/
|
1001
1038
|
muiTableHeadCellProps?: ((props: {
|
1002
1039
|
column: MRT_Column<TData>;
|
1003
1040
|
table: MRT_TableInstance<TData>;
|
@@ -1128,7 +1165,7 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
|
|
1128
1165
|
row: MRT_Row<TData>;
|
1129
1166
|
staticRowIndex?: number;
|
1130
1167
|
table: MRT_TableInstance<TData>;
|
1131
|
-
}) => ReactNode[];
|
1168
|
+
}) => ReactNode[] | undefined;
|
1132
1169
|
renderRowActions?: (props: {
|
1133
1170
|
cell: MRT_Cell<TData>;
|
1134
1171
|
row: MRT_Row<TData>;
|
@@ -1151,7 +1188,7 @@ interface MRT_TableOptions<TData extends MRT_RowData> extends Omit<Partial<Table
|
|
1151
1188
|
}) => ReactNode;
|
1152
1189
|
rowNumberDisplayMode?: 'original' | 'static';
|
1153
1190
|
rowPinningDisplayMode?: 'bottom' | 'select-bottom' | 'select-sticky' | 'select-top' | 'sticky' | 'top' | 'top-and-bottom';
|
1154
|
-
rowVirtualizerInstanceRef?: MutableRefObject<MRT_RowVirtualizer |
|
1191
|
+
rowVirtualizerInstanceRef?: MutableRefObject<MRT_RowVirtualizer | null>;
|
1155
1192
|
rowVirtualizerOptions?: ((props: {
|
1156
1193
|
table: MRT_TableInstance<TData>;
|
1157
1194
|
}) => Partial<VirtualizerOptions<HTMLDivElement, HTMLTableRowElement>>) | Partial<VirtualizerOptions<HTMLDivElement, HTMLTableRowElement>>;
|
@@ -1174,6 +1211,7 @@ declare const openEditingCell: <TData extends MRT_RowData>({ cell, table, }: {
|
|
1174
1211
|
cell: MRT_Cell<TData>;
|
1175
1212
|
table: MRT_TableInstance<TData>;
|
1176
1213
|
}) => void;
|
1214
|
+
declare const cellNavigation: (e: React.KeyboardEvent<HTMLTableCellElement>) => void;
|
1177
1215
|
|
1178
1216
|
declare const getColumnId: <TData extends MRT_RowData>(columnDef: MRT_ColumnDef<TData>) => string;
|
1179
1217
|
declare const getAllLeafColumnDefs: <TData extends MRT_RowData>(columns: MRT_ColumnDef<TData>[]) => MRT_ColumnDef<TData>[];
|
@@ -1614,7 +1652,7 @@ interface MRT_TableFooterProps<TData extends MRT_RowData> extends TableFooterPro
|
|
1614
1652
|
columnVirtualizer?: MRT_ColumnVirtualizer;
|
1615
1653
|
table: MRT_TableInstance<TData>;
|
1616
1654
|
}
|
1617
|
-
declare const MRT_TableFooter: <TData extends MRT_RowData>({ columnVirtualizer, table, ...rest }: MRT_TableFooterProps<TData>) => react_jsx_runtime.JSX.Element;
|
1655
|
+
declare const MRT_TableFooter: <TData extends MRT_RowData>({ columnVirtualizer, table, ...rest }: MRT_TableFooterProps<TData>) => react_jsx_runtime.JSX.Element | null;
|
1618
1656
|
|
1619
1657
|
interface MRT_TableFooterCellProps<TData extends MRT_RowData> extends TableCellProps {
|
1620
1658
|
footer: MRT_Header<TData>;
|
@@ -1766,7 +1804,7 @@ interface MRT_RowActionMenuProps<TData extends MRT_RowData> extends Partial<Menu
|
|
1766
1804
|
staticRowIndex?: number;
|
1767
1805
|
table: MRT_TableInstance<TData>;
|
1768
1806
|
}
|
1769
|
-
declare const MRT_RowActionMenu: <TData extends MRT_RowData>({ anchorEl, handleEdit, row, setAnchorEl, staticRowIndex, table, ...rest }: MRT_RowActionMenuProps<TData>) => react_jsx_runtime.JSX.Element;
|
1807
|
+
declare const MRT_RowActionMenu: <TData extends MRT_RowData>({ anchorEl, handleEdit, row, setAnchorEl, staticRowIndex, table, ...rest }: MRT_RowActionMenuProps<TData>) => react_jsx_runtime.JSX.Element | null;
|
1770
1808
|
|
1771
1809
|
interface MRT_ShowHideColumnsMenuProps<TData extends MRT_RowData> extends Partial<MenuProps> {
|
1772
1810
|
anchorEl: HTMLElement | null;
|
@@ -1858,4 +1896,4 @@ interface MRT_TopToolbarProps<TData extends MRT_RowData> {
|
|
1858
1896
|
}
|
1859
1897
|
declare const MRT_TopToolbar: <TData extends MRT_RowData>({ table, }: MRT_TopToolbarProps<TData>) => react_jsx_runtime.JSX.Element;
|
1860
1898
|
|
1861
|
-
export { type DropdownOption, type LiteralUnion, MRT_ActionMenuItem, type MRT_ActionMenuItemProps, 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, MRT_FilterCheckbox, type MRT_FilterCheckboxProps, type MRT_FilterFn, MRT_FilterFns, type MRT_FilterOption, MRT_FilterOptionMenu, type MRT_FilterOptionMenuProps, MRT_FilterRangeFields, type MRT_FilterRangeFieldsProps, MRT_FilterRangeSlider, type MRT_FilterRangeSliderProps, MRT_FilterTextField, type MRT_FilterTextFieldProps, MRT_GlobalFilterTextField, type MRT_GlobalFilterTextFieldProps, MRT_GrabHandleButton, type MRT_GrabHandleButtonProps, type MRT_GroupColumnDef, type MRT_GroupingState, type MRT_Header, type MRT_HeaderGroup, type MRT_Icons, type MRT_InternalFilterOption, MRT_LinearProgressBar, type MRT_LinearProgressBarProps, type MRT_Localization, type MRT_PaginationState, type MRT_Row, MRT_RowActionMenu, type MRT_RowActionMenuProps, type MRT_RowData, type MRT_RowModel, MRT_RowPinButton, type MRT_RowPinButtonProps, type MRT_RowSelectionState, type MRT_RowVirtualizer, MRT_SelectCheckbox, type MRT_SelectCheckboxProps, 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, MRT_TableContainer, type MRT_TableContainerProps, 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_TableHeadCellFilterContainer, type MRT_TableHeadCellFilterContainerProps, 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_ToggleFullScreenButton, type MRT_ToggleFullScreenButtonProps, 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_Updater, type MRT_VirtualItem, type
|
1899
|
+
export { type DropdownOption, type LiteralUnion, MRT_ActionMenuItem, type MRT_ActionMenuItemProps, 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, MRT_FilterCheckbox, type MRT_FilterCheckboxProps, type MRT_FilterFn, MRT_FilterFns, type MRT_FilterOption, MRT_FilterOptionMenu, type MRT_FilterOptionMenuProps, MRT_FilterRangeFields, type MRT_FilterRangeFieldsProps, MRT_FilterRangeSlider, type MRT_FilterRangeSliderProps, MRT_FilterTextField, type MRT_FilterTextFieldProps, MRT_GlobalFilterTextField, type MRT_GlobalFilterTextFieldProps, MRT_GrabHandleButton, type MRT_GrabHandleButtonProps, type MRT_GroupColumnDef, type MRT_GroupingState, type MRT_Header, type MRT_HeaderGroup, type MRT_Icons, type MRT_InternalFilterOption, MRT_LinearProgressBar, type MRT_LinearProgressBarProps, type MRT_Localization, type MRT_PaginationState, type MRT_Row, MRT_RowActionMenu, type MRT_RowActionMenuProps, type MRT_RowData, type MRT_RowModel, MRT_RowPinButton, type MRT_RowPinButtonProps, type MRT_RowSelectionState, type MRT_RowVirtualizer, MRT_SelectCheckbox, type MRT_SelectCheckboxProps, 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, MRT_TableContainer, type MRT_TableContainerProps, 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_TableHeadCellFilterContainer, type MRT_TableHeadCellFilterContainerProps, 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_ToggleFullScreenButton, type MRT_ToggleFullScreenButtonProps, 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_Updater, type MRT_VirtualItem, type MRT_VirtualizerOptions, type MRT_VisibilityState, MaterialReactTable, type MaterialReactTableProps, Memo_MRT_TableBody, Memo_MRT_TableBodyCell, Memo_MRT_TableBodyRow, type Prettify, type Xor, cellNavigation, createMRTColumnHelper, createRow, defaultDisplayColumnProps, flexRender, getAllLeafColumnDefs, getCanRankRows, getColumnFilterInfo, getColumnId, getDefaultColumnFilterFn, getDefaultColumnOrderIds, getIsRankingRows, getIsRowSelected, getLeadingDisplayColumnIds, getMRT_RowSelectionHandler, getMRT_Rows, getMRT_SelectAllHandler, getTrailingDisplayColumnIds, isCellEditable, mrtFilterOptions, openEditingCell, prepareColumns, rankGlobalFuzzy, reorderColumn, showRowActionsColumn, showRowDragColumn, showRowExpandColumn, showRowNumbersColumn, showRowPinningColumn, showRowSelectionColumn, showRowSpacerColumn, useDropdownOptions, useMRT_ColumnVirtualizer, useMRT_Effects, useMRT_RowVirtualizer, useMRT_Rows, useMRT_TableInstance, useMRT_TableOptions, useMaterialReactTable };
|