UNPKG

dap-design-system

Version:

Official design system for the DÁP (dap.gov.hu)

62 lines (61 loc) 2.29 kB
import { clsx as n } from "../../../../node_modules/clsx/dist/clsx.js"; import "../../../../node_modules/@lit/reactive-element/reactive-element.js"; import "../../../../node_modules/lit-html/lit-html.js"; import "../../../../node_modules/lit-element/lit-element.js"; import { property as r } from "../../../../node_modules/@lit/reactive-element/decorators/property.js"; import { html as c } from "../../../../node_modules/lit-html/static.js"; import { DdsElement as f } from "../../../../internal/dds-hu-element.js"; import h from "../../../icon/_styles/icon.scss.js"; import { unsafeCSS as m } from "../../../../node_modules/@lit/reactive-element/css-tag.js"; var u = Object.defineProperty, a = (p, t, l, g) => { for (var e = void 0, o = p.length - 1, d; o >= 0; o--) (d = p[o]) && (e = d(t, l, e) || e); return e && u(t, l, e), e; }; const i = class i extends f { constructor() { super(...arguments), this.size = 24, this.selected = !1, this.focusable = !1; } firstUpdated(t) { super.firstUpdated(t), this.classList.add("dap-ds-icon"); } render() { var t; return c` <svg part="base" class=${n("icon", "dap-ds-icon-eye-line")} xmlns="http://www.w3.org/2000/svg" width=${this.size} height=${this.size} viewBox="0 0 24 24" tabindex=${this.focusable ? 0 : -1} aria-hidden=${(t = this.ariaHidden) != null ? t : "true"}> ${this.accessibilityTitle ? c`<title>${this.accessibilityTitle}</title>` : null} <g part="container"> <g> <path d="M12 3c5.392 0 9.878 3.88 10.819 9-.94 5.12-5.427 9-10.819 9s-9.878-3.88-10.818-9C2.122 6.88 6.608 3 12 3m0 16a9.005 9.005 0 0 0 8.778-7 9.005 9.005 0 0 0-17.555 0A9.005 9.005 0 0 0 12 19m0-2.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9m0-2a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5"></path> </g> </g> </svg> `; } }; i.tagName = "dap-ds-icon-eye-line", i.styles = m(h); let s = i; a([ r({ type: Number, reflect: !0 }) ], s.prototype, "size"); a([ r({ type: Boolean, reflect: !0 }) ], s.prototype, "selected"); a([ r() ], s.prototype, "accessibilityTitle"); a([ r({ type: Boolean }) ], s.prototype, "focusable"); export { s as default }; //# sourceMappingURL=system-eye-line.component.js.map