v7.0.0-beta.6
Pre-release
Pre-release
flaviendelangle
released this
08 Mar 15:57
·
67 commits
to next
since this release
We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
- 🐞 Bugfixes
- 📚 Documentation improvements
Data Grid
@mui/[email protected]
- [DataGrid] Fix crashing of demos on rating change (#12315) @sai6855
- [DataGrid] Fix double border below header (#12349) @joespeargresham
- [DataGrid] Fix empty sort being saved in the
sortModel
(#12325) @MBilalShafi - [DataGrid] Remove unnecessary
stopCellMode
event inrenderEditRating
component (#12335) @sai6855 - [DataGrid] Small performance optimizations (#12346) @romgrk
@mui/[email protected]
Same changes as in @mui/[email protected]
, plus:
@mui/[email protected]
Same changes as in @mui/[email protected]
.
Charts
@mui/[email protected]
- [charts] Add context to axis value formatter (#12172) @alexfauquette
- [charts] Customize tick position for band scale (#12316) @alexfauquette
- [charts] Fix RTL legend (#12175) @alexfauquette
Tree View
Breaking changes
-
The component used to animate the item children is now defined as a slot on the
TreeItem
component.If you were passing a
TransitionComponent
orTransitionProps
to yourTreeItem
component,
you need to use the newgroupTransition
slot on this component:<SimpleTreeView> <TreeItem nodeId="1" label="Node 1" - TransitionComponent={Fade} + slots={{ groupTransition: Fade }} - TransitionProps={{ timeout: 600 }} + slotProps={{ groupTransition: { timeout: 600 } }} /> </SimpleTreeView>
-
The
group
class of theTreeItem
component has been renamed togroupTransition
to match with its new slot name.const StyledTreeItem = styled(TreeItem)({ - [`& .${treeItemClasses.group}`]: { + [`& .${treeItemClasses.groupTransition}`]: { marginLeft: 20, }, });
@mui/[email protected]
- [TreeView] Fix invalid nodes state when updating
props.items
(#12359) @flaviendelangle - [TreeView] In the
RichTreeView
, do not use the item id as the HTML id attribute (#12319) @flaviendelangle - [TreeView] New instance and publicAPI method:
getItem
(#12251) @flaviendelangle - [TreeView] Replace
TransitionComponent
andTransitionProps
with agroupTransition
slot (#12336) @flaviendelangle
Docs
- [docs] Add a note about
z-index
usage in SVG (#12337) @alexfauquette - [docs]
RichTreeView
customization docs (#12231) @noraleonte
Core
- [test] Add
Charts
test (#11551) @alexfauquette