@excalidraw/element 0.18.0-4872083 → 0.18.0-4ce38fb
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 +5645 -3994
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +16 -15
- package/dist/types/common/src/colors.d.ts +13 -7
- package/dist/types/common/src/constants.d.ts +54 -0
- package/dist/types/common/src/keys.d.ts +2 -0
- package/dist/types/common/src/random.d.ts +7 -0
- package/dist/types/common/src/utils.d.ts +5 -0
- package/dist/types/element/src/Scene.d.ts +1 -1
- 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/comparisons.d.ts +5 -3
- package/dist/types/element/src/delta.d.ts +23 -1
- package/dist/types/element/src/duplicate.d.ts +60 -0
- package/dist/types/element/src/flowchart.d.ts +5 -1
- package/dist/types/element/src/frame.d.ts +2 -2
- package/dist/types/element/src/index.d.ts +2 -0
- package/dist/types/element/src/linearElementEditor.d.ts +10 -0
- package/dist/types/element/src/listMarker.d.ts +34 -0
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +39 -3
- 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/sizeHelpers.d.ts +6 -0
- package/dist/types/element/src/stickyNote.d.ts +183 -0
- package/dist/types/element/src/textElement.d.ts +9 -1
- package/dist/types/element/src/transform.d.ts +25 -6
- package/dist/types/element/src/typeChecks.d.ts +3 -2
- package/dist/types/element/src/types.d.ts +35 -6
- package/dist/types/element/src/utils.d.ts +15 -4
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +60 -3
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +40 -2
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +140 -7
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +40 -2
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +20 -1
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +61 -4
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +23 -1
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +20 -1
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +40 -2
- package/dist/types/excalidraw/actions/actionExport.d.ts +40 -2
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -0
- package/dist/types/excalidraw/actions/actionFrame.d.ts +111 -4
- package/dist/types/excalidraw/actions/actionGroup.d.ts +40 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +71 -2
- package/dist/types/excalidraw/actions/actionLink.d.ts +20 -1
- package/dist/types/excalidraw/actions/actionMenu.d.ts +20 -1
- package/dist/types/excalidraw/actions/actionProperties.d.ts +50 -8
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +20 -1
- package/dist/types/excalidraw/actions/actionStyles.d.ts +21 -2
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +20 -1
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +20 -1
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +20 -1
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +20 -1
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +20 -1
- package/dist/types/excalidraw/actions/actionToggleShowHints.d.ts +197 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +20 -1
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +20 -1
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +20 -1
- package/dist/types/excalidraw/actions/colorTargets.d.ts +39 -0
- 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 +23 -1
- package/dist/types/excalidraw/components/App.arrowText.d.ts +28 -30
- package/dist/types/excalidraw/components/App.bucketFill.d.ts +10 -0
- package/dist/types/excalidraw/components/App.clipboard.d.ts +31 -0
- package/dist/types/excalidraw/components/App.cursor.d.ts +8 -0
- package/dist/types/excalidraw/components/App.d.ts +110 -199
- package/dist/types/excalidraw/components/App.duplicate.d.ts +101 -0
- package/dist/types/excalidraw/components/App.pan.d.ts +62 -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.toolDrag.d.ts +63 -0
- package/dist/types/excalidraw/components/App.viewport.d.ts +41 -1
- package/dist/types/excalidraw/components/App.wheel.d.ts +26 -0
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +6 -2
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +3 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +4 -1
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +4 -2
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +4 -2
- package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +8 -1
- 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/IconButton.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/Tools.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/canvases/NewElementCanvas.d.ts +2 -0
- package/dist/types/excalidraw/components/icons.d.ts +2 -0
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +2 -0
- package/dist/types/excalidraw/components/shapeActionPredicates.d.ts +2 -2
- package/dist/types/excalidraw/data/blob.d.ts +40 -2
- package/dist/types/excalidraw/data/json.d.ts +20 -1
- package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -2
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +5 -5
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -0
- package/dist/types/excalidraw/renderOverrides.d.ts +9 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +25 -0
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +64 -2
- package/dist/types/excalidraw/scene/index.d.ts +1 -1
- package/dist/types/excalidraw/scene/types.d.ts +3 -1
- package/dist/types/excalidraw/types.d.ts +140 -18
- package/dist/types/excalidraw/viewport.d.ts +33 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +12 -1
- package/dist/types/math/src/curve.d.ts +19 -12
- package/dist/types/math/src/segment.d.ts +6 -0
- package/dist/types/utils/src/export.d.ts +1 -0
- package/dist/types/utils/src/shape.d.ts +2 -2
- package/package.json +4 -4
|
@@ -30,11 +30,20 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
30
30
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
31
31
|
bindingPreference: "enabled" | "disabled";
|
|
32
32
|
isMidpointSnappingEnabled: boolean;
|
|
33
|
+
showHints: boolean;
|
|
34
|
+
inputDevice: import("../types").InputDevice;
|
|
33
35
|
suggestedBinding: {
|
|
34
36
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
35
37
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
36
38
|
} | null;
|
|
37
|
-
|
|
39
|
+
textToolHover: {
|
|
40
|
+
type: "text";
|
|
41
|
+
elementId: ExcalidrawElement["id"];
|
|
42
|
+
} | {
|
|
43
|
+
type: "container";
|
|
44
|
+
elementId: ExcalidrawElement["id"];
|
|
45
|
+
} | {
|
|
46
|
+
type: "arrow";
|
|
38
47
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
39
48
|
anchor: "start" | "end" | "label";
|
|
40
49
|
} | null;
|
|
@@ -64,6 +73,8 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
64
73
|
exportWithDarkMode: boolean;
|
|
65
74
|
exportScale: number;
|
|
66
75
|
currentItemStrokeColor: string;
|
|
76
|
+
currentItemStickynoteStrokeColor: string;
|
|
77
|
+
currentItemStickynoteBackgroundColor: string;
|
|
67
78
|
currentItemBackgroundColor: string;
|
|
68
79
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
69
80
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -166,6 +177,14 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
166
177
|
[groupId: string]: true;
|
|
167
178
|
};
|
|
168
179
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
180
|
+
colorTopPicks: {
|
|
181
|
+
elementStroke: readonly string[] | null;
|
|
182
|
+
elementBackground: readonly string[] | null;
|
|
183
|
+
bucketFill: readonly string[] | null;
|
|
184
|
+
stickyNoteStroke: readonly string[] | null;
|
|
185
|
+
stickyNoteBackground: readonly string[] | null;
|
|
186
|
+
};
|
|
187
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
169
188
|
};
|
|
170
189
|
captureUpdate: "IMMEDIATELY";
|
|
171
190
|
} | {
|
|
@@ -209,11 +228,20 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
209
228
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
210
229
|
bindingPreference: "enabled" | "disabled";
|
|
211
230
|
isMidpointSnappingEnabled: boolean;
|
|
231
|
+
showHints: boolean;
|
|
232
|
+
inputDevice: import("../types").InputDevice;
|
|
212
233
|
suggestedBinding: {
|
|
213
234
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
214
235
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
215
236
|
} | null;
|
|
216
|
-
|
|
237
|
+
textToolHover: {
|
|
238
|
+
type: "text";
|
|
239
|
+
elementId: ExcalidrawElement["id"];
|
|
240
|
+
} | {
|
|
241
|
+
type: "container";
|
|
242
|
+
elementId: ExcalidrawElement["id"];
|
|
243
|
+
} | {
|
|
244
|
+
type: "arrow";
|
|
217
245
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
218
246
|
anchor: "start" | "end" | "label";
|
|
219
247
|
} | null;
|
|
@@ -243,6 +271,8 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
243
271
|
exportWithDarkMode: boolean;
|
|
244
272
|
exportScale: number;
|
|
245
273
|
currentItemStrokeColor: string;
|
|
274
|
+
currentItemStickynoteStrokeColor: string;
|
|
275
|
+
currentItemStickynoteBackgroundColor: string;
|
|
246
276
|
currentItemBackgroundColor: string;
|
|
247
277
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
248
278
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -345,6 +375,14 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
345
375
|
[groupId: string]: true;
|
|
346
376
|
};
|
|
347
377
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
378
|
+
colorTopPicks: {
|
|
379
|
+
elementStroke: readonly string[] | null;
|
|
380
|
+
elementBackground: readonly string[] | null;
|
|
381
|
+
bucketFill: readonly string[] | null;
|
|
382
|
+
stickyNoteStroke: readonly string[] | null;
|
|
383
|
+
stickyNoteBackground: readonly string[] | null;
|
|
384
|
+
};
|
|
385
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
348
386
|
};
|
|
349
387
|
captureUpdate: "IMMEDIATELY";
|
|
350
388
|
} | {
|
|
@@ -392,11 +430,20 @@ export declare const actionupdateFrameRendering: {
|
|
|
392
430
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
393
431
|
bindingPreference: "enabled" | "disabled";
|
|
394
432
|
isMidpointSnappingEnabled: boolean;
|
|
433
|
+
showHints: boolean;
|
|
434
|
+
inputDevice: import("../types").InputDevice;
|
|
395
435
|
suggestedBinding: {
|
|
396
436
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
397
437
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
398
438
|
} | null;
|
|
399
|
-
|
|
439
|
+
textToolHover: {
|
|
440
|
+
type: "text";
|
|
441
|
+
elementId: ExcalidrawElement["id"];
|
|
442
|
+
} | {
|
|
443
|
+
type: "container";
|
|
444
|
+
elementId: ExcalidrawElement["id"];
|
|
445
|
+
} | {
|
|
446
|
+
type: "arrow";
|
|
400
447
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
401
448
|
anchor: "start" | "end" | "label";
|
|
402
449
|
} | null;
|
|
@@ -420,6 +467,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
420
467
|
exportWithDarkMode: boolean;
|
|
421
468
|
exportScale: number;
|
|
422
469
|
currentItemStrokeColor: string;
|
|
470
|
+
currentItemStickynoteStrokeColor: string;
|
|
471
|
+
currentItemStickynoteBackgroundColor: string;
|
|
423
472
|
currentItemBackgroundColor: string;
|
|
424
473
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
425
474
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -525,6 +574,14 @@ export declare const actionupdateFrameRendering: {
|
|
|
525
574
|
[groupId: string]: true;
|
|
526
575
|
};
|
|
527
576
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
577
|
+
colorTopPicks: {
|
|
578
|
+
elementStroke: readonly string[] | null;
|
|
579
|
+
elementBackground: readonly string[] | null;
|
|
580
|
+
bucketFill: readonly string[] | null;
|
|
581
|
+
stickyNoteStroke: readonly string[] | null;
|
|
582
|
+
stickyNoteBackground: readonly string[] | null;
|
|
583
|
+
};
|
|
584
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
528
585
|
};
|
|
529
586
|
captureUpdate: "EVENTUALLY";
|
|
530
587
|
};
|
|
@@ -567,6 +624,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
567
624
|
frameId: string | null;
|
|
568
625
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
569
626
|
updated: number;
|
|
627
|
+
created: number | null;
|
|
570
628
|
link: string | null;
|
|
571
629
|
locked: boolean;
|
|
572
630
|
customData?: Record<string, any>;
|
|
@@ -606,6 +664,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
606
664
|
frameId: string | null;
|
|
607
665
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
608
666
|
updated: number;
|
|
667
|
+
created: number | null;
|
|
609
668
|
link: string | null;
|
|
610
669
|
locked: boolean;
|
|
611
670
|
customData?: Record<string, any>;
|
|
@@ -640,6 +699,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
640
699
|
frameId: string | null;
|
|
641
700
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
642
701
|
updated: number;
|
|
702
|
+
created: number | null;
|
|
643
703
|
link: string | null;
|
|
644
704
|
locked: boolean;
|
|
645
705
|
customData?: Record<string, any>;
|
|
@@ -674,6 +734,43 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
674
734
|
frameId: string | null;
|
|
675
735
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
676
736
|
updated: number;
|
|
737
|
+
created: number | null;
|
|
738
|
+
link: string | null;
|
|
739
|
+
locked: boolean;
|
|
740
|
+
customData?: Record<string, any>;
|
|
741
|
+
}> & Readonly<{
|
|
742
|
+
type: "stickynote";
|
|
743
|
+
baseHeight: number;
|
|
744
|
+
}> & {
|
|
745
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
746
|
+
}) | (Readonly<{
|
|
747
|
+
id: string;
|
|
748
|
+
x: number;
|
|
749
|
+
y: number;
|
|
750
|
+
strokeColor: string;
|
|
751
|
+
backgroundColor: string;
|
|
752
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
753
|
+
strokeWidth: number;
|
|
754
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
755
|
+
roundness: null | {
|
|
756
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
757
|
+
value?: number;
|
|
758
|
+
};
|
|
759
|
+
roughness: number;
|
|
760
|
+
opacity: number;
|
|
761
|
+
width: number;
|
|
762
|
+
height: number;
|
|
763
|
+
angle: import("@excalidraw/math").Radians;
|
|
764
|
+
seed: number;
|
|
765
|
+
version: number;
|
|
766
|
+
versionNonce: number;
|
|
767
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
768
|
+
isDeleted: boolean;
|
|
769
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
770
|
+
frameId: string | null;
|
|
771
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
772
|
+
updated: number;
|
|
773
|
+
created: number | null;
|
|
677
774
|
link: string | null;
|
|
678
775
|
locked: boolean;
|
|
679
776
|
customData?: Record<string, any>;
|
|
@@ -708,6 +805,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
708
805
|
frameId: string | null;
|
|
709
806
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
710
807
|
updated: number;
|
|
808
|
+
created: number | null;
|
|
711
809
|
link: string | null;
|
|
712
810
|
locked: boolean;
|
|
713
811
|
customData?: Record<string, any>;
|
|
@@ -742,6 +840,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
742
840
|
frameId: string | null;
|
|
743
841
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
744
842
|
updated: number;
|
|
843
|
+
created: number | null;
|
|
745
844
|
link: string | null;
|
|
746
845
|
locked: boolean;
|
|
747
846
|
customData?: Record<string, any>;
|
|
@@ -776,6 +875,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
776
875
|
frameId: string | null;
|
|
777
876
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
778
877
|
updated: number;
|
|
878
|
+
created: number | null;
|
|
779
879
|
link: string | null;
|
|
780
880
|
locked: boolean;
|
|
781
881
|
customData?: Record<string, any>;
|
|
@@ -813,6 +913,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
813
913
|
frameId: string | null;
|
|
814
914
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
815
915
|
updated: number;
|
|
916
|
+
created: number | null;
|
|
816
917
|
link: string | null;
|
|
817
918
|
locked: boolean;
|
|
818
919
|
customData?: Record<string, any>;
|
|
@@ -851,6 +952,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
851
952
|
frameId: string | null;
|
|
852
953
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
853
954
|
updated: number;
|
|
955
|
+
created: number | null;
|
|
854
956
|
link: string | null;
|
|
855
957
|
locked: boolean;
|
|
856
958
|
customData?: Record<string, any>;
|
|
@@ -886,6 +988,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
886
988
|
frameId: string | null;
|
|
887
989
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
888
990
|
updated: number;
|
|
991
|
+
created: number | null;
|
|
889
992
|
link: string | null;
|
|
890
993
|
locked: boolean;
|
|
891
994
|
customData?: Record<string, any>;
|
|
@@ -921,6 +1024,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
921
1024
|
frameId: string | null;
|
|
922
1025
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
923
1026
|
updated: number;
|
|
1027
|
+
created: number | null;
|
|
924
1028
|
link: string | null;
|
|
925
1029
|
locked: boolean;
|
|
926
1030
|
customData?: Record<string, any>;
|
|
@@ -928,15 +1032,17 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
928
1032
|
type: "text";
|
|
929
1033
|
fontSize: number;
|
|
930
1034
|
fontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
1035
|
+
baseFontSize: number | null;
|
|
931
1036
|
text: string;
|
|
932
1037
|
textAlign: import("@excalidraw/element/types").TextAlign;
|
|
933
1038
|
verticalAlign: import("@excalidraw/element/types").VerticalAlign;
|
|
934
|
-
containerId: import("@excalidraw/element/types").
|
|
1039
|
+
containerId: import("@excalidraw/element/types").ExcalidrawTextContainer["id"] | null;
|
|
935
1040
|
originalText: string;
|
|
936
1041
|
autoResize: boolean;
|
|
937
1042
|
lineHeight: number & {
|
|
938
1043
|
_brand: "unitlessLineHeight";
|
|
939
1044
|
};
|
|
1045
|
+
labelPosition?: number | null;
|
|
940
1046
|
}> & {
|
|
941
1047
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
942
1048
|
}) | (Readonly<{
|
|
@@ -966,6 +1072,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
966
1072
|
frameId: string | null;
|
|
967
1073
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
968
1074
|
updated: number;
|
|
1075
|
+
created: number | null;
|
|
969
1076
|
link: string | null;
|
|
970
1077
|
locked: boolean;
|
|
971
1078
|
customData?: Record<string, any>;
|
|
@@ -36,11 +36,20 @@ export declare const actionGroup: {
|
|
|
36
36
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
37
37
|
bindingPreference: "enabled" | "disabled";
|
|
38
38
|
isMidpointSnappingEnabled: boolean;
|
|
39
|
+
showHints: boolean;
|
|
40
|
+
inputDevice: import("../types").InputDevice;
|
|
39
41
|
suggestedBinding: {
|
|
40
42
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
41
43
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
42
44
|
} | null;
|
|
43
|
-
|
|
45
|
+
textToolHover: {
|
|
46
|
+
type: "text";
|
|
47
|
+
elementId: ExcalidrawElement["id"];
|
|
48
|
+
} | {
|
|
49
|
+
type: "container";
|
|
50
|
+
elementId: ExcalidrawElement["id"];
|
|
51
|
+
} | {
|
|
52
|
+
type: "arrow";
|
|
44
53
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
45
54
|
anchor: "start" | "end" | "label";
|
|
46
55
|
} | null;
|
|
@@ -70,6 +79,8 @@ export declare const actionGroup: {
|
|
|
70
79
|
exportWithDarkMode: boolean;
|
|
71
80
|
exportScale: number;
|
|
72
81
|
currentItemStrokeColor: string;
|
|
82
|
+
currentItemStickynoteStrokeColor: string;
|
|
83
|
+
currentItemStickynoteBackgroundColor: string;
|
|
73
84
|
currentItemBackgroundColor: string;
|
|
74
85
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
75
86
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -168,6 +179,14 @@ export declare const actionGroup: {
|
|
|
168
179
|
[groupId: string]: true;
|
|
169
180
|
};
|
|
170
181
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
182
|
+
colorTopPicks: {
|
|
183
|
+
elementStroke: readonly string[] | null;
|
|
184
|
+
elementBackground: readonly string[] | null;
|
|
185
|
+
bucketFill: readonly string[] | null;
|
|
186
|
+
stickyNoteStroke: readonly string[] | null;
|
|
187
|
+
stickyNoteBackground: readonly string[] | null;
|
|
188
|
+
};
|
|
189
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
171
190
|
};
|
|
172
191
|
elements: OrderedExcalidrawElement[];
|
|
173
192
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -214,11 +233,20 @@ export declare const actionUngroup: {
|
|
|
214
233
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
215
234
|
bindingPreference: "enabled" | "disabled";
|
|
216
235
|
isMidpointSnappingEnabled: boolean;
|
|
236
|
+
showHints: boolean;
|
|
237
|
+
inputDevice: import("../types").InputDevice;
|
|
217
238
|
suggestedBinding: {
|
|
218
239
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
219
240
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
220
241
|
} | null;
|
|
221
|
-
|
|
242
|
+
textToolHover: {
|
|
243
|
+
type: "text";
|
|
244
|
+
elementId: ExcalidrawElement["id"];
|
|
245
|
+
} | {
|
|
246
|
+
type: "container";
|
|
247
|
+
elementId: ExcalidrawElement["id"];
|
|
248
|
+
} | {
|
|
249
|
+
type: "arrow";
|
|
222
250
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
223
251
|
anchor: "start" | "end" | "label";
|
|
224
252
|
} | null;
|
|
@@ -248,6 +276,8 @@ export declare const actionUngroup: {
|
|
|
248
276
|
exportWithDarkMode: boolean;
|
|
249
277
|
exportScale: number;
|
|
250
278
|
currentItemStrokeColor: string;
|
|
279
|
+
currentItemStickynoteStrokeColor: string;
|
|
280
|
+
currentItemStickynoteBackgroundColor: string;
|
|
251
281
|
currentItemBackgroundColor: string;
|
|
252
282
|
currentItemFillStyle: ExcalidrawElement["fillStyle"];
|
|
253
283
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -346,6 +376,14 @@ export declare const actionUngroup: {
|
|
|
346
376
|
[groupId: string]: true;
|
|
347
377
|
};
|
|
348
378
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
379
|
+
colorTopPicks: {
|
|
380
|
+
elementStroke: readonly string[] | null;
|
|
381
|
+
elementBackground: readonly string[] | null;
|
|
382
|
+
bucketFill: readonly string[] | null;
|
|
383
|
+
stickyNoteStroke: readonly string[] | null;
|
|
384
|
+
stickyNoteBackground: readonly string[] | null;
|
|
385
|
+
};
|
|
386
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
349
387
|
};
|
|
350
388
|
elements: OrderedExcalidrawElement[];
|
|
351
389
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -64,11 +64,20 @@ export declare const actionToggleLinearEditor: {
|
|
|
64
64
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
65
65
|
bindingPreference: "enabled" | "disabled";
|
|
66
66
|
isMidpointSnappingEnabled: boolean;
|
|
67
|
+
showHints: boolean;
|
|
68
|
+
inputDevice: import("../types").InputDevice;
|
|
67
69
|
suggestedBinding: {
|
|
68
70
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
69
71
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
70
72
|
} | null;
|
|
71
|
-
|
|
73
|
+
textToolHover: {
|
|
74
|
+
type: "text";
|
|
75
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
76
|
+
} | {
|
|
77
|
+
type: "container";
|
|
78
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
79
|
+
} | {
|
|
80
|
+
type: "arrow";
|
|
72
81
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
73
82
|
anchor: "start" | "end" | "label";
|
|
74
83
|
} | null;
|
|
@@ -98,6 +107,8 @@ export declare const actionToggleLinearEditor: {
|
|
|
98
107
|
exportWithDarkMode: boolean;
|
|
99
108
|
exportScale: number;
|
|
100
109
|
currentItemStrokeColor: string;
|
|
110
|
+
currentItemStickynoteStrokeColor: string;
|
|
111
|
+
currentItemStickynoteBackgroundColor: string;
|
|
101
112
|
currentItemBackgroundColor: string;
|
|
102
113
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
103
114
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -202,6 +213,14 @@ export declare const actionToggleLinearEditor: {
|
|
|
202
213
|
[groupId: string]: true;
|
|
203
214
|
};
|
|
204
215
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
216
|
+
colorTopPicks: {
|
|
217
|
+
elementStroke: readonly string[] | null;
|
|
218
|
+
elementBackground: readonly string[] | null;
|
|
219
|
+
bucketFill: readonly string[] | null;
|
|
220
|
+
stickyNoteStroke: readonly string[] | null;
|
|
221
|
+
stickyNoteBackground: readonly string[] | null;
|
|
222
|
+
};
|
|
223
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
205
224
|
};
|
|
206
225
|
captureUpdate: "IMMEDIATELY";
|
|
207
226
|
};
|
|
@@ -247,6 +266,7 @@ export declare const actionTogglePolygon: {
|
|
|
247
266
|
frameId: string | null;
|
|
248
267
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
249
268
|
updated: number;
|
|
269
|
+
created: number | null;
|
|
250
270
|
link: string | null;
|
|
251
271
|
locked: boolean;
|
|
252
272
|
customData?: Record<string, any>;
|
|
@@ -286,6 +306,7 @@ export declare const actionTogglePolygon: {
|
|
|
286
306
|
frameId: string | null;
|
|
287
307
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
288
308
|
updated: number;
|
|
309
|
+
created: number | null;
|
|
289
310
|
link: string | null;
|
|
290
311
|
locked: boolean;
|
|
291
312
|
customData?: Record<string, any>;
|
|
@@ -320,6 +341,7 @@ export declare const actionTogglePolygon: {
|
|
|
320
341
|
frameId: string | null;
|
|
321
342
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
322
343
|
updated: number;
|
|
344
|
+
created: number | null;
|
|
323
345
|
link: string | null;
|
|
324
346
|
locked: boolean;
|
|
325
347
|
customData?: Record<string, any>;
|
|
@@ -354,6 +376,43 @@ export declare const actionTogglePolygon: {
|
|
|
354
376
|
frameId: string | null;
|
|
355
377
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
356
378
|
updated: number;
|
|
379
|
+
created: number | null;
|
|
380
|
+
link: string | null;
|
|
381
|
+
locked: boolean;
|
|
382
|
+
customData?: Record<string, any>;
|
|
383
|
+
}> & Readonly<{
|
|
384
|
+
type: "stickynote";
|
|
385
|
+
baseHeight: number;
|
|
386
|
+
}> & {
|
|
387
|
+
index: import("@excalidraw/element/types").FractionalIndex;
|
|
388
|
+
}) | (Readonly<{
|
|
389
|
+
id: string;
|
|
390
|
+
x: number;
|
|
391
|
+
y: number;
|
|
392
|
+
strokeColor: string;
|
|
393
|
+
backgroundColor: string;
|
|
394
|
+
fillStyle: import("@excalidraw/element/types").FillStyle;
|
|
395
|
+
strokeWidth: number;
|
|
396
|
+
strokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
397
|
+
roundness: null | {
|
|
398
|
+
type: import("@excalidraw/element/types").RoundnessType;
|
|
399
|
+
value?: number;
|
|
400
|
+
};
|
|
401
|
+
roughness: number;
|
|
402
|
+
opacity: number;
|
|
403
|
+
width: number;
|
|
404
|
+
height: number;
|
|
405
|
+
angle: import("@excalidraw/math").Radians;
|
|
406
|
+
seed: number;
|
|
407
|
+
version: number;
|
|
408
|
+
versionNonce: number;
|
|
409
|
+
index: import("@excalidraw/element/types").FractionalIndex | null;
|
|
410
|
+
isDeleted: boolean;
|
|
411
|
+
groupIds: readonly import("@excalidraw/element/types").GroupId[];
|
|
412
|
+
frameId: string | null;
|
|
413
|
+
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
414
|
+
updated: number;
|
|
415
|
+
created: number | null;
|
|
357
416
|
link: string | null;
|
|
358
417
|
locked: boolean;
|
|
359
418
|
customData?: Record<string, any>;
|
|
@@ -388,6 +447,7 @@ export declare const actionTogglePolygon: {
|
|
|
388
447
|
frameId: string | null;
|
|
389
448
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
390
449
|
updated: number;
|
|
450
|
+
created: number | null;
|
|
391
451
|
link: string | null;
|
|
392
452
|
locked: boolean;
|
|
393
453
|
customData?: Record<string, any>;
|
|
@@ -422,6 +482,7 @@ export declare const actionTogglePolygon: {
|
|
|
422
482
|
frameId: string | null;
|
|
423
483
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
424
484
|
updated: number;
|
|
485
|
+
created: number | null;
|
|
425
486
|
link: string | null;
|
|
426
487
|
locked: boolean;
|
|
427
488
|
customData?: Record<string, any>;
|
|
@@ -456,6 +517,7 @@ export declare const actionTogglePolygon: {
|
|
|
456
517
|
frameId: string | null;
|
|
457
518
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
458
519
|
updated: number;
|
|
520
|
+
created: number | null;
|
|
459
521
|
link: string | null;
|
|
460
522
|
locked: boolean;
|
|
461
523
|
customData?: Record<string, any>;
|
|
@@ -493,6 +555,7 @@ export declare const actionTogglePolygon: {
|
|
|
493
555
|
frameId: string | null;
|
|
494
556
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
495
557
|
updated: number;
|
|
558
|
+
created: number | null;
|
|
496
559
|
link: string | null;
|
|
497
560
|
locked: boolean;
|
|
498
561
|
customData?: Record<string, any>;
|
|
@@ -531,6 +594,7 @@ export declare const actionTogglePolygon: {
|
|
|
531
594
|
frameId: string | null;
|
|
532
595
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
533
596
|
updated: number;
|
|
597
|
+
created: number | null;
|
|
534
598
|
link: string | null;
|
|
535
599
|
locked: boolean;
|
|
536
600
|
customData?: Record<string, any>;
|
|
@@ -566,6 +630,7 @@ export declare const actionTogglePolygon: {
|
|
|
566
630
|
frameId: string | null;
|
|
567
631
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
568
632
|
updated: number;
|
|
633
|
+
created: number | null;
|
|
569
634
|
link: string | null;
|
|
570
635
|
locked: boolean;
|
|
571
636
|
customData?: Record<string, any>;
|
|
@@ -601,6 +666,7 @@ export declare const actionTogglePolygon: {
|
|
|
601
666
|
frameId: string | null;
|
|
602
667
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
603
668
|
updated: number;
|
|
669
|
+
created: number | null;
|
|
604
670
|
link: string | null;
|
|
605
671
|
locked: boolean;
|
|
606
672
|
customData?: Record<string, any>;
|
|
@@ -608,15 +674,17 @@ export declare const actionTogglePolygon: {
|
|
|
608
674
|
type: "text";
|
|
609
675
|
fontSize: number;
|
|
610
676
|
fontFamily: import("@excalidraw/element/types").FontFamilyValues;
|
|
677
|
+
baseFontSize: number | null;
|
|
611
678
|
text: string;
|
|
612
679
|
textAlign: import("@excalidraw/element/types").TextAlign;
|
|
613
680
|
verticalAlign: import("@excalidraw/element/types").VerticalAlign;
|
|
614
|
-
containerId: import("@excalidraw/element/types").
|
|
681
|
+
containerId: import("@excalidraw/element/types").ExcalidrawTextContainer["id"] | null;
|
|
615
682
|
originalText: string;
|
|
616
683
|
autoResize: boolean;
|
|
617
684
|
lineHeight: number & {
|
|
618
685
|
_brand: "unitlessLineHeight";
|
|
619
686
|
};
|
|
687
|
+
labelPosition?: number | null;
|
|
620
688
|
}> & {
|
|
621
689
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
622
690
|
}) | (Readonly<{
|
|
@@ -646,6 +714,7 @@ export declare const actionTogglePolygon: {
|
|
|
646
714
|
frameId: string | null;
|
|
647
715
|
boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
|
|
648
716
|
updated: number;
|
|
717
|
+
created: number | null;
|
|
649
718
|
link: string | null;
|
|
650
719
|
locked: boolean;
|
|
651
720
|
customData?: Record<string, any>;
|
|
@@ -27,11 +27,20 @@ export declare const actionLink: {
|
|
|
27
27
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
28
28
|
bindingPreference: "enabled" | "disabled";
|
|
29
29
|
isMidpointSnappingEnabled: boolean;
|
|
30
|
+
showHints: boolean;
|
|
31
|
+
inputDevice: import("../types").InputDevice;
|
|
30
32
|
suggestedBinding: {
|
|
31
33
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
32
34
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
33
35
|
} | null;
|
|
34
|
-
|
|
36
|
+
textToolHover: {
|
|
37
|
+
type: "text";
|
|
38
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
39
|
+
} | {
|
|
40
|
+
type: "container";
|
|
41
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
42
|
+
} | {
|
|
43
|
+
type: "arrow";
|
|
35
44
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
36
45
|
anchor: "start" | "end" | "label";
|
|
37
46
|
} | null;
|
|
@@ -61,6 +70,8 @@ export declare const actionLink: {
|
|
|
61
70
|
exportWithDarkMode: boolean;
|
|
62
71
|
exportScale: number;
|
|
63
72
|
currentItemStrokeColor: string;
|
|
73
|
+
currentItemStickynoteStrokeColor: string;
|
|
74
|
+
currentItemStickynoteBackgroundColor: string;
|
|
64
75
|
currentItemBackgroundColor: string;
|
|
65
76
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
66
77
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -164,6 +175,14 @@ export declare const actionLink: {
|
|
|
164
175
|
[groupId: string]: true;
|
|
165
176
|
};
|
|
166
177
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
178
|
+
colorTopPicks: {
|
|
179
|
+
elementStroke: readonly string[] | null;
|
|
180
|
+
elementBackground: readonly string[] | null;
|
|
181
|
+
bucketFill: readonly string[] | null;
|
|
182
|
+
stickyNoteStroke: readonly string[] | null;
|
|
183
|
+
stickyNoteBackground: readonly string[] | null;
|
|
184
|
+
};
|
|
185
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
167
186
|
};
|
|
168
187
|
captureUpdate: "IMMEDIATELY";
|
|
169
188
|
};
|
|
@@ -34,11 +34,20 @@ export declare const actionShortcuts: {
|
|
|
34
34
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
35
35
|
bindingPreference: "enabled" | "disabled";
|
|
36
36
|
isMidpointSnappingEnabled: boolean;
|
|
37
|
+
showHints: boolean;
|
|
38
|
+
inputDevice: import("../types").InputDevice;
|
|
37
39
|
suggestedBinding: {
|
|
38
40
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
39
41
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
40
42
|
} | null;
|
|
41
|
-
|
|
43
|
+
textToolHover: {
|
|
44
|
+
type: "text";
|
|
45
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
46
|
+
} | {
|
|
47
|
+
type: "container";
|
|
48
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
49
|
+
} | {
|
|
50
|
+
type: "arrow";
|
|
42
51
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
43
52
|
anchor: "start" | "end" | "label";
|
|
44
53
|
} | null;
|
|
@@ -68,6 +77,8 @@ export declare const actionShortcuts: {
|
|
|
68
77
|
exportWithDarkMode: boolean;
|
|
69
78
|
exportScale: number;
|
|
70
79
|
currentItemStrokeColor: string;
|
|
80
|
+
currentItemStickynoteStrokeColor: string;
|
|
81
|
+
currentItemStickynoteBackgroundColor: string;
|
|
71
82
|
currentItemBackgroundColor: string;
|
|
72
83
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
73
84
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -154,6 +165,14 @@ export declare const actionShortcuts: {
|
|
|
154
165
|
[groupId: string]: true;
|
|
155
166
|
};
|
|
156
167
|
bindMode: import("@excalidraw/element/types").BindMode;
|
|
168
|
+
colorTopPicks: {
|
|
169
|
+
elementStroke: readonly string[] | null;
|
|
170
|
+
elementBackground: readonly string[] | null;
|
|
171
|
+
bucketFill: readonly string[] | null;
|
|
172
|
+
stickyNoteStroke: readonly string[] | null;
|
|
173
|
+
stickyNoteBackground: readonly string[] | null;
|
|
174
|
+
};
|
|
175
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
157
176
|
};
|
|
158
177
|
captureUpdate: "EVENTUALLY";
|
|
159
178
|
};
|