7641 Commits

Author SHA1 Message Date
Michael Shilman
0058cde545 v6.0.0-rc.4 2020-07-15 20:34:24 +08:00
Tom Coleman
ae5fef075d Add argTypes to StoryContext 2020-07-15 21:20:56 +10: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
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
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
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
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
Gaëtan Maisse
c0e00c600e
feat(cli): use versions.json to get SB packages versions
Previously it used `devDep` of `package.json`. It was working but doing
so all Storybook packages had to be added to `devDep`.

Moreover, as `@storybook/react-native` was not part of the monorepo
anymore it's version was stuck to `6.0.0-alpha.0` causing a download
of `6.0.0-alpha.0` SB packages when running `yarn install`.
2020-07-11 11:10:02 +02:00
Gaëtan Maisse
6ab9520716
chore(cli): refactor script to extract and save versions of all SB packages
The previous script was only extracting version for packages under `app`
directory. Now, all `@storybook` packages are processed and save with
their current version in the monorepo in `versions.json`. This file will
be use to find out which version of the packages should be installed
when running `sb init`.
2020-07-11 11:09:59 +02:00
Michael Shilman
bdd89f5964 Update version.ts to 6.0.0-rc.3 2020-07-11 16:36:34 +08:00
Michael Shilman
d7b8606ca3 v6.0.0-rc.3 2020-07-11 16:27:19 +08:00
Michael Shilman
6c0e00522d
Merge pull request #11497 from storybookjs/fix/composition-empty-versions
Composition: Don't show versions dropdown if there are no versions
2020-07-11 16:20:06 +08:00
Michael Shilman
7b922e4e0a Addon-docs: Remove undefined from optional values in Typescript Props 2020-07-11 09:05:02 +08:00
Kendall_Gassner@intuit.com
451bd3ed78 remove z-index 2020-07-10 12:03:16 -06:00
Norbert de Langen
e42d2be843
FIX - do not show the dropdown if there are 0 versions to switch to 2020-07-10 16:45:59 +02:00
Michael Shilman
faa06ce166 Update version.ts to 6.0.0-rc.2 2020-07-10 22:11:55 +08:00
Michael Shilman
1e8d1b0d02 v6.0.0-rc.2 2020-07-10 22:02:23 +08:00
Michael Shilman
b2794fe6e2
Merge pull request #11469 from storybookjs/fix-sidebar-tooltip-alignment
UI: Fix menu alignment regression
2020-07-10 21:53:59 +08:00
Michael Shilman
297b024079
Merge pull request #11491 from storybookjs/fix-cors-fetch
Composition: Fix syntax on `no-cors`
2020-07-10 21:51:28 +08:00
Michael Shilman
84b43e3974 Update snapshots 2020-07-10 21:49:30 +08:00
Michael Shilman
ab925f695e Merge branch 'next' into feature/welcomeMDX 2020-07-10 21:38:55 +08:00
Tom Coleman
a3cc30c665 Syntax on no-cors was incorrect 2020-07-10 12:39:41 +10:00
Michael Shilman
4bbac2b99d
Merge pull request #11471 from storybookjs/fix-menu-scrollbar
UI: Increase max-height of menu tooltip so scrollbars don't appear
2020-07-10 10:27:08 +08:00
Michael Shilman
4069ca2e9e
Merge pull request #11476 from storybookjs/11108-deprecate-duplicate-kinds
CSF: Deprecate duplicate titles rather than forbid them
2020-07-09 15:58:51 +08:00
Michael Shilman
1851fc8682 Fix link 2020-07-09 15:58:12 +08:00
Michael Shilman
765856d429 Update version.ts to 6.0.0-rc.1 2020-07-09 15:29:03 +08:00
Michael Shilman
9aeaf80a2c v6.0.0-rc.1 2020-07-09 15:18:59 +08:00
Michael Shilman
a01e55460f CSF: Deprecate duplicate titles rather than forbid it 2020-07-09 15:00:04 +08:00
tooppaaa
826692ef2f Merge remote-tracking branch 'origin/next' into feature/welcomeMDX 2020-07-08 21:59:08 +02:00
domyen
06984e07cf (SB maintenance) Fix iframe test flake
This story --> http://localhost:9011/?path=/story/ui-iframe--working-story
2020-07-08 15:53:48 -04:00
domyen
7937f3586a Increase max-height of menu tooltip so scrollbars don't appear 2020-07-08 15:21:58 -04:00
domyen
23f3356b6b #11468 revert style change from earlier PR that introduced a bug 2020-07-08 14:28:39 -04:00
Michael Shilman
e5c4e2a05a Update version.ts to 6.0.0-rc.0 2020-07-08 18:56:52 +08:00
Michael Shilman
9558b3901e v6.0.0-rc.0 2020-07-08 18:46:15 +08:00
Michael Shilman
e635f52b7a Update version.ts to 6.0.0-beta.46 2020-07-08 16:57:50 +08:00
Michael Shilman
971b888701 v6.0.0-beta.46 2020-07-08 16:46:36 +08:00
Michael Shilman
83f55f5529 Merge branch 'next' into add/11321-version-to-composedref 2020-07-08 16:00:53 +08:00
Michael Shilman
5f32694a8b Merge branch 'next' into add/11321-version-to-composedref 2020-07-08 15:53:58 +08:00
Tom Coleman
e920d9e811 Merge remote-tracking branch 'origin/next' into 11232-release-notes 2020-07-08 17:28:01 +10:00
Michael Shilman
5ae63492ce
Merge pull request #11456 from storybookjs/11440-args-rename-story-to-template
Args: Rename Story/XStory to Template
2020-07-08 14:42:01 +08:00