northdata-viz 1.251.10 → 1.253.10

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": "northdata-viz",
3
- "version": "1.251.10",
3
+ "version": "1.253.10",
4
4
  "description": "North Data Widget API",
5
5
  "main": "viz.min.js",
6
6
  "module": "viz.esm.js",
package/viz.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! northdata-viz V1.251.10 */
1
+ /*! northdata-viz V1.253.10 */
2
2
  /******/ var __webpack_modules__ = ({
3
3
 
4
4
  /***/ 100:
@@ -463,8 +463,8 @@ module.exports = debounce;
463
463
  /************************************************************************/
464
464
 
465
465
  ;// ./src/ts/env.ts
466
- var VERSION = "1.251.10";
467
- var VERSION_PREFIX = (/* unused pure expression or super */ null && ("/ui/v1-251-10"));
466
+ var VERSION = "1.253.10";
467
+ var VERSION_PREFIX = (/* unused pure expression or super */ null && ("/ui/v1-253-10"));
468
468
 
469
469
  ;// ./src/ts/util/params.ts
470
470
  function clone(object) {
@@ -7377,6 +7377,11 @@ var graph = function (widget, data) {
7377
7377
  var container = widget.container;
7378
7378
  if (data.html) {
7379
7379
  container.innerHTML = data.html;
7380
+ if (!data.legendHtml) {
7381
+ src_select(container)
7382
+ .selectAll("foreignObject:has(> .button.extended-legend)")
7383
+ .remove();
7384
+ }
7380
7385
  syncTextBackground(src_select(container).selectAll(".link"), ".desc", ".desc-bg", 3, 3, 1000);
7381
7386
  enrichNodes(widget, src_select(container).select("svg"), false);
7382
7387
  return { draw: function () { } };