@zsviczian/excalidraw 0.17.6-3 → 0.17.6-31

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 (148) hide show
  1. package/dist/excalidraw.development.js +13100 -1540
  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 +490 -376
  5. package/dist/styles.production.css +10 -8
  6. package/package.json +5 -4
  7. package/types/excalidraw/actions/actionAddToLibrary.d.ts +27 -3
  8. package/types/excalidraw/actions/actionAlign.d.ts +7 -6
  9. package/types/excalidraw/actions/actionBoundText.d.ts +18 -2
  10. package/types/excalidraw/actions/actionCanvas.d.ts +126 -14
  11. package/types/excalidraw/actions/actionClipboard.d.ts +61 -9
  12. package/types/excalidraw/actions/actionCropEditor.d.ts +222 -0
  13. package/types/excalidraw/actions/actionDeleteSelected.d.ts +34 -6
  14. package/types/excalidraw/actions/actionElementLink.d.ts +244 -0
  15. package/types/excalidraw/actions/actionElementLock.d.ts +18 -2
  16. package/types/excalidraw/actions/actionExport.d.ts +77 -8
  17. package/types/excalidraw/actions/actionFinalize.d.ts +18 -2
  18. package/types/excalidraw/actions/actionFrame.d.ts +533 -4
  19. package/types/excalidraw/actions/actionGroup.d.ts +18 -2
  20. package/types/excalidraw/actions/actionLinearEditor.d.ts +9 -1
  21. package/types/excalidraw/actions/actionLink.d.ts +10 -2
  22. package/types/excalidraw/actions/actionMenu.d.ts +23 -2
  23. package/types/excalidraw/actions/actionNavigate.d.ts +18 -2
  24. package/types/excalidraw/actions/actionProperties.d.ts +135 -15
  25. package/types/excalidraw/actions/actionSelectAll.d.ts +9 -1
  26. package/types/excalidraw/actions/actionStyles.d.ts +9 -1
  27. package/types/excalidraw/actions/actionToggleGridMode.d.ts +9 -1
  28. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +9 -1
  29. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +14 -1
  30. package/types/excalidraw/actions/actionToggleStats.d.ts +9 -1
  31. package/types/excalidraw/actions/actionToggleViewMode.d.ts +9 -1
  32. package/types/excalidraw/actions/actionToggleZenMode.d.ts +9 -1
  33. package/types/excalidraw/actions/index.d.ts +1 -0
  34. package/types/excalidraw/actions/shortcuts.d.ts +1 -1
  35. package/types/excalidraw/actions/types.d.ts +1 -1
  36. package/types/excalidraw/align.d.ts +2 -1
  37. package/types/excalidraw/change.d.ts +2 -2
  38. package/types/excalidraw/clipboard.d.ts +27 -5
  39. package/types/excalidraw/components/Actions.d.ts +2 -1
  40. package/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -1
  41. package/types/excalidraw/components/App.d.ts +21 -5
  42. package/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  43. package/types/excalidraw/components/ElementLinkDialog.d.ts +11 -0
  44. package/types/excalidraw/components/EyeDropper.d.ts +1 -1
  45. package/types/excalidraw/components/IconPicker.d.ts +2 -2
  46. package/types/excalidraw/components/LayerUI.d.ts +2 -1
  47. package/types/excalidraw/components/LibraryMenu.d.ts +1 -1
  48. package/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +1 -1
  49. package/types/excalidraw/components/Range.d.ts +8 -0
  50. package/types/excalidraw/components/SearchMenu.d.ts +1 -1
  51. package/types/excalidraw/components/Sidebar/Sidebar.d.ts +1 -1
  52. package/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
  53. package/types/excalidraw/components/Stats/utils.d.ts +1 -1
  54. package/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +1 -7
  55. package/types/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.d.ts +10 -0
  56. package/types/excalidraw/components/TTDDialog/common.d.ts +2 -2
  57. package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
  58. package/types/excalidraw/components/hyperlink/helpers.d.ts +1 -0
  59. package/types/excalidraw/components/icons.d.ts +11 -0
  60. package/types/excalidraw/constants.d.ts +5 -1
  61. package/types/excalidraw/context/tunnels.d.ts +2 -1
  62. package/types/excalidraw/data/blob.d.ts +4 -0
  63. package/types/excalidraw/data/encode.d.ts +6 -5
  64. package/types/excalidraw/data/filesystem.d.ts +2 -1
  65. package/types/excalidraw/data/image.d.ts +0 -6
  66. package/types/excalidraw/data/library.d.ts +9 -3
  67. package/types/excalidraw/data/url.d.ts +0 -1
  68. package/types/excalidraw/dist/excalidraw.production.min.d.ts +3 -1
  69. package/types/excalidraw/editor-jotai.d.ts +56 -0
  70. package/types/excalidraw/element/binding.d.ts +10 -7
  71. package/types/excalidraw/element/cropElement.d.ts +19 -0
  72. package/types/excalidraw/element/elbowArrow.d.ts +16 -0
  73. package/types/excalidraw/element/elementLink.d.ts +13 -0
  74. package/types/excalidraw/element/embeddable.d.ts +9 -1
  75. package/types/excalidraw/element/flowchart.d.ts +1 -1
  76. package/types/excalidraw/element/heading.d.ts +5 -1
  77. package/types/excalidraw/element/image.d.ts +1 -1
  78. package/types/excalidraw/element/linearElementEditor.d.ts +9 -10
  79. package/types/excalidraw/element/mutateElement.d.ts +3 -1
  80. package/types/excalidraw/element/newElement.d.ts +9 -7
  81. package/types/excalidraw/element/resizeElements.d.ts +27 -5
  82. package/types/excalidraw/element/textElement.d.ts +14 -4
  83. package/types/excalidraw/element/textWrapping.d.ts +13 -0
  84. package/types/excalidraw/element/transformHandles.d.ts +1 -1
  85. package/types/excalidraw/element/types.d.ts +33 -1
  86. package/types/excalidraw/errors.d.ts +7 -0
  87. package/types/excalidraw/fonts/{woff2/Cascadia → Cascadia}/index.d.ts +1 -1
  88. package/types/excalidraw/fonts/ComicShanns/index.d.ts +2 -0
  89. package/types/excalidraw/fonts/{woff2/Emoji → Emoji}/index.d.ts +1 -1
  90. package/types/excalidraw/fonts/ExcalidrawFontFace.d.ts +2 -8
  91. package/types/excalidraw/fonts/{woff2/Excalifont → Excalifont}/index.d.ts +1 -1
  92. package/types/excalidraw/fonts/Fonts.d.ts +100 -0
  93. package/types/excalidraw/fonts/{woff2/Helvetica → Helvetica}/index.d.ts +1 -1
  94. package/types/excalidraw/fonts/{woff2/Liberation → Liberation}/index.d.ts +1 -1
  95. package/types/excalidraw/fonts/{woff2/Lilita → Lilita}/index.d.ts +1 -1
  96. package/types/excalidraw/fonts/{woff2/Nunito → Nunito}/index.d.ts +1 -1
  97. package/types/excalidraw/fonts/{woff2/Virgil → Virgil}/index.d.ts +1 -1
  98. package/types/excalidraw/fonts/{woff2/Xiaolai → Xiaolai}/index.d.ts +1 -1
  99. package/types/excalidraw/fonts/index.d.ts +1 -87
  100. package/types/excalidraw/frame.d.ts +11 -5
  101. package/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  102. package/types/excalidraw/index.d.ts +4 -3
  103. package/types/excalidraw/keys.d.ts +107 -0
  104. package/types/excalidraw/obsidianUtils.d.ts +9 -4
  105. package/types/excalidraw/renderer/renderElement.d.ts +3 -2
  106. package/types/excalidraw/scene/Scene.d.ts +1 -0
  107. package/types/excalidraw/scene/comparisons.d.ts +1 -0
  108. package/types/excalidraw/scene/export.d.ts +8 -0
  109. package/types/excalidraw/scene/types.d.ts +7 -0
  110. package/types/excalidraw/types.d.ts +25 -1
  111. package/types/excalidraw/utils.d.ts +7 -1
  112. package/types/excalidraw/visualdebug.d.ts +8 -1
  113. package/types/math/line.d.ts +19 -0
  114. package/types/math/point.d.ts +10 -0
  115. package/types/math/utils.d.ts +1 -0
  116. package/types/math/vector.d.ts +4 -0
  117. package/types/utils/export.d.ts +6 -4
  118. package/types/excalidraw/components/MagicSettings.d.ts +0 -8
  119. package/types/excalidraw/components/Stats.d.ts +0 -11
  120. package/types/excalidraw/data/magic.d.ts +0 -23
  121. package/types/excalidraw/element/routing.d.ts +0 -12
  122. package/types/excalidraw/fonts/ExcalidrawFont.d.ts +0 -37
  123. package/types/excalidraw/fonts/wasm/hb-subset.bindings.d.ts +0 -45
  124. package/types/excalidraw/fonts/wasm/hb-subset.loader.d.ts +0 -5
  125. package/types/excalidraw/fonts/wasm/hb-subset.wasm.d.ts +0 -2
  126. package/types/excalidraw/fonts/wasm/woff2.bindings.d.ts +0 -31
  127. package/types/excalidraw/fonts/wasm/woff2.loader.d.ts +0 -6
  128. package/types/excalidraw/fonts/wasm/woff2.wasm.d.ts +0 -2
  129. package/types/excalidraw/fonts/woff2/Comic/index.d.ts +0 -2
  130. package/types/excalidraw/ga.d.ts +0 -63
  131. package/types/excalidraw/gadirections.d.ts +0 -8
  132. package/types/excalidraw/galines.d.ts +0 -22
  133. package/types/excalidraw/gapoints.d.ts +0 -7
  134. package/types/excalidraw/gatransforms.d.ts +0 -10
  135. package/types/excalidraw/jotai.d.ts +0 -34
  136. package/types/excalidraw/math.d.ts +0 -79
  137. package/types/excalidraw/scene/Fonts.d.ts +0 -19
  138. package/types/utils/geometry/geometry.d.ts +0 -89
  139. /package/types/excalidraw/fonts/{metadata.d.ts → FontMetadata.d.ts} +0 -0
  140. /package/types/excalidraw/{fonts/wasm/hb-subset-bindings.d.ts → subset/harfbuzz/harfbuzz-bindings.d.ts} +0 -0
  141. /package/types/excalidraw/{fonts/wasm/hb-subset-loader.d.ts → subset/harfbuzz/harfbuzz-loader.d.ts} +0 -0
  142. /package/types/excalidraw/{fonts/wasm/hb-subset-wasm.d.ts → subset/harfbuzz/harfbuzz-wasm.d.ts} +0 -0
  143. /package/types/excalidraw/{fonts/subset → subset}/subset-main.d.ts +0 -0
  144. /package/types/excalidraw/{fonts/subset → subset}/subset-shared.chunk.d.ts +0 -0
  145. /package/types/excalidraw/{fonts/subset → subset}/subset-worker.chunk.d.ts +0 -0
  146. /package/types/excalidraw/{fonts/wasm → subset/woff2}/woff2-bindings.d.ts +0 -0
  147. /package/types/excalidraw/{fonts/wasm → subset/woff2}/woff2-loader.d.ts +0 -0
  148. /package/types/excalidraw/{fonts/wasm → subset/woff2}/woff2-wasm.d.ts +0 -0
