UNPKG

vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

33 lines (32 loc) 771 B
import { defineComponent as m, computed as p, createVNode as i } from "vue"; import { useProps as s, useNameHelper as u } from "@vexip-ui/config"; import { ulProps as a } from "./props.mjs"; const d = /* @__PURE__ */ m({ name: "UL", props: a, emits: [], setup(l, { slots: e }) { const t = s("ul", l, { listStyle: "circle" }), r = u("ul"), n = p(() => ({ [r.b()]: !0, [r.bm("inherit")]: t.inherit, [r.bm("no-marker")]: t.listStyle === "none" })); return () => { var o; return i("ul", { class: n.value, style: { listStyleType: t.listStyle } }, [(o = e.default) == null ? void 0 : o.call(e)]); }; } }); export { d as default }; //# sourceMappingURL=ul.mjs.map