@principal-ade/dynamic-file-tree 0.2.30 → 0.2.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -361,7 +361,7 @@ function TreeNode({
361
361
  opacity: isDragging ? 0.5 : 1,
362
362
  transition: "opacity 0.2s ease"
363
363
  },
364
- ref: dragHandle,
364
+ ref: isDraggable ? undefined : dragHandle,
365
365
  draggable: isDraggable,
366
366
  onDragStart: isDraggable ? handleDragStart : undefined,
367
367
  onDragEnd: isDraggable ? handleDragEnd : undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@principal-ade/dynamic-file-tree",
3
- "version": "0.2.30",
3
+ "version": "0.2.31",
4
4
  "description": "React component for selective directory filtering and file tree visualization",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",