Skip to content

Releases: troberts-28/react-native-timer-picker

Release v2.3.1

09 Nov 12:38
c16aee6

Choose a tag to compare

N.B. This release doesn't introduce any changes to the published package.

⚙️ Dev Setup Modifications

  • Updated the projcet to use Yarn v4.11.0 for compatibility with npm OIDC.

Release v2.3.0

09 Nov 12:33
7daeeef

Choose a tag to compare

✨ Features

  • Made it possible to supply custom button components to the TimerPickerModal @kritikhedau

Thank you @kritikhedau for this excellent contribution 👏👏👏

Release v2.2.3

19 Oct 15:26
ab1f4a5

Choose a tag to compare

📈 Improvements

  • Make each of the values inputs for TimerPickerModal's setValue optional, so you do not have to supply values for pickers you are not using.

Release v2.2.2

19 Oct 15:26
dfceeba

Choose a tag to compare

📈 Improvements

  • Make each of the values inputs for TimerPicker's setValue optional, so you do not have to supply values for pickers you are not using.

Release v2.2.1

19 Oct 15:04
b20bbd8

Choose a tag to compare

📈 Improvements

  • Added much improved and expanded unit tests of components and utility functions.

⚙️ Dev Setup Modifications

  • Updated deps in the Expo (SDK 54) example project.
  • Removed redundant .npmignore file.

Release v2.2.0

19 May 14:01

Choose a tag to compare

✨ Features

  • Added support for a 'days' picker (#55) @nicholasareed
  • Made it possible to adjust the deceleration rate of the FlatLists in the picker (#57) @Off2Race

⚠️ Changes

  • The Audio and Haptics props have been deprecated in favour of the generic pickerFeedback callback. This was largely due to latency issues with expo-av, which was being used to supply the audio feedback. We now recommend using react-native-audio-api to provide audio feedback (see docs).

📈 Improvements

  • Improved typing of DurationScroll callbacks
  • Removed problematic CustomFlatList typing.
  • Added full JSDocs to all utility functions.
  • Made ESLint work in example-expo project.

⚙️ Dev Setup Modifications

  • Updated the projcet to Yarn v4.9.1.
  • Updated deps in both the Expo (SDK 53) and Bare example projects.

Thanks @nicholasareed and @Off2Race for your contributions 👏👏👏

Release v2.1.1

31 Mar 15:15
9a171f1

Choose a tag to compare

🐛 Bug Fixes

  • Fixed a typo in the LIGHT_MODE_TEXT_COLOR value (#51 ).

Release v2.1.0

20 Feb 10:53

Choose a tag to compare

✨ Features

  • Made it possible to have the TimerPicker component fade-out on a transparent background. The standard implementation relies on the component having a solid background, which meant you couldn't have a fade-out if rendering it on top of a gradient/image. This feature requires the MaskedView component to be supplied to the picker (see latest docs).

⚠️ Changes

  • Two props have been disabled (topPickerGradientOverlayProps and bottomPickerGradientOverlayProps). These have been consolidated into pickerGradientOverlayProps as the picker now renders a single LinearGradient that handles both the gradient at the top and bottom. To change the position of the gradient, supply your own locations array to pickerGradientOverlayProps.

⚙️ Dev Setup Modifications

  • Updated the projcet to Yarn v4.6.0.

Release v2.0.3

10 Feb 15:48
cb95c1d

Choose a tag to compare

🐛 Bug Fixes

  • Made a further attempt to fix an iOS snapping issue by making the DurationScroll inner FlatList width larger than the container. Works in all scenarios tested so far but not guaranteed to completely solve the issue (#44 and #46).
  • Added note to README about Tamagui bottom sheet component incompatibility (#45).

Release v2.0.2

16 Dec 10:08

Choose a tag to compare

🐛 Bug Fixes

  • Fixed an Android-specific issue that caused one or more of the pickers not initially rendering (until scrolled) inside TimerPickerModal (#43). This was a further manifestation of the slight change in RN's FlatList between v0.74 and v0.76 (the first part of which was fixed in v2.0.1).

✨ Features

  • Exposed three additional custom style props for additional styling flexibility (durationScrollFlatList, durationScrollFlatListContainer, durationScrollFlatListContentContainer)