import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";const scDividerCss=":host{display:block;min-height:1px}.divider{position:relative;padding:var(--spacing) 0}.line__container{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center}.line{width:100%;border-top:1px solid var(--sc-divider-border-top-color, var(--sc-color-gray-200))}.text__container{position:relative;display:flex;justify-content:center;font-size:var(--sc-font-size-small)}.text{padding:0 var(--sc-spacing-small);background:var(--sc-divider-text-background-color, var(--sc-color-white));color:var(--sc-color-gray-500)}",ScDividerStyle0=scDividerCss,ScDivider=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){return h("div",{key:"ae7483aab453e66780c81ba6943e34b451e371ab",class:"divider",part:"base"},h("div",{key:"06056aadc09fccbeef602e37051c72d725910028",class:"line__container","aria-hidden":"true",part:"line-container"},h("div",{key:"9bbde66d3820e7fc7dab80ed5c0293a721c44697",class:"line",part:"line"})),h("div",{key:"94d1d3b518d2ffdb875f9671eb76460ccd1e31fe",class:"text__container",part:"text-container"},h("span",{key:"a75f53039b66bffaffa1c100c41874f85e4deef2",class:"text",part:"text"},h("slot",{key:"4f016e08c25126f8efcb1c40602bbf0d90815f7c"}))))}static get style(){return ScDividerStyle0}},[1,"sc-divider"]);function defineCustomElement(){"undefined"!=typeof customElements&&["sc-divider"].forEach((e=>{"sc-divider"===e&&(customElements.get(e)||customElements.define(e,ScDivider))}))}export{ScDivider as S,defineCustomElement as d};