1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

chore(deps): update material-ui monorepo (#371)

* chore(deps): update material-ui monorepo

* fix: test snapshots and deprecation warnings

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
This commit is contained in:
renovate[bot] 2021-10-07 10:53:47 +02:00 committed by GitHub
parent 81b4ea412c
commit 14ee56d914
8 changed files with 33 additions and 32 deletions

View File

@ -35,9 +35,9 @@
"e2e:enterprise": "yarn run cypress open --config baseUrl='http://localhost:3000' --env PASSWORD_AUTH=true,ENTERPRISE=true,AUTH_TOKEN=$AUTH_TOKEN" "e2e:enterprise": "yarn run cypress open --config baseUrl='http://localhost:3000' --env PASSWORD_AUTH=true,ENTERPRISE=true,AUTH_TOKEN=$AUTH_TOKEN"
}, },
"devDependencies": { "devDependencies": {
"@material-ui/core": "4.11.3", "@material-ui/core": "4.12.3",
"@material-ui/icons": "4.11.2", "@material-ui/icons": "4.11.2",
"@material-ui/lab": "4.0.0-alpha.57", "@material-ui/lab": "4.0.0-alpha.60",
"@testing-library/jest-dom": "5.14.1", "@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "12.1.2", "@testing-library/react": "12.1.2",
"@testing-library/user-event": "13.2.1", "@testing-library/user-event": "13.2.1",

View File

@ -53,7 +53,7 @@ exports[`renders correctly with permissions 1`] = `
} }
> >
<div <div
className="MuiAvatar-root MuiAvatar-circle MuiAvatar-colorDefault" className="MuiAvatar-root MuiAvatar-circular MuiAvatar-colorDefault"
style={ style={
Object { Object {
"marginRight": "8px", "marginRight": "8px",
@ -578,7 +578,7 @@ exports[`renders correctly without permission 1`] = `
} }
> >
<div <div
className="MuiAvatar-root MuiAvatar-circle MuiAvatar-colorDefault" className="MuiAvatar-root MuiAvatar-circular MuiAvatar-colorDefault"
style={ style={
Object { Object {
"marginRight": "8px", "marginRight": "8px",

View File

@ -26,6 +26,7 @@ jest.mock('../../../common/ProjectSelect', () => 'ProjectSelect');
jest.mock('../../tag-type-select-container', () => 'TagTypeSelect'); jest.mock('../../tag-type-select-container', () => 'TagTypeSelect');
jest.mock('../../feature-tag-component', () => 'FeatureTagComponent'); jest.mock('../../feature-tag-component', () => 'FeatureTagComponent');
jest.mock('../../add-tag-dialog-container', () => 'AddTagDialog'); jest.mock('../../add-tag-dialog-container', () => 'AddTagDialog');
jest.spyOn(console, 'error').mockImplementation();
test('renders correctly with one feature', () => { test('renders correctly with one feature', () => {
const feature = { const feature = {

View File

@ -11,7 +11,7 @@ export const Footer = () => {
return ( return (
<footer className={styles.footer}> <footer className={styles.footer}>
<Grid container justify="center" spacing={10}> <Grid container justifyContent="center" spacing={10}>
<Grid item md={4} xs={12}> <Grid item md={4} xs={12}>
<ShowApiDetailsContainer /> <ShowApiDetailsContainer />
</Grid> </Grid>

View File

@ -5,7 +5,7 @@ exports[`should render DrawerMenu 1`] = `
className="makeStyles-footer-1" className="makeStyles-footer-1"
> >
<div <div
className="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-10 MuiGrid-justify-xs-center" className="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-10 MuiGrid-justify-content-xs-center"
> >
<div <div
className="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-4" className="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-4"
@ -407,7 +407,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
className="makeStyles-footer-1" className="makeStyles-footer-1"
> >
<div <div
className="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-10 MuiGrid-justify-xs-center" className="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-10 MuiGrid-justify-content-xs-center"
> >
<div <div
className="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-4" className="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-md-4"

View File

@ -131,7 +131,7 @@ exports[`renders correctly with one strategy 1`] = `
className="MuiListItemAvatar-root" className="MuiListItemAvatar-root"
> >
<div <div
className="MuiAvatar-root MuiAvatar-circle MuiAvatar-colorDefault" className="MuiAvatar-root MuiAvatar-circular MuiAvatar-colorDefault"
> >
<svg <svg
aria-hidden={true} aria-hidden={true}

View File

@ -1,6 +1,6 @@
import { createMuiTheme } from '@material-ui/core/styles'; import { createTheme } from '@material-ui/core/styles';
const theme = createMuiTheme({ const theme = createTheme({
typography: { typography: {
fontFamily: ['Sen', 'Roboto, sans-serif'], fontFamily: ['Sen', 'Roboto, sans-serif'],
fontWeightBold: '700', fontWeightBold: '700',

View File

@ -1581,15 +1581,15 @@
"@types/yargs" "^16.0.0" "@types/yargs" "^16.0.0"
chalk "^4.0.0" chalk "^4.0.0"
"@material-ui/core@4.11.3": "@material-ui/core@4.12.3":
version "4.11.3" version "4.12.3"
resolved "https://registry.yarnpkg.com/@material-ui/core/-/core-4.11.3.tgz#f22e41775b0bd075e36a7a093d43951bf7f63850" resolved "https://registry.yarnpkg.com/@material-ui/core/-/core-4.12.3.tgz#80d665caf0f1f034e52355c5450c0e38b099d3ca"
integrity sha512-Adt40rGW6Uds+cAyk3pVgcErpzU/qxc7KBR94jFHBYretU4AtWZltYcNsbeMn9tXL86jjVL1kuGcIHsgLgFGRw== integrity sha512-sdpgI/PL56QVsEJldwEe4FFaFTLUqN+rd7sSZiRCdx2E/C7z5yK0y/khAWVBH24tXwto7I1hCzNWfJGZIYJKnw==
dependencies: dependencies:
"@babel/runtime" "^7.4.4" "@babel/runtime" "^7.4.4"
"@material-ui/styles" "^4.11.3" "@material-ui/styles" "^4.11.4"
"@material-ui/system" "^4.11.3" "@material-ui/system" "^4.12.1"
"@material-ui/types" "^5.1.0" "@material-ui/types" "5.1.0"
"@material-ui/utils" "^4.11.2" "@material-ui/utils" "^4.11.2"
"@types/react-transition-group" "^4.2.0" "@types/react-transition-group" "^4.2.0"
clsx "^1.0.4" clsx "^1.0.4"
@ -1606,10 +1606,10 @@
dependencies: dependencies:
"@babel/runtime" "^7.4.4" "@babel/runtime" "^7.4.4"
"@material-ui/lab@4.0.0-alpha.57": "@material-ui/lab@4.0.0-alpha.60":
version "4.0.0-alpha.57" version "4.0.0-alpha.60"
resolved "https://registry.yarnpkg.com/@material-ui/lab/-/lab-4.0.0-alpha.57.tgz#e8961bcf6449e8a8dabe84f2700daacfcafbf83a" resolved "https://registry.yarnpkg.com/@material-ui/lab/-/lab-4.0.0-alpha.60.tgz#5ad203aed5a8569b0f1753945a21a05efa2234d2"
integrity sha512-qo/IuIQOmEKtzmRD2E4Aa6DB4A87kmY6h0uYhjUmrrgmEAgbbw9etXpWPVXuRK6AGIQCjFzV6WO2i21m1R4FCw== integrity sha512-fadlYsPJF+0fx2lRuyqAuJj7hAS1tLDdIEEdov5jlrpb5pp4b+mRDUqQTUxi4inRZHS1bEXpU8QWUhO6xX88aA==
dependencies: dependencies:
"@babel/runtime" "^7.4.4" "@babel/runtime" "^7.4.4"
"@material-ui/utils" "^4.11.2" "@material-ui/utils" "^4.11.2"
@ -1617,14 +1617,14 @@
prop-types "^15.7.2" prop-types "^15.7.2"
react-is "^16.8.0 || ^17.0.0" react-is "^16.8.0 || ^17.0.0"
"@material-ui/styles@^4.11.3": "@material-ui/styles@^4.11.4":
version "4.11.3" version "4.11.4"
resolved "https://registry.npmjs.org/@material-ui/styles/-/styles-4.11.3.tgz" resolved "https://registry.yarnpkg.com/@material-ui/styles/-/styles-4.11.4.tgz#eb9dfccfcc2d208243d986457dff025497afa00d"
integrity sha512-HzVzCG+PpgUGMUYEJ2rTEmQYeonGh41BYfILNFb/1ueqma+p1meSdu4RX6NjxYBMhf7k+jgfHFTTz+L1SXL/Zg== integrity sha512-KNTIZcnj/zprG5LW0Sao7zw+yG3O35pviHzejMdcSGCdWbiO8qzRgOYL8JAxAsWBKOKYwVZxXtHWaB5T2Kvxew==
dependencies: dependencies:
"@babel/runtime" "^7.4.4" "@babel/runtime" "^7.4.4"
"@emotion/hash" "^0.8.0" "@emotion/hash" "^0.8.0"
"@material-ui/types" "^5.1.0" "@material-ui/types" "5.1.0"
"@material-ui/utils" "^4.11.2" "@material-ui/utils" "^4.11.2"
clsx "^1.0.4" clsx "^1.0.4"
csstype "^2.5.2" csstype "^2.5.2"
@ -1639,19 +1639,19 @@
jss-plugin-vendor-prefixer "^10.5.1" jss-plugin-vendor-prefixer "^10.5.1"
prop-types "^15.7.2" prop-types "^15.7.2"
"@material-ui/system@^4.11.3": "@material-ui/system@^4.12.1":
version "4.11.3" version "4.12.1"
resolved "https://registry.npmjs.org/@material-ui/system/-/system-4.11.3.tgz" resolved "https://registry.yarnpkg.com/@material-ui/system/-/system-4.12.1.tgz#2dd96c243f8c0a331b2bb6d46efd7771a399707c"
integrity sha512-SY7otguNGol41Mu2Sg6KbBP1ZRFIbFLHGK81y4KYbsV2yIcaEPOmsCK6zwWlp+2yTV3J/VwT6oSBARtGIVdXPw== integrity sha512-lUdzs4q9kEXZGhbN7BptyiS1rLNHe6kG9o8Y307HCvF4sQxbCgpL2qi+gUk+yI8a2DNk48gISEQxoxpgph0xIw==
dependencies: dependencies:
"@babel/runtime" "^7.4.4" "@babel/runtime" "^7.4.4"
"@material-ui/utils" "^4.11.2" "@material-ui/utils" "^4.11.2"
csstype "^2.5.2" csstype "^2.5.2"
prop-types "^15.7.2" prop-types "^15.7.2"
"@material-ui/types@^5.1.0": "@material-ui/types@5.1.0":
version "5.1.0" version "5.1.0"
resolved "https://registry.npmjs.org/@material-ui/types/-/types-5.1.0.tgz" resolved "https://registry.yarnpkg.com/@material-ui/types/-/types-5.1.0.tgz#efa1c7a0b0eaa4c7c87ac0390445f0f88b0d88f2"
integrity sha512-7cqRjrY50b8QzRSYyhSpx4WRw2YuO0KKIGQEVk5J8uoz2BanawykgZGoWEqKm7pVIbzFDN0SpPcVV4IhOFkl8A== integrity sha512-7cqRjrY50b8QzRSYyhSpx4WRw2YuO0KKIGQEVk5J8uoz2BanawykgZGoWEqKm7pVIbzFDN0SpPcVV4IhOFkl8A==
"@material-ui/utils@^4.11.2": "@material-ui/utils@^4.11.2":