@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
@@ -28,7 +28,7 @@ export declare const actionAddToLibrary: {
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,6 @@ export declare const actionAddToLibrary: {
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;
43
42
  activeTool: {
44
43
  lastActiveTool: import("../types").ActiveTool | null;
45
44
  locked: boolean;
@@ -78,7 +77,7 @@ export declare const actionAddToLibrary: {
78
77
  value: import("../types").NormalizedZoomValue;
79
78
  }>;
80
79
  openMenu: "canvas" | "shape" | null;
81
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
80
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
82
81
  openSidebar: {
83
82
  name: string;
84
83
  tab?: string | undefined;
@@ -154,9 +153,8 @@ export declare const actionAddToLibrary: {
154
153
  shown: true;
155
154
  data: import("../charts").Spreadsheet;
156
155
  };
157
- pendingImageElementId: string | null;
158
156
  showHyperlinkPopup: false | "editor" | "info";
159
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
157
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
160
158
  snapLines: readonly import("../snapping").SnapLine[];
161
159
  originSnapOffset: {
162
160
  x: number;
@@ -171,6 +169,11 @@ export declare const actionAddToLibrary: {
171
169
  focusedId: string | null;
172
170
  matches: readonly import("../types").SearchMatch[];
173
171
  }> | null;
172
+ activeLockedId: string | null;
173
+ lockedMultiSelections: {
174
+ [groupId: string]: true;
175
+ };
176
+ stylesPanelMode: "compact" | "full";
174
177
  };
175
178
  } | {
176
179
  captureUpdate: "EVENTUALLY";
@@ -193,7 +196,7 @@ export declare const actionAddToLibrary: {
193
196
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
194
197
  isBindingEnabled: boolean;
195
198
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
196
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
199
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
197
200
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
198
201
  frameRendering: {
199
202
  enabled: boolean;
@@ -204,7 +207,6 @@ export declare const actionAddToLibrary: {
204
207
  editingFrame: string | null;
205
208
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
206
209
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
207
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
208
210
  activeTool: {
209
211
  lastActiveTool: import("../types").ActiveTool | null;
210
212
  locked: boolean;
@@ -243,7 +245,7 @@ export declare const actionAddToLibrary: {
243
245
  value: import("../types").NormalizedZoomValue;
244
246
  }>;
245
247
  openMenu: "canvas" | "shape" | null;
246
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
248
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
247
249
  openSidebar: {
248
250
  name: string;
249
251
  tab?: string | undefined;
@@ -324,9 +326,8 @@ export declare const actionAddToLibrary: {
324
326
  shown: true;
325
327
  data: import("../charts").Spreadsheet;
326
328
  };
327
- pendingImageElementId: string | null;
328
329
  showHyperlinkPopup: false | "editor" | "info";
329
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
330
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
330
331
  snapLines: readonly import("../snapping").SnapLine[];
331
332
  originSnapOffset: {
332
333
  x: number;
@@ -341,6 +342,11 @@ export declare const actionAddToLibrary: {
341
342
  focusedId: string | null;
342
343
  matches: readonly import("../types").SearchMatch[];
343
344
  }> | null;
345
+ activeLockedId: string | null;
346
+ lockedMultiSelections: {
347
+ [groupId: string]: true;
348
+ };
349
+ stylesPanelMode: "compact" | "full";
344
350
  };
345
351
  }> | {
346
352
  captureUpdate: "EVENTUALLY";
@@ -363,7 +369,7 @@ export declare const actionAddToLibrary: {
363
369
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
364
370
  isBindingEnabled: boolean;
365
371
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
366
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
372
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
367
373
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
368
374
  frameRendering: {
369
375
  enabled: boolean;
@@ -374,7 +380,6 @@ export declare const actionAddToLibrary: {
374
380
  editingFrame: string | null;
375
381
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
376
382
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
377
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
378
383
  activeTool: {
379
384
  lastActiveTool: import("../types").ActiveTool | null;
380
385
  locked: boolean;
@@ -413,7 +418,7 @@ export declare const actionAddToLibrary: {
413
418
  value: import("../types").NormalizedZoomValue;
414
419
  }>;
415
420
  openMenu: "canvas" | "shape" | null;
416
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
421
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
417
422
  openSidebar: {
418
423
  name: string;
419
424
  tab?: string | undefined;
@@ -494,9 +499,8 @@ export declare const actionAddToLibrary: {
494
499
  shown: true;
495
500
  data: import("../charts").Spreadsheet;
496
501
  };
497
- pendingImageElementId: string | null;
498
502
  showHyperlinkPopup: false | "editor" | "info";
499
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
503
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
500
504
  snapLines: readonly import("../snapping").SnapLine[];
501
505
  originSnapOffset: {
502
506
  x: number;
@@ -511,6 +515,11 @@ export declare const actionAddToLibrary: {
511
515
  focusedId: string | null;
512
516
  matches: readonly import("../types").SearchMatch[];
513
517
  }> | null;
518
+ activeLockedId: string | null;
519
+ lockedMultiSelections: {
520
+ [groupId: string]: true;
521
+ };
522
+ stylesPanelMode: "compact" | "full";
514
523
  };
515
524
  };
516
525
  label: string;
@@ -15,10 +15,10 @@ export declare const actionAlignTop: {
15
15
  elements: ExcalidrawElement[];
16
16
  captureUpdate: "IMMEDIATELY";
17
17
  };
18
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
18
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
19
19
  PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
20
20
  } & {
21
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
21
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
22
22
  };
23
23
  export declare const actionAlignBottom: {
24
24
  name: "alignBottom";
@@ -33,10 +33,10 @@ export declare const actionAlignBottom: {
33
33
  elements: ExcalidrawElement[];
34
34
  captureUpdate: "IMMEDIATELY";
35
35
  };
36
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
36
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
37
37
  PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
38
38
  } & {
39
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
39
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
40
40
  };
41
41
  export declare const actionAlignLeft: {
42
42
  name: "alignLeft";
@@ -51,10 +51,10 @@ export declare const actionAlignLeft: {
51
51
  elements: ExcalidrawElement[];
52
52
  captureUpdate: "IMMEDIATELY";
53
53
  };
54
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
54
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
55
55
  PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
56
56
  } & {
57
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
57
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
58
58
  };
59
59
  export declare const actionAlignRight: {
60
60
  name: "alignRight";
@@ -69,10 +69,10 @@ export declare const actionAlignRight: {
69
69
  elements: ExcalidrawElement[];
70
70
  captureUpdate: "IMMEDIATELY";
71
71
  };
72
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
72
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
73
73
  PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
74
74
  } & {
75
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
75
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
76
76
  };
77
77
  export declare const actionAlignVerticallyCentered: {
78
78
  name: "alignVerticallyCentered";
@@ -48,7 +48,7 @@ export declare const actionBindText: {
48
48
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
49
49
  isBindingEnabled: boolean;
50
50
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
51
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
51
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
52
52
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
53
53
  frameRendering: {
54
54
  enabled: boolean;
@@ -59,7 +59,6 @@ export declare const actionBindText: {
59
59
  editingFrame: string | null;
60
60
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
61
61
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
62
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
63
62
  activeTool: {
64
63
  lastActiveTool: import("../types").ActiveTool | null;
65
64
  locked: boolean;
@@ -98,7 +97,7 @@ export declare const actionBindText: {
98
97
  value: import("../types").NormalizedZoomValue;
99
98
  }>;
100
99
  openMenu: "canvas" | "shape" | null;
101
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
100
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
102
101
  openSidebar: {
103
102
  name: string;
104
103
  tab?: string | undefined;
@@ -176,9 +175,8 @@ export declare const actionBindText: {
176
175
  shown: true;
177
176
  data: import("../charts").Spreadsheet;
178
177
  };
179
- pendingImageElementId: string | null;
180
178
  showHyperlinkPopup: false | "editor" | "info";
181
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
179
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
182
180
  snapLines: readonly import("../snapping").SnapLine[];
183
181
  originSnapOffset: {
184
182
  x: number;
@@ -193,6 +191,11 @@ export declare const actionBindText: {
193
191
  focusedId: string | null;
194
192
  matches: readonly import("../types").SearchMatch[];
195
193
  }> | null;
194
+ activeLockedId: string | null;
195
+ lockedMultiSelections: {
196
+ [groupId: string]: true;
197
+ };
198
+ stylesPanelMode: "compact" | "full";
196
199
  };
197
200
  captureUpdate: "IMMEDIATELY";
198
201
  };
@@ -230,7 +233,7 @@ export declare const actionWrapTextInContainer: {
230
233
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
231
234
  isBindingEnabled: boolean;
232
235
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
233
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
236
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
234
237
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
235
238
  frameRendering: {
236
239
  enabled: boolean;
@@ -241,7 +244,6 @@ export declare const actionWrapTextInContainer: {
241
244
  editingFrame: string | null;
242
245
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
243
246
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
244
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
245
247
  activeTool: {
246
248
  lastActiveTool: import("../types").ActiveTool | null;
247
249
  locked: boolean;
@@ -280,7 +282,7 @@ export declare const actionWrapTextInContainer: {
280
282
  value: import("../types").NormalizedZoomValue;
281
283
  }>;
282
284
  openMenu: "canvas" | "shape" | null;
283
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
285
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
284
286
  openSidebar: {
285
287
  name: string;
286
288
  tab?: string | undefined;
@@ -358,9 +360,8 @@ export declare const actionWrapTextInContainer: {
358
360
  shown: true;
359
361
  data: import("../charts").Spreadsheet;
360
362
  };
361
- pendingImageElementId: string | null;
362
363
  showHyperlinkPopup: false | "editor" | "info";
363
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
364
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
364
365
  snapLines: readonly import("../snapping").SnapLine[];
365
366
  originSnapOffset: {
366
367
  x: number;
@@ -375,6 +376,11 @@ export declare const actionWrapTextInContainer: {
375
376
  focusedId: string | null;
376
377
  matches: readonly import("../types").SearchMatch[];
377
378
  }> | null;
379
+ activeLockedId: string | null;
380
+ lockedMultiSelections: {
381
+ [groupId: string]: true;
382
+ };
383
+ stylesPanelMode: "compact" | "full";
378
384
  };
379
385
  captureUpdate: "IMMEDIATELY";
380
386
  };