Skip to content

Commit aac1fb6

Browse files
committed
Merge branch 'master' of https://github.com/mui/material-ui into joy/autocomplete
2 parents 7facf3c + 23cf033 commit aac1fb6

File tree

453 files changed

+7061
-7496
lines changed

Some content is hidden

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

453 files changed

+7061
-7496
lines changed

.circleci/config.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,9 @@ jobs:
346346
exit 0
347347
test_browser:
348348
<<: *defaults
349+
resource_class: 'medium+'
349350
docker:
350-
- image: mcr.microsoft.com/playwright:v1.26.1-focal
351+
- image: mcr.microsoft.com/playwright:v1.27.1-focal
351352
environment:
352353
NODE_ENV: development # Needed if playwright is in `devDependencies`
353354
steps:
@@ -377,7 +378,7 @@ jobs:
377378
test_e2e:
378379
<<: *defaults
379380
docker:
380-
- image: mcr.microsoft.com/playwright:v1.26.1-focal
381+
- image: mcr.microsoft.com/playwright:v1.27.1-focal
381382
environment:
382383
NODE_ENV: development # Needed if playwright is in `devDependencies`
383384
steps:
@@ -396,7 +397,7 @@ jobs:
396397
test_e2e_website:
397398
<<: *defaults
398399
docker:
399-
- image: mcr.microsoft.com/playwright:v1.26.1-focal
400+
- image: mcr.microsoft.com/playwright:v1.27.1-focal
400401
environment:
401402
NODE_ENV: development # Needed if playwright is in `devDependencies`
402403
steps:
@@ -411,7 +412,7 @@ jobs:
411412
test_profile:
412413
<<: *defaults
413414
docker:
414-
- image: mcr.microsoft.com/playwright:v1.26.1-focal
415+
- image: mcr.microsoft.com/playwright:v1.27.1-focal
415416
environment:
416417
NODE_ENV: development # Needed if playwright is in `devDependencies`
417418
steps:
@@ -438,7 +439,7 @@ jobs:
438439
test_regressions:
439440
<<: *defaults
440441
docker:
441-
- image: mcr.microsoft.com/playwright:v1.26.1-focal
442+
- image: mcr.microsoft.com/playwright:v1.27.1-focal
442443
environment:
443444
NODE_ENV: development # Needed if playwright is in `devDependencies`
444445
steps:
@@ -492,7 +493,7 @@ jobs:
492493
<<: *defaults
493494
working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack4/
494495
docker:
495-
- image: mcr.microsoft.com/playwright:v1.26.1-focal
496+
- image: mcr.microsoft.com/playwright:v1.27.1-focal
496497
environment:
497498
NODE_ENV: development # Needed if playwright is in `devDependencies`
498499
steps:
@@ -516,7 +517,7 @@ jobs:
516517
<<: *defaults
517518
working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack5/
518519
docker:
519-
- image: mcr.microsoft.com/playwright:v1.26.1-focal
520+
- image: mcr.microsoft.com/playwright:v1.27.1-focal
520521
environment:
521522
NODE_ENV: development # Needed if playwright is in `devDependencies`
522523
steps:
@@ -540,7 +541,7 @@ jobs:
540541
<<: *defaults
541542
working_directory: /tmp/material-ui/test/bundling/fixtures/create-react-app/
542543
docker:
543-
- image: mcr.microsoft.com/playwright:v1.26.1-focal
544+
- image: mcr.microsoft.com/playwright:v1.27.1-focal
544545
environment:
545546
NODE_ENV: development # Needed if playwright is in `devDependencies`
546547
steps:
@@ -564,7 +565,7 @@ jobs:
564565
<<: *defaults
565566
working_directory: /tmp/material-ui/test/bundling/fixtures/snowpack/
566567
docker:
567-
- image: mcr.microsoft.com/playwright:v1.26.1-focal
568+
- image: mcr.microsoft.com/playwright:v1.27.1-focal
568569
environment:
569570
NODE_ENV: development # Needed if playwright is in `devDependencies`
570571
steps:
@@ -588,7 +589,7 @@ jobs:
588589
<<: *defaults
589590
working_directory: /tmp/material-ui/test/bundling/fixtures/vite/
590591
docker:
591-
- image: mcr.microsoft.com/playwright:v1.26.1-focal
592+
- image: mcr.microsoft.com/playwright:v1.27.1-focal
592593
environment:
593594
NODE_ENV: development # Needed if playwright is in `devDependencies`
594595
steps:
@@ -612,7 +613,7 @@ jobs:
612613
<<: *defaults
613614
working_directory: /tmp/material-ui/test/bundling/fixtures/esbuild/
614615
docker:
615-
- image: mcr.microsoft.com/playwright:v1.26.1-focal
616+
- image: mcr.microsoft.com/playwright:v1.27.1-focal
616617
environment:
617618
NODE_ENV: development # Needed if playwright is in `devDependencies`
618619
steps:
@@ -640,7 +641,7 @@ jobs:
640641
<<: *defaults
641642
working_directory: /tmp/material-ui/test/bundling/fixtures/gatsby/
642643
docker:
643-
- image: mcr.microsoft.com/playwright:v1.26.1-focal
644+
- image: mcr.microsoft.com/playwright:v1.27.1-focal
644645
environment:
645646
NODE_ENV: development # Needed if playwright is in `devDependencies`
646647
steps:
@@ -742,7 +743,7 @@ jobs:
742743
test_benchmark:
743744
<<: *defaults
744745
docker:
745-
- image: mcr.microsoft.com/playwright:v1.26.1-focal
746+
- image: mcr.microsoft.com/playwright:v1.27.1-focal
746747
environment:
747748
NODE_ENV: development # Needed if playwright is in `devDependencies`
748749
steps:

