@zsviczian/excalidraw 0.16.1-obsidian-8 → 0.17.0-obsidian-2

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 (87) hide show
  1. package/dist/excalidraw.development.js +407 -110
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/excalidraw.production.min.js.LICENSE.txt +1 -1
  4. package/main.js +7 -1
  5. package/package.json +1 -1
  6. package/types/actions/actionAddToLibrary.d.ts +33 -6
  7. package/types/actions/actionBoundText.d.ts +22 -4
  8. package/types/actions/actionCanvas.d.ts +144 -27
  9. package/types/actions/actionClipboard.d.ts +77 -14
  10. package/types/actions/actionDeleteSelected.d.ts +33 -6
  11. package/types/actions/actionElementLock.d.ts +22 -4
  12. package/types/actions/actionExport.d.ts +96 -23
  13. package/types/actions/actionFinalize.d.ts +22 -4
  14. package/types/actions/actionFrame.d.ts +33 -6
  15. package/types/actions/actionGroup.d.ts +23 -5
  16. package/types/actions/actionLinearEditor.d.ts +11 -2
  17. package/types/actions/actionMenu.d.ts +27 -20
  18. package/types/actions/actionProperties.d.ts +143 -26
  19. package/types/actions/actionSelectAll.d.ts +11 -2
  20. package/types/actions/actionStyles.d.ts +11 -2
  21. package/types/actions/actionToggleGridMode.d.ts +11 -2
  22. package/types/actions/actionToggleObjectsSnapMode.d.ts +11 -2
  23. package/types/actions/actionToggleStats.d.ts +11 -2
  24. package/types/actions/actionToggleViewMode.d.ts +11 -2
  25. package/types/actions/actionToggleZenMode.d.ts +11 -2
  26. package/types/actions/index.d.ts +1 -1
  27. package/types/appState.d.ts +3 -3
  28. package/types/components/Actions.d.ts +3 -2
  29. package/types/components/App.d.ts +43 -13
  30. package/types/components/Button.d.ts +1 -1
  31. package/types/components/ImageExportDialog.d.ts +1 -1
  32. package/types/components/InlineIcon.d.ts +3 -0
  33. package/types/components/LayerUI.d.ts +6 -2
  34. package/types/components/MagicButton.d.ts +9 -0
  35. package/types/components/MagicSettings.d.ts +8 -0
  36. package/types/components/MobileMenu.d.ts +4 -3
  37. package/types/components/Paragraph.d.ts +4 -0
  38. package/types/components/TTDDialog/MermaidToExcalidraw.d.ts +13 -0
  39. package/types/components/TTDDialog/TTDDialog.d.ts +29 -0
  40. package/types/components/TTDDialog/TTDDialogInput.d.ts +9 -0
  41. package/types/components/TTDDialog/TTDDialogOutput.d.ts +7 -0
  42. package/types/components/TTDDialog/TTDDialogPanel.d.ts +16 -0
  43. package/types/components/TTDDialog/TTDDialogPanels.d.ts +4 -0
  44. package/types/components/TTDDialog/TTDDialogTab.d.ts +7 -0
  45. package/types/components/TTDDialog/TTDDialogTabTrigger.d.ts +8 -0
  46. package/types/components/TTDDialog/TTDDialogTabTriggers.d.ts +6 -0
  47. package/types/components/TTDDialog/TTDDialogTabs.d.ts +9 -0
  48. package/types/components/TTDDialog/TTDDialogTrigger.d.ts +8 -0
  49. package/types/components/TTDDialog/common.d.ts +33 -0
  50. package/types/components/TextField.d.ts +16 -0
  51. package/types/components/dropdownMenu/DropdownMenu.d.ts +6 -0
  52. package/types/components/dropdownMenu/DropdownMenuItem.d.ts +12 -0
  53. package/types/components/icons.d.ts +6 -0
  54. package/types/components/main-menu/MainMenu.d.ts +6 -0
  55. package/types/constants.d.ts +30 -3
  56. package/types/context/tunnels.d.ts +1 -0
  57. package/types/data/EditorLocalStorage.d.ts +8 -0
  58. package/types/data/ai/types.d.ts +242 -0
  59. package/types/data/index.d.ts +10 -2
  60. package/types/data/magic.d.ts +23 -0
  61. package/types/data/transform.d.ts +11 -7
  62. package/types/element/ElementCanvasButtons.d.ts +6 -0
  63. package/types/element/Hyperlink.d.ts +11 -2
  64. package/types/element/collision.d.ts +2 -2
  65. package/types/element/embeddable.d.ts +17 -21
  66. package/types/element/index.d.ts +3 -4
  67. package/types/element/linearElementEditor.d.ts +11 -2
  68. package/types/element/newElement.d.ts +7 -1
  69. package/types/element/textElement.d.ts +2 -2
  70. package/types/element/typeChecks.d.ts +10 -7
  71. package/types/element/types.d.ts +31 -2
  72. package/types/errors.d.ts +5 -0
  73. package/types/frame.d.ts +31 -20
  74. package/types/packages/excalidraw/index.d.ts +5 -3
  75. package/types/packages/excalidraw/webpack.preact.config.d.ts +170 -0
  76. package/types/packages/utils.d.ts +5 -4
  77. package/types/packages/withinBounds.d.ts +2 -2
  78. package/types/renderer/renderElement.d.ts +6 -1
  79. package/types/renderer/renderScene.d.ts +10 -5
  80. package/types/scene/Scene.d.ts +11 -6
  81. package/types/scene/ShapeCache.d.ts +1 -1
  82. package/types/scene/comparisons.d.ts +7 -6
  83. package/types/scene/export.d.ts +6 -5
  84. package/types/scene/types.d.ts +2 -0
  85. package/types/shapes.d.ts +1 -1
  86. package/types/types.d.ts +42 -25
  87. package/types/utils.d.ts +8 -3
