@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.29 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 UtrechtIconHamburgerMenuStyle0 = generatedCss;
const UtrechtIconHamburgerMenu$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconHamburgerMenu extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: '6e307797e76825b458537931e6f03994548e8e43', viewBox: "0 0 18 14", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("defs", { key: '7683673bf89b1ce1dccef920c52bc4fc5cbb0827' }, h("clipPath", { key: '1570f75e8f85365a15fc82d065311e3140c3771d', id: "a" }, h("path", { key: '033e4a3d4517b94235a5314267af450cb7853271', "stroke-width": "0", d: "M0 0h18v14H0z" }))), h("g", { key: '2dd445b311889a018c2f949b36d7f72d6708c589', "clip-path": "url(#a)" }, h("path", { key: 'f52ebb99b9a93112ca8fb2d84ad055cf97baaaf4', "fill-rule": "evenodd", d: "M0 1c0-.55.45-1 1-1h16c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1m0 6c0-.55.45-1 1-1h16c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1m0 6c0-.55.45-1 1-1h16c.55 0 1 .45 1 1s-.45 1-1 1H1c-.55 0-1-.45-1-1" }))));
}
static get style() { return UtrechtIconHamburgerMenuStyle0; }
}, [1, "utrecht-icon-hamburger-menu"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-hamburger-menu"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-hamburger-menu":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconHamburgerMenu$1);
}
break;
} });
}
const UtrechtIconHamburgerMenu = UtrechtIconHamburgerMenu$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconHamburgerMenu, defineCustomElement };
//# sourceMappingURL=utrecht-icon-hamburger-menu.js.map