Bump @material-ui/utils to ^5.0.0-alpha.1 #27539
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.0.0-alpha.1
->5.0.0-beta.1
Release Notes
mui-org/material-ui
v5.0.0-beta.1
Compare Source
Jul 14, 2021
Big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
✨ We have introduced a new unstyled component: the Switch (#26688) @michaldudak
You can find two new versions of the Switch. A component without any styles:
SwitchUnstyled
, and a hook:useSwitch
.You can follow our progress at https://github.com/mui-org/material-ui/issues/27170.
💄 We have updated the default
info
success
warning
color to be more accessible (#26817) @siriwatknp.You can find the new default values in the documentation.
@material-ui/[email protected]
Breaking changes
Changes
disableRipple
API description (#27187) @michaldudakchecked
and mark as deprecated (#27047) @siriwatknpcreateV4Spacing
fromadaptV4Theme
(#27072) @siriwatknpinfo
success
warning
color (#26817) @siriwatknp@material-ui/[email protected]
@material-ui/[email protected]
@material-ui/[email protected]
@material-ui/[email protected]
Docs
url
package (#27151) @eps1lonStyledEngineProvider
as JSS is not used (#27133) @mnajdovaCore
All contributors of this release in alphabetical order: @eps1lon, @mbrookes, @michal-perlakowski, @michaldudak, @mnajdova, @moshfeu, @oliviertassinari, @rajzik, @renovate[bot], @sahil-blulabs, @ShirasawaSama, @siriwatknp, @vimutti77
v5.0.0-beta.0
Compare Source
Jul 01, 2021
Big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
@material-ui/codemod
.@material-ui/[email protected]
Breaking changes
[Tabs] Remove unnecessary wrapper from Tab (#26926) @siriwatknp
span
element that wraps children has been removed.wrapper
classKey is also removed. More details about this change.[BottomNavigation] Remove wrapper from BottomNavigationAction (#26923) @siriwatknp
span
element that wraps children has been removed.wrapper
classKey is also removed. More details about this change.Changes
@material-ui/[email protected]
@material-ui/icons@5.0.0-beta.0
@material-ui/lab@5.0.0-alpha.39
Breaking changes
[DatePicker] Remove helper text default value (#26866) @DouglasPds
Make the default rendered text field closer to the most common use cases (denser).
Changes
@material-ui/[email protected]
Docs
Core
All contributors of this release in alphabetical order: @ansh-saini, @BC-M, @CarlosGomez-dev, @DouglasPds, @eps1lon, @fishyFrogFace, @michal-perlakowski, @michaldudak, @mnajdova, @oliviertassinari, @siriwatknp, @steveafrost, @varandasi
v5.0.0-alpha.36
Compare Source
Jun 8, 2021
Big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
⚒️ We've introduced a new
ListItemButton
component that should prevent common mistakes when using<ListItem button />
and help with customization and TypeScript support (#26446) @siriwatknp.👩🎤
experimentalStyled
is now available without theexperimental
prefix.We're confident that its API shouldn't receive any major changes until the stable release of v5 (#26558) @mnajdova.
📦
@material-ui/icons
only ships ES modules and no longer CommonJS modules.This reduces the download size of the package from 1.7 MB to 1.2 MB and install size from 15.6 MB to 6.7 MB (#26310) @eps1lon.
💄 Add support for row and column spacing in the Grid component (#26559) @likitarai1.
Note that this feature was already available for CSS grid users with the
rowGap
andcolumnGap
props.@material-ui/[email protected]
Breaking changes
The
color
prop has no longer any effect in dark mode. The app bar uses the background color required by the elevation to follow the Material Design guidelines. UseenableColorOnDark
to restore the behavior of v4.Remove the experimental prefix, this module is going stable:
Changes
@material-ui/[email protected]
Breaking changes
The
require()
of@material-ui/icons
is no longer supported.This should not affect you if you're using a bundler like
webpack
orsnowpack
or meta frameworks likenext
orgatsby
.@material-ui/[email protected]
Breaking changes
@material-ui/[email protected]
Docs
Core
All contributors of this release in alphabetical order: @coder-freestyle, @eps1lon, @garfunkelvila, @itsnorbertkalacska, @likitarai1, @m4theushw, @michaldudak, @mnajdova, @onpaws, @sakura90, @sarahannnicholson, @siriwatknp, @vedadeepta, @vicasas
v5.0.0-alpha.35
Compare Source
May 31, 2021
Big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
@material-ui/core
and@material-ui/lab
) @siriwatknp, @mnajdova.@material-ui/styles
(JSS) from the core and the lab (#26377, #26382, #26376) @mnajdova.@material-ui/[email protected]
Breaking changes
[styles] Remove
makeStyles
from@material-ui/core
(#26382) @mnajdovaThe
makeStyles
JSS utility is no longer exported from@material-ui/core
. You can use@material-ui/styles
instead. Make sure to add aThemeProvider
at the root of your application, as thedefaultTheme
is no longer available. If you are using this utility together with@material-ui/core
, it's recommended you use theThemeProvider
component from@material-ui/core
instead.[styles] Remove
withStyles
from@material-ui/core
(#26377) @mnajdovaThe
withStyles
JSS utility is no longer exported from@material-ui/core
. You can use@material-ui/styles
instead. Make sure to add aThemeProvider
at the root of your application, as thedefaultTheme
is no longer available. If you are using this utility together with@material-ui/core
, you should use theThemeProvider
component from@material-ui/core
instead.[styles] Merge options in
experimentalStyled
(#26396) @mnajdovaThe options inside the
experimentalStyled
module are now merged under one object. In the coming weeks, we will rename ths module:styled()
to signal that it's no longer experimental.[Tabs] Update
min
&max
width and removeminWidth
media query (#26458) @siriwatknpUpdate the implementation to better match Material Design:
minWidth
changed from72px
=>90px
(without media-query) according to material-design specmaxWidth
changed from264px
=>360px
according to material-design specChanges
@material-ui/[email protected]
@material-ui/[email protected]
[icons] Use array children instead of React fragments (#26309) @eps1lon
Reduce a bit the size of the package.
@material-ui/[email protected]
We are progressively moving all modules that are relevant to styling custom design systems in this package. It's meant to be complementary with
@material-ui/unstyled
.@material-ui/[email protected]
options
(#26339) @pasDamola@material-ui/[email protected]
Breaking changes
[pickers] Remove allowKeyboardControl (#26451) @eps1lon
[ClockPicker] Rework keyboard implementation (#26400) @eps1lon
Remove the
allowKeyboardControl
prop from ClockPicker (and TimePicker and variants). Keyboard navigation now works by default.Changes
Docs
experimentalStyled()
(#26361) @mnajdovaCore
@material-ui/styles
dependencies from declaration files too (#26376) @mnajdovaAll contributors of this release in alphabetical order: @akshitsuri, @DanailH, @Dru89, @eps1lon, @Gautam-Arora24, @jeferson-sb, @m4theushw, @mbrookes, @mnajdova, @oliviertassinari, @pasDamola, @siriwatknp, @wolfykey
v5.0.0-alpha.33
Compare Source
May 9, 2021
Big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
@material-ui/[email protected]
Breaking changes
withStyles
Replace the
innerRef
prop with theref
prop. Refs are now automatically forwarded to the inner component.withTheme
Replace the
innerRef
prop with theref
prop. Refs are now automatically forwarded to the inner component.Developers only need one theme in their application. A prefix would suggest a second theme is needed. It's not the case.
createMuiTheme
will be removed in v6.The
MuiThemeProvider
is no longer exported. UseThemeProvider
instead. It was removed from the documentation during v4-beta, 2 years ago.Its behavior can be obtained using the
sx
prop.Its behavior can be obtained using the
sx
prop directly on the child if it's a Material-UI component. For non-Material-UI components use thesx
prop in conjunction with thecomponent
prop:This better matches the Material Design guidelines.
The
label
prop now fulfills the same purpose, using CSS layout instead of JavaScript measurement to render the gap in the outlined. The TextField already handles it by default.The
styled
JSS utility is no longer exported from@material-ui/core/styles
. You can use@material-ui/styles/styled
instead. Make sure to add aThemeProvider
at the root of your application, as thedefaultTheme
is no longer available. If you are using this utility together with@material-ui/core
, it's recommended you use theThemeProvider
component from@material-ui/core/styles
instead.For new components, you can instead use the
experimentalStyled()
helper powered by emotion/sc.Removed in favor of using the
sx
prop or theuseMediaQuery
hook.Use the
sx
prop to replaceimplementation="css"
:Use the
useMediaQuery
hook to replaceimplementation="js"
:Removed in favor of the
useMediaQuery
hook. You can reproduce the same functionality creating a custom hook as described here.Rename the values of the reason argument in
onChange
andonClose
for consistency:create-option
tocreateOption
select-option
toselectOption
remove-option
toremoveOption
The
withTheme
utility has been removed from the@material-ui/core/styles
package. You can use the@material-ui/styles/withTheme
instead. Make sure to add aThemeProvider
at the root of your application, as thedefaultTheme
is no longer available. If you are using this utility together with@material-ui/core
, it's recommended you use theThemeProvider
from@material-ui/core/styles
instead.createGenerateClassName
module is no longer exported from@material-ui/core/styles
. You should import it directly from@material-ui/styles
.jssPreset
object is no longer exported from@material-ui/core/styles
. You should import it directly from@material-ui/styles
.ServerStyleSheets
component is no longer exported from@material-ui/core/styles
. You should import it directly from@material-ui/styles
.The
StylesProvider
component is no longer exported from@material-ui/core/styles
. You should import it directly from@material-ui/styles
.The
useThemeVariants
hook is no longer exported from@material-ui/core/styles
. You should import it directly from@material-ui/styles
.[FormControlLabel] The
label
prop is now required.Changes
@material-ui/[email protected]
Breaking changes
Rename the
align
prop toposition
to reduce confusion.Changes
Configuration
📅 Schedule: "on sunday before 6:00am" in timezone UTC.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.