28890 Commits

Author SHA1 Message Date
Jon Palmer
07a23fe4de
Serialize Object controls as JSON over the wire 2020-07-27 18:22:48 -04:00
Michael Shilman
20812c9cc4
Merge pull request #11281 from storybookjs/fix/addon-docs/list_styles
Addon-docs: Apply list styles over reset
2020-07-27 14:32:30 +08:00
Michael Shilman
3b31cd651b 6.0.0-rc.15 next.json version file 2020-07-27 13:08:59 +08:00
Michael Shilman
bfe7fd5624 Update version.ts to 6.0.0-rc.15 2020-07-27 13:03:55 +08:00
Michael Shilman
7354abe09c v6.0.0-rc.15 v6.0.0-rc.15 2020-07-27 12:54:15 +08:00
Michael Shilman
b6e017d8c2 Update root, peer deps to 6.0.0-rc.15 2020-07-27 12:54:04 +08:00
Michael Shilman
98f3923b52 6.0.0-rc.15 changelog 2020-07-27 12:26:41 +08:00
Michael Shilman
7a1d8e5cb0
Merge pull request #11680 from jonspalmer/server_to_controls
Server: Update to 6.0 APIs and support Controls
2020-07-27 12:25:00 +08:00
Michael Shilman
a053d4b3c3
Merge pull request #11679 from storybookjs/fix/broken-storysource-when-no-story
Addon-storysource: Fix broken source when there's no story
2020-07-27 12:24:09 +08:00
Jon Palmer
a99f66a551
add fetchStoryHtml parameter support 2020-07-26 08:50:18 -04:00
Jon Palmer
a1b44d9e24
cleanup 2020-07-26 08:46:24 -04:00
Jon Palmer
3d7da43571
Update Server to 6.0 APIs and support Controls 2020-07-26 08:46:23 -04:00
Michael Shilman
5d453ae959
Merge pull request #11690 from storybookjs/fix-11315
Addon-knobs: Move `@types/react-color` to devDeps
2020-07-26 09:43:10 +08:00
Gaëtan Maisse
c115867654
feat(knobs): move @types/react-color from dep to devDeps
No definition file is using it anymore so we can move this regular dep to devDeps.
2020-07-25 20:14:16 +02:00
Gaëtan Maisse
5b59ae62f4
fix(knobs): update visibility of methods to avoid too broad .d.ts files
All theses functions shouldn't be used outside the class, making them private simplify the types generated in type definition files (`.d.ts`).
This enable us to move some deps to devDeps if they are not used (imported) in generated definition files.
2020-07-25 20:13:15 +02:00
Michael Shilman
59a3c87a99
Merge pull request #11472 from Marklb/marklb/fix-asset-normalize-win
Angular: Use system path when checking if asset is a directory
2020-07-25 17:01:03 +08:00
Michael Shilman
2175c6dce1
Merge pull request #11673 from storybookjs/tech/upgrade-telejson-for-backwards-compat
Composition: Fix composition of older storybooks
2020-07-24 21:10:05 +08:00
Norbert de Langen
75a8f083f5
FIX broken story-source when there's no story 2020-07-24 12:53:11 +02:00
Norbert de Langen
4a3d15ae16
FIX lockfile 2020-07-23 20:55:35 +02:00
Norbert de Langen
b88fd4f6e5
UPGRADE telejson 2020-07-23 19:58:23 +02:00
Michael Shilman
3bc466689b
Merge pull request #11667 from rek/patch-1
Typo: add missing comma in addons example
2020-07-23 21:24:09 +08:00
adam tombleson
e45cc5c94e
Typo: add missing comma in addons example 2020-07-23 11:39:41 +02:00
Michael Shilman
6748cfb400
Merge pull request #11658 from storybookjs/11656-bump-rdtp
Bump react-docgen-typescript-plugin to 0.5.2
2020-07-23 12:44:28 +08:00
Michael Shilman
c70c68e353
Merge pull request #11660 from storybookjs/11571-fix-prefix-redirect-2
Core: Fix existing behavior with story prefixes
2020-07-23 12:44:00 +08:00
Tom Coleman
07c7e47783 Fix existing behaviour with prefixes 2020-07-23 13:54:10 +10:00
Michael Shilman
dd7b16862d Bump react-docgen-typescrit-plugin to 0.5.2 2020-07-23 10:17:49 +08:00
Michael Shilman
4af0d0d4b4
Merge pull request #11647 from daniel-ac-martin/patch-1
Core: Fix webpack recursion in mainjs glob processing logic
2020-07-23 08:04:39 +08:00
Michael Shilman
e1534a9d10 6.0.0-rc.14 next.json version file 2020-07-23 00:07:38 +08:00
Michael Shilman
9d787248bf Update version.ts to 6.0.0-rc.14 2020-07-22 23:58:04 +08:00
Michael Shilman
718fd46142 v6.0.0-rc.14 v6.0.0-rc.14 2020-07-22 23:47:42 +08:00
Michael Shilman
08d38bee39 Update root, peer deps to 6.0.0-rc.14 2020-07-22 23:42:03 +08:00
Michael Shilman
a7fb08018d 6.0.0-rc.14 changelog 2020-07-22 23:41:48 +08:00
Michael Shilman
17bc43e913
Merge pull request #11650 from storybookjs/11526-react-source-loader
Addon-docs: Re-enable source-loader by default
2020-07-22 23:39:59 +08:00
Michael Shilman
df06c0aeae
Merge pull request #11646 from storybookjs/channel-log-message-length
Core: Log message length on channel message
2020-07-22 23:19:41 +08:00
Michael Shilman
d8d4684409 Addon-docs: Re-enable source-loader by default 2020-07-22 23:16:51 +08:00
Daniel A.C. Martin
496b9b7e64 Core: Add tests for recursive flag
Adds some crude tests for when we expect to run webpack's
`require.context` in recursive mode.
2020-07-22 15:44:30 +01:00
Michael Shilman
b8daf98348
Merge pull request #11643 from storybookjs/tech/11623-duplicate-decorator-removal-and-warning
Core: Remove duplicate decorators and warn
2020-07-22 22:03:44 +08:00
Daniel A.C. Martin
5ab9e09ee6
Core: toRequireContext: recurse in more cases
`../base-dir/*/index.stories.jsx` will lead to `glob` being set to `*/index.stories.jsx` and so `glob.split('/').length` = 2.

