@excalidraw/excalidraw 0.18.0-6fc8502 → 0.18.0-864353b

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 (164) hide show
  1. package/dist/dev/{chunk-X3RYHLJU.js → chunk-7YMZV3TY.js} +14 -4
  2. package/dist/dev/chunk-7YMZV3TY.js.map +7 -0
  3. package/dist/dev/chunk-BBNNHA7I.js +7 -0
  4. package/dist/dev/chunk-BBNNHA7I.js.map +7 -0
  5. package/dist/dev/{chunk-KYBDXI6F.js → chunk-LL55DS44.js} +15037 -10099
  6. package/dist/dev/chunk-LL55DS44.js.map +7 -0
  7. package/dist/dev/data/{image-NKFINVKH.js → image-OFYK7EOY.js} +3 -3
  8. package/dist/dev/index.css +100 -22
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +3531 -6486
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-CKWC2GMK.js → en-KIY5SGI3.js} +2 -2
  13. package/dist/dev/subset-shared.chunk.js +1 -1
  14. package/dist/dev/subset-worker.chunk.js +1 -1
  15. package/dist/prod/chunk-F44EGBV2.js +33 -0
  16. package/dist/prod/{chunk-IUH5AXLB.js → chunk-OUULIERA.js} +4 -4
  17. package/dist/prod/chunk-UH6Q3EIV.js +7 -0
  18. package/dist/prod/data/image-CUOH64HE.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +18 -17
  21. package/dist/prod/locales/{en-SBO6ZHT2.js → en-GCLCIHXH.js} +1 -1
  22. package/dist/prod/subset-shared.chunk.js +1 -1
  23. package/dist/prod/subset-worker.chunk.js +1 -1
  24. package/dist/types/common/src/constants.d.ts +11 -1
  25. package/dist/types/{excalidraw → common/src}/emitter.d.ts +1 -1
  26. package/dist/types/common/src/font-metadata.d.ts +4 -2
  27. package/dist/types/common/src/index.d.ts +1 -0
  28. package/dist/types/common/src/utility-types.d.ts +5 -0
  29. package/dist/types/common/src/utils.d.ts +22 -4
  30. package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +11 -14
  31. package/dist/types/element/src/ShapeCache.d.ts +1 -1
  32. package/dist/types/element/src/align.d.ts +3 -3
  33. package/dist/types/element/src/binding.d.ts +19 -12
  34. package/dist/types/element/src/bounds.d.ts +2 -2
  35. package/dist/types/element/src/collision.d.ts +1 -1
  36. package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +40 -35
  37. package/dist/types/element/src/dragElements.d.ts +3 -2
  38. package/dist/types/element/src/duplicate.d.ts +10 -13
  39. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  40. package/dist/types/element/src/flowchart.d.ts +3 -2
  41. package/dist/types/element/src/fractionalIndex.d.ts +2 -2
  42. package/dist/types/element/src/frame.d.ts +5 -4
  43. package/dist/types/element/src/index.d.ts +45 -2
  44. package/dist/types/element/src/linearElementEditor.d.ts +20 -31
  45. package/dist/types/element/src/mutateElement.d.ts +10 -2
  46. package/dist/types/element/src/newElement.d.ts +4 -3
  47. package/dist/types/element/src/resizeElements.d.ts +4 -4
  48. package/dist/types/element/src/selection.d.ts +11 -5
  49. package/dist/types/element/src/shapes.d.ts +5 -1
  50. package/dist/types/element/src/sizeHelpers.d.ts +2 -2
  51. package/dist/types/element/src/store.d.ts +227 -0
  52. package/dist/types/element/src/textElement.d.ts +5 -3
  53. package/dist/types/element/src/transformHandles.d.ts +4 -4
  54. package/dist/types/element/src/typeChecks.d.ts +15 -1
  55. package/dist/types/element/src/types.d.ts +14 -1
  56. package/dist/types/element/src/zindex.d.ts +1 -1
  57. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +39 -45
  58. package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
  59. package/dist/types/excalidraw/actions/actionBoundText.d.ts +26 -30
  60. package/dist/types/excalidraw/actions/actionCanvas.d.ts +262 -288
  61. package/dist/types/excalidraw/actions/actionClipboard.d.ts +81 -92
  62. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +13 -15
  63. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +38 -43
  64. package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
  65. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  66. package/dist/types/excalidraw/actions/actionElementLink.d.ts +13 -15
  67. package/dist/types/excalidraw/actions/actionElementLock.d.ts +41 -46
  68. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +13 -15
  69. package/dist/types/excalidraw/actions/actionExport.d.ts +210 -228
  70. package/dist/types/excalidraw/actions/actionFinalize.d.ts +72 -36
  71. package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
  72. package/dist/types/excalidraw/actions/actionFrame.d.ts +96 -104
  73. package/dist/types/excalidraw/actions/actionGroup.d.ts +32 -36
  74. package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
  75. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +505 -14
  76. package/dist/types/excalidraw/actions/actionLink.d.ts +13 -15
  77. package/dist/types/excalidraw/actions/actionMenu.d.ts +39 -45
  78. package/dist/types/excalidraw/actions/actionNavigate.d.ts +25 -29
  79. package/dist/types/excalidraw/actions/actionProperties.d.ts +192 -214
  80. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +15 -17
  81. package/dist/types/excalidraw/actions/actionStyles.d.ts +17 -19
  82. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +15 -17
  83. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +15 -17
  84. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +15 -190
  85. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  86. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +15 -17
  87. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +15 -17
  88. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +15 -17
  89. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  90. package/dist/types/excalidraw/actions/types.d.ts +4 -3
  91. package/dist/types/excalidraw/appState.d.ts +38 -29
  92. package/dist/types/excalidraw/components/App.d.ts +24 -11
  93. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
  94. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
  95. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
  96. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
  97. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
  98. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
  99. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
  100. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
  101. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  102. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  103. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  104. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
  105. package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
  106. package/dist/types/excalidraw/components/Range.d.ts +3 -3
  107. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
  108. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  109. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
  110. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
  111. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
  112. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
  113. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
  114. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
  115. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
  116. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
  117. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
  118. package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -11
  119. package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  120. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -0
  121. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
  122. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
  123. package/dist/types/excalidraw/components/icons.d.ts +3 -0
  124. package/dist/types/excalidraw/components/shapes.d.ts +1 -1
  125. package/dist/types/excalidraw/data/blob.d.ts +1 -1
  126. package/dist/types/excalidraw/data/transform.d.ts +1 -1
  127. package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
  128. package/dist/types/excalidraw/eraser/index.d.ts +14 -0
  129. package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
  130. package/dist/types/excalidraw/history.d.ts +14 -22
  131. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  132. package/dist/types/excalidraw/index.d.ts +9 -9
  133. package/dist/types/excalidraw/lasso/index.d.ts +1 -0
  134. package/dist/types/excalidraw/lasso/utils.d.ts +1 -2
  135. package/dist/types/excalidraw/renderer/helpers.d.ts +7 -2
  136. package/dist/types/excalidraw/scene/Renderer.d.ts +1 -1
  137. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  138. package/dist/types/excalidraw/scene/scrollbars.d.ts +2 -3
  139. package/dist/types/excalidraw/scene/types.d.ts +2 -0
  140. package/dist/types/excalidraw/snapping.d.ts +2 -2
  141. package/dist/types/excalidraw/types.d.ts +28 -6
  142. package/dist/types/excalidraw/visualdebug.d.ts +1 -1
  143. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
  144. package/dist/types/math/src/angle.d.ts +2 -0
  145. package/dist/types/math/src/curve.d.ts +2 -0
  146. package/dist/types/math/src/point.d.ts +1 -1
  147. package/dist/types/math/src/types.d.ts +1 -0
  148. package/dist/types/math/src/vector.d.ts +4 -0
  149. package/dist/types/utils/src/bbox.d.ts +1 -1
  150. package/dist/types/utils/src/index.d.ts +1 -1
  151. package/dist/types/utils/src/withinBounds.d.ts +1 -1
  152. package/history.ts +68 -94
  153. package/package.json +3 -3
  154. package/dist/dev/chunk-H7XJ5UVD.js +0 -7
  155. package/dist/dev/chunk-H7XJ5UVD.js.map +0 -7
  156. package/dist/dev/chunk-KYBDXI6F.js.map +0 -7
  157. package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
  158. package/dist/prod/chunk-CAN5RS4P.js +0 -31
  159. package/dist/prod/chunk-KJYFYP64.js +0 -7
  160. package/dist/prod/data/image-5XD47O4X.js +0 -1
  161. package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  162. package/dist/types/excalidraw/store.d.ts +0 -129
  163. /package/dist/dev/data/{image-NKFINVKH.js.map → image-OFYK7EOY.js.map} +0 -0
  164. /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-KIY5SGI3.js.map} +0 -0
