555 Commits

Author SHA1 Message Date
Michael Shilman
e098a12bf8 v5.3.0-beta.10 2019-11-27 09:19:11 +08:00
Michael Shilman
9630ae8edc
MDX: Allow user to override docs.container parameter (#8968)
MDX: Allow user to override `docs.container` parameter
2019-11-27 08:57:36 +08:00
Michael Shilman
bf405b2a04 Fix unnecessary import && convert container-override example to MDX 2019-11-27 07:46:22 +08:00
Febbraro
a10b2d18b2 CR update to use type alias 2019-11-26 14:56:04 -05:00
Febbraro
73a02c522d CR func name update 2019-11-26 14:02:18 -05:00
Febbraro
448e6abb92 add directive types 2019-11-26 13:50:00 -05:00
Febbraro
f8ffa5dfb2 add directive option 2019-11-26 13:50:00 -05:00
Febbraro
4db97d91e0 typo fix 2019-11-26 13:49:59 -05:00
Michael Shilman
cab04a046c MDX: Don't modify the container so user can override it 2019-11-27 02:38:21 +08:00
Michael Shilman
35562a0ab9
Addon-docs: Increase width of props table type column (#8950)
Addon-docs: Increase width of props table type column
2019-11-27 01:22:51 +08:00
Michael Shilman
82c574db78 v5.3.0-beta.9 2019-11-26 17:47:59 +08:00
patrick.lafrance
e4ec6b5b1c Fix deepscan issues 2019-11-25 22:44:43 -05:00
patrick.lafrance
2cd452f434 Fixing TS errors 2019-11-25 22:34:58 -05:00
Michael Shilman
c6332f5a08 v5.3.0-beta.8 2019-11-26 08:58:15 +08:00
patrick.lafrance
ed22662bf2 Added tests for default value create from raw defaultProp 2019-11-25 17:40:22 -05:00
patrick.lafrance
425c13d499 Added a new short function builder and associated tests 2019-11-25 13:21:39 -05:00
patrick.lafrance
c0b9c69026 Added tests to ensure no deep objects or array are part of the default value summary 2019-11-25 13:08:12 -05:00
patrick.lafrance
1fa0f4833e Added tests to ensure summary does not contains deep values 2019-11-25 11:34:07 -05:00
Michael Shilman
4a1c749e2a v5.3.0-beta.7 2019-11-26 00:06:26 +08:00
patrick.lafrance
276456f789 Added tests for acornParser depth and params support 2019-11-25 10:29:23 -05:00
patrick.lafrance
6d4397139c Fix existing tests that were failing after increasing the summary max length 2019-11-24 23:09:21 -05:00
patrick.lafrance
f8cf66b25d Partial support for raw defaultProp when react-docgen dont return a defaultValue 2019-11-24 18:35:08 -05:00
Michael Shilman
7256fe638b v5.3.0-beta.6 2019-11-24 17:50:40 +09:00
patrick.lafrance
c66dc884c3 Props table fix escodegen compact array of primitives value formatting 2019-11-22 18:03:23 -05:00
patrick.lafrance
48f17ebdc2 Fix props table to support prop with a default value and no type definition 2019-11-22 17:37:45 -05:00
patrick.lafrance
08f26ebc37 Default value summary take into account the depth of arrays and objects 2019-11-22 15:42:22 -05:00
patrick.lafrance
9ee1ccd03f Reverted summary func improvement 2019-11-22 15:24:04 -05:00
patrick.lafrance
147cfec021 Func summary now try to list as much args as possible 2019-11-22 14:32:58 -05:00
patrick.lafrance
73a79f2722 Added depth logic for array and fix escodegen formatting issue with multi line arrays 2019-11-22 12:28:20 -05:00
Michael Shilman
31bdd30032 v5.3.0-beta.5 2019-11-23 02:09:43 +09:00
Michael Shilman
5f6b97fa0b v5.3.0-beta.4 2019-11-23 00:33:55 +09:00
patrick.lafrance
2204a0ea2a Refactor the prop types createType to take into account the depth of the object for summary candidate 2019-11-22 09:28:34 -05:00
Michael Shilman
a9ed45b423
Addon-docs: base code to improve the props table for TS (#8905)
Addon-docs: base code to improve the props table for TS
2019-11-22 00:42:19 +08:00
Michael Shilman
6472a37353 v5.3.0-beta.3 2019-11-21 14:41:37 +08:00
Michael Shilman
9aa946366c
Addon-docs: Fix props table for sections props (#8904)
Addon-docs: Fix props table for sections props
2019-11-21 14:29:41 +08:00
Michael Shilman
16e3ccc616 Update multiframework.md 2019-11-21 12:54:15 +08:00
Michael Shilman
778fdc33b5 Clarify extraction logic 2019-11-21 12:29:05 +08:00
patrick.lafrance
d93cc04b6c Added test for TS default value 2019-11-20 23:20:09 -05:00
Michael Shilman
23d04c7e6b Addon-docs: Fix props table for sectinos props 2019-11-21 12:16:32 +08:00
patrick.lafrance
3d463c80ea Fix merge conflicts 2019-11-20 23:06:00 -05:00
patrick.lafrance
b3973c6f40 Added specific react typescript handling for default value 2019-11-20 23:04:09 -05:00
patrick.lafrance
723f27f9ae Fix 2019-11-20 22:41:39 -05:00
patrick.lafrance
8abaa6a19a ts now has is own code path for react framework 2019-11-20 22:21:59 -05:00
patrick.lafrance
fd7b8f4058 Removed | undefined from optionnal TS type 2019-11-20 18:29:14 -05:00
Patrick Lafrance
4da8cf433d
Merge pull request #8896 from storybookjs/docgen-lib-maintenance
Docgen lib maintenance
2019-11-20 10:25:40 -05:00
Michael Shilman
bd7abec374
[ImgBot] Optimize images (#8891)
[ImgBot] Optimize images
2019-11-20 21:54:08 +08:00
patrick.lafrance
16a51504bc Fix some issue for flow and rework the docgen utils 2019-11-19 22:57:11 -05:00
Michael Shilman
d6a02479e7
Addon-docs: Improve basic support for Flow props (#8890)
Addon-docs: Improve basic support for Flow props
2019-11-20 09:18:57 +08:00
ImgBotApp
6a9d4ad311
[ImgBot] Optimize images
/addons/docs/docs/media/docspage-subcomponents.png -- 36.24kb -> 21.02kb (41.99%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2019-11-20 01:14:42 +00:00
Michael Shilman
cff51f0018 Document subcomponents 2019-11-20 09:12:02 +08:00