@utrecht/web-component-library-stencil
Version:
Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture
33 lines (29 loc) • 2.6 kB
JavaScript
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
const digidLogoCss = ".utrecht-icon{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}.utrecht-icon svg{height:100%;pointer-events:none;width:100%}:host{display:inline;}@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){:host{border-color:currentColor;border-radius:5px;border-style:solid;border-width:1px}}:host([hidden]){display:none !important}";
const UtrechtDigidLogoStyle0 = digidLogoCss;
const DigidLogo = /*@__PURE__*/ proxyCustomElement(class DigidLogo extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: 'b869fd14fa811d994d0bd120643282e73b22984d', class: "utrecht-icon", width: "100%", height: "100%", xmlns: "http://www.w3.org/2000/svg", version: "1.1", viewBox: "0 0 150 150" }, h("path", { key: '75b9c629d0df794acb401d6399adc852b3182169', d: "M136 150H14c-8 0-14-6-14-14V14C0 6 6 0 14 0h122c8 0 14 6 14 14v122c0 8-6 14-14 14z" }), h("path", { key: '755995e76fad682ce94abe101a0d81546f0ce53b', d: "M17 115V79h10c12 0 19 6 19 17 0 13-8 19-19 19H17zm6-6h4c7 0 12-4 12-13 0-8-5-12-13-12h-3v25zM54 77c3 0 4 1 4 3s-1 4-4 4c-2 0-3-2-3-4s1-3 3-3zm3 38h-6V88h6v27zM72 109h6c6 0 9 3 9 7 0 5-4 9-14 9-8 0-11-2-11-7 0-2 1-4 4-6l-2-3c0-2 1-3 3-4-3-2-4-4-4-8 0-6 4-10 11-10l4 1h9v4h-4l2 5c0 6-4 9-12 9h-3l-1 1c0 2 1 2 3 2zm1 12c6 0 8-2 8-4s-1-2-3-2l-9-1-2 3c0 2 2 4 6 4zm6-24c0-3-2-5-5-5s-5 1-5 5 1 5 5 5c3 0 5-1 5-5z", fill: "#FFFFFF" }), h("path", { key: 'bcc88f7a456bd0adfa0a1f9bba48bb4be47887dc', d: "M94 77c2 0 3 1 3 3s-1 4-3 4c-3 0-4-2-4-4s1-3 4-3zm3 38h-6V88h6v27zM105 115V79h10c12 0 18 6 18 17 0 13-7 19-19 19h-9zm6-6h4c7 0 12-4 12-13 0-8-5-12-13-12h-3v25z", fill: "#E17000" })));
}
static get style() { return UtrechtDigidLogoStyle0; }
}, [1, "utrecht-digid-logo"]);
function defineCustomElement() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-digid-logo"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-digid-logo":
if (!customElements.get(tagName)) {
customElements.define(tagName, DigidLogo);
}
break;
} });
}
export { DigidLogo as D, defineCustomElement as d };
//# sourceMappingURL=digid-logo.js.map