@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.14 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 UtrechtIconChevronDownStyle0 = generatedCss;
const UtrechtIconChevronDown$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconChevronDown extends H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: 'e499aaabc152eb6271dca5dd977a799080d76b37', viewBox: "0 0 14 8", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("defs", { key: 'f3e1554d71ca563cd4cdc5b7abf1810108b19691' }, h("clipPath", { key: '7185f9e94ac782f2fb73cecd9fd8902ad45b3a29', id: "a" }, h("path", { key: 'bffa5f87f7de55ae6c4293dbcbe3887594acccba', "stroke-width": "0", d: "M0 0h14v8H0z" }))), h("g", { key: '106f9a1d8d818b47a4b0bff5ddf7aa29c9f860db', "clip-path": "url(#a)" }, h("path", { key: '9f76e2ae2571e9c35965c908c5fbd3aeac32eefe', d: "M7 8c-.26 0-.51-.1-.71-.29l-6-6C-.1 1.32-.1.68.29.29s1.03-.39 1.42 0L7 5.58 12.29.29A.996.996 0 1 1 13.7 1.7l-6 6c-.2.2-.45.29-.71.29Z" }))));
}
static get style() { return UtrechtIconChevronDownStyle0; }
}, [1, "utrecht-icon-chevron-down"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-chevron-down"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-chevron-down":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconChevronDown$1);
}
break;
} });
}
const UtrechtIconChevronDown = UtrechtIconChevronDown$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconChevronDown, defineCustomElement };
//# sourceMappingURL=utrecht-icon-chevron-down.js.map