@@ -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,15 @@ 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: {
79
+ name: "imageExport" | "help" | "jsonExport";
80
+ } | {
81
+ name: "magicSettings";
82
+ source: "tool" | "generation" | "settings";
83
+ } | {
84
+ name: "ttd";
85
+ tab: string;
86
+ } | null;
79
87
  defaultSidebarDockedPreference: boolean;
80
88
  lastPointerDownWith: import("../element/types").PointerType;
81
89
  selectedElementIds: Readonly<{
@@ -146,6 +154,7 @@ export declare const actionToggleCanvasMenu: {
146
154
  frameColor: {
147
155
  stroke: string;
148
156
  fill: string;
157
+ nameColor: string;
149
158
  };
150
159
  invertBindingBehaviour: boolean;
151
160
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -189,7 +198,7 @@ export declare const actionToggleEditMenu: {
189
198
  isBindingEnabled: boolean;
190
199
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
191
200
  suggestedBindings: import("../element/binding").SuggestedBinding[];
192
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
201
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
193
202
  frameRendering: {
194
203
  enabled: boolean;
195
204
  name: boolean;
@@ -239,7 +248,15 @@ export declare const actionToggleEditMenu: {
239
248
  name: string;
240
249
  tab?: string | undefined;
241
250
  } | null;
242
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
251
+ openDialog: {
252
+ name: "imageExport" | "help" | "jsonExport";
253
+ } | {
254
+ name: "magicSettings";
255
+ source: "tool" | "generation" | "settings";
256
+ } | {
257
+ name: "ttd";
258
+ tab: string;
259
+ } | null;
243
260
  defaultSidebarDockedPreference: boolean;
244
261
  lastPointerDownWith: import("../element/types").PointerType;
245
262
  selectedElementIds: Readonly<{
@@ -310,6 +327,7 @@ export declare const actionToggleEditMenu: {
310
327
  frameColor: {
311
328
  stroke: string;
312
329
  fill: string;
330
+ nameColor: string;
313
331
  };
314
332
  invertBindingBehaviour: boolean;
315
333
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -326,20 +344,6 @@ export declare const actionToggleEditMenu: {
326
344
  } & {
327
345
  keyTest?: undefined;
328
346
  };
329
- export declare const actionFullScreen: {
330
- name: "toggleFullScreen";
331
- viewMode: true;
332
- trackEvent: {
333
- category: "canvas";
334
- predicate: (appState: Readonly<import("../types").AppState>) => boolean;
335
- };
336
- perform: () => {
337
- commitToHistory: false;
338
- };
339
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => false;
340
- } & {
341
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => false) | undefined;
342
- };
343
347
  export declare const actionShortcuts: {
344
348
  name: "toggleShortcuts";
345
349
  viewMode: true;
@@ -349,7 +353,9 @@ export declare const actionShortcuts: {
349
353
  };
350
354
  perform: (_elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, { focusContainer }: import("../types").AppClassProperties) => {
351
355
  appState: {
352
- openDialog: "help" | null;
356
+ openDialog: {
357
+ name: "help";
358
+ } | null;
353
359
  contextMenu: {
354
360
  items: import("../components/ContextMenu").ContextMenuItems;
355
361
  top: number;
@@ -369,7 +375,7 @@ export declare const actionShortcuts: {
369
375
  isBindingEnabled: boolean;
370
376
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
371
377
  suggestedBindings: import("../element/binding").SuggestedBinding[];
372
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
378
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
373
379
  frameRendering: {
374
380
  enabled: boolean;
375
381
  name: boolean;
@@ -490,6 +496,7 @@ export declare const actionShortcuts: {
490
496
  frameColor: {
491
497
  stroke: string;
492
498
  fill: string;
499
+ nameColor: string;
493
500
  };
494
501
  invertBindingBehaviour: boolean;
495
502
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -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,15 @@ 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: {
98
+ name: "imageExport" | "help" | "jsonExport";
99
+ } | {
100
+ name: "magicSettings";
101
+ source: "tool" | "generation" | "settings";
102
+ } | {
103
+ name: "ttd";
104
+ tab: string;
105
+ } | null;
98
106
  defaultSidebarDockedPreference: boolean;
99
107
  lastPointerDownWith: import("../element/types").PointerType;
100
108
  selectedElementIds: Readonly<{
@@ -165,6 +173,7 @@ export declare const actionChangeFillStyle: {
165
173
  frameColor: {
166
174
  stroke: string;
167
175
  fill: string;
176
+ nameColor: string;
168
177
  };
169
178
  invertBindingBehaviour: boolean;
170
179
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -207,7 +216,7 @@ export declare const actionChangeStrokeWidth: {
207
216
  isBindingEnabled: boolean;
208
217
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
209
218
  suggestedBindings: import("../element/binding").SuggestedBinding[];
210
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
219
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
211
220
  frameRendering: {
212
221
  enabled: boolean;
213
222
  name: boolean;
@@ -257,7 +266,15 @@ export declare const actionChangeStrokeWidth: {
257
266
  name: string;
258
267
  tab?: string | undefined;
259
268
  } | null;
260
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
269
+ openDialog: {
270
+ name: "imageExport" | "help" | "jsonExport";
271
+ } | {
272
+ name: "magicSettings";
273
+ source: "tool" | "generation" | "settings";
274
+ } | {
275
+ name: "ttd";
276
+ tab: string;
277
+ } | null;
261
278
  defaultSidebarDockedPreference: boolean;
262
279
  lastPointerDownWith: import("../element/types").PointerType;
263
280
  selectedElementIds: Readonly<{
@@ -328,6 +345,7 @@ export declare const actionChangeStrokeWidth: {
328
345
  frameColor: {
329
346
  stroke: string;
330
347
  fill: string;
348
+ nameColor: string;
331
349
  };
332
350
  invertBindingBehaviour: boolean;
333
351
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -370,7 +388,7 @@ export declare const actionChangeSloppiness: {
370
388
  isBindingEnabled: boolean;
371
389
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
372
390
  suggestedBindings: import("../element/binding").SuggestedBinding[];
373
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
391
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
374
392
  frameRendering: {
375
393
  enabled: boolean;
376
394
  name: boolean;
@@ -420,7 +438,15 @@ export declare const actionChangeSloppiness: {
420
438
  name: string;
421
439
  tab?: string | undefined;
422
440
  } | null;
423
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
441
+ openDialog: {
442
+ name: "imageExport" | "help" | "jsonExport";
443
+ } | {
444
+ name: "magicSettings";
445
+ source: "tool" | "generation" | "settings";
446
+ } | {
447
+ name: "ttd";
448
+ tab: string;
449
+ } | null;
424
450
  defaultSidebarDockedPreference: boolean;
425
451
  lastPointerDownWith: import("../element/types").PointerType;
426
452
  selectedElementIds: Readonly<{
@@ -491,6 +517,7 @@ export declare const actionChangeSloppiness: {
491
517
  frameColor: {
492
518
  stroke: string;
493
519
  fill: string;
520
+ nameColor: string;
494
521
  };
495
522
  invertBindingBehaviour: boolean;
496
523
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -533,7 +560,7 @@ export declare const actionChangeStrokeStyle: {
533
560
  isBindingEnabled: boolean;
534
561
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
535
562
  suggestedBindings: import("../element/binding").SuggestedBinding[];
536
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
563
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
537
564
  frameRendering: {
538
565
  enabled: boolean;
539
566
  name: boolean;
@@ -583,7 +610,15 @@ export declare const actionChangeStrokeStyle: {
583
610
  name: string;
584
611
  tab?: string | undefined;
585
612
  } | null;
586
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
613
+ openDialog: {
614
+ name: "imageExport" | "help" | "jsonExport";
615
+ } | {
616
+ name: "magicSettings";
617
+ source: "tool" | "generation" | "settings";
618
+ } | {
619
+ name: "ttd";
620
+ tab: string;
621
+ } | null;
587
622
  defaultSidebarDockedPreference: boolean;
588
623
  lastPointerDownWith: import("../element/types").PointerType;
589
624
  selectedElementIds: Readonly<{
@@ -654,6 +689,7 @@ export declare const actionChangeStrokeStyle: {
654
689
  frameColor: {
655
690
  stroke: string;
656
691
  fill: string;
692
+ nameColor: string;
657
693
  };
658
694
  invertBindingBehaviour: boolean;
659
695
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -696,7 +732,7 @@ export declare const actionChangeOpacity: {
696
732
  isBindingEnabled: boolean;
697
733
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
698
734
  suggestedBindings: import("../element/binding").SuggestedBinding[];
699
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
735
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
700
736
  frameRendering: {
701
737
  enabled: boolean;
702
738
  name: boolean;
@@ -746,7 +782,15 @@ export declare const actionChangeOpacity: {
746
782
  name: string;
747
783
  tab?: string | undefined;
748
784
  } | null;
749
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
785
+ openDialog: {
786
+ name: "imageExport" | "help" | "jsonExport";
787
+ } | {
788
+ name: "magicSettings";
789
+ source: "tool" | "generation" | "settings";
790
+ } | {
791
+ name: "ttd";
792
+ tab: string;
793
+ } | null;
750
794
  defaultSidebarDockedPreference: boolean;
751
795
  lastPointerDownWith: import("../element/types").PointerType;
752
796
  selectedElementIds: Readonly<{
@@ -817,6 +861,7 @@ export declare const actionChangeOpacity: {
817
861
  frameColor: {
818
862
  stroke: string;
819
863
  fill: string;
864
+ nameColor: string;
820
865
  };
821
866
  invertBindingBehaviour: boolean;
822
867
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -859,7 +904,7 @@ export declare const actionChangeFontSize: {
859
904
  isBindingEnabled: boolean;
860
905
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
861
906
  suggestedBindings: import("../element/binding").SuggestedBinding[];
862
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
907
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
863
908
  frameRendering: {
864
909
  enabled: boolean;
865
910
  name: boolean;
@@ -909,7 +954,15 @@ export declare const actionChangeFontSize: {
909
954
  name: string;
910
955
  tab?: string | undefined;
911
956
  } | null;
912
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
957
+ openDialog: {
958
+ name: "imageExport" | "help" | "jsonExport";
959
+ } | {
960
+ name: "magicSettings";
961
+ source: "tool" | "generation" | "settings";
962
+ } | {
963
+ name: "ttd";
964
+ tab: string;
965
+ } | null;
913
966
  defaultSidebarDockedPreference: boolean;
914
967
  lastPointerDownWith: import("../element/types").PointerType;
915
968
  selectedElementIds: Readonly<{
@@ -980,6 +1033,7 @@ export declare const actionChangeFontSize: {
980
1033
  frameColor: {
981
1034
  stroke: string;
982
1035
  fill: string;
1036
+ nameColor: string;
983
1037
  };
984
1038
  invertBindingBehaviour: boolean;
985
1039
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1022,7 +1076,7 @@ export declare const actionDecreaseFontSize: {
1022
1076
  isBindingEnabled: boolean;
1023
1077
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1024
1078
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1025
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1079
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1026
1080
  frameRendering: {
1027
1081
  enabled: boolean;
1028
1082
  name: boolean;
@@ -1072,7 +1126,15 @@ export declare const actionDecreaseFontSize: {
1072
1126
  name: string;
1073
1127
  tab?: string | undefined;
1074
1128
  } | null;
1075
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1129
+ openDialog: {
1130
+ name: "imageExport" | "help" | "jsonExport";
1131
+ } | {
1132
+ name: "magicSettings";
1133
+ source: "tool" | "generation" | "settings";
1134
+ } | {
1135
+ name: "ttd";
1136
+ tab: string;
1137
+ } | null;
1076
1138
  defaultSidebarDockedPreference: boolean;
1077
1139
  lastPointerDownWith: import("../element/types").PointerType;
1078
1140
  selectedElementIds: Readonly<{
@@ -1143,6 +1205,7 @@ export declare const actionDecreaseFontSize: {
1143
1205
  frameColor: {
1144
1206
  stroke: string;
1145
1207
  fill: string;
1208
+ nameColor: string;
1146
1209
  };
1147
1210
  invertBindingBehaviour: boolean;
1148
1211
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1185,7 +1248,7 @@ export declare const actionIncreaseFontSize: {
1185
1248
  isBindingEnabled: boolean;
1186
1249
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1187
1250
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1188
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1251
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1189
1252
  frameRendering: {
1190
1253
  enabled: boolean;
1191
1254
  name: boolean;
@@ -1235,7 +1298,15 @@ export declare const actionIncreaseFontSize: {
1235
1298
  name: string;
1236
1299
  tab?: string | undefined;
1237
1300
  } | null;
1238
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1301
+ openDialog: {
1302
+ name: "imageExport" | "help" | "jsonExport";
1303
+ } | {
1304
+ name: "magicSettings";
1305
+ source: "tool" | "generation" | "settings";
1306
+ } | {
1307
+ name: "ttd";
1308
+ tab: string;
1309
+ } | null;
1239
1310
  defaultSidebarDockedPreference: boolean;
1240
1311
  lastPointerDownWith: import("../element/types").PointerType;
1241
1312
  selectedElementIds: Readonly<{
@@ -1306,6 +1377,7 @@ export declare const actionIncreaseFontSize: {
1306
1377
  frameColor: {
1307
1378
  stroke: string;
1308
1379
  fill: string;
1380
+ nameColor: string;
1309
1381
  };
1310
1382
  invertBindingBehaviour: boolean;
1311
1383
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1348,7 +1420,7 @@ export declare const actionChangeFontFamily: {
1348
1420
  isBindingEnabled: boolean;
1349
1421
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1350
1422
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1351
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1423
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1352
1424
  frameRendering: {
1353
1425
  enabled: boolean;
1354
1426
  name: boolean;
@@ -1398,7 +1470,15 @@ export declare const actionChangeFontFamily: {
1398
1470
  name: string;
1399
1471
  tab?: string | undefined;
1400
1472
  } | null;
1401
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1473
+ openDialog: {
1474
+ name: "imageExport" | "help" | "jsonExport";
1475
+ } | {
1476
+ name: "magicSettings";
1477
+ source: "tool" | "generation" | "settings";
1478
+ } | {
1479
+ name: "ttd";
1480
+ tab: string;
1481
+ } | null;
1402
1482
  defaultSidebarDockedPreference: boolean;
1403
1483
  lastPointerDownWith: import("../element/types").PointerType;
1404
1484
  selectedElementIds: Readonly<{
@@ -1469,6 +1549,7 @@ export declare const actionChangeFontFamily: {
1469
1549
  frameColor: {
1470
1550
  stroke: string;
1471
1551
  fill: string;
1552
+ nameColor: string;
1472
1553
  };
1473
1554
  invertBindingBehaviour: boolean;
1474
1555
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1511,7 +1592,7 @@ export declare const actionChangeTextAlign: {
1511
1592
  isBindingEnabled: boolean;
1512
1593
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1513
1594
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1514
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1595
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1515
1596
  frameRendering: {
1516
1597
  enabled: boolean;
1517
1598
  name: boolean;
@@ -1561,7 +1642,15 @@ export declare const actionChangeTextAlign: {
1561
1642
  name: string;
1562
1643
  tab?: string | undefined;
1563
1644
  } | null;
1564
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1645
+ openDialog: {
1646
+ name: "imageExport" | "help" | "jsonExport";
1647
+ } | {
1648
+ name: "magicSettings";
1649
+ source: "tool" | "generation" | "settings";
1650
+ } | {
1651
+ name: "ttd";
1652
+ tab: string;
1653
+ } | null;
1565
1654
  defaultSidebarDockedPreference: boolean;
1566
1655
  lastPointerDownWith: import("../element/types").PointerType;
1567
1656
  selectedElementIds: Readonly<{
@@ -1632,6 +1721,7 @@ export declare const actionChangeTextAlign: {
1632
1721
  frameColor: {
1633
1722
  stroke: string;
1634
1723
  fill: string;
1724
+ nameColor: string;
1635
1725
  };
1636
1726
  invertBindingBehaviour: boolean;
1637
1727
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1675,7 +1765,7 @@ export declare const actionChangeVerticalAlign: {
1675
1765
  isBindingEnabled: boolean;
1676
1766
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1677
1767
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1678
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1768
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1679
1769
  frameRendering: {
1680
1770
  enabled: boolean;
1681
1771
  name: boolean;
@@ -1726,7 +1816,15 @@ export declare const actionChangeVerticalAlign: {
1726
1816
  name: string;
1727
1817
  tab?: string | undefined;
1728
1818
  } | null;
1729
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1819
+ openDialog: {
1820
+ name: "imageExport" | "help" | "jsonExport";
1821
+ } | {
1822
+ name: "magicSettings";
1823
+ source: "tool" | "generation" | "settings";
1824
+ } | {
1825
+ name: "ttd";
1826
+ tab: string;
1827
+ } | null;
1730
1828
  defaultSidebarDockedPreference: boolean;
1731
1829
  lastPointerDownWith: import("../element/types").PointerType;
1732
1830
  selectedElementIds: Readonly<{
@@ -1797,6 +1895,7 @@ export declare const actionChangeVerticalAlign: {
1797
1895
  frameColor: {
1798
1896
  stroke: string;
1799
1897
  fill: string;
1898
+ nameColor: string;
1800
1899
  };
1801
1900
  invertBindingBehaviour: boolean;
1802
1901
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1839,7 +1938,7 @@ export declare const actionChangeRoundness: {
1839
1938
  isBindingEnabled: boolean;
1840
1939
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1841
1940
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1842
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1941
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
1843
1942
  frameRendering: {
1844
1943
  enabled: boolean;
1845
1944
  name: boolean;
@@ -1889,7 +1988,15 @@ export declare const actionChangeRoundness: {
1889
1988
  name: string;
1890
1989
  tab?: string | undefined;
1891
1990
  } | null;
1892
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1991
+ openDialog: {
1992
+ name: "imageExport" | "help" | "jsonExport";
1993
+ } | {
1994
+ name: "magicSettings";
1995
+ source: "tool" | "generation" | "settings";
1996
+ } | {
1997
+ name: "ttd";
1998
+ tab: string;
1999
+ } | null;
1893
2000
  defaultSidebarDockedPreference: boolean;
1894
2001
  lastPointerDownWith: import("../element/types").PointerType;
1895
2002
  selectedElementIds: Readonly<{
@@ -1960,6 +2067,7 @@ export declare const actionChangeRoundness: {
1960
2067
  frameColor: {
1961
2068
  stroke: string;
1962
2069
  fill: string;
2070
+ nameColor: string;
1963
2071
  };
1964
2072
  invertBindingBehaviour: boolean;
1965
2073
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -2004,7 +2112,7 @@ export declare const actionChangeArrowhead: {
2004
2112
  isBindingEnabled: boolean;
2005
2113
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
2006
2114
  suggestedBindings: import("../element/binding").SuggestedBinding[];
2007
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
2115
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
2008
2116
  frameRendering: {
2009
2117
  enabled: boolean;
2010
2118
  name: boolean;
@@ -2055,7 +2163,15 @@ export declare const actionChangeArrowhead: {
2055
2163
  name: string;
2056
2164
  tab?: string | undefined;
2057
2165
  } | null;
2058
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
2166
+ openDialog: {
2167
+ name: "imageExport" | "help" | "jsonExport";
2168
+ } | {
2169
+ name: "magicSettings";
2170
+ source: "tool" | "generation" | "settings";
2171
+ } | {
2172
+ name: "ttd";
2173
+ tab: string;
2174
+ } | null;
2059
2175
  defaultSidebarDockedPreference: boolean;
2060
2176
  lastPointerDownWith: import("../element/types").PointerType;
2061
2177
  selectedElementIds: Readonly<{
@@ -2126,6 +2242,7 @@ export declare const actionChangeArrowhead: {
2126
2242
  frameColor: {
2127
2243
  stroke: string;
2128
2244
  fill: string;
2245
+ nameColor: string;
2129
2246
  };
2130
2247
  invertBindingBehaviour: boolean;
2131
2248
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -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,15 @@ 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: {
89
+ name: "imageExport" | "help" | "jsonExport";
90
+ } | {
91
+ name: "magicSettings";
92
+ source: "tool" | "generation" | "settings";
93
+ } | {
94
+ name: "ttd";
95
+ tab: string;
96
+ } | null;
89
97
  defaultSidebarDockedPreference: boolean;
90
98
  lastPointerDownWith: import("../element/types").PointerType;
91
99
  previousSelectedElementIds: {
@@ -149,6 +157,7 @@ export declare const actionSelectAll: {
149
157
  frameColor: {
150
158
  stroke: string;
151
159
  fill: string;
160
+ nameColor: string;
152
161
  };
153
162
  invertBindingBehaviour: boolean;
154
163
  snapLines: readonly import("../snapping").SnapLine[];
@@ -28,7 +28,7 @@ export declare const actionCopyStyles: {
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;
@@ -79,7 +79,15 @@ export declare const actionCopyStyles: {
79
79
  name: string;
80
80
  tab?: string | undefined;
81
81
  } | null;
82
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
82
+ openDialog: {
83
+ name: "imageExport" | "help" | "jsonExport";
84
+ } | {
85
+ name: "magicSettings";
86
+ source: "tool" | "generation" | "settings";
87
+ } | {
88
+ name: "ttd";
89
+ tab: string;
90
+ } | null;
83
91
  defaultSidebarDockedPreference: boolean;
84
92
  lastPointerDownWith: import("../element/types").PointerType;
85
93
  selectedElementIds: Readonly<{
@@ -145,6 +153,7 @@ export declare const actionCopyStyles: {
145
153
  frameColor: {
146
154
  stroke: string;
147
155
  fill: string;
156
+ nameColor: string;
148
157
  };
149
158
  invertBindingBehaviour: boolean;
150
159
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -29,7 +29,7 @@ export declare const actionToggleGridMode: {
29
29
  isBindingEnabled: boolean;
30
30
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
31
31
  suggestedBindings: import("../element/binding").SuggestedBinding[];
32
- frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
32
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
33
33
  frameRendering: {
34
34
  enabled: boolean;
35
35
  name: boolean;
@@ -80,7 +80,15 @@ export declare const actionToggleGridMode: {
80
80
  name: string;
81
81
  tab?: string | undefined;
82
82
  } | null;
83
- openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
83
+ openDialog: {
84
+ name: "imageExport" | "help" | "jsonExport";
85
+ } | {
86
+ name: "magicSettings";
87
+ source: "tool" | "generation" | "settings";
88
+ } | {
89
+ name: "ttd";
90
+ tab: string;
91
+ } | null;
84
92
  defaultSidebarDockedPreference: boolean;
85
93
  lastPointerDownWith: import("../element/types").PointerType;
86
94
  selectedElementIds: Readonly<{
@@ -150,6 +158,7 @@ export declare const actionToggleGridMode: {
150
158
  frameColor: {
151
159
  stroke: string;
152
160
  fill: string;
161
+ nameColor: string;
153
162
  };
154
163
  invertBindingBehaviour: boolean;
155
164
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;