Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/_assets/addons/manager-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/addons/storybook-addon-initial-state.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/addons/storybook-addon-installed-registered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/addons/storybook-panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/addons/storybook-tab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/addons/storybook-toolbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file modified docs/_assets/api/doc-block-canvas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/api/doc-block-controls.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/api/doc-block-icongallery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/api/doc-block-markdown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/api/doc-block-primary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/api/doc-block-source.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/api/doc-block-stories.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/api/doc-block-story.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/api/doc-block-title-subtitle-description.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/api/main-config-indexers-arch-build-plugin.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/api/main-config-indexers-arch-indexer.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/builders/storybook-builder-workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/builders/storybook-builders.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/configure/addon-locations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/configure/layout-params-story-centered.png
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be deduped with get-started/example-button-args.png

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/configure/sidebar-anatomy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_assets/configure/sidebar-roots.png
Binary file modified docs/_assets/configure/storybook-custom-theme.png
Binary file modified docs/_assets/configure/storybook-starter-custom-theme.png
Binary file modified docs/_assets/essentials/addon-actions-demo-optimized.mp4
Binary file not shown.
Binary file modified docs/_assets/essentials/addon-actions-screenshot.png
Binary file not shown.
Binary file modified docs/_assets/essentials/addon-controls-demo-optimized.mp4
Binary file not shown.
Binary file not shown.
Binary file modified docs/_assets/essentials/addon-controls-expanded.png
Binary file not shown.
Binary file added docs/_assets/essentials/addon-measure.png
Binary file not shown.
Binary file added docs/_assets/essentials/addon-outline.png
Binary file not shown.
Binary file added docs/_assets/essentials/addon-viewports.png
Binary file modified docs/_assets/essentials/highlight.png
Binary file modified docs/_assets/essentials/toolbars-and-globals.png
Binary file not shown.
Binary file modified docs/_assets/get-started/addons-walkthrough-optimized.mp4
Binary file not shown.
Binary file modified docs/_assets/get-started/docblock-source.png
Binary file not shown.
Binary file modified docs/_assets/get-started/edit-story-in-code-optimized.mp4
Binary file not shown.
Binary file not shown.
Binary file modified docs/_assets/get-started/example-button-args.png
Binary file not shown.
Binary file not shown.
Binary file removed docs/_assets/get-started/example-button-noargs.png
Diff not rendered.
Binary file modified docs/_assets/get-started/example-onboarding-wizard.png
Binary file modified docs/_assets/get-started/example-welcome.png
Binary file not shown.
Binary file modified docs/_assets/get-started/mdx-example.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/_assets/get-started/new-story-in-code-optimized.mp4
Binary file not shown.
Binary file modified docs/_assets/get-started/storybook-keyboard-shortcuts.png
Diff not rendered.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Binary file modified docs/_assets/sharing/composition-versioning.png
Binary file removed docs/_assets/sharing/embed-medium-optimized.mp4
Binary file not shown.
Binary file modified docs/_assets/sharing/storybook-figma-addon.png
Binary file modified docs/_assets/sharing/storybook-workflow-publish.mp4
Binary file not shown.
Binary file modified docs/_assets/sharing/storybook-zeplin-addon.png
Binary file modified docs/_assets/writing-docs/autodocs-default-template.png
Binary file modified docs/_assets/writing-docs/autodocs.png
Binary file modified docs/_assets/writing-docs/docs-completed.png
Binary file modified docs/_assets/writing-docs/mdx-documentation-only.png
Binary file modified docs/_assets/writing-docs/mdx-example.png
Binary file modified docs/_assets/writing-docs/mdx-markdown-docs-import.png
Binary file modified docs/_assets/writing-docs/mdx-simple.png
Binary file modified docs/_assets/writing-docs/mdx-standalone-page.png
Binary file modified docs/_assets/writing-docs/storybook-docs-build.png
Binary file not shown.
Binary file not shown.
Binary file modified docs/_assets/writing-stories/custom-tag-filter.png
Binary file modified docs/_assets/writing-stories/decorators-no-padding.png
Binary file modified docs/_assets/writing-stories/decorators-padding.png
Binary file modified docs/_assets/writing-stories/naming-hierarchy-no-path.png
Diff not rendered.
Binary file modified docs/_assets/writing-stories/naming-hierarchy-with-path.png
2 changes: 1 addition & 1 deletion docs/addons/writing-addons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Storybook addons are a powerful way to extend Storybook's functionality and cust

