UNPKG

equinox-web-components

Version:

Equinox design for the web using StencilJS

1 lines 661 B
System.register(["./p-33ebdb75.system.js"],(function(t){"use strict";var e,r,i;return{setters:[function(t){e=t.r;r=t.h;i=t.H}],execute:function(){var n=t("e_progress",function(){function t(t){var r=this;e(this,t);this.bgColor="var(--purple-100)";this.barColor="var(--purple-400)";this.value=0;this.maxValue=100;this.height="4px";this.width="260px";this.outerStyle=function(){return{background:r.bgColor,height:r.height,width:r.width}};this.innerStyle=function(){return{background:r.barColor,width:r.value+"%",height:"100%"}}}t.prototype.render=function(){return r(i,null,r("div",{style:this.outerStyle()},r("div",{style:this.innerStyle()})))};return t}())}}}));