/*!
 * Custom elements for Nanopore-Digital Web applications
 */
import { proxyCustomElement, HTMLElement } from '@stencil/core/internal/client';

const badgeCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}";

const NanoBadge = /*@__PURE__*/ proxyCustomElement(class NanoBadge extends HTMLElement {
    constructor() {
        super();
        this.__registerHost();
    }
    /** The semantic theme of the button. Defaults to primary / brand blue  */
    theme;
    /** The strength / vibrancy of the theme. Defaults to `3` */
    strength;
    /** Use pulse to draw attention to the badge with an animation */
    pulse;
    static get style() { return badgeCss; }
}, [0, "nano-badge", {
        "theme": [513],
        "strength": [513],
        "pulse": [516]
    }]);
function defineCustomElement() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["nano-badge"];
    components.forEach(tagName => { switch (tagName) {
        case "nano-badge":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, NanoBadge);
            }
            break;
    } });
}

export { NanoBadge as N, defineCustomElement as d };
