import { cn } from "@/lib/utils"; // Form controls on the desk. Server-safe class helpers plus thin elements, so a // plain GET form (the /browse/find idiom) stays zero-JS. // // Field a label over a control, with a hint or an error under it. The // error says what to fix ("Slug: letters, digits and dashes only"). // Input / Select / Textarea one look: panel ground, seam-2 edge, Signal on // focus (the global :focus-visible ring). export const controlClass = "rounded-[3px] border border-seam-2 bg-panel px-2.5 py-[5px] text-[13px] text-text placeholder:text-muted-2 disabled:opacity-50"; export function Field({ label, hint, error, className, children, ...props }: Omit, "title"> & { label: React.ReactNode; hint?: React.ReactNode; error?: React.ReactNode; }) { return ( ); } export function Input({ className, ...props }: React.ComponentProps<"input">) { return ; } export function Select({ className, ...props }: React.ComponentProps<"select">) { return