36079 Commits

Author SHA1 Message Date
Michael Shilman
4990d4c701
Merge pull request #16046 from storybookjs/fix/useStory-not-responsive
Addon-docs: Fix `useStories` to correctly respond to change in `storyId`
2021-09-15 23:56:07 +08:00
Tom Coleman
646d8ccf17 Fix useStories to correctly respond to change in storyId. 2021-09-15 11:45:09 +10:00
Michael Shilman
4aee6e10f4 6.4.0-alpha.36 next.json version file 2021-09-15 08:48:52 +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 v6.4.0-alpha.36 2021-09-15 08:40:37 +08:00
Michael Shilman
f4dbe6bf09 Update root, peer deps, version.ts/json to 6.4.0-alpha.36 [ci skip] 2021-09-15 08:31:23 +08:00
Michael Shilman
7315fc6df4 6.4.0-alpha.36 changelog 2021-09-15 08:31:10 +08:00
Michael Shilman
008867d787
Merge pull request #16039 from storybookjs/fix/multiple-story-source-snippet
Addon-docs: Ensure we don't clobber multiple source container state updates
2021-09-15 08:13:14 +08:00
Michael Shilman
b9b5cf2aa9
Merge pull request #16041 from storybookjs/fix/restore-configure-deprecation-warning
Core: Restore deprecation warning for configure
2021-09-15 08:06:42 +08:00
Michael Shilman
443cdc1b2d
Merge pull request #16044 from storybookjs/fix/vite-95-missing-features
Core: Be careful in `FEATURES` check
2021-09-15 08:05:06 +08:00
Tom Coleman
5d4e5d9202 FEATURES may not be set
See https://github.com/eirslett/storybook-builder-vite/issues/95
2021-09-15 09:06:05 +10:00
Tom Coleman
d87f79280a Re-add deprecation warning for configure 2021-09-14 21:00:49 +10:00
Tom Coleman
dd0821c491 Ensure we don't clobber multiple source container state updates 2021-09-14 20:54:00 +10:00
Michael Shilman
a3089466e5 6.4.0-alpha.35 next.json version file 2021-09-14 17:32:39 +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
Tom Coleman
fb9b6a81e8
Update lib/cli/src/project_types.ts 2021-09-14 19:28:51 +10:00
Michael Shilman
8f65635eb1 v6.4.0-alpha.35 v6.4.0-alpha.35 2021-09-14 17:24:54 +08:00
Michael Shilman
5f5de89f26 Update root, peer deps, version.ts/json to 6.4.0-alpha.35 [ci skip] 2021-09-14 17:16:04 +08:00
Michael Shilman
bfd1d93166 6.4.0-alpha.35 changelog 2021-09-14 17:15:43 +08:00
Michael Shilman
8d7fa4249c
Merge pull request #15871 from storybookjs/on-demand-store
Core: On demand store
2021-09-14 17:13:46 +08:00
Michael Shilman
5a981b4bd5 Fix deepscan 2021-09-14 16:45:42 +08:00
Michael Shilman
7681f82e35
Merge pull request #16034 from storybookjs/fix/on-demand-store-addon-docs
Addon-docs: Bugfixes for new on-demand architecture
2021-09-14 16:39:47 +08:00
Michael Shilman
18f4c717db Addon-docs/web-components: Handle no-manifest version check 2021-09-14 16:18:32 +08:00
Michael Shilman
adcc98ff9f E2E force remove package-lock.json 2021-09-14 16:16:59 +08:00
Michael Shilman
84603ec403 Merge branch 'on-demand-store' into fix/on-demand-store-addon-docs 2021-09-14 14:56:26 +08:00
Michael Shilman
ed17c1f1b4
Merge pull request #16037 from storybookjs/on-demand-store-fix-useEffect-sourceContainer
Fix `useEffect` in docs and `SourceContainer`
2021-09-14 14:54:41 +08:00
Michael Shilman
c4d2507fca Fix failing sourceDecorator tests 2021-09-14 14:35:38 +08:00
Tom Coleman
65be218188 Fix tests and ensure channel is defined 2021-09-14 15:54:15 +10:00
Michael Shilman
2a16b7a1c9 Update story to new DocsContext 2021-09-14 13:31:56 +08:00
Michael Shilman
f2edc58755 Fix docs test 2021-09-14 13:05:59 +08:00
Tom Coleman
9bb98c90b3 Ensure we emit all SNIPPET_RENDERED in useEffect()
This also enables us to simplify `SourceContainer`.
2021-09-14 14:31:28 +10:00
Michael Shilman
acf0e9c141 Fix deepscan error 2021-09-14 12:29:37 +08:00
Michael Shilman
6af054700a Update snapshots 2021-09-14 12:23:45 +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
Michael Shilman
168e5466a5 Add simple docs tab e2e test 2021-09-14 12:21:57 +08:00
Tom Coleman
b38539253e Hooks order fix 2021-09-14 14:21:12 +10:00
Tom Coleman
ebd1f934b8 Ensure we don't call configure for stories if we don't have any 2021-09-13 21:48:27 +10:00
Michael Shilman
c26cd6b9e4 Merge branch 'on-demand-store' into fix/on-demand-store-addon-docs 2021-09-13 18:59:04 +08:00
Tom Coleman
faf1b429c7 Retain hooks between loads of the story store. 2021-09-13 19:21:21 +10:00
Michael Shilman
5bc3db4ea3 Fix stories.json auto-extraction for named exports 2021-09-13 17:18:35 +08:00
Michael Shilman
68e638a09e
Merge pull request #15996 from rmschindler/patch-1
Fix typos
2021-09-13 16:52:46 +08:00
Michael Shilman
825f435077 Fix modern inline rendering with absolutely positioned elements 2021-09-13 16:52:06 +08:00
Michael Shilman
0ae41ca27d Clean up source snippet retrieval for arbitrary stories 2021-09-13 16:41:20 +08:00
Michael Shilman
ac1b4f5251 MDX: Rename mdxComponentMeta to mdxComponentAnnotations 2021-09-13 15:34:52 +08: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
Michael Shilman
2c62434443 Fix unbalanced hooks error in ArgsTable 2021-09-13 15:20:31 +08:00
Tom Coleman
ca4108c53b We need to track initialization now. 2021-09-13 17:15:45 +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
Michael Shilman
28d1fe2e42 Merge branch 'on-demand-store' into fix/on-demand-store-addon-docs 2021-09-13 14:54:17 +08:00
Michael Shilman
a1e1ec6245 Fix docs rendering 2021-09-13 14:53:10 +08:00