Satyajit Sahoo
5e0069a896
chore: publish
...
- @react-navigation/bottom-tabs@5.2.7
- @react-navigation/compat@5.1.9
- @react-navigation/core@5.3.4
- @react-navigation/drawer@5.5.0
- @react-navigation/material-bottom-tabs@5.1.9
- @react-navigation/material-top-tabs@5.1.9
- @react-navigation/native@5.1.6
- @react-navigation/routers@5.4.0
- @react-navigation/stack@5.2.11
2020-04-18 01:28:05 +02:00
Satyajit Sahoo
187aefe9c4
fix: handle initial: false for nested route after first initialization
2020-04-14 17:06:58 +02:00
Satyajit Sahoo
a3f7a5feba
fix: add initial param for actions from deep link
2020-04-10 12:05:16 +02:00
Satyajit Sahoo
004c7d7ab1
fix: add initial option for navigating to nested navigators
...
By default, params passed to nested navigators is used to initialize the navigator if it's not rendered already. The `initial` option would let the user control this behaviour. By specifying `initial: false`, it'll be possible to acheive the old behaviour of rendering the initial route of the stack before navigating to the new screen.
Example:
```js
navigation.navigate('Account', {
screen: 'Settings',
initial: false,
});
```
2020-04-10 11:51:32 +02:00
Satyajit Sahoo
49f658fbc0
chore: publish
...
- @react-navigation/bottom-tabs@5.2.6
- @react-navigation/compat@5.1.8
- @react-navigation/core@5.3.3
- @react-navigation/drawer@5.4.1
- @react-navigation/material-bottom-tabs@5.1.8
- @react-navigation/material-top-tabs@5.1.8
- @react-navigation/native@5.1.5
- @react-navigation/routers@5.3.0
- @react-navigation/stack@5.2.10
2020-04-08 12:17:31 +02:00
Satyajit Sahoo
de5d985f3b
chore: upgrade depenendecies
2020-04-07 15:44:58 +02:00
Satyajit Sahoo
ce3994c82c
fix: switch order of focus and blur events. closes #7963
2020-04-07 11:07:16 +02:00
Satyajit Sahoo
d4fd906915
fix: workaround warning about setState in another component in render
2020-04-06 23:58:25 +02:00
Satyajit Sahoo
9556aa9eff
chore: publish
...
- @react-navigation/bottom-tabs@5.2.5
- @react-navigation/compat@5.1.7
- @react-navigation/core@5.3.2
- @react-navigation/drawer@5.4.0
- @react-navigation/material-bottom-tabs@5.1.7
- @react-navigation/material-top-tabs@5.1.7
- @react-navigation/native@5.1.4
- @react-navigation/routers@5.2.1
- @react-navigation/stack@5.2.9
2020-03-30 22:22:25 +02:00
Satyajit Sahoo
9973db86f0
chore: use non-secure nanoid to be able to run in RN
2020-03-30 22:04:53 +02:00
Satyajit Sahoo
9bb5cfded3
refactor: replace shortid with nanoid. closes #7858
2020-03-30 21:42:58 +02:00
Satyajit Sahoo
4ac40b5c5d
chore: update typescript and babel
2020-03-30 21:42:58 +02:00
Wojciech Lewicki
cd47915861
fix: handle no path property and undefined query params ( #7911 )
2020-03-30 17:11:33 +02:00
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