@konstructio/ui
Version:
A set of reusable and customizable React components built for konstruct.io
61 lines (60 loc) • 1.12 kB
JavaScript
import { c as e } from "../../index-BNmRGtA6.js";
const r = e(
[
"flex",
"w-full",
"rounded-md",
"border",
"border-zinc-200",
"bg-transparent",
"text-zinc-700",
"transition-colors",
"placeholder:text-muted-foreground",
"focus-visible:outline-none",
"focus-visible:ring-1",
"focus-visible:ring-ring",
"disabled:cursor-not-allowed",
"disabled:opacity-50",
"shadow-sm",
"py-1",
"px-2"
],
{
variants: {
variant: {
default: ""
},
theme: {
kubefirst: ["focus:ring-kubefirst-primary"],
colony: ["focus:focus:ring-red-400"],
civo: ""
}
},
defaultVariants: {
theme: "kubefirst",
variant: "default"
}
}
), a = e(
["pl-1", "mb-2", "text-base", "cursor-pointer"],
{
variants: {
variant: {
default: ""
},
theme: {
kubefirst: "",
colony: "",
civo: ""
}
},
defaultVariants: {
variant: "default",
theme: "kubefirst"
}
}
);
export {
r as autocompleteVariants,
a as labelVariants
};