Releases: troberts-28/react-native-timer-picker
Releases · troberts-28/react-native-timer-picker
Release v2.6.2
🐛 Fixes
- Fix modal overlay not taking full height on Android
- Fix landscape page sizing in example on Android
Release v2.6.1
🐛 Fixes
- Fixed release CI failing to build the libaray, which caused v2.6.0 to be published without any compiled code 💀
- Add
prepublishOnlyscript as a safety net to ensure the project is always built before publishing
⚙️ Dev Setup Modifications
- Add release CLAUDE command
Release v2.6.0
⚠️ This version was published without compiled code due to a CI issue. Use v2.6.1 instead.
✨ Features
- Add
pickerColumnWidthandpickerLabelGapstyle options for improved customisation of picker layout
⚠️ Changes
- Deprecate
labelOffsetPercentagestyle option in favour ofpickerLabelGap
🐛 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
Release v2.4.0
✨ Features
- Add a
labelOffsetPercentageprop to control the distance between the label and each picker.
📈 Improvements
- Improve the default styling of
TimerPickerandTimerPickerModalto 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
padWithZerois set to false. - Make midnight appear as '12 AM' on the 12-hour picker rather than '0 AM' (according to convention) (#67).
- Extract
PickerIteminto its own memoized component.
⚙️ Dev Setup Modifications
- Updated deps in the Expo example project.
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.