material-react-table 0.33.3 → 0.33.6
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 +1 -0
- package/dist/cjs/MaterialReactTable.d.ts +3 -3
- package/dist/cjs/index.js +2308 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/esm/MaterialReactTable.d.ts +3 -3
- package/dist/esm/material-react-table.esm.js +2302 -0
- package/dist/esm/material-react-table.esm.js.map +1 -0
- package/dist/index.d.ts +3 -3
- package/package.json +5 -6
- package/src/MaterialReactTable.tsx +3 -3
- package/src/body/MRT_TableBody.tsx +2 -2
- package/src/body/MRT_TableBodyCell.tsx +25 -11
- package/src/body/MRT_TableBodyRow.tsx +1 -1
- package/src/head/MRT_TableHeadCell.tsx +1 -1
- package/src/table/MRT_TableContainer.tsx +15 -4
- package/src/table/MRT_TableRoot.tsx +7 -1
- package/dist/cjs/index.min.js +0 -50
- package/dist/cjs/index.min.js.map +0 -1
- package/dist/esm/material-react-table.esm.min.js +0 -50
- package/dist/esm/material-react-table.esm.min.js.map +0 -1
package/README.md
CHANGED
|
@@ -44,6 +44,7 @@ See all [Props and Options](https://www.material-react-table.com/docs/api)
|
|
|
44
44
|
- [Remote Data](https://www.material-react-table.com/docs/examples/remote/) (Server-side Pagination, Sorting, and Filtering)
|
|
45
45
|
- [React Query](https://www.material-react-table.com/docs/examples/react-query/) (Server-side Pagination, Sorting, and Filtering)
|
|
46
46
|
- [Virtualized Rows](https://www.material-react-table.com/docs/examples/virtualized/) (10,000 rows at once!)
|
|
47
|
+
- [Infinite Scrolling](https://www.material-react-table.com/docs/examples/infinite-scrolling/) (Fetch data as you scroll)
|
|
47
48
|
|
|
48
49
|
View additional [storybook examples](https://www.material-react-table.dev/)
|
|
49
50
|
|
|
@@ -252,12 +252,12 @@ export declare type MRT_DisplayColumnIds = 'mrt-row-drag' | 'mrt-row-actions' |
|
|
|
252
252
|
* @link https://www.material-react-table.com/docs/api/props
|
|
253
253
|
*/
|
|
254
254
|
export declare type MaterialReactTableProps<TData extends Record<string, any> = {}> = Omit<Partial<TableOptions<TData>>, 'columns' | 'data' | 'expandRowsFn' | 'initialState' | 'onStateChange' | 'state'> & {
|
|
255
|
-
displayColumnDefOptions?: Partial<{
|
|
256
|
-
[key in MRT_DisplayColumnIds]: Partial<MRT_ColumnDef>;
|
|
257
|
-
}>;
|
|
258
255
|
columnFilterModeOptions?: (MRT_FilterOption | string)[] | null;
|
|
259
256
|
columns: MRT_ColumnDef<TData>[];
|
|
260
257
|
data: TData[];
|
|
258
|
+
displayColumnDefOptions?: Partial<{
|
|
259
|
+
[key in MRT_DisplayColumnIds]: Partial<MRT_ColumnDef>;
|
|
260
|
+
}>;
|
|
261
261
|
editingMode?: 'table' | 'row' | 'cell';
|
|
262
262
|
enableBottomToolbar?: boolean;
|
|
263
263
|
enableClickToCopy?: boolean;
|