This reference guide is to help you develop a mental model for how Storybook addons work by building a simple addon based on the popular [Outline addon](https://storybook.js.org/addons/@storybook/addon-outline/) (which is the historical basis for the built-in [outline feature](../essentials/measure-and-outline.mdx#outline)). Throughout this guide, you'll learn how addons are structured, Storybook's APIs, how to test your addon locally, and how to publish it.

<Video src="../_assets/addons/storybook-addon-finished-state.mp4" />
![Fully implemented Storybook addon](../_assets/addons/storybook-addon-finished-state.png)

## Addon anatomy

Expand Down
2 changes: 0 additions & 2 deletions docs/contribute/documentation/new-snippets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,6 @@ npm run dev

If all goes well, you should see the Storybook website running. Open a browser window to `http://localhost:3000`, click the Docs link to open the documentation, and select your framework from the dropdown.

{/* TODO: Record video */}

<Video src="../_assets/contribute/local-storybook-website-dropdown-optimized.mp4" />

Go through the documentation and check your work.
Expand Down
2 changes: 1 addition & 1 deletion docs/essentials/backgrounds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sidebar:

The backgrounds feature allows you to set the background color on which the story renders in the UI:

<Video src="../_assets/essentials/addon-backgrounds-optimized.mp4" />
![Storybook with available backgrounds visible](../_assets/essentials/addon-backgrounds.png)

## Configuration

Expand Down
5 changes: 3 additions & 2 deletions docs/essentials/measure-and-outline.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ While working with composite components or page layouts, dealing with whitespace

Instead, you can quickly visualize each component's measurements by clicking the measure button in the toolbar. Now when you hover over an element in your story, that element's dimensions and any whitespace (i.e., `margin`, `padding`, `border`) will be shown.

<Video src="../_assets/essentials/addon-measure-optimized.mp4" />
![Measure feature enabled displaying the component's dimensions](../_assets/essentials/addon-measure.png)

<Callout variant="info" icon="💡">
Alternatively you can press the `m` key on your keyboard to toggle measure on and off.
Expand All @@ -25,7 +25,8 @@ When building your layouts, checking the visual alignment of all components can

Click the outline button in the toolbar to toggle the outlines associated with all your UI elements, allowing you to spot bugs and broken layouts instantly.

<Video src="../_assets/essentials/addon-outline-optimized.mp4" />

![Outline feature enabled on the component's story](../_assets/essentials/addon-outline.png)

## API

Expand Down
2 changes: 1 addition & 1 deletion docs/essentials/viewport.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sidebar:

The viewport feature allows you to adjust the dimensions of the iframe your story is rendered in. It makes it easy to develop responsive UIs.

<Video src="../_assets/essentials/addon-viewports-optimized.mp4" />
![Storybook with default viewports visible](../_assets/essentials/addon-viewports.png)

## Configuration

Expand Down
2 changes: 1 addition & 1 deletion docs/get-started/why-storybook.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You write stories for granular UI component variation and then use those stories

Storybook is an interactive directory of your UI components and their stories. In the past, you'd have to spin up the app, navigate to a page, and contort the UI into the right state. This is a huge waste of time and bogs down frontend development. With Storybook, you can skip all those steps and jump straight to working on a UI component in a specific state.

<Video src="../_assets/get-started/7.0-storybook-hero-video.mp4" />
<Video src="../_assets/get-started/histogram-stories-optimized.mp4" />

<details>
<summary>Where does Storybook fit into my project?</summary>
Expand Down
Loading