import{p as s,H as t,c as e,h as i,a}from"./index.js";import{v as o}from"./p-BKP-F1qP.js";import{S as r,a as n,b as c}from"./p-ClYmjarv.js";import{g as h}from"./p-DKo9A5gq.js";const d=s(class s extends t{constructor(){super();this.__registerHost();this.govChange=e(this,"gov-change");this.hydrated=false;this.size="m";this.h=h(this.host)}validateSize(s){o(n,s,r.root)}componentWillLoad(){this.validateSize(this.size)}componentDidLoad(){this.host.querySelectorAll(c.root).forEach((s=>{s.setAttribute("size",this.size);s.addEventListener("gov-change",(s=>{s.stopPropagation();this.govChange.emit(s.detail)}))}))}connectedCallback(){this.hydrated=true}render(){return i(a,{key:"92d3349a28b4330a3bea5293853612d0a0b96069",class:this.h.classes(r.root),role:"list",size:this.size,hydrated:this.hydrated},i("slot",{key:"a5b65c3a06c63f826d6c968c69f1452abe0408af"}))}get host(){return this}static get watchers(){return{size:["validateSize"]}}},[4,"gov-stepper",{size:[1]},undefined,{size:["validateSize"]}]);function p(){if(typeof customElements==="undefined"){return}const s=["gov-stepper"];s.forEach((s=>{switch(s){case"gov-stepper":if(!customElements.get(s)){customElements.define(s,d)}break}}))}p();const m=d;const l=p;export{m as GovStepper,l as defineCustomElement};
//# sourceMappingURL=gov-stepper.js.map