import type { InputHTMLAttributes, ReactNode, SelectHTMLAttributes, TextareaHTMLAttributes } from 'react' import { cx } from './cx' export const INPUT_CLASS = 'w-full min-h-9 px-2.5 py-1.5 text-sm text-ink caret-accent bg-surface border border-divider ' + 'hover:border-ink/45 focus-visible:border-accent focus-visible:outline-offset-0 ' + 'disabled:opacity-45 disabled:cursor-not-allowed' export function Field({ label, htmlFor, children }: { label: string; htmlFor: string; children: ReactNode }) { return (