@xh/hoist 75.0.0-SNAPSHOT.1752873581842 → 75.0.0-SNAPSHOT.1752891558856
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 +18 -21
- package/build/types/cmp/grid/GridModel.d.ts +4 -3
- package/cmp/grid/GridModel.ts +4 -3
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,27 +4,24 @@
|
|
|
4
4
|
|
|
5
5
|
### 🎁 New Features
|
|
6
6
|
|
|
7
|
-
*
|
|
8
|
-
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
*
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
* Fixes to framework components that bind to grids (e.g. `ColChooserButton`, `ColAutosizeButton`,
|
|
27
|
-
`GridFindField`) to rebind to a new observable GridModel available via context.
|
|
7
|
+
* Added new `GridModel.expandToLevel` config to control the expansion state of tree/grouped grids.
|
|
8
|
+
* Replaces the use of the `agOptions.groupDefaultExpanded` on the component.
|
|
9
|
+
* The most recently expanded level is persistable with other grid state.
|
|
10
|
+
* The default grid context menu now supports a new item to allow users to expand/collapse out to
|
|
11
|
+
a specific level/depth. Set `GridModel.levelLabels` to activate this feature.
|
|
12
|
+
* Added new `GroupingChooserModel.sortDimensions` config. Set to `false` to respect the order in
|
|
13
|
+
which `dimensions` are provided to the model.
|
|
14
|
+
|
|
15
|
+
### 🐞 Bug Fixes
|
|
16
|
+
|
|
17
|
+
* Fixed minor `DashCanvas` issues with `allowAdd: false`, ensuring it does not block additions made
|
|
18
|
+
via `loadState()` and hiding the `Add` context menu item in views as intended.
|
|
19
|
+
* Updated `DashCanvas` CSS to set `position: relative;`, ensuring that the empty state overlay is
|
|
20
|
+
positioned as intended and does not extend beyond the canvas.
|
|
21
|
+
* Improved the core `useContextModel` hook to make it reactive to a change of an (observable)
|
|
22
|
+
resolved model. Previously this value was cached on first render.
|
|
23
|
+
* Fixed framework components that bind to grids (e.g. `ColChooserButton`, `ColAutosizeButton`,
|
|
24
|
+
`GridFindField`), ensuring they automatically rebind to a new observable `GridModel` via context.
|
|
28
25
|
|
|
29
26
|
## v74.1.2 - 2025-07-03
|
|
30
27
|
|
|
@@ -140,9 +140,10 @@ export interface GridConfig {
|
|
|
140
140
|
*/
|
|
141
141
|
onCellContextMenu?: (e: CellContextMenuEvent) => void;
|
|
142
142
|
/**
|
|
143
|
-
* Array of
|
|
144
|
-
*
|
|
145
|
-
* options in the default context menu
|
|
143
|
+
* Array of strings (or a function returning one) providing user-facing labels for each depth
|
|
144
|
+
* level in a tree or grouped grid - e.g. `['Country', 'State', 'City']`. If set, the
|
|
145
|
+
* expand/collapse options in the default context menu will be enhanced to allow users to
|
|
146
|
+
* expand/collapse to a specific level.
|
|
146
147
|
*/
|
|
147
148
|
levelLabels?: Thunkable<string[]>;
|
|
148
149
|
/**
|
package/cmp/grid/GridModel.ts
CHANGED
|
@@ -280,9 +280,10 @@ export interface GridConfig {
|
|
|
280
280
|
onCellContextMenu?: (e: CellContextMenuEvent) => void;
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
|
-
* Array of
|
|
284
|
-
*
|
|
285
|
-
* options in the default context menu
|
|
283
|
+
* Array of strings (or a function returning one) providing user-facing labels for each depth
|
|
284
|
+
* level in a tree or grouped grid - e.g. `['Country', 'State', 'City']`. If set, the
|
|
285
|
+
* expand/collapse options in the default context menu will be enhanced to allow users to
|
|
286
|
+
* expand/collapse to a specific level.
|
|
286
287
|
*/
|
|
287
288
|
levelLabels?: Thunkable<string[]>;
|
|
288
289
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "75.0.0-SNAPSHOT.
|
|
3
|
+
"version": "75.0.0-SNAPSHOT.1752891558856",
|
|
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",
|