"use client"; import { useState, type FocusEvent } from "react"; import styles from "./AuthShell.module.css"; function clearAutofillOnFocus(event: FocusEvent) { event.currentTarget.removeAttribute("readonly"); } export function AuthField({ label, type = "text", name, placeholder, autoComplete, required, disabled, dir, }: { label: string; type?: string; name: string; placeholder?: string; autoComplete?: string; required?: boolean; disabled?: boolean; dir?: "ltr" | "rtl" | "auto"; }) { return ( ); } export function AuthPasswordField({ label, name, autoComplete, required, disabled, }: { label: string; name: string; autoComplete?: string; required?: boolean; disabled?: boolean; }) { const [visible, setVisible] = useState(false); return (
); }