import{r as i,h as e,H as l}from"./p-76ab1744.js";import{e as a}from"./p-66f121b6.js";const t=class{constructor(e){i(this,e),this.dataTrackingId="telia-field-assistive-text"}render(){return e(l,null,e("telia-vst",{dataTrackingId:this.dataTrackingId}),e("slot",null))}};t.style=':host{font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:normal;font-size:calc(1.6rem * var(--voca-rem-multiplier));line-height:1.5;color:rgba(0, 0, 0, 0.6);display:block;padding:calc(0.4rem * var(--voca-rem-multiplier)) 0 0}';const r=class{constructor(e){i(this,e),this.dataTestid=null,this.relevant="additions text",this.dataTrackingId="telia-field-error"}render(){return e("div",{class:"telia-field-error","aria-live":"assertive","aria-relevant":this.relevant},e("telia-icon",{class:"telia-field-error__icon",size:"sm",svg:a.svg}),e("slot",null),e("telia-vst",{dataTrackingId:this.dataTrackingId}))}};r.style=':host{display:block}.telia-field-error{font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:normal;font-size:calc(1.6rem * var(--voca-rem-multiplier));line-height:1.5;color:#e4175c;display:flex;flex-direction:row}.telia-field-error__icon{flex:none;line-height:1.5;margin:calc(0.4rem * var(--voca-rem-multiplier)) calc(0.4rem * var(--voca-rem-multiplier)) 0 0;vertical-align:middle}';const s=class{constructor(l){i(this,l),this.dataTestid=null,this.dataTrackingId="telia-label",this.renderContent=()=>this.text?this.text:e("slot",null)}render(){return e("label",{class:"telia-label",htmlFor:this.htmlFor,"data-testId":this.dataTestid},this.renderContent(),e("telia-vst",{dataTrackingId:this.dataTrackingId}))}};s.style='.telia-label{font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:500;font-size:calc(1.6rem * var(--voca-rem-multiplier));line-height:1.25;color:#222222;order:1}';export{t as telia_field_assistive_text,r as telia_field_error,s as telia_label}