35968 Commits

Author SHA1 Message Date
Gert Hengeveld
b6380a60e7 Lots of work 2021-09-09 11:41:44 +02:00
Deen Denno
0eb78d08ab refactor: add type safety for testing states 2021-09-09 11:41:44 +02:00
Gert Hengeveld
c79f4ba81d wip 2021-09-09 11:41:44 +02:00
Gert Hengeveld
d4f3bda8bd Promises 2021-09-09 11:41:44 +02:00
Gert Hengeveld
5153b36251 Add restart/reload action 2021-09-09 11:41:44 +02:00
Gert Hengeveld
912a779bc8 All the things 2021-09-09 11:41:44 +02:00
Gert Hengeveld
35df9c5924 Build before build-storybook 2021-09-09 11:41:44 +02:00
Gert Hengeveld
64575069cb Setup Chromatic 2021-09-09 11:41:44 +02:00
Gert Hengeveld
74d2df3146 Some styling 2021-09-09 11:41:44 +02:00
Gert Hengeveld
b042d6f361 Cleanup 2021-09-09 11:41:44 +02:00
Gert Hengeveld
42321b2356 Call deduping 2021-09-09 11:41:44 +02:00
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