Releases: troberts-28/react-native-timer-picker
Releases · troberts-28/react-native-timer-picker
Release v1.8.0
- Added support for iOS-style Haptic and Audio (click sound) feedback for the picker. Note that this has so far only been configured for Expo projects. It would be a simple piece of work for someone to configure it for bare projects.
- Reorganised the file structure to make it simpler and easier to read.
- Applied more advanced linting to clean up the codebase and make it easier to follow props through the code.
Release v1.7.0
- Merged the
initialHours,initialMinutesandinitialSecondsprops into a singleinitialValueprop with type{ hours?: number, minutes?: number, seconds?: number }. This is for clarity and easy-of-use, whilst also guarding against a crash when a similar object was supplied to the old props. - Added missing typings for custom styles - contrubuted by @giovanniRodighiero 🙌
Release v1.6.0
- Add the ability to selectively disable each of the three pickers. This can be done with these three props:
hoursPickerIsDisabledminutesPickerIsDisabledsecondsPickerIsDisabled
- You can adjust the styling of a disabled picker with the style prop
disabledPickerContainer. The default is{opacity: 0.4}.
Release v1.5.4
- 💄 Fix overflow styling issue for labels.
- 📝 Update example & README to demonstrate ability to modify width of picker container.
Release v1.5.3
- Add navigation arrows to example
- Update scroll offset on orientation change on example
- Improve dev experience
- Add contributing guide to README
Release v1.5.2
- Make TimerPicker react to changes in initial values
Release v1.5.1
- Remove incorrect custom style types that led to TypeScript errors when supplying correct custom styles.
Release v1.5.0
- Expose the
allowFontScalingprop to make it possible to enable/disable scaling of font in picker due to accessibility settings (disabled by default). - Add proper typing of
TimerPickerModalcustom style props.
Release v1.4.0
- Add 12-hour option with flexible AM/PM label.
- Improve default styling consistency.
- Update documentation and examples to highlight new features.
Release v1.3.0
- Improve responsiveness of confirmed duration in modal. Now always gets the latest value on clicking confirm, even if the input is still scrolling.
- Improve naming of internal functions for readability.
- Remove promise of web support in README.