Brent Vatne
ae59cf2d97
Reelase 3.11.1
3.11.1
2019-07-12 11:51:21 -07:00
Brent Vatne
928efd5fb1
Add unmountInactiveRoutes to TS
2019-07-12 11:49:58 -07:00
Diego
cb47a55fc5
fix: add missing TS definition for keyboardHidesTabBar in TabViewConfig.tabBarOptions ( #6054 )
2019-07-12 11:48:35 -07:00
Preeternal
5dbfc3543f
flow cover for getActiveChildNavigationOptions ( #6018 )
...
* declare export function getActiveChildNavigationOptions
* some changes
* some changes
* any
* make some changes
* NavigationScreenProp
* options
2019-07-10 15:05:21 -04:00
Soner Köksal
8361745f3e
fix: add missing in HeaderBackButtonProps in flow and TS definitions ( #6048 )
2019-07-01 15:10:36 +02:00
Vladyslav Shchepotin
b05cdcb076
fix: add missing isFirstRouteInParent type in typescript and flow ( #6019 )
2019-06-19 23:05:02 +02:00
Stefan Streur
14e2df66d5
fix: add headerTitleContainerStyle to NavigationStackScreenOptions type ( #5969 )
2019-06-04 10:13:29 +02:00
Chau Tran
a862ebd451
fix: fix navigationOptions type in NavigationScreenConfig<Options> ( #5962 )
...
- `NavigationScreenProp<NavigationRoute>` is the type of `navigation` property which contains `state` and such. This is not applicable to `navigationOptions` at all.
2019-06-04 10:12:41 +02:00
Scotty Waggoner
35625ded74
fix: update StackActions.popToTop type to make options arg optional ( #5950 )
2019-06-04 10:11:39 +02:00
Daniel Holmes
65632779c2
fix: add reset to navigation screen prop TypeScript def ( #5942 )
...
As described in documentation here:
https://reactnavigation.org/docs/en/navigation-prop.html#reset
2019-05-28 12:27:20 +02:00
Bruno Castro
26ca0639bc
chore: add expo to NavigationPlayground ( #5898 )
2019-05-19 12:53:42 +02:00
satyajit.happy
255a87a463
chore: update lockfile
2019-05-19 12:50:47 +02:00
satyajit.happy
76590e31d9
chore: release 3.11.0
v3.11.0
2019-05-18 15:46:47 +02:00
satyajit.happy
a3092ab17d
feat: export SwitchActions. closes #5916
2019-05-18 15:46:37 +02:00
satyajit.happy
338d5c2364
chore: bump version
v3.10.2
2019-05-17 19:55:12 +02:00
satyajit.happy
40e7ff1655
chore: release 3.10.1
v3.10.1
2019-05-17 19:54:00 +02:00
satyajit.happy
d1419cd2ed
fix: upgrade react-navigation-tabs. closes #5914
2019-05-17 19:53:49 +02:00
William Schurman
cd342935a1
Add cardShadowEnabled and cardOverlayEnabled to NavigationStackViewConfig flow type ( #5918 )
...
* Add cardShadowEnabled and cardOverlayEnabled to NavigationStackViewConfig flow type
* Update changelog
2019-05-17 11:52:24 -04:00
Brent Vatne
97d21c39be
Release 3.10.0
3.10.0
2019-05-16 11:14:11 -07:00
Luong Dang Hai
2f38d420aa
remove old exports and add export for SceneView and SwitchRouter ( #5872 )
...
* remove old exports and add export for SceneView and SwitchRouter
* Update CHANGELOG.md
* add type arg to NavigationScreenProp
2019-05-15 20:24:51 -07:00
Timmy Willison
6d9bc8d869
Add safeAreaInset type to BottomTabBarProps ( #5906 )
...
* Add safeAreaInset type to BottomTabBarProps
* Update CHANGELOG.md
2019-05-15 20:24:12 -07:00
satyajit.happy
8e57aae5cf
chore: release 3.9.2
v3.9.2
2019-05-15 11:24:45 +02:00
satyajit.happy
b464e15718
chore: upgrade react-navigation-tabs
2019-05-15 11:23:25 +02:00
Seth
a874d5774c
Add resetOnBlur type ( #5868 )
...
* Add resetOnBlur type
* Move resetOnBlur to correct interface
* Revert mistaken change to interface name
2019-05-08 11:57:52 -07:00
Luong Dang Hai
96cb00b5a6
correct getLabel to getLabelText ( #5865 )
...
* correct getLabel to getLabelText
* Update CHANGELOG.md
2019-05-02 18:53:08 -07:00
Tianyu Xie
9a8a34636d
Update react-navigation.d.ts ( #5860 )
...
* Update react-navigation.d.ts
* Update CHANGELOG.md
2019-04-30 13:38:25 -07:00
Isaac Clements
950d5ef6d2
TabBarTop is MaterialTopTabBar now (#5856 )
2019-04-29 16:54:51 -07:00
satyajit.happy
542122794a
chore: release 3.9.1
v3.9.1
2019-04-25 10:58:46 +02:00
satyajit.happy
4c81fbefc3
chore: update react-navigation-core
2019-04-25 10:58:30 +02:00
Brent Vatne
bd2daa809f
Release 3.9.0
3.9.0
2019-04-23 11:55:40 -07:00
mlodato517
5e07cd2601
Removes duplicate NavigationInjectedProps export ( #5828 )
2019-04-18 18:13:18 -07:00
Ashoat Tevosyan
cd22810be6
[flow] Fix NavigationScreenProp.getParam type ( #5830 )
...
In my last PR I flipped the order of these around to fix an error, but turns out that was just crippling the type. The correct solution here, to guarantee that the `$PropertyType` won't error if its type parameter don't have the property, is to use an unsealed object type.
Some additional context in discussion on #5806 .
2019-04-18 18:12:31 -07:00
Edmundo Santos
3f8a4d491c
Add missing types for DrawerNavigatorConfig ( #5820 )
2019-04-17 11:28:25 -07:00
Luong Dang Hai
837fc0bc25
chore: remove createTabNavigator out of ts definition ( #5809 )
...
* chore: remove createTabNavigator out of ts definition
* update change log file
2019-04-13 12:57:01 -07:00
Brent Vatne
57d2bbeb96
Release 3.8.1
3.8.1
2019-04-12 15:39:19 -07:00
Brent Vatne
e3c38aefe8
Release 3.8.0
2019-04-12 15:37:54 -07:00
Ashoat Tevosyan
fb7da05beb
[flow] Update for Flow 0.92 ( #5806 )
...
Changes:
1. We can now type React components with static members as `React.ComponentType` (instead of requiring the `StatelessFunctionalComponent`) hack.
2. We can now type-parameterize React components on all of their props, instead of just the ones we care about. Not sure why this wasn't previously. Note: this is a breaking change, in the sense that people's parameterization of `NavigationScreenComponent`, `NavigationNavigator`, and `NavigationContainer` may need to change.
3. The order of object-type-spread in the `getParam` definition has been switched. It was giving errors with the old order.
4. Avoid recursive type inference `NavigationScreenProp`. This was yielding an "*** Recursion limit exceeded ***" error, which was rather difficult to debug. We can just use a `NavigationState` and let the user cast.
5. Fix `onTransitionStart`/`onTransitionEnd` types in `NavigationStackViewConfig`.
6. Add `navigationConfig` property to `NavigationView`.
2019-04-12 09:31:44 -07:00
jeffreyffs
5d097b92f4
[Typescript] Add type for 'enableURLHandling' ( #5803 )
...
* updated types for 'enableURLHandling'
* Updated Changelog
2019-04-10 17:11:32 -07:00
Brent Vatne
60618d5d1d
Release 3.7.1
...
- Rename 3.7.0 to 3.7.1 basically because I needed to rebase
3.7.1
2019-04-10 11:19:50 -07:00
Brent Vatne
28e1753434
Release 3.7.0
2019-04-10 11:18:13 -07:00
guptaamol
48b1bd965b
Improved TypeScript definition for bottom tab navigationOptions. ( #5796 )
2019-04-10 10:35:16 -07:00
Brent Vatne
6e80d7c75a
Update dependencies and lockfile
2019-04-10 10:25:44 -07:00
Ashoat Tevosyan
1c75f17a86
[flow] Fix TabBar types ( #5800 )
...
1. `TabBarTop` is `MaterialTopTabBar` now
2. `MaterialTopTabBar` does not have a `getButtonComponent` prop (accidentally added in #5648 )
3. `BottomTabBar`'s `getButtonComponent` prop is a `React.Component`, not a `React.Node`
2019-04-10 09:35:52 -07:00
Ashoat Tevosyan
e542c84e29
[flow] Support custom navigators using Transitioner ( #5801 )
2019-04-10 09:35:30 -07:00
zzzgit
a7265155bd
grammar error ( #5768 )
2019-04-05 12:45:48 +02:00
Brent Vatne
69e40950b1
Release 3.6.1
3.6.1
2019-04-02 14:17:27 +02:00
Brent Vatne
3deec699ee
Release 3.6.0
3.6.0
2019-03-31 15:40:19 +02:00
Brent Vatne
2c875e39ae
Add types for back button disabled and NoAnimation transition config
2019-03-31 15:31:40 +02:00
Faustino Kialungila
8788dd77b4
Adding missing getButtonComponent props to flow ( #5648 )
2019-03-27 17:01:48 -07:00
Jose G
71cb16dc7f
chore(typescript): export InitialLayout type ( #5738 )
2019-03-26 16:14:32 -07:00