@zsviczian/excalidraw 0.11.0-obsidian-24 → 0.11.0-obsidian-25
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
|
@@ -46,6 +46,7 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
46
46
|
x: number;
|
|
47
47
|
y: number;
|
|
48
48
|
} | null;
|
|
49
|
+
allowMobileMode: boolean;
|
|
49
50
|
constructor(props: AppProps);
|
|
50
51
|
private renderCanvas;
|
|
51
52
|
render(): JSX.Element;
|
|
@@ -96,6 +97,7 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
96
97
|
restoreFileFromShare: () => Promise<void>;
|
|
97
98
|
/** adds supplied files to existing files in the appState */
|
|
98
99
|
addFiles: ExcalidrawImperativeAPI["addFiles"];
|
|
100
|
+
setMobileModeAllowed: ExcalidrawImperativeAPI["setMobileModeAllowed"];
|
|
99
101
|
setLocalFont: ExcalidrawImperativeAPI["setLocalFont"];
|
|
100
102
|
selectElements: ExcalidrawImperativeAPI["selectElements"];
|
|
101
103
|
bringToFront: ExcalidrawImperativeAPI["bringToFront"];
|
package/types/types.d.ts
CHANGED
|
@@ -384,6 +384,7 @@ export declare type ExcalidrawImperativeAPI = {
|
|
|
384
384
|
sendToBack: (elements: readonly ExcalidrawElement[]) => void;
|
|
385
385
|
bringToFront: (elements: readonly ExcalidrawElement[]) => void;
|
|
386
386
|
restore: InstanceType<typeof App>["restore"];
|
|
387
|
+
setMobileModeAllowed: (allow: boolean) => void;
|
|
387
388
|
setActiveTool: InstanceType<typeof App>["setActiveTool"];
|
|
388
389
|
setCursor: InstanceType<typeof App>["setCursor"];
|
|
389
390
|
resetCursor: InstanceType<typeof App>["resetCursor"];
|