From da335f6153eb583fb0915460975f034598daf794 Mon Sep 17 00:00:00 2001 From: kaloster Date: Tue, 26 Sep 2023 15:41:09 -0400 Subject: [PATCH 1/4] feat(icons): add citation icon --- .../components/src/common/svgs/IconCitationLarge.svg | 10 ++++++++++ packages/components/src/core/Icon/map.ts | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100644 packages/components/src/common/svgs/IconCitationLarge.svg diff --git a/packages/components/src/common/svgs/IconCitationLarge.svg b/packages/components/src/common/svgs/IconCitationLarge.svg new file mode 100644 index 000000000..e53ef6d39 --- /dev/null +++ b/packages/components/src/common/svgs/IconCitationLarge.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/packages/components/src/core/Icon/map.ts b/packages/components/src/core/Icon/map.ts index e7096ebf6..ca51b9cb2 100644 --- a/packages/components/src/core/Icon/map.ts +++ b/packages/components/src/core/Icon/map.ts @@ -20,6 +20,7 @@ import { ReactComponent as IconChevronUpLarge } from "../../common/svgs/IconChev import { ReactComponent as IconChevronUpSmall } from "../../common/svgs/IconChevronUpSmall.svg"; import { ReactComponent as IconCirclesOverlapLarge } from "../../common/svgs/IconCirclesOverlapLarge.svg"; import { ReactComponent as IconCirclesOverlapSmall } from "../../common/svgs/IconCirclesOverlapSmall.svg"; +import { ReactComponent as IconCitationLarge } from "../../common/svgs/IconCitationLarge.svg"; import { ReactComponent as IconCompassLarge } from "../../common/svgs/IconCompassLarge.svg"; import { ReactComponent as IconCopyLarge } from "../../common/svgs/IconCopyLarge.svg"; import { ReactComponent as IconCopySmall } from "../../common/svgs/IconCopySmall.svg"; @@ -132,6 +133,7 @@ export interface IconNameToSizes { chevronRight2: "xs" | "s"; chevronRight: "xs" | "s" | "l" | "xl"; chevronUp: "xs" | "s" | "l" | "xl"; + citation: "l" | "xl"; circlesOverlap: "xs" | "s" | "l" | "xl"; compass: "l" | "xl"; copy: "xs" | "s" | "l" | "xl"; @@ -274,6 +276,10 @@ export const iconMap: Props = { largeIcon: IconChevronUpLarge, smallIcon: IconChevronUpSmall, }, + citation: { + largeIcon: IconCitationLarge, + smallIcon: null, + }, circlesOverlap: { largeIcon: IconCirclesOverlapLarge, smallIcon: IconCirclesOverlapSmall, From 685d6a675d382a96690dd4b07b405b51af88a654 Mon Sep 17 00:00:00 2001 From: kaloster Date: Wed, 27 Sep 2023 15:22:15 -0400 Subject: [PATCH 2/4] feat(icons): added IconQuoteLarge --- .../components/src/common/svgs/IconCitationLarge.svg | 10 ---------- .../components/src/common/svgs/IconQuoteLarge.svg | 3 +++ packages/components/src/core/Icon/map.ts | 12 ++++++------ 3 files changed, 9 insertions(+), 16 deletions(-) delete mode 100644 packages/components/src/common/svgs/IconCitationLarge.svg create mode 100644 packages/components/src/common/svgs/IconQuoteLarge.svg diff --git a/packages/components/src/common/svgs/IconCitationLarge.svg b/packages/components/src/common/svgs/IconCitationLarge.svg deleted file mode 100644 index e53ef6d39..000000000 --- a/packages/components/src/common/svgs/IconCitationLarge.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/packages/components/src/common/svgs/IconQuoteLarge.svg b/packages/components/src/common/svgs/IconQuoteLarge.svg new file mode 100644 index 000000000..ce899fc28 --- /dev/null +++ b/packages/components/src/common/svgs/IconQuoteLarge.svg @@ -0,0 +1,3 @@ + + + diff --git a/packages/components/src/core/Icon/map.ts b/packages/components/src/core/Icon/map.ts index ca51b9cb2..ae9b9269b 100644 --- a/packages/components/src/core/Icon/map.ts +++ b/packages/components/src/core/Icon/map.ts @@ -20,7 +20,6 @@ import { ReactComponent as IconChevronUpLarge } from "../../common/svgs/IconChev import { ReactComponent as IconChevronUpSmall } from "../../common/svgs/IconChevronUpSmall.svg"; import { ReactComponent as IconCirclesOverlapLarge } from "../../common/svgs/IconCirclesOverlapLarge.svg"; import { ReactComponent as IconCirclesOverlapSmall } from "../../common/svgs/IconCirclesOverlapSmall.svg"; -import { ReactComponent as IconCitationLarge } from "../../common/svgs/IconCitationLarge.svg"; import { ReactComponent as IconCompassLarge } from "../../common/svgs/IconCompassLarge.svg"; import { ReactComponent as IconCopyLarge } from "../../common/svgs/IconCopyLarge.svg"; import { ReactComponent as IconCopySmall } from "../../common/svgs/IconCopySmall.svg"; @@ -84,6 +83,7 @@ import { ReactComponent as IconProjectPrivateLarge } from "../../common/svgs/Ico import { ReactComponent as IconProjectPublicLarge } from "../../common/svgs/IconProjectPublicLarge.svg"; import { ReactComponent as IconPuzzlePieceSmall } from "../../common/svgs/IconPuzzlePieceSmall.svg"; import { ReactComponent as IconQuestionMarkLarge } from "../../common/svgs/IconQuestionMarkLarge.svg"; +import { ReactComponent as IconQuoteLarge } from "../../common/svgs/IconQuoteLarge.svg"; import { ReactComponent as IconRefreshLarge } from "../../common/svgs/IconRefreshLarge.svg"; import { ReactComponent as IconRefreshSmall } from "../../common/svgs/IconRefreshSmall.svg"; import { ReactComponent as IconSaveLarge } from "../../common/svgs/IconSaveLarge.svg"; @@ -133,7 +133,6 @@ export interface IconNameToSizes { chevronRight2: "xs" | "s"; chevronRight: "xs" | "s" | "l" | "xl"; chevronUp: "xs" | "s" | "l" | "xl"; - citation: "l" | "xl"; circlesOverlap: "xs" | "s" | "l" | "xl"; compass: "l" | "xl"; copy: "xs" | "s" | "l" | "xl"; @@ -186,6 +185,7 @@ export interface IconNameToSizes { projectPublic: "l" | "xl"; puzzlePiece: "xs" | "s"; questionMark: "l" | "xl"; + quote: "l" | "xl"; refresh: "xs" | "s" | "l" | "xl"; save: "l" | "xl"; search: "xs" | "s" | "l" | "xl"; @@ -276,10 +276,6 @@ export const iconMap: Props = { largeIcon: IconChevronUpLarge, smallIcon: IconChevronUpSmall, }, - citation: { - largeIcon: IconCitationLarge, - smallIcon: null, - }, circlesOverlap: { largeIcon: IconCirclesOverlapLarge, smallIcon: IconCirclesOverlapSmall, @@ -488,6 +484,10 @@ export const iconMap: Props = { largeIcon: IconQuestionMarkLarge, smallIcon: null, }, + quote: { + largeIcon: IconQuoteLarge, + smallIcon: null, + }, refresh: { largeIcon: IconRefreshLarge, smallIcon: IconRefreshSmall, From 3bb05b8ee83c757a733ea1d0a021a1733e2b996f Mon Sep 17 00:00:00 2001 From: kaloster Date: Wed, 27 Sep 2023 15:43:24 -0400 Subject: [PATCH 3/4] fix(icons): remove fill attribute --- packages/components/src/common/svgs/IconQuoteLarge.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/common/svgs/IconQuoteLarge.svg b/packages/components/src/common/svgs/IconQuoteLarge.svg index ce899fc28..b8be423e6 100644 --- a/packages/components/src/common/svgs/IconQuoteLarge.svg +++ b/packages/components/src/common/svgs/IconQuoteLarge.svg @@ -1,3 +1,3 @@ - + From f7e2901d57f35c6abd841b2beab20e49deda141c Mon Sep 17 00:00:00 2001 From: kaloster Date: Wed, 27 Sep 2023 15:53:28 -0400 Subject: [PATCH 4/4] fix(icons): actually remove fill attribute --- packages/components/src/common/svgs/IconQuoteLarge.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/common/svgs/IconQuoteLarge.svg b/packages/components/src/common/svgs/IconQuoteLarge.svg index b8be423e6..bce857934 100644 --- a/packages/components/src/common/svgs/IconQuoteLarge.svg +++ b/packages/components/src/common/svgs/IconQuoteLarge.svg @@ -1,3 +1,3 @@ - +