diff --git a/messages/de-DE.json b/messages/de-DE.json index 1374a07..a280fb6 100644 --- a/messages/de-DE.json +++ b/messages/de-DE.json @@ -357,6 +357,7 @@ "heading": "Leben", "Childcare": "Kinderversorgung", "Clothing": "Kleidung", + "Donation": "Spende", "Education": "Bildung", "Gifts": "Geschenke", "Insurance": "Versicherung", diff --git a/messages/en-US.json b/messages/en-US.json index 493b9e3..3919138 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -358,6 +358,7 @@ "heading": "Life", "Childcare": "Childcare", "Clothing": "Clothing", + "Donation": "Donation", "Education": "Education", "Gifts": "Gifts", "Insurance": "Insurance", diff --git a/package-lock.json b/package-lock.json index 867dee2..c1abe68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,7 +38,7 @@ "content-disposition": "^0.5.4", "dayjs": "^1.11.10", "embla-carousel-react": "^8.0.0-rc21", - "lucide-react": "^0.290.0", + "lucide-react": "^0.501.0", "nanoid": "^5.0.4", "negotiator": "^0.6.3", "next": "^14.2.5", @@ -14602,12 +14602,12 @@ } }, "node_modules/lucide-react": { - "version": "0.290.0", - "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.290.0.tgz", - "integrity": "sha512-CBDPRLOPjdo+bVlxhaa7FVWaB8OrZZQ34mwm0Fsz9ut6JltN/Td55640ur8bRWSJuz6+nX2klKrpBpV7ktwD3Q==", + "version": "0.501.0", + "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.501.0.tgz", + "integrity": "sha512-E2KoyhW59fCb/yUbR3rbDer83fqn7a8NG91ZhIot2yWaPHjPyGzzsNKh40N//GezYShAuycf3TcQksRQznIsRw==", "license": "ISC", "peerDependencies": { - "react": "^16.5.1 || ^17.0.0 || ^18.0.0" + "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "node_modules/lz-string": { diff --git a/package.json b/package.json index 7cbf133..f216cfe 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "content-disposition": "^0.5.4", "dayjs": "^1.11.10", "embla-carousel-react": "^8.0.0-rc21", - "lucide-react": "^0.290.0", + "lucide-react": "^0.501.0", "nanoid": "^5.0.4", "negotiator": "^0.6.3", "next": "^14.2.5", diff --git a/prisma/migrations/20250308000000_add_category_donation/migration.sql b/prisma/migrations/20250308000000_add_category_donation/migration.sql new file mode 100644 index 0000000..307b7b4 --- /dev/null +++ b/prisma/migrations/20250308000000_add_category_donation/migration.sql @@ -0,0 +1 @@ +INSERT INTO "Category" ("id", "grouping", "name") VALUES (43, 'Life', 'Donation'); diff --git a/src/app/groups/[groupId]/expenses/category-icon.tsx b/src/app/groups/[groupId]/expenses/category-icon.tsx index 0020ff4..9be74fc 100644 --- a/src/app/groups/[groupId]/expenses/category-icon.tsx +++ b/src/app/groups/[groupId]/expenses/category-icon.tsx @@ -16,6 +16,7 @@ import { FerrisWheel, Fuel, Gift, + HandHelping, Home, Hotel, Lamp, @@ -96,6 +97,8 @@ function getCategoryIcon(category: string): LucideIcon { return Baby case 'Life/Clothing': return Shirt + case 'Life/Donation': + return HandHelping case 'Life/Education': return LibraryBig case 'Life/Gifts':