dap-design-system
Version:
Official design system for the DÁP (dap.gov.hu)
62 lines (61 loc) • 2.9 kB
JavaScript
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 a } 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, r = (o, t, p, y) => {
for (var e = void 0, l = o.length - 1, c; l >= 0; l--)
(c = o[l]) && (e = c(t, p, e) || e);
return e && u(t, p, 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 d`
<svg
part="base"
class=${n("icon", "dap-ds-icon-cookie-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 fill-rule="evenodd" d="M19.999 11.893v.007zm-.062 1.116C19.439 16.945 16.067 20 12 20c-4.41 0-8-3.59-8-8 0-4.068 3.056-7.439 6.991-7.937.172.356.396.683.666.972-.22.95-.082 1.968.423 2.843a3.92 3.92 0 0 0 2.253 1.789 3.92 3.92 0 0 0 3.744 2.778q.451 0 .887-.103c.289.27.617.495.973.667M16.17 8.35a1.93 1.93 0 0 0 .951 1.837 1.92 1.92 0 0 0 2.067-.094.48.48 0 0 1 .711.19c.3.65.93 1.077 1.644 1.113a.48.48 0 0 1 .455.473l.001.04L22 12c0 5.514-4.486 10-10 10S2 17.514 2 12 6.486 2 12 2l.092.001h.04a.48.48 0 0 1 .472.456A1.91 1.91 0 0 0 13.716 4.1a.48.48 0 0 1 .19.712c-.43.61-.466 1.42-.094 2.066a1.93 1.93 0 0 0 1.837.951.48.48 0 0 1 .521.521m-3.293-2.435h-.002z" clip-rule="evenodd"></path><path d="M10 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0M8 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2M12 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0M16 16a1 1 0 1 0 0-2 1 1 0 0 0 0 2"></path>
</g>
</g>
</svg>
`;
}
};
i.tagName = "dap-ds-icon-cookie-line", i.styles = h(m);
let s = i;
r([
a({ type: Number, reflect: !0 })
], s.prototype, "size");
r([
a({ type: Boolean, reflect: !0 })
], s.prototype, "selected");
r([
a()
], s.prototype, "accessibilityTitle");
r([
a({ type: Boolean })
], s.prototype, "focusable");
export {
s as default
};
//# sourceMappingURL=others-cookie-line.component.js.map