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:"935099e0b4b8135479ea1121b7ce2f1fdb8a135e",part:"base",class:{heading:!0,"heading--small":"small"===this.size,"heading--medium":"medium"===this.size,"heading--large":"large"===this.size}},h("div",{key:"538a45869b74fcdcb1839a6d2e74c0a81dec677e",class:{heading__text:!0}},h("div",{key:"c4d5f199f846f4ffe94365c65650068b0e64d83f",class:"heading__title",part:"title"},h("slot",{key:"978a8505a926ad3c01cb2ff10496d2987bf2c187"})),h("div",{key:"819d2e6425807741eda9a7c81796fd760585ef3a",class:"heading__description",part:"description"},h("slot",{key:"842457d70a287604da2e03856249e6d2c4b46328",name:"description"}))),h("slot",{key:"b905a6e1f76a3fda3d9d2cf4e10f6a663101edb0",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};