yarn @mui/icons-material 5.11.11

latest releases: 6.0.0-alpha.8, 5.15.18, 6.0.0-alpha.7...
15 months ago

Feb 28, 2023

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

  • 📚 added API documentation for the slots in MUI Base and Joy UI by @hbjORbj, for e.g. SliderUnstyled API
  • other 🐛 bug fixes and 📚 documentation improvements.



Breaking changes

  • ​[base] Remove classes prop from the Base components that have it (#36157) @hbjORbj
    These are the components affected by this change: ModalUnstyled, SliderUnstyled, TablePaginationUnstyled and TablePaginationActionsUnstyled.
    You can replace the classes prop by providing the class name prop directly to the prop via slotProps. Below is an example of how the migration should look like:

    -   classes={{ toolbar: 'toolbar-classname', menuItem: 'menuItem-classname' }}
    +   slotProps={{ toolbar: { className: 'toolbar-classname' }, menuItem: { className: 'menuItem-classname'}}}
  • ​[base] Move hooks to their own directories (#36235) @hbjORbj
    Base hooks (e.g., useSelect) are no longer exported from {Component}Unstyled directories and instead they have their own directories.
    Below is an example of how the migration should look like:

    -import { useBadge } from '@mui/base/BadgeUnstyled';
    +import useBadge from '@mui/base/useBadge';

    You can use this codemod to help with the migration.






All contributors of this release in alphabetical order: @hbjORbj, @HeVictor, @ivp-dev, @jrparish, @Juneezee, @LukasTy, @MBilalShafi, @michaldudak, @mnajdova, @oliviertassinari, @ossan-engineer, @sai6855, @siriwatknp, @Vivek-Prajapatii, @ZeeshanTamboli

Don't miss a new icons-material release

NewReleases is sending notifications on new releases.