Commit Graph

140 Commits

Author SHA1 Message Date
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Marco Buono
28bedbce72 react-native: Add display style
It's available as of v0.43, see the following commit:

4d69f4b2d1
2017-08-18 20:07:41 -03:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Kyle Roach
7842fff1b2 [rn] Adds imageStyle prop to ImageBackground 2017-08-16 16:56:12 -04:00
Eloy Durán
cae4925e76 Merge pull request #18924 from mcousillas6/fix/flatListItemSeparator
[react-native] Added missing type cases for ItemSeparatorComponent on FlatList
2017-08-15 18:25:00 +02:00
mcousillas6
468ccddeac Changed typing to React.ComponentType 2017-08-15 08:59:40 -03:00
Eloy Durán
142a2fc41c Merge pull request #18922 from iRoachie/rn-share
[react-native] Make share options optional
2017-08-14 12:30:32 +02:00
mcousillas6
6f13f3dcba Added missing type cases for ItemSeparatorComponent on react-native FlatList 2017-08-13 19:56:02 -03:00
Kyle
a2ea48b650 [react-native] Make share options optional 2017-08-13 17:50:15 -04:00
Adrian Hall
229ef45a96 Addressed reviewer comments
* Set the version # Back
* Removed myself as a maintainer.
2017-08-11 17:11:16 -07:00
Adrian Hall
6dd5be7f3e Increment version # 2017-08-11 13:34:04 -07:00
Adrian Hall
a0e14262fd Fixed lint issues 2017-08-11 13:01:18 -07:00
Adrian Hall
25df9777a1 Added event listener modifications to Dimensions per latest spec. 2017-08-11 12:55:06 -07:00
Tommy Nguyen
534d133d8d fixup! Added definition for VirtualizedListProps.
Fixed inconsistent definitions.
2017-08-07 18:21:45 +02:00
Tommy Nguyen
f1f3e5e89d Added definition for VirtualizedListProps. 2017-08-07 16:56:41 +02:00
Sahin Vardar
03c324b1d0 Add typings for react-native-sensor-manager
* Added NativeModulesStatic interface which is used as a type for NativeModule var in react-native type definition.
  * Now you can argument NativeModule through augmenting NativeModuleStatic.
 * Added NativeModuleStatic augmentation for react-native-sensor-manager which adds the SensorManager to the NativeModules.
 * Augmented DeviceEventEmitterStatic which adds type informations to 'addListener' function which works in conjunction with SensorManager.
2017-08-05 22:59:01 +02:00
Diogo do Carmo
c04b681612 Add useForeground to TouchableNativeFeedback (#18617) 2017-08-04 16:47:23 -07:00
huhuanming
6e8ad8b332 bump to 0.47 (#18561) 2017-08-02 12:59:19 -07:00
Al Prater
78ea950c0c [react-native] Add DataDetectorType to WebViewPropertiesIOS (#18543) 2017-08-01 12:09:31 -07:00
Kamal Fariz Mahyuddin
ee0954d539 [react-native] Add SectionList ListEmptyComponent (#18512)
Added in 0.45.x
2017-08-01 11:09:20 -07:00
Eloy Durán
9622ee3e33 Merge pull request #18402 from timwangdev/patch-1
[react-native] Fix FlatList/SectionList renderItem method types
2017-07-28 10:40:32 +02:00
Tim Wang
f1ebed48aa Add optional property for SectionList 2017-07-28 10:29:17 +08:00
Tim Wang
cde9060ae1 Add correct type for SectionList 2017-07-27 21:33:10 +08:00
Tim Wang
03b37e3f1b Make key optional for SectionListData 2017-07-27 21:11:59 +08:00
Tim Wang
4a0e8af3d9 Fix SectionList test 2017-07-27 21:00:03 +08:00
Tim Wang
d6168ee581 Fix typo 2017-07-27 17:36:53 +08:00
Tim Wang
c657519830 Remove unused import 2017-07-27 17:30:53 +08:00
Tim Wang
4f0e33fcda Fix SectionListProperties 2017-07-27 17:26:23 +08:00
Tim Wang
9fb7af4a03 Add test for FlatListProperties & SectionListProperties 2017-07-27 17:25:52 +08:00
Andy Hanson
6b17f17f54 [react-native] Clarify use of brand type 2017-07-26 09:02:30 -07:00
Tim Wang
46ef92eda7 Fix test 2017-07-26 15:47:15 +08:00
Tim Wang
9e1fbb528b Fix typo 2017-07-26 15:24:02 +08:00
Tim Wang
e250e162ef Fix renderItem() types in FlatListProperties
ref: http://facebook.github.io/react-native/docs/flatlist.html
2017-07-26 15:21:56 +08:00
Eloy Durán
765d26a240 Merge pull request #18274 from paranoidjk/master
fix(ReactNative): ScrollView.props.style definition error
2017-07-24 13:25:20 +02:00
paranoidjk
6310159eb6 fix(ReactNative): ScrollView.props.style definition error 2017-07-24 14:45:18 +08:00
HAMPLENI
01764b65da Adding useNativeDriver to EventConfig (#18302)
The AnimatedEvent class's constructor takes in a config parameter of type EventConfig.  This config object is passed to shouldUseNativeDriver, which only returns something other than false if useNativeDriver is ever set.

A case when useNativeDriver is set to true is when Animated.Event is used for an Animated.ScrollView's onScroll prop.

https://facebook.github.io/react-native/blog/2017/02/14/using-native-driver-for-animated.html
2017-07-21 19:00:35 -07:00
Anthony Higa
316c573bf4 Adding divide routine to Animated 2017-07-19 13:48:18 -07:00
Eloy Durán
a4a9db0264 Merge pull request #18181 from stackia/react-native/pan-responder
[react-native] Add onShouldBlockNativeResponder() for PanResponderCallback
2017-07-19 11:36:48 +02:00
stackia
b961f48fa6 react-native: add onShouldBlockNativeResponder() for PanResponderCallbacks 2017-07-19 01:50:42 +08:00
stackia
d030e33b5e react-native: Stylesheet.create() return registered style 2017-07-19 01:37:50 +08:00
Fedor Nezhivoi
8088446401 @types/react-native: fix style related bugs 2017-07-16 22:43:46 +03:00
Eloy Durán
c113d3ad62 Merge pull request #18055 from RoryCombe/master
[react-native] Change type to accept ComponentType
2017-07-14 14:41:16 +02:00
Rory Combe
1913cb8749 Change type to accept ComponentType
Change type to accept React.ComponentType to accomodate for stateless as well as standard components
2017-07-14 16:13:48 +08:00
Orta
0591c67e92 Merge pull request #17990 from dannycochran/patch-6
update react-native so styles can be arrays
2017-07-13 15:20:05 -04:00
Danny Cochran
9fd8521de1 remove semi-colons 2017-07-13 10:54:39 -07:00
Andrzej Zabost
57a4dacea6 Add missing onDismiss callback in AlertOptions 2017-07-13 16:03:00 +02:00
Danny Cochran
9d0bd651c0 remove comment from local branch 2017-07-12 13:53:56 -07:00
Danny Cochran
98fcea0318 use generic StyleProp 2017-07-12 13:52:55 -07:00
Danny Cochran
813af14536 update react-native so styles can be arrays
1) apply the ViewStyleProp to all components
2) abstract a TextStyle prop and use it wherever appropriate
2017-07-12 12:29:24 -07:00
Eloy Durán
b190b8fc78 Merge pull request #17911 from iRoachie/ImageBackground
[rn] Adds ImageBackground Component
2017-07-11 13:18:21 +02:00