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
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
b2a99c2a88
chore: publish
...
- @react-navigation/bottom-tabs@5.7.1
2020-07-14 14:05:18 +02:00
Satyajit Sahoo
2f74541811
fix: don't render badge on bottom tabs if not visible. closes #8577
2020-07-14 14:03:16 +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
849e04ab6a
fix: fix bottom tab bar to match iOS defaults
2020-07-10 21:54:29 +02:00
Satyajit Sahoo
96c7b688ce
feat: add support for badges to bottom tab bar
2020-07-10 21:54:29 +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
Satyajit Sahoo
16128199ed
fix: remove broken showIcon option from bottom-tabs
2020-06-22 12:05:05 +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
Guilherme Pacheco
4480d2fe04
feat: add iconStyle prop to bottom tab bar options ( #8188 )
...
Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com >
2020-06-15 19:11:03 +02:00
Satyajit Sahoo
07c30b2847
refactor: tweak types for bottom tab bar
2020-06-15 18:01:37 +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
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
Raviraj
a0b9f94120
refactor: remove unnecessary check for type of bottom tab bar label
2020-05-27 18:12:21 +02:00
Satyajit Sahoo
9d822b95a6
fix: fix type of style for various options
2020-05-26 17:33:50 +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
Satyajit Sahoo
ebf1345b39
refactor: simplify bottom tab bar
2020-05-23 18:34:12 +02:00
Ashoat Tevosyan
c1e46f8e33
feat: animate changes to tabBarVisible in BottomTabBar ( #8286 )
...
## Motivation
Some designs call for custom keyboard inputs, or other bottom-aligned views meant overlap over the keyboard. Right now the best option on Android for this case is to set `tabBarVisible`. However changes to `tabBarVisible` doesn't get animated currently, which makes the custom-keyboard-open experience a bit more jarring than the native-keyboard-open one.
## Approach
I basically cribbed the `Animated.Value` we were using for `keyboardHidesTabBar` and made it depend on both. Note that the offset height depends on which of the two uses cases we're dealing with, which is explained in the code.
## Test plan
I played around with the `BottomTabs` example, setting certain screens to `tabBarVisible: true` and making sure it animated.
2020-05-23 18:16:30 +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
Satyajit Sahoo
1dddaff45c
chore: publish
...
- @react-navigation/bottom-tabs@5.4.4
- @react-navigation/compat@5.1.20
- @react-navigation/core@5.6.1
- @react-navigation/drawer@5.7.4
- @react-navigation/material-bottom-tabs@5.2.4
- @react-navigation/material-top-tabs@5.2.4
- @react-navigation/native@5.3.2
- @react-navigation/stack@5.3.5
2020-05-14 13:22:54 +02:00
Satyajit Sahoo
2ff0531695
chore: publish
...
- @react-navigation/bottom-tabs@5.4.3
- @react-navigation/compat@5.1.19
- @react-navigation/core@5.6.0
- @react-navigation/drawer@5.7.3
- @react-navigation/material-bottom-tabs@5.2.3
- @react-navigation/material-top-tabs@5.2.3
- @react-navigation/native@5.3.1
- @react-navigation/stack@5.3.4
2020-05-14 12:45:50 +02:00
Satyajit Sahoo
740c6b6706
chore: publish
...
- @react-navigation/bottom-tabs@5.4.2
- @react-navigation/compat@5.1.18
- @react-navigation/drawer@5.7.2
- @react-navigation/material-bottom-tabs@5.2.2
- @react-navigation/material-top-tabs@5.2.2
- @react-navigation/native@5.3.0
- @react-navigation/stack@5.3.2
2020-05-10 08:34:40 +02:00
Satyajit Sahoo
b85a1c3055
chore: publish
...
- @react-navigation/bottom-tabs@5.4.1
- @react-navigation/compat@5.1.17
- @react-navigation/core@5.5.2
- @react-navigation/drawer@5.7.1
- @react-navigation/material-bottom-tabs@5.2.1
- @react-navigation/material-top-tabs@5.2.1
- @react-navigation/native@5.2.6
- @react-navigation/routers@5.4.4
- @react-navigation/stack@5.3.1
2020-05-08 19:16:47 +02:00
Satyajit Sahoo
18f8188dc8
chore: add source key to package.json
2020-05-08 19:14:29 +02:00
Satyajit Sahoo
47a1229837
fix: fix building typescript definitions. closes #8216
2020-05-08 19:09:13 +02:00
Satyajit Sahoo
00b11e303e
chore: publish
...
- @react-navigation/bottom-tabs@5.4.0
- @react-navigation/compat@5.1.16
- @react-navigation/core@5.5.1
- @react-navigation/drawer@5.7.0
- @react-navigation/material-bottom-tabs@5.2.0
- @react-navigation/material-top-tabs@5.2.0
- @react-navigation/native@5.2.5
- @react-navigation/routers@5.4.3
- @react-navigation/stack@5.3.0
2020-05-08 16:34:03 +02:00
Satyajit Sahoo
d1a6f3e30e
chore: upgrade depenendecies
2020-05-08 16:06:28 +02:00
Satyajit Sahoo
eb24fea8b9
chore: upgrade depenendecies
2020-05-07 21:08:55 +02:00
Satyajit Sahoo
bea14aa26f
feat: add generic type aliases for screen props
...
closes #7971
2020-05-06 19:00:04 +02:00
Satyajit Sahoo
3381d680d7
chore: publish
...
- @react-navigation/bottom-tabs@5.3.4
- @react-navigation/compat@5.1.15
- @react-navigation/core@5.5.0
- @react-navigation/drawer@5.6.4
- @react-navigation/material-bottom-tabs@5.1.15
- @react-navigation/material-top-tabs@5.1.15
- @react-navigation/native@5.2.4
- @react-navigation/stack@5.2.19
2020-05-05 20:07:13 +02:00
Satyajit Sahoo
6bec620a3f
chore: publish
...
- @react-navigation/bottom-tabs@5.3.3
- @react-navigation/compat@5.1.14
- @react-navigation/drawer@5.6.3
- @react-navigation/material-bottom-tabs@5.1.14
- @react-navigation/material-top-tabs@5.1.14
- @react-navigation/native@5.2.3
- @react-navigation/stack@5.2.18
2020-05-01 17:31:59 +02:00
Satyajit Sahoo
719e1a7b46
chore: publish
...
- @react-navigation/bottom-tabs@5.3.2
- @react-navigation/compat@5.1.13
- @react-navigation/drawer@5.6.2
- @react-navigation/material-bottom-tabs@5.1.13
- @react-navigation/material-top-tabs@5.1.13
- @react-navigation/native@5.2.2
- @react-navigation/stack@5.2.17
2020-05-01 16:51:12 +02:00
Satyajit Sahoo
b66e3436a7
chore: publish
...
- @react-navigation/bottom-tabs@5.3.1
- @react-navigation/compat@5.1.12
- @react-navigation/drawer@5.6.1
- @react-navigation/material-bottom-tabs@5.1.12
- @react-navigation/material-top-tabs@5.1.12
- @react-navigation/native@5.2.1
- @react-navigation/stack@5.2.16
2020-05-01 00:28:55 +02:00
Satyajit Sahoo
1ee3038a4d
chore: publish
...
- @react-navigation/bottom-tabs@5.3.0
- @react-navigation/compat@5.1.11
- @react-navigation/core@5.4.0
- @react-navigation/drawer@5.6.0
- @react-navigation/material-bottom-tabs@5.1.11
- @react-navigation/material-top-tabs@5.1.11
- @react-navigation/native@5.2.0
- @react-navigation/routers@5.4.2
- @react-navigation/stack@5.2.15
2020-04-30 23:01:46 +02:00
Satyajit Sahoo
942d2be2c7
feat: add action prop to Link
2020-04-27 17:45:20 +02:00