Commit Graph

367 Commits

Author SHA1 Message Date
iyegoroff
7f0cd433de
Update animated.tsx 2018-09-08 18:30:18 +03:00
iyegoroff
4e5b1485d6
added Animated.event test 2018-09-08 18:24:12 +03:00
iyegoroff
f72507f3c5
fixed Animated.EventConfig 2018-09-08 18:02:19 +03:00
Christoph Jerolimov
e2fe25b513 [react-native] Improve WebView onShouldStartLoadWithRequest event 2018-09-03 23:22:38 +02:00
Tommy Nguyen
49362d8e02 React Native: Tightened type of WebViewUriSource.method. 2018-09-03 15:46:25 +02:00
Eloy Durán
c9489b79d3
Merge pull request #28376 from pavsidhu/patch-1
Add contextMenuHidden to TextInput
2018-08-28 17:34:31 +02:00
Pav Sidhu
fbcb8526ec
Update index.tsx 2018-08-28 00:40:30 +01:00
Eloy Durán
c75c51c0e7
Merge pull request #28392 from danilobuerger/patch-4
[react-native] SectionList is a VirtualizedList
2018-08-26 17:53:38 +02:00
Danilo Bürger
15f698578b
[react-native] SectionList is a VirtualizedList
See https://github.com/facebook/react-native/blob/master/Libraries/Lists/SectionList.js#L187
```
export type Props<SectionT> = RequiredProps<SectionT> &
  OptionalProps<SectionT> &
  VirtualizedSectionListProps<SectionT>;
```

See https://github.com/facebook/react-native/blob/master/Libraries/Lists/VirtualizedSectionList.js#L119
```
export type Props<SectionT> = RequiredProps<SectionT> &
  OptionalProps<SectionT> &
  VirtualizedListProps;
```

See https://github.com/facebook/react-native/blob/master/Libraries/Lists/VirtualizedList.js#L54
```
  // TODO: Conflicts with the optional `renderItem` in
  // `VirtualizedSectionList`'s props.
  renderItem: $FlowFixMe<renderItemType>,
```
2018-08-26 15:32:37 +02:00
Danilo Bürger
98fd1ebaaf
[react-native] FormData is a class
See https://github.com/facebook/react-native/blob/master/Libraries/Network/FormData.js#L49
2018-08-25 21:50:28 +02:00
Pav Sidhu
20c03ac0dd
Fix whitespace 2018-08-25 15:25:06 +01:00
Pav Sidhu
bdce3cdaae
Add contextMenuHidden to TextInput 2018-08-25 14:28:53 +01:00
Eloy Durán
efa449afcc
Merge pull request #28322 from hikouki/master
react-native: add nestedScrollEnabled props for andorid (RN0.56.0)
2018-08-24 11:58:53 +02:00
hikouki
59efb325e2 add nestedScrollEnabled props for andorid in react-native types. 2018-08-24 09:55:58 +09:00
Eloy Durán
812734a111
Merge pull request #28230 from mvdam/master
[react-native] Added 'mode' to TimePickerAndroidOpenOptions
2018-08-23 12:54:53 +02:00
Martin van Dam
66fe94c49c Added test for newly added property 'mode' in TimePickerAndroidOpenOptions 2018-08-22 11:45:14 +02:00
Martin van Dam
3d143304e8 Added type definitions for 'mode' to TimePickerAndroidOpenOptions 2018-08-20 09:28:03 +02:00
Bruno Lemos
7be8646725
[react-native] Disable Style Props 2018-08-18 20:51:07 -03:00
Kyle Roach
a2fe5554f7 [react-native] Add hardwareAccelerated to Modal 2018-08-14 23:21:10 -04:00
Tommy Nguyen
ecba929771 Fixed definitions for react-native/BatchedBridge.
BatchedBridge (and MessageQueue) must be imported like this:

    import BatchedBridge from "react-native/Libraries/BatchedBridge/BatchedBridge";

