feat: upgrade to React 19, Next.js 15, React Compiler, HeroUI and Tailwind 4 (#8748)

Co-authored-by: Alan Buscaglia <alanbuscaglia@MacBook-Pro.local>
Co-authored-by: alejandrobailo <alejandrobailo94@gmail.com>
Co-authored-by: César Arroba <cesar@prowler.com>
Co-authored-by: Alejandro Bailo <59607668+alejandrobailo@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-09-30 09:59:51 +02:00
1 parent 2a4b62527a
commit 4d5676f00e
261 files changed
+6339 -6126

No files matched your search

+6 -9
View File
@@ -39,7 +39,7 @@ export function Skeleton({
: undefined,
}}
className={cn(
"animate-pulse bg-gray-200 dark:bg-prowler-blue-800",
"dark:bg-prowler-blue-800 animate-pulse bg-gray-200",
variantClasses[variant],
!animate && "animate-none",
className,
@@ -60,9 +60,9 @@ export function SkeletonTable({
roundedCells?: boolean;
}) {
return (
<div className={cn("w-full space-y-4", className)}>
<div className={cn("flex w-full flex-col gap-4", className)}>
{/* Header */}
<div className="flex items-center space-x-4 pb-4">
<div className="flex items-center gap-4 pb-4">
{Array.from({ length: columns }).map((_, index) => (
<Skeleton
key={`header-${index}`}
@@ -75,10 +75,7 @@ export function SkeletonTable({
{/* Rows */}
{Array.from({ length: rows }).map((_, rowIndex) => (
<div
key={`row-${rowIndex}`}
className="flex items-center space-x-4 py-3"
>
<div key={`row-${rowIndex}`} className="flex items-center gap-4 py-3">
{Array.from({ length: columns }).map((_, colIndex) => (
<Skeleton
key={`cell-${rowIndex}-${colIndex}`}
@@ -95,7 +92,7 @@ export function SkeletonTable({
export function SkeletonCard({ className }: { className?: string }) {
return (
<div className={cn("space-y-3", className)}>
<div className={cn("flex flex-col gap-3", className)}>
<Skeleton variant="card" />
<Skeleton className="h-4 w-2/3" />
<Skeleton className="h-4 w-1/2" />
@@ -113,7 +110,7 @@ export function SkeletonText({
lastLineWidth?: string;
}) {
return (
<div className={cn("space-y-2", className)}>
<div className={cn("flex flex-col gap-2", className)}>
{Array.from({ length: lines - 1 }).map((_, index) => (
<Skeleton key={index} className="h-4 w-full" variant="text" />
))}