import{r as e,h as s,g as i}from"./p-b891c2f1.js";const t=class{constructor(s){e(this,s),this.size="medium"}render(){return s("div",{class:{heading:!0,"heading--small":"small"===this.size,"heading--medium":"medium"===this.size,"heading--large":"large"===this.size},part:"base"},s("div",{class:{heading__text:!0}},s("div",{class:"heading__title"},s("slot",null)),s("div",{class:"heading__description"},s("slot",{name:"description"}))),s("slot",{name:"end"}))}get el(){return i(this)}};t.style=":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__title{font-size:var(--sc-font-size-x-large);font-weight:var(--sc-font-weight-bold);line-height:var(--sc-line-height-dense)}.heading__description{font-size:var(--sc-font-size-normal);line-height:var(--sc-line-height-dense);color:var(--sc-color-gray-500)}";export{t as sc_heading}