Support controlled multi-selection and visible ranges in Tree

This commit is contained in:
Codex
2026-11-14 23:05:56 +03:00
parent d8ed37e09d
commit d7885fe098
7 changed files with 36 additions and 10 deletions
+4 -2
View File
@@ -1285,7 +1285,8 @@
"exports": [
"Tree",
"TreeNode",
"TreeProps"
"TreeProps",
"TreeSelectionGesture"
],
"domContract": [
"nodedc-tree",
@@ -1303,7 +1304,8 @@
"rules": [
"Use for object hierarchies; no nested ResourceRow cards.",
"Host owns model identity and visibility; the tree owns navigation presentation.",
"Compact information uses info-plain at 14px beside the independent visibility eye."
"Compact information uses info-plain at 14px beside the independent visibility eye.",
"Optional controlled selectedIds and modifier/range callback support multiple selection; Shift ranges use displayed rows only. Existing single-selection consumers remain compatible."
]
},
{