28525 Commits

Author SHA1 Message Date
Tom Coleman
c55a62d2fd Ignore globals from non-local refs 2020-07-03 20:28:34 +10:00
Tom Coleman
f0f08e8a65 Remove spurious logs 2020-07-03 20:00:17 +10:00
Michael Shilman
b18ef1c371
Merge pull request #11396 from storybookjs/11382-version-consistency-check
CLI: Add upgrade utility with version consistency check
2020-07-03 17:12:21 +08:00
Michael Shilman
8440db83ef CLI: Generalize upgrade deprecation scheme 2020-07-03 15:17:23 +08:00
Tom Coleman
bc62b05735 Update stories args handling to cope with refs 2020-07-03 17:06:40 +10:00
Tom Coleman
56d7671260 Also change the signature of the STORY_ARGS_UPDATED event 2020-07-03 17:06:04 +10:00
Tom Coleman
962ab44d11 Change the UPDATE_STORY_ARGS event to take an object
That's how SB wants me to do it 🤷
2020-07-03 16:44:39 +10:00
Tom Coleman
e1722e4fa4 Some fixes to ref handling 2020-07-03 16:15:42 +10:00
Tom Coleman
5b7eba5ebc History is nullable 2020-07-03 15:52:32 +10:00
Tom Coleman
38691fd02b Drop unused imports 2020-07-03 14:46:42 +10:00
Tom Coleman
ffe3450739 Properly mock location in app stories 2020-07-03 14:43:14 +10:00
Tom Coleman
d53eea6b1f Use consistent and realistic storyId in stories 2020-07-03 14:23:29 +10:00
Tom Coleman
119da96613 Fix stories that rely on <Location> to use a mocked <LocationProvider>
Previously these stories were actually changing the URL to work properly.

Now no longer change the URL but instead wait for an event, it is better to just mock the URL change, which is what we should have done in the first place.
2020-07-03 13:42:36 +10:00
Tom Coleman
1d03a9dc5e Fix case where there is no options 2020-07-03 13:10:05 +10:00
Michael Shilman
59fd21441f CLI: Add upgrade utility 2020-07-03 06:13:34 +08:00
Norbert de Langen
4f7eb667bb
CHANGE SetStoriesPayload to single type 2020-07-02 17:11:19 +02:00
Norbert de Langen
9a186bae80
sourceType is always external when refId is given 2020-07-02 17:00:07 +02:00
Norbert de Langen
50fa13693e
FIX typings of channel-postmessage 2020-07-02 16:20:24 +02:00
Norbert de Langen
c6a54b40c5
ADD refId to iframe url 2020-07-02 15:44:39 +02:00
Norbert de Langen
549e5cd375 Merge branch 'next' into tech/change-event-source-to-refId 2020-07-02 14:59:20 +02:00
Michael Shilman
0ee0e2f186 Update versions 2020-07-02 19:52:51 +08:00
Norbert de Langen
18808670b1
FIX #9773 by using resolve-from for local references to presets & register 2020-07-02 13:47:06 +02:00
Michael Shilman
8ad28a5249 6.0.0-beta.39 next.json version file 2020-07-02 19:45:22 +08:00
Michael Shilman
ca9e1affe9 v6.0.0-beta.39 v6.0.0-beta.39 2020-07-02 19:32:29 +08:00
Michael Shilman
f09659e6a4 Update root, peer deps to 6.0.0-beta.39 2020-07-02 19:28:04 +08:00
Michael Shilman
b3a24f9320 6.0.0-beta.39 changelog 2020-07-02 19:27:48 +08:00
Michael Shilman
0e9dc60a99
Update SECURITY.md 2020-07-02 18:11:16 +08:00
Norbert de Langen
6bfb77472b
FIX versions 2020-07-02 12:11:08 +02:00
Michael Shilman
e44be9c222
Merge pull request #11389 from storybookjs/shilman-patch-1
Create SECURITY.md security policy
2020-07-02 18:10:08 +08:00
Michael Shilman
2e69febcf4
Merge pull request #11388 from storybookjs/10947-disable-props-and-controls
Args: Disable rows and controls in argTypes
2020-07-02 18:08:03 +08:00
Michael Shilman
32e95ece07 Fix deepscan 2020-07-02 18:06:45 +08:00
Michael Shilman
ea59ee0158
Update SECURITY.md 2020-07-02 18:04:57 +08:00
Tom Coleman
98c7c573d6 Tests 2020-07-02 20:04:07 +10:00
Michael Shilman
4b9e08ad3a
Create SECURITY.md 2020-07-02 18:02:23 +08:00
Tom Coleman
80496a3e66 Remove manager redirects on boot 2020-07-02 19:54:14 +10:00
Michael Shilman
da14eea904 Args: Disable rows and controls in argTypes 2020-07-02 17:36:36 +08:00
Tom Coleman
c87c3b3444
Fix weird import
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-07-02 19:26:17 +10:00
Tom Coleman
e92ec19cca Deprecate immutable options as parameters
#11142
2020-07-02 19:18:44 +10:00
Norbert de Langen
0a64eba7cb
Merge pull request #11364 from storybookjs/add/composition-auto-disable
Add/composition auto disable
2020-07-02 10:25:37 +02:00
Michael Shilman
86004b0a5f
Merge pull request #11385 from storybookjs/11384-rename-global-args
Args: Rename `globalArgs` to `globals`
2020-07-02 14:15:19 +08:00
Michael Shilman
2766dea106 Args: Rename globalArgs to globals 2020-07-02 12:00:46 +08:00
Norbert de Langen
bdcc586c28
DE-DUPLICATE the code for switching between handling event from refs vs local iframe 2020-07-01 19:21:15 +02:00
Norbert de Langen
95b543ce51
ADD refId to channel-postmessage 2020-07-01 14:41:23 +02:00
Michael Shilman
b6844803fa
Merge pull request #11370 from storybookjs/714-static-directory
Build-storybook: Document static directory workaround
2020-07-01 20:38:01 +08:00
Norbert de Langen
db7da2bfd1
Change to .disabled property for disabling autorefs 2020-07-01 13:33:37 +02:00
Norbert de Langen
48d2339abf
Merge pull request #11365 from storybookjs/add/artifacts-e2e
Build: Add artifacts for e2e CI task
2020-07-01 12:47:51 +02:00
Norbert de Langen
17e6afcc3f
Merge pull request #11282 from storybookjs/feature/essentialsCLI
CLI: use addon-essentials & args
2020-07-01 11:51:37 +02:00
Michael Shilman
09098a03d8
Merge pull request #11369 from storybookjs/11108-csf-forbid-duplicate-kinds
CSF: Forbid duplicate kinds
2020-07-01 10:35:09 +08:00
Michael Shilman
e70ce1fd34 Build-storybook: Document static directory workaround 2020-07-01 10:27:59 +08:00
Michael Shilman
052836099e CSF: Forbid duplicate kinds 2020-07-01 10:05:09 +08:00