Skip to content

Commit 14028b4

Browse files
committed
Merge branch 'master' of https://github.com/mui/material-ui into fix/create-theme-vars
2 parents 32aeb9b + 029eb3b commit 14028b4

File tree

507 files changed

+2141
-2263
lines changed

Some content is hidden

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

507 files changed

+2141
-2263
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/.git
22
/.yarn
3-
/benchmark/**/dist
43
/coverage
54
/docs/export
65
/docs/pages/playground/
@@ -29,6 +28,7 @@
2928
/tmp
3029
.next
3130
build
31+
dist
3232
node_modules
3333
.nyc_output
3434
pnpm-lock.yaml

.eslintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,11 @@ module.exports = {
223223
selector:
224224
'ImportDeclaration[source.value="react-dom/server"] ImportDefaultSpecifier, ImportDeclaration[source.value="react-dom/server"] ImportSpecifier',
225225
},
226+
{
227+
message:
228+
"The 'use client' pragma can't be used with export * in the same module. This is not supported by Next.js.",
229+
selector: 'ExpressionStatement[expression.value="use client"] ~ ExportAllDeclaration',
230+
},
226231
],
227232

228233
// We re-export default in many places, remove when https://github.com/airbnb/javascript/issues/2500 gets resolved

.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@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2
22+
uses: github/codeql-action/init@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
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@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2
33+
uses: github/codeql-action/analyze@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5

.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@429e1977040da7a23b6822b13c129cd1ba93dbb2 # v3.26.2
46+
uses: github/codeql-action/upload-sarif@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
4747
with:
4848
sarif_file: results.sarif

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
*.tsbuildinfo
1212
/.eslintcache
1313
/.nyc_output
14-
/benchmark/**/dist
1514
/coverage
1615
/docs/.env.local
1716
/docs/export
@@ -34,6 +33,7 @@
3433
# created by netlify dev (to perform local debug)
3534
.netlify
3635
build
36+
dist
3737
node_modules
3838
package-lock.json
3939
size-snapshot.json

apps/pigment-css-vite-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@vitejs/plugin-react": "^4.3.1",
3232
"postcss": "^8.4.41",
3333
"postcss-combine-media-query": "^1.0.1",
34-
"vite": "5.4.1",
34+
"vite": "5.4.2",
3535
"vite-plugin-pages": "^0.32.3"
3636
},
3737
"nx": {

babel.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ module.exports = function getBabelConfig(api) {
9292
'@babel/plugin-transform-runtime',
9393
{
9494
useESModules,
95-
// any package needs to declare 7.4.4 as a runtime dependency. default is ^7.0.0
96-
version: '^7.4.4',
95+
// any package needs to declare 7.25.0 as a runtime dependency. default is ^7.0.0
96+
version: '^7.25.0',
9797
},
9898
],
9999
[

docs/data/material/components/dialogs/dialogs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function MyComponent() {
113113
Confirmation dialogs require users to explicitly confirm their choice before an option is committed.
114114
For example, users can listen to multiple ringtones but only make a final selection upon touching "OK".
115115

116-
Touching "Cancel" in a confirmation dialog, or pressing Back, cancels the action, discards any changes, and closes the dialog.
116+
Touching "Cancel" in a confirmation dialog, cancels the action, discards any changes, and closes the dialog.
117117

118118
{{"demo": "ConfirmationDialog.js"}}
119119

docs/data/material/components/table/DataTable.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import * as React from 'react';
22
import { DataGrid } from '@mui/x-data-grid';
3+
import Paper from '@mui/material/Paper';
34

45
const columns = [
56
{ field: 'id', headerName: 'ID', width: 70 },
@@ -33,21 +34,19 @@ const rows = [
3334
{ id: 9, lastName: 'Roxie', firstName: 'Harvey', age: 65 },
3435
];
3536

37+
const paginationModel = { page: 0, pageSize: 5 };
38+
3639
export default function DataTable() {
3740
return (
38-
<div style={{ height: 400, width: '100%' }}>
41+
<Paper sx={{ height: 400, width: '100%' }}>
3942
<DataGrid
4043
rows={rows}
4144
columns={columns}
42-
initialState={{
43-
pagination: {
44-
paginationModel: { page: 0, pageSize: 5 },
45-
},
46-
}}
45+
initialState={{ pagination: { paginationModel } }}
4746
pageSizeOptions={[5, 10]}
4847
checkboxSelection
49-
sx={{ overflow: 'clip' }}
48+
sx={{ border: 0 }}
5049
/>
51-
</div>
50+
</Paper>
5251
);
5352
}

docs/data/material/components/table/DataTable.tsx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import * as React from 'react';
22
import { DataGrid, GridColDef } from '@mui/x-data-grid';
3+
import Paper from '@mui/material/Paper';
34

45
const columns: GridColDef[] = [
56
{ field: 'id', headerName: 'ID', width: 70 },
@@ -33,21 +34,19 @@ const rows = [
3334
{ id: 9, lastName: 'Roxie', firstName: 'Harvey', age: 65 },
3435
];
3536

37+
const paginationModel = { page: 0, pageSize: 5 };
38+
3639
export default function DataTable() {
3740
return (
38-
<div style={{ height: 400, width: '100%' }}>
41+
<Paper sx={{ height: 400, width: '100%' }}>
3942
<DataGrid
4043
rows={rows}
4144
columns={columns}
42-
initialState={{
43-
pagination: {
44-
paginationModel: { page: 0, pageSize: 5 },
45-
},
46-
}}
45+
initialState={{ pagination: { paginationModel } }}
4746
pageSizeOptions={[5, 10]}
4847
checkboxSelection
49-
sx={{ overflow: 'clip' }}
48+
sx={{ border: 0 }}
5049
/>
51-
</div>
50+
</Paper>
5251
);
5352
}

0 commit comments

Comments
 (0)