/**
 * 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 NileElement from '../internal/nile-element';
import { styles } from './nile-side-bar-footer-text.css';
/**
 * Nile side-bar-footer-text component.
 *
 * @tag nile-side-bar-footer-text
 *
 * @property {string} text - The main text (e.g. user name).
 * @property {string} subtext - The sub text (e.g. organization/role).
 */
let NileSideBarFooterText = class NileSideBarFooterText extends NileElement {
    constructor() {
        super(...arguments);
        /** Main text (e.g., name) */
        this.text = '';
        /** Sub text (e.g., org/role) */
        this.subtext = '';
    }
    static get styles() {
        return [styles];
    }
    render() {
        return html `
      <div class="footer-text" part="footer-text">
        <div class="main" part="main">${this.text}</div>
        ${this.subtext
            ? html `<div class="sub" part="sub">${this.subtext}</div>`
            : null}
      </div>
    `;
    }
};
__decorate([
    property({ type: String })
], NileSideBarFooterText.prototype, "text", void 0);
__decorate([
    property({ type: String })
], NileSideBarFooterText.prototype, "subtext", void 0);
NileSideBarFooterText = __decorate([
    customElement('nile-side-bar-footer-text')
], NileSideBarFooterText);
export { NileSideBarFooterText };
export default NileSideBarFooterText;
//# sourceMappingURL=nile-side-bar-footer-text.js.map