UNPKG

@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.04 kB
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 UtrechtIconWarningStyle0 = generatedCss; const UtrechtIconWarning$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconWarning extends HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); } render() { return (h("svg", { key: '56a1713e933e3fa019344435d0e0e33d2dbad497', viewBox: "-7 -8 38 38", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("path", { key: '8098dd48684144a0a2092b147f612ed31c76b347', 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: '6b917dcf9ca1219c303459c45736ca4724bdf423', width: "1.9", height: "6.65", x: "12.9", y: "15.65", rx: ".5", transform: "rotate(-180 12.9 15.65)" }), h("circle", { key: '285102b36225eb90e72014a8a2b4ab3919e81f1a', 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