// #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 { toastActionsElementTemplate } from './ToastActionsElementTemplate';
import { toastActionsElementJoyStyle } from './Themes/ToastActionsElement.Joy';
import { toastActionsElementMemphisStyle } from './Themes/ToastActionsElement.Memphis';
import { toastActionsElementCosmopolitanStyle } from './Themes/ToastActionsElement.Cosmopolitan';
import { Themeable } from '../../../Behaviors/Themeable';
// #endregion
/**
 * ToastActions - Container for action buttons within a toast.
 *
 * @description
 * Hosts the action buttons that appear at the bottom of a toast.
 * Place this element in the `actions` slot of `mosaik-toast`.
 *
 * @name ToastActions
 * @element mosaik-toast-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} --toast-actions-font-family - The actions font family CSS custom property.
 * @cssprop {String} --toast-actions-font-letter-spacing - The actions font letter spacing CSS custom property.
 * @cssprop {String} --toast-actions-font-line-height - The actions font line height CSS custom property.
 * @cssprop {String} --toast-actions-font-size - The actions font size CSS custom property.
 * @cssprop {String} --toast-actions-font-text-decoration - The actions font text decoration CSS custom property.
 * @cssprop {String} --toast-actions-font-text-transform - The actions font text transform CSS custom property.
 * @cssprop {String} --toast-actions-font-weight - The actions font weight CSS custom property.
 * @cssprop {String} --toast-actions-gap - The actions gap CSS custom property.
 * @cssprop {String} --toast-actions-padding-bottom - The actions padding bottom CSS custom property.
 * @cssprop {String} --toast-actions-padding-left - The actions padding left CSS custom property.
 * @cssprop {String} --toast-actions-padding-right - The actions padding right CSS custom property.
 * @cssprop {String} --toast-actions-padding-top - The actions padding top CSS custom property.
 * @cssprop {String} --toast-actions-shadow - The actions shadow CSS custom property.
 * @cssprop {String} --toast-actions-shadow-blur - The actions shadow blur CSS custom property.
 * @cssprop {String} --toast-actions-shadow-color - The actions shadow color CSS custom property.
 * @cssprop {String} --toast-actions-shadow-offset-x - The actions shadow offset x CSS custom property.
 * @cssprop {String} --toast-actions-shadow-offset-y - The actions shadow offset y CSS custom property.
 * @cssprop {String} --toast-actions-shadow-spread - The actions shadow spread CSS custom property.
 * @cssprop {String} --toast-actions-transition-duration - The actions transition duration CSS custom property.
 * @cssprop {String} --toast-actions-transition-mode - The actions transition mode CSS custom property.
 * @cssprop {String} --toast-actions-transition-property - The actions transition property CSS custom property.
 * @cssprop {String} --toast-actions-translate - The actions translate CSS custom property.
 *
 * @dependency mosaik-stack - The Stack element.
 *
 * @example
 * Toast actions with two buttons:
 * ```html
 * <mosaik-toast-actions slot="actions">
 *   <mosaik-button><span slot="label">Cancel</span></mosaik-button>
 *   <mosaik-button variant="primary"><span slot="label">Confirm</span></mosaik-button>
 * </mosaik-toast-actions>
 * ```
 *
 * @public
 */
let ToastActionsElement = class ToastActionsElement 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-toast-actions';
    }
};
ToastActionsElement = __decorate([
    Component({
        selector: 'mosaik-toast-actions',
        template: toastActionsElementTemplate,
        themes: {
            joy: toastActionsElementJoyStyle,
            memphis: toastActionsElementMemphisStyle,
            cosmopolitan: toastActionsElementCosmopolitanStyle
        },
        host: {
            slot: 'actions'
        },
        imports: [
            StackElement
        ]
    }),
    __metadata("design:paramtypes", [])
], ToastActionsElement);
export { ToastActionsElement };
//# sourceMappingURL=ToastActionsElement.js.map