import type { ComponentPropsWithRef, ReactNode } from 'react' import { cx } from '../lib/cx' /** Glass controls on the navy CTA panel. */ const controlClass = 'w-full rounded-[14px] border border-white/[0.18] bg-white/[0.08] text-white outline-none ' + 'transition-[border-color,background-color,box-shadow] duration-200 placeholder:text-white/[0.42] ' + 'focus:border-teal focus:bg-white/[0.12] focus:shadow-[0_0_0_4px_rgb(0_196_180/0.12)]' function Field({ id, label, full, children }: { id: string; label: string; full?: boolean; children: ReactNode }) { return (
{children}
) } export function TextField({ id, label, full, ...rest }: { id: string; label: string; full?: boolean } & ComponentPropsWithRef<'input'>) { return ( ) } export function TextareaField({ id, label, full, ...rest }: { id: string; label: string; full?: boolean } & ComponentPropsWithRef<'textarea'>) { return (