UNPKG

@konstructio/ui

Version:

A set of reusable and customizable React components built for konstruct.io

79 lines (78 loc) 1.16 kB
import { c as t } from "../../index-BNmRGtA6.js"; const r = t( [ "table-auto", "w-full", "border-collapse", "border-spacing-0", "rounded", "shadow-sm" ], { variants: { theme: { kubefirst: "", colony: "", civo: "" } }, defaultVariants: { theme: "kubefirst" } } ), a = t( [ "h-8", "text-inherit", "[&>td]:py-3", "[&>td]:px-4", "text-slate-700", "hover:bg-zinc-100", "hover:cursor-pointer" ], { variants: { theme: { kubefirst: "", colony: "", civo: "" }, isSelected: { true: "bg-purple-50", false: "" } } } ), o = t( [ "h-[18px]", "bg-slate-100", "[&>tr>th]:py-3", "[&>tr>th]:px-4", "[&>tr>th]:uppercase", "text-left" ], { variants: { theme: { kubefirst: "", colony: "", civo: "" } } } ), s = t([], { variants: { theme: { kubefirst: "", colony: "", civo: "" } } }); export { s as bodyVariants, o as headVariants, a as rowVariants, r as tableVariants };