@tldraw/editor 4.4.0-canary.ebbb7680f924 → 4.4.0-canary.f43910f1c2b3

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.
@@ -878,6 +878,7 @@ export declare const defaultTldrawOptions: {
878
878
  readonly edgeScrollEaseDuration: 200;
879
879
  readonly edgeScrollSpeed: 25;
880
880
  readonly enableToolbarKeyboardShortcuts: true;
881
+ readonly experimental__onDropOnCanvas: undefined;
881
882
  readonly exportProvider: ExoticComponent<FragmentProps>;
882
883
  readonly flattenImageBoundsExpand: 64;
883
884
  readonly flattenImageBoundsPadding: 16;
@@ -7105,6 +7106,15 @@ export declare interface TldrawOptions {
7105
7106
  * viewport's page dimensions regardless of overview zoom changes.
7106
7107
  */
7107
7108
  readonly quickZoomPreservesScreenBounds: boolean;
7109
+ /**
7110
+ * Called when content is dropped on the canvas. Provides the page position
7111
+ * where the drop occurred and the underlying drag event object.
7112
+ * Return true to prevent default drop handling (files, URLs, etc.)
7113
+ */
7114
+ experimental__onDropOnCanvas?(options: {
7115
+ event: React.DragEvent<Element>;
7116
+ point: VecLike;
7117
+ }): boolean;
7108
7118
  }
7109
7119
 
7110
7120
  /** @public */
package/dist-cjs/index.js CHANGED
@@ -372,7 +372,7 @@ var import_uniq = require("./lib/utils/uniq");
372
372
  var import_window_open = require("./lib/utils/window-open");
373
373
  (0, import_utils.registerTldrawLibraryVersion)(
374
374
  "@tldraw/editor",
375
- "4.4.0-canary.ebbb7680f924",
375
+ "4.4.0-canary.f43910f1c2b3",
376
376
  "cjs"
377
377
  );
378
378
  //# sourceMappingURL=index.js.map