Daniel Büchele
892913a69d
Google analytics tracking
...
Summary:
Adds tracking for:
- short URL created
- value in interactive documentation changed
Reviewed By: priteshrnandgaonkar
Differential Revision: D7123493
fbshipit-source-id: 2fc19fa6c9b5614043af508a82e898b3ccefcbaa
2018-03-01 06:42:01 -08:00
Daniel Büchele
d0bee487e0
add tracking for code generators
...
Summary: Tracks a Google Analytics event once the code generator is opened.
Reviewed By: emilsjolander
Differential Revision: D7097182
fbshipit-source-id: 637a96db981f5e90c9f7ce155ba8669b8dac98fa
2018-02-27 07:13:53 -08:00
Pascal Hartig
6d7eca8e42
Fix typo in docs
...
Summary:
"feature" should be "features" but it's already used twice in that paragraph so
I replaced it with "showcases" instead.
Reviewed By: emilsjolander
Differential Revision: D7042770
fbshipit-source-id: 0287f8746feca5c9f651950c8e9c24d2e86d55e9
2018-02-21 09:13:31 -08:00
Daniel Büchele
e024943c4b
bugfixes
...
Summary:
- adds favicon
- adds page titles
- fixes bug in react native code gen
allow-large-files
Reviewed By: emilsjolander
Differential Revision: D7013492
fbshipit-source-id: d29a56a7caddf0da4fb19a0ba443c6906ccfff56
2018-02-19 02:38:16 -08:00
Sophie Alpert
a2b6ddb7b1
Update license headers for MIT license
...
Summary:
Includes React Native and its dependencies Fresco, Metro, and Yoga. Excludes samples/examples/docs.
find: ^(?:( *)|( *(?:[\*~#]|::))( )? *)?Copyright (?:\(c\) )?(\d{4})\b.+Facebook[\s\S]+?BSD[\s\S]+?(?:this source tree|the same directory)\.$
replace: $1$2$3Copyright (c) $4-present, Facebook, Inc.\n$2\n$1$2$3This source code is licensed under the MIT license found in the\n$1$2$3LICENSE file in the root directory of this source tree.
Reviewed By: TheSavior, yungsters
Differential Revision: D7007050
fbshipit-source-id: 37dd6bf0ffec0923bfc99c260bb330683f35553e
2018-02-16 18:27:33 -08:00
Emil Sjölander
bdc37b0797
shipit
...
Reviewed By: danielbuechele
Differential Revision: D7010371
fbshipit-source-id: 9a111010755ee134bded7500c461342b944b4d62
2018-02-16 09:58:06 -08:00
Daniel Büchele
100afcfdb0
Add Yoga logo
...
Summary: Yoga logo was hotlinked from the old pages. This adds the logo to the sources
Reviewed By: emilsjolander
Differential Revision: D7009804
fbshipit-source-id: d913223e042b1bd9cf2ddab7c74d864e482d94b3
2018-02-16 07:22:06 -08:00
Daniel Büchele
b3436d5eba
Default position to NaN
...
Summary: The position record defaulted to 0, which was wrong. No it defaults to NaN, which is the same as not having a value at all.
Reviewed By: emilsjolander
Differential Revision: D7009783
fbshipit-source-id: 83810da87e983f8d4d3e428f1f5fab0928bce58d
2018-02-16 07:22:06 -08:00
Daniel Büchele
c5371aca64
select value on focus
...
Summary: select the value of any input element once the field gets focus.
Reviewed By: emilsjolander
Differential Revision: D7009723
fbshipit-source-id: e1bc0f4b219958d8bdb79ef1a583cad86157b050
2018-02-16 07:22:06 -08:00
Emil Sjölander
9b3104577c
Tweak playground on landing page
...
Reviewed By: danielbuechele
Differential Revision: D7009909
fbshipit-source-id: a2734466efed6b9dc21f047be011b427bf67f830
2018-02-16 07:22:05 -08:00
Emil Sjölander
a1697d2307
Tweak landing page text
...
Reviewed By: danielbuechele
Differential Revision: D7009832
fbshipit-source-id: 69f7f68cc8d4f435f27c121bef4899c92f98a7a8
2018-02-16 07:22:05 -08:00
Emil Sjölander
c84ed90272
Allow playground on lg screens not just xl
...
Summary: This is now possible with the changes to centering the content
Reviewed By: danielbuechele
Differential Revision: D7009506
fbshipit-source-id: e2ff11d25dd6c388c82983d615e2a4c50b992583
2018-02-16 07:22:05 -08:00
Emil Sjölander
b21dd9891a
Final tweaks
...
Reviewed By: danielbuechele
Differential Revision: D7009456
fbshipit-source-id: 65304f648141407bc15484840647050e712e89df
2018-02-16 07:22:05 -08:00
Daniel Büchele
1822bc5eaf
Copy generated code to clipboard
...
Summary: Generated code modal now has a copy to clipboard button
Reviewed By: emilsjolander
Differential Revision: D7009716
fbshipit-source-id: 7a9b083d7067aa66ffa5b9d9c23741321547c4f6
2018-02-16 06:12:21 -08:00
Daniel Büchele
01ffe10c2f
display NaN values as undefined
...
Summary: NaN values now display a placeholder saying undefined.
Reviewed By: emilsjolander
Differential Revision: D7009509
fbshipit-source-id: a3af360cc5c9d93e95a9e10368270f053a9b2c08
2018-02-16 05:51:22 -08:00
Daniel Büchele
7f99a547f5
hover on nodes
...
Summary: Adds a hover background color to nodes.
Reviewed By: emilsjolander
Differential Revision: D7009467
fbshipit-source-id: 1e1fb4d00086a6664ad8a53a0e8dbec075987a19
2018-02-16 05:51:22 -08:00
Daniel Büchele
0e5651fb80
Relative values in code generators
...
Summary: Code generators now can handle percentage and auto values as well as numeric values (DIP)
Reviewed By: emilsjolander
Differential Revision: D7009344
fbshipit-source-id: 64ddcb61a2dce01e68e38a16e4d5865d8e4c6d5b
2018-02-16 03:58:39 -08:00
Daniel Büchele
b318c4c5c9
upgrade yoga-layout
...
Summary:
- upgraded to yoga-layout@1.9.3
- set default values correctly
- catch errors
Reviewed By: emilsjolander
Differential Revision: D7001154
fbshipit-source-id: 49527576c61ce109ba0af0f50c981cf5c2c7d41a
2018-02-15 17:10:33 -08:00
Emil Sjölander
d617ab6662
Tweak footer styling
...
Reviewed By: priteshrnandgaonkar
Differential Revision: D6999652
fbshipit-source-id: 93f4e43894388bb607112691a0b97e2e12a7df23
2018-02-15 09:12:34 -08:00
Daniel Büchele
10061af491
enum title display
...
Summary: lower case and centerd
Reviewed By: emilsjolander
Differential Revision: D6998485
fbshipit-source-id: c06472afa4ccaa25ebf7c3c791d697b1fdc7732c
2018-02-15 08:36:40 -08:00
Daniel Büchele
91621641e6
visually center root node
...
Summary: root node is now centerwed between edge and editor
Reviewed By: emilsjolander
Differential Revision: D6989159
fbshipit-source-id: ce2621402d380843125fabc43452c64ea3b563dd
2018-02-15 08:36:40 -08:00
Pritesh Nandgaonkar
35c6931ade
Remove unwanted footer items
...
Summary: Remove unwanted footer items
Reviewed By: emilsjolander
Differential Revision: D6999348
fbshipit-source-id: e1ff13b8a5a497bfc54e04294994eddef48bbf94
2018-02-15 08:13:40 -08:00
Pritesh Nandgaonkar
aac40cf89b
Footer implementation
...
Summary: Footer Implementation
Reviewed By: emilsjolander
Differential Revision: D6998645
fbshipit-source-id: db637f2d9fe1cdbcaa8366e0cc03f2bf67e2543a
2018-02-15 06:21:01 -08:00
Pritesh Nandgaonkar
69242938f7
Add min/max in YogaRecord
...
Summary: Add min/max in YogaRecord
Reviewed By: emilsjolander
Differential Revision: D6998533
fbshipit-source-id: 4613c99bd3a4cb3b8fbe577909157b25f3bef9c7
2018-02-15 06:21:00 -08:00
Emil Sjölander
fb30f7ddcb
Responsify
...
Reviewed By: danielbuechele
Differential Revision: D6998697
fbshipit-source-id: ea15f1b1ce3f518c194dc66169413a92e0d870bc
2018-02-15 06:21:00 -08:00
Daniel Büchele
43fda26275
add share and code buttons
...
Summary: Adds code and share buttons to the editor
Reviewed By: emilsjolander
Differential Revision: D6989097
fbshipit-source-id: 67478fe0810a0af43524f24458c520acf2999219
2018-02-14 11:03:59 -08:00
Emil Sjölander
3ec41b656f
Markdown redirect frontmatter
...
Reviewed By: danielbuechele
Differential Revision: D6987631
fbshipit-source-id: 8b3431fa885fb94d4a87119b5a5199db0b36b20c
2018-02-14 08:49:37 -08:00
Daniel Büchele
740ef6cd9e
flexWrap, alignContent, initialPlayground
...
Summary: Adds `initialPlayground` to the markdown header. Adds contents fro alignContent and flexWrap.
Reviewed By: emilsjolander
Differential Revision: D6987513
fbshipit-source-id: 41de309d427a9f42e09477170fb8512ce1e7a816
2018-02-14 08:17:21 -08:00
Daniel Büchele
8c5cbf698b
Inline controls for docs
...
Summary:
Adding inline controls in markdown using:
```
<controls prop="flexWrap"></controls>
```
Reviewed By: emilsjolander
Differential Revision: D6987150
fbshipit-source-id: 28def12df702ba5d5d5b6a83dd1cb907716d1b1c
2018-02-14 08:17:21 -08:00
Emil Sjölander
5f2cf6623f
Bump size of documentation sidebar
...
Reviewed By: danielbuechele
Differential Revision: D6978450
fbshipit-source-id: c82da40e2ef44b360cb98e1cc0a28b516aa2e573
2018-02-13 11:43:04 -08:00
Emil Sjölander
4b7efb73d7
Change some default playground styling
...
Reviewed By: danielbuechele
Differential Revision: D6977989
fbshipit-source-id: 64975685490b8a2230d4effc8791c028b680d2b7
2018-02-13 11:43:04 -08:00
Emil Sjölander
a6b7e34187
Go over property descriptions and add documentation links
...
Reviewed By: danielbuechele
Differential Revision: D6977090
fbshipit-source-id: cc8a6acda8b9b7f007ad0a2f83249d4e6037bb0f
2018-02-13 11:43:04 -08:00
Emil Sjölander
e50308e823
Tweak styling of list and code in docs
...
Reviewed By: danielbuechele
Differential Revision: D6976762
fbshipit-source-id: 6decc7af180773193e3811253ada7f8d543c6cc8
2018-02-13 11:43:04 -08:00
Emil Sjölander
b6a13ce43a
Mark selected page in toolbar
...
Reviewed By: danielbuechele
Differential Revision: D6976597
fbshipit-source-id: 280623b4dbf18eb008da846077fc8f5277eccc09
2018-02-13 11:43:03 -08:00
Daniel Büchele
96a87a811d
Shorten playground URL
...
Summary: Shorten URL using Google's URL shortner and display URL for copying.
Reviewed By: emilsjolander
Differential Revision: D6976973
fbshipit-source-id: cc791ffbf9e01a8dc2e0a40d05bce5022a3957bc
2018-02-13 09:45:06 -08:00
Emil Sjölander
025ee03cb1
Add copywrite headers to css files
...
Reviewed By: danielbuechele
Differential Revision: D6976529
fbshipit-source-id: 7f0c3fdd70105cbe055fa49f10eac3bdaf84b5c2
2018-02-13 09:16:03 -08:00
Emil Sjölander
3aca5965dc
Fix sizing of playground in landing page
...
Reviewed By: danielbuechele
Differential Revision: D6976272
fbshipit-source-id: e9cf8582aa4f8d97190b40d5b7cf219ff1ef8ae5
2018-02-13 07:42:41 -08:00
Emil Sjölander
82e44dbf04
Handle external doc links
...
Reviewed By: danielbuechele
Differential Revision: D6976132
fbshipit-source-id: 56bd33816a312af12ba9a0f088c9f49a42ef9913
2018-02-13 06:55:33 -08:00
Emil Sjölander
9b501dd9eb
Scroll doc sidebar not whole page
...
Reviewed By: danielbuechele
Differential Revision: D6976133
fbshipit-source-id: 7807aa4e2ab0ed013fbd1f4bbef2ee1b8098dff6
2018-02-13 06:55:33 -08:00
Daniel Büchele
699b1f5012
Fixing playground editing
...
Summary: editing numerical values didn't work. this fixes it and cleans up the API of the playground
Reviewed By: emilsjolander
Differential Revision: D6976128
fbshipit-source-id: 9b1ace9d93ba8e597bdfb4842ed6adcaf8b77fd9
2018-02-13 06:16:12 -08:00
Daniel Büchele
9c877a621e
fix inserting/deleting children
...
Summary: Inserting or deleting nodes threw an error, due to some changes I made earlier. This fixes the error.
Reviewed By: emilsjolander
Differential Revision: D6975950
fbshipit-source-id: d04df08260ab8ab248726809329e69f4d264decd
2018-02-13 06:16:12 -08:00
Daniel Büchele
a3144150e0
fix Yoga imports for build script
...
Summary: The bundling of gatsby is done in node. This caused the node-libs from yoga being loaded. This directly imports the browser version.
Reviewed By: emilsjolander
Differential Revision: D6975779
fbshipit-source-id: 0257a86733c5552259b171309e59cc676786621e
2018-02-13 06:16:12 -08:00
Emil Sjölander
9eb03b1bcd
playground doc page first draft
...
Reviewed By: danielbuechele
Differential Revision: D6968725
fbshipit-source-id: 588018a347a723b32e4dcab407c4da2db0d85130
2018-02-13 04:01:04 -08:00
Emil Sjölander
7e3136c347
non-playground doc page first draft
...
Reviewed By: danielbuechele
Differential Revision: D6968540
fbshipit-source-id: c5d408adb1d11c429d72a0f180ce3154ae0922a6
2018-02-13 04:01:04 -08:00
Emil Sjölander
c3de8016c0
Move footer to only landing page
...
Reviewed By: danielbuechele
Differential Revision: D6968277
fbshipit-source-id: ec01d6e0de6a76ab9235378a1c1a29dcf7903ae3
2018-02-13 04:01:04 -08:00
Emil Sjölander
af45863f8e
Docs page first draft
...
Reviewed By: danielbuechele
Differential Revision: D6968201
fbshipit-source-id: f08104428188b8b3225b2803c9f2165ee653a0b6
2018-02-13 04:01:04 -08:00
Emil Sjölander
e7c56ccd1e
Landing page first draft
...
Reviewed By: danielbuechele
Differential Revision: D6964899
fbshipit-source-id: ea9fed66ba0376a5cd2efda4d631cc14e591e666
2018-02-12 10:46:04 -08:00
Emil Sjölander
de8cab8e60
Footer design
...
Reviewed By: danielbuechele
Differential Revision: D6964900
fbshipit-source-id: 68831f101ef2112613cd170cb90bdd9235441c9d
2018-02-12 10:46:04 -08:00
Emil Sjölander
9e0f751464
Toolbar design
...
Reviewed By: danielbuechele
Differential Revision: D6964901
fbshipit-source-id: c052449d0ae3da91bec64c8f9da867244022ccf1
2018-02-12 10:46:03 -08:00
Daniel Büchele
951a429ac5
Template for docs pages
...
Summary:
- Dynamic loading of documentation pages
- code highlighting for markdown files
- editing playground from sidebar
Reviewed By: emilsjolander
Differential Revision: D6964951
fbshipit-source-id: 1c7f36afa8d23215471d5b9a9c01bd2241c2008e
2018-02-12 10:46:03 -08:00