Brent Vatne
99bf123ff2
Release 1.5.8
v1.5.8
2018-03-16 07:45:42 -07:00
Brent Vatne
feb93411bc
Use react-native-tab-view fork with cherry-picked ViewPagerAndroid fix
2018-03-16 07:43:52 -07:00
Brent Vatne
86f07175fb
Release 1.5.7
2018-03-15 10:20:20 -07:00
Brent Vatne
8288853e3c
Update snapshots
2018-03-15 10:20:09 -07:00
Brent Vatne
c4bd2db542
Another fix for frustrating tab bar icon layout issue
2018-03-15 10:19:40 -07:00
Brent Vatne
ee40dd7d24
Release 1.5.6
v1.5.6
2018-03-14 21:50:20 -07:00
Brent Vatne
18a48105c2
Missed a case where we should not have flexGrow
2018-03-14 21:50:06 -07:00
Brent Vatne
fbac47b696
Release 1.5.5
v1.5.5
2018-03-14 21:35:26 -07:00
Brent Vatne
9aab47dac2
Apply horizontal icon style whenever we should use horizontal tabs in icon
2018-03-14 21:35:07 -07:00
Brent Vatne
67309c00a6
Release 1.5.4
v1.5.4
2018-03-14 11:21:15 -07:00
Moti Zilberman
86a724cfe3
Swap addListener out for isFocused prop on ResourceSavingSceneView ( #3718 )
...
This is a backport of 81a86fa091 from master.
2018-03-14 11:20:30 -07:00
Brent Vatne
eb78128439
Release 1.5.3
v1.5.3
2018-03-14 11:16:19 -07:00
Brent Vatne
c39ec7a10c
Use arrow function instead of bind
2018-03-14 11:16:01 -07:00
Chris
0ff3347e97
Update CardStack.js ( #3749 )
...
fix for https://github.com/react-navigation/react-navigation/issues/3729 , https://github.com/react-navigation/react-navigation/issues/3746
2018-03-14 11:08:26 -07:00
Brent Vatne
b9d55a6330
Release 1.5.2
v1.5.2
2018-03-12 11:12:31 -07:00
Brent Vatne
315e43701b
Fix tab icon height on horizontal / ipad
2018-03-12 11:12:22 -07:00
Hugo Dozois
1d573bc246
Fix isFocused from withNavigationFocus is a function ( #3710 )
...
Fixes #3709
2018-03-11 22:26:33 +01:00
Eric Vicenti
3bfb0b90d0
Fix onTransitionEnd props passthrough
...
Fixes #3647
2018-03-10 00:09:02 -08:00
Brent Vatne
8a129afe13
Release 1.5.1
v1.5.1
2018-03-09 11:33:06 -08:00
Brent Vatne
ab2a63fe92
Update snapshot for tab icon changes
2018-03-09 11:32:53 -08:00
Brandon Smith
c411210ecc
Pass initialRouteKey into StackRouter ( #3540 ) ( #3701 )
2018-03-09 11:31:41 -08:00
Brent Vatne
01e7296520
Release 1.5.0
v1.5.0
2018-03-07 17:42:38 -08:00
corupta
8f3e0997c5
Add activeLabelStyle and inactiveLabelStyle for DrawerItem ( #3559 )
...
* Add activeLabelStyle and inactiveLabelStyle
Adding activeLabelStyle, so that active items can be customized more.
My use case: Change font of the active item to bold.
Also, added inactiveLabelStyle which can be used for a similar purpose.
* prettier fix
* Update react-navigation.js
* prettier fix
* Update jest snapshot for DrawerNavigator - for adding a new style property to the styles array
2018-03-07 17:38:02 -08:00
Nicolas Beck
3f3ef6485c
Add initialRouteKey for StackRouter ( #3540 )
...
* use initialRouteName as key when initializing StackRouter
* fix null headerLeft
* merge back
* fixed tests
* use config flag
* fixed snapshots
* implemented requested changes
2018-03-07 17:38:02 -08:00
Vishwesh Jainkuniya
b12abb553f
Fix: tabBar icons are not visible. ( #3650 )
...
* Fix: tabBar icons are not visible.
* Fix: tests.
2018-03-07 17:38:02 -08:00
Ashoat Tevosyan
e02841a979
[Flow] Some updates, mostly from flow-typed ( #3682 )
...
1. Remove `NavigationComponent` from `NavigationScreenRouteConfig`. The only context `NavigationScreenRouteConfig` is used in is as an intersection with an object, and as such the only relevant portions of `NavigationScreenRouteConfig` are the object parts.
2. Add static `HEIGHT` variable to `Header` type.
3. In `NavigationContainerProps`, make `onNavigationStateChange` property value nullable.
PS: if in the future you guys would prefer that I separate these sort of PRs into their constituent parts, let me know.
2018-03-07 18:21:15 -05:00
Ben Styles
e147f34555
Allow passing null to onNavigationStateChange prop ( #3683 )
...
As seen here: react-navigation/react-navigation#360 , we need to be able to pass null to turn off logging.
2018-03-07 18:20:58 -05:00
Sirui Li
81e0ce136e
Flow type: SafeAreaView doesn't require children ( #3670 )
...
`children` prop should be optional.
2018-03-07 18:20:44 -05:00
Edward Drapkin
8ba727c2cf
More specific injected Navigation props ( #3645 )
2018-03-07 18:19:37 -05:00
Yordis Prieto
9a86ef8362
Fix typespec of back action creator ( #3659 )
2018-03-07 18:19:26 -05:00
Ashoat Tevosyan
4fe7c92847
Fix NavigationEventPayload.lastState type ( #3664 )
...
Should be nullable, since it is initially called as `null` in `src/createNavigationContainer.js` (and in `react-navigation-redux-helpers`, where it is causing a Flow error)
2018-03-07 18:19:10 -05:00
Leon Miller-Out
afecaaed7f
Call react-navigation-redux-helpers's initializeListeners() when mounting app. ( #3666 )
...
This makes the first navigation click work correctly, per
https://github.com/react-navigation/react-navigation-redux-helpers/issues/7
2018-03-05 15:02:34 -05:00
Brent Vatne
6373b802dd
Release 1.4.0
v1.4.0
2018-03-03 09:59:22 -08:00
Brent Vatne
138151433d
Add isFocused helper to navigation and fix withNavigationFocus (1.x branch) ( #3651 )
...
* Add isFocused helper to navigation and fix withNavigationFocus accordingly
* Fix snapshots
* Make flow pass on TabsWithNavigationFocus example
2018-03-03 09:58:19 -08:00
Brent Vatne
2744cb32b7
Cache child event subscriptions (1.x branch) ( #3649 )
...
* Cache child event subscriptions on StackNavigator on 1.x branch
* Cache child event subscribers on DrawerView and withCachedChildNavigation
2018-03-03 09:01:24 -08:00
Brent Vatne
439b4222ce
Release 1.3.2
v1.3.2
2018-03-02 13:36:47 -08:00
Brent Vatne
ba0b1861e5
Use SceneView with SwitchNavigator to thread context through. Fixes #3646
2018-03-02 13:35:56 -08:00
Brent Vatne
318788ca60
Release 1.3.1
v1.3.1
2018-03-02 12:19:05 -08:00
Brent Vatne
498a39c200
Fix regression in error message for route config validation
2018-03-02 12:18:57 -08:00
Brent Vatne
b31ebef5b0
Release 1.3.0
v1.3.0
2018-03-01 13:44:22 -08:00
Arseny Yankovsky
f4fe588e08
Allow modification of SafeAreaView props ( #3496 )
...
* SafeAreaView fix
* Updated to only allow modification of forceInset property of SafeAreaView
2018-03-01 13:44:07 -08:00
Brent Vatne
403af82c3f
Add SwitchNavigator ( #3634 )
...
* Add SwitchNavigator
* Fix type definition
* Update snapshot
* Add SwitchNavigator test coverage
2018-03-01 13:43:47 -08:00
Brent Vatne
0c2360dc36
Clarify that people should not report Redux or MobX related integration issues here
2018-02-26 15:52:31 -08:00
Brent Vatne
5f32a48c16
Release 1.2.1
v1.2.1
2018-02-26 14:04:44 -08:00
Brent Vatne
d5a0b5912b
Apply StyleSheet.flatten properly to headerStyle. Fixes #3608
2018-02-26 14:04:36 -08:00
Yordis Prieto
13fd8acb20
fix typespec ( #3583 )
2018-02-26 12:25:13 -08:00
Serhii Palash
8fc8f3b8f7
Fix bug #3279 “Action within RESET doesn't trigger” ( #3593 )
...
https://github.com/react-navigation/react-navigation/issues/3279
2018-02-26 12:14:29 -08:00
Brent Vatne
a37473c5e4
Release 1.2.0
v1.2.0
2018-02-25 17:46:44 -08:00
Brent Vatne
23eb0839cb
Improve crossfade configuration for header
2018-02-25 17:44:16 -08:00
Brent Vatne
e84473db78
Use a closer-to-correct spring animation when releasing a gesture in CardStack ( #3601 )
2018-02-25 17:20:39 -08:00