Skip to content
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

[material-ui][InputBase] Deprecate components and componentProps props for v6 #42093

Merged
merged 11 commits into from
May 29, 2024

Conversation

ChronicusUA
Copy link
Contributor

Part of: #41279
Deprecate components and componentsProps props

When I added deprecated for InputBase and after running process commands from there I found out that components for Input, FilledInput and OutlinedInput are updated as well. So here the changes for the all 4. If you need to seprate the PR for 4 others (in this case we will have conflicts for migrating-from-deprecated-apis.md and mui-codemod/README.md files after merging 1 by 1) please let me know.
It will be great if you run tests for mui-codemod locally on linux/Max machine. I run it on my Windows machine and added some potential fix with line endings. BTW on windows I have some tests are fallen (I didn't change parts related to that tests).

@mui-bot
Copy link

mui-bot commented May 2, 2024

@ChronicusUA
Copy link
Contributor Author

I can see that some tests are fallen. Seems like it is in Alert.js file that I didn't touch

@zannager zannager requested a review from DiegoAndai May 3, 2024 16:17
@zannager zannager added the component: input This is the name of the generic UI component, not the React module! label May 3, 2024
@DiegoAndai
Copy link
Member

Hey @ChronicusUA! thanks for working on this one 🚀

If you need to seprate the PR for 4 others (in this case we will have conflicts for migrating-from-deprecated-apis.md and mui-codemod/README.md files after merging 1 by 1) please let me know.

We can keep all 4 components in this PR, as the types all come from the same place (InputBase.d.ts)

I can see that some tests are fallen. Seems like it is in Alert.js file that I didn't touch

This is a flaky test on our CI, so don't worry about it at the moment 😊

I'll review this one in more detail on Monday

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label May 3, 2024
@ChronicusUA ChronicusUA force-pushed the feat/41279-Update-InputBase branch from 1f0b1a1 to 08ce047 Compare May 6, 2024 11:35
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label May 6, 2024
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label May 23, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label May 27, 2024
@ChronicusUA
Copy link
Contributor Author

PR is updated with the latest changes from next branch

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label May 29, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label May 29, 2024
@DiegoAndai DiegoAndai merged commit 2551d3c into mui:next May 29, 2024
22 checks passed
@DiegoAndai
Copy link
Member

Thanks @ChronicusUA!

joserodolfofreitas pushed a commit to joserodolfofreitas/material-ui that referenced this pull request Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: input This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants