import * as React from 'react' import type z4 from 'zod/v4' import type { InputProps, InputVariantEnum } from '../types' import { cn } from '../utils' import { Container } from './container' import { Label } from './label' import { RequiredIndicator } from './required-indicator' import { Text } from './text' const inputVariantClasses: Record, string> = { ghost: '', primary: 'border focus-visible:ring-2 focus-visible:ring-accent' } const Input = React.forwardRef( ( { id, variant = 'primary', defaultValue, label, description, placeholder, required, type = 'text', value, onChange, maxLength, disabled, autoFocus = false, onKeyDown, step = 1, max, min, className }, ref ) => { return ( {label && } {/* TODO: remove className in container */} {required && } {description && ( {description} )} ) } ) Input.displayName = 'Input' export { Input }