@excalidraw/math 0.18.0-4e758db → 0.18.0-4f68076
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/dev/index.js +8 -2
- package/dist/dev/index.js.map +2 -2
- package/dist/prod/index.js +1 -1
- package/dist/types/common/src/constants.d.ts +10 -0
- package/dist/types/common/src/utils.d.ts +5 -0
- package/dist/types/element/src/binding.d.ts +13 -7
- package/dist/types/element/src/collision.d.ts +14 -5
- package/dist/types/element/src/duplicate.d.ts +60 -0
- package/dist/types/element/src/index.d.ts +1 -0
- package/dist/types/element/src/listMarker.d.ts +34 -0
- package/dist/types/element/src/newElement.d.ts +15 -1
- package/dist/types/element/src/renderElement.d.ts +21 -4
- package/dist/types/element/src/shape.d.ts +15 -1
- package/dist/types/element/src/textElement.d.ts +7 -0
- package/dist/types/element/src/utils.d.ts +8 -1
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +30 -3
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +20 -2
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +70 -7
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +20 -2
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +30 -3
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +13 -1
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +20 -2
- package/dist/types/excalidraw/actions/actionExport.d.ts +20 -2
- package/dist/types/excalidraw/actions/actionFrame.d.ts +30 -3
- package/dist/types/excalidraw/actions/actionGroup.d.ts +20 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionLink.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionMenu.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionProperties.d.ts +20 -2
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionStyles.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionToggleShowHints.d.ts +197 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +10 -1
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -1
- package/dist/types/excalidraw/actions/index.d.ts +1 -0
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +2 -0
- package/dist/types/excalidraw/components/App.arrowText.d.ts +5 -39
- package/dist/types/excalidraw/components/App.clipboard.d.ts +31 -0
- package/dist/types/excalidraw/components/App.d.ts +82 -262
- package/dist/types/excalidraw/components/App.duplicate.d.ts +101 -0
- package/dist/types/excalidraw/components/App.modifiers.d.ts +38 -0
- package/dist/types/excalidraw/components/App.pan.d.ts +62 -0
- package/dist/types/excalidraw/components/App.selectionTool.d.ts +57 -0
- package/dist/types/excalidraw/components/App.text.d.ts +146 -0
- package/dist/types/excalidraw/components/App.textTool.d.ts +140 -0
- package/dist/types/excalidraw/components/App.viewport.d.ts +41 -1
- package/dist/types/excalidraw/components/App.wheel.d.ts +3 -10
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
- package/dist/types/excalidraw/components/ColorPicker/colorTopPicksDnD.d.ts +11 -0
- package/dist/types/excalidraw/components/FileDropOverlay.d.ts +2 -0
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +4 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +6 -1
- package/dist/types/excalidraw/components/FontPicker/fontTopPicksDnD.d.ts +12 -0
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +6 -2
- package/dist/types/excalidraw/components/LibraryUnit.d.ts +7 -2
- package/dist/types/excalidraw/components/Tooltip.d.ts +15 -1
- package/dist/types/excalidraw/components/TopPicksDnD/TopPicksContextMenu.d.ts +14 -0
- package/dist/types/excalidraw/components/TopPicksDnD/TopPicksTip.d.ts +11 -0
- package/dist/types/excalidraw/components/TopPicksDnD/topPicksDnD.d.ts +58 -0
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -0
- package/dist/types/excalidraw/data/blob.d.ts +20 -2
- package/dist/types/excalidraw/data/json.d.ts +10 -1
- package/dist/types/excalidraw/renderOverrides.d.ts +9 -0
- package/dist/types/excalidraw/scene/Renderer.d.ts +14 -1
- package/dist/types/excalidraw/scene/types.d.ts +2 -1
- package/dist/types/excalidraw/types.d.ts +92 -19
- package/dist/types/excalidraw/viewport.d.ts +23 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +12 -1
- package/package.json +2 -2
- package/dist/types/excalidraw/components/ColorPicker/topPicksDnD.d.ts +0 -31
|
@@ -33,6 +33,7 @@ export declare const actionClearCanvas: {
|
|
|
33
33
|
stickyNoteStroke: readonly string[] | null;
|
|
34
34
|
stickyNoteBackground: readonly string[] | null;
|
|
35
35
|
};
|
|
36
|
+
fontTopPicks: readonly number[] | null;
|
|
36
37
|
activeTool: {
|
|
37
38
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
38
39
|
locked: boolean;
|
|
@@ -89,7 +90,14 @@ export declare const actionClearCanvas: {
|
|
|
89
90
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
90
91
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
91
92
|
} | null;
|
|
92
|
-
|
|
93
|
+
textToolHover: {
|
|
94
|
+
type: "text";
|
|
95
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
96
|
+
} | {
|
|
97
|
+
type: "container";
|
|
98
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
99
|
+
} | {
|
|
100
|
+
type: "arrow";
|
|
93
101
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
94
102
|
anchor: "start" | "end" | "label";
|
|
95
103
|
} | null;
|
|
@@ -124,6 +132,7 @@ export declare const actionClearCanvas: {
|
|
|
124
132
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
125
133
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
126
134
|
bindingPreference: "enabled" | "disabled";
|
|
135
|
+
showHints: boolean;
|
|
127
136
|
inputDevice: import("../types").InputDevice;
|
|
128
137
|
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
129
138
|
preferredSelectionTool: {
|
|
@@ -220,12 +229,20 @@ export declare const actionZoomIn: {
|
|
|
220
229
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
221
230
|
bindingPreference: "enabled" | "disabled";
|
|
222
231
|
isMidpointSnappingEnabled: boolean;
|
|
232
|
+
showHints: boolean;
|
|
223
233
|
inputDevice: import("../types").InputDevice;
|
|
224
234
|
suggestedBinding: {
|
|
225
235
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
226
236
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
227
237
|
} | null;
|
|
228
|
-
|
|
238
|
+
textToolHover: {
|
|
239
|
+
type: "text";
|
|
240
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
241
|
+
} | {
|
|
242
|
+
type: "container";
|
|
243
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
244
|
+
} | {
|
|
245
|
+
type: "arrow";
|
|
229
246
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
230
247
|
anchor: "start" | "end" | "label";
|
|
231
248
|
} | null;
|
|
@@ -366,6 +383,7 @@ export declare const actionZoomIn: {
|
|
|
366
383
|
stickyNoteStroke: readonly string[] | null;
|
|
367
384
|
stickyNoteBackground: readonly string[] | null;
|
|
368
385
|
};
|
|
386
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
369
387
|
};
|
|
370
388
|
captureUpdate: "EVENTUALLY";
|
|
371
389
|
};
|
|
@@ -409,12 +427,20 @@ export declare const actionZoomOut: {
|
|
|
409
427
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
410
428
|
bindingPreference: "enabled" | "disabled";
|
|
411
429
|
isMidpointSnappingEnabled: boolean;
|
|
430
|
+
showHints: boolean;
|
|
412
431
|
inputDevice: import("../types").InputDevice;
|
|
413
432
|
suggestedBinding: {
|
|
414
433
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
415
434
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
416
435
|
} | null;
|
|
417
|
-
|
|
436
|
+
textToolHover: {
|
|
437
|
+
type: "text";
|
|
438
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
439
|
+
} | {
|
|
440
|
+
type: "container";
|
|
441
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
442
|
+
} | {
|
|
443
|
+
type: "arrow";
|
|
418
444
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
419
445
|
anchor: "start" | "end" | "label";
|
|
420
446
|
} | null;
|
|
@@ -555,6 +581,7 @@ export declare const actionZoomOut: {
|
|
|
555
581
|
stickyNoteStroke: readonly string[] | null;
|
|
556
582
|
stickyNoteBackground: readonly string[] | null;
|
|
557
583
|
};
|
|
584
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
558
585
|
};
|
|
559
586
|
captureUpdate: "EVENTUALLY";
|
|
560
587
|
};
|
|
@@ -598,12 +625,20 @@ export declare const actionResetZoom: {
|
|
|
598
625
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
599
626
|
bindingPreference: "enabled" | "disabled";
|
|
600
627
|
isMidpointSnappingEnabled: boolean;
|
|
628
|
+
showHints: boolean;
|
|
601
629
|
inputDevice: import("../types").InputDevice;
|
|
602
630
|
suggestedBinding: {
|
|
603
631
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
604
632
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
605
633
|
} | null;
|
|
606
|
-
|
|
634
|
+
textToolHover: {
|
|
635
|
+
type: "text";
|
|
636
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
637
|
+
} | {
|
|
638
|
+
type: "container";
|
|
639
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
640
|
+
} | {
|
|
641
|
+
type: "arrow";
|
|
607
642
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
608
643
|
anchor: "start" | "end" | "label";
|
|
609
644
|
} | null;
|
|
@@ -744,6 +779,7 @@ export declare const actionResetZoom: {
|
|
|
744
779
|
stickyNoteStroke: readonly string[] | null;
|
|
745
780
|
stickyNoteBackground: readonly string[] | null;
|
|
746
781
|
};
|
|
782
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
747
783
|
};
|
|
748
784
|
captureUpdate: "EVENTUALLY";
|
|
749
785
|
};
|
|
@@ -787,12 +823,20 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
787
823
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
788
824
|
bindingPreference: "enabled" | "disabled";
|
|
789
825
|
isMidpointSnappingEnabled: boolean;
|
|
826
|
+
showHints: boolean;
|
|
790
827
|
inputDevice: import("../types").InputDevice;
|
|
791
828
|
suggestedBinding: {
|
|
792
829
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
793
830
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
794
831
|
} | null;
|
|
795
|
-
|
|
832
|
+
textToolHover: {
|
|
833
|
+
type: "text";
|
|
834
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
835
|
+
} | {
|
|
836
|
+
type: "container";
|
|
837
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
838
|
+
} | {
|
|
839
|
+
type: "arrow";
|
|
796
840
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
797
841
|
anchor: "start" | "end" | "label";
|
|
798
842
|
} | null;
|
|
@@ -933,6 +977,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
933
977
|
stickyNoteStroke: readonly string[] | null;
|
|
934
978
|
stickyNoteBackground: readonly string[] | null;
|
|
935
979
|
};
|
|
980
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
936
981
|
};
|
|
937
982
|
captureUpdate: "EVENTUALLY";
|
|
938
983
|
};
|
|
@@ -975,12 +1020,20 @@ export declare const actionZoomToFitSelection: {
|
|
|
975
1020
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
976
1021
|
bindingPreference: "enabled" | "disabled";
|
|
977
1022
|
isMidpointSnappingEnabled: boolean;
|
|
1023
|
+
showHints: boolean;
|
|
978
1024
|
inputDevice: import("../types").InputDevice;
|
|
979
1025
|
suggestedBinding: {
|
|
980
1026
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
981
1027
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
982
1028
|
} | null;
|
|
983
|
-
|
|
1029
|
+
textToolHover: {
|
|
1030
|
+
type: "text";
|
|
1031
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
1032
|
+
} | {
|
|
1033
|
+
type: "container";
|
|
1034
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
1035
|
+
} | {
|
|
1036
|
+
type: "arrow";
|
|
984
1037
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
985
1038
|
anchor: "start" | "end" | "label";
|
|
986
1039
|
} | null;
|
|
@@ -1121,6 +1174,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1121
1174
|
stickyNoteStroke: readonly string[] | null;
|
|
1122
1175
|
stickyNoteBackground: readonly string[] | null;
|
|
1123
1176
|
};
|
|
1177
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
1124
1178
|
};
|
|
1125
1179
|
captureUpdate: "EVENTUALLY";
|
|
1126
1180
|
};
|
|
@@ -1163,12 +1217,20 @@ export declare const actionZoomToFit: {
|
|
|
1163
1217
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
1164
1218
|
bindingPreference: "enabled" | "disabled";
|
|
1165
1219
|
isMidpointSnappingEnabled: boolean;
|
|
1220
|
+
showHints: boolean;
|
|
1166
1221
|
inputDevice: import("../types").InputDevice;
|
|
1167
1222
|
suggestedBinding: {
|
|
1168
1223
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1169
1224
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1170
1225
|
} | null;
|
|
1171
|
-
|
|
1226
|
+
textToolHover: {
|
|
1227
|
+
type: "text";
|
|
1228
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
1229
|
+
} | {
|
|
1230
|
+
type: "container";
|
|
1231
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
1232
|
+
} | {
|
|
1233
|
+
type: "arrow";
|
|
1172
1234
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
1173
1235
|
anchor: "start" | "end" | "label";
|
|
1174
1236
|
} | null;
|
|
@@ -1309,6 +1371,7 @@ export declare const actionZoomToFit: {
|
|
|
1309
1371
|
stickyNoteStroke: readonly string[] | null;
|
|
1310
1372
|
stickyNoteBackground: readonly string[] | null;
|
|
1311
1373
|
};
|
|
1374
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
1312
1375
|
};
|
|
1313
1376
|
captureUpdate: "EVENTUALLY";
|
|
1314
1377
|
};
|
|
@@ -30,12 +30,20 @@ export declare const actionPaste: {
|
|
|
30
30
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
31
31
|
bindingPreference: "enabled" | "disabled";
|
|
32
32
|
isMidpointSnappingEnabled: boolean;
|
|
33
|
+
showHints: boolean;
|
|
33
34
|
inputDevice: import("../types").InputDevice;
|
|
34
35
|
suggestedBinding: {
|
|
35
36
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
36
37
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
37
38
|
} | null;
|
|
38
|
-
|
|
39
|
+
textToolHover: {
|
|
40
|
+
type: "text";
|
|
41
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
42
|
+
} | {
|
|
43
|
+
type: "container";
|
|
44
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
45
|
+
} | {
|
|
46
|
+
type: "arrow";
|
|
39
47
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
40
48
|
anchor: "start" | "end" | "label";
|
|
41
49
|
} | null;
|
|
@@ -179,6 +187,7 @@ export declare const actionPaste: {
|
|
|
179
187
|
stickyNoteStroke: readonly string[] | null;
|
|
180
188
|
stickyNoteBackground: readonly string[] | null;
|
|
181
189
|
};
|
|
190
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
182
191
|
};
|
|
183
192
|
} | {
|
|
184
193
|
captureUpdate: "EVENTUALLY";
|
|
@@ -253,12 +262,20 @@ export declare const actionCopyAsPng: {
|
|
|
253
262
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
254
263
|
bindingPreference: "enabled" | "disabled";
|
|
255
264
|
isMidpointSnappingEnabled: boolean;
|
|
265
|
+
showHints: boolean;
|
|
256
266
|
inputDevice: import("../types").InputDevice;
|
|
257
267
|
suggestedBinding: {
|
|
258
268
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
259
269
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
260
270
|
} | null;
|
|
261
|
-
|
|
271
|
+
textToolHover: {
|
|
272
|
+
type: "text";
|
|
273
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
274
|
+
} | {
|
|
275
|
+
type: "container";
|
|
276
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
277
|
+
} | {
|
|
278
|
+
type: "arrow";
|
|
262
279
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
263
280
|
anchor: "start" | "end" | "label";
|
|
264
281
|
} | null;
|
|
@@ -402,6 +419,7 @@ export declare const actionCopyAsPng: {
|
|
|
402
419
|
stickyNoteStroke: readonly string[] | null;
|
|
403
420
|
stickyNoteBackground: readonly string[] | null;
|
|
404
421
|
};
|
|
422
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
405
423
|
};
|
|
406
424
|
captureUpdate: "EVENTUALLY";
|
|
407
425
|
}>;
|
|
@@ -31,12 +31,20 @@ export declare const actionToggleCropEditor: {
|
|
|
31
31
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
32
32
|
bindingPreference: "enabled" | "disabled";
|
|
33
33
|
isMidpointSnappingEnabled: boolean;
|
|
34
|
+
showHints: boolean;
|
|
34
35
|
inputDevice: import("../types").InputDevice;
|
|
35
36
|
suggestedBinding: {
|
|
36
37
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
37
38
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
38
39
|
} | null;
|
|
39
|
-
|
|
40
|
+
textToolHover: {
|
|
41
|
+
type: "text";
|
|
42
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
43
|
+
} | {
|
|
44
|
+
type: "container";
|
|
45
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
46
|
+
} | {
|
|
47
|
+
type: "arrow";
|
|
40
48
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
41
49
|
anchor: "start" | "end" | "label";
|
|
42
50
|
} | null;
|
|
@@ -178,6 +186,7 @@ export declare const actionToggleCropEditor: {
|
|
|
178
186
|
stickyNoteStroke: readonly string[] | null;
|
|
179
187
|
stickyNoteBackground: readonly string[] | null;
|
|
180
188
|
};
|
|
189
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
181
190
|
};
|
|
182
191
|
captureUpdate: "IMMEDIATELY";
|
|
183
192
|
};
|
|
@@ -32,12 +32,20 @@ export declare const actionDeleteSelected: {
|
|
|
32
32
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
33
33
|
bindingPreference: "enabled" | "disabled";
|
|
34
34
|
isMidpointSnappingEnabled: boolean;
|
|
35
|
+
showHints: boolean;
|
|
35
36
|
inputDevice: import("../types").InputDevice;
|
|
36
37
|
suggestedBinding: {
|
|
37
38
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
38
39
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
39
40
|
} | null;
|
|
40
|
-
|
|
41
|
+
textToolHover: {
|
|
42
|
+
type: "text";
|
|
43
|
+
elementId: ExcalidrawElement["id"];
|
|
44
|
+
} | {
|
|
45
|
+
type: "container";
|
|
46
|
+
elementId: ExcalidrawElement["id"];
|
|
47
|
+
} | {
|
|
48
|
+
type: "arrow";
|
|
41
49
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
42
50
|
anchor: "start" | "end" | "label";
|
|
43
51
|
} | null;
|
|
@@ -180,6 +188,7 @@ export declare const actionDeleteSelected: {
|
|
|
180
188
|
stickyNoteStroke: readonly string[] | null;
|
|
181
189
|
stickyNoteBackground: readonly string[] | null;
|
|
182
190
|
};
|
|
191
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
183
192
|
};
|
|
184
193
|
captureUpdate: "IMMEDIATELY";
|
|
185
194
|
} | {
|
|
@@ -239,12 +248,20 @@ export declare const actionDeleteSelected: {
|
|
|
239
248
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
240
249
|
bindingPreference: "enabled" | "disabled";
|
|
241
250
|
isMidpointSnappingEnabled: boolean;
|
|
251
|
+
showHints: boolean;
|
|
242
252
|
inputDevice: import("../types").InputDevice;
|
|
243
253
|
suggestedBinding: {
|
|
244
254
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
245
255
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
246
256
|
} | null;
|
|
247
|
-
|
|
257
|
+
textToolHover: {
|
|
258
|
+
type: "text";
|
|
259
|
+
elementId: ExcalidrawElement["id"];
|
|
260
|
+
} | {
|
|
261
|
+
type: "container";
|
|
262
|
+
elementId: ExcalidrawElement["id"];
|
|
263
|
+
} | {
|
|
264
|
+
type: "arrow";
|
|
248
265
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
249
266
|
anchor: "start" | "end" | "label";
|
|
250
267
|
} | null;
|
|
@@ -387,6 +404,7 @@ export declare const actionDeleteSelected: {
|
|
|
387
404
|
stickyNoteStroke: readonly string[] | null;
|
|
388
405
|
stickyNoteBackground: readonly string[] | null;
|
|
389
406
|
};
|
|
407
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
390
408
|
};
|
|
391
409
|
captureUpdate: "IMMEDIATELY";
|
|
392
410
|
} | {
|
|
@@ -418,12 +436,20 @@ export declare const actionDeleteSelected: {
|
|
|
418
436
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
419
437
|
bindingPreference: "enabled" | "disabled";
|
|
420
438
|
isMidpointSnappingEnabled: boolean;
|
|
439
|
+
showHints: boolean;
|
|
421
440
|
inputDevice: import("../types").InputDevice;
|
|
422
441
|
suggestedBinding: {
|
|
423
442
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
424
443
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
425
444
|
} | null;
|
|
426
|
-
|
|
445
|
+
textToolHover: {
|
|
446
|
+
type: "text";
|
|
447
|
+
elementId: ExcalidrawElement["id"];
|
|
448
|
+
} | {
|
|
449
|
+
type: "container";
|
|
450
|
+
elementId: ExcalidrawElement["id"];
|
|
451
|
+
} | {
|
|
452
|
+
type: "arrow";
|
|
427
453
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
428
454
|
anchor: "start" | "end" | "label";
|
|
429
455
|
} | null;
|
|
@@ -554,6 +580,7 @@ export declare const actionDeleteSelected: {
|
|
|
554
580
|
stickyNoteStroke: readonly string[] | null;
|
|
555
581
|
stickyNoteBackground: readonly string[] | null;
|
|
556
582
|
};
|
|
583
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
557
584
|
};
|
|
558
585
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
559
586
|
};
|
|
@@ -15,7 +15,6 @@ export declare const actionDeselect: {
|
|
|
15
15
|
selectionElement: null;
|
|
16
16
|
showHyperlinkPopup: false;
|
|
17
17
|
suggestedBinding: null;
|
|
18
|
-
hoveredArrowTextAnchor: null;
|
|
19
18
|
frameToHighlight: null;
|
|
20
19
|
editingGroupId: AppState["editingGroupId"];
|
|
21
20
|
selectedElementIds: AppState["selectedElementIds"];
|
|
@@ -35,7 +34,19 @@ export declare const actionDeselect: {
|
|
|
35
34
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
36
35
|
bindingPreference: "enabled" | "disabled";
|
|
37
36
|
isMidpointSnappingEnabled: boolean;
|
|
37
|
+
showHints: boolean;
|
|
38
38
|
inputDevice: import("../types").InputDevice;
|
|
39
|
+
textToolHover: {
|
|
40
|
+
type: "text";
|
|
41
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
42
|
+
} | {
|
|
43
|
+
type: "container";
|
|
44
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
45
|
+
} | {
|
|
46
|
+
type: "arrow";
|
|
47
|
+
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
48
|
+
anchor: "start" | "end" | "label";
|
|
49
|
+
} | null;
|
|
39
50
|
frameRendering: {
|
|
40
51
|
enabled: boolean;
|
|
41
52
|
name: boolean;
|
|
@@ -161,6 +172,7 @@ export declare const actionDeselect: {
|
|
|
161
172
|
stickyNoteStroke: readonly string[] | null;
|
|
162
173
|
stickyNoteBackground: readonly string[] | null;
|
|
163
174
|
};
|
|
175
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
164
176
|
};
|
|
165
177
|
captureUpdate: "IMMEDIATELY";
|
|
166
178
|
};
|
|
@@ -60,12 +60,20 @@ export declare const actionLinkToElement: {
|
|
|
60
60
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
61
61
|
bindingPreference: "enabled" | "disabled";
|
|
62
62
|
isMidpointSnappingEnabled: boolean;
|
|
63
|
+
showHints: boolean;
|
|
63
64
|
inputDevice: import("../types").InputDevice;
|
|
64
65
|
suggestedBinding: {
|
|
65
66
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
66
67
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
67
68
|
} | null;
|
|
68
|
-
|
|
69
|
+
textToolHover: {
|
|
70
|
+
type: "text";
|
|
71
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
72
|
+
} | {
|
|
73
|
+
type: "container";
|
|
74
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
75
|
+
} | {
|
|
76
|
+
type: "arrow";
|
|
69
77
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
70
78
|
anchor: "start" | "end" | "label";
|
|
71
79
|
} | null;
|
|
@@ -192,6 +200,7 @@ export declare const actionLinkToElement: {
|
|
|
192
200
|
stickyNoteStroke: readonly string[] | null;
|
|
193
201
|
stickyNoteBackground: readonly string[] | null;
|
|
194
202
|
};
|
|
203
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
195
204
|
};
|
|
196
205
|
captureUpdate: "IMMEDIATELY";
|
|
197
206
|
elements?: undefined;
|
|
@@ -42,12 +42,20 @@ export declare const actionToggleElementLock: {
|
|
|
42
42
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
43
43
|
bindingPreference: "enabled" | "disabled";
|
|
44
44
|
isMidpointSnappingEnabled: boolean;
|
|
45
|
+
showHints: boolean;
|
|
45
46
|
inputDevice: import("../types").InputDevice;
|
|
46
47
|
suggestedBinding: {
|
|
47
48
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
48
49
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
49
50
|
} | null;
|
|
50
|
-
|
|
51
|
+
textToolHover: {
|
|
52
|
+
type: "text";
|
|
53
|
+
elementId: ExcalidrawElement["id"];
|
|
54
|
+
} | {
|
|
55
|
+
type: "container";
|
|
56
|
+
elementId: ExcalidrawElement["id"];
|
|
57
|
+
} | {
|
|
58
|
+
type: "arrow";
|
|
51
59
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
52
60
|
anchor: "start" | "end" | "label";
|
|
53
61
|
} | null;
|
|
@@ -180,6 +188,7 @@ export declare const actionToggleElementLock: {
|
|
|
180
188
|
stickyNoteStroke: readonly string[] | null;
|
|
181
189
|
stickyNoteBackground: readonly string[] | null;
|
|
182
190
|
};
|
|
191
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
183
192
|
};
|
|
184
193
|
captureUpdate: "IMMEDIATELY";
|
|
185
194
|
};
|
|
@@ -226,12 +235,20 @@ export declare const actionUnlockAllElements: {
|
|
|
226
235
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
227
236
|
bindingPreference: "enabled" | "disabled";
|
|
228
237
|
isMidpointSnappingEnabled: boolean;
|
|
238
|
+
showHints: boolean;
|
|
229
239
|
inputDevice: import("../types").InputDevice;
|
|
230
240
|
suggestedBinding: {
|
|
231
241
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
232
242
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
233
243
|
} | null;
|
|
234
|
-
|
|
244
|
+
textToolHover: {
|
|
245
|
+
type: "text";
|
|
246
|
+
elementId: ExcalidrawElement["id"];
|
|
247
|
+
} | {
|
|
248
|
+
type: "container";
|
|
249
|
+
elementId: ExcalidrawElement["id"];
|
|
250
|
+
} | {
|
|
251
|
+
type: "arrow";
|
|
235
252
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
236
253
|
anchor: "start" | "end" | "label";
|
|
237
254
|
} | null;
|
|
@@ -365,6 +382,7 @@ export declare const actionUnlockAllElements: {
|
|
|
365
382
|
stickyNoteStroke: readonly string[] | null;
|
|
366
383
|
stickyNoteBackground: readonly string[] | null;
|
|
367
384
|
};
|
|
385
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
368
386
|
};
|
|
369
387
|
captureUpdate: "IMMEDIATELY";
|
|
370
388
|
};
|
|
@@ -140,7 +140,14 @@ export declare const actionLoadScene: {
|
|
|
140
140
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
141
141
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
142
142
|
} | null;
|
|
143
|
-
|
|
143
|
+
textToolHover: {
|
|
144
|
+
type: "text";
|
|
145
|
+
elementId: ExcalidrawElement["id"];
|
|
146
|
+
} | {
|
|
147
|
+
type: "container";
|
|
148
|
+
elementId: ExcalidrawElement["id"];
|
|
149
|
+
} | {
|
|
150
|
+
type: "arrow";
|
|
144
151
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
145
152
|
anchor: "start" | "end" | "label";
|
|
146
153
|
} | null;
|
|
@@ -176,6 +183,7 @@ export declare const actionLoadScene: {
|
|
|
176
183
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
177
184
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
178
185
|
bindingPreference: "enabled" | "disabled";
|
|
186
|
+
showHints: boolean;
|
|
179
187
|
inputDevice: import("../types").InputDevice;
|
|
180
188
|
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
181
189
|
preferredSelectionTool: {
|
|
@@ -247,6 +255,7 @@ export declare const actionLoadScene: {
|
|
|
247
255
|
stickyNoteStroke: readonly string[] | null;
|
|
248
256
|
stickyNoteBackground: readonly string[] | null;
|
|
249
257
|
};
|
|
258
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
250
259
|
};
|
|
251
260
|
files: BinaryFiles;
|
|
252
261
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -273,12 +282,20 @@ export declare const actionLoadScene: {
|
|
|
273
282
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
274
283
|
bindingPreference: "enabled" | "disabled";
|
|
275
284
|
isMidpointSnappingEnabled: boolean;
|
|
285
|
+
showHints: boolean;
|
|
276
286
|
inputDevice: import("../types").InputDevice;
|
|
277
287
|
suggestedBinding: {
|
|
278
288
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
279
289
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
280
290
|
} | null;
|
|
281
|
-
|
|
291
|
+
textToolHover: {
|
|
292
|
+
type: "text";
|
|
293
|
+
elementId: ExcalidrawElement["id"];
|
|
294
|
+
} | {
|
|
295
|
+
type: "container";
|
|
296
|
+
elementId: ExcalidrawElement["id"];
|
|
297
|
+
} | {
|
|
298
|
+
type: "arrow";
|
|
282
299
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
283
300
|
anchor: "start" | "end" | "label";
|
|
284
301
|
} | null;
|
|
@@ -422,6 +439,7 @@ export declare const actionLoadScene: {
|
|
|
422
439
|
stickyNoteStroke: readonly string[] | null;
|
|
423
440
|
stickyNoteBackground: readonly string[] | null;
|
|
424
441
|
};
|
|
442
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
425
443
|
};
|
|
426
444
|
files: BinaryFiles;
|
|
427
445
|
captureUpdate: "EVENTUALLY";
|