@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.43 kB
JavaScript
import { p as proxyCustomElement, H, h } from './p-2f0ff193.js';
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 H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("div", { key: 'd9a3ac552cc95b9cd356191d08825c922910c22c', class: 'utrecht-icon-container' }, h("slot", { key: '74be4bf552c8503ca5b2fa56477f3a75c4b48201' })));
}
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