diff --git a/dotcom-rendering/src/components/MultiByline.stories.tsx b/dotcom-rendering/src/components/MultiByline.stories.tsx index d088b8a768a..eca2dd43217 100644 --- a/dotcom-rendering/src/components/MultiByline.stories.tsx +++ b/dotcom-rendering/src/components/MultiByline.stories.tsx @@ -1,14 +1,13 @@ -import { - ArticleDesign, - ArticleDisplay, - ArticleSpecial, - Pillar, -} from '@guardian/libs'; +import { ArticleDisplay, ArticleSpecial, Pillar } from '@guardian/libs'; import type { Meta, StoryObj } from '@storybook/react'; import { centreColumnDecorator } from '../../.storybook/decorators/gridDecorators'; import { allModes } from '../../.storybook/modes'; import { images } from '../../fixtures/generated/images'; -import { getAllDesigns, getAllThemes } from '../lib/format'; +import { + ArticleDesign, + getAllDesigns, + getAllThemes, +} from '../lib/articleFormat'; import { RenderArticleElement } from '../lib/renderElement'; import type { TextBlockElement } from '../types/content'; import { MultiByline } from './MultiByline'; diff --git a/dotcom-rendering/src/components/MultiByline.tsx b/dotcom-rendering/src/components/MultiByline.tsx index 10fe5080ccd..fe544a757cb 100644 --- a/dotcom-rendering/src/components/MultiByline.tsx +++ b/dotcom-rendering/src/components/MultiByline.tsx @@ -1,6 +1,6 @@ import { css } from '@emotion/react'; -import type { ArticleFormat } from '@guardian/libs'; import { palette } from '@guardian/source/foundations'; +import type { ArticleFormat } from '../lib/articleFormat'; import type { EditionId } from '../lib/edition'; import type { ArticleElementRenderer } from '../lib/renderElement'; import type { ServerSideTests, Switches } from '../types/config'; diff --git a/dotcom-rendering/src/components/MultiBylineItem.tsx b/dotcom-rendering/src/components/MultiBylineItem.tsx index d99d01e3e4f..6c21b22a213 100644 --- a/dotcom-rendering/src/components/MultiBylineItem.tsx +++ b/dotcom-rendering/src/components/MultiBylineItem.tsx @@ -1,10 +1,4 @@ import { css } from '@emotion/react'; -import { - ArticleDesign, - ArticleDisplay, - type ArticleFormat, - ArticleSpecial, -} from '@guardian/libs'; import { from, headlineLightItalic24, @@ -21,6 +15,12 @@ import { textSansItalic17, } from '@guardian/source/foundations'; import sanitise from 'sanitize-html'; +import { + ArticleDesign, + ArticleDisplay, + type ArticleFormat, + ArticleSpecial, +} from '../lib/articleFormat'; import { slugify } from '../model/enhance-H2s'; import { palette } from '../palette'; import type { MultiBylineItem as MultiBylineItemModel } from '../types/content';