// #region Imports
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component } from '../../../Decorators/ComponentDecorator';
import { CustomElement } from '../../Abstracts/CustomElement';
import { choiceGroupHeaderElementTemplate } from './ChoiceGroupHeaderElementTemplate';
import { choiceGroupHeaderElementJoyStyle } from './Themes/ChoiceGroupHeaderElement.Joy';
import { choiceGroupHeaderElementMemphisStyle } from './Themes/ChoiceGroupHeaderElement.Memphis';
import { choiceGroupHeaderElementCosmopolitanStyle } from './Themes/ChoiceGroupHeaderElement.Cosmopolitan';
import { Themeable } from '../../../Behaviors/Themeable';
// #endregion
/**
 * Choice Group Header - A semantic heading element for grouping related choice items.
 *
 * @description
 * The Choice Group Header component provides a labeled section header for organizing
 * groups of radio buttons, checkboxes, or other choice elements. It automatically assigns
 * to the 'header' slot and includes appropriate ARIA role='heading' for accessibility.
 * This component helps create clear visual and semantic groupings within forms and
 * choice-based interfaces, improving usability and screen reader navigation. It is
 * typically used within Choice Group containers to separate related options.
 *
 * @name Choice Group Header
 * @element mosaik-choice-group-header
 * @category Inputs
 *
 * @slot - The default slot for header content (text, icons, or custom markup)
 *
 * @cssprop {String} --choice-group-header-background-color - The background color of the header
 * @cssprop {String} --choice-group-header-foreground-color - The text color of the header
 * @cssprop {String} --choice-group-header-border-color - The border color
 * @cssprop {String} --choice-group-header-border-width - The border thickness
 * @cssprop {String} --choice-group-header-border-style - The border line style
 * @cssprop {String} --choice-group-header-border-radius - The corner rounding radius
 * @cssprop {String} --choice-group-header-shadow - The drop shadow or elevation effect
 *
 * @example
 * Basic choice group header:
 * ```html
 * <mosaik-choice-group-header>
 *   Notification Preferences
 * </mosaik-choice-group-header>
 * ```
 *
 * @example
 * Header within a choice group:
 * ```html
 * <mosaik-choice-group>
 *   <mosaik-choice-group-header slot="header">
 *     Select your plan
 *   </mosaik-choice-group-header>
 *   <mosaik-radio name="plan" value="basic" label="Basic"></mosaik-radio>
 *   <mosaik-radio name="plan" value="premium" label="Premium"></mosaik-radio>
 * </mosaik-choice-group>
 * ```
 *
 * @example
 * Custom styled header:
 * ```html
 * <mosaik-choice-group-header>
 *   <strong>Required Settings</strong> <em>(choose one)</em>
 * </mosaik-choice-group-header>
 * ```
 *
 * @public
 */
let ChoiceGroupHeaderElement = class ChoiceGroupHeaderElement extends Themeable(CustomElement) {
    // #region Fields
    // #endregion
    // #region Ctor
    /**
     * @public
     */
    constructor() {
        super();
    }
    // #endregion
    // #region Properties
    /**
     * Returns the `{@link is}` property.
     * The `{@link is}` property represents natural name of this element.
     *
     * @public
     * @static
     * @readonly
     */
    static get is() {
        return 'mosaik-choice-group-header';
    }
};
ChoiceGroupHeaderElement = __decorate([
    Component({
        selector: 'mosaik-choice-group-header',
        template: choiceGroupHeaderElementTemplate,
        themes: {
            joy: choiceGroupHeaderElementJoyStyle,
            memphis: choiceGroupHeaderElementMemphisStyle,
            cosmopolitan: choiceGroupHeaderElementCosmopolitanStyle
        },
        host: {
            slot: 'header',
            role: 'heading'
        },
        imports: []
    }),
    __metadata("design:paramtypes", [])
], ChoiceGroupHeaderElement);
export { ChoiceGroupHeaderElement };
//# sourceMappingURL=ChoiceGroupHeaderElement.js.map