"use strict";const e=require("react/jsx-runtime"),I=require("./search-input-CHgJfpe5.cjs.js"),r=require("./form-field-MU91QwOC.cjs.js"),f=require("./field-errors-C8G94e3K.cjs.js"),c=({id:l,label:t,description:i,info:n,errors:s,renderError:a,touched:F=!1,isRequired:u=!1,isDisabled:h=!1,isReadOnly:m=!1,isInvalid:j=!1,size:o="md",...x})=>{const d=F&&s&&Object.values(s).some(Boolean);return e.jsxs(r.FormField.Root,{id:l,size:o,isInvalid:d||j,isRequired:u,isDisabled:h,isReadOnly:m,children:[e.jsx(r.FormField.Label,{children:t}),e.jsx(r.FormField.Input,{children:e.jsx(I.SearchInput,{size:o,...x})}),i&&e.jsx(r.FormField.Description,{children:i}),n&&e.jsx(r.FormField.InfoBox,{children:n}),d&&e.jsx(r.FormField.Error,{children:e.jsx(f.FieldErrors,{id:`${l}-errors`,errors:s,renderError:a})})]})};c.displayName="SearchInputField";exports.SearchInputField=c;
//# sourceMappingURL=search-input-field-yGIVkKiM.cjs.js.map
