import { h } from "@stencil/core";
export class SidebarTitle {
    el;
    showInCollapsed = false;
    componentWillLoad() {
        // Set data attribute for CSS targeting
        this.el.setAttribute("data-show-in-collapsed", this.showInCollapsed.toString());
    }
    render() {
        return (h("div", { key: '1ab4a06b390124d277c8833cb300367e7805ea6a', class: "sidebar__title" }, h("div", { key: 'ec19179c311e77ad52b1296c7d02ce73c6148132', class: "sidebar__title-label" }, h("slot", { key: 'd71adcbae5ff61b20eea5664e098e9a462cf01d9' }))));
    }
    static get is() { return "ifx-sidebar-title"; }
    static get encapsulation() { return "shadow"; }
    static get originalStyleUrls() {
        return {
            "$": ["sidebar-title.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["sidebar-title.css"]
        };
    }
    static get properties() {
        return {
            "showInCollapsed": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "show-in-collapsed",
                "defaultValue": "false"
            }
        };
    }
    static get elementRef() { return "el"; }
}
//# sourceMappingURL=sidebar-title.js.map
