import{r as s,h as t,H as i}from"./p-2b0a6102.js";const e="bs-field-layout{display:block}bs-field-layout .bs-field-details{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--bs-space-2);padding:0 0.75rem;margin-top:0.5rem}bs-field-layout :where(textarea,bs-textarea)+.bs-field-details{margin-top:0.25rem}bs-field-layout .bs-field-details :where(.bs-character-count:first-child){margin-left:auto}";const a=class{constructor(t){s(this,t);this.charCount=undefined;this.charMax=undefined;this.disabled=false;this.error=undefined;this.hints=undefined;this.label=undefined;this.labelFor=undefined;this.required=undefined;this.hintId=undefined}render(){return t(i,{"data-disabled":this.disabled},this.label&&t("bs-label",{for:this.labelFor,disabled:this.disabled,required:this.required},this.label),t("slot",null),(this.hints||this.charMax)&&t("div",{class:"bs-field-details"},this.hints&&t("bs-hint",{error:this.error,hintId:this.hintId,hints:this.hints}),this.charMax&&t("bs-character-count",{charCount:this.charCount,charMax:this.charMax})))}};a.style=e;export{a as bs_field_layout};
//# sourceMappingURL=p-a9df3b85.entry.js.map