npm @mui/material 5.10.11
v5.10.11

latest releases: 6.1.1-dev.20240919-130050-82a6448768, 6.1.1, 6.1.0...
23 months ago

A big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:

  • 🔧 Moved components to slots prop starting at MUI Base to create consistency across products
  • Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure improvements

@mui/material@5.10.11

  • [InputBase] Fix onInvalid to use HTMLInputElement | HTMLTextAreaElement Element type (#33162) @KuSh
  • [Alert] Add components and componentsProps props to allow close action overrides (#33582) @jake-collibra

@mui/base@5.0.0-alpha.103

BREAKING CHANGE

  • [base] components -> slots API rename (#34693) @michaldudak

    • Change all occurrences of components and componentsProps props in Base components to slots and slotProps, respectively.
    • Change casing of slots' fields to camelCase
    -<SwitchUnstyled components={{Root: CustomRoot}} componentsProps={{rail: { className: 'custom-rail' }}} />
    +<SwitchUnstyled slots={{root: CustomRoot}} slotProps={{rail: { className: 'custom-rail' }}} />
  • [base] Make CSS class prefixes consistent (#33411) @michaldudak

    This is a breaking change for anyone who depends on the class names applied to Base components.
    If you use the <component>UnstyledClasses objects, you won't notice a difference. Only if you depend on the resulting class names (e.g. in CSS stylesheets), you'll have to adjust your code.

    -.ButtonUnstyled-root { ... };
    +.MuiButton-root { ... };

Changes

@mui/joy@5.0.0-alpha.51

  • [CircularProgress][joy] Fix classnames and add test (#34806) @hbjORbj
  • [Joy] Allow string type for size prop in components (#34805) @hbjORbj

Docs

Core

All contributors of this release in alphabetical order: @bharatkashyap, @hbjORbj, @jake-collibra, @joserodolfofreitas, @KuSh, @marceliwac, @michaldudak, @oliviertassinari, @pixelass, @siriwatknp

Don't miss a new material release

NewReleases is sending notifications on new releases.