material-react-table 1.3.4 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/MaterialReactTable.d.ts +2 -1
- package/dist/cjs/_locales/pt.d.ts +2 -0
- package/dist/cjs/_locales/tr.d.ts +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/table/MRT_TableRoot.d.ts +2 -1
- package/dist/esm/MaterialReactTable.d.ts +2 -1
- package/dist/esm/_locales/pt.d.ts +2 -0
- package/dist/esm/_locales/tr.d.ts +2 -0
- package/dist/esm/material-react-table.esm.js.map +1 -1
- package/dist/esm/table/MRT_TableRoot.d.ts +2 -1
- package/dist/index.d.ts +2 -1
- package/locales/it.esm.js +1 -1
- package/locales/it.esm.js.map +1 -1
- package/locales/it.js +1 -1
- package/locales/it.js.map +1 -1
- package/locales/pt.d.ts +2 -0
- package/locales/pt.esm.d.ts +2 -0
- package/locales/pt.esm.js +92 -0
- package/locales/pt.esm.js.map +1 -0
- package/locales/pt.js +96 -0
- package/locales/pt.js.map +1 -0
- package/locales/tr.d.ts +2 -0
- package/locales/tr.esm.d.ts +2 -0
- package/locales/tr.esm.js +92 -0
- package/locales/tr.esm.js.map +1 -0
- package/locales/tr.js +96 -0
- package/locales/tr.js.map +1 -0
- package/package.json +1 -1
- package/src/MaterialReactTable.tsx +6 -0
- package/src/_locales/it.ts +1 -1
- package/src/_locales/pt.ts +92 -1
- package/src/_locales/tr.ts +92 -0
@@ -402,7 +402,7 @@ export declare type MRT_DisplayColumnIds = 'mrt-row-actions' | 'mrt-row-drag' |
|
|
402
402
|
* See the full props list on the official docs site:
|
403
403
|
* @link https://www.material-react-table.com/docs/api/props
|
404
404
|
*/
|
405
|
-
export declare type MaterialReactTableProps<TData extends Record<string, any> = {}> = Omit<Partial<TableOptions<TData>>, 'columns' | 'data' | 'defaultColumn' | 'enableRowSelection' | 'expandRowsFn' | 'globalFilterFn' | 'initialState' | 'onStateChange' | 'state'> & {
|
405
|
+
export declare type MaterialReactTableProps<TData extends Record<string, any> = {}> = Omit<Partial<TableOptions<TData>>, 'columns' | 'data' | 'defaultColumn' | 'enableRowSelection' | 'expandRowsFn' | 'getRowId' | 'globalFilterFn' | 'initialState' | 'onStateChange' | 'state'> & {
|
406
406
|
columnFilterModeOptions?: (MRT_FilterOption | string)[] | null;
|
407
407
|
/**
|
408
408
|
* The columns to display in the table. `accessorKey`s or `accessorFn`s must match keys in the `data` prop.
|
@@ -461,6 +461,7 @@ export declare type MaterialReactTableProps<TData extends Record<string, any> =
|
|
461
461
|
enableToolbarInternalActions?: boolean;
|
462
462
|
enableTopToolbar?: boolean;
|
463
463
|
expandRowsFn?: (dataRow: TData) => TData[];
|
464
|
+
getRowId?: (originalRow: MRT_Row<TData>, index: number, parentRow: MRT_Row<TData>) => string;
|
464
465
|
globalFilterFn?: MRT_FilterOption;
|
465
466
|
globalFilterModeOptions?: MRT_FilterOption[] | null;
|
466
467
|
icons?: Partial<MRT_Icons>;
|