import { h } from "@stencil/core";
export class SidebarTitle {
    constructor() {
        this.showInCollapsed = false;
    }
    componentWillLoad() {
        // Set data attribute for CSS targeting
        this.el.setAttribute('data-show-in-collapsed', this.showInCollapsed.toString());
    }
    render() {
        return (h("div", { key: 'd3aecfe3f2a5d62f265267cda82bcf7c0dd6aad3', class: 'sidebar__title' }, h("div", { key: 'e8b6d50f2d7cb7e622f6c533a745f64b0a1122d9', class: 'sidebar__title-label' }, h("slot", { key: '8c2ebf5d135bada72543aaae04ec61ca120977cb' }))));
    }
    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",
                "attribute": "show-in-collapsed",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "defaultValue": "false"
            }
        };
    }
    static get elementRef() { return "el"; }
}
//# sourceMappingURL=sidebar-title.js.map
