4890 Commits

Author SHA1 Message Date
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
Jack Alden Barry
0de4fb8b56
Add CSF upgrade example
Figured this should be included in the docs since CSF is being promoted as best practice moving forward. 

Thanks for the solution go to the comments in this thread:

https://github.com/storybookjs/storybook/issues/8746#issuecomment-551054492
2019-11-12 07:57:35 -06:00
Michael Shilman
4c9b100363 Create postinstall library for addons 2019-11-12 18:01:42 +08:00
Michael Shilman
4ed199ae79
Merge branch 'next' into themeing-addons 2019-11-12 16:57:31 +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
Donald Pipowitch
bacccb9fa7 fix tests 2019-11-11 13:01:31 +01:00
Gytis Vinclovas
b84d1fc3eb merge next 2019-11-11 12:53:55 +02:00
Norbert de Langen
eaab26e6e4 FIX review comments, CHANGE to only support a single preview.* 2019-11-11 11:11:38 +01: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
Donald Pipowitch
c74b1f6c1a partially apply configuration 2019-11-11 07:44:52 +01: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
Donald Pipowitch
85a8accc74 fix 8126: show errors, reset config properly 2019-11-10 21:31:59 +01:00
Michael Shilman
87707dccbb CSF w/ displayName: Update snapshots 2019-11-09 23:20:18 +08: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
Norbert de Langen
92ea9689b2 ADD compatibility for triconfig to storyshots 2019-11-08 17:47:09 +01:00
Michael Shilman
6c4764fd08 Addon-info: Remove jsnext:main 2019-11-09 00:10:06 +08:00
patrick.lafrance
6bfd952b6f Fixed a bunch of types for prop types 2019-11-08 09:27:32 -05:00
Michael Shilman
938e233f9f
Merge pull request #8747 from christiancooksponge/patch-2
addon-notes: Fix Giphy docs
2019-11-08 08:28:39 +08:00
Michael Shilman
b3a9692efc
Fix import statement in mdx example (#8752)
Fix import statement in mdx example
2019-11-08 08:06:46 +08:00
hobroker
44b58cb60d make children prop optional in Td component 2019-11-07 23:24:13 +02:00
Kai Röder
4c60525ffa
fix import statement in mdx example
`addon-` was missing in `import { Meta, Story, Props } from '@storybook/addon-docs/blocks';`
2019-11-07 22:16:20 +01: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
Christian Cook
581aa808bb
Correct Giphy query parameter 2019-11-07 11:37:39 +00:00
Christian Cook
58eb940919
Correct Giphy query parameter 2019-11-07 11:33:26 +00:00
Gytis Vinclovas
21abf7f14a
Update panel.js 2019-11-07 13:00:10 +02:00
Michael Shilman
b43b45f270 Update PropDef for web-components 2019-11-07 12:34:21 +08:00