Commit Graph

51 Commits

Author SHA1 Message Date
Satyajit Sahoo
71b2bcd14f chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.21
 - @react-navigation/compat@5.0.0-alpha.14
 - @react-navigation/core@5.0.0-alpha.22
 - @react-navigation/drawer@5.0.0-alpha.22
 - @react-navigation/example@5.0.0-alpha.21
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.20
 - @react-navigation/material-top-tabs@5.0.0-alpha.17
 - @react-navigation/native-stack@5.0.0-alpha.12
 - @react-navigation/routers@5.0.0-alpha.14
 - @react-navigation/stack@5.0.0-alpha.36
2019-11-11 00:34:18 +01:00
Satyajit Sahoo
941249dba9 refactor: rename createNavigator since it doesn't create a navigator 2019-11-10 20:12:32 +01:00
Satyajit Sahoo
f494f992fa chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.20
 - @react-navigation/compat@5.0.0-alpha.13
 - @react-navigation/core@5.0.0-alpha.21
 - @react-navigation/drawer@5.0.0-alpha.21
 - @react-navigation/example@5.0.0-alpha.20
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.19
 - @react-navigation/material-top-tabs@5.0.0-alpha.16
 - @react-navigation/native-stack@5.0.0-alpha.11
 - @react-navigation/native@5.0.0-alpha.15
 - @react-navigation/routers@5.0.0-alpha.13
 - @react-navigation/stack@5.0.0-alpha.35
2019-11-08 15:07:35 +01:00
Satyajit Sahoo
b5d9ad900d fix: handle invalid initialRouteName gracefully 2019-11-07 15:43:51 +01:00
Satyajit Sahoo
6aebeec90c chore: upgrade to typescript 3.7 2019-11-06 21:01:18 +01:00
satyajit.happy
c41c824aae chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.18
 - @react-navigation/compat@5.0.0-alpha.12
 - @react-navigation/drawer@5.0.0-alpha.20
 - @react-navigation/example@5.0.0-alpha.19
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.18
 - @react-navigation/material-top-tabs@5.0.0-alpha.15
 - @react-navigation/native-stack@5.0.0-alpha.9
 - @react-navigation/routers@5.0.0-alpha.12
 - @react-navigation/stack@5.0.0-alpha.34
2019-11-04 07:52:29 +01:00
satyajit.happy
3a4c38bb72 fix: close drawer on back button press 2019-11-02 08:52:12 +01:00
satyajit.happy
3de9edbe72 chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.17
 - @react-navigation/compat@5.0.0-alpha.11
 - @react-navigation/core@5.0.0-alpha.19
 - @react-navigation/drawer@5.0.0-alpha.18
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.17
 - @react-navigation/material-top-tabs@5.0.0-alpha.14
 - @react-navigation/native-stack@5.0.0-alpha.6
 - @react-navigation/native@5.0.0-alpha.14
 - @react-navigation/routers@5.0.0-alpha.11
 - @react-navigation/stack@5.0.0-alpha.31
