Satyajit Sahoo
ef0f5d6567
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.29
- @react-navigation/compat@5.0.0-alpha.20
- @react-navigation/core@5.0.0-alpha.30
- @react-navigation/drawer@5.0.0-alpha.31
- @react-navigation/material-bottom-tabs@5.0.0-alpha.28
- @react-navigation/material-top-tabs@5.0.0-alpha.26
- @react-navigation/native-stack@5.0.0-alpha.20
- @react-navigation/native@5.0.0-alpha.22
- @react-navigation/routers@5.0.0-alpha.19
- @react-navigation/stack@5.0.0-alpha.47
2020-01-01 13:33:50 +01:00
Satyajit Sahoo
499f66dba4
chore: fix type error
2020-01-01 13:32:50 +01:00
Satyajit Sahoo
2ef2f1a86f
refactor: navigate instead of reset when we can when handling links
2020-01-01 13:28:31 +01:00
Satyajit Sahoo
0252bdc222
fix: show error if an action was not handled
2020-01-01 13:12:41 +01:00
Satyajit Sahoo
f462d67270
fix: cleanup transaction even if action wasn't handled
2019-12-25 01:41:14 +01:00
Satyajit Sahoo
878297e52f
chore: update eslint config
2019-12-19 23:13:23 +01:00
Satyajit Sahoo
1ea9b4524d
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.28
- @react-navigation/compat@5.0.0-alpha.19
- @react-navigation/core@5.0.0-alpha.29
- @react-navigation/drawer@5.0.0-alpha.30
- @react-navigation/material-bottom-tabs@5.0.0-alpha.27
- @react-navigation/material-top-tabs@5.0.0-alpha.25
- @react-navigation/native-stack@5.0.0-alpha.19
- @react-navigation/native@5.0.0-alpha.21
- @react-navigation/routers@5.0.0-alpha.18
- @react-navigation/stack@5.0.0-alpha.46
2019-12-19 14:45:13 +01:00
Satyajit Sahoo
9843b92e05
chore: upgrade deps
2019-12-16 23:42:19 +01:00
Satyajit Sahoo
68a334cc93
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.27
- @react-navigation/compat@5.0.0-alpha.18
- @react-navigation/core@5.0.0-alpha.28
- @react-navigation/drawer@5.0.0-alpha.29
- @react-navigation/material-bottom-tabs@5.0.0-alpha.26
- @react-navigation/material-top-tabs@5.0.0-alpha.24
- @react-navigation/native-stack@5.0.0-alpha.18
- @react-navigation/native@5.0.0-alpha.20
- @react-navigation/routers@5.0.0-alpha.17
- @react-navigation/stack@5.0.0-alpha.45
2019-12-16 15:27:11 +01:00
Oliver Winter
c3d3748143
fix: use Partial type for initialParam ( #206 )
2019-12-16 13:58:37 +01:00
Wojciech Lewicki
8002d51795
feat: add nested config in deep linking ( #210 )
...
Fixes #154
2019-12-16 13:30:28 +01:00
Satyajit Sahoo
624ae0ad56
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.24
- @react-navigation/compat@5.0.0-alpha.16
- @react-navigation/core@5.0.0-alpha.27
- @react-navigation/drawer@5.0.0-alpha.26
- @react-navigation/material-bottom-tabs@5.0.0-alpha.23
- @react-navigation/material-top-tabs@5.0.0-alpha.21
- @react-navigation/native@5.0.0-alpha.17
- @react-navigation/stack@5.0.0-alpha.41
2019-12-10 13:22:40 +01:00
Satyajit Sahoo
b805ba111a
chore: upgrade react-native and expo
2019-12-09 22:42:49 +01:00
Satyajit Sahoo
1153feba40
refactor: don't use a getter for options
2019-12-07 20:30:35 +01:00
Satyajit Sahoo
e87925c086
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.23
- @react-navigation/core@5.0.0-alpha.26
- @react-navigation/drawer@5.0.0-alpha.25
- @react-navigation/material-bottom-tabs@5.0.0-alpha.22
- @react-navigation/material-top-tabs@5.0.0-alpha.20
- @react-navigation/native-stack@5.0.0-alpha.15
- @react-navigation/stack@5.0.0-alpha.40
2019-12-07 05:23:12 +01:00
Satyajit Sahoo
7b13a81ac8
fix: don't handle replace if screen to replace with isn't present
...
fixes #193
2019-12-07 05:22:19 +01:00
Satyajit Sahoo
f271e299ac
chore: publish
...
- @react-navigation/core@5.0.0-alpha.25
- @react-navigation/stack@5.0.0-alpha.38
2019-11-29 18:10:20 +01:00
Michał Osadnik
5a0dfa1a15
fix: wrap reset and resetRoot inside transaction ( #189 )
...
fixes #185
2019-11-29 17:40:28 +01:00
osdnk
d733066476
chore: publish
...
- @react-navigation/core@5.0.0-alpha.24
- @react-navigation/example@5.0.0-alpha.23
- @react-navigation/material-top-tabs@5.0.0-alpha.19
- @react-navigation/native-stack@5.0.0-alpha.14
2019-11-20 16:01:25 +01:00
Thibault Malbranche
c3e9e4578e
fix: allow passing partial params to setParams ( #177 )
...
Since params get merged, no need to send them all I think :)
2019-11-19 22:58:44 +01:00
Satyajit Sahoo
353b3fd7de
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.22
- @react-navigation/compat@5.0.0-alpha.15
- @react-navigation/core@5.0.0-alpha.23
- @react-navigation/drawer@5.0.0-alpha.23
- @react-navigation/example@5.0.0-alpha.22
- @react-navigation/material-bottom-tabs@5.0.0-alpha.21
- @react-navigation/material-top-tabs@5.0.0-alpha.18
- @react-navigation/native-stack@5.0.0-alpha.13
- @react-navigation/native@5.0.0-alpha.16
- @react-navigation/routers@5.0.0-alpha.15
- @react-navigation/stack@5.0.0-alpha.37
2019-11-17 02:46:59 +01:00
Satyajit Sahoo
d619292bf2
chore: upgrade deps
2019-11-17 02:42:28 +01:00
Satyajit Sahoo
11efb06642
fix: merge initial params on push
2019-11-17 01:23:49 +01:00
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
d4072e7d88
fix: throw when containers are nested within another
2019-11-10 20:40:45 +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
270fbdcfaf
fix: don't crash if initialState is null
2019-11-07 16:00:24 +01:00
Satyajit Sahoo
e871fdb074
fix: fix types for resetRoot to accept undefined
2019-11-07 15:48:40 +01:00
Satyajit Sahoo
6aebeec90c
chore: upgrade to typescript 3.7
2019-11-06 21:01:18 +01:00
satyajit.happy
e6a06ac56e
chore: publish
...
- @react-navigation/core@5.0.0-alpha.20
- @react-navigation/native-stack@5.0.0-alpha.8
- @react-navigation/stack@5.0.0-alpha.33
2019-11-02 05:12:02 +01:00
satyajit.happy
5a34764404
fix: pass rehydrated state in onStateChange and devtools
2019-11-02 04:43:47 +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 Sahoo
3a77107968
fix: drop isFirstRouteInParent method ( #145 )
...
The `isFirstRouteInParent` method was added to determine whether the back button should be shown in the header for stack navigator or not.
This was mainly due to the API of the old version of stack whose public API of header didn't have all required info to determine whether it should be shown.
It was probably a mistake to add it, because this method doesn't look at history and so pretty much useless for other navigators which aren't stack.
In the new stack, the header receives a `previous` prop and the `headerLeft` option receives a `canGoBack` prop which can be used for this purpose.
It's also possible to check if a route is the first by doing `navigation.dangerouslyGetState().routes[0].key === route.key`.
So it's time to drop this method.
2019-10-30 08:51:59 +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
8f16085808
fix: improve type annotation for screens
2019-10-24 18:56:26 +02:00
satyajit.happy
de2b6d8715
chore: publish
...
- @react-navigation/compat@5.0.0-alpha.9
- @react-navigation/core@5.0.0-alpha.17
- @react-navigation/drawer@5.0.0-alpha.16
- @react-navigation/example@5.0.0-alpha.15
- @react-navigation/material-bottom-tabs@5.0.0-alpha.15
- @react-navigation/native-stack@5.0.0-alpha.4
- @react-navigation/native@5.0.0-alpha.13
- @react-navigation/stack@5.0.0-alpha.28
2019-10-22 10:58:35 +02:00
satyajit.happy
2b5955efbe
refactor: use Record type for objects
2019-10-22 00:53:11 +02:00
satyajit.happy
3aaf6eb648
chore: publish
...
- @react-navigation/core@5.0.0-alpha.16
- @react-navigation/native-stack@5.0.0-alpha.2
- @react-navigation/stack@5.0.0-alpha.27
2019-10-18 16:44:00 +02:00
satyajit.happy
3e92e22941
fix: rehydrate state before using it
2019-10-18 16:06:21 +02:00
Satyajit Sahoo
a543f1bfc3
feat: make it easier to navigate to a specific route in navigator ( #114 )
...
We now use the `params` of the route to determine `initialRouteName` and `initialParams` of a navigator.
So you can do something like this:
```js
navigation.push('Auth', { name: 'Login', params: { token 'xxx' } })
```
This will navigate to the `Login` screen inside the `Auth` navigator.
Closes #90
2019-10-18 15:16:19 +02:00
osdnk
01277575f2
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.14
- @react-navigation/compat@5.0.0-alpha.8
- @react-navigation/core@5.0.0-alpha.15
- @react-navigation/drawer@5.0.0-alpha.14
- @react-navigation/example@5.0.0-alpha.13
- @react-navigation/material-bottom-tabs@5.0.0-alpha.13
- @react-navigation/material-top-tabs@5.0.0-alpha.12
- @react-navigation/native-stack@5.0.0-alpha.1
- @react-navigation/native@5.0.0-alpha.12
- @react-navigation/stack@5.0.0-alpha.25
2019-10-15 16:08:48 +02:00
Michał Osadnik
ba3f718ab3
feat: initial version of native stack ( #102 )
2019-10-10 23:39:04 +02:00
satyajit.happy
5303e8ffb5
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.13
- @react-navigation/compat@5.0.0-alpha.7
- @react-navigation/core@5.0.0-alpha.14
- @react-navigation/drawer@5.0.0-alpha.13
- @react-navigation/example@5.0.0-alpha.12
- @react-navigation/material-bottom-tabs@5.0.0-alpha.12
- @react-navigation/material-top-tabs@5.0.0-alpha.11
- @react-navigation/native@5.0.0-alpha.11
- @react-navigation/stack@5.0.0-alpha.24
2019-10-06 16:44:17 +02:00
satyajit.happy
070c46ba64
chore: fix react and react-native versions
2019-10-04 14:36:49 +02:00
satyajit.happy
d75915d1f3
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.12
- @react-navigation/compat@5.0.0-alpha.6
- @react-navigation/core@5.0.0-alpha.13
- @react-navigation/drawer@5.0.0-alpha.12
- @react-navigation/example@5.0.0-alpha.10
- @react-navigation/material-bottom-tabs@5.0.0-alpha.11
- @react-navigation/material-top-tabs@5.0.0-alpha.10
- @react-navigation/native@5.0.0-alpha.10
- @react-navigation/stack@5.0.0-alpha.22
2019-10-03 21:33:06 +02:00
satyajit.happy
832ed882bc
refactor: use react-native-safe-area-context
2019-10-03 21:31:09 +02: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
19be2b4bbc
fix: don't throw when switching navigator. fixes #91
2019-10-03 17:51:13 +02:00