camunda-bpmn-js 5.1.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.
@@ -1663,7 +1663,7 @@
1663
1663
  * @return {string}
1664
1664
  */
1665
1665
  function componentsToPath(elements) {
1666
- return elements.flat().join(',').replace(/,?([A-z]),?/g, '$1');
1666
+ return elements.flat().join(',').replace(/,?([A-Za-z]),?/g, '$1');
1667
1667
  }
1668
1668
 
1669
1669
  /**
@@ -23384,7 +23384,7 @@
23384
23384
  * `keyboard.bind=true|false` configuration option.
23385
23385
  *
23386
23386
  * @param {Object} config
23387
- * @param {EventTarget} [config.bindTo]
23387
+ * @param {boolean} [config.bind]
23388
23388
  * @param {EventBus} eventBus
23389
23389
  */
23390
23390
  function Keyboard(config, eventBus) {
@@ -23460,10 +23460,17 @@
23460
23460
  /**
23461
23461
  * Bind keyboard events to the given DOM node.
23462
23462
  *
23463
+ * @overlord
23464
+ * @deprecated No longer in use since version 15.0.0.
23465
+ *
23463
23466
  * @param {EventTarget} node
23464
23467
  */
23468
+ /**
23469
+ * Bind keyboard events to the canvas node.
23470
+ */
23465
23471
  Keyboard.prototype.bind = function(node) {
23466
23472
 
23473
+ // legacy <node> argument provided
23467
23474
  if (node) {
23468
23475
  console.error('unsupported argument <node>', new Error(compatMessage));
23469
23476
  }