diff --git a/package-lock.json b/package-lock.json index ff9fe4486..26e995eac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@gatsbyjs/reach-router": "^2.0.1", "@mdx-js/react": "^2.3.0", "@mui/lab": "^5.0.0-alpha.97", - "@mui/material": "^5.16.7", + "@mui/material": "^6.0.2", "@mui/x-data-grid": "^7.15.0", "@mui/x-date-pickers": "^7.15.0", "@popperjs/core": "^2.11.8", @@ -3967,10 +3967,9 @@ } }, "node_modules/@mui/core-downloads-tracker": { - "version": "5.16.7", - "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.16.7.tgz", - "integrity": "sha512-RtsCt4Geed2/v74sbihWzzRs+HsIQCfclHeORh5Ynu2fS4icIKozcSubwuG7vtzq2uW3fOR1zITSP84TNt2GoQ==", - "license": "MIT", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-6.0.2.tgz", + "integrity": "sha512-Cg68oOlAfbJgMgvbCwcX3Y3HdygCl6X1nREYTdEWcEKUQhNarrC45Cc35mP+zA7p3ZXE/7FLiaTCCgwuSoef/Q==", "funding": { "type": "opencollective", "url": "https://opencollective.com/mui-org" @@ -4018,26 +4017,25 @@ } }, "node_modules/@mui/material": { - "version": "5.16.7", - "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.16.7.tgz", - "integrity": "sha512-cwwVQxBhK60OIOqZOVLFt55t01zmarKJiJUWbk0+8s/Ix5IaUzAShqlJchxsIQ4mSrWqgcKCCXKtIlG5H+/Jmg==", - "license": "MIT", - "dependencies": { - "@babel/runtime": "^7.23.9", - "@mui/core-downloads-tracker": "^5.16.7", - "@mui/system": "^5.16.7", - "@mui/types": "^7.2.15", - "@mui/utils": "^5.16.6", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@mui/material/-/material-6.0.2.tgz", + "integrity": "sha512-KrnkJFSyhsAh8V30DNUbWyRyxMi4ZHjFg1ikQGx+mUAIffFTYIEx9Q+Kxd3vCT0FUFGOmbsuh6F6yRhpybsjkg==", + "dependencies": { + "@babel/runtime": "^7.25.0", + "@mui/core-downloads-tracker": "^6.0.2", + "@mui/system": "^6.0.2", + "@mui/types": "^7.2.16", + "@mui/utils": "^6.0.2", "@popperjs/core": "^2.11.8", - "@types/react-transition-group": "^4.4.10", - "clsx": "^2.1.0", + "@types/react-transition-group": "^4.4.11", + "clsx": "^2.1.1", "csstype": "^3.1.3", "prop-types": "^15.8.1", "react-is": "^18.3.1", "react-transition-group": "^4.4.5" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" }, "funding": { "type": "opencollective", @@ -4046,9 +4044,10 @@ "peerDependencies": { "@emotion/react": "^11.5.0", "@emotion/styled": "^11.3.0", - "@types/react": "^17.0.0 || ^18.0.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "@mui/material-pigment-css": "^6.0.2", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@emotion/react": { @@ -4057,6 +4056,134 @@ "@emotion/styled": { "optional": true }, + "@mui/material-pigment-css": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material/node_modules/@mui/private-theming": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-6.0.2.tgz", + "integrity": "sha512-emddFcRhA0hPGVIwIbW5g0V8vtCgw2g/H/A7jTdGe7dpCWEPpp6jPIXRRKcEUWgmg91R6rBNfV+LFHxBxmZXOQ==", + "dependencies": { + "@babel/runtime": "^7.25.0", + "@mui/utils": "^6.0.2", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material/node_modules/@mui/styled-engine": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-6.0.2.tgz", + "integrity": "sha512-qd3Vlhted0SYVGotnCfVNcxff7vW2WN0fclbAexff60NeNS1qs/H/CImHEHUBiUGeNWMPRochbN6VF1arQ7/jA==", + "dependencies": { + "@babel/runtime": "^7.25.0", + "@emotion/cache": "^11.13.1", + "csstype": "^3.1.3", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.4.1", + "@emotion/styled": "^11.3.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + } + } + }, + "node_modules/@mui/material/node_modules/@mui/system": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@mui/system/-/system-6.0.2.tgz", + "integrity": "sha512-AZv1/C4PuHgWFTA8YraIzl3FTVLdRz0RIMRwEADWZBdIhnuTHS/4+r8qE9+3CcpTHg1WsEu8btaO3AhQahSM9A==", + "dependencies": { + "@babel/runtime": "^7.25.0", + "@mui/private-theming": "^6.0.2", + "@mui/styled-engine": "^6.0.2", + "@mui/types": "^7.2.16", + "@mui/utils": "^6.0.2", + "clsx": "^2.1.1", + "csstype": "^3.1.3", + "prop-types": "^15.8.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@emotion/react": "^11.5.0", + "@emotion/styled": "^11.3.0", + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "@emotion/react": { + "optional": true + }, + "@emotion/styled": { + "optional": true + }, + "@types/react": { + "optional": true + } + } + }, + "node_modules/@mui/material/node_modules/@mui/utils": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-6.0.2.tgz", + "integrity": "sha512-TeFrYsxcmeoDSlkoPhX+LjIuuqC5Pyj+xz2kRceKCkUpwMNTEeVOfowXDPe+mboZwmpJ5ZxP4eiAgQMdeEasjg==", + "dependencies": { + "@babel/runtime": "^7.25.0", + "@mui/types": "^7.2.16", + "@types/prop-types": "^15.7.12", + "clsx": "^2.1.1", + "prop-types": "^15.8.1", + "react-is": "^18.3.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mui-org" + }, + "peerDependencies": { + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react": "^17.0.0 || ^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { "@types/react": { "optional": true } @@ -4162,12 +4289,11 @@ } }, "node_modules/@mui/types": { - "version": "7.2.15", - "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.15.tgz", - "integrity": "sha512-nbo7yPhtKJkdf9kcVOF8JZHPZTmqXjJ/tI0bdWgHg5tp9AnIN4Y7f7wm9T+0SyGYJk76+GYZ8Q5XaTYAsUHN0Q==", - "license": "MIT", + "version": "7.2.16", + "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.16.tgz", + "integrity": "sha512-qI8TV3M7ShITEEc8Ih15A2vLzZGLhD+/UPNwck/hcls2gwg7dyRjNGXcQYHKLB5Q7PuTRfrTkAoPa2VV1s67Ag==", "peerDependencies": { - "@types/react": "^17.0.0 || ^18.0.0" + "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "peerDependenciesMeta": { "@types/react": { diff --git a/package.json b/package.json index 504a8da8e..b2c862231 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "@gatsbyjs/reach-router": "^2.0.1", "@mdx-js/react": "^2.3.0", "@mui/lab": "^5.0.0-alpha.97", - "@mui/material": "^5.16.7", + "@mui/material": "^6.0.2", "@mui/x-data-grid": "^7.15.0", "@mui/x-date-pickers": "^7.15.0", "@popperjs/core": "^2.11.8", diff --git a/src/components/ReleaseNotesRender/__tests__/__snapshots__/ReleaseNotesRender.test.tsx.snap b/src/components/ReleaseNotesRender/__tests__/__snapshots__/ReleaseNotesRender.test.tsx.snap index 4f4d51093..f59ecd8cb 100644 --- a/src/components/ReleaseNotesRender/__tests__/__snapshots__/ReleaseNotesRender.test.tsx.snap +++ b/src/components/ReleaseNotesRender/__tests__/__snapshots__/ReleaseNotesRender.test.tsx.snap @@ -93,21 +93,21 @@ exports[`ReleaseNotesRender component > should render correctly 1`] = ` aria-expanded="false" aria-haspopup="true" aria-label="Show filters" - class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-1knaqv7-MuiButtonBase-root-MuiButton-root" + class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-8iab9z-MuiButtonBase-root-MuiButton-root" data-mui-internal-clone-element="true" id=":r0:" tabindex="0" type="button" > Filters -
should render correctly 1`] = ` >
@@ -229,7 +223,7 @@ exports[`ReleaseNotesRender component > should render correctly 1`] = ` aria-expanded="false" aria-haspopup="menu" aria-label="Menu" - class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall MuiDataGrid-menuIconButton css-1pe4mpk-MuiButtonBase-root-MuiIconButton-root" + class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall MuiDataGrid-menuIconButton css-hizwh9-MuiButtonBase-root-MuiIconButton-root" data-mui-internal-clone-element="true" id=":r7:" tabindex="-1" @@ -237,7 +231,7 @@ exports[`ReleaseNotesRender component > should render correctly 1`] = ` > - @@ -258,7 +249,7 @@ exports[`ReleaseNotesRender component > should render correctly 1`] = ` > @@ -336,7 +324,7 @@ exports[`ReleaseNotesRender component > should render correctly 1`] = ` > @@ -414,7 +399,7 @@ exports[`ReleaseNotesRender component > should render correctly 1`] = ` > @@ -492,7 +474,7 @@ exports[`ReleaseNotesRender component > should render correctly 1`] = ` > @@ -570,7 +549,7 @@ exports[`ReleaseNotesRender component > should render correctly 1`] = ` >
should render correctly 1`] = ` aria-expanded="false" aria-haspopup="listbox" aria-labelledby=":r4: :r3:" - class="MuiSelect-select MuiTablePagination-select MuiSelect-standard MuiInputBase-input css-194a1fa-MuiSelect-select-MuiInputBase-input" + class="MuiSelect-select MuiTablePagination-select MuiSelect-standard MuiInputBase-input css-141c2s2-MuiSelect-select-MuiInputBase-input" id=":r3:" role="combobox" tabindex="0" @@ -840,7 +819,7 @@ exports[`ReleaseNotesRender component > should render correctly 1`] = ` />
  • diff --git a/src/components/VersionSelector/__tests__/__snapshots__/VersionSelector.test.tsx.snap b/src/components/VersionSelector/__tests__/__snapshots__/VersionSelector.test.tsx.snap index a2b17ece2..c7e87a0dc 100644 --- a/src/components/VersionSelector/__tests__/__snapshots__/VersionSelector.test.tsx.snap +++ b/src/components/VersionSelector/__tests__/__snapshots__/VersionSelector.test.tsx.snap @@ -84,7 +84,7 @@ exports[`VersionSelector > updates the number of builds and build date when the class="MuiFormControl-root MuiTextField-root css-qixv09-MuiFormControl-root-MuiTextField-root" >  updates the number of builds and build date when the Build Date    updates the number of builds and build date when the value="01/01/2022" />    updates the number of builds and build date when the d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z" />  -   
      updates the number of builds and build date when the class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline" >   Build Date diff --git a/src/pages/__tests__/__snapshots__/docs.test.tsx.snap b/src/pages/__tests__/__snapshots__/docs.test.tsx.snap index 7166ee3cf..b45bec5e1 100644 --- a/src/pages/__tests__/__snapshots__/docs.test.tsx.snap +++ b/src/pages/__tests__/__snapshots__/docs.test.tsx.snap @@ -24,10 +24,10 @@ exports[`Docs page > renders correctly 1`] = ` data-testid="autocomplete" >
    renders correctly 1`] = ` aria-invalid="false" autocapitalize="none" autocomplete="off" - class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputAdornedEnd MuiAutocomplete-input MuiAutocomplete-inputFocused css-nxo287-MuiInputBase-input-MuiOutlinedInput-input" + class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputAdornedEnd MuiAutocomplete-input MuiAutocomplete-inputFocused css-lc42l8-MuiInputBase-input-MuiOutlinedInput-input" id="combo-box-demo" role="combobox" spellcheck="false" @@ -55,14 +55,14 @@ exports[`Docs page > renders correctly 1`] = ` >
    renders correctly 1`] = ` class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline" > Text diff --git a/src/pages/__tests__/__snapshots__/news.test.tsx.snap b/src/pages/__tests__/__snapshots__/news.test.tsx.snap index 1f4826dd8..fabab2f03 100644 --- a/src/pages/__tests__/__snapshots__/news.test.tsx.snap +++ b/src/pages/__tests__/__snapshots__/news.test.tsx.snap @@ -69,14 +69,14 @@ exports[`News page > renders correctly 1`] = `
  • @@ -184,26 +169,23 @@ exports[`News page > renders correctly 1`] = `
  • @@ -286,7 +262,7 @@ exports[`News page > renders correctly 1`] = ` />

    renders spinner when news not loaded 1`] = ` @@ -382,7 +358,7 @@ exports[`News page > renders spinner when news not loaded 1`] = ` viewBox="22 22 44 44" > renders correctly 1`] = ` class="MuiFormControl-root MuiTextField-root css-qixv09-MuiFormControl-root-MuiTextField-root" >

    renders correctly 1`] = ` value="01/01/2022" />
    renders correctly 1`] = ` class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInput-notchedOutline" > Build Date diff --git a/src/pages/temurin/__tests__/__snapshots__/release-notes.test.tsx.snap b/src/pages/temurin/__tests__/__snapshots__/release-notes.test.tsx.snap index d24b67900..5e8a06930 100644 --- a/src/pages/temurin/__tests__/__snapshots__/release-notes.test.tsx.snap +++ b/src/pages/temurin/__tests__/__snapshots__/release-notes.test.tsx.snap @@ -43,21 +43,21 @@ exports[`Temurin Release Notes page > renders correctly 1`] = ` aria-expanded="false" aria-haspopup="true" aria-label="Show filters" - class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-1knaqv7-MuiButtonBase-root-MuiButton-root" + class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-colorPrimary css-8iab9z-MuiButtonBase-root-MuiButton-root" data-mui-internal-clone-element="true" id=":r0:" tabindex="0" type="button" > Filters -
    renders correctly 1`] = ` >
    @@ -179,7 +173,7 @@ exports[`Temurin Release Notes page > renders correctly 1`] = ` aria-expanded="false" aria-haspopup="menu" aria-label="Menu" - class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall MuiDataGrid-menuIconButton css-1pe4mpk-MuiButtonBase-root-MuiIconButton-root" + class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall MuiDataGrid-menuIconButton css-hizwh9-MuiButtonBase-root-MuiIconButton-root" data-mui-internal-clone-element="true" id=":r7:" tabindex="-1" @@ -187,7 +181,7 @@ exports[`Temurin Release Notes page > renders correctly 1`] = ` > -
    @@ -208,7 +199,7 @@ exports[`Temurin Release Notes page > renders correctly 1`] = ` > @@ -286,7 +274,7 @@ exports[`Temurin Release Notes page > renders correctly 1`] = ` > @@ -364,7 +349,7 @@ exports[`Temurin Release Notes page > renders correctly 1`] = ` > @@ -442,7 +424,7 @@ exports[`Temurin Release Notes page > renders correctly 1`] = ` > @@ -520,7 +499,7 @@ exports[`Temurin Release Notes page > renders correctly 1`] = ` >
    renders correctly 1`] = ` aria-expanded="false" aria-haspopup="listbox" aria-labelledby=":r4: :r3:" - class="MuiSelect-select MuiTablePagination-select MuiSelect-standard MuiInputBase-input css-194a1fa-MuiSelect-select-MuiInputBase-input" + class="MuiSelect-select MuiTablePagination-select MuiSelect-standard MuiInputBase-input css-141c2s2-MuiSelect-select-MuiInputBase-input" id=":r3:" role="combobox" tabindex="0" @@ -701,7 +680,7 @@ exports[`Temurin Release Notes page > renders correctly 1`] = ` />