@mui/x-date-pickers
Advanced tools
Changelog
7.12.0
Aug 1, 2024
The Pro plan is receiving two new packages:
@mui/x-tree-view-pro
(available today!)@mui/x-charts-pro
(available in the coming weeks)As always, every feature released as part of the MIT plan will remain free and MIT licensed forever.
This expansion of the Pro plan comes with some adjustments to our pricing strategy. Learn more about those in the Upcoming changes to MUI X pricing in 2024 blog post.
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
🎁 Introduce item reordering using drag and drop on the <RichTreeViewPro />
component
📦 Support CommonJS bundle out of the box on @mui/x-charts
by adding vendored D3 dependencies.
This modifies how the package imports D3.js. It will impact you if you use d3
packages installed by @mui/x-charts
and don't have them in your package.json
. You shouldn't be affected otherwise.
For more context, the initial issue is caused by D3 only exporting ESM.
The solution up until now was to export charts with only ESM. But some frameworks are confused by this configuration.
So in order to fix this, we are providing a CJS version of D3.
🌍 Improve Turkish (tr-TR) locale on the Data Grid
🌍 Improve Finnish (fi-FI) locale on the Date and Time Pickers
🐞 Bugfixes
📚 Documentation improvements
Changelog
7.11.1
Jul 25, 2024
We'd like to offer a big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
Zoom
to be controllable for charts (#13858) @JCQuintasChangelog
7.11.0
Jul 18, 2024
We'd like to offer a big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
Changelog
7.10.0
Jul 11, 2024
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
Changelog
7.9.0
Jul 5, 2024
We'd like to offer a big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
selectItem()
and getItemDOMElement()
methods to the TreeView component public APIusePickersTranslations
hook public in the pickers componentChangelog
7.8.0
Jun 28, 2024
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
🛰 Introduce server-side data source for improved server integration in the Data Grid.
Supports server-side pagination, sorting and filtering on plain and tree data, and automatic caching.
To enable, provide a getRows
function to the unstable_dataSource
prop on the Data Grid component.
const dataSource = {
getRows: async (params: GridServerGetRowsParams) => {
const data = await fetch(
`https://api.example.com/data?${new URLSearchParams({
page: params.page,
pageSize: params.pageSize,
sortModel: JSON.stringify(params.sortModel),
filterModel: JSON.stringify(params.filterModel),
}).toString()}`,
);
return {
rows: data.rows,
totalRows: data.totalRows,
};
},
}
<DataGridPro
unstable_dataSource={dataSource}
{...otherProps}
/>
See server-side data documentation for more details.
📈 Support Date data on the BarChart component
↕️ Support custom column sort icons on the Data Grid
🖱️ Support modifying the expansion trigger on the Tree View components
Changelog
7.7.1
Jun 21, 2024
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
Changelog
7.7.0
Jun 13, 2024
We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
Changelog
7.6.2
Jun 6, 2024
We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨: