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:"73db6bc0c5365b4a627219f3380615dab67113a2",part:"base",class:{heading:!0,"heading--small":"small"===this.size,"heading--medium":"medium"===this.size,"heading--large":"large"===this.size}},h("div",{key:"43b666fd376bc607b0a723a01b463a2786e20bee",class:{heading__text:!0}},h("div",{key:"31357b86421827adabd935e9490383b28379e792",class:"heading__title",part:"title"},h("slot",{key:"7a074805d4bdc9a7fdf64d77527f8bf60be642f9"})),h("div",{key:"fe79e14525eeca7983d89cdffb0896eaa94a189a",class:"heading__description",part:"description"},h("slot",{key:"2f1f707c1c7bd350fa906db545135266962a4836",name:"description"}))),h("slot",{key:"27a705a7cf52573661b9e722756de00def800cbd",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};