@scania/tegel
Version:
Tegel Design System
42 lines (37 loc) • 1.76 kB
JavaScript
import { p as proxyCustomElement, H, h, c as Host } from './p-28ef5186.js';
import { d as defineCustomElement$2 } from './p-71c3dfe9.js';
const headerLauncherListItemCss = ":host{display:block;border-bottom:1px solid var(--tds-nav-dropdown-item-border-color)}";
const TdsHeaderLauncherListItemStyle0 = headerLauncherListItemCss;
const TdsHeaderLauncherListItem$1 = /*@__PURE__*/ proxyCustomElement(class TdsHeaderLauncherListItem extends H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h(Host, { key: '7ec01704950bdb48cbc48251e5cb4ad0e4b8babf' }, h("tds-header-dropdown-list-item", { key: '2274d354403ca35178bad010cfcec06f716ac24c', size: "lg" }, h("slot", { key: '35a3c7cdb933bb9bb1be32770b74d3ae9441b1ff' }))));
}
static get style() { return TdsHeaderLauncherListItemStyle0; }
}, [1, "tds-header-launcher-list-item"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["tds-header-launcher-list-item", "tds-header-dropdown-list-item"];
components.forEach(tagName => { switch (tagName) {
case "tds-header-launcher-list-item":
if (!customElements.get(tagName)) {
customElements.define(tagName, TdsHeaderLauncherListItem$1);
}
break;
case "tds-header-dropdown-list-item":
if (!customElements.get(tagName)) {
defineCustomElement$2();
}
break;
} });
}
defineCustomElement$1();
const TdsHeaderLauncherListItem = TdsHeaderLauncherListItem$1;
const defineCustomElement = defineCustomElement$1;
export { TdsHeaderLauncherListItem, defineCustomElement };