Commit Graph

2229 Commits

Author SHA1 Message Date
satyajit.happy
2d22d877e9 fix: fix typescript definitions. closes #163 2019-09-17 23:25:33 +02:00
satyajit.happy
cb2e05abc6 chore: release 2.5.2 2019-09-13 15:51:32 +02:00
satyajit.happy
9e5f4d7a64 fix: fix path for declaration file 2019-09-13 15:51:06 +02:00
satyajit.happy
6144eeb89a chore: fix version of react-navigation-stack 2019-09-12 20:17:19 +02:00
satyajit.happy
f3cb10bf21 chore: release 2.5.1 2019-09-12 20:00:38 +02:00
satyajit.happy
cebb0dbd62 fix: loosen types for navigation prop 2019-09-12 19:54:19 +02:00
satyajit.happy
9da5452878 chore: release 2.5.0 2019-09-12 16:40:21 +02:00
satyajit.happy
7ecc884ecd feat: export types for ScreenProps amd ScreenComponent 2019-09-12 16:39:34 +02:00
satyajit.happy
72c98c918f chore: release 2.4.2 2019-09-11 17:04:51 +02:00
Satyajit Sahoo
255266a683 fix: fix typescript definitions (#165) 2019-09-11 17:00:23 +02:00
satyajit.happy
60c9f6833c chore: release v2.4.1 2019-09-09 22:12:14 +02:00
satyajit.happy
84ad08e8dd chore: fix publish config 2019-09-09 22:08:47 +02:00
satyajit.happy
52064c7f96 fix: add peer dep on react-navigation 2019-09-09 22:07:13 +02:00
Satyajit Sahoo
c28cc52d38 refactor: migrate project to TypeScript (#161) 2019-09-09 12:08:22 +02:00
Brent Vatne
2160b65605 chore: release 2.4.0 2019-09-03 17:11:32 -07:00
Brent Vatne
3550163f56 feat: add theme support 2019-09-03 17:10:40 -07:00
Brent Vatne
0c6b66236b feat: simplify installation instructions 2019-09-03 16:29:43 -07:00
satyajit.happy
1c36bbb323 docs: add documentation link 2019-08-31 13:12:11 +02:00
satyajit.happy
13a9dcf976 chore: release 2.3.0 2019-07-25 15:41:02 +02:00
satyajit.happy
d37d3dd7bd feat: upgrade react-native-tab-view closes #118 2019-07-25 15:37:37 +02:00
satyajit.happy
8e68bdb3e4 chore: release 2.2.0 2019-06-21 22:31:31 +02:00
satyajit.happy
c98f6f15ae feat: upgrade react-native-tab-view closes #118 2019-06-21 22:26:08 +02:00
satyajit.happy
43bef6f357 chore: release 2.1.3 2019-05-20 13:30:03 +02:00
satyajit.happy
682c48e485 chore: fix badges and repo link 2019-05-19 21:25:52 +02:00
satyajit.happy
e2b64af7d8 fix: correctly reset _isTabPress property 2019-05-16 11:37:36 +02:00
satyajit.happy
6f76249ca9 chore: upgrade react-native-tab-view 2019-05-14 16:32:31 +02:00
satyajit.happy
409937ce3a chore: release 2.1.2 2019-04-23 20:41:47 +02:00
satyajit.happy
1a9f3542d7 fix: use the JUMP_TO action for tab change
The index change event fires after swipe animation. If you quickly navigate to a new screen in stack before animation finishes, the index change event will fire after the previous navigation event. By this time, the tab navigator is not focused anymore. Using the JUMP_TO action instead of NAVIGATE avoids this issue.
2019-04-23 20:36:44 +02:00
Frederik Winkelsdorf
eaed48b71b fix: increase padding for iOS horizontal label alignment (#114)
Fixes #113.

20 looks more natural on iPad
2019-04-23 12:28:59 +02:00
satyajit.happy
476a8bb6a3 docs: remove alpha from installation instructions 2019-04-18 22:34:52 +02:00
satyajit.happy
36ca386528 chore: release 2.1.1 2019-04-10 12:39:08 +02:00
satyajit.happy
5e8b156285 chore: remove unnecessary precommit script 2019-04-10 12:38:31 +02:00
satyajit.happy
3ff10fa16d fix: specify default values for getAccessibilityX
fixes #116
2019-04-10 12:30:57 +02:00
satyajit.happy
aec0083e4a chore: release 2.1.0 2019-04-02 00:00:16 +02:00
satyajit.happy
2430acfcb5 chore: don't run unit tests on CI coz we don't have any 2019-04-01 23:56:20 +02:00
Benoit Dion
533c2e5a08 feat: add ability to render label beside the icon (#103) 2019-04-01 17:53:35 -04:00
satyajit.happy
723afe6d76 chore: improve the examples 2019-04-01 22:17:14 +02:00
satyajit.happy
ce89efdf8f chore: release 2.0.0 2019-04-01 15:40:20 +02:00
Satyajit Sahoo
70a479da84 feat: hide tab bar when keyboard is shown (#112)
Closes #16

When the statusbar is not translucent, the view resizes when the keyboard is shown on Android. The tab bar stays above the keyboard. This PR makes the tab bar hide automatically when the keyboard is shown.

The behaviour is enabled by default and can be disabled with `keyboardHidesTabBar: false` in `tabBarOptions`
2019-03-31 00:05:50 +01:00
Kevin Fawcett
7c77f60398 feat: add accessibility role and state to bottom bar (#90)
### Motivation

Exposing `accessibilityRole` and `accessibilityStates` through props in the same way as `accessibilityLabel`. This allows screen readers to announce things like: `Selected. Banana. Button.`

Reasonable defaults were provided, however, consumers can provide custom overrides in the cases where the role might be `imagebutton` or the state might be `disabled`.

### Test plan

Select a button with VoiceOver (iOS) or Talkback (Android) enabled. The screen reader should read something like `Selected. <AccessibilityLabel>. Button.` or something slightly different depending on which platform you are on. Buttons that are not focused should not have `Selected` announced.
2019-03-30 12:55:25 -04:00
satyajit.happy
4b096e9641 chore: update react-native-tab-view 2019-03-29 13:23:07 +01:00
Vojtech Novak
35d85f1ad1 fix: fix hit slop for bottom tab bar (#110) 2019-03-21 14:51:12 +01:00
Mark
13996e8a97 docs: fix typo in README (#105) 2019-03-08 10:59:25 +00:00
Satyajit Sahoo
533de9e0c7 docs: update README 2019-03-06 23:58:50 +01:00
Satyajit Sahoo
959d2e136a chore: release 2.0.0-alpha.0 2019-03-06 23:47:54 +01:00
Satyajit Sahoo
5976ec8420 chore: add npm script for release 2019-03-06 23:47:06 +01:00
Satyajit Sahoo
6486c4b7dd feat: upgrade react-native-tab-view to 2.0
BREAKING CHANGES:

- Animated nodes are not from `react-native-reanimated`, which means custom tab bars need to be updated
- Changed behaviour: `activeTintColor` and `inactiveTintColor` also controls opacity now
- Removed props: `animationsEnabled`, `optimizationsEnabled`
- Dropped support for React < 16.3, which means the minimum supported React Native version is 0.56

New features:

- Added prop: `lazyPlaceholderComponent`
2019-02-26 22:40:51 +01:00
Satyajit Sahoo
6dfe7033ab chore: upgrade expo to 32.0.0 2019-03-02 02:51:10 +01:00
Satyajit Sahoo
9015796b88 chore: setup husky, commitlint and release-it 2019-03-02 01:38:01 +01:00
Satyajit Sahoo
af6a7f1ccf chore: upgrade node on ci 2019-03-02 01:33:48 +01:00