@joint/core 4.2.0-beta.2 → 4.2.0-beta.3

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.
@@ -1,4 +1,4 @@
1
- /*! JointJS v4.2.0-beta.2 (2025-11-04) - JavaScript diagramming library
1
+ /*! JointJS v4.2.0-beta.3 (2025-11-04) - JavaScript diagramming library
2
2
 
3
3
  This Source Code Form is subject to the terms of the Mozilla Public
4
4
  License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -1,4 +1,4 @@
1
- /*! JointJS v4.2.0-beta.2 (2025-11-04) - JavaScript diagramming library
1
+ /*! JointJS v4.2.0-beta.3 (2025-11-04) - JavaScript diagramming library
2
2
 
3
3
  This Source Code Form is subject to the terms of the Mozilla Public
4
4
  License, v. 2.0. If a copy of the MPL was not distributed with this
package/dist/version.mjs CHANGED
@@ -1,3 +1,3 @@
1
- var version = "4.2.0-beta.2";
1
+ var version = "4.2.0-beta.3";
2
2
 
3
3
  export { version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@joint/core",
3
3
  "title": "JointJS",
4
- "version": "4.2.0-beta.2",
4
+ "version": "4.2.0-beta.3",
5
5
  "description": "JavaScript diagramming library",
6
6
  "sideEffects": false,
7
7
  "main": "./dist/joint.min.js",
@@ -28,7 +28,8 @@ export const LayerView = View.extend({
28
28
  },
29
29
 
30
30
  unsetPaperReference: function() {
31
- this.beforePaperReferenceUnset();
31
+ if (!this.paper) return;
32
+ this.beforePaperReferenceUnset(this.paper);
32
33
  this.paper = null;
33
34
  },
34
35
 
package/types/joint.d.ts CHANGED
@@ -1825,6 +1825,7 @@ export namespace dia {
1825
1825
  'link:snap:disconnect': (linkView: dia.LinkView, evt: dia.Event, prevCellView: dia.CellView, prevCellViewMagnet: SVGElement, arrowhead: dia.LinkEnd) => void;
1826
1826
  // render
1827
1827
  'render:done': (stats: UpdateStats, opt: any) => void;
1828
+ 'render:idle': (opt: Paper.UpdateViewsAsyncOptions) => void;
1828
1829
  // transformations
1829
1830
  'translate': (tx: number, ty: number, data: unknown) => void;
1830
1831
  'scale': (sx: number, sy: number, data: unknown) => void;