Skip to content

Commit 52defab

Browse files
committed
chore: export-draggable-list
1 parent f89d9df commit 52defab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/lib/draggable-list/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function DraggableList({
8585
}}
8686
className={cn(
8787
"bg-klerosUIComponentsLightBackground rounded-base border-klerosUIComponentsStroke border",
88-
"py-4",
88+
"w-95.5 py-4",
8989
"[&_div]:data-drop-target:outline-klerosUIComponentsPrimaryBlue [&_div]:data-drop-target:outline",
9090
className,
9191
)}
@@ -95,7 +95,7 @@ function DraggableList({
9595
textValue={item.name}
9696
className={({ isHovered, isDragging, isSelected }) =>
9797
cn(
98-
"h-11.25 w-95.5 cursor-pointer border-l-3 border-l-transparent",
98+
"h-11.25 w-full cursor-pointer border-l-3 border-l-transparent",
9999
"flex items-center gap-4 px-4",
100100
"focus-visible:outline-klerosUIComponentsPrimaryBlue focus-visible:outline",
101101
(isHovered || isSelected) && "bg-klerosUIComponentsMediumBlue",

src/lib/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ export { default as Tooltip } from "../lib/tooltip";
4949
export { default as ScrollbarContainer } from "../lib/scrollbar";
5050

5151
export { default as Copiable } from "../lib/copiable";
52+
53+
export { default as DraggableList } from "../lib/draggable-list";

0 commit comments

Comments
 (0)