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:"46a8064b7e929b1b38e5e042825e9d6b139da8a8",part:"base",class:{heading:!0,"heading--small":"small"===this.size,"heading--medium":"medium"===this.size,"heading--large":"large"===this.size}},h("div",{key:"9c0cabaa5553c59cc375a5e9e105829a61478781",class:{heading__text:!0}},h("div",{key:"69b5a96d1fd1a64ad24c259f399331058b087fdc",class:"heading__title",part:"title"},h("slot",{key:"af929231f23a796359f76455fe519cdec6bac65e"})),h("div",{key:"926d4d8253193eb4aa9e5354cdd485fcbff821cf",class:"heading__description",part:"description"},h("slot",{key:"8b893b04743c8ae0c5107073914d7cd6a848587e",name:"description"}))),h("slot",{key:"5c60966952e60bf83ea1f2e5fb3a4a6f9f6e070a",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};