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 { MelodicComponent } from '@melodicdev/core';
import { badgeTemplate } from './badge.template.js';
import { badgeStyles } from './badge.styles.js';
/**
 * ml-badge - Badge/tag component for status indicators
 *
 * @example
 * ```html
 * <ml-badge>Default</ml-badge>
 * <ml-badge variant="success">Active</ml-badge>
 * <ml-badge variant="error" dot>Offline</ml-badge>
 * ```
 *
 * @slot default - Badge label content
 */
let BadgeComponent = class BadgeComponent {
    constructor() {
        /** Badge variant */
        this.variant = 'default';
        /** Badge size */
        this.size = 'md';
        /** Show dot indicator */
        this.dot = false;
        /** Use pill (rounded) shape */
        this.pill = false;
        /** Custom background color — any CSS color value. Overrides variant colors. */
        this.color = '';
    }
};
BadgeComponent = __decorate([
    MelodicComponent({
        selector: 'ml-badge',
        template: badgeTemplate,
        styles: badgeStyles,
        attributes: ['variant', 'size', 'dot', 'pill', 'color']
    })
], BadgeComponent);
export { BadgeComponent };
