Skip to content

Releases: KevinVandy/material-react-table

v2.13.0

18 Apr 20:55
Compare
Choose a tag to compare

What's Changed

  • Upgraded to TanStack Table v8.16.0
    • New sortUndefined "first" and "last" options to allow forcing undefined values to be pushed to the beginning or end of sorted rows.
    • New _features table option to allow adding new custom internal features to the TanStack Table instance.
    • fixed column.getCanGroup always resolving to true
  • Started using the default modal z-index value from the MUI theme for the full-screen table dialog to avoid issues with other modals and app bar components.
  • Disabled Edit Save Button when isSaving state is true
  • Fixed DatePicker Types generic

New Contributors

Full Changelog: v2.12.1...v2.13.0

v2.12.1

28 Feb 18:20
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v2.12.0...v2.12.1

v2.12.0

26 Feb 09:31
Compare
Choose a tag to compare

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

Full Changelog: v2.11.3...v2.12.0

v2.11.3

15 Feb 02:22
Compare
Choose a tag to compare

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

09 Feb 07:00
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v2.11.1...v2.11.2

v2.11.1

05 Feb 08:24
Compare
Choose a tag to compare

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

05 Feb 06:30
Compare
Choose a tag to compare

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

Full Changelog: v2.10.0...v2.11.0

v2.10.0

31 Jan 07:14
Compare
Choose a tag to compare

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.
  • Toggle all columns visible issue fixed by @Menghini in #966

New Contributors

Full Changelog: v2.9.2...v2.10.0

v2.9.2

26 Jan 05:39
Compare
Choose a tag to compare

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

25 Jan 19:50
Compare
Choose a tag to compare

What's Changed

  • Fixed row selection highlighting logic on grouped/aggregated rows

Full Changelog: v2.9.0...v2.9.1