From 96e9583fdbaa645dd2f702e44b1350b39ce14435 Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Mon, 9 Feb 2026 12:16:46 +0100 Subject: [PATCH] Refactor ExcelFilter popup UI for a more compact and data-dense experience --- components/ExcelFilter.tsx | 60 +++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/components/ExcelFilter.tsx b/components/ExcelFilter.tsx index 9de9785..78ef3d8 100644 --- a/components/ExcelFilter.tsx +++ b/components/ExcelFilter.tsx @@ -127,42 +127,42 @@ export const ExcelFilter: React.FC = ({ {isOpen && ( -
-
- {title} +
+
+ {title}
-
+
{/* Sort Section */} -
- Ordenar -
+
+ Ordenar +
{/* Condition Filter Section */} -
- Filtro -
+
+ Filtro +
= ({ placeholder="Buscar en la lista..." value={searchValue} onChange={(e) => setSearchValue(e.target.value)} - className="w-full bg-slate-950 border border-slate-800 rounded-lg px-3 py-1.5 text-xs text-white focus:outline-none focus:border-indigo-500 mb-2" + className="w-full bg-slate-950 border border-slate-800 rounded-lg px-2 py-1 text-[11px] text-white focus:outline-none focus:border-indigo-500 mb-1.5" /> -
+
-
+
{tempSelectedValues.length === uniqueValues.length && }
(Seleccionar todo) @@ -211,9 +211,9 @@ export const ExcelFilter: React.FC = ({
handleToggleValue(val)} - className="flex items-center gap-2 px-2 py-1.5 rounded hover:bg-white/5 cursor-pointer text-xs text-slate-300" + className="flex items-center gap-1.5 px-1.5 py-1 rounded hover:bg-white/5 cursor-pointer text-[11px] text-slate-300" > -
+
{isSelected && }
{val} @@ -224,18 +224,18 @@ export const ExcelFilter: React.FC = ({
-
+