44810 Commits

Author SHA1 Message Date
Shane Moore
590022dfbb
Storyshots - Support .cjs and .mjs file extensions
In a native ESM project, the standard Storybook `main.js` file
might need to be written as a CommonJS file, and therefore named
with a .cjs extension.
2022-11-02 12:46:02 -04:00
Ian VanSchooten
aa16f23dcf Point to correct .d.ts files from export maps 2022-11-02 12:14:30 -04:00
Ian VanSchooten
e414b9ed95
Merge pull request #19723 from storybookjs/fix/no-link-bundle-fix
Fix: dts facade generator did not support deep links
2022-11-02 12:04:48 -04:00
Norbert de Langen
a18424ab8a
fix a bug me and ian found
Co-authored-by: Ian VanSchooten <ian.vanschooten@gmail.com>
2022-11-02 16:15:04 +01:00
Ian VanSchooten
81d179230b Configure eslint working directories for vscode 2022-11-02 10:44:02 -04:00
Norbert de Langen
2c5079a602
add them back here too 2022-11-02 14:33:42 +01:00
Norbert de Langen
e789ca6fa9
add re-export back that I removed in https://github.com/storybookjs/storybook/pull/19580 2022-11-02 14:30:21 +01:00
Jeppe Reinhold
8cf57249a9 generate new repros for svelte 2022-11-02 14:23:38 +01:00
Norbert de Langen
f98bc37bab
improvements 2022-11-02 14:07:44 +01:00
Norbert de Langen
9a07e8788f
prebundle the preview 2022-11-02 13:50:45 +01:00
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
Michael Shilman
03ec21a5f1
Merge pull request #19714 from storybookjs/tom/sb-894-document-in-migrationmd
Add migration notes about docs page opt-in
2022-11-02 15:58:16 +08:00
Michael Shilman
35610ab666
Merge pull request #19715 from storybookjs/tom/sb-897-update-cli-template-to-set-autodocspage
CLI: Add docsPage to all Button/Header story templates
2022-11-02 15:56:45 +08: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
beed7aa447 Add migration notes about docs page opt-in 2022-11-02 16:52:03 +11:00
Tom Coleman
6e256cd2ab Allow setting docsPage = automatic to set docs entries for all components 2022-11-02 16:19:51 +11:00
Tom Coleman
04cc734201 WIP use tags rather than addDocsTemplate in indexer 2022-11-02 15:46:31 +11:00
Tom Coleman
c7c4498965 Update client-api to use tags instead of filename to detect MDX stories 2022-11-02 15:41:31 +11:00
Tom Coleman
9a55d7088f Update ember framework 2022-11-02 15:15:05 +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
Tom Coleman
95da68c93e Drop second parameter, and read root element type off framework 2022-11-02 12:57:34 +11:00
Tom Coleman
a7f29b71de Add rootElement to Framework and add Framework 2022-11-02 12:48:26 +11: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
Michael Shilman
87d463e89f Merge branch 'next' of github.com:storybookjs/storybook into next 2022-11-02 00:39:15 +08:00
Michael Shilman
92e354ff65 Fix typo 2022-11-02 00:38:55 +08:00
Norbert de Langen
5a3d1e295f
Merge pull request #19658 from pankali/patch-1
Update Code of Conduct to Contributor Covenant v2.1
2022-11-01 16:59:03 +01: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
0f5575cef1 7.0.0-alpha.47 next.json version file [skip ci] 2022-11-01 12:22:52 +08: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 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
1fcd568bd9 7.0.0-alpha.47 changelog 2022-11-01 12:10:37 +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