base-ui icon indicating copy to clipboard operation
base-ui copied to clipboard

[Textarea] New Textarea component

Open mj12albert opened this issue 1 year ago • 1 comments

Part of https://github.com/mui/base-ui/issues/71

This PR adds a Textarea component that contains logic ported from @mui/base/Input, and thinly wraps TextareaAutosize

TextareaAutosize has been removed from the docs and replaced with Textarea (under "Inputs" instead of "Utils"), though the content is largely the same

TODO

  • [ ] Shared utils - resolveClassName, CommonProps, getStyleHookProps
  • [ ] Finalize new API - https://www.notion.so/mui-org/base-ui-Textarea-API-8c265901b51345ce905eef0e6de03511?pvs=4

mj12albert avatar Mar 07 '24 10:03 mj12albert

Putting this on hold until we're closer to the release and can assess the need for this component (specifically, if CSS field sizing is widely supported).

michaldudak avatar Apr 24 '24 20:04 michaldudak