bpmn-js 9.2.0 → 9.3.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.
- package/CHANGELOG.md +15 -2
- package/dist/assets/bpmn-js.css +33 -4
- package/dist/bpmn-modeler.development.js +5522 -5188
- package/dist/bpmn-modeler.production.min.js +7 -7
- package/dist/bpmn-navigated-viewer.development.js +2 -2
- package/dist/bpmn-navigated-viewer.production.min.js +1 -1
- package/dist/bpmn-viewer.development.js +2 -2
- package/dist/bpmn-viewer.production.min.js +1 -1
- package/lib/Modeler.js +1 -1
- package/lib/features/.DS_Store +0 -0
- package/lib/features/align-elements/.DS_Store +0 -0
- package/lib/features/align-elements/AlignElementsContextPadProvider.js +87 -0
- package/lib/features/align-elements/AlignElementsIcons.js +15 -0
- package/lib/features/align-elements/AlignElementsMenuProvider.js +72 -0
- package/lib/features/align-elements/BpmnAlignElements.js +39 -0
- package/lib/features/align-elements/index.js +23 -0
- package/lib/features/align-elements/resources/align-bottom-tool.svg +5 -0
- package/lib/features/align-elements/resources/align-horizontal-center-tool.svg +5 -0
- package/lib/features/align-elements/resources/align-left-tool.svg +5 -0
- package/lib/features/align-elements/resources/align-right-tool.svg +5 -0
- package/lib/features/align-elements/resources/align-tool.svg +5 -0
- package/lib/features/align-elements/resources/align-top-tool.svg +5 -0
- package/lib/features/align-elements/resources/align-vertical-center-tool.svg +5 -0
- package/lib/features/distribute-elements/.DS_Store +0 -0
- package/lib/features/distribute-elements/BpmnDistributeElements.js +27 -7
- package/lib/features/distribute-elements/DistributeElementsIcons.js +10 -0
- package/lib/features/distribute-elements/DistributeElementsMenuProvider.js +69 -0
- package/lib/features/distribute-elements/dist/distribute-horizontally-tool.svg +1 -0
- package/lib/features/distribute-elements/dist/distribute-vertically-tool.svg +1 -0
- package/lib/features/distribute-elements/index.js +9 -2
- package/lib/features/distribute-elements/resources/distribute-horizontally-tool.svg +5 -0
- package/lib/features/distribute-elements/resources/distribute-vertically-tool.svg +5 -0
- package/lib/features/label-editing/LabelEditingProvider.js +3 -1
- package/lib/features/popup-menu/ReplaceMenuProvider.js +7 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,19 @@ 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.3.0
|
|
11
|
+
|
|
12
|
+
* `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))
|
|
13
|
+
* `DEPS`: update to `diagram-js@8.7.0`
|
|
14
|
+
|
|
15
|
+
## 9.2.2
|
|
16
|
+
|
|
17
|
+
* `FIX`: correctly toggle loop characteristics ([#1673](https://github.com/bpmn-io/bpmn-js/issues/1673))
|
|
18
|
+
|
|
19
|
+
## 9.2.1
|
|
20
|
+
|
|
21
|
+
* `FIX`: cancel direct editing before shape deletion ([#1677](https://github.com/bpmn-io/bpmn-js/issues/1677))
|
|
22
|
+
|
|
10
23
|
## 9.2.0
|
|
11
24
|
|
|
12
25
|
* `FEAT`: rework select and hover interaction on the diagram ([#1616](https://github.com/bpmn-io/bpmn-js/issues/1616), [#640](https://github.com/bpmn-io/diagram-js/pull/640), [#643](https://github.com/bpmn-io/diagram-js/pull/643))
|
|
@@ -75,8 +88,8 @@ ___Note:__ Yet to be released changes appear here._
|
|
|
75
88
|
|
|
76
89
|
## 8.10.0
|
|
77
90
|
|
|
78
|
-
* `CHORE`: provide `ModelUtil#isAny` utility ([#
|
|
79
|
-
* `CHORE`: provide `ModelUtil#getDi` utility ([#
|
|
91
|
+
* `CHORE`: provide `ModelUtil#isAny` utility ([#1604](https://github.com/bpmn-io/bpmn-js/pull/1604))
|
|
92
|
+
* `CHORE`: provide `ModelUtil#getDi` utility ([#1604](https://github.com/bpmn-io/bpmn-js/pull/1604))
|
|
80
93
|
|
|
81
94
|
## 8.9.1
|
|
82
95
|
|
package/dist/assets/bpmn-js.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
--color-grey-225-10-80: hsl(225, 10%, 80%);
|
|
9
9
|
--color-grey-225-10-85: hsl(225, 10%, 85%);
|
|
10
10
|
--color-grey-225-10-90: hsl(225, 10%, 90%);
|
|
11
|
-
--color-grey-225-10-95: hsl(225, 10%, 95%);
|
|
11
|
+
--color-grey-225-10-95: hsl(225, 10%, 95%);
|
|
12
12
|
--color-grey-225-10-97: hsl(225, 10%, 97%);
|
|
13
13
|
|
|
14
14
|
--color-blue-205-100-45: hsl(205, 100%, 45%);
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
--color-red-360-100-97: hsl(360, 100%, 97%);
|
|
25
25
|
|
|
26
26
|
--color-white: hsl(0, 0%, 100%);
|
|
27
|
-
--color-black: hsl(0, 0%, 0%);
|
|
28
|
-
--color-black-opacity-05: hsla(0, 0%, 0%, 5%);
|
|
27
|
+
--color-black: hsl(0, 0%, 0%);
|
|
28
|
+
--color-black-opacity-05: hsla(0, 0%, 0%, 5%);
|
|
29
29
|
--color-black-opacity-10: hsla(0, 0%, 0%, 10%);
|
|
30
30
|
|
|
31
31
|
--breadcrumbs-font-family: var(--bjs-font-family);
|
|
@@ -113,4 +113,33 @@
|
|
|
113
113
|
|
|
114
114
|
.selected .bjs-drilldown-empty {
|
|
115
115
|
display: inherit;
|
|
116
|
-
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
[data-popup="align-elements"] .djs-popup-body {
|
|
119
|
+
display: flex;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
[data-popup="align-elements"] .djs-popup-body [data-group] + [data-group] {
|
|
123
|
+
border-left: 1px solid var(--popup-border-color);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
[data-popup="align-elements"] [data-group="align"] {
|
|
127
|
+
display: grid;
|
|
128
|
+
grid-template-columns: repeat(3, 1fr);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
[data-popup="align-elements"] .djs-popup-body .entry {
|
|
132
|
+
height: 20px;
|
|
133
|
+
width: 20px;
|
|
134
|
+
|
|
135
|
+
padding: 6px 8px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
[data-popup="align-elements"] .djs-popup-body .entry img {
|
|
139
|
+
height: 100%;
|
|
140
|
+
width: 100%;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
[data-popup="align-elements"] .bjs-align-elements-menu-entry {
|
|
144
|
+
display: inline-block;
|
|
145
|
+
}
|