Commit Graph

469 Commits

Author SHA1 Message Date
Brent Vatne
1c5f91010f Release 1.0.0-alpha.3 2019-08-18 23:33:40 +05:30
Brent Vatne
dbfafa2ad7 Bump dependencies and add scroll to top in example 2019-08-18 23:33:40 +05:30
Brent Vatne
eba0916074 chore: bump tabs version 2019-08-18 23:33:39 +05:30
Brent Vatne
7c67307348 chore: bump version 2019-08-18 23:33:39 +05:30
Brent Vatne
9539e6e571 chore: move core and native to peer dependencies 2019-08-18 23:33:38 +05:30
Brent Vatne
416b7a9da6 fix: disable no-unused-disable for lint to pass on CI, required for local machine 2019-08-18 23:33:38 +05:30
Brent Vatne
cd21ccecb0 chore: release v1.0.0-alpha.0 2019-08-18 23:33:37 +05:30
Satyajit Sahoo
f1fe99ece9 chore: release v0.4.0 2019-08-18 23:33:36 +05:30
Satyajit Sahoo
70dc3d4b14 fix: maintain backward compat for activeTintColor and inactiveTintColor 2019-08-18 23:33:36 +05:30
Satyajit Sahoo
6aa84082e2 chore: update react-native-paper and add it as a peer dep 2019-08-18 23:33:35 +05:30
Mahamat
5884dbe9b0 fix: add option to hide the tab bar per screen (#20) 2019-08-18 23:33:35 +05:30
Satyajit Sahoo
89d6cfd463 chore: fix repo link 2019-08-18 23:33:34 +05:30
Brent Vatne
3099e7bd69 Release 0.3.0 2019-08-18 23:33:34 +05:30
Satyajit Sahoo
b83056c93b chore: add circle ci config 2019-08-18 23:33:33 +05:30
Satyajit Sahoo
4f5dafec49 docs: add link to docs 2019-08-18 23:33:33 +05:30
Satyajit Sahoo
9af5c4d267 chore: update examples 2019-08-18 23:33:32 +05:30
Satyajit Sahoo
2104e285e5 fix: update react-native-paper 2019-08-18 23:33:32 +05:30
Satyajit Sahoo
caac792a03 fix: update react-native-paper. fixes #4 2019-08-18 23:33:31 +05:30
Brent Vatne
f10bfad272 Release 0.2.0 2019-08-18 23:33:30 +05:30
Brent Vatne
7a4e9fd8d6 Update to react-navigation-tabs 0.3.0 and update example app 2019-08-18 23:33:30 +05:30
Satyajit Sahoo
200d81659a Update bottom navigation design to match new material guidelines 2019-08-18 23:33:29 +05:30
Satyajit Sahoo
6a9119bd07 Update README and version 2019-08-18 23:33:28 +05:30
Brent Vatne
2b9d22957d Initial commit 2019-08-18 23:33:28 +05:30
satyajit.happy
f4ac5c3e1a wip 2019-08-18 23:33:00 +05:30
satyajit.happy
e4e009fb33 wip 2019-08-18 23:32:59 +05:30
satyajit.happy
0799b43046 wip 2019-08-18 23:32:59 +05:30
satyajit.happy
a982873d62 chore: release 2.2.0 2019-08-18 23:32:58 +05:30
satyajit.happy
51b137e64c feat: upgrade react-native-tab-view closes #118 2019-08-18 23:32:57 +05:30
satyajit.happy
2c9e55212b chore: release 2.1.3 2019-08-18 23:32:57 +05:30
satyajit.happy
4c08288823 chore: fix badges and repo link 2019-08-18 23:32:56 +05:30
satyajit.happy
80b7f1d102 fix: correctly reset _isTabPress property 2019-08-18 23:32:56 +05:30
satyajit.happy
b56de41653 chore: upgrade react-native-tab-view 2019-08-18 23:32:55 +05:30
satyajit.happy
d571e714b4 chore: release 2.1.2 2019-08-18 23:32:55 +05:30
satyajit.happy
242625aa29 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-08-18 23:32:54 +05:30
Frederik Winkelsdorf
4adb3a9223 fix: increase padding for iOS horizontal label alignment (#114)
Fixes #113.

20 looks more natural on iPad
2019-08-18 23:32:53 +05:30
satyajit.happy
71e9544872 docs: remove alpha from installation instructions 2019-08-18 23:32:53 +05:30
satyajit.happy
b68a105bc5 chore: release 2.1.1 2019-08-18 23:32:52 +05:30
satyajit.happy
0ed01694da chore: remove unnecessary precommit script 2019-08-18 23:32:52 +05:30
satyajit.happy
3c7918dfbe fix: specify default values for getAccessibilityX
fixes #116
2019-08-18 23:32:51 +05:30
satyajit.happy
fb98e7db4c chore: release 2.1.0 2019-08-18 23:32:50 +05:30
satyajit.happy
4c1803078d chore: don't run unit tests on CI coz we don't have any 2019-08-18 23:32:50 +05:30
Benoit Dion
8f70ebb0d6 feat: add ability to render label beside the icon (#103) 2019-08-18 23:32:49 +05:30
satyajit.happy
d0e43bd346 chore: improve the examples 2019-08-18 23:32:49 +05:30
satyajit.happy
b161cbb9ae chore: release 2.0.0 2019-08-18 23:32:48 +05:30
Satyajit Sahoo
ccb2d38089 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-08-18 23:32:47 +05:30
Kevin Fawcett
73e9b4cb8f 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-08-18 23:32:47 +05:30
satyajit.happy
a9c97c81a4 chore: update react-native-tab-view 2019-08-18 23:32:46 +05:30
Vojtech Novak
ce3670b36e fix: fix hit slop for bottom tab bar (#110) 2019-08-18 23:32:46 +05:30
Mark
fa1a1f0a44 docs: fix typo in README (#105) 2019-08-18 23:32:45 +05:30
Satyajit Sahoo
d1c08d10a4 docs: update README 2019-08-18 23:32:44 +05:30