902 Commits

Author SHA1 Message Date
Nicolas Gallagher 1cf152e8a0 Update build tools 2017-06-09 11:52:38 -07:00
Nicolas Gallagher d034a0c6ec [change] Linking.getInitialURL returns initial URL
Close #486
2017-06-09 10:44:32 -07:00
Fabrizio Moscon 33d1cdf193 Fix webpack documentation link 2017-06-09 10:28:30 -07:00
Maxime Thirouin 483a76cb5c Fix incorrect links in View documentation 2017-06-09 15:21:10 +02:00
Nicolas Gallagher 65055028c6 0.0.98 0.0.98 2017-06-07 16:03:26 -07:00
Nicolas Gallagher 93f425e414 [fix] event normalization
Fix #508
2017-06-07 16:02:45 -07:00
Nicolas Gallagher ce4cc8a946 Remove avoidable vendor code
Updates the 'StyleSheetValidation' and 'ColorPropType' implementations
with the latest from React Native.
2017-06-05 20:06:22 -07:00
Nicolas Gallagher 77fd867421 [fix] correct types
Fix #465
2017-06-05 19:51:34 -07:00
Nicolas Gallagher 22999d7e5b Run lint and test before releasing new versions 2017-06-02 15:29:11 -07:00
Nicolas Gallagher 3c400a662b 0.0.97 0.0.97 2017-06-02 15:27:48 -07:00
Nick e78ce713cb [fix] TextInput selection for Blink on Android
Close #492
2017-06-01 09:30:22 -07:00
Nicolas Gallagher 70282cb4ca Format 2017-06-01 09:20:07 -07:00
Nicolas Gallagher 7abdb33a1d 0.0.96 0.0.96 2017-06-01 08:51:53 -07:00
Tasveer Singh a9c7b38df9 [fix] low-level performance tuning
createDOMProps: avoid using default parameters as Babel compiles the
function to calls using 'arguments', which Chrome flags as a deopt.
Replace 'typeof' calls with slightly faster calls to constructor.

onLayout: batch layout measurements in a single requestAnimationFrame.

Close #490
2017-06-01 08:45:40 -07:00
Karan Thakkar d57fb6407a Fix link to getting started in AppRegistry doc
Fixes #498
2017-06-01 10:50:38 +05:30
Nicolas Gallagher bcdeda5dab [fix] Flow type checking and annotations
Fixes dozens of Flow errors; adds type annotations; marks more files for
Flow type checking. Fixes a bug in 'AppState'.

15 Flow errors remaining. Several React Native files are still not type
checked (e.g., PanResponder, Touchables)

Ref #465
2017-05-27 10:44:33 -07:00
Nicolas Gallagher edef737249 Move CONTRIBUTING.md 2017-05-27 08:29:22 -07:00
Nicolas Gallagher 9163b974db Reduce number of dotfiles 2017-05-25 23:10:37 -07:00
Nicolas Gallagher a388ef3e26 Rename 'examples' to 'docs/storybook'
Also changes several npm script names
2017-05-25 22:22:20 -07:00
Nicolas Gallagher a84ecefa5d Rename 'performance' to 'benchmarks' 2017-05-25 21:44:01 -07:00
Nicolas Gallagher 54af7e9da2 0.0.95 0.0.95 2017-05-25 13:11:36 -07:00
Peggy Rayzis be3c78f317 Set up flow config; add third party libdefs 2017-05-25 11:23:58 -07:00
Nicolas Gallagher 6b85f5a22a Use lint-staged to help format & lint before commit 2017-05-25 11:10:21 -07:00
Nicolas Gallagher 875a2c98b3 Use lint-staged to help format & lint before commit 2017-05-25 11:09:17 -07:00
Nicolas Gallagher 6525d9d84a Fix lint errors in 'examples' directory 2017-05-25 11:01:51 -07:00
Nicolas Gallagher 61356a786b Format 'examples' directory 2017-05-24 15:23:13 -07:00
Nicolas Gallagher 864250f34d Format root .js files 2017-05-24 15:21:25 -07:00
Louis Lagrange 7ee570f0ed Add compatibility for BackHandler
Fixes #480
2017-05-22 11:23:59 -07:00
vaukalak 118b64a932 Add docs on platform-specific components 2017-05-22 11:22:02 -07:00
Nicolas Gallagher 3cc1e480a7 Update benchmark dependencies 2017-05-08 14:46:40 +01:00
Nicolas Gallagher 124de7562d Add 'advanced use' and 'style' docs
Fix #450
2017-05-06 16:06:20 +01:00
Nicolas Gallagher 7aef8f04c1 Use class components in benchmarks 2017-05-06 16:06:16 +01:00
Nicolas Gallagher 08a353fbef Update webpack 2017-05-05 10:59:07 -07:00
Nicolas Gallagher 51557d306b Update prettier 2017-05-05 10:58:12 -07:00
Nicolas Gallagher 6b910166b2 Update inline-style-prefixer and fbjs 2017-05-05 10:56:44 -07:00
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