@xh/hoist 76.0.0-SNAPSHOT.1754919294482 → 76.0.0-SNAPSHOT.1755027138892

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
@@ -31,14 +31,9 @@
31
31
  This new object supports several documented properties, including a useful `cubeLeaves` property,
32
32
  which can be activated via the `Query.provideLeaves` property.
33
33
 
34
-
35
-
36
34
  ### 🐞 Bug Fixes
37
35
  * Fixed bugs where `Store.modifyRecords`, `Store.revertRecords` and `Store.revert` were not properly
38
36
  handling changes to `SummaryRecords`.
39
-
40
- ### 🐞 Bug Fixes
41
-
42
37
  * Fixed minor `DashCanvas` issues with `allowAdd: false`, ensuring it does not block additions made
43
38
  via `loadState()` and hiding the `Add` context menu item in views as intended.
44
39
  * Updated `DashCanvas` CSS to set `position: relative;`, ensuring that the empty state overlay is
@@ -96,12 +96,14 @@ export abstract class BaseRow {
96
96
  }
97
97
 
98
98
  private getChildrenDatas(): ViewRowData[] {
99
- let {children, view} = this;
99
+ let {children, view} = this,
100
+ {query} = view;
100
101
 
101
- if (!children) return null;
102
+ if (!children || (children[0].isLeaf && !query.includeLeaves && !query.provideLeaves))
103
+ return null;
102
104
 
103
105
  // Skip all children in a locked node
104
- if (view.query.lockFn?.(this as any)) {
106
+ if (query.lockFn?.(this as any)) {
105
107
  this.locked = true;
106
108
  return null;
107
109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "76.0.0-SNAPSHOT.1754919294482",
3
+ "version": "76.0.0-SNAPSHOT.1755027138892",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",