@headless-tree/react 0.0.0-20250330232503 → 0.0.0-20250414214111
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
CHANGED
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
# @headless-tree/react
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-20250414214111
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9e5027b: The propMemoization feature now memoizes all prop-generation related functions, including searchinput and renameinput related props
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [9e5027b]
|
|
12
|
+
- @headless-tree/core@0.0.0-20250414214111
|
|
13
|
+
|
|
14
|
+
## 0.0.15
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
6
17
|
|
|
7
18
|
- 617faea: Support for keyboard-controlled drag-and-drop events
|
|
8
19
|
- Updated dependencies [2af5668]
|
|
9
20
|
- Updated dependencies [617faea]
|
|
10
|
-
- @headless-tree/core@0.0.
|
|
21
|
+
- @headless-tree/core@0.0.15
|
|
11
22
|
|
|
12
23
|
## 0.0.14
|
|
13
24
|
|
|
@@ -28,7 +28,7 @@ const styles = {
|
|
|
28
28
|
};
|
|
29
29
|
const getDefaultLabel = (dnd, assistiveState, hotkeys) => {
|
|
30
30
|
var _a, _b;
|
|
31
|
-
const itemNames = (_b = (_a = dnd === null || dnd === void 0 ? void 0 : dnd.draggedItems) === null || _a === void 0 ? void 0 : _a.map((item) => item.getItemName()).join(", ")) !== null && _b !== void 0 ? _b : "";
|
|
31
|
+
const itemNames = (_b = (_a = dnd === null || dnd === void 0 ? void 0 : dnd.draggedItems) === null || _a === void 0 ? void 0 : _a.map((item) => item.getItemName()).join(", ")) !== null && _b !== void 0 ? _b : "";
|
|
32
32
|
const position = !(dnd === null || dnd === void 0 ? void 0 : dnd.dragTarget)
|
|
33
33
|
? "None"
|
|
34
34
|
: "childIndex" in dnd.dragTarget
|
|
@@ -22,7 +22,7 @@ const styles = {
|
|
|
22
22
|
};
|
|
23
23
|
const getDefaultLabel = (dnd, assistiveState, hotkeys) => {
|
|
24
24
|
var _a, _b;
|
|
25
|
-
const itemNames = (_b = (_a = dnd === null || dnd === void 0 ? void 0 : dnd.draggedItems) === null || _a === void 0 ? void 0 : _a.map((item) => item.getItemName()).join(", ")) !== null && _b !== void 0 ? _b : "";
|
|
25
|
+
const itemNames = (_b = (_a = dnd === null || dnd === void 0 ? void 0 : dnd.draggedItems) === null || _a === void 0 ? void 0 : _a.map((item) => item.getItemName()).join(", ")) !== null && _b !== void 0 ? _b : "";
|
|
26
26
|
const position = !(dnd === null || dnd === void 0 ? void 0 : dnd.dragTarget)
|
|
27
27
|
? "None"
|
|
28
28
|
: "childIndex" in dnd.dragTarget
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@headless-tree/react",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-20250414214111",
|
|
4
4
|
"main": "lib/cjs/index.js",
|
|
5
5
|
"module": "lib/esm/index.js",
|
|
6
6
|
"types": "lib/esm/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"typescript": "^5.7.2"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@headless-tree/core": "0.0.0-
|
|
31
|
+
"@headless-tree/core": "0.0.0-20250414214111",
|
|
32
32
|
"react": "*",
|
|
33
33
|
"react-dom": "*"
|
|
34
34
|
}
|
|
@@ -23,7 +23,7 @@ const getDefaultLabel = <T,>(
|
|
|
23
23
|
hotkeys: HotkeysConfig<T>,
|
|
24
24
|
) => {
|
|
25
25
|
const itemNames =
|
|
26
|
-
dnd?.draggedItems?.map((item) => item.getItemName()).join(", ") ?? "";
|
|
26
|
+
dnd?.draggedItems?.map((item) => item.getItemName()).join(", ") ?? "";
|
|
27
27
|
const position = !dnd?.dragTarget
|
|
28
28
|
? "None"
|
|
29
29
|
: "childIndex" in dnd.dragTarget
|