Commit Graph

1216 Commits

Author SHA1 Message Date
satyajit.happy
c75e02af99 fix: fix typings for switch navigator. fixes #6310 2019-09-19 16:46:28 +02:00
satyajit.happy
51cf75f970 refactor: don't use export * to reexport deprecations 2019-09-19 16:30:32 +02:00
Nicholas Lee
20411adf8c fix: fix the type of NavigationJumpToActionPayload (#6210)
As mentioned in https://reactnavigation.org/docs/en/switch-actions.html
the param which's name is 'key' of `SwitchActions.jumpTo()`  should be optional
2019-09-16 20:07:43 +09:00
Jeremy
838bcc08ca docs: add the readme back into example (#6284) 2019-09-16 23:01:55 +12:00
satyajit.happy
68d89545f3 chore: release 4.0.5 2019-09-14 15:58:08 +02:00
satyajit.happy
42fba673ae fix: update react-navigation/core 2019-09-14 15:56:09 +02:00
satyajit.happy
61a2eb49ff chore: use proper types for stack in example 2019-09-12 16:31:48 +02:00
satyajit.happy
aa1f8f449f chore: release 4.0.4 2019-09-12 16:15:20 +02:00
satyajit.happy
1ca7abe7c1 fix: improve type definitions 2019-09-12 16:14:48 +02:00
satyajit.happy
e2f53a24fd chore: release 4.0.3 2019-09-11 16:48:36 +02:00
satyajit.happy
b2367880cd fix: fix type definitions 2019-09-11 16:48:05 +02:00
satyajit.happy
ab086432f0 chore: release 4.0.2 2019-09-09 23:02:06 +02:00
satyajit.happy
bb9f26ecdf fix: fix typo in definitions 2019-09-09 23:01:45 +02:00
satyajit.happy
eebfeadf3e chore: release 4.0.1 2019-09-09 16:27:01 +02:00
satyajit.happy
d3bb3833b4 chore: fix missing import in example 2019-09-09 16:23:57 +02:00
satyajit.happy
d8f1d16599 fix: update typescript definitions. closes #6276 2019-09-09 16:20:49 +02:00
Taylor Kline
5bdf25360b docs: add Changelog information to README (#6264)
Now that there is no longer a `CHANGELOG.md` file, this should address concerns of users who come to the Github repository looking for release notes.
2019-09-07 09:06:39 -05:00
Brent Vatne
4edc49f25a fix: status bars in example 2019-09-03 16:24:26 -07:00
jamsch
f0881e3768 fix(deprecations) typo in package name (#6245) 2019-09-03 06:11:42 +12:00
satyajit.happy
8373652f7d docs: fix license in README 2019-09-01 23:59:58 +02:00
satyajit.happy
64e740d2ae docs: remove changelog file 2019-09-01 23:13:51 +02:00
satyajit.happy
dc7b9c2200 chore: release 4.0.0 2019-08-31 12:34:00 +02:00
satyajit.happy
2e56a30c2b chore: update yarn.lock 2019-08-31 12:33:27 +02:00
satyajit.happy
2d1e2322f5 chore: prepare for 4.x 2019-08-30 14:54:54 +02:00
Brent Vatne
8e2a62ac18 Release 3.12.1 2019-08-26 09:54:02 -07:00
Brent Vatne
3a6f9345f2 Release 3.12.0 2019-08-26 09:52:28 -07:00
Levi Buzolic
f2994b7eba Export NavigationContext and ScrollView in flow types (#6152)
These two types are missing entirely from the flow definition, while they're incomplete they at least prevent flow from complaining that they're not defined at all.

I decided against copying the `ScrollView` types from `react-native` as they're really quite complex and likely to fall out-of-sync with the implementation in `react-native`. So instead I'd recommend overriding the types when  consuming using something like:

```js

import {ScrollView as NativeScrollView} from 'react-native';
import {ScrollView as NavigationScrollView} from 'react-navigation';

const ScrollView: React.ComponentType<typeof NativeScrollView>) = NavigationScrollView;
```
2019-08-09 14:25:21 +10:00
Maxime Aubaret
050eb1b600 Fix NavigationParams on NavigationState (#6164) 2019-08-09 06:24:11 +02:00
Brent Vatne
02cf24ea57 Update navigation playground app 2019-07-31 16:57:47 -07:00
Lucas Vieira
7f127afab0 Add NavigationSwitchAction to NavigationAction typescript (#6124) 2019-07-26 00:49:13 -03:00
Brent Vatne
42f38606fb Fix example postinstall 2019-07-25 16:39:39 -07:00
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