bpmn-js 6.0.0 → 6.0.4

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.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,24 @@ All notable changes to [bpmn-js](https://github.com/bpmn-io/bpmn-js) are documen
6
6
 
7
7
  ___Note:__ Yet to be released changes appear here._
8
8
 
9
+ ## 6.0.4
10
+
11
+ * `FIX`: correctly fix hover on cleanup ([#1247](https://github.com/bpmn-io/bpmn-js/pull/1247))
12
+
13
+ ## 6.0.3
14
+
15
+ * `FIX`: render colored BPMN groups ([#1246](https://github.com/bpmn-io/bpmn-js/pull/1246))
16
+
17
+ ## 6.0.2
18
+
19
+ * `CHORE`: bump `diagram-js-direct-editing` dependency
20
+
21
+ ## 6.0.1
22
+
23
+ * `CHORE`: bump to `diagram-js@6.0.1`
24
+
25
+ ## 6.0.0
26
+
9
27
  BREAKING CHANGES:
10
28
 
11
29
  Connecting and re-connecting shapes got reworked via [#427](https://github.com/bpmn-io/bpmn-js/pull/1230):
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * bpmn-js - bpmn-modeler v6.0.0
2
+ * bpmn-js - bpmn-modeler v6.0.4
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: 2019-11-21
11
+ * Date: 2019-11-25
12
12
  */
13
13
  (function (global, factory) {
14
14
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -15540,6 +15540,7 @@
15540
15540
  'bpmn:Group': function(parentGfx, element) {
15541
15541
 
15542
15542
  var group = drawRect(parentGfx, element.width, element.height, TASK_BORDER_RADIUS, {
15543
+ stroke: getStrokeColor(element, defaultStrokeColor),
15543
15544
  strokeWidth: 1,
15544
15545
  strokeDasharray: '8,3,1,3',
15545
15546
  fill: 'none',
@@ -28163,11 +28164,6 @@
28163
28164
  }
28164
28165
  }
28165
28166
 
28166
- // do NOT reconnect if both source and target haven't changed
28167
- if (source === connection.source && target === connection.target) {
28168
- return;
28169
- }
28170
-
28171
28167
  modeling.reconnect(connection, source, target, docking, hints);
28172
28168
  }
28173
28169
  }, this);
@@ -39067,7 +39063,13 @@
39067
39063
 
39068
39064
  eventBus.on([
39069
39065
  'connect.hover',
39070
- 'global-connect.hover'
39066
+ 'connect.out',
39067
+ 'connect.end',
39068
+ 'connect.cleanup',
39069
+ 'global-connect.hover',
39070
+ 'global-connect.out',
39071
+ 'global-connect.end',
39072
+ 'global-connect.cleanup'
39071
39073
  ], HIGH_PRIORITY$6, function(event) {
39072
39074
  var hover = event.hover;
39073
39075