Skip to content

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

Release v1.8.0

12 May 12:27

Choose a tag to compare

  • 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

06 May 17:14

Choose a tag to compare

  • Merged the initialHours, initialMinutes and initialSeconds props into a single initialValue prop 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

02 Mar 12:32

Choose a tag to compare

  • Add the ability to selectively disable each of the three pickers. This can be done with these three props:
    • hoursPickerIsDisabled
    • minutesPickerIsDisabled
    • secondsPickerIsDisabled
  • You can adjust the styling of a disabled picker with the style prop disabledPickerContainer. The default is {opacity: 0.4}.

Release v1.5.4

01 Mar 17:21

Choose a tag to compare

  • 💄 Fix overflow styling issue for labels.
  • 📝 Update example & README to demonstrate ability to modify width of picker container.

Release v1.5.3

06 Feb 10:52

Choose a tag to compare

  • 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

06 Feb 10:10

Choose a tag to compare

  • Make TimerPicker react to changes in initial values

Release v1.5.1

16 Jan 13:32

Choose a tag to compare

  • Remove incorrect custom style types that led to TypeScript errors when supplying correct custom styles.

Release v1.5.0

09 Jan 11:29

Choose a tag to compare

  • Expose the allowFontScaling prop to make it possible to enable/disable scaling of font in picker due to accessibility settings (disabled by default).
  • Add proper typing of TimerPickerModal custom style props.

Release v1.4.0

27 Dec 09:23

Choose a tag to compare

  • 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

04 Dec 13:22

Choose a tag to compare

  • 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.