bpmn-js 9.3.0 → 9.4.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.
Files changed (49) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/dist/assets/bpmn-js.css +4 -5
  3. package/dist/bpmn-modeler.development.js +3416 -3163
  4. package/dist/bpmn-modeler.production.min.js +8 -8
  5. package/dist/bpmn-navigated-viewer.development.js +357 -283
  6. package/dist/bpmn-navigated-viewer.production.min.js +6 -6
  7. package/dist/bpmn-viewer.development.js +323 -269
  8. package/dist/bpmn-viewer.production.min.js +6 -6
  9. package/lib/draw/BpmnRenderUtil.js +25 -25
  10. package/lib/draw/BpmnRenderer.js +4 -4
  11. package/lib/draw/PathMap.js +42 -42
  12. package/lib/features/align-elements/index.js +1 -1
  13. package/lib/features/copy-paste/BpmnCopyPaste.js +75 -69
  14. package/lib/features/copy-paste/ModdleCopy.js +26 -13
  15. package/lib/features/drilldown/DrilldownOverlayBehavior.js +2 -2
  16. package/lib/features/drilldown/SubprocessCompatibility.js +1 -1
  17. package/lib/features/drilldown/index.js +1 -1
  18. package/lib/features/grid-snapping/behavior/{AutoPlaceBehavior.js → GridSnappingAutoPlaceBehavior.js} +2 -2
  19. package/lib/features/grid-snapping/behavior/{LayoutConnectionBehavior.js → GridSnappingLayoutConnectionBehavior.js} +4 -4
  20. package/lib/features/grid-snapping/behavior/{CreateParticipantBehavior.js → GridSnappingParticipantBehavior.js} +2 -2
  21. package/lib/features/grid-snapping/behavior/index.js +7 -7
  22. package/lib/features/keyboard/BpmnKeyboardBindings.js +7 -7
  23. package/lib/features/label-editing/LabelEditingProvider.js +1 -23
  24. package/lib/features/modeling/ElementFactory.js +18 -8
  25. package/lib/features/modeling/behavior/BoundaryEventBehavior.js +1 -16
  26. package/lib/features/modeling/behavior/DropOnFlowBehavior.js +1 -1
  27. package/lib/features/modeling/behavior/GroupBehavior.js +205 -93
  28. package/lib/features/modeling/behavior/ReplaceElementBehaviour.js +8 -4
  29. package/lib/features/modeling/behavior/ResizeBehavior.js +2 -0
  30. package/lib/features/modeling/behavior/RootElementReferenceBehavior.js +7 -8
  31. package/lib/features/modeling/behavior/SpaceToolBehavior.js +5 -0
  32. package/lib/features/modeling/behavior/SubProcessPlaneBehavior.js +9 -0
  33. package/lib/features/modeling/behavior/index.js +1 -1
  34. package/lib/features/modeling/behavior/util/CategoryUtil.js +66 -13
  35. package/lib/features/modeling/behavior/util/LayoutUtil.js +6 -6
  36. package/lib/features/modeling/cmd/UpdateModdlePropertiesHandler.js +4 -1
  37. package/lib/features/ordering/BpmnOrderingProvider.js +3 -1
  38. package/lib/features/replace/BpmnReplace.js +12 -0
  39. package/lib/features/search/index.js +1 -1
  40. package/lib/import/BpmnImporter.js +0 -5
  41. package/lib/util/CompatibilityUtil.js +1 -0
  42. package/package.json +21 -24
  43. package/test/helper/index.js +26 -1
  44. package/.babelrc +0 -3
  45. package/lib/features/.DS_Store +0 -0
  46. package/lib/features/align-elements/.DS_Store +0 -0
  47. package/lib/features/distribute-elements/.DS_Store +0 -0
  48. package/lib/features/distribute-elements/dist/distribute-horizontally-tool.svg +0 -1
  49. package/lib/features/distribute-elements/dist/distribute-vertically-tool.svg +0 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,32 @@ All notable changes to [bpmn-js](https://github.com/bpmn-io/bpmn-js) are documen
7
7
 
8
8
  ___Note:__ Yet to be released changes appear here._
9
9
 
10
+ ## 9.4.0
11
+
12
+ * `FEAT`: allow clipboard to be serialized ([#1707](https://github.com/bpmn-io/bpmn-js/pull/1707))
13
+ * `FEAT`: allow cloning of elements ([#1707](https://github.com/bpmn-io/bpmn-js/pull/1707))
14
+ * `FEAT`: copy groups in a safe manner ([#1707](https://github.com/bpmn-io/bpmn-js/pull/1707))
15
+ * `FIX`: make clipboard contents immutable ([#1707](https://github.com/bpmn-io/bpmn-js/pull/1707))
16
+ * `FIX`: do not alter inputs passed to `ElementFactory#create` ([#1711](https://github.com/bpmn-io/bpmn-js/pull/1711))
17
+ * `FIX`: prevent bogus meta-data to be attached on paste ([#1707](https://github.com/bpmn-io/bpmn-js/pull/1707))
18
+ * `FIX`: only claim existing IDs ([#1707](https://github.com/bpmn-io/bpmn-js/pull/1707))
19
+ * `FIX`: prevent double paste on label creation ([#1707](https://github.com/bpmn-io/bpmn-js/pull/1707))
20
+ * `FIX`: move labels when collapsing sub-process ([#1695](https://github.com/bpmn-io/bpmn-js/issues/1695))
21
+ * `FIX`: assign default size when expanding element ([#1687](https://github.com/bpmn-io/bpmn-js/issues/1687))
22
+ * `FIX`: render sequence flows always on top ([#1716](https://github.com/bpmn-io/bpmn-js/issues/1716))
23
+ * `DEPS`: update to `diagram-js@8.9.0`
24
+ * `DEPS`: update to `bpmn-moddle@7.1.3`
25
+
26
+ ## 9.3.2
27
+
28
+ * `FIX`: prevent unnecessary scrollbar ([#1692](https://github.com/bpmn-io/bpmn-js/issues/1692))
29
+ * `FIX`: check for replacement using actual target ([#1699](https://github.com/bpmn-io/bpmn-js/pull/1699))
30
+ * `DEPS`: update to `diagram-js@8.7.1`
31
+
32
+ ## 9.3.1
33
+
34
+ * `FIX`: properly size icons for distribute/align menu ([#1694](https://github.com/bpmn-io/bpmn-js/pull/1694))
35
+
10
36
  ## 9.3.0
11
37
 
12
38
  * `FEAT`: add aligment and distribution menu ([#1680](https://github.com/bpmn-io/bpmn-js/issues/1680), [#1691](https://github.com/bpmn-io/bpmn-js/issues/1691))
@@ -105,7 +131,7 @@ ___Note:__ Yet to be released changes appear here._
105
131
  * `FIX`: set label color on `bpmndi:BPMNLabel#color` ([#1543](https://github.com/bpmn-io/bpmn-js/pull/1543))
106
132
  * `FIX`: don't create illegal `bpmndi:BPMNEdge#waypoints` property ([#1544](https://github.com/bpmn-io/bpmn-js/issues/1544))
107
133
  * `FIX`: correct direct editing on touch devices
108
- * `DEPS`: update to diagram-js@7.8.2
134
+ * `DEPS`: update to `diagram-js@7.8.2`
109
135
 
110
136
  ## 8.8.3
111
137
 
@@ -129,15 +129,14 @@
129
129
  }
130
130
 
131
131
  [data-popup="align-elements"] .djs-popup-body .entry {
132
- height: 20px;
133
- width: 20px;
134
-
135
132
  padding: 6px 8px;
136
133
  }
137
134
 
138
135
  [data-popup="align-elements"] .djs-popup-body .entry img {
139
- height: 100%;
140
- width: 100%;
136
+ display: block;
137
+
138
+ height: 20px;
139
+ width: 20px;
141
140
  }
142
141
 
143
142
  [data-popup="align-elements"] .bjs-align-elements-menu-entry {