bpmn-js 15.2.0 → 15.2.2

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * bpmn-js - bpmn-modeler v15.2.0
2
+ * bpmn-js - bpmn-modeler v15.2.2
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: 2023-11-21
11
+ * Date: 2023-11-27
12
12
  */
13
13
  (function (global, factory) {
14
14
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -18254,7 +18254,7 @@
18254
18254
  /**
18255
18255
  * Get width and height from element or overrides.
18256
18256
  *
18257
- * @param {Dimensions|Rect|Shape} bounds
18257
+ * @param {Dimensions|Rect|ShapeLike} bounds
18258
18258
  * @param {Object} overrides
18259
18259
  *
18260
18260
  * @returns {Dimensions}
@@ -18269,7 +18269,7 @@
18269
18269
  /**
18270
18270
  * Get width from element or overrides.
18271
18271
  *
18272
- * @param {Dimensions|Rect|Shape} bounds
18272
+ * @param {Dimensions|Rect|ShapeLike} bounds
18273
18273
  * @param {Object} overrides
18274
18274
  *
18275
18275
  * @returns {number}
@@ -18281,7 +18281,7 @@
18281
18281
  /**
18282
18282
  * Get height from element or overrides.
18283
18283
  *
18284
- * @param {Dimensions|Rect|Shape} bounds
18284
+ * @param {Dimensions|Rect|ShapeLike} bounds
18285
18285
  * @param {Object} overrides
18286
18286
  *
18287
18287
  * @returns {number}
@@ -30941,6 +30941,11 @@
30941
30941
  top = position.y - containerBounds.height;
30942
30942
  }
30943
30943
 
30944
+ // underAxis
30945
+ if (position.y < documentBounds.top) {
30946
+ top = position.y + containerBounds.height;
30947
+ }
30948
+
30944
30949
  return {
30945
30950
  x: left,
30946
30951
  y: top