@xh/hoist 55.3.2 → 55.4.0

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
@@ -1,12 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## v55.4.0 - 2023-03-23
4
+
5
+ ### 🐞 Bug Fixes
6
+ * Addresses `AgGrid` v28 regression whereby changing column visibility via state throws an
7
+ exception and doesn't
8
+ render the grid when column groups are set via the `groupId` property.
9
+
10
+ ### 💥 Breaking Changes
11
+ * Hoist now requires `AgGrid` v29.1.0 or higher - update your `AgGrid` dependency in your app's
12
+ `package.json` file. See the [ag-Grid Changelog](https://www.ag-grid.com/changelog) for details.
13
+ * `AgGrid` stylesheets are now imported from the new `@ag-grid-community/styles` module. Update
14
+ your app's `Bootstrap.ts` file to import `ag-grid.css` and `ag-theme-balham.css` from this
15
+ module, and include it as a dependency in your app's `package.json` file.
16
+
17
+ ### ⚙️ Technical
18
+ * AgGrid `28.1.0 -> 29.1.0`
19
+
3
20
  ## v55.3.2 - 2023-03-22
4
21
 
5
22
  ### 🐞 Bug Fixes
6
23
  * Fix grid bug whereby LocalDate filter entered via FilterChooser was causing column filtering
7
24
  to fail.
8
25
 
9
-
10
26
  ## v55.3.1 - 2023-03-14
11
27
 
12
28
  ### 🐞 Bug Fixes
@@ -6,10 +6,8 @@
6
6
  */
7
7
 
8
8
  // Ag-grid installs an outer div around itself.
9
- // This should use height: auto rather than height: 100%, to allow layoutConfig to work.
10
9
  .xh-ag-grid > div {
11
10
  width: 100%;
12
- height: auto !important;
13
11
  }
14
12
 
15
13
  .xh-mobile {
package/cmp/grid/Grid.ts CHANGED
@@ -194,7 +194,6 @@ class GridLocalModel extends HoistModel {
194
194
  model: model.agGridModel,
195
195
  suppressColumnVirtualisation: !model.useVirtualColumns,
196
196
  getRowId: ({data}) => data.agId,
197
- rowDataChangeDetectionStrategy: 'IdentityCheck',
198
197
  defaultColDef: {
199
198
  sortable: true,
200
199
  resizable: true,
@@ -17,8 +17,8 @@ import {checkVersion} from '@xh/hoist/utils/js/VersionUtils';
17
17
  export let AgGridReact = null;
18
18
  export let agGridVersion = null;
19
19
 
20
- const MIN_VERSION = '28.1.0';
21
- const MAX_VERSION = '28.*.*';
20
+ const MIN_VERSION = '29.1.0';
21
+ const MAX_VERSION = '29.*.*';
22
22
 
23
23
  /**
24
24
  * Expose application versions of ag-Grid to Hoist.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "55.3.2",
3
+ "version": "55.4.0",
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",