@xh/hoist 78.0.0-SNAPSHOT.1762557871581 → 78.0.0-SNAPSHOT.1762906173996

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
@@ -8,6 +8,10 @@
8
8
  ### 🐞 Bug Fixes
9
9
  * StoreRecord will no longer report `isModified` as `true` if a field has been edited and
10
10
  then returned to its original value in a subsequent edit.
11
+ * Restore support for `TabModel.content` being nullable to support dynamic tab content.
12
+
13
+ * Remove stray context menu from appearing when clicking on column group headers and other grid
14
+ empty space.
11
15
 
12
16
  ## 77.0.1 - 2025-10-29
13
17
 
package/cmp/grid/Grid.ts CHANGED
@@ -205,10 +205,10 @@ export class GridLocalModel extends HoistModel {
205
205
  defaultColDef: {
206
206
  sortable: true,
207
207
  resizable: true,
208
- suppressHeaderContextMenu: true,
209
208
  suppressHeaderMenuButton: true,
210
209
  menuTabs: ['filterMenuTab']
211
210
  },
211
+ getMainMenuItems: () => [],
212
212
  popupParent: document.querySelector('body'),
213
213
  suppressAggFuncInHeader: true,
214
214
  icons: {
@@ -174,6 +174,8 @@ export class TabModel extends HoistModel {
174
174
  // Implementation
175
175
  //------------------
176
176
  private parseContent(content: Content | TabContainerConfig | TabConfig[]): Content {
177
+ if (!content) return null;
178
+
177
179
  // Recognize if content is a child container spec.
178
180
  let childConfig: TabContainerConfig = null;
179
181
  if (isArray(content)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "78.0.0-SNAPSHOT.1762557871581",
3
+ "version": "78.0.0-SNAPSHOT.1762906173996",
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",