So we must use default export.
2018-08-14 17:47:27 +02:00
Eloy Durán
536d34cd8c
Merge pull request #27522 from VincentLanglet/patch-2
[React native] Add section in SectionListRenderItemInfo
2018-08-13 15:12:04 +02:00
Eloy Durán
01f7c09835
Merge pull request #28051 from iRoachie/alert-ios
(react-native) Add keyboardType to AlertIOS prompt
2018-08-13 15:07:58 +02:00
shintaro-morikawa
55b27e2709 Fix return type React Native AsyncStorage.getItem 2018-08-11 20:57:24 +09:00
Kyle Roach
25c5f17ca6 Add keyboardType to AlertIOS prompt 2018-08-11 03:58:05 -04:00
Kyle Roach
97f4bc1879 feat(react-native): Add enabled prop to KeyboardAvoidingView 2018-08-10 08:24:26 -04:00
Ferdy Budhidharma
bc0c933415 feat(react-dependents): update to TS 2.8 (part 2 of 2) (#27744)
* feat(react-dependents): update to ts 2.8

* fix version mismatches

* remove package.json

* post merge updates

* add package.json back again
2018-08-06 06:28:42 +01:00
Elias Toivanen
8e20fb6f88 @types/react-native - Add missing property textContentType for TextInputIOSProps. (#27809)
* @types/react-native

Add missing property `textContentType` for `TextInputIOSProps`.

* Add the `textContentType` in the TextInput test
2018-08-03 10:55:18 -07:00
Vincent Langlet
aa28f4cd15 Add section in SectionListRenderItemInfo 2018-07-28 18:23:14 +02:00
Alexaner T
3f26db8119 Add imageRef prop to ImageBackground 2018-07-20 14:11:33 +03:00
Marat Abdullin
b6e31ebe69 Adding the test. 2018-07-17 13:53:59 +02:00
Marat Abdullin
f1be7646d5 Fixing the typo in a property name. 2018-07-17 13:44:39 +02:00
Caleb Clarke
ee49a4763b react-native - Added nativeConfig to WebViewProps (#27211)
* Added nativeConfig to WebViewProps

* Added test

* Object -> object

* Added remaining nativeConfig properties to test
2018-07-15 12:19:53 -07:00
Alexander T
fe5462429b Add textTransform style prop (#27210) 2018-07-12 00:51:35 -07:00
Alexander T
d0aa166405 Update types based on new react-native 0.56 version (#27136) 2018-07-09 11:24:28 -07:00
Alexander T
9dfbd04087 Wrap events to NativeSyntheticEvent (#27059) 2018-07-05 10:02:32 -07:00
Pankaj Pandey
bc4d86eeab Update index.d.ts (#26978)
* Update index.d.ts

* Replace any with NativeTouchEvent
2018-07-03 09:23:43 -07:00
Armands Baurovskis
5d4fbeeff9 no message 2018-06-26 10:56:22 +03:00
Armands Baurovskis
76b66a3be8 - Add missing "inverted" prop. https://facebook.github.io/react-native/docs/sectionlist#inverted 2018-06-26 10:47:26 +03:00
Alexaner T
553a72da2f RN - Change Image props/static methods 2018-06-25 18:21:13 +03:00
Dan Homola
89d60e895d [react-native] add accessibilityElementsHidden prop 2018-06-25 09:00:30 +02:00
Eloy Durán
8cfe3b2c5a
Merge pull request #26441 from reddor/reddor-patch-1
[react-native] Add viewabilityConfigCallbackPairs property to scrollView
2018-06-24 15:51:56 +02:00
Alexader
184793074f Move onKeyPress from TextInputIOSProps to TextInputProps 2018-06-24 10:38:52 +03:00
Alexaner T
fa2e5a65a1 Change TextInput onSelectionChange event data 2018-06-21 19:36:35 +03:00
Alexader
0f029030bd Wrap events to NativeSyntheticEvent 2018-06-16 22:12:39 +03:00
Eloy Durán
10fe633823
Merge pull request #26585 from newyankeecodeshop/rn-fix-text-input-state
[react-native] Fix `TextInput.State` and SectionList prop `onScrollToIndexFailed`
2018-06-16 12:10:48 +02:00
Andrew Goodale
05d33b6d77 SectionList missing onScrollToIndexFailed prop 2018-06-15 13:04:24 -04:00
Andrew Goodale
b079af2730 TextInput.State is a static value 2018-06-15 12:51:09 -04:00
Alexaner T
d67617c5bb Change Image onLoad event data 2018-06-15 10:32:18 +03:00
Alexaner T
3653895fcd Add onScroll event to TextInput 2018-06-14 14:54:13 +03:00
Alexaner T
446da95f1c add missed props to synthetic event 2018-06-12 13:19:12 +03:00