@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 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 UtrechtIconMenuDotStyle0 = generatedCss;
const UtrechtIconMenuDot$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconMenuDot extends HTMLElement {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: '0aed18f8fc338bcc9d9d2c3ff8a20c4439bcb67b', viewBox: "0 0 8 8", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("defs", { key: 'c72115fc5d084dc6da2ee9e29ad54740e3fa4a71' }, h("clipPath", { key: 'baca84763eff2f7467c9d2d996fd830418ddaa9c', id: "a" }, h("path", { key: '693982a75a109b9ead6223cf95ec7ade5d751c1d', "stroke-width": "0", d: "M0 0h8v8H0z" }))), h("g", { key: '66ca8c60acb629cc61522e3197627cd0a52f42df', "clip-path": "url(#a)" }, h("circle", { key: '7d9a155639203135025662d8f096ef58405c3939', cx: "4", cy: "4", r: "4" }))));
}
static get style() { return UtrechtIconMenuDotStyle0; }
}, [1, "utrecht-icon-menu-dot"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-menu-dot"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-menu-dot":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconMenuDot$1);
}
break;
} });
}
const UtrechtIconMenuDot = UtrechtIconMenuDot$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconMenuDot, defineCustomElement };
//# sourceMappingURL=utrecht-icon-menu-dot.js.map