@zsviczian/excalidraw 0.17.6-2 → 0.17.6-21

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 (138) hide show
  1. package/dist/excalidraw.development.js +13000 -1495
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/excalidraw.production.min.js.LICENSE.txt +21 -1
  4. package/dist/styles.development.css +425 -347
  5. package/dist/styles.production.css +3 -2
  6. package/package.json +2 -3
  7. package/types/excalidraw/actions/actionAddToLibrary.d.ts +24 -0
  8. package/types/excalidraw/actions/actionBoundText.d.ts +16 -0
  9. package/types/excalidraw/actions/actionCanvas.d.ts +112 -0
  10. package/types/excalidraw/actions/actionClipboard.d.ts +48 -0
  11. package/types/excalidraw/actions/actionCropEditor.d.ts +222 -0
  12. package/types/excalidraw/actions/actionDeleteSelected.d.ts +24 -0
  13. package/types/excalidraw/actions/actionElementLink.d.ts +244 -0
  14. package/types/excalidraw/actions/actionElementLock.d.ts +16 -0
  15. package/types/excalidraw/actions/actionExport.d.ts +69 -0
  16. package/types/excalidraw/actions/actionFinalize.d.ts +16 -0
  17. package/types/excalidraw/actions/actionFrame.d.ts +32 -0
  18. package/types/excalidraw/actions/actionGroup.d.ts +16 -0
  19. package/types/excalidraw/actions/actionLinearEditor.d.ts +8 -0
  20. package/types/excalidraw/actions/actionLink.d.ts +9 -1
  21. package/types/excalidraw/actions/actionMenu.d.ts +21 -0
  22. package/types/excalidraw/actions/actionNavigate.d.ts +16 -0
  23. package/types/excalidraw/actions/actionProperties.d.ts +120 -0
  24. package/types/excalidraw/actions/actionSelectAll.d.ts +8 -0
  25. package/types/excalidraw/actions/actionStyles.d.ts +8 -0
  26. package/types/excalidraw/actions/actionToggleGridMode.d.ts +8 -0
  27. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +8 -0
  28. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +13 -0
  29. package/types/excalidraw/actions/actionToggleStats.d.ts +8 -0
  30. package/types/excalidraw/actions/actionToggleViewMode.d.ts +8 -0
  31. package/types/excalidraw/actions/actionToggleZenMode.d.ts +8 -0
  32. package/types/excalidraw/actions/index.d.ts +1 -0
  33. package/types/excalidraw/actions/types.d.ts +1 -1
  34. package/types/excalidraw/change.d.ts +2 -2
  35. package/types/excalidraw/clipboard.d.ts +27 -5
  36. package/types/excalidraw/components/App.d.ts +20 -5
  37. package/types/excalidraw/components/ElementLinkDialog.d.ts +11 -0
  38. package/types/excalidraw/components/LayerUI.d.ts +2 -1
  39. package/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +1 -7
  40. package/types/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.d.ts +9 -0
  41. package/types/excalidraw/components/TTDDialog/common.d.ts +2 -2
  42. package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
  43. package/types/excalidraw/components/hyperlink/helpers.d.ts +1 -0
  44. package/types/excalidraw/components/icons.d.ts +2 -0
  45. package/types/excalidraw/constants.d.ts +5 -1
  46. package/types/excalidraw/data/blob.d.ts +4 -0
  47. package/types/excalidraw/data/encode.d.ts +6 -5
  48. package/types/excalidraw/data/image.d.ts +2 -2
  49. package/types/excalidraw/dist/excalidraw.production.min.d.ts +3 -1
  50. package/types/excalidraw/element/binding.d.ts +1 -1
  51. package/types/excalidraw/element/cropElement.d.ts +14 -0
  52. package/types/excalidraw/element/elementLink.d.ts +13 -0
  53. package/types/excalidraw/element/embeddable.d.ts +8 -0
  54. package/types/excalidraw/element/image.d.ts +1 -1
  55. package/types/excalidraw/element/newElement.d.ts +1 -0
  56. package/types/excalidraw/element/textElement.d.ts +14 -4
  57. package/types/excalidraw/element/textWrapping.d.ts +13 -0
  58. package/types/excalidraw/element/transformHandles.d.ts +1 -1
  59. package/types/excalidraw/element/types.d.ts +10 -0
  60. package/types/excalidraw/errors.d.ts +7 -0
  61. package/types/excalidraw/fonts/{woff2/Cascadia → Cascadia}/index.d.ts +1 -1
  62. package/types/excalidraw/fonts/ComicShanns/index.d.ts +2 -0
  63. package/types/excalidraw/fonts/{woff2/Emoji → Emoji}/index.d.ts +1 -1
  64. package/types/excalidraw/fonts/ExcalidrawFontFace.d.ts +2 -8
  65. package/types/excalidraw/fonts/{woff2/Excalifont → Excalifont}/index.d.ts +1 -1
  66. package/types/excalidraw/fonts/Fonts.d.ts +117 -0
  67. package/types/excalidraw/fonts/{woff2/Helvetica → Helvetica}/index.d.ts +1 -1
  68. package/types/excalidraw/fonts/{woff2/Liberation → Liberation}/index.d.ts +1 -1
  69. package/types/excalidraw/fonts/{woff2/Lilita → Lilita}/index.d.ts +1 -1
  70. package/types/excalidraw/fonts/{woff2/Nunito → Nunito}/index.d.ts +1 -1
  71. package/types/excalidraw/fonts/{woff2/Virgil → Virgil}/index.d.ts +1 -1
  72. package/types/excalidraw/fonts/{woff2/Xiaolai → Xiaolai}/index.d.ts +1 -1
  73. package/types/excalidraw/fonts/index.d.ts +1 -87
  74. package/types/excalidraw/index.d.ts +2 -1
  75. package/types/excalidraw/keys.d.ts +107 -0
  76. package/types/excalidraw/obsidianUtils.d.ts +5 -3
  77. package/types/excalidraw/renderer/renderElement.d.ts +3 -2
  78. package/types/excalidraw/scene/Scene.d.ts +1 -0
  79. package/types/excalidraw/scene/comparisons.d.ts +1 -0
  80. package/types/excalidraw/scene/export.d.ts +1 -0
  81. package/types/excalidraw/scene/types.d.ts +7 -0
  82. package/types/excalidraw/types.d.ts +24 -2
  83. package/types/math/utils.d.ts +1 -0
  84. package/types/math/vector.d.ts +4 -0
  85. package/types/utils/export.d.ts +5 -3
  86. package/dist/excalidraw-assets/CascadiaCode-Regular.woff2 +0 -0
  87. package/dist/excalidraw-assets/ComicShanns-Regular.woff2 +0 -0
  88. package/dist/excalidraw-assets/Excalifont-Regular.woff2 +0 -0
  89. package/dist/excalidraw-assets/LiberationSans-Regular.woff2 +0 -0
  90. package/dist/excalidraw-assets/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
  91. package/dist/excalidraw-assets/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
  92. package/dist/excalidraw-assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
  93. package/dist/excalidraw-assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
  94. package/dist/excalidraw-assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
  95. package/dist/excalidraw-assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
  96. package/dist/excalidraw-assets/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
  97. package/dist/excalidraw-assets/Virgil-Regular.woff2 +0 -0
  98. package/dist/excalidraw-assets-dev/CascadiaCode-Regular.woff2 +0 -0
  99. package/dist/excalidraw-assets-dev/ComicShanns-Regular.woff2 +0 -0
  100. package/dist/excalidraw-assets-dev/Excalifont-Regular.woff2 +0 -0
  101. package/dist/excalidraw-assets-dev/LiberationSans-Regular.woff2 +0 -0
  102. package/dist/excalidraw-assets-dev/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
  103. package/dist/excalidraw-assets-dev/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
  104. package/dist/excalidraw-assets-dev/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
  105. package/dist/excalidraw-assets-dev/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
  106. package/dist/excalidraw-assets-dev/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
  107. package/dist/excalidraw-assets-dev/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
  108. package/dist/excalidraw-assets-dev/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
  109. package/dist/excalidraw-assets-dev/Virgil-Regular.woff2 +0 -0
  110. package/types/excalidraw/components/MagicSettings.d.ts +0 -8
  111. package/types/excalidraw/components/Stats.d.ts +0 -11
  112. package/types/excalidraw/data/magic.d.ts +0 -23
  113. package/types/excalidraw/fonts/ExcalidrawFont.d.ts +0 -37
  114. package/types/excalidraw/fonts/wasm/hb-subset.bindings.d.ts +0 -45
  115. package/types/excalidraw/fonts/wasm/hb-subset.loader.d.ts +0 -5
  116. package/types/excalidraw/fonts/wasm/hb-subset.wasm.d.ts +0 -2
  117. package/types/excalidraw/fonts/wasm/woff2.bindings.d.ts +0 -31
  118. package/types/excalidraw/fonts/wasm/woff2.loader.d.ts +0 -6
  119. package/types/excalidraw/fonts/wasm/woff2.wasm.d.ts +0 -2
  120. package/types/excalidraw/fonts/woff2/Comic/index.d.ts +0 -2
  121. package/types/excalidraw/ga.d.ts +0 -63
  122. package/types/excalidraw/gadirections.d.ts +0 -8
  123. package/types/excalidraw/galines.d.ts +0 -22
  124. package/types/excalidraw/gapoints.d.ts +0 -7
  125. package/types/excalidraw/gatransforms.d.ts +0 -10
  126. package/types/excalidraw/math.d.ts +0 -79
  127. package/types/excalidraw/scene/Fonts.d.ts +0 -19
  128. package/types/utils/geometry/geometry.d.ts +0 -89
  129. /package/types/excalidraw/fonts/{metadata.d.ts → FontMetadata.d.ts} +0 -0
  130. /package/types/excalidraw/{fonts/wasm/hb-subset-bindings.d.ts → subset/harfbuzz/harfbuzz-bindings.d.ts} +0 -0
  131. /package/types/excalidraw/{fonts/wasm/hb-subset-loader.d.ts → subset/harfbuzz/harfbuzz-loader.d.ts} +0 -0
  132. /package/types/excalidraw/{fonts/wasm/hb-subset-wasm.d.ts → subset/harfbuzz/harfbuzz-wasm.d.ts} +0 -0
  133. /package/types/excalidraw/{fonts/subset → subset}/subset-main.d.ts +0 -0
  134. /package/types/excalidraw/{fonts/subset → subset}/subset-shared.chunk.d.ts +0 -0
  135. /package/types/excalidraw/{fonts/subset → subset}/subset-worker.chunk.d.ts +0 -0
  136. /package/types/excalidraw/{fonts/wasm → subset/woff2}/woff2-bindings.d.ts +0 -0
  137. /package/types/excalidraw/{fonts/wasm → subset/woff2}/woff2-loader.d.ts +0 -0
  138. /package/types/excalidraw/{fonts/wasm → subset/woff2}/woff2-wasm.d.ts +0 -0
