|
1 | 1 | # [Versions](https://mui.com/versions/)
|
2 | 2 |
|
| 3 | +## v5.10.11 |
| 4 | + |
| 5 | +<!-- generated comparing v5.10.10..master --> |
| 6 | + |
| 7 | +_Oct 25, 2022_ |
| 8 | + |
| 9 | +A big thanks to the 10 contributors who made this release possible. Here are some highlights ✨: |
| 10 | + |
| 11 | +- 🔧 Moved `components` to `slots` prop starting at MUI Base to create consistency across products |
| 12 | +- Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure improvements |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | +- [InputBase] Fix `onInvalid` to use HTMLInputElement | HTMLTextAreaElement Element type (#33162) @KuSh |
| 17 | +- [Alert] Add `components` and `componentsProps` props to allow close action overrides (#33582) @jake-collibra |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | +#### BREAKING CHANGE |
| 22 | + |
| 23 | +- [base] `components` -> `slots` API rename (#34693) @michaldudak |
| 24 | + |
| 25 | + - Change all occurrences of components and componentsProps props in Base components to slots and slotProps, respectively. |
| 26 | + - Change casing of slots' fields to camelCase |
| 27 | + |
| 28 | + ```diff |
| 29 | + -<SwitchUnstyled components={{Root: CustomRoot}} componentsProps={{rail: { className: 'custom-rail' }}} /> |
| 30 | + +<SwitchUnstyled slots={{root: CustomRoot}} slotProps={{rail: { className: 'custom-rail' }}} /> |
| 31 | + ``` |
| 32 | + |
| 33 | +- [base] Make CSS class prefixes consistent (#33411) @michaldudak |
| 34 | + |
| 35 | + **This is a breaking change for anyone who depends on the class names applied to Base components.** |
| 36 | + 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. |
| 37 | + |
| 38 | + ```diff |
| 39 | + -.ButtonUnstyled-root { ... }; |
| 40 | + +.MuiButton-root { ... }; |
| 41 | + ``` |
| 42 | + |
| 43 | +#### Changes |
| 44 | + |
| 45 | +- [test] Test all Base components with describeConformanceUnstyled (#34825) @michaldudak |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | +- [CircularProgress][joy] Fix classnames and add test (#34806) @hbjORbj |
| 50 | +- [Joy] Allow string type for `size` prop in components (#34805) @hbjORbj |
| 51 | + |
| 52 | +### Docs |
| 53 | + |
| 54 | +- Revert "[docs] Fix search icons in other languages (#34823)" @oliviertassinari |
| 55 | +- Revert "[core] Move SearchIcons to docs src folder (#34802)" @oliviertassinari |
| 56 | +- Revert "[docs] Live demos (#34454)" @oliviertassinari |
| 57 | +- Update the order of operations for pagination example so that slicing takes place after sorting. (#34189) @marceliwac |
| 58 | +- [docs] Gatsby Description in Joy dark-mode (#34702) @pixelass |
| 59 | +- [docs] Add notification for blogpost MUI X v6 alpha (#34809) @joserodolfofreitas |
| 60 | +- [docs] Polish Crowdin config (#34852) @oliviertassinari |
| 61 | +- [docs] Fix a few style standard deviations @oliviertassinari |
| 62 | +- [docs] Enforce no trailing spaces (#34762) @oliviertassinari |
| 63 | +- [docs] Enforce correct git diff format (#34765) @oliviertassinari |
| 64 | +- [docs] Fix Toolpad docs 301 route (#34843) @bharatkashyap |
| 65 | +- [docs] Replace initial value with theme white (#34822) @siriwatknp |
| 66 | +- [docs] Remove localization redirects (#34844) @mnajdova |
| 67 | +- [docs] Fix search icons in other languages (#34823) @siriwatknp |
| 68 | +- [docs] Fix JavaScript capitalization @oliviertassinari |
| 69 | +- [docs] Update new links to MD2 (#34848) @oliviertassinari |
| 70 | +- [website] Update future work items on X landing page (#34810) @joserodolfofreitas |
| 71 | +- [website] Add Toolpad docs to navigation (#34749) @bharatkashyap |
| 72 | + |
| 73 | +### Core |
| 74 | + |
| 75 | +- [core] Remove dead files (#34850) @oliviertassinari |
| 76 | +- [core] Fix revert conflict @oliviertassinari |
| 77 | +- [core] Fix a few CodeQL errors (#34766) @oliviertassinari |
| 78 | +- [core] Harden GitHub Actions permissions (#34769) @oliviertassinari |
| 79 | +- [core] Remove the codeowners file (#34876) @michaldudak |
| 80 | + |
| 81 | +All contributors of this release in alphabetical order: @bharatkashyap, @hbjORbj, @jake-collibra, @joserodolfofreitas, @KuSh, @marceliwac, @michaldudak, @oliviertassinari, @pixelass, @siriwatknp |
| 82 | + |
3 | 83 | ## 5.10.10
|
4 | 84 |
|
5 | 85 | <!-- generated comparing v5.10.9..master -->
|
|
0 commit comments