@@ -26,7 +26,7 @@ export declare const actionToggleCanvasMenu: {
26
26
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
27
27
  isBindingEnabled: boolean;
28
28
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
29
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
29
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
30
30
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
31
31
  frameRendering: {
32
32
  enabled: boolean;
@@ -37,7 +37,7 @@ export declare const actionToggleCanvasMenu: {
37
37
  editingFrame: string | null;
38
38
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
39
39
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
40
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
40
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
41
41
  activeTool: {
42
42
  lastActiveTool: import("../types").ActiveTool | null;
43
43
  locked: boolean;
@@ -157,8 +157,8 @@ export declare const actionToggleCanvasMenu: {
157
157
  data: import("../charts").Spreadsheet;
158
158
  };
159
159
  pendingImageElementId: string | null;
160
- showHyperlinkPopup: false | "editor" | "info";
161
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
160
+ showHyperlinkPopup: false | "info" | "editor";
161
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
162
162
  snapLines: readonly import("../snapping").SnapLine[];
163
163
  originSnapOffset: {
164
164
  x: number;
@@ -169,16 +169,14 @@ export declare const actionToggleCanvasMenu: {
169
169
  followedBy: Set<import("../types").SocketId>;
170
170
  isCropping: boolean;
171
171
  croppingElementId: string | null;
172
- searchMatches: readonly {
173
- id: string;
174
- focus: boolean;
175
- matchedLines: {
176
- offsetX: number;
177
- offsetY: number;
178
- width: number;
179
- height: number;
180
- }[];
181
- }[];
172
+ searchMatches: Readonly<{
173
+ focusedId: string | null;
174
+ matches: readonly import("../types").SearchMatch[];
175
+ }> | null;
176
+ activeLockedId: string | null;
177
+ lockedMultiSelections: {
178
+ [groupId: string]: true;
179
+ };
182
180
  };
183
181
  captureUpdate: "EVENTUALLY";
184
182
  };
@@ -213,7 +211,7 @@ export declare const actionToggleEditMenu: {
213
211
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
214
212
  isBindingEnabled: boolean;
215
213
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
216
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
214
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
217
215
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
218
216
  frameRendering: {
219
217
  enabled: boolean;
@@ -224,7 +222,7 @@ export declare const actionToggleEditMenu: {
224
222
  editingFrame: string | null;
225
223
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
226
224
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
227
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
225
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
228
226
  activeTool: {
229
227
  lastActiveTool: import("../types").ActiveTool | null;
230
228
  locked: boolean;
@@ -344,8 +342,8 @@ export declare const actionToggleEditMenu: {
344
342
  data: import("../charts").Spreadsheet;
345
343
  };
346
344
  pendingImageElementId: string | null;
347
- showHyperlinkPopup: false | "editor" | "info";
348
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
345
+ showHyperlinkPopup: false | "info" | "editor";
346
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
349
347
  snapLines: readonly import("../snapping").SnapLine[];
350
348
  originSnapOffset: {
351
349
  x: number;
@@ -356,16 +354,14 @@ export declare const actionToggleEditMenu: {
356
354
  followedBy: Set<import("../types").SocketId>;
357
355
  isCropping: boolean;
358
356
  croppingElementId: string | null;
359
- searchMatches: readonly {
360
- id: string;
361
- focus: boolean;
362
- matchedLines: {
363
- offsetX: number;
364
- offsetY: number;
365
- width: number;
366
- height: number;
367
- }[];
368
- }[];
357
+ searchMatches: Readonly<{
358
+ focusedId: string | null;
359
+ matches: readonly import("../types").SearchMatch[];
360
+ }> | null;
361
+ activeLockedId: string | null;
362
+ lockedMultiSelections: {
363
+ [groupId: string]: true;
364
+ };
369
365
  };
370
366
  captureUpdate: "EVENTUALLY";
371
367
  };
@@ -405,7 +401,7 @@ export declare const actionShortcuts: {
405
401
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
406
402
  isBindingEnabled: boolean;
407
403
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
408
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
404
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
409
405
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
410
406
  frameRendering: {
411
407
  enabled: boolean;
@@ -416,7 +412,7 @@ export declare const actionShortcuts: {
416
412
  editingFrame: string | null;
417
413
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
418
414
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
419
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
415
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
420
416
  activeTool: {
421
417
  lastActiveTool: import("../types").ActiveTool | null;
422
418
  locked: boolean;
@@ -454,7 +450,7 @@ export declare const actionShortcuts: {
454
450
  zoom: Readonly<{
455
451
  value: import("../types").NormalizedZoomValue;
456
452
  }>;
457
- openMenu: "shape" | "canvas" | null;
453
+ openMenu: "canvas" | "shape" | null;
458
454
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
459
455
  openSidebar: {
460
456
  name: string;
@@ -526,8 +522,8 @@ export declare const actionShortcuts: {
526
522
  data: import("../charts").Spreadsheet;
527
523
  };
528
524
  pendingImageElementId: string | null;
529
- showHyperlinkPopup: false | "editor" | "info";
530
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
525
+ showHyperlinkPopup: false | "info" | "editor";
526
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
531
527
  snapLines: readonly import("../snapping").SnapLine[];
532
528
  originSnapOffset: {
533
529
  x: number;
@@ -538,20 +534,18 @@ export declare const actionShortcuts: {
538
534
  followedBy: Set<import("../types").SocketId>;
539
535
  isCropping: boolean;
540
536
  croppingElementId: string | null;
541
- searchMatches: readonly {
542
- id: string;
543
- focus: boolean;
544
- matchedLines: {
545
- offsetX: number;
546
- offsetY: number;
547
- width: number;
548
- height: number;
549
- }[];
550
- }[];
537
+ searchMatches: Readonly<{
538
+ focusedId: string | null;
539
+ matches: readonly import("../types").SearchMatch[];
540
+ }> | null;
541
+ activeLockedId: string | null;
542
+ lockedMultiSelections: {
543
+ [groupId: string]: true;
544
+ };
551
545
  };
552
546
  captureUpdate: "EVENTUALLY";
553
547
  };
554
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
548
+ keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
555
549
  } & {
556
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
550
+ keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
557
551
  };
@@ -28,7 +28,7 @@ export declare const actionGoToCollaborator: {
28
28
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
29
29
  isBindingEnabled: boolean;
30
30
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
31
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
31
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
32
32
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
33
33
  frameRendering: {
34
34
  enabled: boolean;
@@ -39,7 +39,7 @@ export declare const actionGoToCollaborator: {
39
39
  editingFrame: string | null;
40
40
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
41
41
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
42
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
42
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
43
43
  activeTool: {
44
44
  lastActiveTool: import("../types").ActiveTool | null;
45
45
  locked: boolean;
@@ -77,7 +77,7 @@ export declare const actionGoToCollaborator: {
77
77
  zoom: Readonly<{
78
78
  value: import("../types").NormalizedZoomValue;
79
79
  }>;
80
- openMenu: "shape" | "canvas" | null;
80
+ openMenu: "canvas" | "shape" | null;
81
81
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
82
82
  openSidebar: {
83
83
  name: string;
@@ -160,8 +160,8 @@ export declare const actionGoToCollaborator: {
160
160
  data: import("../charts").Spreadsheet;
161
161
  };
162
162
  pendingImageElementId: string | null;
163
- showHyperlinkPopup: false | "editor" | "info";
164
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
163
+ showHyperlinkPopup: false | "info" | "editor";
164
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
165
165
  snapLines: readonly import("../snapping").SnapLine[];
166
166
  originSnapOffset: {
167
167
  x: number;
@@ -171,16 +171,14 @@ export declare const actionGoToCollaborator: {
171
171
  followedBy: Set<import("../types").SocketId>;
172
172
  isCropping: boolean;
173
173
  croppingElementId: string | null;
174
- searchMatches: readonly {
175
- id: string;
176
- focus: boolean;
177
- matchedLines: {
178
- offsetX: number;
179
- offsetY: number;
180
- width: number;
181
- height: number;
182
- }[];
183
- }[];
174
+ searchMatches: Readonly<{
175
+ focusedId: string | null;
176
+ matches: readonly import("../types").SearchMatch[];
177
+ }> | null;
178
+ activeLockedId: string | null;
179
+ lockedMultiSelections: {
180
+ [groupId: string]: true;
181
+ };
184
182
  };
185
183
  captureUpdate: "EVENTUALLY";
186
184
  } | {
@@ -208,7 +206,7 @@ export declare const actionGoToCollaborator: {
208
206
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
209
207
  isBindingEnabled: boolean;
210
208
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
211
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
209
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
212
210
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
213
211
  frameRendering: {
214
212
  enabled: boolean;
@@ -219,7 +217,7 @@ export declare const actionGoToCollaborator: {
219
217
  editingFrame: string | null;
220
218
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
221
219
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
222
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
220
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
223
221
  activeTool: {
224
222
  lastActiveTool: import("../types").ActiveTool | null;
225
223
  locked: boolean;
@@ -339,8 +337,8 @@ export declare const actionGoToCollaborator: {
339
337
  data: import("../charts").Spreadsheet;
340
338
  };
341
339
  pendingImageElementId: string | null;
342
- showHyperlinkPopup: false | "editor" | "info";
343
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
340
+ showHyperlinkPopup: false | "info" | "editor";
341
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
344
342
  snapLines: readonly import("../snapping").SnapLine[];
345
343
  originSnapOffset: {
346
344
  x: number;
@@ -350,16 +348,14 @@ export declare const actionGoToCollaborator: {
350
348
  followedBy: Set<import("../types").SocketId>;
351
349
  isCropping: boolean;
352
350
  croppingElementId: string | null;
353
- searchMatches: readonly {
354
- id: string;
355
- focus: boolean;
356
- matchedLines: {
357
- offsetX: number;
358
- offsetY: number;
359
- width: number;
360
- height: number;
361
- }[];
362
- }[];
351
+ searchMatches: Readonly<{
352
+ focusedId: string | null;
353
+ matches: readonly import("../types").SearchMatch[];
354
+ }> | null;
355
+ activeLockedId: string | null;
356
+ lockedMultiSelections: {
357
+ [groupId: string]: true;
358
+ };
363
359
  };
364
360
  captureUpdate: "EVENTUALLY";
365
361
  };