/**
 * Copyright IBM Corp. 2026
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */

import "../../globals/settings.js";
import { carbonElement } from "../../globals/decorators/carbon-element.js";
import { __decorate } from "../../_virtual/_@oxc-project_runtime@0.126.0/helpers/decorate.js";
import page_header_default from "./page-header.scss.js";
import { LitElement, html } from "lit";
import { property } from "lit/decorators.js";
//#region src/components/page-header/page-header-content-text.ts
/**
* Copyright IBM Corp. 2025, 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Page header Content Text.
* @element cds-page-header-content-text
*/
let CDSPageHeaderContentText = class CDSPageHeaderContentText extends LitElement {
	constructor(..._args) {
		super(..._args);
		this.subtitle = "";
	}
	render() {
		const { subtitle } = this;
		return html`
      ${subtitle && html`<h3 class="${"cds"}--page-header__content__subtitle">
        ${subtitle}
      </h3>`}
      <slot></slot>
    `;
	}
	static {
		this.styles = page_header_default;
	}
};
__decorate([property()], CDSPageHeaderContentText.prototype, "subtitle", void 0);
CDSPageHeaderContentText = __decorate([carbonElement(`cds-page-header-content-text`)], CDSPageHeaderContentText);
var page_header_content_text_default = CDSPageHeaderContentText;
//#endregion
export { page_header_content_text_default as default };

//# sourceMappingURL=page-header-content-text.js.map