@hpcc-js/timeline 3.4.2 → 3.4.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/timeline",
3
- "version": "3.4.2",
3
+ "version": "3.4.5",
4
4
  "description": "hpcc-js - Viz Timeline",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.cjs",
@@ -37,15 +37,15 @@
37
37
  "update-major": "npx --yes npm-check-updates -u"
38
38
  },
39
39
  "dependencies": {
40
- "@hpcc-js/api": "^3.4.13",
41
- "@hpcc-js/chart": "^3.7.2",
42
- "@hpcc-js/common": "^3.7.3",
43
- "@hpcc-js/html": "^3.3.13",
44
- "@hpcc-js/layout": "^3.5.8",
45
- "@hpcc-js/react": "^3.4.13"
40
+ "@hpcc-js/api": "^3.4.16",
41
+ "@hpcc-js/chart": "^3.7.5",
42
+ "@hpcc-js/common": "^3.7.6",
43
+ "@hpcc-js/html": "^3.3.16",
44
+ "@hpcc-js/layout": "^3.5.11",
45
+ "@hpcc-js/react": "^3.4.16"
46
46
  },
47
47
  "devDependencies": {
48
- "@hpcc-js/esbuild-plugins": "^1.8.5",
48
+ "@hpcc-js/esbuild-plugins": "^1.8.7",
49
49
  "d3-array": "^1",
50
50
  "d3-scale": "^1",
51
51
  "d3-selection": "^1",
@@ -63,5 +63,5 @@
63
63
  "url": "https://github.com/hpcc-systems/Visualization/issues"
64
64
  },
65
65
  "homepage": "https://github.com/hpcc-systems/Visualization",
66
- "gitHead": "eab3a48367063ed368bdd82c05de6a822ee308aa"
66
+ "gitHead": "6f134126379fe058a052986758b792d7b4ddb84b"
67
67
  }
package/src/ReactGantt.ts CHANGED
@@ -654,7 +654,7 @@ export class ReactGantt extends SVGZoomWidget {
654
654
  if (this.fitWidthToContent() || this.fitHeightToContent()) {
655
655
  retVal = super.resize.call(this, {
656
656
  width: _size.width,
657
- height: this._maxY
657
+ height: Math.max(this._maxY ?? 0, _size?.height ?? 0)
658
658
  });
659
659
  } else {
660
660
  retVal = super.resize.apply(this, arguments);