bpmn-js 9.3.2 → 10.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.
- package/CHANGELOG.md +11 -0
- package/dist/assets/diagram-js.css +18 -8
- package/dist/bpmn-modeler.development.js +533 -356
- package/dist/bpmn-modeler.production.min.js +6 -6
- package/dist/bpmn-navigated-viewer.development.js +78 -73
- package/dist/bpmn-navigated-viewer.production.min.js +6 -6
- package/dist/bpmn-viewer.development.js +20 -17
- package/dist/bpmn-viewer.production.min.js +6 -6
- package/lib/features/copy-paste/BpmnCopyPaste.js +75 -69
- package/lib/features/copy-paste/ModdleCopy.js +26 -13
- package/lib/features/grid-snapping/behavior/{AutoPlaceBehavior.js → GridSnappingAutoPlaceBehavior.js} +2 -2
- package/lib/features/grid-snapping/behavior/{LayoutConnectionBehavior.js → GridSnappingLayoutConnectionBehavior.js} +4 -4
- package/lib/features/grid-snapping/behavior/{CreateParticipantBehavior.js → GridSnappingParticipantBehavior.js} +2 -2
- package/lib/features/grid-snapping/behavior/index.js +7 -7
- package/lib/features/label-editing/LabelEditingProvider.js +0 -22
- package/lib/features/modeling/ElementFactory.js +18 -8
- package/lib/features/modeling/behavior/BoundaryEventBehavior.js +1 -16
- package/lib/features/modeling/behavior/GroupBehavior.js +205 -93
- package/lib/features/modeling/behavior/ResizeBehavior.js +2 -0
- package/lib/features/modeling/behavior/RootElementReferenceBehavior.js +7 -8
- package/lib/features/modeling/behavior/SpaceToolBehavior.js +5 -0
- package/lib/features/modeling/behavior/util/CategoryUtil.js +66 -13
- package/lib/features/modeling/cmd/UpdateModdlePropertiesHandler.js +3 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,17 @@ 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
|
+
## 10.0.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
|
+
|
|
10
21
|
## 9.3.2
|
|
11
22
|
|
|
12
23
|
* `FIX`: prevent unnecessary scrollbar ([#1692](https://github.com/bpmn-io/bpmn-js/issues/1692))
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
--color-black: hsl(0, 0%, 0%);
|
|
31
31
|
--color-black-opacity-10: hsla(0, 0%, 0%, 10%);
|
|
32
32
|
|
|
33
|
+
--canvas-focus-box-shadow-color: var(--color-blue-205-100-50);
|
|
33
34
|
--canvas-fill-color: var(--color-white);
|
|
34
35
|
|
|
35
36
|
--bendpoint-fill-color: var(--color-blue-205-100-45);
|
|
@@ -88,6 +89,23 @@
|
|
|
88
89
|
--tooltip-error-color: var(--color-red-360-100-45);
|
|
89
90
|
}
|
|
90
91
|
|
|
92
|
+
/**
|
|
93
|
+
* SVG styles
|
|
94
|
+
*/
|
|
95
|
+
|
|
96
|
+
.djs-container svg:focus {
|
|
97
|
+
box-shadow: inset 0px 0px 0px 5px var(--canvas-focus-box-shadow-color);
|
|
98
|
+
outline: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.djs-container svg.drop-not-ok {
|
|
102
|
+
background: var(--shape-drop-not-allowed-fill-color) !important;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.djs-container svg.new-parent {
|
|
106
|
+
background: var(--shape-drop-allowed-fill-color) !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
91
109
|
/**
|
|
92
110
|
* outline styles
|
|
93
111
|
*/
|
|
@@ -130,14 +148,6 @@
|
|
|
130
148
|
fill: var(--shape-drop-allowed-fill-color) !important;
|
|
131
149
|
}
|
|
132
150
|
|
|
133
|
-
svg.drop-not-ok {
|
|
134
|
-
background: var(--shape-drop-not-allowed-fill-color) !important;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
svg.new-parent {
|
|
138
|
-
background: var(--shape-drop-allowed-fill-color) !important;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
151
|
|
|
142
152
|
/* Override move cursor during drop and connect */
|
|
143
153
|
.drop-not-ok,
|