.github/CODEOWNERS

Lines changed: 0 additions & 328 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/1.bug.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,12 @@ body:
2626
attributes:
2727
label: Steps to reproduce 🕹
2828
description: |
29-
Please provide a link to a live example and an unambiguous set of steps to reproduce this bug.
30-
31-
As a starting point, we recommend you browse our [documentation](https://mui.com/material-ui/getting-started/installation/), and [select](https://mui.com/static/docs/forking-an-example.png) the closest example to your use case.
29+
**⚠️ Issues that we can't reproduce will be closed.**
3230
33-
Or you can use the [official template](https://mui.com/r/issue-template) to build a reproduction case.
34-
35-
Issues that we can't reproduce will be closed.
31+
Please provide a link to a live example and an unambiguous set of steps to reproduce this bug. As a starting point, we recommend you browse our [documentation](https://mui.com/material-ui/getting-started/installation/), and [select](https://mui.com/static/docs/forking-an-example.png) the closest example to your use case. Or you can use the [official template](https://mui.com/r/issue-template) to build a reproduction case.
3632
value: |
33+
Link to live example:
34+
3735
Steps:
3836
3937
1.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
permissions:
1212
contents: read
1313
steps:
14-
- uses: mnajdova/[email protected]
14+
- uses: mnajdova/github-action-required-labels@ca0df9249827e43aa4b4a0d25d9fe3e9b19b0705 # tag=v2.1
1515
with:
1616
mode: minimum
1717
count: 1

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
os: [macos-latest, windows-latest, ubuntu-latest]
2020
steps:
2121
- run: echo "${{ github.actor }}"
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3
2323
with:
2424
# fetch all tags which are required for `yarn release:changelog`
2525
fetch-depth: 0
2626
- name: Use Node.js 14.x
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # tag=v3
2828
with:
2929
node-version: 14
3030
cache: 'yarn' # https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#caching-packages-dependencies

.github/workflows/codeql.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'CodeQL'
1+
name: CodeQL
22

33
on:
44
schedule:
@@ -12,30 +12,19 @@ jobs:
1212
actions: read
1313
contents: read
1414
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-
2215
steps:
2316
- name: Checkout repository
24-
uses: actions/checkout@v3
25-
17+
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3
2618
# Initializes the CodeQL tools for scanning.
2719
- name: Initialize CodeQL
28-
uses: github/codeql-action/init@v2
20+
uses: github/codeql-action/init@ec3cf9c605b848da5f1e41e8452719eb1ccfb9a6 # tag=v2
2921
with:
30-
languages: ${{ matrix.language }}
22+
languages: typescript
3123
# If you wish to specify custom queries, you can do so here or in a config file.
3224
# By default, queries listed here will override any specified in a config file.
3325
# Prefix the list here with "+" to use these queries and those in the config file.
3426

3527
# 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
3628
# queries: security-extended,security-and-quality
37-
3829
- name: Perform CodeQL Analysis
39-
uses: github/codeql-action/analyze@v2
40-
with:
41-
category: '/language:${{matrix.language}}'
30+
uses: github/codeql-action/analyze@ec3cf9c605b848da5f1e41e8452719eb1ccfb9a6 # tag=v2

.github/workflows/mark-duplicate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
pull-requests: write
1414
steps:
1515
- name: mark-duplicate
16-
uses: actions-cool/issues-helper@v3
16+
uses: actions-cool/issues-helper@02811b26b65e9c0da5f1d8a0095b53478d6591a2 # tag=v3
1717
with:
1818
actions: 'mark-duplicate'
1919
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/no-response.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: No Response
1+
name: No response
22

33
# Both `issue_comment` and `scheduled` event types are required for this Action
44
# to work properly.
@@ -14,9 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515
permissions:
1616
contents: read
17-
pull-requests: write
17+
issues: write
1818
steps:
19-
- uses: lee-dohm/[email protected]
19+
- uses: lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb # tag=v0.5.0
2020
with:
2121
token: ${{ secrets.GITHUB_TOKEN }}
2222
# Number of days of inactivity before an Issue is closed for lack of response

.github/workflows/support-stackoverflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
contents: read
1313
issues: write
1414
steps:
15-
- uses: dessant/support-requests@v2
15+
- uses: dessant/support-requests@876a4de3922dd57434a451e58ad679f986c5da97 # tag=v2
1616
with:
1717
github-token: ${{ secrets.GITHUB_TOKEN }}
1818
# Label used to mark issues as support requests

.markdownlint-cli2.cjs

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
const straightQuotes = require('./packages/markdownlint-rule-mui/straight-quotes');
2+
const gitDiff = require('./packages/markdownlint-rule-mui/git-diff');
23

4+
// https://github.com/DavidAnson/markdownlint#rules--aliases
35
module.exports = {
46
config: {
57
default: true,
68
MD004: false, // MD004/ul-style. Buggy
9+
MD009: {
10+
// MD009/no-trailing-spaces
11+
br_spaces: 0,
12+
strict: true,
13+
list_item_empty_lines: false,
14+
},
715
MD013: false, // MD013/line-length. Already handled by Prettier.
816
MD014: false, // MD014/commands-show-output. It's OK.
917
MD024: { siblings_only: true }, // MD024/no-duplicate-heading/no-duplicate-header
@@ -22,7 +30,15 @@ module.exports = {
2230
MD051: false, // MD051/link-fragments. Many false positives in the changelog.
2331
MD052: false, // MD052/reference-links-images. Many false positives in the changelog.
2432
straightQuotes: true,
33+
gitDiff: true,
2534
},
26-
customRules: [straightQuotes],
27-
ignores: ['**/node_modules/**', '**/*-zh.md', '**/*-pt.md', '.github/PULL_REQUEST_TEMPLATE.md'],
35+
customRules: [straightQuotes, gitDiff],
36+
ignores: [
37+
'CHANGELOG.old.md',
38+
'**/node_modules/**',
39+
'**/*-zh.md',
40+
'**/*-pt.md',
41+
'**/build/**',
42+
'.github/PULL_REQUEST_TEMPLATE.md',
43+
],
2844
};

0 commit comments

Comments
 (0)