import{r as registerInstance,h,g as getElement}from"./index-2bf16536.js";var stepCss=":host{padding:8px}:host .step{width:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .step__content{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .step__content--disabled{color:var(--color-content-default, #454545)}:host .step__content--completed{color:var(--color-content-disable, #636363)}:host .step__content--active{color:var(--color-primary, #1e6bf1);font-weight:bold}:host .step__content--pointer{cursor:pointer}:host .step__content__ellipse{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;border-radius:50%;background:var(--color-content-default, #454545);margin-right:4px;min-width:24px;min-height:24px}:host .step__content__ellipse--icon-completed{color:var(--color-surface-1, #F6F6F6)}:host .step__content__ellipse--text-active{color:var(--color-primary, #1e6bf1)}:host .step__content__ellipse--text-completed{color:var(--color-content-disable, #636363)}:host .step__content__ellipse--completed{background:var(--color-content-disable, #636363)}:host .step__content__ellipse--active{background:var(--color-primary, #1e6bf1);color:var(--color-content-bright, #ffffff)}@media (max-width: 780px){:host{display:-ms-flexbox;display:flex;-ms-flex:inherit;flex:inherit}}";var BdsStepStyle0=stepCss;var BdsStep=function(){function e(e){registerInstance(this,e);this.last=false;this.completed=false;this.active=false;this.disabled=true;this.index=0;this.pointer=false;this.dataTest=null}e.prototype.render=function(){return h("div",{key:"2d02cf6fcf9adfb06f0337e20716b1f2e0142ac6",class:"step"},h("div",{key:"86d9c68cee3376f4eaae89bdfaf1e36c3c3c0fed",class:{step__content:true,"step__content--active":this.active,"step__content--completed":this.completed,"step__content--disabled":this.disabled,"step__content--pointer":this.pointer,"step--last":this.last},"data-test":this.dataTest},h("div",{key:"4ecc1d8eb3a021481390dfcdf1e5750f7bfd04cc",class:{step__content__ellipse:true,"step__content__ellipse--active":this.active,"step__content__ellipse--completed":this.completed}},this.completed&&h("bds-icon",{key:"0011684821825dfff38eed3a3cc7073feaa557fb",name:"true",color:"#fff"}),!this.completed&&h("bds-typo",{key:"a98acf6259d70d2ea7b63503f12e0a3a0bb3c125",class:"step__content__ellipse--icon-completed"},this.index+1)),h("bds-typo",{key:"60b90de50438c3fb2d8c67ef3fe2d1e85fe5f2d8",variant:"fs-16",class:{"step__content__ellipse--text-completed":this.completed&&!this.active,"step__content__ellipse--text-active":this.active},bold:this.active?"bold":"regular"},h("slot",{key:"894ede27972d333d0e6defd062467a967c432d29"}))))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();BdsStep.style=BdsStepStyle0;export{BdsStep as bds_step};
//# sourceMappingURL=bds-step.entry.js.map