@zsviczian/excalidraw 0.15.2-obsidian-7 → 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 (32) hide show
  1. package/dist/excalidraw.development.js +30 -30
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/package.json +1 -1
  4. package/types/actions/actionAddToLibrary.d.ts +24 -9
  5. package/types/actions/actionBoundText.d.ts +16 -6
  6. package/types/actions/actionCanvas.d.ts +96 -36
  7. package/types/actions/actionClipboard.d.ts +40 -15
  8. package/types/actions/actionDeleteSelected.d.ts +24 -9
  9. package/types/actions/actionElementLock.d.ts +16 -6
  10. package/types/actions/actionExport.d.ts +72 -27
  11. package/types/actions/actionFinalize.d.ts +16 -6
  12. package/types/actions/actionFrame.d.ts +26 -11
  13. package/types/actions/actionLinearEditor.d.ts +8 -3
  14. package/types/actions/actionMenu.d.ts +24 -9
  15. package/types/actions/actionProperties.d.ts +104 -39
  16. package/types/actions/actionStyles.d.ts +8 -3
  17. package/types/actions/actionToggleGridMode.d.ts +8 -3
  18. package/types/actions/actionToggleStats.d.ts +8 -3
  19. package/types/actions/actionToggleViewMode.d.ts +8 -3
  20. package/types/actions/actionToggleZenMode.d.ts +8 -3
  21. package/types/actions/types.d.ts +1 -1
  22. package/types/appState.d.ts +1 -1
  23. package/types/components/App.d.ts +13 -8
  24. package/types/element/Hyperlink.d.ts +8 -3
  25. package/types/element/collision.d.ts +2 -2
  26. package/types/element/embeddable.d.ts +171 -0
  27. package/types/element/linearElementEditor.d.ts +8 -3
  28. package/types/element/newElement.d.ts +4 -4
  29. package/types/element/typeChecks.d.ts +4 -4
  30. package/types/element/types.d.ts +6 -6
  31. package/types/types.d.ts +15 -10
  32. package/types/utils.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zsviczian/excalidraw",
3
- "version": "0.15.2-obsidian-7",
3
+ "version": "0.15.2-obsidian-8",
4
4
  "main": "main.js",
5
5
  "types": "types/packages/excalidraw/index.d.ts",
6
6
  "files": [
@@ -18,7 +18,7 @@ export declare const actionAddToLibrary: {
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 actionAddToLibrary: {
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 actionAddToLibrary: {
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";
@@ -152,7 +157,7 @@ export declare const actionAddToLibrary: {
152
157
  } | null;
153
158
  showWelcomeScreen: boolean;
154
159
  isLoading: boolean;
155
- activeIFrame: {
160
+ activeEmbeddable: {
156
161
  element: import("../element/types").NonDeletedExcalidrawElement;
157
162
  state: "active" | "hover";
158
163
  } | null;
@@ -164,7 +169,12 @@ export declare const actionAddToLibrary: {
164
169
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
165
170
  suggestedBindings: import("../element/binding").SuggestedBinding[];
166
171
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
167
- shouldRenderFrames: boolean;
172
+ frameRendering: {
173
+ enabled: boolean;
174
+ name: boolean;
175
+ outline: boolean;
176
+ clip: boolean;
177
+ };
168
178
  editingFrame: string | null;
169
179
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
170
180
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -173,7 +183,7 @@ export declare const actionAddToLibrary: {
173
183
  lastActiveTool: import("../types").LastActiveTool;
174
184
  locked: boolean;
175
185
  } & ({
176
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
186
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
177
187
  customType: null;
178
188
  } | {
179
189
  type: "custom";
@@ -291,7 +301,7 @@ export declare const actionAddToLibrary: {
291
301
  } | null;
292
302
  showWelcomeScreen: boolean;
293
303
  isLoading: boolean;
294
- activeIFrame: {
304
+ activeEmbeddable: {
295
305
  element: import("../element/types").NonDeletedExcalidrawElement;
296
306
  state: "active" | "hover";
297
307
  } | null;
@@ -303,7 +313,12 @@ export declare const actionAddToLibrary: {
303
313
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
304
314
  suggestedBindings: import("../element/binding").SuggestedBinding[];
305
315
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
306
- shouldRenderFrames: boolean;
316
+ frameRendering: {
317
+ enabled: boolean;
318
+ name: boolean;
319
+ outline: boolean;
320
+ clip: boolean;
321
+ };
307
322
  editingFrame: string | null;
308
323
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
309
324
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -312,7 +327,7 @@ export declare const actionAddToLibrary: {
312
327
  lastActiveTool: import("../types").LastActiveTool;
313
328
  locked: boolean;
314
329
  } & ({
315
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
330
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
316
331
  customType: null;
317
332
  } | {
318
333
  type: "custom";
@@ -38,7 +38,7 @@ export declare const actionBindText: {
38
38
  showWelcomeScreen: boolean;
39
39
  isLoading: boolean;
40
40
  errorMessage: import("react").ReactNode;
41
- activeIFrame: {
41
+ activeEmbeddable: {
42
42
  element: import("../element/types").NonDeletedExcalidrawElement;
43
43
  state: "active" | "hover";
44
44
  } | null;
@@ -50,7 +50,12 @@ export declare const actionBindText: {
50
50
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
51
51
  suggestedBindings: import("../element/binding").SuggestedBinding[];
52
52
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
53
- shouldRenderFrames: boolean;
53
+ frameRendering: {
54
+ enabled: boolean;
55
+ name: boolean;
56
+ outline: boolean;
57
+ clip: boolean;
58
+ };
54
59
  editingFrame: string | null;
55
60
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
56
61
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -59,7 +64,7 @@ export declare const actionBindText: {
59
64
  lastActiveTool: import("../types").LastActiveTool;
60
65
  locked: boolean;
61
66
  } & ({
62
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
67
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
63
68
  customType: null;
64
69
  } | {
65
70
  type: "custom";
@@ -189,7 +194,7 @@ export declare const actionWrapTextInContainer: {
189
194
  showWelcomeScreen: boolean;
190
195
  isLoading: boolean;
191
196
  errorMessage: import("react").ReactNode;
192
- activeIFrame: {
197
+ activeEmbeddable: {
193
198
  element: import("../element/types").NonDeletedExcalidrawElement;
194
199
  state: "active" | "hover";
195
200
  } | null;
@@ -201,7 +206,12 @@ export declare const actionWrapTextInContainer: {
201
206
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
202
207
  suggestedBindings: import("../element/binding").SuggestedBinding[];
203
208
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
204
- shouldRenderFrames: boolean;
209
+ frameRendering: {
210
+ enabled: boolean;
211
+ name: boolean;
212
+ outline: boolean;
213
+ clip: boolean;
214
+ };
205
215
  editingFrame: string | null;
206
216
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
207
217
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -210,7 +220,7 @@ export declare const actionWrapTextInContainer: {
210
220
  lastActiveTool: import("../types").LastActiveTool;
211
221
  locked: boolean;
212
222
  } & ({
213
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
223
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
214
224
  customType: null;
215
225
  } | {
216
226
  type: "custom";
@@ -41,7 +41,7 @@ export declare const actionClearCanvas: {
41
41
  lastActiveTool: import("../types").LastActiveTool;
42
42
  locked: boolean;
43
43
  } & ({
44
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
44
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
45
45
  customType: null;
46
46
  } | {
47
47
  type: "custom";
@@ -71,7 +71,7 @@ export declare const actionClearCanvas: {
71
71
  showWelcomeScreen: boolean;
72
72
  isLoading: boolean;
73
73
  errorMessage: import("react").ReactNode;
74
- activeIFrame: {
74
+ activeEmbeddable: {
75
75
  element: import("../element/types").NonDeletedExcalidrawElement;
76
76
  state: "active" | "hover";
77
77
  } | null;
@@ -83,7 +83,12 @@ export declare const actionClearCanvas: {
83
83
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
84
84
  suggestedBindings: import("../element/binding").SuggestedBinding[];
85
85
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
86
- shouldRenderFrames: boolean;
86
+ frameRendering: {
87
+ enabled: boolean;
88
+ name: boolean;
89
+ outline: boolean;
90
+ clip: boolean;
91
+ };
87
92
  editingFrame: string | null;
88
93
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
89
94
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -181,7 +186,7 @@ export declare const actionZoomIn: {
181
186
  showWelcomeScreen: boolean;
182
187
  isLoading: boolean;
183
188
  errorMessage: import("react").ReactNode;
184
- activeIFrame: {
189
+ activeEmbeddable: {
185
190
  element: import("../element/types").NonDeletedExcalidrawElement;
186
191
  state: "active" | "hover";
187
192
  } | null;
@@ -193,7 +198,12 @@ export declare const actionZoomIn: {
193
198
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
194
199
  suggestedBindings: import("../element/binding").SuggestedBinding[];
195
200
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
196
- shouldRenderFrames: boolean;
201
+ frameRendering: {
202
+ enabled: boolean;
203
+ name: boolean;
204
+ outline: boolean;
205
+ clip: boolean;
206
+ };
197
207
  editingFrame: string | null;
198
208
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
199
209
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -202,7 +212,7 @@ export declare const actionZoomIn: {
202
212
  lastActiveTool: import("../types").LastActiveTool;
203
213
  locked: boolean;
204
214
  } & ({
205
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
215
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
206
216
  customType: null;
207
217
  } | {
208
218
  type: "custom";
@@ -332,7 +342,7 @@ export declare const actionZoomOut: {
332
342
  showWelcomeScreen: boolean;
333
343
  isLoading: boolean;
334
344
  errorMessage: import("react").ReactNode;
335
- activeIFrame: {
345
+ activeEmbeddable: {
336
346
  element: import("../element/types").NonDeletedExcalidrawElement;
337
347
  state: "active" | "hover";
338
348
  } | null;
@@ -344,7 +354,12 @@ export declare const actionZoomOut: {
344
354
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
345
355
  suggestedBindings: import("../element/binding").SuggestedBinding[];
346
356
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
347
- shouldRenderFrames: boolean;
357
+ frameRendering: {
358
+ enabled: boolean;
359
+ name: boolean;
360
+ outline: boolean;
361
+ clip: boolean;
362
+ };
348
363
  editingFrame: string | null;
349
364
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
350
365
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -353,7 +368,7 @@ export declare const actionZoomOut: {
353
368
  lastActiveTool: import("../types").LastActiveTool;
354
369
  locked: boolean;
355
370
  } & ({
356
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
371
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
357
372
  customType: null;
358
373
  } | {
359
374
  type: "custom";
@@ -483,7 +498,7 @@ export declare const actionResetZoom: {
483
498
  showWelcomeScreen: boolean;
484
499
  isLoading: boolean;
485
500
  errorMessage: import("react").ReactNode;
486
- activeIFrame: {
501
+ activeEmbeddable: {
487
502
  element: import("../element/types").NonDeletedExcalidrawElement;
488
503
  state: "active" | "hover";
489
504
  } | null;
@@ -495,7 +510,12 @@ export declare const actionResetZoom: {
495
510
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
496
511
  suggestedBindings: import("../element/binding").SuggestedBinding[];
497
512
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
498
- shouldRenderFrames: boolean;
513
+ frameRendering: {
514
+ enabled: boolean;
515
+ name: boolean;
516
+ outline: boolean;
517
+ clip: boolean;
518
+ };
499
519
  editingFrame: string | null;
500
520
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
501
521
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -504,7 +524,7 @@ export declare const actionResetZoom: {
504
524
  lastActiveTool: import("../types").LastActiveTool;
505
525
  locked: boolean;
506
526
  } & ({
507
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
527
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
508
528
  customType: null;
509
529
  } | {
510
530
  type: "custom";
@@ -635,7 +655,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
635
655
  showWelcomeScreen: boolean;
636
656
  isLoading: boolean;
637
657
  errorMessage: import("react").ReactNode;
638
- activeIFrame: {
658
+ activeEmbeddable: {
639
659
  element: import("../element/types").NonDeletedExcalidrawElement;
640
660
  state: "active" | "hover";
641
661
  } | null;
@@ -647,7 +667,12 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
647
667
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
648
668
  suggestedBindings: import("../element/binding").SuggestedBinding[];
649
669
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
650
- shouldRenderFrames: boolean;
670
+ frameRendering: {
671
+ enabled: boolean;
672
+ name: boolean;
673
+ outline: boolean;
674
+ clip: boolean;
675
+ };
651
676
  editingFrame: string | null;
652
677
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
653
678
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -656,7 +681,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
656
681
  lastActiveTool: import("../types").LastActiveTool;
657
682
  locked: boolean;
658
683
  } & ({
659
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
684
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
660
685
  customType: null;
661
686
  } | {
662
687
  type: "custom";
@@ -780,7 +805,7 @@ export declare const actionZoomToFitSelectionInViewport: {
780
805
  showWelcomeScreen: boolean;
781
806
  isLoading: boolean;
782
807
  errorMessage: import("react").ReactNode;
783
- activeIFrame: {
808
+ activeEmbeddable: {
784
809
  element: import("../element/types").NonDeletedExcalidrawElement;
785
810
  state: "active" | "hover";
786
811
  } | null;
@@ -792,7 +817,12 @@ export declare const actionZoomToFitSelectionInViewport: {
792
817
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
793
818
  suggestedBindings: import("../element/binding").SuggestedBinding[];
794
819
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
795
- shouldRenderFrames: boolean;
820
+ frameRendering: {
821
+ enabled: boolean;
822
+ name: boolean;
823
+ outline: boolean;
824
+ clip: boolean;
825
+ };
796
826
  editingFrame: string | null;
797
827
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
798
828
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -801,7 +831,7 @@ export declare const actionZoomToFitSelectionInViewport: {
801
831
  lastActiveTool: import("../types").LastActiveTool;
802
832
  locked: boolean;
803
833
  } & ({
804
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
834
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
805
835
  customType: null;
806
836
  } | {
807
837
  type: "custom";
@@ -929,7 +959,7 @@ export declare const actionZoomToFitSelection: {
929
959
  showWelcomeScreen: boolean;
930
960
  isLoading: boolean;
931
961
  errorMessage: import("react").ReactNode;
932
- activeIFrame: {
962
+ activeEmbeddable: {
933
963
  element: import("../element/types").NonDeletedExcalidrawElement;
934
964
  state: "active" | "hover";
935
965
  } | null;
@@ -941,7 +971,12 @@ export declare const actionZoomToFitSelection: {
941
971
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
942
972
  suggestedBindings: import("../element/binding").SuggestedBinding[];
943
973
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
944
- shouldRenderFrames: boolean;
974
+ frameRendering: {
975
+ enabled: boolean;
976
+ name: boolean;
977
+ outline: boolean;
978
+ clip: boolean;
979
+ };
945
980
  editingFrame: string | null;
946
981
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
947
982
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -950,7 +985,7 @@ export declare const actionZoomToFitSelection: {
950
985
  lastActiveTool: import("../types").LastActiveTool;
951
986
  locked: boolean;
952
987
  } & ({
953
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
988
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
954
989
  customType: null;
955
990
  } | {
956
991
  type: "custom";
@@ -1079,7 +1114,7 @@ export declare const actionZoomToFit: {
1079
1114
  showWelcomeScreen: boolean;
1080
1115
  isLoading: boolean;
1081
1116
  errorMessage: import("react").ReactNode;
1082
- activeIFrame: {
1117
+ activeEmbeddable: {
1083
1118
  element: import("../element/types").NonDeletedExcalidrawElement;
1084
1119
  state: "active" | "hover";
1085
1120
  } | null;
@@ -1091,7 +1126,12 @@ export declare const actionZoomToFit: {
1091
1126
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1092
1127
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1093
1128
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1094
- shouldRenderFrames: boolean;
1129
+ frameRendering: {
1130
+ enabled: boolean;
1131
+ name: boolean;
1132
+ outline: boolean;
1133
+ clip: boolean;
1134
+ };
1095
1135
  editingFrame: string | null;
1096
1136
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1097
1137
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1100,7 +1140,7 @@ export declare const actionZoomToFit: {
1100
1140
  lastActiveTool: import("../types").LastActiveTool;
1101
1141
  locked: boolean;
1102
1142
  } & ({
1103
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1143
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1104
1144
  customType: null;
1105
1145
  } | {
1106
1146
  type: "custom";
@@ -1225,7 +1265,7 @@ export declare const actionToggleTheme: {
1225
1265
  showWelcomeScreen: boolean;
1226
1266
  isLoading: boolean;
1227
1267
  errorMessage: import("react").ReactNode;
1228
- activeIFrame: {
1268
+ activeEmbeddable: {
1229
1269
  element: import("../element/types").NonDeletedExcalidrawElement;
1230
1270
  state: "active" | "hover";
1231
1271
  } | null;
@@ -1237,7 +1277,12 @@ export declare const actionToggleTheme: {
1237
1277
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1238
1278
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1239
1279
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1240
- shouldRenderFrames: boolean;
1280
+ frameRendering: {
1281
+ enabled: boolean;
1282
+ name: boolean;
1283
+ outline: boolean;
1284
+ clip: boolean;
1285
+ };
1241
1286
  editingFrame: string | null;
1242
1287
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1243
1288
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1246,7 +1291,7 @@ export declare const actionToggleTheme: {
1246
1291
  lastActiveTool: import("../types").LastActiveTool;
1247
1292
  locked: boolean;
1248
1293
  } & ({
1249
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1294
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1250
1295
  customType: null;
1251
1296
  } | {
1252
1297
  type: "custom";
@@ -1368,12 +1413,12 @@ export declare const actionToggleEraserTool: {
1368
1413
  appState: {
1369
1414
  selectedElementIds: {};
1370
1415
  selectedGroupIds: {};
1371
- activeIFrame: null;
1416
+ activeEmbeddable: null;
1372
1417
  activeTool: {
1373
1418
  lastActiveTool: import("../types").LastActiveTool;
1374
1419
  locked: boolean;
1375
1420
  } & ({
1376
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1421
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1377
1422
  customType: null;
1378
1423
  } | {
1379
1424
  type: "custom";
@@ -1395,7 +1440,12 @@ export declare const actionToggleEraserTool: {
1395
1440
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1396
1441
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1397
1442
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1398
- shouldRenderFrames: boolean;
1443
+ frameRendering: {
1444
+ enabled: boolean;
1445
+ name: boolean;
1446
+ outline: boolean;
1447
+ clip: boolean;
1448
+ };
1399
1449
  editingFrame: string | null;
1400
1450
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1401
1451
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1510,12 +1560,12 @@ export declare const actionToggleHandTool: {
1510
1560
  appState: {
1511
1561
  selectedElementIds: {};
1512
1562
  selectedGroupIds: {};
1513
- activeIFrame: null;
1563
+ activeEmbeddable: null;
1514
1564
  activeTool: {
1515
1565
  lastActiveTool: import("../types").LastActiveTool;
1516
1566
  locked: boolean;
1517
1567
  } & ({
1518
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1568
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1519
1569
  customType: null;
1520
1570
  } | {
1521
1571
  type: "custom";
@@ -1537,7 +1587,12 @@ export declare const actionToggleHandTool: {
1537
1587
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1538
1588
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1539
1589
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1540
- shouldRenderFrames: boolean;
1590
+ frameRendering: {
1591
+ enabled: boolean;
1592
+ name: boolean;
1593
+ outline: boolean;
1594
+ clip: boolean;
1595
+ };
1541
1596
  editingFrame: string | null;
1542
1597
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1543
1598
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1658,7 +1713,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
1658
1713
  showWelcomeScreen: boolean;
1659
1714
  isLoading: boolean;
1660
1715
  errorMessage: import("react").ReactNode;
1661
- activeIFrame: {
1716
+ activeEmbeddable: {
1662
1717
  element: import("../element/types").NonDeletedExcalidrawElement;
1663
1718
  state: "active" | "hover";
1664
1719
  } | null;
@@ -1670,7 +1725,12 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
1670
1725
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
1671
1726
  suggestedBindings: import("../element/binding").SuggestedBinding[];
1672
1727
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
1673
- shouldRenderFrames: boolean;
1728
+ frameRendering: {
1729
+ enabled: boolean;
1730
+ name: boolean;
1731
+ outline: boolean;
1732
+ clip: boolean;
1733
+ };
1674
1734
  editingFrame: string | null;
1675
1735
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
1676
1736
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1679,7 +1739,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
1679
1739
  lastActiveTool: import("../types").LastActiveTool;
1680
1740
  locked: boolean;
1681
1741
  } & ({
1682
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1742
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
1683
1743
  customType: null;
1684
1744
  } | {
1685
1745
  type: "custom";