import { h, Host } from "@stencil/core";
/**
 * @private internal use only
 * @swedishName Flikfält - enskild flikpanel
 */
export class NavigationTabPanel {
    constructor() {
        this.tab = undefined;
        this.isVisible = false;
    }
    render() {
        return (h(Host, { key: 'c87f7d80779bf254ffeca53fcb894d2b9743fcfe' }, h("div", { key: 'c2409228cd17dc3ecd69ce6329ab83fa9d4bf2d4', id: `tabpanel-${this.tab}`, role: "tabpanel", "aria-labelledby": `tab-${this.tab}`, style: {
                display: this.isVisible ? 'initial' : 'none',
                overflowX: 'hidden',
                overflowY: 'auto'
            } }, h("slot", { key: '2009bb3458e9186158b893782ac6081846003d17' }))));
    }
    static get is() { return "digi-tablist-panel"; }
    static get encapsulation() { return "scoped"; }
    static get properties() {
        return {
            "tab": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "attribute": "tab",
                "reflect": false
            },
            "isVisible": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "attribute": "is-visible",
                "reflect": false,
                "defaultValue": "false"
            }
        };
    }
    static get elementRef() { return "hostElement"; }
}
