Commit Graph

130 Commits

Author SHA1 Message Date
Tanguy Krotoff
4abbfb42ff [react-native] Switch to *real* components + rename Properties to Props (#25307)
* Switch from var to const

* import React instead of /// <reference types="react" />

* Fix TextInput and remove TextInputStatic

See #16318 [react-native] Wrong type for component ref

* Remove TextStatic

* Remove ActivityIndicatorStatic

* Remove ActivityIndicatorIOSStatic

* Remove DatePickerIOSStatic

* Remove DrawerLayoutAndroidStatic

* Remove ImageStatic

* Remove ImageBackgroundStatic

* Remove InputAccessoryViewStatic

* Remove ListViewStatic

* Remove MapViewStatic

* Remove MaskedViewStatic

* Remove ModalStatic

* Remove NavigatorIOSStatic

* Remove PickerStatic

* Remove PickerIOSStatic

* Remove ProgressBarAndroidStatic

* Remove ProgressViewIOSStatic

* Remove RefreshControlStatic

* Remove RecyclerViewBackedScrollViewStatic

* Remove SafeAreaViewStatic

* Remove SegmentedControlIOSStatic

* Remove SliderStatic

* Remove StatusBarStatic

* Remove ScrollViewStatic

* Remove SnapshotViewIOSStatic

* Remove SwipeableListViewStatic

* Remove SwitchStatic

* Remove SwitchIOSStatic

* Remove TabBarIOSStatic

* Remove ToolbarAndroidStatic

* Remove TouchableHighlightStatic

* Remove TouchableNativeFeedbackStatic

* Remove TouchableOpacityStatic

* Remove TouchableWithoutFeedbackStatic

* Remove ViewStatic

* Remove ViewPagerAndroidStatic

* Remove WebViewStatic

* Remove ButtonStatic

* Remove ClippingRectangleStatic, GroupStatic, ShapeStatic, SurfaceStatic, ARTTextStatic, ARTTextStatic

* Remove KeyboardAvoidingViewStatic

* Remove FlatListStatic

* Rename TextProperties and friends to *Props

* Rename TextInputProperties and friends to *Props

* Rename WebViewProperties and friends to *Props

* Rename *Properties to *Props

* Rename ScrollViewProperties and friends to *Props

* Improve DatePickerAndroid.open()

* Rename ImagePropertiesSourceOptions to ImageSourcePropType

* Rename MaskedViewProps to MaskedViewIOSProps

* Rename PointProperties to PointPropType

* Rename TabBarItem to TabBarIOSItem

* Remove internal *Properties

* ImagePropertiesSourceOptions => ImagePropsSourceOptions

* Merge fail: react-native-linear-gradient has been removed

* Rename ImageProperties to ImageProps

* Update authors list

* Remove ImagePropsSourceOptions

* Move *Properties redirections to legacy-properties.d.ts
2018-04-26 10:30:30 -07:00
Vincent Langlet
e81f217c01 Add NavigationContainerComponent (#25270) 2018-04-25 11:55:08 -07:00
Edward Sammut Alessi
3b33d22565 React-navigation onTransition event pass props (#25121)
* React-navigation onTransition prop passing

* Only transition start takes a promise
2018-04-19 11:09:13 -07:00
doomsower
a9e8ad80f9 [react-navigation] Loosen navigator navigationOptions (#24943)
* Loosen navigator navigationOptions

* Fix linter
2018-04-17 09:57:43 -07:00
jemmyphan
1f18ca2c55 [react-navigation] update transitionConfig (transitionConfig accept 3 params) 2018-04-05 10:18:43 +07:00
Paul van Brenk
24899c6a70
Merge pull request #24662 from brunolemos/patch-9
[react-navigation] Add SafeAreaView export
2018-04-03 11:26:20 -07:00
Paul van Brenk
75963dd77b
Merge pull request #24661 from brunolemos/patch-5
[react-navigation] Add indicatorStyle to TabBarTopProps
2018-04-03 11:22:08 -07:00
Bruno Lemos
90685eb26a
[react-navigation] Add indicatorStyle to TabBarTopProps
https://reactnavigation.org/docs/tab-navigator.html#tabbaroptions-for-tabbartop-default-tab-bar-on-android
2018-04-01 08:40:33 -03:00
Bruno Lemos
6ab9f281fd
[react-navigation] Add SafeAreaView export 2018-03-31 23:48:35 -03:00
Jordan Miller
d5ece63fb1 [react-navigation] Add optional key property to NavigationNavigateActionPayload 2018-03-30 16:34:17 -04:00
doomsower
5575ff4dc1 Fix whitespaces 2018-03-30 11:34:29 +03:00
doomsower
7c35bcd422 Stronger params for screen 2018-03-30 11:18:04 +03:00
doomsower
a98b0c457b Merge upstream 2018-03-29 12:22:47 +03:00
Tim Wang
40f7502a23 Fix linter issues 2018-03-26 10:50:07 +08:00
Tim Wang
ebf695c819 Remove any union type 2018-03-26 10:41:58 +08:00
doomsower
97b9d47d3a fix linter 2018-03-23 17:46:30 +03:00
doomsower
f2b858e68f Some changes to react-navigation 2018-03-23 16:49:30 +03:00
Tim Wang
8731027ec5 Fix CI 2018-03-23 13:29:00 +08:00
Tim Wang
d6c651c1b3 Add back params generic and remove remain action generic. Add support for stateless screen. 2018-03-23 13:16:51 +08:00
ArmandoAssuncao
7d4ae0d764 Merge branch 'master' into react-navigation-navigate-params 2018-03-15 18:26:19 -03:00
Arthur Ozga
3d551c9a22
Merge pull request #24189 from arnibarnason/react-navigation-navigate-fix
[react-navigation]: Overloaded navigate function with new parameters
2018-03-15 12:38:36 -07:00
Arthur Ozga
fcd5dee4f8
Merge pull request #24177 from arnibarnason/master
[react-navigation]: Adding pop and popToTop to NavigationActions
2018-03-15 12:37:05 -07:00
Arthur Ozga
6c2335f31b
Merge pull request #24214 from abrahambotros/react-navigation/remove-contributor
[react-navigation] Remove self (abrahambotros) from contributor list
2018-03-15 12:30:45 -07:00
Arthur Ozga
9a07085198
Merge pull request #24232 from aitemr/master
fix(react-navigation): add iconStyle
2018-03-15 12:26:27 -07:00
cliedeman
b58703728a Added types for switch navigator 2018-03-14 15:42:43 +02:00
Islam Temirbek
705de9c4e5
fix(react-navigation): add iconStyle 2018-03-12 16:34:30 +06:00
abrahambotros
edea86b3f4 Remove self (abrahambotros) from contributor list 2018-03-10 15:46:05 -08:00
Árni Benedikt Árnason
09d92860f8 Overloaded navigate method to handle new navigation options parameters 2018-03-09 17:56:01 +01:00
Árni Benedikt Árnason
994f2993af Revert "Overloaded navigate method to handle new navigation options parameters"
This reverts commit 94a484cff4.
2018-03-09 17:26:15 +01:00
Árni Benedikt Árnason
94a484cff4 Overloaded navigate method to handle new navigation options parameters 2018-03-09 17:20:33 +01:00
Árni Benedikt Árnason
e5ef9ecef2 Fixed lint errors 2018-03-09 12:01:51 +01:00
Árni Benedikt Árnason
439ab93ba5 Added pop and popToTop NavigationActions for react-navigation 2018-03-09 11:46:25 +01:00
ArmandoAssuncao
fa04697ee1 [react-navigation]: added types in navigate params 2018-03-02 23:21:22 -03:00
Steven
ce73af4e00 fixed error in react-navigation preventing declaring navigationOptions as a function (#23879) 2018-02-26 13:35:23 -08:00
Roberto Huertas
c37774d139 fixes issue #23759 (#23824) 2018-02-26 12:32:41 -08:00
Tim Wang
4739cf80e4
Make getStateForAction lastState optional 2018-02-26 16:53:56 +08:00
Tim Wang
820f42b0ff
Fix addNavigationHelpers type 2018-02-26 15:49:42 +08:00
Tim Wang
07f5f260a9
Fix format and outdated comment 2018-02-26 14:34:40 +08:00
Tim Wang
9ef92bafb5
Replace React.ComponentType to React.ReactType 2018-02-26 14:29:37 +08:00
Tim Wang
f1e2710d76
Fix CI 2018-02-26 14:18:31 +08:00
Tim Wang
0c7e56e597
Merge branch 'master' into react-navigation-1.0 2018-02-26 14:10:31 +08:00
Tim Wang
32071c40b8 Refactor react-navigation types based on 1.2.0 flow type 2018-02-26 13:54:38 +08:00
Veit Lehmann
ed8e6ff42d react-navigation: update for v1.1 2018-02-23 10:40:31 +01:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
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
Daniel Rosenwasser
eb71617568
Merge pull request #23399 from mellet/fix-tabbar-onpress
[react-navigation] Fix tabBarOnPress to destructure arguments
2018-02-10 10:35:38 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08: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