Commit Graph

643 Commits

Author SHA1 Message Date
Nicolas Gallagher a3362e1f38 [fix] setNativeProps inline styles
Inline styles are preserved when using 'setNativeProps'. Adds unit tests
for the resolution logic required by 'setNativeProps'/'resolveStateful'
in a DOM context.

Fix #439
2017-04-23 21:24:27 -07:00
Nicolas Gallagher 64d2d34367 0.0.87 0.0.87 2017-04-23 13:39:27 -07:00
Nicolas Gallagher d83cd45b6f [fix] Clipboard browser support
Safari 10.3 supports copying (but apparently not from inputs)
2017-04-23 13:38:51 -07:00
Nicolas Gallagher 227971d22c [add] support for CSS grid properties (experimental)
Allow people to experiment with using CSS grid in react-native. (No
support for shorthand properties.)
2017-04-22 10:34:43 -07:00
Nicolas Gallagher 4822cf4620 [add] support for 'clip' and 'textIndent' styles 2017-04-22 10:06:27 -07:00
Nathan Broadbent 91e4528eac Allow filter property in CSS 2017-04-22 22:56:07 +07:00
Nicolas Gallagher 1ee64d8285 0.0.86 0.0.86 2017-04-21 19:04:23 -07:00
Nicolas Gallagher 66a4c13bf3 [fix] AppState.isSupported -> AppState.isAvailable
React Native exposes AppState support via 'isAvailable'.
2017-04-21 18:47:29 -07:00
Nicolas Gallagher 9012e98ba7 [fix] support 'mailto:' URLs in 'Linking' 2017-04-21 18:29:29 -07:00
Nicolas Gallagher 046e01dfa9 [fix] add AsyncStorage callbacks and tests
Add support for the callback interface and add test coverage.

Fix #399
Close #400
2017-04-21 18:13:14 -07:00
Nicolas Gallagher 6e71e1e058 [fix] attempt to avoid need for 'Array.from' polyfill
Fix #409
2017-04-20 18:04:09 -07:00
Nicolas Gallagher d5a9f3e779 Add ES module export
Preparation for publishing an ES module build.
Move 'modality' into 'createDOMElement' to ensure it is always initialized.
2017-04-20 17:16:05 -07:00
Nicolas Gallagher f16f5f21ce [add] WebkitMaskImage style prop
Undocumented supported. Commonly used in border-radius hacks.

Close #326
2017-04-20 15:12:07 -07:00
Nicolas Gallagher 0bb7e67e63 0.0.85 0.0.85 2017-04-20 15:07:56 -07:00
Nicolas Gallagher c6b54930b6 [add] StatusBar stub component
Fix #425
2017-04-20 15:07:34 -07:00
Nicolas Gallagher 599f1fcaf5 Filter unsupported TextInput props
Fix #385
2017-04-20 14:58:48 -07:00
Nicolas Gallagher 3f7a4e455f [add] support 'outlineColor' style prop
Fix #435
2017-04-20 14:50:14 -07:00
Nicolas Gallagher 1f3e9cc6ee [change] ScrollView as new surface
Fix #405
2017-04-20 13:36:00 -07:00
Nicolas Gallagher 17ed63129f Add a note about accessibilityRole compat 2017-04-20 10:39:34 -07:00
Nicolas Gallagher 769334d04e Update benchmark results 2017-04-20 10:04:33 -07:00
Nicolas Gallagher dad80d5718 0.0.84 0.0.84 2017-04-20 10:00:49 -07:00
Nicolas Gallagher d8e93058da Fix publish step 2017-04-20 10:00:39 -07:00
Nicolas Gallagher 4ae894313f Add 'styletron' to benchmarks 2017-04-20 09:16:02 -07:00
Nicolas Gallagher 438f398022 Standardize styles for benchmark View implementations 2017-04-20 09:14:41 -07:00
Nicolas Gallagher 630ee24fdd 0.0.83 0.0.83 2017-04-19 16:53:15 -07:00
Nicolas Gallagher ae13873c2c [change] move 'a', 'button', 'ul' style resets to createDOMProps
Custom styles resets for the 'a', 'button', and 'ul' DOM elements are
now conditionally applied by 'createDOMProps'. This reduces the number
of classes on most Views and ensures that 'createDOMElement' (not just
'View' or 'Text') generates views with their styles reset.
2017-04-19 16:41:07 -07:00
Nicolas Gallagher 7705f521c8 [change] new accessibility features and docs
* Change 'accessible' to align with React Native.
* Add support for 'importantForAccessibility'.
* Stop event propagation for keyboard-activated Touchables (nested
  Touchables now respond the same as when touch-activated).
