{
}
}
-const story = storiesOf('UI/StatsPicker', module);
+const story = storiesOf('Panel/StatsPicker', module);
story.addDecorator(withCenteredStory);
story.add('picker', () => {
const { placeholder, defaultStat, allowMultiple, initialStats } = getKnobs();
diff --git a/packages/grafana-ui/src/components/Switch/Switch.story.tsx b/packages/grafana-ui/src/components/Switch/Switch.story.tsx
index 0e6e27a2ea3..ce93a82192d 100644
--- a/packages/grafana-ui/src/components/Switch/Switch.story.tsx
+++ b/packages/grafana-ui/src/components/Switch/Switch.story.tsx
@@ -14,7 +14,7 @@ const getStory = (title: string, component: any) => ({
},
});
-export default getStory('UI|Switch', Switch);
+export default getStory('General/Switch', Switch);
const getKnobs = () => {
return {
diff --git a/packages/grafana-ui/src/components/TableInputCSV/TableInputCSV.story.tsx b/packages/grafana-ui/src/components/TableInputCSV/TableInputCSV.story.tsx
index 73d7dd3951e..c0070b8ec8a 100644
--- a/packages/grafana-ui/src/components/TableInputCSV/TableInputCSV.story.tsx
+++ b/packages/grafana-ui/src/components/TableInputCSV/TableInputCSV.story.tsx
@@ -6,7 +6,7 @@ import { action } from '@storybook/addon-actions';
import { DataFrame } from '@grafana/data';
import { withCenteredStory } from '../../utils/storybook/withCenteredStory';
-const TableInputStories = storiesOf('UI/Table/Input', module);
+const TableInputStories = storiesOf('General/Table/Input', module);
TableInputStories.addDecorator(withCenteredStory);
diff --git a/packages/grafana-ui/src/components/Tabs/Tabs.story.tsx b/packages/grafana-ui/src/components/Tabs/Tabs.story.tsx
index e19b7db4361..46fb3cc619b 100644
--- a/packages/grafana-ui/src/components/Tabs/Tabs.story.tsx
+++ b/packages/grafana-ui/src/components/Tabs/Tabs.story.tsx
@@ -6,7 +6,7 @@ import { Tab } from './Tab';
import { TabContent } from './TabContent';
export default {
- title: 'UI/Tabs/TabsExample',
+ title: 'General/Tabs/TabsExample',
decorators: [withCenteredStory],
};
diff --git a/packages/grafana-ui/src/components/Tabs/TabsBar.story.tsx b/packages/grafana-ui/src/components/Tabs/TabsBar.story.tsx
index 24772b9c564..76a47b31cdc 100644
--- a/packages/grafana-ui/src/components/Tabs/TabsBar.story.tsx
+++ b/packages/grafana-ui/src/components/Tabs/TabsBar.story.tsx
@@ -7,7 +7,7 @@ import { withCenteredStory } from '../../utils/storybook/withCenteredStory';
import mdx from './TabsBar.mdx';
export default {
- title: 'UI/Tabs/TabsBar',
+ title: 'General/Tabs/TabsBar',
component: TabsBar,
decorators: [withCenteredStory],
parameters: {
diff --git a/packages/grafana-ui/src/components/TagsInput/TagsInput.story.tsx b/packages/grafana-ui/src/components/TagsInput/TagsInput.story.tsx
index 93ce8c546a7..fb14f31261d 100644
--- a/packages/grafana-ui/src/components/TagsInput/TagsInput.story.tsx
+++ b/packages/grafana-ui/src/components/TagsInput/TagsInput.story.tsx
@@ -5,7 +5,7 @@ import { withCenteredStory } from '../../utils/storybook/withCenteredStory';
import { UseState } from '../../utils/storybook/UseState';
import { TagsInput } from './TagsInput';
-const TagsInputStories = storiesOf('UI/TagsInput', module);
+const TagsInputStories = storiesOf('General/TagsInput', module);
const mockTags = ['Some', 'Tags', 'With', 'This', 'New', 'Component'];
TagsInputStories.addDecorator(withCenteredStory);
diff --git a/packages/grafana-ui/src/components/ThresholdsEditor/ThresholdsEditor.story.tsx b/packages/grafana-ui/src/components/ThresholdsEditor/ThresholdsEditor.story.tsx
index 23fd48e95ea..d83bb7260b4 100644
--- a/packages/grafana-ui/src/components/ThresholdsEditor/ThresholdsEditor.story.tsx
+++ b/packages/grafana-ui/src/components/ThresholdsEditor/ThresholdsEditor.story.tsx
@@ -6,7 +6,7 @@ import { ThresholdsEditor } from './ThresholdsEditor';
import { getTheme } from '../../themes';
import { ThresholdsMode, ThresholdsConfig } from '@grafana/data';
-const ThresholdsEditorStories = storiesOf('UI/ThresholdsEditor', module);
+const ThresholdsEditorStories = storiesOf('Panel/ThresholdsEditor', module);
const thresholds: ThresholdsConfig = {
mode: ThresholdsMode.Absolute,
steps: [
diff --git a/packages/grafana-ui/src/components/TimePicker/TimeOfDayPicker.story.tsx b/packages/grafana-ui/src/components/TimePicker/TimeOfDayPicker.story.tsx
index 8697782e528..ecfcb7bdfae 100644
--- a/packages/grafana-ui/src/components/TimePicker/TimeOfDayPicker.story.tsx
+++ b/packages/grafana-ui/src/components/TimePicker/TimeOfDayPicker.story.tsx
@@ -7,7 +7,7 @@ import { UseState } from '../../utils/storybook/UseState';
import { withCenteredStory } from '../../utils/storybook/withCenteredStory';
import { dateTime } from '@grafana/data';
-const TimeOfDayPickerStories = storiesOf('UI/TimeOfDayPicker', module);
+const TimeOfDayPickerStories = storiesOf('General/TimeOfDayPicker', module);
TimeOfDayPickerStories.addDecorator(withCenteredStory);
diff --git a/packages/grafana-ui/src/components/TimePicker/TimePicker.story.tsx b/packages/grafana-ui/src/components/TimePicker/TimePicker.story.tsx
index 49c2a9fcc71..13de03079ce 100644
--- a/packages/grafana-ui/src/components/TimePicker/TimePicker.story.tsx
+++ b/packages/grafana-ui/src/components/TimePicker/TimePicker.story.tsx
@@ -7,7 +7,7 @@ import { UseState } from '../../utils/storybook/UseState';
import { withCenteredStory } from '../../utils/storybook/withCenteredStory';
import { TimeFragment, dateTime } from '@grafana/data';
-const TimePickerStories = storiesOf('UI/TimePicker', module);
+const TimePickerStories = storiesOf('General/TimePicker', module);
TimePickerStories.addDecorator(withCenteredStory);
diff --git a/packages/grafana-ui/src/components/TimePicker/TimeZonePicker.story.tsx b/packages/grafana-ui/src/components/TimePicker/TimeZonePicker.story.tsx
index 8f1dfc41b06..943b2c551b9 100644
--- a/packages/grafana-ui/src/components/TimePicker/TimeZonePicker.story.tsx
+++ b/packages/grafana-ui/src/components/TimePicker/TimeZonePicker.story.tsx
@@ -6,7 +6,7 @@ import { TimeZonePicker } from './TimeZonePicker';
import { UseState } from '../../utils/storybook/UseState';
import { withCenteredStory } from '../../utils/storybook/withCenteredStory';
-const TimeZonePickerStories = storiesOf('UI/TimeZonePicker', module);
+const TimeZonePickerStories = storiesOf('General/TimeZonePicker', module);
TimeZonePickerStories.addDecorator(withCenteredStory);
diff --git a/packages/grafana-ui/src/components/ToggleButtonGroup/ToggleButtonGroup.story.tsx b/packages/grafana-ui/src/components/ToggleButtonGroup/ToggleButtonGroup.story.tsx
index d187a6f29af..d2e297115ac 100644
--- a/packages/grafana-ui/src/components/ToggleButtonGroup/ToggleButtonGroup.story.tsx
+++ b/packages/grafana-ui/src/components/ToggleButtonGroup/ToggleButtonGroup.story.tsx
@@ -6,7 +6,7 @@ import { ToggleButton, ToggleButtonGroup } from './ToggleButtonGroup';
import { UseState } from '../../utils/storybook/UseState';
import { withCenteredStory } from '../../utils/storybook/withCenteredStory';
-const ToggleButtonGroupStories = storiesOf('UI/ToggleButtonGroup', module);
+const ToggleButtonGroupStories = storiesOf('General/ToggleButtonGroup', module);
const options = [
{ value: 'first', label: 'First' },
diff --git a/packages/grafana-ui/src/components/UnitPicker/UnitPicker.story.tsx b/packages/grafana-ui/src/components/UnitPicker/UnitPicker.story.tsx
index 4d0966a22ba..84ad89678b6 100644
--- a/packages/grafana-ui/src/components/UnitPicker/UnitPicker.story.tsx
+++ b/packages/grafana-ui/src/components/UnitPicker/UnitPicker.story.tsx
@@ -5,7 +5,7 @@ import { UnitPicker } from './UnitPicker';
import mdx from './UnitPicker.mdx';
export default {
- title: 'UI/UnitPicker',
+ title: 'General/UnitPicker',
component: UnitPicker,
decorators: [withCenteredStory],
parameters: {
diff --git a/packages/grafana-ui/src/components/ValueMappingsEditor/ValueMappingsEditor.story.tsx b/packages/grafana-ui/src/components/ValueMappingsEditor/ValueMappingsEditor.story.tsx
index 85504f6cd09..31444604102 100644
--- a/packages/grafana-ui/src/components/ValueMappingsEditor/ValueMappingsEditor.story.tsx
+++ b/packages/grafana-ui/src/components/ValueMappingsEditor/ValueMappingsEditor.story.tsx
@@ -3,7 +3,7 @@ import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { ValueMappingsEditor } from './ValueMappingsEditor';
-const ValueMappingsEditorStories = storiesOf('UI/ValueMappingsEditor', module);
+const ValueMappingsEditorStories = storiesOf('Panel/ValueMappingsEditor', module);
ValueMappingsEditorStories.add('default', () => {
return ;
diff --git a/packages/grafana-ui/src/utils/useDelayedSwitch.story.tsx b/packages/grafana-ui/src/utils/useDelayedSwitch.story.tsx
index d62a9132968..9a62b099f2b 100644
--- a/packages/grafana-ui/src/utils/useDelayedSwitch.story.tsx
+++ b/packages/grafana-ui/src/utils/useDelayedSwitch.story.tsx
@@ -19,7 +19,7 @@ function StoryWrapper() {
return {valueDelayed ? 'ON' : 'OFF'}
;
}
-const story = storiesOf('Utils/useDelayedSwitch', module);
+const story = storiesOf('useDelayedSwitch', module);
story.addDecorator(withCenteredStory);
story.add('useDelayedSwitch', () => {
return ;