@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.92 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 UtrechtIconFilterStyle0 = generatedCss;
const UtrechtIconFilter$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconFilter extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: '124b6140f3ca15453fb37daaee64980159eff35c', viewBox: "-2 -1 24 24", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("rect", { key: '6f59850122ac4cfb50b0e757cd7de54b2f233de6', width: "17", height: "2", x: "2", y: "6", rx: ".5" }), h("rect", { key: '574771296ac74e93ca1f322e143cb38f71287b15', width: "13", height: "2", x: "4", y: "11", rx: ".5" }), h("rect", { key: '81fb9863c028d26c4316697172353e1b2caab623', width: "9", height: "2", x: "6", y: "16", rx: ".5" })));
}
static get style() { return UtrechtIconFilterStyle0; }
}, [1, "utrecht-icon-filter"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-filter"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-filter":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconFilter$1);
}
break;
} });
}
const UtrechtIconFilter = UtrechtIconFilter$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconFilter, defineCustomElement };
//# sourceMappingURL=utrecht-icon-filter.js.map