bpmn-js 9.0.0-alpha.0 → 9.0.0-alpha.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 (31) hide show
  1. package/CHANGELOG.md +24 -2
  2. package/dist/assets/bpmn-js.css +9 -1
  3. package/dist/assets/diagram-js.css +1 -1
  4. package/dist/bpmn-modeler.development.js +1533 -456
  5. package/dist/bpmn-modeler.production.min.js +8 -8
  6. package/dist/bpmn-navigated-viewer.development.js +707 -108
  7. package/dist/bpmn-navigated-viewer.production.min.js +6 -6
  8. package/dist/bpmn-viewer.development.js +707 -108
  9. package/dist/bpmn-viewer.production.min.js +6 -6
  10. package/lib/features/auto-resize/BpmnAutoResizeProvider.js +6 -0
  11. package/lib/features/copy-paste/BpmnCopyPaste.js +1 -0
  12. package/lib/features/di-ordering/BpmnDiOrdering.js +15 -11
  13. package/lib/features/drilldown/DrilldownBreadcrumbs.js +137 -0
  14. package/lib/features/drilldown/DrilldownCentering.js +12 -8
  15. package/lib/features/drilldown/DrilldownOverlayBehavior.js +181 -0
  16. package/lib/features/drilldown/SubprocessCompatibility.js +9 -6
  17. package/lib/features/drilldown/index.js +7 -4
  18. package/lib/features/label-editing/cmd/UpdateLabelHandler.js +29 -2
  19. package/lib/features/modeling/BpmnFactory.js +4 -0
  20. package/lib/features/modeling/behavior/CreateParticipantBehavior.js +59 -84
  21. package/lib/features/modeling/behavior/SubProcessPlaneBehavior.js +529 -0
  22. package/lib/features/modeling/behavior/ToggleCollapseConnectionBehaviour.js +74 -0
  23. package/lib/features/modeling/behavior/UnclaimIdBehavior.js +3 -1
  24. package/lib/features/modeling/behavior/index.js +6 -0
  25. package/lib/features/ordering/BpmnOrderingProvider.js +1 -1
  26. package/lib/features/popup-menu/ReplaceMenuProvider.js +1 -1
  27. package/lib/import/BpmnImporter.js +12 -6
  28. package/lib/import/Importer.js +122 -10
  29. package/lib/util/DrilldownUtil.js +66 -0
  30. package/package.json +2 -2
  31. package/lib/features/drilldown/DrilldownOverlays.js +0 -113
package/CHANGELOG.md CHANGED
@@ -7,18 +7,40 @@ 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.0.0-alpha.1
11
+
12
+ * `FEAT`: support modeling of collapsed subprocesses ([#1443](https://github.com/bpmn-io/bpmn-js/issues/1443))
13
+ * `FIX`: create di for embedded labels ([#1579](https://github.com/bpmn-io/bpmn-js/pull/1579))
14
+ * `CHORE`: bump to `diagram-js@8.1.1`
15
+
16
+ ### Breaking Changes
17
+
18
+ * Reworked `viewer.open` behavior for single planes. ([#1576](https://github.com/bpmn-io/bpmn-js/pull/1576))
19
+
10
20
  ## 9.0.0-alpha.0
11
21
 
12
- * `FEAT`: support drilldown into collapsed subprocesses ([#1443](https://github.com/bpmn-io/bpmn-js/issues/1443))
22
+ * `FEAT`: support drilldown into collapsed subprocesses ([#1443](https://github.com/bpmn-io/bpmn-js/issues/1443))
13
23
  * `CHORE`: bump to `diagram-js@8.0.1`
14
24
  ### Breaking Changes
15
25
 
16
26
  * 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)
17
27
  * Reworked import and `BpmnFactory` APIs. [#1472](https://github.com/bpmn-io/bpmn-js/issues/1472)
28
+ * Added `bpmn-js.css`, which is required to display drilldown overlays correctly.
29
+
30
+ ## 8.9.1
31
+ * `FIX`: re-use process for redo of first participant ([#1439](https://github.com/bpmn-io/bpmn-js/issues/1439))
32
+ * `FIX`: ensure IDs are claimed when used ([#1555](https://github.com/bpmn-io/bpmn-js/issues/1555))
33
+ * `FIX`: prevent morphing data stores outside participants ([#1508](https://github.com/bpmn-io/bpmn-js/issues/1508))
18
34
 
19
- ## 8.8.4
35
+ ## 8.9.0
20
36
 
37
+ * `FEAT`: select newly created sub-process ([`6214772b`](https://github.com/bpmn-io/bpmn-js/commit/6214772b8519cb82f61c4867b16c112bc6344922))
38
+ * `FEAT`: select newly created group for immediate resizing ([`56eb34cc`](https://github.com/bpmn-io/bpmn-js/commit/56eb34cc826ca0dc8ee788575a504d5fda301292))
39
+ * `FEAT`: simplify color scheme
21
40
  * `FIX`: set label color on `bpmndi:BPMNLabel#color` ([#1543](https://github.com/bpmn-io/bpmn-js/pull/1543))
41
+ * `FIX`: don't create illegal `bpmndi:BPMNEdge#waypoints` property ([#1544](https://github.com/bpmn-io/bpmn-js/issues/1544))
42
+ * `FIX`: correct direct editing on touch devices
43
+ * `DEPS`: update to diagram-js@7.8.2
22
44
 
23
45
  ## 8.8.3
24
46
 
@@ -80,7 +80,7 @@
80
80
  height: 1em;
81
81
  }
82
82
 
83
- .bjs-breadcrumbs .bpmnjs-crumb {
83
+ .bjs-breadcrumbs .bjs-crumb {
84
84
  display: inline-block;
85
85
  max-width: 200px;
86
86
  overflow: hidden;
@@ -103,3 +103,11 @@
103
103
  fill: var(--drilldown-fill-color);
104
104
  background-color: var(--drilldown-background-color);
105
105
  }
106
+
107
+ .bjs-drilldown-empty {
108
+ display: none;
109
+ }
110
+
111
+ .selected .bjs-drilldown-empty {
112
+ display: inherit;
113
+ }
@@ -75,7 +75,7 @@
75
75
  --shape-drop-not-allowed-fill-color: var(--color-red-360-100-97);
76
76
  --shape-resize-preview-stroke-color: var(--color-blue-205-100-50);
77
77
 
78
- --snap-line-stroke-color: var(--color-blue-205-100-50-opacity-30);
78
+ --snap-line-stroke-color: var(--color-blue-205-100-45-opacity-30);
79
79
 
80
80
  --space-tool-crosshair-stroke-color: var(--color-black);
81
81