@zsviczian/excalidraw 0.10.0-obsidian-28 → 0.10.0-obsidian-29
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
|
@@ -72,6 +72,7 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
72
72
|
scrollToContent: (target?: ExcalidrawElement | readonly ExcalidrawElement[]) => void;
|
|
73
73
|
zoomToFit: (target?: readonly ExcalidrawElement[], maxZoom?: number, margin?: number) => void;
|
|
74
74
|
handleBindTextResize: (containerElements: NonDeletedExcalidrawElement[]) => void;
|
|
75
|
+
updateContainerSize: (containers: NonDeletedExcalidrawElement[]) => void;
|
|
75
76
|
clearToast: () => void;
|
|
76
77
|
setToastMessage: (toastMessage: string) => void;
|
|
77
78
|
restoreFileFromShare: () => Promise<void>;
|
package/types/types.d.ts
CHANGED
|
@@ -327,6 +327,7 @@ export declare type ExcalidrawImperativeAPI = {
|
|
|
327
327
|
setToastMessage: InstanceType<typeof App>["setToastMessage"];
|
|
328
328
|
addFiles: (data: BinaryFileData[]) => void;
|
|
329
329
|
handleBindTextResize: InstanceType<typeof App>["handleBindTextResize"];
|
|
330
|
+
updateContainerSize: InstanceType<typeof App>["updateContainerSize"];
|
|
330
331
|
readyPromise: ResolvablePromise<ExcalidrawImperativeAPI>;
|
|
331
332
|
ready: true;
|
|
332
333
|
id: string;
|