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
Michael Shilman
b061cc62a3
v6.1.0-alpha.25
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
bb23f95304
6.1.0-alpha.25 changelog
2020-10-16 20:59:31 +08:00
Michael Shilman
2b9ff49490
Merge pull request #12781 from storybookjs/feature/reactStrictModeOption
...
React: Add strictMode option
2020-10-16 20:57:29 +08:00
Michael Shilman
9eeed162dc
Merge pull request #12235 from storybookjs/dependabot/npm_and_yarn/lodash-4.17.20
...
Bump lodash from 4.17.19 to 4.17.20
2020-10-16 18:30:40 +08:00
Clément DUNGLER
69df7209db
Fix React 15
2020-10-16 12:09:18 +02:00
Michael Shilman
cd9a3044ce
Fix deepscan
2020-10-16 17:22:56 +08:00
Clément DUNGLER
973cbadf29
Fix unit tests
2020-10-15 20:21:40 +02:00
jonniebigodes
925100f95e
Merge pull request #12776 from storybookjs/fix_issue_12481
...
Chore: Docs updates for issue #12481
2020-10-15 18:25:59 +01:00
jonniebigodes
3a913614a8
Merge pull request #12756 from storybookjs/chore_faq_update_versioned_docs
...
update FAQ to mention old documentation location
2020-10-15 18:21:50 +01:00
Clément DUNGLER
a8c4e18062
fix storyshots
2020-10-15 19:17:19 +02:00
Clément DUNGLER
200a7c2453
fix unit tests
2020-10-15 18:32:49 +02:00
jonniebigodes
c899e46776
Merge branch 'next' into chore_faq_update_versioned_docs
2020-10-15 17:18:43 +01:00
jonniebigodes
57b877ac25
Update docs/workflows/faq.md
...
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-10-15 17:13:03 +01:00
Clément DUNGLER
d4dc0d80de
React: Add strictMode option
2020-10-15 17:40:44 +02:00
dependabot-preview[bot]
b79db8819a
Bump lodash from 4.17.19 to 4.17.20
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.19 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.20 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 15:07:35 +00:00
Michael Shilman
94482eaa50
Update CHANGELOG.md
2020-10-15 22:59:33 +08:00
Michael Shilman
46dfb1e944
6.1.0-alpha.24 next.json version file
2020-10-15 22:57:44 +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
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
a118bc0c08
6.1.0-alpha.24 changelog
2020-10-15 22:19:56 +08:00