{
  "componentId": "shadcn:Textarea",
  "sourceRule": "The wrapper is exactly a native textarea with React.ComponentProps<textarea>. value/defaultValue, name, required, disabled, readOnly, maxLength, rows and onChange are native props. It adds field-sizing-content and a minimum height, not autosave, rich text, a submit-on-Enter handler or a new value callback.",
  "keyboardAndFocus": "Native multiline editing and IME apply. Enter inserts a newline, Tab leaves the control, Escape does not revert committed text. Disabled suppresses editing and native form submission; readOnly permits focus/copy and retains its submitted value. Caller owns validation and explicit error relations.",
  "referenceComposition": "<div data-part=\"textarea-field\"><label for=\"notes\" data-part=\"textarea-label\">Project notes</label><textarea id=\"notes\" name=\"notes\" data-slot=\"textarea\" placeholder=\"Add project notes\" aria-describedby=\"notes-help\"></textarea><p id=\"notes-help\">Include any follow-up actions.</p></div>",
  "protocol": "SCXML consumes actual source/native transaction observations; callback objects remain original. Sends document observed callbacks, not second DOM dispatches. Parent-controlled props alone synchronize authoritative values. HTML/CSS is a semantic projection; executable behavior uses actual pinned React wrappers.",
  "semanticParts": {
    "control": {
      "kind": "element",
      "selector": "[data-slot=\"textarea\"]",
      "description": "Actual native multiline control; no fabricated textbox role."
    },
    "field": {
      "kind": "element",
      "selector": "[data-part=\"textarea-field\"]",
      "description": "Explicit caller label/control/help arrangement."
    },
    "label": {
      "kind": "element",
      "selector": "[data-part=\"textarea-label\"]",
      "description": "Explicit native caller label association."
    }
  },
  "visualStateMapping": {
    "disabled": {
      "prop": "disabled",
      "nativeAttribute": "disabled"
    },
    "readOnly": {
      "prop": "readOnly",
      "nativeAttribute": "readonly"
    },
    "invalid": {
      "nativeAttribute": "aria-invalid",
      "callerValidation": true
    }
  }
}
