Satyajit Sahoo
84cc0d758a
chore: publish
...
- @react-navigation/bottom-tabs@5.10 .4
- @react-navigation/compat@5.3.4
- @react-navigation/core@5.13 .4
- @react-navigation/devtools@5.1.12
- @react-navigation/drawer@5.10 .4
- @react-navigation/material-bottom-tabs@5.3.4
- @react-navigation/material-top-tabs@5.3.4
- @react-navigation/native@5.8.4
- @react-navigation/stack@5.12 .1
2020-11-03 07:04:08 +01:00
Satyajit Sahoo
bd9f0ad5f6
chore: publish
...
- @react-navigation/bottom-tabs@5.10 .3
- @react-navigation/compat@5.3.3
- @react-navigation/core@5.13 .3
- @react-navigation/devtools@5.1.11
- @react-navigation/drawer@5.10 .3
- @react-navigation/material-bottom-tabs@5.3.3
- @react-navigation/material-top-tabs@5.3.3
- @react-navigation/native@5.8.3
- @react-navigation/stack@5.12 .0
2020-11-03 06:31:58 +01:00
Satyajit Sahoo
37b9454f3e
chore: publish
...
- @react-navigation/bottom-tabs@5.10 .2
- @react-navigation/compat@5.3.2
- @react-navigation/core@5.13 .2
- @react-navigation/devtools@5.1.10
- @react-navigation/drawer@5.10 .2
- @react-navigation/material-bottom-tabs@5.3.2
- @react-navigation/material-top-tabs@5.3.2
- @react-navigation/native@5.8.2
- @react-navigation/stack@5.11 .1
2020-10-30 13:42:48 +01:00
Satyajit Sahoo
5eee804e7f
chore: publish
...
- @react-navigation/bottom-tabs@5.10 .1
- @react-navigation/compat@5.3.1
- @react-navigation/core@5.13 .1
- @react-navigation/devtools@5.1.9
- @react-navigation/drawer@5.10 .1
- @react-navigation/material-bottom-tabs@5.3.1
- @react-navigation/material-top-tabs@5.3.1
- @react-navigation/native@5.8.1
- @react-navigation/routers@5.5.1
- @react-navigation/stack@5.11 .0
2020-10-28 22:21:16 +01:00
Satyajit Sahoo
ac11a3bded
chore: publish
...
- @react-navigation/bottom-tabs@5.10 .0
- @react-navigation/compat@5.3.0
- @react-navigation/core@5.13 .0
- @react-navigation/devtools@5.1.8
- @react-navigation/drawer@5.10 .0
- @react-navigation/material-bottom-tabs@5.3.0
- @react-navigation/material-top-tabs@5.3.0
- @react-navigation/native@5.8.0
- @react-navigation/routers@5.5.0
- @react-navigation/stack@5.10 .0
2020-10-25 01:38:02 +02:00
Satyajit Sahoo
95600500a4
chore: upgrade depenendecies
2020-10-25 01:28:19 +02:00
Satyajit Sahoo
f51086edea
feat: update helper types to have navigator specific methods
2020-10-23 18:12:36 +02:00
Wojciech Lewicki
7196889bf1
feat: add optional screens per navigator ( #8805 )
...
Changes done here will work properly with https://github.com/software-mansion/react-native-screens/pull/624 merged and released. The documentation of `screensEnabled` and `activeLimit` props should also be added. It also enabled `Screens` in iOS stack-navigator by default.
New things:
- `detachInactiveScreens` - prop for navigators with `react-native-screens` integration that can be set by user. It controls if the `react-native-screens` are used by the navigator.
- `detachPreviousScreen` - option that tells to keep the previous screen active. It can be set by user, defaults to `true` for normal mode and `false` for the last screen for mode = “modal”.
Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com >
2020-10-23 17:59:26 +02:00
Satyajit Sahoo
7dc2f5832e
feat: improve types for navigation state ( #8980 )
...
The commit improves the navigation state object to have more specific types.
e.g. The `routeNames` array will now have proper type instead of `string[]`
2020-10-23 17:06:31 +02:00
Satyajit Sahoo
01f86d2ac6
chore: publish
...
- @react-navigation/bottom-tabs@5.9.2
- @react-navigation/compat@5.2.8
- @react-navigation/core@5.12 .5
- @react-navigation/devtools@5.1.7
- @react-navigation/drawer@5.9.3
- @react-navigation/material-bottom-tabs@5.2.19
- @react-navigation/material-top-tabs@5.2.19
- @react-navigation/native@5.7.6
- @react-navigation/stack@5.9.3
2020-10-07 11:39:56 +02:00
Satyajit Sahoo
c49dab31b2
fix: use route keys instead of index for lazy load
2020-10-07 11:36:02 +02:00
Satyajit Sahoo
16e7ac131f
chore: upgrade depenendecies
2020-10-07 11:18:38 +02:00
Satyajit Sahoo
e523138321
chore: publish
...
- @react-navigation/bottom-tabs@5.9.1
- @react-navigation/compat@5.2.7
- @react-navigation/drawer@5.9.2
- @react-navigation/material-bottom-tabs@5.2.18
- @react-navigation/material-top-tabs@5.2.18
- @react-navigation/native@5.7.5
- @react-navigation/stack@5.9.2
2020-09-28 16:58:23 +02:00
Satyajit Sahoo
e18578f83f
chore: publish
...
- @react-navigation/bottom-tabs@5.9.0
- @react-navigation/compat@5.2.6
- @react-navigation/core@5.12 .4
- @react-navigation/devtools@5.1.6
- @react-navigation/drawer@5.9.1
- @react-navigation/material-bottom-tabs@5.2.17
- @react-navigation/material-top-tabs@5.2.17
- @react-navigation/native@5.7.4
- @react-navigation/routers@5.4.12
- @react-navigation/stack@5.9.1
2020-09-23 01:44:39 +02:00
Satyajit Sahoo
2bb6603aa3
chore: upgrade depenendecies
2020-09-23 01:34:55 +02:00
Martin Heidegger
dcbfe52667
fix: cleanly removing event listeners in useWindowDimensions ( #8866 )
...
This PR fixes the `useWindowDimensions` hook by making sure that the event listener is properly removed.
2020-09-21 13:01:22 +02:00
Bartosz Kaszubowski
050447b9ac
chore: update docs website URLs to avoid the redirect ( #8819 )
2020-09-10 13:34:16 +02:00
pedrobern
1c4bd6813b
fix: add flex: 1 to DrawerItem style ( #8701 )
...
# Summary
In the [DrawerItem](https://github.com/react-navigation/react-navigation/blob/main/packages/drawer/src/views/DrawerItem.tsx ), It's not possible to provide style for the [label wrapper](https://github.com/react-navigation/react-navigation/blob/main/packages/drawer/src/views/DrawerItem.tsx#L167 ), only for the label, so the label wrapper must at least be `flex: 1` in order to be more flexible for custom components, like in the pictures below.
In the below examples, providing `flex: 1` inside the custom component view is not enough, because the wrapper does not grow. This PR will fix it.
An alternative would be creating a new prop `labelStyleWrapper`, but I don't see any motivation for doing so, as this PR would fix it.
## Before

## After

2020-09-02 16:22:31 +02:00
Brent Vatne
ee71a05570
chore: fix dependencies to be compatible with sdk-38
2020-08-24 11:12:06 +02:00
Satyajit Sahoo
b029e0f660
chore: publish
...
- @react-navigation/bottom-tabs@5.8.0
- @react-navigation/compat@5.2.5
- @react-navigation/core@5.12 .3
- @react-navigation/devtools@5.1.5
- @react-navigation/drawer@5.9.0
- @react-navigation/material-bottom-tabs@5.2.16
- @react-navigation/material-top-tabs@5.2.16
- @react-navigation/native@5.7.3
- @react-navigation/routers@5.4.11
- @react-navigation/stack@5.9.0
2020-08-04 13:28:13 +02:00
Satyajit Sahoo
cd031f0473
chore: upgrade depenendecies
2020-08-04 12:32:11 +02:00
Brent Vatne
1cb71c6c9a
chore: update example to SDK 38 and bump related dependencies ( #8654 )
2020-07-30 17:00:55 -07:00
Satyajit Sahoo
40e2dbaecf
fix: fix TouchableItem opacity on press on iOS
2020-07-29 00:41:22 +02:00
Satyajit Sahoo
0b455afa95
refactor: use libs with limited platform support explicitly
...
Instead of adding stubs for specific platforms such as Web, Mac OS and Windows, the commit changes the logic to use libraries such as gesture handler and masked view only for the platforms they explictly support. This means that we don't need to manually add all new platforms that aren't supported by these libraries in order for React Navigation to run on those platforms.
2020-07-29 00:24:51 +02:00
Kai Guo
8468c46cab
feat: add Windows and macOS support ( #8570 )
...
react-native-gesture-handler doesn't have Windows/macOS implementation yet, use the web version as stubs for now to enable navigation features for Windows and mac.
Close https://github.com/microsoft/react-native-windows/issues/3884
Close https://github.com/microsoft/react-native-windows/issues/4044
2020-07-28 23:51:41 +02:00
Satyajit Sahoo
1e813dfb5b
chore: publish
...
- @react-navigation/bottom-tabs@5.7.3
- @react-navigation/compat@5.2.4
- @react-navigation/core@5.12 .2
- @react-navigation/devtools@5.1.4
- @react-navigation/drawer@5.8.7
- @react-navigation/material-bottom-tabs@5.2.15
- @react-navigation/material-top-tabs@5.2.15
- @react-navigation/native@5.7.2
- @react-navigation/routers@5.4.10
- @react-navigation/stack@5.8.0
2020-07-28 14:08:02 +02:00
Simon Arm-Riding
ce4eb7e927
fix: add accessibilityState property ( #8548 )
...
React Native 0.62 removes the deprecated `accessibilityStates` property and replaces it with an `accessibilityState` object instead. This PR adds the new property where needed, but leaves the old one in place for backwards compatibility. Without the change, the selected tab in BottomTabNavigator isn't announced properly in VoiceOver.
2020-07-28 11:28:42 +02:00
Satyajit Sahoo
7c2b28ae1e
chore: publish
...
- @react-navigation/bottom-tabs@5.7.2
- @react-navigation/compat@5.2.1
- @react-navigation/core@5.12 .1
- @react-navigation/devtools@5.1.3
- @react-navigation/drawer@5.8.6
- @react-navigation/material-bottom-tabs@5.2.14
- @react-navigation/material-top-tabs@5.2.14
- @react-navigation/native@5.7.1
- @react-navigation/stack@5.7.1
2020-07-19 14:55:27 +02:00
Satyajit Sahoo
513482425a
chore: publish
...
- @react-navigation/bottom-tabs@5.7.0
- @react-navigation/compat@5.2.0
- @react-navigation/core@5.12 .0
- @react-navigation/devtools@5.1.2
- @react-navigation/drawer@5.8.5
- @react-navigation/material-bottom-tabs@5.2.13
- @react-navigation/material-top-tabs@5.2.13
- @react-navigation/native@5.7.0
- @react-navigation/routers@5.4.9
- @react-navigation/stack@5.7.0
2020-07-10 22:40:45 +02:00
Satyajit Sahoo
9ba2f84d18
test: add basic unit tests for all navigators
2020-06-30 16:14:52 +02:00
Satyajit Sahoo
2477db47a0
chore: publish
...
- @react-navigation/bottom-tabs@5.6.1
- @react-navigation/compat@5.1.28
- @react-navigation/core@5.11 .1
- @react-navigation/devtools@5.1.1
- @react-navigation/drawer@5.8.4
- @react-navigation/material-bottom-tabs@5.2.12
- @react-navigation/material-top-tabs@5.2.12
- @react-navigation/native@5.6.1
- @react-navigation/stack@5.6.2
2020-06-25 17:31:40 +02:00
Satyajit Sahoo
978b197446
chore: publish
...
- @react-navigation/bottom-tabs@5.6.0
- @react-navigation/compat@5.1.27
- @react-navigation/core@5.11 .0
- @react-navigation/devtools@5.1.0
- @react-navigation/drawer@5.8.3
- @react-navigation/material-bottom-tabs@5.2.11
- @react-navigation/material-top-tabs@5.2.11
- @react-navigation/native@5.6.0
- @react-navigation/routers@5.4.8
- @react-navigation/stack@5.6.0
2020-06-24 22:29:01 +02:00
Satyajit Sahoo
c65f9ef1a9
fix: make sure we don't miss dimensions updates
2020-06-24 22:09:00 +02:00
Satyajit Sahoo
f00091d7ab
refactor: use ts-expect-errpr instead of ts-ignore
2020-06-24 20:07:32 +02:00
Attila Szabo
1024a86a07
docs: updated description for drawer ( #8497 )
...
Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com >
2020-06-23 22:21:10 +02:00
Satyajit Sahoo
ea5affd914
fix: use interpolateNode in drawer to support Reanimated 2
2020-06-22 11:45:52 +02:00
Satyajit Sahoo
1aadc79fb8
refactor: enforce import type everywhere
2020-06-17 12:05:40 +02:00
Satyajit Sahoo
cc3728fc95
chore: tweak repository field in package.json. closes #8423
2020-06-16 21:46:09 +02:00
Satyajit Sahoo
bf1ee2d9ff
chore: master -> main
2020-06-16 21:42:22 +02:00
Satyajit Sahoo
5042c86a09
chore: upgrade depenendecies
2020-06-12 18:37:40 +02:00
Satyajit Sahoo
21f61d6eeb
chore: publish
...
- @react-navigation/bottom-tabs@5.5.2
- @react-navigation/compat@5.1.26
- @react-navigation/core@5.10 .0
- @react-navigation/drawer@5.8.2
- @react-navigation/material-bottom-tabs@5.2.10
- @react-navigation/material-top-tabs@5.2.10
- @react-navigation/native@5.5.1
- @react-navigation/stack@5.4.2
2020-06-06 02:15:26 +02:00
Diego Mello
762cc44578
fix: typo on drawerPosition default props ( #8357 )
...
Fix a minor typo from `drawerPostion` to `drawerPosition` :)
Fix https://github.com/react-navigation/react-navigation/issues/8358
2020-06-05 23:48:10 +02:00
Satyajit Sahoo
7ac4c13d44
chore: publish
...
- @react-navigation/bottom-tabs@5.5.1
- @react-navigation/compat@5.1.25
- @react-navigation/core@5.9.0
- @react-navigation/drawer@5.8.1
- @react-navigation/material-bottom-tabs@5.2.9
- @react-navigation/material-top-tabs@5.2.9
- @react-navigation/native@5.5.0
- @react-navigation/stack@5.4.1
2020-05-27 18:32:30 +02:00
Satyajit Sahoo
ced2a24aa6
chore: publish
...
- @react-navigation/bottom-tabs@5.5.0
- @react-navigation/compat@5.1.24
- @react-navigation/core@5.8.2
- @react-navigation/drawer@5.8.0
- @react-navigation/material-bottom-tabs@5.2.8
- @react-navigation/material-top-tabs@5.2.8
- @react-navigation/native@5.4.3
- @react-navigation/routers@5.4.7
- @react-navigation/stack@5.4.0
2020-05-23 18:36:57 +02:00
Janic Duplessis
d62fbfe255
feat: update react-native-safe-area-context to 1.0.0 ( #8182 )
...
I made sure 1.0 is backwards compatible with react-navigation, which means using rn-safe-area-context@1+ with older versions of react-navigation will still work.
2020-05-21 11:25:36 +02:00
Evan Bacon
b14094619f
chore: ignore __tests__ in prod builds ( #8307 )
...
The tests are being bundled and shipped in prod, this adds a bit of unneeded weight to npm installs. Now they won't be included.
```
@react-navigation/core
- before: 274 files - pkg: 211.0 kB - unpkg: 1 MB
- after: 238 files - pkg: 192.1 kB - unpkg: 827.3 kB
```
2020-05-21 11:15:12 +02:00
Satyajit Sahoo
175c07a28c
chore: publish
...
- @react-navigation/example@5.1.0
- @react-navigation/bottom-tabs@5.4.7
- @react-navigation/compat@5.1.23
- @react-navigation/core@5.8.1
- @react-navigation/drawer@5.7.7
- @react-navigation/material-bottom-tabs@5.2.7
- @react-navigation/material-top-tabs@5.2.7
- @react-navigation/native@5.4.2
- @react-navigation/routers@5.4.6
- @react-navigation/stack@5.3.9
2020-05-20 13:27:29 +02:00
osdnk
2980627cbf
chore: publish
...
- @react-navigation/bottom-tabs@5.4.6
- @react-navigation/compat@5.1.22
- @react-navigation/core@5.8.0
- @react-navigation/drawer@5.7.6
- @react-navigation/material-bottom-tabs@5.2.6
- @react-navigation/material-top-tabs@5.2.6
- @react-navigation/native@5.4.1
- @react-navigation/routers@5.4.5
- @react-navigation/stack@5.3.8
2020-05-20 10:29:05 +02:00
Satyajit Sahoo
0194de1061
chore: upgrade bob
2020-05-19 14:25:20 +02:00
Satyajit Sahoo
9304a8a16c
chore: publish
...
- @react-navigation/bottom-tabs@5.4.5
- @react-navigation/compat@5.1.21
- @react-navigation/core@5.7.0
- @react-navigation/drawer@5.7.5
- @react-navigation/material-bottom-tabs@5.2.5
- @react-navigation/material-top-tabs@5.2.5
- @react-navigation/native@5.4.0
- @react-navigation/stack@5.3.7
2020-05-17 01:20:24 +02:00