@excalidraw/excalidraw 0.12.0-57cc4b6 → 0.12.0-58845e4
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/dist/excalidraw-assets/locales/de-DE-json-b972f335652b31abc478.js +1 -0
- package/dist/excalidraw-assets/locales/fr-FR-json-d53486b6942cd134938f.js +1 -0
- package/dist/excalidraw-assets/locales/gl-ES-json-24b9a50f57184ae44f99.js +1 -0
- package/dist/excalidraw-assets/locales/hi-IN-json-9af974be0987a846db82.js +1 -0
- package/dist/excalidraw-assets/locales/id-ID-json-acdf1f60176cd026af64.js +1 -0
- package/dist/excalidraw-assets/locales/mr-IN-json-3295641c432b154ab60f.js +1 -0
- package/dist/excalidraw-assets/locales/ro-RO-json-79dbe0225dfe06a010a6.js +1 -0
- package/dist/excalidraw-assets/locales/sk-SK-json-bd7dbe4c1e42c016fcb5.js +1 -0
- package/dist/excalidraw-assets/locales/tr-TR-json-75f46a2579a01cf32ba7.js +1 -0
- package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js +2 -0
- package/dist/excalidraw-assets/vendor-52b1f3361986b6c6a4fe.js.LICENSE.txt +12 -0
- package/dist/excalidraw-assets-dev/locales/de-DE-json-2d48c0ec0901cee81272.js +22 -0
- package/dist/excalidraw-assets-dev/locales/fr-FR-json-e4bbc872fed09a689b27.js +22 -0
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-4ab7103bd7905741cf7e.js +22 -0
- package/dist/excalidraw-assets-dev/locales/hi-IN-json-3aba9d37f6dae9ca2445.js +22 -0
- package/dist/excalidraw-assets-dev/locales/id-ID-json-6d9b771568900ad6f055.js +22 -0
- package/dist/excalidraw-assets-dev/locales/mr-IN-json-d28b9664c21ee08d79eb.js +22 -0
- package/dist/excalidraw-assets-dev/locales/ro-RO-json-9ac079b4af3b20377160.js +22 -0
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-03a80aeb3e09f77b1be6.js +22 -0
- package/dist/excalidraw-assets-dev/locales/tr-TR-json-30a4d84bda3152292dbe.js +22 -0
- package/dist/excalidraw.development.js +18 -29
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +2 -9
- package/package.json +6 -6
- package/types/actions/actionAlign.d.ts +6 -6
- package/types/actions/actionCanvas.d.ts +7 -7
- package/types/actions/actionDeleteSelected.d.ts +1 -1
- package/types/actions/actionDistribute.d.ts +2 -2
- package/types/actions/actionDuplicateSelection.d.ts +1 -1
- package/types/actions/actionExport.d.ts +8 -8
- package/types/actions/actionFinalize.d.ts +1 -1
- package/types/actions/actionGroup.d.ts +2 -2
- package/types/actions/actionMenu.d.ts +3 -3
- package/types/actions/actionNavigate.d.ts +1 -2
- package/types/actions/actionProperties.d.ts +13 -13
- package/types/actions/actionZindex.d.ts +4 -4
- package/types/analytics.d.ts +1 -1
- package/types/clients.d.ts +1 -1
- package/types/components/ActiveFile.d.ts +0 -1
- package/types/components/ButtonIconSelect.d.ts +0 -1
- package/types/components/Card.d.ts +1 -0
- package/types/components/CheckboxItem.d.ts +1 -0
- package/types/components/ClearCanvas.d.ts +0 -1
- package/types/components/CollabButton.d.ts +0 -1
- package/types/components/ColorPicker.d.ts +0 -1
- package/types/components/ConfirmDialog.d.ts +0 -1
- package/types/components/DarkModeToggle.d.ts +0 -1
- package/types/components/ErrorDialog.d.ts +0 -1
- package/types/components/HelpDialog.d.ts +0 -1
- package/types/components/HelpIcon.d.ts +0 -1
- package/types/components/HintViewer.d.ts +0 -1
- package/types/components/IconPicker.d.ts +0 -1
- package/types/components/ImageExportDialog.d.ts +0 -1
- package/types/components/JSONExportDialog.d.ts +0 -1
- package/types/components/LibraryMenu.d.ts +0 -1
- package/types/components/LibraryUnit.d.ts +0 -1
- package/types/components/LockButton.d.ts +0 -1
- package/types/components/Modal.d.ts +2 -2
- package/types/components/PenModeButton.d.ts +0 -1
- package/types/components/ProjectName.d.ts +0 -1
- package/types/components/PublishLibrary.d.ts +0 -1
- package/types/components/Section.d.ts +4 -5
- package/types/components/SidebarLockButton.d.ts +0 -1
- package/types/components/SingleLibraryItem.d.ts +0 -1
- package/types/components/Spinner.d.ts +0 -1
- package/types/components/Toast.d.ts +0 -1
- package/types/data/blob.d.ts +4 -4
- package/types/data/json.d.ts +1 -1
- package/types/element/Hyperlink.d.ts +1 -1
- package/types/element/binding.d.ts +3 -3
- package/types/element/dragElements.d.ts +1 -1
- package/types/element/mutateElement.d.ts +1 -1
- package/types/element/textElement.d.ts +1 -1
- package/types/element/typeChecks.d.ts +3 -3
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{de-DE-json-a232bf6caee520d87426.d.ts → de-DE-json-b972f335652b31abc478.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{fr-FR-json-f94e85e6a2e45edfb7a1.d.ts → fr-FR-json-d53486b6942cd134938f.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{gl-ES-json-98ec55ba982debdf67db.d.ts → gl-ES-json-24b9a50f57184ae44f99.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hi-IN-json-38796bea6fd45f65b2de.d.ts → hi-IN-json-9af974be0987a846db82.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{id-ID-json-f27fe10e9bc5e2ddeeb7.d.ts → id-ID-json-acdf1f60176cd026af64.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{mr-IN-json-0f52b0737f169f012c25.d.ts → mr-IN-json-3295641c432b154ab60f.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{ro-RO-json-4007d43722cf2d6b184e.d.ts → ro-RO-json-79dbe0225dfe06a010a6.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{sk-SK-json-8d552d584694cc87dcf6.d.ts → sk-SK-json-bd7dbe4c1e42c016fcb5.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/locales/{tr-TR-json-4aa6e3ed1ccebaaa06b5.d.ts → tr-TR-json-75f46a2579a01cf32ba7.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-a9598c709179a54ea2cd.d.ts → vendor-52b1f3361986b6c6a4fe.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{de-DE-json-d21d9ffe46d5e41ba95a.d.ts → de-DE-json-2d48c0ec0901cee81272.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{fr-FR-json-1e6cf536903ec6ed4747.d.ts → fr-FR-json-e4bbc872fed09a689b27.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{gl-ES-json-6ff11edae03d1b5fd04f.d.ts → gl-ES-json-4ab7103bd7905741cf7e.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{hi-IN-json-d6c9379a32ee84926a4d.d.ts → hi-IN-json-3aba9d37f6dae9ca2445.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{id-ID-json-4730b416209ed589e8c6.d.ts → id-ID-json-6d9b771568900ad6f055.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{mr-IN-json-5f598fe62605825bc9a2.d.ts → mr-IN-json-d28b9664c21ee08d79eb.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{ro-RO-json-a22375bf4159c7100363.d.ts → ro-RO-json-9ac079b4af3b20377160.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{sk-SK-json-92cd256e9ce72d698f24.d.ts → sk-SK-json-03a80aeb3e09f77b1be6.d.ts} +0 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/locales/{tr-TR-json-0ab39656399bc8670e04.d.ts → tr-TR-json-30a4d84bda3152292dbe.d.ts} +0 -0
- package/types/packages/excalidraw/example/App.d.ts +0 -1
- package/types/renderer/renderElement.d.ts +1 -1
- package/types/shapes.d.ts +0 -1
- package/types/utils.d.ts +6 -6
- package/dist/excalidraw-assets/locales/de-DE-json-a232bf6caee520d87426.js +0 -1
- package/dist/excalidraw-assets/locales/fr-FR-json-f94e85e6a2e45edfb7a1.js +0 -1
- package/dist/excalidraw-assets/locales/gl-ES-json-98ec55ba982debdf67db.js +0 -1
- package/dist/excalidraw-assets/locales/hi-IN-json-38796bea6fd45f65b2de.js +0 -1
- package/dist/excalidraw-assets/locales/id-ID-json-f27fe10e9bc5e2ddeeb7.js +0 -1
- package/dist/excalidraw-assets/locales/mr-IN-json-0f52b0737f169f012c25.js +0 -1
- package/dist/excalidraw-assets/locales/ro-RO-json-4007d43722cf2d6b184e.js +0 -1
- package/dist/excalidraw-assets/locales/sk-SK-json-8d552d584694cc87dcf6.js +0 -1
- package/dist/excalidraw-assets/locales/tr-TR-json-4aa6e3ed1ccebaaa06b5.js +0 -1
- package/dist/excalidraw-assets/vendor-a9598c709179a54ea2cd.js +0 -2
- package/dist/excalidraw-assets/vendor-a9598c709179a54ea2cd.js.LICENSE.txt +0 -14
- package/dist/excalidraw-assets-dev/locales/de-DE-json-d21d9ffe46d5e41ba95a.js +0 -22
- package/dist/excalidraw-assets-dev/locales/fr-FR-json-1e6cf536903ec6ed4747.js +0 -22
- package/dist/excalidraw-assets-dev/locales/gl-ES-json-6ff11edae03d1b5fd04f.js +0 -22
- package/dist/excalidraw-assets-dev/locales/hi-IN-json-d6c9379a32ee84926a4d.js +0 -22
- package/dist/excalidraw-assets-dev/locales/id-ID-json-4730b416209ed589e8c6.js +0 -22
- package/dist/excalidraw-assets-dev/locales/mr-IN-json-5f598fe62605825bc9a2.js +0 -22
- package/dist/excalidraw-assets-dev/locales/ro-RO-json-a22375bf4159c7100363.js +0 -22
- package/dist/excalidraw-assets-dev/locales/sk-SK-json-92cd256e9ce72d698f24.js +0 -22
- package/dist/excalidraw-assets-dev/locales/tr-TR-json-0ab39656399bc8670e04.js +0 -22
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
object-assign
|
|
3
|
-
(c) Sindre Sorhus
|
|
4
|
-
@license MIT
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
8
|
-
|
|
9
1
|
/**
|
|
10
2
|
* @license
|
|
11
3
|
* Lodash <https://lodash.com/>
|
|
@@ -15,7 +7,8 @@ object-assign
|
|
|
15
7
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
16
8
|
*/
|
|
17
9
|
|
|
18
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* @license React
|
|
19
12
|
* react-jsx-runtime.production.min.js
|
|
20
13
|
*
|
|
21
14
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@excalidraw/excalidraw",
|
|
3
|
-
"version": "0.12.0-
|
|
3
|
+
"version": "0.12.0-58845e4",
|
|
4
4
|
"main": "main.js",
|
|
5
5
|
"types": "types/packages/excalidraw/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@babel/core": "7.18.9",
|
|
48
|
-
"@babel/plugin-transform-arrow-functions": "7.
|
|
48
|
+
"@babel/plugin-transform-arrow-functions": "7.18.6",
|
|
49
49
|
"@babel/plugin-transform-async-to-generator": "7.18.6",
|
|
50
|
-
"@babel/plugin-transform-runtime": "7.
|
|
50
|
+
"@babel/plugin-transform-runtime": "7.18.9",
|
|
51
51
|
"@babel/plugin-transform-typescript": "7.18.8",
|
|
52
52
|
"@babel/preset-env": "7.18.6",
|
|
53
53
|
"@babel/preset-react": "7.18.6",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"css-loader": "6.7.1",
|
|
60
60
|
"dotenv": "16.0.1",
|
|
61
61
|
"mini-css-extract-plugin": "2.6.1",
|
|
62
|
-
"postcss-loader": "
|
|
63
|
-
"sass-loader": "
|
|
62
|
+
"postcss-loader": "7.0.1",
|
|
63
|
+
"sass-loader": "13.0.2",
|
|
64
64
|
"terser-webpack-plugin": "5.3.3",
|
|
65
65
|
"ts-loader": "9.3.1",
|
|
66
|
-
"typescript": "4.
|
|
66
|
+
"typescript": "4.7.4",
|
|
67
67
|
"webpack": "5.73.0",
|
|
68
68
|
"webpack-bundle-analyzer": "4.5.0",
|
|
69
69
|
"webpack-cli": "4.10.0",
|
|
@@ -12,7 +12,7 @@ export declare const actionAlignTop: {
|
|
|
12
12
|
commitToHistory: true;
|
|
13
13
|
};
|
|
14
14
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
15
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
15
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
16
16
|
} & {
|
|
17
17
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
18
18
|
};
|
|
@@ -27,7 +27,7 @@ export declare const actionAlignBottom: {
|
|
|
27
27
|
commitToHistory: true;
|
|
28
28
|
};
|
|
29
29
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
30
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
30
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
31
31
|
} & {
|
|
32
32
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
33
33
|
};
|
|
@@ -42,7 +42,7 @@ export declare const actionAlignLeft: {
|
|
|
42
42
|
commitToHistory: true;
|
|
43
43
|
};
|
|
44
44
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
45
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
45
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
46
46
|
} & {
|
|
47
47
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
48
48
|
};
|
|
@@ -57,7 +57,7 @@ export declare const actionAlignRight: {
|
|
|
57
57
|
commitToHistory: true;
|
|
58
58
|
};
|
|
59
59
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
60
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
60
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
61
61
|
} & {
|
|
62
62
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
63
63
|
};
|
|
@@ -71,7 +71,7 @@ export declare const actionAlignVerticallyCentered: {
|
|
|
71
71
|
elements: ExcalidrawElement[];
|
|
72
72
|
commitToHistory: true;
|
|
73
73
|
};
|
|
74
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
74
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
75
75
|
} & {
|
|
76
76
|
keyTest?: undefined;
|
|
77
77
|
};
|
|
@@ -85,7 +85,7 @@ export declare const actionAlignHorizontallyCentered: {
|
|
|
85
85
|
elements: ExcalidrawElement[];
|
|
86
86
|
commitToHistory: true;
|
|
87
87
|
};
|
|
88
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
88
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
89
89
|
} & {
|
|
90
90
|
keyTest?: undefined;
|
|
91
91
|
};
|
|
@@ -8,7 +8,7 @@ export declare const actionChangeViewBackgroundColor: {
|
|
|
8
8
|
appState: any;
|
|
9
9
|
commitToHistory: boolean;
|
|
10
10
|
};
|
|
11
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
11
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
12
12
|
} & {
|
|
13
13
|
keyTest?: undefined;
|
|
14
14
|
};
|
|
@@ -116,7 +116,7 @@ export declare const actionClearCanvas: {
|
|
|
116
116
|
};
|
|
117
117
|
commitToHistory: true;
|
|
118
118
|
};
|
|
119
|
-
PanelComponent: ({ updateData }: import("
|
|
119
|
+
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
120
120
|
} & {
|
|
121
121
|
keyTest?: undefined;
|
|
122
122
|
};
|
|
@@ -226,7 +226,7 @@ export declare const actionZoomIn: {
|
|
|
226
226
|
};
|
|
227
227
|
commitToHistory: false;
|
|
228
228
|
};
|
|
229
|
-
PanelComponent: ({ updateData }: import("
|
|
229
|
+
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
230
230
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
231
231
|
} & {
|
|
232
232
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -337,7 +337,7 @@ export declare const actionZoomOut: {
|
|
|
337
337
|
};
|
|
338
338
|
commitToHistory: false;
|
|
339
339
|
};
|
|
340
|
-
PanelComponent: ({ updateData }: import("
|
|
340
|
+
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
341
341
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
342
342
|
} & {
|
|
343
343
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -448,7 +448,7 @@ export declare const actionResetZoom: {
|
|
|
448
448
|
};
|
|
449
449
|
commitToHistory: false;
|
|
450
450
|
};
|
|
451
|
-
PanelComponent: ({ updateData, appState }: import("
|
|
451
|
+
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
|
|
452
452
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
453
453
|
} & {
|
|
454
454
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -779,7 +779,7 @@ export declare const actionToggleTheme: {
|
|
|
779
779
|
};
|
|
780
780
|
commitToHistory: false;
|
|
781
781
|
};
|
|
782
|
-
PanelComponent: ({ appState, updateData }: import("
|
|
782
|
+
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
783
783
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
784
784
|
} & {
|
|
785
785
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -887,7 +887,7 @@ export declare const actionErase: {
|
|
|
887
887
|
commitToHistory: true;
|
|
888
888
|
};
|
|
889
889
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
890
|
-
PanelComponent: ({ elements, appState, updateData, data }: import("
|
|
890
|
+
PanelComponent: ({ elements, appState, updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
|
|
891
891
|
} & {
|
|
892
892
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
893
893
|
};
|
|
@@ -329,7 +329,7 @@ export declare const actionDeleteSelected: {
|
|
|
329
329
|
};
|
|
330
330
|
contextItemLabel: string;
|
|
331
331
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
332
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
332
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
333
333
|
} & {
|
|
334
334
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
335
335
|
};
|
|
@@ -12,7 +12,7 @@ export declare const distributeHorizontally: {
|
|
|
12
12
|
commitToHistory: true;
|
|
13
13
|
};
|
|
14
14
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
15
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
15
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
16
16
|
} & {
|
|
17
17
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
18
18
|
};
|
|
@@ -27,7 +27,7 @@ export declare const distributeVertically: {
|
|
|
27
27
|
commitToHistory: true;
|
|
28
28
|
};
|
|
29
29
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
30
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
30
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
31
31
|
} & {
|
|
32
32
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
33
33
|
};
|
|
@@ -16,7 +16,7 @@ export declare const actionDuplicateSelection: {
|
|
|
16
16
|
};
|
|
17
17
|
contextItemLabel: string;
|
|
18
18
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
19
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
19
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
20
20
|
} & {
|
|
21
21
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
22
22
|
};
|
|
@@ -104,7 +104,7 @@ export declare const actionChangeProjectName: {
|
|
|
104
104
|
};
|
|
105
105
|
commitToHistory: false;
|
|
106
106
|
};
|
|
107
|
-
PanelComponent: ({ appState, updateData, appProps }: import("
|
|
107
|
+
PanelComponent: ({ appState, updateData, appProps }: import("./types").PanelComponentProps) => JSX.Element;
|
|
108
108
|
} & {
|
|
109
109
|
keyTest?: undefined;
|
|
110
110
|
};
|
|
@@ -215,7 +215,7 @@ export declare const actionChangeExportScale: {
|
|
|
215
215
|
};
|
|
216
216
|
commitToHistory: false;
|
|
217
217
|
};
|
|
218
|
-
PanelComponent: ({ elements: allElements, appState, updateData }: import("
|
|
218
|
+
PanelComponent: ({ elements: allElements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
219
219
|
} & {
|
|
220
220
|
keyTest?: undefined;
|
|
221
221
|
};
|
|
@@ -326,7 +326,7 @@ export declare const actionChangeExportBackground: {
|
|
|
326
326
|
};
|
|
327
327
|
commitToHistory: false;
|
|
328
328
|
};
|
|
329
|
-
PanelComponent: ({ appState, updateData }: import("
|
|
329
|
+
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
330
330
|
} & {
|
|
331
331
|
keyTest?: undefined;
|
|
332
332
|
};
|
|
@@ -437,7 +437,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
437
437
|
};
|
|
438
438
|
commitToHistory: false;
|
|
439
439
|
};
|
|
440
|
-
PanelComponent: ({ appState, updateData }: import("
|
|
440
|
+
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
441
441
|
} & {
|
|
442
442
|
keyTest?: undefined;
|
|
443
443
|
};
|
|
@@ -549,7 +549,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
549
549
|
appState?: undefined;
|
|
550
550
|
}>;
|
|
551
551
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
552
|
-
PanelComponent: ({ updateData, appState }: import("
|
|
552
|
+
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
|
|
553
553
|
} & {
|
|
554
554
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
555
555
|
};
|
|
@@ -663,7 +663,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
663
663
|
appState?: undefined;
|
|
664
664
|
}>;
|
|
665
665
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
666
|
-
PanelComponent: ({ updateData }: import("
|
|
666
|
+
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
667
667
|
} & {
|
|
668
668
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
669
669
|
};
|
|
@@ -874,7 +874,7 @@ export declare const actionLoadScene: {
|
|
|
874
874
|
commitToHistory: false;
|
|
875
875
|
}>;
|
|
876
876
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
877
|
-
PanelComponent: ({ updateData, appState }: import("
|
|
877
|
+
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
|
|
878
878
|
} & {
|
|
879
879
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
880
880
|
};
|
|
@@ -985,7 +985,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
985
985
|
};
|
|
986
986
|
commitToHistory: false;
|
|
987
987
|
};
|
|
988
|
-
PanelComponent: ({ appState, updateData }: import("
|
|
988
|
+
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
989
989
|
} & {
|
|
990
990
|
keyTest?: undefined;
|
|
991
991
|
};
|
|
@@ -208,7 +208,7 @@ export declare const actionFinalize: {
|
|
|
208
208
|
commitToHistory: boolean;
|
|
209
209
|
};
|
|
210
210
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean;
|
|
211
|
-
PanelComponent: ({ appState, updateData, data }: import("
|
|
211
|
+
PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
|
|
212
212
|
} & {
|
|
213
213
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean) | undefined;
|
|
214
214
|
};
|
|
@@ -18,7 +18,7 @@ export declare const actionGroup: {
|
|
|
18
18
|
contextItemLabel: string;
|
|
19
19
|
contextItemPredicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
|
|
20
20
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
21
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
21
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
22
22
|
} & {
|
|
23
23
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
24
24
|
};
|
|
@@ -39,7 +39,7 @@ export declare const actionUngroup: {
|
|
|
39
39
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
40
40
|
contextItemLabel: string;
|
|
41
41
|
contextItemPredicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
|
|
42
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
42
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
43
43
|
} & {
|
|
44
44
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
45
45
|
};
|
|
@@ -105,7 +105,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
105
105
|
};
|
|
106
106
|
commitToHistory: false;
|
|
107
107
|
};
|
|
108
|
-
PanelComponent: ({ appState, updateData }: import("
|
|
108
|
+
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
109
109
|
} & {
|
|
110
110
|
keyTest?: undefined;
|
|
111
111
|
};
|
|
@@ -215,7 +215,7 @@ export declare const actionToggleEditMenu: {
|
|
|
215
215
|
};
|
|
216
216
|
commitToHistory: false;
|
|
217
217
|
};
|
|
218
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
218
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
219
219
|
} & {
|
|
220
220
|
keyTest?: undefined;
|
|
221
221
|
};
|
|
@@ -339,7 +339,7 @@ export declare const actionShortcuts: {
|
|
|
339
339
|
};
|
|
340
340
|
commitToHistory: false;
|
|
341
341
|
};
|
|
342
|
-
PanelComponent: ({ updateData }: import("
|
|
342
|
+
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
343
343
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
344
344
|
} & {
|
|
345
345
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const actionGoToCollaborator: {
|
|
3
2
|
name: "goToCollaborator";
|
|
4
3
|
trackEvent: {
|
|
@@ -8,7 +7,7 @@ export declare const actionGoToCollaborator: {
|
|
|
8
7
|
appState: Readonly<import("../types").AppState>;
|
|
9
8
|
commitToHistory: false;
|
|
10
9
|
};
|
|
11
|
-
PanelComponent: ({ appState, updateData, data }: import("
|
|
10
|
+
PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
|
|
12
11
|
} & {
|
|
13
12
|
keyTest?: undefined;
|
|
14
13
|
};
|
|
@@ -5,7 +5,7 @@ export declare const actionChangeStrokeColor: {
|
|
|
5
5
|
name: "changeStrokeColor";
|
|
6
6
|
trackEvent: false;
|
|
7
7
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
8
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
8
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
9
9
|
} & {
|
|
10
10
|
keyTest?: undefined;
|
|
11
11
|
};
|
|
@@ -13,7 +13,7 @@ export declare const actionChangeBackgroundColor: {
|
|
|
13
13
|
name: "changeBackgroundColor";
|
|
14
14
|
trackEvent: false;
|
|
15
15
|
perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
16
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
16
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
17
17
|
} & {
|
|
18
18
|
keyTest?: undefined;
|
|
19
19
|
};
|
|
@@ -122,7 +122,7 @@ export declare const actionChangeFillStyle: {
|
|
|
122
122
|
};
|
|
123
123
|
commitToHistory: true;
|
|
124
124
|
};
|
|
125
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
125
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
126
126
|
} & {
|
|
127
127
|
keyTest?: undefined;
|
|
128
128
|
};
|
|
@@ -231,7 +231,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
231
231
|
};
|
|
232
232
|
commitToHistory: true;
|
|
233
233
|
};
|
|
234
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
234
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
235
235
|
} & {
|
|
236
236
|
keyTest?: undefined;
|
|
237
237
|
};
|
|
@@ -340,7 +340,7 @@ export declare const actionChangeSloppiness: {
|
|
|
340
340
|
};
|
|
341
341
|
commitToHistory: true;
|
|
342
342
|
};
|
|
343
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
343
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
344
344
|
} & {
|
|
345
345
|
keyTest?: undefined;
|
|
346
346
|
};
|
|
@@ -449,7 +449,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
449
449
|
};
|
|
450
450
|
commitToHistory: true;
|
|
451
451
|
};
|
|
452
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
452
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
453
453
|
} & {
|
|
454
454
|
keyTest?: undefined;
|
|
455
455
|
};
|
|
@@ -558,7 +558,7 @@ export declare const actionChangeOpacity: {
|
|
|
558
558
|
};
|
|
559
559
|
commitToHistory: true;
|
|
560
560
|
};
|
|
561
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
561
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
562
562
|
} & {
|
|
563
563
|
keyTest?: undefined;
|
|
564
564
|
};
|
|
@@ -667,7 +667,7 @@ export declare const actionChangeFontSize: {
|
|
|
667
667
|
};
|
|
668
668
|
commitToHistory: boolean;
|
|
669
669
|
};
|
|
670
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
670
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
671
671
|
} & {
|
|
672
672
|
keyTest?: undefined;
|
|
673
673
|
};
|
|
@@ -994,7 +994,7 @@ export declare const actionChangeFontFamily: {
|
|
|
994
994
|
};
|
|
995
995
|
commitToHistory: true;
|
|
996
996
|
};
|
|
997
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
997
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
998
998
|
} & {
|
|
999
999
|
keyTest?: undefined;
|
|
1000
1000
|
};
|
|
@@ -1103,7 +1103,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1103
1103
|
};
|
|
1104
1104
|
commitToHistory: true;
|
|
1105
1105
|
};
|
|
1106
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
1106
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1107
1107
|
} & {
|
|
1108
1108
|
keyTest?: undefined;
|
|
1109
1109
|
};
|
|
@@ -1214,7 +1214,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
1214
1214
|
};
|
|
1215
1215
|
commitToHistory: true;
|
|
1216
1216
|
};
|
|
1217
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
1217
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1218
1218
|
} & {
|
|
1219
1219
|
keyTest?: undefined;
|
|
1220
1220
|
};
|
|
@@ -1323,7 +1323,7 @@ export declare const actionChangeSharpness: {
|
|
|
1323
1323
|
};
|
|
1324
1324
|
commitToHistory: true;
|
|
1325
1325
|
};
|
|
1326
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
1326
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1327
1327
|
} & {
|
|
1328
1328
|
keyTest?: undefined;
|
|
1329
1329
|
};
|
|
@@ -1435,7 +1435,7 @@ export declare const actionChangeArrowhead: {
|
|
|
1435
1435
|
};
|
|
1436
1436
|
commitToHistory: true;
|
|
1437
1437
|
};
|
|
1438
|
-
PanelComponent: ({ elements, appState, updateData }: import("
|
|
1438
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
1439
1439
|
} & {
|
|
1440
1440
|
keyTest?: undefined;
|
|
1441
1441
|
};
|
|
@@ -12,7 +12,7 @@ export declare const actionSendBackward: {
|
|
|
12
12
|
contextItemLabel: string;
|
|
13
13
|
keyPriority: number;
|
|
14
14
|
keyTest: (event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean;
|
|
15
|
-
PanelComponent: ({ updateData, appState }:
|
|
15
|
+
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
|
|
16
16
|
} & {
|
|
17
17
|
keyTest?: ((event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean) | undefined;
|
|
18
18
|
};
|
|
@@ -29,7 +29,7 @@ export declare const actionBringForward: {
|
|
|
29
29
|
contextItemLabel: string;
|
|
30
30
|
keyPriority: number;
|
|
31
31
|
keyTest: (event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean;
|
|
32
|
-
PanelComponent: ({ updateData, appState }:
|
|
32
|
+
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
|
|
33
33
|
} & {
|
|
34
34
|
keyTest?: ((event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean) | undefined;
|
|
35
35
|
};
|
|
@@ -45,7 +45,7 @@ export declare const actionSendToBack: {
|
|
|
45
45
|
};
|
|
46
46
|
contextItemLabel: string;
|
|
47
47
|
keyTest: (event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean;
|
|
48
|
-
PanelComponent: ({ updateData, appState }:
|
|
48
|
+
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
|
|
49
49
|
} & {
|
|
50
50
|
keyTest?: ((event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean) | undefined;
|
|
51
51
|
};
|
|
@@ -61,7 +61,7 @@ export declare const actionBringToFront: {
|
|
|
61
61
|
};
|
|
62
62
|
contextItemLabel: string;
|
|
63
63
|
keyTest: (event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean;
|
|
64
|
-
PanelComponent: ({ updateData, appState }:
|
|
64
|
+
PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
|
|
65
65
|
} & {
|
|
66
66
|
keyTest?: ((event: KeyboardEvent | React.KeyboardEvent<Element>) => boolean) | undefined;
|
|
67
67
|
};
|
package/types/analytics.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const trackEvent: (category: string, action: string, label?: string
|
|
1
|
+
export declare const trackEvent: (category: string, action: string, label?: string, value?: number) => void;
|
package/types/clients.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ export declare const getClientColors: (clientId: string, appState: AppState) =>
|
|
|
3
3
|
background: string;
|
|
4
4
|
stroke: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const getClientInitials: (username?: string | null
|
|
6
|
+
export declare const getClientInitials: (username?: string | null) => string;
|