Releases: troberts-28/react-native-timer-picker
Releases · troberts-28/react-native-timer-picker
Release v2.3.1
N.B. This release doesn't introduce any changes to the published package.
⚙️ Dev Setup Modifications
- Updated the projcet to use Yarn
v4.11.0for compatibility with npm OIDC.
Release v2.3.0
✨ Features
- Made it possible to supply custom button components to the
TimerPickerModal@kritikhedau
Thank you @kritikhedau for this excellent contribution 👏👏👏
Release v2.2.3
📈 Improvements
- Make each of the values inputs for TimerPickerModal's
setValueoptional, so you do not have to supply values for pickers you are not using.
Release v2.2.2
📈 Improvements
- Make each of the values inputs for TimerPicker's
setValueoptional, so you do not have to supply values for pickers you are not using.
Release v2.2.1
📈 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
.npmignorefile.
Release v2.2.0
✨ 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
AudioandHapticsprops have been deprecated in favour of the genericpickerFeedbackcallback. This was largely due to latency issues withexpo-av, which was being used to supply the audio feedback. We now recommend usingreact-native-audio-apito provide audio feedback (see docs).
📈 Improvements
- Improved typing of
DurationScrollcallbacks - Removed problematic
CustomFlatListtyping. - Added full JSDocs to all utility functions.
- Made ESLint work in
example-expoproject.
⚙️ 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
🐛 Bug Fixes
- Fixed a typo in the
LIGHT_MODE_TEXT_COLORvalue (#51 ).
Release v2.1.0
✨ Features
- Made it possible to have the
TimerPickercomponent 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 theMaskedViewcomponent to be supplied to the picker (see latest docs).
⚠️ Changes
- Two props have been disabled (
topPickerGradientOverlayPropsandbottomPickerGradientOverlayProps). These have been consolidated intopickerGradientOverlayPropsas 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 ownlocationsarray topickerGradientOverlayProps.
⚙️ Dev Setup Modifications
- Updated the projcet to Yarn
v4.6.0.
Release v2.0.3
🐛 Bug Fixes
- Made a further attempt to fix an iOS snapping issue by making the
DurationScrollinner 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
🐛 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 betweenv0.74andv0.76(the first part of which was fixed inv2.0.1).
✨ Features
- Exposed three additional custom style props for additional styling flexibility (
durationScrollFlatList,durationScrollFlatListContainer,durationScrollFlatListContentContainer)