@excalidraw/excalidraw 0.17.0-7284-25ea35d → 0.17.0-c7ee46e

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +20 -15
  2. package/dist/excalidraw-assets/locales/{gl-ES-json-d11c7966c3c2f95756e0.js → gl-ES-json-95041caf90ef2a7e8a53.js} +1 -1
  3. package/dist/excalidraw-assets-dev/{vendor-06d9b385f406ee409106.js → vendor-37ba5d021227533892ee.js} +2 -2
  4. package/dist/excalidraw-with-preact.development.js +182 -50
  5. package/dist/excalidraw-with-preact.production.min.js +1 -1
  6. package/dist/excalidraw.development.js +182 -50
  7. package/dist/excalidraw.production.min.js +1 -1
  8. package/package.json +1 -1
  9. package/types/actions/actionAddToLibrary.d.ts +6 -6
  10. package/types/actions/actionBoundText.d.ts +4 -4
  11. package/types/actions/actionCanvas.d.ts +22 -22
  12. package/types/actions/actionClipboard.d.ts +14 -14
  13. package/types/actions/actionDeleteSelected.d.ts +6 -6
  14. package/types/actions/actionElementLock.d.ts +4 -4
  15. package/types/actions/actionExport.d.ts +22 -22
  16. package/types/actions/actionFinalize.d.ts +4 -4
  17. package/types/actions/actionFrame.d.ts +6 -6
  18. package/types/actions/actionGroup.d.ts +4 -4
  19. package/types/actions/actionLinearEditor.d.ts +2 -2
  20. package/types/actions/actionMenu.d.ts +5 -5
  21. package/types/actions/actionProperties.d.ts +26 -26
  22. package/types/actions/actionSelectAll.d.ts +2 -2
  23. package/types/actions/actionStyles.d.ts +2 -2
  24. package/types/actions/actionToggleGridMode.d.ts +2 -2
  25. package/types/actions/actionToggleObjectsSnapMode.d.ts +2 -2
  26. package/types/actions/actionToggleStats.d.ts +2 -2
  27. package/types/actions/actionToggleViewMode.d.ts +2 -2
  28. package/types/actions/actionToggleZenMode.d.ts +2 -2
  29. package/types/appState.d.ts +2 -2
  30. package/types/components/App.d.ts +27 -6
  31. package/types/components/LayerUI.d.ts +5 -1
  32. package/types/components/MagicButton.d.ts +9 -0
  33. package/types/components/MagicSettings.d.ts +8 -0
  34. package/types/components/TextField.d.ts +16 -0
  35. package/types/components/icons.d.ts +5 -0
  36. package/types/constants.d.ts +24 -2
  37. package/types/data/EditorLocalStorage.d.ts +8 -0
  38. package/types/data/ai/types.d.ts +242 -0
  39. package/types/data/index.d.ts +3 -3
  40. package/types/data/magic.d.ts +23 -0
  41. package/types/data/transform.d.ts +11 -7
  42. package/types/element/ElementCanvasButtons.d.ts +6 -0
  43. package/types/element/Hyperlink.d.ts +2 -2
  44. package/types/element/collision.d.ts +2 -2
  45. package/types/element/embeddable.d.ts +8 -21
  46. package/types/element/index.d.ts +3 -4
  47. package/types/element/linearElementEditor.d.ts +3 -3
  48. package/types/element/newElement.d.ts +7 -1
  49. package/types/element/textElement.d.ts +2 -2
  50. package/types/element/typeChecks.d.ts +9 -6
  51. package/types/element/types.d.ts +29 -2
  52. package/types/frame.d.ts +21 -20
  53. package/types/packages/utils.d.ts +2 -2
  54. package/types/scene/Scene.d.ts +4 -4
  55. package/types/scene/ShapeCache.d.ts +1 -1
  56. package/types/scene/comparisons.d.ts +7 -6
  57. package/types/scene/export.d.ts +3 -3
  58. package/types/scene/types.d.ts +2 -0
  59. package/types/shapes.d.ts +1 -1
  60. package/types/types.d.ts +16 -10
  61. package/types/utils.d.ts +1 -2
  62. /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{gl-ES-json-d11c7966c3c2f95756e0.d.ts → gl-ES-json-95041caf90ef2a7e8a53.d.ts} +0 -0
  63. /package/types/packages/excalidraw/dist/excalidraw-assets-dev/{vendor-06d9b385f406ee409106.d.ts → vendor-37ba5d021227533892ee.d.ts} +0 -0
