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
Pritesh Nandgaonkar
269619a419
Fixed Playground References for examples
...
Summary: Fixed Playground References for examples
Reviewed By: emilsjolander
Differential Revision: D7009922
fbshipit-source-id: 3025aebb383fb8e2be81e8ff59c0a071ce0860cb
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
056b75858c
Tweak documentation
...
Reviewed By: danielbuechele
Differential Revision: D7009695
fbshipit-source-id: 145eca292e5cf95413caf5bc81b033419adb67a1
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
Emil Sjölander
bba81781af
Copy review
...
Reviewed By: danielbuechele
Differential Revision: D7009457
fbshipit-source-id: d5053751a2bde369a65a740c03ace5bbd2eec02f
2018-02-16 07:22:05 -08:00
Pritesh Nandgaonkar
0c74a72fac
Fix playground references
...
Summary: Fix playground references
Reviewed By: emilsjolander
Differential Revision: D7009698
fbshipit-source-id: 276fa1e5b98f05db281e101c90d6f19a1af77752
2018-02-16 06:42:02 -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
Emil Sjölander
0ca44f3001
Document layout direction
...
Reviewed By: priteshrnandgaonkar
Differential Revision: D7000393
fbshipit-source-id: 2e5ae6a3fb69386920655bdfeee71a11f1775c2a
2018-02-16 03:49:48 -08:00
Pritesh Nandgaonkar
3f85763797
Documentation for Writing documentation
...
Summary: Documentation for "Writing documentation"
Reviewed By: emilsjolander
Differential Revision: D7000294
fbshipit-source-id: 633389a5e32ddd54be8f09b0945db5b9198d9552
2018-02-16 03:18:58 -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
d4b20f5793
Documentation for absolute/relative layout
...
Summary: Documentation for absolute/relative layout
Reviewed By: emilsjolander
Differential Revision: D6998594
fbshipit-source-id: 25dacbb87e067ab8abd555fd24611776b0332047
2018-02-15 06:21:01 -08:00
Pritesh Nandgaonkar
89df2d9475
Google Analytics added
...
Summary: Google analytics added
Reviewed By: emilsjolander
Differential Revision: D6998583
fbshipit-source-id: 3886964407ec32454da4770b0fe80185e8e18881
2018-02-15 06:21:01 -08:00
Pritesh Nandgaonkar
79fa6f8d58
Documentation for min/max
...
Summary: Documentation for min/max
Reviewed By: emilsjolander
Differential Revision: D6998539
fbshipit-source-id: 65a0c1713fb5a01e41e0afcfbefa1b0280c82ed5
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
Pritesh Nandgaonkar
1b66b5d941
Documentation added for width and height
...
Summary: Width and height documentation
Reviewed By: emilsjolander
Differential Revision: D6978015
fbshipit-source-id: f62972acaf70be2b6df5056b5deed2a893c10b4c
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
c06ee92251
Add standalone docs
...
Reviewed By: danielbuechele
Differential Revision: D6976384
fbshipit-source-id: 329dd6b5997ab83d408fb330421624cf85e3f09e
2018-02-13 07:42:41 -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
cac77e5ffa
Add contributing docs
...
Reviewed By: danielbuechele
Differential Revision: D6976258
fbshipit-source-id: 71b3d0ab4a071ce0c4a9c1241cd6295aa6d52b8e
2018-02-13 07:31:58 -08:00
Emil Sjölander
49f1d7b5f6
Add external doc links for Litho, ComponentKit, and React Native
...
Reviewed By: danielbuechele
Differential Revision: D6976131
fbshipit-source-id: 83f5f59cb839d0c2f291621f9f88678261077082
2018-02-13 06:55:33 -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
Emil Sjölander
8ba663f6f4
Document margins, paddings, and borders
...
Reviewed By: danielbuechele
Differential Revision: D6976134
fbshipit-source-id: dcf870d9a88478ed1aef68e9840e7b17467b87bb
2018-02-13 06:55:32 -08:00
Emil Sjölander
8f35484262
Document flexing
...
Reviewed By: danielbuechele
Differential Revision: D6976135
fbshipit-source-id: e9051b1e583d909aefe76f7aa9505467890a0d4c
2018-02-13 06:55:32 -08:00
Emil Sjölander
1e3143656d
Document aspect ratio
...
Reviewed By: danielbuechele
Differential Revision: D6976130
fbshipit-source-id: caf3cc1d1d1c00fee03ca26966fb57d1796e1604
2018-02-13 06:55:32 -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