camunda-bpmn-js 3.1.1 → 3.2.0

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.
@@ -10291,9 +10291,9 @@
10291
10291
 
10292
10292
  const viewport = this._viewport = createGroup(svg, 'viewport');
10293
10293
 
10294
- // debounce canvas.viewbox.changed events
10295
- // for smoother diagram interaction
10296
- if (config.deferUpdate !== false) {
10294
+ // debounce canvas.viewbox.changed events when deferUpdate is set
10295
+ // to help with potential performance issues
10296
+ if (config.deferUpdate) {
10297
10297
  this._viewboxChanged = debounce(bind$2(this._viewboxChanged, this), 300);
10298
10298
  }
10299
10299
 
@@ -11317,6 +11317,11 @@
11317
11317
  this.setRootElement(rootElement);
11318
11318
  }
11319
11319
 
11320
+ // element is rootElement, do not change viewport
11321
+ if (rootElement === element) {
11322
+ return;
11323
+ }
11324
+
11320
11325
  if (!padding) {
11321
11326
  padding = {};
11322
11327
  }
@@ -23265,6 +23270,12 @@
23265
23270
  name: "propagateAllChildVariables",
23266
23271
  isAttr: true,
23267
23272
  type: "Boolean"
23273
+ },
23274
+ {
23275
+ name: "propagateAllParentVariables",
23276
+ isAttr: true,
23277
+ type: "Boolean",
23278
+ "default": true
23268
23279
  }
23269
23280
  ]
23270
23281
  },
@@ -23306,6 +23317,11 @@
23306
23317
  name: "formKey",
23307
23318
  type: "String",
23308
23319
  isAttr: true
23320
+ },
23321
+ {
23322
+ name: "formId",
23323
+ type: "String",
23324
+ isAttr: true
23309
23325
  }
23310
23326
  ]
23311
23327
  },