2309 Commits

Author SHA1 Message Date
Ian VanSchooten
b37061cbd1 Merge remote-tracking branch 'origin/next' into prettier-upgrade 2022-11-02 16:05:04 -04:00
Ian VanSchooten
a61403ae0b Use /dist/preview in addons 2022-11-02 16:02:17 -04:00
Jeppe Reinhold
32da70d1ba Merge branch 'next' of github.com:storybookjs/storybook into jeppe/fix-svelte-in-docs 2022-11-02 20:56:55 +01:00
Ian VanSchooten
cec66540e3 Standardize addon preview location / export 2022-11-02 15:55:19 -04:00
Kasper Peulen
e0026c02c8
Merge pull request #19669 from storybookjs/eslint-fix
Cleanup: Make ESLint the default formatter in vscode
2022-11-02 20:52:12 +01:00
Ian VanSchooten
87582dc9e8 Vite: Re-export essentials sub-addon preview annotations for pnpm 2022-11-02 15:46:22 -04:00
Michael Shilman
b00748bff3 Fix linting 2022-11-03 01:42:48 +08:00
Michael Shilman
e7e6d0c391 Fix linting 2022-11-03 00:49:37 +08:00
Michael Shilman
60651b346c Merge branch 'next' into pr/19585 2022-11-03 00:46:13 +08:00
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
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
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
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
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
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