What's changed
ColorInput (new)
- A hex input with a color swatch. Pressing the swatch calls
onSwatchPress. Use it to open the picker in a modal or a bottom sheet. (#116)
InputWidget
ref.cycleFormat({ reversed: true })goes to the previous format. (#114)- If
formatsdrops the current format, the widget uses the first one.
Sliders, panels and thumbs
- On Reanimated 4.7+ and web, sliders and Panels 1, 2 and 4 paint one CSS gradient. No more color bleed at rounded edges. (#117)
- HSL strings no longer use exponent notation. (#115, thanks @jared-94)
- Circle, rect, pill and ring thumbs have no shadow. iOS no longer logs shadow warnings.
Inputs and swatches
- Each input has an
id. Chrome no longer reports form fields without one. - On iOS, inputs keep focus when the keyboard hides.
- Swatches have a thin border instead of a shadow.