Brent Vatne
51bfe8dd19
Release 2.11.0
2018-08-03 14:17:24 -07:00
Brent Vatne
04a4512c1b
Export modules useful for moving stack navigator outside of core
2018-08-03 14:16:57 -07:00
Brent Vatne
4a5da86ce0
Release 2.10.0
2.10.0
2018-08-02 13:03:34 -07:00
Brent Vatne
a118122aed
Update react-navigation-[tabs&drawer]
2018-08-02 13:02:01 -07:00
Justin Parker
a94f89ffe1
Fixes bug where null
doesn't work in routerOptions paths
object for deeplinking ( #4791 )
...
* Add test for handling null path set on router
* Allow null paths on the router config
Previously if you specified `null` in the router `paths`, the logic would actually fall back to the `path` specified on the route, which is especially bad if the latter is undefined, because then the path would be set as the default of the routeName.
2018-08-01 01:12:49 -07:00
Brent Vatne
9d77fd6d54
Add NavigationTestUtils and release 2.9.3
2.9.3
2018-07-26 15:49:34 -07:00
Brent Vatne
13cf4497ee
Release 2.9.2
2.9.2
2018-07-25 11:52:39 -07:00
Tim Wang
9175118383
Export StackViewTransitionConfigs ( #4761 )
...
* export StackViewTransitionConfigs
* Add changelogs
2018-07-25 11:50:07 -07:00
Simone D'Avico
6fc21250ec
Fix typo in header transition preset check (uitkit -> uikit) ( #4757 )
2018-07-25 11:49:24 -07:00
Yevhen
714d5eab6b
Error when building with haul: ref to pathToRegexp.compile ( #4658 )
...
Error in source code that cause problem on react native using haul https://puu.sh/AT1uZ/158623d5a4.png
2018-07-25 20:28:05 +02:00
Brent Vatne
67233dc9ef
Release 2.9.1
2.9.1
2018-07-24 10:49:56 -07:00
Brent Vatne
b0443c1861
Move more logs behind debug flag in stack playground
2018-07-24 10:47:59 -07:00
Brent Vatne
c0b637df52
Fix title offfset calculation
2018-07-24 10:47:02 -07:00
Brent Vatne
9a82706fba
Fix snapshots
2018-07-20 14:44:26 -07:00
Brent Vatne
d973a26edb
Release 2.9.0
2.9.0
2018-07-20 14:33:27 -07:00
Brent Vatne
852e7e1974
Respect custom background color in header wrapper
2018-07-20 14:30:38 -07:00
Brent Vatne
cd3707d64b
Add headerLayoutPreset, add config for back button title visibility and make it have reasonable defaults, better back button ripple on Android ( #4588 )
2018-07-20 14:12:39 -07:00
Brent Vatne
3c36db455f
Release 2.8.0
2.8.0
2018-07-19 15:48:09 -07:00
Brent Vatne
ec52c884c5
Update NavigationPlayground to Expo SDK 28
2018-07-19 15:46:24 -07:00
Brent Vatne
c4b3f25a0f
Cleanup unused descriptors and handle the case where we might expect to have a descriptor but do not ( #4723 )
2018-07-19 13:16:38 -07:00
Eric Vicenti
93642e16e7
Fix createNavigator leak of old descriptors
2018-07-19 12:41:14 -07:00
Eric Vicenti
1a76556290
Fix leak in createNavigator
...
Previous descriptors had been retained because this binding caused `this.prevState` to remain referenced. This binds the component getter to null instead.
2018-07-19 12:21:22 -07:00
Reza Ghorbani
12b21f052e
added header container styles to be customized ( #4331 )
2018-07-18 15:14:08 -07:00
Brent Vatne
c1f07dc167
Release 2.7.0
2.7.0
2018-07-17 15:50:18 -07:00
Brent Vatne
bc04b31d01
Add border for transparent header in example
2018-07-17 15:43:22 -07:00
Eric Vicenti
35307c70be
Improve empty path and param handling ( #4671 )
...
* Overhaul Path handling
* Another test for deep link
2018-07-17 13:51:20 -07:00
Brent Vatne
7e3f4f3bec
Fix tests
2018-07-17 13:49:12 -07:00
Brent Vatne
cbd0958e6f
Remove unnecessary style array
2018-07-17 13:36:16 -07:00
Brent Vatne
cab4d71a5e
Fix edge case where route was in nav state but never actually graduated to scene
2018-07-17 13:36:16 -07:00
Kenza Iraki
108ac0e2a9
Set borderBottom to transparent and of size 0 if headerTransparent is true ( #4701 )
2018-07-16 16:32:14 -07:00
Brent Vatne
fa4fdb9c57
Fix onTransitionStart config not being invoked with keyboard aware navigator, and use prop over config when available
2018-07-16 15:13:25 -07:00
Brent Vatne
ebdd2da79f
Pull onTransitionStart from navigationConfig, fixes #4100
2018-07-16 14:55:34 -07:00
Matteo Codogno
1fe11c100e
Fix #4608 - remove header left component only when a headerLeft optio… ( #4679 )
...
* Fix #4608 - remove header left component only when a headerLeft option is not specified
* Update CHANGELOG.md
2018-07-12 11:42:56 -07:00
Eric Vicenti
c4b84f1d66
Fix container referene to startup state data
2018-07-12 11:01:11 -07:00
Michael Lefkowitz
69f394be5b
Feat/allow keyless replace ( #4636 )
...
* allow key to be undefined on StackNavigation.replace method
* added tests for replace action w/out key
* fix typo
* updated changelog
* updated teests for clarity
* added length check on routes to safely fallthrough to search
2018-07-10 23:41:42 -07:00
Eric Vicenti
316e4991ac
Add enableURLHandling to navigation container
2018-07-10 14:47:57 -07:00
Ashoat Tevosyan
805064cb5e
[flow] Make NavigationRoute types exact ( #4667 )
...
React Native 0.56 introduces Flow 0.75, which makes it impossible to refine `NavigationRoute` based on the presence of `index` or `routes` properties.
This PR turns `NavigationStateRoute` and `NavigationLeafRoute` into exact types, which addresses this issue.
2018-07-10 13:59:09 -07:00
Dariusz Łuksza
8f199980cb
Fix changelog ( #4651 )
...
Fixes 2.6.1 header link
2018-07-06 20:21:00 -07:00
Brent Vatne
37ca6a92ca
Release 2.6.2
2.6.2
2018-07-06 10:44:30 -07:00
Brent Vatne
980e0409dc
Temporarily remove warnings on vertical padding in header
2018-07-06 10:42:32 -07:00
Brent Vatne
a00ba5918a
Default to 0 elevation on transparent header
2018-07-05 15:17:08 -07:00
Brent Vatne
ad6b25cff9
Fix 2.6.1 changelog
2018-07-05 15:07:17 -07:00
Brent Vatne
a69b67d6d2
Release 2.6.1
2.6.1
2018-07-05 15:03:14 -07:00
Brent Vatne
dc436e4d01
Warn for more invalid header styles
2018-07-05 15:02:48 -07:00
Brent Vatne
fe95bdeee6
Fix regression for shadow in header on Android
2018-07-05 14:53:41 -07:00
Brent Vatne
525528e38f
Release 2.6.0
2.6.0
2018-07-04 13:04:00 -07:00
liuqiang1357
9f5f3d994c
Fix bug: params not be passed to navigator inside SwitchNavigator ( #4306 )
2018-07-04 12:28:01 -07:00
Eric Vicenti
e8c1833053
Fix stack router child router delegation priority ( #4635 )
...
Stack router had some aggressive logic for deferring to inactive child routers. The child router behavior should come after all of the appropriate stack actions, with the exception of the active child router.
This was causing issues such as https://github.com/react-navigation/react-navigation/issues/4623 , where inactive tab navigators would handle the back action, and cause the stack to attempt to pop back to it.
2018-07-03 21:18:25 -07:00
Eric Vicenti
0921889f7a
Avoid crash when calling isFocused on old route ( #4634 )
2018-07-03 12:03:54 -07:00
Sébastien Lorber
1951a3ac46
Add <NavigationEvents/> component ( #4188 )
...
* add NavigationEvents
* expose TabsWithNavigationEvents in lib entrypoints
* Add NavigationEvents example in playground
* Add NavigationEvents example in playground
* Add NavigationEvents tests
* Add NavigationEvents Flow declarations
* remove useless NavigationEvents constructor
* NavigationEvents => make tests more readable by avoiding beforeEach callback
* fix flow test error by adding <any, any> to React.Component
2018-06-29 07:34:11 -07:00