@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.09 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 UtrechtIconArrowStyle0 = generatedCss;
const UtrechtIconArrow$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconArrow extends H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: 'f2292fbf7c8e8e7a979184542a524e3589aad0fa', viewBox: "0 0 8 14", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("defs", { key: 'e4649cc2ef2c4f2dc1eea8021b491f8254aa0a84' }, h("clipPath", { key: 'de53a8909daa1af67fcb7a083ab3018a59728b79', id: "a" }, h("path", { key: '9a93e772e734742956721e0304f05e2284454d61', "stroke-width": "0", d: "M-.04 0h8v14h-8z" }))), h("g", { key: '74fc5542de13fd6b2e0a4615c28f4fcb27018a96', "clip-path": "url(#a)" }, h("path", { key: 'c1d45d9fdd4d1c58a44a4a165dfd9b77e8c8c38f', 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