* Fix whitespace layout of nested Text elements.
* Use 'div' for Text to improve TalkBack grouping.
* Rewrite accessibility docs.

Close #382
Fix #408
2017-04-19 16:41:01 -07:00
Nicolas Gallagher cbd98a8bd7 [fix] accessibilityLiveRegion values 2017-04-18 21:11:34 -07:00
Nicolas Gallagher 1f80e4c105 [change] render Image 'source' immediately if previously loaded
Maintain a record of loaded images. If an image has already been loaded,
bypass the JS loading logic and render it immediately. This prevents
flashes of placeholder state when moving between screens or items in a
virtualized list.
2017-04-18 20:50:48 -07:00
Nicolas Gallagher dbc8f31be6 Update benchmark dependencies 2017-04-18 14:59:00 -07:00
Nicolas Gallagher ed994dc670 Update 'getting-started' docs 2017-04-15 09:12:08 -07:00
Joe Cortopassi a57e58607a Change to using 'prepare' npm-script
Avoids excessive rebuilding of modules during development tasks

Close #429
2017-04-14 13:34:24 -07:00
Nicolas Gallagher 03ea259d70 Update documentation
Close #417
2017-04-14 09:03:38 -07:00
Nicolas Gallagher e39b58fd04 Update LayoutPropTypes
* Consolidates certain style props under LayoutPropTypes.
* Adds 'direction' style prop.
* Adds 'scroll' to 'overflow' style prop.
* Filter out 'aspectRatio' for now.

Ref #420
2017-04-14 08:28:06 -07:00
Nicolas Gallagher ab45211401 [change] remove TextInput autogrow behaviour
This is non-standard. Removes 'maxNumberOfLines' too.

Ref #287
2017-04-13 20:46:28 -07:00
Nicolas Gallagher 32183bb92a Update performance dependencies 2017-04-13 20:37:08 -07:00
Nicolas Gallagher 761c42301d Update prettier 2017-04-13 19:26:01 -07:00
Nicolas Gallagher 0863894f40 [change] make react-dom a peer dependency 2017-04-13 19:24:43 -07:00
Nicolas Gallagher 8f736ddefe Update enzyme and don't use react-test-renderer 2017-04-13 19:22:47 -07:00
Nicolas Gallagher ab686e2a07 Update webpack 2017-04-13 18:30:37 -07:00
Nicolas Gallagher 2c14bdab2e Update inline-style-prefixer 2017-04-13 17:33:54 -07:00
Nicolas Gallagher 0b8b064757 Update babel packages 2017-04-13 17:32:37 -07:00
Nicolas Gallagher 93eadb734b Update eslint plugins 2017-04-13 17:24:57 -07:00
Nicolas Gallagher 8d561d7309 Update prettier and eslint 2017-04-13 17:18:54 -07:00
Nicolas Gallagher cdca9e1e2b Update 'modality' implementation 2017-04-13 15:57:58 -07:00
Nicolas Gallagher 170bab659d [change] use 'prop-types' and 'create-react-class'
Preparation for React 15.5
2017-04-11 22:20:39 -07:00
Nicolas Gallagher 941c628445 Remove dependency on most react-dom internals 2017-04-09 19:20:08 -07:00
Nicolas Gallagher 547c375bd6 Add more comparative benchmarks
Add "aphrodite", "react-jss", and "reactxp" renderers.

"react-addons-perf" is required due to:
https://github.com/Microsoft/reactxp/issues/11
2017-04-08 18:52:15 -07:00
Sunil Pai aa85876eb2 Improve performance of glamor benchmark renderer 2017-04-08 18:48:16 -07:00
Nicolas Gallagher 50b168cc41 Add note about Safari flexbox performance 2017-04-05 14:48:11 -07:00