Skip to content

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

Release v2.6.2

23 Mar 20:08
10c0c5b

Choose a tag to compare

🐛 Fixes

  • Fix modal overlay not taking full height on Android
  • Fix landscape page sizing in example on Android

Release v2.6.1

26 Feb 18:37
fb766e5

Choose a tag to compare

🐛 Fixes

  • Fixed release CI failing to build the libaray, which caused v2.6.0 to be published without any compiled code 💀
  • Add prepublishOnly script as a safety net to ensure the project is always built before publishing

⚙️ Dev Setup Modifications

  • Add release CLAUDE command

Release v2.6.0

25 Feb 21:07
e65cf57

Choose a tag to compare

⚠️ This version was published without compiled code due to a CI issue. Use v2.6.1 instead.

✨ Features

  • Add pickerColumnWidth and pickerLabelGap style options for improved customisation of picker layout

⚠️ Changes

  • Deprecate labelOffsetPercentage style option in favour of pickerLabelGap

🐛 Fixes

  • Fix modal width issue when the cancel bar was hidden

⚙️ Dev Setup Modifications

  • Update ESLint and Prettier config and reapply formatting
  • Add pre-commit hook for linting and formatting
  • Apply linting to example folders and align tsconfig

Release v2.5.0

08 Feb 20:15
ba5ff33

Choose a tag to compare

✨ Features

  • Add a selectedPickerItem style prop to allow you to style the currently-selected value in each picker (#70) @QuenK30

🐛 Fixes

  • Fixed the setValue method in the TimerPicker component not correctly updating values when setting them to zero for days, hours, minutes, or seconds (#73) @Folapov

Thanks @QuenK30 and @Folapov for your contributions 👏

Release v2.4.0

13 Dec 19:31
b7b5102

Choose a tag to compare

✨ Features

  • Add a labelOffsetPercentage prop to control the distance between the label and each picker.

📈 Improvements

  • Improve the default styling of TimerPicker and TimerPickerModal to remove hacky sizing/positioning calculations based on font size and avoid FlatList width determination issues. This should solve some longstanding issues on certain Android devices (#50).
  • Pad numbers with a figure space instead of a standard space to fix alignment issue when padWithZero is set to false.
  • Make midnight appear as '12 AM' on the 12-hour picker rather than '0 AM' (according to convention) (#67).
  • Extract PickerItem into its own memoized component.

⚙️ Dev Setup Modifications

  • Updated deps in the Expo example project.

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.