Skip to content

Commit 6776b01

Browse files
committed
Merge remote-tracking branch 'upstream/next' into feat/pkg.pr.new
2 parents 070ba3d + a29d09c commit 6776b01

File tree

243 files changed

+5362
-3339
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+5362
-3339
lines changed

.circleci/config.yml

Lines changed: 80 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,6 @@ commands:
6969
description: 'Set to true if you intend to any browser (for example with playwright).'
7070

7171
steps:
72-
- run:
73-
name: Resolve React version
74-
command: |
75-
node scripts/useReactVersion.mjs
76-
# log a patch for maintainers who want to check out this change
77-
git --no-pager diff HEAD
78-
7972
- when:
8073
condition: << parameters.browsers >>
8174
steps:
@@ -106,6 +99,14 @@ commands:
10699
command: |
107100
node --version
108101
pnpm --version
102+
103+
- run:
104+
name: Resolve React version
105+
command: |
106+
pnpm use-react-version
107+
# log a patch for maintainers who want to check out this change
108+
git --no-pager diff HEAD
109+
109110
- run:
110111
name: Install js dependencies
111112
command: pnpm install
@@ -391,7 +392,7 @@ jobs:
391392
<<: *default-job
392393
resource_class: 'medium+'
393394
docker:
394-
- image: mcr.microsoft.com/playwright:v1.45.1-focal
395+
- image: mcr.microsoft.com/playwright:v1.45.3-focal
395396
environment:
396397
NODE_ENV: development # Needed if playwright is in `devDependencies`
397398
steps:
@@ -421,7 +422,7 @@ jobs:
421422
test_e2e:
422423
<<: *default-job
423424
docker:
424-
- image: mcr.microsoft.com/playwright:v1.45.1-focal
425+
- image: mcr.microsoft.com/playwright:v1.45.3-focal
425426
environment:
426427
NODE_ENV: development # Needed if playwright is in `devDependencies`
427428
steps:
@@ -435,7 +436,7 @@ jobs:
435436
# NOTE: This workflow runs after successful docs deploy. See /test/e2e-website/README.md#ci
436437
<<: *default-job
437438
docker:
438-
- image: mcr.microsoft.com/playwright:v1.45.1-focal
439+
- image: mcr.microsoft.com/playwright:v1.45.3-focal
439440
environment:
440441
NODE_ENV: development # Needed if playwright is in `devDependencies`
441442
steps:
@@ -450,7 +451,7 @@ jobs:
450451
test_profile:
451452
<<: *default-job
452453
docker:
453-
- image: mcr.microsoft.com/playwright:v1.45.1-focal
454+
- image: mcr.microsoft.com/playwright:v1.45.3-focal
454455
environment:
455456
NODE_ENV: development # Needed if playwright is in `devDependencies`
456457
steps:
@@ -477,7 +478,7 @@ jobs:
477478
test_regressions:
478479
<<: *default-job
479480
docker:
480-
- image: mcr.microsoft.com/playwright:v1.45.1-focal
481+
- image: mcr.microsoft.com/playwright:v1.45.3-focal
481482
environment:
482483
NODE_ENV: development # Needed if playwright is in `devDependencies`
483484
steps:
@@ -531,7 +532,7 @@ jobs:
531532
<<: *default-job
532533
working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack4/
533534
docker:
534-
- image: mcr.microsoft.com/playwright:v1.45.1-focal
535+
- image: mcr.microsoft.com/playwright:v1.45.3-focal
535536
environment:
536537
NODE_ENV: development # Needed if playwright is in `devDependencies`
537538
steps:
@@ -555,7 +556,7 @@ jobs:
555556
<<: *default-job
556557
working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack5/
557558
docker:
558-
- image: mcr.microsoft.com/playwright:v1.45.1-focal
559+
- image: mcr.microsoft.com/playwright:v1.45.3-focal
559560
environment:
560561
NODE_ENV: development # Needed if playwright is in `devDependencies`
561562
steps:
@@ -579,7 +580,7 @@ jobs:
579580
<<: *default-job
580581
working_directory: /tmp/material-ui/test/bundling/fixtures/create-react-app/
581582
docker:
582-
- image: mcr.microsoft.com/playwright:v1.45.1-focal
583+
- image: mcr.microsoft.com/playwright:v1.45.3-focal
583584
environment:
584585
NODE_ENV: development # Needed if playwright is in `devDependencies`
585586
steps:
@@ -603,7 +604,7 @@ jobs:
603604
<<: *default-job
604605
working_directory: /tmp/material-ui/test/bundling/fixtures/snowpack/
605606
docker:
606-
- image: mcr.microsoft.com/playwright:v1.45.1-focal
607+
- image: mcr.microsoft.com/playwright:v1.45.3-focal
607608
environment:
608609
NODE_ENV: development # Needed if playwright is in `devDependencies`
609610
steps:
@@ -627,7 +628,7 @@ jobs:
627628
<<: *default-job
628629
working_directory: /tmp/material-ui/test/bundling/fixtures/vite/
629630
docker:
630-
- image: mcr.microsoft.com/playwright:v1.45.1-focal
631+
- image: mcr.microsoft.com/playwright:v1.45.3-focal
631632
environment:
632633
NODE_ENV: development # Needed if playwright is in `devDependencies`
633634
steps:
@@ -651,7 +652,7 @@ jobs:
651652
<<: *default-job
652653
working_directory: /tmp/material-ui/test/bundling/fixtures/esbuild/
653654
docker:
654-
- image: mcr.microsoft.com/playwright:v1.45.1-focal
655+
- image: mcr.microsoft.com/playwright:v1.45.3-focal
655656
environment:
656657
NODE_ENV: development # Needed if playwright is in `devDependencies`
657658
steps:
@@ -679,7 +680,7 @@ jobs:
679680
<<: *default-job
680681
working_directory: /tmp/material-ui/test/bundling/fixtures/gatsby/
681682
docker:
682-
- image: mcr.microsoft.com/playwright:v1.45.1-focal
683+
- image: mcr.microsoft.com/playwright:v1.45.3-focal
683684
environment:
684685
NODE_ENV: development # Needed if playwright is in `devDependencies`
685686
steps:
@@ -780,7 +781,7 @@ jobs:
780781
test_benchmark:
781782
<<: *default-job
782783
docker:
783-
- image: mcr.microsoft.com/playwright:v1.45.1-focal
784+
- image: mcr.microsoft.com/playwright:v1.45.3-focal
784785
environment:
785786
NODE_ENV: development # Needed if playwright is in `devDependencies`
786787
steps:
@@ -887,48 +888,106 @@ workflows:
887888
jobs:
888889
- test_profile:
889890
<<: *default-context
891+
892+
# This workflow can be triggered manually on the PR
890893
react-17:
894+
when:
895+
equal: [react-17, << pipeline.parameters.workflow >>]
896+
jobs:
897+
- test_unit:
898+
<<: *default-context
899+
react-version: ^17.0.0
900+
name: test_unit-react@17
901+
- test_browser:
902+
<<: *default-context
903+
react-version: ^17.0.0
904+
name: test_browser-react@17
905+
- test_regressions:
906+
<<: *default-context
907+
react-version: ^17.0.0
908+
name: test_regressions-react@17
909+
- test_e2e:
910+
<<: *default-context
911+
react-version: ^17.0.0
912+
name: test_e2e-react@17
913+
914+
# This workflow is identical to react-17, but scheduled
915+
react-17-cron:
891916
triggers:
892917
- schedule:
893918
cron: '0 0 * * *'
894919
filters:
895920
branches:
896921
only:
897922
- master
923+
- next
898924
jobs:
899925
- test_unit:
900926
<<: *default-context
901927
react-version: ^17.0.0
928+
name: test_unit-react@17
902929
- test_browser:
903930
<<: *default-context
904931
react-version: ^17.0.0
932+
name: test_browser-react@17
905933
- test_regressions:
906934
<<: *default-context
907935
react-version: ^17.0.0
936+
name: test_regressions-react@17
908937
- test_e2e:
909938
<<: *default-context
910939
react-version: ^17.0.0
940+
name: test_e2e-react@17
941+
942+
# This workflow can be triggered manually on the PR
911943
react-next:
944+
when:
945+
equal: [react-next, << pipeline.parameters.workflow >>]
946+
jobs:
947+
- test_unit:
948+
<<: *default-context
949+
react-version: next
950+
name: test_unit-react@next
951+
- test_browser:
952+
<<: *default-context
953+
react-version: next
954+
name: test_browser-react@next
955+
- test_regressions:
956+
<<: *default-context
957+
react-version: next
958+
name: test_regressions-react@next
959+
- test_e2e:
960+
<<: *default-context
961+
react-version: next
962+
name: test_e2e-react@next
963+
# This workflow is identical to react-next, but scheduled
964+
react-next-cron:
912965
triggers:
913966
- schedule:
914967
cron: '0 0 * * *'
915968
filters:
916969
branches:
917970
only:
918971
- master
972+
- next
919973
jobs:
920974
- test_unit:
921975
<<: *default-context
922976
react-version: next
977+
name: test_unit-react@next
923978
- test_browser:
924979
<<: *default-context
925980
react-version: next
981+
name: test_browser-react@next
926982
- test_regressions:
927983
<<: *default-context
928984
react-version: next
985+
name: test_regressions-react@next
929986
- test_e2e:
930987
<<: *default-context
931988
react-version: next
989+
name: test_e2e-react@next
990+
932991
typescript-next:
933992
triggers:
934993
- schedule:
@@ -937,6 +996,7 @@ workflows:
937996
branches:
938997
only:
939998
- master
999+
- next
9401000
jobs:
9411001
- test_types_next:
9421002
<<: *default-context

