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:"7c2ff5c6a7cdb0fe1998e6fa589376fb76229955",part:"base",class:{heading:!0,"heading--small":"small"===this.size,"heading--medium":"medium"===this.size,"heading--large":"large"===this.size}},h("div",{key:"28e31972d690df2e1d7d879545a85d963a020bee",class:{heading__text:!0}},h("div",{key:"1b034553bca5061e25d1fc72d0a052c42d9e2db2",class:"heading__title",part:"title"},h("slot",{key:"b23ded6f5fc98dffe134c5abb3397f627120a651"})),h("div",{key:"4d72d87b4b935b239e3276d1008dedd0f4f5ee5a",class:"heading__description",part:"description"},h("slot",{key:"8016f3fd1f724dfb0fe2d66c43b9ce2225ed571f",name:"description"}))),h("slot",{key:"09d687939f3be0017df5d5510b3c40720a85316b",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};