// #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;
};
import { Component } from '../../../Decorators/ComponentDecorator';
import { Themeable } from '../../../Behaviors/Themeable';
import { CustomElement } from '../../Abstracts/CustomElement';
import { timelineItemElementTemplate } from './TimelineItemElementTemplate';
import { timelineItemElementCosmopolitanStyle } from './Themes/TimelineItemElement.Cosmopolitan';
import { timelineItemElementJoyStyle } from './Themes/TimelineItemElement.Joy';
import { timelineItemElementMemphisStyle } from './Themes/TimelineItemElement.Memphis';
// #endregion
/**
 * TimelineItem - Represents a single event entry within a timeline.
 *
 * @description
 * Positions its marker, primary content, and optional opposite content
 * according to the parent {@link TimelineElement} layout and alignment rules.
 *
 * @element mosaik-timeline-item
 * @category Layouts
 *
 * @slot marker - Optional marker slot. Defaults to an internally rendered marker when omitted.
 * @slot content - Required content slot representing the primary timeline information.
 * @slot opposite - Optional slot for secondary content positioned opposite the main content.
 *
 * @public
 */
let TimelineItemElement = class TimelineItemElement extends Themeable(CustomElement) {
    // #region Properties
    /**
     * Returns the `is` property.
     *
     * @public
     * @static
     * @readonly
     */
    static get is() {
        return 'mosaik-timeline-item';
    }
};
TimelineItemElement = __decorate([
    Component({
        selector: 'mosaik-timeline-item',
        template: timelineItemElementTemplate,
        themes: {
            joy: timelineItemElementJoyStyle,
            memphis: timelineItemElementMemphisStyle,
            cosmopolitan: timelineItemElementCosmopolitanStyle
        },
        host: {
            role: 'listitem'
        }
    })
], TimelineItemElement);
export { TimelineItemElement };
//# sourceMappingURL=TimelineItemElement.js.map