Skip to content

Releases: KevinVandy/material-react-table

v2.3.0

02 Jan 06:40
Compare
Choose a tag to compare

What's Changed

  • Added new visibleInShowHideMenu column option to allow for columns to be hidden from the show/hide columns menu, regardless of column visibility state.
  • Fixed bug where the Show All button in the show/hide columns menu did not properly skip columns with enableHiding: false set.
  • Fix createDisplayMode='row' not working with enableRowVirtualization=true by @dangkhoa99 in #896

Full Changelog: v2.2.0...v2.3.0

v2.2.0

02 Jan 01:58
Compare
Choose a tag to compare

What's Changed

  • Added new useMRT_Rows, useMRT_ColumnVirtualizer, and useMRT_RowVirtualizer hooks to allow for more advanced use cases for headless mode.
  • Fix - Warning: Encountered two children with the same key by @dangkhoa99 in #891

New Contributors

Full Changelog: v2.1.0...v2.2.0

v2.1.0

22 Dec 17:55
Compare
Choose a tag to compare

What's Changed

  • Upgraded to TanStack Table v8.11.2 for new columnResizeDirection table option
  • Added proper column resizing support for right-to-left languages
  • Updated French locale
  • Fixed warning on edit textfield with outlined variant

Full Changelog: v2.0.6...v2.1.0

v2.0.6

16 Dec 02:39
Compare
Choose a tag to compare

What's Changed

  • Fixed horizontal scrollbar showing up in layoutMode grid with column resizing enabled
  • Add hebrew localization by @AlonMiz in #855
  • add disabled props to TablePagination by @HanJaeJoon in #858
  • fix typos in docs by @HanJaeJoon in #865

New Contributors

Full Changelog: v2.0.5...v2.0.6

v2.0.5

05 Dec 06:14
Compare
Choose a tag to compare

What's Changed

  • Upgraded to TanStack Virtual v3.0.1 stable release
  • Fixed potential duplicate key warning while rendering skeleton rows when getRowId table option is provided and doesn't properly return undefined
  • Add direction prop to alt sort icon by @Volene in #805
  • Fix InputProps defined in muiSearchTextFieldProps overwrited default InputProps by @igor-dnascript in #824

New Contributors

Full Changelog: v2.0.4...v2.0.5

v2.0.4

09 Nov 15:58
Compare
Choose a tag to compare

What's Changed

  • Added muiPaginationProps.SelectProps support back to allow for native select
  • Fix/rows per page options by @muhammadalsattar in #796
  • fix typo in docs - virual to virtual by @gollumnima in #803

New Contributors

Full Changelog: v2.0.3...v2.0.4

v2.0.3

06 Nov 18:03
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.2...v2.0.3

v2.0.2

01 Nov 13:49
Compare
Choose a tag to compare

What's Changed

  • Fixed bug with popover filters null ref focus

Full Changelog: v2.0.1...v2.0.2

v2.0.1

31 Oct 14:11
Compare
Choose a tag to compare

What's Changed

  • Changed pagination text to a span instead of with hardcoded 0 margin and padding
  • Fixed bug where edit row action menu was created for all editDisplayModes
  • fix MRT_TableHeadRow props by @ajkarell in #774
  • Update migrating-to-v2.mdx by @dmhumphrey in #764
  • Update sticky-header.mdx by @dmhumphrey in #765
  • Update column-pinning.mdx by @dmhumphrey in #766
  • Update filter-variants.mdx by @dmhumphrey in #767
  • Update popover-filters.mdx by @dmhumphrey in #768

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

28 Oct 03:46
Compare
Choose a tag to compare

#useMaterialReactTable

What's Changed

  • Made MaterialReactTable a named export instead of a default export.
  • Made @mui/x-date-pickers a required peer dependency.
  • Added new useMaterialReactTable hook to replace the need for the tableInstanceRef prop.
  • Now exporting all MRT_* sub-components and utility functions from material-react-table package to allow for easier building of custom UIs in headless mode.
  • Added createMRTColumnHelper utility function to help with creating columns with slightly more type-safety.
  • Added new mrtTheme table option to allow for changing some basic mui theme colors that are hard to target with CSS or the mui theme provider.
  • Added new layoutMode: 'grid-no-grow' option for better column resizing behavior.
  • Improved column resizing UI.
  • Added new columnFilterDisplayMode option to allow for different filter UIs.
  • Added new createDisplayMode table option to allow for different create/editing UIs. Added new functionality for creating new rows in the table.
  • Renamed editMode prop to editDisplayMode table option.
  • Added new paginationDisplayMode option to allow for different pagination UIs.
  • Added new rowPinningDisplayMode table option and row pinning features.
  • Added new "autocomplete" filterVariant.
  • Added new "date" filterVariant.
  • Added new "date-range" filterVariant.
  • Added new loading overlay UI features when isLoading or showLoadingOverlay are true Progress bars no longer show when isLoading is true.
  • Changed the default sort icon and show it as visible with a low opacity by default in table header cells.
  • Changed the filter label icon to show before the sort icon in table header cells.
  • Changed the default global filter search box UI to be compact and outlined.
  • Changed edit text field UI to be more compact by default.
  • Changed the default rowNumberDisplayMode to "static".
  • Changed how the full screen table UI works internally. (No more mui full screen dialog, just simple CSS)
  • Upgraded to TanStack Table v8.10.7
  • Upgraded to TanStack Virtual v3.0.0-beta.68
  • Renamed options
    • editingMode -> editDisplayMode
    • rowNumberMode -> rowNumberDisplayMode
    • enablePinning -> enableColumnPinning and enableRowPinning
    • virtualizerInstanceRef split into columnVirtualizerRef and rowVirtualizerRef
    • virtualizerProps split into columnVirtualizerOptions and rowVirtualizerOptions
    • columnVirtualizerProps -> columnVirtualizerOptions
    • rowVirtualizerProps -> rowVirtualizerOptions
    • muiTablePaginationProps -> muiPaginationProps
    • muiTableBodyCellCopyButtonProps -> muiCopyButtonProps
    • muiTableBodyCellEditTextFieldProps -> muiEditTextFieldProps
    • muiTableBodyCellSkeletonProps -> muiSkeletonProps
    • muiTableBodyRowDragHandleProps -> muiRowDragHandleProps
    • muiTableDetailPanelProps -> muiDetailPanelProps
    • muiTableHeadCellColumnActionsButtonProps -> muiColumnActionsButtonProps
    • muiTableHeadCellDragHandleProps -> muiColumnDragHandleProps
    • muiTableHeadCellFilterCheckboxProps -> muiFilterCheckboxProps
    • muiTableHeadCellFilterTextFieldProps -> muiFilterTextFieldProps
    • muiTableHeadCellFilterSliderProps -> muiFilterSliderProps
    • MRT_FilterFnsState -> MRT_ColumnFilterFns
    • MaterialReactTableProps -> MRT_TableOptions

New Contributors

Full Changelog: v1.14.0...v2.0.0