// #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 { Appearanceable } from '../../../Behaviors/Appearanceable';
import { Disableable } from '../../../Behaviors/Disableable';
import { Focusable } from '../../../Behaviors/Focusable';
import { Sizeable } from '../../../Behaviors/Sizeable';
import { Themeable } from '../../../Behaviors/Themeable';
import { Variantable } from '../../../Behaviors/Variantable';
import { Component } from '../../../Decorators/ComponentDecorator';
import { CustomElement } from '../../Abstracts/CustomElement';
import { ButtonElement } from '../../Buttons/Button/ButtonElement';
import { dismissElementTemplate } from './DismissElementTemplate';
import { dismissElementCosmopolitanStyle } from './Themes/DismissElement.Cosmopolitan';
import { dismissElementJoyStyle } from './Themes/DismissElement.Joy';
import { dismissElementMemphisStyle } from './Themes/DismissElement.Memphis';
// #endregion
/**
 * Dismiss - A close or dismiss button component for dismissible UI elements.
 *
 * @description
 * The Dismiss component provides a standardized close button that can be used to dismiss
 * or close overlays, dialogs, notifications, and other dismissible UI elements. It features
 * a clear icon button with consistent styling across different themes and variants. The component
 * supports various sizes, appearances, and states to match different use cases and design requirements.
 *
 * @name Dismiss
 * @element mosaik-dismiss
 * @category Primitives
 *
 * @csspart close - The close button element
 *
 * @dependency {ButtonElement} - Button component for the dismiss functionality
 *
 * @example
 * Basic dismiss button:
 * ```html
 * <mosaik-dismiss></mosaik-dismiss>
 * ```
 *
 * @example
 * Dismiss button with specific size:
 * ```html
 * <mosaik-dismiss size="small"></mosaik-dismiss>
 * ```
 *
 * @example
 * Dismiss button with variant:
 * ```html
 * <mosaik-dismiss variant="error"></mosaik-dismiss>
 * ```
 *
 * @example
 * Disabled dismiss button:
 * ```html
 * <mosaik-dismiss disabled></mosaik-dismiss>
 * ```
 *
 * @public
 */
let DismissElement = class DismissElement extends Themeable(Variantable(Appearanceable(Sizeable(Disableable(Focusable(CustomElement)))))) {
    // #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-dismiss';
    }
    // #endregion
    // #region Methods
    close() {
        if (this.disabled) {
            return;
        }
    }
};
DismissElement = __decorate([
    Component({
        selector: 'mosaik-dismiss',
        template: dismissElementTemplate,
        themes: {
            joy: dismissElementJoyStyle,
            memphis: dismissElementMemphisStyle,
            cosmopolitan: dismissElementCosmopolitanStyle
        },
        imports: [
            ButtonElement
        ]
    }),
    __metadata("design:paramtypes", [])
], DismissElement);
export { DismissElement };
//# sourceMappingURL=DismissElement.js.map