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:"4f8cfcc9dfdf2a69908d98fba958c2cf1ae2cbae",part:"base",class:{heading:!0,"heading--small":"small"===this.size,"heading--medium":"medium"===this.size,"heading--large":"large"===this.size}},h("div",{key:"17f4b7d485e5979fae0a075077e34a1ac37cdeb5",class:{heading__text:!0}},h("div",{key:"d742ee0a5188171175252fd22098ea44ea9fbd7a",class:"heading__title",part:"title"},h("slot",{key:"23f0bf8fa532646310837b5362cc68880bf3ea7d"})),h("div",{key:"7e6e4eadd08437a75dab7cccdd4427e7ae35d983",class:"heading__description",part:"description"},h("slot",{key:"2ad1f6adea182e4b10c7f1150a2db73cf94c1db0",name:"description"}))),h("slot",{key:"a6b57db07ed198149111ddae37dbac4d51e4dec5",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};