@excalidraw/excalidraw 0.18.0-414182f → 0.18.0-4e0441e
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/{chunk-QF5FRM6O.js → chunk-LLUJPE5U.js} +48 -26
- package/dist/dev/chunk-LLUJPE5U.js.map +7 -0
- package/dist/dev/{chunk-WWDIUJ2Q.js → chunk-YMRX7R7U.js} +50 -51
- package/dist/dev/chunk-YMRX7R7U.js.map +7 -0
- package/dist/dev/data/{image-VTYIFRQE.js → image-L23D26XS.js} +2 -2
- package/dist/dev/index.css +989 -592
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +4782 -2938
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-SMAPCEOQ.js → en-YSPYSBUR.js} +4 -2
- package/dist/prod/chunk-HT4FKTIQ.js +4 -0
- package/dist/prod/chunk-RSFMSEP5.js +12 -0
- package/dist/prod/data/{image-YQ6UXXDA.js → image-NWF7UX55.js} +1 -1
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +22 -22
- package/dist/prod/locales/en-SFRQHD7K.js +1 -0
- package/dist/types/common/src/constants.d.ts +11 -1
- package/dist/types/common/src/utils.d.ts +3 -1
- package/dist/types/element/src/renderElement.d.ts +4 -1
- package/dist/types/element/src/transformHandles.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +21 -6
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +14 -4
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +92 -40
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +42 -12
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +7 -2
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +21 -6
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +7 -2
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +14 -4
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +7 -2
- package/dist/types/excalidraw/actions/actionExport.d.ts +63 -18
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +14 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +28 -8
- package/dist/types/excalidraw/actions/actionGroup.d.ts +14 -4
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +8 -3
- package/dist/types/excalidraw/actions/actionLink.d.ts +6 -1
- package/dist/types/excalidraw/actions/actionMenu.d.ts +7 -368
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +14 -4
- package/dist/types/excalidraw/actions/actionProperties.d.ts +122 -38
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +7 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +7 -2
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +7 -2
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +7 -2
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +7 -2
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +7 -2
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +7 -2
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +7 -2
- package/dist/types/excalidraw/actions/index.d.ts +2 -2
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +5 -1
- package/dist/types/excalidraw/clipboard.d.ts +2 -0
- package/dist/types/excalidraw/components/Actions.d.ts +17 -3
- package/dist/types/excalidraw/components/App.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -0
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
- package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
- package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +11 -0
- package/dist/types/excalidraw/components/Popover.d.ts +2 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +4 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +5 -0
- package/dist/types/excalidraw/data/blob.d.ts +2 -2
- package/dist/types/excalidraw/data/types.d.ts +4 -1
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/dist/types/excalidraw/shortcut.d.ts +1 -0
- package/dist/types/excalidraw/types.d.ts +10 -3
- package/dist/types/math/src/segment.d.ts +1 -0
- package/package.json +4 -4
- package/dist/dev/chunk-QF5FRM6O.js.map +0 -7
- package/dist/dev/chunk-WWDIUJ2Q.js.map +0 -7
- package/dist/prod/chunk-I4UNSFV6.js +0 -12
- package/dist/prod/chunk-VTWWEYSQ.js +0 -4
- package/dist/prod/locales/en-TYY6KWIJ.js +0 -1
- /package/dist/dev/data/{image-VTYIFRQE.js.map → image-L23D26XS.js.map} +0 -0
- /package/dist/dev/locales/{en-SMAPCEOQ.js.map → en-YSPYSBUR.js.map} +0 -0
|
@@ -9,7 +9,7 @@ export declare const actionChangeStrokeColor: {
|
|
|
9
9
|
label: string;
|
|
10
10
|
trackEvent: false;
|
|
11
11
|
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
|
|
12
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
} & {
|
|
14
14
|
keyTest?: undefined;
|
|
15
15
|
};
|
|
@@ -26,7 +26,7 @@ export declare const actionChangeBackgroundColor: {
|
|
|
26
26
|
appState: any;
|
|
27
27
|
captureUpdate: "IMMEDIATELY";
|
|
28
28
|
};
|
|
29
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
} & {
|
|
31
31
|
keyTest?: undefined;
|
|
32
32
|
};
|
|
@@ -72,6 +72,10 @@ export declare const actionChangeFillStyle: {
|
|
|
72
72
|
locked: boolean;
|
|
73
73
|
fromSelection: boolean;
|
|
74
74
|
} & import("../types").ActiveTool;
|
|
75
|
+
preferredSelectionTool: {
|
|
76
|
+
type: "selection" | "lasso";
|
|
77
|
+
initialized: boolean;
|
|
78
|
+
};
|
|
75
79
|
penMode: boolean;
|
|
76
80
|
penDetected: boolean;
|
|
77
81
|
exportBackground: boolean;
|
|
@@ -103,8 +107,8 @@ export declare const actionChangeFillStyle: {
|
|
|
103
107
|
zoom: Readonly<{
|
|
104
108
|
value: import("../types").NormalizedZoomValue;
|
|
105
109
|
}>;
|
|
106
|
-
openMenu: "canvas" |
|
|
107
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
110
|
+
openMenu: "canvas" | null;
|
|
111
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
108
112
|
openSidebar: {
|
|
109
113
|
name: string;
|
|
110
114
|
tab?: string | undefined;
|
|
@@ -205,6 +209,7 @@ export declare const actionChangeFillStyle: {
|
|
|
205
209
|
lockedMultiSelections: {
|
|
206
210
|
[groupId: string]: true;
|
|
207
211
|
};
|
|
212
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
208
213
|
};
|
|
209
214
|
captureUpdate: "IMMEDIATELY";
|
|
210
215
|
};
|
|
@@ -254,6 +259,10 @@ export declare const actionChangeStrokeWidth: {
|
|
|
254
259
|
locked: boolean;
|
|
255
260
|
fromSelection: boolean;
|
|
256
261
|
} & import("../types").ActiveTool;
|
|
262
|
+
preferredSelectionTool: {
|
|
263
|
+
type: "selection" | "lasso";
|
|
264
|
+
initialized: boolean;
|
|
265
|
+
};
|
|
257
266
|
penMode: boolean;
|
|
258
267
|
penDetected: boolean;
|
|
259
268
|
exportBackground: boolean;
|
|
@@ -285,8 +294,8 @@ export declare const actionChangeStrokeWidth: {
|
|
|
285
294
|
zoom: Readonly<{
|
|
286
295
|
value: import("../types").NormalizedZoomValue;
|
|
287
296
|
}>;
|
|
288
|
-
openMenu: "canvas" |
|
|
289
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
297
|
+
openMenu: "canvas" | null;
|
|
298
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
290
299
|
openSidebar: {
|
|
291
300
|
name: string;
|
|
292
301
|
tab?: string | undefined;
|
|
@@ -387,10 +396,11 @@ export declare const actionChangeStrokeWidth: {
|
|
|
387
396
|
lockedMultiSelections: {
|
|
388
397
|
[groupId: string]: true;
|
|
389
398
|
};
|
|
399
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
390
400
|
};
|
|
391
401
|
captureUpdate: "IMMEDIATELY";
|
|
392
402
|
};
|
|
393
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
403
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
394
404
|
} & {
|
|
395
405
|
keyTest?: undefined;
|
|
396
406
|
};
|
|
@@ -436,6 +446,10 @@ export declare const actionChangeSloppiness: {
|
|
|
436
446
|
locked: boolean;
|
|
437
447
|
fromSelection: boolean;
|
|
438
448
|
} & import("../types").ActiveTool;
|
|
449
|
+
preferredSelectionTool: {
|
|
450
|
+
type: "selection" | "lasso";
|
|
451
|
+
initialized: boolean;
|
|
452
|
+
};
|
|
439
453
|
penMode: boolean;
|
|
440
454
|
penDetected: boolean;
|
|
441
455
|
exportBackground: boolean;
|
|
@@ -467,8 +481,8 @@ export declare const actionChangeSloppiness: {
|
|
|
467
481
|
zoom: Readonly<{
|
|
468
482
|
value: import("../types").NormalizedZoomValue;
|
|
469
483
|
}>;
|
|
470
|
-
openMenu: "canvas" |
|
|
471
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
484
|
+
openMenu: "canvas" | null;
|
|
485
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
472
486
|
openSidebar: {
|
|
473
487
|
name: string;
|
|
474
488
|
tab?: string | undefined;
|
|
@@ -569,10 +583,11 @@ export declare const actionChangeSloppiness: {
|
|
|
569
583
|
lockedMultiSelections: {
|
|
570
584
|
[groupId: string]: true;
|
|
571
585
|
};
|
|
586
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
572
587
|
};
|
|
573
588
|
captureUpdate: "IMMEDIATELY";
|
|
574
589
|
};
|
|
575
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
590
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
576
591
|
} & {
|
|
577
592
|
keyTest?: undefined;
|
|
578
593
|
};
|
|
@@ -618,6 +633,10 @@ export declare const actionChangeStrokeStyle: {
|
|
|
618
633
|
locked: boolean;
|
|
619
634
|
fromSelection: boolean;
|
|
620
635
|
} & import("../types").ActiveTool;
|
|
636
|
+
preferredSelectionTool: {
|
|
637
|
+
type: "selection" | "lasso";
|
|
638
|
+
initialized: boolean;
|
|
639
|
+
};
|
|
621
640
|
penMode: boolean;
|
|
622
641
|
penDetected: boolean;
|
|
623
642
|
exportBackground: boolean;
|
|
@@ -649,8 +668,8 @@ export declare const actionChangeStrokeStyle: {
|
|
|
649
668
|
zoom: Readonly<{
|
|
650
669
|
value: import("../types").NormalizedZoomValue;
|
|
651
670
|
}>;
|
|
652
|
-
openMenu: "canvas" |
|
|
653
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
671
|
+
openMenu: "canvas" | null;
|
|
672
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
654
673
|
openSidebar: {
|
|
655
674
|
name: string;
|
|
656
675
|
tab?: string | undefined;
|
|
@@ -751,10 +770,11 @@ export declare const actionChangeStrokeStyle: {
|
|
|
751
770
|
lockedMultiSelections: {
|
|
752
771
|
[groupId: string]: true;
|
|
753
772
|
};
|
|
773
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
754
774
|
};
|
|
755
775
|
captureUpdate: "IMMEDIATELY";
|
|
756
776
|
};
|
|
757
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
777
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
758
778
|
} & {
|
|
759
779
|
keyTest?: undefined;
|
|
760
780
|
};
|
|
@@ -800,6 +820,10 @@ export declare const actionChangeOpacity: {
|
|
|
800
820
|
locked: boolean;
|
|
801
821
|
fromSelection: boolean;
|
|
802
822
|
} & import("../types").ActiveTool;
|
|
823
|
+
preferredSelectionTool: {
|
|
824
|
+
type: "selection" | "lasso";
|
|
825
|
+
initialized: boolean;
|
|
826
|
+
};
|
|
803
827
|
penMode: boolean;
|
|
804
828
|
penDetected: boolean;
|
|
805
829
|
exportBackground: boolean;
|
|
@@ -831,8 +855,8 @@ export declare const actionChangeOpacity: {
|
|
|
831
855
|
zoom: Readonly<{
|
|
832
856
|
value: import("../types").NormalizedZoomValue;
|
|
833
857
|
}>;
|
|
834
|
-
openMenu: "canvas" |
|
|
835
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
858
|
+
openMenu: "canvas" | null;
|
|
859
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
836
860
|
openSidebar: {
|
|
837
861
|
name: string;
|
|
838
862
|
tab?: string | undefined;
|
|
@@ -933,6 +957,7 @@ export declare const actionChangeOpacity: {
|
|
|
933
957
|
lockedMultiSelections: {
|
|
934
958
|
[groupId: string]: true;
|
|
935
959
|
};
|
|
960
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
936
961
|
};
|
|
937
962
|
captureUpdate: "IMMEDIATELY";
|
|
938
963
|
};
|
|
@@ -982,6 +1007,10 @@ export declare const actionChangeFontSize: {
|
|
|
982
1007
|
locked: boolean;
|
|
983
1008
|
fromSelection: boolean;
|
|
984
1009
|
} & import("../types").ActiveTool;
|
|
1010
|
+
preferredSelectionTool: {
|
|
1011
|
+
type: "selection" | "lasso";
|
|
1012
|
+
initialized: boolean;
|
|
1013
|
+
};
|
|
985
1014
|
penMode: boolean;
|
|
986
1015
|
penDetected: boolean;
|
|
987
1016
|
exportBackground: boolean;
|
|
@@ -1013,8 +1042,8 @@ export declare const actionChangeFontSize: {
|
|
|
1013
1042
|
zoom: Readonly<{
|
|
1014
1043
|
value: import("../types").NormalizedZoomValue;
|
|
1015
1044
|
}>;
|
|
1016
|
-
openMenu: "canvas" |
|
|
1017
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1045
|
+
openMenu: "canvas" | null;
|
|
1046
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1018
1047
|
openSidebar: {
|
|
1019
1048
|
name: string;
|
|
1020
1049
|
tab?: string | undefined;
|
|
@@ -1115,10 +1144,11 @@ export declare const actionChangeFontSize: {
|
|
|
1115
1144
|
lockedMultiSelections: {
|
|
1116
1145
|
[groupId: string]: true;
|
|
1117
1146
|
};
|
|
1147
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1118
1148
|
};
|
|
1119
1149
|
captureUpdate: "IMMEDIATELY";
|
|
1120
1150
|
};
|
|
1121
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
1151
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
1122
1152
|
} & {
|
|
1123
1153
|
keyTest?: undefined;
|
|
1124
1154
|
};
|
|
@@ -1165,6 +1195,10 @@ export declare const actionDecreaseFontSize: {
|
|
|
1165
1195
|
locked: boolean;
|
|
1166
1196
|
fromSelection: boolean;
|
|
1167
1197
|
} & import("../types").ActiveTool;
|
|
1198
|
+
preferredSelectionTool: {
|
|
1199
|
+
type: "selection" | "lasso";
|
|
1200
|
+
initialized: boolean;
|
|
1201
|
+
};
|
|
1168
1202
|
penMode: boolean;
|
|
1169
1203
|
penDetected: boolean;
|
|
1170
1204
|
exportBackground: boolean;
|
|
@@ -1196,8 +1230,8 @@ export declare const actionDecreaseFontSize: {
|
|
|
1196
1230
|
zoom: Readonly<{
|
|
1197
1231
|
value: import("../types").NormalizedZoomValue;
|
|
1198
1232
|
}>;
|
|
1199
|
-
openMenu: "canvas" |
|
|
1200
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1233
|
+
openMenu: "canvas" | null;
|
|
1234
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1201
1235
|
openSidebar: {
|
|
1202
1236
|
name: string;
|
|
1203
1237
|
tab?: string | undefined;
|
|
@@ -1298,6 +1332,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1298
1332
|
lockedMultiSelections: {
|
|
1299
1333
|
[groupId: string]: true;
|
|
1300
1334
|
};
|
|
1335
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1301
1336
|
};
|
|
1302
1337
|
captureUpdate: "IMMEDIATELY";
|
|
1303
1338
|
};
|
|
@@ -1348,6 +1383,10 @@ export declare const actionIncreaseFontSize: {
|
|
|
1348
1383
|
locked: boolean;
|
|
1349
1384
|
fromSelection: boolean;
|
|
1350
1385
|
} & import("../types").ActiveTool;
|
|
1386
|
+
preferredSelectionTool: {
|
|
1387
|
+
type: "selection" | "lasso";
|
|
1388
|
+
initialized: boolean;
|
|
1389
|
+
};
|
|
1351
1390
|
penMode: boolean;
|
|
1352
1391
|
penDetected: boolean;
|
|
1353
1392
|
exportBackground: boolean;
|
|
@@ -1379,8 +1418,8 @@ export declare const actionIncreaseFontSize: {
|
|
|
1379
1418
|
zoom: Readonly<{
|
|
1380
1419
|
value: import("../types").NormalizedZoomValue;
|
|
1381
1420
|
}>;
|
|
1382
|
-
openMenu: "canvas" |
|
|
1383
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1421
|
+
openMenu: "canvas" | null;
|
|
1422
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1384
1423
|
openSidebar: {
|
|
1385
1424
|
name: string;
|
|
1386
1425
|
tab?: string | undefined;
|
|
@@ -1481,6 +1520,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1481
1520
|
lockedMultiSelections: {
|
|
1482
1521
|
[groupId: string]: true;
|
|
1483
1522
|
};
|
|
1523
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1484
1524
|
};
|
|
1485
1525
|
captureUpdate: "IMMEDIATELY";
|
|
1486
1526
|
};
|
|
@@ -1496,7 +1536,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1496
1536
|
appState: {
|
|
1497
1537
|
currentItemFontFamily: number;
|
|
1498
1538
|
currentHoveredFontFamily: number | null;
|
|
1499
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1539
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1500
1540
|
contextMenu: {
|
|
1501
1541
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1502
1542
|
top: number;
|
|
@@ -1531,6 +1571,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1531
1571
|
locked: boolean;
|
|
1532
1572
|
fromSelection: boolean;
|
|
1533
1573
|
} & import("../types").ActiveTool;
|
|
1574
|
+
preferredSelectionTool: {
|
|
1575
|
+
type: "selection" | "lasso";
|
|
1576
|
+
initialized: boolean;
|
|
1577
|
+
};
|
|
1534
1578
|
penMode: boolean;
|
|
1535
1579
|
penDetected: boolean;
|
|
1536
1580
|
exportBackground: boolean;
|
|
@@ -1561,7 +1605,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1561
1605
|
zoom: Readonly<{
|
|
1562
1606
|
value: import("../types").NormalizedZoomValue;
|
|
1563
1607
|
}>;
|
|
1564
|
-
openMenu: "canvas" |
|
|
1608
|
+
openMenu: "canvas" | null;
|
|
1565
1609
|
openSidebar: {
|
|
1566
1610
|
name: string;
|
|
1567
1611
|
tab?: string | undefined;
|
|
@@ -1662,6 +1706,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1662
1706
|
lockedMultiSelections: {
|
|
1663
1707
|
[groupId: string]: true;
|
|
1664
1708
|
};
|
|
1709
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1665
1710
|
};
|
|
1666
1711
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
1667
1712
|
} | {
|
|
@@ -1669,7 +1714,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1669
1714
|
appState: {
|
|
1670
1715
|
currentItemFontFamily: number;
|
|
1671
1716
|
currentHoveredFontFamily: number | null;
|
|
1672
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1717
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1673
1718
|
contextMenu: {
|
|
1674
1719
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
1675
1720
|
top: number;
|
|
@@ -1704,6 +1749,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1704
1749
|
locked: boolean;
|
|
1705
1750
|
fromSelection: boolean;
|
|
1706
1751
|
} & import("../types").ActiveTool;
|
|
1752
|
+
preferredSelectionTool: {
|
|
1753
|
+
type: "selection" | "lasso";
|
|
1754
|
+
initialized: boolean;
|
|
1755
|
+
};
|
|
1707
1756
|
penMode: boolean;
|
|
1708
1757
|
penDetected: boolean;
|
|
1709
1758
|
exportBackground: boolean;
|
|
@@ -1734,7 +1783,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1734
1783
|
zoom: Readonly<{
|
|
1735
1784
|
value: import("../types").NormalizedZoomValue;
|
|
1736
1785
|
}>;
|
|
1737
|
-
openMenu: "canvas" |
|
|
1786
|
+
openMenu: "canvas" | null;
|
|
1738
1787
|
openSidebar: {
|
|
1739
1788
|
name: string;
|
|
1740
1789
|
tab?: string | undefined;
|
|
@@ -1835,6 +1884,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1835
1884
|
lockedMultiSelections: {
|
|
1836
1885
|
[groupId: string]: true;
|
|
1837
1886
|
};
|
|
1887
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1838
1888
|
};
|
|
1839
1889
|
captureUpdate: "NEVER";
|
|
1840
1890
|
};
|
|
@@ -1884,6 +1934,10 @@ export declare const actionChangeTextAlign: {
|
|
|
1884
1934
|
locked: boolean;
|
|
1885
1935
|
fromSelection: boolean;
|
|
1886
1936
|
} & import("../types").ActiveTool;
|
|
1937
|
+
preferredSelectionTool: {
|
|
1938
|
+
type: "selection" | "lasso";
|
|
1939
|
+
initialized: boolean;
|
|
1940
|
+
};
|
|
1887
1941
|
penMode: boolean;
|
|
1888
1942
|
penDetected: boolean;
|
|
1889
1943
|
exportBackground: boolean;
|
|
@@ -1915,8 +1969,8 @@ export declare const actionChangeTextAlign: {
|
|
|
1915
1969
|
zoom: Readonly<{
|
|
1916
1970
|
value: import("../types").NormalizedZoomValue;
|
|
1917
1971
|
}>;
|
|
1918
|
-
openMenu: "canvas" |
|
|
1919
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
1972
|
+
openMenu: "canvas" | null;
|
|
1973
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1920
1974
|
openSidebar: {
|
|
1921
1975
|
name: string;
|
|
1922
1976
|
tab?: string | undefined;
|
|
@@ -2017,10 +2071,11 @@ export declare const actionChangeTextAlign: {
|
|
|
2017
2071
|
lockedMultiSelections: {
|
|
2018
2072
|
[groupId: string]: true;
|
|
2019
2073
|
};
|
|
2074
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2020
2075
|
};
|
|
2021
2076
|
captureUpdate: "IMMEDIATELY";
|
|
2022
2077
|
};
|
|
2023
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2078
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2024
2079
|
} & {
|
|
2025
2080
|
keyTest?: undefined;
|
|
2026
2081
|
};
|
|
@@ -2067,6 +2122,10 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2067
2122
|
locked: boolean;
|
|
2068
2123
|
fromSelection: boolean;
|
|
2069
2124
|
} & import("../types").ActiveTool;
|
|
2125
|
+
preferredSelectionTool: {
|
|
2126
|
+
type: "selection" | "lasso";
|
|
2127
|
+
initialized: boolean;
|
|
2128
|
+
};
|
|
2070
2129
|
penMode: boolean;
|
|
2071
2130
|
penDetected: boolean;
|
|
2072
2131
|
exportBackground: boolean;
|
|
@@ -2099,8 +2158,8 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2099
2158
|
zoom: Readonly<{
|
|
2100
2159
|
value: import("../types").NormalizedZoomValue;
|
|
2101
2160
|
}>;
|
|
2102
|
-
openMenu: "canvas" |
|
|
2103
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2161
|
+
openMenu: "canvas" | null;
|
|
2162
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2104
2163
|
openSidebar: {
|
|
2105
2164
|
name: string;
|
|
2106
2165
|
tab?: string | undefined;
|
|
@@ -2201,10 +2260,11 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2201
2260
|
lockedMultiSelections: {
|
|
2202
2261
|
[groupId: string]: true;
|
|
2203
2262
|
};
|
|
2263
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2204
2264
|
};
|
|
2205
2265
|
captureUpdate: "IMMEDIATELY";
|
|
2206
2266
|
};
|
|
2207
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2267
|
+
PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2208
2268
|
} & {
|
|
2209
2269
|
keyTest?: undefined;
|
|
2210
2270
|
};
|
|
@@ -2250,6 +2310,10 @@ export declare const actionChangeRoundness: {
|
|
|
2250
2310
|
locked: boolean;
|
|
2251
2311
|
fromSelection: boolean;
|
|
2252
2312
|
} & import("../types").ActiveTool;
|
|
2313
|
+
preferredSelectionTool: {
|
|
2314
|
+
type: "selection" | "lasso";
|
|
2315
|
+
initialized: boolean;
|
|
2316
|
+
};
|
|
2253
2317
|
penMode: boolean;
|
|
2254
2318
|
penDetected: boolean;
|
|
2255
2319
|
exportBackground: boolean;
|
|
@@ -2281,8 +2345,8 @@ export declare const actionChangeRoundness: {
|
|
|
2281
2345
|
zoom: Readonly<{
|
|
2282
2346
|
value: import("../types").NormalizedZoomValue;
|
|
2283
2347
|
}>;
|
|
2284
|
-
openMenu: "canvas" |
|
|
2285
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2348
|
+
openMenu: "canvas" | null;
|
|
2349
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2286
2350
|
openSidebar: {
|
|
2287
2351
|
name: string;
|
|
2288
2352
|
tab?: string | undefined;
|
|
@@ -2383,6 +2447,7 @@ export declare const actionChangeRoundness: {
|
|
|
2383
2447
|
lockedMultiSelections: {
|
|
2384
2448
|
[groupId: string]: true;
|
|
2385
2449
|
};
|
|
2450
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2386
2451
|
};
|
|
2387
2452
|
captureUpdate: "IMMEDIATELY";
|
|
2388
2453
|
};
|
|
@@ -2434,6 +2499,10 @@ export declare const actionChangeArrowhead: {
|
|
|
2434
2499
|
locked: boolean;
|
|
2435
2500
|
fromSelection: boolean;
|
|
2436
2501
|
} & import("../types").ActiveTool;
|
|
2502
|
+
preferredSelectionTool: {
|
|
2503
|
+
type: "selection" | "lasso";
|
|
2504
|
+
initialized: boolean;
|
|
2505
|
+
};
|
|
2437
2506
|
penMode: boolean;
|
|
2438
2507
|
penDetected: boolean;
|
|
2439
2508
|
exportBackground: boolean;
|
|
@@ -2466,8 +2535,8 @@ export declare const actionChangeArrowhead: {
|
|
|
2466
2535
|
zoom: Readonly<{
|
|
2467
2536
|
value: import("../types").NormalizedZoomValue;
|
|
2468
2537
|
}>;
|
|
2469
|
-
openMenu: "canvas" |
|
|
2470
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2538
|
+
openMenu: "canvas" | null;
|
|
2539
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2471
2540
|
openSidebar: {
|
|
2472
2541
|
name: string;
|
|
2473
2542
|
tab?: string | undefined;
|
|
@@ -2568,6 +2637,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2568
2637
|
lockedMultiSelections: {
|
|
2569
2638
|
[groupId: string]: true;
|
|
2570
2639
|
};
|
|
2640
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2571
2641
|
};
|
|
2572
2642
|
captureUpdate: "IMMEDIATELY";
|
|
2573
2643
|
};
|
|
@@ -2575,6 +2645,15 @@ export declare const actionChangeArrowhead: {
|
|
|
2575
2645
|
} & {
|
|
2576
2646
|
keyTest?: undefined;
|
|
2577
2647
|
};
|
|
2648
|
+
export declare const actionChangeArrowProperties: {
|
|
2649
|
+
name: "changeArrowProperties";
|
|
2650
|
+
label: string;
|
|
2651
|
+
trackEvent: false;
|
|
2652
|
+
perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => false;
|
|
2653
|
+
PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
2654
|
+
} & {
|
|
2655
|
+
keyTest?: undefined;
|
|
2656
|
+
};
|
|
2578
2657
|
export declare const actionChangeArrowType: {
|
|
2579
2658
|
name: "changeArrowType";
|
|
2580
2659
|
label: string;
|
|
@@ -2617,6 +2696,10 @@ export declare const actionChangeArrowType: {
|
|
|
2617
2696
|
locked: boolean;
|
|
2618
2697
|
fromSelection: boolean;
|
|
2619
2698
|
} & import("../types").ActiveTool;
|
|
2699
|
+
preferredSelectionTool: {
|
|
2700
|
+
type: "selection" | "lasso";
|
|
2701
|
+
initialized: boolean;
|
|
2702
|
+
};
|
|
2620
2703
|
penMode: boolean;
|
|
2621
2704
|
penDetected: boolean;
|
|
2622
2705
|
exportBackground: boolean;
|
|
@@ -2648,8 +2731,8 @@ export declare const actionChangeArrowType: {
|
|
|
2648
2731
|
zoom: Readonly<{
|
|
2649
2732
|
value: import("../types").NormalizedZoomValue;
|
|
2650
2733
|
}>;
|
|
2651
|
-
openMenu: "canvas" |
|
|
2652
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
2734
|
+
openMenu: "canvas" | null;
|
|
2735
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2653
2736
|
openSidebar: {
|
|
2654
2737
|
name: string;
|
|
2655
2738
|
tab?: string | undefined;
|
|
@@ -2750,6 +2833,7 @@ export declare const actionChangeArrowType: {
|
|
|
2750
2833
|
lockedMultiSelections: {
|
|
2751
2834
|
[groupId: string]: true;
|
|
2752
2835
|
};
|
|
2836
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2753
2837
|
};
|
|
2754
2838
|
captureUpdate: "IMMEDIATELY";
|
|
2755
2839
|
};
|
|
@@ -53,6 +53,10 @@ export declare const actionSelectAll: {
|
|
|
53
53
|
locked: boolean;
|
|
54
54
|
fromSelection: boolean;
|
|
55
55
|
} & import("../types").ActiveTool;
|
|
56
|
+
preferredSelectionTool: {
|
|
57
|
+
type: "selection" | "lasso";
|
|
58
|
+
initialized: boolean;
|
|
59
|
+
};
|
|
56
60
|
penMode: boolean;
|
|
57
61
|
penDetected: boolean;
|
|
58
62
|
exportBackground: boolean;
|
|
@@ -85,8 +89,8 @@ export declare const actionSelectAll: {
|
|
|
85
89
|
zoom: Readonly<{
|
|
86
90
|
value: import("../types").NormalizedZoomValue;
|
|
87
91
|
}>;
|
|
88
|
-
openMenu: "canvas" |
|
|
89
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
92
|
+
openMenu: "canvas" | null;
|
|
93
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
90
94
|
openSidebar: {
|
|
91
95
|
name: string;
|
|
92
96
|
tab?: string | undefined;
|
|
@@ -179,6 +183,7 @@ export declare const actionSelectAll: {
|
|
|
179
183
|
lockedMultiSelections: {
|
|
180
184
|
[groupId: string]: true;
|
|
181
185
|
};
|
|
186
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
182
187
|
};
|
|
183
188
|
captureUpdate: "IMMEDIATELY";
|
|
184
189
|
};
|
|
@@ -46,6 +46,10 @@ export declare const actionCopyStyles: {
|
|
|
46
46
|
locked: boolean;
|
|
47
47
|
fromSelection: boolean;
|
|
48
48
|
} & import("../types").ActiveTool;
|
|
49
|
+
preferredSelectionTool: {
|
|
50
|
+
type: "selection" | "lasso";
|
|
51
|
+
initialized: boolean;
|
|
52
|
+
};
|
|
49
53
|
penMode: boolean;
|
|
50
54
|
penDetected: boolean;
|
|
51
55
|
exportBackground: boolean;
|
|
@@ -78,8 +82,8 @@ export declare const actionCopyStyles: {
|
|
|
78
82
|
zoom: Readonly<{
|
|
79
83
|
value: import("../types").NormalizedZoomValue;
|
|
80
84
|
}>;
|
|
81
|
-
openMenu: "canvas" |
|
|
82
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
85
|
+
openMenu: "canvas" | null;
|
|
86
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
83
87
|
openSidebar: {
|
|
84
88
|
name: string;
|
|
85
89
|
tab?: string | undefined;
|
|
@@ -175,6 +179,7 @@ export declare const actionCopyStyles: {
|
|
|
175
179
|
lockedMultiSelections: {
|
|
176
180
|
[groupId: string]: true;
|
|
177
181
|
};
|
|
182
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
178
183
|
};
|
|
179
184
|
captureUpdate: "EVENTUALLY";
|
|
180
185
|
};
|
|
@@ -48,6 +48,10 @@ export declare const actionToggleGridMode: {
|
|
|
48
48
|
locked: boolean;
|
|
49
49
|
fromSelection: boolean;
|
|
50
50
|
} & import("../types").ActiveTool;
|
|
51
|
+
preferredSelectionTool: {
|
|
52
|
+
type: "selection" | "lasso";
|
|
53
|
+
initialized: boolean;
|
|
54
|
+
};
|
|
51
55
|
penMode: boolean;
|
|
52
56
|
penDetected: boolean;
|
|
53
57
|
exportBackground: boolean;
|
|
@@ -80,8 +84,8 @@ export declare const actionToggleGridMode: {
|
|
|
80
84
|
zoom: Readonly<{
|
|
81
85
|
value: import("../types").NormalizedZoomValue;
|
|
82
86
|
}>;
|
|
83
|
-
openMenu: "canvas" |
|
|
84
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
87
|
+
openMenu: "canvas" | null;
|
|
88
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
85
89
|
openSidebar: {
|
|
86
90
|
name: string;
|
|
87
91
|
tab?: string | undefined;
|
|
@@ -180,6 +184,7 @@ export declare const actionToggleGridMode: {
|
|
|
180
184
|
lockedMultiSelections: {
|
|
181
185
|
[groupId: string]: true;
|
|
182
186
|
};
|
|
187
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
183
188
|
};
|
|
184
189
|
captureUpdate: "EVENTUALLY";
|
|
185
190
|
};
|
|
@@ -46,6 +46,10 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
46
46
|
locked: boolean;
|
|
47
47
|
fromSelection: boolean;
|
|
48
48
|
} & import("../types").ActiveTool;
|
|
49
|
+
preferredSelectionTool: {
|
|
50
|
+
type: "selection" | "lasso";
|
|
51
|
+
initialized: boolean;
|
|
52
|
+
};
|
|
49
53
|
penMode: boolean;
|
|
50
54
|
penDetected: boolean;
|
|
51
55
|
exportBackground: boolean;
|
|
@@ -78,8 +82,8 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
78
82
|
zoom: Readonly<{
|
|
79
83
|
value: import("../types").NormalizedZoomValue;
|
|
80
84
|
}>;
|
|
81
|
-
openMenu: "canvas" |
|
|
82
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
85
|
+
openMenu: "canvas" | null;
|
|
86
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
83
87
|
openSidebar: {
|
|
84
88
|
name: string;
|
|
85
89
|
tab?: string | undefined;
|
|
@@ -178,6 +182,7 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
178
182
|
lockedMultiSelections: {
|
|
179
183
|
[groupId: string]: true;
|
|
180
184
|
};
|
|
185
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
181
186
|
};
|
|
182
187
|
captureUpdate: "EVENTUALLY";
|
|
183
188
|
};
|
|
@@ -52,6 +52,10 @@ export declare const actionToggleSearchMenu: {
|
|
|
52
52
|
locked: boolean;
|
|
53
53
|
fromSelection: boolean;
|
|
54
54
|
} & import("../types").ActiveTool;
|
|
55
|
+
preferredSelectionTool: {
|
|
56
|
+
type: "selection" | "lasso";
|
|
57
|
+
initialized: boolean;
|
|
58
|
+
};
|
|
55
59
|
penMode: boolean;
|
|
56
60
|
penDetected: boolean;
|
|
57
61
|
exportBackground: boolean;
|
|
@@ -84,8 +88,8 @@ export declare const actionToggleSearchMenu: {
|
|
|
84
88
|
zoom: Readonly<{
|
|
85
89
|
value: import("../types").NormalizedZoomValue;
|
|
86
90
|
}>;
|
|
87
|
-
openMenu: "canvas" |
|
|
88
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
91
|
+
openMenu: "canvas" | null;
|
|
92
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
89
93
|
defaultSidebarDockedPreference: boolean;
|
|
90
94
|
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
91
95
|
selectedElementIds: Readonly<{
|
|
@@ -171,6 +175,7 @@ export declare const actionToggleSearchMenu: {
|
|
|
171
175
|
lockedMultiSelections: {
|
|
172
176
|
[groupId: string]: true;
|
|
173
177
|
};
|
|
178
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
174
179
|
};
|
|
175
180
|
captureUpdate: "EVENTUALLY";
|
|
176
181
|
};
|