MoOx
70e3ea8b57
Add documentation for Node.js module aliasing
...
Close #1315
2019-05-15 10:57:51 -07:00
Yukiya Nakagawa
27713bd8cc
Fix docs typo
...
Close #1297
2019-05-15 10:44:31 -07:00
Nicolas Gallagher
3d3ea9aeed
[change] Remove ART export
...
Anticipate the removal of ART from React Native core:
https://github.com/facebook/react-native/issues/23313
Simplifies dependencies and builds for web apps.
Close #1251
2019-03-11 13:33:49 -07:00
Nicolas Gallagher
77d4bd8a97
[change] Compile using Babel 7
...
Fix #1170
Close #1205
Close #1191
2019-01-22 18:48:28 -08:00
Nicolas Gallagher
4040151ee6
[add] support for accessibilityRole and accessibilityStates
...
React Native 0.57 introduced 'accessibilityRole' and
'accessibilityStates' as cross-platform accessibility APIs to replace
'accessibilityComponentType' and 'accessibilityTraits' for Android and
iOS.
React Native for Web has supported the 'accessibilityRole' for a while.
This patch maps some of the values defined in React Native to web
equivalents, and continues to allow a larger selection of roles for web
apps. It also adds support for 'accessibilityStates', mapping values to
ARIA states with boolean values and expanding support beyond 'disabled'
and 'selected'.
Fix #1112
Close #1113
2019-01-22 18:48:25 -08:00
Raibima Putra
f7e6b43422
Fix docs typo
...
Close #1209
2018-12-21 20:46:29 +00:00
Nicolas Gallagher
91c9457392
Remove reference to create-react-native-app
...
Close #1167
2018-11-10 11:23:04 -08:00
Murtaza Raja
5db9a765b0
Fix README install command typo
...
Close #1163
2018-11-04 18:39:23 -08:00
Nicolas Gallagher
c7c1f29016
Reorganize documentation
...
Close #1092
Close #1095
2018-09-09 11:33:09 -07: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
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
8bf28dbe43
Document more instance methods in Direct Manipulation guide
...
Fix #704
2017-12-18 17:45:23 +00:00
Nicolas Gallagher
9ae95d0797
Add further details to Getting Started guide
...
Close #728
2017-12-18 17:33:44 +00:00
Kenneth Kufluk
b7e970f4e6
[add] Picker and Picker.Item components
...
Close #705
2017-12-04 16:15:23 -08:00
Nicolas Gallagher
02e62ad5d6
Lint fixes
2017-12-02 16:08:56 -08:00
Nicolas Gallagher
541d2458fb
[change] Image no longer accepts children
...
Align with recent changes to the React Native API.
2017-12-02 16:04:27 -08:00
Nicolas Gallagher
b1e860ab40
Add ImageBackground docs
2017-12-02 16:04:27 -08:00
Nicolas Gallagher
5b5b72cc19
Update eslint and prettier
2017-12-02 15:58:47 -08:00
Nicolas Gallagher
da86ea98fc
[fix] NetInfo event listeners and types
...
* Fix 'addEventListener' handler registration.
* Fix event object provided to handlers.
* Fix event object type - always include 'type' and 'effectiveType'.
* Fix unit test semantics.
* Fix documented NetInfo types.
Close #724
2017-12-02 12:47:12 -08:00
Nicolas Gallagher
c69ad3c2d6
Update presentation of Image docs
2017-10-19 12:42:45 -07:00
Nicolas Gallagher
3870445b7e
[add] jest snapshot serializer
...
Flatten style objects in snapshots
2017-10-17 17:36:34 -07:00
Jaco Bovenschen
f1ee3c003a
Fix typo in Dimensions doc
...
Close #682
2017-10-13 10:53:35 -07:00
Tiaan
e91a5ae13e
Add missing comma to example webpack config
...
Close #671
2017-10-04 11:54:22 -07:00
Nicolas Gallagher
c730a20a26
Update formatter
2017-10-01 17:01:27 -07:00
Nicolas Gallagher
09a4985fd2
Remove markdown component and api docs
2017-09-28 14:49:51 -07:00
Nicolas Gallagher
a9e61b4cd5
Docs: allow AppText to inherit font-size
2017-09-28 14:49:51 -07:00
Charlie Croom
6ef19c3ccd
[fix] latest NetInfo API
...
Update the NetInfo API to conform to the latest React Native
implementation. Web-only properties are also included now.
Fix #662
Close #663
2017-09-28 14:49:50 -07:00
Nicolas Gallagher
d6df440987
[change] React 16 support
...
Fix #364
2017-09-26 10:14:34 -07:00
Nicolas Gallagher
8ad61d9061
Update formatter
2017-09-21 14:49:31 -07:00
Nicolas Gallagher
aad904b550
[fix] remove 'use strict' from warnValidStyle
2017-09-19 15:07:54 -07:00
Peter Schussheim
f1ef0f21af
Fix typo in NetInfo docs
2017-09-14 11:31:18 -07:00
Paul Armstrong
7e8ef5b72c
Add babel plugin to rewrite import paths
...
Replace 'react-native' imports with direct imports to the relevant
module within 'react-native-web'. Follow up task is to also rewrite
'react-native-web' imports from the entry file to become direct imports
(reduces bundle size).
Close #608
2017-09-12 10:45:42 -07:00
Nicolas Gallagher
87ead7f64e
Fix doc styles
2017-09-11 15:52:41 -07:00
Nicolas Gallagher
a9f1afc07c
Update formatter and linter tools
2017-09-10 10:35:07 -07:00
Nicolas Gallagher
bae4dd806a
[change] rename createDOMElement to createElement
...
Allow 'createElement' to be used as a drop-in replacement for
'ReactDOM.createElement'.
2017-09-10 10:28:21 -07:00
Nicolas Gallagher
26bdf44a4c
[fix] TextInput keyPress events when child of Touchable
...
Fix #612
2017-09-07 11:40:00 -07:00
Nicolas Gallagher
86ea0e5eff
Fix source code URLs in docs
2017-08-31 17:42:03 -07:00
Nicolas Gallagher
8756c20ade
Minor changes and fixes to docs
2017-08-09 09:44:36 -07:00
Nicolas Gallagher
cc077e9019
[fix] allow Dimensions.set to be called on the server
...
Fix #566
2017-07-31 16:31:42 -07:00
Nicolas Gallagher
1225b00cdb
Fix publishing of documentation
2017-07-30 20:25:26 -07:00
Nicolas Gallagher
08ee7c83bb
Minor starting documentation improvement
2017-07-30 18:45:08 -07:00
Nicolas Gallagher
5fad78dcad
[fix] remove unsupported TextInput props
...
For compatibility with React Native, do not pass on unsupported
TextInput props to avoid ReactDOM warnings.
Close #571
2017-07-29 17:30:31 -07:00
Nicolas Gallagher
5e3a946f8b
Upgrade docs to use @storybook/react
2017-07-28 15:29:39 -07:00
Nicolas Gallagher
4e3d8dbb02
[change] support CSS custom properties
...
Update 'setValueForStyles' and style validation to support defining and
using custom properties.
Fix #516
2017-07-28 15:29:07 -07:00
Nicolas Gallagher
9e863d5402
Install docs dependencies separately
2017-07-22 10:47:40 -07:00
Nicolas Gallagher
e93a2eb478
Minor edits to View docs
2017-07-13 17:26:32 -07:00
Nicolas Gallagher
faec2b4a83
[fix] ScrollView to use 'touch-action' to disable scroll
...
The recommendation from the Chrome team is to use 'touch-action' to
disable scrolling (via touch modality) when passive event listeners are
in use.
Close #563
2017-07-13 17:10:38 -07:00
Nicolas Gallagher
3677f0dd57
Use more components to build docs
2017-07-11 20:18:52 -07:00