Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TrapFocus] Move docs to Base and drop the Unstyled prefix #31954

Merged
merged 2 commits into from
Mar 25, 2022

Conversation

michaldudak
Copy link
Member

@michaldudak michaldudak commented Mar 23, 2022

Moved the TrapFocus docs and demos to the Base space.

Since it's an unstable component, I decided to leave the documentation only in the Base space. The Unstable_TrapFocus export from @mui/material remains only for backwards compatibility

Breaking change in @mui/base

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


side note: wouldn't it make more sense if this component was called "FocusTrap"? (cc @samuelsycamore)

@michaldudak michaldudak added component: FocusTrap The React component. docs Improvements or additions to the documentation labels Mar 23, 2022
@mui-bot
Copy link

mui-bot commented Mar 23, 2022

Details of bundle changes

Generated by 🚫 dangerJS against be579bb

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 23, 2022
@michaldudak michaldudak requested a review from a team March 24, 2022 08:25
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 24, 2022
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 24, 2022
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 25, 2022
@michaldudak michaldudak merged commit 1b64a41 into mui:master Mar 25, 2022
@michaldudak michaldudak deleted the docs/trap-focus branch March 25, 2022 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: FocusTrap The React component. docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants