UNPKG

dap-design-system

Version:

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

62 lines (61 loc) 2.27 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 d } from "../../../../node_modules/lit-html/static.js"; import { DdsElement as f } from "../../../../internal/dds-hu-element.js"; import m from "../../../icon/_styles/icon.scss.js"; import { unsafeCSS as h } from "../../../../node_modules/@lit/reactive-element/css-tag.js"; var u = Object.defineProperty, a = (p, t, l, g) => { for (var s = void 0, o = p.length - 1, c; o >= 0; o--) (c = p[o]) && (s = c(t, l, s) || s); return s && u(t, l, s), s; }; 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 d` <svg part="base" class=${n("icon", "dap-ds-icon-more-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 ? d`<title>${this.accessibilityTitle}</title>` : null} <g part="container"> <g> <path d="M4.5 10.5c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5S6 12.825 6 12s-.675-1.5-1.5-1.5m15 0c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5S21 12.825 21 12s-.675-1.5-1.5-1.5m-7.5 0c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5 1.5-.675 1.5-1.5-.675-1.5-1.5-1.5"></path> </g> </g> </svg> `; } }; i.tagName = "dap-ds-icon-more-line", i.styles = h(m); let e = i; a([ r({ type: Number, reflect: !0 }) ], e.prototype, "size"); a([ r({ type: Boolean, reflect: !0 }) ], e.prototype, "selected"); a([ r() ], e.prototype, "accessibilityTitle"); a([ r({ type: Boolean }) ], e.prototype, "focusable"); export { e as default }; //# sourceMappingURL=system-more-line.component.js.map