@utrecht/web-component-library-stencil
Version:
Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture
39 lines (34 loc) • 2.35 kB
JavaScript
import { p as proxyCustomElement, H, h } from './p-2f0ff193.js';
const generatedDirectionInheritCss = ":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%}:host([direction=inherit]:dir(rtl)){--utrecht-icon-scale-x:-1}svg{transform:scaleX(var(--utrecht-icon-scale-x, 1))}";
const UtrechtIconChevronLeftStyle0 = generatedDirectionInheritCss;
const UtrechtIconChevronLeft$1 = /*@__PURE__*/ proxyCustomElement(class UtrechtIconChevronLeft extends H {
constructor() {
super();
this.__registerHost();
this.__attachShadow();
this.direction = 'inherit';
}
render() {
return (h("svg", { key: '20b2d754b2ef5138f0c00146c20d8e54a0721633', viewBox: "0 0 8 14", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("defs", { key: 'fd8885fc68d163fbddcf6693b1b6c39b09292dec' }, h("clipPath", { key: 'ac173fe63383b8006ecd5d84f21ff55d15ed083d', id: "a" }, h("path", { key: '5f415cb0e5473063bea2ee4d307d40120a0ff5c7', "stroke-width": "0", d: "M0 0h8v14H0z" }))), h("g", { key: '7f66cb4632b2079978dc523aa5ef7f18fac0b300', "clip-path": "url(#a)" }, h("path", { key: '9106a0237b2a8030bee44d7746562cd0c2748a52', d: "M7 14c-.26 0-.51-.1-.71-.29l-6-6a.996.996 0 0 1 0-1.41l6-6.01A.996.996 0 1 1 7.7 1.7L2.41 7l5.29 5.29a.996.996 0 0 1-.71 1.7Z" }))));
}
static get style() { return UtrechtIconChevronLeftStyle0; }
}, [1, "utrecht-icon-chevron-left", {
"direction": [513]
}]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["utrecht-icon-chevron-left"];
components.forEach(tagName => { switch (tagName) {
case "utrecht-icon-chevron-left":
if (!customElements.get(tagName)) {
customElements.define(tagName, UtrechtIconChevronLeft$1);
}
break;
} });
}
const UtrechtIconChevronLeft = UtrechtIconChevronLeft$1;
const defineCustomElement = defineCustomElement$1;
export { UtrechtIconChevronLeft, defineCustomElement };
//# sourceMappingURL=utrecht-icon-chevron-left.js.map