@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
@@ -32,7 +32,7 @@ export declare const actionChangeFillStyle: {
32
32
  showWelcomeScreen: boolean;
33
33
  isLoading: boolean;
34
34
  errorMessage: import("react").ReactNode;
35
- activeIFrame: {
35
+ activeEmbeddable: {
36
36
  element: import("../element/types").NonDeletedExcalidrawElement;
37
37
  state: "active" | "hover";
38
38
  } | null;
@@ -44,7 +44,12 @@ export declare const actionChangeFillStyle: {
44
44
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
45
45
  suggestedBindings: import("../element/binding").SuggestedBinding[];
46
46
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
47
- shouldRenderFrames: boolean;
47
+ frameRendering: {
48
+ enabled: boolean;
49
+ name: boolean;
50
+ outline: boolean;
51
+ clip: boolean;
52
+ };
48
53
  editingFrame: string | null;
49
54
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
50
55
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -53,7 +58,7 @@ export declare const actionChangeFillStyle: {
53
58
  lastActiveTool: import("../../src/types").LastActiveTool;
54
59
  locked: boolean;
55
60
  } & ({
56
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
61
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
57
62
  customType: null;
58
63
  } | {
59
64
  type: "custom";
@@ -97,11 +102,11 @@ export declare const actionChangeFillStyle: {
97
102
  openDialog: "imageExport" | "help" | "jsonExport" | null;
98
103
  defaultSidebarDockedPreference: boolean;
99
104
  lastPointerDownWith: import("../element/types").PointerType;
100
- selectedElementIds: {
101
- [id: string]: boolean;
102
- };
105
+ selectedElementIds: Readonly<{
106
+ [id: string]: true;
107
+ }>;
103
108
  previousSelectedElementIds: {
104
- [id: string]: boolean;
109
+ [id: string]: true;
105
110
  };
106
111
  selectedElementsAreBeingDragged: boolean;
107
112
  shouldCacheIgnoreZoom: boolean;
@@ -180,7 +185,7 @@ export declare const actionChangeStrokeWidth: {
180
185
  showWelcomeScreen: boolean;
181
186
  isLoading: boolean;
182
187
  errorMessage: import("react").ReactNode;
183
- activeIFrame: {
188
+ activeEmbeddable: {
184
189
  element: import("../element/types").NonDeletedExcalidrawElement;
185
190
  state: "active" | "hover";
186
191
  } | null;
@@ -192,7 +197,12 @@ export declare const actionChangeStrokeWidth: {
192
197
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
193
198
  suggestedBindings: import("../element/binding").SuggestedBinding[];
194
199
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
195
- shouldRenderFrames: boolean;
200
+ frameRendering: {
201
+ enabled: boolean;
202
+ name: boolean;
203
+ outline: boolean;
204
+ clip: boolean;
205
+ };
196
206
  editingFrame: string | null;
197
207
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
198
208
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -201,7 +211,7 @@ export declare const actionChangeStrokeWidth: {
201
211
  lastActiveTool: import("../../src/types").LastActiveTool;
202
212
  locked: boolean;
203
213
  } & ({
204
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
214
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
205
215
  customType: null;
206
216
  } | {
207
217
  type: "custom";
@@ -245,11 +255,11 @@ export declare const actionChangeStrokeWidth: {
245
255
  openDialog: "imageExport" | "help" | "jsonExport" | null;
246
256
  defaultSidebarDockedPreference: boolean;
247
257
  lastPointerDownWith: import("../element/types").PointerType;
248
- selectedElementIds: {
249
- [id: string]: boolean;
250
- };
258
+ selectedElementIds: Readonly<{
259
+ [id: string]: true;
260
+ }>;
251
261
  previousSelectedElementIds: {
252
- [id: string]: boolean;
262
+ [id: string]: true;
253
263
  };
254
264
  selectedElementsAreBeingDragged: boolean;
255
265
  shouldCacheIgnoreZoom: boolean;
@@ -328,7 +338,7 @@ export declare const actionChangeSloppiness: {
328
338
  showWelcomeScreen: boolean;
329
339
  isLoading: boolean;
330
340
  errorMessage: import("react").ReactNode;
331
- activeIFrame: {
341
+ activeEmbeddable: {
332
342
  element: import("../element/types").NonDeletedExcalidrawElement;
333
343
  state: "active" | "hover";
334
344
  } | null;
@@ -340,7 +350,12 @@ export declare const actionChangeSloppiness: {
340
350
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
341
351
  suggestedBindings: import("../element/binding").SuggestedBinding[];
342
352
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
343
- shouldRenderFrames: boolean;
353
+ frameRendering: {
354
+ enabled: boolean;
355
+ name: boolean;
356
+ outline: boolean;
357
+ clip: boolean;
358
+ };
344
359
  editingFrame: string | null;
345
360
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
346
361
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -349,7 +364,7 @@ export declare const actionChangeSloppiness: {
349
364
  lastActiveTool: import("../../src/types").LastActiveTool;
350
365
  locked: boolean;
351
366
  } & ({
352
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
367
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
353
368
  customType: null;
354
369
  } | {
355
370
  type: "custom";
@@ -393,11 +408,11 @@ export declare const actionChangeSloppiness: {
393
408
  openDialog: "imageExport" | "help" | "jsonExport" | null;
394
409
  defaultSidebarDockedPreference: boolean;
395
410
  lastPointerDownWith: import("../element/types").PointerType;
396
- selectedElementIds: {
397
- [id: string]: boolean;
398
- };
411
+ selectedElementIds: Readonly<{
412
+ [id: string]: true;
413
+ }>;
399
414
  previousSelectedElementIds: {
400
- [id: string]: boolean;
415
+ [id: string]: true;
401
416
  };
402
417
  selectedElementsAreBeingDragged: boolean;
403
418
  shouldCacheIgnoreZoom: boolean;
@@ -476,7 +491,7 @@ export declare const actionChangeStrokeStyle: {
476
491
  showWelcomeScreen: boolean;
477
492
  isLoading: boolean;
478
493
  errorMessage: import("react").ReactNode;
479
- activeIFrame: {
494
+ activeEmbeddable: {
480
495
  element: import("../element/types").NonDeletedExcalidrawElement;
481
496
  state: "active" | "hover";
482
497
  } | null;
@@ -488,7 +503,12 @@ export declare const actionChangeStrokeStyle: {
488
503
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
489
504
  suggestedBindings: import("../element/binding").SuggestedBinding[];
490
505
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
491
- shouldRenderFrames: boolean;
506
+ frameRendering: {
507
+ enabled: boolean;
508
+ name: boolean;
509
+ outline: boolean;
510
+ clip: boolean;
511
+ };
492
512
  editingFrame: string | null;
493
513
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
494
514
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -497,7 +517,7 @@ export declare const actionChangeStrokeStyle: {
497
517
  lastActiveTool: import("../../src/types").LastActiveTool;
498
518
  locked: boolean;
499
519
  } & ({
500
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
520
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
501
521
  customType: null;
502
522
  } | {
503
523
  type: "custom";
@@ -541,11 +561,11 @@ export declare const actionChangeStrokeStyle: {
541
561
  openDialog: "imageExport" | "help" | "jsonExport" | null;
542
562
  defaultSidebarDockedPreference: boolean;
543
563
  lastPointerDownWith: import("../element/types").PointerType;
544
- selectedElementIds: {
545
- [id: string]: boolean;
546
- };
564
+ selectedElementIds: Readonly<{
565
+ [id: string]: true;
566
+ }>;
547
567
  previousSelectedElementIds: {
548
- [id: string]: boolean;
568
+ [id: string]: true;
549
569
  };
550
570
  selectedElementsAreBeingDragged: boolean;
551
571
  shouldCacheIgnoreZoom: boolean;
@@ -624,7 +644,7 @@ export declare const actionChangeOpacity: {
624
644
  showWelcomeScreen: boolean;
625
645
  isLoading: boolean;
626
646
  errorMessage: import("react").ReactNode;
627
- activeIFrame: {
647
+ activeEmbeddable: {
628
648
  element: import("../element/types").NonDeletedExcalidrawElement;
629
649
  state: "active" | "hover";
630
650
  } | null;
@@ -636,7 +656,12 @@ export declare const actionChangeOpacity: {
636
656
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
637
657
  suggestedBindings: import("../element/binding").SuggestedBinding[];
638
658
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
639
- shouldRenderFrames: boolean;
659
+ frameRendering: {
660
+ enabled: boolean;
661
+ name: boolean;
662
+ outline: boolean;
663
+ clip: boolean;
664
+ };
640
665
  editingFrame: string | null;
641
666
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
642
667
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -645,7 +670,7 @@ export declare const actionChangeOpacity: {
645
670
  lastActiveTool: import("../../src/types").LastActiveTool;
646
671
  locked: boolean;
647
672
  } & ({
648
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
673
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
649
674
  customType: null;
650
675
  } | {
651
676
  type: "custom";
@@ -689,11 +714,11 @@ export declare const actionChangeOpacity: {
689
714
  openDialog: "imageExport" | "help" | "jsonExport" | null;
690
715
  defaultSidebarDockedPreference: boolean;
691
716
  lastPointerDownWith: import("../element/types").PointerType;
692
- selectedElementIds: {
693
- [id: string]: boolean;
694
- };
717
+ selectedElementIds: Readonly<{
718
+ [id: string]: true;
719
+ }>;
695
720
  previousSelectedElementIds: {
696
- [id: string]: boolean;
721
+ [id: string]: true;
697
722
  };
698
723
  selectedElementsAreBeingDragged: boolean;
699
724
  shouldCacheIgnoreZoom: boolean;
@@ -772,7 +797,7 @@ export declare const actionChangeFontSize: {
772
797
  showWelcomeScreen: boolean;
773
798
  isLoading: boolean;
774
799
  errorMessage: import("react").ReactNode;
775
- activeIFrame: {
800
+ activeEmbeddable: {
776
801
  element: import("../element/types").NonDeletedExcalidrawElement;
777
802
  state: "active" | "hover";
778
803
  } | null;
@@ -784,7 +809,12 @@ export declare const actionChangeFontSize: {
784
809
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
785
810
  suggestedBindings: import("../element/binding").SuggestedBinding[];
786
811
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
787
- shouldRenderFrames: boolean;
812
+ frameRendering: {
813
+ enabled: boolean;
814
+ name: boolean;
815
+ outline: boolean;
816
+ clip: boolean;
817
+ };
788
818
  editingFrame: string | null;
789
819
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
790
820
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -793,7 +823,7 @@ export declare const actionChangeFontSize: {
793
823
  lastActiveTool: import("../../src/types").LastActiveTool;
794
824
  locked: boolean;
795
825
  } & ({
796
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
826
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
797
827
  customType: null;
798
828
  } | {
799
829
  type: "custom";
@@ -837,11 +867,11 @@ export declare const actionChangeFontSize: {
837
867
  openDialog: "imageExport" | "help" | "jsonExport" | null;
838
868
  defaultSidebarDockedPreference: boolean;
839
869
  lastPointerDownWith: import("../element/types").PointerType;
840
- selectedElementIds: {
841
- [id: string]: boolean;
842
- };
870
+ selectedElementIds: Readonly<{
871
+ [id: string]: true;
872
+ }>;
843
873
  previousSelectedElementIds: {
844
- [id: string]: boolean;
874
+ [id: string]: true;
845
875
  };
846
876
  selectedElementsAreBeingDragged: boolean;
847
877
  shouldCacheIgnoreZoom: boolean;
@@ -920,7 +950,7 @@ export declare const actionDecreaseFontSize: {
920
950
  showWelcomeScreen: boolean;
921
951
  isLoading: boolean;
922
952
  errorMessage: import("react").ReactNode;
923
- activeIFrame: {
953
+ activeEmbeddable: {
924
954
  element: import("../element/types").NonDeletedExcalidrawElement;
925
955
  state: "active" | "hover";
926
956
  } | null;
@@ -932,7 +962,12 @@ export declare const actionDecreaseFontSize: {
932
962
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
933
963
  suggestedBindings: import("../element/binding").SuggestedBinding[];
934
964
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
935
- shouldRenderFrames: boolean;
965
+ frameRendering: {
966
+ enabled: boolean;
967
+ name: boolean;
968
+ outline: boolean;
969
+ clip: boolean;
970
+ };
936
971
  editingFrame: string | null;
937
972
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
938
973
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -941,7 +976,7 @@ export declare const actionDecreaseFontSize: {
941
976
  lastActiveTool: import("../../src/types").LastActiveTool;
942
977
  locked: boolean;
943
978
  } & ({
944
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
979
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
945
980
  customType: null;
946
981
  } | {
947
982
  type: "custom";
@@ -985,11 +1020,11 @@ export declare const actionDecreaseFontSize: {
985
1020
  openDialog: "imageExport" | "help" | "jsonExport" | null;
986
1021
  defaultSidebarDockedPreference: boolean;
987
1022
  lastPointerDownWith: import("../element/types").PointerType;
988
- selectedElementIds: {
989
- [id: string]: boolean;
990
- };
1023
+ selectedElementIds: Readonly<{
1024
+ [id: string]: true;
1025
+ }>;
991
1026
  previousSelectedElementIds: {
992
- [id: string]: boolean;
1027
+ [id: string]: true;
993
1028
  };
994
1029
  selectedElementsAreBeingDragged: boolean;
995
1030
  shouldCacheIgnoreZoom: boolean;
@@ -1068,7 +1103,7 @@ export declare const actionIncreaseFontSize: {
1068
1103
  showWelcomeScreen: boolean;
1069
1104
  isLoading: boolean;
1070
1105
  errorMessage: import("react").ReactNode;
1071
- activeIFrame: {
1106
+ activeEmbeddable: {
1072
1107
  element: import("../element/types").NonDeletedExcalidrawElement;
1073
1108
  state: "active" | "hover";
1074
1109
  } | null;
@@ -1080,7 +1115,12 @@ export declare const actionIncreaseFontSize: {
1080
1115
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1081
1116
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1082
1117
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1083
- shouldRenderFrames: boolean;
1118
+ frameRendering: {
1119
+ enabled: boolean;
1120
+ name: boolean;
1121
+ outline: boolean;
1122
+ clip: boolean;
1123
+ };
1084
1124
  editingFrame: string | null;
1085
1125
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1086
1126
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1089,7 +1129,7 @@ export declare const actionIncreaseFontSize: {
1089
1129
  lastActiveTool: import("../../src/types").LastActiveTool;
1090
1130
  locked: boolean;
1091
1131
  } & ({
1092
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1132
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1093
1133
  customType: null;
1094
1134
  } | {
1095
1135
  type: "custom";
@@ -1133,11 +1173,11 @@ export declare const actionIncreaseFontSize: {
1133
1173
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1134
1174
  defaultSidebarDockedPreference: boolean;
1135
1175
  lastPointerDownWith: import("../element/types").PointerType;
1136
- selectedElementIds: {
1137
- [id: string]: boolean;
1138
- };
1176
+ selectedElementIds: Readonly<{
1177
+ [id: string]: true;
1178
+ }>;
1139
1179
  previousSelectedElementIds: {
1140
- [id: string]: boolean;
1180
+ [id: string]: true;
1141
1181
  };
1142
1182
  selectedElementsAreBeingDragged: boolean;
1143
1183
  shouldCacheIgnoreZoom: boolean;
@@ -1216,7 +1256,7 @@ export declare const actionChangeFontFamily: {
1216
1256
  showWelcomeScreen: boolean;
1217
1257
  isLoading: boolean;
1218
1258
  errorMessage: import("react").ReactNode;
1219
- activeIFrame: {
1259
+ activeEmbeddable: {
1220
1260
  element: import("../element/types").NonDeletedExcalidrawElement;
1221
1261
  state: "active" | "hover";
1222
1262
  } | null;
@@ -1228,7 +1268,12 @@ export declare const actionChangeFontFamily: {
1228
1268
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1229
1269
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1230
1270
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1231
- shouldRenderFrames: boolean;
1271
+ frameRendering: {
1272
+ enabled: boolean;
1273
+ name: boolean;
1274
+ outline: boolean;
1275
+ clip: boolean;
1276
+ };
1232
1277
  editingFrame: string | null;
1233
1278
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1234
1279
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1237,7 +1282,7 @@ export declare const actionChangeFontFamily: {
1237
1282
  lastActiveTool: import("../../src/types").LastActiveTool;
1238
1283
  locked: boolean;
1239
1284
  } & ({
1240
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1285
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1241
1286
  customType: null;
1242
1287
  } | {
1243
1288
  type: "custom";
@@ -1281,11 +1326,11 @@ export declare const actionChangeFontFamily: {
1281
1326
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1282
1327
  defaultSidebarDockedPreference: boolean;
1283
1328
  lastPointerDownWith: import("../element/types").PointerType;
1284
- selectedElementIds: {
1285
- [id: string]: boolean;
1286
- };
1329
+ selectedElementIds: Readonly<{
1330
+ [id: string]: true;
1331
+ }>;
1287
1332
  previousSelectedElementIds: {
1288
- [id: string]: boolean;
1333
+ [id: string]: true;
1289
1334
  };
1290
1335
  selectedElementsAreBeingDragged: boolean;
1291
1336
  shouldCacheIgnoreZoom: boolean;
@@ -1364,7 +1409,7 @@ export declare const actionChangeTextAlign: {
1364
1409
  showWelcomeScreen: boolean;
1365
1410
  isLoading: boolean;
1366
1411
  errorMessage: import("react").ReactNode;
1367
- activeIFrame: {
1412
+ activeEmbeddable: {
1368
1413
  element: import("../element/types").NonDeletedExcalidrawElement;
1369
1414
  state: "active" | "hover";
1370
1415
  } | null;
@@ -1376,7 +1421,12 @@ export declare const actionChangeTextAlign: {
1376
1421
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1377
1422
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1378
1423
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1379
- shouldRenderFrames: boolean;
1424
+ frameRendering: {
1425
+ enabled: boolean;
1426
+ name: boolean;
1427
+ outline: boolean;
1428
+ clip: boolean;
1429
+ };
1380
1430
  editingFrame: string | null;
1381
1431
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1382
1432
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1385,7 +1435,7 @@ export declare const actionChangeTextAlign: {
1385
1435
  lastActiveTool: import("../../src/types").LastActiveTool;
1386
1436
  locked: boolean;
1387
1437
  } & ({
1388
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1438
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1389
1439
  customType: null;
1390
1440
  } | {
1391
1441
  type: "custom";
@@ -1429,11 +1479,11 @@ export declare const actionChangeTextAlign: {
1429
1479
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1430
1480
  defaultSidebarDockedPreference: boolean;
1431
1481
  lastPointerDownWith: import("../element/types").PointerType;
1432
- selectedElementIds: {
1433
- [id: string]: boolean;
1434
- };
1482
+ selectedElementIds: Readonly<{
1483
+ [id: string]: true;
1484
+ }>;
1435
1485
  previousSelectedElementIds: {
1436
- [id: string]: boolean;
1486
+ [id: string]: true;
1437
1487
  };
1438
1488
  selectedElementsAreBeingDragged: boolean;
1439
1489
  shouldCacheIgnoreZoom: boolean;
@@ -1513,7 +1563,7 @@ export declare const actionChangeVerticalAlign: {
1513
1563
  showWelcomeScreen: boolean;
1514
1564
  isLoading: boolean;
1515
1565
  errorMessage: import("react").ReactNode;
1516
- activeIFrame: {
1566
+ activeEmbeddable: {
1517
1567
  element: import("../element/types").NonDeletedExcalidrawElement;
1518
1568
  state: "active" | "hover";
1519
1569
  } | null;
@@ -1525,7 +1575,12 @@ export declare const actionChangeVerticalAlign: {
1525
1575
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1526
1576
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1527
1577
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1528
- shouldRenderFrames: boolean;
1578
+ frameRendering: {
1579
+ enabled: boolean;
1580
+ name: boolean;
1581
+ outline: boolean;
1582
+ clip: boolean;
1583
+ };
1529
1584
  editingFrame: string | null;
1530
1585
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1531
1586
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1534,7 +1589,7 @@ export declare const actionChangeVerticalAlign: {
1534
1589
  lastActiveTool: import("../../src/types").LastActiveTool;
1535
1590
  locked: boolean;
1536
1591
  } & ({
1537
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1592
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1538
1593
  customType: null;
1539
1594
  } | {
1540
1595
  type: "custom";
@@ -1579,11 +1634,11 @@ export declare const actionChangeVerticalAlign: {
1579
1634
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1580
1635
  defaultSidebarDockedPreference: boolean;
1581
1636
  lastPointerDownWith: import("../element/types").PointerType;
1582
- selectedElementIds: {
1583
- [id: string]: boolean;
1584
- };
1637
+ selectedElementIds: Readonly<{
1638
+ [id: string]: true;
1639
+ }>;
1585
1640
  previousSelectedElementIds: {
1586
- [id: string]: boolean;
1641
+ [id: string]: true;
1587
1642
  };
1588
1643
  selectedElementsAreBeingDragged: boolean;
1589
1644
  shouldCacheIgnoreZoom: boolean;
@@ -1662,7 +1717,7 @@ export declare const actionChangeRoundness: {
1662
1717
  showWelcomeScreen: boolean;
1663
1718
  isLoading: boolean;
1664
1719
  errorMessage: import("react").ReactNode;
1665
- activeIFrame: {
1720
+ activeEmbeddable: {
1666
1721
  element: import("../element/types").NonDeletedExcalidrawElement;
1667
1722
  state: "active" | "hover";
1668
1723
  } | null;
@@ -1674,7 +1729,12 @@ export declare const actionChangeRoundness: {
1674
1729
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1675
1730
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1676
1731
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1677
- shouldRenderFrames: boolean;
1732
+ frameRendering: {
1733
+ enabled: boolean;
1734
+ name: boolean;
1735
+ outline: boolean;
1736
+ clip: boolean;
1737
+ };
1678
1738
  editingFrame: string | null;
1679
1739
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1680
1740
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1683,7 +1743,7 @@ export declare const actionChangeRoundness: {
1683
1743
  lastActiveTool: import("../../src/types").LastActiveTool;
1684
1744
  locked: boolean;
1685
1745
  } & ({
1686
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1746
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1687
1747
  customType: null;
1688
1748
  } | {
1689
1749
  type: "custom";
@@ -1727,11 +1787,11 @@ export declare const actionChangeRoundness: {
1727
1787
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1728
1788
  defaultSidebarDockedPreference: boolean;
1729
1789
  lastPointerDownWith: import("../element/types").PointerType;
1730
- selectedElementIds: {
1731
- [id: string]: boolean;
1732
- };
1790
+ selectedElementIds: Readonly<{
1791
+ [id: string]: true;
1792
+ }>;
1733
1793
  previousSelectedElementIds: {
1734
- [id: string]: boolean;
1794
+ [id: string]: true;
1735
1795
  };
1736
1796
  selectedElementsAreBeingDragged: boolean;
1737
1797
  shouldCacheIgnoreZoom: boolean;
@@ -1812,7 +1872,7 @@ export declare const actionChangeArrowhead: {
1812
1872
  showWelcomeScreen: boolean;
1813
1873
  isLoading: boolean;
1814
1874
  errorMessage: import("react").ReactNode;
1815
- activeIFrame: {
1875
+ activeEmbeddable: {
1816
1876
  element: import("../element/types").NonDeletedExcalidrawElement;
1817
1877
  state: "active" | "hover";
1818
1878
  } | null;
@@ -1824,7 +1884,12 @@ export declare const actionChangeArrowhead: {
1824
1884
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1825
1885
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1826
1886
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1827
- shouldRenderFrames: boolean;
1887
+ frameRendering: {
1888
+ enabled: boolean;
1889
+ name: boolean;
1890
+ outline: boolean;
1891
+ clip: boolean;
1892
+ };
1828
1893
  editingFrame: string | null;
1829
1894
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1830
1895
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1833,7 +1898,7 @@ export declare const actionChangeArrowhead: {
1833
1898
  lastActiveTool: import("../../src/types").LastActiveTool;
1834
1899
  locked: boolean;
1835
1900
  } & ({
1836
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1901
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1837
1902
  customType: null;
1838
1903
  } | {
1839
1904
  type: "custom";
@@ -1878,11 +1943,11 @@ export declare const actionChangeArrowhead: {
1878
1943
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1879
1944
  defaultSidebarDockedPreference: boolean;
1880
1945
  lastPointerDownWith: import("../element/types").PointerType;
1881
- selectedElementIds: {
1882
- [id: string]: boolean;
1883
- };
1946
+ selectedElementIds: Readonly<{
1947
+ [id: string]: true;
1948
+ }>;
1884
1949
  previousSelectedElementIds: {
1885
- [id: string]: boolean;
1950
+ [id: string]: true;
1886
1951
  };
1887
1952
  selectedElementsAreBeingDragged: boolean;
1888
1953
  shouldCacheIgnoreZoom: boolean;