Nicolas Gallagher
5cd533e6cc
0.3.1
0.3.1
2018-01-16 11:15:45 -08:00
Nicolas Gallagher
d5e8d85ce9
Fix example in babel plugin README
2018-01-16 11:11:50 -08:00
Nicolas Gallagher
e234568a34
Fix source links in documentation
2018-01-11 12:59:44 -08:00
Nicolas Gallagher
19cf0711bc
[add] StyleSheet support for 'overscrollBehavior'
...
An experimental CSS property to control the behavior when the scroll
position of a scroll container reaches the edge of the scrollport. This
allows web apps to get closer to native scrolling behaviour and
performance.
https://wicg.github.io/overscroll-behavior/
https://developers.google.com/web/updates/2017/11/overscroll-behavior
Fix #765
2018-01-11 12:58:43 -08:00
Johannes
067e3f346f
[fix] KeyboardAvoidingView missing 'this' binding
...
Close #762
2018-01-11 12:53:54 -08:00
Nicolas Gallagher
2117e44e9d
[fix] limit Image loader deferral to 1000ms
...
This patch introduces a limit on how long image loading is deferred, and
mitigates an issue with lengthy delays to 'requestIdleCallback' in the
Chrome browser.
Fix #759
2018-01-11 12:08:30 -08:00
Nicolas Gallagher
902ba22877
Update to flow-bin@0.63.1
2018-01-09 17:49:52 -08:00
Nicolas Gallagher
60c2cd65df
Update to lint-staged@6.0.0
2018-01-09 17:36:19 -08:00
Nicolas Gallagher
fde29326f1
Update to lerna@2.6.0
2018-01-09 17:35:53 -08:00
Nicolas Gallagher
44d795437e
Update to storybook@3.3.6
2018-01-09 17:34:28 -08:00
Nicolas Gallagher
03598d869b
Update to babel-plugin-tester@5.0.0
2018-01-09 17:31:52 -08:00
Nicolas Gallagher
a3e44a5c60
Update to enzyme@3.3.0
2018-01-09 17:27:38 -08:00
Nicolas Gallagher
02b124eceb
Update yarn.lock
2018-01-08 18:53:05 -08:00
Nicolas Gallagher
91472bc3d6
0.3.0
0.3.0
2018-01-08 18:42:16 -08:00
Nicolas Gallagher
7f45c52ce7
Update to inline-style-prefixer@4.0.0
2018-01-08 18:31:36 -08:00
Nicolas Gallagher
b6ef1d3a36
[fix] handle "monospace" font-family on web
...
This hack corrects the inheritance and scaling of font size when the
font-family is "monospace".
2018-01-08 12:19:24 -08:00
Maxime Thirouin
fd6ccbcfb3
[fix] ignore more native-only View/Text props
...
Fix #735
Close #753
2018-01-08 12:10:46 -08:00
Maxime Thirouin
17614e348b
Use prettier config instead of CLI args
...
This allows IDE plugins that rely on prettier config (introduced in
[1.6.0](https://github.com/prettier/prettier/pull/2434 )) to detect
prettier and run it automatically with the correct config.
Close #757
2018-01-08 12:06:58 -08:00
Maxime Thirouin
c26ef0eb3b
Run precommit hook automatically
...
Help to ensure that code is formatted and linted before commits and PRs.
Fix #755
Close #756
Close #754
2018-01-08 11:59:26 -08:00
Nicolas Gallagher
b78206d2f4
Remove 'transform-runtime' from webpack example
2018-01-08 11:49:28 -08:00
Nicolas Gallagher
69e0396fb1
Minor README edit
2018-01-05 16:35:39 -08:00
Nicolas Gallagher
6d9154196e
[fix] StyleSheet.hairlineWidth guard against missing document.body
2018-01-04 14:30:24 -08:00
Nicolas Gallagher
87fdd6c73b
[change] 'react-native-web' module organization and exports
...
The patch reorganizes the top-level module division of the
'react-native-web' project.
Previously, the package's exported modules were found in:
apis/*/index.js
components/*/index.js
components/*/*.js
modules/*/index.js
propTypes/*.js
Now, each part of the exported API is found in:
exports/*/index.js
And anything not directly part of the exported API is found in:
modules/*/index.js
vendor/*/index.js
Close #748
2018-01-04 14:30:24 -08:00
Nicolas Gallagher
209bd3aee1
[fix] babel-plugin support for 'react-native-web' module name
...
Now rewrites import/export/require statements from 'react-native-web'.
Install the plugin in the 'benchmarks' package.
2018-01-01 12:01:22 -08:00
Nicolas Gallagher
46e77d0b00
Change babel presets
...
Tune the compiled output to reduce file size.
2017-12-31 15:47:16 -08:00
Nicolas Gallagher
6f10f6be9c
[fix] AppRegistry.unmountApplicationComponentAtRootTag
...
Fixes the bad import of a named export rather than the default export.
2017-12-30 19:06:03 -08:00
Nicolas Gallagher
0d0fdc15ac
Minor docs fixes
2017-12-30 18:43:05 -08:00
Nicolas Gallagher
bff3f50ae0
Fix release script
2017-12-30 18:42:35 -08:00
Liron Yahdav
85aaa39206
[fix] i18n of styles when using 'setNativeProps'
...
Close #732
2017-12-30 14:31:22 -08:00
Nicolas Gallagher
b85a7062be
Fix formatting of benchmarks table
2017-12-30 14:11:54 -08:00
Nicolas Gallagher
af47d5f414
[fix] React warning when using hitSlop prop
...
Make sure the hitSlop element has a 'key'.
Fix #743
2017-12-30 14:06:33 -08:00
Nicolas Gallagher
41d90e0238
[fix] ReactDOM hydration warnings in development
...
Don't try to hydrate from SSR HTML during development.
Fix #745
2017-12-30 14:02:01 -08:00
Nicolas Gallagher
86263a2fa0
Reorganize and add to benchmarks
...
Rearrange the benchmark code so that each implementation is
self-contained. Adds the SierpinskiTriangle case that 'emotion'
introduced in their fork of the 'react-native-web' benchmarks. And make
it possible to run benchmarks on a per-library basis.
2017-12-30 13:53:04 -08:00
Nicolas Gallagher
f6d1caab9d
Document web-only Switch props
2017-12-26 09:19:04 +00:00
Nicolas Gallagher
1776891736
Improve project introduction and guides
...
Adopt the structure of the React README and improve the contribution
guidelines to include Facebook's CoC. Fix various links following the
move to a monorepo.
2017-12-26 09:12:15 +00:00
Nicolas Gallagher
f52a851972
Use an .eslintignore file
2017-12-24 12:50:44 +00:00
Nicolas Gallagher
3026465ae3
Monorepo
...
Introduces a monorepo structure, relies on yarn workspaces to share
dependencies, and lerna for syncing versions across the monorepo.
* Create 2 workspaces:
'packages' and 'website'
* Create 2 public packages:
'babel-plugin-react-native-web' and 'react-native-web'
* Create 1 private package:
'benchmarks'
A simple release script runs the tests, builds the package assets,
increments the package version numbers, git commits and tags, publishes
the package to npm, pushes the changes to github, and releases the
website update.
Close #657
2017-12-24 12:33:41 +00:00
Nicolas Gallagher
14d87f4b30
Fix tests not running in CI
...
Accidentally stopped running tests after this patch:
9a5b932139
2017-12-23 13:16:53 +00:00
Nicolas Gallagher
5881f07323
Fix typo in benchmark results
2017-12-20 23:23:24 +00:00
Nicolas Gallagher
b545fe47a7
0.2.2
0.2.2
2017-12-20 23:07:21 +00:00
Mo Kouli
4da4dd57c4
[fix] AppContainer initial state
...
Regression introduced in:
217ad97bfd
Close #738
2017-12-20 23:05:00 +00:00
Nicolas Gallagher
3e12ddfb2b
0.2.1
0.2.1
2017-12-20 17:31:25 +00:00
Johannes
3ecf5d2ed2
[fix] corrupt hydrate import
2017-12-20 17:45:45 +01:00
Nicolas Gallagher
0a5acdb996
Update version in benchmark results table
2017-12-20 15:05:58 +00:00
Nicolas Gallagher
a712a58eba
0.2.0
0.2.0
2017-12-20 15:01:12 +00:00
Nicolas Gallagher
6de892c92b
[add] CheckBox component
...
Implements the CheckBox component and adds a web-only 'color' prop to
allow the color of the checkbox to be customized.
2017-12-20 14:51:44 +00:00
Nicolas Gallagher
495defd69b
[fix] StyleSheet.hairlineWidth on retina screens
2017-12-20 11:54:13 +00:00
Nicolas Gallagher
1a20fcfce6
[add] StyleSheet.compose
...
As per the recent addition to React Native.
2017-12-20 11:27:57 +00:00
Nicolas Gallagher
ed1e45a43d
Link to yarnpkg website instead of npmjs
2017-12-20 11:13:17 +00:00
Nicolas Gallagher
556dc8926e
[fix] ScrollView animated scrollTo
...
Rely on web's native smooth scrolling mechanism when implemented in the
browser: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior
Fix #593
2017-12-19 15:52:30 +00:00