@konstructio/ui
Version:
A set of reusable and customizable React components built for konstruct.io
58 lines (57 loc) • 1.08 kB
JavaScript
import { c as s } from "../../index-BNmRGtA6.js";
const t = s(
["h-2", "rounded-full", "overflow-hidden", "mt-4", "bg-zinc-200"],
{
variants: {
theme: {
kubefirst: "",
colony: "",
civo: ""
}
},
defaultVariants: {
theme: "kubefirst"
}
}
), r = s(
["h-full", "bg-[length:100%_100%]", "animate-gradient-move"],
{
variants: {
theme: {
kubefirst: "",
colony: "",
civo: ""
},
status: {
success: "",
progress: "",
error: ""
}
},
compoundVariants: [
{
status: "progress",
theme: "kubefirst",
class: ["bg-kubefirst-gradient"]
},
{
status: "success",
theme: "kubefirst",
class: ["bg-[#81E2B4]"]
},
{
status: "progress",
theme: "colony",
class: ["bg-kubefirst-gradient"]
}
],
defaultVariants: {
theme: "kubefirst",
status: "success"
}
}
);
export {
r as progressBarProgress,
t as progressBarVariants
};