Skip to content

[core] Improve React 19 support #16048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 30 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
fb6cdef
[core] Improve React 19 support (#15769)
renovate[bot] Dec 30, 2024
38567b3
update lock
LukasTy Dec 31, 2024
5d2522d
Remove redundant `@types/react-test-render` dep
LukasTy Dec 31, 2024
948c271
Bump `@mui/internal-test-utils` and `@testing-library/react`
LukasTy Dec 31, 2024
0f271f8
Bump `sinon`
LukasTy Dec 31, 2024
cfc0a84
Bump `jsdom`
LukasTy Dec 31, 2024
d8af3cb
Run codemods
LukasTy Dec 31, 2024
2c71663
Fix new v7 problems
LukasTy Dec 31, 2024
9fc2d9f
prettier
LukasTy Dec 31, 2024
1e090e4
proptypes
LukasTy Dec 31, 2024
da21834
docs:typescript:formatted
LukasTy Dec 31, 2024
b036ac1
Bump mocha
LukasTy Dec 31, 2024
cc9626a
fix
LukasTy Dec 31, 2024
bed8db9
remove unwanted `| null` in ref
LukasTy Dec 31, 2024
9dbd4af
fix test
LukasTy Dec 31, 2024
f878fb5
Try without `act` over `exportState()` call
LukasTy Jan 1, 2025
2cce28b
Fix eslint issue
LukasTy Jan 1, 2025
89b7062
Try fixing a test
LukasTy Jan 1, 2025
1b2528d
Bump next
LukasTy Jan 1, 2025
df886f1
dedupe
LukasTy Jan 1, 2025
5647c47
Update `next-env.d.ts`
LukasTy Jan 1, 2025
5da939a
Bump `@mui/monorepo`
LukasTy Jan 1, 2025
7fac7d4
Bump `@mui/docs`
LukasTy Jan 1, 2025
d155a48
change chart line demo to be same as v8
JCQuintas Jan 1, 2025
0d13454
remove translation rule in docs/**
JCQuintas Jan 1, 2025
182adad
fix eslint
JCQuintas Jan 1, 2025
9c7b9bc
Revert "fix eslint"
JCQuintas Jan 1, 2025
650ef96
ignore error
JCQuintas Jan 1, 2025
4985964
Revert "remove translation rule in docs/**"
JCQuintas Jan 1, 2025
cad51b6
add inline rules
JCQuintas Jan 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docs/src/modules/components/ApiDocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,13 @@ function ApiProperty({ index, property, plan }) {
>
<PrimaryHeading>
<React.Fragment>
{/* eslint-disable-next-line material-ui/no-hardcoded-labels */}
{`${property.name}()`}
<PlanIcon plan={plan} />
</React.Fragment>
</PrimaryHeading>
<SecondaryHeading dangerouslySetInnerHTML={{ __html: property.description }} />
</AccordionSummary>
<AccordionDetails sx={{ display: 'block' }}>
{/* eslint-disable-next-line material-ui/no-hardcoded-labels */}
<Typography variant="subtitle2">Signature:</Typography>
<HighlightedCode
code={`${property.name}: ${property.type}`}
Expand Down
1 change: 0 additions & 1 deletion docs/src/modules/components/LocalizationTable.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable material-ui/no-hardcoded-labels */
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
Expand Down
2 changes: 0 additions & 2 deletions docs/src/modules/components/SelectorsDocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,8 @@ function SelectorAccordion({ selector }) {
/>
</AccordionSummary>
<SelectorDetails>
{/* eslint-disable-next-line material-ui/no-hardcoded-labels */}
<Typography variant="subtitle2">Signature:</Typography>
<SelectorExample code={signature} language="tsx" />
{/* eslint-disable-next-line material-ui/no-hardcoded-labels */}
<Typography variant="subtitle2">Example</Typography>
<SelectorExample code={example} language="tsx" />
</SelectorDetails>
Expand Down
1 change: 0 additions & 1 deletion docs/src/modules/components/WhatsNewLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ function BlogCard({ entry }) {
width: { xs: '100%', sm: 'fit-content' },
}}
>
{/* eslint-disable-next-line material-ui/no-hardcoded-labels */}
{'Read more'}
</Button>
)}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/modules/utils/postProcessImport.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from 'chai';
import pickersPackageJson from '../../../../packages/x-date-pickers/package.json';
import pickersPackageJson from '@mui/x-date-pickers/package.json';
import { ADAPTER_TO_LIBRARY, postProcessImport } from './postProcessImport';

describe('postProcessImport', () => {
Expand Down
2 changes: 1 addition & 1 deletion docs/src/modules/utils/postProcessImport.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import pickersPackageJson from '../../../../packages/x-date-pickers/package.json';
import pickersPackageJson from '@mui/x-date-pickers/package.json';

export const ADAPTER_TO_LIBRARY: Record<string, keyof typeof pickersPackageJson.devDependencies> = {
AdapterDateFns: 'date-fns',
Expand Down
Loading