@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.46 kB
JavaScript
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
const utrechtIconContainerCss = ".utrecht-icon-container{display:inline-block;color:var(--utrecht-icon-color);width:var(--utrecht-icon-size);height:var(--utrecht-icon-size)}";
const UtrechtIconContainerStyle0 = utrechtIconContainerCss;
const UtrechtIconContainer$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconContainer extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("div", { key: 'c886ec84060e58c9686283790ac2dd8ad8835b01', class: 'utrecht-icon-container' }, h("slot", { key: '6eb1c93391ecf22de8369a5395030805505b1df4' })));
}
static get style() { return UtrechtIconContainerStyle0; }
}, [1, "utrecht-icon-container"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-container"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-container":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconContainer$1);
}
break;
} });
}
const UtrechtIconContainer = UtrechtIconContainer$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconContainer, defineCustomElement };
//# sourceMappingURL=utrecht-icon-container.js.map