import { h } from "@stencil/core";
export class SpwTabsContent {
    constructor() {
        this.active = false;
    }
    render() {
        return this.active ? (h("div", { class: "spw-tabs-content", role: "tabpanel", id: `panel-${this.tabId}`, "aria-labelledby": `tab-${this.tabId}`, "aria-hidden": this.active ? 'false' : 'true' }, h("slot", null))) : null;
    }
    static get is() { return "spw-tabs-content"; }
    static get encapsulation() { return "shadow"; }
    static get originalStyleUrls() {
        return {
            "$": ["spw-tabs-content.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["spw-tabs-content.css"]
        };
    }
    static get properties() {
        return {
            "tabId": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": true,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "tab-id"
            },
            "active": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "active",
                "defaultValue": "false"
            }
        };
    }
}
