/**
 * 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-page-header.css';
import NileElement from '../internal/nile-element';
/**
 * Nile page-header component.
 *
 * @tag nile-page-header
 *
 */
let NilePageHeader = class NilePageHeader extends NileElement {
    constructor() {
        super(...arguments);
        this.heading = '';
        this.subHeading = '';
        /* #endregion */
    }
    /**
     * The styles for nile-page-header
     * @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 `<slot class="header">
      <slot
        name="header__heading"
        class="header__heading"
        part="header__heading"
        ?hidden="${!this.heading}"
      >
        ${this.heading}
      </slot>
      <slot
        name="header__subheading"
        class="header__subheading"
        part="header__subheading"
        ?hidden="${!this.subHeading}"
      >
        ${this.subHeading}
      </slot>
    </slot>`;
    }
};
__decorate([
    property({ reflect: true, attribute: 'heading' })
], NilePageHeader.prototype, "heading", void 0);
__decorate([
    property({ reflect: true, attribute: 'sub-heading' })
], NilePageHeader.prototype, "subHeading", void 0);
NilePageHeader = __decorate([
    customElement('nile-page-header')
], NilePageHeader);
export { NilePageHeader };
export default NilePageHeader;
//# sourceMappingURL=nile-page-header.js.map