@excalidraw/element 0.18.0-7b8a5f54c → 0.18.0-8608d7b
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 +815 -504
- package/dist/dev/index.js.map +4 -4
- package/dist/prod/index.js +14 -14
- package/dist/types/common/src/constants.d.ts +23 -4
- package/dist/types/common/src/utils.d.ts +3 -0
- package/dist/types/element/src/bounds.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +4 -4
- package/dist/types/element/src/index.d.ts +1 -0
- package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/dist/types/element/src/renderElement.d.ts +4 -1
- package/dist/types/element/src/store.d.ts +3 -2
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +18 -3
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +12 -2
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +81 -15
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +36 -6
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +6 -1
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +18 -3
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +6 -1
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +12 -2
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +6 -1
- package/dist/types/excalidraw/actions/actionExport.d.ts +54 -9
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +12 -2
- package/dist/types/excalidraw/actions/actionFrame.d.ts +24 -4
- package/dist/types/excalidraw/actions/actionGroup.d.ts +12 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +7 -2
- package/dist/types/excalidraw/actions/actionLink.d.ts +6 -1
- package/dist/types/excalidraw/actions/actionMenu.d.ts +18 -3
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +12 -2
- package/dist/types/excalidraw/actions/actionProperties.d.ts +107 -23
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +6 -1
- package/dist/types/excalidraw/actions/actionStyles.d.ts +6 -1
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +6 -1
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +6 -1
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +6 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +6 -1
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +6 -1
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +6 -1
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +4 -0
- package/dist/types/excalidraw/clipboard.d.ts +64 -1
- package/dist/types/excalidraw/components/Actions.d.ts +17 -3
- package/dist/types/excalidraw/components/App.d.ts +18 -11
- 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/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/components/shapes.d.ts +129 -1
- package/dist/types/excalidraw/data/blob.d.ts +3 -7
- 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/types.d.ts +10 -1
- package/dist/types/math/src/segment.d.ts +1 -0
- package/package.json +3 -3
|
@@ -42,6 +42,10 @@ export declare const actionToggleCanvasMenu: {
|
|
|
42
42
|
locked: boolean;
|
|
43
43
|
fromSelection: boolean;
|
|
44
44
|
} & import("../types").ActiveTool;
|
|
45
|
+
preferredSelectionTool: {
|
|
46
|
+
type: "selection" | "lasso";
|
|
47
|
+
initialized: boolean;
|
|
48
|
+
};
|
|
45
49
|
penMode: boolean;
|
|
46
50
|
penDetected: boolean;
|
|
47
51
|
exportBackground: boolean;
|
|
@@ -74,7 +78,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
74
78
|
zoom: Readonly<{
|
|
75
79
|
value: import("../types").NormalizedZoomValue;
|
|
76
80
|
}>;
|
|
77
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
81
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
78
82
|
openSidebar: {
|
|
79
83
|
name: string;
|
|
80
84
|
tab?: string | undefined;
|
|
@@ -175,6 +179,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
175
179
|
lockedMultiSelections: {
|
|
176
180
|
[groupId: string]: true;
|
|
177
181
|
};
|
|
182
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
178
183
|
};
|
|
179
184
|
captureUpdate: "EVENTUALLY";
|
|
180
185
|
};
|
|
@@ -225,6 +230,10 @@ export declare const actionToggleEditMenu: {
|
|
|
225
230
|
locked: boolean;
|
|
226
231
|
fromSelection: boolean;
|
|
227
232
|
} & import("../types").ActiveTool;
|
|
233
|
+
preferredSelectionTool: {
|
|
234
|
+
type: "selection" | "lasso";
|
|
235
|
+
initialized: boolean;
|
|
236
|
+
};
|
|
228
237
|
penMode: boolean;
|
|
229
238
|
penDetected: boolean;
|
|
230
239
|
exportBackground: boolean;
|
|
@@ -257,7 +266,7 @@ export declare const actionToggleEditMenu: {
|
|
|
257
266
|
zoom: Readonly<{
|
|
258
267
|
value: import("../types").NormalizedZoomValue;
|
|
259
268
|
}>;
|
|
260
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
269
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
261
270
|
openSidebar: {
|
|
262
271
|
name: string;
|
|
263
272
|
tab?: string | undefined;
|
|
@@ -358,6 +367,7 @@ export declare const actionToggleEditMenu: {
|
|
|
358
367
|
lockedMultiSelections: {
|
|
359
368
|
[groupId: string]: true;
|
|
360
369
|
};
|
|
370
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
361
371
|
};
|
|
362
372
|
captureUpdate: "EVENTUALLY";
|
|
363
373
|
};
|
|
@@ -413,6 +423,10 @@ export declare const actionShortcuts: {
|
|
|
413
423
|
locked: boolean;
|
|
414
424
|
fromSelection: boolean;
|
|
415
425
|
} & import("../types").ActiveTool;
|
|
426
|
+
preferredSelectionTool: {
|
|
427
|
+
type: "selection" | "lasso";
|
|
428
|
+
initialized: boolean;
|
|
429
|
+
};
|
|
416
430
|
penMode: boolean;
|
|
417
431
|
penDetected: boolean;
|
|
418
432
|
exportBackground: boolean;
|
|
@@ -446,7 +460,7 @@ export declare const actionShortcuts: {
|
|
|
446
460
|
value: import("../types").NormalizedZoomValue;
|
|
447
461
|
}>;
|
|
448
462
|
openMenu: "canvas" | "shape" | null;
|
|
449
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
463
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
450
464
|
openSidebar: {
|
|
451
465
|
name: string;
|
|
452
466
|
tab?: string | undefined;
|
|
@@ -536,6 +550,7 @@ export declare const actionShortcuts: {
|
|
|
536
550
|
lockedMultiSelections: {
|
|
537
551
|
[groupId: string]: true;
|
|
538
552
|
};
|
|
553
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
539
554
|
};
|
|
540
555
|
captureUpdate: "EVENTUALLY";
|
|
541
556
|
};
|
|
@@ -44,6 +44,10 @@ export declare const actionGoToCollaborator: {
|
|
|
44
44
|
locked: boolean;
|
|
45
45
|
fromSelection: boolean;
|
|
46
46
|
} & import("../types").ActiveTool;
|
|
47
|
+
preferredSelectionTool: {
|
|
48
|
+
type: "selection" | "lasso";
|
|
49
|
+
initialized: boolean;
|
|
50
|
+
};
|
|
47
51
|
penMode: boolean;
|
|
48
52
|
penDetected: boolean;
|
|
49
53
|
exportBackground: boolean;
|
|
@@ -77,7 +81,7 @@ export declare const actionGoToCollaborator: {
|
|
|
77
81
|
value: import("../types").NormalizedZoomValue;
|
|
78
82
|
}>;
|
|
79
83
|
openMenu: "canvas" | "shape" | null;
|
|
80
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
84
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
81
85
|
openSidebar: {
|
|
82
86
|
name: string;
|
|
83
87
|
tab?: string | undefined;
|
|
@@ -177,6 +181,7 @@ export declare const actionGoToCollaborator: {
|
|
|
177
181
|
lockedMultiSelections: {
|
|
178
182
|
[groupId: string]: true;
|
|
179
183
|
};
|
|
184
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
180
185
|
};
|
|
181
186
|
captureUpdate: "EVENTUALLY";
|
|
182
187
|
} | {
|
|
@@ -220,6 +225,10 @@ export declare const actionGoToCollaborator: {
|
|
|
220
225
|
locked: boolean;
|
|
221
226
|
fromSelection: boolean;
|
|
222
227
|
} & import("../types").ActiveTool;
|
|
228
|
+
preferredSelectionTool: {
|
|
229
|
+
type: "selection" | "lasso";
|
|
230
|
+
initialized: boolean;
|
|
231
|
+
};
|
|
223
232
|
penMode: boolean;
|
|
224
233
|
penDetected: boolean;
|
|
225
234
|
exportBackground: boolean;
|
|
@@ -252,7 +261,7 @@ export declare const actionGoToCollaborator: {
|
|
|
252
261
|
zoom: Readonly<{
|
|
253
262
|
value: import("../types").NormalizedZoomValue;
|
|
254
263
|
}>;
|
|
255
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
264
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
256
265
|
openSidebar: {
|
|
257
266
|
name: string;
|
|
258
267
|
tab?: string | undefined;
|
|
@@ -352,6 +361,7 @@ export declare const actionGoToCollaborator: {
|
|
|
352
361
|
lockedMultiSelections: {
|
|
353
362
|
[groupId: string]: true;
|
|
354
363
|
};
|
|
364
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
355
365
|
};
|
|
356
366
|
captureUpdate: "EVENTUALLY";
|
|
357
367
|
};
|
|
@@ -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;
|
|
@@ -104,7 +108,7 @@ export declare const actionChangeFillStyle: {
|
|
|
104
108
|
value: import("../types").NormalizedZoomValue;
|
|
105
109
|
}>;
|
|
106
110
|
openMenu: "canvas" | "shape" | null;
|
|
107
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -286,7 +295,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
286
295
|
value: import("../types").NormalizedZoomValue;
|
|
287
296
|
}>;
|
|
288
297
|
openMenu: "canvas" | "shape" | null;
|
|
289
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -468,7 +482,7 @@ export declare const actionChangeSloppiness: {
|
|
|
468
482
|
value: import("../types").NormalizedZoomValue;
|
|
469
483
|
}>;
|
|
470
484
|
openMenu: "canvas" | "shape" | null;
|
|
471
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -650,7 +669,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
650
669
|
value: import("../types").NormalizedZoomValue;
|
|
651
670
|
}>;
|
|
652
671
|
openMenu: "canvas" | "shape" | null;
|
|
653
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -832,7 +856,7 @@ export declare const actionChangeOpacity: {
|
|
|
832
856
|
value: import("../types").NormalizedZoomValue;
|
|
833
857
|
}>;
|
|
834
858
|
openMenu: "canvas" | "shape" | null;
|
|
835
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -1014,7 +1043,7 @@ export declare const actionChangeFontSize: {
|
|
|
1014
1043
|
value: import("../types").NormalizedZoomValue;
|
|
1015
1044
|
}>;
|
|
1016
1045
|
openMenu: "canvas" | "shape" | null;
|
|
1017
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -1197,7 +1231,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1197
1231
|
value: import("../types").NormalizedZoomValue;
|
|
1198
1232
|
}>;
|
|
1199
1233
|
openMenu: "canvas" | "shape" | null;
|
|
1200
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -1380,7 +1419,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1380
1419
|
value: import("../types").NormalizedZoomValue;
|
|
1381
1420
|
}>;
|
|
1382
1421
|
openMenu: "canvas" | "shape" | null;
|
|
1383
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -1916,7 +1970,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1916
1970
|
value: import("../types").NormalizedZoomValue;
|
|
1917
1971
|
}>;
|
|
1918
1972
|
openMenu: "canvas" | "shape" | null;
|
|
1919
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -2100,7 +2159,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2100
2159
|
value: import("../types").NormalizedZoomValue;
|
|
2101
2160
|
}>;
|
|
2102
2161
|
openMenu: "canvas" | "shape" | null;
|
|
2103
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -2282,7 +2346,7 @@ export declare const actionChangeRoundness: {
|
|
|
2282
2346
|
value: import("../types").NormalizedZoomValue;
|
|
2283
2347
|
}>;
|
|
2284
2348
|
openMenu: "canvas" | "shape" | null;
|
|
2285
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -2467,7 +2536,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2467
2536
|
value: import("../types").NormalizedZoomValue;
|
|
2468
2537
|
}>;
|
|
2469
2538
|
openMenu: "canvas" | "shape" | null;
|
|
2470
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -2649,7 +2732,7 @@ export declare const actionChangeArrowType: {
|
|
|
2649
2732
|
value: import("../types").NormalizedZoomValue;
|
|
2650
2733
|
}>;
|
|
2651
2734
|
openMenu: "canvas" | "shape" | null;
|
|
2652
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -86,7 +90,7 @@ export declare const actionSelectAll: {
|
|
|
86
90
|
value: import("../types").NormalizedZoomValue;
|
|
87
91
|
}>;
|
|
88
92
|
openMenu: "canvas" | "shape" | null;
|
|
89
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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;
|
|
@@ -79,7 +83,7 @@ export declare const actionCopyStyles: {
|
|
|
79
83
|
value: import("../types").NormalizedZoomValue;
|
|
80
84
|
}>;
|
|
81
85
|
openMenu: "canvas" | "shape" | null;
|
|
82
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | 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
|
};
|