From 7147778dbd9b85c6ab9711f6b77f9df34b40d312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Fern=C3=A1ndez?= Date: Thu, 3 Aug 2023 13:57:41 +0200 Subject: [PATCH] GLDS: Make Text component story not internal (#72803) --- packages/grafana-ui/src/components/Text/Text.mdx | 2 +- .../components/Text/{Text.internal.story.tsx => Text.story.tsx} | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename packages/grafana-ui/src/components/Text/{Text.internal.story.tsx => Text.story.tsx} (99%) diff --git a/packages/grafana-ui/src/components/Text/Text.mdx b/packages/grafana-ui/src/components/Text/Text.mdx index a23de7a1472..8d35135973f 100644 --- a/packages/grafana-ui/src/components/Text/Text.mdx +++ b/packages/grafana-ui/src/components/Text/Text.mdx @@ -1,7 +1,7 @@ import { Meta, Props, Preview, ArgsTable } from '@storybook/addon-docs/blocks'; import { Text } from './Text'; import { TextLink } from '../Link/TextLink.tsx'; -import { Basic } from './Text.internal.story.tsx'; +import { Basic } from './Text.story.tsx'; import { Tooltip } from '../Tooltip'; diff --git a/packages/grafana-ui/src/components/Text/Text.internal.story.tsx b/packages/grafana-ui/src/components/Text/Text.story.tsx similarity index 99% rename from packages/grafana-ui/src/components/Text/Text.internal.story.tsx rename to packages/grafana-ui/src/components/Text/Text.story.tsx index e3ea5b5eea9..01988abef65 100644 --- a/packages/grafana-ui/src/components/Text/Text.internal.story.tsx +++ b/packages/grafana-ui/src/components/Text/Text.story.tsx @@ -84,6 +84,7 @@ export const Example: StoryFn = (args) => { ); }; + Example.parameters = { controls: { exclude: ['element', 'variant', 'weight', 'textAlignment', 'truncate', 'italic', 'color', 'children'],