bpmn-js 9.0.0-subprocesses.0 → 9.0.0-subprocesses.1

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 (40) hide show
  1. package/CHANGELOG.md +17 -1
  2. package/dist/assets/bpmn-js.css +58 -0
  3. package/dist/assets/diagram-js.css +1 -0
  4. package/dist/bpmn-modeler.development.js +1756 -1632
  5. package/dist/bpmn-modeler.production.min.js +8 -7
  6. package/dist/bpmn-navigated-viewer.development.js +20855 -20345
  7. package/dist/bpmn-navigated-viewer.production.min.js +22 -20
  8. package/dist/bpmn-viewer.development.js +20049 -19562
  9. package/dist/bpmn-viewer.production.min.js +22 -20
  10. package/lib/Modeler.js +1 -4
  11. package/lib/Viewer.js +2 -2
  12. package/lib/draw/BpmnRenderer.js +367 -296
  13. package/lib/draw/PathMap.js +2 -2
  14. package/lib/features/auto-resize/BpmnAutoResizeProvider.js +3 -6
  15. package/lib/features/copy-paste/ModdleCopy.js +19 -2
  16. package/lib/features/modeling/BpmnFactory.js +8 -8
  17. package/lib/features/modeling/BpmnUpdater.js +0 -5
  18. package/lib/features/modeling/ElementFactory.js +27 -13
  19. package/lib/features/modeling/behavior/ResizeBehavior.js +129 -3
  20. package/lib/features/modeling/behavior/util/ResizeUtil.js +1 -132
  21. package/lib/features/replace/BpmnReplace.js +38 -16
  22. package/lib/features/subprocess-navigation/SubprocessCentering.js +55 -0
  23. package/lib/features/subprocess-navigation/SubprocessCompatibility.js +135 -0
  24. package/lib/features/subprocess-navigation/SubprocessElements.js +55 -0
  25. package/lib/features/subprocess-navigation/SubprocessFlows.js +109 -0
  26. package/lib/features/subprocess-navigation/SubprocessOverlays.js +104 -0
  27. package/lib/features/subprocess-navigation/index.js +18 -0
  28. package/lib/import/BpmnImporter.js +59 -10
  29. package/lib/import/BpmnTreeWalker.js +2 -2
  30. package/lib/import/Importer.js +4 -4
  31. package/lib/util/DiUtil.js +1 -0
  32. package/package.json +2 -2
  33. package/test/helper/index.js +6 -1
  34. package/test/util/MockEvents.js +10 -2
  35. package/lib/features/collapsed-subprocesses/DeleteBehaviour.js +0 -65
  36. package/lib/features/collapsed-subprocesses/ToggleCollapseBehaviour.js +0 -133
  37. package/lib/features/collapsed-subprocesses/diagramFactory.js +0 -56
  38. package/lib/features/collapsed-subprocesses/index.js +0 -12
  39. package/lib/features/collapsed-subprocesses-navigation/CollapsedSubprocessNavigation.js +0 -198
  40. package/lib/features/collapsed-subprocesses-navigation/index.js +0 -7
package/CHANGELOG.md CHANGED
@@ -9,6 +9,22 @@ ___Note:__ Yet to be released changes appear here._
9
9
  ### Breaking Changes
10
10
 
11
11
  * Reworked the link of elements to bpmn DIs. You must access the `di` directly from the diagram element instead of the `businessObject`. [#1472](https://github.com/bpmn-io/bpmn-js/issues/1472)
12
+ * Reworked import and `BpmnFactory` APIs. [#1472](https://github.com/bpmn-io/bpmn-js/issues/1472)
13
+
14
+ ## 8.8.2
15
+
16
+ * `FIX`: properly re-use ID of a copied element if available ([#1503](https://github.com/bpmn-io/bpmn-js/pull/1509))
17
+
18
+ ## 8.8.1
19
+
20
+ * `FIX`: re-use ID of a copied element if available ([#1503](https://github.com/bpmn-io/bpmn-js/pull/1503))
21
+ * `CHORE`: unbuild circular dependency with `ResizeUtil` ([#1500](https://github.com/bpmn-io/bpmn-js/pull/1500))
22
+
23
+ ## 8.8.0
24
+
25
+ * `FEAT`: give `keyboard` fine-grained control over which events to handle ([#1493](https://github.com/bpmn-io/bpmn-js/issues/1493))
26
+ * `FIX`: correct keyboard shortcuts not working in direct editing mode ([#1493](https://github.com/bpmn-io/bpmn-js/issues/1493))
27
+ * `DEPS`: update to `diagram-js@7.15`
12
28
 
13
29
  ## 8.7.3
14
30
 
@@ -21,7 +37,7 @@ ___Note:__ Yet to be released changes appear here._
21
37
 
22
38
  ## 8.7.1
23
39
 
24
- * `FIX`: allow connecting `bpmn:MessageFlow` to `bpmn:CallActivity` ([#1467](https://github.com/bpmn-io/bpmn-js/issues/1467))
40
+ * `FIX`: allow connecting `bpmn:MessageFlow` to `bpmn:CallActivity` ([#1467](https://github.com/bpmn-io/bpmn-js/issues/1467))
25
41
  * `DEPS`: update to `bpmn-moddle@7.1.2`
26
42
 
27
43
  ## 8.7.0
@@ -0,0 +1,58 @@
1
+ .bjs-container {
2
+ --bjs-font-family: Arial, sans-serif;
3
+ }
4
+
5
+ .bjs-breadcrumbs {
6
+ width: 100%;
7
+ display: flex;
8
+ align-items: center;
9
+ margin: 0;
10
+ font-family: var(--bjs-font-family);
11
+ font-size: 16px;
12
+ }
13
+
14
+ .bjs-breadcrumbs li {
15
+ display: inline-flex;
16
+ color: var(--blue-base-65);
17
+ cursor: pointer;
18
+ }
19
+
20
+ .bjs-breadcrumbs .bjs-drilldown {
21
+ margin-right: 5px;
22
+ }
23
+
24
+ .bjs-breadcrumbs li:last-of-type {
25
+ color: inherit;
26
+ cursor: default;
27
+ }
28
+
29
+ .bjs-breadcrumbs li:not(:first-of-type)::before {
30
+ content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" /><path d="M0 0h24v24H0z" fill="none" /></svg>');
31
+ height: 16px;
32
+ padding: 0 8px;
33
+ color: black;
34
+ }
35
+
36
+ .bjs-breadcrumbs .bjs-crumb {
37
+ display: inline-block;
38
+ max-width: 200px;
39
+ overflow: hidden;
40
+ text-overflow: ellipsis;
41
+ white-space: nowrap;
42
+ }
43
+
44
+ .bjs-drilldown {
45
+ width: 20px;
46
+ height: 20px;
47
+
48
+ padding: 0px;
49
+ margin-left: -20px;
50
+
51
+ cursor: pointer;
52
+ border: none;
53
+ border-radius: 2px;
54
+ outline: none;
55
+
56
+ fill: white;
57
+ background-color: var(--blue-base-65);
58
+ }
@@ -468,6 +468,7 @@ marker.djs-dragger tspan {
468
468
  */
469
469
  .djs-overlay-context-pad {
470
470
  width: 72px;
471
+ z-index: 100;
471
472
  }
472
473
 
473
474
  .djs-context-pad {