@illuma-ai/codeviz 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1484,7 +1484,7 @@ function DataTable({ columns = [], data = [], searchable = true, pageSize = 10,
1484
1484
  };
1485
1485
 
1486
1486
  return (
1487
- <div className="bg-surface-secondary border border-border-light rounded-xl overflow-hidden">
1487
+ <div className="bg-surface-secondary border border-border-light rounded-lg overflow-hidden">
1488
1488
  {searchable && (
1489
1489
  <div className="px-4 py-3 border-b border-border-light">
1490
1490
  <input
@@ -1594,18 +1594,18 @@ function MetricCard({ label, value, trend, trendLabel, icon, iconColor = '#00C1D
1594
1594
  const IconComp = icon;
1595
1595
 
1596
1596
  return (
1597
- <div className="bg-surface-secondary border border-border-light rounded-xl p-4 transition-all">
1597
+ <div className="bg-surface-secondary border border-border-light rounded-lg p-3">
1598
1598
  <div className="flex items-center justify-between mb-1">
1599
1599
  <p className="text-text-secondary text-xs font-medium">{label}</p>
1600
1600
  {IconComp && (
1601
- <div className="flex items-center justify-center w-8 h-8 rounded-lg bg-surface-tertiary">
1602
- <IconComp className="w-4 h-4" style={{ color: iconColor }} />
1601
+ <div className="flex items-center justify-center w-7 h-7 rounded-lg bg-surface-tertiary">
1602
+ <IconComp className="w-3.5 h-3.5" style={{ color: iconColor }} />
1603
1603
  </div>
1604
1604
  )}
1605
1605
  </div>
1606
1606
  <p className="text-xl font-bold text-text-primary tabular-nums">{value}</p>
1607
1607
  {trend && (
1608
- <div className="flex items-center gap-1.5 mt-1.5">
1608
+ <div className="flex items-center gap-1.5 mt-1">
1609
1609
  <span className={cn('text-xs font-medium', isPositive && 'text-status-positive', isNegative && 'text-status-negative')}>
1610
1610
  {isPositive && '▲'}{isNegative && '▼'} {trend}
1611
1611
  </span>