2164 Commits

Author SHA1 Message Date
Tom Coleman
2c90d6bffb More fixes 2022-11-04 14:59:41 +11:00
Tom Coleman
98b4948f8f Fix mistakes 2022-11-04 14:48:02 +11:00
Tom Coleman
bfc21a8537 Actually export PreviewWithSelection 2022-11-04 14:42:55 +11:00
Tom Coleman
5a4698acbc Rename domElement to canvasElement 2022-11-04 14:08:45 +11:00
Tom Coleman
91fa988940 Update renderToCanvas functions to use precise type 2022-11-04 14:08:05 +11:00
Tom Coleman
2becfed339 Merge remote-tracking branch 'origin/next' into tom/sb-850-allow-passing-webview-and-urlstore-to 2022-11-04 14:03:12 +11:00
Tom Coleman
8290a1678e Move away from abstract classes in favour of interfaces 2022-11-04 13:56:51 +11:00
Tom Coleman
4b481fb3f0 Split PreviewWeb into PreviewWithSelection 2022-11-04 13:54:49 +11:00
Tom Coleman
6d96f7b9a7 Update deprecate 2022-11-04 13:50:57 +11:00
Tom Coleman
a29323d722 Update to renderToCanvas + canvasElement
Update from https://github.com/ComponentDriven/csf/pull/53
2022-11-04 13:48:56 +11:00
Tom Coleman
aa5a2a10dd Fix Linting 2022-11-04 11:54:20 +11:00
Tom Coleman
40e298c14f Merge remote-tracking branch 'origin/next' into tom/sb-888-disable-play-functions-in-docs-if-not 2022-11-04 11:02:15 +11:00
Tom Coleman
ce95c52e32 Merge remote-tracking branch 'origin/next' into jeppe/fix-svelte-in-docs 2022-11-04 10:34:35 +11:00
Jeppe Reinhold
02ed77f263
Restore render.ts 2022-11-03 21:50:06 +01:00
Jeppe Reinhold
2888d43df7
Merge pull request #19740 from storybookjs/tom/sb-869-add-any-stories-that-are-not-yet-2 2022-11-03 19:59:06 +01:00
Jeppe Reinhold
fcfc9f3ea3 use domElement as key instead of id 2022-11-03 14:21:36 +01:00
Tom Coleman
58a373085b Turn on optimize deps 2022-11-03 23:35:38 +11:00
Tom Coleman
7180924946 Add loader/decorator to wrap stories in a docs context
And a very simple story for the `<Story>` block
2022-11-03 23:35:13 +11:00
Kasper Peulen
36515e65b8 docs.inlineStories to true for preact as well 2022-11-03 13:35:12 +01:00
Norbert de Langen
5eaf7d89ed
Merge pull request #19720 from storybookjs/tech/revert-back-removal-of-re-export
undo - client-api should export from store
2022-11-03 08:46:11 +01:00
Michael Shilman
b8b4384487
Merge pull request #19738 from storybookjs/shilman/csf-tools-configfile-default-export
CSF-tools: Support default exports for SB7
2022-11-03 13:28:18 +08:00
Michael Shilman
ebe670eaf0
Merge pull request #19713 from storybookjs/tom/sb-895-docs-option-to-turn-on-docs-page
Allow setting docsPage `automatic` to create docs entries for all components
2022-11-03 11:26:12 +08:00
Tom Coleman
f8f22ac409
Merge pull request #19717 from storybookjs/tom/sb-726-telemetry-fix-rendererframework
Pull renderer+builder from framework's package.json + a known list
2022-11-03 14:23:45 +11:00
Michael Shilman
59a5550530 CSF-tools: Support default exports for SB7 2022-11-03 10:39:04 +08:00
Jeppe Reinhold
16b450feb3 enable ChangeArgs test for Svelte 2022-11-03 00:48:03 +01:00
Gavin Mogan
2f676a2528 Use import.meta.webpackHot instead of module.hot for check 2022-11-02 15:20:09 -07:00
Norbert de Langen
b298a49a44
Merge pull request #19672 from storybookjs/prettier-upgrade
Dependencies: Bump prettier dependency, cleanup config
2022-11-02 22:45:28 +01:00
Norbert de Langen
79187f4049
Merge pull request #19724 from storybookjs/nested-dts
Fix: Point to correct .d.ts files from export maps
2022-11-02 21:57:33 +01:00
Ian VanSchooten
b37061cbd1 Merge remote-tracking branch 'origin/next' into prettier-upgrade 2022-11-02 16:05:04 -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
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
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
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
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
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