Contents
PR Summary
What problems was I solving
The ColorInput component exposed an unused controlled-input prop variant (value, onChange, onBlur, error) alongside its form-backed variant. This created a more complex props interface than necessary and a harder-to-follow internal branching path with no actual consumers.
What user-facing changes did I ship
No user-facing changes. The component behaves identically for all existing form-backed callers; the diff only removes the unsupported controlled-input mode.
How I implemented it
I collapsed the ColorInputBaseProps, ColorInputControlledProps, ColorInputFormProps discriminated union into a single ColorInputProps that always requires form and fieldPath. I removed the props.form ternary in the component body, directly reading value, change/blur handlers, and error state from the form. I also removed the unused export type { ColorInputForm } re-export.
Description for the changelog
Removes the dead controlled-input prop variant from the ColorInput component in the management UI. The form-backed API is unchanged, and all existing callers continue to work as before.