@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) • 2.27 kB
JavaScript
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
const generatedCss = ":host{block-size:var(--utrecht-icon-size);color:var(--utrecht-icon-color);display:inline-block;font-size:var(--utrecht-icon-size);inline-size:var(--utrecht-icon-size);inset-block-start:var(--utrecht-icon-inset-block-start, 0);position:relative}svg{height:100%;pointer-events:none;width:100%}";
const UtrechtIconMilieuZoneStyle0 = generatedCss;
const UtrechtIconMilieuZone$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconMilieuZone extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: 'f9433d64a71aa9342e3aaa2553f83e02f20beb6e', viewBox: "0 0 36 36", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("path", { key: 'ddf191af3bd5d7b81bac611bf858737f60521a2a', d: "M22.55 16.07a2 2 0 0 0-1.79-1.11h-3.79v-5c0-1.1-.9-2-2-2H1c-.55 0-1 .45-1 1v21c0 .55.45 1 1 1h12.01c-.02.17-.05.33-.05.5 0 2.48 2.02 4.5 4.5 4.5s4.5-2.02 4.5-4.5c0-.17-.03-.33-.05-.5h1.05c1.1 0 2-.9 2-2v-7.53c0-.31-.07-.61-.21-.89l-2.21-4.47Zm-5.09 17.89a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5m5.5-12h-6v-5h4l2 4zM31.9 0h-5.8L22 4.1v5.8l4.1 4.1h5.8L36 9.9V4.1zm-2.18 10.48c-.19.19-.43.28-.72.28s-.54-.09-.72-.28c-.19-.19-.28-.43-.28-.72s.09-.53.28-.72c.19-.19.43-.28.72-.28s.54.09.72.28c.19.19.28.43.28.72s-.09.53-.28.72M30 7c0 .55-.45 1-1 1s-1-.45-1-1V4c0-.55.45-1 1-1s1 .45 1 1z" })));
}
static get style() { return UtrechtIconMilieuZoneStyle0; }
}, [1, "utrecht-icon-milieu-zone"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-milieu-zone"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-milieu-zone":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconMilieuZone$1);
}
break;
} });
}
const UtrechtIconMilieuZone = UtrechtIconMilieuZone$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconMilieuZone, defineCustomElement };
//# sourceMappingURL=utrecht-icon-milieu-zone.js.map