From bea874740577dc0017291300e7441b41cc0bcceb Mon Sep 17 00:00:00 2001 From: Uchechukwu Obasi Date: Thu, 10 Jun 2021 12:02:04 +0100 Subject: [PATCH] Graph and GraphNG: make the stories internal (#35491) --- .../Graph/{Graph.story.tsx => Graph.story.internal.tsx} | 3 +-- ...WithLegend.story.tsx => GraphWithLegend.story.internal.tsx} | 0 .../GraphNG/{GraphNG.story.tsx => GraphNG.story.internal.tsx} | 0 3 files changed, 1 insertion(+), 2 deletions(-) rename packages/grafana-ui/src/components/Graph/{Graph.story.tsx => Graph.story.internal.tsx} (98%) rename packages/grafana-ui/src/components/Graph/{GraphWithLegend.story.tsx => GraphWithLegend.story.internal.tsx} (100%) rename packages/grafana-ui/src/components/GraphNG/{GraphNG.story.tsx => GraphNG.story.internal.tsx} (100%) diff --git a/packages/grafana-ui/src/components/Graph/Graph.story.tsx b/packages/grafana-ui/src/components/Graph/Graph.story.internal.tsx similarity index 98% rename from packages/grafana-ui/src/components/Graph/Graph.story.tsx rename to packages/grafana-ui/src/components/Graph/Graph.story.internal.tsx index 52131db4cdc..77369a6c3ba 100644 --- a/packages/grafana-ui/src/components/Graph/Graph.story.tsx +++ b/packages/grafana-ui/src/components/Graph/Graph.story.internal.tsx @@ -1,11 +1,10 @@ import React from 'react'; -import { Graph } from '@grafana/ui'; import { dateTime, ArrayVector, FieldType, GraphSeriesXY, FieldColorModeId } from '@grafana/data'; import { Story } from '@storybook/react'; import { withCenteredStory } from '../../utils/storybook/withCenteredStory'; import { VizTooltip, TooltipDisplayMode, VizTooltipContentProps } from '../VizTooltip'; import { JSONFormatter } from '../JSONFormatter/JSONFormatter'; -import { GraphProps } from './Graph'; +import { GraphProps, Graph } from './Graph'; const series: GraphSeriesXY[] = [ { diff --git a/packages/grafana-ui/src/components/Graph/GraphWithLegend.story.tsx b/packages/grafana-ui/src/components/Graph/GraphWithLegend.story.internal.tsx similarity index 100% rename from packages/grafana-ui/src/components/Graph/GraphWithLegend.story.tsx rename to packages/grafana-ui/src/components/Graph/GraphWithLegend.story.internal.tsx diff --git a/packages/grafana-ui/src/components/GraphNG/GraphNG.story.tsx b/packages/grafana-ui/src/components/GraphNG/GraphNG.story.internal.tsx similarity index 100% rename from packages/grafana-ui/src/components/GraphNG/GraphNG.story.tsx rename to packages/grafana-ui/src/components/GraphNG/GraphNG.story.internal.tsx