Nicolas Gallagher
5e9449e893
Update benchmark libraries
2019-03-11 20:17:29 -07:00
Alec Winograd
67979b7282
[add] TextInput support for "onContentSizeChange"
...
Fix #793
Close #1226
2019-03-11 14:14:13 -07:00
Nicolas Gallagher
3d3ea9aeed
[change] Remove ART export
...
Anticipate the removal of ART from React Native core:
https://github.com/facebook/react-native/issues/23313
Simplifies dependencies and builds for web apps.
Close #1251
2019-03-11 13:33:49 -07:00
Nicolas Gallagher
69bd0f631d
[change] Remove default ES Module export
...
Remove the default export that was provided for compatibility with legacy
imports of React Native CommonJS modules. These patterns are no longer
supported:
```
import ReactNative from 'react-native';
const ReactNative = require('react-native');
```
Fix #1258
Close #1277
2019-03-11 13:12:24 -07:00
Evan Bacon
9ce2b5bf0c
[fix] NativeEventEmitter implementation
...
Close #1275
2019-03-08 13:06:19 -08:00
Hiroki Sato
cf7b020c5d
[fix] set textShadow if only blur and color provided
...
Mirrors a recent fix to React Native.
Close #1182
2019-03-08 12:42:36 -08:00
Nicolas Gallagher
49edcb291e
[change] remove 'resizeMode' static from 'Image'
...
Use strings instead of the 'Image.resizeMode' static. Corresponding change in React Native:
https://github.com/facebook/react-native/commit/870775e
2019-03-08 12:40:59 -08:00
Nicolas Gallagher
6a84d74185
0.10.1
0.10.1
2019-03-07 11:32:33 -08:00
Nicolas Gallagher
282cb34054
Fix npm publish errors
2019-03-07 11:31:50 -08:00
Wyatt Greenway
421cb095f7
[fix] PickerItem cyclic dependency
...
Close #1270
2019-03-07 11:06:48 -08:00
Nicolas Gallagher
0c08ba3a7d
[fix] Text support for accessibilityRole="none"
...
Fix #1262
2019-03-07 11:02:57 -08:00
Nicolas Gallagher
e4c3a21c42
[fix] TextInput autoComplete="off"
...
Browsers treat autoComplete "off" as "on". The fix is to provide the browser
with an unrecognized value so that it doesn't attempt to auto-fill the input.
Fix #1249
2019-03-07 10:58:27 -08:00
Nicolas Gallagher
34427897f3
[add] Support for Schema prop types
...
View and Text forward Schema prop types to host DOM node.
https://schema.org/docs/gs.html
Fix #1247
2019-03-07 10:50:34 -08:00
Dan Alloway
63868b492d
Fix project scripts in Windows environments
...
Close #1252
2019-03-01 14:49:55 -08:00
Nicolas Gallagher
8ce5750d34
0.10.0
0.10.0
2019-01-30 14:13:58 -08:00
Nicolas Gallagher
eb77062608
Remove unnecessary snapshot tests
...
Remove snapshots that were unnecessarily recording generated CSS output.
2019-01-22 18:48:29 -08:00
Nicolas Gallagher
b6fc6f228e
Add new Text render benchmark
2019-01-22 18:48:29 -08:00
Nicolas Gallagher
6c725357ff
Add a note about referrer tracking
2019-01-22 18:48:29 -08:00
atp
dce5b7321d
[add] Text support for wordBreak style
...
Close #1200
2019-01-22 18:48:29 -08:00
Nicolas Gallagher
52ca784680
Use default array sort function
2019-01-22 18:48:29 -08:00
Nicolas Gallagher
244b0e4425
Don't print AppRegistry message in unit tests
2019-01-22 18:48:29 -08:00
Nicolas Gallagher
21c3931b69
[fix] use getBoundingClientRect to measure layout
...
Fix #1037
Fix #1151
2019-01-22 18:48:29 -08:00
Nicolas Gallagher
e696e637bd
[add] support backdropFilter style
...
Close #1070
2019-01-22 18:48:29 -08:00
Nicolas Gallagher
b62a7bf44d
Update webpack for examples
2019-01-22 18:48:29 -08:00
Nicolas Gallagher
69d1da4560
Update eslint
2019-01-22 18:48:29 -08:00
Nicolas Gallagher
8925bf76af
[change] implement TextInput without e.which
...
e.which is considered deprecated and should be replaced with e.key.
Fix #1190
Close #1193
2019-01-22 18:48:28 -08:00
Nicolas Gallagher
77d4bd8a97
[change] Compile using Babel 7
...
Fix #1170
Close #1205
Close #1191
2019-01-22 18:48:28 -08:00
Nicolas Gallagher
4040151ee6
[add] support for accessibilityRole and accessibilityStates
...
React Native 0.57 introduced 'accessibilityRole' and
'accessibilityStates' as cross-platform accessibility APIs to replace
'accessibilityComponentType' and 'accessibilityTraits' for Android and
iOS.
React Native for Web has supported the 'accessibilityRole' for a while.
This patch maps some of the values defined in React Native to web
equivalents, and continues to allow a larger selection of roles for web
apps. It also adds support for 'accessibilityStates', mapping values to
ARIA states with boolean values and expanding support beyond 'disabled'
and 'selected'.
Fix #1112
Close #1113
2019-01-22 18:48:25 -08:00
Nicolas Gallagher
000b92e707
0.9.13
0.9.13
2018-12-31 17:31:46 -08:00
Nicolas Gallagher
d5f5dbccdb
[fix] inline-style-prefixer API update
...
Fix #1217
2018-12-31 17:22:05 -08:00
Nicolas Gallagher
79456d5920
0.9.12
0.9.12
2018-12-31 10:34:04 -08:00
Nicolas Gallagher
2d1e303a6a
[fix] ScrollView with stickyHeaderIndices regression
...
A ScrollView with stickyHeaderIndices would not render children that
weren't sticky.
Fixes 1e202b6bd5
2018-12-31 10:26:33 -08:00
Nicolas Gallagher
209ff1fa40
0.9.11
0.9.11
2018-12-31 08:23:58 -08:00
Nicolas Gallagher
34d8160a43
[fix] CSS animation insertion for Android 5.1 HuaWei browser
...
Inserting unprefixed CSS keyframes rules causes a `SYNTAX_ERR: DOM Exception
12` error in Android 5.1. A similar issue with inserting rules containing
vendor-prefixed pseudo-selectors was patched by wrapping rule in `@media all
{}` blocks. This patch removes the media query wrapper from keyframe animations
(as it doesn't prevent the error) and relies on `CSSStyleSheet::insertRule`
being called within a try-catch block.
Fix #1199
Close #1210
2018-12-31 07:47:52 -08:00
Nicolas Gallagher
ada5651be2
Don't minify local benchmarks build
2018-12-24 13:35:21 +00:00
Nicolas Gallagher
9fe9d3c68a
Update react-native-web dependencies
2018-12-24 13:03:49 +00:00
krister
1e202b6bd5
[add] ScrollView support for pagingEnabled
...
Available in browsers that support CSS snappoints.
Fix #1057
Close #1212
Co-authored-by: Nicolas Gallagher <nicolasgallagher@gmail.com >
2018-12-23 18:05:29 +00:00
Robert Sayre
2b77bfd853
[fix] improve style resolver performance
...
Script time in the benchmark was profiled by adding `console.profile` around
the timings for script time. The call to Array.join in the resolve function
stood out. Since the code already iterates over the array it can run slightly
faster by building the cache key in that loop instead.
Close #1213
2018-12-23 15:07:48 +00:00
Nicolas Gallagher
d0ac55aa4f
Update benchmarks dependencies
2018-12-21 21:33:43 +00:00
Nicolas Gallagher
66dd1bd9ef
Remove glamor and radium from benchmarks
...
Glamor is unmaintained. Radium is extremely slow. There is no need to compare
against these libraries.
2018-12-21 21:20:30 +00:00
Nicolas Gallagher
6add18c6f0
0.9.10
0.9.10
2018-12-21 21:04:26 +00:00
krister
30d7c31b65
[fix] ScrollView smooth scrolling
...
Rely on the `element.scroll()` programmatic API when available (or polyfilled).
Fix #1203
Fix #1173
Close #1208
2018-12-21 20:57:25 +00:00
Raibima Putra
f7e6b43422
Fix docs typo
...
Close #1209
2018-12-21 20:46:29 +00:00
Nicolas Gallagher
4b3f6efb21
Support style inspection in production
2018-12-10 17:01:23 -08:00
Nicolas Gallagher
85e098deec
0.9.9
0.9.9
2018-12-05 14:46:11 -08:00
Nicolas Gallagher
c949b0145a
[fix] TextInput onKeyPress supports Escape key
...
Fix #1189
2018-11-27 12:15:59 -08:00
Charlie Croom
86b4cf5a51
[add] scaleZ and scale3d style transforms
...
Web-specific additions similar to the web-specific additions to `translate` styles.
Close #1184
2018-11-27 11:53:04 -08:00
Giuseppe
1b7ce4eec6
[fix] Fix regression in modality refactor
...
Fixes https://github.com/necolas/react-native-web/pull/1169#issuecomment-440590544
And removes the focus ring for press-after-keyboard edge cases.
Close #1186
Co-authored-by: Nicolas Gallagher <nicolasgallagher@gmail.com >
2018-11-27 11:52:46 -08:00
Nicolas Gallagher
8c8978ff76
0.9.8
0.9.8
2018-11-15 21:40:18 -08:00
Nicolas Gallagher
513b5de881
Partially revert d841db2337
...
The modification to VirtualizedList is not required now that ScrollView wraps
sticky header items in a View.
2018-11-15 10:26:49 -08:00