New Components
<LuminanceSlider />and<HSLSaturationSlider />: Slider components for HSL color space. PR #62<LuminanceCircular />: A luminance circular slider for HSL color space. PR #65<ExtraThumb />: Adds an extra indicator only forPanel3. PR #60
New Props
thumbScaleAnimationValueandthumbScaleAnimationDuration: Control thumb scaling animation when it is active. PR #67rotateProp in<HueCircular />Component: For Hue Rotation. PR #68rotateProp in<Panel3 />Component: For Hue Rotation. PR #61renderCenterLineprop in<Panel3 />: Draws a line from the center to the thumb. PR #56gesturesin Color Picker Components: To runRNGHgestures or composed ones with the existing color picker gestures. PR #59'hsl-saturation'Option forcenterChannelprop in<Panel3 />Component. PR #63'hsl-saturation'Option forverticalChannelprop in<Panel2 />Component. PR #64
Improvements
reanimated-color-pickercan now run entirely on the UI thread.onChangeandonCompleteprops now accept aworkletfunction.- Added
runOnUIoption forcolorKitto run inside aworkletfunction. PR #52 - Introducing
roundValuesOption incolorKitfor Precise Color Conversions. PR #53 - Seamless UI Thread Integration: Replacing Utils with
colorKitMethods. PR #54 - Enhanced UI Responsiveness: Implementing UI Thread Updates for
PreviewTextandInputWidget. PR #55 - Exposed
useColorPickerContext. - Improved examples.
- Improved documentation.
Fixes
- Fixed jitter and added smoothness for all sliders by removing
Math.round. - Fixed
thumbStyleandinnerStylebeing overwritten. - Fixed
ringthumb shape centering issue. - Fixed: prevented gestures outside the circle in
<Panel3 />and<HueCircular />components.
Full Changelog: Compare v2.4.2 to v3.0.0