bpmn-js 18.4.0 → 18.5.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.
@@ -485,6 +485,16 @@ ContextPadProvider.prototype.getContextPadEntries = function(element) {
485
485
  });
486
486
  }
487
487
 
488
+ if (is(businessObject, 'bpmn:MessageFlow')) {
489
+ assign(actions, {
490
+ 'append.text-annotation': appendAction(
491
+ 'bpmn:TextAnnotation',
492
+ 'bpmn-icon-text-annotation',
493
+ translate('Add text annotation')
494
+ )
495
+ });
496
+ }
497
+
488
498
  if (
489
499
  isAny(businessObject, [
490
500
  'bpmn:FlowNode',
@@ -430,12 +430,11 @@ export default function BpmnTreeWalker(handler) {
430
430
 
431
431
  forEach(collaboration.participants, contextual(handleParticipant, context));
432
432
 
433
- handleArtifacts(collaboration.artifacts, context);
434
-
435
- // handle message flows latest in the process
436
433
  deferred.push(function() {
437
434
  handleMessageFlows(collaboration.messageFlows, context);
438
435
  });
436
+
437
+ handleArtifacts(collaboration.artifacts, context);
439
438
  }
440
439
 
441
440
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpmn-js",
3
- "version": "18.4.0",
3
+ "version": "18.5.0",
4
4
  "description": "A bpmn 2.0 toolkit and web modeler",
5
5
  "main": "lib/index.js",
6
6
  "files": [