Skip to content

Commit c849517

Browse files
committed
Updating all pngs
1 parent 5843fe3 commit c849517

File tree

67 files changed

+134
-134
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+134
-134
lines changed

docs/addons/addon-types.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ UI-based addons allow you to customize Storybook's UI with the following element
1515

1616
Panel addons allow you to add your own UI in Storybook's addon panel. This is the most common type of addon in the ecosystem. For example, the official [`@storybook/actions`](../essentials/actions.md) and [`@storybook/a11y`](https://github.com/storybookjs/storybook/tree/next/code/addons/a11y) use this pattern.
1717

18-
![Storybook panel](./storybook-panel.png)
18+
![Storybook panel](../_assets/addons/storybook-panel.png)
1919

2020
Use this boilerplate code to add a new `Panel` to Storybook's UI:
2121

@@ -29,7 +29,7 @@ Use this boilerplate code to add a new `Panel` to Storybook's UI:
2929

3030
Toolbar addons allow you to add your own custom tools in Storybook's Toolbar. For example, the official [`@storybook/backgrounds`](../essentials/backgrounds.md) and the [`@storybook/addon-outline`](../essentials/measure-and-outline.md#outline-addon) use this pattern.
3131

32-
![Storybook toolbar addon](./storybook-toolbar.png)
32+
![Storybook toolbar addon](../_assets/addons/storybook-toolbar.png)
3333

3434
Use this boilerplate code to add a new `button` to Storybook's Toolbar:
3535

@@ -51,7 +51,7 @@ Use this boilerplate code to add a new `button` to Storybook's Toolbar:
5151

5252
Tab addons allow you to create your own custom tabs in Storybook. For example, the official [@storybook/addon-docs](../writing-docs/index.md) uses this pattern.
5353

54-
![Storybook tab addon](./storybook-tab.png)
54+
![Storybook tab addon](../_assets/addons/storybook-tab.png)
5555

5656
Use this boilerplate code to add a new `Tab` to Storybook's UI:
5757

docs/addons/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The **Manager** is the UI responsible for rendering the:
2424

2525
The **Preview** area is an `iframe` where your stories are rendered.
2626

27-
![Storybook detailed window](./manager-preview.png)
27+
![Storybook detailed window](../_assets/addons/manager-preview.png)
2828

2929
Because both elements run in their own separate `iframes`, they use a communication channel to keep in sync. For example, when you select a story in the Manager an event is dispatched across the channel notifying the Preview to render the story.
3030

docs/addons/install-addons.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Next, update `.storybook/main.js|ts` to the following:
4545

4646
When you run Storybook, the accessibility testing addon will be enabled.
4747

48-
![Storybook addon installed and registered](./storybook-addon-installed-registered.png)
48+
![Storybook addon installed and registered](../_assets/addons/storybook-addon-installed-registered.png)
4949

5050
### Removing addons
5151

docs/addons/integration-catalog.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Use the list below as a reference when filling in the values for both the `suppo
8383

8484
The `package.json` above appears like below in the catalog. See an example of a production package.json [here](https://github.com/chromaui/storybook-outline/blob/main/package.json).
8585

86-
![Storybook addon in the catalog](./addon-display.png)
86+
![Storybook addon in the catalog](../_assets/addons/addon-display.png)
8787

8888
#### How long does it take for my addon to show up in the catalog?
8989

docs/addons/writing-addons.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Notice the `match` property. It allows you to control the view mode (story or do
138138

139139
Run the `start` script to build and start Storybook and verify that the addon is registered correctly and showing in the UI.
140140

141-
![Addon registered in the toolbar](./storybook-addon-initial-state.png)
141+
![Addon registered in the toolbar](../_assets/addons/storybook-addon-initial-state.png)
142142

143143
### Style the addon
144144

@@ -270,7 +270,7 @@ Finally, run the following command to create a release for your addon. This will
270270

271271
By default, the Addon Kit comes pre-configured with a GitHub Actions workflow, enabling you to automate the release management process. This ensures that the package is always up to date with the latest changes and that the changelog is updated accordingly. However, you'll need additional configuration to use your NPM and GitHub tokens to publish the package successfully. In your repository, click the **Settings** tab, then the **Secrets and variables** dropdown, followed by the **Actions** item. You should see the following screen:
272272

273-
![GitHub secrets page](./github-secrets-screen.png)
273+
![GitHub secrets page](../_assets/addons/github-secrets-screen.png)
274274

275275
Then, click the **New repository secret**, name it `NPM_TOKEN`, and paste the token you generated earlier. Whenever you merge a pull request to the default branch, the workflow will run and publish a new release, automatically incrementing the version number and updating the changelog.
276276

docs/api/arg-types.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You can also use argTypes to “annotate” args with information used by addons
1111

1212
The most concrete realization of argTypes is the [`ArgTypes` doc block](./doc-block-argtypes.md) ([`Controls`](./doc-block-controls.md) is similar). Each row in the table corresponds to a single argType and the current value of that arg.
1313

14-
![ArgTypes table](./doc-block-argtypes.png)
14+
![ArgTypes table](../_assets/api/doc-block-argtypes.png)
1515

1616
## Automatic argType inference
1717

docs/api/doc-blocks/doc-block-argtypes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The `ArgTypes` block can be used to show a static table of [arg types](./argtype
1313
If you’re looking for a dynamic table that shows a story’s current arg values for a story and supports users changing them, see the [`Controls`](./doc-block-controls.md) block instead.
1414
</Callout>
1515

16-
![Screenshot of ArgTypes block](./doc-block-argtypes.png)
16+
![Screenshot of ArgTypes block](../_assets/doc-blocks/doc-block-argtypes.png)
1717

1818
{/* prettier-ignore-start */}
1919

docs/api/doc-blocks/doc-block-canvas.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar:
99

1010
The `Canvas` block is a wrapper around a [`Story`](./doc-block-story.md), featuring a toolbar that allows you to interact with its content while automatically providing the required [`Source`](./doc-block-source.md) snippets.
1111

12-
![Screenshot of Canvas block](./doc-block-canvas.png)
12+
![Screenshot of Canvas block](../_assets/doc-blocks/doc-block-canvas.png)
1313

1414
When using the Canvas block in MDX, it references a story with the `of` prop:
1515

docs/api/doc-blocks/doc-block-colorpalette.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar:
99

1010
The `ColorPalette` block allows you to document all color-related items (e.g., swatches) used throughout your project.
1111

12-
![Screenshot of ColorPalette and ColorItem blocks](./doc-block-colorpalette.png)
12+
![Screenshot of ColorPalette and ColorItem blocks](../_assets/doc-blocks/doc-block-colorpalette.png)
1313

1414
{/* prettier-ignore-start */}
1515

docs/api/doc-blocks/doc-block-controls.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The `Controls` block can be used to show a dynamic table of args for a given sto
1313
If you’re looking for a static table that shows a component's arg types with no controls, see the [`ArgTypes`](./doc-block-argtypes.md) block instead.
1414
</Callout>
1515

16-
![Screenshot of Controls block](./doc-block-controls.png)
16+
![Screenshot of Controls block](../_assets/doc-blocks/doc-block-controls.png)
1717

1818
{/* prettier-ignore-start */}
1919

0 commit comments

Comments
 (0)