@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.01 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 UtrechtIconHuisStyle0 = generatedCss;
const UtrechtIconHuis$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconHuis extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: 'a41e7e162ec038838df2a4d1ca1efdfd198ff91a', viewBox: "0 0 36 36", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("path", { key: 'cbbd15443d52412f08bc39d4a4b8faf719853116', d: "M30 12.26V7.99c0-.55-.44-.99-.99-.98-.54 0-.98.44-.98.98v2.54l-9.36-8.29a.987.987 0 0 0-1.29 0L3.35 14.57a.99.99 0 0 0-.1 1.41c.36.41.99.45 1.41.09l1.39-1.21L6.03 31c0 .55.45 1 1 1h22.04c.55 0 .99-.44.99-.99l-.03-16.11 1.35 1.17c.41.35 1.03.31 1.39-.1l.02-.02a.983.983 0 0 0-.1-1.39l-2.65-2.3ZM21.04 24h-6.03a1 1 0 0 1-1-.99V19c0-.55.45-.99 1-.99h6.03c.54 0 .99.44.99.98v4.03c0 .54-.44.98-.99.98" })));
}
static get style() { return UtrechtIconHuisStyle0; }
}, [1, "utrecht-icon-huis"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-huis"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-huis":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconHuis$1);
}
break;
} });
}
const UtrechtIconHuis = UtrechtIconHuis$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconHuis, defineCustomElement };
//# sourceMappingURL=utrecht-icon-huis.js.map