UNPKG

dap-design-system

Version:

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

33 lines (32 loc) 1.07 kB
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 p } from "../../node_modules/@lit/reactive-element/decorators/property.js"; import f from "../modal/modal-base-element.js"; import n from "./tray.scss.js"; import { unsafeCSS as m, css as d } from "../../node_modules/@lit/reactive-element/css-tag.js"; var h = Object.defineProperty, c = (o, i, a, u) => { for (var t = void 0, r = o.length - 1, l; r >= 0; r--) (l = o[r]) && (t = l(i, a, t) || t); return t && h(i, a, t), t; }; const e = class e extends f { constructor() { super(), this.placement = "bottom", this.footer = "false", this.header = "false", this.title && (this.header = "true"); } render() { return this.renderModal(); } }; e.tagName = "dap-ds-tray", e.styles = d` ${m(f.styles)} ${m(n)} `; let s = e; c([ p({ reflect: !0 }) ], s.prototype, "placement"); export { s as default }; //# sourceMappingURL=tray.component.js.map