UNPKG

@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.38 kB
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client'; 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 HTMLElement { constructor() { super(); this.__registerHost(); this.__attachShadow(); this.direction = 'inherit'; } render() { return (h("svg", { key: '203132a57689f8586c72027e633156a54ffc0183', viewBox: "0 0 8 14", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", height: "1em", width: "1em" }, h("defs", { key: 'd1b9548aa17c7e4b562aa745e152da58822bcc25' }, h("clipPath", { key: '694ebdbb90cdcb2a3729235ca18d3916376ff13b', id: "a" }, h("path", { key: '344cab9589b9de89bccc62f714c400f95c110c52', "stroke-width": "0", d: "M0 0h8v14H0z" }))), h("g", { key: 'd2fb11df5e914b1556bfa3e5172ee0e1f0d99991', "clip-path": "url(#a)" }, h("path", { key: '1a3ac6f8c8da51dbe1692b4d4fa0429e77366069', 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