@@ -137,12 +137,18 @@ export declare const actionClearCanvas: {
137
137
  tab: "mermaid" | "text-to-diagram";
138
138
  } | {
139
139
  name: "commandPalette";
140
+ } | {
141
+ name: "elementLinkSelector";
142
+ sourceElementId: string;
140
143
  } | null;
141
144
  defaultSidebarDockedPreference: boolean;
142
145
  lastPointerDownWith: import("../element/types").PointerType;
143
146
  selectedElementIds: Readonly<{
144
147
  [id: string]: true;
145
148
  }>;
149
+ hoveredElementIds: Readonly<{
150
+ [id: string]: true;
151
+ }>;
146
152
  previousSelectedElementIds: {
147
153
  [id: string]: true;
148
154
  };
@@ -209,6 +215,8 @@ export declare const actionClearCanvas: {
209
215
  objectsSnapModeEnabled: boolean;
210
216
  userToFollow: import("../types").UserToFollow | null;
211
217
  followedBy: Set<import("../types").SocketId>;
218
+ isCropping: boolean;
219
+ croppingElementId: string | null;
212
220
  searchMatches: readonly {
213
221
  id: string;
214
222
  focus: boolean;
@@ -315,12 +323,18 @@ export declare const actionZoomIn: {
315
323
  tab: "mermaid" | "text-to-diagram";
316
324
  } | {
317
325
  name: "commandPalette";
326
+ } | {
327
+ name: "elementLinkSelector";
328
+ sourceElementId: string;
318
329
  } | null;
319
330
  defaultSidebarDockedPreference: boolean;
320
331
  lastPointerDownWith: import("../element/types").PointerType;
321
332
  selectedElementIds: Readonly<{
322
333
  [id: string]: true;
323
334
  }>;
335
+ hoveredElementIds: Readonly<{
336
+ [id: string]: true;
337
+ }>;
324
338
  previousSelectedElementIds: {
325
339
  [id: string]: true;
326
340
  };
@@ -420,6 +434,8 @@ export declare const actionZoomIn: {
420
434
  } | null;
421
435
  objectsSnapModeEnabled: boolean;
422
436
  followedBy: Set<import("../types").SocketId>;
437
+ isCropping: boolean;
438
+ croppingElementId: string | null;
423
439
  searchMatches: readonly {
424
440
  id: string;
425
441
  focus: boolean;
@@ -528,12 +544,18 @@ export declare const actionZoomOut: {
528
544
  tab: "mermaid" | "text-to-diagram";
529
545
  } | {
530
546
  name: "commandPalette";
547
+ } | {
548
+ name: "elementLinkSelector";
549
+ sourceElementId: string;
531
550
  } | null;
532
551
  defaultSidebarDockedPreference: boolean;
533
552
  lastPointerDownWith: import("../element/types").PointerType;
534
553
  selectedElementIds: Readonly<{
535
554
  [id: string]: true;
536
555
  }>;
556
+ hoveredElementIds: Readonly<{
557
+ [id: string]: true;
558
+ }>;
537
559
  previousSelectedElementIds: {
538
560
  [id: string]: true;
539
561
  };
@@ -633,6 +655,8 @@ export declare const actionZoomOut: {
633
655
  } | null;
634
656
  objectsSnapModeEnabled: boolean;
635
657
  followedBy: Set<import("../types").SocketId>;
658
+ isCropping: boolean;
659
+ croppingElementId: string | null;
636
660
  searchMatches: readonly {
637
661
  id: string;
638
662
  focus: boolean;
@@ -741,12 +765,18 @@ export declare const actionResetZoom: {
741
765
  tab: "mermaid" | "text-to-diagram";
742
766
  } | {
743
767
  name: "commandPalette";
768
+ } | {
769
+ name: "elementLinkSelector";
770
+ sourceElementId: string;
744
771
  } | null;
745
772
  defaultSidebarDockedPreference: boolean;
746
773
  lastPointerDownWith: import("../element/types").PointerType;
747
774
  selectedElementIds: Readonly<{
748
775
  [id: string]: true;
749
776
  }>;
777
+ hoveredElementIds: Readonly<{
778
+ [id: string]: true;
779
+ }>;
750
780
  previousSelectedElementIds: {
751
781
  [id: string]: true;
752
782
  };
@@ -846,6 +876,8 @@ export declare const actionResetZoom: {
846
876
  } | null;
847
877
  objectsSnapModeEnabled: boolean;
848
878
  followedBy: Set<import("../types").SocketId>;
879
+ isCropping: boolean;
880
+ croppingElementId: string | null;
849
881
  searchMatches: readonly {
850
882
  id: string;
851
883
  focus: boolean;
@@ -960,12 +992,18 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
960
992
  tab: "mermaid" | "text-to-diagram";
961
993
  } | {
962
994
  name: "commandPalette";
995
+ } | {
996
+ name: "elementLinkSelector";
997
+ sourceElementId: string;
963
998
  } | null;
964
999
  defaultSidebarDockedPreference: boolean;
965
1000
  lastPointerDownWith: import("../element/types").PointerType;
966
1001
  selectedElementIds: Readonly<{
967
1002
  [id: string]: true;
968
1003
  }>;
1004
+ hoveredElementIds: Readonly<{
1005
+ [id: string]: true;
1006
+ }>;
969
1007
  previousSelectedElementIds: {
970
1008
  [id: string]: true;
971
1009
  };
@@ -1066,6 +1104,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
1066
1104
  objectsSnapModeEnabled: boolean;
1067
1105
  userToFollow: import("../types").UserToFollow | null;
1068
1106
  followedBy: Set<import("../types").SocketId>;
1107
+ isCropping: boolean;
1108
+ croppingElementId: string | null;
1069
1109
  searchMatches: readonly {
1070
1110
  id: string;
1071
1111
  focus: boolean;
@@ -1175,12 +1215,18 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1175
1215
  tab: "mermaid" | "text-to-diagram";
1176
1216
  } | {
1177
1217
  name: "commandPalette";
1218
+ } | {
1219
+ name: "elementLinkSelector";
1220
+ sourceElementId: string;
1178
1221
  } | null;
1179
1222
  defaultSidebarDockedPreference: boolean;
1180
1223
  lastPointerDownWith: import("../element/types").PointerType;
1181
1224
  selectedElementIds: Readonly<{
1182
1225
  [id: string]: true;
1183
1226
  }>;
1227
+ hoveredElementIds: Readonly<{
1228
+ [id: string]: true;
1229
+ }>;
1184
1230
  previousSelectedElementIds: {
1185
1231
  [id: string]: true;
1186
1232
  };
@@ -1281,6 +1327,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1281
1327
  objectsSnapModeEnabled: boolean;
1282
1328
  userToFollow: import("../types").UserToFollow | null;
1283
1329
  followedBy: Set<import("../types").SocketId>;
1330
+ isCropping: boolean;
1331
+ croppingElementId: string | null;
1284
1332
  searchMatches: readonly {
1285
1333
  id: string;
1286
1334
  focus: boolean;
@@ -1382,12 +1430,18 @@ export declare const actionZoomToFitSelectionInViewport: {
1382
1430
  tab: "mermaid" | "text-to-diagram";
1383
1431
  } | {
1384
1432
  name: "commandPalette";
1433
+ } | {
1434
+ name: "elementLinkSelector";
1435
+ sourceElementId: string;
1385
1436
  } | null;
1386
1437
  defaultSidebarDockedPreference: boolean;
1387
1438
  lastPointerDownWith: import("../element/types").PointerType;
1388
1439
  selectedElementIds: Readonly<{
1389
1440
  [id: string]: true;
1390
1441
  }>;
1442
+ hoveredElementIds: Readonly<{
1443
+ [id: string]: true;
1444
+ }>;
1391
1445
  previousSelectedElementIds: {
1392
1446
  [id: string]: true;
1393
1447
  };
@@ -1488,6 +1542,8 @@ export declare const actionZoomToFitSelectionInViewport: {
1488
1542
  objectsSnapModeEnabled: boolean;
1489
1543
  userToFollow: import("../types").UserToFollow | null;
1490
1544
  followedBy: Set<import("../types").SocketId>;
1545
+ isCropping: boolean;
1546
+ croppingElementId: string | null;
1491
1547
  searchMatches: readonly {
1492
1548
  id: string;
1493
1549
  focus: boolean;
@@ -1593,12 +1649,18 @@ export declare const actionZoomToFitSelection: {
1593
1649
  tab: "mermaid" | "text-to-diagram";
1594
1650
  } | {
1595
1651
  name: "commandPalette";
1652
+ } | {
1653
+ name: "elementLinkSelector";
1654
+ sourceElementId: string;
1596
1655
  } | null;
1597
1656
  defaultSidebarDockedPreference: boolean;
1598
1657
  lastPointerDownWith: import("../element/types").PointerType;
1599
1658
  selectedElementIds: Readonly<{
1600
1659
  [id: string]: true;
1601
1660
  }>;
1661
+ hoveredElementIds: Readonly<{
1662
+ [id: string]: true;
1663
+ }>;
1602
1664
  previousSelectedElementIds: {
1603
1665
  [id: string]: true;
1604
1666
  };
@@ -1699,6 +1761,8 @@ export declare const actionZoomToFitSelection: {
1699
1761
  objectsSnapModeEnabled: boolean;
1700
1762
  userToFollow: import("../types").UserToFollow | null;
1701
1763
  followedBy: Set<import("../types").SocketId>;
1764
+ isCropping: boolean;
1765
+ croppingElementId: string | null;
1702
1766
  searchMatches: readonly {
1703
1767
  id: string;
1704
1768
  focus: boolean;
@@ -1805,12 +1869,18 @@ export declare const actionZoomToFit: {
1805
1869
  tab: "mermaid" | "text-to-diagram";
1806
1870
  } | {
1807
1871
  name: "commandPalette";
1872
+ } | {
1873
+ name: "elementLinkSelector";
1874
+ sourceElementId: string;
1808
1875
  } | null;
1809
1876
  defaultSidebarDockedPreference: boolean;
1810
1877
  lastPointerDownWith: import("../element/types").PointerType;
1811
1878
  selectedElementIds: Readonly<{
1812
1879
  [id: string]: true;
1813
1880
  }>;
1881
+ hoveredElementIds: Readonly<{
1882
+ [id: string]: true;
1883
+ }>;
1814
1884
  previousSelectedElementIds: {
1815
1885
  [id: string]: true;
1816
1886
  };
@@ -1911,6 +1981,8 @@ export declare const actionZoomToFit: {
1911
1981
  objectsSnapModeEnabled: boolean;
1912
1982
  userToFollow: import("../types").UserToFollow | null;
1913
1983
  followedBy: Set<import("../types").SocketId>;
1984
+ isCropping: boolean;
1985
+ croppingElementId: string | null;
1914
1986
  searchMatches: readonly {
1915
1987
  id: string;
1916
1988
  focus: boolean;
@@ -2019,12 +2091,18 @@ export declare const actionToggleTheme: {
2019
2091
  tab: "mermaid" | "text-to-diagram";
2020
2092
  } | {
2021
2093
  name: "commandPalette";
2094
+ } | {
2095
+ name: "elementLinkSelector";
2096
+ sourceElementId: string;
2022
2097
  } | null;
2023
2098
  defaultSidebarDockedPreference: boolean;
2024
2099
  lastPointerDownWith: import("../element/types").PointerType;
2025
2100
  selectedElementIds: Readonly<{
2026
2101
  [id: string]: true;
2027
2102
  }>;
2103
+ hoveredElementIds: Readonly<{
2104
+ [id: string]: true;
2105
+ }>;
2028
2106
  previousSelectedElementIds: {
2029
2107
  [id: string]: true;
2030
2108
  };
@@ -2124,6 +2202,8 @@ export declare const actionToggleTheme: {
2124
2202
  objectsSnapModeEnabled: boolean;
2125
2203
  userToFollow: import("../types").UserToFollow | null;
2126
2204
  followedBy: Set<import("../types").SocketId>;
2205
+ isCropping: boolean;
2206
+ croppingElementId: string | null;
2127
2207
  searchMatches: readonly {
2128
2208
  id: string;
2129
2209
  focus: boolean;
@@ -2228,9 +2308,15 @@ export declare const actionToggleEraserTool: {
2228
2308
  tab: "mermaid" | "text-to-diagram";
2229
2309
  } | {
2230
2310
  name: "commandPalette";
2311
+ } | {
2312
+ name: "elementLinkSelector";
2313
+ sourceElementId: string;
2231
2314
  } | null;
2232
2315
  defaultSidebarDockedPreference: boolean;
2233
2316
  lastPointerDownWith: import("../element/types").PointerType;
2317
+ hoveredElementIds: Readonly<{
2318
+ [id: string]: true;
2319
+ }>;
2234
2320
  previousSelectedElementIds: {
2235
2321
  [id: string]: true;
2236
2322
  };
@@ -2328,6 +2414,8 @@ export declare const actionToggleEraserTool: {
2328
2414
  objectsSnapModeEnabled: boolean;
2329
2415
  userToFollow: import("../types").UserToFollow | null;
2330
2416
  followedBy: Set<import("../types").SocketId>;
2417
+ isCropping: boolean;
2418
+ croppingElementId: string | null;
2331
2419
  searchMatches: readonly {
2332
2420
  id: string;
2333
2421
  focus: boolean;
@@ -2434,9 +2522,15 @@ export declare const actionToggleHandTool: {
2434
2522
  tab: "mermaid" | "text-to-diagram";
2435
2523
  } | {
2436
2524
  name: "commandPalette";
2525
+ } | {
2526
+ name: "elementLinkSelector";
2527
+ sourceElementId: string;
2437
2528
  } | null;
2438
2529
  defaultSidebarDockedPreference: boolean;
2439
2530
  lastPointerDownWith: import("../element/types").PointerType;
2531
+ hoveredElementIds: Readonly<{
2532
+ [id: string]: true;
2533
+ }>;
2440
2534
  previousSelectedElementIds: {
2441
2535
  [id: string]: true;
2442
2536
  };
@@ -2534,6 +2628,8 @@ export declare const actionToggleHandTool: {
2534
2628
  objectsSnapModeEnabled: boolean;
2535
2629
  userToFollow: import("../types").UserToFollow | null;
2536
2630
  followedBy: Set<import("../types").SocketId>;
2631
+ isCropping: boolean;
2632
+ croppingElementId: string | null;
2537
2633
  searchMatches: readonly {
2538
2634
  id: string;
2539
2635
  focus: boolean;
@@ -2637,9 +2733,15 @@ export declare const actionToggleLaserPointer: {
2637
2733
  tab: "mermaid" | "text-to-diagram";
2638
2734
  } | {
2639
2735
  name: "commandPalette";
2736
+ } | {
2737
+ name: "elementLinkSelector";
2738
+ sourceElementId: string;
2640
2739
  } | null;
2641
2740
  defaultSidebarDockedPreference: boolean;
2642
2741
  lastPointerDownWith: import("../element/types").PointerType;
2742
+ hoveredElementIds: Readonly<{
2743
+ [id: string]: true;
2744
+ }>;
2643
2745
  previousSelectedElementIds: {
2644
2746
  [id: string]: true;
2645
2747
  };
@@ -2737,6 +2839,8 @@ export declare const actionToggleLaserPointer: {
2737
2839
  objectsSnapModeEnabled: boolean;
2738
2840
  userToFollow: import("../types").UserToFollow | null;
2739
2841
  followedBy: Set<import("../types").SocketId>;
2842
+ isCropping: boolean;
2843
+ croppingElementId: string | null;
2740
2844
  searchMatches: readonly {
2741
2845
  id: string;
2742
2846
  focus: boolean;
@@ -2837,12 +2941,18 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
2837
2941
  tab: "mermaid" | "text-to-diagram";
2838
2942
  } | {
2839
2943
  name: "commandPalette";
2944
+ } | {
2945
+ name: "elementLinkSelector";
2946
+ sourceElementId: string;
2840
2947
  } | null;
2841
2948
  defaultSidebarDockedPreference: boolean;
2842
2949
  lastPointerDownWith: import("../element/types").PointerType;
2843
2950
  selectedElementIds: Readonly<{
2844
2951
  [id: string]: true;
2845
2952
  }>;
2953
+ hoveredElementIds: Readonly<{
2954
+ [id: string]: true;
2955
+ }>;
2846
2956
  previousSelectedElementIds: {
2847
2957
  [id: string]: true;
2848
2958
  };
@@ -2943,6 +3053,8 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
2943
3053
  objectsSnapModeEnabled: boolean;
2944
3054
  userToFollow: import("../types").UserToFollow | null;
2945
3055
  followedBy: Set<import("../types").SocketId>;
3056
+ isCropping: boolean;
3057
+ croppingElementId: string | null;
2946
3058
  searchMatches: readonly {
2947
3059
  id: string;
2948
3060
  focus: boolean;
@@ -87,12 +87,18 @@ export declare const actionCopy: {
87
87
  tab: "mermaid" | "text-to-diagram";
88
88
  } | {
89
89
  name: "commandPalette";
90
+ } | {
91
+ name: "elementLinkSelector";
92
+ sourceElementId: string;
90
93
  } | null;
91
94
  defaultSidebarDockedPreference: boolean;
92
95
  lastPointerDownWith: import("../element/types").PointerType;
93
96
  selectedElementIds: Readonly<{
94
97
  [id: string]: true;
95
98
  }>;
99
+ hoveredElementIds: Readonly<{
100
+ [id: string]: true;
101
+ }>;
96
102
  previousSelectedElementIds: {
97
103
  [id: string]: true;
98
104
  };
@@ -193,6 +199,8 @@ export declare const actionCopy: {
193
199
  objectsSnapModeEnabled: boolean;
194
200
  userToFollow: import("../types").UserToFollow | null;
195
201
  followedBy: Set<import("../types").SocketId>;
202
+ isCropping: boolean;
203
+ croppingElementId: string | null;
196
204
  searchMatches: readonly {
197
205
  id: string;
198
206
  focus: boolean;
@@ -300,12 +308,18 @@ export declare const actionPaste: {
300
308
  tab: "mermaid" | "text-to-diagram";
301
309
  } | {
302
310
  name: "commandPalette";
311
+ } | {
312
+ name: "elementLinkSelector";
313
+ sourceElementId: string;
303
314
  } | null;
304
315
  defaultSidebarDockedPreference: boolean;
305
316
  lastPointerDownWith: import("../element/types").PointerType;
306
317
  selectedElementIds: Readonly<{
307
318
  [id: string]: true;
308
319
  }>;
320
+ hoveredElementIds: Readonly<{
321
+ [id: string]: true;
322
+ }>;
309
323
  previousSelectedElementIds: {
310
324
  [id: string]: true;
311
325
  };
@@ -406,6 +420,8 @@ export declare const actionPaste: {
406
420
  objectsSnapModeEnabled: boolean;
407
421
  userToFollow: import("../types").UserToFollow | null;
408
422
  followedBy: Set<import("../types").SocketId>;
423
+ isCropping: boolean;
424
+ croppingElementId: string | null;
409
425
  searchMatches: readonly {
410
426
  id: string;
411
427
  focus: boolean;
@@ -514,12 +530,18 @@ export declare const actionCut: {
514
530
  tab: "mermaid" | "text-to-diagram";
515
531
  } | {
516
532
  name: "commandPalette";
533
+ } | {
534
+ name: "elementLinkSelector";
535
+ sourceElementId: string;
517
536
  } | null;
518
537
  defaultSidebarDockedPreference: boolean;
519
538
  lastPointerDownWith: import("../element/types").PointerType;
520
539
  selectedElementIds: Readonly<{
521
540
  [id: string]: true;
522
541
  }>;
542
+ hoveredElementIds: Readonly<{
543
+ [id: string]: true;
544
+ }>;
523
545
  previousSelectedElementIds: {
524
546
  [id: string]: true;
525
547
  };
@@ -620,6 +642,8 @@ export declare const actionCut: {
620
642
  objectsSnapModeEnabled: boolean;
621
643
  userToFollow: import("../types").UserToFollow | null;
622
644
  followedBy: Set<import("../types").SocketId>;
645
+ isCropping: boolean;
646
+ croppingElementId: string | null;
623
647
  searchMatches: readonly {
624
648
  id: string;
625
649
  focus: boolean;
@@ -744,12 +768,18 @@ export declare const actionCut: {
744
768
  tab: "mermaid" | "text-to-diagram";
745
769
  } | {
746
770
  name: "commandPalette";
771
+ } | {
772
+ name: "elementLinkSelector";
773
+ sourceElementId: string;
747
774
  } | null;
748
775
  defaultSidebarDockedPreference: boolean;
749
776
  lastPointerDownWith: import("../element/types").PointerType;
750
777
  selectedElementIds: Readonly<{
751
778
  [id: string]: true;
752
779
  }>;
780
+ hoveredElementIds: Readonly<{
781
+ [id: string]: true;
782
+ }>;
753
783
  previousSelectedElementIds: {
754
784
  [id: string]: true;
755
785
  };
@@ -850,6 +880,8 @@ export declare const actionCut: {
850
880
  objectsSnapModeEnabled: boolean;
851
881
  userToFollow: import("../types").UserToFollow | null;
852
882
  followedBy: Set<import("../types").SocketId>;
883
+ isCropping: boolean;
884
+ croppingElementId: string | null;
853
885
  searchMatches: readonly {
854
886
  id: string;
855
887
  focus: boolean;
@@ -943,9 +975,15 @@ export declare const actionCut: {
943
975
  tab: "mermaid" | "text-to-diagram";
944
976
  } | {
945
977
  name: "commandPalette";
978
+ } | {
979
+ name: "elementLinkSelector";
980
+ sourceElementId: string;
946
981
  } | null;
947
982
  defaultSidebarDockedPreference: boolean;
948
983
  lastPointerDownWith: import("../element/types").PointerType;
984
+ hoveredElementIds: Readonly<{
985
+ [id: string]: true;
986
+ }>;
949
987
  previousSelectedElementIds: {
950
988
  [id: string]: true;
951
989
  };
@@ -1043,6 +1081,8 @@ export declare const actionCut: {
1043
1081
  objectsSnapModeEnabled: boolean;
1044
1082
  userToFollow: import("../types").UserToFollow | null;
1045
1083
  followedBy: Set<import("../types").SocketId>;
1084
+ isCropping: boolean;
1085
+ croppingElementId: string | null;
1046
1086
  searchMatches: readonly {
1047
1087
  id: string;
1048
1088
  focus: boolean;
@@ -1181,12 +1221,18 @@ export declare const actionCopyAsPng: {
1181
1221
  tab: "mermaid" | "text-to-diagram";
1182
1222
  } | {
1183
1223
  name: "commandPalette";
1224
+ } | {
1225
+ name: "elementLinkSelector";
1226
+ sourceElementId: string;
1184
1227
  } | null;
1185
1228
  defaultSidebarDockedPreference: boolean;
1186
1229
  lastPointerDownWith: import("../element/types").PointerType;
1187
1230
  selectedElementIds: Readonly<{
1188
1231
  [id: string]: true;
1189
1232
  }>;
1233
+ hoveredElementIds: Readonly<{
1234
+ [id: string]: true;
1235
+ }>;
1190
1236
  previousSelectedElementIds: {
1191
1237
  [id: string]: true;
1192
1238
  };
@@ -1287,6 +1333,8 @@ export declare const actionCopyAsPng: {
1287
1333
  objectsSnapModeEnabled: boolean;
1288
1334
  userToFollow: import("../types").UserToFollow | null;
1289
1335
  followedBy: Set<import("../types").SocketId>;
1336
+ isCropping: boolean;
1337
+ croppingElementId: string | null;
1290
1338
  searchMatches: readonly {
1291
1339
  id: string;
1292
1340
  focus: boolean;