@excalidraw/common 0.18.0-1118751 → 0.18.0-1440f2d
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 +37 -18
- package/dist/dev/index.js.map +3 -3
- package/dist/prod/index.js +3 -3
- package/dist/types/common/src/constants.d.ts +4 -0
- package/dist/types/common/src/utils.d.ts +12 -1
- package/dist/types/element/src/align.d.ts +4 -1
- package/dist/types/element/src/binding.d.ts +70 -0
- package/dist/types/element/src/bounds.d.ts +10 -2
- package/dist/types/element/src/collision.d.ts +13 -0
- package/dist/types/element/src/cropElement.d.ts +36 -4
- package/dist/types/element/src/delta.d.ts +7 -1
- package/dist/types/element/src/distribute.d.ts +4 -1
- package/dist/types/element/src/dragElements.d.ts +8 -3
- package/dist/types/element/src/elbowArrow.d.ts +5 -0
- package/dist/types/element/src/embeddable.d.ts +2 -1
- package/dist/types/element/src/flowchart.d.ts +1 -7
- package/dist/types/element/src/frame.d.ts +19 -1
- package/dist/types/element/src/groups.d.ts +1 -6
- package/dist/types/element/src/image.d.ts +5 -2
- package/dist/types/element/src/index.d.ts +2 -0
- package/dist/types/element/src/linearElementEditor.d.ts +4 -1
- package/dist/types/element/src/listMarker.d.ts +39 -0
- package/dist/types/element/src/newElement.d.ts +17 -1
- package/dist/types/element/src/renderElement.d.ts +10 -0
- package/dist/types/element/src/renderEnvironment.d.ts +66 -0
- package/dist/types/element/src/resizeElements.d.ts +15 -5
- package/dist/types/element/src/selection.d.ts +1 -7
- package/dist/types/element/src/shape.d.ts +2 -0
- package/dist/types/element/src/stickyNote.d.ts +8 -0
- package/dist/types/element/src/textElement.d.ts +10 -2
- package/dist/types/element/src/textMeasurements.d.ts +15 -11
- package/dist/types/element/src/textWrapping.d.ts +3 -2
- package/dist/types/element/src/transform.d.ts +5 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +30 -3
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +56 -214
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +72 -12
- 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 +4 -564
- 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 +22 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +71 -528
- 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/actionToggleMinimap.d.ts +201 -0
- 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 +198 -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/actionToggleWrap.d.ts +12 -0
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -1
- package/dist/types/excalidraw/actions/index.d.ts +3 -0
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +4 -2
- package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -1
- package/dist/types/excalidraw/charts/charts.helpers.d.ts +6 -5
- package/dist/types/excalidraw/charts/charts.line.d.ts +2 -1
- package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -1
- package/dist/types/excalidraw/charts/index.d.ts +2 -1
- package/dist/types/excalidraw/components/Actions.d.ts +9 -2
- 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 +79 -264
- package/dist/types/excalidraw/components/App.duplicate.d.ts +52 -2
- package/dist/types/excalidraw/components/App.host.d.ts +102 -0
- package/dist/types/excalidraw/components/App.modifiers.d.ts +38 -0
- package/dist/types/excalidraw/components/App.pan.d.ts +8 -0
- package/dist/types/excalidraw/components/App.selection.d.ts +265 -0
- package/dist/types/excalidraw/components/App.selectionTool.d.ts +93 -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 +64 -4
- package/dist/types/excalidraw/components/App.wheel.d.ts +6 -2
- package/dist/types/excalidraw/components/App.wrap.d.ts +31 -0
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -1
- package/dist/types/excalidraw/components/FileDropOverlay.d.ts +2 -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/Minimap/Minimap.d.ts +15 -0
- package/dist/types/excalidraw/components/Minimap/MinimapAnnouncementDot.d.ts +10 -0
- package/dist/types/excalidraw/components/Minimap/minimap-controller.chunk.d.ts +90 -0
- package/dist/types/excalidraw/components/Minimap/minimap-shared.chunk.d.ts +122 -0
- package/dist/types/excalidraw/components/Minimap/minimap-worker.chunk.d.ts +12 -0
- package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -2
- package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +2 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +5 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts +5 -2
- package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +2 -1
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +4 -1
- package/dist/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts +3 -2
- package/dist/types/excalidraw/components/TTDDialog/types.d.ts +14 -1
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts +16 -0
- package/dist/types/excalidraw/components/Tooltip.d.ts +26 -2
- package/dist/types/excalidraw/components/TopPicksDnD/topPicksDnD.d.ts +1 -1
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +0 -1
- package/dist/types/excalidraw/components/footer/Footer.d.ts +3 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +13 -2
- package/dist/types/excalidraw/components/icons.d.ts +1 -0
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +2 -0
- package/dist/types/excalidraw/data/blob.d.ts +24 -6
- package/dist/types/excalidraw/data/index.d.ts +3 -3
- package/dist/types/excalidraw/data/json.d.ts +12 -3
- package/dist/types/excalidraw/fonts/Fonts.d.ts +9 -6
- package/dist/types/excalidraw/history.d.ts +10 -4
- package/dist/types/excalidraw/mermaid.d.ts +7 -0
- package/dist/types/excalidraw/reactUtils.d.ts +1 -1
- package/dist/types/excalidraw/renderer/animation.d.ts +11 -4
- package/dist/types/excalidraw/renderer/staticScene.d.ts +11 -6
- package/dist/types/excalidraw/scene/Renderer.d.ts +1 -1
- package/dist/types/excalidraw/scene/export.d.ts +343 -20
- package/dist/types/excalidraw/scene/types.d.ts +23 -1
- package/dist/types/excalidraw/types.d.ts +83 -14
- package/dist/types/excalidraw/viewport.d.ts +23 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +12 -1
- package/dist/types/utils/src/index.d.ts +3 -1
- package/package.json +1 -1
- package/dist/types/utils/src/export.d.ts +0 -36
|
@@ -45,6 +45,8 @@ export declare const actionClearCanvas: {
|
|
|
45
45
|
objectsSnapModeEnabled: boolean;
|
|
46
46
|
name: string | null;
|
|
47
47
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
48
|
+
scrollX: number;
|
|
49
|
+
scrollY: number;
|
|
48
50
|
contextMenu: {
|
|
49
51
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
50
52
|
top: number;
|
|
@@ -65,12 +67,20 @@ export declare const actionClearCanvas: {
|
|
|
65
67
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
66
68
|
bindingPreference: "enabled" | "disabled";
|
|
67
69
|
isMidpointSnappingEnabled: boolean;
|
|
70
|
+
showHints: boolean;
|
|
68
71
|
inputDevice: import("../types").InputDevice;
|
|
69
72
|
suggestedBinding: {
|
|
70
73
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
71
74
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
72
75
|
} | null;
|
|
73
|
-
|
|
76
|
+
textToolHover: {
|
|
77
|
+
type: "text";
|
|
78
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
79
|
+
} | {
|
|
80
|
+
type: "container";
|
|
81
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
82
|
+
} | {
|
|
83
|
+
type: "arrow";
|
|
74
84
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
75
85
|
anchor: "start" | "end" | "label";
|
|
76
86
|
} | null;
|
|
@@ -108,8 +118,6 @@ export declare const actionClearCanvas: {
|
|
|
108
118
|
currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
|
|
109
119
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
110
120
|
viewBackgroundColor: string;
|
|
111
|
-
scrollX: number;
|
|
112
|
-
scrollY: number;
|
|
113
121
|
scrollConstraints: import("../types").ScrollConstraints | null;
|
|
114
122
|
cursorButton: "up" | "down";
|
|
115
123
|
scrolledOutside: boolean;
|
|
@@ -156,6 +164,7 @@ export declare const actionClearCanvas: {
|
|
|
156
164
|
closable?: boolean;
|
|
157
165
|
duration?: number;
|
|
158
166
|
} | null;
|
|
167
|
+
minimapEnabled: boolean;
|
|
159
168
|
selectedGroupIds: {
|
|
160
169
|
[groupId: string]: boolean;
|
|
161
170
|
};
|
|
@@ -221,12 +230,20 @@ export declare const actionZoomIn: {
|
|
|
221
230
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
222
231
|
bindingPreference: "enabled" | "disabled";
|
|
223
232
|
isMidpointSnappingEnabled: boolean;
|
|
233
|
+
showHints: boolean;
|
|
224
234
|
inputDevice: import("../types").InputDevice;
|
|
225
235
|
suggestedBinding: {
|
|
226
236
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
227
237
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
228
238
|
} | null;
|
|
229
|
-
|
|
239
|
+
textToolHover: {
|
|
240
|
+
type: "text";
|
|
241
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
242
|
+
} | {
|
|
243
|
+
type: "container";
|
|
244
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
245
|
+
} | {
|
|
246
|
+
type: "arrow";
|
|
230
247
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
231
248
|
anchor: "start" | "end" | "label";
|
|
232
249
|
} | null;
|
|
@@ -322,6 +339,7 @@ export declare const actionZoomIn: {
|
|
|
322
339
|
duration?: number;
|
|
323
340
|
} | null;
|
|
324
341
|
zenModeEnabled: boolean;
|
|
342
|
+
minimapEnabled: boolean;
|
|
325
343
|
theme: import("@excalidraw/element/types").Theme;
|
|
326
344
|
gridSize: number;
|
|
327
345
|
gridStep: number;
|
|
@@ -371,7 +389,6 @@ export declare const actionZoomIn: {
|
|
|
371
389
|
};
|
|
372
390
|
captureUpdate: "EVENTUALLY";
|
|
373
391
|
};
|
|
374
|
-
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
375
392
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
376
393
|
} & {
|
|
377
394
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -411,12 +428,20 @@ export declare const actionZoomOut: {
|
|
|
411
428
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
412
429
|
bindingPreference: "enabled" | "disabled";
|
|
413
430
|
isMidpointSnappingEnabled: boolean;
|
|
431
|
+
showHints: boolean;
|
|
414
432
|
inputDevice: import("../types").InputDevice;
|
|
415
433
|
suggestedBinding: {
|
|
416
434
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
417
435
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
418
436
|
} | null;
|
|
419
|
-
|
|
437
|
+
textToolHover: {
|
|
438
|
+
type: "text";
|
|
439
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
440
|
+
} | {
|
|
441
|
+
type: "container";
|
|
442
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
443
|
+
} | {
|
|
444
|
+
type: "arrow";
|
|
420
445
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
421
446
|
anchor: "start" | "end" | "label";
|
|
422
447
|
} | null;
|
|
@@ -512,6 +537,7 @@ export declare const actionZoomOut: {
|
|
|
512
537
|
duration?: number;
|
|
513
538
|
} | null;
|
|
514
539
|
zenModeEnabled: boolean;
|
|
540
|
+
minimapEnabled: boolean;
|
|
515
541
|
theme: import("@excalidraw/element/types").Theme;
|
|
516
542
|
gridSize: number;
|
|
517
543
|
gridStep: number;
|
|
@@ -561,7 +587,6 @@ export declare const actionZoomOut: {
|
|
|
561
587
|
};
|
|
562
588
|
captureUpdate: "EVENTUALLY";
|
|
563
589
|
};
|
|
564
|
-
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
565
590
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
566
591
|
} & {
|
|
567
592
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -601,12 +626,20 @@ export declare const actionResetZoom: {
|
|
|
601
626
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
602
627
|
bindingPreference: "enabled" | "disabled";
|
|
603
628
|
isMidpointSnappingEnabled: boolean;
|
|
629
|
+
showHints: boolean;
|
|
604
630
|
inputDevice: import("../types").InputDevice;
|
|
605
631
|
suggestedBinding: {
|
|
606
632
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
607
633
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
608
634
|
} | null;
|
|
609
|
-
|
|
635
|
+
textToolHover: {
|
|
636
|
+
type: "text";
|
|
637
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
638
|
+
} | {
|
|
639
|
+
type: "container";
|
|
640
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
641
|
+
} | {
|
|
642
|
+
type: "arrow";
|
|
610
643
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
611
644
|
anchor: "start" | "end" | "label";
|
|
612
645
|
} | null;
|
|
@@ -702,6 +735,7 @@ export declare const actionResetZoom: {
|
|
|
702
735
|
duration?: number;
|
|
703
736
|
} | null;
|
|
704
737
|
zenModeEnabled: boolean;
|
|
738
|
+
minimapEnabled: boolean;
|
|
705
739
|
theme: import("@excalidraw/element/types").Theme;
|
|
706
740
|
gridSize: number;
|
|
707
741
|
gridStep: number;
|
|
@@ -751,7 +785,6 @@ export declare const actionResetZoom: {
|
|
|
751
785
|
};
|
|
752
786
|
captureUpdate: "EVENTUALLY";
|
|
753
787
|
};
|
|
754
|
-
PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
755
788
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
756
789
|
} & {
|
|
757
790
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
@@ -791,12 +824,20 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
791
824
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
792
825
|
bindingPreference: "enabled" | "disabled";
|
|
793
826
|
isMidpointSnappingEnabled: boolean;
|
|
827
|
+
showHints: boolean;
|
|
794
828
|
inputDevice: import("../types").InputDevice;
|
|
795
829
|
suggestedBinding: {
|
|
796
830
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
797
831
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
798
832
|
} | null;
|
|
799
|
-
|
|
833
|
+
textToolHover: {
|
|
834
|
+
type: "text";
|
|
835
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
836
|
+
} | {
|
|
837
|
+
type: "container";
|
|
838
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
839
|
+
} | {
|
|
840
|
+
type: "arrow";
|
|
800
841
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
801
842
|
anchor: "start" | "end" | "label";
|
|
802
843
|
} | null;
|
|
@@ -892,6 +933,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
892
933
|
duration?: number;
|
|
893
934
|
} | null;
|
|
894
935
|
zenModeEnabled: boolean;
|
|
936
|
+
minimapEnabled: boolean;
|
|
895
937
|
theme: import("@excalidraw/element/types").Theme;
|
|
896
938
|
gridSize: number;
|
|
897
939
|
gridStep: number;
|
|
@@ -980,12 +1022,20 @@ export declare const actionZoomToFitSelection: {
|
|
|
980
1022
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
981
1023
|
bindingPreference: "enabled" | "disabled";
|
|
982
1024
|
isMidpointSnappingEnabled: boolean;
|
|
1025
|
+
showHints: boolean;
|
|
983
1026
|
inputDevice: import("../types").InputDevice;
|
|
984
1027
|
suggestedBinding: {
|
|
985
1028
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
986
1029
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
987
1030
|
} | null;
|
|
988
|
-
|
|
1031
|
+
textToolHover: {
|
|
1032
|
+
type: "text";
|
|
1033
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
1034
|
+
} | {
|
|
1035
|
+
type: "container";
|
|
1036
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
1037
|
+
} | {
|
|
1038
|
+
type: "arrow";
|
|
989
1039
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
990
1040
|
anchor: "start" | "end" | "label";
|
|
991
1041
|
} | null;
|
|
@@ -1081,6 +1131,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1081
1131
|
duration?: number;
|
|
1082
1132
|
} | null;
|
|
1083
1133
|
zenModeEnabled: boolean;
|
|
1134
|
+
minimapEnabled: boolean;
|
|
1084
1135
|
theme: import("@excalidraw/element/types").Theme;
|
|
1085
1136
|
gridSize: number;
|
|
1086
1137
|
gridStep: number;
|
|
@@ -1169,12 +1220,20 @@ export declare const actionZoomToFit: {
|
|
|
1169
1220
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
1170
1221
|
bindingPreference: "enabled" | "disabled";
|
|
1171
1222
|
isMidpointSnappingEnabled: boolean;
|
|
1223
|
+
showHints: boolean;
|
|
1172
1224
|
inputDevice: import("../types").InputDevice;
|
|
1173
1225
|
suggestedBinding: {
|
|
1174
1226
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1175
1227
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1176
1228
|
} | null;
|
|
1177
|
-
|
|
1229
|
+
textToolHover: {
|
|
1230
|
+
type: "text";
|
|
1231
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
1232
|
+
} | {
|
|
1233
|
+
type: "container";
|
|
1234
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
1235
|
+
} | {
|
|
1236
|
+
type: "arrow";
|
|
1178
1237
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
1179
1238
|
anchor: "start" | "end" | "label";
|
|
1180
1239
|
} | null;
|
|
@@ -1270,6 +1329,7 @@ export declare const actionZoomToFit: {
|
|
|
1270
1329
|
duration?: number;
|
|
1271
1330
|
} | null;
|
|
1272
1331
|
zenModeEnabled: boolean;
|
|
1332
|
+
minimapEnabled: boolean;
|
|
1273
1333
|
theme: import("@excalidraw/element/types").Theme;
|
|
1274
1334
|
gridSize: number;
|
|
1275
1335
|
gridStep: number;
|
|
@@ -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;
|
|
@@ -134,6 +142,7 @@ export declare const actionPaste: {
|
|
|
134
142
|
duration?: number;
|
|
135
143
|
} | null;
|
|
136
144
|
zenModeEnabled: boolean;
|
|
145
|
+
minimapEnabled: boolean;
|
|
137
146
|
theme: import("@excalidraw/element/types").Theme;
|
|
138
147
|
gridSize: number;
|
|
139
148
|
gridStep: number;
|
|
@@ -254,12 +263,20 @@ export declare const actionCopyAsPng: {
|
|
|
254
263
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
255
264
|
bindingPreference: "enabled" | "disabled";
|
|
256
265
|
isMidpointSnappingEnabled: boolean;
|
|
266
|
+
showHints: boolean;
|
|
257
267
|
inputDevice: import("../types").InputDevice;
|
|
258
268
|
suggestedBinding: {
|
|
259
269
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
260
270
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
261
271
|
} | null;
|
|
262
|
-
|
|
272
|
+
textToolHover: {
|
|
273
|
+
type: "text";
|
|
274
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
275
|
+
} | {
|
|
276
|
+
type: "container";
|
|
277
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
278
|
+
} | {
|
|
279
|
+
type: "arrow";
|
|
263
280
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
264
281
|
anchor: "start" | "end" | "label";
|
|
265
282
|
} | null;
|
|
@@ -358,6 +375,7 @@ export declare const actionCopyAsPng: {
|
|
|
358
375
|
duration?: number;
|
|
359
376
|
} | null;
|
|
360
377
|
zenModeEnabled: boolean;
|
|
378
|
+
minimapEnabled: boolean;
|
|
361
379
|
theme: import("@excalidraw/element/types").Theme;
|
|
362
380
|
gridSize: number;
|
|
363
381
|
gridStep: number;
|
|
@@ -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;
|
|
@@ -135,6 +143,7 @@ export declare const actionToggleCropEditor: {
|
|
|
135
143
|
duration?: number;
|
|
136
144
|
} | null;
|
|
137
145
|
zenModeEnabled: boolean;
|
|
146
|
+
minimapEnabled: boolean;
|
|
138
147
|
theme: import("@excalidraw/element/types").Theme;
|
|
139
148
|
gridSize: number;
|
|
140
149
|
gridStep: number;
|