From 267b9999958e5eddffa5950c645039e6a5c06a30 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 13 Jul 2018 22:42:52 -0700 Subject: [PATCH] MOVE ui into it's own group --- .../__snapshots__/addon-backgrounds.stories.storyshot | 10 +++++----- .../stories/addon-backgrounds.stories.js | 2 +- .../__snapshots__/menu_item.stories.storyshot | 2 +- lib/ui/src/modules/ui/components/menu_item.stories.js | 2 +- lib/ui/src/modules/ui/components/search_box.stories.js | 2 +- .../modules/ui/components/shortcuts_help.stories.js | 2 +- .../__snapshots__/index.stories.storyshot | 8 ++++---- .../__snapshots__/text_filter.stories.storyshot | 4 ++-- .../ui/components/stories_panel/index.stories.js | 2 +- .../stories_tree/__snapshots__/index.stories.storyshot | 10 +++++----- .../stories_panel/stories_tree/index.stories.js | 2 +- .../ui/components/stories_panel/text_filter.stories.js | 2 +- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/examples/official-storybook/stories/__snapshots__/addon-backgrounds.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-backgrounds.stories.storyshot index 129514ebf524..de44f9f2b3e5 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-backgrounds.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-backgrounds.stories.storyshot @@ -18,31 +18,31 @@ exports[`Storyshots Addons|Backgrounds story 2 1`] = ` `; -exports[`Storyshots Addons|Backgrounds, parameters disabled via [] 1`] = ` +exports[`Storyshots Addons|Backgrounds.parameters disabled via [] 1`] = ` `; -exports[`Storyshots Addons|Backgrounds, parameters overriden 1`] = ` +exports[`Storyshots Addons|Backgrounds.parameters overriden 1`] = ` `; -exports[`Storyshots Addons|Backgrounds, parameters skipped via disable:true 1`] = ` +exports[`Storyshots Addons|Backgrounds.parameters skipped via disable:true 1`] = ` `; -exports[`Storyshots Addons|Backgrounds, parameters story 1 1`] = ` +exports[`Storyshots Addons|Backgrounds.parameters story 1 1`] = ` `; -exports[`Storyshots Addons|Backgrounds, parameters story 2 1`] = ` +exports[`Storyshots Addons|Backgrounds.parameters story 2 1`] = ` diff --git a/examples/official-storybook/stories/addon-backgrounds.stories.js b/examples/official-storybook/stories/addon-backgrounds.stories.js index de9048fc5193..acb96a6d2fc7 100644 --- a/examples/official-storybook/stories/addon-backgrounds.stories.js +++ b/examples/official-storybook/stories/addon-backgrounds.stories.js @@ -23,7 +23,7 @@ storiesOf('Addons|Backgrounds', module) ])(() => ) ); -storiesOf('Addons|Backgrounds, parameters', module) +storiesOf('Addons|Backgrounds.parameters', module) .addDecorator(withBackgrounds) .addParameters({ backgrounds: [ diff --git a/lib/ui/src/modules/ui/components/__snapshots__/menu_item.stories.storyshot b/lib/ui/src/modules/ui/components/__snapshots__/menu_item.stories.storyshot index ef1c1f9018ff..ac20b6db658e 100644 --- a/lib/ui/src/modules/ui/components/__snapshots__/menu_item.stories.storyshot +++ b/lib/ui/src/modules/ui/components/__snapshots__/menu_item.stories.storyshot @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Storyshots ui/MenuItem default 1`] = ` +exports[`Storyshots UI|MenuItem default 1`] = `
( +storiesOf('UI|MenuItem', module).add('default', () => ( Content diff --git a/lib/ui/src/modules/ui/components/search_box.stories.js b/lib/ui/src/modules/ui/components/search_box.stories.js index 18baead796c0..2d2d90819e71 100644 --- a/lib/ui/src/modules/ui/components/search_box.stories.js +++ b/lib/ui/src/modules/ui/components/search_box.stories.js @@ -23,7 +23,7 @@ if (rootElement != null) { // For some reason react-modal causes an segfault (infinite loop maybe?) // when rendered by storyshots/react-test-renderer if (!navigator.userAgent.match(/Node\.js/) && !navigator.userAgent.match(/jsdom/)) { - storiesOf('ui/SearchBox', module) + storiesOf('UI|SearchBox', module) .add('default', () => ( )) diff --git a/lib/ui/src/modules/ui/components/shortcuts_help.stories.js b/lib/ui/src/modules/ui/components/shortcuts_help.stories.js index ce5d87f67663..804b7481b9db 100644 --- a/lib/ui/src/modules/ui/components/shortcuts_help.stories.js +++ b/lib/ui/src/modules/ui/components/shortcuts_help.stories.js @@ -16,7 +16,7 @@ if (rootElement != null) { // For some reason react-modal causes an segfault (infinite loop maybe?) // when rendered by storyshots/react-test-renderer if (!navigator.userAgent.match(/Node\.js/) && !navigator.userAgent.match(/jsdom/)) { - storiesOf('ui/ShortcutHelp', module).add('default', () => ( + storiesOf('UI|ShortcutHelp', module).add('default', () => ( )); } diff --git a/lib/ui/src/modules/ui/components/stories_panel/__snapshots__/index.stories.storyshot b/lib/ui/src/modules/ui/components/stories_panel/__snapshots__/index.stories.storyshot index 9ccfc66a5367..d98371555811 100644 --- a/lib/ui/src/modules/ui/components/stories_panel/__snapshots__/index.stories.storyshot +++ b/lib/ui/src/modules/ui/components/stories_panel/__snapshots__/index.stories.storyshot @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Storyshots ui/stories/StoriesPanel default 1`] = ` +exports[`Storyshots UI|stories/StoriesPanel default 1`] = `
@@ -33,7 +33,7 @@ exports[`Storyshots ui/stories/StoriesPanel default 1`] = `
`; -exports[`Storyshots ui/stories/StoriesPanel storiesHierarchies exists but is empty 1`] = ` +exports[`Storyshots UI|stories/StoriesPanel storiesHierarchies exists but is empty 1`] = `
@@ -66,7 +66,7 @@ exports[`Storyshots ui/stories/StoriesPanel storiesHierarchies exists but is emp
`; -exports[`Storyshots ui/stories/StoriesPanel when open on mobile device 1`] = ` +exports[`Storyshots UI|stories/StoriesPanel when open on mobile device 1`] = `
@@ -99,7 +99,7 @@ exports[`Storyshots ui/stories/StoriesPanel when open on mobile device 1`] = `
`; -exports[`Storyshots ui/stories/StoriesPanel with storiesHierarchies prop 1`] = ` +exports[`Storyshots UI|stories/StoriesPanel with storiesHierarchies prop 1`] = `
diff --git a/lib/ui/src/modules/ui/components/stories_panel/__snapshots__/text_filter.stories.storyshot b/lib/ui/src/modules/ui/components/stories_panel/__snapshots__/text_filter.stories.storyshot index e29de966b85f..06a4eab21da4 100644 --- a/lib/ui/src/modules/ui/components/stories_panel/__snapshots__/text_filter.stories.storyshot +++ b/lib/ui/src/modules/ui/components/stories_panel/__snapshots__/text_filter.stories.storyshot @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Storyshots ui/stories/TextFilter with filterText 1`] = ` +exports[`Storyshots UI|stories/TextFilter with filterText 1`] = `
@@ -19,7 +19,7 @@ exports[`Storyshots ui/stories/TextFilter with filterText 1`] = `
`; -exports[`Storyshots ui/stories/TextFilter without filterText 1`] = ` +exports[`Storyshots UI|stories/TextFilter without filterText 1`] = `
diff --git a/lib/ui/src/modules/ui/components/stories_panel/index.stories.js b/lib/ui/src/modules/ui/components/stories_panel/index.stories.js index 91a74e4a4f6b..d7f6aa967c09 100644 --- a/lib/ui/src/modules/ui/components/stories_panel/index.stories.js +++ b/lib/ui/src/modules/ui/components/stories_panel/index.stories.js @@ -26,7 +26,7 @@ const decorator = withLifecyle({ const storiesHierarchies = createHierarchies([{ kind: 'kk', namespaces: ['kk'], stories: ['bb'] }]); const openShortcutsHelp = action('openShortcutsHelp'); const onStoryFilter = action('onStoryFilter'); -storiesOf('ui/stories/StoriesPanel', module) +storiesOf('UI|stories/StoriesPanel', module) .addDecorator(decorator) .add('default', () => ( @@ -20,7 +20,7 @@ exports[`Storyshots ui/stories/Stories empty 1`] = `
`; -exports[`Storyshots ui/stories/Stories simple 1`] = ` +exports[`Storyshots UI|stories/Stories simple 1`] = `
@@ -178,7 +178,7 @@ exports[`Storyshots ui/stories/Stories simple 1`] = `
`; -exports[`Storyshots ui/stories/Stories with hierarchy - hierarchySeparator is defined 1`] = ` +exports[`Storyshots UI|stories/Stories with hierarchy - hierarchySeparator is defined 1`] = `
@@ -436,7 +436,7 @@ exports[`Storyshots ui/stories/Stories with hierarchy - hierarchySeparator is de
`; -exports[`Storyshots ui/stories/Stories with highlighting when storiesFilter is provided 1`] = ` +exports[`Storyshots UI|stories/Stories with highlighting when storiesFilter is provided 1`] = `
@@ -659,7 +659,7 @@ exports[`Storyshots ui/stories/Stories with highlighting when storiesFilter is p
`; -exports[`Storyshots ui/stories/Stories without hierarchy - hierarchySeparator is defined 1`] = ` +exports[`Storyshots UI|stories/Stories without hierarchy - hierarchySeparator is defined 1`] = `
diff --git a/lib/ui/src/modules/ui/components/stories_panel/stories_tree/index.stories.js b/lib/ui/src/modules/ui/components/stories_panel/stories_tree/index.stories.js index dff9e319cdd5..91ce0bc7f4f0 100644 --- a/lib/ui/src/modules/ui/components/stories_panel/stories_tree/index.stories.js +++ b/lib/ui/src/modules/ui/components/stories_panel/stories_tree/index.stories.js @@ -52,7 +52,7 @@ const decorator = withLifecyle({ }, }); -storiesOf('ui/stories/Stories', module) +storiesOf('UI|stories/Stories', module) .addDecorator(decorator) .add('empty', () => ( ) .add('with filterText', () => (