import { forwardRef, type TextareaHTMLAttributes } from 'react'
import { Field as BaseField } from '@base-ui/react/field'
import { cn } from './cn'
import { FIELD_BOX_CLASSES, FIELD_DISABLED_CLASSES, FIELD_FOCUS_RING_CLASSES, FIELD_SIZE_CLASSES, FIELD_TEXT_CLASSES } from './looks'
/**
* Peek's Textarea (2026-08-28), verbatim: TextInput's look on a textarea
* that does not resize. Plus a disabled look (Ship's addition). On Base UI's
* `Field.Control` since stage 3 of the migration (2026-09-07).
*
* Base UI has an `Input` part but no textarea, so this is `Field.Control`
* rendering a `