Releases: web-ridge/react-native-paper-dates
Releases · web-ridge/react-native-paper-dates
Release 0.8.4
Release 0.8.3
Release 0.8.2
0.8.2 (2022-01-05)
Bug Fixes
- add support for arguments in translations (ad58626)
- fix for #130 (08357ed)
- upgrades for expo (06e2b0a)
Breaking changes
-- mustBeHigherThan: `Must be later then`,
-- mustBeLowerThan: `Must be earlier then`,
-- mustBeBetween: `Must be between`,
++ mustBeHigherThan: (date) => `Must be later then ${date}`,
++ mustBeLowerThan: (date) => `Must be earlier then ${date}`,
++ mustBeBetween: (startDate, endDate) => `Must be between ${startDate} - ${endDate}`,
Release 0.8.1
0.8.1 (2021-12-23)
What's Changed
- add Portuguese translations by @NicoleLatifiNutrien in #125
New Contributors
- @NicoleLatifiNutrien made their first contribution in #125
Full Changelog: v0.8.0...v0.8.1
Release 0.8.0
Release 0.7.0
0.7.0 (2021-11-13)
Bug Fixes
- analog-clock: add condition when selecting am 12 to return 00:00 (7a803a9)
- tests: fix jest issues (54fb0a0)
Features
- add a11y labels to buttons (bd379d2)
- internationalize new copy (3e6cc66)
- ios Voice control for PL and NL (8663078)
- make more buttons accessible (69003dd)
What's Changed
- fix(analog-clock): add condition when selecting am 12 to return 00:00 by @J3j3m in #114
- Button accessibility by @CodingItWrong in #115
New Contributors
- @CodingItWrong made their first contribution in #115
Full Changelog: v0.6.0...v0.7.0
Release 0.6.0
Release 0.5.0
0.5.0 (2021-10-20)
Breaking changes
- locale prop is now required on Date related things (the time picker is still automatic)
<DatePickerModal
+ locale="en" // this is added
mode="single"
visible={open}
onDismiss={onDismissSingle}
date={date}
onConfirm={onConfirmSingle}
- you have to import your locale strings, more info -> README.md#import-some-localized-strings
e.g.
// e.g in your index.js
import {
en,
// nl,
registerTranslation,
} from 'react-native-paper-dates'
registerTranslation('en', en)
// registerTranslation('nl', nl)
Bug Fixes
- fix bug with date picker input not filling width ios (1aa9622)
- timepicker: selecting 12pm returns 24 hrs (96ab103)
- linter fixes (d18ed51)
- Modify logic to lighten and darken colors (93daecd)
Features
- add date picker input (d91abd8)
- add more docs (067d78d)
- add more translations (9d69bd4)
- require locale (4ef7869)
What's Changed
- fix: Modify logic to lighten and darken colors by @chakrihacker in #95
- fix(timepicker): selecting 12pm returns 24 hrs by @J3j3m in #110
- Introduce disabled dates prop. by @iM-GeeKy in #109
New Contributors
Full Changelog: v0.4.6...v0.5.0