Skip to content

Commit

Permalink
Release v3.6.2 (#1852)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumilingus authored Oct 21, 2022
1 parent e0636ed commit c627dcd
Show file tree
Hide file tree
Showing 37 changed files with 17,643 additions and 91 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
20-10-2022 (v3.6.2)

* dia.Cell: fix `isEmbeddedIn()` with `deep` option set to `false`
* util.svg: support embedded expressions
* util.svg: prevent `className` set to `null`

14-10-2022 (v3.6.1)

* util.breakText: prevent infinite loop when using `preserveSpaces`
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.6.1 (2022-10-14) - JavaScript diagramming library
/*! JointJS v3.6.2 (2022-10-21) - 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.

22 changes: 17 additions & 5 deletions dist/joint.core.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.6.1 (2022-10-14) - JavaScript diagramming library
/*! JointJS v3.6.2 (2022-10-21) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -13610,7 +13610,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
var cellId = isString(cell) ? cell : cell.id;
var parentId = this.parent();

opt = defaults({ deep: true }, opt);
opt = assign({ deep: true }, opt);

// See getEmbeddedCells().
if (this.graph && opt.deep) {
Expand Down Expand Up @@ -14120,7 +14120,17 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
};

function svg(strings) {
var markup = parseFromSVGString(strings[0]);
var expressions = [], len = arguments.length - 1;
while ( len-- > 0 ) expressions[ len ] = arguments[ len + 1 ];

var svgParts = [];
strings.forEach(function (part, index) {
svgParts.push(part);
if (index in expressions) {
svgParts.push(expressions[index]);
}
});
var markup = parseFromSVGString(svgParts.join(''));
return markup;
}

Expand Down Expand Up @@ -14173,7 +14183,9 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
}

var className = attributes.getNamedItem('class');
markupNode.className = (className ? className.value : null);
if (className) {
markupNode.className = className.value;
}

if (textContent) {
markupNode.textContent = textContent;
Expand Down Expand Up @@ -32724,7 +32736,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Control: Control
});

var version = "3.6.1";
var version = "3.6.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.

4 changes: 2 additions & 2 deletions dist/joint.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.6.1 (2022-10-14) - JavaScript diagramming library
/*! JointJS v3.6.2 (2022-10-21) - JavaScript diagramming library
This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -4009,7 +4009,7 @@ export namespace util {

export function uuid(): string;

export function svg(strings: TemplateStringsArray): dia.MarkupJSON;
export function svg(strings: TemplateStringsArray, ...expressions: any): dia.MarkupJSON;

export function guid(obj?: { [key: string]: any }): string;

Expand Down
22 changes: 17 additions & 5 deletions dist/joint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.6.1 (2022-10-14) - JavaScript diagramming library
/*! JointJS v3.6.2 (2022-10-21) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -13754,7 +13754,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
var cellId = isString(cell) ? cell : cell.id;
var parentId = this.parent();

opt = defaults({ deep: true }, opt);
opt = assign({ deep: true }, opt);

// See getEmbeddedCells().
if (this.graph && opt.deep) {
Expand Down Expand Up @@ -14264,7 +14264,17 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
};

function svg(strings) {
var markup = parseFromSVGString(strings[0]);
var expressions = [], len = arguments.length - 1;
while ( len-- > 0 ) expressions[ len ] = arguments[ len + 1 ];

var svgParts = [];
strings.forEach(function (part, index) {
svgParts.push(part);
if (index in expressions) {
svgParts.push(expressions[index]);
}
});
var markup = parseFromSVGString(svgParts.join(''));
return markup;
}

Expand Down Expand Up @@ -14317,7 +14327,9 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
}

var className = attributes.getNamedItem('class');
markupNode.className = (className ? className.value : null);
if (className) {
markupNode.className = className.value;
}

if (textContent) {
markupNode.textContent = textContent;
Expand Down Expand Up @@ -34296,7 +34308,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Control: Control
});

var version = "3.6.1";
var version = "3.6.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.6.1 (2022-10-14) - JavaScript diagramming library
/*! JointJS v3.6.2 (2022-10-21) - 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.

22 changes: 17 additions & 5 deletions dist/joint.nowrap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! JointJS v3.6.1 (2022-10-14) - JavaScript diagramming library
/*! JointJS v3.6.2 (2022-10-21) - JavaScript diagramming library


This Source Code Form is subject to the terms of the Mozilla Public
Expand Down Expand Up @@ -13751,7 +13751,7 @@ var joint = (function (exports, Backbone, _, $) {
var cellId = isString(cell) ? cell : cell.id;
var parentId = this.parent();

opt = defaults({ deep: true }, opt);
opt = assign({ deep: true }, opt);

// See getEmbeddedCells().
if (this.graph && opt.deep) {
Expand Down Expand Up @@ -14261,7 +14261,17 @@ var joint = (function (exports, Backbone, _, $) {
};

function svg(strings) {
var markup = parseFromSVGString(strings[0]);
var expressions = [], len = arguments.length - 1;
while ( len-- > 0 ) expressions[ len ] = arguments[ len + 1 ];

var svgParts = [];
strings.forEach(function (part, index) {
svgParts.push(part);
if (index in expressions) {
svgParts.push(expressions[index]);
}
});
var markup = parseFromSVGString(svgParts.join(''));
return markup;
}

Expand Down Expand Up @@ -14314,7 +14324,9 @@ var joint = (function (exports, Backbone, _, $) {
}

var className = attributes.getNamedItem('class');
markupNode.className = (className ? className.value : null);
if (className) {
markupNode.className = className.value;
}

if (textContent) {
markupNode.textContent = textContent;
Expand Down Expand Up @@ -34293,7 +34305,7 @@ var joint = (function (exports, Backbone, _, $) {
Control: Control
});

var version = "3.6.1";
var version = "3.6.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.6.1 (2022-10-14) - JavaScript diagramming library
/*! JointJS v3.6.2 (2022-10-21) - 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.6.1 (2022-10-14) - JavaScript diagramming library
/*! JointJS v3.6.2 (2022-10-21) - 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.6.1 (2022-10-14) - JavaScript diagramming library
/*! JointJS v3.6.2 (2022-10-21) - 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.6.1 (2022-10-14) - JavaScript diagramming library
/*! JointJS v3.6.2 (2022-10-21) - 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.6.1 (2022-10-14) - JavaScript diagramming library
/*! JointJS v3.6.2 (2022-10-21) - 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.6.1 (2022-10-14) - JavaScript diagramming library
/*! JointJS v3.6.2 (2022-10-21) - 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.6.1 (2022-10-14) - JavaScript diagramming library
/*! JointJS v3.6.2 (2022-10-21) - 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.6.1";
var version = "3.6.2";

export { version };
Loading

0 comments on commit c627dcd

Please sign in to comment.