Nicolas Gallagher
50b168cc41
Add note about Safari flexbox performance
2017-04-05 14:48:11 -07:00
Nicolas Gallagher
25a11e673d
0.0.81
0.0.81
2017-04-05 14:03:07 -07:00
Nicolas Gallagher
e846054f4e
Add 'Tweet' to performance benchmarks
2017-04-05 14:02:17 -07:00
Nicolas Gallagher
d6854abd7d
[fix] accessibilityLiveRegion values
2017-04-02 16:16:41 -07:00
Nicolas Gallagher
1b172319b9
[change] use 'aria-level' to determine DOM heading tag
...
Fix #401
Close #402
2017-03-30 09:25:13 -07:00
Nicolas Gallagher
e81394c26e
Add 'platform' benchmark
...
The "platform" benchmark relies on no intermediate layer. All the static
CSS it requires is inlined in the HTML page.
2017-03-25 09:11:23 -07:00
Nicolas Gallagher
d33aa3eee2
[change] Touchable no default 'accessibilityRole'
2017-03-23 15:42:20 -07:00
Nicolas Gallagher
5d78c73e8c
[add] export 'ViewPropTypes'
...
See https://github.com/reactjs/react-codemod/pull/99
2017-03-23 12:06:24 -07:00
Nicolas Gallagher
7735d304ef
[fix] export 'processColor'
2017-03-23 11:57:14 -07:00
Nicolas Gallagher
b7c72308ea
0.0.80
0.0.80
2017-03-22 23:43:37 -07:00
Nicolas Gallagher
5fee075774
Add 'processColor' tests
2017-03-22 23:40:40 -07:00
Nicolas Gallagher
25204eeff0
[fix] convert color values to CSS color
...
Convert all hex and numeric colors to rgba. Assume non-hex strings are
valid CSS colors.
2017-03-22 23:15:42 -07:00
Nicolas Gallagher
9c61fe58d3
[add] View 'hitSlop' shim
...
Shim the 'hitSlop' prop using a positioned element to extend the size of
a View's touch target without changing layout. Unlike the native
implementation, the touch target may extend past the parent view bounds.
2017-03-22 23:01:53 -07:00
Nicolas Gallagher
782125d169
Remove pointerEvents code from View
2017-03-20 22:53:57 -07:00
Nicolas Gallagher
af805d67e6
0.0.79
0.0.79
2017-03-20 22:42:00 -07:00
Nicolas Gallagher
68068f8cb6
[fix] support React Native props in 'setNativeProps'
...
React Native allows props like 'pointerEvents' to be set using
'setNativeProps'.
Fix #392
2017-03-20 22:33:59 -07:00
Nicolas Gallagher
e05e2122d7
[fix] avoid setting empty style objects
2017-03-20 22:33:59 -07:00
Nicolas Gallagher
47dac44120
[fix] filter 'lineBreakMode' from Text props
2017-03-20 22:33:53 -07:00
Nicolas Gallagher
22af6894c2
Update jest
2017-03-20 22:18:50 -07:00
Nicolas Gallagher
458c534200
[change] improve button accessibility and styling
...
1. If no 'accessibilityRole' is set, fallback to looking for 'button'
role in the equivalent native props. This helps improve accessibility of
button-like components authored without the web platform in mind.
2. Ensure button context is properly inherited.
3. Add 'appearance:none' to DOM button elements to enable better styling
support in Safari
Fix #378
2017-03-20 14:50:01 -07:00
Nicolas Gallagher
ec2db3e2a3
0.0.78
0.0.78
2017-03-19 18:45:21 -07:00
Bruno Lemos
e6f00f7592
[add] default option for Platform.select
...
See: f30ab35e92
2017-03-19 15:27:07 -07:00
Nicolas Gallagher
976320916e
[change] move bridge code into createDOMElement
...
Moves event normalization and the ResponderEventPlugin injection from
'View' to 'createDOMElement'.
The 'react-native-web/lite' variant is removed from the performance
directory as the implementation is not substantially different.
Micro-optimizations to marginally narrow the performance gap to
css-modules.
2017-03-19 15:19:26 -07:00
Nicolas Gallagher
808790505e
[change] onLayout improvements
...
1. Fires when window resizes
2. Guards against nodes being unmounted
Fix #397
Ref #60
2017-03-19 13:29:47 -07:00
Nicolas Gallagher
89ad493ce5
Update benchmark results
2017-03-14 17:23:16 -07:00
Nicolas Gallagher
c4f2869ad8
0.0.77
0.0.77
2017-03-09 18:20:07 -08:00
Nicolas Gallagher
3ae1e5b786
[fix] don't run 'modality' without a DOM
...
Fix #387
2017-03-09 18:13:00 -08:00
Nicolas Gallagher
e929fb572d
[change] add 'testID' prop to 'Button'
...
Close #386
2017-03-09 18:09:27 -08:00
Nicolas Gallagher
5af9d537c2
Fix stylesheet snapshots
2017-03-06 12:56:50 -08:00
Nicolas Gallagher
b7d3f0d099
0.0.76
0.0.76
2017-03-06 12:31:41 -08:00
Nicolas Gallagher
f1ca00a13a
[fix] ProgressBar animation styles
...
Fix #384
2017-03-06 12:30:34 -08:00
Aaron Craig
9451c0f85e
[fix] avoid passing ListView props to ScrollView
...
The 'onChangeVisibleRows' and 'onEndReachedThreshold' props should not
be passed to 'ScrollView', as it results in React warnings about unknown
props on the underlying DOM node.
Close #383
2017-03-05 09:21:10 -08:00
Nicolas Gallagher
b408bc5537
Use a package for style name hyphenation
...
The 'hyphenate-style-name' packages is already a dependency of
'inline-style-prefixer', so we don't need our own implementation.
2017-03-02 19:10:05 -08:00
Nicolas Gallagher
a2f25a46c4
Reformat 'performance' and 'src' code
2017-03-02 18:59:33 -08:00
Nicolas Gallagher
29d52f5b31
Remove formatting rules from eslint config
2017-03-02 18:59:32 -08:00
Nicolas Gallagher
ba6be1f64a
Install prettier code formatter
2017-03-02 18:59:32 -08:00
Nicolas Gallagher
43f78828a5
Update benchmarks to use styled-components@2.0.0-5
...
No significant change in the benchmark results
2017-03-02 18:57:57 -08:00
Nicolas Gallagher
26bc8173f0
0.0.75
0.0.75
2017-02-27 23:11:30 -08:00
Nicolas Gallagher
ecae52ccc5
[change] Touchable pass through props
...
Add support for web-specific props to improve accessibility, e.g., ARIA
properties (and declarative links).
Fix #65
2017-02-27 17:05:38 -08:00
Nicolas Gallagher
997653863f
[fix] ignore unsupported style prop types
...
Fix #347
Close #371
2017-02-27 16:40:54 -08:00
Nicolas Gallagher
5dc692719f
Update snapshots after StyleSheet refactor
2017-02-27 15:59:18 -08:00
Nicolas Gallagher
0361845537
[change] StyleSheet refactor
...
* HTML class names are now hashes of the corresponding declaration
* Simplifies 'setNativeProps' logic
* Fixes use of server-rendered style sheet
* Fixes duplicate insertion of style sheets with hot-reloading
No significant change to the benchmark results
2017-02-27 15:59:18 -08:00
Nicolas Gallagher
f391031fb1
0.0.74
0.0.74
2017-02-27 14:55:34 -08:00
Matthias Le Brun
77799abf9b
[fix] Touchable support for 'Enter' keypress event
...
Close #375
2017-02-27 14:53:27 -08:00
Nicolas Gallagher
2cfd09ecdb
[fix] server-side rendering
...
e1fc253 added deferred image loading but didn't guard the
'requestIdleFallback' shim for use in Node.js
Fix #376
2017-02-27 14:50:29 -08:00
Nicolas Gallagher
89eea2b366
Remove unused style in 'View'
2017-02-27 14:41:47 -08:00
Nicolas Gallagher
18440158b3
Add comparative performance benchmarks
...
Includes a 'css-modules' implementation of the nested trees to act as a
baseline for comparison.
2017-02-26 17:19:43 -08:00
Nicolas Gallagher
24eda7c4ad
0.0.73
0.0.73
2017-02-24 12:35:18 -08:00
Nicolas Gallagher
44ebd8f5a3
[change] modality-specific focus styles
...
Remove the default focus ring when the keyboard is not being used. This
provides a superior UX when using touch or mouse.
Fix #310
2017-02-18 13:39:25 -08:00
Matthias Le Brun
a3ed8f05e6
[add] resize 'TextInput' style
...
Fix #363
2017-02-18 12:49:25 -08:00