50 Commits

Author SHA1 Message Date
Michael Shilman
8411aa0d6f Update git head to 6.4.0-beta.3, update yarn.lock 2021-10-01 23:28:38 +08:00
Michael Shilman
0fc9200599 v6.4.0-beta.3 2021-10-01 23:21:37 +08:00
Michael Shilman
6ed3f33ef1 Update git head to 6.4.0-beta.2, update yarn.lock 2021-10-01 10:08:04 +08:00
Michael Shilman
3358e1e90c v6.4.0-beta.2 2021-10-01 10:04:43 +08:00
Michael Shilman
d80182745a Update git head to 6.4.0-beta.1, update yarn.lock 2021-09-26 06:09:31 +08:00
Michael Shilman
000a73948b v6.4.0-beta.1 2021-09-26 06:06:37 +08:00
Michael Shilman
eeab9ce0b3 Update git head to 6.4.0-beta.0, update yarn.lock 2021-09-22 07:40:45 +08:00
Michael Shilman
44a855043c v6.4.0-beta.0 2021-09-22 07:37:43 +08:00
Michael Shilman
41d9e4778f Update git head to 6.4.0-alpha.41, update yarn.lock 2021-09-22 01:09:57 +08:00
Michael Shilman
64746ce270 v6.4.0-alpha.41 2021-09-22 01:06:34 +08:00
Michael Shilman
d72b2b5cb0 Update git head to 6.4.0-alpha.40, update yarn.lock 2021-09-20 20:13:57 +08:00
Michael Shilman
6b767d7c8f v6.4.0-alpha.40 2021-09-20 20:10:56 +08:00
Michael Shilman
46efd2111e
Merge pull request #16101 from storybookjs/infer-docs-only
Core: Infer docs only stories
2021-09-20 19:44:05 +08:00
Tom Coleman
bf38b8ace6 Update CSF to add a couple of exports 2021-09-20 17:00:39 +10:00
Tom Coleman
9553c585dd Emit STORY_PREPARED in docs mode 2021-09-19 15:07:12 +10:00
Michael Shilman
d6cba15f17 Update git head to 6.4.0-alpha.39, update yarn.lock 2021-09-18 17:30:06 +08:00
Michael Shilman
b1d5f20b2f v6.4.0-alpha.39 2021-09-18 17:26:54 +08:00
Michael Shilman
d7148bde34 Update git head to 6.4.0-alpha.38, update yarn.lock 2021-09-16 22:10:36 +08:00
Michael Shilman
14b9d19e7e v6.4.0-alpha.38 2021-09-16 22:05:19 +08:00
Michael Shilman
8ee5fac6ec Update git head to 6.4.0-alpha.37, update yarn.lock 2021-09-16 09:17:00 +08:00
Michael Shilman
c0c82361c8 v6.4.0-alpha.37 2021-09-16 09:12:15 +08:00
Michael Shilman
94b69b7702 Update git head to 6.4.0-alpha.36, update yarn.lock 2021-09-15 08:45:28 +08:00
Michael Shilman
cc13af28a7 v6.4.0-alpha.36 2021-09-15 08:40:37 +08:00
Michael Shilman
c12bfe9a53 Update git head to 6.4.0-alpha.35, update yarn.lock 2021-09-14 17:29:57 +08:00
Michael Shilman
8f65635eb1 v6.4.0-alpha.35 2021-09-14 17:24:54 +08:00
Tom Coleman
90706309a4 Wait until all sub-stories have rendered in docs
We need to wait to emit DOCS_RENDERED until all the stories are rendered.
2021-09-14 14:23:03 +10:00
Tom Coleman
c76a842271 Update Store APIs to be backwards-compatible
(Specifically to ensure the links addon works)
2021-09-13 17:24:54 +10:00
Tom Coleman
dcdf150b88 Update store/preview to take project annotations on init.
This way they can be set on `window` at boot time.
2021-09-13 17:08:07 +10:00
Tom Coleman
58db776769 Update CSF to get rid of play context 2021-09-13 16:30:51 +10:00
Tom Coleman
ff29a54115 Update CSF for AnyFramework 2021-09-11 19:54:15 +10:00
Tom Coleman
0c7a166636 Update most <any> to nothing which defaults to <AnyFramework> 2021-09-11 19:51:05 +10:00
Tom Coleman
9473f4db90 Apply suggestions from code review 2021-09-10 18:36:52 +10:00
Tom Coleman
d9679bbd59 Refactor to pass sync as an arg rather than using a separate method
Using TS overloads to deal with the type differences. It's a little awkward but probably avoids code duplication a little.
2021-09-09 13:47:19 +10:00
Tom Coleman
db5cfabc2a Added a bunch of comments and some READMEs 2021-09-09 02:15:49 +10:00
Tom Coleman
d4d0863a7c Get rid of setTimeout(0) and instead just call renderToDOM immediately
The framework can do the queuing
2021-09-09 01:52:13 +10:00
Tom Coleman
ec3f41ec9c Revert "Wait a tick before apply arg changes and other re-renders."
This reverts commit 23254408d16d3357b72a05903a85e76b1639e663.
2021-09-09 01:47:25 +10:00
Tom Coleman
fc1b933ba5 Fix storyshots 2021-09-09 01:45:38 +10:00
Tom Coleman
d586ce7072 Don't emit STORY_PREPARED in v6 mode.
It was causing problems when there was nothing in the store on the manager side.
2021-09-09 01:24:27 +10:00
Tom Coleman
b68f6d39fc Ensure we teardown when going to missing properly 2021-09-08 21:57:28 +10:00
Tom Coleman
956e131556 Update CSF to allow symbol 2021-09-08 17:01:21 +10:00
Tom Coleman
2ab56b22d1 Abort controller fallback for IE 2021-09-08 15:26:01 +10:00
Tom Coleman
23254408d1 Wait a tick before apply arg changes and other re-renders.
This allows users to update args or re-render the story from *inside* decorators or story functions, for better or worse.
2021-09-08 15:02:34 +10:00
Tom Coleman
c2bc484ce8 Update CSF 2021-09-07 23:21:21 +10:00
Tom Coleman
82763973b9 Get it bootstrapping again 2021-09-07 22:54:25 +10:00
Tom Coleman
5982475373 Deepscan cleanups 2021-09-07 17:21:06 +10:00
Tom Coleman
c2236dabf9 Update CSF version (projectAnnotations) 2021-09-07 17:00:30 +10:00
Tom Coleman
306029b6d1 Add async-ness to Story+ArgsTable blocks 2021-09-07 16:31:59 +10:00
Tom Coleman
8d320c2cdd Deal with initial preview error 2021-09-07 16:11:33 +10:00
Tom Coleman
4e12e81e75 Rename StoriesList => StoryIndex 2021-09-07 14:54:29 +10:00
Tom Coleman
1fa95a007b Rename WebPreview to PreviewWeb 2021-09-07 14:41:20 +10:00