From 388d14c464fb0aed921f79420972e583addad7fa Mon Sep 17 00:00:00 2001 From: Xavi Abad <77491413+xabg2@users.noreply.github.com> Date: Thu, 12 Feb 2026 22:40:51 +0100 Subject: [PATCH 1/3] fix: add z index to the list header --- package.json | 2 +- src/components/list/List.tsx | 4 ++-- src/components/list/ListItem.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 1133e0d..503d3a9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@internxt/ui", - "version": "0.1.3", + "version": "0.1.4", "description": "Library of Internxt components", "repository": { "type": "git", diff --git a/src/components/list/List.tsx b/src/components/list/List.tsx index 56f70e6..8f4d15d 100644 --- a/src/components/list/List.tsx +++ b/src/components/list/List.tsx @@ -298,12 +298,12 @@ const List = ({ return (
{/* BODY */}
-
+
{!isEmptyState ? ( ({ ref={rootWrapperRef} className={`group relative flex h-14 flex-row items-center pl-14 pr-5 ${ selected ? 'bg-primary/10 text-gray-100 dark:bg-primary/20' : 'focus-within:bg-gray-1 hover:bg-gray-1' - }`} + } ${isOpen ? 'z-40' : ''}`} onMouseEnter={onMouseEnter} onMouseLeave={onMouseLeave} > From c9773daf64b7ebccb5bf94f4713cff7619d92d5f Mon Sep 17 00:00:00 2001 From: Xavi Abad <77491413+xabg2@users.noreply.github.com> Date: Fri, 13 Feb 2026 09:27:56 +0100 Subject: [PATCH 2/3] tests: list snapshot --- .../__test__/__snapshots__/List.test.tsx.snap | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/list/__test__/__snapshots__/List.test.tsx.snap b/src/components/list/__test__/__snapshots__/List.test.tsx.snap index 96d46b1..47ad58d 100644 --- a/src/components/list/__test__/__snapshots__/List.test.tsx.snap +++ b/src/components/list/__test__/__snapshots__/List.test.tsx.snap @@ -6,7 +6,7 @@ exports[`List component > should match snapshot 1`] = ` "baseElement":
should match snapshot 1`] = ` id="scrollableList" >
should match snapshot 1`] = `
should match snapshot 1`] = `
should match snapshot 1`] = ` , "container":
should match snapshot 1`] = ` id="scrollableList" >
should match snapshot 1`] = `
should match snapshot 1`] = `
Date: Fri, 13 Feb 2026 09:49:05 +0100 Subject: [PATCH 3/3] test: List Item snapshot --- .../list/__test__/__snapshots__/ListItem.test.tsx.snap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/list/__test__/__snapshots__/ListItem.test.tsx.snap b/src/components/list/__test__/__snapshots__/ListItem.test.tsx.snap index fd3dbd7..f78853b 100644 --- a/src/components/list/__test__/__snapshots__/ListItem.test.tsx.snap +++ b/src/components/list/__test__/__snapshots__/ListItem.test.tsx.snap @@ -6,7 +6,7 @@ exports[`ListItem > should match snapshot 1`] = ` "baseElement":
should match snapshot 1`] = ` , "container":