import{r as t,h as i}from"./p-76ab1744.js";const l={ul:"ul",ol:"ol",dl:"dl"},s=class{constructor(i){t(this,i),this.variant="column",this.listTag=l.ul,this.justifycontent="start",this.itemSpacing=!1,this.dataTrackingId="telia-list"}componentWillLoad(){this.validateListTag(this.listTag)}validateListTag(t){const i=Object.values(l);if(-1===i.indexOf(t))throw new Error(`Invalid list tag ${t} is used. Use one of: ${i.join(", ")}`)}render(){return i(this.listTag,{class:{"telia-list":!0,"telia-list--navigation-row":!!this.itemSpacing,[`telia-list--${this.variant}`]:!!this.variant,[`telia-list--${this.justifycontent}`]:!!this.justifycontent},role:this.listTag===l.ul?"list":""},i("slot",null),i("telia-vst",{dataTrackingId:this.dataTrackingId}))}static get watchers(){return{listTag:["validateListTag"]}}};s.style=".telia-list{display:flex;flex-wrap:wrap;list-style-type:none;margin:0;padding:0;}.telia-list--start{justify-content:start}.telia-list--space-between{justify-content:space-between}.telia-list--space-around{justify-content:space-around}.telia-list--row{flex-direction:row}.telia-list--column{flex-direction:column}.telia-list ::slotted(li),.telia-list ::slotted(dt),.telia-list ::slotted(dd){display:flex}.telia-list--navigation-row ::slotted(li:not(:nth-of-type(1))){margin-left:calc(2.4rem * var(--voca-rem-multiplier))}";export{s as telia_list}