bpmn-js 18.30.0 → 18.31.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/dist/assets/diagram-js.css +4 -5
- package/dist/bpmn-modeler.development.js +311 -52
- package/dist/bpmn-modeler.production.min.js +84 -78
- package/dist/bpmn-navigated-viewer.development.js +69 -16
- package/dist/bpmn-navigated-viewer.production.min.js +3 -3
- package/dist/bpmn-viewer.development.js +4 -4
- package/dist/bpmn-viewer.production.min.js +2 -2
- package/lib/features/context-pad/index.d.ts +18 -1
- package/lib/features/context-pad/index.d.ts.map +1 -1
- package/lib/features/label-editing/LabelEditingProvider.d.ts +1 -1
- package/lib/features/label-editing/LabelEditingProvider.d.ts.map +1 -1
- package/lib/features/label-editing/index.d.ts +8 -1
- package/lib/features/label-editing/index.d.ts.map +1 -1
- package/lib/features/modeling/BpmnUpdater.d.ts.map +1 -1
- package/lib/features/modeling/BpmnUpdater.js +27 -0
- package/package.json +11 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* bpmn-js - bpmn-viewer v18.
|
|
2
|
+
* bpmn-js - bpmn-viewer v18.31.0
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2014-present, camunda Services GmbH
|
|
5
5
|
*
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* Source Code: https://github.com/bpmn-io/bpmn-js
|
|
10
10
|
*
|
|
11
|
-
* Date: 2026-
|
|
11
|
+
* Date: 2026-10-01
|
|
12
12
|
*/
|
|
13
13
|
(function (global, factory) {
|
|
14
14
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
@@ -5363,7 +5363,7 @@
|
|
|
5363
5363
|
textBBox.width = fitLine ? textBBox.width : 0;
|
|
5364
5364
|
|
|
5365
5365
|
// try to fit
|
|
5366
|
-
if (fitLine === ' ' || fitLine === '' || textBBox.width
|
|
5366
|
+
if (fitLine === ' ' || fitLine === '' || textBBox.width <= maxWidth || fitLine.length < 2) {
|
|
5367
5367
|
return fit(lines, fitLine, originalLine, textBBox);
|
|
5368
5368
|
}
|
|
5369
5369
|
|
|
@@ -13886,7 +13886,7 @@
|
|
|
13886
13886
|
function prependTo(newNode, parentNode, siblingNode) {
|
|
13887
13887
|
var node = siblingNode || parentNode.firstChild;
|
|
13888
13888
|
|
|
13889
|
-
// do not prepend node to itself
|
|
13889
|
+
// do not prepend node to itself
|
|
13890
13890
|
// https://github.com/bpmn-io/bpmn-js/issues/746
|
|
13891
13891
|
if (newNode === node) {
|
|
13892
13892
|
return;
|