6937 Commits

Author SHA1 Message Date
zeckdude
c3bb4f854e Disable showing default props in code preview 2020-11-03 11:18:59 -08:00
Michael Shilman
77ccd11909 Update git head to 6.1.0-alpha.31 2020-10-27 19:22:18 +08:00
Michael Shilman
f45b4c6fed v6.1.0-alpha.31 2020-10-27 19:14:43 +08:00
Michael Shilman
5865ba1039 Update root, peer deps, version.ts/json to 6.1.0-alpha.31 2020-10-27 19:14:11 +08:00
Michael Shilman
a41d8a9f86 Merge branch 'next' into deps/regeneratorRuntime 2020-10-27 17:21:05 +08:00
Michael Shilman
dd5aab23df Merge branch 'next' of github.com:storybookjs/storybook into next 2020-10-27 17:14:45 +08:00
Michael Shilman
9a52c700fe
Merge pull request #12901 from storybookjs/deps/upgradeTsDedent
Deps: upgrade ts-dedent to 2.0
2020-10-27 17:11:59 +08:00
Michael Shilman
98899eb282 Update git head to 6.1.0-alpha.30 2020-10-26 23:45:06 +08:00
Michael Shilman
f883f080f2 v6.1.0-alpha.30 2020-10-26 23:38:51 +08:00
Michael Shilman
c9d57f500f Update root, peer deps, version.ts/json to 6.1.0-alpha.30 2020-10-26 23:38:02 +08:00
Michael Shilman
76bd8ea673
Merge pull request #12903 from storybookjs/deps/babel
Deps: upgrade babel to 7.12
2020-10-26 23:28:04 +08:00
Michael Shilman
8842f3a094
Merge pull request #12908 from storybookjs/fix/relax-react-dependencies
React: Allow Storybook packages to use React 17.x
2020-10-26 23:26:42 +08:00
Brody McKee
32c2ea90a4 fix: allow Storybook packages to use React 17.x 2020-10-25 16:19:17 +02:00
Michael Shilman
859ebcbae7 Remove react-is dependency 2020-10-25 21:59:34 +08:00
Michael Shilman
87d8fa2bd2 Addon-docs: Add missing @babel/generator dep 2020-10-25 16:22:13 +08:00
Clément DUNGLER
e8324a7a5c Deps: upgrade babel 2020-10-24 22:47:58 +02:00
Clément DUNGLER
3bd6067983 Deps: Upgrade regenerator-runtime 2020-10-24 22:14:19 +02:00
Clément DUNGLER
6524259624 Deps: upgrade ts-dedent 2020-10-24 21:52:58 +02:00
Gaëtan Maisse
d718143cd4
docs(addon-toolbar): fix link in Readme 2020-10-23 16:27:49 +02:00
Michael Shilman
2536198fc6
Merge pull request #12870 from storybookjs/fix/viewports-drop-shadow
Addon-viewport: Fill entire iframe width with drop shadow
2020-10-23 18:56:54 +08:00
Michael Shilman
44db4db088 Update git head to 6.1.0-alpha.29 2020-10-23 18:47:26 +08:00
Michael Shilman
c4c9f9bf50 v6.1.0-alpha.29 2020-10-23 18:41:35 +08:00
Michael Shilman
d329cd591f Update root, peer deps, version.ts/json to 6.1.0-alpha.29 2020-10-23 18:40:54 +08:00
Michael Shilman
16c03ff631 Update git head to 6.1.0-alpha.28 2020-10-23 15:36:27 +08:00
Michael Shilman
9f44d66ee8 v6.1.0-alpha.28 2020-10-23 15:30:35 +08:00
Michael Shilman
e753868545 Update root, peer deps, version.ts/json to 6.1.0-alpha.28 2020-10-23 15:29:59 +08:00
Michael Shilman
fb615576be Core: Disable Docs DLL by default 2020-10-23 14:46:58 +08:00
Michael Shilman
ebbd0d638e Essentials: Fix absolute config dir 2020-10-23 11:53:47 +08:00
Yann Braga
94c53782c7 fix(viewports): fill entire iframe width with drop shadow 2020-10-22 11:44:32 +02:00
Michael Shilman
77e14e3b6a Update git head to 6.1.0-alpha.27 2020-10-19 18:51:47 +08:00
Michael Shilman
0bbd323784 v6.1.0-alpha.27 2020-10-19 18:46:00 +08:00
Michael Shilman
2387c4de15 Update root, peer deps, version.ts/json to 6.1.0-alpha.27 2020-10-19 18:44:37 +08:00
Michael Shilman
dc17a9d73f
Merge pull request #12812 from storybookjs/pocka/feature/vue-dynamic-source
Addon-docs: Dynamic source rendering for Vue
2020-10-19 17:57:06 +08:00
Michael Shilman
8891488aa9 Rename helper function 2020-10-19 14:11:47 +08:00
Shota Fuji
537213926e
feat(addon-docs): Dynamic source rendering for Vue
https://github.com/storybookjs/storybook/issues/11400

