473 Commits

Author SHA1 Message Date
Michael Shilman
67b83f492d Merge branch 'next' into docs/refactor-prop-def 2019-11-14 16:48:26 +08:00
Michael Shilman
9e6d32e7bb Merge branch 'next' into docs/refactor-prop-def 2019-11-14 16:23:44 +08:00
Michael Shilman
45a9d462dc Merge branch 'next' into 8793-deprecate-hierarchy-separators 2019-11-14 15:23:09 +08:00
Michael Shilman
c2c1b4f396
CSF: Deprecate displayName parameter (#8775)
CSF: Deprecate displayName parameter
2019-11-14 15:18:25 +08:00
Michael Shilman
d6e3bcf1be Merge branch 'next' into 8793-upgrade-hierarchy-separator-codemod 2019-11-14 14:54:40 +08:00
Michael Shilman
7cbc4673d5 Addon-docs: Update web-components props to new format 2019-11-14 12:29:38 +08:00
Michael Shilman
e75cfdcf90
Poinstall: Preset codemod to single quotes 2019-11-14 11:33:21 +08:00
Michael Shilman
87cddfe06c Merge branch 'next' into docs/refactor-prop-def 2019-11-14 10:13:36 +08:00
Michael Shilman
493c1ccc8e
Merge branch 'next' into 8577-addons-postinstall 2019-11-14 08:59:07 +08:00
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
Michael Shilman
3e5ab46e02 DocsPage: Add tests for showRoots behavior 2019-11-13 18:49:07 +08: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
Michael Shilman
be73c10751 v5.3.0-alpha.44 2019-11-13 08:43:45 +08: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
Michael Shilman
8c58a6f3a9 MDX: Add component ID to compiler & refactor tests 2019-11-12 23:00:19 +08:00
patrick.lafrance
fd1c9f1b26 Added test for the JSDoc parser 2019-11-12 09:45:43 -05:00
Michael Shilman
5b65d02723
Merge branch 'next' into 8577-addons-postinstall 2019-11-12 22:01:21 +08:00
Michael Shilman
4c9b100363 Create postinstall library for addons 2019-11-12 18:01:42 +08:00
Tom Coleman
e9e4ac195e Added migration notes and updated docs 2019-11-12 13:02:34 +11:00
Michael Shilman
c05036af68 Merge branch 'next' of github.com:storybookjs/storybook into next 2019-11-12 07:26:49 +08:00
Michael Shilman
e3ab46a202 Addon-docs: Deprecate framework presets 2019-11-12 07:26:30 +08: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
Petra Jaros
036b450753
Framework-specific presets are deprecated 2019-11-11 16:28:10 -05:00
patrick.lafrance
a9b8cec3e6 Finishing up rendering enhancement for default values 2019-11-11 15:29:18 -05:00
Michael Shilman
c5aadcc536 v5.3.0-alpha.43 2019-11-11 23:38:33 +08:00
Michael Shilman
a001fe4cd8 Merge branch 'next' into 8577-addons-postinstall 2019-11-11 23:02:08 +08:00
Michael Shilman
68cd5489ac
Fix CSF in MDX example code (#8772)
Fix CSF in MDX example code
2019-11-11 22:57:41 +08:00
Michael Shilman
b046effb28 Merge branch 'next' into 8756-deprecate-display-name 2019-11-11 22:54:15 +08:00
Michael Shilman
3de9ab04a7 Remove displayName parameter 2019-11-11 22:02:32 +08:00
Michael Shilman
cccbdc10ec Remove unused imports 2019-11-11 18:00:33 +08:00
Michael Shilman
884962b787 Addon-docs: Add unified preset, deprecate framework-specific presets 2019-11-11 14:56:17 +08: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
Alan Choi
0500cc1504
fix non-working example code
The updated line produces the warning below:
Warning: Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.
2019-11-09 17:50:39 +09:00
Michael Shilman
5242f4f190 v5.3.0-alpha.42 2019-11-09 15:59:48 +08: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