From a03cfde0304fc5ecfaf730270a4978ac5d2b5e3e Mon Sep 17 00:00:00 2001 From: Kevin Van Cott Date: Wed, 14 Feb 2024 20:21:37 -0600 Subject: [PATCH] release v2.11.3 --- .../prop-tables/columnInstanceAPIs.ts | 28 +++++++++++++++++++ .../pages/changelog.mdx | 5 ++++ packages/material-react-table/package.json | 2 +- .../components/inputs/MRT_SelectCheckbox.tsx | 1 + 4 files changed, 35 insertions(+), 1 deletion(-) diff --git a/apps/material-react-table-docs/components/prop-tables/columnInstanceAPIs.ts b/apps/material-react-table-docs/components/prop-tables/columnInstanceAPIs.ts index 0cf984fee..70b187c51 100644 --- a/apps/material-react-table-docs/components/prop-tables/columnInstanceAPIs.ts +++ b/apps/material-react-table-docs/components/prop-tables/columnInstanceAPIs.ts @@ -299,6 +299,34 @@ export const columnInstanceAPIs: ColumnInstanceAPI[] = [ link: '', linkText: '', }, + { + columnInstanceAPI: 'getAfter', + type: '', + description: '', + link: '', + linkText: '', + }, + { + columnInstanceAPI: 'getIndex', + type: '', + description: '', + link: '', + linkText: '', + }, + { + columnInstanceAPI: 'getIsFirstColumn', + type: '', + description: '', + link: '', + linkText: '', + }, + { + columnInstanceAPI: 'getIsLastColumn', + type: '', + description: '', + link: '', + linkText: '', + }, { columnInstanceAPI: 'getToggleGroupingHandler', type: '', diff --git a/apps/material-react-table-docs/pages/changelog.mdx b/apps/material-react-table-docs/pages/changelog.mdx index a367f7c86..5bd315dc7 100644 --- a/apps/material-react-table-docs/pages/changelog.mdx +++ b/apps/material-react-table-docs/pages/changelog.mdx @@ -7,6 +7,11 @@ import Head from 'next/head'; ## MRT V2 Changelog +### Version 2.11.3 - 2024-02-14 + +- Upgraded to TanStack Table v8.12.0 for new column pinning/sizing/pinning instance APIs and better column resizing performance +- Fixed "Clear selection" button to always clear selection for all pages + ### Version 2.11.2 - 2024-02-08 - Fixed bugs with batch row selection and row pinning together diff --git a/packages/material-react-table/package.json b/packages/material-react-table/package.json index 7721c8606..f82ad05b7 100644 --- a/packages/material-react-table/package.json +++ b/packages/material-react-table/package.json @@ -1,5 +1,5 @@ { - "version": "2.11.2", + "version": "2.11.3", "license": "MIT", "name": "material-react-table", "description": "A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.", diff --git a/packages/material-react-table/src/components/inputs/MRT_SelectCheckbox.tsx b/packages/material-react-table/src/components/inputs/MRT_SelectCheckbox.tsx index d45481bb8..5933a277f 100644 --- a/packages/material-react-table/src/components/inputs/MRT_SelectCheckbox.tsx +++ b/packages/material-react-table/src/components/inputs/MRT_SelectCheckbox.tsx @@ -58,6 +58,7 @@ export const MRT_SelectCheckbox = ({ ? parseFromValuesOrFunc(muiSelectAllCheckboxProps, { table }) : parseFromValuesOrFunc(muiSelectCheckboxProps, { row, + staticRowIndex, table, })), ...rest,