Satyajit Sahoo
7b353a4aea
chore: publish
...
- @react-navigation/bottom-tabs@5.11 .8
- @react-navigation/compat@5.3.14
- @react-navigation/core@5.15 .2
- @react-navigation/devtools@5.1.21
- @react-navigation/drawer@5.12 .4
- @react-navigation/material-bottom-tabs@5.3.14
- @react-navigation/material-top-tabs@5.3.14
- @react-navigation/native@5.9.3
- @react-navigation/routers@5.7.2
- @react-navigation/stack@5.14 .3
2021-02-21 16:09:01 +01:00
Satyajit Sahoo
cae115fc17
chore: publish
...
- @react-navigation/bottom-tabs@5.11 .7
- @react-navigation/drawer@5.12 .3
2021-01-25 14:09:32 +01:00
Satyajit Sahoo
87b51476d0
fix: fix drawer screen content not being interactable on Android
2021-01-25 14:07:28 +01:00
Satyajit Sahoo
b1b211855f
chore: publish
...
- @react-navigation/bottom-tabs@5.11 .6
- @react-navigation/drawer@5.12 .2
2021-01-22 23:18:38 +01:00
Satyajit Sahoo
60fe0dbb0a
fix: fix pointerEvents in ResourceSavingScene
...
fixes #9241 , fixes #9242
2021-01-22 23:17:34 +01:00
Satyajit Sahoo
bb294b16f9
chore: publish
...
- @react-navigation/bottom-tabs@5.11 .5
- @react-navigation/compat@5.3.13
- @react-navigation/drawer@5.12 .1
- @react-navigation/material-bottom-tabs@5.3.13
- @react-navigation/material-top-tabs@5.3.13
- @react-navigation/native@5.9.2
- @react-navigation/stack@5.14 .1
2021-01-22 13:45:06 +01:00
Satyajit Sahoo
35747a6066
chore: publish
...
- @react-navigation/bottom-tabs@5.11 .4
- @react-navigation/compat@5.3.12
- @react-navigation/core@5.15 .1
- @react-navigation/devtools@5.1.20
- @react-navigation/drawer@5.12 .0
- @react-navigation/material-bottom-tabs@5.3.12
- @react-navigation/material-top-tabs@5.3.12
- @react-navigation/native@5.9.1
- @react-navigation/routers@5.7.1
- @react-navigation/stack@5.14 .0
2021-01-21 20:55:27 +01:00
Satyajit Sahoo
d88cbcb52d
fix: fix drawer and bottom tabs not being visible on web. closes #9225
2021-01-21 20:05:28 +01:00
Satyajit Sahoo
dc7e876b6f
chore: publish
...
- @react-navigation/bottom-tabs@5.11 .3
- @react-navigation/compat@5.3.11
- @react-navigation/core@5.15 .0
- @react-navigation/devtools@5.1.19
- @react-navigation/drawer@5.11 .5
- @react-navigation/material-bottom-tabs@5.3.11
- @react-navigation/material-top-tabs@5.3.11
- @react-navigation/native@5.9.0
- @react-navigation/routers@5.7.0
- @react-navigation/stack@5.13 .0
2021-01-14 14:40:13 +01:00
Satyajit Sahoo
dd87fa49a4
fix: enable detachInactiveScreens by default on web for better a11y
2021-01-14 14:16:15 +01:00
Satyajit Sahoo
77fa6fb683
chore: migrate to react-native-builder-bob
2020-12-17 15:23:54 +01:00
Satyajit Sahoo
7754eb450f
chore: publish
...
- @react-navigation/bottom-tabs@5.11 .2
- @react-navigation/compat@5.3.10
- @react-navigation/core@5.14 .4
- @react-navigation/devtools@5.1.18
- @react-navigation/drawer@5.11 .4
- @react-navigation/material-bottom-tabs@5.3.10
- @react-navigation/material-top-tabs@5.3.10
- @react-navigation/native@5.8.10
- @react-navigation/stack@5.12 .7
2020-11-20 18:07:07 +01:00
Satyajit Sahoo
a2337648bf
chore: publish
...
- @react-navigation/bottom-tabs@5.11 .1
- @react-navigation/compat@5.3.9
- @react-navigation/core@5.14 .3
- @react-navigation/devtools@5.1.17
- @react-navigation/drawer@5.11 .2
- @react-navigation/material-bottom-tabs@5.3.9
- @react-navigation/material-top-tabs@5.3.9
- @react-navigation/native@5.8.9
- @react-navigation/stack@5.12 .6
2020-11-10 20:41:26 +01:00
Satyajit Sahoo
151055cf5a
chore: publish
...
- @react-navigation/bottom-tabs@5.11 .0
- @react-navigation/compat@5.3.8
- @react-navigation/core@5.14 .2
- @react-navigation/devtools@5.1.16
- @react-navigation/drawer@5.11 .0
- @react-navigation/material-bottom-tabs@5.3.8
- @react-navigation/material-top-tabs@5.3.8
- @react-navigation/native@5.8.8
- @react-navigation/routers@5.6.2
- @react-navigation/stack@5.12 .5
2020-11-09 20:17:39 +01:00
Satyajit Sahoo
6ac4d40140
feat: add a tabBarBadgeStyle option to customize the badge
2020-11-09 19:28:49 +01:00
Satyajit Sahoo
e08c91ff0a
feat: add a hook to get bottom tab bar height
...
Usage:
```js
import { useBottomTabBarHeight } from '@react-navigation/stack';
// ...
const headerHeight = useBottomTabBarHeight();
```
closes #8037 , closes #8536
2020-11-08 20:08:50 +01:00
Satyajit Sahoo
50a161dc3d
chore: publish
...
- @react-navigation/bottom-tabs@5.10 .7
- @react-navigation/compat@5.3.7
- @react-navigation/core@5.14 .1
- @react-navigation/devtools@5.1.15
- @react-navigation/drawer@5.10 .7
- @react-navigation/material-bottom-tabs@5.3.7
- @react-navigation/material-top-tabs@5.3.7
- @react-navigation/native@5.8.7
- @react-navigation/routers@5.6.1
- @react-navigation/stack@5.12 .4
2020-11-08 09:06:37 +01:00
Satyajit Sahoo
1dad338b7a
chore: publish
...
- @react-navigation/bottom-tabs@5.10 .6
- @react-navigation/compat@5.3.6
- @react-navigation/core@5.14 .0
- @react-navigation/devtools@5.1.14
- @react-navigation/drawer@5.10 .6
- @react-navigation/material-bottom-tabs@5.3.6
- @react-navigation/material-top-tabs@5.3.6
- @react-navigation/native@5.8.6
- @react-navigation/routers@5.6.0
- @react-navigation/stack@5.12 .3
2020-11-04 22:37:22 +01:00
Satyajit Sahoo
ce7d20e336
fix: disable react-native-screens on iOS for older versions
2020-11-04 22:36:43 +01:00
Satyajit Sahoo
a495506e20
chore: publish
...
- @react-navigation/bottom-tabs@5.10 .5
- @react-navigation/compat@5.3.5
- @react-navigation/core@5.13 .5
- @react-navigation/devtools@5.1.13
- @react-navigation/drawer@5.10 .5
- @react-navigation/material-bottom-tabs@5.3.5
- @react-navigation/material-top-tabs@5.3.5
- @react-navigation/native@5.8.5
- @react-navigation/stack@5.12 .2
2020-11-04 13:24:15 +01:00
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
Drew Miller
f01bb4834b
feat: add sceneContainerStyle prop to bottom-tabs navigator ( #8947 )
...
This feature adds the sceneContainerStyle prop to the bottom-tabs navigator, to allow setting styles on the container's view. It's already implemented in the material-top-tabs and drawer navigators, I've simply ported it into the bottom-tabs navigator.
It also fixes this issue:
https://github.com/react-navigation/react-navigation/issues/8076
Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com >
2020-10-23 02:16:09 +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
Bill Thornton
a6179b75ad
feat: add compact size for bottom tabs ( #8728 )
...
This adds a compact height mode for iOS devices that are in a compact vertical class (phones in landscape). This is similar to the size change that happens to the header when in landscape mode. Finding a size reference was challenging since most apps lock phones to portrait, but [this answer](https://stackoverflow.com/a/25550871 ) on Stack Overflow states that it should be 32 pts.
I asked yesterday in the Discord chat if there would be interest in this and some other enhancements here, but no on replied, so I thought I would go ahead and open this to at least start a discussion.
2020-09-23 01:41:38 +02:00
Satyajit Sahoo
9b03c8e3a4
fix: fix border showing on hidden tab bar. closes #8869
2020-09-23 01:36:35 +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
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
Marcel Lasaj
a35ac813b6
feat: expose BottomTabBarButtonProps type ( #8649 )
...
Exposed `BottomTabBarButtonProps` type is needed when providing a custom component to `tabBarButton` property.
2020-07-29 14:33:13 +02:00
Satyajit Sahoo
0b627304aa
feat: allow full configuration of tab bar hide animation
2020-07-29 00:56:42 +02:00
Satyajit Sahoo
d979dfd634
fix: only offset bottom tab on iOS. fixes #8642
2020-07-29 00:41:22 +02:00
Spencer Carli
b0cafb3c49
feat: user can specify how long tab hide animation should take ( #8587 )
2020-07-29 00:41:08 +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
Madd.is
baea77e332
fix: pass label position flag to label rendering in BottomTabBar ( #8557 )
...
In the process of upgrading from v4, I noticed a regression.
In the past, the function form of `tabBarLabel` did get an `orientation: 'landscape' | 'portrait'`, this is no longer the case.
However, when using a custom Text rendering, we need to apply a margin to the text in horizontal mode.
Since the orientation/horizontal state is decided based on internal heuristics, It is a huge pain with a high bug potential when reimplementing that detection myself.
2020-07-28 11:27:30 +02:00