Nicolas Gallagher
668d389035
Update React devDependencies
2017-05-05 10:51:17 -07:00
周中原
79a6a5a486
Fix presentation of props in 'Button' docs
2017-05-05 10:30:10 -07:00
Nicolas Gallagher
1c37a42566
0.0.94
0.0.94
2017-05-01 12:27:55 -07:00
Nicolas Gallagher
c38369ac0f
[fix] RTL style registration and resolution
...
* Lazy-register RTL variants to generate class names
* Don't RTL-flip translateX
2017-05-01 12:27:38 -07:00
Nicolas Gallagher
03769f7d45
0.0.93
0.0.93
2017-04-29 19:53:45 -07:00
Nicolas Gallagher
eb43a8f3e7
[fix] setNativeProps with RTL layout
...
Ensure that 'setNativeProps' doesn't try to i18n flip styles that have
already been flipped. This is hacked into the current design.
Registering both RTL and LTR styles is not implemented yet either.
2017-04-29 19:49:59 -07:00
Nicolas Gallagher
cdf13b880d
Reorganize 'createReactDOMStyle'
...
1. Rename 'expandStyle' to 'createReactDOMStyle'
2. Move use of 'i18nStyle' out of 'createReactDOMStyle' to decouple the
two transformations.
3. Move the style property resolvers into 'createReactDOMStyle'
2017-04-29 19:03:48 -07:00
Nicolas Gallagher
47fad1ef58
[fix] setNativeProps
2017-04-29 18:58:15 -07:00
Nicolas Gallagher
5f69c8e8b8
0.0.92
0.0.92
2017-04-29 12:19:16 -07:00
Nicolas Gallagher
21550db5f2
[fix] stop propagation of ScrollView 'onScroll' event
...
Fix #440
2017-04-29 12:15:19 -07:00
Nicolas Gallagher
1cae5d55a1
[fix] setNativeProps DOM style copying
...
The 'style' object of an HTML node is a 'CSSStyleDeclaration'. Use the
'CSSStyleDeclaration' API to copy the inline styles, rather than
treating it like a plain object. This avoids errors that were resulting
from indices and property names being used a key-value pairs in the
resulting style copy.
Fix #460
Ref #454
2017-04-29 11:09:43 -07:00
Nicolas Gallagher
11d23f850a
0.0.91
0.0.91
2017-04-28 15:40:12 -07:00
Nicolas Gallagher
d994a25017
0.0.90
0.0.90
2017-04-28 15:17:44 -07:00
Nicolas Gallagher
756df70154
[fix] check 'transform' style is array before mapping
2017-04-28 15:15:57 -07:00
Nicolas Gallagher
f0b06419f9
Move prefixStyles module
2017-04-27 16:27:45 -07:00
Nicolas Gallagher
60ff75705e
[fix] remove stray 'length' property from style object
...
Fix #454
2017-04-27 15:10:03 -07:00
Nicolas Gallagher
5e8ad67296
0.0.89
0.0.89
2017-04-26 15:12:19 -07:00
Nathan Broadbent
ba24a882be
Link to another starter kit example
2017-04-26 15:11:16 -07:00
Nicolas Gallagher
c7686209cd
Update prettier
2017-04-26 15:07:44 -07:00
Nicolas Gallagher
f1b281ae32
Update debounce dependency
2017-04-26 15:06:41 -07:00
Nicolas Gallagher
b676fbd5e0
[fix] propTypes removal in production builds
...
Updates the relevant babel plugin, which now replaces component
propTypes with an empty object, avoiding the majority of potential
runtime errors related to this transform.
Fix #423
2017-04-26 11:05:33 -07:00
Nicolas Gallagher
51aef6c791
0.0.88
0.0.88
2017-04-24 13:28:38 -07:00
Nathan Leung
ae9a9cde5f
Fix example webpack config in documentation
2017-04-24 13:21:46 -07:00
Nicolas Gallagher
beb907b180
Rename some variables in StyleRegistry
2017-04-24 13:21:27 -07:00
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