@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.14 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 UtrechtIconCloseStyle0 = generatedCss;
const UtrechtIconClose$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconClose extends H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
}
render() {
return (h("svg", { key: '5cfef4885b900acde76d42ea2268e3b148ce50b5', viewBox: "0 0 14 14", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("defs", { key: 'ea090e1cf2a5e0d3ba9304357d7781de1847e38e' }, h("clipPath", { key: '094c36c8fd4566eac83cfde37218d385eaae834f', id: "a" }, h("path", { key: 'd89c734d0c22d33f53c235e94404c4bebc154baa', "stroke-width": "0", d: "M0 0h14v14H0z" }))), h("g", { key: '96676f63a0cf0ce19102b47835664141ea54765d', "clip-path": "url(#a)" }, h("path", { key: '5a4fe7429bdfda4d77272781db324654f9b8a61a', "fill-rule": "evenodd", d: "M13.71 1.71A.996.996 0 1 0 12.3.3L7.01 5.59 1.71.29C1.32-.1.68-.1.29.29-.1.68-.1 1.32.29 1.71L5.58 7 .29 12.29A.996.996 0 1 0 1.7 13.7l5.29-5.29 5.29 5.29a.996.996 0 1 0 1.41-1.41L8.4 7z" }))));
}
static get style() { return UtrechtIconCloseStyle0; }
}, [1, "utrecht-icon-close"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-close"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-close":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconClose$1);
}
break;
} });
}
const UtrechtIconClose = UtrechtIconClose$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconClose, defineCustomElement };
//# sourceMappingURL=utrecht-icon-close.js.map