oi-metrology/Server/wwwroot/package/dist/esm/ifx-navbar-menu-item.entry.js
Mike Phares 127634f5ab Delete self contained Thunder Tests
Back to .net8.0
api/v4/InfinityQS
ApiExplorerSettings
Wafer Counter
Color Sorting
2024-03-13 13:15:56 -07:00

21 lines
1.1 KiB
JavaScript

import { r as registerInstance, h } from './index-38bfff87.js';
const navbarMenuItemCss = ":root{--ifx-font-family:\"Source Sans 3\";font-family:var(--ifx-font-family, sans-serif)}.navbar__menu-item{text-decoration:none;color:#1D1D1D;display:flex;align-items:center;padding:8px 16px;gap:8px;font-family:var(--ifx-font-family)}.navbar__menu-item.hide{display:none}.navbar__menu-item span{color:#1D1D1D;font-size:16px;font-style:normal;font-weight:400;line-height:24px;}.navbar__menu-item:hover{cursor:pointer;background-color:#EEEDED}.navbar__menu-item:active{background-color:#BFBBBB}.icon{margin-right:4px}";
const NavbarMenuItem = class {
constructor(hostRef) {
registerInstance(this, hostRef);
this.href = "";
this.target = "_self";
this.hide = false;
}
render() {
let hrefAttr = this.href ? { href: this.href, target: this.target } : {};
return (h("a", Object.assign({}, hrefAttr, { class: `navbar__menu-item ${this.hide ? 'hide' : ""}` }), h("span", null, h("slot", null))));
}
};
NavbarMenuItem.style = navbarMenuItemCss;
export { NavbarMenuItem as ifx_navbar_menu_item };
//# sourceMappingURL=ifx-navbar-menu-item.entry.js.map