import { p as proxyCustomElement, H, c as createEvent, h } from './index.js';

const tabCss = ":host{display:block}";

const IfxTab$1 = /*@__PURE__*/ proxyCustomElement(class IfxTab extends H {
    constructor() {
        super();
        this.__registerHost();
        this.tabHeaderChange = createEvent(this, "tabHeaderChange", 7);
        this.icon = '';
        this.iconPosition = 'left';
    }
    componentWillUpdate() {
        this.tabHeaderChange.emit(this.header);
    }
    render() {
        return h("slot", { key: 'dad01fbbf74d672ac8755a57cf6a31b18b4de550' });
    }
    get el() { return this; }
    static get style() { return tabCss; }
}, [260, "ifx-tab", {
        "header": [1],
        "disabled": [4],
        "icon": [1],
        "iconPosition": [1, "icon-position"]
    }]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["ifx-tab"];
    components.forEach(tagName => { switch (tagName) {
        case "ifx-tab":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, IfxTab$1);
            }
            break;
    } });
}

const IfxTab = IfxTab$1;
const defineCustomElement = defineCustomElement$1;

export { IfxTab, defineCustomElement };
//# sourceMappingURL=ifx-tab.js.map

//# sourceMappingURL=ifx-tab.js.map