UNPKG

@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.17 kB
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 UtrechtIconCloseStyle0 = generatedCss; const UtrechtIconClose$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconClose extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); } render() { return (h("svg", { key: '37395d41a5f3e09c7fbedef59ee7f341dcced4d6', viewBox: "0 0 14 14", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("defs", { key: '3aa3a9912242aadf553bcc0b4460512c95d6cd04' }, h("clipPath", { key: 'f0f4c370bf6564074bc4f9016dee628e7fae3bb3', id: "a" }, h("path", { key: '2a99fd948d5138f9b88e39c1e0c37b4519e60002', "stroke-width": "0", d: "M0 0h14v14H0z" }))), h("g", { key: '9dc763b2cf0c63f38ecb717dd02279dc38013340', "clip-path": "url(#a)" }, h("path", { key: '17dca281768c8a435d38db6e548305075c0fcb72', "fill-rule": "evenodd", d: "M13.71 1.71A.996.996 0 1 0 12.3.3L7.01 5.59 1.71.29C1.32-.1.68-.1.29.29-.1.68-.1 1.32.29 1.71L5.58 7 .29 12.29A.996.996 0 1 0 1.7 13.7l5.29-5.29 5.29 5.29a.996.996 0 1 0 1.41-1.41L8.4 7z" })))); } static get style() { return UtrechtIconCloseStyle0; } }, [1, "utrecht-icon-close"]); function defineCustomElement$1() { if (typeof customElements === "undefined") { return; } const components = ["utrecht-icon-close"]; components.forEach(tagName => { switch (tagName) { case "utrecht-icon-close": if (!customElements.get(tagName)) { customElements.define(tagName, UtrechtIconClose$1); } break; } }); } const UtrechtIconClose = UtrechtIconClose$1; const defineCustomElement = defineCustomElement$1; export { UtrechtIconClose, defineCustomElement }; //# sourceMappingURL=utrecht-icon-close.js.map