From 1289e8977a9649d88593d52477ccefefb04ce4fb Mon Sep 17 00:00:00 2001 From: JiYeon <73057489+appleSimple@users.noreply.github.com> Date: Fri, 20 Sep 2024 19:59:30 +0900 Subject: [PATCH 01/52] [material-ui][Autocomplete] Fix listbox opens and closes on click when used with `limitTags` (#42494) Signed-off-by: JiYeon <73057489+appleSimple@users.noreply.github.com> Co-authored-by: ZeeshanTamboli --- .../src/Autocomplete/Autocomplete.js | 6 +--- .../src/Autocomplete/Autocomplete.test.js | 35 ++++++++++++++++++- .../src/useAutocomplete/useAutocomplete.js | 2 ++ 3 files changed, 37 insertions(+), 6 deletions(-) diff --git a/packages/mui-material/src/Autocomplete/Autocomplete.js b/packages/mui-material/src/Autocomplete/Autocomplete.js index ff9c76c45b5b0d..75ba78c7dcb83c 100644 --- a/packages/mui-material/src/Autocomplete/Autocomplete.js +++ b/packages/mui-material/src/Autocomplete/Autocomplete.js @@ -737,11 +737,7 @@ const Autocomplete = React.forwardRef(function Autocomplete(inProps, ref) { ref: setAnchorEl, className: classes.inputRoot, startAdornment, - onClick: (event) => { - if (event.target === event.currentTarget) { - handleInputMouseDown(event); - } - }, + onMouseDown: (event) => handleInputMouseDown(event), ...((hasClearIcon || hasPopupIcon) && { endAdornment: ( diff --git a/packages/mui-material/src/Autocomplete/Autocomplete.test.js b/packages/mui-material/src/Autocomplete/Autocomplete.test.js index 53236e3887a708..11f1bda5ab9220 100644 --- a/packages/mui-material/src/Autocomplete/Autocomplete.test.js +++ b/packages/mui-material/src/Autocomplete/Autocomplete.test.js @@ -414,6 +414,39 @@ describe('', () => { expect(getAllByRole('button', { hidden: false })).to.have.lengthOf(5); } }); + + // Test for https://github.com/mui/material-ui/issues/42432 + it('when the input box needs to expand downward, the listbox should remain open.', () => { + const options = [ + 'The Lord of the Rings: The Return of the King', + 'The Good, the Bad and the Ugly', + 'The Shawshank Redemption', + 'Star Wars: Episode V - The Empire Strikes Back', + ]; + const defaultValue = [ + 'The Lord of the Rings: The Return of the King', + 'The Good, the Bad and the Ugly', + 'The Shawshank Redemption', + ]; + + render( + } + sx={{ width: 500 }} + />, + ); + + const textbox = screen.getByRole('combobox'); + + fireEvent.mouseDown(textbox); + + const listbox = screen.getByRole('listbox'); + expect(listbox).toBeVisible(); + }); }); describe('prop: filterSelectedOptions', () => { @@ -1110,7 +1143,7 @@ describe('', () => { />, ); - fireEvent.click(ref.current); + fireEvent.mouseDown(ref.current); expect(handleOpen.callCount).to.equal(1); }); diff --git a/packages/mui-material/src/useAutocomplete/useAutocomplete.js b/packages/mui-material/src/useAutocomplete/useAutocomplete.js index 35789e85e2917c..28b161a763a221 100644 --- a/packages/mui-material/src/useAutocomplete/useAutocomplete.js +++ b/packages/mui-material/src/useAutocomplete/useAutocomplete.js @@ -1020,6 +1020,7 @@ function useAutocomplete(props) { const handleInputMouseDown = (event) => { if (!disabledProp && (inputValue === '' || !open)) { handlePopupIndicator(event); + event.stopPropagation(); } }; @@ -1108,6 +1109,7 @@ function useAutocomplete(props) { tabIndex: -1, type: 'button', onClick: handlePopupIndicator, + onMouseDown: (event) => event.stopPropagation(), }), getTagProps: ({ index }) => ({ key: index, From ca7ffd63cdd23dc78fc389a79135cc9b5441df3d Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Fri, 20 Sep 2024 13:23:06 +0200 Subject: [PATCH 02/52] [test] Sync React.version parse logic with codebase (#43820) --- packages-internal/test-utils/src/reactMajor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages-internal/test-utils/src/reactMajor.ts b/packages-internal/test-utils/src/reactMajor.ts index 69ae8dc426bafd..2028b806152d5d 100644 --- a/packages-internal/test-utils/src/reactMajor.ts +++ b/packages-internal/test-utils/src/reactMajor.ts @@ -1,3 +1,3 @@ import * as React from 'react'; -export default Number(React.version.split('.')[0]); +export default parseInt(React.version, 10); From aba3bc9f553ee41c41a3e41f3cd8355b3eb74134 Mon Sep 17 00:00:00 2001 From: Albin <54350887+albarv340@users.noreply.github.com> Date: Fri, 20 Sep 2024 17:09:09 +0200 Subject: [PATCH 03/52] [material-ui][Drawer] Fix issue with main window being used instead of iframe's window (#43818) --- packages/mui-utils/src/getScrollbarSize/getScrollbarSize.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mui-utils/src/getScrollbarSize/getScrollbarSize.ts b/packages/mui-utils/src/getScrollbarSize/getScrollbarSize.ts index 22c257654855d8..19bd0b7e027874 100644 --- a/packages/mui-utils/src/getScrollbarSize/getScrollbarSize.ts +++ b/packages/mui-utils/src/getScrollbarSize/getScrollbarSize.ts @@ -3,5 +3,5 @@ export default function getScrollbarSize(doc: Document): number { // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes const documentWidth = doc.documentElement.clientWidth; - return Math.abs(window.innerWidth - documentWidth); + return Math.abs(doc.defaultView!.innerWidth - documentWidth); } From a1fe722a53a3a361dd5201612a73e91cecb5ca62 Mon Sep 17 00:00:00 2001 From: Sycamore <71297412+samuelsycamore@users.noreply.github.com> Date: Fri, 20 Sep 2024 19:05:29 -0400 Subject: [PATCH 04/52] =?UTF-8?q?[docs]=20Remove=20"To=20be=20continued"?= =?UTF-8?q?=20section=20from=20v0=20=E2=80=93>=20v1=20migration=20guide=20?= =?UTF-8?q?(#43832)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/data/material/migration/migration-v0x/migration-v0x.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/data/material/migration/migration-v0x/migration-v0x.md b/docs/data/material/migration/migration-v0x/migration-v0x.md index f3c85115004e1d..61c780a63b0298 100644 --- a/docs/data/material/migration/migration-v0x/migration-v0x.md +++ b/docs/data/material/migration/migration-v0x/migration-v0x.md @@ -187,8 +187,3 @@ RaisedButton upgrade path: - + ``` - -### To be continued… - -Have you successfully migrated your app, and wish to help the community? -There is an open issue in order to finish this migration guide [#7195](https://github.com/mui/material-ui/issues/7195). Any pull request is welcomed 😊. From 5b9a362932a37057f8c764ba2c4fa567b32803fb Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sat, 21 Sep 2024 02:19:35 +0200 Subject: [PATCH 05/52] [website] Add 'Row spanning' (#43831) --- docs/src/components/pricing/PricingTable.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/components/pricing/PricingTable.tsx b/docs/src/components/pricing/PricingTable.tsx index 34d0b76e6d2ab1..370b9ad3c4a861 100644 --- a/docs/src/components/pricing/PricingTable.tsx +++ b/docs/src/components/pricing/PricingTable.tsx @@ -733,7 +733,7 @@ const communityData: Record = { 'data-grid/column-pinning': no, // data grid - rows 'data-grid/row-height': yes, - 'data-grid/row-spanning': pending, + 'data-grid/row-spanning': yes, 'data-grid/row-reordering': no, 'data-grid/row-pinning': no, 'data-grid/row-selection': yes, @@ -836,7 +836,7 @@ const proData: Record = { 'data-grid/column-pinning': yes, // data grid - rows 'data-grid/row-height': yes, - 'data-grid/row-spanning': pending, + 'data-grid/row-spanning': yes, 'data-grid/row-reordering': yes, 'data-grid/row-pinning': yes, 'data-grid/row-selection': yes, @@ -940,7 +940,7 @@ const premiumData: Record = { 'data-grid/column-pinning': yes, // data grid - rows 'data-grid/row-height': yes, - 'data-grid/row-spanning': pending, + 'data-grid/row-spanning': yes, 'data-grid/row-reordering': yes, 'data-grid/row-pinning': yes, 'data-grid/row-selection': yes, From 7ed454d71ca94513ab599467d412751383c5f81c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 09:56:39 +0200 Subject: [PATCH 06/52] Bump execa to ^9.4.0 (#43854) --- package.json | 2 +- pnpm-lock.yaml | 243 ++++++++++++++++++++++++++++++------------------- 2 files changed, 150 insertions(+), 95 deletions(-) diff --git a/package.json b/package.json index 0996682e259adb..26499d1a79e593 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "@googleapis/sheets": "^9.3.1", "@netlify/functions": "^2.8.1", "@slack/bolt": "^3.21.4", - "execa": "^9.3.1", + "execa": "^9.4.0", "google-auth-library": "^9.14.1" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8d021651b4e669..d5026489543cbb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: ^3.21.4 version: 3.21.4 execa: - specifier: ^9.3.1 - version: 9.3.1 + specifier: ^9.4.0 + version: 9.4.0 google-auth-library: specifier: ^9.14.1 version: 9.14.1(encoding@0.1.13) @@ -356,7 +356,7 @@ importers: version: link:../../packages/mui-utils/build next: specifier: latest - version: 14.2.12(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -366,7 +366,7 @@ importers: devDependencies: '@pigment-css/nextjs-plugin': specifier: 0.0.23 - version: 0.0.23(@types/react@18.3.4)(next@14.2.12(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + version: 0.0.23(@types/react@18.3.4)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@types/node': specifier: ^20.16.5 version: 20.16.5 @@ -658,7 +658,7 @@ importers: version: 9.7.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@toolpad/core': specifier: ^0.6.0 - version: 0.6.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.12(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2) + version: 0.6.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.47) @@ -742,7 +742,7 @@ importers: version: 5.1.2(@mui/material@packages+mui-material+build)(react@18.3.1) next: specifier: ^14.2.11 - version: 14.2.12(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) notistack: specifier: 3.0.1 version: 3.0.1(csstype@3.1.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -1286,7 +1286,7 @@ importers: version: 7.25.6 '@mui/utils': specifier: ^5.0.0 || ^6.0.0 - version: 6.1.0(@types/react@18.3.4)(react@18.3.1) + version: 6.1.1(@types/react@18.3.4)(react@18.3.1) babel-plugin-macros: specifier: ^3.1.0 version: 3.1.0 @@ -1429,7 +1429,7 @@ importers: version: link:../markdown '@mui/system': specifier: ^5.0.0 || ^6.0.0 - version: 6.1.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) + version: 6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) chai: specifier: ^4.4.1 version: 4.5.0 @@ -1469,7 +1469,7 @@ importers: version: 18.3.4 next: specifier: ^14.2.11 - version: 14.2.12(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -1643,7 +1643,7 @@ importers: version: 4.17.21 next: specifier: ^14.2.11 - version: 14.2.12(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -4094,6 +4094,10 @@ packages: '@types/react': optional: true + '@mui/material-pigment-css@6.1.1': + resolution: {integrity: sha512-BfFGa5aWZygKC+wWaL0BPxwQyRelDuV6L5VW73zOdZJwpN2zzCiuosFpTX/JazH1TQC7BYaPN0XIggsOWBnQcw==} + engines: {node: '>=14.0.0'} + '@mui/material@5.15.4': resolution: {integrity: sha512-T/LGRAC+M0c+D3+y67eHwIN5bSje0TxbcJCWR0esNvU11T0QwrX3jedXItPNBwMupF2F5VWCDHBVLlFnN3+ABA==} engines: {node: '>=12.0.0'} @@ -4121,8 +4125,8 @@ packages: '@types/react': optional: true - '@mui/private-theming@6.1.0': - resolution: {integrity: sha512-+L5qccs4gwsR0r1dgjqhN24QEQRkqIbfOdxILyMbMkuI50x6wNyt9XrV+J3WtjtZTMGJCrUa5VmZBE6OEPGPWA==} + '@mui/private-theming@6.1.1': + resolution: {integrity: sha512-JlrjIdhyZUtewtdAuUsvi3ZnO0YS49IW4Mfz19ZWTlQ0sDGga6LNPVwHClWr2/zJK2we2BQx9/i8M32rgKuzrg==} engines: {node: '>=14.0.0'} peerDependencies: '@types/react': ^18.3.4 @@ -4144,8 +4148,8 @@ packages: '@emotion/styled': optional: true - '@mui/styled-engine@6.1.0': - resolution: {integrity: sha512-MZ+vtaCkjamrT41+b0Er9OMenjAtP/32+L6fARL9/+BZKuV2QbR3q3TmavT2x0NhDu35IM03s4yKqj32Ziqnyg==} + '@mui/styled-engine@6.1.1': + resolution: {integrity: sha512-HJyIoMpFb11fnHuRtUILOXgq6vj4LhIlE8maG4SwP/W+E5sa7HFexhnB3vOMT7bKys4UKNxhobC8jwWxYilGsA==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.4.1 @@ -4173,8 +4177,8 @@ packages: '@types/react': optional: true - '@mui/system@6.1.0': - resolution: {integrity: sha512-NumkGDqT6EdXfcoFLYQ+M4XlTW5hH3+aK48xAbRqKPXJfxl36CBt4DLduw/Voa5dcayGus9T6jm1AwU2hoJ5hQ==} + '@mui/system@6.1.1': + resolution: {integrity: sha512-PaYsCz2tUOcpu3T0okDEsSuP/yCDIj9JZ4Tox1JovRSKIjltHpXPsXZSGr3RiWdtM1MTQMFMCZzu0+CKbyy+Kw==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -4189,8 +4193,8 @@ packages: '@types/react': optional: true - '@mui/types@7.2.16': - resolution: {integrity: sha512-qI8TV3M7ShITEEc8Ih15A2vLzZGLhD+/UPNwck/hcls2gwg7dyRjNGXcQYHKLB5Q7PuTRfrTkAoPa2VV1s67Ag==} + '@mui/types@7.2.17': + resolution: {integrity: sha512-oyumoJgB6jDV8JFzRqjBo2daUuHpzDjoO/e3IrRhhHo/FxJlaVhET6mcNrKHUq2E+R+q3ql0qAtvQ4rfWHhAeQ==} peerDependencies: '@types/react': ^18.3.4 peerDependenciesMeta: @@ -4227,6 +4231,16 @@ packages: '@types/react': optional: true + '@mui/utils@6.1.1': + resolution: {integrity: sha512-HlRrgdJSPbYDXPpoVMWZV8AE7WcFtAk13rWNWAEVWKSanzBBkymjz3km+Th/Srowsh4pf1fTSP1B0L116wQBYw==} + engines: {node: '>=14.0.0'} + peerDependencies: + '@types/react': ^18.3.4 + react: ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + '@types/react': + optional: true + '@mui/x-charts-vendor@7.16.0': resolution: {integrity: sha512-MyMCCl7eAM53rLbjqP4zbMy5hYtdeqCjAYCH2jpvBKdgugm2eaPLKOPM8bUVfen0wHA8BXleQrIrNceytFPyZA==} @@ -4429,8 +4443,8 @@ packages: '@next/env@14.2.11': resolution: {integrity: sha512-HYsQRSIXwiNqvzzYThrBwq6RhXo3E0n8j8nQnAs8i4fCEo2Zf/3eS0IiRA8XnRg9Ha0YnpkyJZIZg1qEwemrHw==} - '@next/env@14.2.12': - resolution: {integrity: sha512-3fP29GIetdwVIfIRyLKM7KrvJaqepv+6pVodEbx0P5CaMLYBtx+7eEg8JYO5L9sveJO87z9eCReceZLi0hxO1Q==} + '@next/env@14.2.13': + resolution: {integrity: sha512-s3lh6K8cbW1h5Nga7NNeXrbe0+2jIIYK9YaA9T7IufDWnZpozdFUp6Hf0d5rNWUKu4fEuSX2rCKlGjCrtylfDw==} '@next/eslint-plugin-next@14.2.11': resolution: {integrity: sha512-7mw+xW7Y03Ph4NTCcAzYe+vu4BNjEHZUfZayyF3Y1D9RX6c5NIe25m1grHEAkyUuaqjRxOYhnCNeglOkIqLkBA==} @@ -4441,8 +4455,8 @@ packages: cpu: [arm64] os: [darwin] - '@next/swc-darwin-arm64@14.2.12': - resolution: {integrity: sha512-crHJ9UoinXeFbHYNok6VZqjKnd8rTd7K3Z2zpyzF1ch7vVNKmhjv/V7EHxep3ILoN8JB9AdRn/EtVVyG9AkCXw==} + '@next/swc-darwin-arm64@14.2.13': + resolution: {integrity: sha512-IkAmQEa2Htq+wHACBxOsslt+jMoV3msvxCn0WFSfJSkv/scy+i/EukBKNad36grRxywaXUYJc9mxEGkeIs8Bzg==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -4453,8 +4467,8 @@ packages: cpu: [x64] os: [darwin] - '@next/swc-darwin-x64@14.2.12': - resolution: {integrity: sha512-JbEaGbWq18BuNBO+lCtKfxl563Uw9oy2TodnN2ioX00u7V1uzrsSUcg3Ep9ce+P0Z9es+JmsvL2/rLphz+Frcw==} + '@next/swc-darwin-x64@14.2.13': + resolution: {integrity: sha512-Dv1RBGs2TTjkwEnFMVL5XIfJEavnLqqwYSD6LXgTPdEy/u6FlSrLBSSfe1pcfqhFEXRAgVL3Wpjibe5wXJzWog==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -4465,8 +4479,8 @@ packages: cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-gnu@14.2.12': - resolution: {integrity: sha512-qBy7OiXOqZrdp88QEl2H4fWalMGnSCrr1agT/AVDndlyw2YJQA89f3ttR/AkEIP9EkBXXeGl6cC72/EZT5r6rw==} + '@next/swc-linux-arm64-gnu@14.2.13': + resolution: {integrity: sha512-yB1tYEFFqo4ZNWkwrJultbsw7NPAAxlPXURXioRl9SdW6aIefOLS+0TEsKrWBtbJ9moTDgU3HRILL6QBQnMevg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -4477,8 +4491,8 @@ packages: cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-musl@14.2.12': - resolution: {integrity: sha512-EfD9L7o9biaQxjwP1uWXnk3vYZi64NVcKUN83hpVkKocB7ogJfyH2r7o1pPnMtir6gHZiGCeHKagJ0yrNSLNHw==} + '@next/swc-linux-arm64-musl@14.2.13': + resolution: {integrity: sha512-v5jZ/FV/eHGoWhMKYrsAweQ7CWb8xsWGM/8m1mwwZQ/sutJjoFaXchwK4pX8NqwImILEvQmZWyb8pPTcP7htWg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -4489,8 +4503,8 @@ packages: cpu: [x64] os: [linux] - '@next/swc-linux-x64-gnu@14.2.12': - resolution: {integrity: sha512-iQ+n2pxklJew9IpE47hE/VgjmljlHqtcD5UhZVeHICTPbLyrgPehaKf2wLRNjYH75udroBNCgrSSVSVpAbNoYw==} + '@next/swc-linux-x64-gnu@14.2.13': + resolution: {integrity: sha512-aVc7m4YL7ViiRv7SOXK3RplXzOEe/qQzRA5R2vpXboHABs3w8vtFslGTz+5tKiQzWUmTmBNVW0UQdhkKRORmGA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -4501,8 +4515,8 @@ packages: cpu: [x64] os: [linux] - '@next/swc-linux-x64-musl@14.2.12': - resolution: {integrity: sha512-rFkUkNwcQ0ODn7cxvcVdpHlcOpYxMeyMfkJuzaT74xjAa5v4fxP4xDk5OoYmPi8QNLDs3UgZPMSBmpBuv9zKWA==} + '@next/swc-linux-x64-musl@14.2.13': + resolution: {integrity: sha512-4wWY7/OsSaJOOKvMsu1Teylku7vKyTuocvDLTZQq0TYv9OjiYYWt63PiE1nTuZnqQ4RPvME7Xai+9enoiN0Wrg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -4513,8 +4527,8 @@ packages: cpu: [arm64] os: [win32] - '@next/swc-win32-arm64-msvc@14.2.12': - resolution: {integrity: sha512-PQFYUvwtHs/u0K85SG4sAdDXYIPXpETf9mcEjWc0R4JmjgMKSDwIU/qfZdavtP6MPNiMjuKGXHCtyhR/M5zo8g==} + '@next/swc-win32-arm64-msvc@14.2.13': + resolution: {integrity: sha512-uP1XkqCqV2NVH9+g2sC7qIw+w2tRbcMiXFEbMihkQ8B1+V6m28sshBwAB0SDmOe0u44ne1vFU66+gx/28RsBVQ==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -4525,8 +4539,8 @@ packages: cpu: [ia32] os: [win32] - '@next/swc-win32-ia32-msvc@14.2.12': - resolution: {integrity: sha512-FAj2hMlcbeCV546eU2tEv41dcJb4NeqFlSXU/xL/0ehXywHnNpaYajOUvn3P8wru5WyQe6cTZ8fvckj/2XN4Vw==} + '@next/swc-win32-ia32-msvc@14.2.13': + resolution: {integrity: sha512-V26ezyjPqQpDBV4lcWIh8B/QICQ4v+M5Bo9ykLN+sqeKKBxJVDpEc6biDVyluTXTC40f5IqCU0ttth7Es2ZuMw==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] @@ -4537,8 +4551,8 @@ packages: cpu: [x64] os: [win32] - '@next/swc-win32-x64-msvc@14.2.12': - resolution: {integrity: sha512-yu8QvV53sBzoIVRHsxCHqeuS8jYq6Lrmdh0briivuh+Brsp6xjg80MAozUsBTAV9KNmY08KlX0KYTWz1lbPzEg==} + '@next/swc-win32-x64-msvc@14.2.13': + resolution: {integrity: sha512-WwzOEAFBGhlDHE5Z73mNU8CO8mqMNLqaG+AO9ETmzdCQlJhVtWZnOl2+rqgVQS+YHunjOWptdFmNfbpwcUuEsw==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -7792,8 +7806,8 @@ packages: resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} engines: {node: '>=16.17'} - execa@9.3.1: - resolution: {integrity: sha512-gdhefCCNy/8tpH/2+ajP9IQc14vXchNdd0weyzSJEFURhRMGncQ+zKFxwjAufIewPEJm9BPOaJnvg2UtlH2gPQ==} + execa@9.4.0: + resolution: {integrity: sha512-yKHlle2YGxZE842MERVIplWwNH5VYmqqcPFgtnlU//K8gxuFFXu0pwd/CrfXTumFpeEiufsP7+opT/bPJa1yVw==} engines: {node: ^18.19.0 || >=20.5.0} expand-tilde@2.0.2: @@ -9971,8 +9985,8 @@ packages: sass: optional: true - next@14.2.12: - resolution: {integrity: sha512-cDOtUSIeoOvt1skKNihdExWMTybx3exnvbFbb9ecZDIxlvIbREQzt9A5Km3Zn3PfU+IFjyYGsHS+lN9VInAGKA==} + next@14.2.13: + resolution: {integrity: sha512-BseY9YNw8QJSwLYD7hlZzl6QVDoSFHL/URN5K64kVEVpCsSOWeyjbIGK+dZUaRViHTaMQX8aqmnn0PHBbGZezg==} engines: {node: '>=18.17.0'} hasBin: true peerDependencies: @@ -10138,6 +10152,10 @@ packages: resolution: {integrity: sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + npm-run-path@6.0.0: + resolution: {integrity: sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==} + engines: {node: '>=18'} + nprogress@0.2.0: resolution: {integrity: sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==} @@ -12417,6 +12435,10 @@ packages: resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} engines: {node: '>=18'} + unicorn-magic@0.3.0: + resolution: {integrity: sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==} + engines: {node: '>=18'} + unified@11.0.5: resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==} @@ -14923,7 +14945,7 @@ snapshots: dependencies: '@babel/runtime': 7.25.6 '@floating-ui/react-dom': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@mui/types': 7.2.16(@types/react@18.3.4) + '@mui/types': 7.2.17(@types/react@18.3.4) '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) '@popperjs/core': 2.11.8 clsx: 2.1.1 @@ -14937,7 +14959,7 @@ snapshots: dependencies: '@babel/runtime': 7.25.6 '@floating-ui/react-dom': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@mui/types': 7.2.16(@types/react@18.3.4) + '@mui/types': 7.2.17(@types/react@18.3.4) '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) '@popperjs/core': 2.11.8 clsx: 2.1.1 @@ -14951,7 +14973,7 @@ snapshots: dependencies: '@babel/runtime': 7.25.6 '@floating-ui/react-dom': 2.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@mui/types': 7.2.16(@types/react@18.3.4) + '@mui/types': 7.2.17(@types/react@18.3.4) '@mui/utils': 6.0.0-rc.0(@types/react@18.3.4)(react@18.3.1) '@popperjs/core': 2.11.8 clsx: 2.1.1 @@ -14969,7 +14991,7 @@ snapshots: '@mui/base': 5.0.0-beta.31(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/core-downloads-tracker': 5.15.14 '@mui/system': 5.16.5(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) - '@mui/types': 7.2.16(@types/react@18.3.4) + '@mui/types': 7.2.17(@types/react@18.3.4) '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) clsx: 2.1.1 prop-types: 15.8.1 @@ -14980,14 +15002,14 @@ snapshots: '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) '@types/react': 18.3.4 - '@mui/lab@6.0.0-beta.9(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/lab@6.0.0-beta.9(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@mui/base': 5.0.0-beta.58(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/material': link:packages/mui-material/build - '@mui/system': 6.1.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) - '@mui/types': 7.2.16(@types/react@18.3.4) - '@mui/utils': 6.1.0(@types/react@18.3.4)(react@18.3.1) + '@mui/system': 6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) + '@mui/types': 7.2.17(@types/react@18.3.4) + '@mui/utils': 6.1.1(@types/react@18.3.4)(react@18.3.1) clsx: 2.1.1 prop-types: 15.8.1 react: 18.3.1 @@ -14995,15 +15017,29 @@ snapshots: optionalDependencies: '@emotion/react': 11.13.3(@types/react@18.3.4)(react@18.3.1) '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) + '@mui/material-pigment-css': 6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) '@types/react': 18.3.4 + '@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.25.6 + '@mui/system': 6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) + '@pigment-css/react': 0.0.23(@types/react@18.3.4)(react@18.3.1) + transitivePeerDependencies: + - '@emotion/react' + - '@emotion/styled' + - '@types/react' + - react + - supports-color + optional: true + '@mui/material@5.15.4(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@mui/base': 5.0.0-beta.31(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/core-downloads-tracker': 5.15.14 '@mui/system': 5.16.5(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) - '@mui/types': 7.2.16(@types/react@18.3.4) + '@mui/types': 7.2.17(@types/react@18.3.4) '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) '@types/react-transition-group': 4.4.11 clsx: 2.1.1 @@ -15027,10 +15063,10 @@ snapshots: optionalDependencies: '@types/react': 18.3.4 - '@mui/private-theming@6.1.0(@types/react@18.3.4)(react@18.3.1)': + '@mui/private-theming@6.1.1(@types/react@18.3.4)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@mui/utils': 6.1.0(@types/react@18.3.4)(react@18.3.1) + '@mui/utils': 6.1.1(@types/react@18.3.4)(react@18.3.1) prop-types: 15.8.1 react: 18.3.1 optionalDependencies: @@ -15047,7 +15083,7 @@ snapshots: '@emotion/react': 11.13.3(@types/react@18.3.4)(react@18.3.1) '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) - '@mui/styled-engine@6.1.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(react@18.3.1)': + '@mui/styled-engine@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@emotion/cache': 11.13.1 @@ -15064,7 +15100,7 @@ snapshots: '@babel/runtime': 7.25.6 '@mui/private-theming': 5.16.5(@types/react@18.3.4)(react@18.3.1) '@mui/styled-engine': 5.16.4(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(react@18.3.1) - '@mui/types': 7.2.16(@types/react@18.3.4) + '@mui/types': 7.2.17(@types/react@18.3.4) '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) clsx: 2.1.1 csstype: 3.1.3 @@ -15075,13 +15111,13 @@ snapshots: '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) '@types/react': 18.3.4 - '@mui/system@6.1.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1)': + '@mui/system@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@mui/private-theming': 6.1.0(@types/react@18.3.4)(react@18.3.1) - '@mui/styled-engine': 6.1.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(react@18.3.1) - '@mui/types': 7.2.16(@types/react@18.3.4) - '@mui/utils': 6.1.0(@types/react@18.3.4)(react@18.3.1) + '@mui/private-theming': 6.1.1(@types/react@18.3.4)(react@18.3.1) + '@mui/styled-engine': 6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(react@18.3.1) + '@mui/types': 7.2.17(@types/react@18.3.4) + '@mui/utils': 6.1.1(@types/react@18.3.4)(react@18.3.1) clsx: 2.1.1 csstype: 3.1.3 prop-types: 15.8.1 @@ -15091,14 +15127,14 @@ snapshots: '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) '@types/react': 18.3.4 - '@mui/types@7.2.16(@types/react@18.3.4)': + '@mui/types@7.2.17(@types/react@18.3.4)': optionalDependencies: '@types/react': 18.3.4 '@mui/utils@5.16.6(@types/react@18.3.4)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@mui/types': 7.2.16(@types/react@18.3.4) + '@mui/types': 7.2.17(@types/react@18.3.4) '@types/prop-types': 15.7.12 clsx: 2.1.1 prop-types: 15.8.1 @@ -15110,7 +15146,7 @@ snapshots: '@mui/utils@6.0.0-rc.0(@types/react@18.3.4)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@mui/types': 7.2.16(@types/react@18.3.4) + '@mui/types': 7.2.17(@types/react@18.3.4) '@types/prop-types': 15.7.12 clsx: 2.1.1 prop-types: 15.8.1 @@ -15122,7 +15158,19 @@ snapshots: '@mui/utils@6.1.0(@types/react@18.3.4)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 - '@mui/types': 7.2.16(@types/react@18.3.4) + '@mui/types': 7.2.17(@types/react@18.3.4) + '@types/prop-types': 15.7.12 + clsx: 2.1.1 + prop-types: 15.8.1 + react: 18.3.1 + react-is: 18.3.1 + optionalDependencies: + '@types/react': 18.3.4 + + '@mui/utils@6.1.1(@types/react@18.3.4)(react@18.3.1)': + dependencies: + '@babel/runtime': 7.25.6 + '@mui/types': 7.2.17(@types/react@18.3.4) '@types/prop-types': 15.7.12 clsx: 2.1.1 prop-types: 15.8.1 @@ -15346,7 +15394,7 @@ snapshots: '@next/env@14.2.11': {} - '@next/env@14.2.12': {} + '@next/env@14.2.13': {} '@next/eslint-plugin-next@14.2.11': dependencies: @@ -15355,55 +15403,55 @@ snapshots: '@next/swc-darwin-arm64@14.2.11': optional: true - '@next/swc-darwin-arm64@14.2.12': + '@next/swc-darwin-arm64@14.2.13': optional: true '@next/swc-darwin-x64@14.2.11': optional: true - '@next/swc-darwin-x64@14.2.12': + '@next/swc-darwin-x64@14.2.13': optional: true '@next/swc-linux-arm64-gnu@14.2.11': optional: true - '@next/swc-linux-arm64-gnu@14.2.12': + '@next/swc-linux-arm64-gnu@14.2.13': optional: true '@next/swc-linux-arm64-musl@14.2.11': optional: true - '@next/swc-linux-arm64-musl@14.2.12': + '@next/swc-linux-arm64-musl@14.2.13': optional: true '@next/swc-linux-x64-gnu@14.2.11': optional: true - '@next/swc-linux-x64-gnu@14.2.12': + '@next/swc-linux-x64-gnu@14.2.13': optional: true '@next/swc-linux-x64-musl@14.2.11': optional: true - '@next/swc-linux-x64-musl@14.2.12': + '@next/swc-linux-x64-musl@14.2.13': optional: true '@next/swc-win32-arm64-msvc@14.2.11': optional: true - '@next/swc-win32-arm64-msvc@14.2.12': + '@next/swc-win32-arm64-msvc@14.2.13': optional: true '@next/swc-win32-ia32-msvc@14.2.11': optional: true - '@next/swc-win32-ia32-msvc@14.2.12': + '@next/swc-win32-ia32-msvc@14.2.13': optional: true '@next/swc-win32-x64-msvc@14.2.11': optional: true - '@next/swc-win32-x64-msvc@14.2.12': + '@next/swc-win32-x64-msvc@14.2.13': optional: true '@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3': @@ -15838,10 +15886,10 @@ snapshots: '@opentelemetry/api@1.8.0': optional: true - '@pigment-css/nextjs-plugin@0.0.23(@types/react@18.3.4)(next@14.2.12(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': + '@pigment-css/nextjs-plugin@0.0.23(@types/react@18.3.4)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': dependencies: '@pigment-css/unplugin': 0.0.23(@types/react@18.3.4)(react@18.3.1) - next: 14.2.12(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + next: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) transitivePeerDependencies: - '@types/react' - react @@ -15859,8 +15907,8 @@ snapshots: '@emotion/react': 11.13.3(@types/react@18.3.4)(react@18.3.1) '@emotion/serialize': 1.3.1 '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) - '@mui/system': 6.1.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) - '@mui/utils': 6.1.0(@types/react@18.3.4)(react@18.3.1) + '@mui/system': 6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) + '@mui/utils': 6.1.1(@types/react@18.3.4)(react@18.3.1) '@wyw-in-js/processor-utils': 0.5.4 '@wyw-in-js/shared': 0.5.4 '@wyw-in-js/transform': 0.5.4 @@ -16632,11 +16680,11 @@ snapshots: '@theme-ui/css': 0.16.2(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1)) react: 18.3.1 - '@toolpad/core@0.6.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.12(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2)': + '@toolpad/core@0.6.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2)': dependencies: '@babel/runtime': 7.25.6 '@mui/icons-material': link:packages/mui-icons-material/build - '@mui/lab': 6.0.0-beta.9(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@mui/lab': 6.0.0-beta.9(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/material': link:packages/mui-material/build '@mui/utils': 6.1.0(@types/react@18.3.4)(react@18.3.1) '@toolpad/utils': 0.6.0(@types/node@20.16.5)(happy-dom@12.10.3)(jsdom@24.0.0)(react@18.3.1)(terser@5.29.2) @@ -16646,7 +16694,7 @@ snapshots: prop-types: 15.8.1 react: 18.3.1 optionalDependencies: - next: 14.2.12(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + next: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@emotion/react' @@ -19699,7 +19747,7 @@ snapshots: signal-exit: 4.1.0 strip-final-newline: 3.0.0 - execa@9.3.1: + execa@9.4.0: dependencies: '@sindresorhus/merge-streams': 4.0.0 cross-spawn: 7.0.3 @@ -19708,7 +19756,7 @@ snapshots: human-signals: 8.0.0 is-plain-obj: 4.1.0 is-stream: 4.0.1 - npm-run-path: 5.2.0 + npm-run-path: 6.0.0 pretty-ms: 9.0.0 signal-exit: 4.1.0 strip-final-newline: 4.0.0 @@ -22486,9 +22534,9 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@14.2.12(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - '@next/env': 14.2.12 + '@next/env': 14.2.13 '@swc/helpers': 0.5.5 busboy: 1.6.0 caniuse-lite: 1.0.30001649 @@ -22498,15 +22546,15 @@ snapshots: react-dom: 18.3.1(react@18.3.1) styled-jsx: 5.1.1(@babel/core@7.25.2)(babel-plugin-macros@3.1.0)(react@18.3.1) optionalDependencies: - '@next/swc-darwin-arm64': 14.2.12 - '@next/swc-darwin-x64': 14.2.12 - '@next/swc-linux-arm64-gnu': 14.2.12 - '@next/swc-linux-arm64-musl': 14.2.12 - '@next/swc-linux-x64-gnu': 14.2.12 - '@next/swc-linux-x64-musl': 14.2.12 - '@next/swc-win32-arm64-msvc': 14.2.12 - '@next/swc-win32-ia32-msvc': 14.2.12 - '@next/swc-win32-x64-msvc': 14.2.12 + '@next/swc-darwin-arm64': 14.2.13 + '@next/swc-darwin-x64': 14.2.13 + '@next/swc-linux-arm64-gnu': 14.2.13 + '@next/swc-linux-arm64-musl': 14.2.13 + '@next/swc-linux-x64-gnu': 14.2.13 + '@next/swc-linux-x64-musl': 14.2.13 + '@next/swc-win32-arm64-msvc': 14.2.13 + '@next/swc-win32-ia32-msvc': 14.2.13 + '@next/swc-win32-x64-msvc': 14.2.13 '@opentelemetry/api': 1.8.0 '@playwright/test': 1.47.1 transitivePeerDependencies: @@ -22712,6 +22760,11 @@ snapshots: dependencies: path-key: 4.0.0 + npm-run-path@6.0.0: + dependencies: + path-key: 4.0.0 + unicorn-magic: 0.3.0 + nprogress@0.2.0: {} nth-check@2.1.1: @@ -25349,6 +25402,8 @@ snapshots: unicorn-magic@0.1.0: {} + unicorn-magic@0.3.0: {} + unified@11.0.5: dependencies: '@types/unist': 3.0.2 From c9e90ee2bc91a68db2c75befe6156cf1b92eff26 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 09:57:02 +0200 Subject: [PATCH 07/52] Bump eslint-plugin-react to ^7.36.1 (#43853) --- package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 26499d1a79e593..8efdd253492b40 100644 --- a/package.json +++ b/package.json @@ -161,7 +161,7 @@ "eslint-plugin-jsx-a11y": "6.7.1", "eslint-plugin-material-ui": "workspace:^", "eslint-plugin-mocha": "^10.5.0", - "eslint-plugin-react": "^7.35.2", + "eslint-plugin-react": "^7.36.1", "eslint-plugin-react-compiler": "0.0.0-experimental-75b9fd4-20240912", "eslint-plugin-react-hooks": "^4.6.2", "fast-glob": "^3.3.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d5026489543cbb..0ab91fb63290cc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -185,7 +185,7 @@ importers: version: 8.57.0 eslint-config-airbnb: specifier: ^19.0.4 - version: 19.0.4(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.0))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.35.2(eslint@8.57.0))(eslint@8.57.0) + version: 19.0.4(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.0))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.36.1(eslint@8.57.0))(eslint@8.57.0) eslint-config-airbnb-typescript: specifier: ^18.0.0 version: 18.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0) @@ -214,8 +214,8 @@ importers: specifier: ^10.5.0 version: 10.5.0(eslint@8.57.0) eslint-plugin-react: - specifier: ^7.35.2 - version: 7.35.2(eslint@8.57.0) + specifier: ^7.36.1 + version: 7.36.1(eslint@8.57.0) eslint-plugin-react-compiler: specifier: 0.0.0-experimental-75b9fd4-20240912 version: 0.0.0-experimental-75b9fd4-20240912(eslint@8.57.0) @@ -7675,8 +7675,8 @@ packages: peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - eslint-plugin-react@7.35.2: - resolution: {integrity: sha512-Rbj2R9zwP2GYNcIak4xoAMV57hrBh3hTaR0k7hVjwCQgryE/pw5px4b13EYjduOI0hfXyZhwBxaGpOTbWSGzKQ==} + eslint-plugin-react@7.36.1: + resolution: {integrity: sha512-/qwbqNXZoq+VP30s1d4Nc1C5GTxjJQjk4Jzs4Wq2qzxFM7dSmuG2UkIjg2USMLh3A/aVcUNrK7v0J5U1XEGGwA==} engines: {node: '>=4'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 @@ -19400,13 +19400,13 @@ snapshots: transitivePeerDependencies: - eslint-plugin-import - eslint-config-airbnb@19.0.4(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.0))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.35.2(eslint@8.57.0))(eslint@8.57.0): + eslint-config-airbnb@19.0.4(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.0))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.36.1(eslint@8.57.0))(eslint@8.57.0): dependencies: eslint: 8.57.0 eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.57.0) - eslint-plugin-react: 7.35.2(eslint@8.57.0) + eslint-plugin-react: 7.36.1(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) object.assign: 4.1.5 object.entries: 1.1.8 @@ -19534,7 +19534,7 @@ snapshots: dependencies: eslint: 8.57.0 - eslint-plugin-react@7.35.2(eslint@8.57.0): + eslint-plugin-react@7.36.1(eslint@8.57.0): dependencies: array-includes: 3.1.8 array.prototype.findlast: 1.2.5 From 4e849c345decaa5cf7c5169ad3826a260987f7df Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 09:57:34 +0200 Subject: [PATCH 08/52] Bump babel-loader to ^9.2.1 (#43851) --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 8efdd253492b40..06d06612294b01 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,7 @@ "@types/yargs": "^17.0.33", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", - "babel-loader": "^9.1.3", + "babel-loader": "^9.2.1", "babel-plugin-istanbul": "^7.0.0", "babel-plugin-macros": "^3.1.0", "babel-plugin-module-resolver": "^5.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0ab91fb63290cc..ee9608938e84df 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -139,8 +139,8 @@ importers: specifier: ^7.18.0 version: 7.18.0(eslint@8.57.0)(typescript@5.5.4) babel-loader: - specifier: ^9.1.3 - version: 9.1.3(@babel/core@7.25.2)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) + specifier: ^9.2.1 + version: 9.2.1(@babel/core@7.25.2)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) babel-plugin-istanbul: specifier: ^7.0.0 version: 7.0.0 @@ -6200,8 +6200,8 @@ packages: peerDependencies: '@babel/core': ^7.25.2 - babel-loader@9.1.3: - resolution: {integrity: sha512-xG3ST4DglodGf8qSwv0MdeWLhrDsw/32QMdTO5T1ZIp9gQur0HkCyFs7Awskr10JKXFXwpAhiCuYX5oGXnRGbw==} + babel-loader@9.2.1: + resolution: {integrity: sha512-fqe8naHt46e0yIdkjUZYqddSXfej3AHajX+CSO5X7oy0EmPc6o5Xh+RClNoHjnieWz9AW4kZxW9yyFMhVB1QLA==} engines: {node: '>= 14.15.0'} peerDependencies: '@babel/core': ^7.25.2 @@ -17704,7 +17704,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 - babel-loader@9.1.3(@babel/core@7.25.2)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))): + babel-loader@9.2.1(@babel/core@7.25.2)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))): dependencies: '@babel/core': 7.25.2 find-cache-dir: 4.0.0 From 8bdbd05270fc79c73f5faf37f818402fee78ce8a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 09:58:04 +0200 Subject: [PATCH 09/52] Bump vite to 5.4.7 (#43848) --- apps/pigment-css-vite-app/package.json | 2 +- pnpm-lock.yaml | 38 +++++++++++++------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/apps/pigment-css-vite-app/package.json b/apps/pigment-css-vite-app/package.json index 07baa331dc8ea7..bc8dd707a50531 100644 --- a/apps/pigment-css-vite-app/package.json +++ b/apps/pigment-css-vite-app/package.json @@ -34,7 +34,7 @@ "@vitejs/plugin-react": "^4.3.1", "postcss": "^8.4.47", "postcss-combine-media-query": "^1.0.1", - "vite": "5.4.6", + "vite": "5.4.7", "vite-plugin-node-polyfills": "0.22.0", "vite-plugin-pages": "^0.32.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ee9608938e84df..9d0207b0a25b32 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -436,7 +436,7 @@ importers: version: 7.24.7(@babel/core@7.25.2) '@pigment-css/vite-plugin': specifier: 0.0.23 - version: 0.0.23(@types/react@18.3.4)(react@18.3.1)(vite@5.4.6(@types/node@20.16.5)(terser@5.29.2)) + version: 0.0.23(@types/react@18.3.4)(react@18.3.1)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) '@types/react': specifier: ^18.3.4 version: 18.3.4 @@ -448,7 +448,7 @@ importers: version: 1.6.38 '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.1(vite@5.4.6(@types/node@20.16.5)(terser@5.29.2)) + version: 4.3.1(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) postcss: specifier: ^8.4.47 version: 8.4.47 @@ -456,14 +456,14 @@ importers: specifier: ^1.0.1 version: 1.0.1 vite: - specifier: 5.4.6 - version: 5.4.6(@types/node@20.16.5)(terser@5.29.2) + specifier: 5.4.7 + version: 5.4.7(@types/node@20.16.5)(terser@5.29.2) vite-plugin-node-polyfills: specifier: 0.22.0 - version: 0.22.0(rollup@4.21.1)(vite@5.4.6(@types/node@20.16.5)(terser@5.29.2)) + version: 0.22.0(rollup@4.21.1)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) vite-plugin-pages: specifier: ^0.32.3 - version: 0.32.3(vite@5.4.6(@types/node@20.16.5)(terser@5.29.2)) + version: 0.32.3(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) benchmark: dependencies: @@ -12620,8 +12620,8 @@ packages: vue-router: optional: true - vite@5.4.6: - resolution: {integrity: sha512-IeL5f8OO5nylsgzd9tq4qD2QqI0k2CQLGrWD0rCN0EQJZpBK5vJAx0I+GDkMOXxQX/OfFHMuLIx6ddAxGX/k+Q==} + vite@5.4.7: + resolution: {integrity: sha512-5l2zxqMEPVENgvzTuBpHer2awaetimj2BGkhBPdnwKbPNOlHsODU+oiazEZzLK7KhAnOrO+XGYJYn4ZlUhDtDQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -15936,7 +15936,7 @@ snapshots: - react - supports-color - '@pigment-css/vite-plugin@0.0.23(@types/react@18.3.4)(react@18.3.1)(vite@5.4.6(@types/node@20.16.5)(terser@5.29.2))': + '@pigment-css/vite-plugin@0.0.23(@types/react@18.3.4)(react@18.3.1)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2))': dependencies: '@babel/core': 7.25.2 '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) @@ -15944,7 +15944,7 @@ snapshots: '@wyw-in-js/shared': 0.5.4 '@wyw-in-js/transform': 0.5.4 babel-plugin-define-var: 0.1.0 - vite: 5.4.6(@types/node@20.16.5)(terser@5.29.2) + vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) transitivePeerDependencies: - '@types/react' - react @@ -17116,14 +17116,14 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-react@4.3.1(vite@5.4.6(@types/node@20.16.5)(terser@5.29.2))': + '@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx-self': 7.24.6(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-source': 7.24.1(@babel/core@7.25.2) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.4.6(@types/node@20.16.5)(terser@5.29.2) + vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) transitivePeerDependencies: - supports-color @@ -25579,7 +25579,7 @@ snapshots: debug: 4.3.6(supports-color@8.1.1) pathe: 1.1.2 tinyrainbow: 1.2.0 - vite: 5.4.6(@types/node@20.16.5)(terser@5.29.2) + vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) transitivePeerDependencies: - '@types/node' - less @@ -25591,15 +25591,15 @@ snapshots: - supports-color - terser - vite-plugin-node-polyfills@0.22.0(rollup@4.21.1)(vite@5.4.6(@types/node@20.16.5)(terser@5.29.2)): + vite-plugin-node-polyfills@0.22.0(rollup@4.21.1)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)): dependencies: '@rollup/plugin-inject': 5.0.5(rollup@4.21.1) node-stdlib-browser: 1.2.0 - vite: 5.4.6(@types/node@20.16.5)(terser@5.29.2) + vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) transitivePeerDependencies: - rollup - vite-plugin-pages@0.32.3(vite@5.4.6(@types/node@20.16.5)(terser@5.29.2)): + vite-plugin-pages@0.32.3(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)): dependencies: '@types/debug': 4.1.12 debug: 4.3.6(supports-color@8.1.1) @@ -25609,12 +25609,12 @@ snapshots: json5: 2.2.3 local-pkg: 0.5.0 picocolors: 1.1.0 - vite: 5.4.6(@types/node@20.16.5)(terser@5.29.2) + vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) yaml: 2.5.1 transitivePeerDependencies: - supports-color - vite@5.4.6(@types/node@20.16.5)(terser@5.29.2): + vite@5.4.7(@types/node@20.16.5)(terser@5.29.2): dependencies: esbuild: 0.21.5 postcss: 8.4.47 @@ -25642,7 +25642,7 @@ snapshots: tinybench: 2.8.0 tinypool: 1.0.0 tinyrainbow: 1.2.0 - vite: 5.4.6(@types/node@20.16.5)(terser@5.29.2) + vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) vite-node: 2.0.5(@types/node@20.16.5)(terser@5.29.2) why-is-node-running: 2.3.0 optionalDependencies: From baffb1273d9dabd42b8d4d32ca2a12740225adda Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 09:58:24 +0200 Subject: [PATCH 10/52] Bump tailwindcss to ^3.4.12 (#43847) --- docs/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/package.json b/docs/package.json index 5111ea20fd25b8..bc60385453af41 100644 --- a/docs/package.json +++ b/docs/package.json @@ -138,7 +138,7 @@ "marked": "^13.0.3", "playwright": "^1.47.1", "prettier": "^3.3.3", - "tailwindcss": "^3.4.11", + "tailwindcss": "^3.4.12", "yargs": "^17.7.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9d0207b0a25b32..7dd8590d8c3006 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -904,8 +904,8 @@ importers: specifier: ^3.3.3 version: 3.3.3 tailwindcss: - specifier: ^3.4.11 - version: 3.4.11 + specifier: ^3.4.12 + version: 3.4.12 yargs: specifier: ^17.7.2 version: 17.7.2 @@ -12068,8 +12068,8 @@ packages: resolution: {integrity: sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==} engines: {node: '>=10.0.0'} - tailwindcss@3.4.11: - resolution: {integrity: sha512-qhEuBcLemjSJk5ajccN9xJFtM/h0AVCPaA6C92jNP+M2J8kX+eMJHI7R2HFKUvvAsMpcfLILMCFYSeDwpMmlUg==} + tailwindcss@3.4.12: + resolution: {integrity: sha512-Htf/gHj2+soPb9UayUNci/Ja3d8pTmu9ONTfh4QY8r3MATTZOzmv6UYWF7ZwikEIC8okpfqmGqrmDehua8mF8w==} engines: {node: '>=14.0.0'} hasBin: true @@ -25043,7 +25043,7 @@ snapshots: string-width: 4.2.3 strip-ansi: 6.0.1 - tailwindcss@3.4.11: + tailwindcss@3.4.12: dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 From ea9e6af625433380a5ddfc4db4d0071279e4bb26 Mon Sep 17 00:00:00 2001 From: Siriwat K Date: Mon, 23 Sep 2024 11:59:39 +0400 Subject: [PATCH 11/52] [Button] Fix regression for color `inherit` (#43862) --- packages/mui-material/src/Button/Button.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/mui-material/src/Button/Button.js b/packages/mui-material/src/Button/Button.js index 6ddfe62dd10d71..8b2f0b1dccddf2 100644 --- a/packages/mui-material/src/Button/Button.js +++ b/packages/mui-material/src/Button/Button.js @@ -192,10 +192,8 @@ const ButtonRoot = styled(ButtonBase, { color: 'inherit', }, style: { - '--variant-containedColor': theme.vars - ? // this is safe because grey does not change between default light/dark mode - theme.vars.palette.text.primary - : theme.palette.getContrastText?.(inheritContainedBackgroundColor), + color: 'inherit', + borderColor: 'currentColor', '--variant-containedBg': theme.vars ? theme.vars.palette.Button.inheritContainedBg : inheritContainedBackgroundColor, From 9bea1fd622ac3cc3aea8b9a829341461cd2c616c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 12:55:38 +0200 Subject: [PATCH 12/52] Bump eslint-plugin-import to ^2.30.0 (#43852) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 90 +++++++++++++++++++++++++++----------------------- 2 files changed, 50 insertions(+), 42 deletions(-) diff --git a/package.json b/package.json index 06d06612294b01..1cbb1298b1ab1c 100644 --- a/package.json +++ b/package.json @@ -157,7 +157,7 @@ "eslint-import-resolver-webpack": "^0.13.9", "eslint-plugin-babel": "^5.3.1", "eslint-plugin-filenames": "^1.3.2", - "eslint-plugin-import": "^2.29.1", + "eslint-plugin-import": "^2.30.0", "eslint-plugin-jsx-a11y": "6.7.1", "eslint-plugin-material-ui": "workspace:^", "eslint-plugin-mocha": "^10.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7dd8590d8c3006..42d1c47cafe21b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -185,16 +185,16 @@ importers: version: 8.57.0 eslint-config-airbnb: specifier: ^19.0.4 - version: 19.0.4(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.0))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.36.1(eslint@8.57.0))(eslint@8.57.0) + version: 19.0.4(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.0))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.36.1(eslint@8.57.0))(eslint@8.57.0) eslint-config-airbnb-typescript: specifier: ^18.0.0 - version: 18.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0) + version: 18.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0) eslint-config-prettier: specifier: ^9.1.0 version: 9.1.0(eslint@8.57.0) eslint-import-resolver-webpack: specifier: ^0.13.9 - version: 0.13.9(eslint-plugin-import@2.29.1)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) + version: 0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) eslint-plugin-babel: specifier: ^5.3.1 version: 5.3.1(eslint@8.57.0) @@ -202,8 +202,8 @@ importers: specifier: ^1.3.2 version: 1.3.2(eslint@8.57.0) eslint-plugin-import: - specifier: ^2.29.1 - version: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0) + specifier: ^2.30.0 + version: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0) eslint-plugin-jsx-a11y: specifier: 6.7.1 version: 6.7.1(eslint@8.57.0) @@ -5169,6 +5169,9 @@ packages: cpu: [x64] os: [win32] + '@rtsao/scc@1.1.0': + resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} + '@sec-ant/readable-stream@0.4.1': resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==} @@ -6073,8 +6076,8 @@ packages: resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==} engines: {node: '>= 0.4'} - array.prototype.findlastindex@1.2.3: - resolution: {integrity: sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA==} + array.prototype.findlastindex@1.2.5: + resolution: {integrity: sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==} engines: {node: '>= 0.4'} array.prototype.flat@1.3.2: @@ -7609,8 +7612,8 @@ packages: eslint-plugin-import: '>=1.4.0' webpack: '>=1.11.0' - eslint-module-utils@2.8.0: - resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} + eslint-module-utils@2.11.0: + resolution: {integrity: sha512-gbBE5Hitek/oG6MUVj6sFuzEjA/ClzNflVrLovHi/JgLdC7fiN5gLAY1WIPW1a0V5I999MnsrvVrCOGmmVqDBQ==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -7641,8 +7644,8 @@ packages: peerDependencies: eslint: '*' - eslint-plugin-import@2.29.1: - resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} + eslint-plugin-import@2.30.0: + resolution: {integrity: sha512-/mHNE9jINJfiD2EKkg1BKyPyUk4zdnT54YgbOgfjSakWT5oyX/qQLVNTkehyfpcMxZXMy1zyonZ2v7hZTX43Yw==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -8642,8 +8645,9 @@ packages: resolution: {integrity: sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==} hasBin: true - is-core-module@2.13.1: - resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} + is-core-module@2.15.1: + resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==} + engines: {node: '>= 0.4'} is-data-view@1.0.1: resolution: {integrity: sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==} @@ -10231,8 +10235,9 @@ packages: resolution: {integrity: sha512-sccv3L/pMModT6dJAYF3fzGMVcb38ysQ0tEE6ixv2yXJDtEIPph268OlAdJj5/qZMZDq2g/jqvwppt36uS/uQQ==} engines: {node: '>= 0.8'} - object.groupby@1.0.1: - resolution: {integrity: sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ==} + object.groupby@1.0.3: + resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==} + engines: {node: '>= 0.4'} object.omit@3.0.0: resolution: {integrity: sha512-EO+BCv6LJfu+gBIF3ggLicFebFLN5zqzz/WWJlMFfkMyGth+oBkhxzDl0wx2W4GkLzuQs/FsSkXZb2IMWQqmBQ==} @@ -16393,6 +16398,8 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.21.1': optional: true + '@rtsao/scc@1.1.0': {} + '@sec-ant/readable-stream@0.4.1': {} '@sideway/address@4.1.5': @@ -17540,13 +17547,14 @@ snapshots: es-object-atoms: 1.0.0 es-shim-unscopables: 1.0.2 - array.prototype.findlastindex@1.2.3: + array.prototype.findlastindex@1.2.5: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 es-abstract: 1.23.3 + es-errors: 1.3.0 + es-object-atoms: 1.0.0 es-shim-unscopables: 1.0.2 - get-intrinsic: 1.2.4 array.prototype.flat@1.3.2: dependencies: @@ -19382,29 +19390,29 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-config-airbnb-base@15.0.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0): + eslint-config-airbnb-base@15.0.0(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0): dependencies: confusing-browser-globals: 1.0.11 eslint: 8.57.0 - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0) object.assign: 4.1.5 object.entries: 1.1.8 semver: 6.3.1 - eslint-config-airbnb-typescript@18.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0): + eslint-config-airbnb-typescript@18.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0): dependencies: '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.5.4) eslint: 8.57.0 - eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0) + eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0) transitivePeerDependencies: - eslint-plugin-import - eslint-config-airbnb@19.0.4(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.0))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.36.1(eslint@8.57.0))(eslint@8.57.0): + eslint-config-airbnb@19.0.4(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.0))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.36.1(eslint@8.57.0))(eslint@8.57.0): dependencies: eslint: 8.57.0 - eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0) + eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.57.0) eslint-plugin-react: 7.36.1(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) @@ -19418,20 +19426,20 @@ snapshots: eslint-import-resolver-node@0.3.9: dependencies: debug: 3.2.7 - is-core-module: 2.13.1 + is-core-module: 2.15.1 resolve: 1.22.8 transitivePeerDependencies: - supports-color - eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.29.1)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))): + eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))): dependencies: debug: 3.2.7 enhanced-resolve: 0.9.1 - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0) find-root: 1.1.0 hasown: 2.0.2 interpret: 1.4.0 - is-core-module: 2.13.1 + is-core-module: 2.15.1 is-regex: 1.1.4 lodash: 4.17.21 resolve: 2.0.0-next.5 @@ -19440,14 +19448,14 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.29.1)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))))(eslint@8.57.0): + eslint-module-utils@2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))))(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.5.4) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-webpack: 0.13.9(eslint-plugin-import@2.29.1)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) + eslint-import-resolver-webpack: 0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) transitivePeerDependencies: - supports-color @@ -19464,23 +19472,24 @@ snapshots: lodash.snakecase: 4.1.1 lodash.upperfirst: 4.3.1 - eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0): + eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0): dependencies: + '@rtsao/scc': 1.1.0 array-includes: 3.1.8 - array.prototype.findlastindex: 1.2.3 + array.prototype.findlastindex: 1.2.5 array.prototype.flat: 1.3.2 array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.29.1)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))))(eslint@8.57.0) + eslint-module-utils: 2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))))(eslint@8.57.0) hasown: 2.0.2 - is-core-module: 2.13.1 + is-core-module: 2.15.1 is-glob: 4.0.3 minimatch: 3.1.2 object.fromentries: 2.0.8 - object.groupby: 1.0.1 + object.groupby: 1.0.3 object.values: 1.2.0 semver: 6.3.1 tsconfig-paths: 3.15.0 @@ -20748,7 +20757,7 @@ snapshots: dependencies: ci-info: 3.9.0 - is-core-module@2.13.1: + is-core-module@2.15.1: dependencies: hasown: 2.0.2 @@ -22684,7 +22693,7 @@ snapshots: normalize-package-data@3.0.3: dependencies: hosted-git-info: 4.1.0 - is-core-module: 2.13.1 + is-core-module: 2.15.1 semver: 7.6.3 validate-npm-package-license: 3.0.4 @@ -22904,12 +22913,11 @@ snapshots: define-properties: 1.2.1 es-abstract: 1.23.3 - object.groupby@1.0.1: + object.groupby@1.0.3: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 es-abstract: 1.23.3 - get-intrinsic: 1.2.4 object.omit@3.0.0: dependencies: @@ -24217,13 +24225,13 @@ snapshots: resolve@1.22.8: dependencies: - is-core-module: 2.13.1 + is-core-module: 2.15.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 resolve@2.0.0-next.5: dependencies: - is-core-module: 2.13.1 + is-core-module: 2.15.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 From 63892da8c614ffb842f5ff4f9184a4c128e70b01 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 12:56:13 +0200 Subject: [PATCH 13/52] Bump @next/eslint-plugin-next to ^14.2.13 (#43841) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 1cbb1298b1ab1c..941e685011373b 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "@mui/joy": "workspace:*", "@mui/material": "workspace:^", "@mui/utils": "workspace:^", - "@next/eslint-plugin-next": "^14.2.11", + "@next/eslint-plugin-next": "^14.2.13", "@octokit/rest": "^21.0.2", "@pigment-css/react": "0.0.23", "@playwright/test": "1.47.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 42d1c47cafe21b..de38919fc2ecc6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -100,8 +100,8 @@ importers: specifier: workspace:^ version: link:packages/mui-utils/build '@next/eslint-plugin-next': - specifier: ^14.2.11 - version: 14.2.11 + specifier: ^14.2.13 + version: 14.2.13 '@octokit/rest': specifier: ^21.0.2 version: 21.0.2 @@ -4446,8 +4446,8 @@ packages: '@next/env@14.2.13': resolution: {integrity: sha512-s3lh6K8cbW1h5Nga7NNeXrbe0+2jIIYK9YaA9T7IufDWnZpozdFUp6Hf0d5rNWUKu4fEuSX2rCKlGjCrtylfDw==} - '@next/eslint-plugin-next@14.2.11': - resolution: {integrity: sha512-7mw+xW7Y03Ph4NTCcAzYe+vu4BNjEHZUfZayyF3Y1D9RX6c5NIe25m1grHEAkyUuaqjRxOYhnCNeglOkIqLkBA==} + '@next/eslint-plugin-next@14.2.13': + resolution: {integrity: sha512-z8Mk0VljxhIzsSiZUSdt3wp+t2lKd+jk5a9Jsvh3zDGkItgDMfjv/ZbET6HsxEl/fSihVoHGsXV6VLyDH0lfTQ==} '@next/swc-darwin-arm64@14.2.11': resolution: {integrity: sha512-eiY9u7wEJZWp/Pga07Qy3ZmNEfALmmSS1HtsJF3y1QEyaExu7boENz11fWqDmZ3uvcyAxCMhTrA1jfVxITQW8g==} @@ -15401,7 +15401,7 @@ snapshots: '@next/env@14.2.13': {} - '@next/eslint-plugin-next@14.2.11': + '@next/eslint-plugin-next@14.2.13': dependencies: glob: 10.3.10 From 0768fcd850049fc67bd974c3d47848d036e75c8d Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Mon, 23 Sep 2024 13:01:19 +0200 Subject: [PATCH 14/52] [docs] Fix Sign-in template form experience (#43838) --- .../templates/sign-in-side/SignInCard.js | 8 +- .../templates/sign-in-side/SignInCard.tsx | 8 +- .../templates/sign-in-side/SignInSide.js | 2 +- .../templates/sign-in-side/SignInSide.tsx | 2 +- .../templates/sign-in/SignIn.js | 15 +- .../templates/sign-in/SignIn.tsx | 15 +- .../templates/sign-up/SignUp.js | 228 +++++++++-------- .../templates/sign-up/SignUp.tsx | 229 +++++++++--------- 8 files changed, 256 insertions(+), 251 deletions(-) diff --git a/docs/data/material/getting-started/templates/sign-in-side/SignInCard.js b/docs/data/material/getting-started/templates/sign-in-side/SignInCard.js index 57d293c0490a54..458568bf87b837 100644 --- a/docs/data/material/getting-started/templates/sign-in-side/SignInCard.js +++ b/docs/data/material/getting-started/templates/sign-in-side/SignInCard.js @@ -50,7 +50,10 @@ export default function SignInCard() { }; const handleSubmit = (event) => { - event.preventDefault(); + if (emailError || passwordError) { + event.preventDefault(); + return; + } const data = new FormData(event.currentTarget); console.log({ email: data.get('email'), @@ -126,6 +129,7 @@ export default function SignInCard() { Password or - - Already have an account?{' '} - - - Sign in - - - - - - or - - - - - - - + error={passwordError} + helperText={passwordErrorMessage} + color={passwordError ? 'error' : 'primary'} + /> + + } + label="I want to receive updates via email." + /> + + + Already have an account?{' '} + + + Sign in + + + + + + or + + + + + + diff --git a/docs/data/material/getting-started/templates/sign-up/SignUp.tsx b/docs/data/material/getting-started/templates/sign-up/SignUp.tsx index ce73b97e4438c2..a375bae9d1f15f 100644 --- a/docs/data/material/getting-started/templates/sign-up/SignUp.tsx +++ b/docs/data/material/getting-started/templates/sign-up/SignUp.tsx @@ -42,8 +42,11 @@ const Card = styled(MuiCard)(({ theme }) => ({ })); const SignUpContainer = styled(Stack)(({ theme }) => ({ - height: '100%', - padding: 4, + minHeight: '100%', + padding: theme.spacing(2), + [theme.breakpoints.up('sm')]: { + padding: theme.spacing(4), + }, backgroundImage: 'radial-gradient(ellipse at 50% 50%, hsl(210, 100%, 97%), hsl(0, 0%, 100%))', backgroundRepeat: 'no-repeat', @@ -58,12 +61,12 @@ export default function SignUp() { const [showCustomTheme, setShowCustomTheme] = React.useState(true); const defaultTheme = createTheme({ palette: { mode } }); const SignUpTheme = createTheme(getSignUpTheme(mode)); + const [nameError, setNameError] = React.useState(false); + const [nameErrorMessage, setNameErrorMessage] = React.useState(''); const [emailError, setEmailError] = React.useState(false); const [emailErrorMessage, setEmailErrorMessage] = React.useState(''); const [passwordError, setPasswordError] = React.useState(false); const [passwordErrorMessage, setPasswordErrorMessage] = React.useState(''); - const [nameError, setNameError] = React.useState(false); - const [nameErrorMessage, setNameErrorMessage] = React.useState(''); // This code only runs on the client side, to determine the system color preference React.useEffect(() => { // Check if there is a preferred mode in localStorage @@ -127,7 +130,10 @@ export default function SignUp() { }; const handleSubmit = (event: React.FormEvent) => { - event.preventDefault(); + if (nameError || emailError || passwordError) { + event.preventDefault(); + return; + } const data = new FormData(event.currentTarget); console.log({ name: data.get('name'), @@ -146,124 +152,113 @@ export default function SignUp() { > - - - - - - Sign up - - - - Full name - - - - Email - - - - Password - - - } - label="I want to receive updates via email." - /> - - - Already have an account?{' '} - - - Sign in - - - - - - or - - - - - - - + error={passwordError} + helperText={passwordErrorMessage} + color={passwordError ? 'error' : 'primary'} + /> + + } + label="I want to receive updates via email." + /> + + + Already have an account?{' '} + + + Sign in + + + + + + or + + + + + + From 7f9fe3782aca56d5d7e1c56b25a7eabe3be31412 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 13:03:16 +0200 Subject: [PATCH 15/52] Bump @types/prop-types to ^15.7.13 (#43842) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- docs/package.json | 2 +- packages-internal/test-utils/package.json | 2 +- packages/mui-base/package.json | 2 +- packages/mui-docs/package.json | 2 +- packages/mui-joy/package.json | 2 +- packages/mui-lab/package.json | 2 +- packages/mui-material/package.json | 2 +- packages/mui-system/package.json | 2 +- packages/mui-utils/package.json | 2 +- pnpm-lock.yaml | 54 +++++++++++------------ 10 files changed, 36 insertions(+), 36 deletions(-) diff --git a/docs/package.json b/docs/package.json index bc60385453af41..15173cf6397faf 100644 --- a/docs/package.json +++ b/docs/package.json @@ -125,7 +125,7 @@ "@types/gtag.js": "^0.0.20", "@types/json2mq": "^0.2.2", "@types/node": "^20.16.5", - "@types/prop-types": "^15.7.12", + "@types/prop-types": "^15.7.13", "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "@types/react-swipeable-views": "^0.13.5", diff --git a/packages-internal/test-utils/package.json b/packages-internal/test-utils/package.json index 5f9dbe61be48d6..57607e162cbb9d 100644 --- a/packages-internal/test-utils/package.json +++ b/packages-internal/test-utils/package.json @@ -56,7 +56,7 @@ "@types/chai": "^4.3.19", "@types/chai-dom": "^1.11.3", "@types/format-util": "^1.0.4", - "@types/prop-types": "^15.7.12", + "@types/prop-types": "^15.7.13", "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "@types/sinon": "^17.0.3", diff --git a/packages/mui-base/package.json b/packages/mui-base/package.json index d73a442a423322..f30326005055dd 100644 --- a/packages/mui-base/package.json +++ b/packages/mui-base/package.json @@ -55,7 +55,7 @@ "@testing-library/react": "^16.0.1", "@testing-library/user-event": "^14.5.2", "@types/chai": "^4.3.19", - "@types/prop-types": "^15.7.12", + "@types/prop-types": "^15.7.13", "@types/react": "18.3.4", "@types/react-dom": "18.3.0", "@types/sinon": "^17.0.3", diff --git a/packages/mui-docs/package.json b/packages/mui-docs/package.json index 4bc40a11ef92f9..cd429c2f350317 100644 --- a/packages/mui-docs/package.json +++ b/packages/mui-docs/package.json @@ -46,7 +46,7 @@ "@mui/material": "workspace:*", "@types/gtag.js": "^0.0.20", "@types/node": "^20.16.5", - "@types/prop-types": "^15.7.12", + "@types/prop-types": "^15.7.13", "@types/react": "^18.3.4", "next": "^14.2.11", "react": "^18.3.1" diff --git a/packages/mui-joy/package.json b/packages/mui-joy/package.json index 3f0b36d8a6f6ce..896ef4dca58a61 100644 --- a/packages/mui-joy/package.json +++ b/packages/mui-joy/package.json @@ -51,7 +51,7 @@ "@mui/internal-test-utils": "workspace:^", "@mui/material": "workspace:^", "@types/chai": "^4.3.19", - "@types/prop-types": "^15.7.12", + "@types/prop-types": "^15.7.13", "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "@types/sinon": "^17.0.3", diff --git a/packages/mui-lab/package.json b/packages/mui-lab/package.json index e5b0ab9783e581..acf063689ea42c 100644 --- a/packages/mui-lab/package.json +++ b/packages/mui-lab/package.json @@ -52,7 +52,7 @@ "@mui/internal-test-utils": "workspace:^", "@mui/material": "workspace:*", "@types/chai": "^4.3.19", - "@types/prop-types": "^15.7.12", + "@types/prop-types": "^15.7.13", "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "@types/sinon": "^17.0.3", diff --git a/packages/mui-material/package.json b/packages/mui-material/package.json index 9ae019544fb75c..deaa62decc3c5b 100644 --- a/packages/mui-material/package.json +++ b/packages/mui-material/package.json @@ -59,7 +59,7 @@ "@testing-library/dom": "^10.4.0", "@testing-library/user-event": "^14.5.2", "@types/chai": "^4.3.19", - "@types/prop-types": "^15.7.12", + "@types/prop-types": "^15.7.13", "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", "@types/sinon": "^17.0.3", diff --git a/packages/mui-system/package.json b/packages/mui-system/package.json index e3c324be26be92..4e7888f874a259 100644 --- a/packages/mui-system/package.json +++ b/packages/mui-system/package.json @@ -55,7 +55,7 @@ "@mui/internal-test-utils": "workspace:^", "@mui/system": "workspace:*", "@types/chai": "^4.3.19", - "@types/prop-types": "^15.7.12", + "@types/prop-types": "^15.7.13", "@types/react": "^18.3.4", "@types/sinon": "^17.0.3", "chai": "^4.5.0", diff --git a/packages/mui-utils/package.json b/packages/mui-utils/package.json index 1aa580b37c853b..a0cec5b9667f08 100644 --- a/packages/mui-utils/package.json +++ b/packages/mui-utils/package.json @@ -40,7 +40,7 @@ "dependencies": { "@babel/runtime": "^7.25.6", "@mui/types": "workspace:^", - "@types/prop-types": "^15.7.12", + "@types/prop-types": "^15.7.13", "clsx": "^2.1.1", "prop-types": "^15.8.1", "react-is": "^18.3.1" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index de38919fc2ecc6..4d96a6eef7dd4f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -865,8 +865,8 @@ importers: specifier: ^20.16.5 version: 20.16.5 '@types/prop-types': - specifier: ^15.7.12 - version: 15.7.12 + specifier: ^15.7.13 + version: 15.7.13 '@types/react': specifier: ^18.3.4 version: 18.3.4 @@ -1084,8 +1084,8 @@ importers: specifier: ^1.0.4 version: 1.0.4 '@types/prop-types': - specifier: ^15.7.12 - version: 15.7.12 + specifier: ^15.7.13 + version: 15.7.13 '@types/react': specifier: ^18.3.4 version: 18.3.4 @@ -1344,8 +1344,8 @@ importers: specifier: ^4.3.19 version: 4.3.19 '@types/prop-types': - specifier: ^15.7.12 - version: 15.7.12 + specifier: ^15.7.13 + version: 15.7.13 '@types/react': specifier: ^18.3.4 version: 18.3.4 @@ -1462,8 +1462,8 @@ importers: specifier: ^20.16.5 version: 20.16.5 '@types/prop-types': - specifier: ^15.7.12 - version: 15.7.12 + specifier: ^15.7.13 + version: 15.7.13 '@types/react': specifier: ^18.3.4 version: 18.3.4 @@ -1621,8 +1621,8 @@ importers: specifier: ^4.3.19 version: 4.3.19 '@types/prop-types': - specifier: ^15.7.12 - version: 15.7.12 + specifier: ^15.7.13 + version: 15.7.13 '@types/react': specifier: ^18.3.4 version: 18.3.4 @@ -1698,8 +1698,8 @@ importers: specifier: ^4.3.19 version: 4.3.19 '@types/prop-types': - specifier: ^15.7.12 - version: 15.7.12 + specifier: ^15.7.13 + version: 15.7.13 '@types/react': specifier: ^18.3.4 version: 18.3.4 @@ -1787,8 +1787,8 @@ importers: specifier: ^4.3.19 version: 4.3.19 '@types/prop-types': - specifier: ^15.7.12 - version: 15.7.12 + specifier: ^15.7.13 + version: 15.7.13 '@types/react': specifier: ^18.3.4 version: 18.3.4 @@ -2118,8 +2118,8 @@ importers: specifier: ^4.3.19 version: 4.3.19 '@types/prop-types': - specifier: ^15.7.12 - version: 15.7.12 + specifier: ^15.7.13 + version: 15.7.13 '@types/react': specifier: ^18.3.4 version: 18.3.4 @@ -2165,8 +2165,8 @@ importers: specifier: workspace:^ version: link:../mui-types/build '@types/prop-types': - specifier: ^15.7.12 - version: 15.7.12 + specifier: ^15.7.13 + version: 15.7.13 clsx: specifier: ^2.1.1 version: 2.1.1 @@ -5587,8 +5587,8 @@ packages: '@types/promise.allsettled@1.0.3': resolution: {integrity: sha512-b/IFHHTkYkTqu41IH9UtpICwqrpKj2oNlb4KHPzFQDMiz+h1BgAeATeO0/XTph4+UkH9W2U0E4B4j64KWOovag==} - '@types/prop-types@15.7.12': - resolution: {integrity: sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==} + '@types/prop-types@15.7.13': + resolution: {integrity: sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==} '@types/qs@6.9.7': resolution: {integrity: sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==} @@ -15140,7 +15140,7 @@ snapshots: dependencies: '@babel/runtime': 7.25.6 '@mui/types': 7.2.17(@types/react@18.3.4) - '@types/prop-types': 15.7.12 + '@types/prop-types': 15.7.13 clsx: 2.1.1 prop-types: 15.8.1 react: 18.3.1 @@ -15152,7 +15152,7 @@ snapshots: dependencies: '@babel/runtime': 7.25.6 '@mui/types': 7.2.17(@types/react@18.3.4) - '@types/prop-types': 15.7.12 + '@types/prop-types': 15.7.13 clsx: 2.1.1 prop-types: 15.8.1 react: 18.3.1 @@ -15164,7 +15164,7 @@ snapshots: dependencies: '@babel/runtime': 7.25.6 '@mui/types': 7.2.17(@types/react@18.3.4) - '@types/prop-types': 15.7.12 + '@types/prop-types': 15.7.13 clsx: 2.1.1 prop-types: 15.8.1 react: 18.3.1 @@ -15176,7 +15176,7 @@ snapshots: dependencies: '@babel/runtime': 7.25.6 '@mui/types': 7.2.17(@types/react@18.3.4) - '@types/prop-types': 15.7.12 + '@types/prop-types': 15.7.13 clsx: 2.1.1 prop-types: 15.8.1 react: 18.3.1 @@ -16946,7 +16946,7 @@ snapshots: '@types/promise.allsettled@1.0.3': {} - '@types/prop-types@15.7.12': {} + '@types/prop-types@15.7.13': {} '@types/qs@6.9.7': {} @@ -16982,7 +16982,7 @@ snapshots: '@types/react@18.3.4': dependencies: - '@types/prop-types': 15.7.12 + '@types/prop-types': 15.7.13 csstype: 3.1.3 '@types/resolve@1.20.6': {} @@ -21905,7 +21905,7 @@ snapshots: dependencies: '@babel/runtime': 7.25.6 '@mui/material': link:packages/mui-material/build - '@types/prop-types': 15.7.12 + '@types/prop-types': 15.7.13 '@types/react': 18.3.4 classnames: 2.3.2 prop-types: 15.8.1 From 4edb5a586c4636d60be430b10f10c4e807e654f7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 13:39:05 +0200 Subject: [PATCH 16/52] Bump eslint to ^8.57.1 (#43844) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- apps/pigment-css-next-app/package.json | 2 +- package.json | 2 +- .../eslint-plugin-material-ui/package.json | 2 +- pnpm-lock.yaml | 178 +++++++++--------- 4 files changed, 92 insertions(+), 92 deletions(-) diff --git a/apps/pigment-css-next-app/package.json b/apps/pigment-css-next-app/package.json index 67c77343f34048..05598f26027fdb 100644 --- a/apps/pigment-css-next-app/package.json +++ b/apps/pigment-css-next-app/package.json @@ -27,7 +27,7 @@ "@types/node": "^20.16.5", "@types/react": "^18.3.4", "@types/react-dom": "^18.3.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "typescript": "^5.5.4" }, "nx": { diff --git a/package.json b/package.json index 941e685011373b..bd575bcc6e742e 100644 --- a/package.json +++ b/package.json @@ -150,7 +150,7 @@ "cpy-cli": "^5.0.0", "cross-env": "^7.0.3", "danger": "^12.3.3", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-config-prettier": "^9.1.0", diff --git a/packages/eslint-plugin-material-ui/package.json b/packages/eslint-plugin-material-ui/package.json index b436eae4683060..666c0e1773cc0a 100644 --- a/packages/eslint-plugin-material-ui/package.json +++ b/packages/eslint-plugin-material-ui/package.json @@ -10,7 +10,7 @@ "devDependencies": { "@types/eslint": "^8.56.12", "@typescript-eslint/parser": "^7.18.0", - "eslint": "^8.57.0" + "eslint": "^8.57.1" }, "peerDependencies": { "eslint": "^8.47.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4d96a6eef7dd4f..760206255240c8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,10 +134,10 @@ importers: version: 17.0.33 '@typescript-eslint/eslint-plugin': specifier: ^7.18.0 - version: 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) + version: 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4) '@typescript-eslint/parser': specifier: ^7.18.0 - version: 7.18.0(eslint@8.57.0)(typescript@5.5.4) + version: 7.18.0(eslint@8.57.1)(typescript@5.5.4) babel-loader: specifier: ^9.2.1 version: 9.2.1(@babel/core@7.25.2)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) @@ -181,47 +181,47 @@ importers: specifier: ^12.3.3 version: 12.3.3(encoding@0.1.13) eslint: - specifier: ^8.57.0 - version: 8.57.0 + specifier: ^8.57.1 + version: 8.57.1 eslint-config-airbnb: specifier: ^19.0.4 - version: 19.0.4(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.0))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.36.1(eslint@8.57.0))(eslint@8.57.0) + version: 19.0.4(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.36.1(eslint@8.57.1))(eslint@8.57.1) eslint-config-airbnb-typescript: specifier: ^18.0.0 - version: 18.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0) + version: 18.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1))(eslint@8.57.1) eslint-config-prettier: specifier: ^9.1.0 - version: 9.1.0(eslint@8.57.0) + version: 9.1.0(eslint@8.57.1) eslint-import-resolver-webpack: specifier: ^0.13.9 version: 0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) eslint-plugin-babel: specifier: ^5.3.1 - version: 5.3.1(eslint@8.57.0) + version: 5.3.1(eslint@8.57.1) eslint-plugin-filenames: specifier: ^1.3.2 - version: 1.3.2(eslint@8.57.0) + version: 1.3.2(eslint@8.57.1) eslint-plugin-import: specifier: ^2.30.0 - version: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0) + version: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1) eslint-plugin-jsx-a11y: specifier: 6.7.1 - version: 6.7.1(eslint@8.57.0) + version: 6.7.1(eslint@8.57.1) eslint-plugin-material-ui: specifier: workspace:^ version: link:packages/eslint-plugin-material-ui eslint-plugin-mocha: specifier: ^10.5.0 - version: 10.5.0(eslint@8.57.0) + version: 10.5.0(eslint@8.57.1) eslint-plugin-react: specifier: ^7.36.1 - version: 7.36.1(eslint@8.57.0) + version: 7.36.1(eslint@8.57.1) eslint-plugin-react-compiler: specifier: 0.0.0-experimental-75b9fd4-20240912 - version: 0.0.0-experimental-75b9fd4-20240912(eslint@8.57.0) + version: 0.0.0-experimental-75b9fd4-20240912(eslint@8.57.1) eslint-plugin-react-hooks: specifier: ^4.6.2 - version: 4.6.2(eslint@8.57.0) + version: 4.6.2(eslint@8.57.1) fast-glob: specifier: ^3.3.2 version: 3.3.2 @@ -377,8 +377,8 @@ importers: specifier: 18.3.0 version: 18.3.0 eslint: - specifier: ^8.57.0 - version: 8.57.0 + specifier: ^8.57.1 + version: 8.57.1 typescript: specifier: ^5.5.4 version: 5.5.4 @@ -1232,10 +1232,10 @@ importers: version: 8.56.12 '@typescript-eslint/parser': specifier: ^7.18.0 - version: 7.18.0(eslint@8.57.0)(typescript@5.5.4) + version: 7.18.0(eslint@8.57.1)(typescript@5.5.4) eslint: - specifier: ^8.57.0 - version: 8.57.0 + specifier: ^8.57.1 + version: 8.57.1 packages/feedback: dependencies: @@ -3765,8 +3765,8 @@ packages: resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@eslint/js@8.57.0': - resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==} + '@eslint/js@8.57.1': + resolution: {integrity: sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} '@fast-csv/format@4.3.5': @@ -3830,8 +3830,8 @@ packages: '@hapi/topo@5.1.0': resolution: {integrity: sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==} - '@humanwhocodes/config-array@0.11.14': - resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} + '@humanwhocodes/config-array@0.13.0': + resolution: {integrity: sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==} engines: {node: '>=10.10.0'} deprecated: Use @eslint/config-array instead @@ -7710,8 +7710,8 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint@8.57.0: - resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} + eslint@8.57.1: + resolution: {integrity: sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true @@ -14585,9 +14585,9 @@ snapshots: '@esbuild/win32-x64@0.23.1': optional: true - '@eslint-community/eslint-utils@4.4.0(eslint@8.57.0)': + '@eslint-community/eslint-utils@4.4.0(eslint@8.57.1)': dependencies: - eslint: 8.57.0 + eslint: 8.57.1 eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.11.0': {} @@ -14606,7 +14606,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@8.57.0': {} + '@eslint/js@8.57.1': {} '@fast-csv/format@4.3.5': dependencies: @@ -14689,7 +14689,7 @@ snapshots: dependencies: '@hapi/hoek': 9.3.0 - '@humanwhocodes/config-array@0.11.14': + '@humanwhocodes/config-array@0.13.0': dependencies: '@humanwhocodes/object-schema': 2.0.3 debug: 4.3.6(supports-color@8.1.1) @@ -17040,15 +17040,15 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.5.4) '@typescript-eslint/scope-manager': 7.18.0 - '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.5.4) '@typescript-eslint/visitor-keys': 7.18.0 - eslint: 8.57.0 + eslint: 8.57.1 graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 @@ -17058,14 +17058,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4)': dependencies: '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) '@typescript-eslint/visitor-keys': 7.18.0 debug: 4.3.6(supports-color@8.1.1) - eslint: 8.57.0 + eslint: 8.57.1 optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: @@ -17076,12 +17076,12 @@ snapshots: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 - '@typescript-eslint/type-utils@7.18.0(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/type-utils@7.18.0(eslint@8.57.1)(typescript@5.5.4)': dependencies: '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) - '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.5.4) debug: 4.3.6(supports-color@8.1.1) - eslint: 8.57.0 + eslint: 8.57.1 ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 @@ -17105,13 +17105,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.18.0(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/utils@7.18.0(eslint@8.57.1)(typescript@5.5.4)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) - eslint: 8.57.0 + eslint: 8.57.1 transitivePeerDependencies: - supports-color - typescript @@ -19390,38 +19390,38 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-config-airbnb-base@15.0.0(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0): + eslint-config-airbnb-base@15.0.0(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1))(eslint@8.57.1): dependencies: confusing-browser-globals: 1.0.11 - eslint: 8.57.0 - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0) + eslint: 8.57.1 + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1) object.assign: 4.1.5 object.entries: 1.1.8 semver: 6.3.1 - eslint-config-airbnb-typescript@18.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0): + eslint-config-airbnb-typescript@18.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1))(eslint@8.57.1): dependencies: - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.5.4) - eslint: 8.57.0 - eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4) + '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.5.4) + eslint: 8.57.1 + eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1))(eslint@8.57.1) transitivePeerDependencies: - eslint-plugin-import - eslint-config-airbnb@19.0.4(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.0))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-react@7.36.1(eslint@8.57.0))(eslint@8.57.0): + eslint-config-airbnb@19.0.4(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.36.1(eslint@8.57.1))(eslint@8.57.1): dependencies: - eslint: 8.57.0 - eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0) - eslint-plugin-jsx-a11y: 6.7.1(eslint@8.57.0) - eslint-plugin-react: 7.36.1(eslint@8.57.0) - eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) + eslint: 8.57.1 + eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1))(eslint@8.57.1) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1) + eslint-plugin-jsx-a11y: 6.7.1(eslint@8.57.1) + eslint-plugin-react: 7.36.1(eslint@8.57.1) + eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) object.assign: 4.1.5 object.entries: 1.1.8 - eslint-config-prettier@9.1.0(eslint@8.57.0): + eslint-config-prettier@9.1.0(eslint@8.57.1): dependencies: - eslint: 8.57.0 + eslint: 8.57.1 eslint-import-resolver-node@0.3.9: dependencies: @@ -19435,7 +19435,7 @@ snapshots: dependencies: debug: 3.2.7 enhanced-resolve: 0.9.1 - eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0) + eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1) find-root: 1.1.0 hasown: 2.0.2 interpret: 1.4.0 @@ -19448,31 +19448,31 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))))(eslint@8.57.0): + eslint-module-utils@2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))))(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.5.4) - eslint: 8.57.0 + '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.5.4) + eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 eslint-import-resolver-webpack: 0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) transitivePeerDependencies: - supports-color - eslint-plugin-babel@5.3.1(eslint@8.57.0): + eslint-plugin-babel@5.3.1(eslint@8.57.1): dependencies: - eslint: 8.57.0 + eslint: 8.57.1 eslint-rule-composer: 0.3.0 - eslint-plugin-filenames@1.3.2(eslint@8.57.0): + eslint-plugin-filenames@1.3.2(eslint@8.57.1): dependencies: - eslint: 8.57.0 + eslint: 8.57.1 lodash.camelcase: 4.3.0 lodash.kebabcase: 4.1.1 lodash.snakecase: 4.1.1 lodash.upperfirst: 4.3.1 - eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.0): + eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -19481,9 +19481,9 @@ snapshots: array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.57.0 + eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))))(eslint@8.57.0) + eslint-module-utils: 2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))))(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -19494,13 +19494,13 @@ snapshots: semver: 6.3.1 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.5.4) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.0): + eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.1): dependencies: '@babel/runtime': 7.25.6 aria-query: 5.3.0 @@ -19511,7 +19511,7 @@ snapshots: axobject-query: 3.2.1 damerau-levenshtein: 1.0.8 emoji-regex: 9.2.2 - eslint: 8.57.0 + eslint: 8.57.1 has: 1.0.3 jsx-ast-utils: 3.3.3 language-tags: 1.0.5 @@ -19520,30 +19520,30 @@ snapshots: object.fromentries: 2.0.8 semver: 6.3.1 - eslint-plugin-mocha@10.5.0(eslint@8.57.0): + eslint-plugin-mocha@10.5.0(eslint@8.57.1): dependencies: - eslint: 8.57.0 - eslint-utils: 3.0.0(eslint@8.57.0) + eslint: 8.57.1 + eslint-utils: 3.0.0(eslint@8.57.1) globals: 13.24.0 rambda: 7.5.0 - eslint-plugin-react-compiler@0.0.0-experimental-75b9fd4-20240912(eslint@8.57.0): + eslint-plugin-react-compiler@0.0.0-experimental-75b9fd4-20240912(eslint@8.57.1): dependencies: '@babel/core': 7.25.2 '@babel/parser': 7.25.6 '@babel/plugin-proposal-private-methods': 7.18.6(@babel/core@7.25.2) - eslint: 8.57.0 + eslint: 8.57.1 hermes-parser: 0.20.1 zod: 3.23.8 zod-validation-error: 3.4.0(zod@3.23.8) transitivePeerDependencies: - supports-color - eslint-plugin-react-hooks@4.6.2(eslint@8.57.0): + eslint-plugin-react-hooks@4.6.2(eslint@8.57.1): dependencies: - eslint: 8.57.0 + eslint: 8.57.1 - eslint-plugin-react@7.36.1(eslint@8.57.0): + eslint-plugin-react@7.36.1(eslint@8.57.1): dependencies: array-includes: 3.1.8 array.prototype.findlast: 1.2.5 @@ -19551,7 +19551,7 @@ snapshots: array.prototype.tosorted: 1.1.4 doctrine: 2.1.0 es-iterator-helpers: 1.0.19 - eslint: 8.57.0 + eslint: 8.57.1 estraverse: 5.3.0 hasown: 2.0.2 jsx-ast-utils: 3.3.3 @@ -19577,22 +19577,22 @@ snapshots: esrecurse: 4.3.0 estraverse: 5.3.0 - eslint-utils@3.0.0(eslint@8.57.0): + eslint-utils@3.0.0(eslint@8.57.1): dependencies: - eslint: 8.57.0 + eslint: 8.57.1 eslint-visitor-keys: 2.1.0 eslint-visitor-keys@2.1.0: {} eslint-visitor-keys@3.4.3: {} - eslint@8.57.0: + eslint@8.57.1: dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.1) '@eslint-community/regexpp': 4.11.0 '@eslint/eslintrc': 2.1.4 - '@eslint/js': 8.57.0 - '@humanwhocodes/config-array': 0.11.14 + '@eslint/js': 8.57.1 + '@humanwhocodes/config-array': 0.13.0 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 '@ungap/structured-clone': 1.2.0 From 3479941d754af3dd172b0eec7eec9c7a99cc16e0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 13:39:58 +0200 Subject: [PATCH 17/52] Bump next to v14.2.13 (#43846) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- docs/package.json | 2 +- packages/mui-docs/package.json | 2 +- packages/mui-joy/package.json | 2 +- packages/mui-material-nextjs/package.json | 2 +- pnpm-lock.yaml | 141 +--------------------- 5 files changed, 9 insertions(+), 140 deletions(-) diff --git a/docs/package.json b/docs/package.json index 15173cf6397faf..2f367ad9e2808b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -82,7 +82,7 @@ "lz-string": "^1.5.0", "markdown-to-jsx": "^7.4.7", "material-ui-popup-state": "^5.1.2", - "next": "^14.2.11", + "next": "^14.2.13", "notistack": "3.0.1", "nprogress": "^0.2.0", "postcss": "^8.4.47", diff --git a/packages/mui-docs/package.json b/packages/mui-docs/package.json index cd429c2f350317..7ead9a671e0d68 100644 --- a/packages/mui-docs/package.json +++ b/packages/mui-docs/package.json @@ -48,7 +48,7 @@ "@types/node": "^20.16.5", "@types/prop-types": "^15.7.13", "@types/react": "^18.3.4", - "next": "^14.2.11", + "next": "^14.2.13", "react": "^18.3.1" }, "peerDependencies": { diff --git a/packages/mui-joy/package.json b/packages/mui-joy/package.json index 896ef4dca58a61..de10fb4d6f7277 100644 --- a/packages/mui-joy/package.json +++ b/packages/mui-joy/package.json @@ -58,7 +58,7 @@ "chai": "^4.5.0", "fast-glob": "^3.3.2", "lodash": "^4.17.21", - "next": "^14.2.11", + "next": "^14.2.13", "react": "^18.3.1", "react-dom": "^18.3.1", "sinon": "^18.0.1" diff --git a/packages/mui-material-nextjs/package.json b/packages/mui-material-nextjs/package.json index 972c3ebb65e46c..94627f954299e0 100644 --- a/packages/mui-material-nextjs/package.json +++ b/packages/mui-material-nextjs/package.json @@ -43,7 +43,7 @@ "@emotion/react": "^11.13.3", "@emotion/server": "^11.11.0", "@types/react": "^18.3.4", - "next": "14.2.11", + "next": "14.2.13", "react": "^18.3.1" }, "peerDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 760206255240c8..a7042896fa80fe 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -741,7 +741,7 @@ importers: specifier: ^5.1.2 version: 5.1.2(@mui/material@packages+mui-material+build)(react@18.3.1) next: - specifier: ^14.2.11 + specifier: ^14.2.13 version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) notistack: specifier: 3.0.1 @@ -1468,7 +1468,7 @@ importers: specifier: ^18.3.4 version: 18.3.4 next: - specifier: ^14.2.11 + specifier: ^14.2.13 version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18.3.1 @@ -1642,7 +1642,7 @@ importers: specifier: ^4.17.21 version: 4.17.21 next: - specifier: ^14.2.11 + specifier: ^14.2.13 version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18.3.1 @@ -1849,8 +1849,8 @@ importers: specifier: ^18.3.4 version: 18.3.4 next: - specifier: 14.2.11 - version: 14.2.11(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 14.2.13 + version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -4440,117 +4440,60 @@ packages: resolution: {integrity: sha512-2KYkyluThg1AKfd0JWI7FzpS4A/fzVVGYIf6AM4ydWyNj8eI/86GQVLeRgDoH7CNOxt243R5tutWlmHpVq0/Ew==} engines: {node: '>=18.0.0'} - '@next/env@14.2.11': - resolution: {integrity: sha512-HYsQRSIXwiNqvzzYThrBwq6RhXo3E0n8j8nQnAs8i4fCEo2Zf/3eS0IiRA8XnRg9Ha0YnpkyJZIZg1qEwemrHw==} - '@next/env@14.2.13': resolution: {integrity: sha512-s3lh6K8cbW1h5Nga7NNeXrbe0+2jIIYK9YaA9T7IufDWnZpozdFUp6Hf0d5rNWUKu4fEuSX2rCKlGjCrtylfDw==} '@next/eslint-plugin-next@14.2.13': resolution: {integrity: sha512-z8Mk0VljxhIzsSiZUSdt3wp+t2lKd+jk5a9Jsvh3zDGkItgDMfjv/ZbET6HsxEl/fSihVoHGsXV6VLyDH0lfTQ==} - '@next/swc-darwin-arm64@14.2.11': - resolution: {integrity: sha512-eiY9u7wEJZWp/Pga07Qy3ZmNEfALmmSS1HtsJF3y1QEyaExu7boENz11fWqDmZ3uvcyAxCMhTrA1jfVxITQW8g==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [darwin] - '@next/swc-darwin-arm64@14.2.13': resolution: {integrity: sha512-IkAmQEa2Htq+wHACBxOsslt+jMoV3msvxCn0WFSfJSkv/scy+i/EukBKNad36grRxywaXUYJc9mxEGkeIs8Bzg==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@next/swc-darwin-x64@14.2.11': - resolution: {integrity: sha512-lnB0zYCld4yE0IX3ANrVMmtAbziBb7MYekcmR6iE9bujmgERl6+FK+b0MBq0pl304lYe7zO4yxJus9H/Af8jbg==} - engines: {node: '>= 10'} - cpu: [x64] - os: [darwin] - '@next/swc-darwin-x64@14.2.13': resolution: {integrity: sha512-Dv1RBGs2TTjkwEnFMVL5XIfJEavnLqqwYSD6LXgTPdEy/u6FlSrLBSSfe1pcfqhFEXRAgVL3Wpjibe5wXJzWog==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@next/swc-linux-arm64-gnu@14.2.11': - resolution: {integrity: sha512-Ulo9TZVocYmUAtzvZ7FfldtwUoQY0+9z3BiXZCLSUwU2bp7GqHA7/bqrfsArDlUb2xeGwn3ZuBbKtNK8TR0A8w==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - '@next/swc-linux-arm64-gnu@14.2.13': resolution: {integrity: sha512-yB1tYEFFqo4ZNWkwrJultbsw7NPAAxlPXURXioRl9SdW6aIefOLS+0TEsKrWBtbJ9moTDgU3HRILL6QBQnMevg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-musl@14.2.11': - resolution: {integrity: sha512-fH377DnKGyUnkWlmUpFF1T90m0dADBfK11dF8sOQkiELF9M+YwDRCGe8ZyDzvQcUd20Rr5U7vpZRrAxKwd3Rzg==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - '@next/swc-linux-arm64-musl@14.2.13': resolution: {integrity: sha512-v5jZ/FV/eHGoWhMKYrsAweQ7CWb8xsWGM/8m1mwwZQ/sutJjoFaXchwK4pX8NqwImILEvQmZWyb8pPTcP7htWg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@next/swc-linux-x64-gnu@14.2.11': - resolution: {integrity: sha512-a0TH4ZZp4NS0LgXP/488kgvWelNpwfgGTUCDXVhPGH6pInb7yIYNgM4kmNWOxBFt+TIuOH6Pi9NnGG4XWFUyXQ==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - '@next/swc-linux-x64-gnu@14.2.13': resolution: {integrity: sha512-aVc7m4YL7ViiRv7SOXK3RplXzOEe/qQzRA5R2vpXboHABs3w8vtFslGTz+5tKiQzWUmTmBNVW0UQdhkKRORmGA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@next/swc-linux-x64-musl@14.2.11': - resolution: {integrity: sha512-DYYZcO4Uir2gZxA4D2JcOAKVs8ZxbOFYPpXSVIgeoQbREbeEHxysVsg3nY4FrQy51e5opxt5mOHl/LzIyZBoKA==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - '@next/swc-linux-x64-musl@14.2.13': resolution: {integrity: sha512-4wWY7/OsSaJOOKvMsu1Teylku7vKyTuocvDLTZQq0TYv9OjiYYWt63PiE1nTuZnqQ4RPvME7Xai+9enoiN0Wrg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@next/swc-win32-arm64-msvc@14.2.11': - resolution: {integrity: sha512-PwqHeKG3/kKfPpM6of1B9UJ+Er6ySUy59PeFu0Un0LBzJTRKKAg2V6J60Yqzp99m55mLa+YTbU6xj61ImTv9mg==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [win32] - '@next/swc-win32-arm64-msvc@14.2.13': resolution: {integrity: sha512-uP1XkqCqV2NVH9+g2sC7qIw+w2tRbcMiXFEbMihkQ8B1+V6m28sshBwAB0SDmOe0u44ne1vFU66+gx/28RsBVQ==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@next/swc-win32-ia32-msvc@14.2.11': - resolution: {integrity: sha512-0U7PWMnOYIvM74GY6rbH6w7v+vNPDVH1gUhlwHpfInJnNe5LkmUZqhp7FNWeNa5wbVgRcRi1F1cyxp4dmeLLvA==} - engines: {node: '>= 10'} - cpu: [ia32] - os: [win32] - '@next/swc-win32-ia32-msvc@14.2.13': resolution: {integrity: sha512-V26ezyjPqQpDBV4lcWIh8B/QICQ4v+M5Bo9ykLN+sqeKKBxJVDpEc6biDVyluTXTC40f5IqCU0ttth7Es2ZuMw==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] - '@next/swc-win32-x64-msvc@14.2.11': - resolution: {integrity: sha512-gQpS7mcgovWoaTG1FbS5/ojF7CGfql1Q0ZLsMrhcsi2Sr9HEqsUZ70MPJyaYBXbk6iEAP7UXMD9HC8KY1qNwvA==} - engines: {node: '>= 10'} - cpu: [x64] - os: [win32] - '@next/swc-win32-x64-msvc@14.2.13': resolution: {integrity: sha512-WwzOEAFBGhlDHE5Z73mNU8CO8mqMNLqaG+AO9ETmzdCQlJhVtWZnOl2+rqgVQS+YHunjOWptdFmNfbpwcUuEsw==} engines: {node: '>= 10'} @@ -9971,24 +9914,6 @@ packages: nested-error-stacks@2.1.1: resolution: {integrity: sha512-9iN1ka/9zmX1ZvLV9ewJYEk9h7RyRRtqdK0woXcqohu8EWIerfPUjYJPg0ULy0UqP7cslmdGc8xKDJcojlKiaw==} - next@14.2.11: - resolution: {integrity: sha512-8MDFqHBhdmR2wdfaWc8+lW3A/hppFe1ggQ9vgIu/g2/2QEMYJrPoQP6b+VNk56gIug/bStysAmrpUKtj3XN8Bw==} - engines: {node: '>=18.17.0'} - hasBin: true - peerDependencies: - '@opentelemetry/api': ^1.1.0 - '@playwright/test': ^1.41.2 - react: ^18.2.0 - react-dom: ^18.2.0 - sass: ^1.3.0 - peerDependenciesMeta: - '@opentelemetry/api': - optional: true - '@playwright/test': - optional: true - sass: - optional: true - next@14.2.13: resolution: {integrity: sha512-BseY9YNw8QJSwLYD7hlZzl6QVDoSFHL/URN5K64kVEVpCsSOWeyjbIGK+dZUaRViHTaMQX8aqmnn0PHBbGZezg==} engines: {node: '>=18.17.0'} @@ -15397,65 +15322,36 @@ snapshots: '@netlify/node-cookies': 0.1.0 urlpattern-polyfill: 8.0.2 - '@next/env@14.2.11': {} - '@next/env@14.2.13': {} '@next/eslint-plugin-next@14.2.13': dependencies: glob: 10.3.10 - '@next/swc-darwin-arm64@14.2.11': - optional: true - '@next/swc-darwin-arm64@14.2.13': optional: true - '@next/swc-darwin-x64@14.2.11': - optional: true - '@next/swc-darwin-x64@14.2.13': optional: true - '@next/swc-linux-arm64-gnu@14.2.11': - optional: true - '@next/swc-linux-arm64-gnu@14.2.13': optional: true - '@next/swc-linux-arm64-musl@14.2.11': - optional: true - '@next/swc-linux-arm64-musl@14.2.13': optional: true - '@next/swc-linux-x64-gnu@14.2.11': - optional: true - '@next/swc-linux-x64-gnu@14.2.13': optional: true - '@next/swc-linux-x64-musl@14.2.11': - optional: true - '@next/swc-linux-x64-musl@14.2.13': optional: true - '@next/swc-win32-arm64-msvc@14.2.11': - optional: true - '@next/swc-win32-arm64-msvc@14.2.13': optional: true - '@next/swc-win32-ia32-msvc@14.2.11': - optional: true - '@next/swc-win32-ia32-msvc@14.2.13': optional: true - '@next/swc-win32-x64-msvc@14.2.11': - optional: true - '@next/swc-win32-x64-msvc@14.2.13': optional: true @@ -22516,33 +22412,6 @@ snapshots: nested-error-stacks@2.1.1: {} - next@14.2.11(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): - dependencies: - '@next/env': 14.2.11 - '@swc/helpers': 0.5.5 - busboy: 1.6.0 - caniuse-lite: 1.0.30001649 - graceful-fs: 4.2.11 - postcss: 8.4.31 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - styled-jsx: 5.1.1(@babel/core@7.25.2)(babel-plugin-macros@3.1.0)(react@18.3.1) - optionalDependencies: - '@next/swc-darwin-arm64': 14.2.11 - '@next/swc-darwin-x64': 14.2.11 - '@next/swc-linux-arm64-gnu': 14.2.11 - '@next/swc-linux-arm64-musl': 14.2.11 - '@next/swc-linux-x64-gnu': 14.2.11 - '@next/swc-linux-x64-musl': 14.2.11 - '@next/swc-win32-arm64-msvc': 14.2.11 - '@next/swc-win32-ia32-msvc': 14.2.11 - '@next/swc-win32-x64-msvc': 14.2.11 - '@opentelemetry/api': 1.8.0 - '@playwright/test': 1.47.1 - transitivePeerDependencies: - - '@babel/core' - - babel-plugin-macros - next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@next/env': 14.2.13 From 43c14e038a0ac5c92e58b760b43ebac3fe28b028 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 13:41:22 +0200 Subject: [PATCH 18/52] Bump MUI X to 7.18.0 (#43850) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- docs/package.json | 18 +++--- pnpm-lock.yaml | 138 +++++++++++++++++++++++----------------------- 2 files changed, 78 insertions(+), 78 deletions(-) diff --git a/docs/package.json b/docs/package.json index 2f367ad9e2808b..64e48a30a667f6 100644 --- a/docs/package.json +++ b/docs/package.json @@ -43,15 +43,15 @@ "@mui/system": "workspace:^", "@mui/types": "workspace:^", "@mui/utils": "workspace:^", - "@mui/x-charts": "7.17.0", - "@mui/x-data-grid": "7.17.0", - "@mui/x-data-grid-generator": "7.17.0", - "@mui/x-data-grid-premium": "7.17.0", - "@mui/x-data-grid-pro": "7.17.0", - "@mui/x-date-pickers": "7.17.0", - "@mui/x-date-pickers-pro": "7.17.0", - "@mui/x-license": "7.17.0", - "@mui/x-tree-view": "7.17.0", + "@mui/x-charts": "7.18.0", + "@mui/x-data-grid": "7.18.0", + "@mui/x-data-grid-generator": "7.18.0", + "@mui/x-data-grid-premium": "7.18.0", + "@mui/x-data-grid-pro": "7.18.0", + "@mui/x-date-pickers": "7.18.0", + "@mui/x-date-pickers-pro": "7.18.0", + "@mui/x-license": "7.18.0", + "@mui/x-tree-view": "7.18.0", "@popperjs/core": "^2.11.8", "@react-spring/web": "^9.7.4", "@toolpad/core": "^0.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a7042896fa80fe..fcdda8a7dcf9f6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -624,32 +624,32 @@ importers: specifier: workspace:^ version: link:../packages/mui-utils/build '@mui/x-charts': - specifier: 7.17.0 - version: 7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 7.18.0 + version: 7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/x-data-grid': - specifier: 7.17.0 - version: 7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 7.18.0 + version: 7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/x-data-grid-generator': - specifier: 7.17.0 - version: 7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 7.18.0 + version: 7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/x-data-grid-premium': - specifier: 7.17.0 - version: 7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 7.18.0 + version: 7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/x-data-grid-pro': - specifier: 7.17.0 - version: 7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 7.18.0 + version: 7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/x-date-pickers': - specifier: 7.17.0 - version: 7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(date-fns@2.30.0)(dayjs@1.11.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 7.18.0 + version: 7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(date-fns@2.30.0)(dayjs@1.11.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/x-date-pickers-pro': - specifier: 7.17.0 - version: 7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(date-fns@2.30.0)(dayjs@1.11.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 7.18.0 + version: 7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(date-fns@2.30.0)(dayjs@1.11.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/x-license': - specifier: 7.17.0 - version: 7.17.0(@types/react@18.3.4)(react@18.3.1) + specifier: 7.18.0 + version: 7.18.0(@types/react@18.3.4)(react@18.3.1) '@mui/x-tree-view': - specifier: 7.17.0 - version: 7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: 7.18.0 + version: 7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@popperjs/core': specifier: ^2.11.8 version: 2.11.8 @@ -4241,11 +4241,11 @@ packages: '@types/react': optional: true - '@mui/x-charts-vendor@7.16.0': - resolution: {integrity: sha512-MyMCCl7eAM53rLbjqP4zbMy5hYtdeqCjAYCH2jpvBKdgugm2eaPLKOPM8bUVfen0wHA8BXleQrIrNceytFPyZA==} + '@mui/x-charts-vendor@7.18.0': + resolution: {integrity: sha512-YPL7SP6W7t9jBIrK8WjmCtW/YoUmgr0BA7j2QE9bKX4VJLEUU498fEKik0ZJZyzyR7ov0MD3m7S+YCw1o5sqkw==} - '@mui/x-charts@7.17.0': - resolution: {integrity: sha512-xDH/lOnb57+VBIA7q+1KlC0Ht1O46d/N2MEl1tUq1JYIXhA2Owi5cp+bcaof8Rvw5ApCmkoBxyUIjqT0guNIwA==} + '@mui/x-charts@7.18.0': + resolution: {integrity: sha512-XvCX6sBj2aRw7MZcOPjKTEIwhj4j+ixw256bArQScSd+Y2BuHxAyfl/L6NPPWamckAPqJwjQ678jFH2s5t1f1w==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.9.0 @@ -4260,8 +4260,8 @@ packages: '@emotion/styled': optional: true - '@mui/x-data-grid-generator@7.17.0': - resolution: {integrity: sha512-pLVpAKcJkMaCG3Do30EGWy7ljCMXz27xLa/tR3zrmo+1a3ot766aIPjRc0r0F9KV9GOWPwGeF8UvqoGYkbghgg==} + '@mui/x-data-grid-generator@7.18.0': + resolution: {integrity: sha512-zXrWphA7rlEd4xdNdQ9XSbhVaLG2JHf9deROfb4gaWyk3SHA8CHoNvB9VaRK0kTcxX+looYVZZj8EMecboMXcw==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.9.0 @@ -4275,8 +4275,8 @@ packages: '@emotion/styled': optional: true - '@mui/x-data-grid-premium@7.17.0': - resolution: {integrity: sha512-vV9soMEH8b3do80spTfu4/uQWKqnqlx/4ZoYgkvptQOacwrwtgHhRcWp8lr/iLM4F8P2Jmwg82u4zrTHmFnjmQ==} + '@mui/x-data-grid-premium@7.18.0': + resolution: {integrity: sha512-TUYvQIuDDZca4F4ncLXmiz3aapVq/m6IPhLIGMJV5fMlYuG8DC1zczedt+s9pro08Kuop8z6QGYVI5JeYi0YAw==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.9.0 @@ -4291,8 +4291,8 @@ packages: '@emotion/styled': optional: true - '@mui/x-data-grid-pro@7.17.0': - resolution: {integrity: sha512-lUtDgYTA7uoWveeJ2GNmWTtvpPXBYDB1SRGypEqNgqaF4pp5v1qSA4HCd+pMCk4TOaJwfDd83loCPSDwmFTbtQ==} + '@mui/x-data-grid-pro@7.18.0': + resolution: {integrity: sha512-g6Ot1s69bfjBRlp6/vwjZgn4CPwX90zt7nx1d28srFD14koet+r/45vg69Bjn7+/REThZMO7g4kcOW2nFkeS8w==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.9.0 @@ -4307,8 +4307,8 @@ packages: '@emotion/styled': optional: true - '@mui/x-data-grid@7.17.0': - resolution: {integrity: sha512-d3pFdrQlNR+8waol7iM6LlNIpvqo9SgYeKcMIOSQ3etpue9iRFNy8s1HCHd9Nxnhzgr+fqMy/v3bXZnd196qig==} + '@mui/x-data-grid@7.18.0': + resolution: {integrity: sha512-41UjJbRxWk+Yk/lfvaO55Pwo5p+F5s3rOTiHLl53ikCT5GuJ5OCCvik0Bi3c6DzTuUBdrEucae2618rydc2DGw==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.9.0 @@ -4323,15 +4323,15 @@ packages: '@emotion/styled': optional: true - '@mui/x-date-pickers-pro@7.17.0': - resolution: {integrity: sha512-A/xcQ3rQbeZUrd4sG7nsE1BWV38u1Q83AGECzv6e4q9CbEp++gq8NGH+vqJ7Wn2ihjMgzTnYIJ7rTJWpulVLUA==} + '@mui/x-date-pickers-pro@7.18.0': + resolution: {integrity: sha512-OlmHciF4gUXvsfXG0f0sPMjala0RFhwg44EBbhmwlyny61hkm7j9vUfWA3FAY/2wucD/8+OKVRN8xs/WTKlWAQ==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.9.0 '@emotion/styled': ^11.8.1 '@mui/material': ^5.15.14 || ^6.0.0 '@mui/system': ^5.15.14 || ^6.0.0 - date-fns: ^2.25.0 || ^3.2.0 + date-fns: ^2.25.0 || ^3.2.0 || ^4.0.0 date-fns-jalali: ^2.13.0-0 || ^3.2.0-0 dayjs: ^1.10.7 luxon: ^3.0.2 @@ -4360,15 +4360,15 @@ packages: moment-jalaali: optional: true - '@mui/x-date-pickers@7.17.0': - resolution: {integrity: sha512-3mIw1uOZU/yKweZsVAo9QnwVFzLHqXgXG1TbGbDJ4AU6FhN2TCUlR9tzKHSlYdAHZ0bEWDS1/bgeGsQC7skXMA==} + '@mui/x-date-pickers@7.18.0': + resolution: {integrity: sha512-12tXIoMj9vpS8fS/bS3kWPCoVrH38vNGCxgplI0vOnUrN9rJuYJz3agLPJe1S0xciTw+9W8ZSe3soaW+owoz1Q==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.9.0 '@emotion/styled': ^11.8.1 '@mui/material': ^5.15.14 || ^6.0.0 '@mui/system': ^5.15.14 || ^6.0.0 - date-fns: ^2.25.0 || ^3.2.0 + date-fns: ^2.25.0 || ^3.2.0 || ^4.0.0 date-fns-jalali: ^2.13.0-0 || ^3.2.0-0 dayjs: ^1.10.7 luxon: ^3.0.2 @@ -4397,20 +4397,20 @@ packages: moment-jalaali: optional: true - '@mui/x-internals@7.17.0': - resolution: {integrity: sha512-FLlAGSJl/vsuaA/8hPGazXFppyzIzxApJJDZMoTS0geUmHd0hyooISV2ltllLmrZ/DGtHhI08m8GGnHL6/vVeg==} + '@mui/x-internals@7.18.0': + resolution: {integrity: sha512-lzCHOWIR0cAIY1bGrWSprYerahbnH5C31ql/2OWCEjcngL2NAV1M6oKI2Vp4HheqzJ822c60UyWyapvyjSzY/A==} engines: {node: '>=14.0.0'} peerDependencies: react: ^17.0.0 || ^18.0.0 - '@mui/x-license@7.17.0': - resolution: {integrity: sha512-Jz8GqC4PKsND7CH2sJ91EkhjcPXpPMRpZRDIk0lhSmRyztK2IqSv9nsjcPQICDFyUj5DTcjLVySrN5p7Q2MFtQ==} + '@mui/x-license@7.18.0': + resolution: {integrity: sha512-/UJp4NSQ5iURLQ7Si0oyGhiOqb3rg/HO4LcIxmKICO7Xn9VcupoX9+uDko+UwbCrybkpkC/3lyJEmD+4pbLqbA==} engines: {node: '>=14.0.0'} peerDependencies: react: ^17.0.0 || ^18.0.0 - '@mui/x-tree-view@7.17.0': - resolution: {integrity: sha512-xDpsF6b1D/rlkJBH6yb8kHbda2k6YOyxZ3HCYG3nq5yvUARhi2/gwRztUT0gwqAZ5UwzhL/i3U4/SomV+0T8HA==} + '@mui/x-tree-view@7.18.0': + resolution: {integrity: sha512-3UJAYtBquc0SzKxEEdM68XlKOuuCl70ktZPqqI3z4wTZ0HK445XXc32t/s0VPIL94kRxWQcGPpgWFauScDwhug==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.9.0 @@ -15109,7 +15109,7 @@ snapshots: optionalDependencies: '@types/react': 18.3.4 - '@mui/x-charts-vendor@7.16.0': + '@mui/x-charts-vendor@7.18.0': dependencies: '@babel/runtime': 7.25.6 '@types/d3-color': 3.1.3 @@ -15127,14 +15127,14 @@ snapshots: delaunator: 5.0.1 robust-predicates: 3.0.2 - '@mui/x-charts@7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/x-charts@7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@mui/material': link:packages/mui-material/build '@mui/system': link:packages/mui-system/build '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) - '@mui/x-charts-vendor': 7.16.0 - '@mui/x-internals': 7.17.0(@types/react@18.3.4)(react@18.3.1) + '@mui/x-charts-vendor': 7.18.0 + '@mui/x-internals': 7.18.0(@types/react@18.3.4)(react@18.3.1) '@react-spring/rafz': 9.7.4 '@react-spring/web': 9.7.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) clsx: 2.1.1 @@ -15147,12 +15147,12 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@mui/x-data-grid-generator@7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/x-data-grid-generator@7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@mui/icons-material': link:packages/mui-icons-material/build '@mui/material': link:packages/mui-material/build - '@mui/x-data-grid-premium': 7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@mui/x-data-grid-premium': 7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) chance: 1.1.12 clsx: 2.1.1 lru-cache: 10.4.3 @@ -15165,16 +15165,16 @@ snapshots: - '@types/react' - react-dom - '@mui/x-data-grid-premium@7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/x-data-grid-premium@7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@mui/material': link:packages/mui-material/build '@mui/system': link:packages/mui-system/build '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) - '@mui/x-data-grid': 7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@mui/x-data-grid-pro': 7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@mui/x-internals': 7.17.0(@types/react@18.3.4)(react@18.3.1) - '@mui/x-license': 7.17.0(@types/react@18.3.4)(react@18.3.1) + '@mui/x-data-grid': 7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@mui/x-data-grid-pro': 7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@mui/x-internals': 7.18.0(@types/react@18.3.4)(react@18.3.1) + '@mui/x-license': 7.18.0(@types/react@18.3.4)(react@18.3.1) '@types/format-util': 1.0.4 clsx: 2.1.1 exceljs: 4.4.0 @@ -15188,15 +15188,15 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@mui/x-data-grid-pro@7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/x-data-grid-pro@7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@mui/material': link:packages/mui-material/build '@mui/system': link:packages/mui-system/build '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) - '@mui/x-data-grid': 7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@mui/x-internals': 7.17.0(@types/react@18.3.4)(react@18.3.1) - '@mui/x-license': 7.17.0(@types/react@18.3.4)(react@18.3.1) + '@mui/x-data-grid': 7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@mui/x-internals': 7.18.0(@types/react@18.3.4)(react@18.3.1) + '@mui/x-license': 7.18.0(@types/react@18.3.4)(react@18.3.1) '@types/format-util': 1.0.4 clsx: 2.1.1 prop-types: 15.8.1 @@ -15209,13 +15209,13 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@mui/x-data-grid@7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/x-data-grid@7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@mui/material': link:packages/mui-material/build '@mui/system': link:packages/mui-system/build '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) - '@mui/x-internals': 7.17.0(@types/react@18.3.4)(react@18.3.1) + '@mui/x-internals': 7.18.0(@types/react@18.3.4)(react@18.3.1) clsx: 2.1.1 prop-types: 15.8.1 react: 18.3.1 @@ -15227,15 +15227,15 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@mui/x-date-pickers-pro@7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(date-fns@2.30.0)(dayjs@1.11.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/x-date-pickers-pro@7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(date-fns@2.30.0)(dayjs@1.11.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@mui/material': link:packages/mui-material/build '@mui/system': link:packages/mui-system/build '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) - '@mui/x-date-pickers': 7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(date-fns@2.30.0)(dayjs@1.11.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@mui/x-internals': 7.17.0(@types/react@18.3.4)(react@18.3.1) - '@mui/x-license': 7.17.0(@types/react@18.3.4)(react@18.3.1) + '@mui/x-date-pickers': 7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(date-fns@2.30.0)(dayjs@1.11.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@mui/x-internals': 7.18.0(@types/react@18.3.4)(react@18.3.1) + '@mui/x-license': 7.18.0(@types/react@18.3.4)(react@18.3.1) clsx: 2.1.1 prop-types: 15.8.1 react: 18.3.1 @@ -15249,13 +15249,13 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@mui/x-date-pickers@7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(date-fns@2.30.0)(dayjs@1.11.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/x-date-pickers@7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(date-fns@2.30.0)(dayjs@1.11.13)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@mui/material': link:packages/mui-material/build '@mui/system': link:packages/mui-system/build '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) - '@mui/x-internals': 7.17.0(@types/react@18.3.4)(react@18.3.1) + '@mui/x-internals': 7.18.0(@types/react@18.3.4)(react@18.3.1) '@types/react-transition-group': 4.4.11 clsx: 2.1.1 prop-types: 15.8.1 @@ -15270,7 +15270,7 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@mui/x-internals@7.17.0(@types/react@18.3.4)(react@18.3.1)': + '@mui/x-internals@7.18.0(@types/react@18.3.4)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) @@ -15278,7 +15278,7 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@mui/x-license@7.17.0(@types/react@18.3.4)(react@18.3.1)': + '@mui/x-license@7.18.0(@types/react@18.3.4)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) @@ -15286,13 +15286,13 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@mui/x-tree-view@7.17.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/x-tree-view@7.18.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@mui/system@packages+mui-system+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@mui/material': link:packages/mui-material/build '@mui/system': link:packages/mui-system/build '@mui/utils': 5.16.6(@types/react@18.3.4)(react@18.3.1) - '@mui/x-internals': 7.17.0(@types/react@18.3.4)(react@18.3.1) + '@mui/x-internals': 7.18.0(@types/react@18.3.4)(react@18.3.1) '@types/react-transition-group': 4.4.11 clsx: 2.1.1 prop-types: 15.8.1 From 5c0aeb6e9d3c7e783331b76c861835f566e0506b Mon Sep 17 00:00:00 2001 From: BrianWoolfolk Date: Mon, 23 Sep 2024 23:43:39 -0700 Subject: [PATCH 19/52] [material-ui][Drawer] Refactor getScrollbarSize usages (#43828) --- .../mui-base/src/unstable_useModal/ModalManager.test.ts | 8 ++++---- packages/mui-base/src/unstable_useModal/ModalManager.ts | 2 +- packages/mui-material/src/MenuList/MenuList.js | 3 ++- packages/mui-material/src/MenuList/MenuList.test.js | 2 +- packages/mui-material/src/Modal/ModalManager.test.ts | 8 ++++---- packages/mui-material/src/Modal/ModalManager.ts | 2 +- .../src/getScrollbarSize/getScrollbarSize.test.ts | 2 +- .../mui-utils/src/getScrollbarSize/getScrollbarSize.ts | 6 +++--- 8 files changed, 17 insertions(+), 16 deletions(-) diff --git a/packages/mui-base/src/unstable_useModal/ModalManager.test.ts b/packages/mui-base/src/unstable_useModal/ModalManager.test.ts index a53aa83068124b..bfbd505f82f8fa 100644 --- a/packages/mui-base/src/unstable_useModal/ModalManager.test.ts +++ b/packages/mui-base/src/unstable_useModal/ModalManager.test.ts @@ -135,8 +135,8 @@ describe('ModalManager', () => { modalManager.add(modal, container1); modalManager.mount(modal, {}); expect(container1.style.overflow).to.equal('hidden'); - expect(container1.style.paddingRight).to.equal(`${20 + getScrollbarSize(document)}px`); - expect(fixedNode.style.paddingRight).to.equal(`${14 + getScrollbarSize(document)}px`); + expect(container1.style.paddingRight).to.equal(`${20 + getScrollbarSize(window)}px`); + expect(fixedNode.style.paddingRight).to.equal(`${14 + getScrollbarSize(window)}px`); modalManager.remove(modal); expect(container1.style.overflow).to.equal(''); expect(container1.style.paddingRight).to.equal('20px'); @@ -171,8 +171,8 @@ describe('ModalManager', () => { modalManager.add(modal, container1); modalManager.mount(modal, {}); expect(container1.style.overflow).to.equal('hidden'); - expect(container1.style.paddingRight).to.equal(`${20 + getScrollbarSize(document)}px`); - expect(fixedNode.style.paddingRight).to.equal(`${getScrollbarSize(document)}px`); + expect(container1.style.paddingRight).to.equal(`${20 + getScrollbarSize(window)}px`); + expect(fixedNode.style.paddingRight).to.equal(`${getScrollbarSize(window)}px`); modalManager.remove(modal); expect(container1.style.overflow).to.equal(''); expect(container1.style.paddingRight).to.equal('20px'); diff --git a/packages/mui-base/src/unstable_useModal/ModalManager.ts b/packages/mui-base/src/unstable_useModal/ModalManager.ts index 4fc0695d96d04c..89a76e61cf9dac 100644 --- a/packages/mui-base/src/unstable_useModal/ModalManager.ts +++ b/packages/mui-base/src/unstable_useModal/ModalManager.ts @@ -100,7 +100,7 @@ function handleContainer(containerInfo: Container, props: ManagedModalProps) { if (!props.disableScrollLock) { if (isOverflowing(container)) { // Compute the size before applying overflow hidden to avoid any scroll jumps. - const scrollbarSize = getScrollbarSize(ownerDocument(container)); + const scrollbarSize = getScrollbarSize(ownerWindow(container)); restoreStyle.push({ value: container.style.paddingRight, diff --git a/packages/mui-material/src/MenuList/MenuList.js b/packages/mui-material/src/MenuList/MenuList.js index 595c4849c5ce45..6774b003ad9f00 100644 --- a/packages/mui-material/src/MenuList/MenuList.js +++ b/packages/mui-material/src/MenuList/MenuList.js @@ -7,6 +7,7 @@ import List from '../List'; import getScrollbarSize from '../utils/getScrollbarSize'; import useForkRef from '../utils/useForkRef'; import useEnhancedEffect from '../utils/useEnhancedEffect'; +import { ownerWindow } from '../utils'; function nextItem(list, item, disableListWrap) { if (list === item) { @@ -130,7 +131,7 @@ const MenuList = React.forwardRef(function MenuList(props, ref) { // of the menu. const noExplicitWidth = !listRef.current.style.width; if (containerElement.clientHeight < listRef.current.clientHeight && noExplicitWidth) { - const scrollbarSize = `${getScrollbarSize(ownerDocument(containerElement))}px`; + const scrollbarSize = `${getScrollbarSize(ownerWindow(containerElement))}px`; listRef.current.style[direction === 'rtl' ? 'paddingLeft' : 'paddingRight'] = scrollbarSize; listRef.current.style.width = `calc(100% + ${scrollbarSize})`; diff --git a/packages/mui-material/src/MenuList/MenuList.test.js b/packages/mui-material/src/MenuList/MenuList.test.js index 67eeba715f24af..1b4b7ae33278fb 100644 --- a/packages/mui-material/src/MenuList/MenuList.test.js +++ b/packages/mui-material/src/MenuList/MenuList.test.js @@ -63,7 +63,7 @@ describe('', () => { }); describe('actions: adjustStyleForScrollbar', () => { - const expectedPadding = `${getScrollbarSize(document)}px`; + const expectedPadding = `${getScrollbarSize(window)}px`; it('should not adjust style when container element height is greater', () => { const menuListActionsRef = React.createRef(); diff --git a/packages/mui-material/src/Modal/ModalManager.test.ts b/packages/mui-material/src/Modal/ModalManager.test.ts index a53aa83068124b..bfbd505f82f8fa 100644 --- a/packages/mui-material/src/Modal/ModalManager.test.ts +++ b/packages/mui-material/src/Modal/ModalManager.test.ts @@ -135,8 +135,8 @@ describe('ModalManager', () => { modalManager.add(modal, container1); modalManager.mount(modal, {}); expect(container1.style.overflow).to.equal('hidden'); - expect(container1.style.paddingRight).to.equal(`${20 + getScrollbarSize(document)}px`); - expect(fixedNode.style.paddingRight).to.equal(`${14 + getScrollbarSize(document)}px`); + expect(container1.style.paddingRight).to.equal(`${20 + getScrollbarSize(window)}px`); + expect(fixedNode.style.paddingRight).to.equal(`${14 + getScrollbarSize(window)}px`); modalManager.remove(modal); expect(container1.style.overflow).to.equal(''); expect(container1.style.paddingRight).to.equal('20px'); @@ -171,8 +171,8 @@ describe('ModalManager', () => { modalManager.add(modal, container1); modalManager.mount(modal, {}); expect(container1.style.overflow).to.equal('hidden'); - expect(container1.style.paddingRight).to.equal(`${20 + getScrollbarSize(document)}px`); - expect(fixedNode.style.paddingRight).to.equal(`${getScrollbarSize(document)}px`); + expect(container1.style.paddingRight).to.equal(`${20 + getScrollbarSize(window)}px`); + expect(fixedNode.style.paddingRight).to.equal(`${getScrollbarSize(window)}px`); modalManager.remove(modal); expect(container1.style.overflow).to.equal(''); expect(container1.style.paddingRight).to.equal('20px'); diff --git a/packages/mui-material/src/Modal/ModalManager.ts b/packages/mui-material/src/Modal/ModalManager.ts index 4fc0695d96d04c..89a76e61cf9dac 100644 --- a/packages/mui-material/src/Modal/ModalManager.ts +++ b/packages/mui-material/src/Modal/ModalManager.ts @@ -100,7 +100,7 @@ function handleContainer(containerInfo: Container, props: ManagedModalProps) { if (!props.disableScrollLock) { if (isOverflowing(container)) { // Compute the size before applying overflow hidden to avoid any scroll jumps. - const scrollbarSize = getScrollbarSize(ownerDocument(container)); + const scrollbarSize = getScrollbarSize(ownerWindow(container)); restoreStyle.push({ value: container.style.paddingRight, diff --git a/packages/mui-utils/src/getScrollbarSize/getScrollbarSize.test.ts b/packages/mui-utils/src/getScrollbarSize/getScrollbarSize.test.ts index 99364f03c9fb3f..75409922795a6b 100644 --- a/packages/mui-utils/src/getScrollbarSize/getScrollbarSize.test.ts +++ b/packages/mui-utils/src/getScrollbarSize/getScrollbarSize.test.ts @@ -28,6 +28,6 @@ describe('getScrollbarSize', () => { document.head.appendChild(styleElement); divElement.style.height = '2000px'; document.body.appendChild(divElement); - expect(getScrollbarSize(document)).to.equal(5); + expect(getScrollbarSize(window)).to.equal(5); }); }); diff --git a/packages/mui-utils/src/getScrollbarSize/getScrollbarSize.ts b/packages/mui-utils/src/getScrollbarSize/getScrollbarSize.ts index 19bd0b7e027874..2cc378ca44a124 100644 --- a/packages/mui-utils/src/getScrollbarSize/getScrollbarSize.ts +++ b/packages/mui-utils/src/getScrollbarSize/getScrollbarSize.ts @@ -1,7 +1,7 @@ // A change of the browser zoom change the scrollbar size. // Credit https://github.com/twbs/bootstrap/blob/488fd8afc535ca3a6ad4dc581f5e89217b6a36ac/js/src/util/scrollbar.js#L14-L18 -export default function getScrollbarSize(doc: Document): number { +export default function getScrollbarSize(win: Window = window): number { // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes - const documentWidth = doc.documentElement.clientWidth; - return Math.abs(doc.defaultView!.innerWidth - documentWidth); + const documentWidth = win.document.documentElement.clientWidth; + return win.innerWidth - documentWidth; } From 1dce062b753af2164c05ccda0496ca6ba3170487 Mon Sep 17 00:00:00 2001 From: Konstantin Dichev Date: Wed, 25 Sep 2024 10:51:44 +0300 Subject: [PATCH 20/52] [docs] Fix pigment-css.md syntax error (#43837) Signed-off-by: Konstantin Dichev --- docs/data/material/experimental-api/pigment-css/pigment-css.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/material/experimental-api/pigment-css/pigment-css.md b/docs/data/material/experimental-api/pigment-css/pigment-css.md index cdb267656b2ba2..dacd78b181f1d4 100644 --- a/docs/data/material/experimental-api/pigment-css/pigment-css.md +++ b/docs/data/material/experimental-api/pigment-css/pigment-css.md @@ -62,7 +62,7 @@ Next, head over to your config file and import the `withPigment` plugin: // next.config.js import { withPigment } from '@pigment-css/nextjs-plugin'; -export default withPigment({ nextConfig }); +export default withPigment(nextConfig); ``` ```ts Vite From 36932f12222aade012d90244ca8eab31b9e5ea85 Mon Sep 17 00:00:00 2001 From: Danail Hadjiatanasov Date: Wed, 25 Sep 2024 12:06:05 +0300 Subject: [PATCH 21/52] [website] Open the xCharts, eXplore and X general react engineer roles (#43805) --- CHANGELOG.old.md | 4 +- docs/pages/careers.tsx | 48 +++---- docs/pages/careers/ROLE_TEMPLATE.md | 6 +- docs/pages/careers/accessibility-engineer.md | 8 +- docs/pages/careers/design-engineer-x-grid.md | 8 +- docs/pages/careers/design-engineer.md | 8 +- docs/pages/careers/designer.md | 4 +- docs/pages/careers/developer-advocate.md | 4 +- .../careers/developer-experience-engineer.md | 8 +- docs/pages/careers/engineering-manager.md | 8 +- docs/pages/careers/full-stack-engineer.md | 6 +- docs/pages/careers/head-of-operations.md | 8 +- .../pages/careers/people-operation-manager.md | 8 +- docs/pages/careers/product-engineer.md | 8 +- docs/pages/careers/product-manager.md | 8 +- .../careers/product-marketing-manager.md | 8 +- .../pages/careers/react-community-engineer.md | 8 +- docs/pages/careers/react-engineer-core.md | 8 +- .../careers/react-engineer-docs-infra.md | 2 +- ...-engineer.js => react-engineer-explore.js} | 2 +- docs/pages/careers/react-engineer-explore.md | 135 ++++++++++++++++++ docs/pages/careers/react-engineer-x-charts.md | 21 +-- docs/pages/careers/react-engineer-x-grid.md | 8 +- docs/pages/careers/react-engineer-x.md | 23 ++- docs/pages/careers/react-tech-lead-core.md | 12 +- docs/pages/careers/react-tech-lead-x-grid.md | 10 +- docs/pages/careers/senior-designer.md | 8 +- .../careers/staff-engineer-pigment-css.md | 10 +- .../careers/staff-ui-engineer-base-ui.md | 8 +- docs/pages/careers/support-agent.md | 6 +- .../careers/technical-product-manager.md | 8 +- docs/pages/careers/technical-recruiter.md | 8 +- 32 files changed, 280 insertions(+), 149 deletions(-) rename docs/pages/careers/{fullstack-engineer.js => react-engineer-explore.js} (68%) create mode 100644 docs/pages/careers/react-engineer-explore.md diff --git a/CHANGELOG.old.md b/CHANGELOG.old.md index b1d43653b44cd9..97db7f0eadda79 100644 --- a/CHANGELOG.old.md +++ b/CHANGELOG.old.md @@ -823,7 +823,7 @@ This release was mostly about 🐛 bug fixes and 📚 documentation improvements - [blog] Add post about upcoming plans for Base UI (#40882) @danilo-leal - [core] Simplify CodeSandbox reproduction @oliviertassinari - [core] Missing redirection @oliviertassinari -- [core] Export functions from `copyFiles` script to reuse in MUI X repo (#40970) @cherniavskii +- [core] Export functions from `copyFiles` script to reuse in MUI X repo (#40970) @cherniavskii - [core] Avoid variable shorthands @oliviertassinari - [docs-infra] Fix search icon issue (#40957) @oliviertassinari - [docs-infra] Ignore classes tagged with `@ignore` (#41009) @cherniavskii @@ -1013,7 +1013,7 @@ This release was mostly about 🐛 bug fixes and 📚 documentation improvements - ​[website] Move `React Engineer - X` into the future roles section (#40867) @DanailH - ​[material-ui][test][Alert] Add action, icon, and iconMapping tests (#40682) @DiegoAndai - ​[blog] Lint duplicate h1 on the page (#40835) @oliviertassinari -- ​[blog] MUI X v7 beta announcement blogpost (#40784) @joserodolfofreitas +- ​[blog] MUI X v7 beta announcement blogpost (#40784) @joserodolfofreitas - ​[code-infra] Remove custom TS installation script (#40636) @michaldudak - ​[code-infra] Correct API Docs Builder dependencies (#40775) @michaldudak - ​[code-infra] Migrate to prettier async APIs (#40668) @Janpot diff --git a/docs/pages/careers.tsx b/docs/pages/careers.tsx index cefc58a1b214d4..a62cc7962c16d3 100644 --- a/docs/pages/careers.tsx +++ b/docs/pages/careers.tsx @@ -22,18 +22,30 @@ const openRolesData = [ { title: 'Engineering', roles: [ - { - title: 'React Engineer — Docs-infra', - description: - 'You will drive the development and maintenance of the documentation platform that powers all MUI products.', - url: '/careers/react-engineer-docs-infra/', - }, { title: 'Staff Engineer — Pigment CSS', description: 'Research, build, document, and help ship a next-gen zero-runtime CSS-in-JS library with a focus on performance and great developer experience.', url: '/careers/staff-engineer-pigment-css/', }, + { + title: 'React Engineer — xCharts', + description: + 'You will help form the xCharts team, build ambitious and complex new features, work on strategic problems, and help grow adoption.', + url: '/careers/react-engineer-x-charts/', + }, + { + title: 'React Engineer — eXplore', + description: + 'You will help eXplore, the team behind the Pickers and Tree View components, build the most comprehensive UI library the world has ever seen.', + url: '/careers/react-engineer-explore/', + }, + { + title: 'React Engineer — X', + description: + 'You will strengthen the MUI X product, build ambitious and complex new features, work on strategic problems, and help grow adoption.', + url: '/careers/react-engineer-x/', + }, ], }, { @@ -51,22 +63,16 @@ const nextRolesData = [ title: 'Engineering', roles: [ { - title: 'React Tech Lead — Core', - description: - 'You will lead the development of MUI Core, positioning the library as the industry standard for design teams while doubling its adoption.', - url: '/careers/react-tech-lead-core/', - }, - { - title: 'React Engineer — X', + title: 'React Engineer — Docs-infra', description: - 'You will strengthen the MUI X product, build ambitious and complex new features, work on strategic problems, and help grow adoption.', - url: '/careers/react-engineer-x/', + 'You will drive the development and maintenance of the documentation platform that powers all MUI products.', + url: '/careers/react-engineer-docs-infra/', }, { - title: 'React Engineer — xCharts', + title: 'React Tech Lead — Core', description: - 'You will help form the xCharts team, build ambitious and complex new features, work on strategic problems, and help grow adoption.', - url: '/careers/react-engineer-x-charts/', + 'You will lead the development of the core libraries, helping position it as the industry standard for design system teams.', + url: '/careers/react-tech-lead-core/', }, { title: 'React Community Engineer — X', @@ -80,12 +86,6 @@ const nextRolesData = [ 'You will become our go-to expert for accessibility, to ensure all products meet or exceed WCAG 2.1 level AA guidelines.', url: '/careers/accessibility-engineer/', }, - { - title: 'Full-stack Engineer — Toolpad', - description: - 'You will join the Toolpad team, to explore the role of MUI in the low code space and help bring the early prototype to a usable product.', - url: '/careers/fullstack-engineer/', - }, ], }, { diff --git a/docs/pages/careers/ROLE_TEMPLATE.md b/docs/pages/careers/ROLE_TEMPLATE.md index 5766f3988998e4..0e1f2b14702677 100644 --- a/docs/pages/careers/ROLE_TEMPLATE.md +++ b/docs/pages/careers/ROLE_TEMPLATE.md @@ -40,8 +40,8 @@ For additional details about the culture, you can check our [careers](https://mu XXXXXX -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -51,7 +51,7 @@ Our products empower React developers to build awesome applications faster – w ## The role -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/accessibility-engineer.md b/docs/pages/careers/accessibility-engineer.md index fc6305b7115185..4c562a7c3594c4 100644 --- a/docs/pages/careers/accessibility-engineer.md +++ b/docs/pages/careers/accessibility-engineer.md @@ -13,7 +13,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -43,8 +43,8 @@ Accessibility is a strategic opportunity for MUI, across our products: 1. We are building Base UI for the developers that are looking for a relatively lower-level API while keeping a strong baseline to build on top of that saves them time. For them, it's about having a better customizability experience (style & behavior). The most exigent users of Base UI, the ones that are spreading the viral growth of the product in the community, have strong a11y requirements. So we have to meet them for Base UI to be successful. 2. Accessibility is mandated by law. For example, in the US, the Americans with Disabilities Act (ADA) is a US law enacted in 1990 to ensure people with disabilities are not discriminated against. In the EU, the European Accessibility Act (AEE) will soon be enacted. Our paid customers are increasingly asking about compliance with WCAG. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -55,7 +55,7 @@ You will also be responsible to train the developers using MUI's products to a11 ## The role -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/design-engineer-x-grid.md b/docs/pages/careers/design-engineer-x-grid.md index b3715e246fd578..b2dbfde886b30c 100644 --- a/docs/pages/careers/design-engineer-x-grid.md +++ b/docs/pages/careers/design-engineer-x-grid.md @@ -13,7 +13,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -45,8 +45,8 @@ It's an even bigger problem when developers work on projects around a single maj Up until now, we're solving a subset of these problems by smoothly integrating the MUI X Data Grid with Material UI. But the time has come to take a step further and double down on design by expanding the Data Grid capacities to integrate nicely with _any_ React project rather than just a Material UI-based one. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -61,7 +61,7 @@ So, by combining top-notch engineering with sleek product design, you'll be pion ## The role -### What you'll do on a day-to-day basis +### Key responsibilities The Design Engineer role sits right at the intersection between product design and software engineering. So, depending on the initiative, your day can be entirely different! Here's what you'll be able to do: diff --git a/docs/pages/careers/design-engineer.md b/docs/pages/careers/design-engineer.md index 4a0f2e26a4026e..7972d5785372e3 100644 --- a/docs/pages/careers/design-engineer.md +++ b/docs/pages/careers/design-engineer.md @@ -13,7 +13,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -41,8 +41,8 @@ For additional details about the culture, you can check our [careers](https://mu We are aiming to make high-end design accessible to the many, empowering developers that lack access to a designer as well as saving time for designers with a source they can trust. [According to our last survey](https://mui.com/blog/2021-developer-survey-results/#what-are-your-most-important-criteria-for-choosing-a-ui-library), the quality of the design execution (UX & UI) is the most important criteria used by developers & designers to pick their next UI library. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -54,7 +54,7 @@ It's why we started Base UI, Joy UI, and Toolpad. Design is key to achieving t ## The role -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/designer.md b/docs/pages/careers/designer.md index 00a476a3f5e160..c2b06b5259c1d5 100644 --- a/docs/pages/careers/designer.md +++ b/docs/pages/careers/designer.md @@ -6,7 +6,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -54,7 +54,7 @@ Some criteria for applying to this role: - **Location**: fully remote (preference for UTC-6 to UTC +3). - **Type of work**: full-time (as a contractor or employee, [depending primarily on location](https://mui-org.notion.site/Hiring-FAQ-64763b756ae44c37b47b081f98915501)). -- **Level**: [3 or above](https://mui-org.notion.site/Design-levels-aa01996ca7e0481e80479ad47c8f28a4). +- **Level**: [IC3 or above](https://mui-org.notion.site/Design-levels-aa01996ca7e0481e80479ad47c8f28a4). We need someone experienced enough to help two different teams with hard problems. You'll be responsible for ensuring that the Toolpad and MUI X teams have spot-on design and product work. diff --git a/docs/pages/careers/developer-advocate.md b/docs/pages/careers/developer-advocate.md index eeef2ae47a8113..9955810f049a6a 100644 --- a/docs/pages/careers/developer-advocate.md +++ b/docs/pages/careers/developer-advocate.md @@ -13,7 +13,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -59,6 +59,8 @@ From the perspective of that framework, you would pioneer the Content layer whil ### Key responsibilities +Depending on the day, you'll: + - Create inspiring educational materials (demo apps, how-to guides, integration examples, tutorials) for devs of all skill levels - Seek out and implement improvements to the documentation - Contribute to the docs infrastructure, docs UX, or directly to the product depending on where the problem is best solved (the closer to the root the better). diff --git a/docs/pages/careers/developer-experience-engineer.md b/docs/pages/careers/developer-experience-engineer.md index 3fd6431bb3b822..94572e8ef32c5c 100644 --- a/docs/pages/careers/developer-experience-engineer.md +++ b/docs/pages/careers/developer-experience-engineer.md @@ -13,7 +13,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -48,8 +48,8 @@ We are looking for someone that can contribute to the following outcomes: - Improve the overall developer experience, resulting in better NPS & CSAT scores. - Create momentum in the React community and drive adoption of the library. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -59,7 +59,7 @@ Our products empower React developers to build awesome applications faster – w ## The role -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/engineering-manager.md b/docs/pages/careers/engineering-manager.md index cf50b707c1e304..15027f7732e4b4 100644 --- a/docs/pages/careers/engineering-manager.md +++ b/docs/pages/careers/engineering-manager.md @@ -13,7 +13,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -46,8 +46,8 @@ A few months back work started on [Toolpad](https://github.com/mui/toolpad), an We have found the beginning of a market fit in this low-code segment. We need help to structure & grow the engineering team. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -59,7 +59,7 @@ Growing the Toolpad engineering team will be full of challenges. ## The role -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/full-stack-engineer.md b/docs/pages/careers/full-stack-engineer.md index 932ac5c95f4b29..2f2c4aeb451eb7 100644 --- a/docs/pages/careers/full-stack-engineer.md +++ b/docs/pages/careers/full-stack-engineer.md @@ -33,8 +33,8 @@ We believe that the best way to improve on these dimensions is to eliminate [80% We're in the early stages of exploring what our role could be in the currently emerging low-code space. We've assembled a team to work on a new product and plan to bring it to market in 2022. We have made our initial research and need help to accelerate the development of our MVP. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ## The role @@ -48,7 +48,7 @@ The Toolpad application offers a wide variety of engineering challenges. Includi - Interfacing with many different types of backends - Databinding and complex state management -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/head-of-operations.md b/docs/pages/careers/head-of-operations.md index 609d907b50852c..bde661d4fa43d7 100644 --- a/docs/pages/careers/head-of-operations.md +++ b/docs/pages/careers/head-of-operations.md @@ -12,7 +12,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -43,8 +43,8 @@ There is now a tiny team of two people working to support the operations needs. But this isn't enough, the department is increasingly a bottleneck in growing the company. We are looking for a Head of Operations to take ownership of designing, implementing, and overseeing most of the business operations to support MUI's growth. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -57,7 +57,7 @@ Our products empower React developers to build awesome applications faster – w ## The role -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/people-operation-manager.md b/docs/pages/careers/people-operation-manager.md index 21192b65eeb2fb..fbf17cf0c6255a 100644 --- a/docs/pages/careers/people-operation-manager.md +++ b/docs/pages/careers/people-operation-manager.md @@ -12,7 +12,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -40,8 +40,8 @@ For additional details about the culture, you can check our [careers](https://mu At the current growth rate, we target 50 new hires in 2023. We would reach 75 people. We need somebody to lead our HR strategy including hiring, onboarding, diversity & inclusion, learning & development, and employee happiness. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ## The role @@ -51,7 +51,7 @@ You'll have the freedom to implement processes and to drive change across the or Our products empower React developers to build awesome applications faster – we see millions of developers on MUI's docs every year, one million a month. -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/product-engineer.md b/docs/pages/careers/product-engineer.md index 1100b3113554fd..edeca294c22098 100644 --- a/docs/pages/careers/product-engineer.md +++ b/docs/pages/careers/product-engineer.md @@ -13,7 +13,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -42,8 +42,8 @@ The development and operations of the store are currently almost exclusively run This team doesn't have enough bandwidth, the store doesn't receive the care it deserves. You will be responsible to step up and carry forward the development of the store on new fronts. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -53,7 +53,7 @@ Our products empower React developers to build awesome applications faster – w ## The role -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/product-manager.md b/docs/pages/careers/product-manager.md index b12c638ee13d5c..d3374fae538c90 100644 --- a/docs/pages/careers/product-manager.md +++ b/docs/pages/careers/product-manager.md @@ -12,7 +12,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -41,8 +41,8 @@ Our mission is to empower as many people as possible to build great UIs, faster. The faster and simpler it is, and the broader the audience that can create custom UIs, the better. We believe that the best way to improve on these dimensions is to eliminate [80%](https://www.youtube.com/watch?v=GnO7D5UaDig&t=2451s) of the code that has to be written: low-code. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -57,7 +57,7 @@ You will initiate the exploration of a bold new product vertical. ## The role -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/product-marketing-manager.md b/docs/pages/careers/product-marketing-manager.md index 3756bfacdc7717..5b145a46264a91 100644 --- a/docs/pages/careers/product-marketing-manager.md +++ b/docs/pages/careers/product-marketing-manager.md @@ -13,7 +13,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -45,8 +45,8 @@ Up to this point we have operated: We believe that we could do a lot better. This is a white canvas opportunity at the company, this role is critical to our growth plans. Product Marketing will be a cross-functional role at MUI, partnering with Design, Product, Developer Experience and Sales. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -56,7 +56,7 @@ Our products empower React developers to build awesome applications faster – w ## The role -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/react-community-engineer.md b/docs/pages/careers/react-community-engineer.md index 4cece836f8be49..c49d2342a6ef19 100644 --- a/docs/pages/careers/react-community-engineer.md +++ b/docs/pages/careers/react-community-engineer.md @@ -13,7 +13,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -46,8 +46,8 @@ We face challenges on multiple fronts: - Software engineers at MUI are tasked with doing support, however, they could benefit from the help of a dedicated person in the company, for instance to improve the workflows and tooling. - The MUI X Premium plan will offer a technical advisor service, we need a Community Engineer to help deliver it. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ## The role @@ -59,7 +59,7 @@ At MUI a Community Engineer is considered a developer, it's a person that enjoys Our products empower React developers to build awesome applications faster – we see millions of developers on MUI's docs every year, one million a month. -### What you'll do on a day-to-day basis +### Key responsibilities You will own the following responsibilities: diff --git a/docs/pages/careers/react-engineer-core.md b/docs/pages/careers/react-engineer-core.md index 91c17d6b225c96..74a9f621f75eea 100644 --- a/docs/pages/careers/react-engineer-core.md +++ b/docs/pages/careers/react-engineer-core.md @@ -13,7 +13,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -43,8 +43,8 @@ They are working on 4 products (Material UI, Base UI, Joy UI, and MUI System We also need help to continue to improve the health of the open-source product: make the core components easier to use, increase the contributions by engaging and collaborating with the community, polish all the details, make the components more accessible, guide developers to answers, and just generally be a positive presence in the open-source community. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ## The role @@ -55,7 +55,7 @@ Our products empower React developers to build awesome applications faster – w The core components are widely used, you will receive a lot of feedback on your work. The community has high expectations, they will push you to do better, every day. -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/react-engineer-docs-infra.md b/docs/pages/careers/react-engineer-docs-infra.md index 671c744ab77e7d..b06f0e061c0cbc 100644 --- a/docs/pages/careers/react-engineer-docs-infra.md +++ b/docs/pages/careers/react-engineer-docs-infra.md @@ -1,4 +1,4 @@ -# React Engineer — Docs-infra +# React Engineer — Docs-infra (future role)

You will drive the development and maintenance of the documentation platform that powers all MUI products.

diff --git a/docs/pages/careers/fullstack-engineer.js b/docs/pages/careers/react-engineer-explore.js similarity index 68% rename from docs/pages/careers/fullstack-engineer.js rename to docs/pages/careers/react-engineer-explore.js index eb99c21523c7e1..580fe9c1084214 100644 --- a/docs/pages/careers/fullstack-engineer.js +++ b/docs/pages/careers/react-engineer-explore.js @@ -1,6 +1,6 @@ import * as React from 'react'; import TopLayoutCareers from 'docs/src/modules/components/TopLayoutCareers'; -import * as pageProps from 'docs/pages/careers/full-stack-engineer.md?muiMarkdown'; +import * as pageProps from 'docs/pages/careers/react-engineer-explore.md?muiMarkdown'; export default function Page() { return ; diff --git a/docs/pages/careers/react-engineer-explore.md b/docs/pages/careers/react-engineer-explore.md new file mode 100644 index 00000000000000..d788047f58acf6 --- /dev/null +++ b/docs/pages/careers/react-engineer-explore.md @@ -0,0 +1,135 @@ +# React Engineer — eXplore + +

You will help eXplore, the team behind the Pickers and Tree View components, build the most comprehensive UI library the world has ever seen.

+ +## Details of the role + +- **Location**: Remote (strong preference for UTC-6 to UTC+5). +- **Type of work**: Full-time (contractor or employee [depending on circumstances](https://mui-org.notion.site/Hiring-FAQ-64763b756ae44c37b47b081f98915501#494af1f358794028beb4b7697b5d3102)). +- **Level**: [IC4 or above](https://mui-org.notion.site/Leveling-at-MUI-5c30f9bfe65149d697f346447cef9db1). +- We're a **remote** company, we prefer asynchronous communication over meetings. + +## The company + +MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. +Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. +We're a company of 35+ people as of early 2024, and we're growing. + +## The products + +MUI is best known for our flagship product, Material UI—but this is just one of three core component libraries we maintain. Base UI is our headless component library, and Pigment CSS is a zero-runtime CSS-in-JS styling engine. We also host Design Kits and pre-built Templates. + +Beyond the core libraries, MUI X offers advanced components like the Data Grid, Date and Time Pickers, and Charts, for more complex user interactions and data visualization needs. + +We're also making ambitious moves to incorporate our full suite of components into Toolpad, a low-code admin builder tool for assembling full-stack apps faster than ever. + +Learn more about MUI's products in this blog post: [An introduction to the MUI ecosystem](https://mui.com/blog/mui-product-comparison/). + +## The culture + +MUI is a fully remote company with a team that spans the globe. +The majority of our work is asynchronous, and we rely on written communication to collaborate. We're radically transparent: nearly all of our work happens in public. +Each contributor has the freedom to decide how and when they work, and that work is primarily self-directed: it's your responsibility to define and complete your own tasks in a timely manner. + +For additional details about the culture, you can check our [careers](https://mui.com/careers/) and [about](https://mui.com/about/) pages and also our [public Handbook](https://mui-org.notion.site/Handbook-f086d47e10794d5e839aef9dc67f324b). + +## Why we're hiring + +The eXplore team (part of MUI X) needs your help. The team is currently responsible for the Pickers and Tree View components with plans to expand to others in the future. Initially, we want to double down on our Pickers and work towards providing even greater customizability. + +We also need help to continue to improve the health of the open-source product: make the advanced components easier to use, make it support more use cases, improve performance, make it more accessible, increase the contributions by engaging and collaborating with the community, guide developers to answers, and just generally be a positive presence in the open-source community. + +The mission of the eXplore team is to help deliver the most comprehensive UI library the world has ever seen. + +### Why this is interesting + +The advanced components portfolio is still small, with a million interesting and challenging problems to solve. + +Our products empower React developers to build awesome applications faster – we see millions of developers on MUI's docs every year, one million a month. + +## The role + +### Key responsibilities + +Depending on the day, you'll: + +- **Help guide architectural decisions**. + The future of MUI is discussed and planned in our public RFCs and issues. + You'll be helping drive these conversations and guiding MUI toward the best possible solutions. +- **Contribute to deep, meaningful refactors and feature releases**. + MUI is a complex codebase. Components we've shipped recently, such as the data grid and date pickers have required months of dedicated, careful work. +- **Reduce friction**. + A large amount of the work on MUI is reducing friction and making it easier to use. + This might involve careful API design, identifying and fixing top bugs, creating easier-to-understand error messages, and writing documentation and blog posts about features you ship. +- **Collaborate with the community**. + Many small, as well as meaningful fixes and features, have been contributed by the community. Your role is to draw the best out of the community — to inspire those across the world to create and contribute through your reviews of their issues and pull requests. +- **Experiment and play**. Great, unexpected features and heisenbug fixes have come from a number of sources — relentlessly methodical processes of elimination, free-flowing team collaboration, inspiration by adjacent libraries and projects, and difficult-to-explain individual strokes of brilliance. Whatever your preferred style is for creating new things that others might not have thought of, you'll find a welcome home on the team. +- **Take ownership of features from idea/mockup to live deployment**. + You'll shape and guide the direction of crucial new features, including new components. +- **Ship. Early and often**. You'll iterate and ship frequently. + You'll have a real impact on the end-user experience and you'll love working on a team that builds stunning UIs and prioritizes delivering real user value as often as possible. +- **You'll be interacting with the users** on a regular basis, handling inbound support and feature requests (every developer helps with developer requests). + +### The best parts of this job + +- **You'll be at the cutting edge of application development** — working on one of the fastest-growing UI libraries on the market. +- **You'll be part of an active, open, friendly community** of developers that are excited about building awesome applications. +- **Your role will be key to making MUI the go-to UI solution** for building applications, websites, and design systems with React. + +### The worst parts of this job + +- **Shifting context.** + You will necessarily have to shift context and dive into a different feature before the current one is done. + It may even be in an area of the codebase you're unfamiliar with or don't have a ton of understanding about. + It's fun, rewarding work, but it can be very challenging. +- **We move quickly but don't sacrifice quality**. + We ship early, often, and quickly. You may not be initially comfortable with the cadence with which we ship high-quality features and improvements to end-users. By doing so, we sacrifice on solving each problem 100% in exchange for fast feedback. Solving 50-70% of the issue with quality should be enough for any given iteration. Our users quickly tell us when we haven't pushed a solution far enough. +- **MUI has a large codebase**. You may bang your head against the wall at times, and then write tests to assist future you 😌. + The work you will be doing is somewhat unique and idiosyncratic. You probably have not had a similar role before. +- **In open-source, you're faced with a nonstop stream of bug reports and support requests**. That means you need to develop an intuition for when to ignore something, and when to dig in further. + +## Who we're looking for + +We're looking for someone with strong front-end skills. More important than specific technical skills though is that you're a strong problem solver who loves to learn. Details matter to you. + +### Required + +- **Expertise in the modern JavaScript ecosystem**. + MUI's open-source projects are built on the shoulders of giants, making use of technologies such as ES2021, TypeScript, Node.js, React, Next.js, Webpack, and Babel. +- **A track record of demonstrating an eye for product and solving real-world user problems**. If you have a knack for solving problems at the root cause, shipping beautiful user interfaces and intuitive APIs, we want you on our team. +- **Experience building and shipping production code in a team setting** with a passion for writing tested, performant, and high-quality code. +- **Strong written and verbal communication skills**. + As part of the team, you'll interface both directly and indirectly with community members and enterprise customers, and contribute to user documentation. Clear communication is fundamental in creating intuitive and compelling resources. +- **Ability to dive into complex problems**. + You should be able to quickly assess, understand, and iterate upon aspects of our codebase. +- **Ready and willing to ask and answer questions**. + If you're comfortable saying you're unsure, asking for help; but equally reaching out to assist others, you'll be an incredible addition to our team. We thrive because of continuous learning. First-time mistakes should be celebrated, not blamed. +- **Avoid monolithic deliverables**. + You scope and stage your work into well-defined milestones to ship. +- **Past work with front-end infrastructure**. + Perhaps you've created your company's design system, written a Babel plugin, or written complex React components. + It would be great if you could address this in your cover letter! + +### Nice to have (but not required) + +- **You've contributed to a design system before**. + You have worked on enterprise components in the past, maybe for internal use in your company. + You have built complex and advanced features while making sure the accessibility was fully functional. +- **You've maintained an active repository before**. + Maybe you've helped maintain a popular open-source repository, or perhaps you've worked on internal repositories that saw contributions from multiple teams. + Previous experience with highly active repository workflows is a definite plus for this role. +- **You have contributed code**. A history of contributing to MUI's open-source projects is a plus. + +## Benefits and compensation + +We offer competitive compensation commensurate with your experience level and location and are prepared to pay top market rates for someone who can clearly exceed the role's expectations. You can find the other perks and benefits on the [careers](https://mui.com/careers/#perks-and-benefits) page. + +## How to apply + +[Apply now for this position 📮](https://jobs.ashbyhq.com/MUI/f7b1b8cd-b8b7-4565-92de-34c5f49581c6/application?utm_source=ZNRrPGBkqO) + +Don't meet every requirement? +Apply anyway! +Research shows that certain folks are less likely to apply for a role than others [unless they meet 100%](https://hbr.org/2014/08/why-women-dont-apply-for-jobs-unless-theyre-100-qualified) of the outlined qualifications. +If this role excites you, we want to hear from you. +We'd love for you to share the unique skills, passion, and experience you could bring to MUI. diff --git a/docs/pages/careers/react-engineer-x-charts.md b/docs/pages/careers/react-engineer-x-charts.md index a680b52b061669..5894c5009827b9 100644 --- a/docs/pages/careers/react-engineer-x-charts.md +++ b/docs/pages/careers/react-engineer-x-charts.md @@ -1,4 +1,4 @@ -# React Engineer — xCharts (future role) +# React Engineer — xCharts

You will help form the xCharts team, build ambitious and complex new features, work on strategic problems, and help grow adoption.

@@ -13,13 +13,11 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products -MUI is best known for our flagship product, Material UI—but this is just one of three core component libraries we maintain. -Base UI is our headless component library, and Joy UI is a sister library to Material UI that implements our own in-house Joy Design system. -We also host Design Kits and pre-built Templates. +MUI is best known for our flagship product, Material UI—but this is just one of three core component libraries we maintain. Base UI is our headless component library, and Pigment CSS is a zero-runtime CSS-in-JS styling engine. We also host Design Kits and pre-built Templates. Beyond the core libraries, MUI X offers advanced components like the Data Grid, Date and Time Pickers, and Charts, for more complex user interactions and data visualization needs. @@ -30,8 +28,7 @@ Learn more about MUI's products in this blog post: [An introduction to the MUI e ## The culture MUI is a fully remote company with a team that spans the globe. -The majority of our work is asynchronous, and we rely on written communication to collaborate. -We're radically transparent: nearly all of our work happens in public. +The majority of our work is asynchronous, and we rely on written communication to collaborate. We're radically transparent: nearly all of our work happens in public. Each contributor has the freedom to decide how and when they work, and that work is primarily self-directed: it's your responsibility to define and complete your own tasks in a timely manner. For additional details about the culture, you can check our [careers](https://mui.com/careers/) and [about](https://mui.com/about/) pages and also our [public Handbook](https://mui-org.notion.site/Handbook-f086d47e10794d5e839aef9dc67f324b). @@ -44,7 +41,7 @@ The component is off to [a great start](https://npm-stat.com/charts.html?package To be more specific in what we are aiming to achieve in the short to mid-term: - A tighter integration with the rest of the MUI libraries including Material UI and MUI X Data Grid -- Faster iteration cycles compared to popular open-source alternatives such as chart.js and Recharts +- Faster iteration cycles compared to popular open-source alternatives such as Recharts and Chart.js. This should allow us to reach 30% of the downloads of alternative React charting libraries, considering benchmark data in the short term. Developers value having a single touch point, but also one they trust, and one that integrates well into the rest of their application. @@ -55,8 +52,6 @@ We will then provide extra paid features so developers can use a single charting In the long term, we envision using the pro-code charting API as a distribution channel for building more abstract charting primitives, using low-code and AI. -Overall both our open-source community and our premium products are growing fast (x2 YoY). We need talented people to keep that going! - ### Why this is interesting The advanced components portfolio is still small, with a million interesting and challenging problems to solve. @@ -65,7 +60,7 @@ Our products empower React developers to build awesome applications faster – w ## The role -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: @@ -143,9 +138,7 @@ We're looking for someone with strong front-end skills. More important than spec ## Benefits and compensation -Competitive compensation depending on the profile and location. -We are ready to pay top market rates for a person who can clearly exceed the role's expectations. -You can find the other perks & benefits on the [careers](https://mui.com/careers/#perks-and-benefits) page. +We offer competitive compensation commensurate with your experience level and location and are prepared to pay top market rates for someone who can clearly exceed the role's expectations. You can find the other perks and benefits on the [careers](https://mui.com/careers/#perks-and-benefits) page. ## How to apply diff --git a/docs/pages/careers/react-engineer-x-grid.md b/docs/pages/careers/react-engineer-x-grid.md index 1e823ecbd86fae..cf9430f5415271 100644 --- a/docs/pages/careers/react-engineer-x-grid.md +++ b/docs/pages/careers/react-engineer-x-grid.md @@ -13,7 +13,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -45,8 +45,8 @@ The enterprise version is built on the open-source version of the components. We also need help to continue to improve the health of the open-source product: make the advanced components easier to use, make it support more use cases, improve performance, make it more accessible, increase the contributions by engaging and collaborating with the community, guide developers to answers, and just generally be a positive presence in the open-source community. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ## The role @@ -56,7 +56,7 @@ The advanced components portfolio is still small, with a million interesting and Our products empower React developers to build awesome applications faster – we see millions of developers on MUI's docs every year, one million a month. -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/react-engineer-x.md b/docs/pages/careers/react-engineer-x.md index f1207b4afefc63..b388c6eac166ec 100644 --- a/docs/pages/careers/react-engineer-x.md +++ b/docs/pages/careers/react-engineer-x.md @@ -1,4 +1,4 @@ -# React Engineer — X (future role) +# React Engineer — X

You will strengthen the MUI X product, build ambitious and complex new features, work on strategic problems, and help grow adoption.

@@ -13,13 +13,11 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products -MUI is best known for our flagship product, Material UI—but this is just one of three core component libraries we maintain. -Base UI is our headless component library, and Joy UI is a sister library to Material UI that implements our own in-house Joy Design system. -We also host Design Kits and pre-built Templates. +MUI is best known for our flagship product, Material UI—but this is just one of three core component libraries we maintain. Base UI is our headless component library, and Pigment CSS is a zero-runtime CSS-in-JS styling engine. We also host Design Kits and pre-built Templates. Beyond the core libraries, MUI X offers advanced components like the Data Grid, Date and Time Pickers, and Charts, for more complex user interactions and data visualization needs. @@ -30,18 +28,17 @@ Learn more about MUI's products in this blog post: [An introduction to the MUI e ## The culture MUI is a fully remote company with a team that spans the globe. -The majority of our work is asynchronous, and we rely on written communication to collaborate. -We're radically transparent: nearly all of our work happens in public. +The majority of our work is asynchronous, and we rely on written communication to collaborate. We're radically transparent: nearly all of our work happens in public. Each contributor has the freedom to decide how and when they work, and that work is primarily self-directed: it's your responsibility to define and complete your own tasks in a timely manner. For additional details about the culture, you can check our [careers](https://mui.com/careers/) and [about](https://mui.com/about/) pages and also our [public Handbook](https://mui-org.notion.site/Handbook-f086d47e10794d5e839aef9dc67f324b). ## Why we're hiring -We also need help to continue to improve the health of the open-source product: make the advanced components easier to use, make it support more use cases, improve performance, make it more accessible, increase the contributions by engaging and collaborating with the community, guide developers to answers, and just generally be a positive presence in the open-source community. +We need help to continue to improve the health of the open-source product: make the advanced components easier to use, make it support more use cases, improve performance, make it more accessible, increase the contributions by engaging and collaborating with the community, guide developers to answers, and just generally be a positive presence in the open-source community. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -51,7 +48,7 @@ Our products empower React developers to build awesome applications faster – w ## The role -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: @@ -124,9 +121,7 @@ We're looking for someone with strong front-end skills. More important than spec ## Benefits and compensation -Competitive compensation depending on the profile and location. -We are ready to pay top market rates for a person who can clearly exceed the role's expectations. -You can find the other perks & benefits on the [careers](https://mui.com/careers/#perks-and-benefits) page. +We offer competitive compensation commensurate with your experience level and location and are prepared to pay top market rates for someone who can clearly exceed the role's expectations. You can find the other perks and benefits on the [careers](https://mui.com/careers/#perks-and-benefits) page. ## How to apply diff --git a/docs/pages/careers/react-tech-lead-core.md b/docs/pages/careers/react-tech-lead-core.md index e028a90bc61fe1..5b8d3b377a6b63 100644 --- a/docs/pages/careers/react-tech-lead-core.md +++ b/docs/pages/careers/react-tech-lead-core.md @@ -1,19 +1,19 @@ # React Tech Lead — Core (future role) -

You will lead the development of MUI Core, positioning the library as the industry standard for design teams while doubling its adoption.

+

You will lead the development of the core libraries, helping position it as the industry standard for design system teams.

## Details of the role - **Location**: Remote (preference for UTC-6 to UTC+5). - **Type of work**: Full-time (contractor or employee [depending on circumstances](https://mui-org.notion.site/Hiring-FAQ-64763b756ae44c37b47b081f98915501#494af1f358794028beb4b7697b5d3102)). -- **Level**: [6 or above](https://mui-org.notion.site/Engineering-levels-25b2fba9dd1f4b43a1b28f47f0170f23). +- **Level**: [IC6 or above](https://mui-org.notion.site/Engineering-levels-25b2fba9dd1f4b43a1b28f47f0170f23). - We're a **remote** company, we prefer asynchronous communication over meetings. ## The company MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -43,8 +43,8 @@ They are working on 4 products (Material UI, Base UI, Joy UI, and MUI System We also need help to continue to improve the health of the open-source product: make the core components easier to use, increase the contributions by engaging and collaborating with the community, polish all the details, make the components more accessible, guide developers to answers, and just generally be a positive presence in the open-source community. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -55,7 +55,7 @@ The [results of the latest survey](https://mui.com/blog/2021-developer-survey-re ## The role -### What you'll do on a day-to-day basis +### Key responsibilities You will extend the [React Engineer](https://mui-org.notion.site/Software-Engineer-fe310cfb22e34fc7881318f9cb1cf023#5f2967e6c60d411ea09ab8a108d95702) responsibilities. Depending on the day, you'll: diff --git a/docs/pages/careers/react-tech-lead-x-grid.md b/docs/pages/careers/react-tech-lead-x-grid.md index acfbb572085b47..16c1d589bf36ba 100644 --- a/docs/pages/careers/react-tech-lead-x-grid.md +++ b/docs/pages/careers/react-tech-lead-x-grid.md @@ -6,14 +6,14 @@ - **Location**: Remote (preference for UTC-6 to UTC+5). - **Type of work**: Full-time (contractor or employee [depending on circumstances](https://mui-org.notion.site/Hiring-FAQ-64763b756ae44c37b47b081f98915501#494af1f358794028beb4b7697b5d3102)). -- **Level**: [6 or above](https://mui-org.notion.site/Engineering-levels-25b2fba9dd1f4b43a1b28f47f0170f23). +- **Level**: [IC6 or above](https://mui-org.notion.site/Engineering-levels-25b2fba9dd1f4b43a1b28f47f0170f23). - We're a **remote** company, we prefer asynchronous communication over meetings. ## The company MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -48,8 +48,8 @@ We need to: We also need help to continue to make the components easier to use, make it more customizable, [improve performance](https://www.causal.app/blog/react-perf), make it more accessible, improve the health of the open-source by engaging and collaborating with the community, guide developers to answers, and just generally being a positive presence in the community. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ## The role @@ -59,7 +59,7 @@ The advanced components portfolio is still small, with a million interesting and Our products empower React developers to build awesome applications faster – we see millions of developers on MUI's docs every year, one million a month. -### What you'll do on a day-to-day basis +### Key responsibilities You will extend the [React Engineer](https://mui-org.notion.site/Software-Engineer-fe310cfb22e34fc7881318f9cb1cf023#5f2967e6c60d411ea09ab8a108d95702) responsibilities. Depending on the day, you'll: diff --git a/docs/pages/careers/senior-designer.md b/docs/pages/careers/senior-designer.md index ccd4215c8c86e1..645c754183e8e7 100644 --- a/docs/pages/careers/senior-designer.md +++ b/docs/pages/careers/senior-designer.md @@ -6,14 +6,14 @@ - **Location**: Remote (preference for UTC-6 to UTC+5). - **Type of work**: Full-time (contractor or employee [depending on circumstances](https://mui-org.notion.site/Hiring-FAQ-64763b756ae44c37b47b081f98915501#494af1f358794028beb4b7697b5d3102)). -- **Level**: [3 or above](https://mui-org.notion.site/Design-levels-aa01996ca7e0481e80479ad47c8f28a4). +- **Level**: [IC3 or above](https://mui-org.notion.site/Design-levels-aa01996ca7e0481e80479ad47c8f28a4). - We're a **remote** company, operating mostly asynchronously (written communication over meetings). ## The company MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -41,8 +41,8 @@ For additional details about the culture, you can check our [careers](https://mu We are aiming to make high-end design accessible to the many, empowering developers that lack access to a designer as well as saving time for designers with a source they can trust. [According to our last survey](https://mui.com/blog/2021-developer-survey-results/#what-are-your-most-important-criteria-for-choosing-a-ui-library), the quality of the design execution (UX & UI) is the most important criteria used by developers & designers to pick their next UI library. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting diff --git a/docs/pages/careers/staff-engineer-pigment-css.md b/docs/pages/careers/staff-engineer-pigment-css.md index cd9d6de97b5749..f2a707f4ea0cbf 100644 --- a/docs/pages/careers/staff-engineer-pigment-css.md +++ b/docs/pages/careers/staff-engineer-pigment-css.md @@ -6,14 +6,14 @@ - **Location**: Remote (preference for UTC-6 to UTC+5). - **Type of work**: Full-time (contractor or employee [depending on circumstances](https://mui-org.notion.site/Hiring-FAQ-64763b756ae44c37b47b081f98915501#494af1f358794028beb4b7697b5d3102)). -- **Level**: [5 or above](https://mui-org.notion.site/Engineering-levels-25b2fba9dd1f4b43a1b28f47f0170f23). +- **Level**: [IC5 or above](https://mui-org.notion.site/Engineering-levels-25b2fba9dd1f4b43a1b28f47f0170f23). - We're a **remote** company, we prefer asynchronous communication over meetings. ## The company MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -48,10 +48,16 @@ This is just the beginning, though. There's so much to do to make Pigment CSS a reliable and mature option for the future of Material UI and for many developers looking for a next-generation CSS-in-JS styling engine. We're well-positioned to make this happen, so we're looking for a talented engineer to join the team and help us get further beyond! +### Why this is interesting + +If the team is successful, we believe that over 1/3 of the JavaScript community would use Pigment CSS to style their application, making the mission both extreamly challenging and impactful. + ## The role ### Key responsibilities +Depending on the day, you'll: + - **Build**. You will help Pigment CSS mature by integrating it with various bundlers and frameworks, building new features, and improving DX. - **Nurture community contributions**. You will provide guidance and direction to unlock the contributions of the community. - **Influence the product strategy.** You will be empowered to help design and shape a roadmap that solves real developer problems. diff --git a/docs/pages/careers/staff-ui-engineer-base-ui.md b/docs/pages/careers/staff-ui-engineer-base-ui.md index 311f667d2160af..af6bea65f09187 100644 --- a/docs/pages/careers/staff-ui-engineer-base-ui.md +++ b/docs/pages/careers/staff-ui-engineer-base-ui.md @@ -12,7 +12,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -39,8 +39,8 @@ For additional details about the culture, you can check our [careers](https://mu The Base UI team is just starting to take shape now, and we have big goals for the next few years. We need experienced people to work alongside excellent UI engineers and designers, in an IC capacity, to research, spec, build, document, and ship high-quality, unstyled UI components with a focus on a11y. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -48,7 +48,7 @@ Our products empower React developers to build awesome applications faster – w ## The role -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/support-agent.md b/docs/pages/careers/support-agent.md index c2637a56057a3d..16614b3a632321 100644 --- a/docs/pages/careers/support-agent.md +++ b/docs/pages/careers/support-agent.md @@ -39,8 +39,8 @@ For additional details about the culture, you can check our [careers](https://mu One of MUI's company values is to [#putcommunityfirst](https://mui-org.notion.site/Values-behaviors-d3a1e1c60e2a4c0782f770cceada54bd?pvs=4#63393bde7da14f0698de0653f07a8dc7), and that includes high-quality and timely responses to customer support requests. While technical support for bugs and features is provided by our product and engineering teams, all sales and product inquiries are currently handled by a small team of two support and operations agents. We're looking to add a support-focused agent to this stellar team, to ensure our resources and bandwidth continue to match our customer needs. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -57,7 +57,7 @@ While this is not a technical role, having a basic understanding of what a UI li Taking initiative, actively documenting, and being comfortable with new challenges are the main keys to success in the role. -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/technical-product-manager.md b/docs/pages/careers/technical-product-manager.md index cd4def11114908..b9a2c4b2f9a9df 100644 --- a/docs/pages/careers/technical-product-manager.md +++ b/docs/pages/careers/technical-product-manager.md @@ -12,7 +12,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -41,8 +41,8 @@ The advanced components team (X) needs help to build its best features. We have started with the [data grid](https://mui.com/x/react-data-grid/) a year ago, but it's the beginning. Our users are continuously providing feedback on the most important [pains they face](https://github.com/mui/mui-x/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc). -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ## The role @@ -52,7 +52,7 @@ Our enterprise components portfolio is still small, with a million interesting a Our products empower React developers to build awesome applications faster – we see millions of developers on MUI's docs every year, one million a month. -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: diff --git a/docs/pages/careers/technical-recruiter.md b/docs/pages/careers/technical-recruiter.md index 5fa2770eb77e3f..a3bd204c0b1425 100644 --- a/docs/pages/careers/technical-recruiter.md +++ b/docs/pages/careers/technical-recruiter.md @@ -13,7 +13,7 @@ MUI's story began in 2014 with Material UI, the most successful React implementation of Google's Material Design. Today, Material UI stands as one of the most popular open-source libraries on GitHub and has paved the way for the fully-fledged startup known as MUI (founded in 2019), which now boasts an ever-expanding ecosystem of React UI products. -We're a company of 31+ people as of late 2023, and we're growing. +We're a company of 35+ people as of early 2024, and we're growing. ## The products @@ -40,8 +40,8 @@ For additional details about the culture, you can check our [careers](https://mu We anticipate the need to hire >5 people/month in 2023. This is not an outcome that the managers at MUI can deliver on their own. -Overall, both our open-source community and our premium products are growing fast (x2 YoY). -We need talented people to keep that going! +Overall, both our open-source community and our premium products are growing fast. +We need talented people to keep up with the demands of our exigent community! ### Why this is interesting @@ -58,7 +58,7 @@ This role is best suited for someone who will be able to handle the dynamic natu We're looking for someone who is comfortable in a fast-paced environment and passionate about growing teams remotely. The ideal candidate will be able to balance long-term focus with practical day-to-day execution. -### What you'll do on a day-to-day basis +### Key responsibilities Depending on the day, you'll: From ad68045fab5ba67bb5e4e2271bf27058b83c08ec Mon Sep 17 00:00:00 2001 From: Sycamore <71297412+samuelsycamore@users.noreply.github.com> Date: Wed, 25 Sep 2024 13:05:33 -0400 Subject: [PATCH 22/52] [docs][joy-ui] Add missing ComponentLinkHeader components (#43865) --- docs/data/joy/components/accordion/accordion.md | 2 ++ docs/data/joy/components/aspect-ratio/aspect-ratio.md | 2 ++ docs/data/joy/components/card/card.md | 2 ++ docs/data/joy/components/drawer/drawer.md | 2 ++ docs/data/joy/components/grid/grid.md | 2 ++ docs/data/joy/components/list/list.md | 2 ++ docs/data/joy/components/menu/menu.md | 2 ++ docs/data/joy/components/skeleton/skeleton.md | 2 ++ docs/data/joy/components/stepper/stepper.md | 2 ++ .../joy/components/toggle-button-group/toggle-button-group.md | 2 ++ docs/data/joy/components/typography/typography.md | 2 ++ 11 files changed, 22 insertions(+) diff --git a/docs/data/joy/components/accordion/accordion.md b/docs/data/joy/components/accordion/accordion.md index 73b129676291ca..001b36fdab64d0 100644 --- a/docs/data/joy/components/accordion/accordion.md +++ b/docs/data/joy/components/accordion/accordion.md @@ -10,6 +10,8 @@ waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/accordion/

Accordions let users show and hide sections of related content on a page.

+{{"component": "@mui/docs/ComponentLinkHeader"}} + ## Introduction Joy UI provides four accordion-related components: diff --git a/docs/data/joy/components/aspect-ratio/aspect-ratio.md b/docs/data/joy/components/aspect-ratio/aspect-ratio.md index 03bffdf78cf9d8..4c627a9cd5d289 100644 --- a/docs/data/joy/components/aspect-ratio/aspect-ratio.md +++ b/docs/data/joy/components/aspect-ratio/aspect-ratio.md @@ -8,6 +8,8 @@ components: AspectRatio

The Aspect Ratio component resizes its contents to match the desired ratio.

+{{"component": "@mui/docs/ComponentLinkHeader"}} + ## Introduction Aspect Ratio is a wrapper component for quickly resizing content to conform to your preferred ratio of width to height. diff --git a/docs/data/joy/components/card/card.md b/docs/data/joy/components/card/card.md index f132412e8af742..cb2b26bb38dd59 100644 --- a/docs/data/joy/components/card/card.md +++ b/docs/data/joy/components/card/card.md @@ -9,6 +9,8 @@ githubLabel: 'component: card'

A card is a generic container for grouping related UI elements and content.

+{{"component": "@mui/docs/ComponentLinkHeader"}} + ## Introduction The Joy UI Card component includes several complementary utility components to handle various use cases: diff --git a/docs/data/joy/components/drawer/drawer.md b/docs/data/joy/components/drawer/drawer.md index 70064e17c6e316..effced52744f04 100644 --- a/docs/data/joy/components/drawer/drawer.md +++ b/docs/data/joy/components/drawer/drawer.md @@ -9,6 +9,8 @@ githubLabel: 'component: drawer'

Navigation drawers provide quick access to other areas of an app without taking the user away from their current location.

+{{"component": "@mui/docs/ComponentLinkHeader"}} + ## Introduction Drawers are commonly used as menus for desktop navigation, and as dialogs on mobile devices (similar to [Apple's sheets](https://developer.apple.com/design/human-interface-guidelines/sheets)). diff --git a/docs/data/joy/components/grid/grid.md b/docs/data/joy/components/grid/grid.md index d9718bacf4df86..63fd7eb2052f27 100644 --- a/docs/data/joy/components/grid/grid.md +++ b/docs/data/joy/components/grid/grid.md @@ -9,6 +9,8 @@ githubLabel: 'component: Grid'

Grid acts as a generic container, wrapping around the elements to be arranged.

+{{"component": "@mui/docs/ComponentLinkHeader"}} + ## Introduction The Grid component, based on a 12-column grid layout, creates visual consistency between layouts while allowing flexibility across a wide variety of designs. diff --git a/docs/data/joy/components/list/list.md b/docs/data/joy/components/list/list.md index 0904eb53699c19..bd08d0c1323fac 100644 --- a/docs/data/joy/components/list/list.md +++ b/docs/data/joy/components/list/list.md @@ -9,6 +9,8 @@ githubLabel: 'component: list'

Lists are organizational tools that enhance the readability and organization of content.

+{{"component": "@mui/docs/ComponentLinkHeader"}} + ## Introduction Lists present information in a concise, easy-to-follow format through a continuous, vertical index of text or images. diff --git a/docs/data/joy/components/menu/menu.md b/docs/data/joy/components/menu/menu.md index eac1e43879feec..26af6084268566 100644 --- a/docs/data/joy/components/menu/menu.md +++ b/docs/data/joy/components/menu/menu.md @@ -11,6 +11,8 @@ unstyled: /base-ui/react-menu/

Menus display a list of choices on temporary surfaces.

+{{"component": "@mui/docs/ComponentLinkHeader"}} + ## Introduction Joy UI provides five menu-related components: diff --git a/docs/data/joy/components/skeleton/skeleton.md b/docs/data/joy/components/skeleton/skeleton.md index 6082f4815bae0d..16814516e1872b 100644 --- a/docs/data/joy/components/skeleton/skeleton.md +++ b/docs/data/joy/components/skeleton/skeleton.md @@ -9,6 +9,8 @@ components: Skeleton, AspectRatio, Avatar, Typography

Skeletons are preview placeholders for components that haven't loaded yet, reducing load-time frustration.

+{{"component": "@mui/docs/ComponentLinkHeader"}} + ## Introduction Skeletons provide users an expectation of what the UI looks like while data loads. diff --git a/docs/data/joy/components/stepper/stepper.md b/docs/data/joy/components/stepper/stepper.md index 9f029293acc11f..4ad0c54b7e543e 100644 --- a/docs/data/joy/components/stepper/stepper.md +++ b/docs/data/joy/components/stepper/stepper.md @@ -10,6 +10,8 @@ materialDesign: https://m1.material.io/components/steppers.html

Steppers convey progress through numbered steps. It provides a wizard-like workflow.

+{{"component": "@mui/docs/ComponentLinkHeader"}} + ## Introduction Stepper displays progress through a sequence of logical and numbered steps. It support horizontal and vertical orientation for desktop and mobile viewports. diff --git a/docs/data/joy/components/toggle-button-group/toggle-button-group.md b/docs/data/joy/components/toggle-button-group/toggle-button-group.md index 8f12d82c252636..b4d7a2322796f5 100644 --- a/docs/data/joy/components/toggle-button-group/toggle-button-group.md +++ b/docs/data/joy/components/toggle-button-group/toggle-button-group.md @@ -9,6 +9,8 @@ components: ToggleButtonGroup, Button, IconButton

A group of mutually exclusive buttons.

+{{"component": "@mui/docs/ComponentLinkHeader"}} + ## Introduction Toggle Button Group provides a way to get mutually exclusive actions closer together by sharing a common container. diff --git a/docs/data/joy/components/typography/typography.md b/docs/data/joy/components/typography/typography.md index 52ccec7e071ba3..eb889f6851e73c 100644 --- a/docs/data/joy/components/typography/typography.md +++ b/docs/data/joy/components/typography/typography.md @@ -9,6 +9,8 @@ githubLabel: 'component: Typography'

The Typography component helps present design and content clearly and efficiently.

+{{"component": "@mui/docs/ComponentLinkHeader"}} + ## Introduction The Typography component helps maintain a consistent design by providing a limited set of values to choose from and convenient props for building common designs faster. From 4c6f67e1bec832408e609ac555ea67100da4fa81 Mon Sep 17 00:00:00 2001 From: Sycamore <71297412+samuelsycamore@users.noreply.github.com> Date: Wed, 25 Sep 2024 13:06:29 -0400 Subject: [PATCH 23/52] [system] Add migration guide link to `@mui/styles` pages (#43833) --- docs/data/styles/advanced/advanced.md | 5 ++--- docs/data/styles/api/api.md | 5 ++--- docs/data/styles/basics/basics.md | 5 ++--- pnpm-lock.yaml | 1 + 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/data/styles/advanced/advanced.md b/docs/data/styles/advanced/advanced.md index f56a62d16ac91b..1843a4d9a52ccf 100644 --- a/docs/data/styles/advanced/advanced.md +++ b/docs/data/styles/advanced/advanced.md @@ -4,13 +4,12 @@ :::error `@mui/styles` was deprecated with the release of MUI Core v5 in late 2021. -It depended on [JSS](https://cssinjs.org/) as a styling solution, which is no longer used in `@mui/material`. - -`@mui/styles` is not compatible with [React.StrictMode](https://react.dev/reference/react/StrictMode) or React 18, and it will not be updated. +It is not compatible with [React.StrictMode](https://react.dev/reference/react/StrictMode) or React 18+, and it will not be updated. This documentation remains here for those working on legacy projects, but we **strongly discourage** you from using `@mui/styles` when creating a new app with Material UI—you _will_ face unresolvable dependency issues. Please use [`@mui/system`](/system/getting-started/) instead. +See the [v5 migration docs](/material-ui/migration/migrating-from-jss/) for details on how to migrate away from `@mui/styles`. ::: ## Theming diff --git a/docs/data/styles/api/api.md b/docs/data/styles/api/api.md index 838f3e5cb32ca5..b4f521e33f3260 100644 --- a/docs/data/styles/api/api.md +++ b/docs/data/styles/api/api.md @@ -8,13 +8,12 @@ title: Styles API :::error `@mui/styles` was deprecated with the release of MUI Core v5 in late 2021. -It depended on [JSS](https://cssinjs.org/) as a styling solution, which is no longer used in `@mui/material`. - -`@mui/styles` is not compatible with [React.StrictMode](https://react.dev/reference/react/StrictMode) or React 18, and it will not be updated. +It is not compatible with [React.StrictMode](https://react.dev/reference/react/StrictMode) or React 18+, and it will not be updated. This documentation remains here for those working on legacy projects, but we **strongly discourage** you from using `@mui/styles` when creating a new app with Material UI—you _will_ face unresolvable dependency issues. Please use [`@mui/system`](/system/getting-started/) instead. +See the [v5 migration docs](/material-ui/migration/migrating-from-jss/) for details on how to migrate away from `@mui/styles`. ::: ## `createGenerateClassName([options]) => class name generator` diff --git a/docs/data/styles/basics/basics.md b/docs/data/styles/basics/basics.md index f654a750ce5d72..b81772ce418575 100644 --- a/docs/data/styles/basics/basics.md +++ b/docs/data/styles/basics/basics.md @@ -4,13 +4,12 @@ :::error `@mui/styles` was deprecated with the release of MUI Core v5 in late 2021. -It depended on [JSS](https://cssinjs.org/) as a styling solution, which is no longer used in `@mui/material`. - -`@mui/styles` is not compatible with [React.StrictMode](https://react.dev/reference/react/StrictMode) or React 18, and it will not be updated. +It is not compatible with [React.StrictMode](https://react.dev/reference/react/StrictMode) or React 18+, and it will not be updated. This documentation remains here for those working on legacy projects, but we **strongly discourage** you from using `@mui/styles` when creating a new app with Material UI—you _will_ face unresolvable dependency issues. Please use [`@mui/system`](/system/getting-started/) instead. +See the [v5 migration docs](/material-ui/migration/migrating-from-jss/) for details on how to migrate away from `@mui/styles`. ::: ## Installation diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fcdda8a7dcf9f6..a45e0a4babf3d7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25939,3 +25939,4 @@ snapshots: react: 18.3.1 zwitch@2.0.4: {} + \ No newline at end of file From 989e0c00a1d982180acfcd6e66f3b1504170945f Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:42:06 +0200 Subject: [PATCH 24/52] [code-infra] Fix flaky dashboard screenshot (#43890) --- test/regressions/template.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/regressions/template.html b/test/regressions/template.html index 7320fbea9c6c2f..2db3991ae1f3aa 100644 --- a/test/regressions/template.html +++ b/test/regressions/template.html @@ -7,6 +7,15 @@ From 50d8c3bbebfcd0c8f83b96d5ef6ecc3291775911 Mon Sep 17 00:00:00 2001 From: Siriwat K Date: Thu, 26 Sep 2024 12:24:12 +0200 Subject: [PATCH 25/52] [Button] ignore `dark` and `contrastText` if not provided in the theme (#43861) --- packages/mui-material/src/Button/Button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mui-material/src/Button/Button.js b/packages/mui-material/src/Button/Button.js index 8b2f0b1dccddf2..84330ff3940ede 100644 --- a/packages/mui-material/src/Button/Button.js +++ b/packages/mui-material/src/Button/Button.js @@ -162,7 +162,7 @@ const ButtonRoot = styled(ButtonBase, { }, }, ...Object.entries(theme.palette) - .filter(createSimplePaletteValueFilter(['dark', 'contrastText'])) + .filter(createSimplePaletteValueFilter()) .map(([color]) => ({ props: { color }, style: { From dbdea6ad59b3c79ac90d7ba868b9c0322cb62ec8 Mon Sep 17 00:00:00 2001 From: Zeeshan Tamboli Date: Thu, 26 Sep 2024 19:49:06 +0530 Subject: [PATCH 26/52] [material-ui][Modal] Replace `show` parameter name with `hide` in modal manager (#43868) --- packages/mui-material/src/Modal/ModalManager.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/mui-material/src/Modal/ModalManager.ts b/packages/mui-material/src/Modal/ModalManager.ts index 89a76e61cf9dac..93752acffc72bc 100644 --- a/packages/mui-material/src/Modal/ModalManager.ts +++ b/packages/mui-material/src/Modal/ModalManager.ts @@ -19,8 +19,8 @@ function isOverflowing(container: Element): boolean { return container.scrollHeight > container.clientHeight; } -export function ariaHidden(element: Element, show: boolean): void { - if (show) { +export function ariaHidden(element: Element, hide: boolean): void { + if (hide) { element.setAttribute('aria-hidden', 'true'); } else { element.removeAttribute('aria-hidden'); @@ -61,7 +61,7 @@ function ariaHiddenSiblings( mountElement: Element, currentElement: Element, elementsToExclude: readonly Element[], - show: boolean, + hide: boolean, ): void { const blacklist = [mountElement, currentElement, ...elementsToExclude]; @@ -69,7 +69,7 @@ function ariaHiddenSiblings( const isNotExcludedElement = !blacklist.includes(element); const isNotForbiddenElement = !isAriaHiddenForbiddenOnElement(element); if (isNotExcludedElement && isNotForbiddenElement) { - ariaHidden(element, show); + ariaHidden(element, hide); } }); } From 7fd82d58b79cfc90cc0d8c904b7cd753f8020e32 Mon Sep 17 00:00:00 2001 From: Siriwat K Date: Thu, 26 Sep 2024 17:34:41 +0200 Subject: [PATCH 27/52] [docs-infra] Open Codesandbox demo with fontsize=12 (#43860) --- docs/src/modules/sandbox/CodeSandbox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/modules/sandbox/CodeSandbox.ts b/docs/src/modules/sandbox/CodeSandbox.ts index 505ebcab8fb889..8a4bdc7744a3ba 100644 --- a/docs/src/modules/sandbox/CodeSandbox.ts +++ b/docs/src/modules/sandbox/CodeSandbox.ts @@ -28,7 +28,7 @@ function openSandbox({ files, codeVariant, initialFile }: any) { addHiddenInput( form, 'query', - `module=${initialFile}${initialFile.match(/(\.tsx|\.ts|\.js)$/) ? '' : extension}`, + `module=${initialFile}${initialFile.match(/(\.tsx|\.ts|\.js)$/) ? '' : extension}&fontsize=12`, ); document.body.appendChild(form); form.submit(); From a0cf344f22abd251bcd1f7254b5e61f2224064d9 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Thu, 26 Sep 2024 23:18:12 +0200 Subject: [PATCH 28/52] [docs] Fix visual bug on dashboard template (#43836) --- .../material/getting-started/templates/dashboard/Dashboard.js | 2 +- .../material/getting-started/templates/dashboard/Dashboard.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/data/material/getting-started/templates/dashboard/Dashboard.js b/docs/data/material/getting-started/templates/dashboard/Dashboard.js index 4c7a1d80216988..2c075b67a5c769 100644 --- a/docs/data/material/getting-started/templates/dashboard/Dashboard.js +++ b/docs/data/material/getting-started/templates/dashboard/Dashboard.js @@ -46,7 +46,7 @@ export default function Dashboard(props) { sx={{ alignItems: 'center', mx: 3, - pb: 10, + pb: 5, mt: { xs: 8, md: 0 }, }} > diff --git a/docs/data/material/getting-started/templates/dashboard/Dashboard.tsx b/docs/data/material/getting-started/templates/dashboard/Dashboard.tsx index 2167a2cfe5b219..0b8708b7022441 100644 --- a/docs/data/material/getting-started/templates/dashboard/Dashboard.tsx +++ b/docs/data/material/getting-started/templates/dashboard/Dashboard.tsx @@ -49,7 +49,7 @@ export default function Dashboard(props: { disableCustomTheme?: boolean }) { sx={{ alignItems: 'center', mx: 3, - pb: 10, + pb: 5, mt: { xs: 8, md: 0 }, }} > From 34b7684b456086125ecb493ef2a5d7af8dfbaa19 Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Fri, 27 Sep 2024 09:59:25 +0200 Subject: [PATCH 29/52] [code-infra] Remove custom playwright installation steps (#43881) --- .circleci/config.yml | 62 +++++--------------------------------------- 1 file changed, 6 insertions(+), 56 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0c2d02e5e3e6c1..9bd42f2bc52a5a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,13 +36,12 @@ default-job: &default-job type: string default: << pipeline.parameters.e2e-base-url >> environment: - # Keep in sync with "Save playwright cache" - PLAYWRIGHT_BROWSERS_PATH: /tmp/pw-browsers # expose it globally otherwise we have to thread it from each job to the install command BROWSERSTACK_FORCE: << pipeline.parameters.browserstack-force >> REACT_VERSION: << parameters.react-version >> TEST_GATE: << parameters.test-gate >> AWS_REGION_ARTIFACTS: eu-central-1 + COREPACK_ENABLE_DOWNLOAD_PROMPT: '0' working_directory: /tmp/material-ui docker: - image: cimg/node:20.17 @@ -74,25 +73,15 @@ commands: steps: - run: name: Install pnpm package manager - command: | - corepack enable - corepack prepare pnpm@latest-8 --activate - - run: - name: Prepare playwright hash - command: pnpm list --json --filter playwright > /tmp/playwright_info.json - - store_artifacts: - name: Debug playwright hash - path: /tmp/playwright_info.json - - restore_cache: - name: Restore playwright cache - keys: - - v6-playwright-{{ arch }}-{{ checksum "/tmp/playwright_info.json" }} + command: corepack enable - when: condition: not: << parameters.browsers >> steps: - # See https://stackoverflow.com/a/73411601 - - run: corepack enable --install-directory ~/bin + - run: + name: Install pnpm package manager + # See https://stackoverflow.com/a/73411601 + command: corepack enable --install-directory ~/bin - run: name: View install environment @@ -110,19 +99,6 @@ commands: - run: name: Install js dependencies command: pnpm install - - when: - condition: << parameters.browsers >> - steps: - - run: - name: Install playwright browsers - command: pnpm playwright install --with-deps - - save_cache: - name: Save playwright cache - key: v6-playwright-{{ arch }}-{{ checksum "/tmp/playwright_info.json" }} - paths: - # Keep path in sync with "PLAYWRIGHT_BROWSERS_PATH" - # Can't use environment variables for `save_cache` paths (tested in https://app.circleci.com/pipelines/github/mui/material-ui/37813/workflows/5b1e207f-ac8b-44e7-9ba4-d0f9a01f5c55/jobs/223370) - - /tmp/pw-browsers jobs: checkout: @@ -394,8 +370,6 @@ jobs: resource_class: 'medium+' docker: - image: mcr.microsoft.com/playwright:v1.47.1-focal - environment: - NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout - install_js: @@ -424,8 +398,6 @@ jobs: <<: *default-job docker: - image: mcr.microsoft.com/playwright:v1.47.1-focal - environment: - NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout - install_js: @@ -438,8 +410,6 @@ jobs: <<: *default-job docker: - image: mcr.microsoft.com/playwright:v1.47.1-focal - environment: - NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout - install_js: @@ -453,8 +423,6 @@ jobs: <<: *default-job docker: - image: mcr.microsoft.com/playwright:v1.47.1-focal - environment: - NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout - install_js: @@ -480,8 +448,6 @@ jobs: <<: *default-job docker: - image: mcr.microsoft.com/playwright:v1.47.1-focal - environment: - NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout - install_js: @@ -540,8 +506,6 @@ jobs: working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack4/ docker: - image: mcr.microsoft.com/playwright:v1.47.1-focal - environment: - NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout: path: /tmp/material-ui @@ -564,8 +528,6 @@ jobs: working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack5/ docker: - image: mcr.microsoft.com/playwright:v1.47.1-focal - environment: - NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout: path: /tmp/material-ui @@ -588,8 +550,6 @@ jobs: working_directory: /tmp/material-ui/test/bundling/fixtures/create-react-app/ docker: - image: mcr.microsoft.com/playwright:v1.47.1-focal - environment: - NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout: path: /tmp/material-ui @@ -612,8 +572,6 @@ jobs: working_directory: /tmp/material-ui/test/bundling/fixtures/snowpack/ docker: - image: mcr.microsoft.com/playwright:v1.47.1-focal - environment: - NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout: path: /tmp/material-ui @@ -636,8 +594,6 @@ jobs: working_directory: /tmp/material-ui/test/bundling/fixtures/vite/ docker: - image: mcr.microsoft.com/playwright:v1.47.1-focal - environment: - NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout: path: /tmp/material-ui @@ -660,8 +616,6 @@ jobs: working_directory: /tmp/material-ui/test/bundling/fixtures/esbuild/ docker: - image: mcr.microsoft.com/playwright:v1.47.1-focal - environment: - NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout: path: /tmp/material-ui @@ -688,8 +642,6 @@ jobs: working_directory: /tmp/material-ui/test/bundling/fixtures/gatsby/ docker: - image: mcr.microsoft.com/playwright:v1.47.1-focal - environment: - NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout: path: /tmp/material-ui @@ -789,8 +741,6 @@ jobs: <<: *default-job docker: - image: mcr.microsoft.com/playwright:v1.47.1-focal - environment: - NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout - install_js: From d72cbe7c36c1097884da75befe06dca2ea174a5a Mon Sep 17 00:00:00 2001 From: Zeeshan Tamboli Date: Fri, 27 Sep 2024 14:27:42 +0530 Subject: [PATCH 30/52] [core] Replace `toBeAriaHidden` matcher with `toBeInaccessible` in tests (#43870) --- .../test-utils/src/initMatchers.ts | 40 ------------------ .../unstable_useModal/ModalManager.test.ts | 42 +++++++++---------- packages/mui-joy/src/Modal/Modal.test.tsx | 4 +- .../src/FormLabel/FormLabel.test.js | 4 +- packages/mui-material/src/Modal/Modal.test.js | 4 +- .../src/Modal/ModalManager.test.ts | 42 +++++++++---------- 6 files changed, 48 insertions(+), 88 deletions(-) diff --git a/packages-internal/test-utils/src/initMatchers.ts b/packages-internal/test-utils/src/initMatchers.ts index 7152482da1ebfa..c7beae7871e1c2 100644 --- a/packages-internal/test-utils/src/initMatchers.ts +++ b/packages-internal/test-utils/src/initMatchers.ts @@ -14,12 +14,6 @@ const isKarma = Boolean(process.env.KARMA); declare global { namespace Chai { interface Assertion { - /** - * Checks if the element in question is considered `aria-hidden`. - * Does not replace accessibility check as that requires display/visibility/layout - * @deprecated Use `inaccessible` + `visible` instead - */ - toBeAriaHidden(): void; /** * Checks `expectedStyle` is a subset of the elements inline style i.e. `element.style`. * @example expect(element).toHaveInlineStyle({ width: '200px' }) @@ -215,40 +209,6 @@ chai.use((chaiAPI, utils) => { ); }); - chai.Assertion.addMethod('toBeAriaHidden', function elementIsAccessible() { - const element = utils.flag(this, 'object'); - - // used for debugging failed assertions, will either point to the top most node - // or the node that had aria-hidden="true" - let previousNode = element; - let currentNode = element; - let ariaHidden = false; - // "An element is considered hidden if it, or any of its ancestors are not - // rendered or have their aria-hidden attribute value set to true." - // -- https://www.w3.org/TR/wai-aria-1.1/#aria-hidden - while ( - currentNode !== null && - // stopping at so that failed assertion message only prints - // or below. use cases for aria-hidden on are unknown - currentNode !== document.documentElement && - ariaHidden === false - ) { - ariaHidden = currentNode.getAttribute('aria-hidden') === 'true'; - previousNode = currentNode; - currentNode = currentNode.parentElement; - } - - this.assert( - ariaHidden === true, - `expected \n${elementToString(element)} to be aria-hidden`, - `expected \n${elementToString(element)} to not be aria-hidden, but \n${elementToString( - previousNode, - )} had aria-hidden="true" instead`, - // Not interested in a diff but the typings require the 4th parameter. - undefined, - ); - }); - chai.Assertion.addMethod('toBeInaccessible', function elementIsAccessible() { const element = utils.flag(this, 'object'); diff --git a/packages/mui-base/src/unstable_useModal/ModalManager.test.ts b/packages/mui-base/src/unstable_useModal/ModalManager.test.ts index bfbd505f82f8fa..006ed7d87a3bf5 100644 --- a/packages/mui-base/src/unstable_useModal/ModalManager.test.ts +++ b/packages/mui-base/src/unstable_useModal/ModalManager.test.ts @@ -297,17 +297,17 @@ describe('ModalManager', () => { const modal2 = getDummyModal(); modalManager.add(modal1, container3); modalManager.mount(modal1, {}); - expect(container3.children[0]).toBeAriaHidden(); + expect(container3.children[0]).toBeInaccessible(); modalManager.add(modal2, container4); modalManager.mount(modal2, {}); - expect(container4.children[0]).toBeAriaHidden(); + expect(container4.children[0]).toBeInaccessible(); modalManager.remove(modal2); - expect(container4.children[0]).not.toBeAriaHidden(); + expect(container4.children[0]).not.toBeInaccessible(); modalManager.remove(modal1); - expect(container3.children[0]).not.toBeAriaHidden(); + expect(container3.children[0]).not.toBeInaccessible(); }); afterEach(() => { @@ -338,17 +338,17 @@ describe('ModalManager', () => { const modal2 = document.createElement('div'); modal2.setAttribute('aria-hidden', 'true'); - expect(modal2).toBeAriaHidden(); + expect(modal2).toBeInaccessible(); modalManager.add({ ...getDummyModal(), modalRef: modal2 }, container2); - expect(modal2).not.toBeAriaHidden(); + expect(modal2).not.toBeInaccessible(); }); it('should add aria-hidden to container siblings', () => { const secondSibling = document.createElement('input'); container2.appendChild(secondSibling); modalManager.add(getDummyModal(), container2); - expect(container2.children[0]).toBeAriaHidden(); - expect(container2.children[1]).toBeAriaHidden(); + expect(container2.children[0]).toBeInaccessible(); + expect(container2.children[1]).toBeInaccessible(); }); it('should not add aria-hidden to forbidden container siblings', () => { @@ -379,9 +379,9 @@ describe('ModalManager', () => { expect(container2.children.length).equal(numberOfChildren); modalManager.add(getDummyModal(), container2); - expect(container2.children[0]).toBeAriaHidden(); + expect(container2.children[0]).toBeInaccessible(); for (let i = 1; i < numberOfChildren; i += 1) { - expect(container2.children[i]).not.toBeAriaHidden(); + expect(container2.children[i].getAttribute('aria-hidden')).to.equal(null); } }); @@ -394,13 +394,13 @@ describe('ModalManager', () => { modalManager.add({ ...getDummyModal(), modalRef: modal2 }, container2); // Simulate the main React DOM true. - expect(container2.children[0]).toBeAriaHidden(); - expect(container2.children[1]).not.toBeAriaHidden(); + expect(container2.children[0]).toBeInaccessible(); + expect(container2.children[1]).not.toBeInaccessible(); modalManager.add({ ...getDummyModal(), modalRef: modal3 }, container2); - expect(container2.children[0]).toBeAriaHidden(); - expect(container2.children[1]).toBeAriaHidden(); - expect(container2.children[2]).not.toBeAriaHidden(); + expect(container2.children[0]).toBeInaccessible(); + expect(container2.children[1]).toBeInaccessible(); + expect(container2.children[2]).not.toBeInaccessible(); }); it('should remove aria-hidden on siblings', () => { @@ -408,9 +408,9 @@ describe('ModalManager', () => { modalManager.add(modal, container2); modalManager.mount(modal, {}); - expect(container2.children[0]).not.toBeAriaHidden(); + expect(container2.children[0]).not.toBeInaccessible(); modalManager.remove(modal); - expect(container2.children[0]).toBeAriaHidden(); + expect(container2.children[0]).toBeInaccessible(); }); it('should keep previous aria-hidden siblings hidden', () => { @@ -425,11 +425,11 @@ describe('ModalManager', () => { modalManager.add(modal, container2); modalManager.mount(modal, {}); - expect(container2.children[0]).not.toBeAriaHidden(); + expect(container2.children[0]).not.toBeInaccessible(); modalManager.remove(modal); - expect(container2.children[0]).toBeAriaHidden(); - expect(container2.children[1]).toBeAriaHidden(); - expect(container2.children[2]).not.toBeAriaHidden(); + expect(container2.children[0]).toBeInaccessible(); + expect(container2.children[1]).toBeInaccessible(); + expect(container2.children[2]).not.toBeInaccessible(); }); }); }); diff --git a/packages/mui-joy/src/Modal/Modal.test.tsx b/packages/mui-joy/src/Modal/Modal.test.tsx index 3b85c31d58feee..422cdde727952c 100644 --- a/packages/mui-joy/src/Modal/Modal.test.tsx +++ b/packages/mui-joy/src/Modal/Modal.test.tsx @@ -275,10 +275,10 @@ describe('', () => { , ); const modalNode = modalRef.current; - expect(modalNode).toBeAriaHidden(); + expect(modalNode).toBeInaccessible(); setProps({ open: true }); - expect(modalNode).not.toBeAriaHidden(); + expect(modalNode).not.toBeInaccessible(); }); }); diff --git a/packages/mui-material/src/FormLabel/FormLabel.test.js b/packages/mui-material/src/FormLabel/FormLabel.test.js index 4595e95aa0327d..bc4e0a7a553747 100644 --- a/packages/mui-material/src/FormLabel/FormLabel.test.js +++ b/packages/mui-material/src/FormLabel/FormLabel.test.js @@ -28,7 +28,7 @@ describe('', () => { expect(container.querySelector('label')).to.have.text('name\u2009*'); expect(container.querySelectorAll(`.${classes.asterisk}`)).to.have.lengthOf(1); - expect(container.querySelectorAll(`.${classes.asterisk}`)[0]).toBeAriaHidden(); + expect(container.querySelectorAll(`.${classes.asterisk}`)[0]).toBeInaccessible(); }); it('should not show an asterisk by default', () => { @@ -45,7 +45,7 @@ describe('', () => { expect(container.querySelectorAll(`.${classes.asterisk}`)).to.have.lengthOf(1); expect(container.querySelector(`.${classes.asterisk}`)).to.have.class(classes.error); - expect(container.querySelectorAll(`.${classes.asterisk}`)[0]).toBeAriaHidden(); + expect(container.querySelectorAll(`.${classes.asterisk}`)[0]).toBeInaccessible(); expect(container.firstChild).to.have.class(classes.error); }); }); diff --git a/packages/mui-material/src/Modal/Modal.test.js b/packages/mui-material/src/Modal/Modal.test.js index 872a5e18460c73..ad45d45e919082 100644 --- a/packages/mui-material/src/Modal/Modal.test.js +++ b/packages/mui-material/src/Modal/Modal.test.js @@ -396,10 +396,10 @@ describe('', () => { , ); const modalNode = modalRef.current; - expect(modalNode).toBeAriaHidden(); + expect(modalNode).toBeInaccessible(); setProps({ open: true }); - expect(modalNode).not.toBeAriaHidden(); + expect(modalNode).not.toBeInaccessible(); }); // Test case for https://github.com/mui/material-ui/issues/15180 diff --git a/packages/mui-material/src/Modal/ModalManager.test.ts b/packages/mui-material/src/Modal/ModalManager.test.ts index bfbd505f82f8fa..006ed7d87a3bf5 100644 --- a/packages/mui-material/src/Modal/ModalManager.test.ts +++ b/packages/mui-material/src/Modal/ModalManager.test.ts @@ -297,17 +297,17 @@ describe('ModalManager', () => { const modal2 = getDummyModal(); modalManager.add(modal1, container3); modalManager.mount(modal1, {}); - expect(container3.children[0]).toBeAriaHidden(); + expect(container3.children[0]).toBeInaccessible(); modalManager.add(modal2, container4); modalManager.mount(modal2, {}); - expect(container4.children[0]).toBeAriaHidden(); + expect(container4.children[0]).toBeInaccessible(); modalManager.remove(modal2); - expect(container4.children[0]).not.toBeAriaHidden(); + expect(container4.children[0]).not.toBeInaccessible(); modalManager.remove(modal1); - expect(container3.children[0]).not.toBeAriaHidden(); + expect(container3.children[0]).not.toBeInaccessible(); }); afterEach(() => { @@ -338,17 +338,17 @@ describe('ModalManager', () => { const modal2 = document.createElement('div'); modal2.setAttribute('aria-hidden', 'true'); - expect(modal2).toBeAriaHidden(); + expect(modal2).toBeInaccessible(); modalManager.add({ ...getDummyModal(), modalRef: modal2 }, container2); - expect(modal2).not.toBeAriaHidden(); + expect(modal2).not.toBeInaccessible(); }); it('should add aria-hidden to container siblings', () => { const secondSibling = document.createElement('input'); container2.appendChild(secondSibling); modalManager.add(getDummyModal(), container2); - expect(container2.children[0]).toBeAriaHidden(); - expect(container2.children[1]).toBeAriaHidden(); + expect(container2.children[0]).toBeInaccessible(); + expect(container2.children[1]).toBeInaccessible(); }); it('should not add aria-hidden to forbidden container siblings', () => { @@ -379,9 +379,9 @@ describe('ModalManager', () => { expect(container2.children.length).equal(numberOfChildren); modalManager.add(getDummyModal(), container2); - expect(container2.children[0]).toBeAriaHidden(); + expect(container2.children[0]).toBeInaccessible(); for (let i = 1; i < numberOfChildren; i += 1) { - expect(container2.children[i]).not.toBeAriaHidden(); + expect(container2.children[i].getAttribute('aria-hidden')).to.equal(null); } }); @@ -394,13 +394,13 @@ describe('ModalManager', () => { modalManager.add({ ...getDummyModal(), modalRef: modal2 }, container2); // Simulate the main React DOM true. - expect(container2.children[0]).toBeAriaHidden(); - expect(container2.children[1]).not.toBeAriaHidden(); + expect(container2.children[0]).toBeInaccessible(); + expect(container2.children[1]).not.toBeInaccessible(); modalManager.add({ ...getDummyModal(), modalRef: modal3 }, container2); - expect(container2.children[0]).toBeAriaHidden(); - expect(container2.children[1]).toBeAriaHidden(); - expect(container2.children[2]).not.toBeAriaHidden(); + expect(container2.children[0]).toBeInaccessible(); + expect(container2.children[1]).toBeInaccessible(); + expect(container2.children[2]).not.toBeInaccessible(); }); it('should remove aria-hidden on siblings', () => { @@ -408,9 +408,9 @@ describe('ModalManager', () => { modalManager.add(modal, container2); modalManager.mount(modal, {}); - expect(container2.children[0]).not.toBeAriaHidden(); + expect(container2.children[0]).not.toBeInaccessible(); modalManager.remove(modal); - expect(container2.children[0]).toBeAriaHidden(); + expect(container2.children[0]).toBeInaccessible(); }); it('should keep previous aria-hidden siblings hidden', () => { @@ -425,11 +425,11 @@ describe('ModalManager', () => { modalManager.add(modal, container2); modalManager.mount(modal, {}); - expect(container2.children[0]).not.toBeAriaHidden(); + expect(container2.children[0]).not.toBeInaccessible(); modalManager.remove(modal); - expect(container2.children[0]).toBeAriaHidden(); - expect(container2.children[1]).toBeAriaHidden(); - expect(container2.children[2]).not.toBeAriaHidden(); + expect(container2.children[0]).toBeInaccessible(); + expect(container2.children[1]).toBeInaccessible(); + expect(container2.children[2]).not.toBeInaccessible(); }); }); }); From a029ed7450a9c6fa62e62b316488ff87c402d61c Mon Sep 17 00:00:00 2001 From: Yash Shah <49yash@gmail.com> Date: Sat, 28 Sep 2024 12:46:41 +0530 Subject: [PATCH 31/52] [material-ui][Rating] Use Rating `name` as prefix of input element ids (#43829) Signed-off-by: Yash Shah <49yash@gmail.com> Co-authored-by: Zeeshan Tamboli --- docs/translations/api-docs/rating/rating.json | 2 +- packages/mui-material/src/Rating/Rating.d.ts | 2 +- packages/mui-material/src/Rating/Rating.js | 9 +++++++-- packages/mui-material/src/Rating/Rating.test.js | 10 ++++++++++ 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/docs/translations/api-docs/rating/rating.json b/docs/translations/api-docs/rating/rating.json index 7adde99b395e17..277a5c7034490a 100644 --- a/docs/translations/api-docs/rating/rating.json +++ b/docs/translations/api-docs/rating/rating.json @@ -19,7 +19,7 @@ "IconContainerComponent": { "description": "The component containing the icon." }, "max": { "description": "Maximum rating." }, "name": { - "description": "The name attribute of the radio input elements. This input name should be unique within the page. Being unique within a form is insufficient since the name is used to generated IDs." + "description": "The name attribute of the radio input elements. This input name should be unique within the page. Being unique within a form is insufficient since the name is used to generate IDs." }, "onChange": { "description": "Callback fired when the value changes.", diff --git a/packages/mui-material/src/Rating/Rating.d.ts b/packages/mui-material/src/Rating/Rating.d.ts index b232f44adceea3..839946456d83d4 100644 --- a/packages/mui-material/src/Rating/Rating.d.ts +++ b/packages/mui-material/src/Rating/Rating.d.ts @@ -74,7 +74,7 @@ export interface RatingProps /** * The name attribute of the radio `input` elements. * This input `name` should be unique within the page. - * Being unique within a form is insufficient since the `name` is used to generated IDs. + * Being unique within a form is insufficient since the `name` is used to generate IDs. */ name?: string; /** diff --git a/packages/mui-material/src/Rating/Rating.js b/packages/mui-material/src/Rating/Rating.js index 7f5c9447b1e0da..0bdc81e0b81c0f 100644 --- a/packages/mui-material/src/Rating/Rating.js +++ b/packages/mui-material/src/Rating/Rating.js @@ -242,7 +242,12 @@ function RatingItem(props) { const isFocused = itemValue <= focus; const isChecked = itemValue === ratingValueRounded; - const id = useId(); + // "name" ensures unique IDs across different Rating components in React 17, + // preventing one component from affecting another. React 18's useId already handles this. + // Update to const id = useId(); when React 17 support is dropped. + // More details: https://github.com/mui/material-ui/issues/40997 + const id = `${name}-${useId()}`; + const container = ( ', () => { expect(new Set(radios.map((radio) => radio.name))).to.have.length(1); }); + it('should use `name` as prefix of input element ids', () => { + render(); + + const radios = document.querySelectorAll('input[type="radio"]'); + + for (let i = 0; i < radios.length; i += 1) { + expect(radios[i].getAttribute('id')).to.match(/^rating-test-/); + } + }); + describe('prop: readOnly', () => { it('renders a role="img"', () => { render(); From 4f80f8fccb1d84792964c97eb0dda9d1f4bcf27b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 28 Sep 2024 12:51:25 +0530 Subject: [PATCH 32/52] Bump Playwright (#43843) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .circleci/config.yml | 26 +++--- apps/pigment-css-vite-app/package.json | 2 +- benchmark/package.json | 2 +- docs/package.json | 2 +- package.json | 2 +- packages-internal/test-utils/package.json | 2 +- packages/mui-material/package.json | 2 +- pnpm-lock.yaml | 81 +++++++++---------- .../fixtures/create-react-app/package.json | 2 +- test/bundling/fixtures/esbuild/package.json | 2 +- test/bundling/fixtures/gatsby/package.json | 2 +- .../fixtures/next-webpack4/package.json | 2 +- .../fixtures/next-webpack5/package.json | 2 +- test/bundling/fixtures/snowpack/package.json | 2 +- test/bundling/fixtures/vite/package.json | 2 +- test/package.json | 4 +- 16 files changed, 68 insertions(+), 69 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9bd42f2bc52a5a..8064ee15db1cea 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -369,7 +369,7 @@ jobs: <<: *default-job resource_class: 'medium+' docker: - - image: mcr.microsoft.com/playwright:v1.47.1-focal + - image: mcr.microsoft.com/playwright:v1.47.2-focal steps: - checkout - install_js: @@ -397,7 +397,7 @@ jobs: test_e2e: <<: *default-job docker: - - image: mcr.microsoft.com/playwright:v1.47.1-focal + - image: mcr.microsoft.com/playwright:v1.47.2-focal steps: - checkout - install_js: @@ -409,7 +409,7 @@ jobs: # NOTE: This workflow runs after successful docs deploy. See /test/e2e-website/README.md#ci <<: *default-job docker: - - image: mcr.microsoft.com/playwright:v1.47.1-focal + - image: mcr.microsoft.com/playwright:v1.47.2-focal steps: - checkout - install_js: @@ -422,7 +422,7 @@ jobs: test_profile: <<: *default-job docker: - - image: mcr.microsoft.com/playwright:v1.47.1-focal + - image: mcr.microsoft.com/playwright:v1.47.2-focal steps: - checkout - install_js: @@ -447,7 +447,7 @@ jobs: test_regressions: <<: *default-job docker: - - image: mcr.microsoft.com/playwright:v1.47.1-focal + - image: mcr.microsoft.com/playwright:v1.47.2-focal steps: - checkout - install_js: @@ -505,7 +505,7 @@ jobs: <<: *default-job working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack4/ docker: - - image: mcr.microsoft.com/playwright:v1.47.1-focal + - image: mcr.microsoft.com/playwright:v1.47.2-focal steps: - checkout: path: /tmp/material-ui @@ -527,7 +527,7 @@ jobs: <<: *default-job working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack5/ docker: - - image: mcr.microsoft.com/playwright:v1.47.1-focal + - image: mcr.microsoft.com/playwright:v1.47.2-focal steps: - checkout: path: /tmp/material-ui @@ -549,7 +549,7 @@ jobs: <<: *default-job working_directory: /tmp/material-ui/test/bundling/fixtures/create-react-app/ docker: - - image: mcr.microsoft.com/playwright:v1.47.1-focal + - image: mcr.microsoft.com/playwright:v1.47.2-focal steps: - checkout: path: /tmp/material-ui @@ -571,7 +571,7 @@ jobs: <<: *default-job working_directory: /tmp/material-ui/test/bundling/fixtures/snowpack/ docker: - - image: mcr.microsoft.com/playwright:v1.47.1-focal + - image: mcr.microsoft.com/playwright:v1.47.2-focal steps: - checkout: path: /tmp/material-ui @@ -593,7 +593,7 @@ jobs: <<: *default-job working_directory: /tmp/material-ui/test/bundling/fixtures/vite/ docker: - - image: mcr.microsoft.com/playwright:v1.47.1-focal + - image: mcr.microsoft.com/playwright:v1.47.2-focal steps: - checkout: path: /tmp/material-ui @@ -615,7 +615,7 @@ jobs: <<: *default-job working_directory: /tmp/material-ui/test/bundling/fixtures/esbuild/ docker: - - image: mcr.microsoft.com/playwright:v1.47.1-focal + - image: mcr.microsoft.com/playwright:v1.47.2-focal steps: - checkout: path: /tmp/material-ui @@ -641,7 +641,7 @@ jobs: <<: *default-job working_directory: /tmp/material-ui/test/bundling/fixtures/gatsby/ docker: - - image: mcr.microsoft.com/playwright:v1.47.1-focal + - image: mcr.microsoft.com/playwright:v1.47.2-focal steps: - checkout: path: /tmp/material-ui @@ -740,7 +740,7 @@ jobs: test_benchmark: <<: *default-job docker: - - image: mcr.microsoft.com/playwright:v1.47.1-focal + - image: mcr.microsoft.com/playwright:v1.47.2-focal steps: - checkout - install_js: diff --git a/apps/pigment-css-vite-app/package.json b/apps/pigment-css-vite-app/package.json index bc8dd707a50531..b8686e57f8084d 100644 --- a/apps/pigment-css-vite-app/package.json +++ b/apps/pigment-css-vite-app/package.json @@ -17,7 +17,7 @@ "@mui/system": "workspace:^", "@mui/utils": "workspace:^", "clsx": "^2.1.1", - "playwright": "^1.47.1", + "playwright": "^1.47.2", "react": "^18.3.1", "react-dom": "^18.3.1", "react-error-boundary": "^4.0.13", diff --git a/benchmark/package.json b/benchmark/package.json index d4a9ac3c840d03..0c0fc5abaf8f25 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -25,7 +25,7 @@ "express": "^4.19.2", "fs-extra": "^11.2.0", "jss": "^10.10.0", - "playwright": "^1.47.1", + "playwright": "^1.47.2", "prop-types": "^15.8.1", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/docs/package.json b/docs/package.json index 64e48a30a667f6..88932f2183c70c 100644 --- a/docs/package.json +++ b/docs/package.json @@ -136,7 +136,7 @@ "cross-fetch": "^4.0.0", "gm": "^1.25.0", "marked": "^13.0.3", - "playwright": "^1.47.1", + "playwright": "^1.47.2", "prettier": "^3.3.3", "tailwindcss": "^3.4.12", "yargs": "^17.7.2" diff --git a/package.json b/package.json index bd575bcc6e742e..61e85aa78e907a 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,7 @@ "@next/eslint-plugin-next": "^14.2.13", "@octokit/rest": "^21.0.2", "@pigment-css/react": "0.0.23", - "@playwright/test": "1.47.1", + "@playwright/test": "1.47.2", "@types/babel__core": "^7.20.5", "@types/fs-extra": "^11.0.4", "@types/lodash": "^4.17.7", diff --git a/packages-internal/test-utils/package.json b/packages-internal/test-utils/package.json index 57607e162cbb9d..15a28ea28b8500 100644 --- a/packages-internal/test-utils/package.json +++ b/packages-internal/test-utils/package.json @@ -48,7 +48,7 @@ "jsdom": "^24.0.0", "lodash": "^4.17.21", "mocha": "^10.7.3", - "playwright": "^1.47.1", + "playwright": "^1.47.2", "prop-types": "^15.8.1", "sinon": "^18.0.1" }, diff --git a/packages/mui-material/package.json b/packages/mui-material/package.json index deaa62decc3c5b..2bbc49316e0b38 100644 --- a/packages/mui-material/package.json +++ b/packages/mui-material/package.json @@ -68,7 +68,7 @@ "fast-glob": "^3.3.2", "fs-extra": "^11.2.0", "lodash": "^4.17.21", - "playwright": "^1.47.1", + "playwright": "^1.47.2", "react": "^18.3.1", "react-dom": "^18.3.1", "react-router-dom": "^6.26.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a45e0a4babf3d7..4a2d3cc3f914b3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -109,8 +109,8 @@ importers: specifier: 0.0.23 version: 0.0.23(@types/react@18.3.4)(react@18.3.1) '@playwright/test': - specifier: 1.47.1 - version: 1.47.1 + specifier: 1.47.2 + version: 1.47.2 '@types/babel__core': specifier: ^7.20.5 version: 7.20.5 @@ -356,7 +356,7 @@ importers: version: link:../../packages/mui-utils/build next: specifier: latest - version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -366,7 +366,7 @@ importers: devDependencies: '@pigment-css/nextjs-plugin': specifier: 0.0.23 - version: 0.0.23(@types/react@18.3.4)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + version: 0.0.23(@types/react@18.3.4)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@types/node': specifier: ^20.16.5 version: 20.16.5 @@ -410,8 +410,8 @@ importers: specifier: ^2.1.1 version: 2.1.1 playwright: - specifier: ^1.47.1 - version: 1.47.1 + specifier: ^1.47.2 + version: 1.47.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -510,8 +510,8 @@ importers: specifier: ^10.10.0 version: 10.10.0 playwright: - specifier: ^1.47.1 - version: 1.47.1 + specifier: ^1.47.2 + version: 1.47.2 prop-types: specifier: ^15.8.1 version: 15.8.1 @@ -658,7 +658,7 @@ importers: version: 9.7.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@toolpad/core': specifier: ^0.6.0 - version: 0.6.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2) + version: 0.6.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.47) @@ -742,7 +742,7 @@ importers: version: 5.1.2(@mui/material@packages+mui-material+build)(react@18.3.1) next: specifier: ^14.2.13 - version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) notistack: specifier: 3.0.1 version: 3.0.1(csstype@3.1.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -898,8 +898,8 @@ importers: specifier: ^13.0.3 version: 13.0.3 playwright: - specifier: ^1.47.1 - version: 1.47.1 + specifier: ^1.47.2 + version: 1.47.2 prettier: specifier: ^3.3.3 version: 3.3.3 @@ -1059,8 +1059,8 @@ importers: specifier: ^10.7.3 version: 10.7.3 playwright: - specifier: ^1.47.1 - version: 1.47.1 + specifier: ^1.47.2 + version: 1.47.2 prop-types: specifier: ^15.8.1 version: 15.8.1 @@ -1469,7 +1469,7 @@ importers: version: 18.3.4 next: specifier: ^14.2.13 - version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -1643,7 +1643,7 @@ importers: version: 4.17.21 next: specifier: ^14.2.13 - version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -1814,8 +1814,8 @@ importers: specifier: ^4.17.21 version: 4.17.21 playwright: - specifier: ^1.47.1 - version: 1.47.1 + specifier: ^1.47.2 + version: 1.47.2 react: specifier: ^18.3.1 version: 18.3.1 @@ -1850,7 +1850,7 @@ importers: version: 18.3.4 next: specifier: 14.2.13 - version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: specifier: ^18.3.1 version: 18.3.1 @@ -2315,8 +2315,8 @@ importers: specifier: workspace:^ version: link:../packages/mui-utils/build '@playwright/test': - specifier: 1.47.1 - version: 1.47.1 + specifier: 1.47.2 + version: 1.47.2 '@testing-library/dom': specifier: ^10.4.0 version: 10.4.0 @@ -2351,8 +2351,8 @@ importers: specifier: ^4.17.21 version: 4.17.21 playwright: - specifier: ^1.47.1 - version: 1.47.1 + specifier: ^1.47.2 + version: 1.47.2 prop-types: specifier: ^15.8.1 version: 15.8.1 @@ -4826,8 +4826,8 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} - '@playwright/test@1.47.1': - resolution: {integrity: sha512-dbWpcNQZ5nj16m+A5UNScYx7HX5trIy7g4phrcitn+Nk83S32EBX/CLU4hiF4RGKX/yRc93AAqtfaXB7JWBd4Q==} + '@playwright/test@1.47.2': + resolution: {integrity: sha512-jTXRsoSPONAs8Za9QEQdyjFn+0ZQFjCiIztAIF6bi1HqhBzG9Ma7g1WotyiGqFSBRZjIEqMdT8RUlbk1QVhzCQ==} engines: {node: '>=18'} hasBin: true @@ -10590,13 +10590,13 @@ packages: platform@1.3.6: resolution: {integrity: sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg==} - playwright-core@1.47.1: - resolution: {integrity: sha512-i1iyJdLftqtt51mEk6AhYFaAJCDx0xQ/O5NU8EKaWFgMjItPVma542Nh/Aq8aLCjIJSzjaiEQGW/nyqLkGF1OQ==} + playwright-core@1.47.2: + resolution: {integrity: sha512-3JvMfF+9LJfe16l7AbSmU555PaTl2tPyQsVInqm3id16pdDfvZ8TTZ/pyzmkbDrZTQefyzU7AIHlZqQnxpqHVQ==} engines: {node: '>=18'} hasBin: true - playwright@1.47.1: - resolution: {integrity: sha512-SUEKi6947IqYbKxRiqnbUobVZY4bF1uu+ZnZNJX9DfU1tlf2UhWfvVjLf01pQx9URsOr18bFVUKXmanYWhbfkw==} + playwright@1.47.2: + resolution: {integrity: sha512-nx1cLMmQWqmA3UsnjaaokyoUpdVaaDhJhMoxX2qj3McpjnsqFHs516QAKYhqHAgOP+oCFTEOCOAaD1RgD/RQfA==} engines: {node: '>=18'} hasBin: true @@ -15787,10 +15787,10 @@ snapshots: '@opentelemetry/api@1.8.0': optional: true - '@pigment-css/nextjs-plugin@0.0.23(@types/react@18.3.4)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': + '@pigment-css/nextjs-plugin@0.0.23(@types/react@18.3.4)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': dependencies: '@pigment-css/unplugin': 0.0.23(@types/react@18.3.4)(react@18.3.1) - next: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + next: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) transitivePeerDependencies: - '@types/react' - react @@ -15854,9 +15854,9 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true - '@playwright/test@1.47.1': + '@playwright/test@1.47.2': dependencies: - playwright: 1.47.1 + playwright: 1.47.2 '@polka/url@1.0.0-next.21': {} @@ -16583,7 +16583,7 @@ snapshots: '@theme-ui/css': 0.16.2(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1)) react: 18.3.1 - '@toolpad/core@0.6.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2)': + '@toolpad/core@0.6.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2)': dependencies: '@babel/runtime': 7.25.6 '@mui/icons-material': link:packages/mui-icons-material/build @@ -16597,7 +16597,7 @@ snapshots: prop-types: 15.8.1 react: 18.3.1 optionalDependencies: - next: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + next: 14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) transitivePeerDependencies: - '@edge-runtime/vm' - '@emotion/react' @@ -22412,7 +22412,7 @@ snapshots: nested-error-stacks@2.1.1: {} - next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@next/env': 14.2.13 '@swc/helpers': 0.5.5 @@ -22434,7 +22434,7 @@ snapshots: '@next/swc-win32-ia32-msvc': 14.2.13 '@next/swc-win32-x64-msvc': 14.2.13 '@opentelemetry/api': 1.8.0 - '@playwright/test': 1.47.1 + '@playwright/test': 1.47.2 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros @@ -23210,11 +23210,11 @@ snapshots: platform@1.3.6: {} - playwright-core@1.47.1: {} + playwright-core@1.47.2: {} - playwright@1.47.1: + playwright@1.47.2: dependencies: - playwright-core: 1.47.1 + playwright-core: 1.47.2 optionalDependencies: fsevents: 2.3.2 @@ -25939,4 +25939,3 @@ snapshots: react: 18.3.1 zwitch@2.0.4: {} - \ No newline at end of file diff --git a/test/bundling/fixtures/create-react-app/package.json b/test/bundling/fixtures/create-react-app/package.json index c049dbd76da8bb..ab22cb818fa310 100644 --- a/test/bundling/fixtures/create-react-app/package.json +++ b/test/bundling/fixtures/create-react-app/package.json @@ -25,7 +25,7 @@ "devDependencies": { "concurrently": "7.4.0", "cross-env": "7.0.3", - "playwright": "1.47.1", + "playwright": "1.47.2", "serve": "14.0.1" }, "browserslist": { diff --git a/test/bundling/fixtures/esbuild/package.json b/test/bundling/fixtures/esbuild/package.json index 664ea49c8ff0e3..3d3922a962870b 100644 --- a/test/bundling/fixtures/esbuild/package.json +++ b/test/bundling/fixtures/esbuild/package.json @@ -25,7 +25,7 @@ }, "devDependencies": { "concurrently": "7.4.0", - "playwright": "1.47.1", + "playwright": "1.47.2", "serve": "14.0.1" } } diff --git a/test/bundling/fixtures/gatsby/package.json b/test/bundling/fixtures/gatsby/package.json index be9ca0b19cb33f..f1250b043d8409 100644 --- a/test/bundling/fixtures/gatsby/package.json +++ b/test/bundling/fixtures/gatsby/package.json @@ -23,6 +23,6 @@ }, "devDependencies": { "concurrently": "7.4.0", - "playwright": "1.47.1" + "playwright": "1.47.2" } } diff --git a/test/bundling/fixtures/next-webpack4/package.json b/test/bundling/fixtures/next-webpack4/package.json index 0f33ef7046d99b..85c5042066580a 100644 --- a/test/bundling/fixtures/next-webpack4/package.json +++ b/test/bundling/fixtures/next-webpack4/package.json @@ -23,6 +23,6 @@ }, "devDependencies": { "concurrently": "7.4.0", - "playwright": "1.47.1" + "playwright": "1.47.2" } } diff --git a/test/bundling/fixtures/next-webpack5/package.json b/test/bundling/fixtures/next-webpack5/package.json index 675cfa51474e03..44edc264933f78 100644 --- a/test/bundling/fixtures/next-webpack5/package.json +++ b/test/bundling/fixtures/next-webpack5/package.json @@ -23,6 +23,6 @@ }, "devDependencies": { "concurrently": "7.4.0", - "playwright": "1.47.1" + "playwright": "1.47.2" } } diff --git a/test/bundling/fixtures/snowpack/package.json b/test/bundling/fixtures/snowpack/package.json index c7b19e7acc6e9b..2d6648545ad5af 100644 --- a/test/bundling/fixtures/snowpack/package.json +++ b/test/bundling/fixtures/snowpack/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "concurrently": "7.4.0", - "playwright": "1.47.1", + "playwright": "1.47.2", "serve": "14.0.1" } } diff --git a/test/bundling/fixtures/vite/package.json b/test/bundling/fixtures/vite/package.json index 470db36d776640..e745bd9aad5673 100644 --- a/test/bundling/fixtures/vite/package.json +++ b/test/bundling/fixtures/vite/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "concurrently": "7.4.0", - "playwright": "1.47.1", + "playwright": "1.47.2", "serve": "14.0.1" } } diff --git a/test/package.json b/test/package.json index c6fb5f71079d67..90da0a3aa07b1e 100644 --- a/test/package.json +++ b/test/package.json @@ -17,7 +17,7 @@ "@mui/material": "workspace:^", "@mui/system": "workspace:^", "@mui/utils": "workspace:^", - "@playwright/test": "1.47.1", + "@playwright/test": "1.47.2", "@testing-library/dom": "^10.4.0", "@types/chai": "^4.3.19", "@types/react": "^18.3.4", @@ -29,7 +29,7 @@ "fs-extra": "^11.2.0", "html-webpack-plugin": "^5.6.0", "lodash": "^4.17.21", - "playwright": "^1.47.1", + "playwright": "^1.47.2", "prop-types": "^15.8.1", "react": "^18.3.1", "react-dom": "^18.3.1", From 65b232c50ae8e0e150ea8ffd5c74bb74da320281 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sat, 28 Sep 2024 12:16:12 +0200 Subject: [PATCH 33/52] [website] Improve Next roles section (#43822) --- docs/pages/careers.tsx | 26 ++++++++++++++--------- docs/pages/careers/technical-recruiter.js | 7 ------ 2 files changed, 16 insertions(+), 17 deletions(-) delete mode 100644 docs/pages/careers/technical-recruiter.js diff --git a/docs/pages/careers.tsx b/docs/pages/careers.tsx index a62cc7962c16d3..0e6a697ce6f8ee 100644 --- a/docs/pages/careers.tsx +++ b/docs/pages/careers.tsx @@ -91,21 +91,21 @@ const nextRolesData = [ { title: 'People', roles: [ - { - title: 'Technical Recruiter', - description: 'You will hire the next engineers, among other roles, joining the team.', - url: '/careers/technical-recruiter/', - }, + // { + // title: 'Technical Recruiter', + // description: 'You will hire the next engineers, among other roles, joining the team.', + // url: '/careers/technical-recruiter/', + // }, ], }, { title: 'Sales', roles: [ - { - title: 'Account Executive', - description: - 'You will build client relationships and manage the sales process from start to finish.', - }, + // { + // title: 'Account Executive', + // description: + // 'You will build client relationships and manage the sales process from start to finish.', + // }, ], }, { @@ -196,6 +196,12 @@ export default function Careers() { } description={ + { + 'We are not actively hiring for these roles but we will likely focus on them next. ' + } + {"If you are passively looking, don't hesitate to apply!"} +
+
If none of the roles below fit with what you are looking for, apply to{' '} the Dream job role diff --git a/docs/pages/careers/technical-recruiter.js b/docs/pages/careers/technical-recruiter.js deleted file mode 100644 index b4a6874cce3b25..00000000000000 --- a/docs/pages/careers/technical-recruiter.js +++ /dev/null @@ -1,7 +0,0 @@ -import * as React from 'react'; -import TopLayoutCareers from 'docs/src/modules/components/TopLayoutCareers'; -import * as pageProps from 'docs/pages/careers/technical-recruiter.md?muiMarkdown'; - -export default function Page() { - return ; -} From 79bfe9a38201ec639f7b65c3e158c9fe565b204b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 28 Sep 2024 05:58:15 -0700 Subject: [PATCH 34/52] Bump @toolpad/core to ^0.7.0 (#43849) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- docs/package.json | 2 +- pnpm-lock.yaml | 272 ++++++++++++++++++---------------------------- 2 files changed, 109 insertions(+), 165 deletions(-) diff --git a/docs/package.json b/docs/package.json index 88932f2183c70c..2d882beb72bc1b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -54,7 +54,7 @@ "@mui/x-tree-view": "7.18.0", "@popperjs/core": "^2.11.8", "@react-spring/web": "^9.7.4", - "@toolpad/core": "^0.6.0", + "@toolpad/core": "^0.7.0", "autoprefixer": "^10.4.20", "autosuggest-highlight": "^3.3.4", "babel-plugin-module-resolver": "^5.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4a2d3cc3f914b3..dc2c4488ef2fd3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -657,8 +657,8 @@ importers: specifier: ^9.7.4 version: 9.7.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@toolpad/core': - specifier: ^0.6.0 - version: 0.6.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2) + specifier: ^0.7.0 + version: 0.7.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.47) @@ -4010,8 +4010,8 @@ packages: '@jridgewell/source-map@0.3.6': resolution: {integrity: sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==} - '@jridgewell/sourcemap-codec@1.4.15': - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + '@jridgewell/sourcemap-codec@1.5.0': + resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} @@ -4073,14 +4073,14 @@ packages: '@types/react': optional: true - '@mui/lab@6.0.0-beta.9': - resolution: {integrity: sha512-rgwgf9mNUpXxPlI3tnM3i+HNAtDZ2amAollDqbe6RZ/3fltcir/o/0zBvnZRkJIBOAk6qIGmL59GCasuQQtPKA==} + '@mui/lab@6.0.0-beta.10': + resolution: {integrity: sha512-eqCBz5SZS8Un9To3UcjH01AxkOOgvme/g0ZstFC8Nz1Kg5/EJMA0ByhKS5AvUMzUKrv0FXMdbuPqbBvF3bVrXg==} engines: {node: '>=14.0.0'} peerDependencies: '@emotion/react': ^11.5.0 '@emotion/styled': ^11.3.0 - '@mui/material': ^6.0.2 - '@mui/material-pigment-css': ^6.0.2 + '@mui/material': ^6.1.1 + '@mui/material-pigment-css': ^6.1.1 '@types/react': ^18.3.4 react: ^17.0.0 || ^18.0.0 || ^19.0.0 react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0 @@ -4221,16 +4221,6 @@ packages: '@types/react': optional: true - '@mui/utils@6.1.0': - resolution: {integrity: sha512-oT8ZzMISRUhTVpdbYzY0CgrCBb3t/YEdcaM13tUnuTjZ15pdA6g5lx15ZJUdgYXV6PbJdw7tDQgMEr4uXK5TXQ==} - engines: {node: '>=14.0.0'} - peerDependencies: - '@types/react': ^18.3.4 - react: ^17.0.0 || ^18.0.0 || ^19.0.0 - peerDependenciesMeta: - '@types/react': - optional: true - '@mui/utils@6.1.1': resolution: {integrity: sha512-HlRrgdJSPbYDXPpoVMWZV8AE7WcFtAk13rWNWAEVWKSanzBBkymjz3km+Th/Srowsh4pf1fTSP1B0L116wQBYw==} engines: {node: '>=14.0.0'} @@ -5323,8 +5313,8 @@ packages: '@emotion/react': ^11.11.1 react: '>=18' - '@toolpad/core@0.6.0': - resolution: {integrity: sha512-EJ6VqiBRNfQ5FyXS/j07FcBOVu+4kO3f0+uDIPUHdsAlOoXFQH8CJYKQ9ozVovL6vI1L+tYKNDy/x039W2Um5g==} + '@toolpad/core@0.7.0': + resolution: {integrity: sha512-Ur4MLjMAyxlLsgf5EkB7zlm0AMFKK40iYPiGUDnfBzs4p/KgndD5CwwpIMJ84TfNgsewm7AchR2stcynp6iTPA==} engines: {node: '>=14.0.0'} peerDependencies: '@mui/icons-material': 5 - 6 @@ -5335,8 +5325,8 @@ packages: next: optional: true - '@toolpad/utils@0.6.0': - resolution: {integrity: sha512-RvNYBhKaft+GppTy6JjV4a/Ii6XT+cpVkwRmFcksX/e6CXrhQAs1+/jcXqtEtrN4b7+LwL2UPMSgCdigXJYxUg==} + '@toolpad/utils@0.7.0': + resolution: {integrity: sha512-7Qpjg3Ihmbrj1IX9p8ptl3jdkLIaVN8/TCskI7JKRaKljEREo9ESH4PetMdwDvq+GJhwIZGsIS9h4whvTzENdg==} peerDependencies: react: ^18.0.0 @@ -5687,23 +5677,35 @@ packages: peerDependencies: vite: ^4.2.0 || ^5.0.0 - '@vitest/expect@2.0.5': - resolution: {integrity: sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA==} + '@vitest/expect@2.1.1': + resolution: {integrity: sha512-YeueunS0HiHiQxk+KEOnq/QMzlUuOzbU1Go+PgAsHvvv3tUkJPm9xWt+6ITNTlzsMXUjmgm5T+U7KBPK2qQV6w==} - '@vitest/pretty-format@2.0.5': - resolution: {integrity: sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ==} + '@vitest/mocker@2.1.1': + resolution: {integrity: sha512-LNN5VwOEdJqCmJ/2XJBywB11DLlkbY0ooDJW3uRX5cZyYCrc4PI/ePX0iQhE3BiEGiQmK4GE7Q/PqCkkaiPnrA==} + peerDependencies: + '@vitest/spy': 2.1.1 + msw: ^2.3.5 + vite: ^5.0.0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + + '@vitest/pretty-format@2.1.1': + resolution: {integrity: sha512-SjxPFOtuINDUW8/UkElJYQSFtnWX7tMksSGW0vfjxMneFqxVr8YJ979QpMbDW7g+BIiq88RAGDjf7en6rvLPPQ==} - '@vitest/runner@2.0.5': - resolution: {integrity: sha512-TfRfZa6Bkk9ky4tW0z20WKXFEwwvWhRY+84CnSEtq4+3ZvDlJyY32oNTJtM7AW9ihW90tX/1Q78cb6FjoAs+ig==} + '@vitest/runner@2.1.1': + resolution: {integrity: sha512-uTPuY6PWOYitIkLPidaY5L3t0JJITdGTSwBtwMjKzo5O6RCOEncz9PUN+0pDidX8kTHYjO0EwUIvhlGpnGpxmA==} - '@vitest/snapshot@2.0.5': - resolution: {integrity: sha512-SgCPUeDFLaM0mIUHfaArq8fD2WbaXG/zVXjRupthYfYGzc8ztbFbu6dUNOblBG7XLMR1kEhS/DNnfCZ2IhdDew==} + '@vitest/snapshot@2.1.1': + resolution: {integrity: sha512-BnSku1WFy7r4mm96ha2FzN99AZJgpZOWrAhtQfoxjUU5YMRpq1zmHRq7a5K9/NjqonebO7iVDla+VvZS8BOWMw==} - '@vitest/spy@2.0.5': - resolution: {integrity: sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==} + '@vitest/spy@2.1.1': + resolution: {integrity: sha512-ZM39BnZ9t/xZ/nF4UwRH5il0Sw93QnZXd9NAZGRpIgj0yvVwPpLd702s/Cx955rGaMlyBQkZJ2Ir7qyY48VZ+g==} - '@vitest/utils@2.0.5': - resolution: {integrity: sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==} + '@vitest/utils@2.1.1': + resolution: {integrity: sha512-Y6Q9TsI+qJ2CC0ZKj6VBb+T8UPz593N113nnUykqwANqhgf3QkZeHFlusgKLTqrnVHbj/XDKZcDHol+dxVT+rQ==} '@webassemblyjs/ast@1.12.1': resolution: {integrity: sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==} @@ -7748,10 +7750,6 @@ packages: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} engines: {node: '>=10'} - execa@8.0.1: - resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} - engines: {node: '>=16.17'} - execa@9.4.0: resolution: {integrity: sha512-yKHlle2YGxZE842MERVIplWwNH5VYmqqcPFgtnlU//K8gxuFFXu0pwd/CrfXTumFpeEiufsP7+opT/bPJa1yVw==} engines: {node: ^18.19.0 || >=20.5.0} @@ -8091,10 +8089,6 @@ packages: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} - get-stream@8.0.1: - resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} - engines: {node: '>=16'} - get-stream@9.0.1: resolution: {integrity: sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==} engines: {node: '>=18'} @@ -8430,10 +8424,6 @@ packages: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} - human-signals@5.0.0: - resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} - engines: {node: '>=16.17.0'} - human-signals@8.0.0: resolution: {integrity: sha512-/1/GPCpDUCCYwlERiYjxoczfP0zfvZMU/OWgQPMya9AbAE24vseigFdhAMObpc8Q4lc/kjutPfUddDYyAmejnA==} engines: {node: '>=18.18.0'} @@ -8743,10 +8733,6 @@ packages: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} - is-stream@3.0.0: - resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - is-stream@4.0.1: resolution: {integrity: sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==} engines: {node: '>=18'} @@ -9439,8 +9425,8 @@ packages: resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} hasBin: true - magic-string@0.30.10: - resolution: {integrity: sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==} + magic-string@0.30.11: + resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} make-dir@2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} @@ -9744,10 +9730,6 @@ packages: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'} - mimic-fn@4.0.0: - resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} - engines: {node: '>=12'} - min-indent@1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} @@ -10077,10 +10059,6 @@ packages: resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} engines: {node: '>=8'} - npm-run-path@5.2.0: - resolution: {integrity: sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - npm-run-path@6.0.0: resolution: {integrity: sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==} engines: {node: '>=18'} @@ -10194,10 +10172,6 @@ packages: resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} engines: {node: '>=6'} - onetime@6.0.0: - resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} - engines: {node: '>=12'} - open@6.4.0: resolution: {integrity: sha512-IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg==} engines: {node: '>=8'} @@ -10485,8 +10459,8 @@ packages: path-to-regexp@2.2.1: resolution: {integrity: sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ==} - path-to-regexp@6.2.2: - resolution: {integrity: sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==} + path-to-regexp@6.3.0: + resolution: {integrity: sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==} path-to-regexp@8.1.0: resolution: {integrity: sha512-Bqn3vc8CMHty6zuD+tG23s6v2kwxslHEhTj4eYaVKGIEB+YX/2wd0/rgXLFD9G9id9KCtbVy/3ZgmvZjpa0UdQ==} @@ -11844,10 +11818,6 @@ packages: resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} engines: {node: '>=6'} - strip-final-newline@3.0.0: - resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} - engines: {node: '>=12'} - strip-final-newline@4.0.0: resolution: {integrity: sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==} engines: {node: '>=18'} @@ -12121,8 +12091,11 @@ packages: tiny-warning@1.0.3: resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==} - tinybench@2.8.0: - resolution: {integrity: sha512-1/eK7zUnIklz4JUUlL+658n58XO2hHLQfSk1Zf2LKieUjxidN16eKFEoDEfjHc3ohofSSqK3X5yO6VGb6iW8Lw==} + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + + tinyexec@0.3.0: + resolution: {integrity: sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==} tinypool@1.0.0: resolution: {integrity: sha512-KIKExllK7jp3uvrNtvRBYBWBOAXSX8ZvoaD8T+7KB/QHIuoJW3Pmr60zucywjAlMb5TeXUkcs/MWeWLu0qvuAQ==} @@ -12522,8 +12495,8 @@ packages: vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} - vite-node@2.0.5: - resolution: {integrity: sha512-LdsW4pxj0Ot69FAoXZ1yTnA9bjGohr2yNBU7QKRxpz8ITSkhuDl6h3zS/tvgz4qrNjeRnvrWeXQ8ZF7Um4W00Q==} + vite-node@2.1.1: + resolution: {integrity: sha512-N/mGckI1suG/5wQI35XeR9rsMsPqKXzq1CdUndzVstBj/HvyxxGctwnK6WX43NGt5L3Z5tcRf83g4TITKJhPrA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -12581,15 +12554,15 @@ packages: terser: optional: true - vitest@2.0.5: - resolution: {integrity: sha512-8GUxONfauuIdeSl5f9GTgVEpg5BTOlplET4WEDaeY2QBiN8wSm68vxN/tb5z405OwppfoCavnwXafiaYBC/xOA==} + vitest@2.1.1: + resolution: {integrity: sha512-97We7/VC0e9X5zBVkvt7SGQMGrRtn3KtySFQG5fpaMlS+l62eeXRQO633AYhSTC3z7IMebnPPNjGXVGNRFlxBA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^20.16.5 - '@vitest/browser': 2.0.5 - '@vitest/ui': 2.0.5 + '@vitest/browser': 2.1.1 + '@vitest/ui': 2.1.1 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -14770,7 +14743,7 @@ snapshots: '@jridgewell/gen-mapping@0.3.5': dependencies: '@jridgewell/set-array': 1.2.1 - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/trace-mapping': 0.3.25 '@jridgewell/resolve-uri@3.1.2': {} @@ -14782,12 +14755,12 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@jridgewell/sourcemap-codec@1.4.15': {} + '@jridgewell/sourcemap-codec@1.5.0': {} '@jridgewell/trace-mapping@0.3.25': dependencies: '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 '@lerna/create@8.1.8(babel-plugin-macros@3.1.0)(encoding@0.1.13)': dependencies: @@ -14932,7 +14905,7 @@ snapshots: '@emotion/styled': 11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1) '@types/react': 18.3.4 - '@mui/lab@6.0.0-beta.9(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mui/lab@6.0.0-beta.10(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 '@mui/base': 5.0.0-beta.58(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -15085,18 +15058,6 @@ snapshots: optionalDependencies: '@types/react': 18.3.4 - '@mui/utils@6.1.0(@types/react@18.3.4)(react@18.3.1)': - dependencies: - '@babel/runtime': 7.25.6 - '@mui/types': 7.2.17(@types/react@18.3.4) - '@types/prop-types': 15.7.13 - clsx: 2.1.1 - prop-types: 15.8.1 - react: 18.3.1 - react-is: 18.3.1 - optionalDependencies: - '@types/react': 18.3.4 - '@mui/utils@6.1.1(@types/react@18.3.4)(react@18.3.1)': dependencies: '@babel/runtime': 7.25.6 @@ -16234,7 +16195,7 @@ snapshots: dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.21.1) estree-walker: 2.0.2 - magic-string: 0.30.10 + magic-string: 0.30.11 optionalDependencies: rollup: 4.21.1 @@ -16583,17 +16544,18 @@ snapshots: '@theme-ui/css': 0.16.2(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1)) react: 18.3.1 - '@toolpad/core@0.6.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2)': + '@toolpad/core@0.7.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2))': dependencies: '@babel/runtime': 7.25.6 '@mui/icons-material': link:packages/mui-icons-material/build - '@mui/lab': 6.0.0-beta.9(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@mui/lab': 6.0.0-beta.10(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mui/material': link:packages/mui-material/build - '@mui/utils': 6.1.0(@types/react@18.3.4)(react@18.3.1) - '@toolpad/utils': 0.6.0(@types/node@20.16.5)(happy-dom@12.10.3)(jsdom@24.0.0)(react@18.3.1)(terser@5.29.2) + '@mui/utils': 6.1.1(@types/react@18.3.4)(react@18.3.1) + '@toolpad/utils': 0.7.0(@types/node@20.16.5)(happy-dom@12.10.3)(jsdom@24.0.0)(react@18.3.1)(terser@5.29.2) + '@vitejs/plugin-react': 4.3.1(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) client-only: 0.0.1 invariant: 2.2.4 - path-to-regexp: 6.2.2 + path-to-regexp: 6.3.0 prop-types: 15.8.1 react: 18.3.1 optionalDependencies: @@ -16611,6 +16573,7 @@ snapshots: - jsdom - less - lightningcss + - msw - react-dom - sass - sass-embedded @@ -16618,15 +16581,16 @@ snapshots: - sugarss - supports-color - terser + - vite - '@toolpad/utils@0.6.0(@types/node@20.16.5)(happy-dom@12.10.3)(jsdom@24.0.0)(react@18.3.1)(terser@5.29.2)': + '@toolpad/utils@0.7.0(@types/node@20.16.5)(happy-dom@12.10.3)(jsdom@24.0.0)(react@18.3.1)(terser@5.29.2)': dependencies: invariant: 2.2.4 prettier: 3.3.3 react: 18.3.1 react-is: 18.3.1 title: 3.5.3 - vitest: 2.0.5(@types/node@20.16.5)(happy-dom@12.10.3)(jsdom@24.0.0)(terser@5.29.2) + vitest: 2.1.1(@types/node@20.16.5)(happy-dom@12.10.3)(jsdom@24.0.0)(terser@5.29.2) yaml: 2.5.1 yaml-diff-patch: 2.0.0 transitivePeerDependencies: @@ -16638,6 +16602,7 @@ snapshots: - jsdom - less - lightningcss + - msw - sass - sass-embedded - stylus @@ -17030,36 +16995,43 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/expect@2.0.5': + '@vitest/expect@2.1.1': dependencies: - '@vitest/spy': 2.0.5 - '@vitest/utils': 2.0.5 + '@vitest/spy': 2.1.1 + '@vitest/utils': 2.1.1 chai: 5.1.1 tinyrainbow: 1.2.0 - '@vitest/pretty-format@2.0.5': + '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2))': + dependencies: + '@vitest/spy': 2.1.1 + estree-walker: 3.0.3 + magic-string: 0.30.11 + optionalDependencies: + vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) + + '@vitest/pretty-format@2.1.1': dependencies: tinyrainbow: 1.2.0 - '@vitest/runner@2.0.5': + '@vitest/runner@2.1.1': dependencies: - '@vitest/utils': 2.0.5 + '@vitest/utils': 2.1.1 pathe: 1.1.2 - '@vitest/snapshot@2.0.5': + '@vitest/snapshot@2.1.1': dependencies: - '@vitest/pretty-format': 2.0.5 - magic-string: 0.30.10 + '@vitest/pretty-format': 2.1.1 + magic-string: 0.30.11 pathe: 1.1.2 - '@vitest/spy@2.0.5': + '@vitest/spy@2.1.1': dependencies: tinyspy: 3.0.0 - '@vitest/utils@2.0.5': + '@vitest/utils@2.1.1': dependencies: - '@vitest/pretty-format': 2.0.5 - estree-walker: 3.0.3 + '@vitest/pretty-format': 2.1.1 loupe: 3.1.1 tinyrainbow: 1.2.0 @@ -19640,18 +19612,6 @@ snapshots: signal-exit: 3.0.7 strip-final-newline: 2.0.0 - execa@8.0.1: - dependencies: - cross-spawn: 7.0.3 - get-stream: 8.0.1 - human-signals: 5.0.0 - is-stream: 3.0.0 - merge-stream: 2.0.0 - npm-run-path: 5.2.0 - onetime: 6.0.0 - signal-exit: 4.1.0 - strip-final-newline: 3.0.0 - execa@9.4.0: dependencies: '@sindresorhus/merge-streams': 4.0.0 @@ -20049,8 +20009,6 @@ snapshots: get-stream@6.0.1: {} - get-stream@8.0.1: {} - get-stream@9.0.1: dependencies: '@sec-ant/readable-stream': 0.4.1 @@ -20498,8 +20456,6 @@ snapshots: human-signals@2.1.0: {} - human-signals@5.0.0: {} - human-signals@8.0.0: {} hyperlinker@1.0.0: {} @@ -20763,8 +20719,6 @@ snapshots: is-stream@2.0.1: {} - is-stream@3.0.0: {} - is-stream@4.0.1: {} is-string@1.0.7: @@ -21716,9 +21670,9 @@ snapshots: lz-string@1.5.0: {} - magic-string@0.30.10: + magic-string@0.30.11: dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 make-dir@2.1.0: dependencies: @@ -22242,8 +22196,6 @@ snapshots: mimic-fn@2.1.0: {} - mimic-fn@4.0.0: {} - min-indent@1.0.1: {} minimal-request-promise@1.5.0: {} @@ -22451,7 +22403,7 @@ snapshots: '@sinonjs/fake-timers': 11.3.1 '@sinonjs/text-encoding': 0.7.2 just-extend: 6.2.0 - path-to-regexp: 6.2.2 + path-to-regexp: 6.3.0 no-case@3.0.4: dependencies: @@ -22634,10 +22586,6 @@ snapshots: dependencies: path-key: 3.1.1 - npm-run-path@5.2.0: - dependencies: - path-key: 4.0.0 - npm-run-path@6.0.0: dependencies: path-key: 4.0.0 @@ -22818,10 +22766,6 @@ snapshots: dependencies: mimic-fn: 2.1.0 - onetime@6.0.0: - dependencies: - mimic-fn: 4.0.0 - open@6.4.0: dependencies: is-wsl: 1.1.0 @@ -23122,7 +23066,7 @@ snapshots: path-to-regexp@2.2.1: {} - path-to-regexp@6.2.2: {} + path-to-regexp@6.3.0: {} path-to-regexp@8.1.0: {} @@ -24706,8 +24650,6 @@ snapshots: strip-final-newline@2.0.0: {} - strip-final-newline@3.0.0: {} - strip-final-newline@4.0.0: {} strip-indent@3.0.0: @@ -25071,7 +25013,9 @@ snapshots: tiny-warning@1.0.3: {} - tinybench@2.8.0: {} + tinybench@2.9.0: {} + + tinyexec@0.3.0: {} tinypool@1.0.0: {} @@ -25450,12 +25394,11 @@ snapshots: '@types/unist': 3.0.2 vfile-message: 4.0.2 - vite-node@2.0.5(@types/node@20.16.5)(terser@5.29.2): + vite-node@2.1.1(@types/node@20.16.5)(terser@5.29.2): dependencies: cac: 6.7.14 debug: 4.3.6(supports-color@8.1.1) pathe: 1.1.2 - tinyrainbow: 1.2.0 vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) transitivePeerDependencies: - '@types/node' @@ -25501,26 +25444,26 @@ snapshots: fsevents: 2.3.3 terser: 5.29.2 - vitest@2.0.5(@types/node@20.16.5)(happy-dom@12.10.3)(jsdom@24.0.0)(terser@5.29.2): + vitest@2.1.1(@types/node@20.16.5)(happy-dom@12.10.3)(jsdom@24.0.0)(terser@5.29.2): dependencies: - '@ampproject/remapping': 2.3.0 - '@vitest/expect': 2.0.5 - '@vitest/pretty-format': 2.0.5 - '@vitest/runner': 2.0.5 - '@vitest/snapshot': 2.0.5 - '@vitest/spy': 2.0.5 - '@vitest/utils': 2.0.5 + '@vitest/expect': 2.1.1 + '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) + '@vitest/pretty-format': 2.1.1 + '@vitest/runner': 2.1.1 + '@vitest/snapshot': 2.1.1 + '@vitest/spy': 2.1.1 + '@vitest/utils': 2.1.1 chai: 5.1.1 debug: 4.3.6(supports-color@8.1.1) - execa: 8.0.1 - magic-string: 0.30.10 + magic-string: 0.30.11 pathe: 1.1.2 std-env: 3.7.0 - tinybench: 2.8.0 + tinybench: 2.9.0 + tinyexec: 0.3.0 tinypool: 1.0.0 tinyrainbow: 1.2.0 vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) - vite-node: 2.0.5(@types/node@20.16.5)(terser@5.29.2) + vite-node: 2.1.1(@types/node@20.16.5)(terser@5.29.2) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.16.5 @@ -25529,6 +25472,7 @@ snapshots: transitivePeerDependencies: - less - lightningcss + - msw - sass - sass-embedded - stylus From 362bf40fd01506f57491bf66ebece9fa2c5fb16c Mon Sep 17 00:00:00 2001 From: sai chand <60743144+sai6855@users.noreply.github.com> Date: Sun, 29 Sep 2024 17:04:50 +0530 Subject: [PATCH 35/52] [test] Point Istanbul to correct URL (#43935) --- test/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/README.md b/test/README.md index d69686d7776e29..6208840c6af351 100644 --- a/test/README.md +++ b/test/README.md @@ -142,7 +142,7 @@ Here is an [example](https://github.com/mui/material-ui/blob/814fb60bbd8e500517b `pnpm test:coverage:html` -When running this command you should get under `coverage/index.html` a full coverage report in HTML format. This is created using [Istanbul](https://istanbul-js.org)'s HTML reporter and gives good data such as line, branch and function coverage. +When running this command you should get under `coverage/index.html` a full coverage report in HTML format. This is created using [Istanbul](https://istanbul.js.org)'s HTML reporter and gives good data such as line, branch and function coverage. ### DOM API level From a80eb394b7cf2dae94caebe05dd514906a1ea426 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sun, 29 Sep 2024 13:43:18 +0200 Subject: [PATCH 36/52] [core] Uniformity in version range --- examples/material-ui-remix-ts/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/material-ui-remix-ts/package.json b/examples/material-ui-remix-ts/package.json index 53bb95073a3688..30969863334c8d 100644 --- a/examples/material-ui-remix-ts/package.json +++ b/examples/material-ui-remix-ts/package.json @@ -29,7 +29,7 @@ "typescript": "latest" }, "engines": { - "node": ">=14" + "node": ">=14.0.0" }, "sideEffects": false } From 590f4ffec961f57c3249dc886787e46fe49b0fb1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:44:29 +0530 Subject: [PATCH 37/52] Bump @docsearch/react to ^3.6.2 (#43913) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- docs/package.json | 2 +- pnpm-lock.yaml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/package.json b/docs/package.json index 2d882beb72bc1b..1cae7095bd9750 100644 --- a/docs/package.json +++ b/docs/package.json @@ -22,7 +22,7 @@ "@babel/core": "^7.25.2", "@babel/runtime": "^7.25.6", "@babel/runtime-corejs2": "^7.25.6", - "@docsearch/react": "^3.6.1", + "@docsearch/react": "^3.6.2", "@emotion/cache": "^11.13.1", "@emotion/react": "^11.13.3", "@emotion/server": "^11.11.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dc2c4488ef2fd3..d336bed5922d9c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -561,8 +561,8 @@ importers: specifier: ^7.25.6 version: 7.25.6 '@docsearch/react': - specifier: ^3.6.1 - version: 3.6.1(@algolia/client-search@4.23.0)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(search-insights@2.13.0) + specifier: ^3.6.2 + version: 3.6.2(@algolia/client-search@4.23.0)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(search-insights@2.13.0) '@emotion/cache': specifier: ^11.13.1 version: 11.13.1 @@ -3351,11 +3351,11 @@ packages: resolution: {integrity: sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==} engines: {node: '>=10.0.0'} - '@docsearch/css@3.6.1': - resolution: {integrity: sha512-VtVb5DS+0hRIprU2CO6ZQjK2Zg4QU5HrDM1+ix6rT0umsYvFvatMAnf97NHZlVWDaaLlx7GRfR/7FikANiM2Fg==} + '@docsearch/css@3.6.2': + resolution: {integrity: sha512-vKNZepO2j7MrYBTZIGXvlUOIR+v9KRf70FApRgovWrj3GTs1EITz/Xb0AOlm1xsQBp16clVZj1SY/qaOJbQtZw==} - '@docsearch/react@3.6.1': - resolution: {integrity: sha512-qXZkEPvybVhSXj0K7U3bXc233tk5e8PfhoZ6MhPOiik/qUQxYC+Dn9DnoS7CxHQQhHfCvTiN0eY9M12oRghEXw==} + '@docsearch/react@3.6.2': + resolution: {integrity: sha512-rtZce46OOkVflCQH71IdbXSFK+S8iJZlUF56XBW5rIgx/eG5qoomC7Ag3anZson1bBac/JFQn7XOBfved/IMRA==} peerDependencies: '@types/react': ^18.3.4 react: '>= 16.8.0 < 19.0.0' @@ -14189,13 +14189,13 @@ snapshots: '@discoveryjs/json-ext@0.5.7': {} - '@docsearch/css@3.6.1': {} + '@docsearch/css@3.6.2': {} - '@docsearch/react@3.6.1(@algolia/client-search@4.23.0)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(search-insights@2.13.0)': + '@docsearch/react@3.6.2(@algolia/client-search@4.23.0)(@types/react@18.3.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(search-insights@2.13.0)': dependencies: '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@4.23.0)(algoliasearch@4.19.1)(search-insights@2.13.0) '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@4.23.0)(algoliasearch@4.19.1) - '@docsearch/css': 3.6.1 + '@docsearch/css': 3.6.2 algoliasearch: 4.19.1 optionalDependencies: '@types/react': 18.3.4 From 65efa9f9c96f4399236188273c3acb083ade95cd Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:04:57 +0200 Subject: [PATCH 38/52] [code-infra] Optimize regression tests (#43889) --- test/regressions/TestViewer.js | 5 +- test/regressions/index.js | 129 ++++++++++++++++++++------------- test/regressions/index.test.js | 37 +++++----- 3 files changed, 99 insertions(+), 72 deletions(-) diff --git a/test/regressions/TestViewer.js b/test/regressions/TestViewer.js index e12734f9d8fa05..f261809e3c69b0 100644 --- a/test/regressions/TestViewer.js +++ b/test/regressions/TestViewer.js @@ -7,7 +7,7 @@ import JoyBox from '@mui/joy/Box'; import { CssVarsProvider } from '@mui/joy/styles'; function TestViewer(props) { - const { children } = props; + const { children, path } = props; // We're simulating `act(() => ReactDOM.render(children))` // In the end children passive effects should've been flushed. @@ -82,6 +82,7 @@ function TestViewer(props) { {children} @@ -91,6 +92,7 @@ function TestViewer(props) { {children} @@ -103,6 +105,7 @@ function TestViewer(props) { TestViewer.propTypes = { children: PropTypes.node.isRequired, + path: PropTypes.string.isRequired, }; export default TestViewer; diff --git a/test/regressions/index.js b/test/regressions/index.js index 658f14f967ad94..8d377681dfb032 100644 --- a/test/regressions/index.js +++ b/test/regressions/index.js @@ -1,7 +1,7 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import * as ReactDOMClient from 'react-dom/client'; -import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom'; +import { BrowserRouter as Router, Routes, Route, Link, useNavigate } from 'react-router-dom'; import webfontloader from 'webfontloader'; import { Globals } from '@react-spring/web'; import TestViewer from './TestViewer'; @@ -11,6 +11,12 @@ Globals.assign({ skipAnimation: true, }); +window.muiFixture = { + navigate: () => { + throw new Error(`muiFixture.navigate is not ready`); + }, +}; + // Get all the fixtures specifically written for preventing visual regressions. const importRegressionFixtures = require.context('./fixtures', true, /\.(js|ts|tsx)$/, 'lazy'); const regressionFixtures = []; @@ -295,13 +301,13 @@ if (unusedBlacklistPatterns.size > 0) { const viewerRoot = document.getElementById('test-viewer'); -function FixtureRenderer({ component: FixtureComponent }) { +function FixtureRenderer({ component: FixtureComponent, path }) { const viewerReactRoot = React.useRef(null); React.useLayoutEffect(() => { const renderTimeout = setTimeout(() => { const children = ( - + ); @@ -320,38 +326,43 @@ function FixtureRenderer({ component: FixtureComponent }) { viewerReactRoot.current = null; }); }; - }, [FixtureComponent]); + }, [FixtureComponent, path]); return null; } FixtureRenderer.propTypes = { component: PropTypes.elementType, + path: PropTypes.string.isRequired, }; -function App(props) { - const { fixtures } = props; - - function computeIsDev() { - if (window.location.hash === '#dev') { - return true; - } - if (window.location.hash === '#no-dev') { - return false; - } - return process.env.NODE_ENV === 'development'; - } - const [isDev, setDev] = React.useState(computeIsDev); - React.useEffect(() => { - function handleHashChange() { - setDev(computeIsDev()); - } - window.addEventListener('hashchange', handleHashChange); - +function useHash() { + const subscribe = React.useCallback((callback) => { + window.addEventListener('hashchange', callback); return () => { - window.removeEventListener('hashchange', handleHashChange); + window.removeEventListener('hashchange', callback); }; }, []); + const getSnapshot = React.useCallback(() => window.location.hash, []); + const getServerSnapshot = React.useCallback(() => '', []); + return React.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); +} + +function computeIsDev(hash) { + if (hash === '#dev') { + return true; + } + if (hash === '#no-dev') { + return false; + } + return process.env.NODE_ENV === 'development'; +} + +function App(props) { + const { fixtures } = props; + + const hash = useHash(); + const isDev = computeIsDev(hash); // Using does not apply the google Roboto font in chromium headless/headfull. const [fontState, setFontState] = React.useState('pending'); @@ -380,8 +391,13 @@ function App(props) { return `/${fixture.suite}/${fixture.name}`; } + const navigate = useNavigate(); + React.useEffect(() => { + window.muiFixture.navigate = navigate; + }, [navigate]); + return ( - + {fixtures.map((fixture) => { const path = computePath(fixture); @@ -396,36 +412,43 @@ function App(props) { key={path} exact path={path} - element={fixturePrepared ? : null} + element={ + fixturePrepared ? ( + + ) : null + } /> ); })} - - + {isDev ? ( +
+
webfontloader: {fontState}
+

+ Devtools can be enabled by appending #dev in the addressbar or disabled by + appending #no-dev. +

+ Hide devtools +
+ nav for all tests + + +
+
+ ) : null} +
); } @@ -434,6 +457,10 @@ App.propTypes = { }; const container = document.getElementById('react-root'); -const children = ; +const children = ( + + {' '} + +); const reactRoot = ReactDOMClient.createRoot(container); reactRoot.render(children); diff --git a/test/regressions/index.test.js b/test/regressions/index.test.js index a0f4b5ad30c89d..a612b7daca3929 100644 --- a/test/regressions/index.test.js +++ b/test/regressions/index.test.js @@ -31,7 +31,7 @@ async function main() { // Wait for all requests to finish. // This should load shared resources such as fonts. - await page.goto(`${baseUrl}#no-dev`, { waitUntil: 'networkidle0' }); + await page.goto(`${baseUrl}#dev`, { waitUntil: 'networkidle0' }); // If we still get flaky fonts after awaiting this try `document.fonts.ready` await page.waitForSelector('[data-webfontloader="active"]', { state: 'attached' }); @@ -50,18 +50,21 @@ async function main() { }); routes = routes.map((route) => route.replace(baseUrl, '')); - async function renderFixture(index) { + /** + * @param {string} route + */ + async function renderFixture(route) { // Use client-side routing which is much faster than full page navigation via page.goto(). - // Could become an issue with test isolation. - // If tests are flaky due to global pollution switch to page.goto(route); - // puppeteers built-in click() times out - await page.$eval(`#tests li:nth-of-type(${index + 1}) a`, (link) => { - link.click(); - }); + await page.evaluate((_route) => { + window.muiFixture.navigate(`${_route}#no-dev`); + }, route); + // Move cursor offscreen to not trigger unwanted hover effects. - page.mouse.move(0, 0); + await page.mouse.move(0, 0); - const testcase = await page.waitForSelector('[data-testid="testcase"]:not([aria-busy="true"])'); + const testcase = await page.waitForSelector( + `[data-testid="testcase"][data-testpath="${route}"]:not([aria-busy="true"])`, + ); return testcase; } @@ -94,24 +97,21 @@ async function main() { await browser.close(); }); - routes.forEach((route, index) => { + routes.forEach((route) => { it(`creates screenshots of ${route}`, async function test() { // With the playwright inspector we might want to call `page.pause` which would lead to a timeout. if (process.env.PWDEBUG) { this.timeout(0); } - const testcase = await renderFixture(index); + const testcase = await renderFixture(route); await takeScreenshot({ testcase, route }); }); }); describe('Rating', () => { it('should handle focus-visible correctly', async () => { - const index = routes.findIndex( - (route) => route === '/regression-Rating/FocusVisibleRating', - ); - const testcase = await renderFixture(index); + const testcase = await renderFixture('/regression-Rating/FocusVisibleRating'); await page.keyboard.press('Tab'); await takeScreenshot({ testcase, route: '/regression-Rating/FocusVisibleRating2' }); await page.keyboard.press('ArrowLeft'); @@ -119,10 +119,7 @@ async function main() { }); it('should handle focus-visible with precise ratings correctly', async () => { - const index = routes.findIndex( - (route) => route === '/regression-Rating/PreciseFocusVisibleRating', - ); - const testcase = await renderFixture(index); + const testcase = await renderFixture('/regression-Rating/PreciseFocusVisibleRating'); await page.keyboard.press('Tab'); await takeScreenshot({ testcase, route: '/regression-Rating/PreciseFocusVisibleRating2' }); await page.keyboard.press('ArrowRight'); From cf39e9fe0b32942ea9410cb63726be6d3c314b29 Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:15:27 +0200 Subject: [PATCH 39/52] [code-infra] Update transitive dependencies with vulnerabilties (#43895) --- package.json | 3 +- pnpm-lock.yaml | 477 +++++++++++++++++++++++-------------------------- 2 files changed, 220 insertions(+), 260 deletions(-) diff --git a/package.json b/package.json index 61e85aa78e907a..c5d840a72a0329 100644 --- a/package.json +++ b/package.json @@ -177,7 +177,7 @@ "karma-webpack": "^5.0.0", "lerna": "^8.1.8", "lodash": "^4.17.21", - "markdownlint-cli2": "^0.13.0", + "markdownlint-cli2": "^0.14.0", "mocha": "^10.7.3", "nx": "^19.7.3", "nyc": "^17.0.0", @@ -190,7 +190,6 @@ "serve": "^14.2.3", "stylelint": "^15.11.0", "stylelint-config-standard": "^34.0.0", - "stylelint-processor-styled-components": "^1.10.0", "terser-webpack-plugin": "^5.3.10", "tsx": "^4.19.1", "typescript": "^5.5.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d336bed5922d9c..1312688a7d3929 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -262,8 +262,8 @@ importers: specifier: ^4.17.21 version: 4.17.21 markdownlint-cli2: - specifier: ^0.13.0 - version: 0.13.0 + specifier: ^0.14.0 + version: 0.14.0 mocha: specifier: ^10.7.3 version: 10.7.3 @@ -300,9 +300,6 @@ importers: stylelint-config-standard: specifier: ^34.0.0 version: 34.0.0(stylelint@15.11.0) - stylelint-processor-styled-components: - specifier: ^1.10.0 - version: 1.10.0 terser-webpack-plugin: specifier: ^5.3.10 version: 5.3.10(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) @@ -460,7 +457,7 @@ importers: version: 5.4.7(@types/node@20.16.5)(terser@5.29.2) vite-plugin-node-polyfills: specifier: 0.22.0 - version: 0.22.0(rollup@4.21.1)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) + version: 0.22.0(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) vite-plugin-pages: specifier: ^0.32.3 version: 0.32.3(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) @@ -502,7 +499,7 @@ importers: version: link:../docs express: specifier: ^4.19.2 - version: 4.19.2 + version: 4.21.0 fs-extra: specifier: ^11.2.0 version: 11.2.0 @@ -5022,83 +5019,83 @@ packages: rollup: optional: true - '@rollup/rollup-android-arm-eabi@4.21.1': - resolution: {integrity: sha512-2thheikVEuU7ZxFXubPDOtspKn1x0yqaYQwvALVtEcvFhMifPADBrgRPyHV0TF3b+9BgvgjgagVyvA/UqPZHmg==} + '@rollup/rollup-android-arm-eabi@4.22.4': + resolution: {integrity: sha512-Fxamp4aEZnfPOcGA8KSNEohV8hX7zVHOemC8jVBoBUHu5zpJK/Eu3uJwt6BMgy9fkvzxDaurgj96F/NiLukF2w==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.21.1': - resolution: {integrity: sha512-t1lLYn4V9WgnIFHXy1d2Di/7gyzBWS8G5pQSXdZqfrdCGTwi1VasRMSS81DTYb+avDs/Zz4A6dzERki5oRYz1g==} + '@rollup/rollup-android-arm64@4.22.4': + resolution: {integrity: sha512-VXoK5UMrgECLYaMuGuVTOx5kcuap1Jm8g/M83RnCHBKOqvPPmROFJGQaZhGccnsFtfXQ3XYa4/jMCJvZnbJBdA==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.21.1': - resolution: {integrity: sha512-AH/wNWSEEHvs6t4iJ3RANxW5ZCK3fUnmf0gyMxWCesY1AlUj8jY7GC+rQE4wd3gwmZ9XDOpL0kcFnCjtN7FXlA==} + '@rollup/rollup-darwin-arm64@4.22.4': + resolution: {integrity: sha512-xMM9ORBqu81jyMKCDP+SZDhnX2QEVQzTcC6G18KlTQEzWK8r/oNZtKuZaCcHhnsa6fEeOBionoyl5JsAbE/36Q==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.21.1': - resolution: {integrity: sha512-dO0BIz/+5ZdkLZrVgQrDdW7m2RkrLwYTh2YMFG9IpBtlC1x1NPNSXkfczhZieOlOLEqgXOFH3wYHB7PmBtf+Bg==} + '@rollup/rollup-darwin-x64@4.22.4': + resolution: {integrity: sha512-aJJyYKQwbHuhTUrjWjxEvGnNNBCnmpHDvrb8JFDbeSH3m2XdHcxDd3jthAzvmoI8w/kSjd2y0udT+4okADsZIw==} cpu: [x64] os: [darwin] - '@rollup/rollup-linux-arm-gnueabihf@4.21.1': - resolution: {integrity: sha512-sWWgdQ1fq+XKrlda8PsMCfut8caFwZBmhYeoehJ05FdI0YZXk6ZyUjWLrIgbR/VgiGycrFKMMgp7eJ69HOF2pQ==} + '@rollup/rollup-linux-arm-gnueabihf@4.22.4': + resolution: {integrity: sha512-j63YtCIRAzbO+gC2L9dWXRh5BFetsv0j0va0Wi9epXDgU/XUi5dJKo4USTttVyK7fGw2nPWK0PbAvyliz50SCQ==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.21.1': - resolution: {integrity: sha512-9OIiSuj5EsYQlmwhmFRA0LRO0dRRjdCVZA3hnmZe1rEwRk11Jy3ECGGq3a7RrVEZ0/pCsYWx8jG3IvcrJ6RCew==} + '@rollup/rollup-linux-arm-musleabihf@4.22.4': + resolution: {integrity: sha512-dJnWUgwWBX1YBRsuKKMOlXCzh2Wu1mlHzv20TpqEsfdZLb3WoJW2kIEsGwLkroYf24IrPAvOT/ZQ2OYMV6vlrg==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.21.1': - resolution: {integrity: sha512-0kuAkRK4MeIUbzQYu63NrJmfoUVicajoRAL1bpwdYIYRcs57iyIV9NLcuyDyDXE2GiZCL4uhKSYAnyWpjZkWow==} + '@rollup/rollup-linux-arm64-gnu@4.22.4': + resolution: {integrity: sha512-AdPRoNi3NKVLolCN/Sp4F4N1d98c4SBnHMKoLuiG6RXgoZ4sllseuGioszumnPGmPM2O7qaAX/IJdeDU8f26Aw==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.21.1': - resolution: {integrity: sha512-/6dYC9fZtfEY0vozpc5bx1RP4VrtEOhNQGb0HwvYNwXD1BBbwQ5cKIbUVVU7G2d5WRE90NfB922elN8ASXAJEA==} + '@rollup/rollup-linux-arm64-musl@4.22.4': + resolution: {integrity: sha512-Gl0AxBtDg8uoAn5CCqQDMqAx22Wx22pjDOjBdmG0VIWX3qUBHzYmOKh8KXHL4UpogfJ14G4wk16EQogF+v8hmA==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.21.1': - resolution: {integrity: sha512-ltUWy+sHeAh3YZ91NUsV4Xg3uBXAlscQe8ZOXRCVAKLsivGuJsrkawYPUEyCV3DYa9urgJugMLn8Z3Z/6CeyRQ==} + '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': + resolution: {integrity: sha512-3aVCK9xfWW1oGQpTsYJJPF6bfpWfhbRnhdlyhak2ZiyFLDaayz0EP5j9V1RVLAAxlmWKTDfS9wyRyY3hvhPoOg==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.21.1': - resolution: {integrity: sha512-BggMndzI7Tlv4/abrgLwa/dxNEMn2gC61DCLrTzw8LkpSKel4o+O+gtjbnkevZ18SKkeN3ihRGPuBxjaetWzWg==} + '@rollup/rollup-linux-riscv64-gnu@4.22.4': + resolution: {integrity: sha512-ePYIir6VYnhgv2C5Xe9u+ico4t8sZWXschR6fMgoPUK31yQu7hTEJb7bCqivHECwIClJfKgE7zYsh1qTP3WHUA==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.21.1': - resolution: {integrity: sha512-z/9rtlGd/OMv+gb1mNSjElasMf9yXusAxnRDrBaYB+eS1shFm6/4/xDH1SAISO5729fFKUkJ88TkGPRUh8WSAA==} + '@rollup/rollup-linux-s390x-gnu@4.22.4': + resolution: {integrity: sha512-GqFJ9wLlbB9daxhVlrTe61vJtEY99/xB3C8e4ULVsVfflcpmR6c8UZXjtkMA6FhNONhj2eA5Tk9uAVw5orEs4Q==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.21.1': - resolution: {integrity: sha512-kXQVcWqDcDKw0S2E0TmhlTLlUgAmMVqPrJZR+KpH/1ZaZhLSl23GZpQVmawBQGVhyP5WXIsIQ/zqbDBBYmxm5w==} + '@rollup/rollup-linux-x64-gnu@4.22.4': + resolution: {integrity: sha512-87v0ol2sH9GE3cLQLNEy0K/R0pz1nvg76o8M5nhMR0+Q+BBGLnb35P0fVz4CQxHYXaAOhE8HhlkaZfsdUOlHwg==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.21.1': - resolution: {integrity: sha512-CbFv/WMQsSdl+bpX6rVbzR4kAjSSBuDgCqb1l4J68UYsQNalz5wOqLGYj4ZI0thGpyX5kc+LLZ9CL+kpqDovZA==} + '@rollup/rollup-linux-x64-musl@4.22.4': + resolution: {integrity: sha512-UV6FZMUgePDZrFjrNGIWzDo/vABebuXBhJEqrHxrGiU6HikPy0Z3LfdtciIttEUQfuDdCn8fqh7wiFJjCNwO+g==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.21.1': - resolution: {integrity: sha512-3Q3brDgA86gHXWHklrwdREKIrIbxC0ZgU8lwpj0eEKGBQH+31uPqr0P2v11pn0tSIxHvcdOWxa4j+YvLNx1i6g==} + '@rollup/rollup-win32-arm64-msvc@4.22.4': + resolution: {integrity: sha512-BjI+NVVEGAXjGWYHz/vv0pBqfGoUH0IGZ0cICTn7kB9PyjrATSkX+8WkguNjWoj2qSr1im/+tTGRaY+4/PdcQw==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.21.1': - resolution: {integrity: sha512-tNg+jJcKR3Uwe4L0/wY3Ro0H+u3nrb04+tcq1GSYzBEmKLeOQF2emk1whxlzNqb6MMrQ2JOcQEpuuiPLyRcSIw==} + '@rollup/rollup-win32-ia32-msvc@4.22.4': + resolution: {integrity: sha512-SiWG/1TuUdPvYmzmYnmd3IEifzR61Tragkbx9D3+R8mzQqDBz8v+BvZNDlkiTtI9T15KYZhP0ehn3Dld4n9J5g==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.21.1': - resolution: {integrity: sha512-xGiIH95H1zU7naUyTKEyOA/I0aexNMUdO9qRv0bLKN3qu25bBdrxZHqA3PTJ24YNN/GdMzG4xkDcd/GvjuhfLg==} + '@rollup/rollup-win32-x64-msvc@4.22.4': + resolution: {integrity: sha512-j8pPKp53/lq9lMXN57S8cFz0MynJk8OWNuUnXct/9KCpKU7DgU3bYMJhwWmcqC0UU29p8Lr0/7KEVcaM6bf47Q==} cpu: [x64] os: [win32] @@ -5164,14 +5161,14 @@ packages: '@sinonjs/fake-timers@11.2.2': resolution: {integrity: sha512-G2piCSxQ7oWOxwGSAyFHfPIsyeJGXYtc6mFbnFA+kRXkiEnTl8c/8jul2S329iFBnDI9HGoeWWAZvuvOkZccgw==} - '@sinonjs/fake-timers@11.3.1': - resolution: {integrity: sha512-EVJO7nW5M/F5Tur0Rf2z/QoMo+1Ia963RiMtapiQrEWvY0iBUvADo8Beegwjpnle5BHkyHuoxSTW3jF43H1XRA==} + '@sinonjs/fake-timers@13.0.2': + resolution: {integrity: sha512-4Bb+oqXZTSTZ1q27Izly9lv8B9dlV61CROxPiVtywwzv5SnytJqhvYe6FclHYuXml4cd1VHPo1zd5PmTeJozvA==} '@sinonjs/samsam@8.0.0': resolution: {integrity: sha512-Bp8KUVlLp8ibJZrnvq2foVhP0IVX2CIprMJPK0vqGqgrDa0OHVKeZyBykqskkrdxV6yKBPmGasO8LVjAKR3Gew==} - '@sinonjs/text-encoding@0.7.2': - resolution: {integrity: sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ==} + '@sinonjs/text-encoding@0.7.3': + resolution: {integrity: sha512-DE427ROAphMQzU4ENbliGYrBSYPXF+TtLg9S8vzeA+OF4ZKzoDdzfL8sxuMUGS/lgRhM6j1URSk9ghf7Xo1tyA==} '@slack/bolt@3.21.4': resolution: {integrity: sha512-4PqOuHXcVt8KxjKiLdLIqZp8285zdiYLj7HrrKvVHnUNbkD0l16HZxtMfIEe07REQ+vmM1mrqCiZqe9dPAMucA==} @@ -6267,8 +6264,8 @@ packages: bn.js@5.2.1: resolution: {integrity: sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==} - body-parser@1.20.2: - resolution: {integrity: sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==} + body-parser@1.20.3: + resolution: {integrity: sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} boolbase@1.0.0: @@ -7348,8 +7345,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - ejs@3.1.8: - resolution: {integrity: sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==} + ejs@3.1.10: + resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==} engines: {node: '>=0.10.0'} hasBin: true @@ -7372,6 +7369,10 @@ packages: resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} engines: {node: '>= 0.8'} + encodeurl@2.0.0: + resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} + engines: {node: '>= 0.8'} + encoding@0.1.13: resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==} @@ -7382,8 +7383,8 @@ packages: resolution: {integrity: sha512-RcyUFKA93/CXH20l4SoVvzZfrSDMOTUS3bWVpTt2FuFP+XYrL8i8oonHP7WInRyVHXh0n/ORtoeiE1os+8qkSw==} engines: {node: '>=10.0.0'} - engine.io@6.5.4: - resolution: {integrity: sha512-KdVSDKhVKyOi+r5uEabrDLZw2qXStVvCsEB/LN3mw4WFi6Gx50jTyuxYVCwAAC0U46FdnzP/ScKRBTXb/NiEOg==} + engine.io@6.6.1: + resolution: {integrity: sha512-NEpDCw9hrvBW+hVEOK4T7v0jFJ++KgtPl4jKFwsZVfG1XhS0dCrSb3VMb9gPAd7VAdW52VT1EnaNiU2vM8C0og==} engines: {node: '>=10.2.0'} enhanced-resolve@0.9.1: @@ -7761,8 +7762,8 @@ packages: exponential-backoff@3.1.1: resolution: {integrity: sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==} - express@4.19.2: - resolution: {integrity: sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==} + express@4.21.0: + resolution: {integrity: sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==} engines: {node: '>= 0.10.0'} extend-shallow@2.0.1: @@ -7803,8 +7804,8 @@ packages: fast-url-parser@1.1.3: resolution: {integrity: sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ==} - fast-xml-parser@4.3.6: - resolution: {integrity: sha512-M2SovcRxD4+vC493Uc2GZVcZaj66CCJhWurC4viynVSTvrpErCShNcDz1lAho6n9REQKvL/ll4A4/fw6Y9z8nw==} + fast-xml-parser@4.5.0: + resolution: {integrity: sha512-/PlTQCI96+fZMAOLMZK4CWG1ItCbfZ/0jx7UIJFChPNrx7tcEgerUgWbeieCM9MfHInUDyK8DWYZ+YrywDJuTg==} hasBin: true fastest-levenshtein@1.0.16: @@ -7856,8 +7857,8 @@ packages: resolution: {integrity: sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==} engines: {node: '>= 0.8'} - finalhandler@1.2.0: - resolution: {integrity: sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==} + finalhandler@1.3.1: + resolution: {integrity: sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==} engines: {node: '>= 0.8'} find-babel-config@2.1.1: @@ -8193,10 +8194,6 @@ packages: resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - globby@14.0.1: - resolution: {integrity: sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ==} - engines: {node: '>=18'} - globby@14.0.2: resolution: {integrity: sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==} engines: {node: '>=18'} @@ -8534,8 +8531,8 @@ packages: invariant@2.2.4: resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==} - ip@2.0.0: - resolution: {integrity: sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==} + ip@2.0.1: + resolution: {integrity: sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==} ipaddr.js@1.9.1: resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} @@ -9029,8 +9026,8 @@ packages: jsonc-parser@3.2.0: resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} - jsonc-parser@3.2.1: - resolution: {integrity: sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==} + jsonc-parser@3.3.1: + resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==} jsonfile@4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} @@ -9468,22 +9465,22 @@ packages: peerDependencies: react: '>= 0.14.0' - markdownlint-cli2-formatter-default@0.0.4: - resolution: {integrity: sha512-xm2rM0E+sWgjpPn1EesPXx5hIyrN2ddUnUwnbCsD/ONxYtw3PX6LydvdH6dciWAoFDpwzbHM1TO7uHfcMd6IYg==} + markdownlint-cli2-formatter-default@0.0.5: + resolution: {integrity: sha512-4XKTwQ5m1+Txo2kuQ3Jgpo/KmnG+X90dWt4acufg6HVGadTUG5hzHF/wssp9b5MBYOMCnZ9RMPaU//uHsszF8Q==} peerDependencies: markdownlint-cli2: '>=0.0.4' - markdownlint-cli2@0.13.0: - resolution: {integrity: sha512-Pg4nF7HlopU97ZXtrcVISWp3bdsuc5M0zXyLp2/sJv2zEMlInrau0ZKK482fQURzVezJzWBpNmu4u6vGAhij+g==} + markdownlint-cli2@0.14.0: + resolution: {integrity: sha512-2cqdWy56frU2FTpbuGb83mEWWYuUIYv6xS8RVEoUAuKNw/hXPar2UYGpuzUhlFMngE8Omaz4RBH52MzfRbGshw==} engines: {node: '>=18'} hasBin: true - markdownlint-micromark@0.1.9: - resolution: {integrity: sha512-5hVs/DzAFa8XqYosbEAEg6ok6MF2smDj89ztn9pKkCtdKHVdPQuGMH7frFfYL9mLkvfFe4pTyAMffLbjf3/EyA==} + markdownlint-micromark@0.1.10: + resolution: {integrity: sha512-no5ZfdqAdWGxftCLlySHSgddEjyW4kui4z7amQcGsSKfYC5v/ou+8mIQVyg9KQMeEZLNtz9OPDTj7nnTnoR4FQ==} engines: {node: '>=18'} - markdownlint@0.34.0: - resolution: {integrity: sha512-qwGyuyKwjkEMOJ10XN6OTKNOVYvOIi35RNvDLNxTof5s8UmyGHlCdpngRHoRGNvQVGuxO3BJ7uNSgdeX166WXw==} + markdownlint@0.35.0: + resolution: {integrity: sha512-wgp8yesWjFBL7bycA3hxwHRdsZGJhjhyP1dSxKVKrza0EPFYtn+mHtkVy6dvP1kGSjovyG5B8yNP6Frj0UFUJg==} engines: {node: '>=18'} marked@13.0.3: @@ -9553,8 +9550,8 @@ packages: resolution: {integrity: sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==} engines: {node: '>=10'} - merge-descriptors@1.0.1: - resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==} + merge-descriptors@1.0.3: + resolution: {integrity: sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==} merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} @@ -9688,12 +9685,8 @@ packages: micromark@4.0.0: resolution: {integrity: sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ==} - micromatch@4.0.5: - resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} - engines: {node: '>=8.6'} - - micromatch@4.0.7: - resolution: {integrity: sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==} + micromatch@4.0.8: + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} engines: {node: '>=8.6'} miller-rabin@4.0.1: @@ -9918,8 +9911,8 @@ packages: resolution: {integrity: sha512-px/KnJAJZf5RuBGcfD+Sp2pAKq0ytz8j+1NehvgIGFkvtvFrDM3T8E4x/JJODXK9WZow8RRGrbA9QQ3hs+pDhA==} os: ['!win32'] - nise@6.0.0: - resolution: {integrity: sha512-K8ePqo9BFvN31HXwEtTNGzgrPpmvgciDsFz8aztFjt4LqKO/JeFD8tBOeuDiCMXrIl/m1YvfH8auSpxfaD09wg==} + nise@6.1.1: + resolution: {integrity: sha512-aMSAzLVY7LyeM60gvBS423nBmIPP+Wy7St7hsb+8/fc1HmeoHJfLO8CKse4u3BtOZvQLJghYPI2i/1WZrEj5/g==} no-case@3.0.4: resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} @@ -10453,8 +10446,8 @@ packages: resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==} engines: {node: 20 || >=22} - path-to-regexp@0.1.7: - resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} + path-to-regexp@0.1.10: + resolution: {integrity: sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==} path-to-regexp@2.2.1: resolution: {integrity: sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ==} @@ -10853,10 +10846,6 @@ packages: resolution: {integrity: sha512-8YOJEHtxpySA3fFDyCRxA+UUV+fA+rTWnuWvylOK/NCjhY+b4ocCtmu8TtsWb+mYeU+GCHf/S66KZF/AsteKHg==} engines: {node: '>=0.9'} - qs@6.11.0: - resolution: {integrity: sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==} - engines: {node: '>=0.6'} - qs@6.13.0: resolution: {integrity: sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==} engines: {node: '>=0.6'} @@ -11387,8 +11376,8 @@ packages: robust-predicates@3.0.2: resolution: {integrity: sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==} - rollup@4.21.1: - resolution: {integrity: sha512-ZnYyKvscThhgd3M5+Qt3pmhO4jIRR5RGzaSovB6Q7rGNrK5cUncrtLmcTTJVSdcKXyZjW8X8MB0JMSuH9bcAJg==} + rollup@4.22.4: + resolution: {integrity: sha512-vD8HJ5raRcWOyymsR6Z3o6+RzfEPCnVLMFJ6vRslO1jt4LO6dUo5Qnpg7y4RkZFM2DMe3WUirkI5c16onjrc6A==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -11477,8 +11466,8 @@ packages: engines: {node: '>=10'} hasBin: true - send@0.18.0: - resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==} + send@0.19.0: + resolution: {integrity: sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==} engines: {node: '>= 0.8.0'} sequential-promise-map@1.2.0: @@ -11494,8 +11483,8 @@ packages: serve-handler@6.1.5: resolution: {integrity: sha512-ijPFle6Hwe8zfmBxJdE+5fta53fdIY0lHISJvuikXB3VYFafRjMRpOffSPvCYsbKyBA7pvy9oYr/BT1O3EArlg==} - serve-static@1.15.0: - resolution: {integrity: sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==} + serve-static@1.16.2: + resolution: {integrity: sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==} engines: {node: '>= 0.8.0'} serve@14.2.3: @@ -11626,15 +11615,15 @@ packages: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} - socket.io-adapter@2.5.4: - resolution: {integrity: sha512-wDNHGXGewWAjQPt3pyeYBtpWSq9cLE5UW1ZUPL/2eGK9jtse/FpXib7epSTsz0Q0m+6sg6Y4KtcFTlah1bdOVg==} + socket.io-adapter@2.5.5: + resolution: {integrity: sha512-eLDQas5dzPgOWCk9GuuJC2lBqItuhKI4uxGgo9aIV7MYbk2h9Q6uULEh8WBzThoI7l+qU9Ast9fVUmkqPP9wYg==} socket.io-parser@4.2.4: resolution: {integrity: sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==} engines: {node: '>=10.0.0'} - socket.io@4.7.4: - resolution: {integrity: sha512-DcotgfP1Zg9iP/dH9zvAQcWrE0TtbMVwXmlV4T4mqsvY+gw+LqUGPfx2AoVyRk0FLME+GQhufDMyacFmw7ksqw==} + socket.io@4.8.0: + resolution: {integrity: sha512-8U6BEgGjQOfGz3HHTYaC/L1GaxDCJ/KM0XTkJly0EhZ5U/du9uNEZy4ZgYzEzIqlx2CMm25CrCqr1ck899eLNA==} engines: {node: '>=10.2.0'} socks-proxy-agent@8.0.2: @@ -11884,9 +11873,6 @@ packages: peerDependencies: stylelint: ^15.10.0 - stylelint-processor-styled-components@1.10.0: - resolution: {integrity: sha512-g4HpN9rm0JD0LoHuIOcd/FIjTZCJ0ErQ+dC3VTxp+dSvnkV+MklKCCmCQEdz5K5WxF4vPuzfVgdbSDuPYGZhoA==} - stylelint@15.11.0: resolution: {integrity: sha512-78O4c6IswZ9TzpcIiQJIN49K3qNoXTM8zEJzhaTE/xRTCZswaovSEVIa/uwbOltZrk16X4jAxjaOhzz/hTm1Kw==} engines: {node: ^14.13.1 || >=16.0.0} @@ -12781,8 +12767,8 @@ packages: resolution: {integrity: sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA==} engines: {node: '>=8'} - ws@6.2.2: - resolution: {integrity: sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==} + ws@6.2.3: + resolution: {integrity: sha512-jmTjYU0j60B+vHey6TfR3Z7RD61z/hmxBS3VMSGIrroOWXQEneK1zNuotOUrGyBHQj0yrpsLHPWtigEFd13ndA==} peerDependencies: bufferutil: ^4.0.1 utf-8-validate: ^5.0.2 @@ -12792,8 +12778,8 @@ packages: utf-8-validate: optional: true - ws@7.5.9: - resolution: {integrity: sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==} + ws@7.5.10: + resolution: {integrity: sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==} engines: {node: '>=8.3.0'} peerDependencies: bufferutil: ^4.0.1 @@ -12804,20 +12790,20 @@ packages: utf-8-validate: optional: true - ws@8.11.0: - resolution: {integrity: sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==} + ws@8.17.1: + resolution: {integrity: sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 + utf-8-validate: '>=5.0.2' peerDependenciesMeta: bufferutil: optional: true utf-8-validate: optional: true - ws@8.16.0: - resolution: {integrity: sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==} + ws@8.18.0: + resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 @@ -15478,7 +15464,7 @@ snapshots: '@nx/devkit@17.2.8(nx@19.7.3)': dependencies: '@nrwl/devkit': 17.2.8(nx@19.7.3) - ejs: 3.1.8 + ejs: 3.1.10 enquirer: 2.3.6 ignore: 5.3.1 nx: 19.7.3 @@ -15844,7 +15830,7 @@ snapshots: '@react-native-community/cli-debugger-ui@12.3.6': dependencies: - serve-static: 1.15.0 + serve-static: 1.16.2 transitivePeerDependencies: - supports-color @@ -15883,7 +15869,7 @@ snapshots: '@react-native-community/cli-tools': 12.3.6(encoding@0.1.13) chalk: 4.1.2 execa: 5.1.1 - fast-xml-parser: 4.3.6 + fast-xml-parser: 4.5.0 glob: 7.2.3 logkitty: 0.7.1 transitivePeerDependencies: @@ -15894,7 +15880,7 @@ snapshots: '@react-native-community/cli-tools': 12.3.6(encoding@0.1.13) chalk: 4.1.2 execa: 5.1.1 - fast-xml-parser: 4.3.6 + fast-xml-parser: 4.5.0 glob: 7.2.3 ora: 5.4.1 transitivePeerDependencies: @@ -15911,8 +15897,8 @@ snapshots: errorhandler: 1.5.1 nocache: 3.0.4 pretty-format: 26.6.2 - serve-static: 1.15.0 - ws: 7.5.9 + serve-static: 1.16.2 + ws: 7.5.10 transitivePeerDependencies: - bufferutil - encoding @@ -16067,9 +16053,9 @@ snapshots: debug: 2.6.9 node-fetch: 2.7.0(encoding@0.1.13) open: 7.4.2 - serve-static: 1.15.0 + serve-static: 1.16.2 temp-dir: 2.0.0 - ws: 6.2.2 + ws: 6.2.3 transitivePeerDependencies: - bufferutil - encoding @@ -16191,68 +16177,68 @@ snapshots: '@remix-run/router@1.19.2': {} - '@rollup/plugin-inject@5.0.5(rollup@4.21.1)': + '@rollup/plugin-inject@5.0.5(rollup@4.22.4)': dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.21.1) + '@rollup/pluginutils': 5.1.0(rollup@4.22.4) estree-walker: 2.0.2 magic-string: 0.30.11 optionalDependencies: - rollup: 4.21.1 + rollup: 4.22.4 - '@rollup/pluginutils@5.1.0(rollup@4.21.1)': + '@rollup/pluginutils@5.1.0(rollup@4.22.4)': dependencies: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: - rollup: 4.21.1 + rollup: 4.22.4 - '@rollup/rollup-android-arm-eabi@4.21.1': + '@rollup/rollup-android-arm-eabi@4.22.4': optional: true - '@rollup/rollup-android-arm64@4.21.1': + '@rollup/rollup-android-arm64@4.22.4': optional: true - '@rollup/rollup-darwin-arm64@4.21.1': + '@rollup/rollup-darwin-arm64@4.22.4': optional: true - '@rollup/rollup-darwin-x64@4.21.1': + '@rollup/rollup-darwin-x64@4.22.4': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.21.1': + '@rollup/rollup-linux-arm-gnueabihf@4.22.4': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.21.1': + '@rollup/rollup-linux-arm-musleabihf@4.22.4': optional: true - '@rollup/rollup-linux-arm64-gnu@4.21.1': + '@rollup/rollup-linux-arm64-gnu@4.22.4': optional: true - '@rollup/rollup-linux-arm64-musl@4.21.1': + '@rollup/rollup-linux-arm64-musl@4.22.4': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.21.1': + '@rollup/rollup-linux-powerpc64le-gnu@4.22.4': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.21.1': + '@rollup/rollup-linux-riscv64-gnu@4.22.4': optional: true - '@rollup/rollup-linux-s390x-gnu@4.21.1': + '@rollup/rollup-linux-s390x-gnu@4.22.4': optional: true - '@rollup/rollup-linux-x64-gnu@4.21.1': + '@rollup/rollup-linux-x64-gnu@4.22.4': optional: true - '@rollup/rollup-linux-x64-musl@4.21.1': + '@rollup/rollup-linux-x64-musl@4.22.4': optional: true - '@rollup/rollup-win32-arm64-msvc@4.21.1': + '@rollup/rollup-win32-arm64-msvc@4.22.4': optional: true - '@rollup/rollup-win32-ia32-msvc@4.21.1': + '@rollup/rollup-win32-ia32-msvc@4.22.4': optional: true - '@rollup/rollup-win32-x64-msvc@4.21.1': + '@rollup/rollup-win32-x64-msvc@4.22.4': optional: true '@rtsao/scc@1.1.0': {} @@ -16321,7 +16307,7 @@ snapshots: dependencies: '@sinonjs/commons': 3.0.1 - '@sinonjs/fake-timers@11.3.1': + '@sinonjs/fake-timers@13.0.2': dependencies: '@sinonjs/commons': 3.0.1 @@ -16331,7 +16317,7 @@ snapshots: lodash.get: 4.4.2 type-detect: 4.1.0 - '@sinonjs/text-encoding@0.7.2': {} + '@sinonjs/text-encoding@0.7.3': {} '@slack/bolt@3.21.4': dependencies: @@ -16344,7 +16330,7 @@ snapshots: '@types/promise.allsettled': 1.0.3 '@types/tsscmp': 1.0.0 axios: 1.7.4(debug@4.3.6) - express: 4.19.2 + express: 4.21.0 path-to-regexp: 8.1.0 promise.allsettled: 1.0.6 raw-body: 2.5.2 @@ -16382,7 +16368,7 @@ snapshots: '@types/ws': 7.4.7 eventemitter3: 5.0.1 finity: 0.5.4 - ws: 7.5.9 + ws: 7.5.10 transitivePeerDependencies: - bufferutil - debug @@ -17724,7 +17710,7 @@ snapshots: bn.js@5.2.1: {} - body-parser@1.20.2: + body-parser@1.20.3: dependencies: bytes: 3.1.2 content-type: 1.0.5 @@ -17734,7 +17720,7 @@ snapshots: http-errors: 2.0.0 iconv-lite: 0.4.24 on-finished: 2.4.1 - qs: 6.11.0 + qs: 6.13.0 raw-body: 2.5.2 type-is: 1.6.18 unpipe: 1.0.0 @@ -18466,7 +18452,7 @@ snapshots: cp-file: 10.0.0 globby: 13.2.2 junk: 4.0.1 - micromatch: 4.0.7 + micromatch: 4.0.8 nested-error-stacks: 2.1.1 p-filter: 3.0.0 p-map: 6.0.0 @@ -18699,7 +18685,7 @@ snapshots: lodash.mapvalues: 4.6.0 lodash.memoize: 4.1.2 memfs-or-file-map-to-github-branch: 1.2.1(encoding@0.1.13) - micromatch: 4.0.7 + micromatch: 4.0.8 node-cleanup: 2.1.2 node-fetch: 2.7.0(encoding@0.1.13) override-require: 1.1.1 @@ -18983,7 +18969,7 @@ snapshots: ee-first@1.1.1: {} - ejs@3.1.8: + ejs@3.1.10: dependencies: jake: 10.8.5 @@ -19007,6 +18993,8 @@ snapshots: encodeurl@1.0.2: {} + encodeurl@2.0.0: {} + encoding@0.1.13: dependencies: iconv-lite: 0.6.3 @@ -19018,7 +19006,7 @@ snapshots: engine.io-parser@5.2.2: {} - engine.io@6.5.4: + engine.io@6.6.1: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.12 @@ -19029,7 +19017,7 @@ snapshots: cors: 2.8.5 debug: 4.3.6(supports-color@8.1.1) engine.io-parser: 5.2.2 - ws: 8.11.0 + ws: 8.17.1 transitivePeerDependencies: - bufferutil - supports-color @@ -19633,34 +19621,34 @@ snapshots: exponential-backoff@3.1.1: {} - express@4.19.2: + express@4.21.0: dependencies: accepts: 1.3.8 array-flatten: 1.1.1 - body-parser: 1.20.2 + body-parser: 1.20.3 content-disposition: 0.5.4 content-type: 1.0.5 cookie: 0.6.0 cookie-signature: 1.0.6 debug: 2.6.9 depd: 2.0.0 - encodeurl: 1.0.2 + encodeurl: 2.0.0 escape-html: 1.0.3 etag: 1.8.1 - finalhandler: 1.2.0 + finalhandler: 1.3.1 fresh: 0.5.2 http-errors: 2.0.0 - merge-descriptors: 1.0.1 + merge-descriptors: 1.0.3 methods: 1.1.2 on-finished: 2.4.1 parseurl: 1.3.3 - path-to-regexp: 0.1.7 + path-to-regexp: 0.1.10 proxy-addr: 2.0.7 - qs: 6.11.0 + qs: 6.13.0 range-parser: 1.2.1 safe-buffer: 5.2.1 - send: 0.18.0 - serve-static: 1.15.0 + send: 0.19.0 + serve-static: 1.16.2 setprototypeof: 1.2.0 statuses: 2.0.1 type-is: 1.6.18 @@ -19699,7 +19687,7 @@ snapshots: '@nodelib/fs.walk': 1.2.8 glob-parent: 5.1.2 merge2: 1.4.1 - micromatch: 4.0.7 + micromatch: 4.0.8 fast-json-patch@3.1.1: {} @@ -19711,7 +19699,7 @@ snapshots: dependencies: punycode: 1.4.1 - fast-xml-parser@4.3.6: + fast-xml-parser@4.5.0: dependencies: strnum: 1.0.5 @@ -19771,10 +19759,10 @@ snapshots: transitivePeerDependencies: - supports-color - finalhandler@1.2.0: + finalhandler@1.3.1: dependencies: debug: 2.6.9 - encodeurl: 1.0.2 + encodeurl: 2.0.0 escape-html: 1.0.3 on-finished: 2.4.1 parseurl: 1.3.3 @@ -20156,15 +20144,6 @@ snapshots: merge2: 1.4.1 slash: 4.0.0 - globby@14.0.1: - dependencies: - '@sindresorhus/merge-streams': 2.2.1 - fast-glob: 3.3.2 - ignore: 5.3.1 - path-type: 5.0.0 - slash: 5.1.0 - unicorn-magic: 0.1.0 - globby@14.0.2: dependencies: '@sindresorhus/merge-streams': 2.2.1 @@ -20568,7 +20547,7 @@ snapshots: dependencies: loose-envify: 1.4.0 - ip@2.0.0: {} + ip@2.0.1: {} ipaddr.js@1.9.1: {} @@ -20898,7 +20877,7 @@ snapshots: '@types/stack-utils': 2.0.3 chalk: 4.1.2 graceful-fs: 4.2.11 - micromatch: 4.0.7 + micromatch: 4.0.8 pretty-format: 29.7.0 slash: 3.0.0 stack-utils: 2.0.6 @@ -20995,7 +20974,7 @@ snapshots: chalk: 4.1.2 flow-parser: 0.206.0 graceful-fs: 4.2.11 - micromatch: 4.0.7 + micromatch: 4.0.8 neo-async: 2.6.2 node-dir: 0.1.17 recast: 0.21.5 @@ -21019,7 +20998,7 @@ snapshots: chalk: 4.1.2 flow-parser: 0.206.0 graceful-fs: 4.2.11 - micromatch: 4.0.7 + micromatch: 4.0.8 neo-async: 2.6.2 node-dir: 0.1.17 recast: 0.23.9 @@ -21051,7 +21030,7 @@ snapshots: whatwg-encoding: 3.1.1 whatwg-mimetype: 4.0.0 whatwg-url: 14.0.0 - ws: 8.16.0 + ws: 8.18.0 xml-name-validator: 5.0.0 transitivePeerDependencies: - bufferutil @@ -21096,7 +21075,7 @@ snapshots: jsonc-parser@3.2.0: {} - jsonc-parser@3.2.1: {} + jsonc-parser@3.3.1: {} jsonfile@4.0.0: optionalDependencies: @@ -21304,7 +21283,7 @@ snapshots: karma@6.4.4: dependencies: '@colors/colors': 1.5.0 - body-parser: 1.20.2 + body-parser: 1.20.3 braces: 3.0.3 chokidar: 3.6.0 connect: 3.7.0 @@ -21322,7 +21301,7 @@ snapshots: qjobs: 1.2.0 range-parser: 1.2.1 rimraf: 3.0.2 - socket.io: 4.7.4 + socket.io: 4.8.0 source-map: 0.6.1 tmp: 0.2.3 ua-parser-js: 0.7.33 @@ -21727,25 +21706,25 @@ snapshots: dependencies: react: 18.3.1 - markdownlint-cli2-formatter-default@0.0.4(markdownlint-cli2@0.13.0): + markdownlint-cli2-formatter-default@0.0.5(markdownlint-cli2@0.14.0): dependencies: - markdownlint-cli2: 0.13.0 + markdownlint-cli2: 0.14.0 - markdownlint-cli2@0.13.0: + markdownlint-cli2@0.14.0: dependencies: - globby: 14.0.1 + globby: 14.0.2 js-yaml: 4.1.0 - jsonc-parser: 3.2.1 - markdownlint: 0.34.0 - markdownlint-cli2-formatter-default: 0.0.4(markdownlint-cli2@0.13.0) - micromatch: 4.0.5 + jsonc-parser: 3.3.1 + markdownlint: 0.35.0 + markdownlint-cli2-formatter-default: 0.0.5(markdownlint-cli2@0.14.0) + micromatch: 4.0.8 - markdownlint-micromark@0.1.9: {} + markdownlint-micromark@0.1.10: {} - markdownlint@0.34.0: + markdownlint@0.35.0: dependencies: markdown-it: 14.1.0 - markdownlint-micromark: 0.1.9 + markdownlint-micromark: 0.1.10 marked@13.0.3: {} @@ -21855,7 +21834,7 @@ snapshots: type-fest: 0.18.1 yargs-parser: 20.2.9 - merge-descriptors@1.0.1: {} + merge-descriptors@1.0.3: {} merge-stream@2.0.0: {} @@ -21906,7 +21885,7 @@ snapshots: graceful-fs: 4.2.11 invariant: 2.2.4 jest-worker: 29.7.0 - micromatch: 4.0.7 + micromatch: 4.0.8 node-abort-controller: 3.1.1 nullthrows: 1.1.1 walker: 1.0.8 @@ -22022,7 +22001,7 @@ snapshots: source-map: 0.5.7 strip-ansi: 6.0.1 throat: 5.0.0 - ws: 7.5.9 + ws: 7.5.10 yargs: 17.7.2 transitivePeerDependencies: - bufferutil @@ -22163,12 +22142,7 @@ snapshots: transitivePeerDependencies: - supports-color - micromatch@4.0.5: - dependencies: - braces: 3.0.3 - picomatch: 2.3.1 - - micromatch@4.0.7: + micromatch@4.0.8: dependencies: braces: 3.0.3 picomatch: 2.3.1 @@ -22397,13 +22371,13 @@ snapshots: node-gyp-build: 4.5.0 optional: true - nise@6.0.0: + nise@6.1.1: dependencies: '@sinonjs/commons': 3.0.1 - '@sinonjs/fake-timers': 11.3.1 - '@sinonjs/text-encoding': 0.7.2 + '@sinonjs/fake-timers': 13.0.2 + '@sinonjs/text-encoding': 0.7.3 just-extend: 6.2.0 - path-to-regexp: 6.3.0 + path-to-regexp: 8.1.0 no-case@3.0.4: dependencies: @@ -23062,7 +23036,7 @@ snapshots: lru-cache: 11.0.1 minipass: 7.1.2 - path-to-regexp@0.1.7: {} + path-to-regexp@0.1.10: {} path-to-regexp@2.2.1: {} @@ -23144,7 +23118,7 @@ snapshots: pkg-types@1.0.3: dependencies: - jsonc-parser: 3.2.1 + jsonc-parser: 3.3.1 mlly: 1.6.1 pathe: 1.1.2 @@ -23435,10 +23409,6 @@ snapshots: qjobs@1.2.0: {} - qs@6.11.0: - dependencies: - side-channel: 1.0.6 - qs@6.13.0: dependencies: side-channel: 1.0.6 @@ -23491,7 +23461,7 @@ snapshots: react-devtools-core@4.28.5: dependencies: shell-quote: 1.8.1 - ws: 7.5.9 + ws: 7.5.10 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -23628,7 +23598,7 @@ snapshots: scheduler: 0.24.0-canary-efb381bbf-20230505 stacktrace-parser: 0.1.10 whatwg-fetch: 3.6.20 - ws: 6.2.2 + ws: 6.2.3 yargs: 17.7.2 transitivePeerDependencies: - '@babel/core' @@ -24093,26 +24063,26 @@ snapshots: robust-predicates@3.0.2: {} - rollup@4.21.1: + rollup@4.22.4: dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.21.1 - '@rollup/rollup-android-arm64': 4.21.1 - '@rollup/rollup-darwin-arm64': 4.21.1 - '@rollup/rollup-darwin-x64': 4.21.1 - '@rollup/rollup-linux-arm-gnueabihf': 4.21.1 - '@rollup/rollup-linux-arm-musleabihf': 4.21.1 - '@rollup/rollup-linux-arm64-gnu': 4.21.1 - '@rollup/rollup-linux-arm64-musl': 4.21.1 - '@rollup/rollup-linux-powerpc64le-gnu': 4.21.1 - '@rollup/rollup-linux-riscv64-gnu': 4.21.1 - '@rollup/rollup-linux-s390x-gnu': 4.21.1 - '@rollup/rollup-linux-x64-gnu': 4.21.1 - '@rollup/rollup-linux-x64-musl': 4.21.1 - '@rollup/rollup-win32-arm64-msvc': 4.21.1 - '@rollup/rollup-win32-ia32-msvc': 4.21.1 - '@rollup/rollup-win32-x64-msvc': 4.21.1 + '@rollup/rollup-android-arm-eabi': 4.22.4 + '@rollup/rollup-android-arm64': 4.22.4 + '@rollup/rollup-darwin-arm64': 4.22.4 + '@rollup/rollup-darwin-x64': 4.22.4 + '@rollup/rollup-linux-arm-gnueabihf': 4.22.4 + '@rollup/rollup-linux-arm-musleabihf': 4.22.4 + '@rollup/rollup-linux-arm64-gnu': 4.22.4 + '@rollup/rollup-linux-arm64-musl': 4.22.4 + '@rollup/rollup-linux-powerpc64le-gnu': 4.22.4 + '@rollup/rollup-linux-riscv64-gnu': 4.22.4 + '@rollup/rollup-linux-s390x-gnu': 4.22.4 + '@rollup/rollup-linux-x64-gnu': 4.22.4 + '@rollup/rollup-linux-x64-musl': 4.22.4 + '@rollup/rollup-win32-arm64-msvc': 4.22.4 + '@rollup/rollup-win32-ia32-msvc': 4.22.4 + '@rollup/rollup-win32-x64-msvc': 4.22.4 fsevents: 2.3.3 rrweb-cssom@0.6.0: {} @@ -24199,7 +24169,7 @@ snapshots: semver@7.6.3: {} - send@0.18.0: + send@0.19.0: dependencies: debug: 2.6.9 depd: 2.0.0 @@ -24236,12 +24206,12 @@ snapshots: path-to-regexp: 2.2.1 range-parser: 1.2.0 - serve-static@1.15.0: + serve-static@1.16.2: dependencies: - encodeurl: 1.0.2 + encodeurl: 2.0.0 escape-html: 1.0.3 parseurl: 1.3.3 - send: 0.18.0 + send: 0.19.0 transitivePeerDependencies: - supports-color @@ -24381,7 +24351,7 @@ snapshots: '@sinonjs/fake-timers': 11.2.2 '@sinonjs/samsam': 8.0.0 diff: 5.2.0 - nise: 6.0.0 + nise: 6.1.1 supports-color: 7.2.0 sirv@2.0.3: @@ -24414,10 +24384,10 @@ snapshots: smart-buffer@4.2.0: {} - socket.io-adapter@2.5.4: + socket.io-adapter@2.5.5: dependencies: debug: 4.3.6(supports-color@8.1.1) - ws: 8.11.0 + ws: 8.17.1 transitivePeerDependencies: - bufferutil - supports-color @@ -24430,14 +24400,14 @@ snapshots: transitivePeerDependencies: - supports-color - socket.io@4.7.4: + socket.io@4.8.0: dependencies: accepts: 1.3.8 base64id: 2.0.0 cors: 2.8.5 debug: 4.3.6(supports-color@8.1.1) - engine.io: 6.5.4 - socket.io-adapter: 2.5.4 + engine.io: 6.6.1 + socket.io-adapter: 2.5.5 socket.io-parser: 4.2.4 transitivePeerDependencies: - bufferutil @@ -24454,7 +24424,7 @@ snapshots: socks@2.7.1: dependencies: - ip: 2.0.0 + ip: 2.0.1 smart-buffer: 4.2.0 sort-keys@2.0.0: @@ -24721,15 +24691,6 @@ snapshots: stylelint: 15.11.0 stylelint-config-recommended: 13.0.0(stylelint@15.11.0) - stylelint-processor-styled-components@1.10.0: - dependencies: - '@babel/parser': 7.25.6 - '@babel/traverse': 7.25.6 - micromatch: 4.0.7 - postcss: 7.0.39 - transitivePeerDependencies: - - supports-color - stylelint@15.11.0: dependencies: '@csstools/css-parser-algorithms': 2.3.1(@csstools/css-tokenizer@2.2.0) @@ -24756,7 +24717,7 @@ snapshots: known-css-properties: 0.29.0 mathml-tag-names: 2.1.3 meow: 10.1.5 - micromatch: 4.0.7 + micromatch: 4.0.8 normalize-path: 3.0.0 picocolors: 1.1.0 postcss: 8.4.47 @@ -24874,7 +24835,7 @@ snapshots: is-glob: 4.0.3 jiti: 1.21.0 lilconfig: 2.1.0 - micromatch: 4.0.7 + micromatch: 4.0.8 normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.1.0 @@ -25411,9 +25372,9 @@ snapshots: - supports-color - terser - vite-plugin-node-polyfills@0.22.0(rollup@4.21.1)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)): + vite-plugin-node-polyfills@0.22.0(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)): dependencies: - '@rollup/plugin-inject': 5.0.5(rollup@4.21.1) + '@rollup/plugin-inject': 5.0.5(rollup@4.22.4) node-stdlib-browser: 1.2.0 vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) transitivePeerDependencies: @@ -25438,7 +25399,7 @@ snapshots: dependencies: esbuild: 0.21.5 postcss: 8.4.47 - rollup: 4.21.1 + rollup: 4.22.4 optionalDependencies: '@types/node': 20.16.5 fsevents: 2.3.3 @@ -25528,7 +25489,7 @@ snapshots: opener: 1.5.2 picocolors: 1.1.0 sirv: 2.0.3 - ws: 7.5.9 + ws: 7.5.10 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -25749,15 +25710,15 @@ snapshots: type-fest: 0.4.1 write-json-file: 3.2.0 - ws@6.2.2: + ws@6.2.3: dependencies: async-limiter: 1.0.1 - ws@7.5.9: {} + ws@7.5.10: {} - ws@8.11.0: {} + ws@8.17.1: {} - ws@8.16.0: {} + ws@8.18.0: {} xcase@2.0.1: {} From 40557d829eb0fdc5aa05a1f26cac93842c57d250 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:38:06 +0200 Subject: [PATCH 40/52] Bump webpack to ^5.95.0 (#43932) --- benchmark/package.json | 2 +- package.json | 2 +- pnpm-lock.yaml | 94 +++++++++++++++++++++--------------------- test/package.json | 2 +- 4 files changed, 50 insertions(+), 50 deletions(-) diff --git a/benchmark/package.json b/benchmark/package.json index 0c0fc5abaf8f25..26607aa2f89770 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -37,6 +37,6 @@ "styled-components": "^6.1.13", "styled-system": "^5.1.5", "theme-ui": "^0.16.2", - "webpack": "^5.94.0" + "webpack": "^5.95.0" } } diff --git a/package.json b/package.json index c5d840a72a0329..8b34997b28f196 100644 --- a/package.json +++ b/package.json @@ -193,7 +193,7 @@ "terser-webpack-plugin": "^5.3.10", "tsx": "^4.19.1", "typescript": "^5.5.4", - "webpack": "^5.94.0", + "webpack": "^5.95.0", "webpack-bundle-analyzer": "^4.10.2", "webpack-cli": "^5.1.4", "yargs": "^17.7.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1312688a7d3929..47a28f4399afee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -140,7 +140,7 @@ importers: version: 7.18.0(eslint@8.57.1)(typescript@5.5.4) babel-loader: specifier: ^9.2.1 - version: 9.2.1(@babel/core@7.25.2)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) + version: 9.2.1(@babel/core@7.25.2)(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))) babel-plugin-istanbul: specifier: ^7.0.0 version: 7.0.0 @@ -167,7 +167,7 @@ importers: version: 5.3.0 compression-webpack-plugin: specifier: ^11.1.0 - version: 11.1.0(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) + version: 11.1.0(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))) concurrently: specifier: ^8.2.2 version: 8.2.2 @@ -194,7 +194,7 @@ importers: version: 9.1.0(eslint@8.57.1) eslint-import-resolver-webpack: specifier: ^0.13.9 - version: 0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) + version: 0.13.9(eslint-plugin-import@2.30.0)(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))) eslint-plugin-babel: specifier: ^5.3.1 version: 5.3.1(eslint@8.57.1) @@ -254,7 +254,7 @@ importers: version: 0.4.0 karma-webpack: specifier: ^5.0.0 - version: 5.0.0(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) + version: 5.0.0(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))) lerna: specifier: ^8.1.8 version: 8.1.8(babel-plugin-macros@3.1.0)(encoding@0.1.13) @@ -302,7 +302,7 @@ importers: version: 34.0.0(stylelint@15.11.0) terser-webpack-plugin: specifier: ^5.3.10 - version: 5.3.10(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) + version: 5.3.10(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))) tsx: specifier: ^4.19.1 version: 4.19.1 @@ -310,14 +310,14 @@ importers: specifier: ^5.5.4 version: 5.5.4 webpack: - specifier: ^5.94.0 - version: 5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)) + specifier: ^5.95.0 + version: 5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)) webpack-bundle-analyzer: specifier: ^4.10.2 version: 4.10.2 webpack-cli: specifier: ^5.1.4 - version: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0) + version: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) yargs: specifier: ^17.7.2 version: 17.7.2 @@ -543,8 +543,8 @@ importers: specifier: ^0.16.2 version: 0.16.2(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(react@18.3.1) webpack: - specifier: ^5.94.0 - version: 5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)) + specifier: ^5.95.0 + version: 5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)) docs: dependencies: @@ -2343,7 +2343,7 @@ importers: version: 11.2.0 html-webpack-plugin: specifier: ^5.6.0 - version: 5.6.0(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) + version: 5.6.0(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))) lodash: specifier: ^4.17.21 version: 4.17.21 @@ -2384,8 +2384,8 @@ importers: specifier: ^1.6.28 version: 1.6.28 webpack: - specifier: ^5.94.0 - version: 5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)) + specifier: ^5.95.0 + version: 5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)) yargs: specifier: ^17.7.2 version: 17.7.2 @@ -12641,8 +12641,8 @@ packages: webpack-virtual-modules@0.6.1: resolution: {integrity: sha512-poXpCylU7ExuvZK8z+On3kX+S8o/2dQ/SVYueKA0D4WEMXROXgY8Ez50/bQEUmvoSMMrWcrJqCHuhAbsiwg7Dg==} - webpack@5.94.0: - resolution: {integrity: sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg==} + webpack@5.95.0: + resolution: {integrity: sha512-2t3XstrKULz41MNMBF+cJ97TyHdyQ8HCt//pqErqDvNjU9YQBnZxIHa11VXsi7F3mb5/aO2tuDxdeTPdU7xu9Q==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -17097,20 +17097,20 @@ snapshots: '@webassemblyjs/ast': 1.12.1 '@xtuc/long': 4.2.2 - '@webpack-cli/configtest@2.1.1(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)))': + '@webpack-cli/configtest@2.1.1(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)))': dependencies: - webpack: 5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)) - webpack-cli: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0) + webpack: 5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)) + webpack-cli: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) - '@webpack-cli/info@2.0.2(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)))': + '@webpack-cli/info@2.0.2(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)))': dependencies: - webpack: 5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)) - webpack-cli: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0) + webpack: 5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)) + webpack-cli: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) - '@webpack-cli/serve@2.0.5(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)))': + '@webpack-cli/serve@2.0.5(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)))': dependencies: - webpack: 5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)) - webpack-cli: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0) + webpack: 5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)) + webpack-cli: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) '@wyw-in-js/processor-utils@0.5.4': dependencies: @@ -17566,12 +17566,12 @@ snapshots: dependencies: '@babel/core': 7.25.2 - babel-loader@9.2.1(@babel/core@7.25.2)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))): + babel-loader@9.2.1(@babel/core@7.25.2)(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))): dependencies: '@babel/core': 7.25.2 find-cache-dir: 4.0.0 schema-utils: 4.2.0 - webpack: 5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)) + webpack: 5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)) babel-merge@3.0.0(@babel/core@7.25.2): dependencies: @@ -18263,11 +18263,11 @@ snapshots: dependencies: mime-db: 1.52.0 - compression-webpack-plugin@11.1.0(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))): + compression-webpack-plugin@11.1.0(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))): dependencies: schema-utils: 4.2.0 serialize-javascript: 6.0.2 - webpack: 5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)) + webpack: 5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)) compression@1.7.4: dependencies: @@ -19287,7 +19287,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))): + eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.30.0)(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))): dependencies: debug: 3.2.7 enhanced-resolve: 0.9.1 @@ -19300,18 +19300,18 @@ snapshots: lodash: 4.17.21 resolve: 2.0.0-next.5 semver: 5.7.2 - webpack: 5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)) + webpack: 5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)) transitivePeerDependencies: - supports-color - eslint-module-utils@2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))))(eslint@8.57.1): + eslint-module-utils@2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.30.0)(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))))(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 7.18.0(eslint@8.57.1)(typescript@5.5.4) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-webpack: 0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) + eslint-import-resolver-webpack: 0.13.9(eslint-plugin-import@2.30.0)(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))) transitivePeerDependencies: - supports-color @@ -19339,7 +19339,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.30.0)(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))))(eslint@8.57.1) + eslint-module-utils: 2.11.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-webpack@0.13.9(eslint-plugin-import@2.30.0)(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))))(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -20360,7 +20360,7 @@ snapshots: readable-stream: 1.0.34 through2: 0.4.2 - html-webpack-plugin@5.6.0(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))): + html-webpack-plugin@5.6.0(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 @@ -20368,7 +20368,7 @@ snapshots: pretty-error: 4.0.0 tapable: 2.2.1 optionalDependencies: - webpack: 5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)) + webpack: 5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)) htmlparser2@6.1.0: dependencies: @@ -21273,11 +21273,11 @@ snapshots: dependencies: graceful-fs: 4.2.11 - karma-webpack@5.0.0(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))): + karma-webpack@5.0.0(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))): dependencies: glob: 7.2.3 minimatch: 3.1.2 - webpack: 5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)) + webpack: 5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)) webpack-merge: 4.2.2 karma@6.4.4: @@ -24895,14 +24895,14 @@ snapshots: mkdirp: 0.5.6 rimraf: 2.6.3 - terser-webpack-plugin@5.3.10(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))): + terser-webpack-plugin@5.3.10(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.29.2 - webpack: 5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)) + webpack: 5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)) terser@5.29.2: dependencies: @@ -25494,12 +25494,12 @@ snapshots: - bufferutil - utf-8-validate - webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0): + webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0): dependencies: '@discoveryjs/json-ext': 0.5.7 - '@webpack-cli/configtest': 2.1.1(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) - '@webpack-cli/info': 2.0.2(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) - '@webpack-cli/serve': 2.0.5(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) + '@webpack-cli/configtest': 2.1.1(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))) + '@webpack-cli/info': 2.0.2(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))) + '@webpack-cli/serve': 2.0.5(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))) colorette: 2.0.20 commander: 10.0.1 cross-spawn: 7.0.3 @@ -25508,7 +25508,7 @@ snapshots: import-local: 3.1.0 interpret: 3.1.1 rechoir: 0.8.0 - webpack: 5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)) + webpack: 5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)) webpack-merge: 5.9.0 optionalDependencies: webpack-bundle-analyzer: 4.10.2 @@ -25526,7 +25526,7 @@ snapshots: webpack-virtual-modules@0.6.1: {} - webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0)): + webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0)): dependencies: '@types/estree': 1.0.5 '@webassemblyjs/ast': 1.12.1 @@ -25548,11 +25548,11 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(webpack@5.94.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0))) + terser-webpack-plugin: 5.3.10(webpack@5.95.0(webpack-cli@5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0))) watchpack: 2.4.1 webpack-sources: 3.2.3 optionalDependencies: - webpack-cli: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.94.0) + webpack-cli: 5.1.4(webpack-bundle-analyzer@4.10.2)(webpack@5.95.0) transitivePeerDependencies: - '@swc/core' - esbuild diff --git a/test/package.json b/test/package.json index 90da0a3aa07b1e..56057abc2a5593 100644 --- a/test/package.json +++ b/test/package.json @@ -41,7 +41,7 @@ "stylis-plugin-rtl": "^2.1.1", "stylis-plugin-rtl-sc": "npm:stylis-plugin-rtl@^1.1.0", "webfontloader": "^1.6.28", - "webpack": "^5.94.0", + "webpack": "^5.95.0", "yargs": "^17.7.2" }, "dependencies": { From fe6e8d1e792df5b084408020170d3eaec4b21026 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:39:47 +0200 Subject: [PATCH 41/52] Bump pnpm to 9.11.0 (#43930) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8b34997b28f196..6927e0677589f6 100644 --- a/package.json +++ b/package.json @@ -198,9 +198,9 @@ "webpack-cli": "^5.1.4", "yargs": "^17.7.2" }, - "packageManager": "pnpm@9.10.0", + "packageManager": "pnpm@9.11.0", "engines": { - "pnpm": "9.10.0" + "pnpm": "9.11.0" }, "resolutions": { "@babel/core": "^7.25.2", From 9f171e2e2af66614ce0ff15506aa9bb80d751904 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:40:59 +0200 Subject: [PATCH 42/52] Bump nyc to ^17.1.0 (#43928) --- package.json | 2 +- pnpm-lock.yaml | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 6927e0677589f6..eb0836e05a2142 100644 --- a/package.json +++ b/package.json @@ -180,7 +180,7 @@ "markdownlint-cli2": "^0.14.0", "mocha": "^10.7.3", "nx": "^19.7.3", - "nyc": "^17.0.0", + "nyc": "^17.1.0", "piscina": "^4.6.1", "postcss-styled-syntax": "^0.6.4", "prettier": "^3.3.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 47a28f4399afee..832d5658e932c3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -271,8 +271,8 @@ importers: specifier: ^19.7.3 version: 19.7.3 nyc: - specifier: ^17.0.0 - version: 17.0.0 + specifier: ^17.1.0 + version: 17.1.0 piscina: specifier: ^4.6.1 version: 4.6.1 @@ -7939,8 +7939,8 @@ packages: resolution: {integrity: sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==} engines: {node: '>=8.0.0'} - foreground-child@3.1.1: - resolution: {integrity: sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==} + foreground-child@3.3.0: + resolution: {integrity: sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==} engines: {node: '>=14'} form-data@2.5.1: @@ -10080,8 +10080,8 @@ packages: '@swc/core': optional: true - nyc@17.0.0: - resolution: {integrity: sha512-ISp44nqNCaPugLLGGfknzQwSwt10SSS5IMoPR7GLoMAyS18Iw5js8U7ga2VF9lYuMZ42gOHr3UddZw4WZltxKg==} + nyc@17.1.0: + resolution: {integrity: sha512-U42vQ4czpKa0QdI1hu950XuNhYqgoM+ZF1HT+VuUHL9hPfDPVvNQyltmMqdE9bUHMVa+8yNbc3QKTj8zQhlVxQ==} engines: {node: '>=18'} hasBin: true @@ -19849,7 +19849,7 @@ snapshots: cross-spawn: 7.0.3 signal-exit: 3.0.7 - foreground-child@3.1.1: + foreground-child@3.3.0: dependencies: cross-spawn: 7.0.3 signal-exit: 4.1.0 @@ -20059,7 +20059,7 @@ snapshots: glob@10.3.10: dependencies: - foreground-child: 3.1.1 + foreground-child: 3.3.0 jackspeak: 2.3.6 minimatch: 9.0.5 minipass: 7.1.2 @@ -20067,7 +20067,7 @@ snapshots: glob@11.0.0: dependencies: - foreground-child: 3.1.1 + foreground-child: 3.3.0 jackspeak: 4.0.1 minimatch: 10.0.1 minipass: 7.1.2 @@ -22626,7 +22626,7 @@ snapshots: transitivePeerDependencies: - debug - nyc@17.0.0: + nyc@17.1.0: dependencies: '@istanbuljs/load-nyc-config': 1.1.0 '@istanbuljs/schema': 0.1.3 @@ -22635,7 +22635,7 @@ snapshots: decamelize: 1.2.0 find-cache-dir: 3.3.2 find-up: 4.1.0 - foreground-child: 2.0.0 + foreground-child: 3.3.0 get-package-type: 0.1.0 glob: 7.2.3 istanbul-lib-coverage: 3.2.0 From 92fd31d1138a916e2a53f24d00f5853543e5c6c6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:41:49 +0200 Subject: [PATCH 43/52] Bump @types/lodash to ^4.17.9 (#43915) --- package.json | 2 +- packages-internal/scripts/package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index eb0836e05a2142..fb9a107382726a 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,7 @@ "@playwright/test": "1.47.2", "@types/babel__core": "^7.20.5", "@types/fs-extra": "^11.0.4", - "@types/lodash": "^4.17.7", + "@types/lodash": "^4.17.9", "@types/mocha": "^10.0.8", "@types/node": "^20.16.5", "@types/react": "^18.3.4", diff --git a/packages-internal/scripts/package.json b/packages-internal/scripts/package.json index 989b86da865c42..455a3eeef287e5 100644 --- a/packages-internal/scripts/package.json +++ b/packages-internal/scripts/package.json @@ -41,7 +41,7 @@ "@types/babel__core": "^7.20.5", "@types/chai": "^4.3.19", "@types/doctrine": "^0.0.9", - "@types/lodash": "^4.17.7", + "@types/lodash": "^4.17.9", "@types/node": "^20.16.5", "@types/react": "^18.3.4", "@types/uuid": "^9.0.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 832d5658e932c3..f283c0ba411165 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -118,8 +118,8 @@ importers: specifier: ^11.0.4 version: 11.0.4 '@types/lodash': - specifier: ^4.17.7 - version: 4.17.7 + specifier: ^4.17.9 + version: 4.17.9 '@types/mocha': specifier: ^10.0.8 version: 10.0.8 @@ -978,8 +978,8 @@ importers: specifier: ^0.0.9 version: 0.0.9 '@types/lodash': - specifier: ^4.17.7 - version: 4.17.7 + specifier: ^4.17.9 + version: 4.17.9 '@types/node': specifier: ^20.16.5 version: 20.16.5 @@ -5481,8 +5481,8 @@ packages: '@types/lodash.mergewith@4.6.7': resolution: {integrity: sha512-3m+lkO5CLRRYU0fhGRp7zbsGi6+BZj0uTVSwvcKU+nSlhjA9/QRNfuSGnD2mX6hQA7ZbmcCkzk5h4ZYGOtk14A==} - '@types/lodash@4.17.7': - resolution: {integrity: sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==} + '@types/lodash@4.17.9': + resolution: {integrity: sha512-w9iWudx1XWOHW5lQRS9iKpK/XuRhnN+0T7HvdCCd802FYkT1AMTnxndJHGrNJwRoRHkslGr4S29tjm1cT7x/7w==} '@types/mdast@4.0.4': resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==} @@ -16763,9 +16763,9 @@ snapshots: '@types/lodash.mergewith@4.6.7': dependencies: - '@types/lodash': 4.17.7 + '@types/lodash': 4.17.9 - '@types/lodash@4.17.7': {} + '@types/lodash@4.17.9': {} '@types/mdast@4.0.4': dependencies: From fd8b752d3573b19d72bb2ae8ef5e3a7bba5dfcdb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:43:38 +0200 Subject: [PATCH 44/52] Bump @slack/bolt to ^3.22.0 (#43920) --- package.json | 2 +- pnpm-lock.yaml | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index fb9a107382726a..7080fd0b740604 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,7 @@ "dependencies": { "@googleapis/sheets": "^9.3.1", "@netlify/functions": "^2.8.1", - "@slack/bolt": "^3.21.4", + "@slack/bolt": "^3.22.0", "execa": "^9.4.0", "google-auth-library": "^9.14.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f283c0ba411165..e8d4960d146342 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,8 +36,8 @@ importers: specifier: ^2.8.1 version: 2.8.1 '@slack/bolt': - specifier: ^3.21.4 - version: 3.21.4 + specifier: ^3.22.0 + version: 3.22.0 execa: specifier: ^9.4.0 version: 9.4.0 @@ -5170,8 +5170,8 @@ packages: '@sinonjs/text-encoding@0.7.3': resolution: {integrity: sha512-DE427ROAphMQzU4ENbliGYrBSYPXF+TtLg9S8vzeA+OF4ZKzoDdzfL8sxuMUGS/lgRhM6j1URSk9ghf7Xo1tyA==} - '@slack/bolt@3.21.4': - resolution: {integrity: sha512-4PqOuHXcVt8KxjKiLdLIqZp8285zdiYLj7HrrKvVHnUNbkD0l16HZxtMfIEe07REQ+vmM1mrqCiZqe9dPAMucA==} + '@slack/bolt@3.22.0': + resolution: {integrity: sha512-iKDqGPEJDnrVwxSVlFW6OKTkijd7s4qLBeSufoBsTM0reTyfdp/5izIQVkxNfzjHi3o6qjdYbRXkYad5HBsBog==} engines: {node: '>=14.21.3', npm: '>=6.14.18'} '@slack/logger@3.0.0': @@ -5194,8 +5194,8 @@ packages: resolution: {integrity: sha512-OAQVtKYIgBVNRmgIoiTjorGPTlgfcfstU3XYYCBA+czlB9aGcKb9MQc+6Jovi4gq3S98yP/GPBZsJSI/2mHKDQ==} engines: {node: '>= 12.13.0', npm: '>= 6.12.0'} - '@slack/web-api@6.12.1': - resolution: {integrity: sha512-dXHyHkvvziqkDdZlPRnUl/H2uvnUmdJ5B7kxiH1HIgHe18vcbUk1zjU/XCZgJFhxGeq5Zwa95Z+SbNW9mbRhtw==} + '@slack/web-api@6.13.0': + resolution: {integrity: sha512-dv65crIgdh9ZYHrevLU6XFHTQwTyDmNqEqzuIrV+Vqe/vgiG6w37oex5ePDU1RGm2IJ90H8iOvHFvzdEO/vB+g==} engines: {node: '>= 12.13.0', npm: '>= 6.12.0'} '@socket.io/component-emitter@3.1.0': @@ -16319,13 +16319,13 @@ snapshots: '@sinonjs/text-encoding@0.7.3': {} - '@slack/bolt@3.21.4': + '@slack/bolt@3.22.0': dependencies: '@slack/logger': 4.0.0 '@slack/oauth': 2.6.3 '@slack/socket-mode': 1.3.6 '@slack/types': 2.13.0 - '@slack/web-api': 6.12.1 + '@slack/web-api': 6.13.0 '@types/express': 4.17.17 '@types/promise.allsettled': 1.0.3 '@types/tsscmp': 1.0.0 @@ -16352,7 +16352,7 @@ snapshots: '@slack/oauth@2.6.3': dependencies: '@slack/logger': 3.0.0 - '@slack/web-api': 6.12.1 + '@slack/web-api': 6.13.0 '@types/jsonwebtoken': 8.5.9 '@types/node': 20.16.5 jsonwebtoken: 9.0.0 @@ -16363,7 +16363,7 @@ snapshots: '@slack/socket-mode@1.3.6': dependencies: '@slack/logger': 3.0.0 - '@slack/web-api': 6.12.1 + '@slack/web-api': 6.13.0 '@types/node': 20.16.5 '@types/ws': 7.4.7 eventemitter3: 5.0.1 @@ -16376,7 +16376,7 @@ snapshots: '@slack/types@2.13.0': {} - '@slack/web-api@6.12.1': + '@slack/web-api@6.13.0': dependencies: '@slack/logger': 3.0.0 '@slack/types': 2.13.0 From 982a53af1f8354d3170fd86ed1e5807f06e1b74c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:44:47 +0200 Subject: [PATCH 45/52] Bump vite to 5.4.8 (#43919) --- apps/pigment-css-vite-app/package.json | 2 +- pnpm-lock.yaml | 50 +++++++++++++------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/apps/pigment-css-vite-app/package.json b/apps/pigment-css-vite-app/package.json index b8686e57f8084d..77b2e844a535ea 100644 --- a/apps/pigment-css-vite-app/package.json +++ b/apps/pigment-css-vite-app/package.json @@ -34,7 +34,7 @@ "@vitejs/plugin-react": "^4.3.1", "postcss": "^8.4.47", "postcss-combine-media-query": "^1.0.1", - "vite": "5.4.7", + "vite": "5.4.8", "vite-plugin-node-polyfills": "0.22.0", "vite-plugin-pages": "^0.32.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e8d4960d146342..4ff70815436035 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -433,7 +433,7 @@ importers: version: 7.24.7(@babel/core@7.25.2) '@pigment-css/vite-plugin': specifier: 0.0.23 - version: 0.0.23(@types/react@18.3.4)(react@18.3.1)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) + version: 0.0.23(@types/react@18.3.4)(react@18.3.1)(vite@5.4.8(@types/node@20.16.5)(terser@5.29.2)) '@types/react': specifier: ^18.3.4 version: 18.3.4 @@ -445,7 +445,7 @@ importers: version: 1.6.38 '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.1(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) + version: 4.3.1(vite@5.4.8(@types/node@20.16.5)(terser@5.29.2)) postcss: specifier: ^8.4.47 version: 8.4.47 @@ -453,14 +453,14 @@ importers: specifier: ^1.0.1 version: 1.0.1 vite: - specifier: 5.4.7 - version: 5.4.7(@types/node@20.16.5)(terser@5.29.2) + specifier: 5.4.8 + version: 5.4.8(@types/node@20.16.5)(terser@5.29.2) vite-plugin-node-polyfills: specifier: 0.22.0 - version: 0.22.0(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) + version: 0.22.0(rollup@4.22.4)(vite@5.4.8(@types/node@20.16.5)(terser@5.29.2)) vite-plugin-pages: specifier: ^0.32.3 - version: 0.32.3(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) + version: 0.32.3(vite@5.4.8(@types/node@20.16.5)(terser@5.29.2)) benchmark: dependencies: @@ -655,7 +655,7 @@ importers: version: 9.7.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@toolpad/core': specifier: ^0.7.0 - version: 0.7.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) + version: 0.7.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2)(vite@5.4.8(@types/node@20.16.5)(terser@5.29.2)) autoprefixer: specifier: ^10.4.20 version: 10.4.20(postcss@8.4.47) @@ -12509,8 +12509,8 @@ packages: vue-router: optional: true - vite@5.4.7: - resolution: {integrity: sha512-5l2zxqMEPVENgvzTuBpHer2awaetimj2BGkhBPdnwKbPNOlHsODU+oiazEZzLK7KhAnOrO+XGYJYn4ZlUhDtDQ==} + vite@5.4.8: + resolution: {integrity: sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -15784,7 +15784,7 @@ snapshots: - react - supports-color - '@pigment-css/vite-plugin@0.0.23(@types/react@18.3.4)(react@18.3.1)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2))': + '@pigment-css/vite-plugin@0.0.23(@types/react@18.3.4)(react@18.3.1)(vite@5.4.8(@types/node@20.16.5)(terser@5.29.2))': dependencies: '@babel/core': 7.25.2 '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) @@ -15792,7 +15792,7 @@ snapshots: '@wyw-in-js/shared': 0.5.4 '@wyw-in-js/transform': 0.5.4 babel-plugin-define-var: 0.1.0 - vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) + vite: 5.4.8(@types/node@20.16.5)(terser@5.29.2) transitivePeerDependencies: - '@types/react' - react @@ -16530,7 +16530,7 @@ snapshots: '@theme-ui/css': 0.16.2(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1)) react: 18.3.1 - '@toolpad/core@0.7.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2))': + '@toolpad/core@0.7.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/icons-material@packages+mui-icons-material+build)(@mui/material-pigment-css@6.1.1(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@emotion/styled@11.13.0(@emotion/react@11.13.3(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@types/react@18.3.4)(react@18.3.1))(@mui/material@packages+mui-material+build)(@types/node@20.16.5)(@types/react@18.3.4)(happy-dom@12.10.3)(jsdom@24.0.0)(next@14.2.13(@babel/core@7.25.2)(@opentelemetry/api@1.8.0)(@playwright/test@1.47.2)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(terser@5.29.2)(vite@5.4.8(@types/node@20.16.5)(terser@5.29.2))': dependencies: '@babel/runtime': 7.25.6 '@mui/icons-material': link:packages/mui-icons-material/build @@ -16538,7 +16538,7 @@ snapshots: '@mui/material': link:packages/mui-material/build '@mui/utils': 6.1.1(@types/react@18.3.4)(react@18.3.1) '@toolpad/utils': 0.7.0(@types/node@20.16.5)(happy-dom@12.10.3)(jsdom@24.0.0)(react@18.3.1)(terser@5.29.2) - '@vitejs/plugin-react': 4.3.1(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) + '@vitejs/plugin-react': 4.3.1(vite@5.4.8(@types/node@20.16.5)(terser@5.29.2)) client-only: 0.0.1 invariant: 2.2.4 path-to-regexp: 6.3.0 @@ -16970,14 +16970,14 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-react@4.3.1(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2))': + '@vitejs/plugin-react@4.3.1(vite@5.4.8(@types/node@20.16.5)(terser@5.29.2))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx-self': 7.24.6(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-source': 7.24.1(@babel/core@7.25.2) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) + vite: 5.4.8(@types/node@20.16.5)(terser@5.29.2) transitivePeerDependencies: - supports-color @@ -16988,13 +16988,13 @@ snapshots: chai: 5.1.1 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2))': + '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.8(@types/node@20.16.5)(terser@5.29.2))': dependencies: '@vitest/spy': 2.1.1 estree-walker: 3.0.3 magic-string: 0.30.11 optionalDependencies: - vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) + vite: 5.4.8(@types/node@20.16.5)(terser@5.29.2) '@vitest/pretty-format@2.1.1': dependencies: @@ -25360,7 +25360,7 @@ snapshots: cac: 6.7.14 debug: 4.3.6(supports-color@8.1.1) pathe: 1.1.2 - vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) + vite: 5.4.8(@types/node@20.16.5)(terser@5.29.2) transitivePeerDependencies: - '@types/node' - less @@ -25372,15 +25372,15 @@ snapshots: - supports-color - terser - vite-plugin-node-polyfills@0.22.0(rollup@4.22.4)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)): + vite-plugin-node-polyfills@0.22.0(rollup@4.22.4)(vite@5.4.8(@types/node@20.16.5)(terser@5.29.2)): dependencies: '@rollup/plugin-inject': 5.0.5(rollup@4.22.4) node-stdlib-browser: 1.2.0 - vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) + vite: 5.4.8(@types/node@20.16.5)(terser@5.29.2) transitivePeerDependencies: - rollup - vite-plugin-pages@0.32.3(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)): + vite-plugin-pages@0.32.3(vite@5.4.8(@types/node@20.16.5)(terser@5.29.2)): dependencies: '@types/debug': 4.1.12 debug: 4.3.6(supports-color@8.1.1) @@ -25390,12 +25390,12 @@ snapshots: json5: 2.2.3 local-pkg: 0.5.0 picocolors: 1.1.0 - vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) + vite: 5.4.8(@types/node@20.16.5)(terser@5.29.2) yaml: 2.5.1 transitivePeerDependencies: - supports-color - vite@5.4.7(@types/node@20.16.5)(terser@5.29.2): + vite@5.4.8(@types/node@20.16.5)(terser@5.29.2): dependencies: esbuild: 0.21.5 postcss: 8.4.47 @@ -25408,7 +25408,7 @@ snapshots: vitest@2.1.1(@types/node@20.16.5)(happy-dom@12.10.3)(jsdom@24.0.0)(terser@5.29.2): dependencies: '@vitest/expect': 2.1.1 - '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.7(@types/node@20.16.5)(terser@5.29.2)) + '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.8(@types/node@20.16.5)(terser@5.29.2)) '@vitest/pretty-format': 2.1.1 '@vitest/runner': 2.1.1 '@vitest/snapshot': 2.1.1 @@ -25423,7 +25423,7 @@ snapshots: tinyexec: 0.3.0 tinypool: 1.0.0 tinyrainbow: 1.2.0 - vite: 5.4.7(@types/node@20.16.5)(terser@5.29.2) + vite: 5.4.8(@types/node@20.16.5)(terser@5.29.2) vite-node: 2.1.1(@types/node@20.16.5)(terser@5.29.2) why-is-node-running: 2.3.0 optionalDependencies: From a1e8f4c065aeb9f8f206e63df018edad16291256 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:45:22 +0200 Subject: [PATCH 46/52] Bump eslint-plugin-react to ^7.37.0 (#43922) --- package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 7080fd0b740604..a9369b0369538d 100644 --- a/package.json +++ b/package.json @@ -161,7 +161,7 @@ "eslint-plugin-jsx-a11y": "6.7.1", "eslint-plugin-material-ui": "workspace:^", "eslint-plugin-mocha": "^10.5.0", - "eslint-plugin-react": "^7.36.1", + "eslint-plugin-react": "^7.37.0", "eslint-plugin-react-compiler": "0.0.0-experimental-75b9fd4-20240912", "eslint-plugin-react-hooks": "^4.6.2", "fast-glob": "^3.3.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4ff70815436035..6d5921196edcb3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -185,7 +185,7 @@ importers: version: 8.57.1 eslint-config-airbnb: specifier: ^19.0.4 - version: 19.0.4(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.36.1(eslint@8.57.1))(eslint@8.57.1) + version: 19.0.4(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.37.0(eslint@8.57.1))(eslint@8.57.1) eslint-config-airbnb-typescript: specifier: ^18.0.0 version: 18.0.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint@8.57.1)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1))(eslint@8.57.1) @@ -214,8 +214,8 @@ importers: specifier: ^10.5.0 version: 10.5.0(eslint@8.57.1) eslint-plugin-react: - specifier: ^7.36.1 - version: 7.36.1(eslint@8.57.1) + specifier: ^7.37.0 + version: 7.37.0(eslint@8.57.1) eslint-plugin-react-compiler: specifier: 0.0.0-experimental-75b9fd4-20240912 version: 0.0.0-experimental-75b9fd4-20240912(eslint@8.57.1) @@ -7624,8 +7624,8 @@ packages: peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - eslint-plugin-react@7.36.1: - resolution: {integrity: sha512-/qwbqNXZoq+VP30s1d4Nc1C5GTxjJQjk4Jzs4Wq2qzxFM7dSmuG2UkIjg2USMLh3A/aVcUNrK7v0J5U1XEGGwA==} + eslint-plugin-react@7.37.0: + resolution: {integrity: sha512-IHBePmfWH5lKhJnJ7WB1V+v/GolbB0rjS8XYVCSQCZKaQCAUhMoVoOEn1Ef8Z8Wf0a7l8KTJvuZg5/e4qrZ6nA==} engines: {node: '>=4'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 @@ -19264,13 +19264,13 @@ snapshots: transitivePeerDependencies: - eslint-plugin-import - eslint-config-airbnb@19.0.4(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.36.1(eslint@8.57.1))(eslint@8.57.1): + eslint-config-airbnb@19.0.4(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.57.1))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.1))(eslint-plugin-react@7.37.0(eslint@8.57.1))(eslint@8.57.1): dependencies: eslint: 8.57.1 eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1))(eslint@8.57.1) eslint-plugin-import: 2.30.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.5.4))(eslint-import-resolver-webpack@0.13.9)(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.57.1) - eslint-plugin-react: 7.36.1(eslint@8.57.1) + eslint-plugin-react: 7.37.0(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.1) object.assign: 4.1.5 object.entries: 1.1.8 @@ -19399,7 +19399,7 @@ snapshots: dependencies: eslint: 8.57.1 - eslint-plugin-react@7.36.1(eslint@8.57.1): + eslint-plugin-react@7.37.0(eslint@8.57.1): dependencies: array-includes: 3.1.8 array.prototype.findlast: 1.2.5 From c9cd027993008a0e40ac146eba293e7d38318dea Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:46:04 +0200 Subject: [PATCH 47/52] Bump markdown-to-jsx to ^7.5.0 (#43924) --- docs/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/package.json b/docs/package.json index 1cae7095bd9750..56568839de272d 100644 --- a/docs/package.json +++ b/docs/package.json @@ -80,7 +80,7 @@ "jss-rtl": "^0.3.0", "lodash": "^4.17.21", "lz-string": "^1.5.0", - "markdown-to-jsx": "^7.4.7", + "markdown-to-jsx": "^7.5.0", "material-ui-popup-state": "^5.1.2", "next": "^14.2.13", "notistack": "3.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6d5921196edcb3..d433d5593f395e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -732,8 +732,8 @@ importers: specifier: ^1.5.0 version: 1.5.0 markdown-to-jsx: - specifier: ^7.4.7 - version: 7.4.7(react@18.3.1) + specifier: ^7.5.0 + version: 7.5.0(react@18.3.1) material-ui-popup-state: specifier: ^5.1.2 version: 5.1.2(@mui/material@packages+mui-material+build)(react@18.3.1) @@ -9459,8 +9459,8 @@ packages: resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==} hasBin: true - markdown-to-jsx@7.4.7: - resolution: {integrity: sha512-0+ls1IQZdU6cwM1yu0ZjjiVWYtkbExSyUIFU2ZeDIFuZM1W42Mh4OlJ4nb4apX4H8smxDHRdFaoIVJGwfv5hkg==} + markdown-to-jsx@7.5.0: + resolution: {integrity: sha512-RrBNcMHiFPcz/iqIj0n3wclzHXjwS7mzjBNWecKKVhNTIxQepIix6Il/wZCn2Cg5Y1ow2Qi84+eJrryFRWBEWw==} engines: {node: '>= 10'} peerDependencies: react: '>= 0.14.0' @@ -21702,7 +21702,7 @@ snapshots: punycode.js: 2.3.1 uc.micro: 2.1.0 - markdown-to-jsx@7.4.7(react@18.3.1): + markdown-to-jsx@7.5.0(react@18.3.1): dependencies: react: 18.3.1 From f38d286a5e7ae5c0ec321ae42c2a2c88e32fdd8c Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Mon, 30 Sep 2024 14:36:38 +0200 Subject: [PATCH 48/52] [docs-infra] Strengthen CSP (#43711) Signed-off-by: Olivier Tassinari --- docs/public/_headers | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/public/_headers b/docs/public/_headers index fe226ffe743355..85ddbcf543dd41 100644 --- a/docs/public/_headers +++ b/docs/public/_headers @@ -22,4 +22,6 @@ X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block Referrer-Policy: strict-origin-when-cross-origin - Content-Security-Policy: frame-ancestors 'self' + # TODO: progressively reduce the CSP scopes + # Start with a wildcard, using https://github.com/mui/toolpad/blob/f4c4eb046b352e4fc00729c3bed605e671b040c4/packages/toolpad-studio/src/server/index.ts#L241 + Content-Security-Policy: default-src * data: mediastream: blob: filesystem: about: ws: wss: 'unsafe-eval' 'wasm-unsafe-eval' 'unsafe-inline'; script-src * data: blob: 'unsafe-inline' 'unsafe-eval'; script-src-elem * data: blob: 'unsafe-inline'; connect-src * data: blob: 'unsafe-inline'; img-src * data: blob: 'unsafe-inline'; media-src * data: blob: 'unsafe-inline'; frame-src * data: blob: ; style-src * data: blob: 'unsafe-inline'; font-src * data: blob: 'unsafe-inline'; frame-ancestors *; From 2ea7cf61e14da44eb393073c9ca5582c9c3683dd Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Mon, 30 Sep 2024 19:00:01 +0200 Subject: [PATCH 49/52] [code-infra] Fix and update bundling fixtures (#43709) --- .circleci/config.yml | 188 +++++++++--------- .gitignore | 1 + .../src/pages/fixtures/index.tsx | 4 +- apps/pigment-css-vite-app/vite.config.ts | 4 +- package.json | 1 + scripts/releasePack.mts | 107 ++++++++++ scripts/sizeSnapshot/package.json | 1 + test/bundling/README.md | 33 +-- .../fixtures/create-react-app/package.json | 27 ++- test/bundling/fixtures/esbuild/package.json | 29 ++- test/bundling/fixtures/esbuild/tsconfig.json | 4 + test/bundling/fixtures/gatsby/.browserslistrc | 2 + test/bundling/fixtures/gatsby/package.json | 29 ++- .../fixtures/next-webpack4/next.config.js | 10 + .../fixtures/next-webpack4/package.json | 29 ++- .../fixtures/next-webpack5/next.config.js | 5 + .../fixtures/next-webpack5/package.json | 26 ++- .../bundling/fixtures/node-cjs/development.js | 5 + .../fixtures/node-cjs/node-cjs.template | 3 + test/bundling/fixtures/node-cjs/package.json | 35 ++++ test/bundling/fixtures/node-esm/package.json | 27 ++- test/bundling/fixtures/snowpack/package.json | 27 ++- test/bundling/fixtures/vite/package.json | 27 ++- test/bundling/scripts/createFixture.js | 38 +++- test/bundling/scripts/useBuildFromSource.js | 96 --------- 25 files changed, 488 insertions(+), 270 deletions(-) create mode 100644 scripts/releasePack.mts create mode 100644 test/bundling/fixtures/esbuild/tsconfig.json create mode 100644 test/bundling/fixtures/gatsby/.browserslistrc create mode 100644 test/bundling/fixtures/next-webpack5/next.config.js create mode 100644 test/bundling/fixtures/node-cjs/development.js create mode 100644 test/bundling/fixtures/node-cjs/node-cjs.template create mode 100644 test/bundling/fixtures/node-cjs/package.json delete mode 100644 test/bundling/scripts/useBuildFromSource.js diff --git a/.circleci/config.yml b/.circleci/config.yml index 8064ee15db1cea..5eda3afeb7a589 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -60,13 +60,12 @@ default-context: &default-context # key: v1-repo-{{ .Branch }}-{{ .Revision }} commands: - install_js: + setup_corepack: parameters: browsers: type: boolean default: false description: 'Set to true if you intend to any browser (for example with playwright).' - steps: - when: condition: << parameters.browsers >> @@ -89,6 +88,17 @@ commands: node --version pnpm --version + install_js: + parameters: + browsers: + type: boolean + default: false + description: 'Set to true if you intend to any browser (for example with playwright).' + + steps: + - setup_corepack: + browsers: << parameters.browsers >> + - run: name: Resolve React version command: | @@ -472,192 +482,174 @@ jobs: - run: name: Build packages for fixtures command: pnpm lerna run --scope "@mui/*" build + - run: + name: Pack packages + command: pnpm release:pack - persist_to_workspace: - root: packages + root: packed paths: - - '*/build' + - '*' - test_bundling_node-esm: + test_bundling_node_cjs: <<: *default-job - working_directory: /tmp/material-ui/test/bundling/fixtures/node-esm/ + working_directory: /tmp/material-ui/test/bundling/fixtures/node-cjs/ steps: - checkout: path: /tmp/material-ui - attach_workspace: - at: /tmp/material-ui/packages + at: /tmp/material-ui/packed + - setup_corepack - run: - name: Prepare fixture - command: | - node ../../scripts/createFixture node-esm + name: Install dependencies + command: pnpm install --ignore-workspace + - run: + name: Test fixture + command: pnpm start + test_bundling_node_esm: + <<: *default-job + working_directory: /tmp/material-ui/test/bundling/fixtures/node-esm/ + steps: + - checkout: + path: /tmp/material-ui + - attach_workspace: + at: /tmp/material-ui/packed + - setup_corepack - run: name: Install dependencies - command: | - pnpm - node ../../scripts/useBuildFromSource.js . + command: pnpm install --ignore-workspace - run: name: Test fixture - command: | - # TODO: Known failure - set +e - pnpm start - exit 0 - test_bundling_next-webpack4: + # TODO: Known failure + command: pnpm start + test_bundling_next_webpack4: <<: *default-job - working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack4/ docker: - image: mcr.microsoft.com/playwright:v1.47.2-focal + working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack4/ steps: - checkout: path: /tmp/material-ui - attach_workspace: - at: /tmp/material-ui/packages - - run: - name: Prepare fixture - command: | - node ../../scripts/createFixture next-webpack4 + at: /tmp/material-ui/packed + - setup_corepack: + browsers: true - run: name: Install dependencies - command: | - pnpm - node ../../scripts/useBuildFromSource.js . + command: pnpm install --ignore-workspace - run: name: Test fixture command: pnpm start - test_bundling_next-webpack5: + test_bundling_next_webpack5: <<: *default-job - working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack5/ docker: - image: mcr.microsoft.com/playwright:v1.47.2-focal + working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack5/ steps: - checkout: path: /tmp/material-ui - attach_workspace: - at: /tmp/material-ui/packages - - run: - name: Prepare fixture - command: | - node ../../scripts/createFixture next-webpack5 + at: /tmp/material-ui/packed + - setup_corepack: + browsers: true - run: name: Install dependencies - command: | - pnpm - node ../../scripts/useBuildFromSource.js . + command: pnpm install --ignore-workspace - run: name: Test fixture command: pnpm start - test_bundling_create-react-app: + test_bundling_create_react_app: <<: *default-job - working_directory: /tmp/material-ui/test/bundling/fixtures/create-react-app/ docker: - image: mcr.microsoft.com/playwright:v1.47.2-focal + working_directory: /tmp/material-ui/test/bundling/fixtures/create-react-app/ steps: - checkout: path: /tmp/material-ui - attach_workspace: - at: /tmp/material-ui/packages - - run: - name: Prepare fixture - command: | - node ../../scripts/createFixture create-react-app + at: /tmp/material-ui/packed + - setup_corepack: + browsers: true - run: name: Install dependencies - command: | - pnpm - node ../../scripts/useBuildFromSource.js . + command: pnpm install --ignore-workspace - run: name: Test fixture command: pnpm start test_bundling_snowpack: <<: *default-job - working_directory: /tmp/material-ui/test/bundling/fixtures/snowpack/ docker: - image: mcr.microsoft.com/playwright:v1.47.2-focal + working_directory: /tmp/material-ui/test/bundling/fixtures/snowpack/ steps: - checkout: path: /tmp/material-ui - attach_workspace: - at: /tmp/material-ui/packages - - run: - name: Prepare fixture - command: | - node ../../scripts/createFixture snowpack + at: /tmp/material-ui/packed + - setup_corepack: + browsers: true - run: name: Install dependencies - command: | - pnpm - node ../../scripts/useBuildFromSource.js . + command: pnpm install --ignore-workspace - run: name: Test fixture command: pnpm start test_bundling_vite: <<: *default-job - working_directory: /tmp/material-ui/test/bundling/fixtures/vite/ docker: - image: mcr.microsoft.com/playwright:v1.47.2-focal + working_directory: /tmp/material-ui/test/bundling/fixtures/vite/ steps: - checkout: path: /tmp/material-ui - attach_workspace: - at: /tmp/material-ui/packages - - run: - name: Prepare fixture - command: | - node ../../scripts/createFixture vite + at: /tmp/material-ui/packed + - setup_corepack: + browsers: true - run: name: Install dependencies - command: | - pnpm - node ../../scripts/useBuildFromSource.js . + command: pnpm install --ignore-workspace - run: name: Test fixture command: pnpm start test_bundling_esbuild: <<: *default-job - working_directory: /tmp/material-ui/test/bundling/fixtures/esbuild/ docker: - image: mcr.microsoft.com/playwright:v1.47.2-focal + working_directory: /tmp/material-ui/test/bundling/fixtures/esbuild/ steps: - checkout: path: /tmp/material-ui - attach_workspace: - at: /tmp/material-ui/packages - - run: - name: Prepare fixture - command: | - node ../../scripts/createFixture esbuild + at: /tmp/material-ui/packed + - setup_corepack: + browsers: true - run: name: Install dependencies - command: | - pnpm - node ../../scripts/useBuildFromSource.js . + command: pnpm install --ignore-workspace - run: name: Test fixture - command: | - # TODO: Known failure - set +e - pnpm start - exit 0 + command: pnpm start test_bundling_gatsby: <<: *default-job - working_directory: /tmp/material-ui/test/bundling/fixtures/gatsby/ docker: - image: mcr.microsoft.com/playwright:v1.47.2-focal + environment: + GATSBY_CPU_COUNT: '3' + working_directory: /tmp/material-ui/test/bundling/fixtures/gatsby/ steps: - checkout: path: /tmp/material-ui - attach_workspace: - at: /tmp/material-ui/packages - - run: - name: Prepare fixture - command: | - node ../../scripts/useBuildFromSource.js . - node ../../scripts/createFixture gatsby + at: /tmp/material-ui/packed + - setup_corepack: + browsers: true - run: name: Install dependencies - command: pnpm + command: pnpm install --ignore-workspace - run: name: Test fixture command: pnpm start + test_bundle_size_monitor: <<: *default-job steps: @@ -668,6 +660,7 @@ jobs: command: pnpm danger ci environment: DANGER_COMMAND: prepareBundleSizeReport + - setup_corepack - run: name: build @mui packages command: pnpm lerna run --ignore @mui/icons-material --concurrency 6 --scope "@mui/*" build @@ -807,19 +800,15 @@ workflows: jobs: - test_bundling_prepare: <<: *default-context - - test_bundling_node-esm: + - test_bundling_node_cjs: <<: *default-context requires: - test_bundling_prepare - - test_bundling_next-webpack4: + - test_bundling_node_esm: <<: *default-context requires: - test_bundling_prepare - - test_bundling_next-webpack5: - <<: *default-context - requires: - - test_bundling_prepare - - test_bundling_create-react-app: + - test_bundling_create_react_app: <<: *default-context requires: - test_bundling_prepare @@ -839,6 +828,15 @@ workflows: <<: *default-context requires: - test_bundling_prepare + - test_bundling_next_webpack4: + <<: *default-context + requires: + - test_bundling_prepare + - test_bundling_next_webpack5: + <<: *default-context + requires: + - test_bundling_prepare + profile: when: equal: [profile, << pipeline.parameters.workflow >>] diff --git a/.gitignore b/.gitignore index 605f9c60ddddcc..e0af26ad0d2a0b 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ docs/public/static/blog/feed/* .nx/cache .nx/workspace-data screenshots +packed diff --git a/apps/pigment-css-vite-app/src/pages/fixtures/index.tsx b/apps/pigment-css-vite-app/src/pages/fixtures/index.tsx index b646a41333c1ea..4967f9144b2bfe 100644 --- a/apps/pigment-css-vite-app/src/pages/fixtures/index.tsx +++ b/apps/pigment-css-vite-app/src/pages/fixtures/index.tsx @@ -17,9 +17,7 @@ export default function Layout() { ); const demo = new URLSearchParams(location.search).get('demo'); - const fixturesRoutes = (matchedRoute?.route.children ?? []).filter( - (item) => !!item.path && item.path !== 'index.test', - ); + const fixturesRoutes = (matchedRoute?.route.children ?? []).filter((item) => !!item.path); const demosRoutes = (materialUIRoute?.route.children ?? []).filter( (item) => !!item.path && !item.path.includes('react-pagination'), diff --git a/apps/pigment-css-vite-app/vite.config.ts b/apps/pigment-css-vite-app/vite.config.ts index 1aeffb286e54bb..88f1fb06db2f1f 100644 --- a/apps/pigment-css-vite-app/vite.config.ts +++ b/apps/pigment-css-vite-app/vite.config.ts @@ -43,8 +43,10 @@ export default defineConfig({ sourceMap: true, displayName: true, }), - Pages(), splitVendorChunkPlugin(), + Pages({ + exclude: ['**/*.test.*'], + }), nodePolyfills(), ], }); diff --git a/package.json b/package.json index a9369b0369538d..a9a367aca9fa2f 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "release:publish": "pnpm publish --recursive --tag latest", "release:publish:dry-run": "pnpm publish --recursive --tag latest --registry=\"http://localhost:4873/\"", "release:tag": "node scripts/releaseTag.mjs", + "release:pack": "tsx scripts/releasePack.mts", "docs:api": "rimraf --glob ./docs/pages/**/api-docs ./docs/pages/**/api && pnpm docs:api:build", "docs:api:build": "tsx ./scripts/buidApiDocs/index.ts", "docs:build": "pnpm --filter docs build", diff --git a/scripts/releasePack.mts b/scripts/releasePack.mts new file mode 100644 index 00000000000000..7766eb1efc5944 --- /dev/null +++ b/scripts/releasePack.mts @@ -0,0 +1,107 @@ +/* eslint-disable no-console */ +import yargs from 'yargs'; +import { hideBin } from 'yargs/helpers'; +import { $ } from 'execa'; +import * as path from 'path'; +import * as fs from 'fs/promises'; + +interface WorkspaceDefinition { + name: string; + version: string; + path: string; + private: boolean; +} + +interface Manifest { + packages: Record; +} + +interface RunOptions { + packages?: string[]; + outDir: string; + concurrency: number; +} + +async function packWorkspace(workspace: WorkspaceDefinition, outDir: string): Promise { + const packages: Record = {}; + const { stdout: zipFilePath } = await $({ + cwd: workspace.path, + })`pnpm pack --pack-destination ${outDir}`; + packages[workspace.name] = zipFilePath; + return zipFilePath; +} + +async function run({ packages, outDir, concurrency }: RunOptions) { + const allWorkspaces: WorkspaceDefinition[] = await $`pnpm -r ls --depth -1 --json`.then( + (result) => JSON.parse(result.stdout), + ); + const workspacesMap = new Map(allWorkspaces.map((workspace) => [workspace.name, workspace])); + + const publicPackages = allWorkspaces + .filter((workspace) => !workspace.private) + .map((workspace) => workspace.name); + const packagesToPack = packages || publicPackages; + + const workspacesToPack = packagesToPack.map((name) => { + const workspace = workspacesMap.get(name); + if (!workspace) { + throw new Error(`Workspace ${name} not found`); + } + return workspace; + }); + + const absoluteDestination = path.resolve(outDir); + + const workspacesIterator = workspacesToPack.values(); + const manifest: Manifest = { packages: {} }; + const workers = Array.from({ length: concurrency }).map(async () => { + for (const workspace of workspacesIterator) { + /* eslint-disable no-await-in-loop */ + console.log(`packing "${workspace.name}"`); + const zipFilePath = await packWorkspace(workspace, absoluteDestination); + const newName = path.join(absoluteDestination, `${workspace.name}.tgz`); + await fs.mkdir(path.dirname(newName), { recursive: true }); + await fs.rename(zipFilePath, newName); + const relativeZipFilePath = path.relative(absoluteDestination, newName); + manifest.packages[workspace.name] = relativeZipFilePath; + console.log(`packed "${zipFilePath}"`); + /* eslint-enable no-await-in-loop */ + } + }); + + await Promise.all(workers); + + await fs.writeFile( + path.join(absoluteDestination, 'manifest.json'), + JSON.stringify(manifest, null, 2), + ); +} + +yargs(hideBin(process.argv)) + .command( + '$0', + 'Pack workspaces.', + (command) => { + return command + .option('packages', { + describe: 'Workspace Packages to pack, defaults to public packages', + type: 'array', + alias: 'p', + }) + .option('outDir', { + default: './packed', + describe: 'Destination folder', + type: 'string', + }) + .option('concurrency', { + default: 5, + describe: 'Number of concurrent packing processes', + type: 'number', + }); + }, + run, + ) + .help() + .strict(true) + .version(false) + .parse(); diff --git a/scripts/sizeSnapshot/package.json b/scripts/sizeSnapshot/package.json index cdf10486a4b819..5a71c6f3278715 100644 --- a/scripts/sizeSnapshot/package.json +++ b/scripts/sizeSnapshot/package.json @@ -1,6 +1,7 @@ { "name": "size-snapshot", "version": "1.0.0", + "private": true, "description": "Size snapshot of MUI packages", "dependencies": { "@mui/base": "workspace:^", diff --git a/test/bundling/README.md b/test/bundling/README.md index cb57ff507ddaff..4fdd303c23c34d 100644 --- a/test/bundling/README.md +++ b/test/bundling/README.md @@ -7,21 +7,24 @@ The created file might need some manual adjustment since not every edge case is ## Run a fixture +### To test a Pull Request + +1. Checkout branch +1. `pnpm install` +1. `pnpm lerna run build --scope "@mui/*"` +1. `pnpm release:pack` +1. Navigate into the fixture you want to test (where the `package.json` is located) +1. `pnpm install --ignore-workspace` +1. `pnpm start` + +### To test a published npm dist tag + +_For example: `latest` or `next` on npm or a codesandboxci published version_ + 1. Navigate into the fixture you want to test (where the `package.json` is located) -1. Use the node version you want to use (for example `nvm use 14.0.0`) -1. Prepare the package.json - - to test a Pull Request - 1. checkout branch - 1. `pnpm install` - 1. `pnpm lerna run build --scope "@mui/*"` - 1. `cd` to fixture - 1. `pnpm install` - 1. `node ../../scripts/useBuildFromSource.js .` - - to test a published npm dist tag (for example `latest` or `next`) on npm - 1. `cd` to fixture - 1. adjust the dependencies in the package.json accordingly - 1. `pnpm install` -1. `pnpm start` should exit with 0 +1. Adjust `pnpm.overrides` of the `package.json` file to point to the desired version +1. `pnpm install --ignore-workspace` +1. `pnpm start` ### In CI @@ -44,7 +47,7 @@ curl --request POST \ 1. Create a folder in `test/fixtures/bundling` 1. Add the necessary dependencies -1. Re-use the entries for `dependencies` and `resolutions` for `@mui/*` packages from the other fixtures +1. Re-use the entries for `dependencies` and `pnpm.overrides` for `@mui/*` packages from the other fixtures 1. Create a template 1. Write a factory that fills the template in `test/bundling/scripts/createFixture` 1. Add an entry into the `bundling` CircleCI pipeline (`.circleci/config.yml`) diff --git a/test/bundling/fixtures/create-react-app/package.json b/test/bundling/fixtures/create-react-app/package.json index ab22cb818fa310..ef39bc2d2ee037 100644 --- a/test/bundling/fixtures/create-react-app/package.json +++ b/test/bundling/fixtures/create-react-app/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "license": "MIT", "scripts": { + "prestart": "node ../../scripts/createFixture.js create-react-app", "start": "pnpm cross-env DISABLE_ESLINT_PLUGIN=true SKIP_PREFLIGHT_CHECK=true react-scripts build && concurrently --success first --kill-others \"pnpm server\" \"node testCreateReactAppIntegration\"", "server": "serve -p 5001 -s build" }, @@ -10,13 +11,13 @@ "@emotion/core": "11.0.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "@mui/material": "5.10.5", - "@mui/icons-material": "5.10.3", - "@mui/lab": "5.0.0-alpha.99", - "@mui/styled-engine": "5.10.5", - "@mui/styles": "5.10.3", - "@mui/system": "5.10.5", - "@mui/utils": "5.10.3", + "@mui/material": "workspace:*", + "@mui/icons-material": "workspace:*", + "@mui/lab": "workspace:*", + "@mui/styled-engine": "workspace:*", + "@mui/styles": "workspace:*", + "@mui/system": "workspace:*", + "@mui/utils": "workspace:*", "react": "18.2.0", "react-dom": "18.2.0", "react-scripts": "5.0.1", @@ -39,5 +40,17 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "pnpm": { + "overrides": { + "@mui/base": "file:../../../../packed/@mui/base.tgz", + "@mui/material": "file:../../../../packed/@mui/material.tgz", + "@mui/icons-material": "file:../../../../packed/@mui/icons-material.tgz", + "@mui/lab": "file:../../../../packed/@mui/lab.tgz", + "@mui/styled-engine": "file:../../../../packed/@mui/styled-engine.tgz", + "@mui/styles": "file:../../../../packed/@mui/styles.tgz", + "@mui/system": "file:../../../../packed/@mui/system.tgz", + "@mui/utils": "file:../../../../packed/@mui/utils.tgz" + } } } diff --git a/test/bundling/fixtures/esbuild/package.json b/test/bundling/fixtures/esbuild/package.json index 3d3922a962870b..7e198fc0c39eb7 100644 --- a/test/bundling/fixtures/esbuild/package.json +++ b/test/bundling/fixtures/esbuild/package.json @@ -3,21 +3,22 @@ "version": "1.0.0", "license": "MIT", "scripts": { + "prestart": "node ../../scripts/createFixture.js esbuild", "start": "pnpm build && concurrently --success first --kill-others \"pnpm server\" \"node testEsbuildIntegration\"", - "build": "esbuild esbuild.fixture.js --bundle --outfile=build/esbuild.fixture.js", + "build": "esbuild esbuild.fixture.js --bundle --outfile=build/esbuild.fixture.js --tsconfig=tsconfig.json", "server": "serve -p 5001 -s build" }, "dependencies": { "@emotion/core": "11.0.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "@mui/material": "5.10.5", - "@mui/icons-material": "5.10.3", - "@mui/lab": "5.0.0-alpha.99", - "@mui/styled-engine": "5.10.5", - "@mui/styles": "5.10.3", - "@mui/system": "5.10.5", - "@mui/utils": "5.10.3", + "@mui/material": "workspace:*", + "@mui/icons-material": "workspace:*", + "@mui/lab": "workspace:*", + "@mui/styled-engine": "workspace:*", + "@mui/styles": "workspace:*", + "@mui/system": "workspace:*", + "@mui/utils": "workspace:*", "esbuild": "0.15.7", "react": "18.2.0", "react-dom": "18.2.0", @@ -27,5 +28,17 @@ "concurrently": "7.4.0", "playwright": "1.47.2", "serve": "14.0.1" + }, + "pnpm": { + "overrides": { + "@mui/base": "file:../../../../packed/@mui/base.tgz", + "@mui/material": "file:../../../../packed/@mui/material.tgz", + "@mui/icons-material": "file:../../../../packed/@mui/icons-material.tgz", + "@mui/lab": "file:../../../../packed/@mui/lab.tgz", + "@mui/styled-engine": "file:../../../../packed/@mui/styled-engine.tgz", + "@mui/styles": "file:../../../../packed/@mui/styles.tgz", + "@mui/system": "file:../../../../packed/@mui/system.tgz", + "@mui/utils": "file:../../../../packed/@mui/utils.tgz" + } } } diff --git a/test/bundling/fixtures/esbuild/tsconfig.json b/test/bundling/fixtures/esbuild/tsconfig.json new file mode 100644 index 00000000000000..3b7182f4eaf85f --- /dev/null +++ b/test/bundling/fixtures/esbuild/tsconfig.json @@ -0,0 +1,4 @@ +{ + "compilerOptions": {}, + "exclude": ["node_modules", "build"] +} diff --git a/test/bundling/fixtures/gatsby/.browserslistrc b/test/bundling/fixtures/gatsby/.browserslistrc new file mode 100644 index 00000000000000..cef7bb62dac7f6 --- /dev/null +++ b/test/bundling/fixtures/gatsby/.browserslistrc @@ -0,0 +1,2 @@ +defaults and fully supports es6-module +maintained node versions diff --git a/test/bundling/fixtures/gatsby/package.json b/test/bundling/fixtures/gatsby/package.json index f1250b043d8409..9d96877746dd98 100644 --- a/test/bundling/fixtures/gatsby/package.json +++ b/test/bundling/fixtures/gatsby/package.json @@ -3,20 +3,21 @@ "version": "1.0.0", "license": "MIT", "scripts": { + "prestart": "node ../../scripts/createFixture.js gatsby", "start": "pnpm gatsby build && concurrently --success first --kill-others \"pnpm gatsby serve\" \"node testGatsbyIntegration\"" }, "dependencies": { "@emotion/core": "11.0.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "@mui/material": "5.10.5", - "@mui/icons-material": "5.10.3", - "@mui/lab": "5.0.0-alpha.99", - "@mui/styled-engine": "5.10.5", - "@mui/styles": "5.10.3", - "@mui/system": "5.10.5", - "@mui/utils": "5.10.3", - "gatsby": "4.25.7", + "@mui/material": "workspace:*", + "@mui/icons-material": "workspace:*", + "@mui/lab": "workspace:*", + "@mui/styled-engine": "workspace:*", + "@mui/styles": "workspace:*", + "@mui/system": "workspace:*", + "@mui/utils": "workspace:*", + "gatsby": "5.13.7", "react": "18.2.0", "react-dom": "18.2.0", "react-is": "18.2.0" @@ -24,5 +25,17 @@ "devDependencies": { "concurrently": "7.4.0", "playwright": "1.47.2" + }, + "pnpm": { + "overrides": { + "@mui/base": "file:../../../../packed/@mui/base.tgz", + "@mui/material": "file:../../../../packed/@mui/material.tgz", + "@mui/icons-material": "file:../../../../packed/@mui/icons-material.tgz", + "@mui/lab": "file:../../../../packed/@mui/lab.tgz", + "@mui/styled-engine": "file:../../../../packed/@mui/styled-engine.tgz", + "@mui/styles": "file:../../../../packed/@mui/styles.tgz", + "@mui/system": "file:../../../../packed/@mui/system.tgz", + "@mui/utils": "file:../../../../packed/@mui/utils.tgz" + } } } diff --git a/test/bundling/fixtures/next-webpack4/next.config.js b/test/bundling/fixtures/next-webpack4/next.config.js index af6c7df4649094..2e0d198c8f3565 100644 --- a/test/bundling/fixtures/next-webpack4/next.config.js +++ b/test/bundling/fixtures/next-webpack4/next.config.js @@ -1,3 +1,13 @@ module.exports = { webpack5: false, + eslint: { + ignoreDuringBuilds: true, + }, + webpack(config, { defaultLoaders }) { + config.module.rules.push({ + test: /\/node_modules\/@mui\//, + use: [defaultLoaders.babel], + }); + return config; + }, }; diff --git a/test/bundling/fixtures/next-webpack4/package.json b/test/bundling/fixtures/next-webpack4/package.json index 85c5042066580a..125cafa2f20a40 100644 --- a/test/bundling/fixtures/next-webpack4/package.json +++ b/test/bundling/fixtures/next-webpack4/package.json @@ -3,19 +3,20 @@ "version": "1.0.0", "license": "MIT", "scripts": { - "start": "pnpm next build && concurrently --success first --kill-others \"pnpm next start\" \"node testNextWebpack4Integration\"" + "prestart": "node ../../scripts/createFixture.js next-webpack4", + "start": "NODE_OPTIONS=--openssl-legacy-provider pnpm next build && concurrently --success first --kill-others \"pnpm next start\" \"node testNextWebpack4Integration\"" }, "dependencies": { "@emotion/core": "11.0.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "@mui/material": "5.10.5", - "@mui/icons-material": "5.10.3", - "@mui/lab": "5.0.0-alpha.99", - "@mui/styled-engine": "5.10.5", - "@mui/styles": "5.10.3", - "@mui/system": "5.10.5", - "@mui/utils": "5.10.3", + "@mui/material": "workspace:*", + "@mui/icons-material": "workspace:*", + "@mui/lab": "workspace:*", + "@mui/styled-engine": "workspace:*", + "@mui/styles": "workspace:*", + "@mui/system": "workspace:*", + "@mui/utils": "workspace:*", "next": "11.1.4", "react": "^17.0.2", "react-dom": "^17.0.2", @@ -24,5 +25,17 @@ "devDependencies": { "concurrently": "7.4.0", "playwright": "1.47.2" + }, + "pnpm": { + "overrides": { + "@mui/base": "file:../../../../packed/@mui/base.tgz", + "@mui/material": "file:../../../../packed/@mui/material.tgz", + "@mui/icons-material": "file:../../../../packed/@mui/icons-material.tgz", + "@mui/lab": "file:../../../../packed/@mui/lab.tgz", + "@mui/styled-engine": "file:../../../../packed/@mui/styled-engine.tgz", + "@mui/styles": "file:../../../../packed/@mui/styles.tgz", + "@mui/system": "file:../../../../packed/@mui/system.tgz", + "@mui/utils": "file:../../../../packed/@mui/utils.tgz" + } } } diff --git a/test/bundling/fixtures/next-webpack5/next.config.js b/test/bundling/fixtures/next-webpack5/next.config.js new file mode 100644 index 00000000000000..7d17dcfcfb4d45 --- /dev/null +++ b/test/bundling/fixtures/next-webpack5/next.config.js @@ -0,0 +1,5 @@ +module.exports = { + eslint: { + ignoreDuringBuilds: true, + }, +}; diff --git a/test/bundling/fixtures/next-webpack5/package.json b/test/bundling/fixtures/next-webpack5/package.json index 44edc264933f78..82ef59c0f5a0f2 100644 --- a/test/bundling/fixtures/next-webpack5/package.json +++ b/test/bundling/fixtures/next-webpack5/package.json @@ -9,13 +9,13 @@ "@emotion/core": "11.0.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "@mui/material": "5.10.5", - "@mui/icons-material": "5.10.3", - "@mui/lab": "5.0.0-alpha.99", - "@mui/styled-engine": "5.10.5", - "@mui/styles": "5.10.3", - "@mui/system": "5.10.5", - "@mui/utils": "5.10.3", + "@mui/material": "workspace:*", + "@mui/icons-material": "workspace:*", + "@mui/lab": "workspace:*", + "@mui/styled-engine": "workspace:*", + "@mui/styles": "workspace:*", + "@mui/system": "workspace:*", + "@mui/utils": "workspace:*", "next": "12.3.0", "react": "18.2.0", "react-dom": "18.2.0", @@ -24,5 +24,17 @@ "devDependencies": { "concurrently": "7.4.0", "playwright": "1.47.2" + }, + "pnpm": { + "overrides": { + "@mui/base": "file:../../../../packed/@mui/base.tgz", + "@mui/material": "file:../../../../packed/@mui/material.tgz", + "@mui/icons-material": "file:../../../../packed/@mui/icons-material.tgz", + "@mui/lab": "file:../../../../packed/@mui/lab.tgz", + "@mui/styled-engine": "file:../../../../packed/@mui/styled-engine.tgz", + "@mui/styles": "file:../../../../packed/@mui/styles.tgz", + "@mui/system": "file:../../../../packed/@mui/system.tgz", + "@mui/utils": "file:../../../../packed/@mui/utils.tgz" + } } } diff --git a/test/bundling/fixtures/node-cjs/development.js b/test/bundling/fixtures/node-cjs/development.js new file mode 100644 index 00000000000000..3c51c76266bab2 --- /dev/null +++ b/test/bundling/fixtures/node-cjs/development.js @@ -0,0 +1,5 @@ +import * as ReactIs from 'react-is'; +import Accordion2 from '@mui/material/Accordion'; + +// eslint-disable-next-line no-console +console.assert(ReactIs.isValidElementType(Accordion2)); diff --git a/test/bundling/fixtures/node-cjs/node-cjs.template b/test/bundling/fixtures/node-cjs/node-cjs.template new file mode 100644 index 00000000000000..3444091e6caa5d --- /dev/null +++ b/test/bundling/fixtures/node-cjs/node-cjs.template @@ -0,0 +1,3 @@ +{{{requires}}} + +{{{usage}}} diff --git a/test/bundling/fixtures/node-cjs/package.json b/test/bundling/fixtures/node-cjs/package.json new file mode 100644 index 00000000000000..ed913aababbd3f --- /dev/null +++ b/test/bundling/fixtures/node-cjs/package.json @@ -0,0 +1,35 @@ +{ + "name": "node-esm", + "version": "1.0.0", + "main": "index.js", + "type": "commonjs", + "license": "MIT", + "scripts": { + "prestart": "node ../../scripts/createFixture.js node-cjs", + "start": "node node-cjs.fixture.js" + }, + "dependencies": { + "@emotion/core": "11.0.0", + "@emotion/styled": "11.10.4", + "@mui/material": "workspace:*", + "@mui/icons-material": "workspace:*", + "@mui/lab": "workspace:*", + "@mui/styled-engine": "workspace:*", + "@mui/styles": "workspace:*", + "@mui/system": "workspace:*", + "@mui/utils": "workspace:*", + "react-is": "18.2.0" + }, + "pnpm": { + "overrides": { + "@mui/base": "file:../../../../packed/@mui/base.tgz", + "@mui/material": "file:../../../../packed/@mui/material.tgz", + "@mui/icons-material": "file:../../../../packed/@mui/icons-material.tgz", + "@mui/lab": "file:../../../../packed/@mui/lab.tgz", + "@mui/styled-engine": "file:../../../../packed/@mui/styled-engine.tgz", + "@mui/styles": "file:../../../../packed/@mui/styles.tgz", + "@mui/system": "file:../../../../packed/@mui/system.tgz", + "@mui/utils": "file:../../../../packed/@mui/utils.tgz" + } + } +} diff --git a/test/bundling/fixtures/node-esm/package.json b/test/bundling/fixtures/node-esm/package.json index 2cc5d58eaeded5..8056aa2e7e4d5a 100644 --- a/test/bundling/fixtures/node-esm/package.json +++ b/test/bundling/fixtures/node-esm/package.json @@ -5,18 +5,31 @@ "type": "module", "license": "MIT", "scripts": { + "prestart": "node ../../scripts/createFixture.js node-esm", "start": "node node-esm.fixture.js" }, "dependencies": { "@emotion/core": "11.0.0", "@emotion/styled": "11.10.4", - "@mui/material": "5.10.5", - "@mui/icons-material": "5.10.3", - "@mui/lab": "5.0.0-alpha.99", - "@mui/styled-engine": "5.10.5", - "@mui/styles": "5.10.3", - "@mui/system": "5.10.5", - "@mui/utils": "5.10.3", + "@mui/material": "workspace:*", + "@mui/icons-material": "workspace:*", + "@mui/lab": "workspace:*", + "@mui/styled-engine": "workspace:*", + "@mui/styles": "workspace:*", + "@mui/system": "workspace:*", + "@mui/utils": "workspace:*", "react-is": "18.2.0" + }, + "pnpm": { + "overrides": { + "@mui/base": "file:../../../../packed/@mui/base.tgz", + "@mui/material": "file:../../../../packed/@mui/material.tgz", + "@mui/icons-material": "file:../../../../packed/@mui/icons-material.tgz", + "@mui/lab": "file:../../../../packed/@mui/lab.tgz", + "@mui/styled-engine": "file:../../../../packed/@mui/styled-engine.tgz", + "@mui/styles": "file:../../../../packed/@mui/styles.tgz", + "@mui/system": "file:../../../../packed/@mui/system.tgz", + "@mui/utils": "file:../../../../packed/@mui/utils.tgz" + } } } diff --git a/test/bundling/fixtures/snowpack/package.json b/test/bundling/fixtures/snowpack/package.json index 2d6648545ad5af..69e363dabed378 100644 --- a/test/bundling/fixtures/snowpack/package.json +++ b/test/bundling/fixtures/snowpack/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "license": "MIT", "scripts": { + "prestart": "node ../../scripts/createFixture.js snowpack", "start": "pnpm snowpack build && concurrently --success first --kill-others \"pnpm server\" \"node testSnowpackIntegration\"", "server": "serve -p 5001 -s build" }, @@ -10,13 +11,13 @@ "@emotion/core": "11.0.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "@mui/material": "5.10.5", - "@mui/icons-material": "5.10.3", - "@mui/lab": "5.0.0-alpha.99", - "@mui/styled-engine": "5.10.5", - "@mui/styles": "5.10.3", - "@mui/system": "5.10.5", - "@mui/utils": "5.10.3", + "@mui/material": "workspace:*", + "@mui/icons-material": "workspace:*", + "@mui/lab": "workspace:*", + "@mui/styled-engine": "workspace:*", + "@mui/styles": "workspace:*", + "@mui/system": "workspace:*", + "@mui/utils": "workspace:*", "snowpack": "3.8.8", "react": "18.2.0", "react-dom": "18.2.0", @@ -26,5 +27,17 @@ "concurrently": "7.4.0", "playwright": "1.47.2", "serve": "14.0.1" + }, + "pnpm": { + "overrides": { + "@mui/base": "file:../../../../packed/@mui/base.tgz", + "@mui/material": "file:../../../../packed/@mui/material.tgz", + "@mui/icons-material": "file:../../../../packed/@mui/icons-material.tgz", + "@mui/lab": "file:../../../../packed/@mui/lab.tgz", + "@mui/styled-engine": "file:../../../../packed/@mui/styled-engine.tgz", + "@mui/styles": "file:../../../../packed/@mui/styles.tgz", + "@mui/system": "file:../../../../packed/@mui/system.tgz", + "@mui/utils": "file:../../../../packed/@mui/utils.tgz" + } } } diff --git a/test/bundling/fixtures/vite/package.json b/test/bundling/fixtures/vite/package.json index e745bd9aad5673..b1bd0fa9b86064 100644 --- a/test/bundling/fixtures/vite/package.json +++ b/test/bundling/fixtures/vite/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "license": "MIT", "scripts": { + "prestart": "node ../../scripts/createFixture.js vite", "start": "pnpm vite build && concurrently --success first --kill-others \"pnpm server\" \"node testViteIntegration\"", "server": "serve -p 5001 -s build" }, @@ -10,13 +11,13 @@ "@emotion/core": "11.0.0", "@emotion/react": "11.10.4", "@emotion/styled": "11.10.4", - "@mui/material": "5.10.5", - "@mui/icons-material": "5.10.3", - "@mui/lab": "5.0.0-alpha.99", - "@mui/styled-engine": "5.10.5", - "@mui/styles": "5.10.3", - "@mui/system": "5.10.5", - "@mui/utils": "5.10.3", + "@mui/material": "workspace:*", + "@mui/icons-material": "workspace:*", + "@mui/lab": "workspace:*", + "@mui/styled-engine": "workspace:*", + "@mui/styles": "workspace:*", + "@mui/system": "workspace:*", + "@mui/utils": "workspace:*", "react": "18.2.0", "react-dom": "18.2.0", "react-is": "18.2.0", @@ -26,5 +27,17 @@ "concurrently": "7.4.0", "playwright": "1.47.2", "serve": "14.0.1" + }, + "pnpm": { + "overrides": { + "@mui/base": "file:../../../../packed/@mui/base.tgz", + "@mui/material": "file:../../../../packed/@mui/material.tgz", + "@mui/icons-material": "file:../../../../packed/@mui/icons-material.tgz", + "@mui/lab": "file:../../../../packed/@mui/lab.tgz", + "@mui/styled-engine": "file:../../../../packed/@mui/styled-engine.tgz", + "@mui/styles": "file:../../../../packed/@mui/styles.tgz", + "@mui/system": "file:../../../../packed/@mui/system.tgz", + "@mui/utils": "file:../../../../packed/@mui/utils.tgz" + } } } diff --git a/test/bundling/scripts/createFixture.js b/test/bundling/scripts/createFixture.js index 3a5b98ba908f72..7ceeaf15966f3c 100644 --- a/test/bundling/scripts/createFixture.js +++ b/test/bundling/scripts/createFixture.js @@ -33,6 +33,19 @@ async function writeNodeESMFixture(context) { await writeFromTemplate(destinationPath, templateSource, fixtureTemplateValues); } +/** + * @param {FixtureContext} context + */ +async function writeNodeCJSFixture(context) { + const { fixtureUrl, fixtureTemplateValues } = context; + const destinationPath = new URL('./node-cjs.fixture.js', fixtureUrl); + const templateSource = await fs.readFile(new URL('node-cjs.template', fixtureUrl), { + encoding: 'utf8', + }); + + await writeFromTemplate(destinationPath, templateSource, fixtureTemplateValues); +} + /** * @param {FixtureContext} context */ @@ -118,10 +131,27 @@ async function readFixtureTemplateValues(fileUrl) { const importsMatch = code.match(/\/\/ #region imports(.+?)\/\/ #endregion/s); const [imports] = importsMatch; + const lines = imports.split(/\n+/).filter((line) => { + const trimmed = line.trim(); + return trimmed && !trimmed.startsWith('//') && !trimmed.startsWith('/*'); + }); + const requires = lines + .map((line) => { + const [, specifier, module] = /import (.*) from ['"](.*)['"]/.exec(line); + if (specifier.startsWith('*')) { + return `const ${specifier.replace('* as ', '')} = require('${module}')`; + } + if (specifier.startsWith('{')) { + return `const ${specifier.replace(' as ', ': ')} = require('${module}')`; + } + return `const { default: ${specifier} } = require('${module}')`; + }) + .join('\n'); + const usageMatch = code.match(/\/\/ #region usage(.+?)\/\/ #endregion/s); const [usage] = usageMatch; - return { imports, usage }; + return { imports, usage, requires }; } function resolveFixtureUrl(fixtureName) { @@ -144,6 +174,12 @@ async function run(context) { ); switch (fixture) { + case 'node-cjs': + await writeNodeCJSFixture({ + fixtureUrl: resolveFixtureUrl('node-cjs'), + fixtureTemplateValues, + }); + break; case 'node-esm': await writeNodeESMFixture({ fixtureUrl: resolveFixtureUrl('node-esm'), diff --git a/test/bundling/scripts/useBuildFromSource.js b/test/bundling/scripts/useBuildFromSource.js deleted file mode 100644 index 20d5b8f4358306..00000000000000 --- a/test/bundling/scripts/useBuildFromSource.js +++ /dev/null @@ -1,96 +0,0 @@ -// Only use built-in modules because this script runs pre-install. -import { promises as fs } from 'fs'; -import { URL } from 'url'; - -/** - * node 12 compatible implementation of cp -r - * @param {URL} sourceDirectory - * @param {URL} targetDirectory - */ -async function copyDirectory(sourceDirectory, targetDirectory) { - await fs.mkdir(targetDirectory, { recursive: true }); - - const sourceFiles = await fs.readdir(sourceDirectory, { withFileTypes: true }); - await Promise.all( - sourceFiles.map(async (sourceFileEntry) => { - let copyMethod; - let sourceFileUrlInput; - if (sourceFileEntry.isDirectory()) { - sourceFileUrlInput = `./${sourceFileEntry.name}/`; - copyMethod = copyDirectory; - } else { - sourceFileUrlInput = `./${sourceFileEntry.name}`; - copyMethod = fs.copyFile; - } - await copyMethod( - new URL(sourceFileUrlInput, sourceDirectory), - new URL(sourceFileUrlInput, targetDirectory), - ); - }), - ); -} - -/** - * node 12 compatible implementation of rm -rf - * @param {string} directory - */ -async function rmRecursiveForce(directory) { - const files = await fs.readdir(directory); - await Promise.all( - files.map(async (fileBasename) => { - const fileName = new URL(fileBasename, directory); - - const fileStats = await fs.stat(fileName); - if (fileStats.isDirectory()) { - await rmRecursiveForce(fileName); - } else { - await fs.unlink(fileName, { force: true }); - } - }), - ); - - await fs.rmdir(directory); -} - -async function run(context) { - const { fixturePath } = context; - if (fixturePath === undefined) { - throw new Error( - `Usage: ${process.argv[1]} [distTag]\n distTag: An npm tag e.g. 'npm:next' or 'npm:latest'. Omit the use the built packages from source.`, - ); - } - const cwdUrl = new URL(`${process.cwd()}/`, 'file://'); - const fixtureUrl = new URL(`./${fixturePath}/`, cwdUrl); - - const workspaceRoot = new URL('../../../', import.meta.url); - await Promise.all( - [ - 'material', - 'icons-material', - 'lab', - 'private-theming', - 'styled-engine', - 'styles', - 'system', - 'types', - 'base', - 'utils', - ].map(async (muiPackageName) => { - // clean copy - try { - await rmRecursiveForce(new URL(`./node_modules/@mui/${muiPackageName}/`, fixtureUrl)); - } catch (error) { - // already exists - } - await copyDirectory( - new URL(`./packages/mui${`-${muiPackageName}`}/build/`, workspaceRoot), - new URL(`./node_modules/@mui/${muiPackageName}/`, fixtureUrl), - ); - }), - ); -} - -run({ fixturePath: process.argv[2] }).catch((error) => { - console.error(error); - process.exit(1); -}); From 955f109a61b60e8f13636311efc346af07eb8fec Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Mon, 30 Sep 2024 20:05:11 +0200 Subject: [PATCH 50/52] [icons] Reduce Material Icon page size (#43911) --- .../components/material-icons/SearchIcons.js | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/docs/data/material/components/material-icons/SearchIcons.js b/docs/data/material/components/material-icons/SearchIcons.js index 5c869ed7b00fdb..f9322220054ef5 100644 --- a/docs/data/material/components/material-icons/SearchIcons.js +++ b/docs/data/material/components/material-icons/SearchIcons.js @@ -128,19 +128,15 @@ const StyledSvgIcon = styled(SvgIcon)(({ theme }) => ({ }, })); -const handleIconClick = (event) => { - const { iconName, iconTheme } = event.currentTarget.dataset; - - if (Math.random() < 0.1) { - window.gtag('event', 'material-icons', { - eventAction: 'click', - eventLabel: iconName, - }); - window.gtag('event', 'material-icons-theme', { - eventAction: 'click', - eventLabel: iconTheme, - }); - } +const handleIconClick = (icon) => () => { + window.gtag('event', 'material-icons', { + eventAction: 'click', + eventLabel: icon.name, + }); + window.gtag('event', 'material-icons-theme', { + eventAction: 'click', + eventLabel: icon.theme, + }); }; function handleLabelClick(event) { @@ -153,9 +149,7 @@ function Icon(props) { return ( Date: Mon, 30 Sep 2024 20:14:42 +0200 Subject: [PATCH 51/52] [docs] Format Pigment CSS docs (#43812) --- .../pigment-css/pigment-css.md | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/data/material/experimental-api/pigment-css/pigment-css.md b/docs/data/material/experimental-api/pigment-css/pigment-css.md index dacd78b181f1d4..07fed588a07523 100644 --- a/docs/data/material/experimental-api/pigment-css/pigment-css.md +++ b/docs/data/material/experimental-api/pigment-css/pigment-css.md @@ -287,7 +287,6 @@ Pigment CSS uses the `prefers-color-scheme` media query by default to switch be ```js const colorScheme = css` background-color: ${({ theme }) => theme.colorSchemes.dark.colors.background}; - color: ${({ theme }) => theme.colorSchemes.dark.colors.foreground}; @media (prefers-color-scheme: light) { @@ -299,14 +298,14 @@ const colorScheme = css` You can also customize the behavior by providing a `getSelector` function: -```js - extendTheme({ - colorSchemes: { - light: { ... }, - dark: { ... }, - }, -+ getSelector: (colorScheme) => colorScheme ? `.theme-${colorScheme}` : ':root', - }); +```diff + extendTheme({ + colorSchemes: { + light: { ... }, + dark: { ... }, + }, ++ getSelector: (colorScheme) => colorScheme ? `.theme-${colorScheme}` : ':root', + }); ``` ### The sx prop @@ -324,7 +323,7 @@ The `sx` prop works with all Material UI components as well as HTML elements an If you use the `sx` prop on an HTML element, you'll need to augment the `HTMLAttributes` interface: -```js +```ts type Theme = { // your theme type }; @@ -335,7 +334,9 @@ declare global { sx?: | React.CSSProperties | ((theme: Theme) => React.CSSProperties) - | ReadonlyArray React.CSSProperties)>; + | ReadonlyArray< + React.CSSProperties | ((theme: Theme) => React.CSSProperties) + >; } } } From 371f7e2e59f4e02705522bb70535b062455a25f9 Mon Sep 17 00:00:00 2001 From: Sycamore <71297412+samuelsycamore@users.noreply.github.com> Date: Mon, 30 Sep 2024 14:49:22 -0700 Subject: [PATCH 52/52] [code-infra] Replace all instances of `e` with `event` and add eslint rule (#43866) --- .eslintrc.js | 2 + .../components/list/ExampleNavigationMenu.js | 8 +- .../components/list/ExampleNavigationMenu.tsx | 8 +- .../joy/components/select/SelectClearable.js | 2 +- .../joy/components/select/SelectClearable.tsx | 2 +- .../data/joy/components/select/SelectUsage.js | 2 +- .../messages/components/MessageInput.tsx | 4 +- .../templates/shared-theme/ColorModeSelect.js | 2 +- .../shared-theme/ColorModeSelect.tsx | 4 +- .../experiments/base/components-gallery.tsx | 2 +- docs/pages/experiments/base/tabs.tsx | 2 +- docs/src/modules/components/DemoSandbox.js | 2 +- .../ApiBuilders/HookApiBuilder.ts | 2 +- packages/mui-base/src/Badge/Badge.spec.tsx | 10 +- packages/mui-base/src/Button/Button.spec.tsx | 12 ++- .../src/FormControl/FormControl.spec.tsx | 10 +- packages/mui-base/src/Input/Input.spec.tsx | 10 +- packages/mui-base/src/Input/Input.test.tsx | 4 +- packages/mui-base/src/Menu/Menu.spec.tsx | 10 +- .../mui-base/src/MenuItem/MenuItem.spec.tsx | 10 +- packages/mui-base/src/Modal/Modal.spec.tsx | 10 +- packages/mui-base/src/Modal/Modal.tsx | 6 +- packages/mui-base/src/Option/Option.spec.tsx | 10 +- .../src/OptionGroup/OptionGroup.spec.tsx | 10 +- packages/mui-base/src/Popper/Popper.spec.tsx | 10 +- packages/mui-base/src/Select/Select.spec.tsx | 10 +- packages/mui-base/src/Slider/Slider.spec.tsx | 10 +- packages/mui-base/src/Switch/Switch.spec.tsx | 10 +- packages/mui-base/src/Tab/Tab.spec.tsx | 10 +- .../mui-base/src/TabPanel/TabPanel.spec.tsx | 10 +- .../TablePagination/TablePagination.spec.tsx | 10 +- .../TablePaginationActions.spec.tsx | 10 +- packages/mui-base/src/Tabs/Tabs.spec.tsx | 10 +- .../mui-base/src/TabsList/TabsList.spec.tsx | 10 +- packages/mui-joy/src/Select/Select.spec.tsx | 24 +++-- .../src/Autocomplete/Autocomplete.spec.tsx | 6 +- .../mui-material/src/Button/Button.spec.tsx | 18 ++-- .../src/InputBase/InputBase.test.js | 4 +- packages/mui-material/src/Modal/Modal.js | 6 +- .../src/SwipeableDrawer/SwipeableDrawer.d.ts | 2 +- .../src/styles/createTheme.test.js | 4 +- .../src/cssVars/useCurrentColorScheme.ts | 8 +- .../material-ui/components.spec.tsx | 91 ++++++++++--------- 43 files changed, 232 insertions(+), 175 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 8c828c846ffa23..038be57d26624c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -240,6 +240,8 @@ module.exports = { 'react/jsx-no-useless-fragment': ['error', { allowExpressions: true }], 'lines-around-directive': 'off', ...(ENABLE_REACT_COMPILER_PLUGIN ? { 'react-compiler/react-compiler': 'error' } : {}), + // Prevent the use of `e` as a shorthand for `event`, `error`, etc. + 'id-denylist': ['error', 'e'], }, overrides: [ { diff --git a/docs/data/joy/components/list/ExampleNavigationMenu.js b/docs/data/joy/components/list/ExampleNavigationMenu.js index 03cf5e51b340ea..fb28f3503a6a95 100644 --- a/docs/data/joy/components/list/ExampleNavigationMenu.js +++ b/docs/data/joy/components/list/ExampleNavigationMenu.js @@ -51,15 +51,15 @@ const useRovingIndex = (options) => { } }, tabIndex: activeIndex === index ? 0 : -1, - onKeyDown: (e) => { + onKeyDown: (event) => { if (Number.isInteger(activeIndex)) { - if (e.key === (vertical ? 'ArrowDown' : 'ArrowRight')) { + if (event.key === (vertical ? 'ArrowDown' : 'ArrowRight')) { focusNext(); } - if (e.key === (vertical ? 'ArrowUp' : 'ArrowLeft')) { + if (event.key === (vertical ? 'ArrowUp' : 'ArrowLeft')) { focusPrevious(); } - handlers.onKeyDown?.(e, { setActiveIndex }); + handlers.onKeyDown?.(event, { setActiveIndex }); } }, onClick: () => { diff --git a/docs/data/joy/components/list/ExampleNavigationMenu.tsx b/docs/data/joy/components/list/ExampleNavigationMenu.tsx index d580f8db869f53..323873fa0e6084 100644 --- a/docs/data/joy/components/list/ExampleNavigationMenu.tsx +++ b/docs/data/joy/components/list/ExampleNavigationMenu.tsx @@ -64,15 +64,15 @@ const useRovingIndex = (options?: Options) => { } }, tabIndex: activeIndex === index ? 0 : -1, - onKeyDown: (e: React.KeyboardEvent) => { + onKeyDown: (event: React.KeyboardEvent) => { if (Number.isInteger(activeIndex)) { - if (e.key === (vertical ? 'ArrowDown' : 'ArrowRight')) { + if (event.key === (vertical ? 'ArrowDown' : 'ArrowRight')) { focusNext(); } - if (e.key === (vertical ? 'ArrowUp' : 'ArrowLeft')) { + if (event.key === (vertical ? 'ArrowUp' : 'ArrowLeft')) { focusPrevious(); } - handlers.onKeyDown?.(e, { setActiveIndex }); + handlers.onKeyDown?.(event, { setActiveIndex }); } }, onClick: () => { diff --git a/docs/data/joy/components/select/SelectClearable.js b/docs/data/joy/components/select/SelectClearable.js index 6fa74883f99950..446782445866d7 100644 --- a/docs/data/joy/components/select/SelectClearable.js +++ b/docs/data/joy/components/select/SelectClearable.js @@ -12,7 +12,7 @@ export default function SelectClearable() { action={action} value={value} placeholder="Favorite pet…" - onChange={(e, newValue) => setValue(newValue)} + onChange={(event, newValue) => setValue(newValue)} {...(value && { // display the button and remove select indicator // when user has selected a value diff --git a/docs/data/joy/components/select/SelectClearable.tsx b/docs/data/joy/components/select/SelectClearable.tsx index 717c0873ece25d..7bdc9a9b2a60d0 100644 --- a/docs/data/joy/components/select/SelectClearable.tsx +++ b/docs/data/joy/components/select/SelectClearable.tsx @@ -12,7 +12,7 @@ export default function SelectClearable() { action={action} value={value} placeholder="Favorite pet…" - onChange={(e, newValue) => setValue(newValue)} + onChange={(event, newValue) => setValue(newValue)} {...(value && { // display the button and remove select indicator // when user has selected a value diff --git a/docs/data/joy/components/select/SelectUsage.js b/docs/data/joy/components/select/SelectUsage.js index 65a250f061e737..703858a5d60fd5 100644 --- a/docs/data/joy/components/select/SelectUsage.js +++ b/docs/data/joy/components/select/SelectUsage.js @@ -48,7 +48,7 @@ export default function SelectUsage() { defaultListboxOpen action={action} value={value} - onChange={(e, newValue) => setValue(newValue)} + onChange={(event, newValue) => setValue(newValue)} sx={{ minWidth: 160, mb: 20 }} > diff --git a/docs/data/joy/getting-started/templates/messages/components/MessageInput.tsx b/docs/data/joy/getting-started/templates/messages/components/MessageInput.tsx index 6a17baa72d6b8d..630ca1c738c88e 100644 --- a/docs/data/joy/getting-started/templates/messages/components/MessageInput.tsx +++ b/docs/data/joy/getting-started/templates/messages/components/MessageInput.tsx @@ -33,8 +33,8 @@ export default function MessageInput(props: MessageInputProps) { placeholder="Type something here…" aria-label="Message" ref={textAreaRef} - onChange={(e) => { - setTextAreaValue(e.target.value); + onChange={(event) => { + setTextAreaValue(event.target.value); }} value={textAreaValue} minRows={3} diff --git a/docs/data/material/getting-started/templates/shared-theme/ColorModeSelect.js b/docs/data/material/getting-started/templates/shared-theme/ColorModeSelect.js index 21c96acddfc833..2e07e3de38bf7d 100644 --- a/docs/data/material/getting-started/templates/shared-theme/ColorModeSelect.js +++ b/docs/data/material/getting-started/templates/shared-theme/ColorModeSelect.js @@ -11,7 +11,7 @@ export default function ColorModeSelect(props) { return ( setMode(e.target.value as 'system' | 'light' | 'dark')} + onChange={(event) => + setMode(event.target.value as 'system' | 'light' | 'dark') + } SelectDisplayProps={{ // @ts-ignore 'data-screenshot': 'toggle-mode', diff --git a/docs/pages/experiments/base/components-gallery.tsx b/docs/pages/experiments/base/components-gallery.tsx index 41077d5e7b605a..40c5064529e999 100644 --- a/docs/pages/experiments/base/components-gallery.tsx +++ b/docs/pages/experiments/base/components-gallery.tsx @@ -233,7 +233,7 @@ export default function ComponentsGallery() { const settingsOpen = Boolean(settingsAnchor); const settingsId = settingsOpen ? 'settings-popup' : undefined; - const colorPickerSliderChangeHandler = (e: Event, value: number | number[]) => { + const colorPickerSliderChangeHandler = (event: Event, value: number | number[]) => { setRootStyles(` :root { --primary-50: ${value}, 90%, 97%; diff --git a/docs/pages/experiments/base/tabs.tsx b/docs/pages/experiments/base/tabs.tsx index bebb732eec96f1..63877376e07878 100644 --- a/docs/pages/experiments/base/tabs.tsx +++ b/docs/pages/experiments/base/tabs.tsx @@ -145,7 +145,7 @@ export default function UnstyledTabsIntroduction() { setSelectionFollowsFocus(e.target.checked)} + onChange={(event) => setSelectionFollowsFocus(event.target.checked)} />{' '} Selection follows focus diff --git a/docs/src/modules/components/DemoSandbox.js b/docs/src/modules/components/DemoSandbox.js index 70db3caf83f11d..c7ad82823d8182 100644 --- a/docs/src/modules/components/DemoSandbox.js +++ b/docs/src/modules/components/DemoSandbox.js @@ -172,7 +172,7 @@ function getTheme(outerTheme, injectTheme) { if (injectTheme && Object.prototype.toString.call(injectTheme) === '[object Object]') { try { return deepmerge(resultTheme, injectTheme); - } catch (e) { + } catch { return resultTheme; } } diff --git a/packages/api-docs-builder/ApiBuilders/HookApiBuilder.ts b/packages/api-docs-builder/ApiBuilders/HookApiBuilder.ts index d018e396525450..9ac15d20e9f83c 100644 --- a/packages/api-docs-builder/ApiBuilders/HookApiBuilder.ts +++ b/packages/api-docs-builder/ApiBuilders/HookApiBuilder.ts @@ -421,7 +421,7 @@ const extractInfoFromType = async ( result = Object.values(properties) .filter((property) => !property.tags.ignore) .sort((a, b) => a.name.localeCompare(b.name)); - } catch (e) { + } catch { console.error(`No declaration for ${typeName}`); } diff --git a/packages/mui-base/src/Badge/Badge.spec.tsx b/packages/mui-base/src/Badge/Badge.spec.tsx index 269feae43aeb4c..f232a1dd04c043 100644 --- a/packages/mui-base/src/Badge/Badge.spec.tsx +++ b/packages/mui-base/src/Badge/Badge.spec.tsx @@ -61,7 +61,9 @@ const polymorphicComponentTest = () => { slots={{ root: 'button', }} - onClick={(e: React.MouseEvent) => e.currentTarget.checkValidity()} + onClick={(event: React.MouseEvent) => + event.currentTarget.checkValidity() + } /> @@ -71,9 +73,9 @@ const polymorphicComponentTest = () => { ref={(elem) => { expectType(elem); }} - onClick={(e) => { - expectType, typeof e>(e); - e.currentTarget.checkValidity(); + onClick={(event) => { + expectType, typeof event>(event); + event.currentTarget.checkValidity(); }} /> diff --git a/packages/mui-base/src/Button/Button.spec.tsx b/packages/mui-base/src/Button/Button.spec.tsx index a9122462f4108c..9d1af14518b780 100644 --- a/packages/mui-base/src/Button/Button.spec.tsx +++ b/packages/mui-base/src/Button/Button.spec.tsx @@ -39,8 +39,8 @@ const polymorphicComponentTest = () => { ref={(elem) => { expectType(elem); }} - onClick={(e) => { - expectType, typeof e>(e); + onClick={(event) => { + expectType, typeof event>(event); }} type="submit" /> @@ -60,7 +60,9 @@ const polymorphicComponentTest = () => { viewBox="" /> + Note archived} action={[ - , - log(e)}> + log(event)} + > , ]} @@ -906,7 +915,7 @@ function TextFieldTest() { function SelectTest() { return ( - } value={10} onChange={(event) => log(event.target.value)}> None