/**
 * Copyright Aquera Inc 2023
 *
 * This source code is licensed under the BSD-3-Clause license found in the
 * LICENSE file in the root directory of this source tree.
 */
import { __decorate } from "tslib";
import { html } from 'lit';
import { customElement, property } from 'lit/decorators.js';
import { styles } from './nile-divider.css';
import NileElement from '../internal/nile-element';
/**
 * Nile divider component.
 *
 * @tag nile-divider
 *
 */
let NileDivider = class NileDivider extends NileElement {
    constructor() {
        super(...arguments);
        this.inset = false;
        this.vertical = false;
        this.label = '';
        /* #endregion */
    }
    /**
     * The styles for nile-divider
     * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]`
     */
    static get styles() {
        return [styles];
    }
    /* #endregion */
    /* #region Methods */
    /**
     * Render method
     * @slot This is a slot test
     */
    render() {
        return html `
		<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>`;
    }
};
__decorate([
    property({ type: Boolean, reflect: true })
], NileDivider.prototype, "inset", void 0);
__decorate([
    property({ type: Boolean, reflect: true })
], NileDivider.prototype, "vertical", void 0);
__decorate([
    property({ reflect: true })
], NileDivider.prototype, "label", void 0);
NileDivider = __decorate([
    customElement('nile-divider')
], NileDivider);
export { NileDivider };
export default NileDivider;
//# sourceMappingURL=nile-divider.js.map