@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.43 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 UtrechtIconErrorStyle0 = generatedCss;
const UtrechtIconError$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconError extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: '40c81964249f3308541c716e8eda48abd2f9094c', viewBox: "-8 -8 38 38", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("path", { key: 'b831a173f0fc84c3351ac0906a70ce3734c62498', d: "M7.34 3.242A.831.831 0 0 1 7.926 3l7.177.012c.22 0 .432.088.587.244l5.067 5.083a.83.83 0 0 1 .242.588l-.012 7.177a.83.83 0 0 1-.244.587l-5.083 5.067a.83.83 0 0 1-.588.242l-7.177-.012a.83.83 0 0 1-.587-.244L2.242 16.66A.83.83 0 0 1 2 16.074l.012-7.177c0-.22.088-.432.244-.587z" }), h("path", { key: '3d70dcd83fd8b40efc7f76799a5a73d7f2c526e7', "fill-rule": "evenodd", d: "M7.352 8.828a.438.438 0 0 0 0 .62l2.624 2.623a.438.438 0 0 1 0 .615L7.353 15.31a.438.438 0 0 0 0 .62l.476.475a.436.436 0 0 0 .62 0l2.624-2.624a.438.438 0 0 1 .614 0l2.624 2.624a.436.436 0 0 0 .62 0l.476-.475a.438.438 0 0 0 0-.62l-2.625-2.624a.438.438 0 0 1 0-.614l.003-.003 2.621-2.622a.438.438 0 0 0 0-.62l-.475-.475a.436.436 0 0 0-.62 0l-2.624 2.624a.438.438 0 0 1-.615 0L8.447 8.352a.436.436 0 0 0-.62 0z", "clip-rule": "evenodd" })));
}
static get style() { return UtrechtIconErrorStyle0; }
}, [1, "utrecht-icon-error"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-error"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-error":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconError$1);
}
break;
} });
}
const UtrechtIconError = UtrechtIconError$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconError, defineCustomElement };
//# sourceMappingURL=utrecht-icon-error.js.map