@excalidraw/excalidraw 0.11.0-5346-c4f5d00 → 0.11.0-5346-59101a1
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@excalidraw/excalidraw",
|
|
3
|
-
"version": "0.11.0-5346-
|
|
3
|
+
"version": "0.11.0-5346-59101a1",
|
|
4
4
|
"main": "main.js",
|
|
5
5
|
"types": "types/packages/excalidraw/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@babel/plugin-transform-async-to-generator": "7.16.0",
|
|
50
50
|
"@babel/plugin-transform-runtime": "7.17.10",
|
|
51
51
|
"@babel/plugin-transform-typescript": "7.16.1",
|
|
52
|
-
"@babel/preset-env": "7.
|
|
52
|
+
"@babel/preset-env": "7.18.6",
|
|
53
53
|
"@babel/preset-react": "7.16.7",
|
|
54
54
|
"@babel/preset-typescript": "7.16.7",
|
|
55
55
|
"autoprefixer": "10.4.7",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"webpack": "5.72.0",
|
|
67
67
|
"webpack-bundle-analyzer": "4.5.0",
|
|
68
68
|
"webpack-cli": "4.9.2",
|
|
69
|
-
"webpack-dev-server": "4.9.
|
|
69
|
+
"webpack-dev-server": "4.9.3",
|
|
70
70
|
"webpack-merge": "5.8.0"
|
|
71
71
|
},
|
|
72
72
|
"bugs": "https://github.com/excalidraw/excalidraw/issues",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FileSystemHandle, supported as nativeFileSystemSupported } from "browser-fs-access";
|
|
2
2
|
declare type FILE_EXTENSION = "gif" | "jpg" | "png" | "excalidraw.png" | "svg" | "excalidraw.svg" | "json" | "excalidraw" | "excalidrawlib";
|
|
3
3
|
export declare const fileOpen: <M extends boolean | undefined = false>(opts: {
|
|
4
4
|
extensions?: FILE_EXTENSION[] | undefined;
|
|
5
5
|
description: string;
|
|
6
6
|
multiple?: M | undefined;
|
|
7
|
-
}) => Promise<M extends false | undefined ?
|
|
7
|
+
}) => Promise<M extends false | undefined ? File : File[]>;
|
|
8
8
|
export declare const fileSave: (blob: Blob, opts: {
|
|
9
9
|
/** supply without the extension */
|
|
10
10
|
name: string;
|
package/types/utils.d.ts
CHANGED
|
@@ -131,3 +131,4 @@ export declare const updateObject: <T extends Record<string, any>>(obj: T, updat
|
|
|
131
131
|
export declare const isPrimitive: (val: any) => boolean;
|
|
132
132
|
export declare const getFrame: () => "top" | "iframe";
|
|
133
133
|
export declare const isPromiseLike: (value: any) => value is Promise<any>;
|
|
134
|
+
export declare const queryFocusableElements: (container: HTMLElement | null) => HTMLElement[];
|