Commit Graph

2239 Commits

Author SHA1 Message Date
satyajit.happy
a5ae81dd7f chore: update eslint config 2019-10-09 10:59:11 +02:00
satyajit.happy
584af8f7b1 fix: fix issue when setting position to absolute for tab bar 2019-10-09 10:51:06 +02:00
satyajit.happy
be6b93d161 chore: fix ci 2019-10-03 15:18:24 +02:00
satyajit.happy
a6ad736c7d chore: release 2.5.5 2019-09-22 00:42:54 +02:00
satyajit.happy
62844c042a fix: set proper type for screenProps in ScreenComponent 2019-09-22 00:38:47 +02:00
satyajit.happy
be168a5951 chore: release 2.5.4 2019-09-19 17:11:10 +02:00
satyajit.happy
5175ffb583 fix: fix types for tab bar button component 2019-09-19 17:10:00 +02:00
satyajit.happy
8f19e410c0 fix: add safeAreaInset to tab bar options 2019-09-19 17:01:41 +02:00
satyajit.happy
eeefa5df6b fix: upgrade react-navigation. closes #163 2019-09-19 16:56:18 +02:00
satyajit.happy
86b966ea19 chore: release 2.5.3 2019-09-17 23:35:28 +02:00
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