@zsviczian/excalidraw 0.10.0-obsidian-43 → 0.10.0-obsidian-44
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.
package/package.json
CHANGED
|
@@ -113,8 +113,6 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
113
113
|
private handleCanvasDoubleClick;
|
|
114
114
|
private getElementLinkAtPosition;
|
|
115
115
|
private redirectToLink;
|
|
116
|
-
private attachLinkListener;
|
|
117
|
-
private detachLinkListener;
|
|
118
116
|
private handleCanvasPointerMove;
|
|
119
117
|
private handleTouchMove;
|
|
120
118
|
private handleCanvasPointerDown;
|
package/types/types.d.ts
CHANGED
|
@@ -204,7 +204,7 @@ export interface ExcalidrawProps {
|
|
|
204
204
|
onBeforeTextSubmit?: (textElement: ExcalidrawTextElement, textToSubmit: string, originalText: string, isDeleted: boolean) => [string, string, string];
|
|
205
205
|
generateIdForFile?: (file: File) => string | Promise<string>;
|
|
206
206
|
onThemeChange?: (newTheme: string) => void;
|
|
207
|
-
onLinkOpen?: (
|
|
207
|
+
onLinkOpen?: (element: NonDeletedExcalidrawElement) => void;
|
|
208
208
|
onLinkHover?: (element: NonDeletedExcalidrawElement, event: React.PointerEvent<HTMLCanvasElement>) => void;
|
|
209
209
|
}
|
|
210
210
|
export declare type SceneData = {
|