Philipp Spieß
f7ecd81a71
Fix style inconsistency
...
I discovered this inconsistency that caused the parentheses to appear/disappear when you toggle the "JSX" button. It also seems like we don't use parentheses for arrow functions with one argument, so this PR makes this behavior consistent.
2017-10-23 11:42:48 +02:00
Brian Vaughn
d5f98ca1ed
Merge pull request #156 from tricinel/feature/flow-types
...
Switch to flow types; wip related to #24
2017-10-20 09:15:24 -07:00
tricinel
ab5815b11a
Add Todo notes and better flow types
2017-10-20 18:07:44 +02:00
Lucas Lentz
1d1656c906
Add console.warn and move DocSearch component to LayoutHeader
2017-10-19 15:51:13 -02:00
Lucas Lentz
b19ea6b39b
Add window parent to docsearch in order to pass CI
2017-10-19 15:23:47 -02:00
Lucas Lentz
238ffd9709
Do the yarn prettier
2017-10-19 15:17:52 -02:00
Lucas Lentz
993df14915
Wrap Algolia search into a React component
2017-10-19 15:04:55 -02:00
Brian Vaughn
693f7633da
Merge pull request #139 from ismamz/patch-1
...
Add left padding for lists in all viewport sizes
2017-10-18 10:14:44 -07:00
Brian Vaughn
2c863e4e7c
Fixed accidental regression from a bad-merge
2017-10-17 12:02:23 -07:00
Brian Vaughn
07fe533660
Merge pull request #167 from bvaughn/header-focus-styles
...
Header focus style improvements
2017-10-17 09:38:32 -07:00
Brian Vaughn
2b44cd3df3
Show Babel load-error message if Babel fails to load from CDN
2017-10-17 09:14:02 -07:00
Brian Vaughn
75574bf0cf
Merge pull request #158 from renanpvaz/improve-adblocker-related-error-message
...
Mention ad blockers when Babel is not defined
2017-10-17 09:12:34 -07:00
tricinel
9daf248d21
Move types to separate declaration; related to #24
2017-10-17 10:16:00 +02:00
Brian Vaughn
c0affe4dd8
Added some padding to search input
2017-10-16 15:23:41 -07:00
Brian Vaughn
361e27ca9a
Merge pull request #141 from criticalbh/JSX-view-99
...
add non-jsx view to interactive code samples
2017-10-16 15:15:07 -07:00
Brian Vaughn
beeb8e8554
Header focus style improvements
2017-10-16 13:03:58 -07:00
Admir Sabanovic
8a0eda3b6e
use callback for setState
2017-10-16 21:20:00 +02:00
renanpvaz
26c975de3b
use flag to show custom message instead of error
2017-10-16 16:19:07 -02:00
Brian Vaughn
71bc3d9140
Improved sidebar nav-header focus rect appearance
2017-10-16 09:02:09 -07:00
renanpvaz
4ab3ae3685
prettier
2017-10-13 13:22:48 -03:00
renanpvaz
4a4a9596fb
mention ad blockers when babel is not defined
2017-10-13 13:02:56 -03:00
tricinel
36beba7a9b
Switch to flow types; wip
2017-10-13 10:48:09 +02:00
Admir Sabanovic
9876647f26
99 replace button with checkbox and apply proposed changes
2017-10-12 22:58:39 +02:00
Haroen Viaene
eeedf1cde5
fix(algolia): make logo show up on FF
...
Background images in svg need to have the # encoded to show up if the image type is svg+xml;utf8
fixes #130
2017-10-12 11:29:28 -07:00
Admir Sabanovic
6bd11c1636
99 fix prettier, lint and flow
2017-10-12 01:08:01 +02:00
Admir Sabanovic
527f50371f
add non-jsx view to to interactive code samples
2017-10-12 00:50:42 +02:00
Ismael Martínez
6f5518b9d6
Add left padding for lists in all viewport sizes
...
It looks wrong on medium sizes, and looks like a negative indent on large sizes.
2017-10-11 18:08:11 -03:00
renanpvaz
ba6a786f4c
simplify placeholder
2017-10-11 15:34:16 -03:00
renanpvaz
0a255fe72a
Merge branch 'master' of https://github.com/reactjs/reactjs.org into defer-babel-loading
2017-10-11 13:59:20 -03:00
renanpvaz
36e1185fde
render simple placeholder while Babel loads
2017-10-11 13:59:10 -03:00
renanpvaz
a02139b085
undo changes to algolia search
2017-10-10 17:16:45 -03:00
Florian Kissling
3a238c8d09
Fix typo
...
Restores the sidebar transition when switching from and to small screen/"sticky" sidebar.
2017-10-10 21:50:58 +02:00
Brian Vaughn
7a9f04cad8
Removed MIT section from website source file headers
2017-10-10 10:36:40 -07:00
Brian Vaughn
0eb0110df9
Merge pull request #104 from jxom/create-script-for-checks-in-ci
...
Added fbjs eslint config, fixed lint errors and warnings
2017-10-10 08:42:58 -07:00
jxom
4b155a22ed
PR changes
2017-10-10 15:30:25 +11:00
jxom
de3bd87f4b
Added fbjs eslint config, fixed lint errors and warnings
2017-10-10 08:41:44 +11:00
renanpvaz
b843de780d
Merge branch 'master' of https://github.com/reactjs/reactjs.org into defer-babel-loading
2017-10-09 17:38:51 -03:00
renanpvaz
7efe10fe90
update constant name
2017-10-09 13:27:34 -03:00
renanpvaz
80b1b83754
linting fixes
2017-10-09 13:23:16 -03:00
renanpvaz
1d48f7574e
load babel only when needed
2017-10-09 13:12:33 -03:00
Brian Vaughn
89cf6d20d6
Merge pull request #92 from damaera/fix-scroll
...
Fix scroll in CodeEditor
2017-10-09 08:58:42 -07:00
Damaera
b450b0d2c7
Fix scroll in CodeEditor, adding scroll in right panel. and adding padding bottom in code. #91
2017-10-09 14:23:41 +07:00
imagentleman
06a8b8e0bb
Fix visible background over border radius in search dropdown
2017-10-08 20:55:30 -05:00
Brian Vaughn
be1f9a60d8
Merge pull request #48 from jxom/update-sidebar-highlight-on-scroll
...
Tweak sidebar to update navigation highlight on scroll
2017-10-08 10:40:20 -07:00
Brian Vaughn
39def4b50c
Removed no-longer-used isItemActive
2017-10-08 10:39:57 -07:00
jxom
15fc32561f
Run check-all script
2017-10-08 11:34:24 +11:00
jxom
e9d0884a43
PR Changes
2017-10-08 11:33:36 +11:00
Fernando Poumián
4e0ab5622c
Format CodeEditor.js with prettier.
2017-10-07 12:31:47 -06:00
Fernando Poumián
27994d5fa0
Fix margin and border-radius in CodeEditor result and error section.
2017-10-07 12:30:22 -06:00
Fernando Poumián
dd97731a33
Fix border-radius for CodeEditor component in medium size screens.
2017-10-07 12:08:18 -06:00