UNPKG

@indielayer/ui

Version:

Indielayer UI Components with Tailwind CSS build for Vue 3

12 lines (11 loc) 1.04 kB
const i = { classes: { wrapper: ({ props: t }) => { const e = ["px-3"]; return e.push(t.dense ? "h-9 py-0.5" : "h-11 py-1"), t.to || t.href ? (e.push("flex items-center"), t.textAlign === "left" ? e.push("justify-start") : t.textAlign === "center" ? e.push("justify-center") : t.textAlign === "right" ? e.push("justify-end") : t.textAlign === "justify" && e.push("justify-center")) : (t.textAlign === "left" ? e.push("text-left") : t.textAlign === "center" ? e.push("text-center") : t.textAlign === "right" ? e.push("text-right") : t.textAlign === "justify" && e.push("text-justify"), t.verticalAlign === "baseline" ? e.push("align-baseline") : t.verticalAlign === "bottom" ? e.push("align-bottom") : t.verticalAlign === "middle" ? e.push("align-middle") : t.verticalAlign === "text-bottom" ? e.push("align-text-bottom") : t.verticalAlign === "text-top" ? e.push("align-text-top") : t.verticalAlign === "top" && e.push("align-top")), t.truncate && e.push("truncate"), e; } } }, l = i; export { l as default };