UNPKG

@dialpad/dialtone-vue

Version:

Vue component library for Dialpad's design system Dialtone

36 lines (35 loc) 1.01 kB
import { n as s } from "../../_plugin-vue2_normalizer-DSLOjnn3.js"; import r from "../stack/stack.js"; const e = { name: "DtDropdownList", components: { DtStack: r }, props: { /** * List's heading. */ heading: { type: String, default: "" }, /** * Additional class for the wrapper list element. */ listClass: { type: [String, Array, Object], default: "" } } }; var d = function() { var t = this, a = t._self._c; return a("li", [t.heading ? a("dt-stack", { staticClass: "dt-dropdown-list--header d-fs12 d-fc-black-400 d-fw-bold d-lh4 d-py4 d-px12", attrs: { direction: "row", align: "center" } }, [a("span", [t._v(t._s(t.heading))])]) : t._e(), a("ul", { class: ["d-ps-relative", "d-stack2", "d-px0", t.listClass], attrs: { "data-qa": "dt-dropdown-list-wrapper" } }, [t._t("default")], 2)], 1); }, n = [], o = /* @__PURE__ */ s( e, d, n ); const c = o.exports; export { c as default }; //# sourceMappingURL=dropdown-list.js.map