30768 Commits

Author SHA1 Message Date
Michael Shilman
fec1daa4e5
Merge pull request #12846 from lawvs/docs/eslint-config
Update CONTRIBUTING.md
2020-10-23 00:49:33 +08:00
Michael Shilman
dc84fe0c76
Merge pull request #12860 from g1eny0ung/docs/minor-fix
Docs: add missing }
2020-10-22 16:07:45 +08:00
Michael Shilman
75b8a5a69c
Merge pull request #12838 from storybookjs/fix_issue_12695
Chore: Update snippet to address issue #12695
2020-10-22 15:51:05 +08:00
Yue Yang
ed443bc777 docs: add missing } 2020-10-22 15:45:07 +08:00
Michael Shilman
ae37b85365
Merge pull request #12815 from aach/docs-vue-page-story
docs: add vue/page-story.js
2020-10-22 10:52:21 +08:00
Michael Shilman
050c0f617b
Merge pull request #12320 from Tomastomaslol/12281_new_version_notification_blocks_content
UI: Add close button to version update notification
2020-10-22 01:44:22 +08:00
jonniebigodes
390c81e2e8 snippet update per feedback 2020-10-21 15:54:24 +01:00
lawvs
5c725486d3 Update CONTRIBUTING.md 2020-10-21 18:54:24 +09:00
Michael Shilman
5d7d20509b
Merge pull request #12841 from storybookjs/fix_issue_12129
Chore: update documentation to address issue #12129
2020-10-21 13:57:54 +08:00
jonniebigodes
cf9de1910f Documentation was changed to address issue. 2020-10-20 23:07:04 +01:00
jonniebigodes
3a0095d17c Fix for the snippet and address issue 12695 2020-10-20 18:59:47 +01:00
Tomastomaslol
4f4b1ce480 only use string for notification headline. clean up NotificationItem stories 2020-10-20 21:16:59 +11:00
Tomastomaslol
121394ccbd use clearNotification instead of hiding notification. improve notification stories. Extend notification to take ReactNode for subHeadline and headlines 2020-10-20 19:54:22 +11:00
Tomas Nygren
e2e342dce9 rename notifications components 2020-10-20 08:35:39 +11:00
Tomastomaslol
b4b0ef76a0 use css textOverflow to handle long headlines. Only add hover, active and focus state on link notification 2020-10-20 08:07:28 +11:00
Alex Alvarez
be2448806c docs: add link vue/page-story in args docs 2020-10-19 16:26:46 +02:00
Michael Shilman
9f2b20c761 6.1.0-alpha.27 next.json version file 2020-10-19 18:55:56 +08: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 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
a1c78e8d18 6.1.0-alpha.27 changelog 2020-10-19 18:33:25 +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
Alex Alvarez
e624e08927
docs: add snippets/vue/page-story.js.mdx 2020-10-18 22:55:40 +02:00
Michael Shilman
68f6e2c9b4
Merge pull request #12799 from storybookjs/refactor/leverage-arg-parser
CLI: Clean up handling of unknown subcommands
2020-10-19 00:14:18 +08:00
Michael Shilman
f32ac9d4f0
Merge pull request #12810 from storybookjs/fix/strictMode
Core: Pass framework options as global
2020-10-18 23:44:02 +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
Clément DUNGLER
7c4a790f1c Core: pass framework options as global 2020-10-18 15:15:04 +02:00
Michael Shilman
3de0bdd08c 6.1.0-alpha.26 next.json version file 2020-10-18 18:46:19 +08: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 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
343f4bbbd4 6.1.0-alpha.26 changelog 2020-10-18 18:29:56 +08:00
jamesgeorge007
880d7ee001 refactor: use array destructuring 2020-10-18 15:43:20 +05:30
jamesgeorge007
9f173d6a70 refactor: leverage arg-parser lib to capture unrecognized args 2020-10-18 15:43:20 +05:30
Michael Shilman
59459ece1e
Merge pull request #12808 from storybookjs/11837-upgrade-vue-docgen-api
Bump vue-docgen-api to 4.33.1
2020-10-18 17:56:36 +08:00
Michael Shilman
774517be78
Merge pull request #12804 from storybookjs/fix_issue_12359
Chore: Documentation changes for issue #12359
2020-10-18 17:55:25 +08:00
Michael Shilman
f333db96a6
Merge pull request #12803 from uhoh-itsmaciek/patch-1
Fix stray smart quotes on React snippet
2020-10-18 17:54:44 +08:00
Michael Shilman
0cb78b9a33
Merge pull request #12800 from Connormiha/optimize-checking-color-button
Components: Minor update checking color in Button
2020-10-18 17:46:09 +08:00
Michael Shilman
c968d16f75 Bump vue-docgen-api to 4.33.1 2020-10-18 17:36:15 +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
Michael Shilman
7a7e3576a8
Merge pull request #12794 from clementprevot/next
Core/CLI: Update ShellJS dep version
2020-10-18 17:19:03 +08:00
domyen
b6791cd8f0 Refine styles and stories for notifications 2020-10-17 13:49:56 -04:00
jonniebigodes
2dd621489b Documentation changes for issue 312359 2020-10-16 23:23:46 +01:00
Maciek Sakrejda
4cdf641dad
Fix stray smart quotes on React snippet 2020-10-16 14:51:07 -07:00
Mikhail Bodrov
d96decae0a Minor update checking color in Button 2020-10-16 20:57:46 +03:00
Clément PRÉVOT
27518dc277
Core/CLI: Update ShellJS dep version
Signed-off-by: Clément PRÉVOT <clement.prevot@backmarket.com>
2020-10-16 16:22:59 +02:00
merceyz
cf25fba920 fix(addon-storyshots): add missing peer dependencies for vue 2020-10-16 15:41:31 +02:00
Michael Shilman
8df260d3d2 6.1.0-alpha.25 next.json version file 2020-10-16 21:25:22 +08:00
Michael Shilman
f41f52f3f7 Update git head to 6.1.0-alpha.25 2020-10-16 21:13:58 +08:00