@zsviczian/excalidraw 0.10.0-obsidian-38 → 0.10.0-obsidian-39
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
|
@@ -80,6 +80,7 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
80
80
|
/** adds supplied files to existing files in the appState */
|
|
81
81
|
addFiles: ExcalidrawImperativeAPI["addFiles"];
|
|
82
82
|
setLocalFont: ExcalidrawImperativeAPI["setLocalFont"];
|
|
83
|
+
selectElements: ExcalidrawImperativeAPI["selectElements"];
|
|
83
84
|
bringToFront: ExcalidrawImperativeAPI["bringToFront"];
|
|
84
85
|
bringForward: ExcalidrawImperativeAPI["bringForward"];
|
|
85
86
|
sendToBack: ExcalidrawImperativeAPI["sendToBack"];
|
package/types/types.d.ts
CHANGED
|
@@ -334,9 +334,10 @@ export declare type ExcalidrawImperativeAPI = {
|
|
|
334
334
|
ready: true;
|
|
335
335
|
id: string;
|
|
336
336
|
setLocalFont: (showOnPanel: boolean) => void;
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
337
|
+
selectElements: (elements: readonly ExcalidrawElement[]) => void;
|
|
338
|
+
sendBackward: (elements: readonly ExcalidrawElement[]) => void;
|
|
339
|
+
bringForward: (elements: readonly ExcalidrawElement[]) => void;
|
|
340
|
+
sendToBack: (elements: readonly ExcalidrawElement[]) => void;
|
|
341
|
+
bringToFront: (elements: readonly ExcalidrawElement[]) => void;
|
|
341
342
|
};
|
|
342
343
|
export {};
|