// #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 { Slottable } from '../../../Behaviors/Slottable';
import { Component } from '../../../Decorators/ComponentDecorator';
import { CustomElement } from '../../Abstracts/CustomElement';
import { StackElement } from '../../Layouts/Stack/StackElement';
import { drawerActionsElementTemplate } from './DrawerActionsElementTemplate';
import { drawerActionsElementJoyStyle } from './Themes/DrawerActionsElement.Joy';
import { drawerActionsElementMemphisStyle } from './Themes/DrawerActionsElement.Memphis';
import { drawerActionsElementCosmopolitanStyle } from './Themes/DrawerActionsElement.Cosmopolitan';
import { Themeable } from '../../../Behaviors/Themeable';
// #endregion
/**
 * DrawerActions - Container for action buttons within a drawer.
 *
 * @description
 * Hosts action buttons at the bottom of a drawer panel.
 * Place this element in the `actions` slot of `mosaik-drawer`.
 *
 * @name DrawerActions
 * @element mosaik-drawer-actions
 * @category Overlays
 *
 * @slot - The default content slot for action buttons.
 * @slot prefix - The prefix slot.
 * @slot suffix - The suffix slot.
 *
 * @csspart innerStack - The innerStack part.
 *
 * @cssprop {String} --drawer-actions-font-family - The actions font family CSS custom property.
 * @cssprop {String} --drawer-actions-font-letter-spacing - The actions font letter spacing CSS custom property.
 * @cssprop {String} --drawer-actions-font-line-height - The actions font line height CSS custom property.
 * @cssprop {String} --drawer-actions-font-size - The actions font size CSS custom property.
 * @cssprop {String} --drawer-actions-font-text-decoration - The actions font text decoration CSS custom property.
 * @cssprop {String} --drawer-actions-font-text-transform - The actions font text transform CSS custom property.
 * @cssprop {String} --drawer-actions-font-weight - The actions font weight CSS custom property.
 * @cssprop {String} --drawer-actions-gap - The actions gap CSS custom property.
 * @cssprop {String} --drawer-actions-padding-bottom - The actions padding bottom CSS custom property.
 * @cssprop {String} --drawer-actions-padding-left - The actions padding left CSS custom property.
 * @cssprop {String} --drawer-actions-padding-right - The actions padding right CSS custom property.
 * @cssprop {String} --drawer-actions-padding-top - The actions padding top CSS custom property.
 * @cssprop {String} --drawer-actions-shadow - The actions shadow CSS custom property.
 * @cssprop {String} --drawer-actions-shadow-blur - The actions shadow blur CSS custom property.
 * @cssprop {String} --drawer-actions-shadow-color - The actions shadow color CSS custom property.
 * @cssprop {String} --drawer-actions-shadow-offset-x - The actions shadow offset x CSS custom property.
 * @cssprop {String} --drawer-actions-shadow-offset-y - The actions shadow offset y CSS custom property.
 * @cssprop {String} --drawer-actions-shadow-spread - The actions shadow spread CSS custom property.
 * @cssprop {String} --drawer-actions-transition-duration - The actions transition duration CSS custom property.
 * @cssprop {String} --drawer-actions-transition-mode - The actions transition mode CSS custom property.
 * @cssprop {String} --drawer-actions-transition-property - The actions transition property CSS custom property.
 * @cssprop {String} --drawer-actions-translate - The actions translate CSS custom property.
 *
 * @dependency mosaik-stack - The Stack element.
 *
 * @example
 * Drawer actions with close button:
 * ```html
 * <mosaik-drawer-actions slot="actions">
 *   <mosaik-button><span slot="label">Close</span></mosaik-button>
 * </mosaik-drawer-actions>
 * ```
 *
 * @public
 */
let DrawerActionsElement = class DrawerActionsElement extends Themeable(Slottable(CustomElement)) {
    // #region Ctor
    /**
     * @public
     */
    constructor() {
        super();
    }
    // #endregion
    // #region Properties
    /**
     * Returns the `is` property.
     * The `is` property represents natural name of this element.
     *
     * @public
     * @static
     * @readonly
     */
    static get is() {
        return 'mosaik-drawer-actions';
    }
};
DrawerActionsElement = __decorate([
    Component({
        selector: 'mosaik-drawer-actions',
        template: drawerActionsElementTemplate,
        themes: {
            joy: drawerActionsElementJoyStyle,
            memphis: drawerActionsElementMemphisStyle,
            cosmopolitan: drawerActionsElementCosmopolitanStyle
        },
        host: {
            slot: 'actions'
        },
        imports: [
            StackElement
        ]
    }),
    __metadata("design:paramtypes", [])
], DrawerActionsElement);
export { DrawerActionsElement };
//# sourceMappingURL=DrawerActionsElement.js.map