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 { badgeGroupTemplate } from './badge-group.template.js';
import { badgeGroupStyles } from './badge-group.styles.js';
/**
 * ml-badge-group - Compound badge pairing a label badge with descriptive text
 *
 * @example
 * ```html
 * <ml-badge-group label="New" variant="primary">We've just released a new feature</ml-badge-group>
 * <ml-badge-group label="Release" variant="success" icon="arrow-right">Check out the latest updates</ml-badge-group>
 * <ml-badge-group label="v2.0" variant="primary" badge-position="trailing">Latest release</ml-badge-group>
 * ```
 *
 * @slot default - Message text content
 */
let BadgeGroupComponent = class BadgeGroupComponent {
    constructor() {
        /** Inner badge label text */
        this.label = '';
        /** Color variant */
        this.variant = 'default';
        /** Visual theme */
        this.theme = 'pill';
        /** Size */
        this.size = 'md';
        /** Position of the inner badge */
        this.badgePosition = 'leading';
        /** Optional trailing icon name */
        this.icon = '';
    }
};
BadgeGroupComponent = __decorate([
    MelodicComponent({
        selector: 'ml-badge-group',
        template: badgeGroupTemplate,
        styles: badgeGroupStyles,
        attributes: ['label', 'variant', 'theme', 'size', 'badge-position', 'icon']
    })
], BadgeGroupComponent);
export { BadgeGroupComponent };
