179 Commits

Author SHA1 Message Date
Helen
79911aa566
Adds missing character in prop
Adds a missing 'r'!
2021-01-08 12:25:59 -05:00
jonniebigodes
7a32e38443
Merge pull request #13542 from profanis/angular-button-story-with-addon
docs: how to use the addons in an Angular component
2021-01-06 20:31:43 +00:00
acdzh
d192f68b03
Update storybook-addon-toolbar-example.js.mdx 2021-01-05 16:16:39 +08:00
profanis
2c4c169460 docs: how to use the addons in an Angular component 2021-01-01 12:26:16 +02:00
Pearce Liang
ba246c9e9b
fix(docs): correct react viewport snippet's import
The `MINIMAL_VIEWPORTS` is no longer contain 'iphone6' and 'iphonex' in [code](4f5ab9fe9e/addons/viewport/src/defaults.ts). 

In the meantime add `import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport';` for more clear example
2020-12-23 17:17:07 +08:00
Michael Shilman
be939deee1 Merge branch 'next' into pr/13383 2020-12-15 23:28:45 +08:00
Michael Shilman
bf0bb282b1 Merge branch 'next' into perf/esm-dist 2020-12-15 17:43:53 +08:00
Michael Shilman
e3b6d2819c Merge branch 'next' into pr/13383 2020-12-14 10:39:07 +08:00
Michael Shilman
4ebecd5083 Main.js: Add previewHead, previewBody, managerHead presets 2020-12-11 18:47:51 +08:00
ThibaudAv
1b65c451d9 refactor(angular): take into account the component deprecation in angular docs 2020-12-09 17:27:03 +01:00
Norbert de Langen
84a4bde3f0
FIX 2020-12-09 14:42:24 +01:00
Norbert de Langen
e717ab1f8b
Merge branch 'next' into perf/esm-dist 2020-12-09 09:45:06 +01:00
Michael Shilman
7891e1d1f4 Fix bad quotes 2020-12-09 12:20:28 +08:00
Norbert de Langen
aab422d33d
move ts3.4 into dist, generate types into dist/ts3.9, make esm dist for all, fix issues 2020-12-08 17:54:25 +01:00
Michael Shilman
4c91362871 cleanup 2020-12-08 19:28:02 +08:00
Michael Shilman
e10138efe5
Merge pull request #13358 from storybookjs/chore_addon_docs_change
Chore: Addon documentation restructure
2020-12-08 12:48:01 +08:00
jonniebigodes
59909eeebd
Update docs/snippets/common/my-addon-storybook-registration.js.mdx
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
2020-12-05 02:39:35 +00:00
jonniebigodes
14d678c6a7 fixed file reference 2020-12-05 01:53:09 +00:00
jonniebigodes
729aa68d81 updates per feedback 2020-12-05 01:23:05 +00:00
Michael Shilman
615bc3a438
Merge pull request #13161 from storybookjs/fix_theming
Documentation: Updates theming documentation
2020-12-04 10:50:34 +08:00
jonniebigodes
639801d3e5 chore: addon documentation restructuring 2020-12-02 15:25:40 +00:00
Michael Shilman
396c33c60c Merge pull request #13081 from redian/patch-1
Update storybook-preview-head-example.html.mdx
2020-12-02 16:05:29 +08:00
Sebastian Andil
151fb57e84 Update deprecated type
As per 49182c7144/types/react/index.d.ts (L531) SFC type is deprecated.

`VFC` mean Void Functional Component, which is suitable here
2020-11-25 22:04:05 +01:00
Michael Shilman
1e064ef2c3 Merge branch 'next' 2020-11-20 01:26:19 +08:00
Yann Braga
98bf7d82ef
Docs: Update grid usage example 2020-11-19 18:01:50 +01:00
Michael Shilman
fad1cba9b7 Update storybook-preview-with-ordered-pages.js.mdx 2020-11-19 23:02:31 +08:00
Michael Shilman
db762304c9 Docs: Fix hoisted story snippet 2020-11-19 21:13:25 +08:00
jonniebigodes
ecc7668d03 chore:updates the theming documentation 2020-11-18 18:05:02 +00:00
ZouYouShun
271c62d379
Update addon-consume-globaltype.js.mdx
Fix miss <
2020-11-12 14:46:35 +08:00
Michael Shilman
c485675b15
Merge pull request #12941 from storybookjs/chore_writing_docs_updates
Chore: Updates for the Writing docs section
2020-11-09 00:45:09 +08:00
Michael Shilman
de5090e246
Merge pull request #12897 from profanis/stories_for_multiple_components
docs: explain how to create stories for multiple components
2020-11-09 00:43:45 +08:00
jonniebigodes
c6bd077b78 removed comments and fixed vue snippet 2020-11-08 14:58:29 +00:00
Gert Hengeveld
c1a86522c1 Add docs for single story hoisting. 2020-11-07 16:53:39 +01:00
jonniebigodes
ccdaae9b68 chore:updates for the writing docs section 2020-10-28 22:44:37 +00:00
Michael Shilman
c055a69afd
Merge pull request #12896 from storybookjs/add-mdx-examples
Docs: Add MDX examples for essentials
2020-10-27 23:58:42 +08:00
Michael Shilman
0dd39d9ad7
Merge pull request #12917 from storybookjs/chore_expand_controls_docs
Chore: updates for the Controls documentation
2020-10-27 18:53:08 +08:00
jonniebigodes
8028065c20 Updates for the Controls essential documentation 2020-10-26 18:16:54 +00:00
Michael Shilman
4edd42c859
Merge pull request #12889 from DaleSeo/patch-1
Fix syntax error in docs on DocsPage
2020-10-24 21:38:24 +08:00
Michael Shilman
fbccc28147
Merge pull request #12885 from BME5150/fix/snapshots-testing-docs
fix:snapshots-testing doc's mdx
2020-10-24 21:38:01 +08:00
profanis
e77de6f28c docs: explain how to create stories for multiple components 2020-10-24 16:19:09 +03:00
Michael Shilman
8aaec34ef2 Docs: Add MDX examples for essentials 2020-10-24 21:09:28 +08:00
Dale Seo
91b07fb432
Fix syntax error 2020-10-23 13:06:33 -04:00
Unknown
a09f41741b fix:snapshots-testing doc's mdx
・typo
・Delete a comment(doesn't write anything.)
2020-10-23 21:47:18 +09:00
Michael Shilman
3e99a07265 Fix subcomponents examples 2020-10-23 14:56:09 +08:00
Michael Shilman
dc84fe0c76
Merge pull request #12860 from g1eny0ung/docs/minor-fix
Docs: add missing }
2020-10-22 16:07:45 +08:00
Michael Shilman
75b8a5a69c
Merge pull request #12838 from storybookjs/fix_issue_12695
Chore: Update snippet to address issue #12695
2020-10-22 15:51:05 +08:00
Yue Yang
ed443bc777 docs: add missing } 2020-10-22 15:45:07 +08:00
Michael Shilman
ae37b85365
Merge pull request #12815 from aach/docs-vue-page-story
docs: add vue/page-story.js
2020-10-22 10:52:21 +08:00
jonniebigodes
390c81e2e8 snippet update per feedback 2020-10-21 15:54:24 +01:00
jonniebigodes
cf9de1910f Documentation was changed to address issue. 2020-10-20 23:07:04 +01:00