228 Commits

Author SHA1 Message Date
Michael Shilman
eb27694651 Add automigration instructions to error 2021-10-20 21:21:55 +08:00
Tom Coleman
bc110b3738 Use an getX docs parameter approach 2021-10-20 22:49:25 +11:00
Tom Coleman
ba4709f298 Cleanup PreviewWeb a little 2021-10-20 21:37:55 +11:00
Tom Coleman
e6a5ca34d0 Don't set docs container etc as parameters
So we don't need to import docs in a preview config entry.
2021-10-20 14:00:17 +11:00
Tom Coleman
4381d69853 Split docs rendering from PreviewWeb 2021-10-20 13:59:47 +11:00
Michael Shilman
494016fdaa Update git head to 6.4.0-beta.15, update yarn.lock 2021-10-19 22:27:49 +08:00
Michael Shilman
f3bcbe0094 v6.4.0-beta.15 2021-10-19 22:24:30 +08:00
Damian Osipiuk
1c13920f50
test: add simulate-pageload tests for script loading 2021-10-19 16:14:05 +02:00
Damian Osipiuk
fcfed1a94c
fix: support loading type="module" scripts 2021-10-19 16:13:59 +02:00
Michael Shilman
59eb7fec73
Merge pull request #16399 from storybookjs/16243-back-compat-docs-context
Addon-docs: Spread all the old docs context fields
2021-10-19 21:41:15 +08:00
Michael Shilman
f2a5519289
Merge pull request #16397 from storybookjs/simplify-story-index-generation
Core: Refactor story store to be simpler when getting the index
2021-10-19 21:36:41 +08:00
Michael Shilman
dc7b2bf1f9 Add test for no renderToDOM function 2021-10-19 21:10:42 +08:00
Tom Coleman
3cc986fd04 Spread all the old docs context fields 2021-10-19 17:08:17 +11:00
Tom Coleman
4e007aa29b Refactor story store to be a bit simple when getting the index 2021-10-19 16:21:57 +11:00
Michael Shilman
cfafe63150 Perform renderToDOM check at render time 2021-10-19 12:51:09 +08:00
Michael Shilman
d71962ff78 Update git head to 6.4.0-beta.14, update yarn.lock 2021-10-19 01:17:35 +08:00
Michael Shilman
dce4ba17ef v6.4.0-beta.14 2021-10-19 01:14:30 +08:00
Michael Shilman
b0ac93f862 Update git head to 6.4.0-beta.13, update yarn.lock 2021-10-18 14:15:06 +08:00
Michael Shilman
c9b8b07f1b v6.4.0-beta.13 2021-10-18 14:12:03 +08:00
Tom Coleman
620fc19e5a Some documentation of what the four packages do now 2021-10-15 23:11:48 +11:00
Tom Coleman
4c598550f2 Merge remote-tracking branch 'origin/next' into wait-for-storyIndex-initialization 2021-10-15 20:05:23 +11:00
Michael Shilman
ab3579185d Update git head to 6.4.0-beta.12, update yarn.lock 2021-10-15 16:52:37 +08:00
Michael Shilman
603dac3437 v6.4.0-beta.12 2021-10-15 16:49:36 +08:00
Gert Hengeveld
9036776385 Merge branch 'next' into addon-interactions 2021-10-14 10:00:08 +02:00
Tom Coleman
38e1a22d66 Merge remote-tracking branch 'origin/next' into wait-for-storyIndex-initialization 2021-10-14 15:14:21 +11:00
Michael Shilman
39f1f1733f Update git head to 6.4.0-beta.11, update yarn.lock 2021-10-14 11:44:52 +08:00
Michael Shilman
5ea24555a4 v6.4.0-beta.11 2021-10-14 11:41:47 +08:00
Gert Hengeveld
1aa5084494 Merge branch 'next' into addon-interactions 2021-10-13 21:52:57 +02:00
Gert Hengeveld
a2fd9628c8 Fix canvasElement type 2021-10-13 21:52:40 +02:00
Gert Hengeveld
9c4256d8a9 Use correct csf version 2021-10-13 20:45:29 +02:00
Gert Hengeveld
0b67dc22b6
Merge pull request #16208 from storybookjs/preview-play
Core: Render behavior around play functions
2021-10-13 16:18:30 +02:00
Gert Hengeveld
df75e7f675 Fix abort on remount 2021-10-13 15:33:02 +02:00
Gert Hengeveld
53439875c9 Wait several ticks after aborting, fix 'aborting' phase and fix render tests 2021-10-13 10:47:12 +02:00
Michael Shilman
6da9aaf08a Update git head to 6.4.0-beta.10, update yarn.lock 2021-10-13 13:38:19 +08:00
Michael Shilman
9128cc184f v6.4.0-beta.10 2021-10-13 13:34:57 +08:00
Tom Coleman
f8d993677c Listen to story change events as soon as the preview is created.
But don't try and change story until the story index is ready.
2021-10-13 14:10:18 +11:00
Michael Shilman
d77d136150 Merge branch 'next' into 16222-sort-function-errors 2021-10-13 09:26:15 +08:00
Tom Coleman
6699ba7761 Fix integration test 2021-10-13 08:56:31 +11:00
Michael Shilman
d03102ec00 Fix broken test cases 2021-10-12 22:33:49 +08:00
Tom Coleman
95b7612c32 Show errors in a redbox in the preview and silently in the manager 2021-10-12 23:32:06 +11:00
Tom Coleman
962bee0b7a Don't connect to stories.json EventSource in built/prod mode 2021-10-12 22:52:30 +11:00
Yann Braga
80b1c1fca1 Merge branch 'preview-play' into preview-tests 2021-10-12 13:44:24 +02:00
Yann Braga
b9b6e47d56 Merge branch 'next' into preview-play 2021-10-12 13:34:12 +02:00
Yann Braga
e24fa909cb Merge branch 'next' into preview-tests 2021-10-12 13:27:02 +02:00
Michael Shilman
76e9ff51cf Update git head to 6.4.0-beta.9, update yarn.lock 2021-10-12 15:41:36 +08:00
Michael Shilman
a22654ce25 v6.4.0-beta.9 2021-10-12 15:38:47 +08:00
Tom Coleman
691c8a4c02 Linting 2021-10-12 16:43:31 +11:00
Tom Coleman
07c07bfa22 Simplify DOCS_RENDERED and just use STORY_RENDERED for hooks.
This means inline docs stories need to emit `STORY_RENDERED` when they render, which isn't *too* complicated.
2021-10-12 16:12:24 +11:00
Gert Hengeveld
d293c5da4c Merge branch 'next' into preview-play 2021-10-11 19:35:45 +02:00
Michael Shilman
681f0bb583 Update git head to 6.4.0-beta.8, update yarn.lock 2021-10-11 22:54:00 +08:00