"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),e=require("../input/index.js"),g=require("../index-DnaHaH_0.js"),t=a=>r.jsx(e.InputGroup.ClearButton,{inline:!0,"data-spark-component":"textarea-group-trailing-icon",...a});t.id=e.InputGroup.ClearButton.id;t.displayName="TextareaGroup.ClearButton";const i=a=>r.jsx(e.InputGroup,{...a});i.displayName="TextareaGroup";const n=a=>r.jsx(e.InputGroup.LeadingIcon,{"data-spark-component":"textarea-group-leading-icon",...a});n.id=e.InputGroup.LeadingIcon.id;n.displayName="TextareaGroup.LeadingIcon";const o=a=>r.jsx(e.InputGroup.TrailingIcon,{"data-spark-component":"textarea-group-trailing-icon",...a});o.id=e.InputGroup.TrailingIcon.id;o.displayName="TextareaGroup.TrailingIcon";const u=({className:a,disabled:s,rows:c=1,isResizable:d=!0,ref:l,onValueChange:x,...T})=>r.jsx(e.Input,{className:g.cx(a,"py-[var(--spacing-sz-10)]",d?"resize-y":"resize-none"),"data-spark-component":"textarea",disabled:s,asChild:!0,onValueChange:x,children:r.jsx("textarea",{ref:l,rows:c,...T})}),I=Object.assign(u,{id:e.Input.id});u.displayName="Textarea";const p=Object.assign(i,{LeadingIcon:n,TrailingIcon:o,ClearButton:t});p.displayName="TextareaGroup";n.displayName="TextareaGroup.LeadingIcon";o.displayName="TextareaGroup.TrailingIcon";t.displayName="TextareaGroup.ClearButton";exports.Textarea=I;exports.TextareaGroup=p;
//# sourceMappingURL=index.js.map
