Horcrux
45d419be93
fix: fix incorrect type for NavigationRouter usage ( #9502 )
...
Co-authored-by: 陈阳 <chenyang@shimo.im >
2021-05-09 05:50:07 +02:00
Satyajit Sahoo
199baecff1
chore: publish
...
- react-navigation-drawer@2.7.1
- react-navigation-tabs@2.11 .1
react-navigation-drawer@2.7.1
react-navigation-tabs@2.11.1
2021-04-24 17:39:36 +02:00
Satyajit Sahoo
40a5345d69
chore: upgrade expo-cli
2021-04-14 22:47:59 +02:00
Satyajit Sahoo
5e83a0b4e2
chore: use locally installed expo-cli
2021-04-14 22:37:03 +02:00
WoLewicki
6e832cb4ac
fix: check for screens enabled in ScreenContainer
2021-04-04 01:03:31 +02:00
Satyajit Sahoo
a508ba2f5d
chore: publish
...
- react-navigation-stack@2.10 .4
react-navigation-stack@2.10.4
2021-03-01 12:18:31 +01:00
Satyajit Sahoo
10722139c8
fix: correctly call onTransitionEnd on transition end
...
closes #9376
2021-03-01 12:17:01 +01:00
Satyajit Sahoo
9f553c2ad1
chore: publish
...
- react-navigation-animated-switch@0.6.4
- react-navigation-drawer@2.7.0
- react-navigation-material-bottom-tabs@2.3.4
- @react-navigation/native@3.8.4
- react-navigation@4.4.4
- react-navigation-stack@2.10 .3
- react-navigation-tabs@2.11 .0
@react-navigation/native@3.8.4
react-navigation-animated-switch@0.6.4
react-navigation-drawer@2.7.0
react-navigation-material-bottom-tabs@2.3.4
react-navigation-stack@2.10.3
react-navigation-tabs@2.11.0
react-navigation@4.4.4
2021-02-21 16:49:38 +01:00
Satyajit Sahoo
10ad9154a2
chore: sync latest stack
2021-02-21 16:46:26 +01:00
Satyajit Sahoo
fb1e8d4a07
fix: address breaking change in react-native for Linking
2021-02-21 15:45:49 +01:00
WoLewicki
5c7f892d77
feat: add activityState to other navigators
2020-12-18 13:49:05 +01:00
Satyajit Sahoo
10c6c3280f
chore: publish
...
- react-navigation-stack@2.10 .2
react-navigation-stack@2.10.2
2020-11-22 14:15:14 +01:00
Satyajit Sahoo
e5856dae79
chore: sync latest stack
2020-11-22 14:13:52 +01:00
Satyajit Sahoo
db24639445
chore: sync latest stack
2020-11-10 21:10:31 +01:00
Satyajit Sahoo
f10543f9fc
chore: publish
...
- react-navigation-stack@2.10 .1
react-navigation-stack@2.10.1
2020-11-04 22:48:09 +01:00
Satyajit Sahoo
a3e3fa2cfd
chore: sync latest stack
2020-11-04 22:46:35 +01:00
otrepanier
ec25edd658
test: add tests to getEventManager
2020-11-04 22:34:38 +01:00
otrepanier
09d4bc24e9
test: add tests for getChildrenNavigationCache
2020-11-04 22:34:25 +01:00
Satyajit Sahoo
8d0e0f48ad
chore: publish
...
- react-navigation-stack@2.10 .0
react-navigation-stack@2.10.0
2020-10-30 11:40:12 +01:00
Satyajit Sahoo
8411e6f764
feat: enable react-native-screens in Stack by default on iOS
2020-10-30 01:59:25 +01:00
Satyajit Sahoo
dff6c3ee7c
chore: publish
...
- react-navigation-tabs@2.10 .1
react-navigation-tabs@2.10.1
2020-10-28 15:04:08 +01:00
Satyajit Sahoo
ffe3bddcb2
fix: add bottom insets to custom height for bottom tabs
2020-10-28 15:02:54 +01:00
Satyajit Sahoo
9b55493e76
chore: publish
...
- react-navigation-animated-switch@0.6.3
- @react-navigation/core@3.7.9
- react-navigation-drawer@2.6.0
- react-navigation-material-bottom-tabs@2.3.3
- @react-navigation/native@3.8.3
- react-navigation@4.4.3
- react-navigation-stack@2.9.0
- react-navigation-tabs@2.10 .0
@react-navigation/core@3.7.9
@react-navigation/native@3.8.3
react-navigation-animated-switch@0.6.3
react-navigation-drawer@2.6.0
react-navigation-material-bottom-tabs@2.3.3
react-navigation-stack@2.9.0
react-navigation-tabs@2.10.0
react-navigation@4.4.3
2020-10-26 18:19:28 +01:00
Satyajit Sahoo
ebe70f51fb
fix: use react-native-iphone-x-helper in bottom-tabs navigator
2020-10-26 18:16:23 +01:00
Satyajit Sahoo
256e5aec2a
chore: upgrade depenendecies
2020-10-26 18:16:22 +01:00
Wojciech Lewicki
707bea3cba
feat: add detachInactiveScreens prop for bottom tabs and drawer ( #8816 )
2020-10-26 18:10:35 +01:00
Satyajit Sahoo
6bdc1e9e5f
feat: sync latest stack
2020-10-26 16:28:59 +01:00
oltrep
b3db099a00
test: add navigation focus events tests ( #8983 )
...
This PR adds a few unit tests on the NavigationFocusEvents. It asserts that events are emitted in the expected order in different cases.
2020-10-25 02:00:19 +02:00
Satyajit Sahoo
1f5000e86b
chore: publish
...
- react-navigation-animated-switch@0.6.2
- @react-navigation/core@3.7.8
- react-navigation-drawer@2.5.2
- react-navigation-material-bottom-tabs@2.3.2
- @react-navigation/native@3.8.2
- react-navigation@4.4.2
- react-navigation-stack@2.8.4
- react-navigation-tabs@2.9.2
@react-navigation/core@3.7.8
@react-navigation/native@3.8.2
react-navigation-animated-switch@0.6.2
react-navigation-drawer@2.5.2
react-navigation-material-bottom-tabs@2.3.2
react-navigation-stack@2.8.4
react-navigation-tabs@2.9.2
react-navigation@4.4.2
2020-10-02 09:16:08 +02:00
oltrep
6390aacd07
fix: NavigationEvents subscribe events on new nav state ( #8920 )
...
If the navigation prop changes, the NavigationEvents component was not
subscribing to the new value. These changes fix this problem and add a
test to verify that behavior.
2020-10-01 16:00:49 +02:00
oltrep
20e2625f35
test: fix usage of routerTestHelper back action ( #8844 )
...
Found this case were the key gets set to `{ key: null }` instead of just being `null`. Should I just call `back()` at this point? Because I don't think there is a difference between a `null` vs `undefined` key
2020-09-25 05:44:02 +02:00
Satyajit Sahoo
162e225fa4
chore: publish
...
- react-navigation-animated-switch@0.6.1
- @react-navigation/core@3.7.7
- react-navigation-drawer@2.5.1
- react-navigation-material-bottom-tabs@2.3.1
- @react-navigation/native@3.8.1
- react-navigation@4.4.1
- react-navigation-stack@2.8.3
- react-navigation-tabs@2.9.1
@react-navigation/core@3.7.7
@react-navigation/native@3.8.1
react-navigation-animated-switch@0.6.1
react-navigation-drawer@2.5.1
react-navigation-material-bottom-tabs@2.3.1
react-navigation-stack@2.8.3
react-navigation-tabs@2.9.1
react-navigation@4.4.1
2020-09-24 13:18:11 +02:00
Satyajit Sahoo
ce9991ffff
chore: sync latest stack
2020-09-24 13:13:12 +02:00
Satyajit Sahoo
3bb21e256f
chore: upgrade depenendecies
2020-09-24 01:06:00 +02:00
oltrep
f1a06e2f92
refactor: improve error message of StateUtils.jumpTo ( #8831 )
2020-09-22 11:59:20 +02:00
oltrep
c0763fca16
refactor: remove undefined assignment in switch router ( #8770 )
...
`undefined` should be left to the javascript compiler.
Originally, I opened this PR because I thought there was an inconsistency between the stack and switch routers, in the way they handle params. Turns out it's all fine, but I found this case where `undefined` is assigned to a variable and I thought I could submit a small refactor for it.
2020-09-21 15:20:36 +02:00
oltrep
62da341b67
test: move assertions into their own tests ( #8703 )
...
This change makes the tests in NavigationStateUtils more specific by splitting tests with multiple assertions.
I also grouped the tests into describe blocks by the function they test. Let me know if that's something you want or not, I can revert it if needed.
This is my first contribution, but I plan to make more of these which would mostly consists on improving tests.
2020-09-10 13:34:55 +02:00
otrepanier
09a10faa44
test: fix and enable skipped test
2020-09-10 13:33:15 +02:00
otrepanier
b9ecbd222d
refactor: rename reduce accumulator variable
2020-09-10 13:32:34 +02:00
otrepanier
a57e47786c
test: add KeyGenerator tests
2020-09-02 16:01:41 +02:00
otrepanier
424923019a
test: document set params action for routers
...
These tests document the behavior of using set params action for the
different routers. Even if the action is named `SET_PARAMS`, it merges
the params with the previous one: this behavior matches the `setState`
method used in React's components.
2020-09-02 15:55:31 +02:00
Adrian Carolli
06a69f1bfd
fix: don't use deprecated currentlyFocusedField ( #8684 )
...
currentlyFocusedField => currentlyFocusedInput
Fixes #8457 for 4.x because `createKeyboardAwareNavigator.js` is not inside the `main` branch.
Fixed in main here: 35d6b9e3a4
2020-09-02 15:54:45 +02:00
otrepanier
1fa2edd9f2
test: add test case for StateUtils.pop
...
From the current implementation of `NavigationStateUtils.pop`, a new
test case was added to document the behavior when popping when the index
is at the first route and there are multiple routes.
2020-09-02 15:42:59 +02:00
Satyajit Sahoo
fcd7d83c4c
chore: sync latest stack
2020-07-11 00:05:15 +02:00
Satyajit Sahoo
4f7983134b
chore: publish
...
- react-navigation-stack@2.8.2
react-navigation-stack@2.8.2
2020-06-25 11:52:12 +02:00
Satyajit Sahoo
46b797dd29
fix: sync latest stack
2020-06-25 11:50:39 +02:00
Satyajit Sahoo
1a6f4a581f
chore: publish
...
- react-navigation-stack@2.8.1
react-navigation-stack@2.8.1
2020-06-25 03:02:46 +02:00
Satyajit Sahoo
2e7f4a6d10
fix: pop with correct key from nested stack
2020-06-25 03:01:47 +02:00
Satyajit Sahoo
6515fbe2dc
chore: publish
...
- react-navigation-animated-switch@0.6.0
- react-navigation-drawer@2.5.0
- react-navigation-material-bottom-tabs@2.3.0
- @react-navigation/native@3.8.0
- react-navigation@4.4.0
- react-navigation-stack@2.8.0
- react-navigation-tabs@2.9.0
react-navigation-tabs@2.9.0
@react-navigation/native@3.8.0
react-navigation-animated-switch@0.6.0
react-navigation-drawer@2.5.0
react-navigation-material-bottom-tabs@2.3.0
react-navigation-stack@2.8.0
react-navigation@4.4.0
2020-06-25 02:17:38 +02:00
Satyajit Sahoo
454e05b02e
feat: sync latest stack and upgrade typescript
2020-06-25 02:15:28 +02:00