blockly 13.1.0 → 13.1.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.
@@ -43,11 +43,6 @@ export declare class Dragger implements IDragger {
43
43
  * at the end of the drag.
44
44
  */
45
45
  protected shouldReturnToStart(coordinate: Coordinate, rootDraggable: IDraggable): boolean;
46
- /**
47
- * Returns the workspace coordinate for a pointer position, for delete-area
48
- * hit testing.
49
- */
50
- private pointerToWorkspaceCoordinate;
51
46
  protected pixelsToWorkspaceUnits(pixelCoord: Coordinate): Coordinate;
52
47
  }
53
48
  //# sourceMappingURL=dragger.d.ts.map
@@ -617,13 +617,12 @@ export declare class WorkspaceSvg extends Workspace implements IContextMenu, IFo
617
617
  */
618
618
  newComment(id?: string): WorkspaceComment;
619
619
  /**
620
- * Returns the drag target the pointer event is over.
620
+ * Returns the drag target at the given point.
621
621
  *
622
- * @param e Pointer move event or a workspace coordinate.
623
- * @returns Null if not over a drag target, or the drag target the event is
624
- * over.
622
+ * @param point A pointer event, or a point in client/viewport coordinates.
623
+ * @returns Null if not over a drag target, or the drag target at that point.
625
624
  */
626
- getDragTarget(e: PointerEvent | Coordinate): IDragTarget | null;
625
+ getDragTarget(point: PointerEvent | Coordinate): IDragTarget | null;
627
626
  /**
628
627
  * Handle a pointerdown on SVG drawing surface.
629
628
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blockly",
3
- "version": "13.1.0",
3
+ "version": "13.1.1",
4
4
  "description": "Blockly is a library for building visual programming editors.",
5
5
  "keywords": [
6
6
  "blockly"
@@ -91,7 +91,7 @@
91
91
  "eslint-plugin-mocha": "^11.3.0",
92
92
  "eslint-plugin-prettier": "^5.5.5",
93
93
  "glob": "^13.0.6",
94
- "globals": "^17.6.0",
94
+ "globals": "^17.7.0",
95
95
  "google-closure-compiler": "^20260520.0.0",
96
96
  "gulp": "^5.0.1",
97
97
  "gulp-concat": "^2.6.1",