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: '2941408c23eeadcf1093327c388cdfda05dc3727' }, h("div", { key: '2733e69367da20a1f93b89114c419748d729454b', id: `tabpanel-${this.tab}`, role: "tabpanel", "aria-labelledby": `tab-${this.tab}`, style: {
                display: this.isVisible ? 'initial' : 'none',
                overflowX: 'hidden',
                overflowY: 'auto'
            } }, h("slot", { key: 'c73aa6788a2d0e38e372f90bb56d041d806fa236' }))));
    }
    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"; }
}