This commit adds dynamic source code rendering feature to Docs addon for
Vue.js. The goals are 1) reflecting Controls' value to code block and
2) showing a code similar to what component consumers would write.

To archive these goals, this feature compiles a component with Vue, then
walks through vdom and stringifys the result. It could be possible to
parse components' template or render function then stringify results,
but it would be costly and hard to maintain (especially for parsing).
We can use vue-template-compiler for the purpose, but it can't handle
render functions so it's not the way to go IMO.

Speaking of the goal 2, someone wants events to be in the output code.
But it's so hard to retrieve component definitions (e.g. `methods`,
`computed`). I think it's okay to skip events until we figure there is a
high demand for that.
2020-10-18 13:38:57 +00:00
Michael Shilman
62be9577e6 Update git head to 6.1.0-alpha.26 2020-10-18 18:42:55 +08:00
Michael Shilman
4a32476204 v6.1.0-alpha.26 2020-10-18 18:37:23 +08:00
Michael Shilman
8b8fbe15f0 Update root, peer deps, version.ts/json to 6.1.0-alpha.26 2020-10-18 18:37:05 +08:00
Michael Shilman
736f50e8e7
Merge pull request #12790 from merceyz/merceyz/storyshots
Storyshots: Add missing vue peer dependencies
2020-10-18 17:19:59 +08:00
merceyz
cf25fba920 fix(addon-storyshots): add missing peer dependencies for vue 2020-10-16 15:41:31 +02:00
Michael Shilman
f41f52f3f7 Update git head to 6.1.0-alpha.25 2020-10-16 21:13:58 +08:00
Michael Shilman
b061cc62a3 v6.1.0-alpha.25 2020-10-16 21:07:59 +08:00
Michael Shilman
4de6a446fb Update root, peer deps, version.ts/json to 6.1.0-alpha.25 2020-10-16 21:07:34 +08:00
Michael Shilman
2887b6f465 Update git head to 6.1.0-alpha.24 2020-10-15 22:54:13 +08:00
Michael Shilman
da8ff0573a v6.1.0-alpha.24 2020-10-15 22:47:26 +08:00
Michael Shilman
a4623338f7 Update root, peer deps, version.ts/json to 6.1.0-alpha.24 2020-10-15 22:47:08 +08:00
Michael Shilman
cd53096b85
Merge pull request #11627 from storybookjs/fix/11548-initial-state
Addon-viewports: Fix initial load state
2020-10-15 22:19:01 +08:00
Michael Shilman
ed960bf70b
Merge pull request #12774 from storybookjs/fix_issue_12513
Chore: Update documentation for issue #12513
2020-10-15 16:26:57 +08:00
Michael Shilman
e9953bca9c Merge branch 'next' into fix/11548-initial-state 2020-10-15 13:45:10 +08:00
Tom Coleman
f6a9bbdf96
Merge pull request #12758 from storybookjs/fix_issue_12753
Chore: update wording in the @storybook/addons advanced readme
2020-10-15 09:58:31 +11:00