Summary
Improvements to the ColorPicker component to add missing ref support and improve configurability.
Improvements
1. Missing ref prop support on multiple sub-components
ColorPickerRoot, ColorPickerArea, and ColorPickerInput don't accept ref as a prop.
2. ColorPickerInput is hardcoded readOnly
The input always renders as readOnly — users can't type in a hex/rgb value directly.
4. Manual pointer event handling in Area
ColorPickerArea manually manages pointermove/pointerup window event listeners. These should be cleaned up properly on unmount.
Moved to Cross-Cutting Issues
The following items have been moved to cross-cutting issues that address them across all components:
Summary
Improvements to the ColorPicker component to add missing ref support and improve configurability.
Improvements
1. Missing
refprop support on multiple sub-componentsColorPickerRoot,ColorPickerArea, andColorPickerInputdon't acceptrefas a prop.2.
ColorPickerInputis hardcodedreadOnlyThe input always renders as
readOnly— users can't type in a hex/rgb value directly.4. Manual pointer event handling in Area
ColorPickerAreamanually managespointermove/pointerupwindow event listeners. These should be cleaned up properly on unmount.Moved to Cross-Cutting Issues
The following items have been moved to cross-cutting issues that address them across all components: