@zsviczian/excalidraw 0.15.2-obsidian-7 → 0.15.2-obsidian-9

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 (45) hide show
  1. package/dist/excalidraw.development.js +50 -50
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/package.json +1 -1
  4. package/types/actions/actionAddToLibrary.d.ts +27 -12
  5. package/types/actions/actionAlign.d.ts +19 -19
  6. package/types/actions/actionBoundText.d.ts +24 -14
  7. package/types/actions/actionCanvas.d.ts +120 -60
  8. package/types/actions/actionClipboard.d.ts +47 -22
  9. package/types/actions/actionDeleteSelected.d.ts +27 -12
  10. package/types/actions/actionDistribute.d.ts +5 -5
  11. package/types/actions/actionElementLock.d.ts +23 -13
  12. package/types/actions/actionExport.d.ts +82 -36
  13. package/types/actions/actionFinalize.d.ts +18 -11
  14. package/types/actions/actionFlip.d.ts +2 -2
  15. package/types/actions/actionFrame.d.ts +35 -20
  16. package/types/actions/actionGroup.d.ts +5 -5
  17. package/types/actions/actionLinearEditor.d.ts +11 -6
  18. package/types/actions/actionMenu.d.ts +27 -12
  19. package/types/actions/actionProperties.d.ts +117 -52
  20. package/types/actions/actionStyles.d.ts +9 -4
  21. package/types/actions/actionToggleGridMode.d.ts +9 -4
  22. package/types/actions/actionToggleStats.d.ts +9 -4
  23. package/types/actions/actionToggleViewMode.d.ts +9 -4
  24. package/types/actions/actionToggleZenMode.d.ts +9 -4
  25. package/types/actions/types.d.ts +4 -3
  26. package/types/appState.d.ts +2 -2
  27. package/types/components/App.d.ts +13 -8
  28. package/types/components/HintViewer.d.ts +3 -4
  29. package/types/components/LayerUI.d.ts +2 -1
  30. package/types/components/MobileMenu.d.ts +3 -2
  31. package/types/constants.d.ts +2 -2
  32. package/types/data/url.d.ts +5 -0
  33. package/types/element/Hyperlink.d.ts +9 -4
  34. package/types/element/collision.d.ts +2 -2
  35. package/types/element/embeddable.d.ts +176 -0
  36. package/types/element/linearElementEditor.d.ts +9 -4
  37. package/types/element/newElement.d.ts +4 -4
  38. package/types/element/typeChecks.d.ts +4 -4
  39. package/types/element/types.d.ts +6 -6
  40. package/types/frame.d.ts +2 -2
  41. package/types/groups.d.ts +3 -3
  42. package/types/scene/Scene.d.ts +13 -0
  43. package/types/types.d.ts +15 -10
  44. package/types/utility-types.d.ts +2 -0
  45. 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";
@@ -111,7 +116,7 @@ export declare const actionChangeFillStyle: {
111
116
  duration?: number | undefined;
112
117
  } | null;
113
118
  zenModeEnabled: boolean;
114
- theme: string;
119
+ theme: import("../element/types").Theme;
115
120
  gridSize: number | null;
116
121
  previousGridSize: number | null;
117
122
  viewModeEnabled: 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";
@@ -259,7 +269,7 @@ export declare const actionChangeStrokeWidth: {
259
269
  duration?: number | undefined;
260
270
  } | null;
261
271
  zenModeEnabled: boolean;
262
- theme: string;
272
+ theme: import("../element/types").Theme;
263
273
  gridSize: number | null;
264
274
  previousGridSize: number | null;
265
275
  viewModeEnabled: 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";
@@ -407,7 +422,7 @@ export declare const actionChangeSloppiness: {
407
422
  duration?: number | undefined;
408
423
  } | null;
409
424
  zenModeEnabled: boolean;
410
- theme: string;
425
+ theme: import("../element/types").Theme;
411
426
  gridSize: number | null;
412
427
  previousGridSize: number | null;
413
428
  viewModeEnabled: 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";
@@ -555,7 +575,7 @@ export declare const actionChangeStrokeStyle: {
555
575
  duration?: number | undefined;
556
576
  } | null;
557
577
  zenModeEnabled: boolean;
558
- theme: string;
578
+ theme: import("../element/types").Theme;
559
579
  gridSize: number | null;
560
580
  previousGridSize: number | null;
561
581
  viewModeEnabled: 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";
@@ -703,7 +728,7 @@ export declare const actionChangeOpacity: {
703
728
  duration?: number | undefined;
704
729
  } | null;
705
730
  zenModeEnabled: boolean;
706
- theme: string;
731
+ theme: import("../element/types").Theme;
707
732
  gridSize: number | null;
708
733
  previousGridSize: number | null;
709
734
  viewModeEnabled: 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";
@@ -851,7 +881,7 @@ export declare const actionChangeFontSize: {
851
881
  duration?: number | undefined;
852
882
  } | null;
853
883
  zenModeEnabled: boolean;
854
- theme: string;
884
+ theme: import("../element/types").Theme;
855
885
  gridSize: number | null;
856
886
  previousGridSize: number | null;
857
887
  viewModeEnabled: 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";
@@ -999,7 +1034,7 @@ export declare const actionDecreaseFontSize: {
999
1034
  duration?: number | undefined;
1000
1035
  } | null;
1001
1036
  zenModeEnabled: boolean;
1002
- theme: string;
1037
+ theme: import("../element/types").Theme;
1003
1038
  gridSize: number | null;
1004
1039
  previousGridSize: number | null;
1005
1040
  viewModeEnabled: 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";
@@ -1147,7 +1187,7 @@ export declare const actionIncreaseFontSize: {
1147
1187
  duration?: number | undefined;
1148
1188
  } | null;
1149
1189
  zenModeEnabled: boolean;
1150
- theme: string;
1190
+ theme: import("../element/types").Theme;
1151
1191
  gridSize: number | null;
1152
1192
  previousGridSize: number | null;
1153
1193
  viewModeEnabled: 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";
@@ -1295,7 +1340,7 @@ export declare const actionChangeFontFamily: {
1295
1340
  duration?: number | undefined;
1296
1341
  } | null;
1297
1342
  zenModeEnabled: boolean;
1298
- theme: string;
1343
+ theme: import("../element/types").Theme;
1299
1344
  gridSize: number | null;
1300
1345
  previousGridSize: number | null;
1301
1346
  viewModeEnabled: 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";
@@ -1443,7 +1493,7 @@ export declare const actionChangeTextAlign: {
1443
1493
  duration?: number | undefined;
1444
1494
  } | null;
1445
1495
  zenModeEnabled: boolean;
1446
- theme: string;
1496
+ theme: import("../element/types").Theme;
1447
1497
  gridSize: number | null;
1448
1498
  previousGridSize: number | null;
1449
1499
  viewModeEnabled: 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";
@@ -1593,7 +1648,7 @@ export declare const actionChangeVerticalAlign: {
1593
1648
  duration?: number | undefined;
1594
1649
  } | null;
1595
1650
  zenModeEnabled: boolean;
1596
- theme: string;
1651
+ theme: import("../element/types").Theme;
1597
1652
  gridSize: number | null;
1598
1653
  previousGridSize: number | null;
1599
1654
  viewModeEnabled: 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";
@@ -1741,7 +1801,7 @@ export declare const actionChangeRoundness: {
1741
1801
  duration?: number | undefined;
1742
1802
  } | null;
1743
1803
  zenModeEnabled: boolean;
1744
- theme: string;
1804
+ theme: import("../element/types").Theme;
1745
1805
  gridSize: number | null;
1746
1806
  previousGridSize: number | null;
1747
1807
  viewModeEnabled: 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";
@@ -1892,7 +1957,7 @@ export declare const actionChangeArrowhead: {
1892
1957
  duration?: number | undefined;
1893
1958
  } | null;
1894
1959
  zenModeEnabled: boolean;
1895
- theme: string;
1960
+ theme: import("../element/types").Theme;
1896
1961
  gridSize: number | null;
1897
1962
  previousGridSize: number | null;
1898
1963
  viewModeEnabled: boolean;
@@ -18,7 +18,7 @@ export declare const actionCopyStyles: {
18
18
  showWelcomeScreen: boolean;
19
19
  isLoading: boolean;
20
20
  errorMessage: import("react").ReactNode;
21
- activeIFrame: {
21
+ activeEmbeddable: {
22
22
  element: import("../element/types").NonDeletedExcalidrawElement;
23
23
  state: "active" | "hover";
24
24
  } | null;
@@ -30,7 +30,12 @@ export declare const actionCopyStyles: {
30
30
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
31
31
  suggestedBindings: import("../element/binding").SuggestedBinding[];
32
32
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
33
- shouldRenderFrames: boolean;
33
+ frameRendering: {
34
+ enabled: boolean;
35
+ name: boolean;
36
+ outline: boolean;
37
+ clip: boolean;
38
+ };
34
39
  editingFrame: string | null;
35
40
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
36
41
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -39,7 +44,7 @@ export declare const actionCopyStyles: {
39
44
  lastActiveTool: import("../types").LastActiveTool;
40
45
  locked: boolean;
41
46
  } & ({
42
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
47
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
43
48
  customType: null;
44
49
  } | {
45
50
  type: "custom";
@@ -93,7 +98,7 @@ export declare const actionCopyStyles: {
93
98
  selectedElementsAreBeingDragged: boolean;
94
99
  shouldCacheIgnoreZoom: boolean;
95
100
  zenModeEnabled: boolean;
96
- theme: string;
101
+ theme: import("../element/types").Theme;
97
102
  gridSize: number | null;
98
103
  previousGridSize: number | null;
99
104
  viewModeEnabled: boolean;
@@ -18,7 +18,7 @@ export declare const actionToggleGridMode: {
18
18
  showWelcomeScreen: boolean;
19
19
  isLoading: boolean;
20
20
  errorMessage: import("react").ReactNode;
21
- activeIFrame: {
21
+ activeEmbeddable: {
22
22
  element: import("../element/types").NonDeletedExcalidrawElement;
23
23
  state: "active" | "hover";
24
24
  } | null;
@@ -30,7 +30,12 @@ export declare const actionToggleGridMode: {
30
30
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
31
31
  suggestedBindings: import("../element/binding").SuggestedBinding[];
32
32
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
33
- shouldRenderFrames: boolean;
33
+ frameRendering: {
34
+ enabled: boolean;
35
+ name: boolean;
36
+ outline: boolean;
37
+ clip: boolean;
38
+ };
34
39
  editingFrame: string | null;
35
40
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
36
41
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -39,7 +44,7 @@ export declare const actionToggleGridMode: {
39
44
  lastActiveTool: import("../types").LastActiveTool;
40
45
  locked: boolean;
41
46
  } & ({
42
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
47
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
43
48
  customType: null;
44
49
  } | {
45
50
  type: "custom";
@@ -98,7 +103,7 @@ export declare const actionToggleGridMode: {
98
103
  duration?: number | undefined;
99
104
  } | null;
100
105
  zenModeEnabled: boolean;
101
- theme: string;
106
+ theme: import("../element/types").Theme;
102
107
  previousGridSize: number | null;
103
108
  viewModeEnabled: boolean;
104
109
  selectedGroupIds: {
@@ -16,7 +16,7 @@ export declare const actionToggleStats: {
16
16
  showWelcomeScreen: boolean;
17
17
  isLoading: boolean;
18
18
  errorMessage: import("react").ReactNode;
19
- activeIFrame: {
19
+ activeEmbeddable: {
20
20
  element: import("../element/types").NonDeletedExcalidrawElement;
21
21
  state: "active" | "hover";
22
22
  } | null;
@@ -28,7 +28,12 @@ export declare const actionToggleStats: {
28
28
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
29
29
  suggestedBindings: import("../element/binding").SuggestedBinding[];
30
30
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
31
- shouldRenderFrames: boolean;
31
+ frameRendering: {
32
+ enabled: boolean;
33
+ name: boolean;
34
+ outline: boolean;
35
+ clip: boolean;
36
+ };
32
37
  editingFrame: string | null;
33
38
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
34
39
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -37,7 +42,7 @@ export declare const actionToggleStats: {
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";
@@ -96,7 +101,7 @@ export declare const actionToggleStats: {
96
101
  duration?: number | undefined;
97
102
  } | null;
98
103
  zenModeEnabled: boolean;
99
- theme: string;
104
+ theme: import("../element/types").Theme;
100
105
  gridSize: number | null;
101
106
  previousGridSize: number | null;
102
107
  viewModeEnabled: boolean;