@excalidraw/excalidraw 0.18.0-a30e1b2 → 0.18.0-a8acc82

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 (175) hide show
  1. package/dist/dev/chunk-6MX365WZ.js +5666 -0
  2. package/dist/dev/chunk-6MX365WZ.js.map +7 -0
  3. package/dist/dev/chunk-CP5DND7P.js +7 -0
  4. package/dist/dev/chunk-CP5DND7P.js.map +7 -0
  5. package/dist/dev/{chunk-CARD3WJZ.js → chunk-QF5FRM6O.js} +7 -2
  6. package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
  7. package/dist/dev/data/{image-AYLHSOBV.js → image-GQCFJKGM.js} +3 -3
  8. package/dist/dev/index.css +187 -21
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +15073 -16288
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-E3O5XSXJ.js → en-SMAPCEOQ.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-A66AFZZU.js +7 -0
  16. package/dist/prod/chunk-I4UNSFV6.js +12 -0
  17. package/dist/prod/chunk-R2M7VUMD.js +4 -0
  18. package/dist/prod/data/image-JWK7QZ22.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +27 -20
  21. package/dist/prod/locales/{en-44IKVKYT.js → en-TYY6KWIJ.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 +38 -7
  25. package/dist/types/common/src/utils.d.ts +7 -5
  26. package/dist/types/element/src/Scene.d.ts +10 -6
  27. package/dist/types/element/src/align.d.ts +3 -2
  28. package/dist/types/element/src/binding.d.ts +11 -8
  29. package/dist/types/element/src/bounds.d.ts +12 -4
  30. package/dist/types/element/src/collision.d.ts +18 -12
  31. package/dist/types/element/src/cropElement.d.ts +1 -1
  32. package/dist/types/element/src/delta.d.ts +41 -9
  33. package/dist/types/element/src/distance.d.ts +2 -2
  34. package/dist/types/element/src/distribute.d.ts +2 -1
  35. package/dist/types/element/src/dragElements.d.ts +1 -1
  36. package/dist/types/element/src/flowchart.d.ts +1 -1
  37. package/dist/types/element/src/fractionalIndex.d.ts +8 -2
  38. package/dist/types/element/src/frame.d.ts +2 -2
  39. package/dist/types/element/src/groups.d.ts +1 -0
  40. package/dist/types/element/src/index.d.ts +42 -0
  41. package/dist/types/element/src/linearElementEditor.d.ts +15 -24
  42. package/dist/types/element/src/mutateElement.d.ts +1 -1
  43. package/dist/types/element/src/newElement.d.ts +3 -2
  44. package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
  45. package/dist/types/element/src/renderElement.d.ts +4 -1
  46. package/dist/types/element/src/resizeElements.d.ts +2 -1
  47. package/dist/types/element/src/selection.d.ts +0 -5
  48. package/dist/types/element/src/shape.d.ts +42 -0
  49. package/dist/types/element/src/sizeHelpers.d.ts +2 -1
  50. package/dist/types/element/src/store.d.ts +19 -9
  51. package/dist/types/element/src/textElement.d.ts +2 -2
  52. package/dist/types/element/src/transformHandles.d.ts +2 -2
  53. package/dist/types/element/src/typeChecks.d.ts +16 -1
  54. package/dist/types/element/src/types.d.ts +10 -4
  55. package/dist/types/element/src/utils.d.ts +16 -6
  56. package/dist/types/element/src/zindex.d.ts +3 -3
  57. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +24 -15
  58. package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
  59. package/dist/types/excalidraw/actions/actionBoundText.d.ts +16 -10
  60. package/dist/types/excalidraw/actions/actionCanvas.d.ts +134 -94
  61. package/dist/types/excalidraw/actions/actionClipboard.d.ts +53 -33
  62. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +8 -5
  63. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +27 -17
  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 +8 -5
  67. package/dist/types/excalidraw/actions/actionElementLock.d.ts +31 -26
  68. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +8 -5
  69. package/dist/types/excalidraw/actions/actionExport.d.ts +94 -67
  70. package/dist/types/excalidraw/actions/actionFinalize.d.ts +66 -19
  71. package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
  72. package/dist/types/excalidraw/actions/actionFrame.d.ts +81 -69
  73. package/dist/types/excalidraw/actions/actionGroup.d.ts +20 -14
  74. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +534 -7
  75. package/dist/types/excalidraw/actions/actionLink.d.ts +10 -7
  76. package/dist/types/excalidraw/actions/actionMenu.d.ts +26 -17
  77. package/dist/types/excalidraw/actions/actionNavigate.d.ts +16 -10
  78. package/dist/types/excalidraw/actions/actionProperties.d.ts +145 -83
  79. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +10 -7
  80. package/dist/types/excalidraw/actions/actionStyles.d.ts +12 -9
  81. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +10 -7
  82. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +10 -7
  83. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -7
  84. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +10 -7
  85. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +10 -7
  86. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -7
  87. package/dist/types/excalidraw/actions/actionZindex.d.ts +10 -10
  88. package/dist/types/excalidraw/actions/index.d.ts +1 -1
  89. package/dist/types/excalidraw/actions/types.d.ts +3 -2
  90. package/dist/types/excalidraw/appState.d.ts +20 -10
  91. package/dist/types/excalidraw/clipboard.d.ts +64 -1
  92. package/dist/types/excalidraw/components/Actions.d.ts +8 -5
  93. package/dist/types/excalidraw/components/App.d.ts +22 -21
  94. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
  95. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
  96. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +7 -2
  97. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
  98. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
  99. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
  100. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
  101. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
  102. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  103. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  104. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -28
  105. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
  106. package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
  107. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
  108. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
  109. package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
  110. package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
  111. package/dist/types/excalidraw/components/Range.d.ts +3 -3
  112. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
  113. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  114. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
  115. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +12 -2
  116. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
  117. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
  118. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
  119. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
  120. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
  121. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
  122. package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
  123. package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  124. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
  125. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
  126. package/dist/types/excalidraw/components/icons.d.ts +9 -0
  127. package/dist/types/excalidraw/components/shapes.d.ts +129 -1
  128. package/dist/types/excalidraw/data/blob.d.ts +3 -7
  129. package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
  130. package/dist/types/excalidraw/data/restore.d.ts +6 -1
  131. package/dist/types/excalidraw/data/transform.d.ts +1 -1
  132. package/dist/types/excalidraw/data/types.d.ts +4 -1
  133. package/dist/types/excalidraw/eraser/index.d.ts +0 -2
  134. package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
  135. package/dist/types/excalidraw/history.d.ts +21 -5
  136. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  137. package/dist/types/excalidraw/index.d.ts +11 -10
  138. package/dist/types/excalidraw/lasso/index.d.ts +1 -0
  139. package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
  140. package/dist/types/excalidraw/renderer/helpers.d.ts +4 -4
  141. package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
  142. package/dist/types/excalidraw/scene/Renderer.d.ts +1 -2
  143. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  144. package/dist/types/excalidraw/snapping.d.ts +2 -2
  145. package/dist/types/excalidraw/types.d.ts +24 -13
  146. package/dist/types/math/src/angle.d.ts +2 -0
  147. package/dist/types/math/src/constants.d.ts +3 -0
  148. package/dist/types/math/src/curve.d.ts +32 -0
  149. package/dist/types/math/src/index.d.ts +1 -0
  150. package/dist/types/math/src/point.d.ts +1 -1
  151. package/dist/types/math/src/rectangle.d.ts +2 -0
  152. package/dist/types/math/src/segment.d.ts +1 -0
  153. package/dist/types/math/src/vector.d.ts +4 -2
  154. package/dist/types/utils/src/bbox.d.ts +1 -1
  155. package/dist/types/utils/src/index.d.ts +1 -1
  156. package/dist/types/utils/src/withinBounds.d.ts +1 -1
  157. package/history.ts +108 -45
  158. package/package.json +13 -10
  159. package/dist/dev/chunk-CARD3WJZ.js.map +0 -7
  160. package/dist/dev/chunk-ETWEPOFC.js +0 -18701
  161. package/dist/dev/chunk-ETWEPOFC.js.map +0 -7
  162. package/dist/dev/chunk-RS23HYC4.js +0 -7
  163. package/dist/dev/chunk-RS23HYC4.js.map +0 -7
  164. package/dist/prod/chunk-6BSJPDKJ.js +0 -33
  165. package/dist/prod/chunk-FGHASORR.js +0 -12
  166. package/dist/prod/chunk-SBKTMZM7.js +0 -7
  167. package/dist/prod/data/image-VAYKYPXV.js +0 -1
  168. package/dist/types/element/src/Shape.d.ts +0 -17
  169. package/dist/types/element/src/ShapeCache.d.ts +0 -25
  170. package/dist/types/element/src/shapes.d.ts +0 -23
  171. package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  172. package/dist/types/excalidraw/visualdebug.d.ts +0 -41
  173. package/dist/types/utils/src/collision.d.ts +0 -8
  174. /package/dist/dev/data/{image-AYLHSOBV.js.map → image-GQCFJKGM.js.map} +0 -0
  175. /package/dist/dev/locales/{en-E3O5XSXJ.js.map → en-SMAPCEOQ.js.map} +0 -0
@@ -26,7 +26,7 @@ export declare const actionChangeProjectName: {
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,6 @@ export declare const actionChangeProjectName: {
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;
41
40
  activeTool: {
42
41
  lastActiveTool: import("../types").ActiveTool | null;
43
42
  locked: boolean;
@@ -75,7 +74,7 @@ export declare const actionChangeProjectName: {
75
74
  value: import("../types").NormalizedZoomValue;
76
75
  }>;
77
76
  openMenu: "canvas" | "shape" | null;
78
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
77
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
79
78
  openSidebar: {
80
79
  name: string;
81
80
  tab?: string | undefined;
@@ -156,9 +155,8 @@ export declare const actionChangeProjectName: {
156
155
  shown: true;
157
156
  data: import("../charts").Spreadsheet;
158
157
  };
159
- pendingImageElementId: string | null;
160
158
  showHyperlinkPopup: false | "editor" | "info";
161
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
159
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
162
160
  snapLines: readonly import("../snapping").SnapLine[];
163
161
  originSnapOffset: {
164
162
  x: number;
@@ -173,6 +171,11 @@ export declare const actionChangeProjectName: {
173
171
  focusedId: string | null;
174
172
  matches: readonly import("../types").SearchMatch[];
175
173
  }> | null;
174
+ activeLockedId: string | null;
175
+ lockedMultiSelections: {
176
+ [groupId: string]: true;
177
+ };
178
+ stylesPanelMode: "compact" | "full";
176
179
  };
177
180
  captureUpdate: "EVENTUALLY";
178
181
  };
@@ -208,7 +211,7 @@ export declare const actionChangeExportScale: {
208
211
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
209
212
  isBindingEnabled: boolean;
210
213
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
211
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
214
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
212
215
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
213
216
  frameRendering: {
214
217
  enabled: boolean;
@@ -219,7 +222,6 @@ export declare const actionChangeExportScale: {
219
222
  editingFrame: string | null;
220
223
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
221
224
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
222
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
223
225
  activeTool: {
224
226
  lastActiveTool: import("../types").ActiveTool | null;
225
227
  locked: boolean;
@@ -257,7 +259,7 @@ export declare const actionChangeExportScale: {
257
259
  value: import("../types").NormalizedZoomValue;
258
260
  }>;
259
261
  openMenu: "canvas" | "shape" | null;
260
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
262
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
261
263
  openSidebar: {
262
264
  name: string;
263
265
  tab?: string | undefined;
@@ -338,9 +340,8 @@ export declare const actionChangeExportScale: {
338
340
  shown: true;
339
341
  data: import("../charts").Spreadsheet;
340
342
  };
341
- pendingImageElementId: string | null;
342
343
  showHyperlinkPopup: false | "editor" | "info";
343
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
344
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
344
345
  snapLines: readonly import("../snapping").SnapLine[];
345
346
  originSnapOffset: {
346
347
  x: number;
@@ -355,6 +356,11 @@ export declare const actionChangeExportScale: {
355
356
  focusedId: string | null;
356
357
  matches: readonly import("../types").SearchMatch[];
357
358
  }> | null;
359
+ activeLockedId: string | null;
360
+ lockedMultiSelections: {
361
+ [groupId: string]: true;
362
+ };
363
+ stylesPanelMode: "compact" | "full";
358
364
  };
359
365
  captureUpdate: "EVENTUALLY";
360
366
  };
@@ -390,7 +396,7 @@ export declare const actionChangeExportBackground: {
390
396
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
391
397
  isBindingEnabled: boolean;
392
398
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
393
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
399
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
394
400
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
395
401
  frameRendering: {
396
402
  enabled: boolean;
@@ -401,7 +407,6 @@ export declare const actionChangeExportBackground: {
401
407
  editingFrame: string | null;
402
408
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
403
409
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
404
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
405
410
  activeTool: {
406
411
  lastActiveTool: import("../types").ActiveTool | null;
407
412
  locked: boolean;
@@ -439,7 +444,7 @@ export declare const actionChangeExportBackground: {
439
444
  value: import("../types").NormalizedZoomValue;
440
445
  }>;
441
446
  openMenu: "canvas" | "shape" | null;
442
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
447
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
443
448
  openSidebar: {
444
449
  name: string;
445
450
  tab?: string | undefined;
@@ -520,9 +525,8 @@ export declare const actionChangeExportBackground: {
520
525
  shown: true;
521
526
  data: import("../charts").Spreadsheet;
522
527
  };
523
- pendingImageElementId: string | null;
524
528
  showHyperlinkPopup: false | "editor" | "info";
525
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
529
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
526
530
  snapLines: readonly import("../snapping").SnapLine[];
527
531
  originSnapOffset: {
528
532
  x: number;
@@ -537,6 +541,11 @@ export declare const actionChangeExportBackground: {
537
541
  focusedId: string | null;
538
542
  matches: readonly import("../types").SearchMatch[];
539
543
  }> | null;
544
+ activeLockedId: string | null;
545
+ lockedMultiSelections: {
546
+ [groupId: string]: true;
547
+ };
548
+ stylesPanelMode: "compact" | "full";
540
549
  };
541
550
  captureUpdate: "EVENTUALLY";
542
551
  };
@@ -572,7 +581,7 @@ export declare const actionChangeExportEmbedScene: {
572
581
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
573
582
  isBindingEnabled: boolean;
574
583
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
575
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
584
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
576
585
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
577
586
  frameRendering: {
578
587
  enabled: boolean;
@@ -583,7 +592,6 @@ export declare const actionChangeExportEmbedScene: {
583
592
  editingFrame: string | null;
584
593
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
585
594
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
586
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
587
595
  activeTool: {
588
596
  lastActiveTool: import("../types").ActiveTool | null;
589
597
  locked: boolean;
@@ -621,7 +629,7 @@ export declare const actionChangeExportEmbedScene: {
621
629
  value: import("../types").NormalizedZoomValue;
622
630
  }>;
623
631
  openMenu: "canvas" | "shape" | null;
624
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
632
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
625
633
  openSidebar: {
626
634
  name: string;
627
635
  tab?: string | undefined;
@@ -702,9 +710,8 @@ export declare const actionChangeExportEmbedScene: {
702
710
  shown: true;
703
711
  data: import("../charts").Spreadsheet;
704
712
  };
705
- pendingImageElementId: string | null;
706
713
  showHyperlinkPopup: false | "editor" | "info";
707
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
714
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
708
715
  snapLines: readonly import("../snapping").SnapLine[];
709
716
  originSnapOffset: {
710
717
  x: number;
@@ -719,6 +726,11 @@ export declare const actionChangeExportEmbedScene: {
719
726
  focusedId: string | null;
720
727
  matches: readonly import("../types").SearchMatch[];
721
728
  }> | null;
729
+ activeLockedId: string | null;
730
+ lockedMultiSelections: {
731
+ [groupId: string]: true;
732
+ };
733
+ stylesPanelMode: "compact" | "full";
722
734
  };
723
735
  captureUpdate: "EVENTUALLY";
724
736
  };
@@ -759,7 +771,7 @@ export declare const actionSaveToActiveFile: {
759
771
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
760
772
  isBindingEnabled: boolean;
761
773
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
762
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
774
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
763
775
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
764
776
  frameRendering: {
765
777
  enabled: boolean;
@@ -770,7 +782,6 @@ export declare const actionSaveToActiveFile: {
770
782
  editingFrame: string | null;
771
783
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
772
784
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
773
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
774
785
  activeTool: {
775
786
  lastActiveTool: import("../types").ActiveTool | null;
776
787
  locked: boolean;
@@ -809,7 +820,7 @@ export declare const actionSaveToActiveFile: {
809
820
  value: import("../types").NormalizedZoomValue;
810
821
  }>;
811
822
  openMenu: "canvas" | "shape" | null;
812
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
823
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
813
824
  openSidebar: {
814
825
  name: string;
815
826
  tab?: string | undefined;
@@ -884,9 +895,8 @@ export declare const actionSaveToActiveFile: {
884
895
  shown: true;
885
896
  data: import("../charts").Spreadsheet;
886
897
  };
887
- pendingImageElementId: string | null;
888
898
  showHyperlinkPopup: false | "editor" | "info";
889
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
899
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
890
900
  snapLines: readonly import("../snapping").SnapLine[];
891
901
  originSnapOffset: {
892
902
  x: number;
@@ -901,14 +911,19 @@ export declare const actionSaveToActiveFile: {
901
911
  focusedId: string | null;
902
912
  matches: readonly import("../types").SearchMatch[];
903
913
  }> | null;
914
+ activeLockedId: string | null;
915
+ lockedMultiSelections: {
916
+ [groupId: string]: true;
917
+ };
918
+ stylesPanelMode: "compact" | "full";
904
919
  };
905
920
  } | {
906
921
  captureUpdate: "EVENTUALLY";
907
922
  appState?: undefined;
908
923
  }>;
909
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
924
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
910
925
  } & {
911
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
926
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
912
927
  };
913
928
  export declare const actionSaveFileToDisk: {
914
929
  name: "saveFileToDisk";
@@ -944,7 +959,7 @@ export declare const actionSaveFileToDisk: {
944
959
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
945
960
  isBindingEnabled: boolean;
946
961
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
947
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
962
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
948
963
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
949
964
  frameRendering: {
950
965
  enabled: boolean;
@@ -955,7 +970,6 @@ export declare const actionSaveFileToDisk: {
955
970
  editingFrame: string | null;
956
971
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
957
972
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
958
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
959
973
  activeTool: {
960
974
  lastActiveTool: import("../types").ActiveTool | null;
961
975
  locked: boolean;
@@ -994,7 +1008,7 @@ export declare const actionSaveFileToDisk: {
994
1008
  value: import("../types").NormalizedZoomValue;
995
1009
  }>;
996
1010
  openMenu: "canvas" | "shape" | null;
997
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1011
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
998
1012
  openSidebar: {
999
1013
  name: string;
1000
1014
  tab?: string | undefined;
@@ -1058,9 +1072,8 @@ export declare const actionSaveFileToDisk: {
1058
1072
  shown: true;
1059
1073
  data: import("../charts").Spreadsheet;
1060
1074
  };
1061
- pendingImageElementId: string | null;
1062
1075
  showHyperlinkPopup: false | "editor" | "info";
1063
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1076
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1064
1077
  snapLines: readonly import("../snapping").SnapLine[];
1065
1078
  originSnapOffset: {
1066
1079
  x: number;
@@ -1075,15 +1088,20 @@ export declare const actionSaveFileToDisk: {
1075
1088
  focusedId: string | null;
1076
1089
  matches: readonly import("../types").SearchMatch[];
1077
1090
  }> | null;
1091
+ activeLockedId: string | null;
1092
+ lockedMultiSelections: {
1093
+ [groupId: string]: true;
1094
+ };
1095
+ stylesPanelMode: "compact" | "full";
1078
1096
  };
1079
1097
  } | {
1080
1098
  captureUpdate: "EVENTUALLY";
1081
1099
  appState?: undefined;
1082
1100
  }>;
1083
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1101
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1084
1102
  PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1085
1103
  } & {
1086
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1104
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1087
1105
  };
1088
1106
  export declare const actionLoadScene: {
1089
1107
  name: "loadScene";
@@ -1126,20 +1144,18 @@ export declare const actionLoadScene: {
1126
1144
  }>;
1127
1145
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1128
1146
  theme: Theme;
1129
- pendingImageElementId: string | null;
1130
1147
  activeEmbeddable: {
1131
1148
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1132
1149
  state: "active" | "hover";
1133
1150
  } | null;
1134
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1135
1151
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1136
1152
  selectedGroupIds: {
1137
1153
  [groupId: string]: boolean;
1138
1154
  };
1139
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1155
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1140
1156
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1141
1157
  isBindingEnabled: boolean;
1142
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1158
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1143
1159
  isRotating: boolean;
1144
1160
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1145
1161
  collaborators: Map<import("../types").SocketId, Readonly<{
@@ -1171,22 +1187,7 @@ export declare const actionLoadScene: {
1171
1187
  focusedId: string | null;
1172
1188
  matches: readonly import("../types").SearchMatch[];
1173
1189
  }> | null;
1174
- activeTool: {
1175
- lastActiveTool: import("../types").ActiveTool | null;
1176
- locked: boolean;
1177
- fromSelection: boolean;
1178
- } & import("../types").ActiveTool;
1179
- gridModeEnabled: boolean;
1180
- objectsSnapModeEnabled: boolean;
1181
- shouldCacheIgnoreZoom: boolean;
1182
- exportScale: number;
1183
- selectedElementsAreBeingDragged: boolean;
1184
- gridSize: number;
1185
- gridStep: number;
1186
- currentHoveredFontFamily: number | null;
1187
- hoveredElementIds: Readonly<{
1188
- [id: string]: true;
1189
- }>;
1190
+ activeLockedId: string | null;
1190
1191
  contextMenu: {
1191
1192
  items: import("../components/ContextMenu").ContextMenuItems;
1192
1193
  top: number;
@@ -1199,11 +1200,17 @@ export declare const actionLoadScene: {
1199
1200
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1200
1201
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1201
1202
  editingFrame: string | null;
1203
+ activeTool: {
1204
+ lastActiveTool: import("../types").ActiveTool | null;
1205
+ locked: boolean;
1206
+ fromSelection: boolean;
1207
+ } & import("../types").ActiveTool;
1202
1208
  penMode: boolean;
1203
1209
  penDetected: boolean;
1204
1210
  exportBackground: boolean;
1205
1211
  exportEmbedScene: boolean;
1206
1212
  exportWithDarkMode: boolean;
1213
+ exportScale: number;
1207
1214
  currentItemStrokeColor: string;
1208
1215
  currentItemBackgroundColor: string;
1209
1216
  currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
@@ -1216,27 +1223,36 @@ export declare const actionLoadScene: {
1216
1223
  currentItemTextAlign: string;
1217
1224
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1218
1225
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1226
+ currentHoveredFontFamily: number | null;
1219
1227
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1220
1228
  currentItemArrowType: "round" | "sharp" | "elbow";
1221
1229
  cursorButton: "up" | "down";
1222
1230
  scrolledOutside: boolean;
1223
1231
  isResizing: boolean;
1224
1232
  openMenu: "canvas" | "shape" | null;
1225
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1233
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1226
1234
  openSidebar: {
1227
1235
  name: string;
1228
1236
  tab?: string | undefined;
1229
1237
  } | null;
1230
1238
  defaultSidebarDockedPreference: boolean;
1231
1239
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1240
+ hoveredElementIds: Readonly<{
1241
+ [id: string]: true;
1242
+ }>;
1232
1243
  previousSelectedElementIds: {
1233
1244
  [id: string]: true;
1234
1245
  };
1246
+ selectedElementsAreBeingDragged: boolean;
1247
+ shouldCacheIgnoreZoom: boolean;
1235
1248
  toast: {
1236
1249
  message: string;
1237
1250
  closable?: boolean | undefined;
1238
1251
  duration?: number | undefined;
1239
1252
  } | null;
1253
+ gridSize: number;
1254
+ gridStep: number;
1255
+ gridModeEnabled: boolean;
1240
1256
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
1241
1257
  stats: {
1242
1258
  open: boolean;
@@ -1255,8 +1271,13 @@ export declare const actionLoadScene: {
1255
1271
  x: number;
1256
1272
  y: number;
1257
1273
  } | null;
1274
+ objectsSnapModeEnabled: boolean;
1258
1275
  userToFollow: import("../types").UserToFollow | null;
1259
1276
  followedBy: Set<import("../types").SocketId>;
1277
+ lockedMultiSelections: {
1278
+ [groupId: string]: true;
1279
+ };
1280
+ stylesPanelMode: "compact" | "full";
1260
1281
  };
1261
1282
  files: import("../types").BinaryFiles;
1262
1283
  captureUpdate: "IMMEDIATELY";
@@ -1281,7 +1302,7 @@ export declare const actionLoadScene: {
1281
1302
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1282
1303
  isBindingEnabled: boolean;
1283
1304
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1284
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1305
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1285
1306
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1286
1307
  frameRendering: {
1287
1308
  enabled: boolean;
@@ -1292,7 +1313,6 @@ export declare const actionLoadScene: {
1292
1313
  editingFrame: string | null;
1293
1314
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1294
1315
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1295
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1296
1316
  activeTool: {
1297
1317
  lastActiveTool: import("../types").ActiveTool | null;
1298
1318
  locked: boolean;
@@ -1331,7 +1351,7 @@ export declare const actionLoadScene: {
1331
1351
  value: import("../types").NormalizedZoomValue;
1332
1352
  }>;
1333
1353
  openMenu: "canvas" | "shape" | null;
1334
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1354
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1335
1355
  openSidebar: {
1336
1356
  name: string;
1337
1357
  tab?: string | undefined;
@@ -1412,9 +1432,8 @@ export declare const actionLoadScene: {
1412
1432
  shown: true;
1413
1433
  data: import("../charts").Spreadsheet;
1414
1434
  };
1415
- pendingImageElementId: string | null;
1416
1435
  showHyperlinkPopup: false | "editor" | "info";
1417
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1436
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1418
1437
  snapLines: readonly import("../snapping").SnapLine[];
1419
1438
  originSnapOffset: {
1420
1439
  x: number;
@@ -1429,13 +1448,18 @@ export declare const actionLoadScene: {
1429
1448
  focusedId: string | null;
1430
1449
  matches: readonly import("../types").SearchMatch[];
1431
1450
  }> | null;
1451
+ activeLockedId: string | null;
1452
+ lockedMultiSelections: {
1453
+ [groupId: string]: true;
1454
+ };
1455
+ stylesPanelMode: "compact" | "full";
1432
1456
  };
1433
1457
  files: import("../types").BinaryFiles;
1434
1458
  captureUpdate: "EVENTUALLY";
1435
1459
  }>;
1436
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1460
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1437
1461
  } & {
1438
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1462
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1439
1463
  };
1440
1464
  export declare const actionExportWithDarkMode: {
1441
1465
  name: "exportWithDarkMode";
@@ -1465,7 +1489,7 @@ export declare const actionExportWithDarkMode: {
1465
1489
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1466
1490
  isBindingEnabled: boolean;
1467
1491
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1468
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1492
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1469
1493
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1470
1494
  frameRendering: {
1471
1495
  enabled: boolean;
@@ -1476,7 +1500,6 @@ export declare const actionExportWithDarkMode: {
1476
1500
  editingFrame: string | null;
1477
1501
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1478
1502
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1479
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1480
1503
  activeTool: {
1481
1504
  lastActiveTool: import("../types").ActiveTool | null;
1482
1505
  locked: boolean;
@@ -1514,7 +1537,7 @@ export declare const actionExportWithDarkMode: {
1514
1537
  value: import("../types").NormalizedZoomValue;
1515
1538
  }>;
1516
1539
  openMenu: "canvas" | "shape" | null;
1517
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1540
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1518
1541
  openSidebar: {
1519
1542
  name: string;
1520
1543
  tab?: string | undefined;
@@ -1595,9 +1618,8 @@ export declare const actionExportWithDarkMode: {
1595
1618
  shown: true;
1596
1619
  data: import("../charts").Spreadsheet;
1597
1620
  };
1598
- pendingImageElementId: string | null;
1599
1621
  showHyperlinkPopup: false | "editor" | "info";
1600
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1622
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1601
1623
  snapLines: readonly import("../snapping").SnapLine[];
1602
1624
  originSnapOffset: {
1603
1625
  x: number;
@@ -1612,6 +1634,11 @@ export declare const actionExportWithDarkMode: {
1612
1634
  focusedId: string | null;
1613
1635
  matches: readonly import("../types").SearchMatch[];
1614
1636
  }> | null;
1637
+ activeLockedId: string | null;
1638
+ lockedMultiSelections: {
1639
+ [groupId: string]: true;
1640
+ };
1641
+ stylesPanelMode: "compact" | "full";
1615
1642
  };
1616
1643
  captureUpdate: "EVENTUALLY";
1617
1644
  };