With the existing code the `recursive` flag would _not_ be set and yet webpack will need to recurse into the directories in order to find any `index.stories.jsx` files that might exist within them.

Therefore, we should compare to 1 and not 2.

See: https://github.com/storybookjs/storybook/issues/11530#issuecomment-662465689
2020-07-22 15:01:12 +01:00
Michael Shilman
895257d169
Merge pull request #11518 from storybookjs/11488-fix-metadata-storyshots
Storyshots: Fix metadata (parameters/decorators) handling
2020-07-22 21:59:10 +08:00
Michael Shilman
c2b8715398
Update addons/storyshots/storyshots-core/README.md 2020-07-22 21:58:45 +08:00
Michael Shilman
4d4e8032e4
Merge pull request #11640 from storybookjs/docs-source-optimize-dynamic-rendering
Addon-docs: Skip dynamic source rendering when not needed
2020-07-22 21:55:25 +08:00
Michael Shilman
ac53ec4e57 Core: Log message length on channel message 2020-07-22 21:54:40 +08:00
Norbert de Langen
fbdc628178
ADD test 2020-07-22 13:07:38 +02:00
Norbert de Langen
edd796558a
CHANGE addGlobalMetadata so it checks if a global decorator should be added (it should not if it already exists) 2020-07-22 12:14:37 +02:00
Michael Shilman
03cb95427e Addon-docs: Null context handling 2020-07-22 18:10:12 +08:00
Michael Shilman
35ce32d4fa Addon-docs: Add tests for dyanamic snippet rendering 2020-07-22 16:47:20 +08:00
Michael Shilman
ba39d681d5 Addon-docs: Skip dynamic source rendering when not needed 2020-07-22 16:19:12 +08:00
Michael Shilman
28e65b00c1
Merge pull request #11637 from storybookjs/11571-fix-prefix-redirect
Core: Fix prefix redirect
2020-07-22 15:16:32 +08:00
Tom Coleman
2dff01ff3b
Update examples/official-storybook/stories/core/prefix.stories.js
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-07-22 15:50:39 +10:00
Tom Coleman
75fdf5eb56 Ensure we preference shorter matching storyIds 2020-07-22 13:56:54 +10:00