"use strict";const O=require("react/jsx-runtime"),q=require("react"),s=require("../tools/tools.cjs"),x=require("./select-option.cjs"),t=function(u){const{as:d="select",children:m,className:l,dropOldClass:i,isInvalid:n,isValid:c,nativeSize:o,size:e,style:r,variables:a,...p}=u,y=q.useMemo(()=>{const S=s.classx(!i&&"form-select",c&&"is-valid",n&&"is-invalid",e&&`form-select-${e}`,l),v=s.stylex((C,f)=>({tKey:s.convertBsKeyToVar(f)}),a,r);return{className:S,size:o,style:v}},[l,i,n,c,o,e,r,a]);return O.jsx(d,{...p,...y,children:m})};t.Option=x.SelectOption;t.displayName="BRL.Select";exports.Select=t;
//# sourceMappingURL=select.cjs.map
