Satyajit Sahoo
358d9e9feb
chore: publish
...
- @react-navigation/bottom-tabs@5.2.1
- @react-navigation/compat@5.1.3
- @react-navigation/drawer@5.3.0
- @react-navigation/material-bottom-tabs@5.1.3
- @react-navigation/material-top-tabs@5.1.3
- @react-navigation/native@5.1.0
- @react-navigation/stack@5.2.1
2020-03-17 14:37:21 +01:00
Satyajit Sahoo
6a5d0a035a
feat: add permanent drawer type ( #7818 )
...
Co-authored-by: NoemiRozpara <nrozpara@gmail.com >
2020-03-17 14:11:00 +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
Michał Osadnik
70029d6c13
feat: add an option to change use a custom card overlay ( #7809 )
...
I find it sometimes useful to define overlay renderer on my own. Eg. I needed to replace the background with BlurView and with this API I find it quite easy
Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com >
2020-03-16 14:28:10 +01:00
Tien Pham
469d0542c7
fix: fix back gesture cancellation ( #7700 )
...
The problem here is that when we scroll back really fast, even though velocity is negative, `Math.abs(translation + velocity * gestureVelocityImpact)` will end up bigger than `distance / 2`.
I removed the `Math.abs`, I think it's not necessary. When `translation + velocity * gestureVelocityImpact` is negative, it's also < `distance / 2` and we should just close the screen.
Closes #6782
2020-03-16 12:03:16 +01:00
Vojtech Novak
0dcaea3242
fix: fix android header title font weight ( #7720 )
...
the previously used fort weight of 500 would effectively be converted to `fontWeight: bold` because of https://github.com/facebook/react-native/pull/25341
this fixes the title appearance to look as customary
2020-03-16 11:05:02 +01:00
Satyajit Sahoo
646cbfb28e
refactor: move action helper types to routers
2020-03-13 12:34:37 +01:00
Satyajit Sahoo
660cac3557
fix: don't handle action if no routes are present
2020-03-11 18:17:19 +01:00
Satyajit Sahoo
82af7bed71
feat: add safeAreaInsets to bottom tabs
2020-03-09 22:21:04 +01:00
Michał Osadnik
cb46d0bca4
feat: make useIsDrawerOpen workable inside drawer content ( #7746 )
2020-03-06 15:46:13 +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
296c836064
fix: ignore back button press if screen isn't focused. closes #7673
2020-03-03 11:34:38 +01:00
Satyajit Sahoo
09f6808d7d
feat: make reset bubble up
2020-03-01 02:45:08 +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
a046db536f
chore: publish
...
- @react-navigation/stack@5.0.9
2020-02-24 14:45:00 +01:00
Michał Osadnik
80a337024a
fix: enhance border radius in modals on new iPhones ( #6945 )
...
Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com >
2020-02-24 14:44:20 +01:00
Satyajit Sahoo
c19da31240
refactor: enable screens only for last screen
...
This will avoid issues such as https://github.com/react-navigation/react-navigation/issues/6909
2020-02-24 11:37:25 +01:00
Satyajit Sahoo
85e9376302
chore: publish
...
- @react-navigation/stack@5.0.8
2020-02-21 20:09:06 +01:00
Satyajit Sahoo
a67b49477e
fix: fix transparent header on Android
2020-02-21 20:07:38 +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
c8ea4199f4
fix: tweak error message for navigate
2020-02-21 19:13:11 +01:00
Satyajit Sahoo
f16700812f
fix: avoid emitting focus events twice
...
fixes #6749
2020-02-21 18:56:06 +01:00
Satyajit Sahoo
240ce01822
fix: make sure header is visibile to accessibility tools on iOS
2020-02-21 16:30:05 +01:00
Satyajit Sahoo
c7dd3a58b1
fix: debounce back button by default in stack header
2020-02-21 15:31:50 +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
22c85ff6a9
chore: remove native-stack from the repo
...
it's now moved to https://github.com/kmagiera/react-native-screens
2020-02-19 23:18:11 +01:00
Satyajit Sahoo
bf76075e0f
fix: add accessibilityLabel prop to back button
...
fixes #6895
2020-02-19 23:09:00 +01:00
Satyajit Sahoo
d69b0db604
fix: add NavigationEvents
...
See https://github.com/react-navigation/react-navigation/issues/6821#issuecomment-588268512
2020-02-19 23:04:14 +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
e0c3298e64
fix: delay showing drawer by one frame after layout
2020-02-15 19:17:20 +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
8f40a98086
fix: hard code header height for animation
...
closes #6818
2020-02-14 18:44:54 +01:00
Satyajit Sahoo
f964200b0d
fix: update links in error messages
2020-02-14 18:32:53 +01:00
Chris
e37d6598ca
docs: Update types.tsx ( #6849 )
...
Typo :)
2020-02-14 10:43: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