5064 Commits

Author SHA1 Message Date
Michael Shilman
2d18cba58a
Addon-A11y: Show errors, reset config properly (#8779)
Addon-A11y: Show errors, reset config properly
2019-11-14 08:37:03 +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
aec46e42d9
Addon-knobs: Add object[] support for select (#7957)
Addon-knobs: Add object[] support for select
2019-11-13 22:01:00 +08:00
Norbert de Langen
c448e50208 FIX bug with resolving of preview.js (doh) 2019-11-13 11:52:09 +01:00
Michael Shilman
3e5ab46e02 DocsPage: Add tests for showRoots behavior 2019-11-13 18:49:07 +08:00
Norbert de Langen
714250f2de Merge branch 'core/magic-entry' into core/magic-entry-storyshots
# Conflicts:
#	addons/storyshots/storyshots-core/package.json
#	examples/html-kitchen-sink/.storybook/presets.js
2019-11-13 11:39:24 +01: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
Michael Shilman
2221b308c8
Merge branch 'next' into addon-knobs-array-of-objects 2019-11-13 08:30:56 +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
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