Michael Shilman
8a882e9eaa
Merge branch 'next' into pr/9531
2020-05-04 12:40:43 +08:00
Michael Shilman
1936cee4f9
Merge pull request #10607 from storybookjs/fix-test-workaround
...
Core: Fix Args test to not use different code path
2020-05-04 12:31:22 +08:00
Michael Shilman
a999324b5a
Merge pull request #10621 from storybookjs/10499-fix-object-array
...
Addon-docs: Fix object array in Props
2020-05-04 12:29:11 +08:00
Michael Shilman
86e71779c1
Merge pull request #10625 from storybookjs/fix-addon-action
...
Actions: Fix import of `uuid`
2020-05-04 12:27:28 +08:00
Michael Shilman
85d0e47c06
Props controls: Validate object control based on ArgType
2020-05-04 12:04:31 +08:00
Michael Shilman
205806bed3
Object contro: Added array validation story
2020-05-04 11:27:35 +08:00
Michael Shilman
3c5e04b76d
Props controls: Add optional validator function to Object control
2020-05-04 11:22:03 +08:00
Michael Shilman
15e417c436
Merge pull request #10628 from flo-sch/docs/addon-toolbars/improve-README
...
docs(addons-toolbar): improve globalArgs usage guide
2020-05-03 21:00:12 +08:00
Florent Schildknecht
b1af071d8b
docs(addons-toolbar): improve globalArgs usage guide
2020-05-03 12:38:03 +02:00
Michael Shilman
748f1d2383
MIGRATION: Add deprecated addons
2020-05-03 10:41:33 +08:00
Gaëtan Maisse
3acc999ede
fix(actions): fix import of uuid
...
As of 8d35431027a0e849f8fcfe4f449db82f30136b77 `@storybook/addon-actions` is using version 8.0.0 of `uuid`
However, a breaking change has been missed during the upgrade:
https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md#800-2020-04-29
TLDR;
> Deep requiring specific algorithms of this library like require('uuid/v4'), which has been deprecated in uuid@7, is no longer supported.
2020-05-02 16:27:34 +02:00
Michael Shilman
6dc3c49272
6.0.0-beta.1 next.json version file
2020-05-02 22:21:36 +08:00
Michael Shilman
1061e860eb
Update version.ts to 6.0.0-beta.1
2020-05-02 22:08:45 +08:00
Michael Shilman
e2bfc168c0
v6.0.0-beta.1
v6.0.0-beta.1
2020-05-02 21:59:51 +08:00
Michael Shilman
be02aa3516
Update peer dependencies to 6.0.0-beta.1
2020-05-02 21:55:11 +08:00
Michael Shilman
01cbde81ec
6.0.0-beta.1 changelog
2020-05-02 21:53:21 +08:00
Michael Shilman
82e64893e8
Merge pull request #10619 from storybookjs/10308-fix-default-source
...
Addon-docs: Fix no-props logic in Source block
2020-05-02 21:49:34 +08:00
Michael Shilman
21e1fac11f
Merge pull request #10623 from storybookjs/feature/add-svelte-detection-cli
...
CLI: Add automatic detection for svelte
2020-05-02 21:48:58 +08:00
Michael Shilman
92c5ca96e4
Merge pull request #10613 from storybookjs/fix-deps
...
Yarn 2: Fix dependencies issues for compatibility
2020-05-02 21:33:53 +08:00
Michael Shilman
22c594a5ad
Merge branch 'next' into 10499-fix-object-array
2020-05-02 19:39:37 +08:00
Michael Shilman
b7c71e4d39
Merge branch 'next' into 10308-fix-default-source
2020-05-02 19:39:00 +08:00
Norbert de Langen
b521da3c49
Merge pull request #10622 from storybookjs/fix/peerListener-mock
2020-05-02 13:15:32 +02:00
Norbert de Langen
b843da8921
Merge pull request #10612 from storybookjs/fix/10597-panel-background
2020-05-02 13:11:43 +02:00
Norbert de Langen
bb4dc7fde0
Merge pull request #10614 from storybookjs/fix/9534-parameter-maxDepth
2020-05-02 13:06:45 +02:00
Yann Braga
07942377cd
feat(cli): add automatic detection for svelte
2020-05-02 12:58:39 +02:00
Norbert de Langen
9effe5570a
FIX mock for provider
2020-05-02 12:47:39 +02:00
Michael Shilman
d8947b9a5c
Props controls: Show JSON editor for array of objects
2020-05-02 15:41:26 +08:00
Michael Shilman
3dc2f7bdd1
Args: Fix array typings
2020-05-02 15:35:28 +08:00
Michael Shilman
eeab8341f7
Merge branch 'next' into 10308-fix-default-source
2020-05-02 11:59:45 +08:00
Michael Shilman
f9bbc6d29c
Merge branch 'next' into 10308-fix-default-source
2020-05-02 11:58:40 +08:00
Michael Shilman
4419a18591
Merge pull request #10608 from storybookjs/10596-fix-props-subcomponents
...
Props: Fix subcomponents
2020-05-02 11:57:41 +08:00
Michael Shilman
04b115cc6d
Apply suggestions from code review
...
Co-authored-by: Tom Coleman <tom@thesnail.org>
2020-05-02 11:12:51 +08:00
Michael Shilman
f0691780cc
Merge pull request #10605 from Brew-Brew/next
...
doc: update readme of addon viewport about configure section more accurately
2020-05-02 10:58:12 +08:00
Michael Shilman
765184aecb
Update README.md
2020-05-02 10:57:42 +08:00
Michael Shilman
5671a05244
Source block: Fix no-props logic
2020-05-02 09:17:56 +08:00
Gaëtan Maisse
6a379e0376
chore(angular): move some peerDeps to regular dependencies
...
When generating an angular project using Angular CLI all these deps are not listed in `dependencies` so there is no reason for them to be in peerDependencies.
2020-05-01 18:50:16 +02:00
Gaëtan Maisse
45b16012b3
fix(essentials): use require.resolve
to ensure Yarn PnP compatibility
...
`register` file of various addon should be resolve in the context of `addon-essentials` and not in the one of SB user projects
2020-05-01 17:04:15 +02:00
Gaëtan Maisse
d44ff25a02
fix(docs): use require.resolve
to ensure Yarn PnP compatibility
...
Use `require.resolve` both for:
- webpack loader
- finding path, previously it was built assuming that `node_modules` directory exists which is false in Plug'n'PLay mode
2020-05-01 16:56:57 +02:00
Gaëtan Maisse
4a5d7101d6
chore(docs): add missing dependencies
...
- `@storybook/core` is used to find `coreDirName` in `preset.ts`
- `tslib` is needed because this package is a peerDeps of `@angular/core`
- `@types/estree` is used in `acornParser`
Also:
- Remove `@ts-ignore`
2020-05-01 16:56:57 +02:00
Gaëtan Maisse
1c3621a3dd
fix(toolbars): add missing dependencies
...
- `core-js` is required because generated code imports a lot of things from it
- `react-dom` is needed because this package is a peerDeps of `@storybook/addons` and `@storybook/client-api`
2020-05-01 16:55:15 +02:00
Gaëtan Maisse
da482489ee
fix(graphql): add missing dependencies
...
- `babel-loader` is used in preset and require `@babel/core`
- `@types/webpack` is needed because this package expose some `Configuration` type in generated preset.d.ts
2020-05-01 16:55:15 +02:00
Gaëtan Maisse
39a44fe158
chore(a11y): add missing devDeps
2020-05-01 16:55:12 +02:00
Norbert de Langen
8a20d1c178
CHANGE the macDepth default to 25
2020-05-01 16:54:45 +02:00
Norbert de Langen
1192b729ff
CLEANUP after bad merge after removal of peerListener
2020-05-01 16:54:07 +02:00
Gaëtan Maisse
a70f6d8501
chore(apps): remove babel-loader
from peerDeps as it's no more a peerDeps of @storybook/core
2020-05-01 16:48:34 +02:00
Gaëtan Maisse
f2da615d75
chore(core): remove babel-loader
from peerDeps as it's already a regular dep
2020-05-01 16:48:34 +02:00
Norbert de Langen
4913156135
FIX background color of the panel
2020-05-01 16:20:40 +02:00
Norbert de Langen
5b1d3e54a8
Merge pull request #10601 from storybookjs/tech/upgrades
2020-05-01 16:00:49 +02:00
Michael Shilman
71d915848f
Add comment to clairfy argstable behavior
2020-05-01 21:44:59 +08:00
Norbert de Langen
a8cbbb38eb
CLEANUP
2020-05-01 15:31:17 +02:00