From 2424b32c87e6e788c566f17414e8d73e780ec6d5 Mon Sep 17 00:00:00 2001 From: Marcus Feitoza Date: Sat, 18 Apr 2020 13:02:02 -0300 Subject: [PATCH] docs(uishell): better descriptions --- src/components/UIShell/UIShell.Story.svelte | 10 +++++----- src/components/UIShell/UIShell.stories.js | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/components/UIShell/UIShell.Story.svelte b/src/components/UIShell/UIShell.Story.svelte index 16c1245c..b190615f 100644 --- a/src/components/UIShell/UIShell.Story.svelte +++ b/src/components/UIShell/UIShell.Story.svelte @@ -109,9 +109,9 @@ }; -{#if story === 'base'} +{#if story === 'header'}
-{:else if story === 'with-header-and-nav'} +{:else if story === 'header-with-nav'}
@@ -124,7 +124,7 @@
-{:else if story === 'with-utilities'} +{:else if story === 'header-with-utilities'}
@@ -142,7 +142,7 @@
-{:else if story === 'with-switcher'} +{:else if story === 'header-with-switcher'}
@@ -159,7 +159,7 @@
-{:else if story === 'with-sidenav'} +{:else if story === 'header-and-sidenav'}
diff --git a/src/components/UIShell/UIShell.stories.js b/src/components/UIShell/UIShell.stories.js index 4cf5c5a3..2a46d83c 100644 --- a/src/components/UIShell/UIShell.stories.js +++ b/src/components/UIShell/UIShell.stories.js @@ -3,50 +3,50 @@ import Component from './UIShell.Story.svelte'; export default { title: 'UIShell', decorators: [withKnobs] }; -export const Base = () => ({ +export const Header = () => ({ Component, props: { - story: 'base', + story: 'header', href: text('The link href (href)', '#'), company: text('Company name', 'IBM'), platformName: text('Platform name', 'Platform Name') } }); -export const WithHeaderAndNav = () => ({ +export const HeaderWithNav = () => ({ Component, props: { - story: 'with-header-and-nav', + story: 'header-with-nav', href: text('The link href (href)', '#'), company: text('Company name', 'IBM'), platformName: text('Platform name', 'Platform Name') } }); -export const WithUtilities = () => ({ +export const HeaderWithUtilities = () => ({ Component, props: { - story: 'with-utilities', + story: 'header-with-utilities', href: text('The link href (href)', '#'), company: text('Company name', 'IBM'), platformName: text('Platform name', 'Platform Name') } }); -export const WithSwitcher = () => ({ +export const HeaderWithSwitcher = () => ({ Component, props: { - story: 'with-switcher', + story: 'header-with-switcher', href: text('The link href (href)', '#'), company: text('Company name', 'IBM'), platformName: text('Platform name', 'Platform Name') } }); -export const WithSidenav = () => ({ +export const HeaderAndSidenav = () => ({ Component, props: { - story: 'with-sidenav', + story: 'header-and-sidenav', href: text('The link href (href)', '#'), company: text('Company name', 'IBM'), platformName: text('Platform name', 'Platform Name')