Skip to content

Commit

Permalink
Release v3.5.2 (#1620)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumilingus authored Feb 9, 2022
1 parent 44bfafe commit bd169ee
Show file tree
Hide file tree
Showing 37 changed files with 73 additions and 63 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
09-02-2022 (v3.5.2)
* dia.LinkView - backwards compatible extensibility
* dia.attributes - fix `x` attribute for multiline text wrap when `calc()` in use

02-02-2022 (v3.5.1)
* dia.Paper - fix `mvc.View` import

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.5.1 (2022-02-02) - JavaScript diagramming library
/*! JointJS v3.5.2 (2022-02-09) - 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.

20 changes: 11 additions & 9 deletions dist/joint.core.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.5.1 (2022-02-02) - JavaScript diagramming library
/*! JointJS v3.5.2 (2022-02-09) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -12665,28 +12665,29 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
set: function(value, refBBox, node, attrs) {
// option `width`
var width = value.width || 0;
var size = {};
if (isPercentage(width)) {
refBBox.width *= parseFloat(width) / 100;
size.width = refBBox.width * parseFloat(width) / 100;
} else if (width <= 0) {
refBBox.width += width;
size.width = refBBox.width + width;
} else {
refBBox.width = width;
size.width = width;
}
// option `height`
var height = value.height || 0;
if (isPercentage(height)) {
refBBox.height *= parseFloat(height) / 100;
size.height = refBBox.height * parseFloat(height) / 100;
} else if (height <= 0) {
refBBox.height += height;
size.height = refBBox.height + height;
} else {
refBBox.height = height;
size.height = height;
}
// option `text`
var wrappedText;
var text = value.text;
if (text === undefined) { text = attrs.text; }
if (text !== undefined) {
wrappedText = breakText('' + text, refBBox, {
wrappedText = breakText('' + text, size, {
'font-weight': attrs['font-weight'] || attrs.fontWeight,
'font-size': attrs['font-size'] || attrs.fontSize,
'font-family': attrs['font-family'] || attrs.fontFamily,
Expand Down Expand Up @@ -24933,6 +24934,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
var ref = this;
var options = ref.options;
var _V = ref._V;
if (!_V) { return; }
var vLabels = _V.labels;
if (vLabels && options.labelsLayer) {
vLabels.remove();
Expand Down Expand Up @@ -31569,7 +31571,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Control: Control
});

var version = "3.5.1";
var version = "3.5.2";

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.5.1 (2022-02-02) - JavaScript diagramming library
/*! JointJS v3.5.2 (2022-02-09) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down
20 changes: 11 additions & 9 deletions dist/joint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.5.1 (2022-02-02) - JavaScript diagramming library
/*! JointJS v3.5.2 (2022-02-09) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -12806,28 +12806,29 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
set: function(value, refBBox, node, attrs) {
// option `width`
var width = value.width || 0;
var size = {};
if (isPercentage(width)) {
refBBox.width *= parseFloat(width) / 100;
size.width = refBBox.width * parseFloat(width) / 100;
} else if (width <= 0) {
refBBox.width += width;
size.width = refBBox.width + width;
} else {
refBBox.width = width;
size.width = width;
}
// option `height`
var height = value.height || 0;
if (isPercentage(height)) {
refBBox.height *= parseFloat(height) / 100;
size.height = refBBox.height * parseFloat(height) / 100;
} else if (height <= 0) {
refBBox.height += height;
size.height = refBBox.height + height;
} else {
refBBox.height = height;
size.height = height;
}
// option `text`
var wrappedText;
var text = value.text;
if (text === undefined) { text = attrs.text; }
if (text !== undefined) {
wrappedText = breakText('' + text, refBBox, {
wrappedText = breakText('' + text, size, {
'font-weight': attrs['font-weight'] || attrs.fontWeight,
'font-size': attrs['font-size'] || attrs.fontSize,
'font-family': attrs['font-family'] || attrs.fontFamily,
Expand Down Expand Up @@ -23032,6 +23033,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
var ref = this;
var options = ref.options;
var _V = ref._V;
if (!_V) { return; }
var vLabels = _V.labels;
if (vLabels && options.labelsLayer) {
vLabels.remove();
Expand Down Expand Up @@ -33145,7 +33147,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Control: Control
});

var version = "3.5.1";
var version = "3.5.2";

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.5.1 (2022-02-02) - JavaScript diagramming library
/*! JointJS v3.5.2 (2022-02-09) - 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.

20 changes: 11 additions & 9 deletions dist/joint.nowrap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.5.1 (2022-02-02) - JavaScript diagramming library
/*! JointJS v3.5.2 (2022-02-09) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -12803,28 +12803,29 @@ var joint = (function (exports, Backbone, _, $) {
set: function(value, refBBox, node, attrs) {
// option `width`
var width = value.width || 0;
var size = {};
if (isPercentage(width)) {
refBBox.width *= parseFloat(width) / 100;
size.width = refBBox.width * parseFloat(width) / 100;
} else if (width <= 0) {
refBBox.width += width;
size.width = refBBox.width + width;
} else {
refBBox.width = width;
size.width = width;
}
// option `height`
var height = value.height || 0;
if (isPercentage(height)) {
refBBox.height *= parseFloat(height) / 100;
size.height = refBBox.height * parseFloat(height) / 100;
} else if (height <= 0) {
refBBox.height += height;
size.height = refBBox.height + height;
} else {
refBBox.height = height;
size.height = height;
}
// option `text`
var wrappedText;
var text = value.text;
if (text === undefined) { text = attrs.text; }
if (text !== undefined) {
wrappedText = breakText('' + text, refBBox, {
wrappedText = breakText('' + text, size, {
'font-weight': attrs['font-weight'] || attrs.fontWeight,
'font-size': attrs['font-size'] || attrs.fontSize,
'font-family': attrs['font-family'] || attrs.fontFamily,
Expand Down Expand Up @@ -23029,6 +23030,7 @@ var joint = (function (exports, Backbone, _, $) {
var ref = this;
var options = ref.options;
var _V = ref._V;
if (!_V) { return; }
var vLabels = _V.labels;
if (vLabels && options.labelsLayer) {
vLabels.remove();
Expand Down Expand Up @@ -33142,7 +33144,7 @@ var joint = (function (exports, Backbone, _, $) {
Control: Control
});

var version = "3.5.1";
var version = "3.5.2";

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.5.1 (2022-02-02) - JavaScript diagramming library
/*! JointJS v3.5.2 (2022-02-09) - 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.5.1 (2022-02-02) - JavaScript diagramming library
/*! JointJS v3.5.2 (2022-02-09) - 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.5.1 (2022-02-02) - JavaScript diagramming library
/*! JointJS v3.5.2 (2022-02-09) - 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.5.1 (2022-02-02) - JavaScript diagramming library
/*! JointJS v3.5.2 (2022-02-09) - 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.5.1 (2022-02-02) - JavaScript diagramming library
/*! JointJS v3.5.2 (2022-02-09) - 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.5.1 (2022-02-02) - JavaScript diagramming library
/*! JointJS v3.5.2 (2022-02-09) - 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.5.1 (2022-02-02) - JavaScript diagramming library
/*! JointJS v3.5.2 (2022-02-09) - 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.5.1";
var version = "3.5.2";

export { version };
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint:fix": "npm run lint -- --fix"
},
"sideEffects": false,
"version": "3.5.1",
"version": "3.5.2",
"main": "dist/joint.min.js",
"module": "joint.mjs",
"style": "./dist/joint.min.css",
Expand Down

0 comments on commit bd169ee

Please sign in to comment.