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
Nicolas Gallagher
b653fe0bd3
[add] fontFeatureSettings 'Text' style
...
Fix #331
2017-02-18 12:18:28 -08:00
Nicolas Gallagher
30da226e4d
Update component style docs
2017-02-18 12:07:30 -08:00
Nicolas Gallagher
f1f39bfabd
0.0.72
0.0.72
2017-02-18 11:34:33 -08:00
Nicolas Gallagher
267c5aab7e
Allow benchmark to run in Safari
...
Performing teardown in a new frame was causing Safari to hang on the 2nd
benchmark run.
2017-02-18 11:34:33 -08:00
Nicolas Gallagher
fe71c7efe5
[fix] Image browser context menu
...
Fix #368
2017-02-18 11:34:28 -08:00
Nicolas Gallagher
eb59875bed
[change] defer Image loading
...
x4 faster render benchmark
2017-02-18 09:46:10 -08:00
Nicolas Gallagher
e1fc253277
Add image benchmark
2017-02-18 09:46:10 -08:00
Nicolas Gallagher
40b03aca52
[change] improve 'View' render performance
...
1. Register the 'pointerEvents' styles to enable memoization
2. Don't flatten styles in render; move flex reset to 'expandStyle'
Reduces benchmark render times by ~10% on early 2011 MacBook Pro
2017-02-18 09:46:04 -08:00
Nicolas Gallagher
418a1a9516
[change] depend on animated@0.2.0
2017-02-17 13:28:51 -08:00
Nicolas Gallagher
8762f8e9c8
[change] depend on inline-style-prefixer@3.0.0
2017-02-17 13:28:49 -08:00
Nicolas Gallagher
10ef2bfe20
[fix] i18n styles
...
1. Fix auto-flipping of styles
The StyleRegistry didn't account for LTR/RTL when caching the results of
style resolution. The 'writingDirection' style is no longer flipped; no
clear use case for it.
2. Remove experimental '$noI18n' style prop suffix
This feature is essentially unused, and less likely to be used with the
introduction of 'dir=auto' on 'Text'. Removing also marginally improves
render performance.
2017-02-17 13:25:54 -08:00
Nicolas Gallagher
6d2ae4597e
Update babel packages
2017-02-17 12:04:30 -08:00
Nicolas Gallagher
a34b8b149f
[fix] V8 deopt in compiled 'createDOMElement'
...
Fixes V8 "deopt" warning: "Bad value context for arguments value".
This deopt was caused by the babel-compiled output of the ES6 argument
default value for 'rnProps':
var t = arguments.length > 1 && void 0 !== arguments[1]
? arguments[1]
: l
Not relying on ES6 default arguments avoids the function 'deopt'.
2017-02-17 10:23:59 -08:00
Nicolas Gallagher
6166024d15
[fix] NODE_ENV check in 'flattenStyle'
2017-02-17 09:59:56 -08:00
Nicolas Gallagher
701ecb7c52
0.0.71
0.0.71
2017-02-17 08:54:33 -08:00
Li Hau Tan
75042093c2
[fix] add 'State' static to 'TextInput'
...
Fix #365
Close #366
2017-02-17 08:51:22 -08:00
Nathan Tran
bb417900a9
[add] willChange style prop type
...
Close #367
2017-02-17 08:44:12 -08:00
Nicolas Gallagher
89e0a15d1b
[fix] add 'timeStamp' to scroll and layout events
2017-02-16 08:18:56 -08:00
Nicolas Gallagher
b2e0a3702f
[fix] Linking methods return promises
2017-02-11 14:13:25 -08:00
Rodrigo Moyle
a4644c204d
[fix] add shadow style props to Image styles
...
Fix #357
Close #358
2017-02-11 11:21:45 -08:00
Nicolas Gallagher
1e9536b611
0.0.70
0.0.70
2017-02-06 17:15:43 -08:00
Nicolas Gallagher
d15dafc108
Build UMD bundle from source
2017-02-06 13:14:48 -08:00
Nicolas Gallagher
c9c1aab97e
Rearrange propType imports
2017-02-05 16:50:06 -08:00
Nicolas Gallagher
a2903f9d30
Move TextPropTypes to TextStylePropTypes
2017-02-05 16:37:54 -08:00
Nicolas Gallagher
c7771ac64f
[change] avoid 'react-dom/lib/*' where possible
2017-02-05 16:36:26 -08:00
Nicolas Gallagher
c8129c2a99
Remove NODE_ENV wrappers
2017-02-05 16:35:04 -08:00
Matthias Le Brun
b793737393
[fix] onLayout calculation
...
The 0.0.69 release introduced a regression in UIManager's measurement
calculations.
Using `offset` properties returns the offset relative to the closest
positioned ancestor. Make `getRect` iterate over the ancestor chain.
Fix #341
Close #345
2017-02-05 12:09:42 -08:00
Nicolas Gallagher
2a4d1c81d8
0.0.69
0.0.69
2017-01-28 11:01:23 -08:00
Nicolas Gallagher
a8a25d66ea
[fix] measure CSS layout independent of transforms
...
Fix #332
2017-01-28 10:37:49 -08:00
Gethin Webster
e06d7a9650
[fix] Prevent props warnings from ScrollView in ListView
2017-01-28 10:01:16 -08:00
Nicolas Gallagher
c2501f2bc2
Add documentation for webpack@2 *.web.js resolving
...
Fix #334
2017-01-28 09:57:14 -08:00
Nicolas Gallagher
c51e7f1965
[fix] Linking method names
...
Fix #339
2017-01-28 09:50:15 -08:00