Mo Kouli
4da4dd57c4
[fix] AppContainer initial state
...
Regression introduced in:
217ad97bfd
Close #738
2017-12-20 23:05:00 +00:00
Johannes
3ecf5d2ed2
[fix] corrupt hydrate import
2017-12-20 17:45:45 +01:00
Nicolas Gallagher
6de892c92b
[add] CheckBox component
...
Implements the CheckBox component and adds a web-only 'color' prop to
allow the color of the checkbox to be customized.
2017-12-20 14:51:44 +00:00
Nicolas Gallagher
495defd69b
[fix] StyleSheet.hairlineWidth on retina screens
2017-12-20 11:54:13 +00:00
Nicolas Gallagher
1a20fcfce6
[add] StyleSheet.compose
...
As per the recent addition to React Native.
2017-12-20 11:27:57 +00:00
Nicolas Gallagher
556dc8926e
[fix] ScrollView animated scrollTo
...
Rely on web's native smooth scrolling mechanism when implemented in the
browser: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior
Fix #593
2017-12-19 15:52:30 +00:00
Nicolas Gallagher
321051b723
[add] ART export
...
Improve API compatibility with React Native by exporting 'react-art' as
'ART'.
Fix #602
2017-12-18 17:16:09 +00:00
Nicolas Gallagher
5f68542529
[fix] Touchable use with react-test-renderer
...
The object returned by 'ReactDOM.findDOMNode' when rendered by
'react-test-renderer' doesn't match the DOM API for an element. Only
attempt to bind the listener if 'addEventListener' is present on the
object.
Fix #720
2017-12-18 16:35:45 +00:00
Nicolas Gallagher
82c044ee33
[fix] use ReactDOM.hydrate in AppRegistry.runApplication
...
Allows AppRegistry to hydrate server-side rendered apps.
Fix #733
2017-12-18 16:15:47 +00:00
Nicolas Gallagher
9bcc67e73a
[fix] top-level API exports
...
Also fixes importing these APIs from 'react-native' when used with the
Babel plugin.
2017-12-18 16:15:03 +00:00
Nicolas Gallagher
f1ce6c2acb
[fix] AppRegistry.getApplication style element keys
...
Fix #734
2017-12-18 15:26:18 +00:00
Nicolas Gallagher
034108a2a0
[add] SafeAreaView component
2017-12-06 14:34:22 -08:00
Nicolas Gallagher
f96d7b868f
[change] update PanResponder implementation
...
Fix #171
2017-12-06 14:23:35 -08:00
Nicolas Gallagher
0dfe319d41
[change] update the Animated implementation
...
Replaces the 'animated' package with the latest implementation from
React Native. Requires a few imports to be replaced.
Close #716
Fix #714
Fix #688
2017-12-06 14:01:36 -08:00
Kenneth Kufluk
b7e970f4e6
[add] Picker and Picker.Item components
...
Close #705
2017-12-04 16:15:23 -08:00
Nicolas Gallagher
02e62ad5d6
Lint fixes
2017-12-02 16:08:56 -08:00
Nicolas Gallagher
541d2458fb
[change] Image no longer accepts children
...
Align with recent changes to the React Native API.
2017-12-02 16:04:27 -08:00
Louis Lagrange
e8eab9b3ec
[add] ImageBackground component
...
Close #696
2017-12-02 16:04:19 -08:00
Nicolas Gallagher
5b5b72cc19
Update eslint and prettier
2017-12-02 15:58:47 -08:00
Nicolas Gallagher
217ad97bfd
[change] Update Flow and types
2017-12-02 15:58:47 -08:00
Nicolas Gallagher
da86ea98fc
[fix] NetInfo event listeners and types
...
* Fix 'addEventListener' handler registration.
* Fix event object provided to handlers.
* Fix event object type - always include 'type' and 'effectiveType'.
* Fix unit test semantics.
* Fix documented NetInfo types.
Close #724
2017-12-02 12:47:12 -08:00
Nicolas Gallagher
1f1f89b062
[fix] Image 'onLoad' callback on update
...
'onLoad' should not be called when a component updates, if the 'uri' is
unchanged.
Fixes a regression introduced by
92952ee746
2017-12-01 17:52:47 -08:00
Nicolas Gallagher
117ce59f27
[fix] TextInput focus/blur management
...
1. Focusing/blurring a TextInput should update TextInputState.
2. Using the focus/blur instance methods should trigger related events.
Close #715
2017-11-15 15:20:21 -08:00
Louis Lagrange
214121480e
[fix] stub for Picker.Item
...
Add stub function for API compatibility.
Close #690
2017-11-15 14:45:33 -08:00
Nicolas Gallagher
a748b7e606
[fix] ScrollView 'setNativeProps'
...
Fix #709
Close #710
2017-11-15 14:39:58 -08:00
Zero Cho
92952ee746
[fix] call Image 'onLoad' when image is loaded from cache
...
Fix #452
Close #712
2017-11-15 13:33:13 -08:00
Nicolas Gallagher
dd8a3c8d59
[fix] StyleSheet handling of default 'borderWidth'
...
Problem:
The default border width should be '0px', but setting a border width
value to 'null' would override the default and result in no border width
being applied to the element. This could cause unwanted user agent
styles to be applied.
Solution:
createReactDOMStyle now replaces border width values of 'null' with
'0px'.
Fix #697
2017-10-30 22:42:52 -07:00
Nicolas Gallagher
899763bc34
[fix] zIndex stacking
...
React Native simplifies zIndex stacking by making every 'View' a new
stacking context.
Fix #689
2017-10-19 13:16:36 -07:00
Nicolas Gallagher
9a5b932139
Flatten styles in test snapshots
2017-10-19 12:42:05 -07:00
Nicolas Gallagher
45b3d8b0df
[fix] style warnings for text and SVG
...
Allow 'fill' as a valid style property.
Allow 'textAlignVertical' to be any string.
2017-10-13 13:17:27 -07:00
Jirat Kijlerdpornpailoj
22eebea633
[fix] babel plugin support for "export" statements
...
Close #677
2017-10-06 14:22:00 -07:00
Louis Lagrange
72c72f6530
[fix] AsyncStorage.flushGetRequests
...
Add stub function for API compatibility.
Close #676
2017-10-05 19:03:43 -07:00
Nicolas Gallagher
de970f9dbb
Add more tests for Switch
2017-10-05 13:59:59 -07:00
Nicolas Gallagher
e8d6c5b4dd
Helper function for ActivityIndicator SVGs
2017-10-05 13:59:42 -07:00
Nicolas Gallagher
5353011ee4
[fix] BackHandler export; remove BackAndroid
...
Fix #673
2017-10-04 11:45:28 -07:00
Nicolas Gallagher
fee03e101c
[fix] exports from module.js
...
Fix #666
2017-10-02 10:13:45 -07:00
Jirat Kijlerdpornpailoj
ca9f870ff6
[fix] Image.getSize failure callback
...
Fix #561
Close #665
2017-10-01 16:33:47 -07:00
Charlie Croom
6ef19c3ccd
[fix] latest NetInfo API
...
Update the NetInfo API to conform to the latest React Native
implementation. Web-only properties are also included now.
Fix #662
Close #663
2017-09-28 14:49:50 -07:00
Nicolas Gallagher
d6df440987
[change] React 16 support
...
Fix #364
2017-09-26 10:14:34 -07:00
Nicolas Gallagher
0a84ccb299
[fix] IE10 flexbox support
...
Add prefixes for flexbox (and other) support in IE10.
Ref #650
2017-09-21 14:18:11 -07:00
Nicolas Gallagher
3aa37450a0
Improve error message for text nodes in View
2017-09-21 14:04:41 -07:00
Nicolas Gallagher
fbba32defb
[fix] cross-browser flex styles
...
Fix #616
Close #648
2017-09-19 15:44:10 -07:00
Nicolas Gallagher
d762d64b49
Revert SSR Image change
...
Reverts 3c660e2ad7
See #543
2017-09-19 15:23:09 -07:00
Nicolas Gallagher
aad904b550
[fix] remove 'use strict' from warnValidStyle
2017-09-19 15:07:54 -07:00
Unknown
a01e895e30
[change] RefreshControl placeholder
...
Fix #638
Close #644
2017-09-19 13:44:31 -07:00
Nicolas Gallagher
52e5d41518
[fix] keyboard interaction with Touchable as link
...
Fix #643
Close #645
2017-09-19 13:40:57 -07:00
Nicolas Gallagher
77a40b6237
[fix] Easing import when using babel plugin
...
Fix #649
2017-09-19 13:37:12 -07:00
Nicolas Gallagher
6942e4e417
Shallow render ActivityIndicator tests
...
These snapshots should be improved by flattening the React Native style
object.
2017-09-18 19:47:03 -07:00
Nicolas Gallagher
63daff7f80
Simplify Switch tests
2017-09-18 19:32:02 -07:00
Nicolas Gallagher
662b7c3d6e
Simplify Image snapshot testing
2017-09-18 19:26:48 -07:00