@refinedev/mui@5.1.0
版本发布时间: 2023-06-08 19:04:52
refinedev/refine最新发布版本:@refinedev/supabase@5.9.4(2024-09-03 19:48:37)
Minor Changes
-
#4454
4bae8add99f
Thanks @aliemir! - Updated the@mui/x-data-grid
dependency to the latest version (v6
). This update introduces some changes to the existing codebases which are addressed in Material UI's migration guide for@mui/x-data-grid
fromv5
tov6
. We've created a simple migration guide to navigate refine users through the changes that might be required in their codebases. While this guide does not cover all the changes, it will help you get started with the migration process.Breaking Changes
useDataGrid
no longer returnspage
,pageSize
,onPageChange
andonPageSizeChange
. According to the changes in theDataGrid
API,useDataGrid
now returnspaginationModel
andonPaginationModelChange
props which are used to control the pagination state of theDataGrid
and contains the previous logic ofpage
,pageSize
,onPageChange
andonPageSizeChange
.With this release, the peer dependency of
@mui/x-data-grid
is updated to^6.6.0
.
Patch Changes
-
#4454
4bae8add99f
Thanks @aliemir! - Added missing@context
alias to the declaration configuration, this was causing buildtime errors when creating declarations for the package. -
#4454
4bae8add99f
Thanks @aliemir! - Addedoverflow: auto
andoverflow: clip
(if supported) properties to the content container of theThemedLayoutV2
to make sure theDataGrid
component doesn't break the layout.