Skip to content

Commit 5c773ad

Browse files
Merge branch 'master' into fix-40671-variants-callback-typescript
2 parents af168d1 + 434cdc1 commit 5c773ad

File tree

2,105 files changed

+33712
-11929
lines changed

Some content is hidden

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

2,105 files changed

+33712
-11929
lines changed

.circleci/config.yml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -166,17 +166,17 @@ jobs:
166166
echo "no changes"
167167
fi
168168
- run:
169-
name: typescript-to-proptypes
169+
name: internal-scripts
170170
command: |
171171
# latest commit
172172
LATEST_COMMIT=$(git rev-parse HEAD)
173173
174-
# latest commit where packages/typescript-to-proptypes was changed
175-
FOLDER_COMMIT=$(git log -1 --format=format:%H --full-diff packages/typescript-to-proptypes)
174+
# latest commit where internal-scripts was changed
175+
FOLDER_COMMIT=$(git log -1 --format=format:%H --full-diff packages-internal/scripts)
176176
177177
if [ $FOLDER_COMMIT = $LATEST_COMMIT ]; then
178178
echo "changes, let's run the tests"
179-
pnpm --filter typescript-to-proptypes test
179+
pnpm --filter @mui/internal-scripts test
180180
else
181181
echo "no changes"
182182
fi
@@ -260,6 +260,8 @@ jobs:
260260
- run:
261261
name: Tests TypeScript definitions
262262
command: pnpm typescript:ci
263+
environment:
264+
NODE_OPTIONS: --max-old-space-size=3072
263265
- run:
264266
name: Test module augmentation
265267
command: |
@@ -336,7 +338,7 @@ jobs:
336338
<<: *defaults
337339
resource_class: 'medium+'
338340
docker:
339-
- image: mcr.microsoft.com/playwright:v1.41.1-focal
341+
- image: mcr.microsoft.com/playwright:v1.41.2-focal
340342
environment:
341343
NODE_ENV: development # Needed if playwright is in `devDependencies`
342344
steps:
@@ -366,7 +368,7 @@ jobs:
366368
test_e2e:
367369
<<: *defaults
368370
docker:
369-
- image: mcr.microsoft.com/playwright:v1.41.1-focal
371+
- image: mcr.microsoft.com/playwright:v1.41.2-focal
370372
environment:
371373
NODE_ENV: development # Needed if playwright is in `devDependencies`
372374
steps:
@@ -385,7 +387,7 @@ jobs:
385387
test_e2e_website:
386388
<<: *defaults
387389
docker:
388-
- image: mcr.microsoft.com/playwright:v1.41.1-focal
390+
- image: mcr.microsoft.com/playwright:v1.41.2-focal
389391
environment:
390392
NODE_ENV: development # Needed if playwright is in `devDependencies`
391393
steps:
@@ -400,7 +402,7 @@ jobs:
400402
test_profile:
401403
<<: *defaults
402404
docker:
403-
- image: mcr.microsoft.com/playwright:v1.41.1-focal
405+
- image: mcr.microsoft.com/playwright:v1.41.2-focal
404406
environment:
405407
NODE_ENV: development # Needed if playwright is in `devDependencies`
406408
steps:
@@ -427,7 +429,7 @@ jobs:
427429
test_regressions:
428430
<<: *defaults
429431
docker:
430-
- image: mcr.microsoft.com/playwright:v1.41.1-focal
432+
- image: mcr.microsoft.com/playwright:v1.41.2-focal
431433
environment:
432434
NODE_ENV: development # Needed if playwright is in `devDependencies`
433435
steps:
@@ -481,7 +483,7 @@ jobs:
481483
<<: *defaults
482484
working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack4/
483485
docker:
484-
- image: mcr.microsoft.com/playwright:v1.41.1-focal
486+
- image: mcr.microsoft.com/playwright:v1.41.2-focal
485487
environment:
486488
NODE_ENV: development # Needed if playwright is in `devDependencies`
487489
steps:
@@ -505,7 +507,7 @@ jobs:
505507
<<: *defaults
506508
working_directory: /tmp/material-ui/test/bundling/fixtures/next-webpack5/
507509
docker:
508-
- image: mcr.microsoft.com/playwright:v1.41.1-focal
510+
- image: mcr.microsoft.com/playwright:v1.41.2-focal
509511
environment:
510512
NODE_ENV: development # Needed if playwright is in `devDependencies`
511513
steps:
@@ -529,7 +531,7 @@ jobs:
529531
<<: *defaults
530532
working_directory: /tmp/material-ui/test/bundling/fixtures/create-react-app/
531533
docker:
532-
- image: mcr.microsoft.com/playwright:v1.41.1-focal
534+
- image: mcr.microsoft.com/playwright:v1.41.2-focal
533535
environment:
534536
NODE_ENV: development # Needed if playwright is in `devDependencies`
535537
steps:
@@ -553,7 +555,7 @@ jobs:
553555
<<: *defaults
554556
working_directory: /tmp/material-ui/test/bundling/fixtures/snowpack/
555557
docker:
556-
- image: mcr.microsoft.com/playwright:v1.41.1-focal
558+
- image: mcr.microsoft.com/playwright:v1.41.2-focal
557559
environment:
558560
NODE_ENV: development # Needed if playwright is in `devDependencies`
559561
steps:
@@ -577,7 +579,7 @@ jobs:
577579
<<: *defaults
578580
working_directory: /tmp/material-ui/test/bundling/fixtures/vite/
579581
docker:
580-
- image: mcr.microsoft.com/playwright:v1.41.1-focal
582+
- image: mcr.microsoft.com/playwright:v1.41.2-focal
581583
environment:
582584
NODE_ENV: development # Needed if playwright is in `devDependencies`
583585
steps:
@@ -601,7 +603,7 @@ jobs:
601603
<<: *defaults
602604
working_directory: /tmp/material-ui/test/bundling/fixtures/esbuild/
603605
docker:
604-
- image: mcr.microsoft.com/playwright:v1.41.1-focal
606+
- image: mcr.microsoft.com/playwright:v1.41.2-focal
605607
environment:
606608
NODE_ENV: development # Needed if playwright is in `devDependencies`
607609
steps:
@@ -629,7 +631,7 @@ jobs:
629631
<<: *defaults
630632
working_directory: /tmp/material-ui/test/bundling/fixtures/gatsby/
631633
docker:
632-
- image: mcr.microsoft.com/playwright:v1.41.1-focal
634+
- image: mcr.microsoft.com/playwright:v1.41.2-focal
633635
environment:
634636
NODE_ENV: development # Needed if playwright is in `devDependencies`
635637
steps:
@@ -730,7 +732,7 @@ jobs:
730732
test_benchmark:
731733
<<: *defaults
732734
docker:
733-
- image: mcr.microsoft.com/playwright:v1.41.1-focal
735+
- image: mcr.microsoft.com/playwright:v1.41.2-focal
734736
environment:
735737
NODE_ENV: development # Needed if playwright is in `devDependencies`
736738
steps:

