/**
 * 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-side-bar-logo.css';
import NileElement from '../internal/nile-element';
/**
 * Nile side-bar-logo component.
 *
 * @tag nile-side-bar-logo
 *
 * @attr src - The image URL for the expanded (full) logo
 * @attr collapsed-src - The image URL for the collapsed (icon) logo
 */
let NileSideBarLogo = class NileSideBarLogo extends NileElement {
    constructor() {
        super(...arguments);
        /**
         * Expanded logo (default full size)
         */
        this.src = 'https://assets.aquera.io/img/aquera-logo-blue.svg';
        /**
         * Collapsed logo (icon only)
         */
        this.collapsedSrc = 'https://assets.aqueralabs.com/img/aquera-logo-mini.png';
    }
    static get styles() {
        return [styles];
    }
    render() {
        return html `
      <img class="logo expanded" src="${this.src}" alt="Logo" part="logo-expanded" />
      <img class="logo collapsed" src="${this.collapsedSrc}" alt="Logo icon" part="logo-collapsed" />
    `;
    }
};
__decorate([
    property({ type: String, attribute: true, reflect: true })
], NileSideBarLogo.prototype, "src", void 0);
__decorate([
    property({ type: String, attribute: 'collapsed-src' })
], NileSideBarLogo.prototype, "collapsedSrc", void 0);
NileSideBarLogo = __decorate([
    customElement('nile-side-bar-logo')
], NileSideBarLogo);
export { NileSideBarLogo };
export default NileSideBarLogo;
//# sourceMappingURL=nile-side-bar-logo.js.map