@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.8 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 UtrechtIconCheckmarkStyle0 = generatedCss;
const UtrechtIconCheckmark$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconCheckmark extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: '22142d147acf094c8d04cf3513726be0d27110b9', viewBox: "0 0 14 10", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("path", { key: '16c58f185541c46841211d62d6a486fd82a377a8', d: "M5 10c-.26 0-.51-.1-.71-.29l-4-4A.996.996 0 1 1 1.7 4.3l3.29 3.29 7.3-7.3A.996.996 0 1 1 13.7 1.7L5.71 9.71c-.2.2-.45.29-.71.29" })));
}
static get style() { return UtrechtIconCheckmarkStyle0; }
}, [1, "utrecht-icon-checkmark"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-checkmark"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-checkmark":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconCheckmark$1);
}
break;
} });
}
const UtrechtIconCheckmark = UtrechtIconCheckmark$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconCheckmark, defineCustomElement };
//# sourceMappingURL=utrecht-icon-checkmark.js.map