@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.06 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 UtrechtIconWerkenStyle0 = generatedCss;
const UtrechtIconWerken$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconWerken extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: 'b0f2ca329439a9d753b592ef44b14ebd5bdfb72c', viewBox: "0 0 36 36", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("path", { key: 'f19204cab7e5e2d1f717899244bb5a4f1282731a', d: "m21 20 14-2v12.95A3.05 3.05 0 0 1 31.95 34H4.05A3.05 3.05 0 0 1 1 30.95V18l14 2v2.22c0 .43.35.78.78.78h4.43c.43 0 .78-.35.78-.78V20ZM36 7.93v6.58c0 .82-.66 1.48-1.48 1.48l-13.52 2v-1.22c0-.43-.35-.78-.78-.78h-4.43c-.43 0-.78.35-.78.78v1.22l-13.51-2c-.83 0-1.49-.67-1.49-1.49V7.93C.01 6.31 1.32 5 2.94 5h9.07V1.11c0-.61.5-1.11 1.11-1.11h9.78c.61 0 1.11.5 1.11 1.11V5h9.07c1.62 0 2.93 1.31 2.93 2.93ZM22 2h-8v3h8zm-5 16v3h2v-3z" })));
}
static get style() { return UtrechtIconWerkenStyle0; }
}, [1, "utrecht-icon-werken"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-werken"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-werken":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconWerken$1);
}
break;
} });
}
const UtrechtIconWerken = UtrechtIconWerken$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconWerken, defineCustomElement };
//# sourceMappingURL=utrecht-icon-werken.js.map