@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.19 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 UtrechtIconSearchStyle0 = generatedCss;
const UtrechtIconSearch$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconSearch extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: '1dc335c965c930797721b07662b0d9f6f6a39125', viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("defs", { key: '5572c0370b05fb08601089f0bb5edd8785fb02bd' }, h("clipPath", { key: 'e10792ec027c3e0a3ea6edbf01c6ea4b711c7a18', id: "a" }, h("path", { key: '429292b7e921d67ed8d2592cfbea444b224bbbea', "stroke-width": "0", d: "M0 0h20v20H0z" }))), h("g", { key: '33304ae07c3c8feb30cb6828998e8aabb0e59b27', "clip-path": "url(#a)" }, h("path", { key: 'b5887814d60f060954ebe5861e1aa5c191af1f08', "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 UtrechtIconSearchStyle0; }
}, [1, "utrecht-icon-search"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-search"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-search":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconSearch$1);
}
break;
} });
}
const UtrechtIconSearch = UtrechtIconSearch$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconSearch, defineCustomElement };
//# sourceMappingURL=utrecht-icon-search.js.map