2019-10-30 23:51:33 +01:00
Satyajit Sahoo
3d9db6ff25 refactor: add a type property to router and state (#146)
The `type` property denotes the type of the router. It can be used to verify compatibility of navigation state and the router when rehydrating state, making rehydration more resilient.

It can also help our utilities to detect the type of the navigator to properly implement some functionality. For example, the `useScrollToTop` hook can now know if it's not inside a tab navigator and needs to find the tab navigator in a parent.
2019-10-30 12:03:53 +01:00
satyajit.happy
aa40130266 chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.16
 - @react-navigation/compat@5.0.0-alpha.10
 - @react-navigation/core@5.0.0-alpha.18
 - @react-navigation/drawer@5.0.0-alpha.17
 - @react-navigation/example@5.0.0-alpha.17
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.16
 - @react-navigation/material-top-tabs@5.0.0-alpha.13
 - @react-navigation/native-stack@5.0.0-alpha.5
 - @react-navigation/routers@5.0.0-alpha.10
 - @react-navigation/stack@5.0.0-alpha.30
2019-10-29 21:20:18 +01:00
satyajit.happy
7635373366 fix: use index of first route when rehydrating tab state 2019-10-29 21:15:02 +01:00
satyajit.happy
8318c49331 chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.11
 - @react-navigation/compat@5.0.0-alpha.5
 - @react-navigation/core@5.0.0-alpha.12
 - @react-navigation/drawer@5.0.0-alpha.11
 - @react-navigation/example@5.0.0-alpha.9
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.10
 - @react-navigation/material-top-tabs@5.0.0-alpha.9
 - @react-navigation/native@5.0.0-alpha.9
 - @react-navigation/routers@5.0.0-alpha.9
 - @react-navigation/stack@5.0.0-alpha.21
2019-10-03 19:47:41 +02:00
satyajit.happy
a8851b730d chore: upgrade deps 2019-10-03 17:35:24 +02:00
osdnk
9810a06061 chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.10
 - @react-navigation/compat@5.0.0-alpha.4
 - @react-navigation/core@5.0.0-alpha.11
 - @react-navigation/drawer@5.0.0-alpha.10
 - @react-navigation/example@5.0.0-alpha.8
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.9
 - @react-navigation/material-top-tabs@5.0.0-alpha.8
 - @react-navigation/routers@5.0.0-alpha.8
 - @react-navigation/stack@5.0.0-alpha.20
2019-09-27 17:30:35 +02:00
osdnk
655a220137 fix: close drawer on navigate 2019-09-27 17:29:59 +02:00
satyajit.happy
4e0ebb05f9 chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.7
 - @react-navigation/drawer@5.0.0-alpha.8
 - @react-navigation/example@5.0.0-alpha.4
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.7
 - @react-navigation/material-top-tabs@5.0.0-alpha.7
 - @react-navigation/routers@5.0.0-alpha.7
 - @react-navigation/stack@5.0.0-alpha.10
2019-08-31 10:22:57 +02:00
Satyajit Sahoo
1b2983eaa9 fix: handle route names change when all routes are removed (#86) 2019-08-30 19:15:54 +01:00
Michal Osadnik
f1b976b68c chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.6
 - @react-navigation/core@5.0.0-alpha.4
 - @react-navigation/drawer@5.0.0-alpha.6
 - @react-navigation/example@5.0.0-alpha.3
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.6
 - @react-navigation/material-top-tabs@5.0.0-alpha.6
 - @react-navigation/native@5.0.0-alpha.5
 - @react-navigation/routers@5.0.0-alpha.6
 - @react-navigation/stack@5.0.0-alpha.8
2019-08-29 10:40:13 +01:00
Michał Osadnik
6b75cbaaa6 feat: handle navigating with both with both key and name (#83) 2019-08-29 09:46:51 +02:00
Michal Osadnik
d5b4210eb2 chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.5
 - @react-navigation/drawer@5.0.0-alpha.5
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.5
 - @react-navigation/material-top-tabs@5.0.0-alpha.5
 - @react-navigation/routers@5.0.0-alpha.5
 - @react-navigation/stack@5.0.0-alpha.6
2019-08-28 11:22:18 +01:00
satyajit.happy
093858b68b test: improve coverage for router tests 2019-08-27 16:58:43 +02:00
Michal Osadnik
3703ab6353 chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.4
 - @react-navigation/core@5.0.0-alpha.3
 - @react-navigation/drawer@5.0.0-alpha.4
 - @react-navigation/example@5.0.0-alpha.2
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.4
 - @react-navigation/material-top-tabs@5.0.0-alpha.4
 - @react-navigation/native@5.0.0-alpha.3
 - @react-navigation/routers@5.0.0-alpha.4
 - @react-navigation/stack@5.0.0-alpha.5
2019-08-27 11:06:59 +01:00
satyajit.happy
935c588000 refactor: rename BaseActions tCommonActions 2019-08-27 08:45:37 +02:00
Michal Osadnik
7d526e5881 chore: add tests for drawer 2019-08-26 13:14:03 +01:00
Michal Osadnik
2adccdef1d chore: add tests for tabs 2019-08-26 13:07:12 +01:00
Michal Osadnik
dee25057e8 chore: add tests for stack 2019-08-26 12:52:00 +01:00
satyajit.happy
4e07461526 chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.3
 - @react-navigation/core@5.0.0-alpha.2
 - @react-navigation/drawer@5.0.0-alpha.3
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.3
 - @react-navigation/material-top-tabs@5.0.0-alpha.3
 - @react-navigation/native@5.0.0-alpha.2
 - @react-navigation/routers@5.0.0-alpha.3
 - @react-navigation/stack@5.0.0-alpha.4
2019-08-22 10:10:06 +05:30
satyajit.happy
f18231541b fix: fix path to typescript definitions 2019-08-22 10:09:16 +05:30
satyajit.happy
e70f5273ac chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.2
 - @react-navigation/drawer@5.0.0-alpha.2
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.2
 - @react-navigation/material-top-tabs@5.0.0-alpha.2
 - @react-navigation/routers@5.0.0-alpha.2
 - @react-navigation/stack@5.0.0-alpha.3
2019-08-22 07:40:13 +05:30
satyajit.happy
61dce7ae1b fix: properly handle pop action from stack 2019-08-22 07:39:06 +05:30
satyajit.happy
91958617dc chore: publish
- @react-navigation/bottom-tabs@5.0.0-alpha.1
 - @react-navigation/core@5.0.0-alpha.1
 - @react-navigation/drawer@5.0.0-alpha.1
 - @react-navigation/example@5.0.0-alpha.1
 - @react-navigation/material-bottom-tabs@5.0.0-alpha.1
 - @react-navigation/material-top-tabs@5.0.0-alpha.1
 - @react-navigation/native@5.0.0-alpha.1
 - @react-navigation/routers@5.0.0-alpha.1
 - @react-navigation/stack@5.0.0-alpha.1
2019-08-22 04:31:54 +05:30
satyajit.happy
6b4fc74592 fix: fix peer deps and add git urls 2019-08-22 04:30:58 +05:30
satyajit.happy
c1a2fd6da4 chore: set access to public 2019-08-22 04:00:51 +05:30
satyajit.happy
6970ad7b7b docs: add basic README files 2019-08-21 19:12:40 +05:30
satyajit.happy
1c2e5de07a chore: configure publishing packages 2019-08-21 18:12:43 +05:30
satyajit.happy
4128654324 chore: navigation-ex -> react-navigation 2019-08-21 16:09:10 +05:30
satyajit.happy
6b9af77fab chore: configure lerna with bob 2019-08-21 14:27:07 +05:30
satyajit.happy
797b02bd8e refactor: check for stale == false to determine if state is rehydrated 2019-08-19 17:02:03 +05:30
satyajit.happy
35987ae369 feat: add hook for deep link support 2019-08-19 15:05:00 +05:30
satyajit.happy
5676dea5ac fix: don't lose child state when rehydrating in tab router 2019-08-18 13:13:17 +05:30
satyajit.happy
afa24c110e fix: don't use action.source for stack router 2019-08-18 12:03:44 +05:30
satyajit.happy
8ed54dace4 fix: handle partial initial state better when rehydrating 2019-08-18 00:12:23 +05:30
Satyajit Sahoo
4a3db4e6f4 refactor: simpler way to check canGoBack (#54) 2019-08-14 15:01:41 +01:00
Satyajit Sahoo
2b8f2edfd1 fix: implement canGoBack for tab router (#51) 2019-08-13 21:10:04 +01:00
Michał Osadnik
e9da86e42f feat: add canGoBack (#50) 2019-08-09 14:32:31 +01:00
satyajit.happy
747ce66927 feat: add a target key to actions and various fixes 2019-08-06 16:19:34 +02:00
Satyajit Sahoo
d02277b30d feat: add drawer navigator integration (#43) 2019-08-06 14:29:29 +01:00
Satyajit Sahoo
dcf57c095c feat: integrate reanimated based stack (#42) 2019-08-06 11:22:45 +01:00
Michal Osadnik
89c279fb23 refactor: drop shouldActionPropagateToChildren 2019-08-05 12:57:45 +02:00
Satyajit Sahoo
e0bee10e6b feat: add a simple stack and material tabs integration (#39) 2019-08-03 20:05:10 +02:00