bpmn-js 10.2.1 → 11.0.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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * bpmn-js - bpmn-viewer v10.2.1
2
+ * bpmn-js - bpmn-viewer v11.0.0
3
3
  *
4
4
  * Copyright (c) 2014-present, camunda Services GmbH
5
5
  *
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * Source Code: https://github.com/bpmn-io/bpmn-js
10
10
  *
11
- * Date: 2022-10-17
11
+ * Date: 2022-11-24
12
12
  */
13
13
  (function (global, factory) {
14
14
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -9252,7 +9252,7 @@
9252
9252
  // this way we can always get the correct container size
9253
9253
  // (this is impossible for <svg> elements at the moment)
9254
9254
  const parent = document.createElement('div');
9255
- parent.setAttribute('class', 'djs-container');
9255
+ parent.setAttribute('class', 'djs-container djs-parent');
9256
9256
 
9257
9257
  assign(parent, {
9258
9258
  position: 'relative',
@@ -10673,7 +10673,7 @@
10673
10673
  /**
10674
10674
  * Removes an element from the registry.
10675
10675
  *
10676
- * @param {djs.model.Base} element
10676
+ * @param {string|djs.model.Base} element
10677
10677
  */
10678
10678
  ElementRegistry.prototype.remove = function(element) {
10679
10679
  var elements = this._elements,
@@ -10696,7 +10696,7 @@
10696
10696
  /**
10697
10697
  * Update the id of an element
10698
10698
  *
10699
- * @param {djs.model.Base} element
10699
+ * @param {string|djs.model.Base} element
10700
10700
  * @param {string} newId
10701
10701
  */
10702
10702
  ElementRegistry.prototype.updateId = function(element, newId) {
@@ -10725,7 +10725,7 @@
10725
10725
  /**
10726
10726
  * Update the graphics of an element
10727
10727
  *
10728
- * @param {djs.model.Base} element
10728
+ * @param {string|djs.model.Base} element
10729
10729
  * @param {SVGElement} gfx
10730
10730
  * @param {boolean} [secondary=false] whether to update the secondary connected element
10731
10731
  */