Radosław Szalski
455c506cae
Fixed a typo in TransitionConfig Flow comment ( #6084 )
2019-07-13 18:52:05 +02:00
Brent Vatne
58ade3448e
Reelase 3.11.1
2019-07-12 11:51:09 -07:00
Brent Vatne
0dce31bee6
Add unmountInactiveRoutes to TS
2019-07-12 11:49:58 -07:00
Diego
fe909278f5
fix: add missing TS definition for keyboardHidesTabBar in TabViewConfig.tabBarOptions ( #6054 )
2019-07-12 11:48:35 -07:00
Preeternal
ea29031e95
flow cover for getActiveChildNavigationOptions ( #6018 )
...
* declare export function getActiveChildNavigationOptions
* some changes
* some changes
* any
* make some changes
* NavigationScreenProp
* options
2019-07-10 22:05:21 +03:00
Soner Köksal
14446d2964
fix: add missing in HeaderBackButtonProps in flow and TS definitions ( #6048 )
2019-07-01 16:10:36 +03:00
Vladyslav Shchepotin
6f6d4f072a
fix: add missing isFirstRouteInParent type in typescript and flow ( #6019 )
2019-06-20 00:05:02 +03:00
Stefan Streur
d61f539175
fix: add headerTitleContainerStyle to NavigationStackScreenOptions type ( #5969 )
2019-06-04 10:13:29 +02:00
Chau Tran
6ef8ce0fd5
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 03:12:41 -05:00
Scotty Waggoner
5e522358c5
fix: update StackActions.popToTop type to make options arg optional ( #5950 )
2019-06-04 01:11:39 -07:00
Daniel Holmes
a06a893e67
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 20:27:20 +10:00
Bruno Castro
12719b07f7
chore: add expo to NavigationPlayground ( #5898 )
2019-05-19 07:53:42 -03:00
satyajit.happy
41f595569f
chore: update lockfile
2019-05-19 12:50:47 +02:00
satyajit.happy
b57df0e288
chore: release 3.11.0
2019-05-18 15:46:47 +02:00
satyajit.happy
28f80a4f0c
feat: export SwitchActions. closes #5916
2019-05-18 15:41:31 +02:00
satyajit.happy
6606efc1c6
chore: bump version
2019-05-17 19:55:12 +02:00
satyajit.happy
10f05f4d04
chore: release 3.10.1
2019-05-17 19:54:00 +02:00
satyajit.happy
ec4dbbd268
fix: upgrade react-navigation-tabs. closes #5914
2019-05-17 19:52:07 +02:00
William Schurman
f2a350dbac
Add cardShadowEnabled and cardOverlayEnabled to NavigationStackViewConfig flow type ( #5918 )
...
* Add cardShadowEnabled and cardOverlayEnabled to NavigationStackViewConfig flow type
* Update changelog
2019-05-17 09:52:24 -06:00
Brent Vatne
34da9451aa
Release 3.10.0
2019-05-16 11:14:11 -07:00
Luong Dang Hai
72f71ddc62
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-16 06:24:51 +03:00
Timmy Willison
bf6cac9af2
Add safeAreaInset type to BottomTabBarProps ( #5906 )
...
* Add safeAreaInset type to BottomTabBarProps
* Update CHANGELOG.md
2019-05-15 23:24:12 -04:00
satyajit.happy
1e5bd95ee4
chore: release 3.9.2
2019-05-15 11:24:45 +02:00
satyajit.happy
5d135219d0
chore: upgrade react-navigation-tabs
2019-05-15 11:23:25 +02:00
Seth
c967627e5f
Add resetOnBlur type ( #5868 )
...
* Add resetOnBlur type
* Move resetOnBlur to correct interface
* Revert mistaken change to interface name
2019-05-08 13:57:52 -05:00
Luong Dang Hai
2b1e12340a
correct getLabel to getLabelText ( #5865 )
...
* correct getLabel to getLabelText
* Update CHANGELOG.md
2019-05-03 04:53:08 +03:00
Tianyu Xie
75e9d5b0d7
Update react-navigation.d.ts ( #5860 )
...
* Update react-navigation.d.ts
* Update CHANGELOG.md
2019-04-30 16:38:25 -04:00
Isaac Clements
02d75d5c21
TabBarTop is MaterialTopTabBar now (#5856 )
2019-04-30 00:54:51 +01:00
satyajit.happy
0fb24e14c6
chore: release 3.9.1
2019-04-25 10:58:46 +02:00
satyajit.happy
b651982a7d
chore: update react-navigation-core
2019-04-25 10:58:04 +02:00
Brent Vatne
51cf60881a
Release 3.9.0
2019-04-23 11:51:27 -07:00
mlodato517
424acc42a9
Removes duplicate NavigationInjectedProps export ( #5828 )
2019-04-18 21:13:18 -04:00
Ashoat Tevosyan
8cc6bcbf22
[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 21:12:31 -04:00
Edmundo Santos
02e0dad97c
Add missing types for DrawerNavigatorConfig ( #5820 )
2019-04-17 19:28:25 +01:00
Luong Dang Hai
f1c5926ad2
chore: remove createTabNavigator out of ts definition ( #5809 )
...
* chore: remove createTabNavigator out of ts definition
* update change log file
2019-04-13 22:57:01 +03:00
Brent Vatne
4ddfcdb33a
Release 3.8.1
2019-04-12 15:39:19 -07:00
Brent Vatne
7f8d09b3b4
Release 3.8.0
2019-04-12 15:36:24 -07:00
Ashoat Tevosyan
fdbf5bfa15
[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 12:31:44 -04:00
jeffreyffs
175f56f174
[Typescript] Add type for 'enableURLHandling' ( #5803 )
...
* updated types for 'enableURLHandling'
* Updated Changelog
2019-04-10 17:11:32 -07:00
Brent Vatne
338f95acf9
Release 3.7.1 - Rename 3.7.0 to 3.7.1 basically because I needed to rebase
2019-04-10 11:19:50 -07:00
Brent Vatne
79527bd847
Release 3.7.0
2019-04-10 11:17:11 -07:00
guptaamol
027471637e
Improved TypeScript definition for bottom tab navigationOptions. ( #5796 )
2019-04-10 23:05:16 +05:30
Brent Vatne
63001fc8ba
Update dependencies and lockfile
2019-04-10 10:25:44 -07:00
Ashoat Tevosyan
d7677fb9fe
[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 12:35:52 -04:00
Ashoat Tevosyan
b9ed39ffed
[flow] Support custom navigators using Transitioner ( #5801 )
2019-04-10 12:35:30 -04:00
zzzgit
1f5c33bf99
grammar error ( #5768 )
2019-04-05 17:45:48 +07:00
Brent Vatne
7ad4f2155e
Release 3.6.1
2019-04-02 14:17:27 +02:00
Brent Vatne
620e8674af
Release 3.6.0
2019-03-31 15:40:19 +02:00
Brent Vatne
81669cbd55
Add types for back button disabled and NoAnimation transition config
2019-03-31 15:31:40 +02:00
Faustino Kialungila
5de8e825af
Adding missing getButtonComponent props to flow ( #5648 )
2019-03-28 01:01:48 +01:00