Commit Graph

2249 Commits

Author SHA1 Message Date
Ashoat Tevosyan
b735267ea5 Update to RN 0.52 and Expo 25 (#3383)
* Update to RN 0.52 and Expo 25

* Rerecord snapshots for failing Jest tests

* jest-expo@25.1.0-beta.0

* jest-expo@25.1.0
2018-01-30 12:22:20 -06:00
Yao Hui Chua
d04312c9d9 Support initialRouteParams for TabRouters (#3352) 2018-01-29 19:06:32 +08:00
Vojtech Novak
1e2bc9f273 rely on defaultProps in TouchableItem (#3374) 2018-01-28 23:33:21 +01:00
Eric Vicenti
3b88e0872f Add events support to redux example (#3368)
* Fixing redux

* Fix tab events and test event nested event subscriptions

* Add event support to redux example
2018-01-27 14:12:16 -08:00
Brent Vatne
dc2276ad9f Add headerBackImage, closes #1999 2018-01-27 13:53:44 -08:00
Patrick Monteith
7e8b510636 Don't forward back actions to inactive children of TabRouters (#2121) 2018-01-27 21:21:47 +00:00
Freddy Harris
d16bcd9d39 SafeAreaView style padding and inset collapse (#2917) 2018-01-27 21:59:51 +01:00
TheCodeTalker
1c81982ff3 navigation back fix in example (#3218) 2018-01-28 02:12:45 +05:30
Iacopo Pazzaglia
d900c5dfca Allow tabBarTestIDProps to be a function that receive the focused status (#3303) 2018-01-27 21:37:36 +01:00
Brent Vatne
4d01c85c78 Manually unset transitionIsRunning rather than going through _onTransitionEnd after state change 2018-01-26 23:02:02 -08:00
Brent Vatne
c3c2382c71 Clean up when transitioner state when bailing out early 2018-01-26 18:55:38 -08:00
Brent Vatne
49c0fcc2f5 [Playground] Move sdkVersion back to 24 2018-01-26 17:34:08 -08:00
Brent Vatne
9bafc3b60b Revert updates to example package.json 2018-01-26 16:48:02 -08:00
Ashoat Tevosyan
52828e98cb Bring back TypeDefinition.js and re-add Flow to NavigationPlayground (#3363)
* Bring back TypeDefinition.js and re-add Flow to NavigationPlayground

* Type EventListener correctly and ignore metro errors
2018-01-26 17:15:49 -07:00
Brent Vatne
d4dfdf8315 Remove NavigatorTypes (#3331) 2018-01-26 15:54:46 -08:00
Moriyoshi Koizumi
46264bb81d Allow pure-wildcard route for nested navigators. (#2929)
* Allow pure-wildcard route for nested navigators.

* Treat empty paths as they are.
2018-01-27 08:52:59 +09:00
Dhruvdutt Jadhav
a7d0221709 Update Guide-Headers.md (#3335) 2018-01-27 05:15:39 +05:30
Dhruvdutt Jadhav
299a9c68ed Update DrawerNavigator.md (#3337)
Improve code syntax
2018-01-27 05:15:06 +05:30
Dhruvdutt Jadhav
dff494c910 Update TabNavigator.md (#3341)
Improve code syntax to match the rest of the code spinnets in docs
2018-01-27 05:14:18 +05:30
Nicolas Beck
f3e4f49074 Reset state instead of pushing new routes for navigation actions in Drawer (#3164) 2018-01-27 00:30:11 +01:00
Eric Vicenti
8650d48bbc Simple fix to back button behavior (#3362)
Should always provide the key to go back from
2018-01-26 11:02:27 -08:00
Eric Vicenti
966ecb53ba Navigation Event Subscriptions (#3345)
* Add fbemitter, keep flow passing

* Begin support for event emitter

- Adds emitter to navigation prop
- Emits top level onAction event
- stub getChildEventSubscriber for child events

* Support navigationState.isNavigating

* Focus and blur events starting to work

- Navigation completion action wired up
- Event chaining logic built in getChildEventSubscriber
- Renamed onAction evt to ‘action’

* Wrap up events progress and testing

* Rename to isTransitioning and COMPLETE_TRANSITION

* rm accidental dependency

* Suppoert event payload type
2018-01-25 00:13:28 -08:00
Brent Vatne
750e354280 Remove website deploy from CI and clean up scripts (#3353)
* Remove website deploy from CI and clean up scripts

* Clobber unnecessary pieces from circle config
2018-01-24 20:48:58 -08:00
Brent Vatne
71c7ed28a7 Delete some unnecessary noise 2018-01-24 20:21:16 -08:00
Brent Vatne
33229fd8b7 Remove flow (#3350)
* Remove flow types from src

* Finish removing Flow

* Clear out flow-typed, some flow mentions in docs, website flow usage, and some other config
2018-01-24 17:52:09 -08:00
Michael Duminy
4d914d4e51 HeaderBackButton animation performance (#3305)
* header back button ripple animation performance

* replace InteractionManager with requestAnimationFrame

* getting used to flow typing
2018-01-24 00:03:51 +02:00
Grey Baker
79bf7da628 Update repository URL in package.json (#3342)
Update repository URL to reflect move from react-community to react-navigation organization.
2018-01-23 21:58:52 +00:00
Brent Vatne
c3e057e008 Add RFC and website repos to issue template 2018-01-22 16:41:31 -08:00
Brent Vatne
ec0a1e339e Update issue template 2018-01-22 16:22:03 -08:00
Pranav Kulkarni
49134c60d3 Fix the section link for Reset action (#3316)
Sectional link to Reset section fails due to case difference.
2018-01-21 22:12:33 +05:30
Tien Pham
1061562ef7 Update goBack docs (#2834)
* Update goBack docs

* Update Screen-Navigation-Prop.md
2018-01-21 03:37:24 +07:00
Adam Miskiewicz
9590b5b35f Make examples use linked copy of react-navigation 2018-01-17 19:11:04 -08:00
Adam Miskiewicz
5c8709b8a4 Revert "Move examples to https://github.com/react-navigation/examples"
This reverts commit 36775007b0.
2018-01-17 14:43:28 -08:00
Brent Vatne
5725ca2807 Move examples to https://github.com/react-navigation/examples 2018-01-17 12:43:24 -08:00
Brent Vatne
e3237f5a6b Bump version 2018-01-16 11:12:52 -08:00
Brent Vatne
98bfa72a6f Revert adding SafeAreaView to TabBarTop 2018-01-16 11:12:06 -08:00
Brent Vatne
5986f22221 Bump version 2018-01-12 15:51:29 -08:00
Brent Vatne
74eaafe675 Update icons in playground app and add some padding to banner 2018-01-12 15:49:42 -08:00
Brent Vatne
17eb5377d7 Handle translucent status bar within Expo automatically. - Escape hatch of ReactNavigation.SafeAreaView.setStatusBarHeight(). - if (Platform.OS === 'android') { ReactNavigation.SafeAreaView.setStatusBarHeight(0) } to revert to old behavior. 2018-01-12 15:34:40 -08:00
Brent Vatne
df11cc96af Bump version 2018-01-11 18:30:28 -08:00
Brent Vatne
86edcc66d2 Revert "Issue #2794 - Fixing iPad iOS 11 Tab Bar Bottom Behavior (#3041)"
This reverts commit c7b73cd8b4.
2018-01-11 18:21:46 -08:00
Brent Vatne
8646e584bd Bump version 2018-01-11 18:20:44 -08:00
Adam Miskiewicz
945446be7a Use stiffness/damping/mass for card stack transition on React Native >= 50 (#3261) 2018-01-11 18:08:42 -08:00
混沌DM
71d904bbe5 Set the default value of the DrawerNavigatorConfig correctly. (#3152)
* Set the default value of the DrawerNavigatorConfig correctly.

* update DrawerViewProps type
2018-01-09 17:28:27 +08:00
SteffeyDev
05e7e3a1e9 Issue #2794 - Fixing iPad iOS 11 Tab Bar Bottom Behavior (#3041)
* Fixing iPad iOS 11 Tab Bar Bottom Behavior with changing widths via Multitasking

* Updating snapshot tests

* Changes per discussion in !3041

* Additional changes per discussion in !3041

* Changing to test for constrained height

* Additional changes per discussion in !3041
2018-01-08 21:28:13 -05:00
rgovind92
3e9574705b Fix drawer toggle (#3191)
* Fixed drawer toggle

* Fixed drawer toggle

* Update DrawerView.js
2018-01-06 21:10:56 +05:30
Brent Vatne
73d584945e Update README, bump version 2018-01-04 14:10:08 -08:00
Jani Eväkallio
d39254a181 If URL is just a scheme:// component without a path, default to root "/" URL (#3224) 2018-01-04 21:28:41 +00:00
Satyajit Sahoo
136f562ea4 Upgrade react-native-tab-view (#3064) 2018-01-04 19:45:35 +05:30
Lorenzo Sciandra
260779424d removing react-addons-test-utils (#3221) 2018-01-04 14:08:58 +00:00