.codesandbox/ci.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"installCommand": "install:codesandbox",
44
"node": "18",
55
"packages": [
6+
"packages/docs-utils",
7+
"packages/markdown",
8+
"packages/mui-babel-macros",
69
"packages/mui-base",
710
"packages/mui-codemod",
811
"packages/mui-core-downloads-tracker",
@@ -19,32 +22,39 @@
1922
"packages/mui-system",
2023
"packages/mui-types",
2124
"packages/mui-utils",
22-
"packages/docs-utils",
23-
"packages/typescript-to-proptypes"
25+
"packages-internal/scripts",
26+
"packages/pigment-react",
27+
"packages/pigment-unplugin",
28+
"packages/pigment-vite-plugin",
29+
"packages/pigment-nextjs-plugin"
2430
],
2531
"publishDirectory": {
2632
"@mui/base": "packages/mui-base/build",
2733
"@mui/codemod": "packages/mui-codemod/build",
2834
"@mui/core-downloads-tracker": "packages/mui-core-downloads-tracker/build",
2935
"@mui/icons-material": "packages/mui-icons-material/build",
36+
"@mui/internal-babel-macros": "packages/mui-babel-macros",
37+
"@mui/internal-markdown": "packages/markdown",
38+
"@mui/internal-scripts": "packages-internal/scripts",
3039
"@mui/joy": "packages/mui-joy/build",
3140
"@mui/lab": "packages/mui-lab/build",
3241
"@mui/material-next": "packages/mui-material-next/build",
3342
"@mui/material-nextjs": "packages/mui-material-nextjs/build",
3443
"@mui/material": "packages/mui-material/build",
3544
"@mui/private-theming": "packages/mui-private-theming/build",
36-
"@mui/styled-engine-sc": "packages/mui-styled-engine-sc/build",
3745
"@mui/styled-engine": "packages/mui-styled-engine/build",
46+
"@mui/styled-engine-sc": "packages/mui-styled-engine-sc/build",
3847
"@mui/styles": "packages/mui-styles/build",
3948
"@mui/system": "packages/mui-system/build",
4049
"@mui/types": "packages/mui-types/build",
4150
"@mui/utils": "packages/mui-utils/build",
4251
"@mui-internal/docs-utils": "packages/docs-utils",
43-
"@mui-internal/typescript-to-proptypes": "packages/typescript-to-proptypes"
52+
"@pigmentcss/react": "packages/pigment-react",
53+
"@pigmentcss/unplugin": "packages/pigment-unplugin",
54+
"@pigmentcss/vite-plugin": "packages/pigment-vite-plugin",
55+
"@pigmentcss/nextjs-plugin": "packages/pigment-nextjs-plugin"
4456
},
4557
"sandboxes": [
46-
"material-ui-issue-latest-s2dsx",
47-
"/examples/material-ui-cra",
4858
"/examples/material-ui-cra-ts",
4959
"/examples/joy-ui-cra-ts",
5060
"/examples/base-ui-cra-ts"

.eslintignore

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,14 @@
1919
/packages/mui-icons-material/src/*.js
2020
/packages/mui-icons-material/templateSvgIcon.js
2121
/packages/mui-utils/macros/__fixtures__/
22-
/packages/zero-runtime/utils/
23-
/packages/zero-runtime/processors/
24-
/packages/zero-runtime/exports/
25-
/packages/zero-runtime/theme/
26-
/packages/zero-next-plugin/loader.js
22+
/packages/pigment-react/utils/
23+
/packages/pigment-react/processors/
24+
/packages/pigment-react/exports/
25+
/packages/pigment-react/theme/
26+
/packages/pigment-react/tests/fixtures/
27+
/packages/pigment-nextjs-plugin/loader.js
2728
# Ignore fixtures
28-
/packages/typescript-to-proptypes/test/*/*
29+
/packages-internal/scripts/typescript-to-proptypes/test/*/*
2930
/test/bundling/fixtures/**/*.fixture.js
3031
# just an import that reports eslint errors depending on whether the fixture (which is not checked in) exists
3132
/test/bundling/fixtures/create-react-app/src/index.js

.eslintrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ module.exports = {
413413
},
414414
},
415415
{
416-
files: ['packages/typescript-to-proptypes/src/**/*.ts'],
416+
files: ['packages-internal/scripts/typescript-to-proptypes/src/**/*.ts'],
417417
rules: {
418418
// Working with flags is common in TypeScript compiler
419419
'no-bitwise': 'off',
@@ -465,7 +465,7 @@ module.exports = {
465465
},
466466
},
467467
{
468-
files: ['scripts/**/*.mjs', 'packages/**/*.mjs'],
468+
files: ['**/*.mjs'],
469469
rules: {
470470
'import/extensions': ['error', 'ignorePackages'],
471471
},

.github/ISSUE_TEMPLATE/1.bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ body:
99
attributes:
1010
label: Search keywords
1111
description: |
12-
Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/material-ui/issues).
12+
Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/material-ui/issues?q=is%3Aopen+is%3Aclosed).
1313
If your issue isn't a duplicate, great! Please list the keywords you used so people in the future can find this one more easily:
1414
validations:
1515
required: true

