npm reanimated-color-picker 5.1.4
v5.1.4

50 minutes ago

What's changed

Performance

  • colorKit is built once per runtime. Before, every colorKit.runOnUI() call built it again.
  • colorKit parses hex strings and color objects with fewer allocations.
  • Panel5 grid search is about 2x faster.
  • Sliders and panels update their accessibility value only while a screen reader is on. Web is unchanged.
  • Panel2 and Panel3 skip the HSL conversion unless the channel is hsl-saturation.
  • Input widgets convert colors directly, with no string round trip.
  • Ring thumb background no longer uses colorKit.

API

  • The picker context has a new isScreenReaderEnabled shared value.

Examples and docs

  • ExampleLatest upgraded to React Native 0.88, ExampleExpoLatest to Expo SDK 58.
  • The example modal stays clear of the system bars, with no texture flash on open.
  • Docs moved to Babel 8 and the worklets OXC plugin.

Don't miss a new reanimated-color-picker release

NewReleases is sending notifications on new releases.