import{__decorate as e}from"tslib";import{html as i}from"lit";import{property as t,customElement as s}from"lit/decorators.js";import{s as r}from"./nile-divider.css.esm.js";import{N as n}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let a=class extends n{constructor(){super(...arguments),this.inset=!1,this.vertical=!1,this.label=""}static get styles(){return[r]}render(){return i`
		<div part="divider" class="divider ${this.vertical?"vertical":"horizontal"} ${this.inset?"inset":""}">
			<span part="dividier-label" class="background-white ${this.vertical?"vertical-content-padding":"horizontal-content-padding"}">${this.label}</span>
		</div>`}};e([t({type:Boolean,reflect:!0})],a.prototype,"inset",void 0),e([t({type:Boolean,reflect:!0})],a.prototype,"vertical",void 0),e([t({reflect:!0})],a.prototype,"label",void 0),a=e([s("nile-divider")],a);export{a as N};
