Satyajit Sahoo
ca4a36070a
fix: improve error message for unhandled action
2020-02-04 17:33:03 +01:00
Wojciech Lewicki
4ca5cc6329
feat: add initialRouteName property to config ( #322 )
2020-02-04 14:44:57 +01:00
osdnk
25c3fc440f
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.44
- @react-navigation/compat@5.0.0-alpha.33
- @react-navigation/core@5.0.0-alpha.42
- @react-navigation/drawer@5.0.0-alpha.46
- @react-navigation/material-bottom-tabs@5.0.0-alpha.41
- @react-navigation/material-top-tabs@5.0.0-alpha.40
- @react-navigation/native-stack@5.0.0-alpha.34
- @react-navigation/native@5.0.0-alpha.34
- @react-navigation/routers@5.0.0-alpha.32
- @react-navigation/stack@5.0.0-alpha.69
2020-02-04 11:04:43 +01:00
Michał Osadnik
bec2f754d4
refactor: rename NavigationNativeContainer to NavigationContainer ( #344 )
2020-02-04 10:21:16 +01:00
Evan Bacon
b277927925
feat: disable pan gesture by default in the browser for Apple devices
...
fixes #287
2020-02-04 09:12:40 +01:00
Satyajit Sahoo
3fbfb70699
chore: publish
...
- @react-navigation/stack@5.0.0-alpha.68
2020-02-03 05:48:24 +01:00
Satyajit Sahoo
abdf9d12b5
fix: use .native for masked view instead of .web
2020-02-03 05:47:25 +01:00
Satyajit Sahoo
ba85db28d4
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.43
- @react-navigation/compat@5.0.0-alpha.32
- @react-navigation/core@5.0.0-alpha.41
- @react-navigation/drawer@5.0.0-alpha.45
- @react-navigation/material-bottom-tabs@5.0.0-alpha.40
- @react-navigation/material-top-tabs@5.0.0-alpha.39
- @react-navigation/native-stack@5.0.0-alpha.33
- @react-navigation/native@5.0.0-alpha.33
- @react-navigation/routers@5.0.0-alpha.31
- @react-navigation/stack@5.0.0-alpha.67
2020-02-03 05:18:49 +01:00
Satyajit Sahoo
e5063b9339
fix: ignore circular references when checking serializable
2020-02-03 05:18:03 +01:00
Satyajit Sahoo
22e306004a
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.42
- @react-navigation/compat@5.0.0-alpha.31
- @react-navigation/core@5.0.0-alpha.40
- @react-navigation/drawer@5.0.0-alpha.44
- @react-navigation/material-bottom-tabs@5.0.0-alpha.39
- @react-navigation/material-top-tabs@5.0.0-alpha.38
- @react-navigation/native-stack@5.0.0-alpha.32
- @react-navigation/native@5.0.0-alpha.32
- @react-navigation/routers@5.0.0-alpha.30
- @react-navigation/stack@5.0.0-alpha.66
2020-02-03 00:40:22 +01:00
Satyajit Sahoo
8a835b3556
chore: fix versions in package.json
2020-02-03 00:40:11 +01:00
Satyajit Sahoo
41a5e1a385
fix: wrap navigators in gesture handler root
2020-02-03 00:18:32 +01:00
Satyajit Sahoo
3d937d1e65
fix: dispatch pop early when screen is closed with gesture ( #336 )
...
fixes #267
2020-02-02 23:56:05 +01:00
osdnk
343320783f
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.40
- @react-navigation/compat@5.0.0-alpha.29
- @react-navigation/core@5.0.0-alpha.38
- @react-navigation/drawer@5.0.0-alpha.42
- @react-navigation/material-bottom-tabs@5.0.0-alpha.37
- @react-navigation/material-top-tabs@5.0.0-alpha.36
- @react-navigation/native-stack@5.0.0-alpha.30
- @react-navigation/native@5.0.0-alpha.30
- @react-navigation/routers@5.0.0-alpha.28
- @react-navigation/stack@5.0.0-alpha.64
2020-02-02 23:36:00 +01:00
Satyajit Sahoo
5411816188
fix: update screens for native stack
2020-02-02 23:32:12 +01:00
Satyajit Sahoo
94d7b28c0b
fix: disable screens when mode is modal on older expo versions
2020-02-01 17:21:18 +01:00
Satyajit Sahoo
0c159db4c9
fix: add licenses
2020-02-01 02:43:58 +01:00
Satyajit Sahoo
0ead2662ec
fix: add accessibilityRole=header to header title
2020-01-31 17:27:47 +01:00
Satyajit Sahoo
d448cdc11f
refactor: don't pass drawerPosition as a prop to drawerContent
2020-01-31 14:55:10 +01:00
Satyajit Sahoo
0e8fda3196
fix: handle back button in drawer itself
2020-01-31 01:53:50 +01:00
Satyajit Sahoo
9198597b7f
fix: fix drawerType=back when drawer is on right
...
fixes #316
2020-01-31 01:40:28 +01:00
osdnk
9be904d9c4
fix: increase epsilon in CardContainer.tsx
2020-01-30 22:38:13 +01:00
Satyajit Sahoo
fa4a959549
fix: add warning when passing inline function to component prop
2020-01-30 05:03:32 +01:00
Satyajit Sahoo
0b4bf1dcc8
refactor: drop unmountInactiveScreens in favor of unmountOnBlur… ( #317 )
...
The `unmountInactiveScreens` prop lets user unmount all inactive screens for the whole navigator when they go out of focus. It'll be better to have the option to do that per screen, so I have added the `unmountOnBlur` option instead.
To get the previous behaviour, user can specify the option in `screenOptions`.
2020-01-29 23:49:31 +01:00
Satyajit Sahoo
5a3f8356b0
feat: integrate with history API on web
2020-01-29 23:14:12 +01:00
Satyajit Sahoo
eeae11033a
refactor: track history for tabs and drawer in a history key
2020-01-29 23:14:12 +01:00
Wojciech Lewicki
b931ae62df
feat: add screens prop for nested configs ( #308 )
...
Nested configs' names with their configs are now in `screens` property of the route object.
2020-01-29 16:26:17 +01:00
Satyajit Sahoo
ea66b1a3b8
chore: fix build failure
2020-01-29 12:13:37 +01:00
Michał Osadnik
4bc0c8f66f
feat: add error if multiple instances of useLinking are used ( #310 )
2020-01-29 11:35:22 +01:00
osdnk
edf96d839f
fix: web with internal interpolation listener
2020-01-28 14:52:41 +01:00
Satyajit Sahoo
141d397bdf
chore: tweak types for stack
2020-01-28 14:35:31 +01:00
Evan Bacon
0f18b91690
refactor: split Overlay into a new component ( #284 )
...
* refactor: split Overlay into a new component
* Update packages/drawer/src/index.tsx
Co-Authored-By: Satyajit Sahoo <satyajit.happy@gmail.com >
Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com >
2020-01-27 20:10:06 +01:00
Satyajit Sahoo
6262f7298b
feat: add animationTypeForReplace option ( #297 )
...
Currently, when a screen is replaced the new screen comes into focus with a push animation. However, sometimes you might want to customize how the animation looks like.
For example, when the user logs out, animating out the previous screen like pop feels more natural than doing a push animation with the sign in screen. The PR adds a new `animationTypeForReplace` option to control this. Specifying `animationTypeForReplace: 'pop'` will pop the previous screen, otherwise the new screen will be pushed like before.
Co-authored-by: Michał Osadnik <micosa97@gmail.com >
2020-01-27 18:20:53 +01:00
osdnk
a6f58677dc
fix: make UNVERSIONED insufficient expo version
2020-01-27 18:01:35 +01:00
Michał Osadnik
9bfb295620
fix: screens integration on Android ( #294 )
2020-01-27 17:48:22 +01:00
Satyajit Sahoo
ecd68afb46
feat: add useIsDrawerOpen hook ( #299 )
2020-01-27 12:59:24 +01:00
Satyajit Sahoo
5fe140e61b
fix: fix shadow position for inverted animations
2020-01-26 17:02:00 +01:00
Satyajit Sahoo
944fa35ed4
fix: throw when assigning or accessing the router property in compat
2020-01-26 02:22:16 +01:00
Satyajit Sahoo
2243b45cc1
fix: tweak error messages for validation
2020-01-25 14:42:17 +01:00
Satyajit Sahoo
5e7cfc4ac0
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.39
- @react-navigation/compat@5.0.0-alpha.28
- @react-navigation/core@5.0.0-alpha.37
- @react-navigation/drawer@5.0.0-alpha.41
- @react-navigation/material-bottom-tabs@5.0.0-alpha.36
- @react-navigation/material-top-tabs@5.0.0-alpha.35
- @react-navigation/native-stack@5.0.0-alpha.29
- @react-navigation/native@5.0.0-alpha.29
- @react-navigation/routers@5.0.0-alpha.27
- @react-navigation/stack@5.0.0-alpha.63
2020-01-24 13:01:24 +01:00
NoemiRozpara
5751e7f97a
fix: warn if non-serializable values found in state
2020-01-24 12:58:06 +01:00
Satyajit Sahoo
179e807a64
fix: add error message when trying to use v4 API with v5
2020-01-24 00:01:35 +01:00
Satyajit Sahoo
2f1f0af862
fix: validate screen configs
2020-01-23 23:52:27 +01:00
Satyajit Sahoo
9976a888a0
refactor: move replace to stack router
2020-01-23 20:13:40 +01:00
Satyajit Sahoo
16c64e7298
fix: pass correct previous scene to header with headerMode: screen
2020-01-23 15:29:40 +01:00
Satyajit Sahoo
f1fe951cf9
fix: use layout instead of dimensions for determining tab bar layout
2020-01-23 15:10:27 +01:00
Satyajit Sahoo
14250851d1
refactor: remove resetRoot from the navigation prop
...
Using `resetRoot` requires knowledge of the whole navigation tree that a specific screen shouldn't have. It's better to remove it to discourage resetting whole navigator state from inside a screen.
It's still possible if the user needs it:
- Expose `resetRoot` from container's ref via context
- Use `reset` with the target set to the root navigation state's key
2020-01-23 14:44:34 +01:00
osdnk
42586462fd
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.38
- @react-navigation/compat@5.0.0-alpha.27
- @react-navigation/core@5.0.0-alpha.36
- @react-navigation/drawer@5.0.0-alpha.40
- @react-navigation/material-bottom-tabs@5.0.0-alpha.35
- @react-navigation/material-top-tabs@5.0.0-alpha.34
- @react-navigation/native-stack@5.0.0-alpha.28
- @react-navigation/native@5.0.0-alpha.28
- @react-navigation/routers@5.0.0-alpha.26
- @react-navigation/stack@5.0.0-alpha.62
2020-01-23 10:45:49 +01:00
Satyajit Sahoo
3dede316cc
feat: add preventDefault functionality in material bottom tabs
2020-01-22 21:57:39 +01:00
Satyajit Sahoo
63988e0da8
chore: add sideEffects: false for webpack
2020-01-22 21:47:12 +01:00