@@ -101,18 +101,24 @@ export declare const actionChangeFillStyle: {
101
101
  tab?: string | undefined;
102
102
  } | null;
103
103
  openDialog: {
104
- name: "imageExport" | "help" | "jsonExport";
104
+ name: "help" | "imageExport" | "jsonExport";
105
105
  } | {
106
106
  name: "ttd";
107
107
  tab: "mermaid" | "text-to-diagram";
108
108
  } | {
109
109
  name: "commandPalette";
110
+ } | {
111
+ name: "elementLinkSelector";
112
+ sourceElementId: string;
110
113
  } | null;
111
114
  defaultSidebarDockedPreference: boolean;
112
115
  lastPointerDownWith: import("../element/types").PointerType;
113
116
  selectedElementIds: Readonly<{
114
117
  [id: string]: true;
115
118
  }>;
119
+ hoveredElementIds: Readonly<{
120
+ [id: string]: true;
121
+ }>;
116
122
  previousSelectedElementIds: {
117
123
  [id: string]: true;
118
124
  };
@@ -213,6 +219,8 @@ export declare const actionChangeFillStyle: {
213
219
  objectsSnapModeEnabled: boolean;
214
220
  userToFollow: import("../types").UserToFollow | null;
215
221
  followedBy: Set<import("../types").SocketId>;
222
+ isCropping: boolean;
223
+ croppingElementId: string | null;
216
224
  searchMatches: readonly {
217
225
  id: string;
218
226
  focus: boolean;
@@ -310,18 +318,24 @@ export declare const actionChangeStrokeWidth: {
310
318
  tab?: string | undefined;
311
319
  } | null;
312
320
  openDialog: {
313
- name: "imageExport" | "help" | "jsonExport";
321
+ name: "help" | "imageExport" | "jsonExport";
314
322
  } | {
315
323
  name: "ttd";
316
324
  tab: "mermaid" | "text-to-diagram";
317
325
  } | {
318
326
  name: "commandPalette";
327
+ } | {
328
+ name: "elementLinkSelector";
329
+ sourceElementId: string;
319
330
  } | null;
320
331
  defaultSidebarDockedPreference: boolean;
321
332
  lastPointerDownWith: import("../element/types").PointerType;
322
333
  selectedElementIds: Readonly<{
323
334
  [id: string]: true;
324
335
  }>;
336
+ hoveredElementIds: Readonly<{
337
+ [id: string]: true;
338
+ }>;
325
339
  previousSelectedElementIds: {
326
340
  [id: string]: true;
327
341
  };
@@ -422,6 +436,8 @@ export declare const actionChangeStrokeWidth: {
422
436
  objectsSnapModeEnabled: boolean;
423
437
  userToFollow: import("../types").UserToFollow | null;
424
438
  followedBy: Set<import("../types").SocketId>;
439
+ isCropping: boolean;
440
+ croppingElementId: string | null;
425
441
  searchMatches: readonly {
426
442
  id: string;
427
443
  focus: boolean;
@@ -519,18 +535,24 @@ export declare const actionChangeSloppiness: {
519
535
  tab?: string | undefined;
520
536
  } | null;
521
537
  openDialog: {
522
- name: "imageExport" | "help" | "jsonExport";
538
+ name: "help" | "imageExport" | "jsonExport";
523
539
  } | {
524
540
  name: "ttd";
525
541
  tab: "mermaid" | "text-to-diagram";
526
542
  } | {
527
543
  name: "commandPalette";
544
+ } | {
545
+ name: "elementLinkSelector";
546
+ sourceElementId: string;
528
547
  } | null;
529
548
  defaultSidebarDockedPreference: boolean;
530
549
  lastPointerDownWith: import("../element/types").PointerType;
531
550
  selectedElementIds: Readonly<{
532
551
  [id: string]: true;
533
552
  }>;
553
+ hoveredElementIds: Readonly<{
554
+ [id: string]: true;
555
+ }>;
534
556
  previousSelectedElementIds: {
535
557
  [id: string]: true;
536
558
  };
@@ -631,6 +653,8 @@ export declare const actionChangeSloppiness: {
631
653
  objectsSnapModeEnabled: boolean;
632
654
  userToFollow: import("../types").UserToFollow | null;
633
655
  followedBy: Set<import("../types").SocketId>;
656
+ isCropping: boolean;
657
+ croppingElementId: string | null;
634
658
  searchMatches: readonly {
635
659
  id: string;
636
660
  focus: boolean;
@@ -728,18 +752,24 @@ export declare const actionChangeStrokeStyle: {
728
752
  tab?: string | undefined;
729
753
  } | null;
730
754
  openDialog: {
731
- name: "imageExport" | "help" | "jsonExport";
755
+ name: "help" | "imageExport" | "jsonExport";
732
756
  } | {
733
757
  name: "ttd";
734
758
  tab: "mermaid" | "text-to-diagram";
735
759
  } | {
736
760
  name: "commandPalette";
761
+ } | {
762
+ name: "elementLinkSelector";
763
+ sourceElementId: string;
737
764
  } | null;
738
765
  defaultSidebarDockedPreference: boolean;
739
766
  lastPointerDownWith: import("../element/types").PointerType;
740
767
  selectedElementIds: Readonly<{
741
768
  [id: string]: true;
742
769
  }>;
770
+ hoveredElementIds: Readonly<{
771
+ [id: string]: true;
772
+ }>;
743
773
  previousSelectedElementIds: {
744
774
  [id: string]: true;
745
775
  };
@@ -840,6 +870,8 @@ export declare const actionChangeStrokeStyle: {
840
870
  objectsSnapModeEnabled: boolean;
841
871
  userToFollow: import("../types").UserToFollow | null;
842
872
  followedBy: Set<import("../types").SocketId>;
873
+ isCropping: boolean;
874
+ croppingElementId: string | null;
843
875
  searchMatches: readonly {
844
876
  id: string;
845
877
  focus: boolean;
@@ -937,18 +969,24 @@ export declare const actionChangeOpacity: {
937
969
  tab?: string | undefined;
938
970
  } | null;
939
971
  openDialog: {
940
- name: "imageExport" | "help" | "jsonExport";
972
+ name: "help" | "imageExport" | "jsonExport";
941
973
  } | {
942
974
  name: "ttd";
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;
949
984
  selectedElementIds: Readonly<{
950
985
  [id: string]: true;
951
986
  }>;
987
+ hoveredElementIds: Readonly<{
988
+ [id: string]: true;
989
+ }>;
952
990
  previousSelectedElementIds: {
953
991
  [id: string]: true;
954
992
  };
@@ -1049,6 +1087,8 @@ export declare const actionChangeOpacity: {
1049
1087
  objectsSnapModeEnabled: boolean;
1050
1088
  userToFollow: import("../types").UserToFollow | null;
1051
1089
  followedBy: Set<import("../types").SocketId>;
1090
+ isCropping: boolean;
1091
+ croppingElementId: string | null;
1052
1092
  searchMatches: readonly {
1053
1093
  id: string;
1054
1094
  focus: boolean;
@@ -1147,18 +1187,24 @@ export declare const actionChangeFontSize: {
1147
1187
  tab?: string | undefined;
1148
1188
  } | null;
1149
1189
  openDialog: {
1150
- name: "imageExport" | "help" | "jsonExport";
1190
+ name: "help" | "imageExport" | "jsonExport";
1151
1191
  } | {
1152
1192
  name: "ttd";
1153
1193
  tab: "mermaid" | "text-to-diagram";
1154
1194
  } | {
1155
1195
  name: "commandPalette";
1196
+ } | {
1197
+ name: "elementLinkSelector";
1198
+ sourceElementId: string;
1156
1199
  } | null;
1157
1200
  defaultSidebarDockedPreference: boolean;
1158
1201
  lastPointerDownWith: import("../element/types").PointerType;
1159
1202
  selectedElementIds: Readonly<{
1160
1203
  [id: string]: true;
1161
1204
  }>;
1205
+ hoveredElementIds: Readonly<{
1206
+ [id: string]: true;
1207
+ }>;
1162
1208
  previousSelectedElementIds: {
1163
1209
  [id: string]: true;
1164
1210
  };
@@ -1259,6 +1305,8 @@ export declare const actionChangeFontSize: {
1259
1305
  objectsSnapModeEnabled: boolean;
1260
1306
  userToFollow: import("../types").UserToFollow | null;
1261
1307
  followedBy: Set<import("../types").SocketId>;
1308
+ isCropping: boolean;
1309
+ croppingElementId: string | null;
1262
1310
  searchMatches: readonly {
1263
1311
  id: string;
1264
1312
  focus: boolean;
@@ -1357,18 +1405,24 @@ export declare const actionDecreaseFontSize: {
1357
1405
  tab?: string | undefined;
1358
1406
  } | null;
1359
1407
  openDialog: {
1360
- name: "imageExport" | "help" | "jsonExport";
1408
+ name: "help" | "imageExport" | "jsonExport";
1361
1409
  } | {
1362
1410
  name: "ttd";
1363
1411
  tab: "mermaid" | "text-to-diagram";
1364
1412
  } | {
1365
1413
  name: "commandPalette";
1414
+ } | {
1415
+ name: "elementLinkSelector";
1416
+ sourceElementId: string;
1366
1417
  } | null;
1367
1418
  defaultSidebarDockedPreference: boolean;
1368
1419
  lastPointerDownWith: import("../element/types").PointerType;
1369
1420
  selectedElementIds: Readonly<{
1370
1421
  [id: string]: true;
1371
1422
  }>;
1423
+ hoveredElementIds: Readonly<{
1424
+ [id: string]: true;
1425
+ }>;
1372
1426
  previousSelectedElementIds: {
1373
1427
  [id: string]: true;
1374
1428
  };
@@ -1469,6 +1523,8 @@ export declare const actionDecreaseFontSize: {
1469
1523
  objectsSnapModeEnabled: boolean;
1470
1524
  userToFollow: import("../types").UserToFollow | null;
1471
1525
  followedBy: Set<import("../types").SocketId>;
1526
+ isCropping: boolean;
1527
+ croppingElementId: string | null;
1472
1528
  searchMatches: readonly {
1473
1529
  id: string;
1474
1530
  focus: boolean;
@@ -1567,18 +1623,24 @@ export declare const actionIncreaseFontSize: {
1567
1623
  tab?: string | undefined;
1568
1624
  } | null;
1569
1625
  openDialog: {
1570
- name: "imageExport" | "help" | "jsonExport";
1626
+ name: "help" | "imageExport" | "jsonExport";
1571
1627
  } | {
1572
1628
  name: "ttd";
1573
1629
  tab: "mermaid" | "text-to-diagram";
1574
1630
  } | {
1575
1631
  name: "commandPalette";
1632
+ } | {
1633
+ name: "elementLinkSelector";
1634
+ sourceElementId: string;
1576
1635
  } | null;
1577
1636
  defaultSidebarDockedPreference: boolean;
1578
1637
  lastPointerDownWith: import("../element/types").PointerType;
1579
1638
  selectedElementIds: Readonly<{
1580
1639
  [id: string]: true;
1581
1640
  }>;
1641
+ hoveredElementIds: Readonly<{
1642
+ [id: string]: true;
1643
+ }>;
1582
1644
  previousSelectedElementIds: {
1583
1645
  [id: string]: true;
1584
1646
  };
@@ -1679,6 +1741,8 @@ export declare const actionIncreaseFontSize: {
1679
1741
  objectsSnapModeEnabled: boolean;
1680
1742
  userToFollow: import("../types").UserToFollow | null;
1681
1743
  followedBy: Set<import("../types").SocketId>;
1744
+ isCropping: boolean;
1745
+ croppingElementId: string | null;
1682
1746
  searchMatches: readonly {
1683
1747
  id: string;
1684
1748
  focus: boolean;
@@ -1775,18 +1839,24 @@ export declare const actionChangeFontFamily: {
1775
1839
  tab?: string | undefined;
1776
1840
  } | null;
1777
1841
  openDialog: {
1778
- name: "imageExport" | "help" | "jsonExport";
1842
+ name: "help" | "imageExport" | "jsonExport";
1779
1843
  } | {
1780
1844
  name: "ttd";
1781
1845
  tab: "mermaid" | "text-to-diagram";
1782
1846
  } | {
1783
1847
  name: "commandPalette";
1848
+ } | {
1849
+ name: "elementLinkSelector";
1850
+ sourceElementId: string;
1784
1851
  } | null;
1785
1852
  defaultSidebarDockedPreference: boolean;
1786
1853
  lastPointerDownWith: import("../element/types").PointerType;
1787
1854
  selectedElementIds: Readonly<{
1788
1855
  [id: string]: true;
1789
1856
  }>;
1857
+ hoveredElementIds: Readonly<{
1858
+ [id: string]: true;
1859
+ }>;
1790
1860
  previousSelectedElementIds: {
1791
1861
  [id: string]: true;
1792
1862
  };
@@ -1887,6 +1957,8 @@ export declare const actionChangeFontFamily: {
1887
1957
  objectsSnapModeEnabled: boolean;
1888
1958
  userToFollow: import("../types").UserToFollow | null;
1889
1959
  followedBy: Set<import("../types").SocketId>;
1960
+ isCropping: boolean;
1961
+ croppingElementId: string | null;
1890
1962
  searchMatches: readonly {
1891
1963
  id: string;
1892
1964
  focus: boolean;
@@ -1975,18 +2047,24 @@ export declare const actionChangeFontFamily: {
1975
2047
  tab?: string | undefined;
1976
2048
  } | null;
1977
2049
  openDialog: {
1978
- name: "imageExport" | "help" | "jsonExport";
2050
+ name: "help" | "imageExport" | "jsonExport";
1979
2051
  } | {
1980
2052
  name: "ttd";
1981
2053
  tab: "mermaid" | "text-to-diagram";
1982
2054
  } | {
1983
2055
  name: "commandPalette";
2056
+ } | {
2057
+ name: "elementLinkSelector";
2058
+ sourceElementId: string;
1984
2059
  } | null;
1985
2060
  defaultSidebarDockedPreference: boolean;
1986
2061
  lastPointerDownWith: import("../element/types").PointerType;
1987
2062
  selectedElementIds: Readonly<{
1988
2063
  [id: string]: true;
1989
2064
  }>;
2065
+ hoveredElementIds: Readonly<{
2066
+ [id: string]: true;
2067
+ }>;
1990
2068
  previousSelectedElementIds: {
1991
2069
  [id: string]: true;
1992
2070
  };
@@ -2087,6 +2165,8 @@ export declare const actionChangeFontFamily: {
2087
2165
  objectsSnapModeEnabled: boolean;
2088
2166
  userToFollow: import("../types").UserToFollow | null;
2089
2167
  followedBy: Set<import("../types").SocketId>;
2168
+ isCropping: boolean;
2169
+ croppingElementId: string | null;
2090
2170
  searchMatches: readonly {
2091
2171
  id: string;
2092
2172
  focus: boolean;
@@ -2184,18 +2264,24 @@ export declare const actionChangeTextAlign: {
2184
2264
  tab?: string | undefined;
2185
2265
  } | null;
2186
2266
  openDialog: {
2187
- name: "imageExport" | "help" | "jsonExport";
2267
+ name: "help" | "imageExport" | "jsonExport";
2188
2268
  } | {
2189
2269
  name: "ttd";
2190
2270
  tab: "mermaid" | "text-to-diagram";
2191
2271
  } | {
2192
2272
  name: "commandPalette";
2273
+ } | {
2274
+ name: "elementLinkSelector";
2275
+ sourceElementId: string;
2193
2276
  } | null;
2194
2277
  defaultSidebarDockedPreference: boolean;
2195
2278
  lastPointerDownWith: import("../element/types").PointerType;
2196
2279
  selectedElementIds: Readonly<{
2197
2280
  [id: string]: true;
2198
2281
  }>;
2282
+ hoveredElementIds: Readonly<{
2283
+ [id: string]: true;
2284
+ }>;
2199
2285
  previousSelectedElementIds: {
2200
2286
  [id: string]: true;
2201
2287
  };
@@ -2296,6 +2382,8 @@ export declare const actionChangeTextAlign: {
2296
2382
  objectsSnapModeEnabled: boolean;
2297
2383
  userToFollow: import("../types").UserToFollow | null;
2298
2384
  followedBy: Set<import("../types").SocketId>;
2385
+ isCropping: boolean;
2386
+ croppingElementId: string | null;
2299
2387
  searchMatches: readonly {
2300
2388
  id: string;
2301
2389
  focus: boolean;
@@ -2395,18 +2483,24 @@ export declare const actionChangeVerticalAlign: {
2395
2483
  tab?: string | undefined;
2396
2484
  } | null;
2397
2485
  openDialog: {
2398
- name: "imageExport" | "help" | "jsonExport";
2486
+ name: "help" | "imageExport" | "jsonExport";
2399
2487
  } | {
2400
2488
  name: "ttd";
2401
2489
  tab: "mermaid" | "text-to-diagram";
2402
2490
  } | {
2403
2491
  name: "commandPalette";
2492
+ } | {
2493
+ name: "elementLinkSelector";
2494
+ sourceElementId: string;
2404
2495
  } | null;
2405
2496
  defaultSidebarDockedPreference: boolean;
2406
2497
  lastPointerDownWith: import("../element/types").PointerType;
2407
2498
  selectedElementIds: Readonly<{
2408
2499
  [id: string]: true;
2409
2500
  }>;
2501
+ hoveredElementIds: Readonly<{
2502
+ [id: string]: true;
2503
+ }>;
2410
2504
  previousSelectedElementIds: {
2411
2505
  [id: string]: true;
2412
2506
  };
@@ -2507,6 +2601,8 @@ export declare const actionChangeVerticalAlign: {
2507
2601
  objectsSnapModeEnabled: boolean;
2508
2602
  userToFollow: import("../types").UserToFollow | null;
2509
2603
  followedBy: Set<import("../types").SocketId>;
2604
+ isCropping: boolean;
2605
+ croppingElementId: string | null;
2510
2606
  searchMatches: readonly {
2511
2607
  id: string;
2512
2608
  focus: boolean;
@@ -2604,18 +2700,24 @@ export declare const actionChangeRoundness: {
2604
2700
  tab?: string | undefined;
2605
2701
  } | null;
2606
2702
  openDialog: {
2607
- name: "imageExport" | "help" | "jsonExport";
2703
+ name: "help" | "imageExport" | "jsonExport";
2608
2704
  } | {
2609
2705
  name: "ttd";
2610
2706
  tab: "mermaid" | "text-to-diagram";
2611
2707
  } | {
2612
2708
  name: "commandPalette";
2709
+ } | {
2710
+ name: "elementLinkSelector";
2711
+ sourceElementId: string;
2613
2712
  } | null;
2614
2713
  defaultSidebarDockedPreference: boolean;
2615
2714
  lastPointerDownWith: import("../element/types").PointerType;
2616
2715
  selectedElementIds: Readonly<{
2617
2716
  [id: string]: true;
2618
2717
  }>;
2718
+ hoveredElementIds: Readonly<{
2719
+ [id: string]: true;
2720
+ }>;
2619
2721
  previousSelectedElementIds: {
2620
2722
  [id: string]: true;
2621
2723
  };
@@ -2716,6 +2818,8 @@ export declare const actionChangeRoundness: {
2716
2818
  objectsSnapModeEnabled: boolean;
2717
2819
  userToFollow: import("../types").UserToFollow | null;
2718
2820
  followedBy: Set<import("../types").SocketId>;
2821
+ isCropping: boolean;
2822
+ croppingElementId: string | null;
2719
2823
  searchMatches: readonly {
2720
2824
  id: string;
2721
2825
  focus: boolean;
@@ -2816,18 +2920,24 @@ export declare const actionChangeArrowhead: {
2816
2920
  tab?: string | undefined;
2817
2921
  } | null;
2818
2922
  openDialog: {
2819
- name: "imageExport" | "help" | "jsonExport";
2923
+ name: "help" | "imageExport" | "jsonExport";
2820
2924
  } | {
2821
2925
  name: "ttd";
2822
2926
  tab: "mermaid" | "text-to-diagram";
2823
2927
  } | {
2824
2928
  name: "commandPalette";
2929
+ } | {
2930
+ name: "elementLinkSelector";
2931
+ sourceElementId: string;
2825
2932
  } | null;
2826
2933
  defaultSidebarDockedPreference: boolean;
2827
2934
  lastPointerDownWith: import("../element/types").PointerType;
2828
2935
  selectedElementIds: Readonly<{
2829
2936
  [id: string]: true;
2830
2937
  }>;
2938
+ hoveredElementIds: Readonly<{
2939
+ [id: string]: true;
2940
+ }>;
2831
2941
  previousSelectedElementIds: {
2832
2942
  [id: string]: true;
2833
2943
  };
@@ -2928,6 +3038,8 @@ export declare const actionChangeArrowhead: {
2928
3038
  objectsSnapModeEnabled: boolean;
2929
3039
  userToFollow: import("../types").UserToFollow | null;
2930
3040
  followedBy: Set<import("../types").SocketId>;
3041
+ isCropping: boolean;
3042
+ croppingElementId: string | null;
2931
3043
  searchMatches: readonly {
2932
3044
  id: string;
2933
3045
  focus: boolean;
@@ -3025,18 +3137,24 @@ export declare const actionChangeArrowType: {
3025
3137
  tab?: string | undefined;
3026
3138
  } | null;
3027
3139
  openDialog: {
3028
- name: "imageExport" | "help" | "jsonExport";
3140
+ name: "help" | "imageExport" | "jsonExport";
3029
3141
  } | {
3030
3142
  name: "ttd";
3031
3143
  tab: "mermaid" | "text-to-diagram";
3032
3144
  } | {
3033
3145
  name: "commandPalette";
3146
+ } | {
3147
+ name: "elementLinkSelector";
3148
+ sourceElementId: string;
3034
3149
  } | null;
3035
3150
  defaultSidebarDockedPreference: boolean;
3036
3151
  lastPointerDownWith: import("../element/types").PointerType;
3037
3152
  selectedElementIds: Readonly<{
3038
3153
  [id: string]: true;
3039
3154
  }>;
3155
+ hoveredElementIds: Readonly<{
3156
+ [id: string]: true;
3157
+ }>;
3040
3158
  previousSelectedElementIds: {
3041
3159
  [id: string]: true;
3042
3160
  };
@@ -3137,6 +3255,8 @@ export declare const actionChangeArrowType: {
3137
3255
  objectsSnapModeEnabled: boolean;
3138
3256
  userToFollow: import("../types").UserToFollow | null;
3139
3257
  followedBy: Set<import("../types").SocketId>;
3258
+ isCropping: boolean;
3259
+ croppingElementId: string | null;
3140
3260
  searchMatches: readonly {
3141
3261
  id: string;
3142
3262
  focus: boolean;
@@ -91,15 +91,21 @@ export declare const actionSelectAll: {
91
91
  tab?: string | undefined;
92
92
  } | null;
93
93
  openDialog: {
94
- name: "imageExport" | "help" | "jsonExport";
94
+ name: "help" | "imageExport" | "jsonExport";
95
95
  } | {
96
96
  name: "ttd";
97
97
  tab: "mermaid" | "text-to-diagram";
98
98
  } | {
99
99
  name: "commandPalette";
100
+ } | {
101
+ name: "elementLinkSelector";
102
+ sourceElementId: string;
100
103
  } | null;
101
104
  defaultSidebarDockedPreference: boolean;
102
105
  lastPointerDownWith: import("../element/types").PointerType;
106
+ hoveredElementIds: Readonly<{
107
+ [id: string]: true;
108
+ }>;
103
109
  previousSelectedElementIds: {
104
110
  [id: string]: true;
105
111
  };
@@ -195,6 +201,8 @@ export declare const actionSelectAll: {
195
201
  objectsSnapModeEnabled: boolean;
196
202
  userToFollow: import("../types").UserToFollow | null;
197
203
  followedBy: Set<import("../types").SocketId>;
204
+ isCropping: boolean;
205
+ croppingElementId: string | null;
198
206
  searchMatches: readonly {
199
207
  id: string;
200
208
  focus: boolean;
@@ -84,18 +84,24 @@ export declare const actionCopyStyles: {
84
84
  tab?: string | undefined;
85
85
  } | null;
86
86
  openDialog: {
87
- name: "imageExport" | "help" | "jsonExport";
87
+ name: "help" | "imageExport" | "jsonExport";
88
88
  } | {
89
89
  name: "ttd";
90
90
  tab: "mermaid" | "text-to-diagram";
91
91
  } | {
92
92
  name: "commandPalette";
93
+ } | {
94
+ name: "elementLinkSelector";
95
+ sourceElementId: string;
93
96
  } | null;
94
97
  defaultSidebarDockedPreference: boolean;
95
98
  lastPointerDownWith: import("../element/types").PointerType;
96
99
  selectedElementIds: Readonly<{
97
100
  [id: string]: true;
98
101
  }>;
102
+ hoveredElementIds: Readonly<{
103
+ [id: string]: true;
104
+ }>;
99
105
  previousSelectedElementIds: {
100
106
  [id: string]: true;
101
107
  };
@@ -191,6 +197,8 @@ export declare const actionCopyStyles: {
191
197
  objectsSnapModeEnabled: boolean;
192
198
  userToFollow: import("../types").UserToFollow | null;
193
199
  followedBy: Set<import("../types").SocketId>;
200
+ isCropping: boolean;
201
+ croppingElementId: string | null;
194
202
  searchMatches: readonly {
195
203
  id: string;
196
204
  focus: boolean;
@@ -86,18 +86,24 @@ export declare const actionToggleGridMode: {
86
86
  tab?: string | undefined;
87
87
  } | null;
88
88
  openDialog: {
89
- name: "imageExport" | "help" | "jsonExport";
89
+ name: "help" | "imageExport" | "jsonExport";
90
90
  } | {
91
91
  name: "ttd";
92
92
  tab: "mermaid" | "text-to-diagram";
93
93
  } | {
94
94
  name: "commandPalette";
95
+ } | {
96
+ name: "elementLinkSelector";
97
+ sourceElementId: string;
95
98
  } | null;
96
99
  defaultSidebarDockedPreference: boolean;
97
100
  lastPointerDownWith: import("../element/types").PointerType;
98
101
  selectedElementIds: Readonly<{
99
102
  [id: string]: true;
100
103
  }>;
104
+ hoveredElementIds: Readonly<{
105
+ [id: string]: true;
106
+ }>;
101
107
  previousSelectedElementIds: {
102
108
  [id: string]: true;
103
109
  };
@@ -196,6 +202,8 @@ export declare const actionToggleGridMode: {
196
202
  } | null;
197
203
  userToFollow: import("../types").UserToFollow | null;
198
204
  followedBy: Set<import("../types").SocketId>;
205
+ isCropping: boolean;
206
+ croppingElementId: string | null;
199
207
  searchMatches: readonly {
200
208
  id: string;
201
209
  focus: boolean;
@@ -84,18 +84,24 @@ export declare const actionToggleObjectsSnapMode: {
84
84
  tab?: string | undefined;
85
85
  } | null;
86
86
  openDialog: {
87
- name: "imageExport" | "help" | "jsonExport";
87
+ name: "help" | "imageExport" | "jsonExport";
88
88
  } | {
89
89
  name: "ttd";
90
90
  tab: "mermaid" | "text-to-diagram";
91
91
  } | {
92
92
  name: "commandPalette";
93
+ } | {
94
+ name: "elementLinkSelector";
95
+ sourceElementId: string;
93
96
  } | null;
94
97
  defaultSidebarDockedPreference: boolean;
95
98
  lastPointerDownWith: import("../element/types").PointerType;
96
99
  selectedElementIds: Readonly<{
97
100
  [id: string]: true;
98
101
  }>;
102
+ hoveredElementIds: Readonly<{
103
+ [id: string]: true;
104
+ }>;
99
105
  previousSelectedElementIds: {
100
106
  [id: string]: true;
101
107
  };
@@ -194,6 +200,8 @@ export declare const actionToggleObjectsSnapMode: {
194
200
  } | null;
195
201
  userToFollow: import("../types").UserToFollow | null;
196
202
  followedBy: Set<import("../types").SocketId>;
203
+ isCropping: boolean;
204
+ croppingElementId: string | null;
197
205
  searchMatches: readonly {
198
206
  id: string;
199
207
  focus: boolean;