build(deps): update dependency @material-ui/core to v4.12.0 (#2157)

* build(deps): update dependency @material-ui/core to v4.12.0

* fix(web): adjust deprecations

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
pull/2158/head
renovate[bot] 2021-07-07 09:10:31 +10:00 committed by GitHub
parent 8ee0597486
commit e4a769f69c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 20 additions and 18 deletions

View File

@ -7,7 +7,7 @@
"@fortawesome/free-regular-svg-icons": "5.15.3",
"@fortawesome/free-solid-svg-icons": "5.15.3",
"@fortawesome/react-fontawesome": "0.1.14",
"@material-ui/core": "4.11.4",
"@material-ui/core": "4.12.0",
"@material-ui/icons": "4.11.2",
"@types/classnames": "2.3.0",
"@types/node": "15.6.0",

View File

@ -28,7 +28,9 @@ const NotificationBar = function (props: Props) {
anchorOrigin={{ vertical: "top", horizontal: "right" }}
autoHideDuration={tmpNotification ? tmpNotification.timeout * 1000 : 10000}
onClose={props.onClose}
onExited={() => setTmpNotification(null)}
TransitionProps={{
onExited: () => setTmpNotification(null),
}}
>
<ColoredSnackbarContent
className="notification"

View File

@ -1,6 +1,6 @@
import { createMuiTheme } from "@material-ui/core/styles";
import { createTheme } from "@material-ui/core/styles";
const Dark = createMuiTheme({
const Dark = createTheme({
custom: {
icon: "#fff",
loadingBar: "#fff",

View File

@ -1,6 +1,6 @@
import { createMuiTheme } from "@material-ui/core/styles";
import { createTheme } from "@material-ui/core/styles";
const Grey = createMuiTheme({
const Grey = createTheme({
custom: {
icon: "#929aa5",
loadingBar: "#929aa5",

View File

@ -1,6 +1,6 @@
import { createMuiTheme } from "@material-ui/core/styles";
import { createTheme } from "@material-ui/core/styles";
const Light = createMuiTheme({
const Light = createTheme({
custom: {
icon: "#000",
loadingBar: "#000",

View File

@ -1,4 +1,4 @@
declare module "@material-ui/core/styles/createMuiTheme" {
declare module "@material-ui/core/styles/createTheme" {
interface Theme {
custom: {
icon: React.CSSProperties["color"];

View File

@ -2180,14 +2180,14 @@
"@types/yargs" "^15.0.0"
chalk "^4.0.0"
"@material-ui/core@4.11.4":
version "4.11.4"
resolved "https://registry.yarnpkg.com/@material-ui/core/-/core-4.11.4.tgz#4fb9fe5dec5dcf780b687e3a40cff78b2b9640a4"
integrity sha512-oqb+lJ2Dl9HXI9orc6/aN8ZIAMkeThufA5iZELf2LQeBn2NtjVilF5D2w7e9RpntAzDb4jK5DsVhkfOvFY/8fg==
"@material-ui/core@4.12.0":
version "4.12.0"
resolved "https://registry.yarnpkg.com/@material-ui/core/-/core-4.12.0.tgz#7f4c130fb585e4a4cdfbdb55e46bbe81c3763250"
integrity sha512-PB6gJdCLCgVdbCwBZgseKEP0zp+WiYao+YcEyJBLy3mTJ6sKoovmkI0fG/EjJ/S4mnjHlWl35T3SHxEBOVPztA==
dependencies:
"@babel/runtime" "^7.4.4"
"@material-ui/styles" "^4.11.4"
"@material-ui/system" "^4.11.3"
"@material-ui/system" "^4.12.0"
"@material-ui/types" "5.1.0"
"@material-ui/utils" "^4.11.2"
"@types/react-transition-group" "^4.2.0"
@ -2227,10 +2227,10 @@
jss-plugin-vendor-prefixer "^10.5.1"
prop-types "^15.7.2"
"@material-ui/system@^4.11.3":
version "4.11.3"
resolved "https://registry.yarnpkg.com/@material-ui/system/-/system-4.11.3.tgz#466bc14c9986798fd325665927c963eb47cc4143"
integrity sha512-SY7otguNGol41Mu2Sg6KbBP1ZRFIbFLHGK81y4KYbsV2yIcaEPOmsCK6zwWlp+2yTV3J/VwT6oSBARtGIVdXPw==
"@material-ui/system@^4.12.0":
version "4.12.0"
resolved "https://registry.yarnpkg.com/@material-ui/system/-/system-4.12.0.tgz#e05593219f04a0fb4369cf72b3a2cc5a3b0a29ef"
integrity sha512-fXfiLeHBLwoBgCrsjwGkwWVmtaZSi4Rcm3SnQwQy9HWq6JzQ6EmZCa0jyCRhDeh0p9qL1/RszTXloaAsuRAM0A==
dependencies:
"@babel/runtime" "^7.4.4"
"@material-ui/utils" "^4.11.2"