@dooherceg/material-react-table 3.2.2-alpha.10 → 3.2.2-alpha.11

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1564,6 +1564,7 @@ interface MRT_DimensionsDef {
1564
1564
  };
1565
1565
  fieldsPerRow?: number;
1566
1566
  }
1567
+ type ExtraFieldFilterOption<TData extends MRT_RowData> = Pick<MRT_ColumnDef<TData>, 'type' | 'accessorKey' | 'header' | 'meta'>;
1567
1568
  declare module '@tanstack/react-table' {
1568
1569
  interface ColumnMeta<TData extends RowData, TValue> {
1569
1570
  enumValues?: Array<{
@@ -1572,7 +1573,7 @@ declare module '@tanstack/react-table' {
1572
1573
  }>;
1573
1574
  availableIcons?: MRT_AvailableIconOption[];
1574
1575
  dimensions?: MRT_DimensionsDef;
1575
- extraFieldFilters?: TData extends MRT_RowData ? MRT_ColumnDef<TData>[] : MRT_ColumnDef<MRT_RowData>[];
1576
+ extraFieldFilters?: TData extends MRT_RowData ? ExtraFieldFilterOption<TData>[] : ExtraFieldFilterOption<MRT_RowData>[];
1576
1577
  }
1577
1578
  }
1578
1579
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.2.2-alpha.10",
2
+ "version": "3.2.2-alpha.11",
3
3
  "license": "MIT",
4
4
  "name": "@dooherceg/material-react-table",
5
5
  "description": "A fully featured Material UI V6 implementation of TanStack React Table V8, written from the ground up in TypeScript.",