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:"f7bbb3188cdd3e02e7412dfac3402cca9461ec2f",part:"base",class:{heading:!0,"heading--small":"small"===this.size,"heading--medium":"medium"===this.size,"heading--large":"large"===this.size}},h("div",{key:"f1b41381f1c84498c32aa9289403511883555a6e",class:{heading__text:!0}},h("div",{key:"6b893c83338d13711bec2b2d3932a168770230db",class:"heading__title",part:"title"},h("slot",{key:"14b99676706c1ab83486a5bde4205e3e78d1bc55"})),h("div",{key:"f5f1c8b88842651079a99d24d38e4867cc8e3eed",class:"heading__description",part:"description"},h("slot",{key:"a4c30413d53153fce80fd1991f613598830cf4da",name:"description"}))),h("slot",{key:"af4cf60e160d55f39511df349ac6057d70c0f792",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};