@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
@@ -44,7 +44,7 @@ export declare const actionCut: {
44
44
  showWelcomeScreen: boolean;
45
45
  isLoading: boolean;
46
46
  errorMessage: import("react").ReactNode;
47
- activeIFrame: {
47
+ activeEmbeddable: {
48
48
  element: import("../element/types").NonDeletedExcalidrawElement;
49
49
  state: "active" | "hover";
50
50
  } | null;
@@ -56,7 +56,12 @@ export declare const actionCut: {
56
56
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
57
57
  suggestedBindings: import("../element/binding").SuggestedBinding[];
58
58
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
59
- shouldRenderFrames: boolean;
59
+ frameRendering: {
60
+ enabled: boolean;
61
+ name: boolean;
62
+ outline: boolean;
63
+ clip: boolean;
64
+ };
60
65
  editingFrame: string | null;
61
66
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
62
67
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -64,7 +69,7 @@ export declare const actionCut: {
64
69
  lastActiveTool: import("../types").LastActiveTool;
65
70
  locked: boolean;
66
71
  } & ({
67
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
72
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
68
73
  customType: null;
69
74
  } | {
70
75
  type: "custom";
@@ -109,11 +114,11 @@ export declare const actionCut: {
109
114
  openDialog: "imageExport" | "help" | "jsonExport" | null;
110
115
  defaultSidebarDockedPreference: boolean;
111
116
  lastPointerDownWith: import("../element/types").PointerType;
112
- selectedElementIds: {
113
- [id: string]: boolean;
114
- };
117
+ selectedElementIds: Readonly<{
118
+ [id: string]: true;
119
+ }>;
115
120
  previousSelectedElementIds: {
116
- [id: string]: boolean;
121
+ [id: string]: true;
117
122
  };
118
123
  selectedElementsAreBeingDragged: boolean;
119
124
  shouldCacheIgnoreZoom: boolean;
@@ -212,7 +217,7 @@ export declare const actionCut: {
212
217
  showWelcomeScreen: boolean;
213
218
  isLoading: boolean;
214
219
  errorMessage: import("react").ReactNode;
215
- activeIFrame: {
220
+ activeEmbeddable: {
216
221
  element: import("../element/types").NonDeletedExcalidrawElement;
217
222
  state: "active" | "hover";
218
223
  } | null;
@@ -224,7 +229,12 @@ export declare const actionCut: {
224
229
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
225
230
  suggestedBindings: import("../element/binding").SuggestedBinding[];
226
231
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
227
- shouldRenderFrames: boolean;
232
+ frameRendering: {
233
+ enabled: boolean;
234
+ name: boolean;
235
+ outline: boolean;
236
+ clip: boolean;
237
+ };
228
238
  editingFrame: string | null;
229
239
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
230
240
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -232,7 +242,7 @@ export declare const actionCut: {
232
242
  lastActiveTool: import("../types").LastActiveTool;
233
243
  locked: boolean;
234
244
  } & ({
235
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
245
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
236
246
  customType: null;
237
247
  } | {
238
248
  type: "custom";
@@ -277,11 +287,11 @@ export declare const actionCut: {
277
287
  openDialog: "imageExport" | "help" | "jsonExport" | null;
278
288
  defaultSidebarDockedPreference: boolean;
279
289
  lastPointerDownWith: import("../element/types").PointerType;
280
- selectedElementIds: {
281
- [id: string]: boolean;
282
- };
290
+ selectedElementIds: Readonly<{
291
+ [id: string]: true;
292
+ }>;
283
293
  previousSelectedElementIds: {
284
- [id: string]: boolean;
294
+ [id: string]: true;
285
295
  };
286
296
  selectedElementsAreBeingDragged: boolean;
287
297
  shouldCacheIgnoreZoom: boolean;
@@ -347,14 +357,14 @@ export declare const actionCut: {
347
357
  lastActiveTool: import("../types").LastActiveTool;
348
358
  locked: boolean;
349
359
  } & ({
350
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
360
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
351
361
  customType: null;
352
362
  } | {
353
363
  type: "custom";
354
364
  customType: string;
355
365
  });
356
366
  multiElement: null;
357
- activeIFrame: null;
367
+ activeEmbeddable: null;
358
368
  selectedElementIds: {};
359
369
  contextMenu: {
360
370
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -371,7 +381,12 @@ export declare const actionCut: {
371
381
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
372
382
  suggestedBindings: import("../element/binding").SuggestedBinding[];
373
383
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
374
- shouldRenderFrames: boolean;
384
+ frameRendering: {
385
+ enabled: boolean;
386
+ name: boolean;
387
+ outline: boolean;
388
+ clip: boolean;
389
+ };
375
390
  editingFrame: string | null;
376
391
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
377
392
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -416,7 +431,7 @@ export declare const actionCut: {
416
431
  defaultSidebarDockedPreference: boolean;
417
432
  lastPointerDownWith: import("../element/types").PointerType;
418
433
  previousSelectedElementIds: {
419
- [id: string]: boolean;
434
+ [id: string]: true;
420
435
  };
421
436
  selectedElementsAreBeingDragged: boolean;
422
437
  shouldCacheIgnoreZoom: boolean;
@@ -500,7 +515,7 @@ export declare const actionCopyAsSvg: {
500
515
  } | null;
501
516
  showWelcomeScreen: boolean;
502
517
  isLoading: boolean;
503
- activeIFrame: {
518
+ activeEmbeddable: {
504
519
  element: import("../element/types").NonDeletedExcalidrawElement;
505
520
  state: "active" | "hover";
506
521
  } | null;
@@ -512,7 +527,12 @@ export declare const actionCopyAsSvg: {
512
527
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
513
528
  suggestedBindings: import("../element/binding").SuggestedBinding[];
514
529
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
515
- shouldRenderFrames: boolean;
530
+ frameRendering: {
531
+ enabled: boolean;
532
+ name: boolean;
533
+ outline: boolean;
534
+ clip: boolean;
535
+ };
516
536
  editingFrame: string | null;
517
537
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
518
538
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -521,7 +541,7 @@ export declare const actionCopyAsSvg: {
521
541
  lastActiveTool: import("../types").LastActiveTool;
522
542
  locked: boolean;
523
543
  } & ({
524
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
544
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
525
545
  customType: null;
526
546
  } | {
527
547
  type: "custom";
@@ -566,11 +586,11 @@ export declare const actionCopyAsSvg: {
566
586
  openDialog: "imageExport" | "help" | "jsonExport" | null;
567
587
  defaultSidebarDockedPreference: boolean;
568
588
  lastPointerDownWith: import("../element/types").PointerType;
569
- selectedElementIds: {
570
- [id: string]: boolean;
571
- };
589
+ selectedElementIds: Readonly<{
590
+ [id: string]: true;
591
+ }>;
572
592
  previousSelectedElementIds: {
573
- [id: string]: boolean;
593
+ [id: string]: true;
574
594
  };
575
595
  selectedElementsAreBeingDragged: boolean;
576
596
  shouldCacheIgnoreZoom: boolean;
@@ -653,7 +673,7 @@ export declare const actionCopyAsPng: {
653
673
  } | null;
654
674
  showWelcomeScreen: boolean;
655
675
  isLoading: boolean;
656
- activeIFrame: {
676
+ activeEmbeddable: {
657
677
  element: import("../element/types").NonDeletedExcalidrawElement;
658
678
  state: "active" | "hover";
659
679
  } | null;
@@ -665,7 +685,12 @@ export declare const actionCopyAsPng: {
665
685
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
666
686
  suggestedBindings: import("../element/binding").SuggestedBinding[];
667
687
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
668
- shouldRenderFrames: boolean;
688
+ frameRendering: {
689
+ enabled: boolean;
690
+ name: boolean;
691
+ outline: boolean;
692
+ clip: boolean;
693
+ };
669
694
  editingFrame: string | null;
670
695
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
671
696
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -674,7 +699,7 @@ export declare const actionCopyAsPng: {
674
699
  lastActiveTool: import("../types").LastActiveTool;
675
700
  locked: boolean;
676
701
  } & ({
677
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
702
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
678
703
  customType: null;
679
704
  } | {
680
705
  type: "custom";
@@ -719,11 +744,11 @@ export declare const actionCopyAsPng: {
719
744
  openDialog: "imageExport" | "help" | "jsonExport" | null;
720
745
  defaultSidebarDockedPreference: boolean;
721
746
  lastPointerDownWith: import("../element/types").PointerType;
722
- selectedElementIds: {
723
- [id: string]: boolean;
724
- };
747
+ selectedElementIds: Readonly<{
748
+ [id: string]: true;
749
+ }>;
725
750
  previousSelectedElementIds: {
726
- [id: string]: boolean;
751
+ [id: string]: true;
727
752
  };
728
753
  selectedElementsAreBeingDragged: boolean;
729
754
  shouldCacheIgnoreZoom: boolean;
@@ -20,7 +20,7 @@ export declare const actionDeleteSelected: {
20
20
  showWelcomeScreen: boolean;
21
21
  isLoading: boolean;
22
22
  errorMessage: import("react").ReactNode;
23
- activeIFrame: {
23
+ activeEmbeddable: {
24
24
  element: import("../element/types").NonDeletedExcalidrawElement;
25
25
  state: "active" | "hover";
26
26
  } | null;
@@ -32,7 +32,12 @@ export declare const actionDeleteSelected: {
32
32
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
33
33
  suggestedBindings: import("../element/binding").SuggestedBinding[];
34
34
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
35
- shouldRenderFrames: boolean;
35
+ frameRendering: {
36
+ enabled: boolean;
37
+ name: boolean;
38
+ outline: boolean;
39
+ clip: boolean;
40
+ };
36
41
  editingFrame: string | null;
37
42
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
38
43
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -40,7 +45,7 @@ export declare const actionDeleteSelected: {
40
45
  lastActiveTool: import("../types").LastActiveTool;
41
46
  locked: boolean;
42
47
  } & ({
43
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
48
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
44
49
  customType: null;
45
50
  } | {
46
51
  type: "custom";
@@ -85,11 +90,11 @@ export declare const actionDeleteSelected: {
85
90
  openDialog: "imageExport" | "help" | "jsonExport" | null;
86
91
  defaultSidebarDockedPreference: boolean;
87
92
  lastPointerDownWith: import("../element/types").PointerType;
88
- selectedElementIds: {
89
- [id: string]: boolean;
90
- };
93
+ selectedElementIds: Readonly<{
94
+ [id: string]: true;
95
+ }>;
91
96
  previousSelectedElementIds: {
92
- [id: string]: boolean;
97
+ [id: string]: true;
93
98
  };
94
99
  selectedElementsAreBeingDragged: boolean;
95
100
  shouldCacheIgnoreZoom: boolean;
@@ -188,7 +193,7 @@ export declare const actionDeleteSelected: {
188
193
  showWelcomeScreen: boolean;
189
194
  isLoading: boolean;
190
195
  errorMessage: import("react").ReactNode;
191
- activeIFrame: {
196
+ activeEmbeddable: {
192
197
  element: import("../element/types").NonDeletedExcalidrawElement;
193
198
  state: "active" | "hover";
194
199
  } | null;
@@ -200,7 +205,12 @@ export declare const actionDeleteSelected: {
200
205
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
201
206
  suggestedBindings: import("../element/binding").SuggestedBinding[];
202
207
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
203
- shouldRenderFrames: boolean;
208
+ frameRendering: {
209
+ enabled: boolean;
210
+ name: boolean;
211
+ outline: boolean;
212
+ clip: boolean;
213
+ };
204
214
  editingFrame: string | null;
205
215
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
206
216
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -208,7 +218,7 @@ export declare const actionDeleteSelected: {
208
218
  lastActiveTool: import("../types").LastActiveTool;
209
219
  locked: boolean;
210
220
  } & ({
211
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
221
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
212
222
  customType: null;
213
223
  } | {
214
224
  type: "custom";
@@ -253,11 +263,11 @@ export declare const actionDeleteSelected: {
253
263
  openDialog: "imageExport" | "help" | "jsonExport" | null;
254
264
  defaultSidebarDockedPreference: boolean;
255
265
  lastPointerDownWith: import("../element/types").PointerType;
256
- selectedElementIds: {
257
- [id: string]: boolean;
258
- };
266
+ selectedElementIds: Readonly<{
267
+ [id: string]: true;
268
+ }>;
259
269
  previousSelectedElementIds: {
260
- [id: string]: boolean;
270
+ [id: string]: true;
261
271
  };
262
272
  selectedElementsAreBeingDragged: boolean;
263
273
  shouldCacheIgnoreZoom: boolean;
@@ -323,14 +333,14 @@ export declare const actionDeleteSelected: {
323
333
  lastActiveTool: import("../types").LastActiveTool;
324
334
  locked: boolean;
325
335
  } & ({
326
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
336
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
327
337
  customType: null;
328
338
  } | {
329
339
  type: "custom";
330
340
  customType: string;
331
341
  });
332
342
  multiElement: null;
333
- activeIFrame: null;
343
+ activeEmbeddable: null;
334
344
  selectedElementIds: {};
335
345
  contextMenu: {
336
346
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -347,7 +357,12 @@ export declare const actionDeleteSelected: {
347
357
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
348
358
  suggestedBindings: import("../element/binding").SuggestedBinding[];
349
359
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
350
- shouldRenderFrames: boolean;
360
+ frameRendering: {
361
+ enabled: boolean;
362
+ name: boolean;
363
+ outline: boolean;
364
+ clip: boolean;
365
+ };
351
366
  editingFrame: string | null;
352
367
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
353
368
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -392,7 +407,7 @@ export declare const actionDeleteSelected: {
392
407
  defaultSidebarDockedPreference: boolean;
393
408
  lastPointerDownWith: import("../element/types").PointerType;
394
409
  previousSelectedElementIds: {
395
- [id: string]: boolean;
410
+ [id: string]: true;
396
411
  };
397
412
  selectedElementsAreBeingDragged: boolean;
398
413
  shouldCacheIgnoreZoom: boolean;
@@ -18,7 +18,7 @@ export declare const actionToggleElementLock: {
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 actionToggleElementLock: {
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<ExcalidrawElement>[] | null;
36
41
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -39,7 +44,7 @@ export declare const actionToggleElementLock: {
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";
@@ -84,11 +89,11 @@ export declare const actionToggleElementLock: {
84
89
  openDialog: "imageExport" | "help" | "jsonExport" | null;
85
90
  defaultSidebarDockedPreference: boolean;
86
91
  lastPointerDownWith: import("../element/types").PointerType;
87
- selectedElementIds: {
88
- [id: string]: boolean;
89
- };
92
+ selectedElementIds: Readonly<{
93
+ [id: string]: true;
94
+ }>;
90
95
  previousSelectedElementIds: {
91
- [id: string]: boolean;
96
+ [id: string]: true;
92
97
  };
93
98
  selectedElementsAreBeingDragged: boolean;
94
99
  shouldCacheIgnoreZoom: boolean;
@@ -173,7 +178,7 @@ export declare const actionUnlockAllElements: {
173
178
  showWelcomeScreen: boolean;
174
179
  isLoading: boolean;
175
180
  errorMessage: import("react").ReactNode;
176
- activeIFrame: {
181
+ activeEmbeddable: {
177
182
  element: import("../element/types").NonDeletedExcalidrawElement;
178
183
  state: "active" | "hover";
179
184
  } | null;
@@ -185,7 +190,12 @@ export declare const actionUnlockAllElements: {
185
190
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
186
191
  suggestedBindings: import("../element/binding").SuggestedBinding[];
187
192
  frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
188
- shouldRenderFrames: boolean;
193
+ frameRendering: {
194
+ enabled: boolean;
195
+ name: boolean;
196
+ outline: boolean;
197
+ clip: boolean;
198
+ };
189
199
  editingFrame: string | null;
190
200
  elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
191
201
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -194,7 +204,7 @@ export declare const actionUnlockAllElements: {
194
204
  lastActiveTool: import("../types").LastActiveTool;
195
205
  locked: boolean;
196
206
  } & ({
197
- type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "iframe" | "image" | "frame" | "freedraw" | "eraser" | "hand";
207
+ type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
198
208
  customType: null;
199
209
  } | {
200
210
  type: "custom";
@@ -240,7 +250,7 @@ export declare const actionUnlockAllElements: {
240
250
  defaultSidebarDockedPreference: boolean;
241
251
  lastPointerDownWith: import("../element/types").PointerType;
242
252
  previousSelectedElementIds: {
243
- [id: string]: boolean;
253
+ [id: string]: true;
244
254
  };
245
255
  selectedElementsAreBeingDragged: boolean;
246
256
  shouldCacheIgnoreZoom: boolean;