chore: upgrade @ciphera-net/ui to v0.0.14 and refactor component imports

This commit is contained in:
Usman Baig
2026-01-24 11:42:19 +01:00
parent 2b5efc70c1
commit 33779ebf77
12 changed files with 10 additions and 420 deletions

View File

@@ -16,7 +16,7 @@ import type { TooltipProps } from 'recharts'
import { formatNumber, formatDuration } from '@/lib/utils/format'
import { ArrowTopRightIcon, ArrowBottomRightIcon, DownloadIcon, BarChartIcon } from '@radix-ui/react-icons'
import { Button } from '@ciphera-net/ui'
import { Checkbox } from '@/components/ui/Checkbox'
import { Checkbox } from '@ciphera-net/ui'
const COLORS = {
brand: '#FD5E0F',

View File

@@ -4,7 +4,7 @@ import { useState, useEffect } from 'react'
import { motion } from 'framer-motion'
import { ChevronDownIcon } from '@radix-ui/react-icons'
import { PerformanceStats as Stats, PerformanceByPageStat, getPerformanceByPage } from '@/lib/api/stats'
import Select from '@/components/ui/Select'
import { Select } from '@ciphera-net/ui'
interface Props {
stats: Stats

View File

@@ -1,19 +0,0 @@
'use client'
interface StatsCardProps {
title: string
value: string
}
export default function StatsCard({ title, value }: StatsCardProps) {
return (
<div className="bg-white dark:bg-neutral-900 border border-neutral-200 dark:border-neutral-800 rounded-xl p-6">
<div className="text-sm text-neutral-600 dark:text-neutral-400 mb-2">
{title}
</div>
<div className="text-3xl font-bold text-neutral-900 dark:text-white">
{value}
</div>
</div>
)
}