@headless-tree/core 0.0.0-20250511194715 → 0.0.0-20250514161139
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.
- package/CHANGELOG.md +2 -1
- package/lib/cjs/features/drag-and-drop/feature.js +1 -0
- package/lib/cjs/test-utils/test-tree-expect.js +1 -0
- package/lib/esm/features/drag-and-drop/feature.js +1 -0
- package/lib/esm/test-utils/test-tree-expect.js +1 -0
- package/package.json +1 -1
- package/src/features/drag-and-drop/feature.ts +1 -0
- package/src/test-utils/test-tree-expect.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @headless-tree/core
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-20250514161139
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
- da1e757: fixed a bug where alt-tabbing out of browser will break hotkeys feature
|
|
14
14
|
- c283f52: add feature to allow async data invalidation without triggering rerenders with `invalidateItemData(optimistic: true)` (#95)
|
|
15
15
|
- 29b2c64: added option to completely ignore hotkey events while input elements are focused (`ignoreHotkeysOnInput`) (#98)
|
|
16
|
+
- cd5b27c: add position:absolute to default styles of getDragLineStyle()
|
|
16
17
|
|
|
17
18
|
## 1.0.1
|
|
18
19
|
|
package/package.json
CHANGED
|
@@ -74,6 +74,7 @@ export const dragAndDropFeature: FeatureImplementation = {
|
|
|
74
74
|
const dragLine = tree.getDragLineData();
|
|
75
75
|
return dragLine
|
|
76
76
|
? {
|
|
77
|
+
position: "absolute",
|
|
77
78
|
top: `${dragLine.top + topOffset}px`,
|
|
78
79
|
left: `${dragLine.left + leftOffset}px`,
|
|
79
80
|
width: `${dragLine.width - leftOffset}px`,
|