/**
 * Copyright Aquera Inc 2025
 *
 * 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-inline-sidebar-panel.css';
import NileElement from '../internal/nile-element';
/**
 * Content panel associated with a `nile-inline-sidebar-item`.
 * Linked via the item's `panel` property matching this panel's `name`.
 *
 * @tag nile-inline-sidebar-panel
 *
 * @attr name - Identifier that links this panel to a sidebar item's `panel` property.
 * @attr active - Whether this panel is currently visible.
 *
 * @slot - Default slot for panel content.
 *
 * @csspart base - The panel container.
 */
let NileInlineSidebarPanel = class NileInlineSidebarPanel extends NileElement {
    constructor() {
        super(...arguments);
        /** Identifier that links this panel to a sidebar item's `panel` property. */
        this.name = '';
        /** Whether this panel is currently visible. */
        this.active = false;
    }
    static get styles() {
        return [styles];
    }
    render() {
        return html `
      <div class="panel" part="base">
        <slot></slot>
      </div>
    `;
    }
};
__decorate([
    property({ type: String, reflect: true })
], NileInlineSidebarPanel.prototype, "name", void 0);
__decorate([
    property({ type: Boolean, reflect: true })
], NileInlineSidebarPanel.prototype, "active", void 0);
NileInlineSidebarPanel = __decorate([
    customElement('nile-inline-sidebar-panel')
], NileInlineSidebarPanel);
export { NileInlineSidebarPanel };
export default NileInlineSidebarPanel;
//# sourceMappingURL=nile-inline-sidebar-panel.js.map