.codesandbox/ci.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"packages/mui-lab",
1414
"packages/mui-material-nextjs",
1515
"packages/mui-material",
16+
"packages/mui-material-pigment-css",
1617
"packages/mui-private-theming",
1718
"packages/mui-styled-engine-sc",
1819
"packages/mui-styled-engine",
@@ -38,6 +39,7 @@
3839
"@mui/lab": "packages/mui-lab/build",
3940
"@mui/material-nextjs": "packages/mui-material-nextjs/build",
4041
"@mui/material": "packages/mui-material/build",
42+
"@mui/material-pigment-css": "packages/mui-material-pigment-css/build",
4143
"@mui/private-theming": "packages/mui-private-theming/build",
4244
"@mui/styled-engine": "packages/mui-styled-engine/build",
4345
"@mui/styled-engine-sc": "packages/mui-styled-engine-sc/build",

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2020
# Initializes the CodeQL tools for scanning.
2121
- name: Initialize CodeQL
22-
uses: github/codeql-action/init@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3.25.12
22+
uses: github/codeql-action/init@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13
2323
with:
2424
languages: typescript
2525
config-file: ./.github/codeql/codeql-config.yml
@@ -30,4 +30,4 @@ jobs:
3030
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
3131
# queries: security-extended,security-and-quality
3232
- name: Perform CodeQL Analysis
33-
uses: github/codeql-action/analyze@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3.25.12
33+
uses: github/codeql-action/analyze@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ jobs:
4343

4444
# Upload the results to GitHub's code scanning dashboard.
4545
- name: Upload to code-scanning
46-
uses: github/codeql-action/upload-sarif@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3.25.12
46+
uses: github/codeql-action/upload-sarif@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13
4747
with:
4848
sarif_file: results.sarif

0 commit comments

Comments
 (0)