import{proxyCustomElement as e,HTMLElement as t,h as i,transformTag as n}from"@stencil/core/internal/client";const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return[this.renderIcon(),this.renderHeading(),this.renderSubheader()]}renderHeading(){if(this.heading)return i("h2",null,this.heading)}renderSubheader(){if(this.value)return i("limel-markdown",{value:this.value})}renderIcon(){var e,t,n;if(this.icon)return i("limel-icon",{badge:!0,name:null===(e=this.icon)||void 0===e?void 0:e.name,style:{color:`${null===(t=this.icon)||void 0===t?void 0:t.color}`,"background-color":`${null===(n=this.icon)||void 0===n?void 0:n.backgroundColor}`}})}static get style(){return":host(limebb-empty-state){display:flex;flex-direction:column;align-items:center;gap:0.25rem;padding:0.5rem;opacity:0;animation:fade-in 0.3s ease forwards;animation-delay:0.5s}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}*{box-sizing:border-box}h2{color:rgb(var(--contrast-1100));margin:0}limel-markdown{color:rgb(var(--contrast-1000));text-align:center;line-height:1.4}limel-icon{width:2.5rem}"}},[1,"limebb-empty-state",{heading:[513],value:[513],icon:[16]}]);function o(){"undefined"!=typeof customElements&&["limebb-empty-state"].forEach((e=>{"limebb-empty-state"===e&&(customElements.get(n(e))||customElements.define(n(e),r))}))}export{r as E,o as d}