satyajit.happy
c41c824aae
chore: publish
...
- @react-navigation/bottom-tabs@5.0.0-alpha.18
- @react-navigation/compat@5.0.0-alpha.12
- @react-navigation/drawer@5.0.0-alpha.20
- @react-navigation/example@5.0.0-alpha.19
- @react-navigation/material-bottom-tabs@5.0.0-alpha.18
- @react-navigation/material-top-tabs@5.0.0-alpha.15
- @react-navigation/native-stack@5.0.0-alpha.9
- @react-navigation/routers@5.0.0-alpha.12
- @react-navigation/stack@5.0.0-alpha.34
@react-navigation/material-bottom-tabs@5.0.0-alpha.18
@react-navigation/compat@5.0.0-alpha.12
@react-navigation/drawer@5.0.0-alpha.20
@react-navigation/example@5.0.0-alpha.19
@react-navigation/bottom-tabs@5.0.0-alpha.18
@react-navigation/material-top-tabs@5.0.0-alpha.15
@react-navigation/native-stack@5.0.0-alpha.9
@react-navigation/routers@5.0.0-alpha.12
@react-navigation/stack@5.0.0-alpha.34
2019-11-04 07:52:29 +01:00
Freddy Harris
a93a81e5d3
feat: support transform style for header ( #158 )
2019-11-04 07:50:02 +01:00
satyajit.happy
57b411cea8
refactor: replace XComponent props in favor of render callbacks
...
Making these props components makes it impossible pass additional props to them from the parent component. Render callbacks are more dynamic and flexible for this case
2019-11-04 07:47:41 +01:00
satyajit.happy
3a4c38bb72
fix: close drawer on back button press
2019-11-02 08:52:12 +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
@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
2ef5ad4cc2
fix: add horizontal margin to centered title
2019-11-02 05:08:10 +01:00
freddy
74ee216ed4
fix: remove unnecessary paddingHorizontal on stack header
2019-11-02 04:54:07 +01:00
Tien Pham
77f29d374f
feat: add headerBackTitleVisible to navigation options in native stack
2019-11-02 04:53:23 +01:00
satyajit.happy
5a34764404
fix: pass rehydrated state in onStateChange and devtools
2019-11-02 04:43:47 +01:00
satyajit.happy
738f226535
chore: publish
...
- @react-navigation/drawer@5.0.0-alpha.19
- @react-navigation/example@5.0.0-alpha.18
- @react-navigation/native-stack@5.0.0-alpha.7
- @react-navigation/stack@5.0.0-alpha.32
@react-navigation/native-stack@5.0.0-alpha.7
@react-navigation/example@5.0.0-alpha.18
@react-navigation/stack@5.0.0-alpha.32
@react-navigation/drawer@5.0.0-alpha.19
2019-11-02 02:58:08 +01:00
satyajit.happy
5cd69401ec
fix: remove top margin from screen in native stack on Android
...
In newer versions of react-native-screens, the content is no longer below the header, so the top margin in not needed anymore.
2019-11-02 02:56:46 +01:00
satyajit.happy
c55d4511ff
chore: update react-native-screens
2019-10-31 13:49:22 +01:00
osdnk
c07d61dc41
chore: bump react-native-screens pods
2019-10-31 12:53:46 +01:00
satyajit.happy
67fd69adf6
fix: minor tweaks for web and fix example
2019-10-31 11:03:34 +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
@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