@@ -25,7 +25,7 @@ export declare const actionChangeProjectName: {
25
25
  isBindingEnabled: boolean;
26
26
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
27
27
  suggestedBindings: import("../element/binding").SuggestedBinding[];
28
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
28
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
29
29
  frameRendering: {
30
30
  enabled: boolean;
31
31
  name: boolean;
@@ -75,7 +75,7 @@ export declare const actionChangeProjectName: {
75
75
  name: string;
76
76
  tab?: string | undefined;
77
77
  } | null;
78
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
78
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
79
79
  defaultSidebarDockedPreference: boolean;
80
80
  lastPointerDownWith: import("../element/types").PointerType;
81
81
  selectedElementIds: Readonly<{
@@ -158,7 +158,7 @@ export declare const actionChangeExportScale: {
158
158
  isBindingEnabled: boolean;
159
159
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
160
160
  suggestedBindings: import("../element/binding").SuggestedBinding[];
161
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
161
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
162
162
  frameRendering: {
163
163
  enabled: boolean;
164
164
  name: boolean;
@@ -208,7 +208,7 @@ export declare const actionChangeExportScale: {
208
208
  name: string;
209
209
  tab?: string | undefined;
210
210
  } | null;
211
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
211
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
212
212
  defaultSidebarDockedPreference: boolean;
213
213
  lastPointerDownWith: import("../element/types").PointerType;
214
214
  selectedElementIds: Readonly<{
@@ -291,7 +291,7 @@ export declare const actionChangeExportBackground: {
291
291
  isBindingEnabled: boolean;
292
292
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
293
293
  suggestedBindings: import("../element/binding").SuggestedBinding[];
294
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
294
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
295
295
  frameRendering: {
296
296
  enabled: boolean;
297
297
  name: boolean;
@@ -341,7 +341,7 @@ export declare const actionChangeExportBackground: {
341
341
  name: string;
342
342
  tab?: string | undefined;
343
343
  } | null;
344
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
344
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
345
345
  defaultSidebarDockedPreference: boolean;
346
346
  lastPointerDownWith: import("../element/types").PointerType;
347
347
  selectedElementIds: Readonly<{
@@ -424,7 +424,7 @@ export declare const actionChangeExportEmbedScene: {
424
424
  isBindingEnabled: boolean;
425
425
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
426
426
  suggestedBindings: import("../element/binding").SuggestedBinding[];
427
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
427
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
428
428
  frameRendering: {
429
429
  enabled: boolean;
430
430
  name: boolean;
@@ -474,7 +474,7 @@ export declare const actionChangeExportEmbedScene: {
474
474
  name: string;
475
475
  tab?: string | undefined;
476
476
  } | null;
477
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
477
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
478
478
  defaultSidebarDockedPreference: boolean;
479
479
  lastPointerDownWith: import("../element/types").PointerType;
480
480
  selectedElementIds: Readonly<{
@@ -561,7 +561,7 @@ export declare const actionSaveToActiveFile: {
561
561
  isBindingEnabled: boolean;
562
562
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
563
563
  suggestedBindings: import("../element/binding").SuggestedBinding[];
564
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
564
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
565
565
  frameRendering: {
566
566
  enabled: boolean;
567
567
  name: boolean;
@@ -612,7 +612,7 @@ export declare const actionSaveToActiveFile: {
612
612
  name: string;
613
613
  tab?: string | undefined;
614
614
  } | null;
615
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
615
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
616
616
  defaultSidebarDockedPreference: boolean;
617
617
  lastPointerDownWith: import("../element/types").PointerType;
618
618
  selectedElementIds: Readonly<{
@@ -696,7 +696,7 @@ export declare const actionSaveFileToDisk: {
696
696
  isBindingEnabled: boolean;
697
697
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
698
698
  suggestedBindings: import("../element/binding").SuggestedBinding[];
699
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
699
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
700
700
  frameRendering: {
701
701
  enabled: boolean;
702
702
  name: boolean;
@@ -807,10 +807,7 @@ export declare const actionLoadScene: {
807
807
  perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
808
808
  elements: import("../element/types").ExcalidrawElement[];
809
809
  appState: {
810
- activeTool: {
811
- lastActiveTool: import("../types").ActiveTool | null;
812
- locked: boolean;
813
- } & import("../types").ActiveTool;
810
+ theme: Theme;
814
811
  contextMenu: {
815
812
  items: import("../components/ContextMenu").ContextMenuItems;
816
813
  top: number;
@@ -830,7 +827,7 @@ export declare const actionLoadScene: {
830
827
  isBindingEnabled: boolean;
831
828
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
832
829
  suggestedBindings: import("../element/binding").SuggestedBinding[];
833
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
830
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
834
831
  frameRendering: {
835
832
  enabled: boolean;
836
833
  name: boolean;
@@ -841,6 +838,10 @@ export declare const actionLoadScene: {
841
838
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
842
839
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
843
840
  editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
841
+ activeTool: {
842
+ lastActiveTool: import("../types").ActiveTool | null;
843
+ locked: boolean;
844
+ } & import("../types").ActiveTool;
844
845
  penMode: boolean;
845
846
  penDetected: boolean;
846
847
  exportBackground: boolean;
@@ -877,7 +878,7 @@ export declare const actionLoadScene: {
877
878
  name: string;
878
879
  tab?: string | undefined;
879
880
  } | null;
880
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
881
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
881
882
  defaultSidebarDockedPreference: boolean;
882
883
  lastPointerDownWith: import("../element/types").PointerType;
883
884
  selectedElementIds: Readonly<{
@@ -894,7 +895,6 @@ export declare const actionLoadScene: {
894
895
  duration?: number | undefined;
895
896
  } | null;
896
897
  zenModeEnabled: boolean;
897
- theme: Theme;
898
898
  gridSize: number | null;
899
899
  viewModeEnabled: boolean;
900
900
  selectedGroupIds: {
@@ -946,7 +946,7 @@ export declare const actionLoadScene: {
946
946
  isBindingEnabled: boolean;
947
947
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
948
948
  suggestedBindings: import("../element/binding").SuggestedBinding[];
949
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
949
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
950
950
  frameRendering: {
951
951
  enabled: boolean;
952
952
  name: boolean;
@@ -997,7 +997,7 @@ export declare const actionLoadScene: {
997
997
  name: string;
998
998
  tab?: string | undefined;
999
999
  } | null;
1000
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1000
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
1001
1001
  defaultSidebarDockedPreference: boolean;
1002
1002
  lastPointerDownWith: import("../element/types").PointerType;
1003
1003
  selectedElementIds: Readonly<{
@@ -1081,7 +1081,7 @@ export declare const actionExportWithDarkMode: {
1081
1081
  isBindingEnabled: boolean;
1082
1082
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1083
1083
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1084
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1084
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1085
1085
  frameRendering: {
1086
1086
  enabled: boolean;
1087
1087
  name: boolean;
@@ -1131,7 +1131,7 @@ export declare const actionExportWithDarkMode: {
1131
1131
  name: string;
1132
1132
  tab?: string | undefined;
1133
1133
  } | null;
1134
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1134
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
1135
1135
  defaultSidebarDockedPreference: boolean;
1136
1136
  lastPointerDownWith: import("../element/types").PointerType;
1137
1137
  selectedElementIds: Readonly<{
@@ -27,7 +27,7 @@ export declare const actionFinalize: {
27
27
  isBindingEnabled: boolean;
28
28
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
29
29
  suggestedBindings: import("../element/binding").SuggestedBinding[];
30
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
30
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
31
31
  frameRendering: {
32
32
  enabled: boolean;
33
33
  name: boolean;
@@ -76,7 +76,7 @@ export declare const actionFinalize: {
76
76
  name: string;
77
77
  tab?: string | undefined;
78
78
  } | null;
79
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
79
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
80
80
  defaultSidebarDockedPreference: boolean;
81
81
  lastPointerDownWith: import("../element/types").PointerType;
82
82
  selectedElementIds: Readonly<{
@@ -156,7 +156,7 @@ export declare const actionFinalize: {
156
156
  resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
157
157
  selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
158
158
  isBindingEnabled: boolean;
159
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
159
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
160
160
  frameRendering: {
161
161
  enabled: boolean;
162
162
  name: boolean;
@@ -201,7 +201,7 @@ export declare const actionFinalize: {
201
201
  name: string;
202
202
  tab?: string | undefined;
203
203
  } | null;
204
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
204
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
205
205
  defaultSidebarDockedPreference: boolean;
206
206
  lastPointerDownWith: import("../element/types").PointerType;
207
207
  previousSelectedElementIds: {
@@ -45,7 +45,7 @@ export declare const actionRemoveAllElementsFromFrame: {
45
45
  isBindingEnabled: boolean;
46
46
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
47
47
  suggestedBindings: import("../element/binding").SuggestedBinding[];
48
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
48
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
49
49
  frameRendering: {
50
50
  enabled: boolean;
51
51
  name: boolean;
@@ -96,7 +96,7 @@ export declare const actionRemoveAllElementsFromFrame: {
96
96
  name: string;
97
97
  tab?: string | undefined;
98
98
  } | null;
99
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
99
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
100
100
  defaultSidebarDockedPreference: boolean;
101
101
  lastPointerDownWith: import("../element/types").PointerType;
102
102
  previousSelectedElementIds: {
@@ -187,7 +187,7 @@ export declare const actionupdateFrameRendering: {
187
187
  isBindingEnabled: boolean;
188
188
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
189
189
  suggestedBindings: import("../element/binding").SuggestedBinding[];
190
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
190
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
191
191
  editingFrame: string | null;
192
192
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
193
193
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -232,7 +232,7 @@ export declare const actionupdateFrameRendering: {
232
232
  name: string;
233
233
  tab?: string | undefined;
234
234
  } | null;
235
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
235
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
236
236
  defaultSidebarDockedPreference: boolean;
237
237
  lastPointerDownWith: import("../element/types").PointerType;
238
238
  selectedElementIds: Readonly<{
@@ -319,7 +319,7 @@ export declare const actionSetFrameAsActiveTool: {
319
319
  isBindingEnabled: boolean;
320
320
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
321
321
  suggestedBindings: import("../element/binding").SuggestedBinding[];
322
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
322
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
323
323
  frameRendering: {
324
324
  enabled: boolean;
325
325
  name: boolean;
@@ -366,7 +366,7 @@ export declare const actionSetFrameAsActiveTool: {
366
366
  name: string;
367
367
  tab?: string | undefined;
368
368
  } | null;
369
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
369
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
370
370
  defaultSidebarDockedPreference: boolean;
371
371
  lastPointerDownWith: import("../element/types").PointerType;
372
372
  selectedElementIds: Readonly<{
@@ -37,7 +37,7 @@ export declare const actionGroup: {
37
37
  isBindingEnabled: boolean;
38
38
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
39
39
  suggestedBindings: import("../element/binding").SuggestedBinding[];
40
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
40
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
41
41
  frameRendering: {
42
42
  enabled: boolean;
43
43
  name: boolean;
@@ -88,7 +88,7 @@ export declare const actionGroup: {
88
88
  name: string;
89
89
  tab?: string | undefined;
90
90
  } | null;
91
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
91
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
92
92
  defaultSidebarDockedPreference: boolean;
93
93
  lastPointerDownWith: import("../element/types").PointerType;
94
94
  previousSelectedElementIds: {
@@ -177,7 +177,7 @@ export declare const actionUngroup: {
177
177
  isBindingEnabled: boolean;
178
178
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
179
179
  suggestedBindings: import("../element/binding").SuggestedBinding[];
180
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
180
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
181
181
  frameRendering: {
182
182
  enabled: boolean;
183
183
  name: boolean;
@@ -228,7 +228,7 @@ export declare const actionUngroup: {
228
228
  name: string;
229
229
  tab?: string | undefined;
230
230
  } | null;
231
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
231
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
232
232
  defaultSidebarDockedPreference: boolean;
233
233
  lastPointerDownWith: import("../element/types").PointerType;
234
234
  previousSelectedElementIds: {
@@ -28,7 +28,7 @@ export declare const actionToggleLinearEditor: {
28
28
  isBindingEnabled: boolean;
29
29
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
30
30
  suggestedBindings: import("../element/binding").SuggestedBinding[];
31
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
31
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
32
32
  frameRendering: {
33
33
  enabled: boolean;
34
34
  name: boolean;
@@ -78,7 +78,7 @@ export declare const actionToggleLinearEditor: {
78
78
  name: string;
79
79
  tab?: string | undefined;
80
80
  } | null;
81
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
81
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
82
82
  defaultSidebarDockedPreference: boolean;
83
83
  lastPointerDownWith: import("../element/types").PointerType;
84
84
  selectedElementIds: Readonly<{
@@ -25,7 +25,7 @@ export declare const actionToggleCanvasMenu: {
25
25
  isBindingEnabled: boolean;
26
26
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
27
27
  suggestedBindings: import("../element/binding").SuggestedBinding[];
28
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
28
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
29
29
  frameRendering: {
30
30
  enabled: boolean;
31
31
  name: boolean;
@@ -75,7 +75,7 @@ export declare const actionToggleCanvasMenu: {
75
75
  name: string;
76
76
  tab?: string | undefined;
77
77
  } | null;
78
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
78
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
79
79
  defaultSidebarDockedPreference: boolean;
80
80
  lastPointerDownWith: import("../element/types").PointerType;
81
81
  selectedElementIds: Readonly<{
@@ -157,7 +157,7 @@ export declare const actionToggleEditMenu: {
157
157
  isBindingEnabled: boolean;
158
158
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
159
159
  suggestedBindings: import("../element/binding").SuggestedBinding[];
160
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
160
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
161
161
  frameRendering: {
162
162
  enabled: boolean;
163
163
  name: boolean;
@@ -207,7 +207,7 @@ export declare const actionToggleEditMenu: {
207
207
  name: string;
208
208
  tab?: string | undefined;
209
209
  } | null;
210
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
210
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
211
211
  defaultSidebarDockedPreference: boolean;
212
212
  lastPointerDownWith: import("../element/types").PointerType;
213
213
  selectedElementIds: Readonly<{
@@ -291,7 +291,7 @@ export declare const actionShortcuts: {
291
291
  isBindingEnabled: boolean;
292
292
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
293
293
  suggestedBindings: import("../element/binding").SuggestedBinding[];
294
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
294
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
295
295
  frameRendering: {
296
296
  enabled: boolean;
297
297
  name: boolean;
@@ -44,7 +44,7 @@ export declare const actionChangeFillStyle: {
44
44
  isBindingEnabled: boolean;
45
45
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
46
46
  suggestedBindings: import("../element/binding").SuggestedBinding[];
47
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
47
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
48
48
  frameRendering: {
49
49
  enabled: boolean;
50
50
  name: boolean;
@@ -94,7 +94,7 @@ export declare const actionChangeFillStyle: {
94
94
  name: string;
95
95
  tab?: string | undefined;
96
96
  } | null;
97
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
97
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
98
98
  defaultSidebarDockedPreference: boolean;
99
99
  lastPointerDownWith: import("../element/types").PointerType;
100
100
  selectedElementIds: Readonly<{
@@ -175,7 +175,7 @@ export declare const actionChangeStrokeWidth: {
175
175
  isBindingEnabled: boolean;
176
176
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
177
177
  suggestedBindings: import("../element/binding").SuggestedBinding[];
178
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
178
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
179
179
  frameRendering: {
180
180
  enabled: boolean;
181
181
  name: boolean;
@@ -225,7 +225,7 @@ export declare const actionChangeStrokeWidth: {
225
225
  name: string;
226
226
  tab?: string | undefined;
227
227
  } | null;
228
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
228
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
229
229
  defaultSidebarDockedPreference: boolean;
230
230
  lastPointerDownWith: import("../element/types").PointerType;
231
231
  selectedElementIds: Readonly<{
@@ -306,7 +306,7 @@ export declare const actionChangeSloppiness: {
306
306
  isBindingEnabled: boolean;
307
307
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
308
308
  suggestedBindings: import("../element/binding").SuggestedBinding[];
309
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
309
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
310
310
  frameRendering: {
311
311
  enabled: boolean;
312
312
  name: boolean;
@@ -356,7 +356,7 @@ export declare const actionChangeSloppiness: {
356
356
  name: string;
357
357
  tab?: string | undefined;
358
358
  } | null;
359
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
359
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
360
360
  defaultSidebarDockedPreference: boolean;
361
361
  lastPointerDownWith: import("../element/types").PointerType;
362
362
  selectedElementIds: Readonly<{
@@ -437,7 +437,7 @@ export declare const actionChangeStrokeStyle: {
437
437
  isBindingEnabled: boolean;
438
438
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
439
439
  suggestedBindings: import("../element/binding").SuggestedBinding[];
440
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
440
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
441
441
  frameRendering: {
442
442
  enabled: boolean;
443
443
  name: boolean;
@@ -487,7 +487,7 @@ export declare const actionChangeStrokeStyle: {
487
487
  name: string;
488
488
  tab?: string | undefined;
489
489
  } | null;
490
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
490
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
491
491
  defaultSidebarDockedPreference: boolean;
492
492
  lastPointerDownWith: import("../element/types").PointerType;
493
493
  selectedElementIds: Readonly<{
@@ -568,7 +568,7 @@ export declare const actionChangeOpacity: {
568
568
  isBindingEnabled: boolean;
569
569
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
570
570
  suggestedBindings: import("../element/binding").SuggestedBinding[];
571
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
571
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
572
572
  frameRendering: {
573
573
  enabled: boolean;
574
574
  name: boolean;
@@ -618,7 +618,7 @@ export declare const actionChangeOpacity: {
618
618
  name: string;
619
619
  tab?: string | undefined;
620
620
  } | null;
621
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
621
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
622
622
  defaultSidebarDockedPreference: boolean;
623
623
  lastPointerDownWith: import("../element/types").PointerType;
624
624
  selectedElementIds: Readonly<{
@@ -699,7 +699,7 @@ export declare const actionChangeFontSize: {
699
699
  isBindingEnabled: boolean;
700
700
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
701
701
  suggestedBindings: import("../element/binding").SuggestedBinding[];
702
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
702
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
703
703
  frameRendering: {
704
704
  enabled: boolean;
705
705
  name: boolean;
@@ -749,7 +749,7 @@ export declare const actionChangeFontSize: {
749
749
  name: string;
750
750
  tab?: string | undefined;
751
751
  } | null;
752
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
752
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
753
753
  defaultSidebarDockedPreference: boolean;
754
754
  lastPointerDownWith: import("../element/types").PointerType;
755
755
  selectedElementIds: Readonly<{
@@ -830,7 +830,7 @@ export declare const actionDecreaseFontSize: {
830
830
  isBindingEnabled: boolean;
831
831
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
832
832
  suggestedBindings: import("../element/binding").SuggestedBinding[];
833
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
833
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
834
834
  frameRendering: {
835
835
  enabled: boolean;
836
836
  name: boolean;
@@ -880,7 +880,7 @@ export declare const actionDecreaseFontSize: {
880
880
  name: string;
881
881
  tab?: string | undefined;
882
882
  } | null;
883
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
883
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
884
884
  defaultSidebarDockedPreference: boolean;
885
885
  lastPointerDownWith: import("../element/types").PointerType;
886
886
  selectedElementIds: Readonly<{
@@ -961,7 +961,7 @@ export declare const actionIncreaseFontSize: {
961
961
  isBindingEnabled: boolean;
962
962
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
963
963
  suggestedBindings: import("../element/binding").SuggestedBinding[];
964
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
964
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
965
965
  frameRendering: {
966
966
  enabled: boolean;
967
967
  name: boolean;
@@ -1011,7 +1011,7 @@ export declare const actionIncreaseFontSize: {
1011
1011
  name: string;
1012
1012
  tab?: string | undefined;
1013
1013
  } | null;
1014
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1014
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
1015
1015
  defaultSidebarDockedPreference: boolean;
1016
1016
  lastPointerDownWith: import("../element/types").PointerType;
1017
1017
  selectedElementIds: Readonly<{
@@ -1092,7 +1092,7 @@ export declare const actionChangeFontFamily: {
1092
1092
  isBindingEnabled: boolean;
1093
1093
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1094
1094
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1095
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1095
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1096
1096
  frameRendering: {
1097
1097
  enabled: boolean;
1098
1098
  name: boolean;
@@ -1142,7 +1142,7 @@ export declare const actionChangeFontFamily: {
1142
1142
  name: string;
1143
1143
  tab?: string | undefined;
1144
1144
  } | null;
1145
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1145
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
1146
1146
  defaultSidebarDockedPreference: boolean;
1147
1147
  lastPointerDownWith: import("../element/types").PointerType;
1148
1148
  selectedElementIds: Readonly<{
@@ -1223,7 +1223,7 @@ export declare const actionChangeTextAlign: {
1223
1223
  isBindingEnabled: boolean;
1224
1224
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1225
1225
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1226
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1226
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1227
1227
  frameRendering: {
1228
1228
  enabled: boolean;
1229
1229
  name: boolean;
@@ -1273,7 +1273,7 @@ export declare const actionChangeTextAlign: {
1273
1273
  name: string;
1274
1274
  tab?: string | undefined;
1275
1275
  } | null;
1276
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1276
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
1277
1277
  defaultSidebarDockedPreference: boolean;
1278
1278
  lastPointerDownWith: import("../element/types").PointerType;
1279
1279
  selectedElementIds: Readonly<{
@@ -1355,7 +1355,7 @@ export declare const actionChangeVerticalAlign: {
1355
1355
  isBindingEnabled: boolean;
1356
1356
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1357
1357
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1358
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1358
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1359
1359
  frameRendering: {
1360
1360
  enabled: boolean;
1361
1361
  name: boolean;
@@ -1406,7 +1406,7 @@ export declare const actionChangeVerticalAlign: {
1406
1406
  name: string;
1407
1407
  tab?: string | undefined;
1408
1408
  } | null;
1409
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1409
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
1410
1410
  defaultSidebarDockedPreference: boolean;
1411
1411
  lastPointerDownWith: import("../element/types").PointerType;
1412
1412
  selectedElementIds: Readonly<{
@@ -1487,7 +1487,7 @@ export declare const actionChangeRoundness: {
1487
1487
  isBindingEnabled: boolean;
1488
1488
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1489
1489
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1490
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1490
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1491
1491
  frameRendering: {
1492
1492
  enabled: boolean;
1493
1493
  name: boolean;
@@ -1537,7 +1537,7 @@ export declare const actionChangeRoundness: {
1537
1537
  name: string;
1538
1538
  tab?: string | undefined;
1539
1539
  } | null;
1540
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1540
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
1541
1541
  defaultSidebarDockedPreference: boolean;
1542
1542
  lastPointerDownWith: import("../element/types").PointerType;
1543
1543
  selectedElementIds: Readonly<{
@@ -1620,7 +1620,7 @@ export declare const actionChangeArrowhead: {
1620
1620
  isBindingEnabled: boolean;
1621
1621
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1622
1622
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1623
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1623
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1624
1624
  frameRendering: {
1625
1625
  enabled: boolean;
1626
1626
  name: boolean;
@@ -1671,7 +1671,7 @@ export declare const actionChangeArrowhead: {
1671
1671
  name: string;
1672
1672
  tab?: string | undefined;
1673
1673
  } | null;
1674
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1674
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
1675
1675
  defaultSidebarDockedPreference: boolean;
1676
1676
  lastPointerDownWith: import("../element/types").PointerType;
1677
1677
  selectedElementIds: Readonly<{
@@ -34,7 +34,7 @@ export declare const actionSelectAll: {
34
34
  isBindingEnabled: boolean;
35
35
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
36
36
  suggestedBindings: import("../element/binding").SuggestedBinding[];
37
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
37
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
38
38
  frameRendering: {
39
39
  enabled: boolean;
40
40
  name: boolean;
@@ -85,7 +85,7 @@ export declare const actionSelectAll: {
85
85
  name: string;
86
86
  tab?: string | undefined;
87
87
  } | null;
88
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
88
+ openDialog: "mermaid" | "magicSettings" | "imageExport" | "help" | "jsonExport" | null;
89
89
  defaultSidebarDockedPreference: boolean;
90
90
  lastPointerDownWith: import("../element/types").PointerType;
91
91
  previousSelectedElementIds: {