camunda-bpmn-js 5.0.0 → 5.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.
@@ -1652,7 +1652,7 @@
1652
1652
  * @return {string}
1653
1653
  */
1654
1654
  function componentsToPath(elements) {
1655
- return elements.flat().join(',').replace(/,?([A-z]),?/g, '$1');
1655
+ return elements.flat().join(',').replace(/,?([A-Za-z]),?/g, '$1');
1656
1656
  }
1657
1657
 
1658
1658
  /**
@@ -23373,7 +23373,7 @@
23373
23373
  * `keyboard.bind=true|false` configuration option.
23374
23374
  *
23375
23375
  * @param {Object} config
23376
- * @param {EventTarget} [config.bindTo]
23376
+ * @param {boolean} [config.bind]
23377
23377
  * @param {EventBus} eventBus
23378
23378
  */
23379
23379
  function Keyboard(config, eventBus) {
@@ -23449,10 +23449,17 @@
23449
23449
  /**
23450
23450
  * Bind keyboard events to the given DOM node.
23451
23451
  *
23452
+ * @overlord
23453
+ * @deprecated No longer in use since version 15.0.0.
23454
+ *
23452
23455
  * @param {EventTarget} node
23453
23456
  */
23457
+ /**
23458
+ * Bind keyboard events to the canvas node.
23459
+ */
23454
23460
  Keyboard.prototype.bind = function(node) {
23455
23461
 
23462
+ // legacy <node> argument provided
23456
23463
  if (node) {
23457
23464
  console.error('unsupported argument <node>', new Error(compatMessage));
23458
23465
  }