28654 Commits

Author SHA1 Message Date
Michael Shilman
f1c3ba756b Fix deepscan 2020-07-16 07:42:28 +08:00
Michael Shilman
d737a8c981 Merge branch 'next' into 11487-args-reset-ui 2020-07-16 07:37:44 +08:00
domyen
cb412f8d5f Forgot to remove this unused ResetButton prop 2020-07-15 18:10:47 -04:00
domyen
3494ec8ccf ArgsTable style ResetButton 2020-07-15 18:04:12 -04:00
Michael Shilman
d1b64214d3
Merge pull request #11560 from storybookjs/tech/remove-existing-pipe-seperator-in-stories
remove the usage of `|` in dev-example
2020-07-15 22:24:07 +08:00
Michael Shilman
9c0d63d76b 6.0.0-rc.5 next.json version file 2020-07-15 20:55:28 +08:00
Michael Shilman
3c4d606118 Update version.ts to 6.0.0-rc.5 2020-07-15 20:52:10 +08:00
Michael Shilman
747ced532b v6.0.0-rc.5 v6.0.0-rc.5 2020-07-15 20:42:08 +08:00
Michael Shilman
d5a250cab8 Update root, peer deps to 6.0.0-rc.5 2020-07-15 20:41:57 +08:00
Michael Shilman
723f29a3c1 6.0.0-rc.5 changelog 2020-07-15 20:41:47 +08:00
Michael Shilman
1f7cfc0e9f Update version.ts to 6.0.0-rc.4 2020-07-15 20:37:01 +08:00
Michael Shilman
0058cde545 v6.0.0-rc.4 v6.0.0-rc.4 2020-07-15 20:34:24 +08:00
Michael Shilman
afdf88df3c Update root, peer deps to 6.0.0-rc.4 2020-07-15 20:30:23 +08:00
Michael Shilman
6b74838ee3 6.0.0-rc.4 changelog 2020-07-15 20:30:00 +08:00
Norbert de Langen
4d0ee123be
remove the usage of | 2020-07-15 13:50:13 +02:00
Michael Shilman
64c3bf273e
Merge pull request #11558 from storybookjs/add-argTypes-to-context
Core: Add `argTypes` to `StoryContext`
2020-07-15 19:43:53 +08:00
Michael Shilman
043cc8706f ArgsTable: Add reset button to stories 2020-07-15 19:39:03 +08:00
Tom Coleman
ae5fef075d Add argTypes to StoryContext 2020-07-15 21:20:56 +10:00
Michael Shilman
8231601af8
Merge pull request #11556 from storybookjs/fix/meta-subcomponents-optional
Addon-docs: Make Meta block subcomponents optional
2020-07-15 18:49:57 +08:00
Michael Shilman
339c98ae7c
Merge pull request #11557 from storybookjs/yannbf-patch-2
docs(MIGRATION): update hierarchy separator section
2020-07-15 18:39:05 +08:00
Yann Braga
55952dc132
docs(MIGRATION): update hierarchy separator section
Updated the command to work in any scenario and added a note about mdx.
2020-07-15 12:36:47 +02:00
Michael Shilman
4fc6f7174c Addon-docs: Make Meta block subcomponents optional 2020-07-15 18:31:28 +08:00
Norbert de Langen
4e8013d3c5
Merge pull request #11502 from kendallgassner/remove-zIndex-on-action-bar
remove z-index on ActionBar
2020-07-15 11:12:20 +02:00
Michael Shilman
50367f9fa9
Merge pull request #11342 from storybookjs/tech/improve-versions-management-in-cli
CLI: Improve Storybook packages version management
2020-07-15 14:53:53 +08:00
Michael Shilman
764328b934
Merge pull request #11537 from storybookjs/fix/rendering-docs-only-refd-stories
Composition: Fix docs-only story handling for composed storybooks
2020-07-15 13:38:26 +08:00
Michael Shilman
84e4692269
Merge pull request #11552 from storybookjs/fix/docs-controls-events
Addon-Docs: Fix ArgsTable controls on Docs tab
2020-07-15 13:14:51 +08:00
Michael Shilman
ea690512e5
Use built-in storyStore reset
Co-authored-by: Tom Coleman <tom@thesnail.org>
2020-07-15 12:53:56 +08:00
Michael Shilman
c687122902 ArgsTable: Fix addon-docs useArgs to match new event structure 2020-07-15 12:47:49 +08:00
Michael Shilman
19f3993a1e ArgsTable: Add reset button (needs styling) 2020-07-15 12:22:07 +08:00
Michael Shilman
e3292908ed ArgsTable: Fix addon-docs useArgs to match new event structure 2020-07-15 12:19:00 +08:00
Michael Shilman
40ae179423 ArgsTable: Remove unused imports 2020-07-15 12:16:51 +08:00
Michael Shilman
f65ca37707
Merge pull request #11549 from nad182/patch-4
Update webpack config example to include module sass files
2020-07-15 11:59:51 +08:00
Michael Shilman
48ec07c62a
Update index.md 2020-07-15 11:59:38 +08:00
nad182
798a3c52be
Update webpack config example to include module sass files 2020-07-14 23:13:07 -04:00
Michael Shilman
6d48bdd4cd
Merge pull request #11519 from storybookjs/11487-add-args-reset
Core: Add args reset API
2020-07-15 10:14:52 +08:00
Tom Coleman
854b76fda8 More type fixes 2020-07-15 10:58:08 +10:00
Tom Coleman
5923454410 Type fixes 2020-07-15 10:57:33 +10:00
Michael Shilman
5bc86c298b Fix typescript settings doc 2020-07-15 00:11:44 +08:00
Norbert de Langen
d65af63cc2
FIX linting issue 2020-07-14 13:56:48 +02:00
Norbert de Langen
2fa2564633
move code responsible for restructuring docs-only stories to the rendering section, so refs get this behavior as well. 2020-07-14 13:19:53 +02:00
Tom Coleman
6a32e41c6b Fix issue with API signature. 2020-07-14 15:21:43 +10:00
Tom Coleman
3ff383d0e1 Change API from argName to argNames 2020-07-13 16:30:12 +10:00
Tom Coleman
0efdc41e7c Add useArgs to manager 2020-07-13 15:52:23 +10:00
Tom Coleman
623a8ba558 Updated client-side useArgs hook 2020-07-13 15:48:15 +10:00
Tom Coleman
ac4fdf1766 Added resetStoryArgs api 2020-07-13 15:38:59 +10:00
Gaëtan Maisse
3e133430c1
fix(cli): replace storybook by Storybook for consistency across all CLI logs 2020-07-12 16:16:33 +02:00
Gaëtan Maisse
0dabfc538e
test(e2e): add a simple test for viewport addon
CLI now generates project with `addon-essential` so it enable `addon-viewport` by default.
I added a simple test to check that viewport is properly loaded:
 - Go to Welcome Story
 - Click on Viewport button in the toolbar
 - Select "Small Mobile"
 - Check that Welcome Story is still displayed
2020-07-12 16:16:33 +02:00
Gaëtan Maisse
4364ee66a0
fix(cli): add some dependencies to be able to run addon-docs with Yarn 2 out of the box 2020-07-12 16:16:32 +02:00
Gaëtan Maisse
4664512aaf
fix(docs): use require.resolve to ensure Yarn PnP compatibility
`@babel/plugin-transform-react-jsx` should be resolved in the context
of `addon-docs` and not in the one of SB user projects (as it's done
for the others loaders too). The goal of that is to ensure we are using
a deps that is properly declared either as dep or peerDep
2020-07-11 11:50:34 +02:00
Gaëtan Maisse
ffb44dc3c6
refactor(cli): remove all Storybook packages listed as devDeps
These deps were only there to help to find out which version should be
installed when using the CLI. This is now done with a dedicated
`versions.json` file not theya re not needed in `package.json` anymore.

Bonus: it removes some `6.0.0-alpha.0` SB packages that were required by
`"@storybook/react-native": "6.0.0-alpha.0"`
2020-07-11 11:10:44 +02:00