/**
 * 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 } from 'lit/decorators.js';
import { styles } from './nile-side-bar-group-item-text.css';
import NileElement from '../internal/nile-element';
/**
 * Nile side-bar-group-item-text component.
 *
 * @tag nile-side-bar-group-item-text
 *
 * @slot - The text content of the sidebar item
 */
let NileSideBarGroupItemText = class NileSideBarGroupItemText extends NileElement {
    /**
     * The styles for nile-side-bar-group-item-text
     * @remarks Extendable via super if needed
     */
    static get styles() {
        return [styles];
    }
    connectedCallback() {
        super.connectedCallback();
        if (!this.hasAttribute('slot')) {
            this.setAttribute('slot', 'text');
        }
    }
    render() {
        return html ` <slot></slot> `;
    }
};
NileSideBarGroupItemText = __decorate([
    customElement('nile-side-bar-group-item-text')
], NileSideBarGroupItemText);
export { NileSideBarGroupItemText };
export default NileSideBarGroupItemText;
//# sourceMappingURL=nile-side-bar-group-item-text.js.map