2178 Commits

Author SHA1 Message Date
Jeppe Reinhold
7cfe0dbb8d ensure storyFn() result is computed at initial render 2022-11-02 13:45:39 +01:00
Jeppe Reinhold
55eff3ba38 Merge branch 'next' of github.com:storybookjs/storybook into jeppe/fix-svelte-in-docs 2022-11-02 13:30:52 +01:00
Tom Coleman
2ebaa53687 Small tweak 2022-11-02 22:13:19 +11:00
Tom Coleman
1493309423 Fix tests 2022-11-02 22:12:48 +11:00
Tom Coleman
8012b1122a Pull renderer+builder from framework's package.json + a known list 2022-11-02 22:00:26 +11:00
Tom Coleman
18d1070f7b Create a migration to add docs.docsPage: 'automatic' if unset 2022-11-02 17:36:55 +11:00
Tom Coleman
fe3396e90a Update default main.js to set docsPage: true 2022-11-02 17:15:56 +11:00
Tom Coleman
43f75b1fed Add docsPage tag to all Button/Header CLI templates 2022-11-02 17:02:43 +11:00
Kasper Peulen
426c6c07da
Merge pull request #19704 from storybookjs/export-react-framework
React: Expose ReactFramework type
2022-11-02 06:58:41 +01:00
Tom Coleman
6e256cd2ab Allow setting docsPage = automatic to set docs entries for all components 2022-11-02 16:19:51 +11:00
Michael Shilman
02623aed81
Merge pull request #19706 from storybookjs/shilman/19453-fix-vue-test-runner
Build: Re-enable test-runner for vue-cli
2022-11-02 10:42:11 +08:00
Michael Shilman
f64590613e Build: Re-enable test-runner for vue-cli 2022-11-02 10:06:50 +08:00
Jeppe Reinhold
12dcacc5d3 dont remount Svelte components on control change, make template stories reactive 2022-11-02 02:20:16 +01:00
Michael Shilman
aeaced7f17
Merge pull request #19697 from SebastianKapunkt/vue-webpack-5-babel
Vue: Add babel loader 9.0.0 to vue-webpack5 peer dependencies
2022-11-02 08:38:15 +08:00
Jeppe Reinhold
2e017abaa2 in Svelte templates, make backgroundColor prop optional 2022-11-01 21:53:30 +01:00
Jeppe Reinhold
a91df6230f fix memory leak in vue3 renderer 2022-11-01 21:34:34 +01:00
Jeppe Reinhold
3a0d764de2 cleanup Svelte components by key 2022-11-01 21:34:26 +01:00
Ian VanSchooten
0e0d6e644f Expose ReactFramework type 2022-11-01 16:10:29 -04:00
Ian VanSchooten
1dab163ce7
Merge pull request #19670 from storybookjs/eslint-unignores
Cleanup: Un-ignore some files from eslint
2022-11-01 11:39:28 -04:00
Jeppe Reinhold
a9e4e17530 fix memory leak in vue3 renderer 2022-11-01 13:26:09 +01:00
Jeppe Reinhold
41427307e1 cleanup Svelte components by key 2022-11-01 13:17:37 +01:00
SebastianKapunkt
04a16c3c78 vue-webpack-5 Add babel loader 9.0.0 and up to peer dependencies 2022-11-01 11:15:43 +01:00
Jeppe Reinhold
a5d470585d more precise stories glob for blocks, Anchor.stories 2022-11-01 09:34:22 +01:00
Michael Shilman
93e154bc4d Update git head to 7.0.0-alpha.47, update yarn.lock [ci skip] 2022-11-01 12:18:02 +08:00
Michael Shilman
1c706a4a77 v7.0.0-alpha.47 2022-11-01 12:14:02 +08:00
Michael Shilman
aba7964cc4 Update root, peer deps, version.ts/json to 7.0.0-alpha.47 [ci skip] 2022-11-01 12:10:52 +08:00
Michael Shilman
e8427c9df3
Merge pull request #19680 from storybookjs/shilman/csf-plugin
Addon-docs: Replace source-loader with csf-plugin
2022-11-01 12:05:18 +08:00
Michael Shilman
498aa5f415 Fix deepscan [ci skip] 2022-11-01 11:33:34 +08:00
Michael Shilman
75f1cb6bf6
Merge pull request #19684 from storybookjs/shilman/csf-plugin-docgen-description
CSF-tools: Turn story comments into docs descriptions
2022-11-01 11:30:00 +08:00
Michael Shilman
5954bd8a33 Fix comment [ci skip] 2022-11-01 11:29:25 +08:00
Michael Shilman
3402e887c4 Merge branch 'next' into pr/19585 2022-11-01 11:18:53 +08:00
Tom Coleman
0bb909278f Slightly better syntax 2022-11-01 13:46:39 +11:00
Tom Coleman
cce0e08c7a Rename runPlayFunction -> autoplay 2022-11-01 13:45:57 +11:00
Michael Shilman
bf5ec569ad
Merge pull request #19665 from storybookjs/kasper/templates-to-csf3
CLI: Migrate CLI templates to CSF3
2022-11-01 10:07:39 +08:00
Michael Shilman
f02422a820
Merge pull request #19664 from storybookjs/kasper/cli-templates
CLI: Move all templates out of cli into renderers
2022-11-01 09:24:16 +08:00
Yann Braga
e568418436
Merge pull request #19383 from storybookjs/vite/base-config
Vite: Set default `base` for subfolder deployments
2022-10-31 18:19:45 +01:00
Michael Shilman
789a21b686 Fix typo [ci skip] 2022-11-01 00:27:57 +08:00
Michael Shilman
ffc95536ad CsfPlugin: Fix options handling, add tests 2022-11-01 00:12:52 +08:00
Michael Shilman
ec5dc1c821 CSF-tools: Fix parameters merge for enrichCsf 2022-10-31 23:59:49 +08:00
Michael Shilman
d0cddf51d3 Fix csf-plugin to load "pre" & async for perf 2022-10-31 23:58:41 +08:00
Ian VanSchooten
3488284643 Restore prettier to devDependencies, so it is bundled 2022-10-31 11:50:22 -04:00
Kasper Peulen
123322c07d Rename tsx to ts as we don't use jsx anymore in stories 2022-10-31 11:57:39 +01:00
Kasper Peulen
f40508e47e Fix deepscan 2022-10-31 11:57:39 +01:00
Kasper Peulen
c907472849 Migrate TS templates to CSF3 2022-10-31 11:57:34 +01:00
Kasper Peulen
96e68e4920 Migrate JS templates to CSF3 2022-10-31 11:54:00 +01:00
Kasper Peulen
960426dba3 Move all templates out of cli into renderers 2022-10-31 10:59:17 +01:00
Tom Coleman
8bcf78db52
Merge pull request #19668 from storybookjs/tom/sb-889-disable-keyboard-shortcuts-during-the
Disable keyboard shortcuts during (docs) play functions and add tests
2022-10-31 12:39:11 +11:00
Tom Coleman
59d2b28577 Make button selector more specific 2022-10-31 12:09:58 +11:00
Michael Shilman
7d740f9e6b Provide migration instructions for source-loader 2022-10-30 21:08:34 +08:00
Michael Shilman
a7cb5c20e3 Merge branch 'next' into shilman/csf-plugin 2022-10-30 20:34:45 +08:00