bpmn-js 18.0.0 → 18.1.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-navigated-viewer v18.0.0
2
+ * bpmn-js - bpmn-navigated-viewer v18.1.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: 2024-11-06
11
+ * Date: 2024-11-20
12
12
  */
13
13
  (function (global, factory) {
14
14
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -1664,7 +1664,7 @@
1664
1664
  * @return {string}
1665
1665
  */
1666
1666
  function componentsToPath(elements) {
1667
- return elements.flat().join(',').replace(/,?([A-z]),?/g, '$1');
1667
+ return elements.flat().join(',').replace(/,?([A-Za-z]),?/g, '$1');
1668
1668
  }
1669
1669
 
1670
1670
  /**
@@ -23385,7 +23385,7 @@
23385
23385
  * `keyboard.bind=true|false` configuration option.
23386
23386
  *
23387
23387
  * @param {Object} config
23388
- * @param {EventTarget} [config.bindTo]
23388
+ * @param {boolean} [config.bind]
23389
23389
  * @param {EventBus} eventBus
23390
23390
  */
23391
23391
  function Keyboard(config, eventBus) {
@@ -23461,10 +23461,17 @@
23461
23461
  /**
23462
23462
  * Bind keyboard events to the given DOM node.
23463
23463
  *
23464
+ * @overlord
23465
+ * @deprecated No longer in use since version 15.0.0.
23466
+ *
23464
23467
  * @param {EventTarget} node
23465
23468
  */
23469
+ /**
23470
+ * Bind keyboard events to the canvas node.
23471
+ */
23466
23472
  Keyboard.prototype.bind = function(node) {
23467
23473
 
23474
+ // legacy <node> argument provided
23468
23475
  if (node) {
23469
23476
  console.error('unsupported argument <node>', new Error(compatMessage));
23470
23477
  }