yarn @mui/x-date-pickers 6.16.2
v6.16.2

latest releases: 7.18.0, 7.17.0, 7.16.0...
11 months ago

We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:

Data Grid

@mui/x-data-grid@6.16.2

@mui/x-data-grid-pro@6.16.2 pro

Same changes as in @mui/x-data-grid@6.16.2, plus:

  • [DataGridPro] Improve column grouping and column pinning friendship (#10518) @MBilalShafi

@mui/x-data-grid-premium@6.16.2 premium

Same changes as in @mui/x-data-grid-pro@6.16.2.

Date Pickers

@mui/x-date-pickers@6.16.2

@mui/x-date-pickers-pro@6.16.2 pro

Same changes as in @mui/x-date-pickers@6.16.2.

Charts / @mui/x-charts@6.0.0-alpha.15

Breaking changes

The charts have a new text display mechanism.
It adds line break support and avoids overlapping text in the legend.
This comes with some breaking changes.

  • The DOM structure is modified. An intermediary <tspan /> element has been added. This can impact how your style is applied.

    - <text>The label</text>
    + <text><tspan>The label</tspan></text>
  • The top margin has been reduced from 100 to 50 to benefit from the denser legend.

  • To accurately compute the text size and then place it, styling should be provided as a JS object. For example, to set the legend font size, you should do:

    <PieChart
      {/** ... */}
      slotProps={{
        legend: {
          labelStyle: {
            fontSize: 16,
          },
        },
      }}
    />

    Support for other text elements (axis labels and tick labels) will be implemented in follow-up PR.

Changes

Docs

Core

Don't miss a new x-date-pickers release

NewReleases is sending notifications on new releases.