From b68689e1851e95464b2f30b49cbfe598c931fe2e Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Tue, 11 Aug 2020 00:07:58 +1000 Subject: [PATCH 1/3] Reorder essentials --- docs/essentials/introduction.md | 9 +++++---- docs/toc.js | 21 ++++++++++----------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/essentials/introduction.md b/docs/essentials/introduction.md index 7254bc4d837..809606bafee 100644 --- a/docs/essentials/introduction.md +++ b/docs/essentials/introduction.md @@ -4,11 +4,12 @@ title: 'Essential addons' A major strength of Storybook are [addons](/addons/) that extend Storybook’s UI and behavior. There are many third-party addons as well as “official” addons developed by the Storybook core team. Storybook ships by default with a set of “essential” addons that add to the initial user experience. -- [Actions](./actions.md) -- [Backgrounds](./backgrounds.md) -- [Controls](./controls.md) - [Docs](../writing-docs/introduction.md) +- [Controls](./controls.md) +- [Actions](./actions.md) - [Viewport](./viewports.md) +- [Backgrounds](./backgrounds.md) +- [Toolbars](./toolbars.md) ### Configuration @@ -35,5 +36,5 @@ As an example, if the background addon wasn't necessary to your work, you would
- You can use the following keys for each individual addon: `actions`, `backgrounds`, `controls`, `docs`, `viewport`. + You can use the following keys for each individual addon: `actions`, `backgrounds`, `controls`, `docs`, `viewport`, `toolbars`.
diff --git a/docs/toc.js b/docs/toc.js index 3c963453006..8d86e944609 100644 --- a/docs/toc.js +++ b/docs/toc.js @@ -117,27 +117,26 @@ module.exports = { title: 'Introduction', type: 'link', }, - - { - pathSegment: 'actions', - title: 'Actions', - type: 'link', - }, - { - pathSegment: 'backgrounds', - title: 'Backgrounds', - type: 'link', - }, { pathSegment: 'controls', title: 'Controls', type: 'link', }, + { + pathSegment: 'actions', + title: 'Actions', + type: 'link', + }, { pathSegment: 'viewport', title: 'Viewport', type: 'link', }, + { + pathSegment: 'backgrounds', + title: 'Backgrounds', + type: 'link', + }, { pathSegment: 'toolbars-and-globals', title: 'Toolbars & globals', From 95eabdd92e9e4eb67b266187442b70610e40b19e Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Tue, 11 Aug 2020 00:10:09 +1000 Subject: [PATCH 2/3] Fix bug --- docs/workflows/stories-for-multiple-components.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/workflows/stories-for-multiple-components.md b/docs/workflows/stories-for-multiple-components.md index 30297b89657..74e1940554a 100644 --- a/docs/workflows/stories-for-multiple-components.md +++ b/docs/workflows/stories-for-multiple-components.md @@ -75,8 +75,10 @@ OneItem.args = { Now that `children` is an arg, we can potentially reuse it in another story. -
+
+ As things stand (we hope to improve this soon) you cannot edit children in a control yet. +
## Creating a Template Component From f7a3efd737b79fa5a304a231edd201fa0b5d4177 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Tue, 11 Aug 2020 00:10:45 +1000 Subject: [PATCH 3/3] Tweak --- docs/essentials/introduction.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/essentials/introduction.md b/docs/essentials/introduction.md index 809606bafee..191c73e7c03 100644 --- a/docs/essentials/introduction.md +++ b/docs/essentials/introduction.md @@ -36,5 +36,7 @@ As an example, if the background addon wasn't necessary to your work, you would
- You can use the following keys for each individual addon: `actions`, `backgrounds`, `controls`, `docs`, `viewport`, `toolbars`. + +You can use the following keys for each individual addon: `actions`, `backgrounds`, `controls`, `docs`, `viewport`, `toolbars`. +