npm @mui/material 5.10.6
v5.10.6

latest releases: 6.0.0-dev.240424162023-9968b4889d, 6.0.0-alpha.4, 6.0.0-alpha.3...
19 months ago

Sep 19, 2022

A big thanks to the 11 contributors who made this release possible.
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.

@mui/material@5.10.6

@mui/joy@5.0.0-alpha.46

Breaking changes

  • [button][joy] Replace start/endIcon prop with start/endDecorator (#34288) @hbjORbj

    BREAKING CHANGE: replace start/endIcon with start/endDecorator.

    // before
    <Button startIcon={...} endIcon={...} />
    
    // after
    <Button startDecorator={...} endDecorator={...} />

Changes

@mui/base@5.0.0-alpha.98

Breaking changes

  • [Select][base] Add event parameter to the onChange callback (#34158) @michaldudak

    The SelectUnstyled and MultiSelectUnstyled onChange callbacks did not have event as the first parameter, leading to inconsistency with other components and native HTML elements.
    This PR adds the event parameter as the first one and moves the newly selected value to the second position. Because of this, it's a breaking change.
    This also affects Select from Joy UI.

    // before
    <SelectUnstyled onChange={(newValue) => { /* ... */ }} />
    
    // after
    <SelectUnstyled onChange={(event, newValue) => { /* ... */ }} />

Docs

Core

All contributors of this release in alphabetical order: @alexfauquette, @flaviendelangle, @hbjORbj, @Janpot, @michaldudak, @oliviertassinari, @renovate[bot], @samuelsycamore, @siriwatknp, @tomasz-sodzawiczny, @ZeeshanTamboli

Don't miss a new material release

NewReleases is sending notifications on new releases.