@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.12 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 UtrechtIconArrowStyle0 = generatedCss;
const UtrechtIconArrow$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconArrow extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: '87baeee59243555498cd5e6d7af676897973c008', viewBox: "0 0 8 14", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("defs", { key: '54fd22e1f97dcfe5083eaf682b659a1cbabaefed' }, h("clipPath", { key: '9b16f42218497aff453ed2d3732de3205e5dac47', id: "a" }, h("path", { key: '0d63c315a3e592a7d2fd4b3e484f304c5146ab84', "stroke-width": "0", d: "M-.04 0h8v14h-8z" }))), h("g", { key: '3f2848abae67490980d4e1455dc631029bb1bcc0', "clip-path": "url(#a)" }, h("path", { key: 'e56a5cec0ecbd219bb57e3883c26d8f3d6d53f4f', d: "M.96 14c-.26 0-.51-.1-.71-.29a.996.996 0 0 1 0-1.41l5.29-5.29-5.29-5.3C-.14 1.32-.14.68.25.29s1.03-.39 1.42 0l6 6c.39.39.39 1.02 0 1.41l-6 6.01c-.2.2-.45.29-.71.29" }))));
}
static get style() { return UtrechtIconArrowStyle0; }
}, [1, "utrecht-icon-arrow"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-arrow"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-arrow":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconArrow$1);
}
break;
} });
}
const UtrechtIconArrow = UtrechtIconArrow$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconArrow, defineCustomElement };
//# sourceMappingURL=utrecht-icon-arrow.js.map