From 4f768afe543bbf9e1857c41d03804f8e37ab3512 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 29 Sep 2023 21:29:45 +0200 Subject: refactor(components): rewrite List component * change `items` prop to children * replace `kind` prop with `isHierarchical`, `isOrdered` & `isInline` props * add `hideMarker` prop * add `spacing` prop to control item spacing * move lists styles to Sass placeholders to avoid repeats because of headless WordPress --- .../atoms/images/icons/svg-paths/icons-paths/arrow-icon-paths.tsx | 2 +- src/components/atoms/images/logo/logo.module.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/atoms/images') diff --git a/src/components/atoms/images/icons/svg-paths/icons-paths/arrow-icon-paths.tsx b/src/components/atoms/images/icons/svg-paths/icons-paths/arrow-icon-paths.tsx index 0dc701a..9d863a0 100644 --- a/src/components/atoms/images/icons/svg-paths/icons-paths/arrow-icon-paths.tsx +++ b/src/components/atoms/images/icons/svg-paths/icons-paths/arrow-icon-paths.tsx @@ -1,6 +1,6 @@ /* eslint-disable react/jsx-no-literals */ import type { FC } from 'react'; -import type { Position } from '../../../../../types'; +import type { Position } from '../../../../../../types'; export type ArrowOrientation = Exclude; diff --git a/src/components/atoms/images/logo/logo.module.scss b/src/components/atoms/images/logo/logo.module.scss index bd4ee90..beeb7ff 100644 --- a/src/components/atoms/images/logo/logo.module.scss +++ b/src/components/atoms/images/logo/logo.module.scss @@ -1,4 +1,4 @@ -@use "../../../styles/abstracts/functions" as fun; +@use "../../../../styles/abstracts/functions" as fun; .wrapper { width: var(--logo-size, fun.convert-px(100)); -- cgit v1.2.3