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.
@@ -984,7 +984,7 @@
984
984
  background: var(--search-result-hover-background-color);
985
985
  }
986
986
 
987
- .djs-element.djs-search-preselected .djs-outline {
987
+ .djs-search-open .djs-element .djs-outline {
988
988
  fill: var(--search-preselected-background-color) !important;
989
989
  }
990
990
 
@@ -2755,7 +2755,7 @@
2755
2755
  * @return {string}
2756
2756
  */
2757
2757
  function componentsToPath(elements) {
2758
- return elements.flat().join(',').replace(/,?([A-z]),?/g, '$1');
2758
+ return elements.flat().join(',').replace(/,?([A-Za-z]),?/g, '$1');
2759
2759
  }
2760
2760
 
2761
2761
  /**
@@ -25387,7 +25387,7 @@
25387
25387
  * `keyboard.bind=true|false` configuration option.
25388
25388
  *
25389
25389
  * @param {Object} config
25390
- * @param {EventTarget} [config.bindTo]
25390
+ * @param {boolean} [config.bind]
25391
25391
  * @param {EventBus} eventBus
25392
25392
  */
25393
25393
  function Keyboard(config, eventBus) {
@@ -25463,10 +25463,17 @@
25463
25463
  /**
25464
25464
  * Bind keyboard events to the given DOM node.
25465
25465
  *
25466
+ * @overlord
25467
+ * @deprecated No longer in use since version 15.0.0.
25468
+ *
25466
25469
  * @param {EventTarget} node
25467
25470
  */
25471
+ /**
25472
+ * Bind keyboard events to the canvas node.
25473
+ */
25468
25474
  Keyboard.prototype.bind = function(node) {
25469
25475
 
25476
+ // legacy <node> argument provided
25470
25477
  if (node) {
25471
25478
  console.error('unsupported argument <node>', new Error(compatMessage));
25472
25479
  }
@@ -102965,7 +102972,7 @@
102965
102972
  this._tooltipConfig = tooltipConfig;
102966
102973
  this._feelPopupContainer = feelPopupContainer;
102967
102974
  this._getFeelPopupLinks = getFeelPopupLinks;
102968
- this._container = domify$1('<div style="height: 100%" class="bio-properties-panel-container"></div>');
102975
+ this._container = domify$1('<div style="height: 100%" tabindex="-1" class="bio-properties-panel-container"></div>');
102969
102976
  var commandStack = injector.get('commandStack', false);
102970
102977
  commandStack && setupKeyboard(this._container, eventBus, commandStack);
102971
102978
  eventBus.on('diagram.init', () => {