github mui/mui-x v5.0.0-beta.7

latest releases: v8.0.0-alpha.0, v7.22.2, v7.22.1...
pre-release3 years ago

Nov 4, 2021

  • 💅 Reduce styles specificity to make it simpler to override (#3012) @DanailH
  • 🌍 Add Hebrew (heIL) locale (#3028) @ColdAtNight
  • 📚 Documentation improvements
  • 🐞 Bugfixes

@mui/x-data-grid@v5.0.0-beta.7 / @mui/x-data-grid-pro@v5.0.0-beta.7

Breaking changes

  • [core] Prefix selectors from useGridContainerProps with unstable (#3002) @flaviendelangle

    The dimension API is being temporarily made private to allow to clean it in future minor releases. The current approach causes useless re-renders.
    If you relay on any of these selectors, open an issue explaining the use case so that will be taken into account when refactoring them.

    The following selectors were prefixed by unstable_. Use the provided alternatives.

    1. gridContainerSizesSelector was renamed to unstable_gridContainerSizesSelector
    2. gridViewportSizesSelector was renamed to unstable_gridViewportSizesSelector
    3. gridScrollBarSizeSelector was renamed to unstable_gridScrollBarSizeSelector

    The following selectors were removed. You can hard-code their logic in your application if you really need them.

    1. gridDataContainerSizesSelector
    const dataContainerSizes = gridContainerSizesSelector(state)?.dataContainerSizes ?? null;
    1. gridDataContainerHeightSelector
    const dataContainerHeight = gridContainerSizesSelector(state)?.dataContainerSizes.height ?? null;

    The selector gridViewportSizeStateSelector was a duplicate and has been removed, you can use the selector unstable_gridViewportSizesSelector instead.

Changes

Core

Docs

Don't miss a new mui-x release

NewReleases is sending notifications on new releases.