@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.03 kB
JavaScript
import { p as proxyCustomElement, H, h } from './p-2f0ff193.js';
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 UtrechtIconMailStyle0 = generatedCss;
const UtrechtIconMail$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconMail extends H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: 'e8844ff517a3d53de08e8db1946f131c1b453ed9', "data-name": "Layer 1", viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("path", { key: 'bac30b666c106e75053219e752e6412e0912d786', d: "M17.08 18.02h-14c-1.65 0-3-1.35-3-3v-10c0-1.66 1.34-3 3-3h14c1.65 0 3 1.35 3 3v10c0 1.65-1.35 3-3 3m-14-14c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-10c0-.55-.45-1-1-1z" }), h("path", { key: '9f41e36838ce97891e4b38121a92e059890e35f6', d: "M10.08 12.02a.99.99 0 0 1-.55-.17l-9.01-6a1.01 1.01 0 0 1-.28-1.39c.31-.46.93-.58 1.39-.28l8.45 5.63 8.45-5.63a1.001 1.001 0 1 1 1.11 1.67l-9 6c-.17.11-.36.17-.55.17Z" })));
}
static get style() { return UtrechtIconMailStyle0; }
}, [1, "utrecht-icon-mail"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-mail"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-mail":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconMail$1);
}
break;
} });
}
const UtrechtIconMail = UtrechtIconMail$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconMail, defineCustomElement };
//# sourceMappingURL=utrecht-icon-mail.js.map