Skip to content

v5.5.3

Compare
Choose a tag to compare
@mnajdova mnajdova released this 28 Mar 14:27
· 6742 commits to master since this release
96e1f40

Mar 28, 2022

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

  • ♿️ improved the a11y on some docs demos
  • Several 🐛 bug fixes and 📚 documentation improvements

@mui/[email protected]

@mui/[email protected]

@mui/[email protected]

@mui/[email protected]

Breaking changes

  • ​[base] Remove BackdropUnstyled component (#31923) @mnajdova

    The BackdropUnstyled component was removed from the @mui/base package, as it did not have any specific logic, except adding an aria-hidden attribute on the div it rendered. This is not enough to justify it's existence in the base package. Here is an example alternative component you can use:

    const BackdropUnstyled = React.forwardRef<HTMLDivElement, { open?: boolean; className: string }>(
      (props, ref) => {
        const { open, className, ...other } = props;
        return <div className={clsx({ 'MuiBackdrop-open': open }, className)} ref={ref} {...other} />;
      },
    );
  • ​[TrapFocus] Move docs to Base and drop the Unstyled prefix (#31954) @michaldudak

    Removed the Unstyled_ prefix from the Base export (it remains in the Material UI export, though).

    -import { Unstyled_TrapFocus } from '@mui/base';
    +import { TrapFocus } from '@mui/base';
    
    // or
    
    -import TrapFocus from '@mui/base/Unstyled_TrapFocus';
    +import TrapFocus from '@mui/base/TrapFocus';

Changes

@mui/[email protected]

Docs

Core

All contributors of this release in alphabetical order: @bicstone, @CommanderRoot, @dimitropoulos, @eps1lon, @eswarclynn, @igordanchenko, @jannes-io, @jason1985, @m4theushw, @michaldudak, @mnajdova, @NickFoden, @oliviertassinari, @ryancogswell, @santhoshbala0178, @siriwatknp, @WilsonNet