35957 Commits

Author SHA1 Message Date
Gert Hengeveld
566d2e0862 Initial commit 2021-09-09 11:41:44 +02:00
Eungyeol
badcf97808 fix button is out of position from the safari. 2021-09-09 11:41:43 +02:00
Tom Coleman
18ed032164
Merge pull request #15987 from storybookjs/on-demand-store-sync-arg
Refactor to pass sync as an arg rather than using a separate method
2021-09-09 19:34:04 +10:00
Tom Coleman
18066d0ce8 Add migration notes about new features 2021-09-09 19:32:13 +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
53e00b34ba Fix exported type from .raw() 2021-09-09 02:33:32 +10:00
Tom Coleman
81838bd8a5 Arg fix lib/api 2021-09-09 02:19:10 +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
01294ffb68 Ensure we send args with SET_STORIES 2021-09-09 01:43:47 +10:00
Tom Coleman
c4a2d6a4b4 Ignore v<3 storyIndexes 2021-09-09 01:43:16 +10:00
Tom Coleman
a6d05f4463 Don't allow setting args to undefined 2021-09-09 01:29:35 +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
b0dda030f3 Add a note 2021-09-08 23:40:45 +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
abbd38f69c Fix globals 2021-09-08 15:10:00 +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
ec23d8c2f7 Ensure we run argTypes enhancers before pulling defaultValues 2021-09-08 14:43:58 +10:00
Tom Coleman
c24a980547 Remove autotitle story from angular SB / fix other 2021-09-08 14:42:28 +10:00
Tom Coleman
d2e837a1c6 Fix ember 2021-09-08 14:40:21 +10:00
Tom Coleman
e6698c529a Fix argtypes stories 2021-09-08 14:38:52 +10:00
Tom Coleman
0bb2347cae Fix mdx-in-story story 2021-09-08 11:13:05 +10:00
Tom Coleman
b4a75b39ff Add getter for _storyStore (back compat) 2021-09-08 09:59:06 +10:00
Tom Coleman
0536851a7d Switch order of args / argTypes enhancers 2021-09-08 08:47:13 +10:00
Tom Coleman
b4b59dfea1 Update csf dep in csf-tools 2021-09-08 00:38:06 +10:00
Tom Coleman
d83104c6fb Remove unused import 2021-09-08 00:31:06 +10:00
Tom Coleman
26f83f56c9 Fix types in a couple of angular tests 2021-09-08 00:30:52 +10:00
Tom Coleman
eb8ea01f87 Update two angular snapshots 2021-09-08 00:15:45 +10:00
Tom Coleman
20bc63eacc Fix broken core-server tests 2021-09-08 00:15:21 +10:00
Tom Coleman
f67d9e8a8c Remove autotitle story from angular 2021-09-08 00:10:17 +10:00
Tom Coleman
08301a37b0 Fix a bunch of types 2021-09-08 00:01:14 +10:00
Tom Coleman
a504ad3a32 Improve types flushed out by CSF changes 2021-09-07 23:30:31 +10:00
Tom Coleman
4702cf0757 Fix handlebars dep 2021-09-07 23:26:43 +10:00
Tom Coleman
674e26f459 Tweak ArgTypes 2021-09-07 23:22:41 +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
68b3ef639c Merge remote-tracking branch 'origin/next' into on-demand-store 2021-09-07 22:17:56 +10:00
Gaëtan Maisse
c4497134a5 Revert "fix(ArgControl): unbox the value to simplify the code"
This reverts commit e42fcf0d3d5d25e1abab021c7c28a160b017387b.
2021-09-07 21:32:16 +10:00
Michael Shilman
94b3a49c13 6.4.0-alpha.34 next.json version file 2021-09-07 18:50:39 +08:00
Michael Shilman
591c3a8b0a Update git head to 6.4.0-alpha.34, update yarn.lock 2021-09-07 18:46:53 +08:00
Michael Shilman
ccd25210cd v6.4.0-alpha.34 v6.4.0-alpha.34 2021-09-07 18:41:58 +08:00
Michael Shilman
8a4139d5ef Update root, peer deps, version.ts/json to 6.4.0-alpha.34 [ci skip] 2021-09-07 17:56:32 +08:00
Michael Shilman
7e295fd3ae 6.4.0-alpha.34 changelog 2021-09-07 17:56:22 +08:00
Michael Shilman
06450c4f10
Merge pull request #15925 from vdh/fix-define-plugin
Core: Replaced `process.env` override in `DefinePlugin` config
2021-09-07 17:49:31 +08:00
Michael Shilman
8a56e94dc9
Merge pull request #15989 from storybookjs/fix/repro-link-yarn3
CLI: Fix sb link to yarn3 repos
2021-09-07 17:11:48 +08:00
Michael Shilman
0065c80baf CLI: Fix sb link to yarn3 repos 2021-09-07 16:58:05 +08:00