import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';

const pdsTabpanelCss = ":host{display:block}.pds-tabpanel{display:none;margin-top:var(--panel-margin-top);padding:var(--panel-padding)}.pds-tabpanel.is-active{display:block}";
const PdsTabpanelStyle0 = pdsTabpanelCss;

const PdsTabpanel$1 = /*@__PURE__*/ proxyCustomElement(class PdsTabpanel extends HTMLElement {
    constructor() {
        super();
        this.__registerHost();
        this.name = undefined;
        this.parentComponentId = undefined;
        this.variant = undefined;
        this.selected = false;
    }
    render() {
        return (h(Host, { key: 'b15595eb65b1f306ab6f321abad5f36d473f72f0', slot: "tabpanels" }, h("div", { key: 'cfef7ac9cf9894b3c0962dcdc9e70b728b94bd38', role: "tabpanel", id: this.parentComponentId + "__" + this.name + '-panel', tabindex: "0", "aria-labelledby": this.parentComponentId + "__" + this.name, class: this.selected ? "pds-tabpanel is-active" : "pds-tabpanel" }, h("slot", { key: 'b666cb82217d8d970794896668b070a3cd0719b3' }))));
    }
    get el() { return this; }
    static get style() { return PdsTabpanelStyle0; }
}, [4, "pds-tabpanel", {
        "name": [1],
        "parentComponentId": [1, "parent-component-id"],
        "variant": [1],
        "selected": [1028]
    }]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["pds-tabpanel"];
    components.forEach(tagName => { switch (tagName) {
        case "pds-tabpanel":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, PdsTabpanel$1);
            }
            break;
    } });
}

const PdsTabpanel = PdsTabpanel$1;
const defineCustomElement = defineCustomElement$1;

export { PdsTabpanel, defineCustomElement };

//# sourceMappingURL=pds-tabpanel.js.map