Skip to content

Commit 1304c13

Browse files
committed
Merge branch 'master' of https://github.com/mui/material-ui into joy/autocomplete
2 parents 9780a9d + 32c33b5 commit 1304c13

File tree

907 files changed

+19499
-11050
lines changed

Some content is hidden

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

907 files changed

+19499
-11050
lines changed

.circleci/config.yml

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ commands:
102102
- v6-playwright-{{ arch }}-{{ checksum "/tmp/playwright_info.json" }}
103103
- run:
104104
name: Install js dependencies
105-
command: yarn install --verbose
105+
command: yarn install
106106
environment:
107107
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: <<# parameters.browsers >>0<</ parameters.browsers >><<^ parameters.browsers >>1<</ parameters.browsers >>
108108
- save_cache:
@@ -240,6 +240,11 @@ jobs:
240240
command: |
241241
yarn extract-error-codes
242242
git diff --exit-code
243+
- run:
244+
name: '`yarn docs:link-check` changes committed?'
245+
command: |
246+
yarn docs:link-check
247+
git diff --exit-code
243248
test_types:
244249
<<: *defaults
245250
resource_class: 'medium+'
@@ -342,7 +347,7 @@ jobs:
342347
test_browser:
343348
<<: *defaults
344349
docker:
345-
- image: mcr.microsoft.com/playwright:v1.26.0-focal
350+
- image: mcr.microsoft.com/playwright:v1.26.1-focal
346351
environment:
347352
NODE_ENV: development # Needed if playwright is in `devDependencies`
348353
steps:
@@ -372,7 +377,7 @@ jobs:
372377
test_e2e:
373378
<<: *defaults
374379
docker:
375-
- image: mcr.microsoft.com/playwright:v1.26.0-focal
380+
- image: mcr.microsoft.com/playwright:v1.26.1-focal
376381
environment:
377382
NODE_ENV: development # Needed if playwright is in `devDependencies`
378383
steps:
@@ -391,7 +396,7 @@ jobs:
391396
test_e2e_website:
392397
<<: *defaults
393398
docker:
394-
- image: mcr.microsoft.com/playwright:v1.26.0-focal
399+
- image: mcr.microsoft.com/playwright:v1.26.1-focal
395400
environment:
396401
NODE_ENV: development # Needed if playwright is in `devDependencies`
397402
steps:
@@ -406,7 +411,7 @@ jobs:
406411
test_profile:
407412
<<: *defaults
408413
docker:
409-
- image: mcr.microsoft.com/playwright:v1.26.0-focal
414+
- image: mcr.microsoft.com/playwright:v1.26.1-focal
410415
environment:
411416
NODE_ENV: development # Needed if playwright is in `devDependencies`
412417
steps:
@@ -433,7 +438,7 @@ jobs:
433438
test_regressions:
434439
<<: *defaults
435440
docker:
436-
- image: mcr.microsoft.com/playwright:v1.26.0-focal
441+
- image: mcr.microsoft.com/playwright:v1.26.1-focal
437442
environment:
438443
NODE_ENV: development # Needed if playwright is in `devDependencies`
439444
steps:
@@ -487,7 +492,7 @@ jobs:
487492
<<: *defaults
488493
working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack4/
489494
docker:
490-
- image: mcr.microsoft.com/playwright:v1.26.0-focal
495+
- image: mcr.microsoft.com/playwright:v1.26.1-focal
491496
environment:
492497
NODE_ENV: development # Needed if playwright is in `devDependencies`
493498
steps:
@@ -511,7 +516,7 @@ jobs:
511516
<<: *defaults
512517
working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack5/
513518
docker:
514-
- image: mcr.microsoft.com/playwright:v1.26.0-focal
519+
- image: mcr.microsoft.com/playwright:v1.26.1-focal
515520
environment:
516521
NODE_ENV: development # Needed if playwright is in `devDependencies`
517522
steps:
@@ -535,7 +540,7 @@ jobs:
535540
<<: *defaults
536541
working_directory: /tmp/material-ui/test/bundling/fixtures/create-react-app/
537542
docker:
538-
- image: mcr.microsoft.com/playwright:v1.26.0-focal
543+
- image: mcr.microsoft.com/playwright:v1.26.1-focal
539544
environment:
540545
NODE_ENV: development # Needed if playwright is in `devDependencies`
541546
steps:
@@ -559,7 +564,7 @@ jobs:
559564
<<: *defaults
560565
working_directory: /tmp/material-ui/test/bundling/fixtures/snowpack/
561566
docker:
562-
- image: mcr.microsoft.com/playwright:v1.26.0-focal
567+
- image: mcr.microsoft.com/playwright:v1.26.1-focal
563568
environment:
564569
NODE_ENV: development # Needed if playwright is in `devDependencies`
565570
steps:
@@ -583,7 +588,7 @@ jobs:
583588
<<: *defaults
584589
working_directory: /tmp/material-ui/test/bundling/fixtures/vite/
585590
docker:
586-
- image: mcr.microsoft.com/playwright:v1.26.0-focal
591+
- image: mcr.microsoft.com/playwright:v1.26.1-focal
587592
environment:
588593
NODE_ENV: development # Needed if playwright is in `devDependencies`
589594
steps:
@@ -607,7 +612,7 @@ jobs:
607612
<<: *defaults
608613
working_directory: /tmp/material-ui/test/bundling/fixtures/esbuild/
609614
docker:
610-
- image: mcr.microsoft.com/playwright:v1.26.0-focal
615+
- image: mcr.microsoft.com/playwright:v1.26.1-focal
611616
environment:
612617
NODE_ENV: development # Needed if playwright is in `devDependencies`
613618
steps:
@@ -635,7 +640,7 @@ jobs:
635640
<<: *defaults
636641
working_directory: /tmp/material-ui/test/bundling/fixtures/gatsby/
637642
docker:
638-
- image: mcr.microsoft.com/playwright:v1.26.0-focal
643+
- image: mcr.microsoft.com/playwright:v1.26.1-focal
639644
environment:
640645
NODE_ENV: development # Needed if playwright is in `devDependencies`
641646
steps:
@@ -737,7 +742,7 @@ jobs:
737742
test_benchmark:
738743
<<: *defaults
739744
docker:
740-
- image: mcr.microsoft.com/playwright:v1.26.0-focal
745+
- image: mcr.microsoft.com/playwright:v1.26.1-focal
741746
environment:
742747
NODE_ENV: development # Needed if playwright is in `devDependencies`
743748
steps:

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/benchmark/**/dist
44
/coverage
55
/docs/export
6-
/docs/pages/playground.tsx
6+
/docs/pages/playground/
77
/examples/create-react-app*/src/serviceWorker.js
88
/examples/gatsby/public/
99
/examples/preact/config

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ module.exports = {
159159
'react/state-in-constructor': 'off',
160160
// stylistic opinion. For conditional assignment we want it outside, otherwise as static
161161
'react/static-property-placement': 'off',
162+
// Currently not in recommended ruleset but catches real bugs.
163+
'react/no-unstable-nested-components': 'error',
162164
},
163165
overrides: [
164166
{

.github/workflows/check-if-pr-has-label.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
test-label-applied:
99
# Tests that label is added on the PR
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
1113
steps:
1214
- uses: mnajdova/[email protected]
1315
with:

.github/workflows/codeql.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: 'CodeQL'
2+
3+
on:
4+
schedule:
5+
- cron: '0 2 * * 1-5'
6+
7+
jobs:
8+
analyze:
9+
name: Analyze
10+
runs-on: ubuntu-latest
11+
permissions:
12+
actions: read
13+
contents: read
14+
security-events: write
15+
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
language: ['javascript', 'typescript']
20+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
21+
22+
steps:
23+
- name: Checkout repository
24+
uses: actions/checkout@v3
25+
26+
# Initializes the CodeQL tools for scanning.
27+
- name: Initialize CodeQL
28+
uses: github/codeql-action/init@v2
29+
with:
30+
languages: ${{ matrix.language }}
31+
# If you wish to specify custom queries, you can do so here or in a config file.
32+
# By default, queries listed here will override any specified in a config file.
33+
# Prefix the list here with "+" to use these queries and those in the config file.
34+
35+
# 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
36+
# queries: security-extended,security-and-quality
37+
38+
- name: Perform CodeQL Analysis
39+
uses: github/codeql-action/analyze@v2
40+
with:
41+
category: '/language:${{matrix.language}}'

.github/workflows/maintenance.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: 'Maintenance'
1+
name: Maintenance
2+
23
on:
34
# So that PRs touching the same files as the push are updated
45
push:
@@ -20,6 +21,9 @@ jobs:
2021
# We rely on other pushes to mark these branches as outdated.
2122
if: ${{ github.actor != 'l10nbot' }}
2223
runs-on: ubuntu-latest
24+
permissions:
25+
contents: read
26+
pull-requests: write
2327
steps:
2428
- run: echo "${{ github.actor }}"
2529
- name: check if prs are dirty

.github/workflows/issue-mark-duplicate.yml renamed to .github/workflows/mark-duplicate.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Issue Mark Duplicate
1+
name: Mark duplicate
22

33
on:
44
issue_comment:
@@ -7,6 +7,10 @@ on:
77
jobs:
88
mark-duplicate:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
issues: write
13+
pull-requests: write
1014
steps:
1115
- name: mark-duplicate
1216
uses: actions-cool/issues-helper@v3

.github/workflows/no-response.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
jobs:
1313
noResponse:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
pull-requests: write
1518
steps:
1619
- uses: lee-dohm/[email protected]
1720
with:

.github/workflows/support-stackoverflow.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Configuration for support-requests - https://github.com/dessant/support-requests
2-
name: 'Support Stack Overflow'
2+
name: Support Stack Overflow
33

44
on:
55
issues:
66
types: [labeled, unlabeled, reopened]
77

8-
permissions:
9-
issues: write
10-
118
jobs:
129
mark-support:
1310
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
issues: write
1414
steps:
1515
- uses: dessant/support-requests@v2
1616
with:

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/coverage
1515
/docs/.env.local
1616
/docs/export
17-
/docs/pages/playground.tsx
17+
/docs/pages/playground/
1818
/examples/**/.cache
1919
/packages/mui-codemod/lib
2020
/packages/mui-envinfo/*.tgz

0 commit comments

Comments
 (0)