@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.85 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 UtrechtIconLoupeStyle0 = generatedCss;
const UtrechtIconLoupe$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconLoupe extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: '70b13adaa0811f8974dbb2cb912e2b9240cd9f59', viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("path", { key: 'c3d16f67164afb2ee3fcf075facae094f06e5c19', "fill-rule": "evenodd", d: "M2 8c0-3.31 2.69-6 6-6s6 2.69 6 6-2.69 6-6 6-6-2.69-6-6m6-8C3.58 0 0 3.58 0 8s3.58 8 8 8c1.85 0 3.55-.63 4.91-1.68l5.39 5.39a.996.996 0 1 0 1.41-1.41l-5.39-5.39A8.005 8.005 0 0 0 16 8c0-4.42-3.58-8-8-8" })));
}
static get style() { return UtrechtIconLoupeStyle0; }
}, [1, "utrecht-icon-loupe"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-loupe"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-loupe":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconLoupe$1);
}
break;
} });
}
const UtrechtIconLoupe = UtrechtIconLoupe$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconLoupe, defineCustomElement };
//# sourceMappingURL=utrecht-icon-loupe.js.map