@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.02 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 UtrechtIconMinusStyle0 = generatedCss;
const UtrechtIconMinus$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconMinus extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: 'db10dcd0da0b0167ee29f0904bd316f59cd78782', viewBox: "0 0 14 2", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("defs", { key: '0ddc48cecf714cdb4abf69cf0ce47304facd6eb9' }, h("clipPath", { key: '8b5c60293c36756a1d781a5e6c0326119de51be7', id: "a" }, h("path", { key: 'b193f994444b6512fa85b2f0b736c6c1252ea66f', "stroke-width": "0", d: "M0 0h14v2H0z" }))), h("g", { key: 'd390d31ee254fdec363d0417e68ab5c257fc5897', "clip-path": "url(#a)" }, h("path", { key: '40adf9098e453bd4cb59cce984f34ba8033b9ed0', 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