@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.99 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 UtrechtIconMinusStyle0 = generatedCss;
const UtrechtIconMinus$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconMinus extends H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: 'f4b0bfa25a8e230a0f4571e13509e0192ee2304e', viewBox: "0 0 14 2", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("defs", { key: 'd6cc73823a1af1104c3e13ab715f687849417df9' }, h("clipPath", { key: '528c8a61f4066c42503560fee533a866bc7935a1', id: "a" }, h("path", { key: 'c43b741dfb03f280f8d9bb21e49c4c437c2ccfb7', "stroke-width": "0", d: "M0 0h14v2H0z" }))), h("g", { key: '8436077db7f368d4b660470f903bffc04e21d8ec', "clip-path": "url(#a)" }, h("path", { key: '79b5a78fa3e98336da7c8f12fb2b2db3bc567eb8', d: "M13 2H1c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1" }))));
}
static get style() { return UtrechtIconMinusStyle0; }
}, [1, "utrecht-icon-minus"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-minus"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-minus":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconMinus$1);
}
break;
} });
}
const UtrechtIconMinus = UtrechtIconMinus$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconMinus, defineCustomElement };
//# sourceMappingURL=utrecht-icon-minus.js.map