// #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 { Disableable } from '../../../Behaviors/Disableable';
import { Focusable } from '../../../Behaviors/Focusable';
import { Rippleable } from '../../../Behaviors/Rippleable';
import { Themeable } from '../../../Behaviors/Themeable';
import { Variantable } from '../../../Behaviors/Variantable';
import { Component } from '../../../Decorators/ComponentDecorator';
import { CustomElement } from '../../Abstracts/CustomElement';
import { clickableElementTemplate } from './ClickableElementTemplate';
import { clickableElementCosmopolitanStyle } from './Themes/ClickableElement.Cosmopolitan';
import { clickableElementJoyStyle } from './Themes/ClickableElement.Joy';
import { clickableElementMemphisStyle } from './Themes/ClickableElement.Memphis';
// #endregion
/**
 * Clickable - A layout-free interactive primitive that provides hover, ripple,
 * focus-ring, and disabled visual effects.
 *
 * @description
 * A primitive element that encapsulates interactive effects (hover, ripple, focus-ring, disabled state)
 * without imposing any layout structure. It can be used as the interactive surface inside
 * higher-level components such as ListItem, MenuItem, or TreeViewItem.
 *
 * @name Clickable
 * @element mosaik-clickable
 * @category Primitives
 *
 * @slot - Default slot for child content.
 *
 * @csspart focusRing - The focus ring part.
 * @csspart ripple - The ripple part.
 *
 * @cssprop {String} --clickable-background-color - The background color CSS custom property.
 * @cssprop {String} --clickable-border-color - The border color CSS custom property.
 * @cssprop {String} --clickable-border-radius - The border radius CSS custom property.
 * @cssprop {String} --clickable-border-style - The border style CSS custom property.
 * @cssprop {String} --clickable-border-width - The border width CSS custom property.
 * @cssprop {String} --clickable-focus-ring-active-width - The focus ring active width CSS custom property.
 * @cssprop {String} --clickable-focus-ring-color - The focus ring color CSS custom property.
 * @cssprop {String} --clickable-focus-ring-inward-offset - The focus ring inward offset CSS custom property.
 * @cssprop {String} --clickable-focus-ring-outward-offset - The focus ring outward offset CSS custom property.
 * @cssprop {String} --clickable-font-family - The font family CSS custom property.
 * @cssprop {String} --clickable-font-letter-spacing - The font letter spacing CSS custom property.
 * @cssprop {String} --clickable-font-line-height - The font line height CSS custom property.
 * @cssprop {String} --clickable-font-size - The font size CSS custom property.
 * @cssprop {String} --clickable-font-text-decoration - The font text decoration CSS custom property.
 * @cssprop {String} --clickable-font-text-transform - The font text transform CSS custom property.
 * @cssprop {String} --clickable-font-weight - The font weight CSS custom property.
 * @cssprop {String} --clickable-gap - The gap CSS custom property.
 * @cssprop {String} --clickable-padding-bottom - The padding bottom CSS custom property.
 * @cssprop {String} --clickable-padding-left - The padding left CSS custom property.
 * @cssprop {String} --clickable-padding-right - The padding right CSS custom property.
 * @cssprop {String} --clickable-padding-top - The padding top CSS custom property.
 * @cssprop {Color} --clickable-ripple-color - The ripple color CSS custom property.
 * @cssprop {String} --clickable-ripple-duration - The ripple duration CSS custom property.
 * @cssprop {String} --clickable-shadow - The shadow CSS custom property.
 * @cssprop {String} --clickable-shadow-blur - The shadow blur CSS custom property.
 * @cssprop {String} --clickable-shadow-color - The shadow color CSS custom property.
 * @cssprop {String} --clickable-shadow-offset-x - The shadow offset x CSS custom property.
 * @cssprop {String} --clickable-shadow-offset-y - The shadow offset y CSS custom property.
 * @cssprop {String} --clickable-shadow-spread - The shadow spread CSS custom property.
 * @cssprop {String} --clickable-transition-duration - The transition duration CSS custom property.
 * @cssprop {String} --clickable-transition-mode - The transition mode CSS custom property.
 * @cssprop {String} --clickable-transition-property - The transition property CSS custom property.
 * @cssprop {String} --clickable-translate - The translate CSS custom property.
 *
 * @dependency mosaik-focus-ring - The Focus Ring element.
 * @dependency mosaik-ripple - The Ripple element.
 *
 * @example
 * Basic clickable surface:
 * ```html
 * <mosaik-clickable>
 *   <span>Click me</span>
 * </mosaik-clickable>
 * ```
 *
 * @example
 * Disabled clickable:
 * ```html
 * <mosaik-clickable disabled>
 *   <span>Cannot click</span>
 * </mosaik-clickable>
 * ```
 *
 * @public
 */
let ClickableElement = class ClickableElement extends Themeable(Rippleable(Disableable(Focusable(Variantable(CustomElement))))) {
    // #region Fields
    // #endregion
    // #region Ctor
    /**
     * @public
     */
    constructor() {
        super();
    }
    // #endregion
    // #region Properties
    /**
     * Returns the `is` property.
     * The `is` property represents the natural name of this element.
     *
     * @public
     * @static
     * @readonly
     */
    static get is() {
        return 'mosaik-clickable';
    }
};
ClickableElement = __decorate([
    Component({
        selector: 'mosaik-clickable',
        template: clickableElementTemplate,
        themes: {
            joy: clickableElementJoyStyle,
            memphis: clickableElementMemphisStyle,
            cosmopolitan: clickableElementCosmopolitanStyle
        },
        imports: []
    }),
    __metadata("design:paramtypes", [])
], ClickableElement);
export { ClickableElement };
//# sourceMappingURL=ClickableElement.js.map