material-ui v5.0.0-beta.5 Release Notes
-
💥 Breaking changes
- ⚡️ <!-- 36 --> [core] Update
.browserslistrc
file (#27788) @DanailH
The targets of the default bundle have changed:
- Chrome 90 (up from 84)
- Edge 91 (up from 85)
- Safari 14 (macOS) (up from 13.1) and 12.4 (iOS) (up from 12.2)
Opera 76 (up from 70)
- <!-- 43 --> [Autocomplete] Rename Value type to AutocompleteValue (#27804) @michaldudak
The
useAutocomplete
hook used a type calledValue
. It was a very generic name for a type specific to theAutocomplete
control, so it was removed toAutocompleteValue
.-import { Value } from '@material-ui/core/useAutocomplete'; +import { AutocompleteValue } from '@material-ui/core/useAutocomplete';
🔄 Changes
- <!-- 42 --> [AppBar] Fix transparency issue on dark mode (#27281) @will-amaral
- ⏪ <!-- 29 --> Revert "[BottomNavigation] onClick does not fire if tapped while scrolling (#22524)" (#27690) @eps1lon
- ⚠ <!-- 68 --> [Autocomplete] Add verbose warning for defaultValue (#27925) @vedadeepta
- <!-- 78 --> [Badge] Add missing classes to exported class object (#27943) @pvdstel
- <!-- 41 --> [ButtonGroup] Allow
size
customization via module augmentation (#27834) @aaronlademann-wf - <!-- 67 --> [InputBase] Preserve host state when changing
rows
from undefined to defined (#27683) @eps1lon - <!-- 18 --> [InputLabel] Apply
asterisk
class whenrequired
(#27738) @alexile - <!-- 26 --> [Select] Fix NativeSelect propagating classes to the DOM element (#27797) @mnajdova
- <!-- 28 --> [Stack] Match the customization standard (#27777) @oliviertassinari
- <!-- 70 --> [SvgIcon] Apply custom color if defined in the theme (#27923) @eps1lon
- 💅 <!-- 65 --> [Switch] Add optional
track
slot to SwitchUnstyled (#27916) @michaldudak - <!-- 52 --> [Tooltip] Fix broken arrow position in rtl (#27868) @mnajdova
- <!-- 02 --> [transitions] Allow to run Slide into a custom container (#26623) @benny0642
- ⚡️ <!-- 36 --> [core] Update