Update material-ui monorepo #46

Merged
kjuulh merged 1 commits from renovate/material-ui-monorepo into main 2023-02-28 13:49:20 +01:00
Owner

This PR contains the following updates:

Package Type Update Change
@mui/lab (source) dependencies patch 5.0.0-alpha.120 -> 5.0.0-alpha.121
@mui/material (source) dependencies patch 5.11.10 -> 5.11.11

Release Notes

mui/material-ui

v5.11.11

Compare Source

Feb 27, 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.
@mui/material@5.11.11
@mui/base@5.0.0-alpha.119
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:

     <TablePaginationUnstyled
    -   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 '@&#8203;mui/base/BadgeUnstyled';
    +import useBadge from '@&#8203;mui/base/useBadge';
    

    You can use this codemod to help with the migration.

Changes
@mui/codemod@5.11.11
@mui/joy@5.0.0-alpha.69
Docs
Core

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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@mui/lab](https://mui.com/material-ui/about-the-lab/) ([source](https://github.com/mui/material-ui)) | dependencies | patch | [`5.0.0-alpha.120` -> `5.0.0-alpha.121`](https://renovatebot.com/diffs/npm/@mui%2flab/5.0.0-alpha.120/5.0.0-alpha.121) | | [@mui/material](https://mui.com/material-ui/getting-started/overview/) ([source](https://github.com/mui/material-ui)) | dependencies | patch | [`5.11.10` -> `5.11.11`](https://renovatebot.com/diffs/npm/@mui%2fmaterial/5.11.10/5.11.11) | --- ### Release Notes <details> <summary>mui/material-ui</summary> ### [`v5.11.11`](https://github.com/mui/material-ui/blob/HEAD/CHANGELOG.md#&#8203;51111) [Compare Source](https://github.com/mui/material-ui/compare/v5.11.10...v5.11.11) <!-- generated comparing v5.11.10..master --> *Feb 27, 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 [@&#8203;hbjORbj](https://github.com/hbjORbj), for e.g. [SliderUnstyled API](https://mui.com/base/api/slider-unstyled/#slots) - other 🐛 bug fixes and 📚 documentation improvements. ##### `@mui/material@5.11.11` - ​<!-- 30 -->\[Autocomplete] Adds `sx` prop to `ListboxProps` type ([#&#8203;36243](https://github.com/mui/material-ui/issues/36243)) [@&#8203;sai6855](https://github.com/sai6855) - ​<!-- 11 -->\[material] Add global CSS class for `readOnly` prop ([#&#8203;32822](https://github.com/mui/material-ui/issues/32822)) [@&#8203;jrparish](https://github.com/jrparish) - ​<!-- 10 -->\[Stack]\[material] Use createStack from the system ([#&#8203;33795](https://github.com/mui/material-ui/issues/33795)) [@&#8203;mnajdova](https://github.com/mnajdova) - ​<!-- 07 -->\[Select] Fix incorrect selecting of first element ([#&#8203;36024](https://github.com/mui/material-ui/issues/36024)) [@&#8203;michaldudak](https://github.com/michaldudak) - ​<!-- 06 -->\[Slider] Miscellaneous improvements ([#&#8203;35941](https://github.com/mui/material-ui/issues/35941)) [@&#8203;ZeeshanTamboli](https://github.com/ZeeshanTamboli) - ​<!-- 05 -->\[Slider] Remove unnecessary `data-focusvisible` attribute ([#&#8203;36091](https://github.com/mui/material-ui/issues/36091)) [@&#8203;ZeeshanTamboli](https://github.com/ZeeshanTamboli) - ​<!-- 04 -->\[Snackbar] Replace component logic with `useSnackbar` hook ([#&#8203;36272](https://github.com/mui/material-ui/issues/36272)) [@&#8203;ZeeshanTamboli](https://github.com/ZeeshanTamboli) - ​<!-- 03 -->\[TextField] Fix floating label position ([#&#8203;36246](https://github.com/mui/material-ui/issues/36246)) [@&#8203;oliviertassinari](https://github.com/oliviertassinari) - ​<!-- 13 -->\[TextField] Fix floating label position ([#&#8203;36288](https://github.com/mui/material-ui/issues/36288)) [@&#8203;oliviertassinari](https://github.com/oliviertassinari) ##### `@mui/base@5.0.0-alpha.119` ##### Breaking changes - ​<!-- 29 -->\[base] Remove `classes` prop from the Base components that have it ([#&#8203;36157](https://github.com/mui/material-ui/issues/36157)) [@&#8203;hbjORbj](https://github.com/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: ```diff <TablePaginationUnstyled - classes={{ toolbar: 'toolbar-classname', menuItem: 'menuItem-classname' }} + slotProps={{ toolbar: { className: 'toolbar-classname' }, menuItem: { className: 'menuItem-classname'}}} /> ``` - ​<!-- 28 -->\[base] Move hooks to their own directories ([#&#8203;36235](https://github.com/mui/material-ui/issues/36235)) [@&#8203;hbjORbj](https://github.com/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: ```diff -import { useBadge } from '@&#8203;mui/base/BadgeUnstyled'; +import useBadge from '@&#8203;mui/base/useBadge'; ``` You can use this [codemod](https://github.com/mui/material-ui/blob/master/packages/mui-codemod/README.md#base-hook-imports) to help with the migration. ##### Changes - ​<!-- 31 -->\[Autocomplete] Add docs interface for the hook ([#&#8203;36242](https://github.com/mui/material-ui/issues/36242)) [@&#8203;HeVictor](https://github.com/HeVictor) - ​<!-- 09 -->\[MenuUnstyled] Remove extra useMemo ([#&#8203;36265](https://github.com/mui/material-ui/issues/36265)) [@&#8203;ivp-dev](https://github.com/ivp-dev) - ​<!-- 31 -->\[base] Export all slot prop overrides interfaces ([#&#8203;36323](https://github.com/mui/material-ui/issues/36323)) [@&#8203;michaldudak](https://github.com/michaldudak) ##### `@mui/codemod@5.11.11` - ​<!-- 35 -->\[base] Codemod for hook directory migration ([#&#8203;36295](https://github.com/mui/material-ui/issues/36295)) [@&#8203;hbjORbj](https://github.com/hbjORbj) ##### `@mui/joy@5.0.0-alpha.69` - ​<!-- 15 -->\[Joy] Able to remove default tokens from theme types ([#&#8203;36006](https://github.com/mui/material-ui/issues/36006)) [@&#8203;siriwatknp](https://github.com/siriwatknp) - ​<!-- 14 -->\[Joy] Fix modal dialog overflow viewport ([#&#8203;36103](https://github.com/mui/material-ui/issues/36103)) [@&#8203;siriwatknp](https://github.com/siriwatknp) - ​<!-- 13 -->\[Joy] Select popup should have max-height ([#&#8203;36156](https://github.com/mui/material-ui/issues/36156)) [@&#8203;Vivek-Prajapatii](https://github.com/Vivek-Prajapatii) - ​<!-- 12 -->\[Joy] Fix `ListDivider` to change semantic based on `List` ([#&#8203;36266](https://github.com/mui/material-ui/issues/36266)) [@&#8203;siriwatknp](https://github.com/siriwatknp) ##### Docs - ​<!-- 27 -->\[docs]\[base] List slots in API documentation ([#&#8203;36104](https://github.com/mui/material-ui/issues/36104)) [@&#8203;hbjORbj](https://github.com/hbjORbj) - ​<!-- 26 -->\[docs] Add missing sandbox adapter deps resolving ([#&#8203;36291](https://github.com/mui/material-ui/issues/36291)) [@&#8203;LukasTy](https://github.com/LukasTy) - ​<!-- 25 -->\[docs] Allow to pass navigation bar banner from outside ([#&#8203;36299](https://github.com/mui/material-ui/issues/36299)) [@&#8203;MBilalShafi](https://github.com/MBilalShafi) - ​<!-- 24 -->\[docs] Fix code on the Working with Tailwind CSS guide ([#&#8203;36090](https://github.com/mui/material-ui/issues/36090)) [@&#8203;mnajdova](https://github.com/mnajdova) - ​<!-- 23 -->\[docs] Remove See Slots Section text from Material UI slots description ([#&#8203;36284](https://github.com/mui/material-ui/issues/36284)) [@&#8203;hbjORbj](https://github.com/hbjORbj) - ​<!-- 22 -->\[docs] Fix emotion warning `:first-child` ([#&#8203;36263](https://github.com/mui/material-ui/issues/36263)) [@&#8203;siriwatknp](https://github.com/siriwatknp) - ​<!-- 21 -->\[docs]\[joy] Improve the descriptions of props in API docs ([#&#8203;36307](https://github.com/mui/material-ui/issues/36307)) [@&#8203;hbjORbj](https://github.com/hbjORbj) - ​<!-- 20 -->\[docs]\[joy] List slots in API documentation ([#&#8203;36271](https://github.com/mui/material-ui/issues/36271)) [@&#8203;hbjORbj](https://github.com/hbjORbj) - ​<!-- 19 -->\[docs]\[joy] Build API documentations ([#&#8203;36008](https://github.com/mui/material-ui/issues/36008)) [@&#8203;hbjORbj](https://github.com/hbjORbj) - ​<!-- 18 -->\[examples] Update Next.js examples to use built-in font ([#&#8203;36315](https://github.com/mui/material-ui/issues/36315)) [@&#8203;Juneezee](https://github.com/Juneezee) - ​<!-- 17 -->\[examples] Update curl link in `material-next-ts-v4-v5-migration` example README ([#&#8203;36321](https://github.com/mui/material-ui/issues/36321)) [@&#8203;ZeeshanTamboli](https://github.com/ZeeshanTamboli) - ​<!-- 16 -->\[examples] Convert Next.js \_document class components to function components ([#&#8203;36109](https://github.com/mui/material-ui/issues/36109)) [@&#8203;ossan-engineer](https://github.com/ossan-engineer) ##### Core - ​<!-- 08 -->\[Rating] Add a comment in Rating component to use `readOnly` state class ([#&#8203;36357](https://github.com/mui/material-ui/issues/36357)) [@&#8203;ZeeshanTamboli](https://github.com/ZeeshanTamboli) - ​<!-- 02 -->\[website] Fix broken links to role levels ([#&#8203;36333](https://github.com/mui/material-ui/issues/36333)) [@&#8203;oliviertassinari](https://github.com/oliviertassinari) - ​<!-- 01 -->\[website] Sync gold sponsors ([#&#8203;36312](https://github.com/mui/material-ui/issues/36312)) [@&#8203;oliviertassinari](https://github.com/oliviertassinari) All contributors of this release in alphabetical order: [@&#8203;hbjORbj](https://github.com/hbjORbj), [@&#8203;HeVictor](https://github.com/HeVictor), [@&#8203;ivp-dev](https://github.com/ivp-dev), [@&#8203;jrparish](https://github.com/jrparish), [@&#8203;Juneezee](https://github.com/Juneezee), [@&#8203;LukasTy](https://github.com/LukasTy), [@&#8203;MBilalShafi](https://github.com/MBilalShafi), [@&#8203;michaldudak](https://github.com/michaldudak), [@&#8203;mnajdova](https://github.com/mnajdova), [@&#8203;oliviertassinari](https://github.com/oliviertassinari), [@&#8203;ossan-engineer](https://github.com/ossan-engineer), [@&#8203;sai6855](https://github.com/sai6855), [@&#8203;siriwatknp](https://github.com/siriwatknp), [@&#8203;Vivek-Prajapatii](https://github.com/Vivek-Prajapatii), [@&#8203;ZeeshanTamboli](https://github.com/ZeeshanTamboli) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM0LjE1My4yIn0=-->
kjuulh added 1 commit 2023-02-28 13:28:43 +01:00
Update material-ui monorepo
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
7c7314863b
kjuulh merged commit 7c7314863b into main 2023-02-28 13:49:20 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OpenFood/openfood#46
No description provided.