import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";const scHeadingCss=":host{display:block}.heading{font-family:var(--sc-font-sans);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.heading--small .heading__title{font-size:var(--sc-font-size-small);text-transform:uppercase}.heading__text{width:100%}.heading__title{font-size:var(--sc-font-size-x-large);font-weight:var(--sc-font-weight-bold);line-height:var(--sc-line-height-dense);white-space:normal}.heading__description{font-size:var(--sc-font-size-normal);line-height:var(--sc-line-height-dense);color:var(--sc-color-gray-500)}",ScHeadingStyle0=scHeadingCss,ScHeading=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.size="medium"}render(){return h("div",{key:"1211cf08fc5b135b73d756d166040975bf72234a",part:"base",class:{heading:!0,"heading--small":"small"===this.size,"heading--medium":"medium"===this.size,"heading--large":"large"===this.size}},h("div",{key:"a4865e2fa2765c827d7e4310344b03bfbfeb6768",class:{heading__text:!0}},h("div",{key:"8d2be6d0aeb80c54809d8289f48107c47dbf4376",class:"heading__title",part:"title"},h("slot",{key:"5d94fce9c489f05d83b47cdfa6be08477636c0e2"})),h("div",{key:"bc7679e5d03740b2d72c405bab7eac10456a4ba0",class:"heading__description",part:"description"},h("slot",{key:"2b52741b6e98c42688bce72f89a01dfd4429ba3c",name:"description"}))),h("slot",{key:"13a14d39e385af1ee47346d9b8f7f92d816f88f9",name:"end"}))}get el(){return this}static get style(){return ScHeadingStyle0}},[1,"sc-heading",{size:[1]}]);function defineCustomElement(){"undefined"!=typeof customElements&&["sc-heading"].forEach((e=>{"sc-heading"===e&&(customElements.get(e)||customElements.define(e,ScHeading))}))}export{ScHeading as S,defineCustomElement as d};