361 Commits

Author SHA1 Message Date
coofzilla
d858d3bffb
Update storybook-preview-use-global-type.js.mdx 2022-10-06 05:24:07 +09:00
Kyle Gach
bbc0e82937
Merge pull request #19032 from storybookjs/test-runner-docs
Update test-runner docs
2022-08-29 09:32:34 -06:00
Shaun Lloyd
a6f6c58a47
Fix npm command to install essentials 2022-08-26 14:34:00 -04:00
Kyle Gach
94347a97f7 Update test-runner docs
- Per https://github.com/storybookjs/test-runner/pull/174, `jest` is no longer a peer dep
2022-08-26 10:54:43 -06:00
Norbert de Langen
249b1306cc
Merge branch 'next' into tech/root-change 2022-08-22 11:51:28 +02:00
jonniebigodes
1d924bb248
Merge pull request #18970 from storybookjs/chore_docs_composition_updates
Chore: (Docs) Minor tweaks to the composition docs
2022-08-19 21:58:24 +01:00
jonniebigodes
c10bc81c25 Minor tweaks to the composition docs 2022-08-19 19:23:08 +01:00
Gert Hengeveld
3a6164684c Merge branch 'next' into ghengeveld/ap-1859-generic-step-function 2022-08-12 21:49:17 +02:00
Gert Hengeveld
64c950b9c2 Fix formatting in docs 2022-08-09 14:50:14 +02:00
Norbert de Langen
26a1360ed0
add create export for lib/theming, proper
This is actually kind of a good idea, because of the size of lib/theming/index
2022-08-09 14:24:41 +02:00
Norbert de Langen
3d06286155
change the location of placeholder images to something we host ourselves
to reduce flake (you can ask yann what that means)
2022-08-05 15:05:10 +02:00
Gert Hengeveld
6f4ca1785d Merge branch 'next' into ghengeveld/ap-1859-generic-step-function 2022-08-04 13:22:53 +02:00
Norbert de Langen
36702ebe0c
I changed #root => #storybook-root
I changed #docs-root => #storybook-docs
2022-08-02 11:18:33 +02:00
Norbert de Langen
78a5355aff
cleanup 2022-07-19 10:10:46 +02:00
Michael Shilman
40ccd92403 Merge branch 'next' into future/base 2022-07-15 11:09:15 -07:00
Kyle Gach
397c02e84c Update SEO documentation for 7.0 features 2022-07-11 09:02:28 -06:00
Kyle Gach
c40b6a61e1 Add SEO section to Publish docs page 2022-07-11 07:24:38 -06:00
Gert Hengeveld
63d2f988d1 Merge branch 'future/base' into ghengeveld/ap-1859-generic-step-function 2022-07-08 09:58:04 +02:00
jonniebigodes
685f30e6e4
Merge pull request #18660 from storybookjs/chore_fix_csf3_docs_snippets
Chore: (Docs) Updates for CSF3
2022-07-08 00:36:28 +01:00
jonniebigodes
9966c1bf09 minor tweaks 2022-07-07 22:47:17 +01:00
jonniebigodes
e33951295b common CSF snippets 2022-07-07 19:26:21 +01:00
Norbert de Langen
5683419d4b
Merge branch 'next' into future/base
# Conflicts:
#	lib/cli/src/generators/baseGenerator.ts
#	renderers/svelte/src/docs/extractArgTypes.ts
#	renderers/svelte/src/render.ts
2022-07-07 10:45:15 +02:00
Ian VanSchooten
dd5f380648 Remove @babel/preset-env from example 2022-07-06 22:21:50 -04:00
Norbert de Langen
b49b835c0c
Merge branch 'future/base' into fix/builder-stats-typings 2022-07-06 19:22:49 +02:00
Norbert de Langen
a5c35e1b3e
improvements to setup 2022-07-06 00:30:10 +02:00
Gert Hengeveld
b64677450b Document step function 2022-07-05 14:50:25 +02:00
Ari Perkkiö
0502e0d078 fix: builder stats typings to be optional 2022-07-03 08:05:13 +00:00
Norbert de Langen
ea3191f0c8
Merge branch 'next' into future/base
# Conflicts:
#	addons/storyshots/storyshots-puppeteer/package.json
#	addons/storysource/package.json
#	examples/official-storybook/stories/addon-a11y/highlight.stories.js
#	lib/api/src/lib/stories.ts
#	lib/api/src/tests/stories.test.ts
#	lib/core-server/src/build-static.ts
#	lib/core-server/src/utils/StoryIndexGenerator.ts
#	lib/manager-webpack4/src/presets/manager-preset.ts
#	lib/telemetry/src/get-monorepo-type.ts
#	yarn.lock
2022-07-01 11:51:12 +02:00
Logan Allred
d0de62ef0e fix typo in gizmo example
`presetsColors` should be `presetColors`
2022-06-29 22:38:53 -06:00
Michael Shilman
63460cf5a1 Merge branch 'future/base' into future/SB-444 2022-06-29 10:00:47 +08:00
Norbert de Langen
3c6d2f3da5
Merge branch 'future/base' into addon-highlight
# Conflicts:
#	addons/a11y/package.json
#	addons/a11y/src/components/A11yContext.tsx
#	addons/essentials/package.json
#	examples/html-kitchen-sink/package.json
#	examples/official-storybook/main.ts
#	examples/official-storybook/package.json
#	examples/preact-kitchen-sink/package.json
#	examples/server-kitchen-sink/package.json
#	examples/svelte-kitchen-sink/package.json
#	examples/vue-kitchen-sink/package.json
#	examples/web-components-kitchen-sink/package.json
#	examples/web-components-kitchen-sink/yarn.lock
#	lib/core-server/src/__snapshots__/cra-ts-essentials_preview-dev-posix
#	lib/core-server/src/__snapshots__/cra-ts-essentials_preview-prod-posix
#	lib/core-server/src/__snapshots__/html-kitchen-sink_preview-dev-posix
#	lib/core-server/src/__snapshots__/html-kitchen-sink_preview-prod-posix
#	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/__snapshots__/web-components-kitchen-sink_preview-dev-posix
#	lib/core-server/src/__snapshots__/web-components-kitchen-sink_preview-prod-posix
#	nx.json
#	workspace.json
#	yarn.lock
2022-06-29 00:16:55 +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
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
Norbert de Langen
abbd4f91ae
more removal of removed prepareForInline 2022-06-08 17:26:39 +02: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
Ian VanSchooten
2317e6e43f Fix global argTypes definition docs 2022-05-31 13:51:46 -04: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
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
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
0ecf7593d0 updates Build pages with MSW set up 2022-05-25 16:22:00 +01:00
Matt Oliver
3aa19fee07 adds optimized png and moves snippets to snippets folder 2022-05-18 21:17:06 -05:00
jonniebigodes
73cf6baf4e adds MDX 2 docs and gotchas 2022-05-17 22:30:21 +01:00