@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.01 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 UtrechtIconWarningStyle0 = generatedCss;
const UtrechtIconWarning$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconWarning extends H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: '80d4de7a42f54551825599d4189271cf108a33df', viewBox: "-7 -8 38 38", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("path", { key: 'ae7b59907c866d2ad53628db0656d88c3e627657', d: "M11.134 3.5a1 1 0 0 1 1.732 0L22.392 20a1 1 0 0 1-.866 1.5H2.474a1 1 0 0 1-.866-1.5z" }), h("rect", { key: '5becd7b4dcc92418673b4727523a69cbe755fe43', width: "1.9", height: "6.65", x: "12.9", y: "15.65", rx: ".5", transform: "rotate(-180 12.9 15.65)" }), h("circle", { key: '01fbbb0efda4f47431817f28c1f6a156d7fc2a96', cx: "11.95", cy: "17.55", r: ".95", transform: "rotate(-180 11.95 17.55)" })));
}
static get style() { return UtrechtIconWarningStyle0; }
}, [1, "utrecht-icon-warning"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-warning"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-warning":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconWarning$1);
}
break;
} });
}
const UtrechtIconWarning = UtrechtIconWarning$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconWarning, defineCustomElement };
//# sourceMappingURL=utrecht-icon-warning.js.map