443 Commits

Author SHA1 Message Date
patrick.lafrance
af18108c82 Added tests for the docgen props extract function 2019-11-13 18:21:42 -05:00
patrick.lafrance
e77c5d0e08 More tests for the prop types enhancement 2019-11-13 17:47:05 -05:00
patrick.lafrance
278ad89bfa Added tests for the prop types enhancement 2019-11-13 17:04:04 -05:00
patrick.lafrance
615416439c Added a test structure for the prop types enhancers and updated the PropDef type and default structure to enforce the summary structure 2019-11-13 16:06:23 -05:00
patrick.lafrance
2fa47ed817 Fix internal functions naming 2019-11-13 12:02:56 -05:00
patrick.lafrance
0016449141 Renamed lib2 to lib 2019-11-13 11:19:32 -05:00
patrick.lafrance
6aa96bced8 PropRow now receive a data structure instead of a React component 2019-11-13 10:46:24 -05:00
patrick.lafrance
1db7e4321d Merge thing to the new utils 2019-11-12 20:45:33 -05:00
patrick.lafrance
240075b44a Remove tests duplicate 2019-11-12 20:18:56 -05:00
patrick.lafrance
796d1fd0a3 Minor fixes 2019-11-12 19:05:33 -05:00
patrick.lafrance
2e2b895617 Added tests for the generateFuncSignature func 2019-11-12 11:15:19 -05:00
patrick.lafrance
fd1c9f1b26 Added test for the JSDoc parser 2019-11-12 09:45:43 -05:00
patrick.lafrance
3641a5f0f1 Added tests to the acorn parser 2019-11-11 17:38:43 -05:00
patrick.lafrance
322980b9b0 Moved all docgen code to a docgen folder 2019-11-11 16:53:47 -05:00
patrick.lafrance
92bfeb31b5 Moved the inspection code out of propTypes since it's specific to react not prop types 2019-11-11 16:45:16 -05:00
patrick.lafrance
b9572c4a11 Removed ununsed prop from inspection result types 2019-11-11 16:42:12 -05:00
patrick.lafrance
0b8f80b342 Improved docgen info interface 2019-11-11 16:40:17 -05:00
patrick.lafrance
a9b8cec3e6 Finishing up rendering enhancement for default values 2019-11-11 15:29:18 -05:00
patrick.lafrance
96cc4c9885 Added a acorn parser to infer types from string values and also do pretty formatting with escodegen 2019-11-10 23:25:44 -05:00
patrick.lafrance
896ebc8c6e Better default valut rendering for prop types custom, shape, object and func 2019-11-08 17:48:34 -05:00
patrick.lafrance
9f0957d8a9 Removed the quotes around the default value that were not strings 2019-11-08 16:34:25 -05:00
patrick.lafrance
416dd4e2aa Better support for shape 2019-11-08 13:08:15 -05:00
patrick.lafrance
54903a2f9a Handling more prop types type 2019-11-08 12:39:33 -05:00
patrick.lafrance
6bfd952b6f Fixed a bunch of types for prop types 2019-11-08 09:27:32 -05:00
patrick.lafrance
67a4f4bbe8 Updated PropDef type to a React component 2019-11-07 15:52:08 -05:00
patrick.lafrance
d4b6276b43 Reworking the prop types renderer 2019-11-07 08:47:32 -05:00
patrick.lafrance
f78ca0d64f JSDoc parser now take a string instead of a docgen object 2019-11-07 08:32:49 -05:00
Michael Shilman
b43b45f270 Update PropDef for web-components 2019-11-07 12:34:21 +08:00
patrick.lafrance
c9cd423ec4 clean up 2019-11-06 18:56:19 -05:00
patrick.lafrance
9acec41c11 Moved tests 2019-11-06 18:53:13 -05:00
patrick.lafrance
ff120d0098 Finished refactoring 2019-11-06 17:15:46 -05:00
patrick.lafrance
a198daaf09 Reworked the docs lib with a new prop extractor 2019-11-06 15:15:49 -05:00
Michael Shilman
f0810047d0
Addon-docs: Render array of shape properly in props table (#8707)
Addon-docs: Render array of shape properly in props table
2019-11-07 02:21:51 +08:00
Michael Shilman
a76b55e24c
Addon-docs: Render params description in props table, support @… (#8702)
Addon-docs: Render params description in props table, support @ignore
2019-11-07 02:19:34 +08:00
Michael Shilman
0bd6a484e8 Docgen extractor: Minor housecleaning 2019-11-06 14:44:03 +08:00
Michael Shilman
8adf732d32 Addon-docs: Fix "Cannot read property 'props'" 2019-11-06 11:20:38 +08:00
Michael Shilman
8741f83b3f v5.3.0-alpha.40 2019-11-06 10:52:51 +08:00
ImgBotApp
83fcbed24f
[ImgBot] Optimize images
*Total -- 1,437.78kb -> 1,129.66kb (21.43%)

/addons/docs/docs/media/vue-hero.png -- 668.06kb -> 515.54kb (22.83%)
/addons/docs/docs/media/angular-hero.png -- 769.72kb -> 614.12kb (20.22%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2019-11-05 14:57:19 +00:00
patrick.lafrance
e5896801a7 Moved the fix to the PropRow component 2019-11-05 09:45:35 -05:00
patrick.lafrance
288050860b Added support for inline shape 2019-11-05 09:04:06 -05:00
Michael Shilman
8f09ccc687 v5.3.0-alpha.39 2019-11-05 21:39:50 +08:00
Michael Shilman
437407b5c0 Addon-docs: Updated recipe for notes as component description 2019-11-05 17:40:22 +08:00
Thomas Allmer
f43047c78c feat(docs): support inline rendering for wc and enable by default 2019-11-05 01:49:03 +01:00
patrick.lafrance
fbfaae82f8 Add custom code to replace the custom string with the raw type when available 2019-11-04 18:48:58 -05:00
patrick.lafrance
fd8304ea4a Rework the jsdoc parser output and fix a rendering bug 2019-11-04 18:18:14 -05:00
patrick.lafrance
0d4574448f Merge branch 'next' into 8532-render-params-and-returns-tags-optional-description-under-func-type 2019-11-04 12:24:46 -05:00
patrick.lafrance
04bde393bc wip 2019-11-04 09:20:10 -05:00
patrick.lafrance
3f1508c732 Added test coverage for @ignore 2019-11-04 09:15:19 -05:00
patrick.lafrance
5073e73466 Refactored to support JSDoc for unknown type system and stop infering the type name for typescript @param tags 2019-11-03 23:46:22 -05:00
patrick.lafrance
fb2fef31fc Fix JSDoc parsing to make it works with TS types 2019-11-03 18:48:17 -05:00