Commit Graph

68 Commits

Author SHA1 Message Date
Forbes Lindesay
8f8f6c4392 [react] Use HTMLDialogElement for the dialog node (#23053)
* [react] Use HTMLDialogElement for the dialog node

* Actually add the `open` property

* This update requires typescript 2.6

* Update dependents of react to also require typescript 2.6
2018-02-12 12:55:52 +00:00
Mellet Solbakk
d041430dc5 Fix tabBarOnPress to destructure arguments 2018-02-04 00:11:39 +01:00
Thea Lanherne
9c90ba4143 Add missing drawerBackgroundColor prop to react-navigation DrawerNavigatorConfig (#23255) 2018-01-29 11:45:09 -08:00
Qibang
8abd412a02 feat: add tabBarOnPress (#23068) 2018-01-23 10:36:05 -08:00
Nicolas Beck
a72670d7f8 react-navigation | support functional components everywhere where ComponentClasses are s… (#22970)
* support functional components everywhere where ComponentClasses are supported

* use React.ComponentType
2018-01-18 12:46:02 -08:00
Thomas Sawkins
4dda217e46 add missing NavigationAction consts (#22903) 2018-01-17 09:59:31 -08:00
Alec Winograd
6fe41fe2e7 [react-navigation] refine type for createNavigationContainer (#22922) 2018-01-17 09:52:58 -08:00
Sergei Butko
016956f89c
Reverted TypeScript version back to 2.3 2017-12-11 20:05:26 +02:00
Sergei Butko
874349b382
Added missing allowFontScaling option into tabBarOptions 2017-12-09 11:02:58 +02:00
Armando Aguirre
d42f9cc029
Merge pull request #21800 from awinograd/aw-react-navigation-initial-layout
Add initialLayout to TabNavigator in react-navigation
2017-11-28 16:45:00 -08:00
Alec Winograd
605da7672c Add initialLayout property to TabNavigator in react-navigation 2017-11-28 11:50:22 +01:00
Nicolas Beck
1cfcf9cf86
fixed type of drawerLabel prop
according to the docs and my own test 'string' is also allowed as drawerLabel
2017-11-25 09:15:44 +01:00
Connor McEwen
401387a253 Add gestureResponseDistance to navigation options 2017-11-20 18:19:00 -05:00
Qibang
1547f30dd1 chore: exports Header component (#20706) 2017-10-23 14:52:23 -07:00
Andy
72bc73d061 react-*: Fix lint (#20825) 2017-10-23 07:31:51 -07:00
Jan Karres
8b75e6e5ed Bugfix set not required DrawerViewConfig options to optional (#20349) 2017-10-06 10:24:05 -07:00
Andy
a572fbd60d react-navigation: Use StyleProp on all "style" properties (#19611) 2017-09-07 09:12:45 -07:00
Andy
9f86de041a react-navigation: Fix compile errors (#19610) 2017-09-07 08:38:56 -07:00
Tim Wang
fa00e46e93 Use TextStyle for navigation text related style properties 2017-08-15 23:37:34 +08:00
Kyle Roach
2742c2dbc8 [react-navigation] Adds createNavigator, createNavigationContainer (#18217) 2017-08-14 12:10:49 -07:00
Charles Bunton
93b267aec8 Undeclared DrawItems and Unacceptable Value for contentComponents Attribute (#18359)
* The  method isn't declared type and the contentComponent attribute in  doesn't accept methods that return a react element

* changed drawItems declaration
2017-08-09 11:49:26 -07:00
HAMPLENI
a16df7e3ff [react-navigation] Allowing tabBarLabel function to return string (#18354) 2017-08-01 16:21:04 -07:00
tsai phan
8f0b5485dc Merge github.com:DefinitelyTyped/DefinitelyTyped 2017-07-06 12:35:40 +08:00
Kyle Roach
93acafe448 [react-navigation] Added StackRouter 2017-07-01 07:52:35 -04:00
Kyle Roach
aef3396e69 [react-navigation] Added TabRouter 2017-06-30 00:40:56 -04:00
tsai phan
ac8c3392a0 route params, headerBackTitle fixups or so. 2017-06-29 13:24:40 +08:00
Peter Jihoon Kim
aa5ba74640 [react-navigation] Fixed type definitions for NavigationActions.* 2017-06-27 12:59:10 -07:00
abrahambotros
ce410568cb Merge branch 'master' into react-navigation/update-from-flow 2017-06-24 08:54:29 -07:00
Nathan Shively-Sanders
cd841d7958 Merge pull request #17320 from AleksandarDev/react-navigation-container-style
[@types/react-navigation] Added style prop to NavigationContainerProps
2017-06-22 16:09:25 -07:00
Tanguy Krotoff
b81d97133a Merge branch 'master' into react-default-type-arguments 2017-06-20 22:39:06 +02:00
Aleksandar Toplek
0f0504a28c Update index.d.ts 2017-06-20 12:49:35 +02:00
Tanguy Krotoff
eeb262e1d8 Update react to TypeScript 2.3 2017-06-19 13:34:54 +02:00
abrahambotros
258b650f0e Merge branch 'master' into react-navigation/update-from-flow
[react-navigation]
* Move Transitioner types, move tests into class, minor fixes
2017-06-18 15:48:47 -07:00
abrahambotros
c5ab866dbc [react-navigation] Minor fixes 2017-06-18 15:21:51 -07:00
Andrew Linfoot
2d9acea80a Allow null values to be passed to navigation.goBack() 2017-06-15 18:30:20 -07:00
Mine Starks
175758eef1 Merge pull request #17096 from fangpenlin/react-navigation/transitioner
Export Transitioner for react-navigation
2017-06-15 16:50:15 -07:00
abrahambotros
dbdfb4a24f [react-navigation] Move NavigationActions namespace, add todo for possibly removal 2017-06-15 09:41:00 -07:00
abrahambotros
f06d27ff0a Merge branch 'master' into react-navigation/update-from-flow 2017-06-15 09:35:03 -07:00
abrahambotros
9f822c4b07 [react-navigation] Update reference commit link to tree link 2017-06-15 09:00:56 -07:00
abrahambotros
28fc9fb21b [react-navigation] NavigationParams fixes 2017-06-15 08:56:11 -07:00
abrahambotros
4ba39d4016 [react-navigation] Fix linter errors 2017-06-15 08:40:23 -07:00
abrahambotros
e34616fd3c [react-navigation] Improve test, add screen component props type checks 2017-06-14 23:00:52 -07:00
abrahambotros
e5843ac8f5 [react-navigation] Misc fixes and improvements 2017-06-14 22:53:46 -07:00
abrahambotros
9be2563bfc [react-navigation] Typed generic for NavigationRoute
* Also add NavigationParamsGeneric and screenProps additional placeholder
  types
* Add custom/convenience wrapper section, including NavigationScreenProps
2017-06-14 21:44:43 -07:00
abrahambotros
4312a93b45 [react-navigation] Fix flow Object -> TS any 2017-06-14 21:17:12 -07:00
abrahambotros
19d0ec2398 [react-navigation] Additional fixes and cleanup for defs outside TypeDefinition.js 2017-06-14 21:05:46 -07:00
Andrew Linfoot
b9ff8d230e Add support for NavigationActions.init() action creator
See https://github.com/react-community/react-navigation/blob/master/src/NavigationActions.js#L70
2017-06-14 20:48:16 -07:00
abrahambotros
e9da83fdeb [react-navigation] Update with latest flow typings 2017-06-14 20:23:53 -07:00
Andrew Linfoot
854aebe0fe Add support for key on reset action 2017-06-14 20:09:14 -07:00
Fang-Pen Lin
b15fc38fcb
Update author list 2017-06-09 13:52:12 -07:00