diff --git a/app/sites/[id]/funnels/[funnelId]/page.tsx b/app/sites/[id]/funnels/[funnelId]/page.tsx index ba8da73..d3c2415 100644 --- a/app/sites/[id]/funnels/[funnelId]/page.tsx +++ b/app/sites/[id]/funnels/[funnelId]/page.tsx @@ -4,9 +4,8 @@ import { useAuth } from '@/lib/auth/context' import { useEffect, useState } from 'react' import { useParams, useRouter } from 'next/navigation' import { getFunnel, getFunnelStats, deleteFunnel, type Funnel, type FunnelStats } from '@/lib/api/funnels' -import { toast, LoadingOverlay, Card, Select, DatePicker } from '@ciphera-net/ui' +import { toast, LoadingOverlay, Select, DatePicker, ChevronLeftIcon, ArrowRightIcon, TrashIcon } from '@ciphera-net/ui' import Link from 'next/link' -import { LuChevronLeft as ChevronLeftIcon, LuTrash as TrashIcon, LuEdit as EditIcon, LuArrowRight as ArrowRightIcon } from 'react-icons/lu' import { BarChart, Bar, @@ -136,7 +135,7 @@ export default function FunnelReportPage() { {/* Chart */} - + Funnel Visualization @@ -192,10 +191,10 @@ export default function FunnelReportPage() { - + {/* Detailed Stats Table */} - + @@ -248,7 +247,7 @@ export default function FunnelReportPage() { - + - + @@ -116,7 +115,7 @@ export default function CreateFunnelPage() { /> - + @@ -126,7 +125,7 @@ export default function CreateFunnelPage() { {steps.map((step, index) => ( - + @@ -182,7 +181,7 @@ export default function CreateFunnelPage() { - + ))} {funnels.length === 0 ? ( - + @@ -97,7 +96,7 @@ export default function FunnelsPage() { Create Funnel - + ) : ( {funnels.map((funnel) => ( @@ -106,7 +105,7 @@ export default function FunnelsPage() { href={`/sites/${siteId}/funnels/${funnel.id}`} className="block group" > - + @@ -140,7 +139,7 @@ export default function FunnelsPage() { - + ))} diff --git a/package-lock.json b/package-lock.json index 8c5e6f9..cbca395 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "pulse-frontend", "version": "0.1.2", "dependencies": { - "@ciphera-net/ui": "^0.0.44", + "@ciphera-net/ui": "^0.0.45", "@ducanh2912/next-pwa": "^10.2.9", "axios": "^1.13.2", "country-flag-icons": "^1.6.4", @@ -1467,9 +1467,9 @@ } }, "node_modules/@ciphera-net/ui": { - "version": "0.0.44", - "resolved": "https://npm.pkg.github.com/download/@ciphera-net/ui/0.0.44/a36bb829498560c7dc49e105e048fdc02e6735d9", - "integrity": "sha512-3dgHoVwnYqbKVKC7Dzjzm3sbPHoL+t3J58TC0XvH6S9OYBW1vC+nkF3Jxqq6pVoHOblpZ1/ZokL7hA6xZFeSIQ==", + "version": "0.0.45", + "resolved": "https://npm.pkg.github.com/download/@ciphera-net/ui/0.0.45/de60e0da8e1c78ea906d49fdc85cd7d7dd163348", + "integrity": "sha512-KvrNKb9NzLMztB75h94opaaUp9RG43QW7GCRcVX+xGT8EFmrXi/N2h2kpjHZV652H/Cz1EXfcDA0hzoq/+wJXA==", "dependencies": { "@radix-ui/react-icons": "^1.3.0", "clsx": "^2.1.0", diff --git a/package.json b/package.json index 73c0538..ff9b34f 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@ciphera-net/ui": "^0.0.44", + "@ciphera-net/ui": "^0.0.45", "@ducanh2912/next-pwa": "^10.2.9", "axios": "^1.13.2", "country-flag-icons": "^1.6.4",