import { h } from "@stencil/core";
export class SidebarTitle {
    el;
    /** Show item/content when the sidebar is collapsed */
    showInCollapsed = false;
    componentWillLoad() {
        // Set data attribute for CSS targeting
        this.el.setAttribute("data-show-in-collapsed", this.showInCollapsed.toString());
    }
    render() {
        return (h("div", { key: '90f54e2c30b7c0e7c3e1c0162d876a9814f32a9f', class: "sidebar__title" }, h("div", { key: 'fad2cc871a0cc82d9e10f13ae26aab085c5e7b35', class: "sidebar__title-label" }, h("slot", { key: 'eff391544e3ba41623234297d616a40ab3b2909a' }))));
    }
    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": "Show item/content when the sidebar is collapsed"
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "show-in-collapsed",
                "defaultValue": "false"
            }
        };
    }
    static get elementRef() { return "el"; }
}
