Commit Graph
226 Commits
Author SHA1 Message Date
Berke Ediz Demiralp 2f9d9fad25 This commit is replacing ScrollViewProperties with VirtualizedListProperties to conform the specification in the documentation.
SectionList documentation for React Native v0.51 (https://facebook.github.io/react-native/docs/0.51/sectionlist.html) states that SectionList inherits VirtualizedList's props. In contrary to documentation SectionListProperties have been extending ScrollViewProperties.
2017-12-20 15:00:22 -05:00
Eloy DuránandGitHub 57c75d8b4d Merge pull request #22226 from KevinVlaanderen/react-native-accessibilitylabel-testid
[react-native] Add accessibilityLabel and testID on TextProperties and ButtonProperties
2017-12-19 12:36:28 +01:00
Kevin Vlaanderen 13cd162764 Extract accessibility properties into their own interfaces; Add missing accessibility properties where applicable 2017-12-19 09:38:21 +01:00
Kevin Vlaanderen c5acac0ec4 Add accessibilityLabel and testID on ButtonProperties and ViewProperties 2017-12-15 15:50:50 +01:00
DamirandGitHub 3015b40ec8 Fix react-native FlatList scrollToItem method signature 2017-12-14 12:36:30 +01:00
foxmichaandGitHub 52e3641860 Cleanup react-native Typings white space 2017-12-11 15:57:28 -05:00
foxmichaandGitHub 73ae35f48f Update react-native PushNotificationIOS Typings
React-Native typings are currently missing two crucial definitions when implementing iOS notifications: finish function and FetchResult strings. If a finish function is not called, the background remote notifications could be throttled.

Sources:
https://facebook.github.io/react-native/docs/pushnotificationios.html#finish
https://github.com/facebook/react-native/blob/master/Libraries/PushNotificationIOS/PushNotificationIOS.js#L133
https://github.com/facebook/react-native/blob/master/Libraries/PushNotificationIOS/PushNotificationIOS.js#L454
2017-12-11 15:48:12 -05:00
Bruno LemosandGitHub 3b46d867fe [react-native] Support default option on Platform.select
It was introduced on react native v0.43 https://github.com/facebook/react-native/commit/f30ab35e9278f120247f49d6a355e263cc357946
2017-12-10 19:16:42 -02:00
huhuanming f6502535c4 add fetchbundle 2017-12-07 11:33:03 +08:00
Urtaq d35d7d3acd [@types/react-native] add ''contentInsetAdjustmentBehavior" to the ScrollViewPropertiesIOS. 2017-12-05 10:32:39 +09:00
Eloy Durán 368972eb26 [react-native] Reformat all files using prettier.
prettier --parser typescript --tab-width 4 --semi --trailing-comma es5 \
             --write --print-width 120 \
             types/react-native{,/test}/*.ts*
2017-11-15 14:52:03 +01:00
Eloy DuránandGitHub 84197d2a64 Merge pull request #21495 from Fitzpasd/react_native_accessibility_info
react-native: Add AccessibilityInfo API
2017-11-14 23:42:12 +01:00
Shane Fitzpatrick fd5911ba42 Replace 'Function' with '() => void' 2017-11-14 14:02:15 -08:00
Eloy DuránandGitHub 8fe3a6bcec Merge pull request #21499 from Thorbenandresen/fix/sectionListItemSeparator
Change typing of ItemSeparatorComponent to React.ComponentType for SectionListProperties
2017-11-14 17:50:04 +01:00
THORBEN ANDRESEN c149a3f9aa remove redundant union type for ItemSeparatorComponent 2017-11-14 11:33:09 -05:00
Eloy DuránandGitHub 8ca6a6e423 Merge pull request #21221 from Yiiu/patch-1
[react-native]fix raw event arg ignored error in 'index.d.ts'.
2017-11-14 08:48:09 +01:00
YuandGitHub 7d214ff133 change to argMapping 2017-11-13 22:35:09 -06:00
Shane Fitzpatrick 6dcc3a21e6 PR feedback 2017-11-13 15:48:49 -08:00
Shane Fitzpatrick e0eda64a9c Remove trailing whitespace 2017-11-13 15:45:50 -08:00
THORBEN ANDRESEN 887171518e Change typing to React.ComponentType for SectionListProperties 2017-11-13 18:28:56 -05:00
Shane Fitzpatrick f901af9947 react-native: Add AccessibilityInfo API 2017-11-13 14:40:50 -08:00
Shane Fitzpatrick 92db6df0e8 react-native: Adding missing GeoLocation function: setRNConfiguration 2017-11-13 14:12:32 -08:00
Andrew Goodale 90532bc5a5 Return type of onStartShouldSetPanRespnder should be boolean 2017-11-06 15:57:47 -05:00
Tim WangandGitHub 0903b17fb0 Fix docs comments 2017-11-05 21:04:24 -06:00
Tim WangandGitHub 0ff602e5b8 Remove deprecated warning from interface name. 2017-11-05 21:03:14 -06:00
Tim Wang e6a22d9c00 Fix linter issue 2017-11-04 22:01:22 +08:00
Tim Wang 972f126ed0 Fix NetInfo module type 2017-11-04 21:40:01 +08:00
YuandGitHub 79325cc167 [react-native]fix raw event arg ignored error 2017-11-03 16:58:44 +08:00
Steffen Matthischke 0a394777ed [react-native] bump version to 0.50 2017-11-02 23:25:13 +01:00
Steffen Matthischke ef34bdbd8e [react-native] add SafeAreaView 2017-11-02 23:08:06 +01:00
Sverre JohansenandGitHub 54c6d449f2 Added missing getItemLayout prop to SectionList 2017-10-27 11:23:19 +02:00
Shane FitzpatrickandSheetal Nandi 57989134a3 react-native: Adding the fadeDuration property to ImagePropertiesAndroid (#21029) 2017-10-26 11:25:34 -07:00
AndyandGitHub 403dbdabc7 react-native: More no-redundant-jsdoc fixes (#20931) 2017-10-23 14:45:51 -07:00
Andrew Goodale 2cb730ef15 Merge branch 'master' into remove-nav 2017-10-23 14:50:27 -04:00
Andrew Goodale 343099bb28 Remove Navigator and NavigationExperimental since they are not in RN >=0.44 2017-10-23 14:18:40 -04:00
huhuanmingandAndy 9bf8e4caf8 Enhance ItemSeparatorComponent (#20807) 2017-10-23 07:56:19 -07:00
AndyandGitHub 72bc73d061 react-*: Fix lint (#20825) 2017-10-23 07:31:51 -07:00
Eloy DuránandGitHub 98050fbb2f Merge pull request #19840 from huhuanming/react-native
Add Fetch and Remove dom in tsconfig
2017-10-09 20:46:10 +02:00
huhuanming d55a543b6e remove dom 2017-10-09 22:51:02 +08:00
Eloy DuránandGitHub e434515761 Merge pull request #20236 from simontreny/master
[react-native] Add NativeScrollEvent.velocity
2017-10-09 12:47:03 +02:00
AndyandGitHub 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Tim WangandGitHub b6b48d3a71 Merge branch 'master' into pinch-scrollview 2017-10-05 04:02:43 -05:00
Tim Wang f30ba01639 Code format 2017-10-05 16:02:23 +08:00
Tim Wang c602c4a605 Bump version 2017-10-05 15:38:31 +08:00
Tim Wang 4a3e82ab9e Add pinchGestureEnabled to ScrollView 2017-10-05 15:32:05 +08:00
Nathan Shively-Sanders ba5a8c2243 Merge branch 'master' into fix-for-strictFunctionTypes 2017-10-03 13:05:23 -07:00
Simon Treny b63591d41a Make NativeScrollEvent.velocity optional as iOS implementation only specifies it on onScrollEndDrag event 2017-10-03 21:04:35 +02:00
Simon Trény 1f042a85a8 Add NativeScrollEvent.velocity 2017-10-03 16:34:27 +02:00
Simon Trény 33844ff8a5 Fix type of NativeSyntheticEvent.timeStamp 2017-10-03 09:59:31 +02:00
Nathan Shively-Sanders b8ea87c68e Strict function variance fixes round 1 2017-10-02 15:50:34 -07:00