@zsviczian/excalidraw 0.15.2-obsidian-6 → 0.15.2-obsidian-8

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 (36) hide show
  1. package/dist/excalidraw.development.js +37 -37
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/package.json +1 -1
  4. package/types/actions/actionAddToLibrary.d.ts +36 -21
  5. package/types/actions/actionBoundText.d.ts +22 -11
  6. package/types/actions/actionCanvas.d.ts +138 -78
  7. package/types/actions/actionClipboard.d.ts +57 -32
  8. package/types/actions/actionDeleteSelected.d.ts +33 -18
  9. package/types/actions/actionElementLock.d.ts +21 -11
  10. package/types/actions/actionExport.d.ts +108 -63
  11. package/types/actions/actionFinalize.d.ts +24 -14
  12. package/types/actions/actionFrame.d.ts +35 -20
  13. package/types/actions/actionLinearEditor.d.ts +12 -7
  14. package/types/actions/actionMenu.d.ts +36 -21
  15. package/types/actions/actionProperties.d.ts +156 -91
  16. package/types/actions/actionStyles.d.ts +12 -7
  17. package/types/actions/actionToggleGridMode.d.ts +12 -7
  18. package/types/actions/actionToggleStats.d.ts +12 -7
  19. package/types/actions/actionToggleViewMode.d.ts +12 -7
  20. package/types/actions/actionToggleZenMode.d.ts +12 -7
  21. package/types/actions/types.d.ts +1 -1
  22. package/types/appState.d.ts +5 -5
  23. package/types/components/App.d.ts +13 -8
  24. package/types/element/Hyperlink.d.ts +12 -7
  25. package/types/element/collision.d.ts +2 -2
  26. package/types/element/embeddable.d.ts +171 -0
  27. package/types/element/iframe.d.ts +4 -4
  28. package/types/element/linearElementEditor.d.ts +12 -7
  29. package/types/element/newElement.d.ts +4 -4
  30. package/types/element/typeChecks.d.ts +4 -4
  31. package/types/element/types.d.ts +6 -6
  32. package/types/groups.d.ts +1 -1
  33. package/types/history.d.ts +3 -3
  34. package/types/scene/selection.d.ts +11 -1
  35. package/types/types.d.ts +19 -14
  36. package/types/utils.d.ts +1 -1
