Draft: [Joy] Remove `TextField` component and replace its usage in docs with `FormControl`/`FormLabel`/`Input`
- [x] I have followed (at least) the PR section of the contributing guide.
Closes https://github.com/mui/material-ui/issues/34176
:warning: This PR can be merged only after Input Documentation PR is merged.
Preview: https://deploy-preview-35462--material-ui.netlify.app/
| Messages | |
|---|---|
| :book: | Netlify deploy preview: https://deploy-preview-35462--material-ui.netlify.app/ |
@mui/joy: parsed: -0.80% :heart_eyes:, gzip: -0.70% :heart_eyes:
Generated by :no_entry_sign: dangerJS against 67cd5cfa7831bc7e80678980bc2915fbcd2b0685
@hbjORbj Thanks a lot for the PR. One thing that is missing is the doc for the Input at /joy-ui/react-input.
I think the page could have content similar to https://mui.com/joy-ui/react-textarea/.
@hbjORbj Thanks a lot for the PR. One thing that is missing is the doc for the Input at /joy-ui/react-input. I think the page could have content similar to https://mui.com/joy-ui/react-textarea/.
Gottcha. I will create a separate PR for better reviewability. We can merge the Input documentation PR first and then merge this one.
A note before I forgot it 😅. Please add the _redirects from /joy-ui/react-text-field/ to /joy-ui/react-input/.
@hbjORbj Could you update the PR? I think I will try to add a codemod for transforming TextField to Input and then we can merge this PR.
@siriwatknp Could you update the PR? I think I will try to add a codemod for transforming TextField to Input and then we can merge this PR.
Done.
I can work on the codemod. Or did you start already?
@siriwatknp Could you update the PR? I think I will try to add a codemod for transforming TextField to Input and then we can merge this PR.
Done.
I can work on the codemod. Or did you start already?
I haven't. That'd be great if you could add it.
@siriwatknp I haven't. That'd be great if you could add it.
Done
@siriwatknp
I think I covered all cases. Happy to get the codemod reviewed at this point.