From 851724b99bebcde833a781fd5ea13b2daf3934e1 Mon Sep 17 00:00:00 2001 From: Diogo Mateus Date: Thu, 26 Oct 2023 10:09:15 +0100 Subject: [PATCH 1/2] fix(images): Fix images types --- src/lib/util/images/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/util/images/index.ts b/src/lib/util/images/index.ts index fb51d5c9..325461fe 100644 --- a/src/lib/util/images/index.ts +++ b/src/lib/util/images/index.ts @@ -22,7 +22,7 @@ const images = { books: `${basePath}/books.svg`, finalExpenses: `${basePath}/finalExpenses.svg`, mortgage: `${basePath}/mortgage.svg`, -} as const; +}; const illustrations = { aids: `${basePathIllustrations}/aids.svg`, @@ -155,7 +155,7 @@ const illustrations = { water: `${basePathIllustrations}/water.svg`, wavingHand: `${basePathIllustrations}/waving-hand.svg`, worldwide: `${basePathIllustrations}/worldwide.svg`, -} as const; +}; type IllustrationKeys = keyof typeof illustrations; From e4f96743e60a557502dbcbc0a6fd5daa8a43e9a0 Mon Sep 17 00:00:00 2001 From: Diogo Mateus Date: Thu, 26 Oct 2023 10:20:41 +0100 Subject: [PATCH 2/2] Add missing Card export --- src/index.tsx | 1 + src/lib/index.tsx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 482f2edc..e6bf37b6 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -17,6 +17,7 @@ export { CardWithTopIcon, InfoCard, CardButton, + Card, Button, AutoSuggestMultiSelect, Chip, diff --git a/src/lib/index.tsx b/src/lib/index.tsx index 26226a8c..01102c87 100644 --- a/src/lib/index.tsx +++ b/src/lib/index.tsx @@ -28,6 +28,7 @@ import { InfoCard, CardButton, } from './components/cards'; +import { Card } from './components/card'; import { Button } from './components/button'; import { AutoSuggestMultiSelect } from './components/input/autoSuggestMultiSelect'; import Chip from './components/chip'; @@ -66,6 +67,7 @@ export { CardWithLeftIcon, CardWithTopIcon, InfoCard, + Card, CardButton, Button, CurrencyInput,