From ec2f0bfff1e7100780065352dde478f1cab900f4 Mon Sep 17 00:00:00 2001 From: Ravindren Date: Mon, 20 Mar 2023 19:31:24 +0530 Subject: [PATCH] docs(PPDSC-2707): removed H tag variations --- src/headline/__tests__/headline.stories.tsx | 171 +++++--------------- 1 file changed, 42 insertions(+), 129 deletions(-) diff --git a/src/headline/__tests__/headline.stories.tsx b/src/headline/__tests__/headline.stories.tsx index a3c9aa6295..e9c031484f 100644 --- a/src/headline/__tests__/headline.stories.tsx +++ b/src/headline/__tests__/headline.stories.tsx @@ -3,7 +3,6 @@ import {Story as StoryType} from '@storybook/react'; import {Headline} from '..'; import {ThemeProvider, CreateThemeArgs} from '../../theme'; import {createCustomThemeWithBaseThemeSwitch} from '../../test/theme-select-object'; -import {H6, H5, H4, H3, H2, H1} from '../..'; import {getColorCssFromTheme, styled} from '../../utils/style'; import {StorybookCase, StorybookPage} from '../../test/storybook-comps'; @@ -36,8 +35,6 @@ const headlineCustomThemeObject: CreateThemeArgs = { const BODY = 'The quick brown fox'; -const HeadlineText = 'Heading'; - const MarginOverridesWrapper = styled.div` border: 1px dashed; marginblock: 'space030'; @@ -50,111 +47,17 @@ const MarginOverridesWrapper = styled.div` export const StoryHeadlineDefault = () => ( -

Heading

+ Heading
); StoryHeadlineDefault.storyName = 'Default'; -export const StoryHeadlineVariations = () => ( - - -

{HeadlineText}

-
- -

{HeadlineText}

-
- -

{HeadlineText}

-
- -

{HeadlineText}

-
- -
{HeadlineText}
-
- - {HeadlineText} - - - - {HeadlineText} - - - - - {HeadlineText} - - - - - {HeadlineText} - - - - - {HeadlineText} - - - - - {HeadlineText} - - - - - {HeadlineText} - - -
-); -StoryHeadlineVariations.storyName = 'Variations'; - export const StoryHeadlineLogicalProps = () => ( -

( }} > {BODY} -

+
-

( }} > {BODY} -

+
-

( }} > {BODY} -

+
-

( }} > {BODY} -

+
-

( }} > {BODY} -

+
-
( }} > {BODY} -
+
-
( }} > {BODY} -
+
@@ -264,54 +167,64 @@ StoryHeadlineLogicalProps.storyName = 'Logical props'; export const StoryHeadlineStylingOverrides = () => ( -

{BODY} -

+
-

{BODY} -

+
-

{BODY} -

+
-
{BODY} -
+
-
{BODY} -
+
); @@ -320,13 +233,13 @@ StoryHeadlineStylingOverrides.storyName = 'Styling overrides'; export const StoryHeadlineOverrides = () => ( -

{BODY} -

+
);