Skip to content

Commit

Permalink
Release v3.7.1 (#2159)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumilingus authored Apr 28, 2023
1 parent 5f042a9 commit 8ae30b4
Show file tree
Hide file tree
Showing 37 changed files with 110 additions and 69 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
28-04-2023 (v3.7.1)

* bump jQuery to v3.6.4
* demo.ROI - fix zooming in Safari
* dia.CellView - return correct target under the pointer for pointer events
* dia.Cell - fix to prevent cell id undefined
* dia.attributes - prevent error when title is used on element with a text node

18-04-2023 (v3.7.0)

* demo.CustomEmbedding - add new demo to illustrate custom embedding functionality
Expand Down
2 changes: 1 addition & 1 deletion dist/geometry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.7.0 (2023-04-18) - JavaScript diagramming library
/*! JointJS v3.7.1 (2023-04-28) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/geometry.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joint.core.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 19 additions & 8 deletions dist/joint.core.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.7.0 (2023-04-18) - JavaScript diagramming library
/*! JointJS v3.7.1 (2023-04-28) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -15351,9 +15351,14 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
var cache = $node.data(cacheName);
if (cache === undefined || cache !== title) {
$node.data(cacheName, title);
if (node.tagName === 'title') {
// The target node is a <title> element.
node.textContent = title;
return;
}
// Generally <title> element should be the first child element of its parent.
var firstChild = node.firstChild;
if (firstChild && firstChild.tagName.toUpperCase() === 'TITLE') {
var firstChild = node.firstElementChild;
if (firstChild && firstChild.tagName === 'title') {
// Update an existing title
firstChild.textContent = title;
} else {
Expand Down Expand Up @@ -15740,7 +15745,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
initialize: function(options) {

var idAttribute = this.getIdAttribute();
if (!options || !(idAttribute in options)) {
if (!options || options[idAttribute] === undefined) {
this.set(idAttribute, this.generateId(), { silent: true });
}

Expand Down Expand Up @@ -20289,13 +20294,19 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
getEventTarget: function(evt, opt) {
if ( opt === void 0 ) opt = {};

// Touchmove/Touchend event's target is not reflecting the element under the coordinates as mousemove does.
// It holds the element when a touchstart triggered.
var target = evt.target;
var type = evt.type;
var clientX = evt.clientX; if ( clientX === void 0 ) clientX = 0;
var clientY = evt.clientY; if ( clientY === void 0 ) clientY = 0;
if (opt.fromPoint || type === 'touchmove' || type === 'touchend') {
if (
// Explicitly defined `fromPoint` option
opt.fromPoint ||
// Touchmove/Touchend event's target is not reflecting the element under the coordinates as mousemove does.
// It holds the element when a touchstart triggered.
type === 'touchmove' || type === 'touchend' ||
// Pointermove/Pointerup event with the pointer captured
('pointerId' in evt && target.hasPointerCapture(evt.pointerId))
) {
return document.elementFromPoint(clientX, clientY);
}

Expand Down Expand Up @@ -36588,7 +36599,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Control: Control
});

var version = "3.7.0";
var version = "3.7.1";

var Vectorizer = V;
var layout = { PortLabel: PortLabel, Port: Port };
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.core.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/joint.core.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/joint.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joint.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.7.0 (2023-04-18) - JavaScript diagramming library
/*! JointJS v3.7.1 (2023-04-28) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
27 changes: 19 additions & 8 deletions dist/joint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.7.0 (2023-04-18) - JavaScript diagramming library
/*! JointJS v3.7.1 (2023-04-28) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -15507,9 +15507,14 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
var cache = $node.data(cacheName);
if (cache === undefined || cache !== title) {
$node.data(cacheName, title);
if (node.tagName === 'title') {
// The target node is a <title> element.
node.textContent = title;
return;
}
// Generally <title> element should be the first child element of its parent.
var firstChild = node.firstChild;
if (firstChild && firstChild.tagName.toUpperCase() === 'TITLE') {
var firstChild = node.firstElementChild;
if (firstChild && firstChild.tagName === 'title') {
// Update an existing title
firstChild.textContent = title;
} else {
Expand Down Expand Up @@ -15896,7 +15901,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
initialize: function(options) {

var idAttribute = this.getIdAttribute();
if (!options || !(idAttribute in options)) {
if (!options || options[idAttribute] === undefined) {
this.set(idAttribute, this.generateId(), { silent: true });
}

Expand Down Expand Up @@ -22277,13 +22282,19 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
getEventTarget: function(evt, opt) {
if ( opt === void 0 ) opt = {};

// Touchmove/Touchend event's target is not reflecting the element under the coordinates as mousemove does.
// It holds the element when a touchstart triggered.
var target = evt.target;
var type = evt.type;
var clientX = evt.clientX; if ( clientX === void 0 ) clientX = 0;
var clientY = evt.clientY; if ( clientY === void 0 ) clientY = 0;
if (opt.fromPoint || type === 'touchmove' || type === 'touchend') {
if (
// Explicitly defined `fromPoint` option
opt.fromPoint ||
// Touchmove/Touchend event's target is not reflecting the element under the coordinates as mousemove does.
// It holds the element when a touchstart triggered.
type === 'touchmove' || type === 'touchend' ||
// Pointermove/Pointerup event with the pointer captured
('pointerId' in evt && target.hasPointerCapture(evt.pointerId))
) {
return document.elementFromPoint(clientX, clientY);
}

Expand Down Expand Up @@ -38172,7 +38183,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Control: Control
});

var version = "3.7.0";
var version = "3.7.1";

var Vectorizer = V;
var layout = { PortLabel: PortLabel, Port: Port };
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.layout.DirectedGraph.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.7.0 (2023-04-18) - JavaScript diagramming library
/*! JointJS v3.7.1 (2023-04-28) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.layout.DirectedGraph.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joint.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/joint.min.js

Large diffs are not rendered by default.

27 changes: 19 additions & 8 deletions dist/joint.nowrap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.7.0 (2023-04-18) - JavaScript diagramming library
/*! JointJS v3.7.1 (2023-04-28) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -15504,9 +15504,14 @@ var joint = (function (exports, Backbone, $) {
var cache = $node.data(cacheName);
if (cache === undefined || cache !== title) {
$node.data(cacheName, title);
if (node.tagName === 'title') {
// The target node is a <title> element.
node.textContent = title;
return;
}
// Generally <title> element should be the first child element of its parent.
var firstChild = node.firstChild;
if (firstChild && firstChild.tagName.toUpperCase() === 'TITLE') {
var firstChild = node.firstElementChild;
if (firstChild && firstChild.tagName === 'title') {
// Update an existing title
firstChild.textContent = title;
} else {
Expand Down Expand Up @@ -15893,7 +15898,7 @@ var joint = (function (exports, Backbone, $) {
initialize: function(options) {

var idAttribute = this.getIdAttribute();
if (!options || !(idAttribute in options)) {
if (!options || options[idAttribute] === undefined) {
this.set(idAttribute, this.generateId(), { silent: true });
}

Expand Down Expand Up @@ -22274,13 +22279,19 @@ var joint = (function (exports, Backbone, $) {
getEventTarget: function(evt, opt) {
if ( opt === void 0 ) opt = {};

// Touchmove/Touchend event's target is not reflecting the element under the coordinates as mousemove does.
// It holds the element when a touchstart triggered.
var target = evt.target;
var type = evt.type;
var clientX = evt.clientX; if ( clientX === void 0 ) clientX = 0;
var clientY = evt.clientY; if ( clientY === void 0 ) clientY = 0;
if (opt.fromPoint || type === 'touchmove' || type === 'touchend') {
if (
// Explicitly defined `fromPoint` option
opt.fromPoint ||
// Touchmove/Touchend event's target is not reflecting the element under the coordinates as mousemove does.
// It holds the element when a touchstart triggered.
type === 'touchmove' || type === 'touchend' ||
// Pointermove/Pointerup event with the pointer captured
('pointerId' in evt && target.hasPointerCapture(evt.pointerId))
) {
return document.elementFromPoint(clientX, clientY);
}

Expand Down Expand Up @@ -38169,7 +38180,7 @@ var joint = (function (exports, Backbone, $) {
Control: Control
});

var version = "3.7.0";
var version = "3.7.1";

var Vectorizer = V;
var layout = { PortLabel: PortLabel, Port: Port };
Expand Down
4 changes: 2 additions & 2 deletions dist/joint.nowrap.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/joint.shapes.chess.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joint.shapes.chess.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joint.shapes.devs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.7.0 (2023-04-18) - JavaScript diagramming library
/*! JointJS v3.7.1 (2023-04-28) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.shapes.devs.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joint.shapes.erd.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.7.0 (2023-04-18) - JavaScript diagramming library
/*! JointJS v3.7.1 (2023-04-28) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.shapes.erd.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joint.shapes.fsa.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.7.0 (2023-04-18) - JavaScript diagramming library
/*! JointJS v3.7.1 (2023-04-28) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.shapes.fsa.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joint.shapes.logic.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joint.shapes.logic.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joint.shapes.org.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.7.0 (2023-04-18) - JavaScript diagramming library
/*! JointJS v3.7.1 (2023-04-28) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.shapes.org.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joint.shapes.pn.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.7.0 (2023-04-18) - JavaScript diagramming library
/*! JointJS v3.7.1 (2023-04-28) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.shapes.pn.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/joint.shapes.uml.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.7.0 (2023-04-18) - JavaScript diagramming library
/*! JointJS v3.7.1 (2023-04-28) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/joint.shapes.uml.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vectorizer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.7.0 (2023-04-18) - JavaScript diagramming library
/*! JointJS v3.7.1 (2023-04-28) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
2 changes: 1 addition & 1 deletion dist/vectorizer.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/version.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
var version = "3.7.0";
var version = "3.7.1";

export { version };
Loading

0 comments on commit 8ae30b4

Please sign in to comment.