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
@react-navigation/stack@5.0.0-alpha.31
@react-navigation/bottom-tabs@5.0.0-alpha.17
@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/compat@5.0.0-alpha.11
@react-navigation/routers@5.0.0-alpha.11
2019-10-30 23:51:33 +01:00
satyajit.happy
12d597fcc0
feat: add an 'unmountInactiveScreens' option
2019-10-30 23:50:33 +01:00
satyajit.happy
50dea65377
fix: support scroll to top in navigators nested in tab
2019-10-30 21:34:00 +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
fb749ac064
fix: hide screen from screen reader when drawer is open ( #147 )
2019-10-30 11:59:55 +01:00
Satyajit Sahoo
58f7115298
fix: hide inactive pages from screen reader in tabs ( #148 )
2019-10-30 11:59:31 +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
@react-navigation/bottom-tabs@5.0.0-alpha.16
@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/compat@5.0.0-alpha.10
@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
941f4e2dec
chore: update react-native-paper and screens
2019-10-29 02:42:37 +01:00
osdnk
876c3183e1
fix: make clearKeyboardTimeout private
2019-10-25 09:29:36 +02:00
satyajit.happy
1cc31bf900
chore: fix cocoa pods
2019-10-24 19:32:33 +02:00
satyajit.happy
8f16085808
fix: improve type annotation for screens
2019-10-24 18:56:26 +02:00
satyajit.happy
58fbfdf5c3
chore: remove log
2019-10-24 18:56:26 +02:00
osdnk
07bfc86327
fix: keyboard manager in stack for fast swipe
2019-10-24 18:50:16 +02:00
osdnk
e54d87c41c
chore: publish
...
- @react-navigation/stack@5.0.0-alpha.29
@react-navigation/stack@5.0.0-alpha.29
2019-10-22 21:06:37 +02:00
osdnk
225e760a54
fix: conditions in gesture direction
2019-10-22 21:06:02 +02:00
satyajit.happy
f9cfbd01d8
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.15
- @react-navigation/example@5.0.0-alpha.16
@react-navigation/example@5.0.0-alpha.16
@react-navigation/bottom-tabs@5.0.0-alpha.15
2019-10-22 15:45:16 +02:00
satyajit.happy
3bf46e1ad2
refactor: don't pass orientation to label
2019-10-22 15:30:49 +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
@react-navigation/material-bottom-tabs@5.0.0-alpha.15
@react-navigation/example@5.0.0-alpha.15
@react-navigation/native@5.0.0-alpha.13
@react-navigation/stack@5.0.0-alpha.28
@react-navigation/native-stack@5.0.0-alpha.4
@react-navigation/drawer@5.0.0-alpha.16
@react-navigation/core@5.0.0-alpha.17
@react-navigation/compat@5.0.0-alpha.9
2019-10-22 10:58:35 +02:00
Satyajit Sahoo
f22abb726c
fix: don't fire onOpen when screen is unmounting ( #137 )
...
I can't think of a scenario a screen would unmount when opening.
So it's probably a safe-bet to always call onClose.
Fixes #136
2019-10-22 09:26:59 +02:00
satyajit.happy
031c4d2378
fix: don't keep unfocused header backgrounds visible
2019-10-22 04:54:38 +02:00
satyajit.happy
2b5955efbe
refactor: use Record type for objects
2019-10-22 00:53:11 +02:00
satyajit.happy
70f7e7a7c0
ci: update CI config
2019-10-21 15:34:02 +02:00
David
6cf1a041b2
feat(native-stack): add support for large title attributes ( #135 )
...
Co-Authored-By: Satyajit Sahoo <satyajit.happy@gmail.com >
2019-10-21 15:25:50 +02:00
osdnk
0d8cdc8a27
fix: navigation drawer sometimes not closing when pressed outside
2019-10-21 11:26:30 +02:00
satyajit.happy
2680b461a2
chore: publish
...
- @react-navigation/native-stack@5.0.0-alpha.3
@react-navigation/native-stack@5.0.0-alpha.3
2019-10-18 19:16:33 +02:00
satyajit.happy
fb726eede3
fix: remove top margin when header is hidden in native stack. fixes #131
2019-10-18 19:15:43 +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
@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
Janic Duplessis
477c08858d
fix: fix header font size config in native stack ( #128 )
...
Oups copy paste mistake :o
2019-10-18 16:43:04 +02:00
satyajit.happy
300791ab49
feat: add an option to override safe area insets
2019-10-18 16:20:53 +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
satyajit.happy
cd5f355bd0
chore: publish
...
- @react-navigation/drawer@5.0.0-alpha.15
- @react-navigation/example@5.0.0-alpha.14
- @react-navigation/material-bottom-tabs@5.0.0-alpha.14
- @react-navigation/stack@5.0.0-alpha.26
@react-navigation/drawer@5.0.0-alpha.15
@react-navigation/example@5.0.0-alpha.14
@react-navigation/material-bottom-tabs@5.0.0-alpha.14
@react-navigation/stack@5.0.0-alpha.26
2019-10-18 01:57:14 +02:00
satyajit.happy
cab616069f
fix: fix passing content options in drawer
2019-10-18 01:56:04 +02:00
satyajit.happy
f90e00cc93
chore: update paper so types work
2019-10-17 22:52:48 +02:00
satyajit.happy
731cf7d5b1
fix: fix incorrect type
2019-10-16 22:59:45 +02:00
Sirui Li
c6d0c19b49
fix: don't fade incoming background when fading header ( #127 )
2019-10-16 22:58:31 +02:00
satyajit.happy
442b95d9e4
fix: use header height from style if specified
2019-10-16 15:02:39 +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
@react-navigation/material-top-tabs@5.0.0-alpha.12
@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/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
386d1c0888
fix: block GH interactions in Native Stack example ( #126 )
2019-10-15 14:28:39 +02:00
satyajit.happy
9d9fe31f02
fix: don't ignore descriptors change
2019-10-15 14:17:49 +02:00
satyajit.happy
0a5fb3e268
fix: fix content component not rendering in drawer
2019-10-11 18:20:56 +02:00
satyajit.happy
1d7a37cd4a
chore: fix minor typo
2019-10-11 18:05:32 +02:00
satyajit.happy
2b57702a62
fix: add flex: 1 to drawer content
2019-10-11 17:49:15 +02:00
satyajit.happy
c7da1e4145
fix: increase hitSlop of back button on Android
2019-10-11 13:39:29 +02:00
satyajit.happy
6a0ca90873
feat: add a headerTitleAlign option to center or left align title
2019-10-11 13:38:53 +02:00
osdnk
e9a1cfcec3
chore: bump screens
2019-10-11 13:26:52 +02:00
satyajit.happy
b71f4e52a3
fix: update supported options for native stack
2019-10-11 13:12:39 +02:00
satyajit.happy
9ce8ec59fb
refactor: refresh drawer according to latest material design guidelines
2019-10-11 00:54:22 +02:00