v6.0.0-alpha.12
Pre-release
Pre-release
·
2464 commits
to next
since this release
We'd like to offer a big thanks to the 6 contributors who made this release possible. Here are some highlights ✨:
-
🚀 The
apiRefprop is now available in the@mui/x-data-gridpackage:const apiRef = useGridApiRef(); return ( <DataGrid apiRef={apiRef} {...other} /> )
See the documentation for more information.
-
🎁 The
DataGridPremiumnow supports cell selection:<DataGridPremium unstable_cellSelection />
See the documentation for more information
-
🌍 Support the Right To Left orientation on the fields components
-
📚 Documentation improvements
-
🐞 Bugfixes
@mui/x-data-grid@v6.0.0-alpha.12 / @mui/x-data-grid-pro@v6.0.0-alpha.12 / @mui/x-data-grid-premium@v6.0.0-alpha.12
Breaking changes
- The
showCellRightBorderwas renamed toshowCellVerticalBorder - The
showColumnRightBorderwas renamed toshowColumnVerticalBorder - The
.MuiDataGrid-withBorderCSS class was renamed to.MuiDataGrid-withBorderColorand it only setsborder-colorCSS property now. - The following undocumented properties from
apiRefwere removed:footerRef,headerRef,columnHeadersElementRef,columnHeadersContainerElementRef - The
GridHeaderPlaceholdercomponent was removed. - The
MAX_PAGE_SIZEconstant was removed. - The
useGridScrollFnhook was removed.
Changes
- [DataGrid] Display sort column menu items as per
sortingOrderprop (#7180) @MBilalShafi - [DataGrid] Support
apiRefin Community package (#6773) @cherniavskii - [DataGridPremium] Add support for cell selection (#6567) @m4theushw
- [DataGridPremium] Use separate cache for aggregation columns pre-processor (#7142) @m4theushw
- [DataGridPro] Fix missing border in right-pinned columns (#4197) @cherniavskii
- [DataGridPro] Fix wrong border color on skeleton cells (#7202) @cherniavskii
@mui/x-date-pickers@v6.0.0-alpha.12 / @mui/x-date-pickers-pro@v6.0.0-alpha.12
Changes
- [fields] Fix bug introduced by RTL in single input range fields (#7189) @alexfauquette
- [fields] Support RTL out of the box (#6715) @alexfauquette
- [pickers] Clean
autoFocusbehavior on fields and new pickers (#7153) @flaviendelangle - [pickers] Fix label on the new range pickers (#7210) @flaviendelangle
- [pickers] Fix wrong component name on
StaticNextDateTime(#7187) @flaviendelangle
Docs
- [docs] Add docs section about field placeholders' localization (#7139) @flaviendelangle
- [docs] Create a
DemoGridcomponent to unify demos with several components (#7057) @flaviendelangle - [docs] Document aggregation selectors (#7148) @cherniavskii
- [docs] Fix 301 links to demo pages in API pages (#7197) @oliviertassinari
- [docs] Fix errors and warning in demos (#7209) @LukasTy
- [docs] Use
DemoContainerandDemoItemon every picker demo (#7149) @flaviendelangle
Core
- [core] Fix broken test (#7179) @flaviendelangle