'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const index = require('./index-ca0e0765.js'); const breadcrumbItemLabelCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}.breadcrumb-item-label-container{display:flex;align-items:center;gap:8px;text-decoration:none;color:#1D1D1D}.breadcrumb-item-label-container.margin{margin-left:16px}.breadcrumb-item-label-container ifx-icon:empty{display:none}.breadcrumb-item-label-container .label-icon-wrapper{display:inline-flex}.breadcrumb-item-label-container .menu-icon-wrapper{display:flex;justify-content:center;align-items:center;width:16px;height:16px}.breadcrumb-item-label-container .menu-icon-wrapper.hide{display:none}.breadcrumb-item-label-container .menu-icon-wrapper ifx-icon{transition:0.3s}.breadcrumb-item-label-container .menu-icon-wrapper.show ifx-icon{transition:0.3s;transform:rotate(180deg)}"; const BreadcrumbItemLabel = class { constructor(hostRef) { index.registerInstance(this, hostRef); this.breadcrumbMenuIconWrapper = index.createEvent(this, "breadcrumbMenuIconWrapper", 7); this.icon = undefined; this.url = undefined; this.target = "_self"; } componentDidLoad() { const container = this.el.shadowRoot.querySelector('.breadcrumb-item-label-container'); const menuWrapper = container.querySelector('.menu-icon-wrapper'); this.breadcrumbMenuIconWrapper.emit(menuWrapper); } render() { return (index.h("a", { href: this.url, target: this.target, class: "breadcrumb-item-label-container" }, index.h("ifx-icon", { icon: this.icon }), index.h("span", { class: "label-wrapper" }, index.h("slot", null)), index.h("span", { class: "menu-icon-wrapper" }, index.h("ifx-icon", { icon: "chevron-down-12" })))); } get el() { return index.getElement(this); } }; BreadcrumbItemLabel.style = breadcrumbItemLabelCss; exports.ifx_breadcrumb_item_label = BreadcrumbItemLabel; //# sourceMappingURL=ifx-breadcrumb-item-label.cjs.entry.js.map