4259 Commits

Author SHA1 Message Date
jonniebigodes
3f6201df42 updates references of sb to storybook 2022-06-28 23:10:40 +01:00
jonniebigodes
86c5f5dec0
Merge pull request #18508 from Matthew-Smith/html-introduction-examples
docs: Add html framework examples for the introduction page
2022-06-28 18:06:37 +01:00
Matthew Smith
19d9cc2ba3 Add html framework examples for the introduction docs 2022-06-27 09:41:20 -04:00
Sruthi Sanigarapu
a86531d10d Update document to show storybook initialization using npm.
npx storybook init command is installing storybook using yarn by
default on projects that use npm. This leads to clobbering of package.lock
when storybook addons are installed  using npm. This update will show users
how to initialize storybook using npm.
2022-06-26 23:27:44 -05:00
jonniebigodes
b2d8c77de7
Merge pull request #18566 from minimalsm/patch-1
Improve link text (whats-a-story doc)
2022-06-25 01:20:26 +01:00
Kyle Gach
c57c101557 Fix syntax error in test-runner.md 2022-06-24 16:36:20 -06:00
Kyle Gach
b0cf7bbb55 Fix formatting of docs/faq.md
- Prettier screwed it up in 2d011763bb
2022-06-24 14:38:09 -06:00
Joshua
3389237122
Update whats-a-story.md 2022-06-24 20:20:54 +01:00
Kyle Gach
2d011763bb Fix /docs 404s 2022-06-24 12:48:45 -06:00
Norbert de Langen
e262d8c6a9
more Story to StoryFn convertion 2022-06-21 21:16:30 +02:00
Norbert de Langen
69a61b6c12
Story should StoryFn 2022-06-21 21:04:31 +02:00
Norbert de Langen
c29b2cb263
make it all imported by type, and convert to use to StoryFn 2022-06-21 20:08:15 +02:00
Norbert de Langen
493b15f137
wip 2022-06-21 19:45:47 +02:00
Norbert de Langen
c0240f8ec5
changes 2022-06-21 18:30:05 +02:00
Norbert de Langen
e6bf81d109
Merge branch 'future/SB-444' into future/SB-444-examples 2022-06-21 13:10:34 +02:00
Norbert de Langen
93433a9884
improve 2022-06-20 16:14:11 +02:00
Norbert de Langen
7f65c7b370
migrate examples to use main.ts (typescript),they import the correct interface and ensure those types are there and work 2022-06-20 16:09:37 +02:00
Michael Shilman
ab4a16f016 Merge branch 'future/base' into future-hybrid-stories-index 2022-06-17 10:25:07 +08:00
Michael Shilman
cc4a40b279 Merge branch 'next' into future/base 2022-06-17 00:12:26 +08:00
Michael Shilman
11c2a7546d Merge branch 'future/base' into future-hybrid-stories-index 2022-06-16 18:54:10 +08:00
Alex Guja
d1e1b4b446
Update test-runner.md
Make code snippet consistent with the others on the page. Typically yarn is shown before npm, so this change will make the code snippet consistent with the rest.
2022-06-15 14:13:01 +02:00
Norbert de Langen
9457013827
Merge branch 'next' into future/base
# Conflicts:
#	lib/components/package.json
2022-06-14 13:10:11 +02:00
Matt Evenson
553b900665
Remove duplicate statement
`title: 'DocumentScreen',` appears twice in the component meta.
2022-06-12 21:55:52 -07:00
Michael Shilman
c43c933156 Add note about babelrc vs babel config 2022-06-10 17:36:06 +08:00
Michael Shilman
f0c2c8483f Merge branch 'future/base' into future-hybrid-stories-index 2022-06-09 11:10:04 +08:00
Norbert de Langen
abbd4f91ae
more removal of removed prepareForInline 2022-06-08 17:26:39 +02:00
Norbert de Langen
9c596c87ae
Merge branch 'next' into future/base
# Conflicts:
#	docs/faq.md
#	lib/cli/src/repro-generators/configs.ts
#	lib/cli/src/repro-generators/scripts.ts
2022-06-07 11:11:19 +02:00
jonniebigodes
17b8bf4250 Minor tweaks around SB env vars 2022-06-06 19:27:33 +01:00
Michael Shilman
1e8df04b85 Merge branch 'future/simplified-frameworks' into future/modern-frameworks 2022-06-06 20:08:46 +08:00
Michael Shilman
6bf256c56e Merge branch 'next' into future/base 2022-06-06 19:33:40 +08:00
Trang Le
07ca2aa948
Docs: Update link to Initial Setup section 2022-06-06 17:57:01 +07:00
jonniebigodes
c987a3c71f
Fix Typo
Typo fix in writing addons
2022-06-02 22:09:27 +01:00
Norbert de Langen
7d80511826
Merge branch 'feat/cli-add-additional-files' into future/modern-frameworks
# Conflicts:
#	examples/vue-3-cli/.storybook/main.js
#	examples/vue-kitchen-sink/.storybook/main.js
#	examples/vue-kitchen-sink/src/stories/__snapshots__/custom-decorators.stories.storyshot
#	renderers/vue/src/preview/config.ts
#	renderers/vue3/src/preview/config.ts
2022-06-02 16:31:00 +02:00
jonniebigodes
5bacf4d57f
Merge pull request #18378 from storybookjs/chore_docs_minor_fixes_snippets
Chore: (Docs) Minor updates to docs and snippets
2022-06-01 16:12:48 +01:00
jonniebigodes
01fba57706
Merge pull request #18380 from storybookjs/fix-global-arg-docs
Fix global argTypes definition docs
2022-05-31 23:32:08 +01:00
Ian VanSchooten
2317e6e43f Fix global argTypes definition docs 2022-05-31 13:51:46 -04:00
jonniebigodes
6020acdeba Adds spacing to prevent issues with the link 2022-05-31 18:36:56 +01:00
jonniebigodes
2a3ef9a3d2 Updates to docs for better UX 2022-05-31 18:19:16 +01:00
Norbert de Langen
0de2bb8f3c
Merge branch 'future/simplified-frameworks' into future/modern-frameworks
# Conflicts:
#	addons/a11y/package.json
#	addons/a11y/src/components/VisionSimulator.test.tsx
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/controls/package.json
#	addons/docs/package.json
#	addons/essentials/package.json
#	addons/interactions/package.json
#	addons/jest/package.json
#	addons/links/package.json
#	addons/measure/package.json
#	addons/outline/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storysource/package.json
#	addons/toolbars/package.json
#	addons/viewport/package.json
#	docs/builders/webpack.md
#	docs/snippets/common/storybook-main-enable-transcludemarkdown.js.mdx
#	docs/snippets/common/storybook-vite-builder-aliasing.js.mdx
#	examples/angular-cli/.storybook/main.js
#	examples/angular-cli/package.json
#	examples/cra-kitchen-sink/.storybook/main.js
#	examples/cra-kitchen-sink/package.json
#	examples/cra-react15/.storybook/main.js
#	examples/cra-react15/package.json
#	examples/cra-ts-essentials/.storybook/main.ts
#	examples/cra-ts-essentials/package.json
#	examples/cra-ts-kitchen-sink/.storybook/main.ts
#	examples/cra-ts-kitchen-sink/package.json
#	examples/ember-cli/.storybook/main.js
#	examples/ember-cli/package.json
#	examples/external-docs/package.json
#	examples/html-kitchen-sink/.storybook/main.js
#	examples/html-kitchen-sink/package.json
#	examples/official-storybook/main.ts
#	examples/official-storybook/package.json
#	examples/official-storybook/stories/title/AutoTitle.stories.js
#	examples/official-storybook/stories/title/CustomTitle.stories.js
#	examples/preact-kitchen-sink/.storybook/main.js
#	examples/preact-kitchen-sink/package.json
#	examples/react-ts/package.json
#	examples/react-ts/src/title/AutoTitle.stories.js
#	examples/react-ts/src/title/CustomTitle.stories.js
#	examples/server-kitchen-sink/package.json
#	examples/standalone-preview/package.json
#	examples/svelte-kitchen-sink/.storybook/main.js
#	examples/svelte-kitchen-sink/package.json
#	examples/vue-3-cli/package.json
#	examples/vue-cli/.storybook/main.js
#	examples/vue-cli/package.json
#	examples/vue-kitchen-sink/.storybook/main.js
#	examples/vue-kitchen-sink/package.json
#	examples/web-components-kitchen-sink/.storybook/main.js
#	frameworks/angular/package.json
#	frameworks/ember/package.json
#	frameworks/html-webpack5/package.json
#	frameworks/preact-webpack5/package.json
#	frameworks/react-vite/package.json
#	frameworks/server-webpack5/package.json
#	frameworks/svelte-webpack5/package.json
#	frameworks/vue-webpack5/package.json
#	frameworks/vue3-webpack5/package.json
#	frameworks/web-components-webpack5/package.json
#	lib/addons/package.json
#	lib/api/package.json
#	lib/api/src/modules/layout.ts
#	lib/builder-webpack4/package.json
#	lib/builder-webpack5/package.json
#	lib/channel-postmessage/package.json
#	lib/channel-websocket/package.json
#	lib/channels/package.json
#	lib/cli/src/automigrate/fixes/angular12.test.ts
#	lib/cli/src/detect.ts
#	lib/cli/src/versions.ts
#	lib/client-api/package.json
#	lib/client-logger/package.json
#	lib/codemod/package.json
#	lib/codemod/src/transforms/csf-2-to-3.ts
#	lib/components/package.json
#	lib/core-client/package.json
#	lib/core-common/package.json
#	lib/core-events/package.json
#	lib/core-server/package.json
#	lib/core-server/src/__snapshots__/vue-3-cli_preview-dev-posix
#	lib/core-server/src/__snapshots__/vue-3-cli_preview-prod-posix
#	lib/core-server/src/utils/StoryIndexGenerator.ts
#	lib/csf-tools/package.json
#	lib/docs-tools/package.json
#	lib/instrumenter/package.json
#	lib/manager-webpack4/package.json
#	lib/manager-webpack5/package.json
#	lib/node-logger/package.json
#	lib/postinstall/package.json
#	lib/preview-web/package.json
#	lib/router/package.json
#	lib/source-loader/package.json
#	lib/store/package.json
#	lib/store/src/autoTitle.test.ts
#	lib/telemetry/package.json
#	lib/theming/package.json
#	lib/ui/package.json
#	presets/react-webpack/package.json
#	scripts/build-package.js
#	scripts/bundle-package.ts
#	yarn.lock
2022-05-30 11:27:16 +02:00
Michael Shilman
70647a1381 Merge branch 'future/base' into future/add-renderers 2022-05-29 18:56:46 +08:00
Michael Shilman
96b409996a Merge branch 'next' into future/base 2022-05-29 18:51:16 +08:00
jonniebigodes
516f8464de
Merge pull request #18353 from saseungmin/fix/typo-storybook-main-enable-transcludemarkdown.js.mdx
[Fix] Broken code block storybook-main-enable-transcludemarkdown.js.mdx
2022-05-29 05:08:16 +01:00
saseungmin
dc497289e5 [Fix] Tyop in storybook-main-enable-transcludemarkdown.js.mdx
- Fix to code snippets in "https://storybook.js.org/docs/7.0/react/writing-docs/mdx"
- Fix typo storybook-main-enable-transcludemarkdown.js.mdx
2022-05-29 00:21:46 +09:00
inokawa
f3e932e247
Fix link to typescript 2022-05-28 15:17:03 +09:00
jonniebigodes
44f7a2a032
Merge pull request #18345 from squarism/patch-1
documentation: Syntax error in vite builder docs
2022-05-27 22:48:55 +01:00
jonniebigodes
175ab5256a remove specific version 2022-05-27 21:10:53 +01:00
jonniebigodes
f7ff4b95dc Updates jest snippets to address jest 28 2022-05-27 19:39:08 +01:00
Chris Dillon
100450e950
fix: Syntax error in vite builder docs
Just a missing comma in the object.
2022-05-27 09:53:18 -07:00
Norbert de Langen
77c0f3ab81
Merge commit '13b40e371555122513d307be94da2f0705df34ef' into future/modern-frameworks
# Conflicts:
#	addons/a11y/package.json
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/controls/package.json
#	addons/docs/package.json
#	addons/essentials/package.json
#	addons/interactions/package.json
#	addons/jest/package.json
#	addons/links/package.json
#	addons/measure/package.json
#	addons/outline/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storysource/package.json
#	addons/toolbars/package.json
#	addons/viewport/package.json
#	docs/faq.md
#	examples/angular-cli/.storybook/main.js
#	examples/angular-cli/package.json
#	examples/cra-kitchen-sink/.storybook/main.js
#	examples/cra-kitchen-sink/package.json
#	examples/cra-react15/.storybook/main.js
#	examples/cra-react15/package.json
#	examples/cra-ts-essentials/.storybook/main.ts
#	examples/cra-ts-essentials/package.json
#	examples/cra-ts-kitchen-sink/.storybook/main.ts
#	examples/cra-ts-kitchen-sink/package.json
#	examples/ember-cli/.storybook/main.js
#	examples/ember-cli/package.json
#	examples/external-docs/package.json
#	examples/html-kitchen-sink/.storybook/main.js
#	examples/html-kitchen-sink/package.json
#	examples/official-storybook/main.ts
#	examples/official-storybook/package.json
#	examples/preact-kitchen-sink/.storybook/main.js
#	examples/preact-kitchen-sink/package.json
#	examples/react-ts-webpack4/package.json
#	examples/react-ts/package.json
#	examples/server-kitchen-sink/package.json
#	examples/standalone-preview/package.json
#	examples/svelte-kitchen-sink/.storybook/main.js
#	examples/svelte-kitchen-sink/package.json
#	examples/vue-3-cli/.storybook/main.js
#	examples/vue-3-cli/package.json
#	examples/vue-cli/.storybook/main.js
#	examples/vue-cli/package.json
#	examples/vue-kitchen-sink/.storybook/main.js
#	examples/vue-kitchen-sink/package.json
#	examples/web-components-kitchen-sink/.storybook/main.js
#	frameworks/angular/package.json
#	frameworks/ember/package.json
#	frameworks/preact-webpack5/package.json
#	frameworks/vue-webpack5/package.json
#	frameworks/vue3-webpack5/package.json
#	lib/addons/package.json
#	lib/api/package.json
#	lib/builder-webpack4/package.json
#	lib/builder-webpack5/package.json
#	lib/channel-postmessage/package.json
#	lib/channel-websocket/package.json
#	lib/channels/package.json
#	lib/cli/package.json
#	lib/cli/src/automigrate/fixes/angular12.test.ts
#	lib/cli/src/automigrate/index.ts
#	lib/cli/src/versions.ts
#	lib/client-api/package.json
#	lib/client-logger/package.json
#	lib/codemod/package.json
#	lib/components/package.json
#	lib/core-client/package.json
#	lib/core-common/package.json
#	lib/core-events/package.json
#	lib/core-server/package.json
#	lib/core-server/src/__snapshots__/vue-3-cli_preview-dev-posix
#	lib/core-server/src/__snapshots__/vue-3-cli_preview-prod-posix
#	lib/core-vite/package.json
#	lib/csf-tools/package.json
#	lib/docs-tools/package.json
#	lib/instrumenter/package.json
#	lib/manager-webpack4/package.json
#	lib/manager-webpack5/package.json
#	lib/node-logger/package.json
#	lib/postinstall/package.json
#	lib/preview-web/package.json
#	lib/router/package.json
#	lib/source-loader/package.json
#	lib/store/package.json
#	lib/telemetry/package.json
#	lib/theming/package.json
#	lib/ui/package.json
#	presets/server-webpack/package.json
#	renderers/html/package.json
#	renderers/react/package.json
#	renderers/svelte/package.json
#	renderers/web-components/package.json
#	scripts/build-package.js
#	scripts/bundle-package.ts
#	yarn.lock
2022-05-26 14:46:04 +02:00
jonniebigodes
13b40e3715
Merge pull request #18325 from storybookjs/chore_docs_build_pages_fix
Chore: (Docs) Updates Build pages with MSW set up
2022-05-25 16:51:32 +01:00