Skip to content

Commit 57e294c

Browse files
Avoid circular dependencies
1 parent 37f1d9b commit 57e294c

File tree

37 files changed

+54
-51
lines changed

37 files changed

+54
-51
lines changed

src/components/content-presentation/do-and-dont-list/DoAndDontList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import {
77
type FC,
88
type ReactNode,
99
} from 'react';
10-
import { CrossIcon, TickIcon } from '#components/content-presentation';
11-
import { HeadingLevel, type HeadingLevelProps } from '#components/utils';
10+
import { CrossIcon, TickIcon } from '../icons';
11+
import { HeadingLevel, type HeadingLevelProps } from '#components/utils/HeadingLevel';
1212

1313
type ListType = 'do' | 'dont';
1414

src/components/content-presentation/hero/Hero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import classNames from 'classnames';
22
import { forwardRef, type ComponentPropsWithoutRef, type FC } from 'react';
33
import { Col, Container, Row } from '#components/layout';
4-
import { HeadingLevel, type HeadingLevelProps } from '#components/utils';
4+
import { HeadingLevel, type HeadingLevelProps } from '#components/utils/HeadingLevel';
55

66
export interface HeroContentProps extends ComponentPropsWithoutRef<'div'> {
77
hasImage: boolean;

src/components/content-presentation/icons/individual/ArrowLeftIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type FC } from 'react';
2-
import { Icon, type IconProps } from '..';
2+
import { Icon, type IconProps } from '../Icon';
33

44
export const ArrowLeftIcon: FC<IconProps> = (props) => (
55
<Icon modifier="arrow-left" {...props}>

src/components/content-presentation/icons/individual/ArrowRightCircleIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type FC } from 'react';
2-
import { Icon, type IconProps } from '..';
2+
import { Icon, type IconProps } from '../Icon';
33

44
export const ArrowRightCircleIcon: FC<IconProps> = (props) => (
55
<Icon modifier="arrow-right-circle" {...props}>

src/components/content-presentation/icons/individual/ArrowRightIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type FC } from 'react';
2-
import { Icon, type IconProps } from '..';
2+
import { Icon, type IconProps } from '../Icon';
33

44
export const ArrowRightIcon: FC<IconProps> = (props) => (
55
<Icon modifier="arrow-right" {...props}>

src/components/content-presentation/icons/individual/ChevronRightCircleIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type FC } from 'react';
2-
import { Icon, type IconProps } from '..';
2+
import { Icon, type IconProps } from '../Icon';
33

44
export const ChevronRightCircleIcon: FC<IconProps> = (props) => (
55
<Icon modifier="chevron-right-circle" {...props}>

src/components/content-presentation/icons/individual/CrossIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type FC } from 'react';
2-
import { Icon, type IconProps } from '..';
2+
import { Icon, type IconProps } from '../Icon';
33

44
export const CrossIcon: FC<IconProps> = (props) => (
55
<Icon modifier="cross" {...props}>

src/components/content-presentation/icons/individual/SearchIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type FC } from 'react';
2-
import { Icon, type IconProps } from '..';
2+
import { Icon, type IconProps } from '../Icon';
33

44
export const SearchIcon: FC<IconProps> = (props) => (
55
<Icon modifier="search" {...props}>

src/components/content-presentation/icons/individual/TickIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type FC } from 'react';
2-
import { Icon, type IconProps } from '..';
2+
import { Icon, type IconProps } from '../Icon';
33

44
export const TickIcon: FC<IconProps> = (props) => (
55
<Icon modifier="tick" {...props}>

src/components/content-presentation/icons/individual/UserIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { type FC } from 'react';
2-
import { Icon, type IconProps } from '..';
2+
import { Icon, type IconProps } from '../Icon';
33

44
export const UserIcon: FC<IconProps> = (props) => (
55
<Icon modifier="user" {...props}>

0 commit comments

Comments
 (0)