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
Nicolas Gallagher
dfff6b3780
[fix] StyleSheet resolving for 'number' style
2017-01-16 14:36:20 -08:00
Nicolas Gallagher
5f6b4a746a
Update webpack-bundler-analyzer
2017-01-13 13:21:23 -08:00
Nicolas Gallagher
f077907dd4
Fix AppRegistry/renderApplication snapshot
2017-01-11 13:15:07 -08:00
Nicolas Gallagher
a94367bdcb
0.0.68
0.0.68
2017-01-11 13:12:25 -08:00
Nicolas Gallagher
65febbbc52
[fix] error in setNativeProps when no style
...
Close #325
Close #327
2017-01-11 13:08:10 -08:00
Nicolas Gallagher
b14d2e5bd8
[fix] CSS pointer event selectors
2017-01-11 12:47:24 -08:00
Nicolas Gallagher
7c83ba162d
0.0.67
0.0.67
2017-01-08 18:40:02 -08:00
Nicolas Gallagher
3ffc005a7b
[fix] setNativeProps resolving logic
...
Since styles are set using both class names and inline styles,
'setNativeProps' needs an additional resolving step that accounts for
the pre-existing state of RN-managed styles on the DOM node.
Fix #321
2017-01-08 18:25:39 -08:00
Nicolas Gallagher
50a70ad02f
0.0.66
0.0.66
2017-01-07 19:05:54 -08:00
Nicolas Gallagher
768e895701
[fix] View transforms; add perspective styles
...
Fixes a regression introduced by
5db300df35
The `perspective` function is distinct from the `perspective` property.
This patch reverts the regression and adds support for `perspective`,
`perspectiveOrigin`, and `transformOrigin`.
Fix #208
2017-01-07 19:02:57 -08:00
Nicolas Gallagher
af5fde994d
Fix yarn.lock
2017-01-07 18:25:54 -08:00
Paul Le Cam
c3d0763944
[fix] ListView imports and 'getRowAndSectionCount'
...
Close #316
2017-01-07 18:22:47 -08:00
Nicolas Gallagher
0aba506725
Fix UIManager tests
2017-01-07 18:18:56 -08:00
Nicolas Gallagher
91032d8565
[change] allow 'display' in ViewStylePropTypes
...
Fix #296
2017-01-07 18:15:16 -08:00
Nicolas Gallagher
0696721488
Document transition and animation View styles
2017-01-07 18:12:26 -08:00
Nicolas Gallagher
fe18830ce6
[change] use classList in UIManager
...
Prevent setting the same class multiple times
2017-01-07 18:03:51 -08:00
Nicolas Gallagher
1b86d02300
[change] wrap layout measurement in 'asap'
2017-01-07 18:03:03 -08:00
Nicolas Gallagher
c56b472258
[change] depend on normalize-css-color
...
Fix #308
2017-01-07 18:00:17 -08:00