From 5a8fe883dd9419b9c965879cd55eb90234ac59f4 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Wed, 4 Feb 2026 22:01:32 +0100 Subject: [PATCH] feat: upgrade @ciphera-net/ui to version 0.0.45 and refactor Funnel components to replace Card with div for improved styling consistency --- app/sites/[id]/funnels/[funnelId]/page.tsx | 11 +++++------ app/sites/[id]/funnels/new/page.tsx | 11 +++++------ app/sites/[id]/funnels/page.tsx | 11 +++++------ package-lock.json | 8 ++++---- package.json | 2 +- 5 files changed, 20 insertions(+), 23 deletions(-) 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() {
- +
- +
- +
@@ -126,7 +125,7 @@ export default function CreateFunnelPage() {
{steps.map((step, index) => ( - +
@@ -182,7 +181,7 @@ export default function CreateFunnelPage() {
- +
))}