@nous-excalidraw/math 0.18.4-beta.4 → 0.18.5

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.
@@ -482,6 +482,12 @@ declare class App extends React.Component<AppProps, AppState> {
482
482
  private getTextElementAtPosition;
483
483
  private isHittingTextAutoResizeHandle;
484
484
  private handleTextAutoResizeHandlePointerDown;
485
+ /**
486
+ * When a frame wins z-order at a point, its full interior still hits — so
487
+ * images/embeds below it in the stack never surface. Prefer the topmost
488
+ * descendant in the same hit stack that passes a real geometry hit.
489
+ */
490
+ private getTopFrameDescendantHitUnderPoint;
485
491
  private getElementAtPosition;
486
492
  private getElementsAtPosition;
487
493
  getElementHitThreshold(element: ExcalidrawElement): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nous-excalidraw/math",
3
- "version": "0.18.4-beta.4",
3
+ "version": "0.18.5",
4
4
  "type": "module",
5
5
  "types": "./dist/types/math/src/index.d.ts",
6
6
  "main": "./dist/prod/index.js",
@@ -61,6 +61,6 @@
61
61
  "build:esm": "rimraf dist && node ../../scripts/buildBase.js && yarn gen:types"
62
62
  },
63
63
  "dependencies": {
64
- "@nous-excalidraw/common": "0.18.4-beta.4"
64
+ "@nous-excalidraw/common": "0.18.5"
65
65
  }
66
66
  }
@@ -1,5 +0,0 @@
1
- import type { Theme } from "@nous-excalidraw/element/types";
2
- export declare const LoadingMessage: React.FC<{
3
- delay?: number;
4
- theme?: Theme;
5
- }>;