@utrecht/web-component-library-stencil
Version:
Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture
36 lines (31 loc) • 1.41 kB
JavaScript
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
const badgeListCss = ".utrecht-badge-list{column-gap:var(--utrecht-badge-list-column-gap);display:flex;flex-wrap:wrap;row-gap:var(--utrecht-badge-list-row-gap)}:host{display:block}:host([hidden]){display:none !important}";
const UtrechtBadgeListStyle0 = badgeListCss;
const BadgeList = /*@__PURE__*/ proxyCustomElement(class BadgeList extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("div", { key: 'd430080404acee08b104adf1af3ed61beac50721', class: "utrecht-badge-list" }, h("slot", { key: 'c98b8da783a3b4206f6bbd598e6110de544309f4' })));
}
static get style() { return UtrechtBadgeListStyle0; }
}, [1, "utrecht-badge-list"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-badge-list"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-badge-list":
if (!customElements.get(tagName)) {
customElements.define(tagName, BadgeList);
}
break;
} });
}
const UtrechtBadgeList = BadgeList;
const defineCustomElement = defineCustomElement$1;
export { UtrechtBadgeList, defineCustomElement };
//# sourceMappingURL=utrecht-badge-list.js.map