"use strict";const e=require("react/jsx-runtime"),T=require("./multiline-text-input-CULLuZBp.cjs.js"),l=require("./form-field-FdRNl2bZ.cjs.js"),q=require("./field-errors-aqrV93vp.cjs.js"),o=({id:d,label:u,description:r,info:s,errors:i,onChange:F,renderError:x,touched:c=!1,isRequired:a=!1,isDisabled:m=!1,isReadOnly:j=!1,isInvalid:I=!1,size:t="md",value:f,placeholder:h,...p})=>{const n=c&&i&&Object.values(i).some(Boolean);return e.jsxs(l.FormField.Root,{id:d,size:t,isRequired:a,isDisabled:m,isReadOnly:j,isInvalid:n||I,children:[e.jsx(l.FormField.Label,{children:u}),e.jsx(l.FormField.Input,{children:e.jsx(T.MultilineTextInput,{...p,size:t,placeholder:h,onChange:F,value:f})}),r&&e.jsx(l.FormField.Description,{children:r}),n&&e.jsx(l.FormField.Error,{children:e.jsx(q.FieldErrors,{errors:i,renderError:x})}),s&&e.jsx(l.FormField.InfoBox,{children:s})]})};o.displayName="MultilineTextInputField";exports.MultilineTextInputField=o;
//# sourceMappingURL=multiline-text-input-field-BX-w2v1Y.cjs.js.map
