Commit Graph

18 Commits

Author SHA1 Message Date
Josh Hawkins
f39926bcb8 Improve docs for select multiple (#9539)
* Readd original select multiple note

* Update forms.md
2017-10-02 00:18:08 +01:00
Brian Vaughn
52b694eaae Add new docs website (#10896)
Adds a new docs website, built with Gatsby JS, to replace the old Jekyll site. Source code for the new site lives in /www (although markdown and YML data still comes from the legacy /docs folder).

Changes to either markdown or website source code can be previewed on Netlify. The react-js bot should automatically add comments to each PR with preview links. (This preview is generated by running the newly-added yarn build:docs command in the root package.json.)

The majority of the changes in this PR are contained within the new /www directory. However some minor modifications have been made to existing content in the /docs directory:

* Modified frontmatter author block to always be an array
* Small markdown formatting tweaks
2017-09-28 10:18:04 -07:00
shifengchen
92a57bd920 Edit two errors in docs (#9659) 2017-05-11 11:34:35 +01:00
Keyan Zhang
bc9f9d29e2 Add a link to "State Updates are Merged" in the forms doc (#8851)
* Added a link to "State Updates are Merged"

* better inline links

* moved the explanation down

* Minor unrelated tweaks
2017-01-23 21:09:48 +01:00
Dan Abramov
25be2b63bd Clarify use of ES6 idiom in Forms doc 2017-01-23 17:59:44 +00:00
Keyan Zhang
6ab71526ee Add "Handling Multiple Inputs" to Forms doc (#8552)
* added "Handling Multiple Inputs"

* renamed and added a codepen

* simplified the example
2017-01-17 22:19:46 -08:00
Dan Abramov
aad104265a Tweak examples 2016-11-17 14:23:20 +00:00
Marcy Sutton
017a36c6f9 fix(a11y): add missing labels to forms doc
Showing how to create a form without labeling inputs is an accessibility anti-pattern. This change adds labels to the examples to address that. Codepen may still need to be updated depending on how that example is created.
2016-11-16 14:32:42 -08:00
Kevin Lacker
809e28223e forms breakup 2016-11-08 21:38:03 +00:00
Kevin Lacker
d068700a40 Docs: add a bunch of redirects (#8137)
* add a bunch of redirects

* add more redirects
2016-11-08 19:32:02 +00:00
Yura Chuchola
47215f9d06 Update forms.md (#8136)
The component Form in "Uncontrolled Radio Button" example doesn't need state, because it does not used in render() method.
2016-10-31 17:35:20 -07:00
Dan Abramov
b47e2d77c5 Consistent CodePen links in docs 2016-10-27 13:06:09 +01:00
王晓勇
cc0050ddeb Update forms.md (#8121) 2016-10-27 10:26:31 +01:00
Dan Abramov
74eac9addd Tweak Forms 2016-10-27 02:02:29 +01:00
Eric Nakagawa
5b407f2379 Docs update - Additional (#8115)
* Reapplied fixes to updated docs from master

* Reapplied fixes to Forms, removed ES2016 function includes()

* Missing carriage return

* Adding back some line breaks

* Making requested changes.

* Making space changes

* Fixed typo and removed unnecessary hyphen.

* Reworded select, and highlighted line

* Fixed string styles

* Refactored <label> to use htmlFor

* Another refactor of <label>

* Removed name prop from radiobutton
2016-10-27 00:14:08 +01:00
Eric Nakagawa
e5ca6f513a Forms Update (#8112)
* Reapplied fixes to updated docs from master

* Reapplied fixes to Forms, removed ES2016 function includes()

* Missing carriage return

* Adding back some line breaks

* Making requested changes.

* Making space changes
2016-10-26 13:45:25 -07:00
Dan Abramov
842d44dfa5 Fix redirects 2016-10-21 22:02:30 +01:00
Kevin Lacker
aa9544bfac New Documentation 2016-10-21 20:59:08 +01:00