@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.17 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 UtrechtIconTwitterStyle0 = generatedCss;
const UtrechtIconTwitter$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconTwitter extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: 'e352f1a2e74265044d58b77cb2fa8a464c4a72e0', viewBox: "0 0 36 36", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("path", { key: 'a067ac24a9ef66b84a8130606352a825a757efe8', d: "M36 6.84c-1.33.59-2.75.99-4.24 1.16a7.36 7.36 0 0 0 3.25-4.09c-1.43.85-3.01 1.46-4.69 1.79a7.366 7.366 0 0 0-5.39-2.33c-4.08 0-7.39 3.31-7.39 7.39 0 .58.06 1.14.19 1.68-6.14-.31-11.58-3.25-15.22-7.72a7.397 7.397 0 0 0 2.28 9.86 7.374 7.374 0 0 1-3.34-.92v.09c0 3.58 2.55 6.56 5.92 7.24-.62.17-1.27.26-1.95.26-.47 0-.94-.05-1.39-.14a7.403 7.403 0 0 0 6.9 5.13 14.821 14.821 0 0 1-9.17 3.16c-.6 0-1.18-.03-1.76-.1 3.27 2.09 7.15 3.32 11.32 3.32 13.58 0 21.01-11.25 21.01-21.01 0-.32 0-.64-.02-.96A15.23 15.23 0 0 0 36 6.83Z" })));
}
static get style() { return UtrechtIconTwitterStyle0; }
}, [1, "utrecht-icon-twitter"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-twitter"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-twitter":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconTwitter$1);
}
break;
} });
}
const UtrechtIconTwitter = UtrechtIconTwitter$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconTwitter, defineCustomElement };
//# sourceMappingURL=utrecht-icon-twitter.js.map