.github/ISSUE_TEMPLATE/2.feature.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ body:
99
attributes:
1010
label: Search keywords
1111
description: |
12-
Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/material-ui/issues).
12+
Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/material-ui/issues?q=is%3Aopen+is%3Aclosed).
1313
If your issue isn't a duplicate, great! Please list the keywords you used so people in the future can find this one more easily:
1414
validations:
1515
required: true

.github/ISSUE_TEMPLATE/4.docs-feedback.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ body:
1010
attributes:
1111
label: Search keywords
1212
description: |
13-
Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/material-ui/issues).
13+
Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/material-ui/issues?q=is%3Aopen+is%3Aclosed).
1414
If your issue isn't a duplicate, great! Please list the keywords you used so people in the future can find this one more easily:
1515
validations:
1616
required: true

.github/ISSUE_TEMPLATE/5.priority-support.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ body:
1111
attributes:
1212
label: Search keywords
1313
description: |
14-
Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/material-ui/issues).
14+
Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/material-ui/issues?q=is%3Aopen+is%3Aclosed).
1515
If your issue isn't a duplicate, great! Please list the keywords you used so people in the future can find this one more easily:
1616
required: true
1717
- type: checkboxes

.github/styles/Vocab/accept.txt

Whitespace-only changes.

.github/styles/Vocab/reject.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)