Satyajit Sahoo
856449b200
chore: publish
...
- @react-navigation/bottom-tabs@5.2.4
- @react-navigation/compat@5.1.6
- @react-navigation/core@5.3.1
- @react-navigation/drawer@5.3.4
- @react-navigation/material-bottom-tabs@5.1.6
- @react-navigation/material-top-tabs@5.1.6
- @react-navigation/native@5.1.3
- @react-navigation/stack@5.2.6
2020-03-23 17:07:43 +01:00
Satyajit Sahoo
3096de6286
fix: only call listeners for focused screen for global events
2020-03-23 13:43:43 +01:00
Satyajit Sahoo
1c001424b5
fix: don't emit events for screens that don't exist anymore
2020-03-23 13:03:33 +01:00
Satyajit Sahoo
853740bfaf
chore: publish
...
- @react-navigation/bottom-tabs@5.2.3
- @react-navigation/compat@5.1.5
- @react-navigation/core@5.3.0
- @react-navigation/drawer@5.3.3
- @react-navigation/material-bottom-tabs@5.1.5
- @react-navigation/material-top-tabs@5.1.5
- @react-navigation/native@5.1.2
- @react-navigation/routers@5.2.0
- @react-navigation/stack@5.2.4
2020-03-23 00:00:55 +01:00
Satyajit Sahoo
179b6312fe
chore: update prettier
2020-03-22 23:58:06 +01:00
Satyajit Sahoo
3709e652f4
feat: support function in listeners prop
2020-03-22 23:33:25 +01:00
Satyajit Sahoo
5b15c7164f
fix: return correct value for isFocused after changing screens
...
fixes #7843
2020-03-22 23:31:04 +01:00
Satyajit Sahoo
bc9b044fb3
chore: publish
...
- @react-navigation/bottom-tabs@5.2.2
- @react-navigation/compat@5.1.4
- @react-navigation/core@5.2.3
- @react-navigation/drawer@5.3.2
- @react-navigation/material-bottom-tabs@5.1.4
- @react-navigation/material-top-tabs@5.1.4
- @react-navigation/native@5.1.1
- @react-navigation/stack@5.2.2
2020-03-19 19:48:37 +01:00
Satyajit Sahoo
d5bb357053
chore: temporarily disables devtools until we add a public API
...
closes #7726
2020-03-19 18:39:04 +01:00
Satyajit Sahoo
b75744abd5
chore: publish
...
- @react-navigation/bottom-tabs@5.2.0
- @react-navigation/compat@5.1.2
- @react-navigation/core@5.2.2
- @react-navigation/drawer@5.2.0
- @react-navigation/material-bottom-tabs@5.1.2
- @react-navigation/material-top-tabs@5.1.2
- @react-navigation/native@5.0.10
- @react-navigation/routers@5.1.1
- @react-navigation/stack@5.2.0
2020-03-16 14:29:25 +01:00
Satyajit Sahoo
6dbda1a0c2
chore: upgrade depenendecies
2020-03-16 14:28:10 +01:00
Satyajit Sahoo
646cbfb28e
refactor: move action helper types to routers
2020-03-13 12:34:37 +01:00
Satyajit Sahoo
e071a978e6
chore: publish
...
- @react-navigation/bottom-tabs@5.1.1
- @react-navigation/compat@5.1.1
- @react-navigation/core@5.2.1
- @react-navigation/drawer@5.1.1
- @react-navigation/material-bottom-tabs@5.1.1
- @react-navigation/material-top-tabs@5.1.1
- @react-navigation/native@5.0.9
- @react-navigation/routers@5.1.0
- @react-navigation/stack@5.1.1
2020-03-03 11:58:45 +01:00
Satyajit Sahoo
5bb0f405ce
fix: fix links for documentation
2020-02-28 17:12:18 +01:00
Satyajit Sahoo
2dfa4f3629
fix: move updating state to useEffect
2020-02-28 17:01:58 +01:00
Satyajit Sahoo
3677818f63
chore: publish
...
- @react-navigation/bottom-tabs@5.1.0
- @react-navigation/compat@5.1.0
- @react-navigation/core@5.2.0
- @react-navigation/drawer@5.1.0
- @react-navigation/material-bottom-tabs@5.1.0
- @react-navigation/material-top-tabs@5.1.0
- @react-navigation/native@5.0.8
- @react-navigation/routers@5.0.3
- @react-navigation/stack@5.1.0
2020-02-26 13:57:42 +01:00
Satyajit Sahoo
162410843c
feat: add ability add listeners with listeners prop
...
This adds ability to listen to events from the component where the navigator is defined, even if the screen is not rendered.
```js
<Tabs.Screen
name="Chat"
component={Chat}
options={{ title: 'Chat' }}
listeners={{
tabPress: e => console.log('Tab press', e.target),
}}
/>
```
Closes #6756
2020-02-26 13:02:22 +01:00
Satyajit Sahoo
028c2887c6
refactor: tweak error messages more
2020-02-25 20:58:14 +01:00
Satyajit Sahoo
7a44cda136
refactor: tweak error messages
2020-02-25 17:58:09 +01:00
Satyajit Sahoo
225cb298b6
chore: publish
...
- @react-navigation/bottom-tabs@5.0.7
- @react-navigation/compat@5.0.7
- @react-navigation/core@5.1.6
- @react-navigation/drawer@5.0.7
- @react-navigation/material-bottom-tabs@5.0.7
- @react-navigation/material-top-tabs@5.0.7
- @react-navigation/native@5.0.7
- @react-navigation/routers@5.0.2
- @react-navigation/stack@5.0.7
2020-02-21 19:18:56 +01:00
Satyajit Sahoo
f16700812f
fix: avoid emitting focus events twice
...
fixes #6749
2020-02-21 18:56:06 +01:00
Satyajit Sahoo
125bd70e49
fix: preserve screen order with numeric names
...
fixes #6900
2020-02-21 05:43:32 +01:00
Satyajit Sahoo
4578849ebf
chore: publish
...
- @react-navigation/bottom-tabs@5.0.6
- @react-navigation/compat@5.0.6
- @react-navigation/core@5.1.5
- @react-navigation/drawer@5.0.6
- @react-navigation/material-bottom-tabs@5.0.6
- @react-navigation/material-top-tabs@5.0.6
- @react-navigation/native@5.0.6
- @react-navigation/stack@5.0.6
2020-02-19 23:34:10 +01:00
Satyajit Sahoo
c084517d7b
chore: add release script
2020-02-19 23:30:12 +01:00
Satyajit Sahoo
bb0226e26d
chore: tweak error message
2020-02-18 18:59:39 +01:00
Satyajit Sahoo
1a28c299b5
fix: show descriptive error for invalid return for useFocusEffect
2020-02-15 20:02:39 +01:00
Satyajit Sahoo
040f5dbb9d
refactor: drop use of performTransaction
2020-02-15 19:05:50 +01:00
Satyajit Sahoo
5b7bbbdfd9
chore: publish
...
- @react-navigation/bottom-tabs@5.0.5
- @react-navigation/compat@5.0.5
- @react-navigation/core@5.1.4
- @react-navigation/drawer@5.0.5
- @react-navigation/material-bottom-tabs@5.0.5
- @react-navigation/material-top-tabs@5.0.5
- @react-navigation/native-stack@5.0.5
- @react-navigation/native@5.0.5
- @react-navigation/stack@5.0.5
2020-02-15 00:18:52 +01:00
Satyajit Sahoo
c5fefc6ee9
chore: tweak versions for peer dependencies
2020-02-15 00:15:01 +01:00
Satyajit Sahoo
aaf01e01e7
fix: return '/' for empty paths
2020-02-14 23:17:29 +01:00
Satyajit Sahoo
ac242fd281
refactor: discard all routes but last when getting action from state
2020-02-14 23:04:09 +01:00
Satyajit Sahoo
c5fcfbd427
fix: link to migration guide on invalid usage
2020-02-14 22:48:04 +01:00
Satyajit Sahoo
424c9469e4
chore: publish
...
- @react-navigation/bottom-tabs@5.0.4
- @react-navigation/compat@5.0.4
- @react-navigation/core@5.1.3
- @react-navigation/drawer@5.0.4
- @react-navigation/material-bottom-tabs@5.0.4
- @react-navigation/material-top-tabs@5.0.4
- @react-navigation/native-stack@5.0.4
- @react-navigation/native@5.0.4
- @react-navigation/stack@5.0.4
2020-02-14 18:50:01 +01:00
Satyajit Sahoo
f964200b0d
fix: update links in error messages
2020-02-14 18:32:53 +01:00
Satyajit Sahoo
c8ac5fab61
fix: return false for canGoBack if navigator hasn't finished mounting
2020-02-12 21:28:03 +01:00
Satyajit Sahoo
b6accd03f6
fix: throw a descriptive error if navigation object hasn't initialized
2020-02-12 20:59:58 +01:00
Satyajit Sahoo
0cca1309ec
chore: publish
...
- @react-navigation/bottom-tabs@5.0.3
- @react-navigation/compat@5.0.3
- @react-navigation/core@5.1.2
- @react-navigation/drawer@5.0.3
- @react-navigation/material-bottom-tabs@5.0.3
- @react-navigation/material-top-tabs@5.0.3
- @react-navigation/native-stack@5.0.3
- @react-navigation/native@5.0.3
- @react-navigation/stack@5.0.3
2020-02-12 16:58:48 +01:00
Satyajit Sahoo
030c63c89f
fix: fix false positives for circular object check
...
fixes #6827
2020-02-12 11:42:36 +01:00
Abhinandan Ramaprasath
2bf0958502
fix: static container memo check ( #6825 )
...
Memo check compared elements of prevProps to nextProps but failed
to take new props into account. Fixed the logic and added a new
test.
2020-02-12 10:56:23 +01:00
Satyajit Sahoo
94cff2380a
chore: publish
...
- @react-navigation/bottom-tabs@5.0.2
- @react-navigation/compat@5.0.2
- @react-navigation/core@5.1.1
- @react-navigation/drawer@5.0.2
- @react-navigation/material-bottom-tabs@5.0.2
- @react-navigation/material-top-tabs@5.0.2
- @react-navigation/native-stack@5.0.2
- @react-navigation/native@5.0.2
- @react-navigation/stack@5.0.2
2020-02-11 18:57:48 +01:00
Satyajit Sahoo
359ae1bfac
fix: don't cleanup state on switching navigator
...
This leads to a glitch. Switching navigators should be handled by the router properly.
2020-02-11 18:56:27 +01:00
Satyajit Sahoo
b234b035c3
chore: publish
...
- @react-navigation/bottom-tabs@5.0.1
- @react-navigation/compat@5.0.1
- @react-navigation/core@5.1.0
- @react-navigation/drawer@5.0.1
- @react-navigation/material-bottom-tabs@5.0.1
- @react-navigation/material-top-tabs@5.0.1
- @react-navigation/native-stack@5.0.1
- @react-navigation/native@5.0.1
- @react-navigation/routers@5.0.1
- @react-navigation/stack@5.0.1
2020-02-10 17:22:48 +01:00
Satyajit Sahoo
13b4e07348
fix: add some links in the error messages
2020-02-10 16:16:54 +01:00
Satyajit Sahoo
86c39d2e0e
refactor: move types and base router to routers package
2020-02-10 16:04:20 +01:00
Satyajit Sahoo
ae680a1e3c
chore: upgrade depenendecies
2020-02-10 16:04:20 +01:00
Satyajit Sahoo
79ab56fe41
chore: release stable version
2020-02-05 14:54:44 +01:00
Satyajit Sahoo
a121844148
chore: prepare for stable release ( #354 )
2020-02-05 14:47:36 +01:00
Wojciech Lewicki
61b1134f90
feat: support ignoring empty path strings ( #349 )
2020-02-05 13:31:40 +01:00
Satyajit Sahoo
264537bdb4
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.45
- @react-navigation/compat@5.0.0-alpha.34
- @react-navigation/core@5.0.0-alpha.43
- @react-navigation/drawer@5.0.0-alpha.47
- @react-navigation/material-bottom-tabs@5.0.0-alpha.42
- @react-navigation/material-top-tabs@5.0.0-alpha.41
- @react-navigation/native-stack@5.0.0-alpha.35
- @react-navigation/native@5.0.0-alpha.35
- @react-navigation/routers@5.0.0-alpha.33
- @react-navigation/stack@5.0.0-alpha.70
2020-02-04 17:34:55 +01:00
Satyajit Sahoo
ca4a36070a
fix: improve error message for unhandled action
2020-02-04 17:33:03 +01:00