microboard-temp 0.5.85 → 0.5.86

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.
@@ -36955,8 +36955,8 @@ function createHookWaypoints(startPoint, endPoint, startDir, endDir) {
36955
36955
  const dy = endPoint.y - startPoint.y;
36956
36956
  const startConflictX = startDir === "right" && dx < 0 || startDir === "left" && dx > 0;
36957
36957
  const startConflictY = startDir === "bottom" && dy < 0 || startDir === "top" && dy > 0;
36958
- const endConflictX = endDir === "right" && dx > 0 || endDir === "left" && dx < 0;
36959
- const endConflictY = endDir === "bottom" && dy > 0 || endDir === "top" && dy < 0;
36958
+ const endConflictX = endDir === "right" && dx < 0 || endDir === "left" && dx > 0;
36959
+ const endConflictY = endDir === "bottom" && dy < 0 || endDir === "top" && dy > 0;
36960
36960
  if (startConflictX || endConflictY) {
36961
36961
  return [new Point(startPoint.x, endPoint.y)];
36962
36962
  }
package/dist/cjs/index.js CHANGED
@@ -36955,8 +36955,8 @@ function createHookWaypoints(startPoint, endPoint, startDir, endDir) {
36955
36955
  const dy = endPoint.y - startPoint.y;
36956
36956
  const startConflictX = startDir === "right" && dx < 0 || startDir === "left" && dx > 0;
36957
36957
  const startConflictY = startDir === "bottom" && dy < 0 || startDir === "top" && dy > 0;
36958
- const endConflictX = endDir === "right" && dx > 0 || endDir === "left" && dx < 0;
36959
- const endConflictY = endDir === "bottom" && dy > 0 || endDir === "top" && dy < 0;
36958
+ const endConflictX = endDir === "right" && dx < 0 || endDir === "left" && dx > 0;
36959
+ const endConflictY = endDir === "bottom" && dy < 0 || endDir === "top" && dy > 0;
36960
36960
  if (startConflictX || endConflictY) {
36961
36961
  return [new Point(startPoint.x, endPoint.y)];
36962
36962
  }
package/dist/cjs/node.js CHANGED
@@ -39428,8 +39428,8 @@ function createHookWaypoints(startPoint, endPoint, startDir, endDir) {
39428
39428
  const dy = endPoint.y - startPoint.y;
39429
39429
  const startConflictX = startDir === "right" && dx < 0 || startDir === "left" && dx > 0;
39430
39430
  const startConflictY = startDir === "bottom" && dy < 0 || startDir === "top" && dy > 0;
39431
- const endConflictX = endDir === "right" && dx > 0 || endDir === "left" && dx < 0;
39432
- const endConflictY = endDir === "bottom" && dy > 0 || endDir === "top" && dy < 0;
39431
+ const endConflictX = endDir === "right" && dx < 0 || endDir === "left" && dx > 0;
39432
+ const endConflictY = endDir === "bottom" && dy < 0 || endDir === "top" && dy > 0;
39433
39433
  if (startConflictX || endConflictY) {
39434
39434
  return [new Point(startPoint.x, endPoint.y)];
39435
39435
  }
@@ -36800,8 +36800,8 @@ function createHookWaypoints(startPoint, endPoint, startDir, endDir) {
36800
36800
  const dy = endPoint.y - startPoint.y;
36801
36801
  const startConflictX = startDir === "right" && dx < 0 || startDir === "left" && dx > 0;
36802
36802
  const startConflictY = startDir === "bottom" && dy < 0 || startDir === "top" && dy > 0;
36803
- const endConflictX = endDir === "right" && dx > 0 || endDir === "left" && dx < 0;
36804
- const endConflictY = endDir === "bottom" && dy > 0 || endDir === "top" && dy < 0;
36803
+ const endConflictX = endDir === "right" && dx < 0 || endDir === "left" && dx > 0;
36804
+ const endConflictY = endDir === "bottom" && dy < 0 || endDir === "top" && dy > 0;
36805
36805
  if (startConflictX || endConflictY) {
36806
36806
  return [new Point(startPoint.x, endPoint.y)];
36807
36807
  }
package/dist/esm/index.js CHANGED
@@ -36793,8 +36793,8 @@ function createHookWaypoints(startPoint, endPoint, startDir, endDir) {
36793
36793
  const dy = endPoint.y - startPoint.y;
36794
36794
  const startConflictX = startDir === "right" && dx < 0 || startDir === "left" && dx > 0;
36795
36795
  const startConflictY = startDir === "bottom" && dy < 0 || startDir === "top" && dy > 0;
36796
- const endConflictX = endDir === "right" && dx > 0 || endDir === "left" && dx < 0;
36797
- const endConflictY = endDir === "bottom" && dy > 0 || endDir === "top" && dy < 0;
36796
+ const endConflictX = endDir === "right" && dx < 0 || endDir === "left" && dx > 0;
36797
+ const endConflictY = endDir === "bottom" && dy < 0 || endDir === "top" && dy > 0;
36798
36798
  if (startConflictX || endConflictY) {
36799
36799
  return [new Point(startPoint.x, endPoint.y)];
36800
36800
  }
package/dist/esm/node.js CHANGED
@@ -39261,8 +39261,8 @@ function createHookWaypoints(startPoint, endPoint, startDir, endDir) {
39261
39261
  const dy = endPoint.y - startPoint.y;
39262
39262
  const startConflictX = startDir === "right" && dx < 0 || startDir === "left" && dx > 0;
39263
39263
  const startConflictY = startDir === "bottom" && dy < 0 || startDir === "top" && dy > 0;
39264
- const endConflictX = endDir === "right" && dx > 0 || endDir === "left" && dx < 0;
39265
- const endConflictY = endDir === "bottom" && dy > 0 || endDir === "top" && dy < 0;
39264
+ const endConflictX = endDir === "right" && dx < 0 || endDir === "left" && dx > 0;
39265
+ const endConflictY = endDir === "bottom" && dy < 0 || endDir === "top" && dy > 0;
39266
39266
  if (startConflictX || endConflictY) {
39267
39267
  return [new Point(startPoint.x, endPoint.y)];
39268
39268
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.85",
3
+ "version": "0.5.86",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",