Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix: merge conflicts after refactoring typography
Browse files Browse the repository at this point in the history
  • Loading branch information
mthomann committed Jan 11, 2023
1 parent 110b893 commit f355cd4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/components/tab-nav/tab-nav.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { FC, Fragment } from 'react';
import { Tab } from '@headlessui/react';
import { Label, LabelSizes } from '../typography/label';
import { Label, LabelSize } from '../typography/label';
import { mergeClassNames } from '../../helpers/merge-class-names';

/**
Expand Down Expand Up @@ -76,7 +76,7 @@ export const TabNav: FC<TabProps> = ({ onTabChange, tabNames }) => {
: mergeClassNames([tabItemBaseStyle, tabItemMiddle])
}
>
<Label size={LabelSizes.l}>{tabName}</Label>
<Label size={LabelSize.l}>{tabName}</Label>
</div>
</Tab>
))}
Expand Down
14 changes: 7 additions & 7 deletions src/layout/card/card.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ComponentMeta, ComponentStory } from '@storybook/react';
import React, { ChangeEvent, FC, useState } from 'react';
import { Paragraph, ParagraphSizes } from '../../components/typography/paragraph';
import { Paragraph, ParagraphSize } from '../../components/typography/paragraph';
import {
UserShortRepresentation,
UserShortRepresentationLabelType,
Expand All @@ -18,7 +18,7 @@ import { Form } from '../../components/form/form';
import { Textarea } from '../../components/form/form-textarea';
import { TextButton, TextButtonColor, TextButtonDisplayMode, TextButtonSize } from '../../components/buttons/text-button';
import { IconUpload } from '../../components/icons/icon-upload';
import { Heading, HeadingSizes } from '../../components/typography/heading';
import { Heading, HeadingSize } from '../../components/typography/heading';

interface CardWithContainerWidth extends FC<CardProps> {
/**
Expand Down Expand Up @@ -57,7 +57,7 @@ const Template: ComponentStory<CardWithContainerWidth> = (args) => (
<div style={{ width: (args as unknown as CardWithContainerWidth).containerWidth + 'px' }}>
<Card borderRadiusType={args.borderRadiusType} isInteractive={args.isInteractive}>
<div className="text-slate-900">
<Paragraph size={ParagraphSizes.m}>
<Paragraph size={ParagraphSize.m}>
Paragraph – Quia aut et aut. Sunt et eligendi similique enim qui quo minus. Aut aut error velit voluptatum optio
sed quis cumque error magni. Deserunt pariatur molestiae incidunt. Omnis deserunt ratione et recusandae quos
excepturi ut deleniti ut repellat magni.
Expand Down Expand Up @@ -97,7 +97,7 @@ const MumbleAsResponseTemplate: ComponentStory<CardWithContainerWidth> = (args)
username="robertvogt"
/>
<div className="text-slate-900">
<Paragraph size={ParagraphSizes.m}>
<Paragraph size={ParagraphSize.m}>
Paragraph – Quia aut et aut. Sunt et eligendi similique enim qui quo minus. Aut aut error velit voluptatum
optio sed quis cumque error magni. Deserunt pariatur molestiae incidunt. Omnis deserunt ratione et recusandae
quos excepturi ut deleniti ut repellat magni.
Expand Down Expand Up @@ -151,7 +151,7 @@ const MumbleOnDetailpageTemplate: ComponentStory<CardWithContainerWidth> = (args
username="robertvogt"
/>
<div className="text-slate-900">
<Paragraph size={ParagraphSizes.l}>
<Paragraph size={ParagraphSize.l}>
Paragraph – Quia aut et aut. Sunt et eligendi similique enim qui quo minus. Aut aut error velit voluptatum
optio sed quis cumque error magni. Deserunt pariatur molestiae incidunt. Omnis deserunt ratione et recusandae
quos excepturi ut deleniti ut repellat magni.
Expand Down Expand Up @@ -205,7 +205,7 @@ const MumbleInTimelineTemplate: ComponentStory<CardWithContainerWidth> = (args)
username="robertvogt"
/>
<div className="text-slate-900">
<Paragraph size={ParagraphSizes.m}>
<Paragraph size={ParagraphSize.m}>
Paragraph – Quia aut et aut. Sunt et eligendi similique enim qui quo minus. Aut aut error velit voluptatum
optio sed quis cumque error magni. Deserunt pariatur molestiae incidunt. Omnis deserunt ratione et recusandae
quos excepturi ut deleniti ut repellat magni.
Expand Down Expand Up @@ -340,7 +340,7 @@ const WriteComponentHauptfeldTemplate: ComponentStory<CardWithContainerWidth> =
/>
</div>
<Stack direction={StackDirection.col} spacing={StackSpacing.s}>
<Heading headingLevel={HeadingSizes.h4}>Hey, was läuft?</Heading>
<Heading headingLevel={HeadingSize.h4}>Hey, was läuft?</Heading>

<Form handleSubmit={action('Handle form submit')}>
<Textarea
Expand Down

0 comments on commit f355cd4

Please sign in to comment.