@@ -14,7 +14,7 @@ export declare const actionChangeProjectName: {
14
14
  showWelcomeScreen: boolean;
15
15
  isLoading: boolean;
16
16
  errorMessage: import("react").ReactNode;
17
- activeIFrame: {
17
+ activeEmbeddable: {
18
18
  element: import("../element/types").NonDeletedExcalidrawElement;
19
19
  state: "active" | "hover";
20
20
  } | null;
@@ -26,7 +26,12 @@ export declare const actionChangeProjectName: {
26
26
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
27
27
  suggestedBindings: import("../element/binding").SuggestedBinding[];
28
28
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
29
- shouldRenderFrames: boolean;
29
+ frameRendering: {
30
+ enabled: boolean;
31
+ name: boolean;
32
+ outline: boolean;
33
+ clip: boolean;
34
+ };
30
35
  editingFrame: string | null;
31
36
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
32
37
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -35,7 +40,7 @@ export declare const actionChangeProjectName: {
35
40
  lastActiveTool: import("../types").LastActiveTool;
36
41
  locked: boolean;
37
42
  } & ({
38
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
43
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
39
44
  customType: null;
40
45
  } | {
41
46
  type: "custom";
@@ -79,11 +84,11 @@ export declare const actionChangeProjectName: {
79
84
  openDialog: "imageExport" | "help" | "jsonExport" | null;
80
85
  defaultSidebarDockedPreference: boolean;
81
86
  lastPointerDownWith: import("../element/types").PointerType;
82
- selectedElementIds: {
83
- [id: string]: boolean;
84
- };
87
+ selectedElementIds: Readonly<{
88
+ [id: string]: true;
89
+ }>;
85
90
  previousSelectedElementIds: {
86
- [id: string]: boolean;
91
+ [id: string]: true;
87
92
  };
88
93
  selectedElementsAreBeingDragged: boolean;
89
94
  shouldCacheIgnoreZoom: boolean;
@@ -164,7 +169,7 @@ export declare const actionChangeExportScale: {
164
169
  showWelcomeScreen: boolean;
165
170
  isLoading: boolean;
166
171
  errorMessage: import("react").ReactNode;
167
- activeIFrame: {
172
+ activeEmbeddable: {
168
173
  element: import("../element/types").NonDeletedExcalidrawElement;
169
174
  state: "active" | "hover";
170
175
  } | null;
@@ -176,7 +181,12 @@ export declare const actionChangeExportScale: {
176
181
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
177
182
  suggestedBindings: import("../element/binding").SuggestedBinding[];
178
183
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
179
- shouldRenderFrames: boolean;
184
+ frameRendering: {
185
+ enabled: boolean;
186
+ name: boolean;
187
+ outline: boolean;
188
+ clip: boolean;
189
+ };
180
190
  editingFrame: string | null;
181
191
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
182
192
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -185,7 +195,7 @@ export declare const actionChangeExportScale: {
185
195
  lastActiveTool: import("../types").LastActiveTool;
186
196
  locked: boolean;
187
197
  } & ({
188
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
198
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
189
199
  customType: null;
190
200
  } | {
191
201
  type: "custom";
@@ -229,11 +239,11 @@ export declare const actionChangeExportScale: {
229
239
  openDialog: "imageExport" | "help" | "jsonExport" | null;
230
240
  defaultSidebarDockedPreference: boolean;
231
241
  lastPointerDownWith: import("../element/types").PointerType;
232
- selectedElementIds: {
233
- [id: string]: boolean;
234
- };
242
+ selectedElementIds: Readonly<{
243
+ [id: string]: true;
244
+ }>;
235
245
  previousSelectedElementIds: {
236
- [id: string]: boolean;
246
+ [id: string]: true;
237
247
  };
238
248
  selectedElementsAreBeingDragged: boolean;
239
249
  shouldCacheIgnoreZoom: boolean;
@@ -314,7 +324,7 @@ export declare const actionChangeExportBackground: {
314
324
  showWelcomeScreen: boolean;
315
325
  isLoading: boolean;
316
326
  errorMessage: import("react").ReactNode;
317
- activeIFrame: {
327
+ activeEmbeddable: {
318
328
  element: import("../element/types").NonDeletedExcalidrawElement;
319
329
  state: "active" | "hover";
320
330
  } | null;
@@ -326,7 +336,12 @@ export declare const actionChangeExportBackground: {
326
336
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
327
337
  suggestedBindings: import("../element/binding").SuggestedBinding[];
328
338
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
329
- shouldRenderFrames: boolean;
339
+ frameRendering: {
340
+ enabled: boolean;
341
+ name: boolean;
342
+ outline: boolean;
343
+ clip: boolean;
344
+ };
330
345
  editingFrame: string | null;
331
346
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
332
347
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -335,7 +350,7 @@ export declare const actionChangeExportBackground: {
335
350
  lastActiveTool: import("../types").LastActiveTool;
336
351
  locked: boolean;
337
352
  } & ({
338
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
353
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
339
354
  customType: null;
340
355
  } | {
341
356
  type: "custom";
@@ -379,11 +394,11 @@ export declare const actionChangeExportBackground: {
379
394
  openDialog: "imageExport" | "help" | "jsonExport" | null;
380
395
  defaultSidebarDockedPreference: boolean;
381
396
  lastPointerDownWith: import("../element/types").PointerType;
382
- selectedElementIds: {
383
- [id: string]: boolean;
384
- };
397
+ selectedElementIds: Readonly<{
398
+ [id: string]: true;
399
+ }>;
385
400
  previousSelectedElementIds: {
386
- [id: string]: boolean;
401
+ [id: string]: true;
387
402
  };
388
403
  selectedElementsAreBeingDragged: boolean;
389
404
  shouldCacheIgnoreZoom: boolean;
@@ -464,7 +479,7 @@ export declare const actionChangeExportEmbedScene: {
464
479
  showWelcomeScreen: boolean;
465
480
  isLoading: boolean;
466
481
  errorMessage: import("react").ReactNode;
467
- activeIFrame: {
482
+ activeEmbeddable: {
468
483
  element: import("../element/types").NonDeletedExcalidrawElement;
469
484
  state: "active" | "hover";
470
485
  } | null;
@@ -476,7 +491,12 @@ export declare const actionChangeExportEmbedScene: {
476
491
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
477
492
  suggestedBindings: import("../element/binding").SuggestedBinding[];
478
493
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
479
- shouldRenderFrames: boolean;
494
+ frameRendering: {
495
+ enabled: boolean;
496
+ name: boolean;
497
+ outline: boolean;
498
+ clip: boolean;
499
+ };
480
500
  editingFrame: string | null;
481
501
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
482
502
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -485,7 +505,7 @@ export declare const actionChangeExportEmbedScene: {
485
505
  lastActiveTool: import("../types").LastActiveTool;
486
506
  locked: boolean;
487
507
  } & ({
488
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
508
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
489
509
  customType: null;
490
510
  } | {
491
511
  type: "custom";
@@ -529,11 +549,11 @@ export declare const actionChangeExportEmbedScene: {
529
549
  openDialog: "imageExport" | "help" | "jsonExport" | null;
530
550
  defaultSidebarDockedPreference: boolean;
531
551
  lastPointerDownWith: import("../element/types").PointerType;
532
- selectedElementIds: {
533
- [id: string]: boolean;
534
- };
552
+ selectedElementIds: Readonly<{
553
+ [id: string]: true;
554
+ }>;
535
555
  previousSelectedElementIds: {
536
- [id: string]: boolean;
556
+ [id: string]: true;
537
557
  };
538
558
  selectedElementsAreBeingDragged: boolean;
539
559
  shouldCacheIgnoreZoom: boolean;
@@ -618,7 +638,7 @@ export declare const actionSaveToActiveFile: {
618
638
  showWelcomeScreen: boolean;
619
639
  isLoading: boolean;
620
640
  errorMessage: import("react").ReactNode;
621
- activeIFrame: {
641
+ activeEmbeddable: {
622
642
  element: import("../element/types").NonDeletedExcalidrawElement;
623
643
  state: "active" | "hover";
624
644
  } | null;
@@ -630,7 +650,12 @@ export declare const actionSaveToActiveFile: {
630
650
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
631
651
  suggestedBindings: import("../element/binding").SuggestedBinding[];
632
652
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
633
- shouldRenderFrames: boolean;
653
+ frameRendering: {
654
+ enabled: boolean;
655
+ name: boolean;
656
+ outline: boolean;
657
+ clip: boolean;
658
+ };
634
659
  editingFrame: string | null;
635
660
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
636
661
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -639,7 +664,7 @@ export declare const actionSaveToActiveFile: {
639
664
  lastActiveTool: import("../types").LastActiveTool;
640
665
  locked: boolean;
641
666
  } & ({
642
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
667
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
643
668
  customType: null;
644
669
  } | {
645
670
  type: "custom";
@@ -684,11 +709,11 @@ export declare const actionSaveToActiveFile: {
684
709
  openDialog: "imageExport" | "help" | "jsonExport" | null;
685
710
  defaultSidebarDockedPreference: boolean;
686
711
  lastPointerDownWith: import("../element/types").PointerType;
687
- selectedElementIds: {
688
- [id: string]: boolean;
689
- };
712
+ selectedElementIds: Readonly<{
713
+ [id: string]: true;
714
+ }>;
690
715
  previousSelectedElementIds: {
691
- [id: string]: boolean;
716
+ [id: string]: true;
692
717
  };
693
718
  selectedElementsAreBeingDragged: boolean;
694
719
  shouldCacheIgnoreZoom: boolean;
@@ -766,7 +791,7 @@ export declare const actionSaveFileToDisk: {
766
791
  showWelcomeScreen: boolean;
767
792
  isLoading: boolean;
768
793
  errorMessage: import("react").ReactNode;
769
- activeIFrame: {
794
+ activeEmbeddable: {
770
795
  element: import("../element/types").NonDeletedExcalidrawElement;
771
796
  state: "active" | "hover";
772
797
  } | null;
@@ -778,7 +803,12 @@ export declare const actionSaveFileToDisk: {
778
803
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
779
804
  suggestedBindings: import("../element/binding").SuggestedBinding[];
780
805
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
781
- shouldRenderFrames: boolean;
806
+ frameRendering: {
807
+ enabled: boolean;
808
+ name: boolean;
809
+ outline: boolean;
810
+ clip: boolean;
811
+ };
782
812
  editingFrame: string | null;
783
813
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
784
814
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -787,7 +817,7 @@ export declare const actionSaveFileToDisk: {
787
817
  lastActiveTool: import("../types").LastActiveTool;
788
818
  locked: boolean;
789
819
  } & ({
790
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
820
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
791
821
  customType: null;
792
822
  } | {
793
823
  type: "custom";
@@ -832,11 +862,11 @@ export declare const actionSaveFileToDisk: {
832
862
  openDialog: "imageExport" | "help" | "jsonExport" | null;
833
863
  defaultSidebarDockedPreference: boolean;
834
864
  lastPointerDownWith: import("../element/types").PointerType;
835
- selectedElementIds: {
836
- [id: string]: boolean;
837
- };
865
+ selectedElementIds: Readonly<{
866
+ [id: string]: true;
867
+ }>;
838
868
  previousSelectedElementIds: {
839
- [id: string]: boolean;
869
+ [id: string]: true;
840
870
  };
841
871
  selectedElementsAreBeingDragged: boolean;
842
872
  shouldCacheIgnoreZoom: boolean;
@@ -917,7 +947,7 @@ export declare const actionLoadScene: {
917
947
  lastActiveTool: import("../types").LastActiveTool;
918
948
  locked: boolean;
919
949
  } & ({
920
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
950
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
921
951
  customType: null;
922
952
  } | {
923
953
  type: "custom";
@@ -931,7 +961,7 @@ export declare const actionLoadScene: {
931
961
  showWelcomeScreen: boolean;
932
962
  isLoading: boolean;
933
963
  errorMessage: import("react").ReactNode;
934
- activeIFrame: {
964
+ activeEmbeddable: {
935
965
  element: import("../element/types").NonDeletedExcalidrawElement;
936
966
  state: "active" | "hover";
937
967
  } | null;
@@ -943,7 +973,12 @@ export declare const actionLoadScene: {
943
973
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
944
974
  suggestedBindings: import("../element/binding").SuggestedBinding[];
945
975
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
946
- shouldRenderFrames: boolean;
976
+ frameRendering: {
977
+ enabled: boolean;
978
+ name: boolean;
979
+ outline: boolean;
980
+ clip: boolean;
981
+ };
947
982
  editingFrame: string | null;
948
983
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
949
984
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -986,11 +1021,11 @@ export declare const actionLoadScene: {
986
1021
  openDialog: "imageExport" | "help" | "jsonExport" | null;
987
1022
  defaultSidebarDockedPreference: boolean;
988
1023
  lastPointerDownWith: import("../element/types").PointerType;
989
- selectedElementIds: {
990
- [id: string]: boolean;
991
- };
1024
+ selectedElementIds: Readonly<{
1025
+ [id: string]: true;
1026
+ }>;
992
1027
  previousSelectedElementIds: {
993
- [id: string]: boolean;
1028
+ [id: string]: true;
994
1029
  };
995
1030
  selectedElementsAreBeingDragged: boolean;
996
1031
  shouldCacheIgnoreZoom: boolean;
@@ -1056,7 +1091,7 @@ export declare const actionLoadScene: {
1056
1091
  } | null;
1057
1092
  showWelcomeScreen: boolean;
1058
1093
  isLoading: boolean;
1059
- activeIFrame: {
1094
+ activeEmbeddable: {
1060
1095
  element: import("../element/types").NonDeletedExcalidrawElement;
1061
1096
  state: "active" | "hover";
1062
1097
  } | null;
@@ -1068,7 +1103,12 @@ export declare const actionLoadScene: {
1068
1103
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1069
1104
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1070
1105
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1071
- shouldRenderFrames: boolean;
1106
+ frameRendering: {
1107
+ enabled: boolean;
1108
+ name: boolean;
1109
+ outline: boolean;
1110
+ clip: boolean;
1111
+ };
1072
1112
  editingFrame: string | null;
1073
1113
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
1074
1114
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1077,7 +1117,7 @@ export declare const actionLoadScene: {
1077
1117
  lastActiveTool: import("../types").LastActiveTool;
1078
1118
  locked: boolean;
1079
1119
  } & ({
1080
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1120
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1081
1121
  customType: null;
1082
1122
  } | {
1083
1123
  type: "custom";
@@ -1122,11 +1162,11 @@ export declare const actionLoadScene: {
1122
1162
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1123
1163
  defaultSidebarDockedPreference: boolean;
1124
1164
  lastPointerDownWith: import("../element/types").PointerType;
1125
- selectedElementIds: {
1126
- [id: string]: boolean;
1127
- };
1165
+ selectedElementIds: Readonly<{
1166
+ [id: string]: true;
1167
+ }>;
1128
1168
  previousSelectedElementIds: {
1129
- [id: string]: boolean;
1169
+ [id: string]: true;
1130
1170
  };
1131
1171
  selectedElementsAreBeingDragged: boolean;
1132
1172
  shouldCacheIgnoreZoom: boolean;
@@ -1208,7 +1248,7 @@ export declare const actionExportWithDarkMode: {
1208
1248
  showWelcomeScreen: boolean;
1209
1249
  isLoading: boolean;
1210
1250
  errorMessage: import("react").ReactNode;
1211
- activeIFrame: {
1251
+ activeEmbeddable: {
1212
1252
  element: import("../element/types").NonDeletedExcalidrawElement;
1213
1253
  state: "active" | "hover";
1214
1254
  } | null;
@@ -1220,7 +1260,12 @@ export declare const actionExportWithDarkMode: {
1220
1260
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1221
1261
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1222
1262
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1223
- shouldRenderFrames: boolean;
1263
+ frameRendering: {
1264
+ enabled: boolean;
1265
+ name: boolean;
1266
+ outline: boolean;
1267
+ clip: boolean;
1268
+ };
1224
1269
  editingFrame: string | null;
1225
1270
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
1226
1271
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1229,7 +1274,7 @@ export declare const actionExportWithDarkMode: {
1229
1274
  lastActiveTool: import("../types").LastActiveTool;
1230
1275
  locked: boolean;
1231
1276
  } & ({
1232
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1277
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1233
1278
  customType: null;
1234
1279
  } | {
1235
1280
  type: "custom";
@@ -1273,11 +1318,11 @@ export declare const actionExportWithDarkMode: {
1273
1318
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1274
1319
  defaultSidebarDockedPreference: boolean;
1275
1320
  lastPointerDownWith: import("../element/types").PointerType;
1276
- selectedElementIds: {
1277
- [id: string]: boolean;
1278
- };
1321
+ selectedElementIds: Readonly<{
1322
+ [id: string]: true;
1323
+ }>;
1279
1324
  previousSelectedElementIds: {
1280
- [id: string]: boolean;
1325
+ [id: string]: true;
1281
1326
  };
1282
1327
  selectedElementsAreBeingDragged: boolean;
1283
1328
  shouldCacheIgnoreZoom: boolean;
@@ -17,7 +17,7 @@ export declare const actionFinalize: {
17
17
  showWelcomeScreen: boolean;
18
18
  isLoading: boolean;
19
19
  errorMessage: import("react").ReactNode;
20
- activeIFrame: {
20
+ activeEmbeddable: {
21
21
  element: import("../element/types").NonDeletedExcalidrawElement;
22
22
  state: "active" | "hover";
23
23
  } | null;
@@ -29,7 +29,12 @@ export declare const actionFinalize: {
29
29
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
30
30
  suggestedBindings: import("../element/binding").SuggestedBinding[];
31
31
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
32
- shouldRenderFrames: boolean;
32
+ frameRendering: {
33
+ enabled: boolean;
34
+ name: boolean;
35
+ outline: boolean;
36
+ clip: boolean;
37
+ };
33
38
  editingFrame: string | null;
34
39
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
35
40
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -37,7 +42,7 @@ export declare const actionFinalize: {
37
42
  lastActiveTool: import("../types").LastActiveTool;
38
43
  locked: boolean;
39
44
  } & ({
40
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
45
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
41
46
  customType: null;
42
47
  } | {
43
48
  type: "custom";
@@ -81,11 +86,11 @@ export declare const actionFinalize: {
81
86
  openDialog: "imageExport" | "help" | "jsonExport" | null;
82
87
  defaultSidebarDockedPreference: boolean;
83
88
  lastPointerDownWith: import("../element/types").PointerType;
84
- selectedElementIds: {
85
- [id: string]: boolean;
86
- };
89
+ selectedElementIds: Readonly<{
90
+ [id: string]: true;
91
+ }>;
87
92
  previousSelectedElementIds: {
88
- [id: string]: boolean;
93
+ [id: string]: true;
89
94
  };
90
95
  selectedElementsAreBeingDragged: boolean;
91
96
  shouldCacheIgnoreZoom: boolean;
@@ -152,7 +157,7 @@ export declare const actionFinalize: {
152
157
  lastActiveTool: import("../types").LastActiveTool;
153
158
  locked: boolean;
154
159
  } & ({
155
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
160
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
156
161
  customType: null;
157
162
  } | {
158
163
  type: "custom";
@@ -163,9 +168,9 @@ export declare const actionFinalize: {
163
168
  editingElement: null;
164
169
  startBoundElement: null;
165
170
  suggestedBindings: never[];
166
- selectedElementIds: {
167
- [id: string]: boolean;
168
- };
171
+ selectedElementIds: Readonly<{
172
+ [id: string]: true;
173
+ }>;
169
174
  selectedLinearElement: LinearElementEditor | null;
170
175
  pendingImageElementId: null;
171
176
  contextMenu: {
@@ -176,7 +181,7 @@ export declare const actionFinalize: {
176
181
  showWelcomeScreen: boolean;
177
182
  isLoading: boolean;
178
183
  errorMessage: import("react").ReactNode;
179
- activeIFrame: {
184
+ activeEmbeddable: {
180
185
  element: import("../element/types").NonDeletedExcalidrawElement;
181
186
  state: "active" | "hover";
182
187
  } | null;
@@ -184,7 +189,12 @@ export declare const actionFinalize: {
184
189
  selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
185
190
  isBindingEnabled: boolean;
186
191
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
187
- shouldRenderFrames: boolean;
192
+ frameRendering: {
193
+ enabled: boolean;
194
+ name: boolean;
195
+ outline: boolean;
196
+ clip: boolean;
197
+ };
188
198
  editingFrame: string | null;
189
199
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
190
200
  editingLinearElement: LinearElementEditor | null;
@@ -227,7 +237,7 @@ export declare const actionFinalize: {
227
237
  defaultSidebarDockedPreference: boolean;
228
238
  lastPointerDownWith: import("../element/types").PointerType;
229
239
  previousSelectedElementIds: {
230
- [id: string]: boolean;
240
+ [id: string]: true;
231
241
  };
232
242
  selectedElementsAreBeingDragged: boolean;
233
243
  shouldCacheIgnoreZoom: boolean;