@konstructio/ui
Version:
A set of reusable and customizable React components built for konstruct.io
94 lines (93 loc) • 1.53 kB
JavaScript
import { c as e } from "../../index-BNmRGtA6.js";
const t = e(
[
"relative",
"flex",
"items-center",
"w-full",
"border",
"border-gray-200",
"rounded-full",
"shadow-sm"
],
{
variants: {
theme: {
kubefirst: "",
colony: "",
civo: ""
}
},
defaultVariants: {
theme: "kubefirst"
}
}
), a = e(["absolute", "h-full"], {
variants: {
theme: {
kubefirst: ["bg-kubefirst-secondary"],
colony: ["bg-red-500"],
civo: ""
}
},
defaultVariants: {
theme: "kubefirst"
}
}), s = e(
["relative", "flex-grow", "bg-gray-100", "rounded-full"],
{
variants: {
theme: {
kubefirst: "",
colony: "",
civo: ""
},
size: {
sm: ["h-1"],
md: ["h-2"],
lg: ["h-3"]
}
},
defaultVariants: {
theme: "kubefirst",
size: "md"
}
}
), i = e(
[
"block",
"w-5",
"h-5",
"rounded-full",
"cursor-pointer",
"focus-visible:outline-none",
"shadow-md",
"bg-white",
"border",
"border-gray-300"
],
{
variants: {
theme: {
kubefirst: "",
colony: "",
civo: ""
},
size: {
sm: ["w-5", "h-5"],
md: ["w-6", "h-6"],
lg: ["w-7", "h-7"]
}
},
defaultVariants: {
theme: "kubefirst",
size: "md"
}
}
);
export {
a as rangeOutsideVariants,
t as rangeVariants,
i as thumbVariants,
s as trackVariants
};