Releases: KevinVandy/material-react-table
Releases · KevinVandy/material-react-table
v2.0.1
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
#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 thetableInstanceRef
prop. - Now exporting all
MRT_*
sub-components and utility functions frommaterial-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 toeditDisplayMode
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
orshowLoadingOverlay
are true Progress bars no longer show whenisLoading
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
andenableRowPinning
virtualizerInstanceRef
split intocolumnVirtualizerRef
androwVirtualizerRef
virtualizerProps
split intocolumnVirtualizerOptions
androwVirtualizerOptions
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
- Selected pinned column transparent background on hover by @Gemyfolks in #576
- Revert "Selected pinned column transparent background on hover" by @KevinVandy in #580
- Managing skeleton in each row by @Cassage in #601
- Create bg.ts by @Kubikasz in #614
- Create ko.ts by @Ocknyer in #627
- Allow new lines to be entered when editing textareas by @domenicomanna in #633
- Fix the image to feel it's at scale 1:1 by @oliviertassinari in #639
- fix: wrong first or last column when pinned. by @YongThePsibor in #701
- fix: empty string if currentFilterOption is undefined by @paolapog in #640
- Nepali Language Translations added by @achyutkneupane in #715
- add armenian language by @AlekseySamushkin in #724
- fix: #718 dragend don't fire on virtualization by @YongThePsibor in #719
- Fix cell indentation for sub-rows in rtl mode by @fmoosavi in #745
- fix: Modify Chinese translation by @anyone-yuren in #752
- fix: cast renderCellValue to string to highlight value by @paolapog in #762
New Contributors
- @Gemyfolks made their first contribution in #576
- @Cassage made their first contribution in #601
- @Kubikasz made their first contribution in #614
- @Ocknyer made their first contribution in #627
- @domenicomanna made their first contribution in #633
- @YongThePsibor made their first contribution in #701
- @paolapog made their first contribution in #640
- @achyutkneupane made their first contribution in #715
- @AlekseySamushkin made their first contribution in #724
- @fmoosavi made their first contribution in #745
- @anyone-yuren made their first contribution in #752
Full Changelog: v1.14.0...v2.0.0
v2.0.0-rc.1
What's Changed
- fix: Modify Chinese translation by @anyone-yuren in #752
- fix: cast renderCellValue to string to highlight value by @paolapog in #762
New Contributors
- @anyone-yuren made their first contribution in #752
Full Changelog: v2.0.0-beta.13...v2.0.0-rc.1
v2.0.0-beta.13
v2.0.0-beta.6
What's Changed
- renamed modalProps to dialogProps
- Fix cell indentation for sub-rows in rtl mode by @fmoosavi in #745
New Contributors
Full Changelog: v2.0.0-beta.5...v2.0.0-beta.6
v2.0.0-beta.5
What's Changed
- Maybe better ESM support
- New
mrtTheme
prop to change internal colors used that are not usually configurable in a mui theme - Global filter uses outlined variant by default
Full Changelog: v2.0.0-beta.4...v2.0.0-beta.5
v2.0.0-beta.4
What's Changed
- Allow all MRT components to accept more MUI props in a
...rest
prop for easier headless mode use - Minor bug fixes for when certain loading UI shows
- Edit Textfield css cleanup
Full Changelog: v2.0.0-beta.2...v2.0.0-beta.4
v2.0.0-beta.2
What's Changed
- New optional
createMRTColumnHelper
util for slightly more type-safe column definitions
Full Changelog: v2.0.0-beta.1...v2.0.0-beta.2
v1.15.1
What Changed
(Backporting some v2 fixes to v1)
- Replaced
"Unsorted"
tooltip on header sort icon buttons with sort by next sort direction tooltip - Fixed accessorFn being called during loading and other undefined data states during loading
- Fixed some button tooltips titles were not overridable
- Fixed virtualized nested column header groups to not crash
- Upgraded to latest TanStack Table
v8.10.7
various performance improvements and bug fixes - Upgraded to latest TanStack Virtual
v3.0.0-beta.65
for various bug fixes
Full Changelog: v1.15.0...v1.15.1
v2.0.0-beta.1
What's Changed
- Fully implement inline create row functionality
- editing mode "table" styles cleanup
- column resizing ui refresh
Full Changelog: v2.0.0-beta.0...v2.0.0-beta.1