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

const cardCss = ":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 NanoCard$1 = /*@__PURE__*/ proxyCustomElement(class NanoCard extends HTMLElement {
    constructor() {
        super();
        this.__registerHost();
    }
    /** The layout of the card. `landscape` only applies when the card is large enough. Defaults to portrait. */
    layout;
    /** The variant of card. Changes the styling of the card and of nested elements */
    variant;
    /** Size of card's heading. Defaults to `large`. Has no baring on `variant="promo"` cards */
    size;
    /** If true, disables the whole-card click effect. */
    disableCardClick;
    static get style() { return cardCss; }
}, [0, "nano-card", {
        "layout": [513],
        "variant": [513],
        "size": [513],
        "disableCardClick": [516, "disable-card-click"]
    }]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["nano-card"];
    components.forEach(tagName => { switch (tagName) {
        case "nano-card":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, NanoCard$1);
            }
            break;
    } });
}

const NanoCard = NanoCard$1;
const defineCustomElement = defineCustomElement$1;

export { NanoCard, defineCustomElement };
