22 ArrowUturnLeftIcon ,
33 PencilSquareIcon ,
44 PlusIcon ,
5- VariableIcon ,
5+ BoltIcon ,
66 ViewColumnsIcon ,
77 XMarkIcon ,
88} from "@heroicons/react/20/solid" ;
@@ -224,7 +224,7 @@ function ColumnRow({
224224 return (
225225 < div
226226 className = { cn (
227- "relative flex h-8 items-center gap-2 px-3 transition-colors hover:bg-charcoal-750" ,
227+ "group relative flex h-8 items-center gap-2 px-3 transition-colors hover:bg-charcoal-750" ,
228228 dragging && "opacity-40"
229229 ) }
230230 draggable
@@ -236,7 +236,7 @@ function ColumnRow({
236236 >
237237 { isOver && < div className = "absolute inset-x-0 top-0 h-0.5 bg-blue-500" /> }
238238 { locked ? < Checkbox checked disabled /> : < Checkbox checked = { checked } onChange = { onToggle } /> }
239- { isSmart && < VariableIcon className = "size-4 flex-none text-text-dimmed" /> }
239+ { isSmart && < BoltIcon className = "size-4 flex-none text-text-dimmed" /> }
240240 < span
241241 className = { cn ( "flex-1 truncate text-sm" , checked ? "text-text-bright" : "text-text-dimmed" ) }
242242 >
@@ -247,7 +247,7 @@ function ColumnRow({
247247 type = "button"
248248 onClick = { onEdit }
249249 aria-label = { `Edit ${ col . def . label } ` }
250- className = "flex size-5 items-center justify-center rounded text-text-dimmed transition-colors hover:text-text-bright focus-custom"
250+ className = "flex size-5 items-center justify-center rounded text-text-dimmed opacity-0 transition hover:text-text-bright focus-custom group-hover:opacity-100 "
251251 >
252252 < PencilSquareIcon className = "size-3.5" />
253253 </ button >
@@ -257,12 +257,12 @@ function ColumnRow({
257257 type = "button"
258258 onClick = { onRemove }
259259 aria-label = { `Remove ${ col . def . label } ` }
260- className = "flex size-5 items-center justify-center rounded text-text-dimmed transition-colors hover:text-error focus-custom"
260+ className = "flex size-5 items-center justify-center rounded text-text-dimmed opacity-0 transition hover:text-error focus-custom group-hover:opacity-100 "
261261 >
262262 < XMarkIcon className = "size-3.5" />
263263 </ button >
264264 ) }
265- < GripVerticalIcon className = "size-4 cursor-grab text-text-dimmed active:cursor-grabbing" />
265+ < GripVerticalIcon className = "size-4 flex-none cursor-grab text-text-dimmed opacity-0 transition group-hover:opacity-100 active:cursor-grabbing" />
266266 </ div >
267267 ) ;
268268}
0 commit comments