6918 Commits

Author SHA1 Message Date
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
jonniebigodes
9da7db78d0 initial commit for issue #12513 2020-10-14 20:42:12 +01:00
jonniebigodes
77ddfe075e
Merge pull request #12761 from sanskar-p/hyperlink-fix
Fixed hyperlink formatting
2020-10-14 16:33:02 +01:00
jonniebigodes
24cac60363 word changed per feedback 2020-10-14 16:24:26 +01:00
Taylor Jones
7afdda8b73
fix: typo 2020-10-14 06:56:50 -05:00
Sanskar Patro
2df3cae574
Fixed hyperlink formatting 2020-10-14 13:11:00 +05:30
jonniebigodes
88c6228457 Changes for issue #12753 2020-10-13 21:48:17 +01:00
Michael Shilman
a2a96ab09f
Merge pull request #12738 from pchr-srf/patch-5
Addon-controls: Fix "docs before controls" check
2020-10-13 04:42:31 +08:00
Michael Shilman
81cf936f8c Upgrade babel-plugin-react-docgen 2020-10-13 02:37:13 +08:00
Michael Shilman
86c800573f Update git head to 6.1.0-alpha.23 2020-10-12 19:47:48 +08:00
Michael Shilman
1ec9d957ee v6.1.0-alpha.23 2020-10-12 19:41:32 +08:00
Michael Shilman
fd1566bba6 Update root, peer deps, version.ts/json to 6.1.0-alpha.23 2020-10-12 19:39:17 +08:00
Philipp Christen
6dd5e2e569
Update ensureDocsBeforeControls.ts
`docs` should be before `controls` or `essentials`, not `docs` or `essentials` before `controls`
2020-10-12 10:37:41 +02:00
Michael Shilman
c347791d5c Merge branch 'next' into 1009-async-loaders 2020-10-12 16:02:49 +08:00
Yann Braga
ed98c91018 feat(addon-a11y): add blurred vision effect
- Also rename ColorBlindness to VisionDeficiency now that the functionality is broader
2020-10-10 20:16:01 +02:00
Michael Shilman
49c4d7fee0 MDX: Add loaders support to MDX compiler 2020-10-10 18:04:54 +08:00
Michael Shilman
5989fd2bb2 Merge branch 'next' into 1009-async-loaders 2020-10-10 10:48:39 +08:00
Michael Shilman
1a979e4dc5 Update git head to 6.1.0-alpha.22 2020-10-10 10:31:12 +08:00
Michael Shilman
062478198c v6.1.0-alpha.22 2020-10-10 10:25:15 +08:00
Michael Shilman
41227c8fad Update root, peer deps, version.ts/json to 6.1.0-alpha.22 2020-10-10 10:24:59 +08:00