@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.81 kB
JavaScript
import { p as proxyCustomElement, H, h } from './p-2f0ff193.js';
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 UtrechtIconCrossStyle0 = generatedCss;
const UtrechtIconCross$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconCross extends H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: '39f770b1e70083b88c1687ba61c3a1ca058e555b', viewBox: "0 0 14 14", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("path", { key: '13a11736398a55e844aa615f74e4ee14efcaaeae', "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 UtrechtIconCrossStyle0; }
}, [1, "utrecht-icon-cross"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-cross"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-cross":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconCross$1);
}
break;
} });
}
const UtrechtIconCross = UtrechtIconCross$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconCross, defineCustomElement };
//# sourceMappingURL=utrecht-icon-cross.js.map