Releases: KevinVandy/material-react-table
Releases · KevinVandy/material-react-table
v2.12.1
What's Changed
- Fixed
rangeFilterIndex
being undefined in filterProps callback - Added
hr
locale for Croatian translations - Upgraded to TanStack Table v8.13.2
- Fixed column.getIsVisible() not returning accurate value for parent group columns
- Fixed Deep Keys type for Partial TData types
- New pagination table instance APIs
- Update filterVariant type options in the docs by @imnasnainaec in #1004
- Update
useRef
types in virtualization.mdx#access-underlying-virtualizer-instances by @imnasnainaec in #1010 - Add Croatian locale by @renatoka in #1011
- Header group visibility is always true by @ThisIsHG in #1009
New Contributors
Full Changelog: v2.12.0...v2.12.1
v2.12.0
What's Changed
- Marked React 17 as a peer dependency instead of React 18 since concurrent features are not yet being utilized under the hood in MRT (not until MRT v3 now)
- Replaced dv styles with dvh styles in full-screen mode
- filterSelectOptions filter tooltip displays label by @loughlinclaus3 in #997
- Fix dnd ghost going back on drop by @aarjithn in #1000
New Contributors
- @loughlinclaus3 made their first contribution in #997
- @aarjithn made their first contribution in #1000
Full Changelog: v2.11.3...v2.12.0
v2.11.3
What's Changed
- 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
Full Changelog: v2.11.2...v2.11.3
v2.11.2
What's Changed
- Fixed bugs with batch row selection and row pinning together
- Fixed duplicate pinned rows when global filter is present for non-sticky row pinning modes
- Fixed selected row count in toolbar alert banner with sub row selection
- fix link in docs by @andreimatei in #976
- fix: wrong field used in example by @arung-agamani in #978
New Contributors
- @arung-agamani made their first contribution in #978
Full Changelog: v2.11.1...v2.11.2
v2.11.1
What's Changed
- Fixed bug where new batch row selection feature did not account for
manualPagination
- Fixed bug where parent selected checkbox should not be indeterminate when the row itself is selected
Full Changelog: v2.11.0...v2.11.1
v2.11.0
What's Changed
- Added new
enableBatchRowSelection
table option that is enabled by default that allows users to select multiple rows at once by holding down the shift key and clicking on a row - Added small "Clear selection" button to the toolbar alert banner selected message by default when rows are selected
- Now exporting all
MRT_*Props
component prop types - Added new override option for passing in custom spinner while loading data with the
muiCircularProgressProps.Component
prop - Removed default Header html title attribute on all header cells
- Display label in autocomplete filter text input, not value by @dmitry-simple-it in #972
New Contributors
- @dmitry-simple-it made their first contribution in #972
Full Changelog: v2.10.0...v2.11.0
v2.10.0
What's Changed
- Added automatic column order state recalculation for dynamic columns and dynamic MRT display columns being enabled/disabled
- Fixed bugs where enabling a feature like row selection conditionally would add columns to the end of the table when columnOrder state was not manually managed
- Fixed bugs where the show/hide columns menu would be empty when loading in dynamic column definitions without providing the columnOrder state manually
- Added new Cell Actions features which will show a MUI context menu when a cell is right-clicked by @KevinVandy in #963
- New
enableCellActions
table option - New
renderCellActionMenuItems
table and column options - New
MRT_ActionMenuItem
component to make styling all MRT menu items consistently (icons, text, spacing) easier to be consistent.
- New
- Toggle all columns visible issue fixed by @Menghini in #966
New Contributors
Full Changelog: v2.9.2...v2.10.0
v2.9.2
What's Changed
- Added
disableScrollLock: true
to all MUI Menus and Select Menus to keep menus with their anchor origin while scrolling by default - Switched pagination rows per page select to use native select by default in mobile viewports
- Fixed pagination rows per page input label for accessibility attribute
- Removed unnecessary
::after
pseudo elements on table cells if they were unused - Fixed edge cases with footer cell alignment
- Added
position: 'relative'
to table and all rows and cells- Fixed semantic sticky header regression
- Fixed row order/dragging with column virtualization enabled bug
Full Changelog: v2.9.1...v2.9.2
v2.9.1
What's Changed
- Fixed row selection highlighting logic on grouped/aggregated rows
Full Changelog: v2.9.0...v2.9.1
v2.9.0
What's Changed
- Added new
renderCaption
table option to allow for a<caption>
element to be rendered within the table by @lalong13 in #957 - Fixed row hover opacity style issues for pinned columns and selected rows with
::before
and::after
pseudo elements in pinned cells - Standardized
data-index
,data-pinned
, anddata-selected
attributes on body rows, head cells, body cells, and footer cells where applicable - Column virtualization performance optimizations
New Contributors
Full Changelog: v2.8.0...v2.9.0