This component manages the state of three separate inputs and combines them into a single
ISO date string (YYYY-MM-DD) in a hidden input for form submission.
It uses a reducer to manage internal state and synchronizes with the value prop.
Example
import { DateInput, Day, MonthSelect, Year } from'./date_input';
A compound component for selecting a date using separate inputs for day, month, and year.