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} > 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`] = `
should match snapshot 1`] = ` "baseElement":
should match snapshot 1`] = ` , "container":