@xh/hoist 68.0.0-SNAPSHOT.1726600610097 → 68.0.0-SNAPSHOT.1726665376598

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
@@ -6,6 +6,10 @@
6
6
 
7
7
  * Requires `hoist-core >= 21.1` for consolidated polling of Alert Banner updates (see below).
8
8
 
9
+ ### 🎁 New Features
10
+
11
+ * Added expand/collapse affordance in the left column header of ZoneGrids in tree mode.
12
+
9
13
  ### ⚙️ Technical
10
14
 
11
15
  * Updated Admin Console's Cluster tab to refresh more frequently.
@@ -19,6 +23,8 @@
19
23
  ### 📚 Libraries
20
24
 
21
25
  * @azure/msal-browser `3.17 → 3.23`
26
+ * mobx `6.9.1 -> 6.13.2`,
27
+ * mobx-react-lite `3.4.3 -> 4.0.7`,
22
28
 
23
29
 
24
30
  ## 67.0.0 - 2024-09-03
@@ -1103,6 +1103,6 @@ export class Column {
1103
1103
 
1104
1104
  return isFunction(sortValue)
1105
1105
  ? sortValue(v, {record, column: this, gridModel})
1106
- : record?.data[sortValue] ?? v;
1106
+ : (record?.data[sortValue] ?? v);
1107
1107
  }
1108
1108
  }
@@ -583,7 +583,7 @@ export class ZoneGridModel extends HoistModel {
583
583
  const colId = it.field;
584
584
  subFields.push({
585
585
  colId,
586
- label: it.showLabel ? labelRenderers[colId] ?? true : false,
586
+ label: it.showLabel ? (labelRenderers[colId] ?? true) : false,
587
587
  position: 'top'
588
588
  });
589
589
  });
@@ -591,7 +591,7 @@ export class ZoneGridModel extends HoistModel {
591
591
  const colId = it.field;
592
592
  subFields.push({
593
593
  colId,
594
- label: it.showLabel ? labelRenderers[colId] ?? true : false,
594
+ label: it.showLabel ? (labelRenderers[colId] ?? true) : false,
595
595
  position: 'bottom'
596
596
  });
597
597
  });
@@ -608,6 +608,7 @@ export class ZoneGridModel extends HoistModel {
608
608
  // Controlled properties
609
609
  field: isLeft ? 'left_column' : 'right_column',
610
610
  align: isLeft ? 'left' : 'right',
611
+ isTreeColumn: gridModel?.treeMode && isLeft,
611
612
  flex: overrideSpec.width ? null : isLeft ? 2 : 1,
612
613
  renderer: (value, context) => zoneGridRenderer(value, context, isLeft),
613
614
  rendererIsComplex: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "68.0.0-SNAPSHOT.1726600610097",
3
+ "version": "68.0.0-SNAPSHOT.1726665376598",
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",
@@ -60,8 +60,8 @@
60
60
  "jwt-decode": "~4.0.0",
61
61
  "lodash": "~4.17.21",
62
62
  "lodash-inflection": "~1.5.0",
63
- "mobx": "~6.9.1",
64
- "mobx-react-lite": "~3.4.3",
63
+ "mobx": "~6.13.2",
64
+ "mobx-react-lite": "~4.0.7",
65
65
  "moment": "~2.30.1",
66
66
  "numbro": "~2.5.0",
67
67
  "onsenui": "~2.12.8",