Skip to content

Commit

Permalink
chore: add sections to component library
Browse files Browse the repository at this point in the history
  • Loading branch information
benfurber committed Jul 15, 2024
1 parent 91f7c02 commit 64a2a26
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/Alert/Alert.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Alert } from 'theme-ui'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/Alert',
title: 'Layout/Alert',
component: Alert,
} as Meta<typeof Alert>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ArticleCallToAction } from './ArticleCallToAction'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/ArticleCallToAction',
title: 'Layout/ArticleCallToAction',
component: ArticleCallToAction,
} as Meta<typeof ArticleCallToAction>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { BlockedRoute } from './BlockedRoute'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/BlockedRoute',
title: 'Layout/BlockedRoute',
component: BlockedRoute,
} as Meta<typeof BlockedRoute>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Breadcrumbs } from './Breadcrumbs'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/Breadcrumbs',
title: 'Layout/Breadcrumbs',
component: Breadcrumbs,
} as Meta<typeof Breadcrumbs>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { CommentItem } from './CommentItem'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/CommentItem',
title: 'Discussions/CommentItem',
component: CommentItem,
} as Meta<typeof CommentItem>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { CommentList } from './CommentList'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/CommentList',
title: 'Discussions/CommentList',
component: CommentList,
} as Meta<typeof CommentList>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ConfirmModal } from './ConfirmModal'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/ConfirmModal',
title: 'Layout/ConfirmModal',
component: ConfirmModal,
} as Meta<typeof ConfirmModal>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ContentStatistics } from './ContentStatistics'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/ContentStatistics',
title: 'Layout/ContentStatistics',
component: ContentStatistics,
} as Meta<typeof ContentStatistics>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { CreateComment } from './CreateComment'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/CreateComment',
title: 'Discussions/CreateComment',
component: CreateComment,
} as Meta<typeof CreateComment>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CreateReply } from './CreateReply'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/CreateReply',
title: 'Discussions/CreateReply',
component: CreateReply,
} as Meta<typeof CreateReply>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { DiscussionContainer } from './DiscussionContainer'
import type { Meta, StoryObj } from '@storybook/react'

export default {
title: 'Components/DiscussionContainer',
title: 'Discussions/DiscussionContainer',
component: DiscussionContainer,
} as Meta<typeof DiscussionContainer>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { Meta, StoryFn } from '@storybook/react'
import type { IComment } from '../CommentItem/types'

export default {
title: 'Components/DiscussionTitle',
title: 'Discussions/DiscussionTitle',
component: DiscussionTitle,
} as Meta<typeof DiscussionTitle>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { EditComment } from './EditComment'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/EditComment',
title: 'Discussions/EditComment',
component: EditComment,
} as Meta<typeof EditComment>

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/Heading/Heading.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Heading } from 'theme-ui'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/Heading',
title: 'Layout/Heading',
component: Heading,
} as Meta<typeof Heading>

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/HeroBanner/HeroBanner.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { HeroBanner } from './HeroBanner'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/HeroBanner',
title: 'Layout/HeroBanner',
component: HeroBanner,
} as Meta<typeof HeroBanner>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const testImages: IImageGalleryItem[] = imageUrls.map((elt, i) => {
})

export default {
title: 'Components/ImageGallery',
title: 'Layout/ImageGallery',
component: ImageGallery,
} as Meta<typeof ImageGallery>

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/Input/Input.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Input } from 'theme-ui'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/Input',
title: 'Forms/Input',
component: Input,
} as Meta<typeof Input>

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/Loader/Loader.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Loader } from './Loader'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/Loader',
title: 'Layout/Loader',
component: Loader,
} as Meta<typeof Loader>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { MapMemberCard } from './MapMemberCard'
import type { Meta } from '@storybook/react'

export default {
title: 'Components/MapMemberCard',
title: 'Layout/MapMemberCard',
component: MapMemberCard,
} as Meta<typeof MapMemberCard>

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/Modal/Modal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Modal } from './Modal'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/Modal',
title: 'Layout/Modal',
component: Modal,
} as Meta<typeof Modal>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { MoreContainer } from './MoreContainer'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/MoreContainer',
title: 'Layout/MoreContainer',
component: MoreContainer,
parameters: {
layout: 'padded',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { Meta, StoryFn } from '@storybook/react'
import type { UserNotificationItem } from 'oa-shared'

export default {
title: 'Components/NotificationList',
title: 'Layout/NotificationList',
component: NotificationList,
} as Meta<typeof NotificationList>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ResearchEditorOverview } from './ResearchEditorOverview'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/ResearchEditorOverview',
title: 'Layout/ResearchEditorOverview',
component: ResearchEditorOverview,
} as Meta<typeof ResearchEditorOverview>

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/Select/Select.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Select } from './Select'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/Select',
title: 'Forms/Select',
component: Select,
} as Meta<typeof Select>

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/SiteFooter/SiteFooter.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
* See https://storybook.js.org/docs/react/configure/overview#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Components/SiteFooter',
title: 'Layout/SiteFooter',
component: SiteFooter,
} as Meta<typeof SiteFooter>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { TextNotification } from './TextNotification'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/TextNotification',
title: 'Layout/TextNotification',
component: TextNotification,
} as Meta<typeof TextNotification>

Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/Textarea/Textarea.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Textarea } from 'theme-ui'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/Textarea',
title: 'Forms/Textarea',
component: Textarea,
} as Meta<typeof Textarea>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { UserEngagementWrapper } from './UserEngagementWrapper'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/UserEngagementWrapper',
title: 'Layout/UserEngagementWrapper',
component: UserEngagementWrapper,
} as Meta<typeof UserEngagementWrapper>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { UserStatistics } from './UserStatistics'
import type { Meta, StoryFn } from '@storybook/react'

export default {
title: 'Components/UserStatistics',
title: 'Layout/UserStatistics',
component: UserStatistics,
} as Meta<typeof UserStatistics>

Expand Down

0 comments on commit 64a2a26

Please sign in to comment.