1008 Commits

Author SHA1 Message Date
Michael Shilman
87c33102ec Add docs container recipe 2020-05-04 18:18:48 +08:00
Michael Shilman
8a882e9eaa Merge branch 'next' into pr/9531 2020-05-04 12:40:43 +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
3c5e04b76d Props controls: Add optional validator function to Object control 2020-05-04 11:22:03 +08:00
Michael Shilman
e2bfc168c0 v6.0.0-beta.1 2020-05-02 21:59:51 +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
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
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
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
5671a05244 Source block: Fix no-props logic 2020-05-02 09:17:56 +08: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
Michael Shilman
71d915848f Add comment to clairfy argstable behavior 2020-05-01 21:44:59 +08:00
Michael Shilman
f789985eba Props: Fix subcomponents & update story to test it 2020-05-01 18:46:03 +08:00
Norbert de Langen
4d3da8bbce
FIX linting 2020-04-30 21:10:26 +02:00
Norbert de Langen
e44111cfa3
FIX types 2020-04-30 19:55:19 +02:00
Norbert de Langen
f03f427e63
IMPROVE typings && FIX tests by catching error when cleaning tmp dir 2020-04-30 18:45:31 +02:00
Norbert de Langen
5e3be6f267
FIX linting 2020-04-30 18:00:35 +02:00
Norbert de Langen
3c8df4fb72
UPGRADES 2020-04-30 17:56:53 +02:00
Norbert de Langen
0385c467c0
UPGRADES 2020-04-30 17:27:23 +02:00
Michael Shilman
e30cc27f5b Addon-docs: Common setup docs 2020-04-29 22:03:42 +08:00
Michael Shilman
93ccaba607 v6.0.0-beta.0 2020-04-29 21:27:43 +08:00
Michael Shilman
71c09d5cf3 Add props controls support to docs 2020-04-29 17:37:04 +08:00
Michael Shilman
bd4b167dca v6.0.0-alpha.46 2020-04-29 16:58:43 +08:00
Michael Shilman
198f3d5ce2 Merge branch 'next' into 10517-vue-props-controls 2020-04-29 14:36:00 +08:00
Michael Shilman
c53302f53b Addon-docs: Add subcomponents prop to Meta 2020-04-28 17:56:13 +08:00
Michael Shilman
5b26d301f3 v6.0.0-alpha.45 2020-04-28 11:25:49 +08:00
Michael Shilman
1781da9324 Pass args first: Migration instructions 2020-04-28 10:58:37 +08:00
Michael Shilman
ff4e1294b4 Args: Props controls for Vue 2020-04-27 21:50:34 +08:00
Michael Shilman
af271cf5e3 v6.0.0-alpha.44 2020-04-27 12:07:47 +08:00
Michael Shilman
c32b263d03 v6.0.0-alpha.43 2020-04-24 06:24:53 +08:00
Michael Shilman
555527a16e Merge branch 'next' into fix/moreIE11 2020-04-23 15:42:44 +08:00
Michael Shilman
aa2ceda338 v6.0.0-alpha.42 2020-04-23 08:13:24 +08:00
Norbert de Langen
d78d235b5d
IMPROVE typings && CORRECT usage of DocGenButton 2020-04-22 17:48:54 +02:00
tooppaaa
dbd22989c7 add dll back to docs preset 2020-04-22 11:55:51 +02:00
Michael Shilman
0cdc337fe9 Addon-docs: Rename formatSource to transformSource 2020-04-21 20:55:48 +08:00
Norbert de Langen
67470e77a6
Merge branch 'next' into fix/moreIE11 2020-04-21 11:11:03 +02:00
Michael Shilman
869f451558 v6.0.0-alpha.41 2020-04-21 07:10:51 +08:00
Michael Shilman
4f0113febc
Merge pull request #10482 from storybookjs/10481-vue-argstable
Addon-docs: Port Vue to ArgsTable
2020-04-21 06:56:17 +08:00
Tom Nolan
10013736ac
Move resetComponents to @storybook/components/html 2020-04-20 15:19:22 -04:00
Tom Nolan
e188a46944
Add resetStyles prop to addon-docs Preview component 2020-04-20 15:17:26 -04:00
Norbert de Langen
db7adf245f Merge branch 'next' into fix/moreIE11 2020-04-20 17:39:41 +02:00
Michael Shilman
cb472ecd28 Props: Fix required handling for React and Vue 2020-04-20 23:38:06 +08:00
Michael Shilman
739e1b861f Fix missing description and type 2020-04-20 23:26:07 +08:00
Michael Shilman
705fd5cd43 Addon-docs: Port Vue to ArgsTable 2020-04-20 23:11:01 +08:00
Michael Shilman
0ea161df15 DocsPage: Fix controls to point to primary story 2020-04-20 22:35:47 +08:00
Michael Shilman
75c02952b4 v6.0.0-alpha.40 2020-04-20 16:11:50 +08:00