@excalidraw/excalidraw 0.18.0-a5d6939 → 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 (184) 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-X3RYHLJU.js → chunk-QF5FRM6O.js} +15 -5
  6. package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
  7. package/dist/dev/data/{image-JN3Y4CVN.js → image-GQCFJKGM.js} +3 -3
  8. package/dist/dev/index.css +230 -23
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +10262 -10068
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-CKWC2GMK.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 +25 -17
  21. package/dist/prod/locales/{en-SBO6ZHT2.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 +40 -7
  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 +18 -4
  30. package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +16 -15
  31. package/dist/types/element/src/align.d.ts +4 -3
  32. package/dist/types/element/src/binding.d.ts +25 -14
  33. package/dist/types/element/src/bounds.d.ts +14 -6
  34. package/dist/types/element/src/collision.d.ts +18 -12
  35. package/dist/types/element/src/cropElement.d.ts +1 -1
  36. package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +77 -40
  37. package/dist/types/element/src/distance.d.ts +2 -2
  38. package/dist/types/element/src/distribute.d.ts +2 -1
  39. package/dist/types/element/src/dragElements.d.ts +3 -2
  40. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  41. package/dist/types/element/src/flowchart.d.ts +3 -2
  42. package/dist/types/element/src/fractionalIndex.d.ts +9 -3
  43. package/dist/types/element/src/frame.d.ts +4 -3
  44. package/dist/types/element/src/groups.d.ts +1 -0
  45. package/dist/types/element/src/index.d.ts +44 -2
  46. package/dist/types/element/src/linearElementEditor.d.ts +23 -36
  47. package/dist/types/element/src/mutateElement.d.ts +11 -3
  48. package/dist/types/element/src/newElement.d.ts +4 -3
  49. package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
  50. package/dist/types/element/src/renderElement.d.ts +4 -1
  51. package/dist/types/element/src/resizeElements.d.ts +5 -4
  52. package/dist/types/element/src/selection.d.ts +0 -5
  53. package/dist/types/element/src/shape.d.ts +42 -0
  54. package/dist/types/element/src/sizeHelpers.d.ts +2 -2
  55. package/dist/types/element/src/store.d.ts +237 -0
  56. package/dist/types/element/src/textElement.d.ts +4 -3
  57. package/dist/types/element/src/typeChecks.d.ts +19 -1
  58. package/dist/types/element/src/types.d.ts +15 -2
  59. package/dist/types/element/src/utils.d.ts +16 -6
  60. package/dist/types/element/src/zindex.d.ts +1 -1
  61. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +45 -54
  62. package/dist/types/excalidraw/actions/actionBoundText.d.ts +30 -36
  63. package/dist/types/excalidraw/actions/actionCanvas.d.ts +204 -242
  64. package/dist/types/excalidraw/actions/actionClipboard.d.ts +90 -106
  65. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +15 -18
  66. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +45 -53
  67. package/dist/types/excalidraw/actions/actionElementLink.d.ts +14 -17
  68. package/dist/types/excalidraw/actions/actionElementLock.d.ts +45 -52
  69. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +15 -18
  70. package/dist/types/excalidraw/actions/actionExport.d.ts +145 -172
  71. package/dist/types/excalidraw/actions/actionFinalize.d.ts +77 -42
  72. package/dist/types/excalidraw/actions/actionFrame.d.ts +107 -119
  73. package/dist/types/excalidraw/actions/actionGroup.d.ts +30 -36
  74. package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
  75. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +541 -20
  76. package/dist/types/excalidraw/actions/actionLink.d.ts +14 -17
  77. package/dist/types/excalidraw/actions/actionMenu.d.ts +42 -51
  78. package/dist/types/excalidraw/actions/actionNavigate.d.ts +29 -35
  79. package/dist/types/excalidraw/actions/actionProperties.d.ts +246 -274
  80. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +15 -18
  81. package/dist/types/excalidraw/actions/actionStyles.d.ts +15 -18
  82. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +15 -18
  83. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +15 -18
  84. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +14 -190
  85. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  86. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +15 -18
  87. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +15 -18
  88. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +15 -18
  89. package/dist/types/excalidraw/actions/index.d.ts +1 -1
  90. package/dist/types/excalidraw/actions/types.d.ts +4 -3
  91. package/dist/types/excalidraw/appState.d.ts +20 -10
  92. package/dist/types/excalidraw/clipboard.d.ts +64 -1
  93. package/dist/types/excalidraw/components/Actions.d.ts +8 -5
  94. package/dist/types/excalidraw/components/App.d.ts +30 -30
  95. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
  96. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
  97. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +7 -2
  98. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
  99. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
  100. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
  101. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
  102. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
  103. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  104. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  105. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  106. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
  107. package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
  108. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
  109. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
  110. package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
  111. package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
  112. package/dist/types/excalidraw/components/Range.d.ts +3 -3
  113. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
  114. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  115. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
  116. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
  117. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +12 -2
  118. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
  119. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
  120. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
  121. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
  122. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
  123. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
  124. package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -11
  125. package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  126. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -0
  127. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
  128. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
  129. package/dist/types/excalidraw/components/icons.d.ts +9 -0
  130. package/dist/types/excalidraw/components/shapes.d.ts +129 -1
  131. package/dist/types/excalidraw/data/blob.d.ts +3 -7
  132. package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
  133. package/dist/types/excalidraw/data/restore.d.ts +6 -1
  134. package/dist/types/excalidraw/data/transform.d.ts +1 -1
  135. package/dist/types/excalidraw/data/types.d.ts +4 -1
  136. package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
  137. package/dist/types/excalidraw/eraser/index.d.ts +0 -2
  138. package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
  139. package/dist/types/excalidraw/history.d.ts +30 -22
  140. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  141. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  142. package/dist/types/excalidraw/index.d.ts +11 -10
  143. package/dist/types/excalidraw/lasso/index.d.ts +1 -0
  144. package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
  145. package/dist/types/excalidraw/renderer/helpers.d.ts +7 -2
  146. package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
  147. package/dist/types/excalidraw/scene/Renderer.d.ts +1 -2
  148. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  149. package/dist/types/excalidraw/scene/scrollbars.d.ts +2 -3
  150. package/dist/types/excalidraw/scene/types.d.ts +2 -0
  151. package/dist/types/excalidraw/snapping.d.ts +2 -2
  152. package/dist/types/excalidraw/types.d.ts +36 -15
  153. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
  154. package/dist/types/math/src/angle.d.ts +2 -0
  155. package/dist/types/math/src/constants.d.ts +3 -0
  156. package/dist/types/math/src/curve.d.ts +34 -0
  157. package/dist/types/math/src/index.d.ts +1 -0
  158. package/dist/types/math/src/point.d.ts +1 -1
  159. package/dist/types/math/src/rectangle.d.ts +2 -0
  160. package/dist/types/math/src/segment.d.ts +1 -0
  161. package/dist/types/math/src/vector.d.ts +8 -2
  162. package/dist/types/utils/src/bbox.d.ts +1 -1
  163. package/dist/types/utils/src/index.d.ts +1 -1
  164. package/dist/types/utils/src/withinBounds.d.ts +1 -1
  165. package/history.ts +146 -109
  166. package/package.json +13 -10
  167. package/dist/dev/chunk-GBJ7S76A.js +0 -18599
  168. package/dist/dev/chunk-GBJ7S76A.js.map +0 -7
  169. package/dist/dev/chunk-GIMGG4AT.js +0 -7
  170. package/dist/dev/chunk-GIMGG4AT.js.map +0 -7
  171. package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
  172. package/dist/prod/chunk-GKI4RZ6C.js +0 -7
  173. package/dist/prod/chunk-IUH5AXLB.js +0 -12
  174. package/dist/prod/chunk-TVF64BAY.js +0 -33
  175. package/dist/prod/data/image-CZ2OEVDB.js +0 -1
  176. package/dist/types/element/src/Shape.d.ts +0 -17
  177. package/dist/types/element/src/ShapeCache.d.ts +0 -25
  178. package/dist/types/element/src/shapes.d.ts +0 -23
  179. package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  180. package/dist/types/excalidraw/store.d.ts +0 -129
  181. package/dist/types/excalidraw/visualdebug.d.ts +0 -41
  182. package/dist/types/utils/src/collision.d.ts +0 -8
  183. /package/dist/dev/data/{image-JN3Y4CVN.js.map → image-GQCFJKGM.js.map} +0 -0
  184. /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-SMAPCEOQ.js.map} +0 -0
@@ -20,7 +20,7 @@ export declare const actionAddToLibrary: {
20
20
  errorMessage: import("react").ReactNode;
21
21
  activeEmbeddable: {
22
22
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
23
- state: "hover" | "active";
23
+ state: "active" | "hover";
24
24
  } | null;
25
25
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
26
26
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -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;
@@ -77,8 +76,8 @@ export declare const actionAddToLibrary: {
77
76
  zoom: Readonly<{
78
77
  value: import("../types").NormalizedZoomValue;
79
78
  }>;
80
- openMenu: "shape" | "canvas" | null;
81
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
79
+ openMenu: "canvas" | "shape" | null;
80
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
82
81
  openSidebar: {
83
82
  name: string;
84
83
  tab?: string | undefined;
@@ -87,7 +86,7 @@ export declare const actionAddToLibrary: {
87
86
  name: "imageExport" | "help" | "jsonExport";
88
87
  } | {
89
88
  name: "ttd";
90
- tab: "text-to-diagram" | "mermaid";
89
+ tab: "mermaid" | "text-to-diagram";
91
90
  } | {
92
91
  name: "commandPalette";
93
92
  } | {
@@ -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;
@@ -167,16 +165,15 @@ export declare const actionAddToLibrary: {
167
165
  followedBy: Set<import("../types").SocketId>;
168
166
  isCropping: boolean;
169
167
  croppingElementId: string | null;
170
- searchMatches: readonly {
171
- id: string;
172
- focus: boolean;
173
- matchedLines: {
174
- offsetX: number;
175
- offsetY: number;
176
- width: number;
177
- height: number;
178
- }[];
179
- }[];
168
+ searchMatches: Readonly<{
169
+ focusedId: string | null;
170
+ matches: readonly import("../types").SearchMatch[];
171
+ }> | null;
172
+ activeLockedId: string | null;
173
+ lockedMultiSelections: {
174
+ [groupId: string]: true;
175
+ };
176
+ stylesPanelMode: "compact" | "full";
180
177
  };
181
178
  } | {
182
179
  captureUpdate: "EVENTUALLY";
@@ -191,7 +188,7 @@ export declare const actionAddToLibrary: {
191
188
  isLoading: boolean;
192
189
  activeEmbeddable: {
193
190
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
194
- state: "hover" | "active";
191
+ state: "active" | "hover";
195
192
  } | null;
196
193
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
197
194
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -199,7 +196,7 @@ export declare const actionAddToLibrary: {
199
196
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
200
197
  isBindingEnabled: boolean;
201
198
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
202
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
199
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
203
200
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
204
201
  frameRendering: {
205
202
  enabled: boolean;
@@ -210,7 +207,6 @@ export declare const actionAddToLibrary: {
210
207
  editingFrame: string | null;
211
208
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
212
209
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
213
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
214
210
  activeTool: {
215
211
  lastActiveTool: import("../types").ActiveTool | null;
216
212
  locked: boolean;
@@ -248,8 +244,8 @@ export declare const actionAddToLibrary: {
248
244
  zoom: Readonly<{
249
245
  value: import("../types").NormalizedZoomValue;
250
246
  }>;
251
- openMenu: "shape" | "canvas" | null;
252
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
247
+ openMenu: "canvas" | "shape" | null;
248
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
253
249
  openSidebar: {
254
250
  name: string;
255
251
  tab?: string | undefined;
@@ -258,7 +254,7 @@ export declare const actionAddToLibrary: {
258
254
  name: "imageExport" | "help" | "jsonExport";
259
255
  } | {
260
256
  name: "ttd";
261
- tab: "text-to-diagram" | "mermaid";
257
+ tab: "mermaid" | "text-to-diagram";
262
258
  } | {
263
259
  name: "commandPalette";
264
260
  } | {
@@ -330,9 +326,8 @@ export declare const actionAddToLibrary: {
330
326
  shown: true;
331
327
  data: import("../charts").Spreadsheet;
332
328
  };
333
- pendingImageElementId: string | null;
334
329
  showHyperlinkPopup: false | "editor" | "info";
335
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
330
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
336
331
  snapLines: readonly import("../snapping").SnapLine[];
337
332
  originSnapOffset: {
338
333
  x: number;
@@ -343,16 +338,15 @@ export declare const actionAddToLibrary: {
343
338
  followedBy: Set<import("../types").SocketId>;
344
339
  isCropping: boolean;
345
340
  croppingElementId: string | null;
346
- searchMatches: readonly {
347
- id: string;
348
- focus: boolean;
349
- matchedLines: {
350
- offsetX: number;
351
- offsetY: number;
352
- width: number;
353
- height: number;
354
- }[];
355
- }[];
341
+ searchMatches: Readonly<{
342
+ focusedId: string | null;
343
+ matches: readonly import("../types").SearchMatch[];
344
+ }> | null;
345
+ activeLockedId: string | null;
346
+ lockedMultiSelections: {
347
+ [groupId: string]: true;
348
+ };
349
+ stylesPanelMode: "compact" | "full";
356
350
  };
357
351
  }> | {
358
352
  captureUpdate: "EVENTUALLY";
@@ -367,7 +361,7 @@ export declare const actionAddToLibrary: {
367
361
  isLoading: boolean;
368
362
  activeEmbeddable: {
369
363
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
370
- state: "hover" | "active";
364
+ state: "active" | "hover";
371
365
  } | null;
372
366
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
373
367
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -375,7 +369,7 @@ export declare const actionAddToLibrary: {
375
369
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
376
370
  isBindingEnabled: boolean;
377
371
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
378
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
372
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
379
373
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
380
374
  frameRendering: {
381
375
  enabled: boolean;
@@ -386,7 +380,6 @@ export declare const actionAddToLibrary: {
386
380
  editingFrame: string | null;
387
381
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
388
382
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
389
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
390
383
  activeTool: {
391
384
  lastActiveTool: import("../types").ActiveTool | null;
392
385
  locked: boolean;
@@ -424,8 +417,8 @@ export declare const actionAddToLibrary: {
424
417
  zoom: Readonly<{
425
418
  value: import("../types").NormalizedZoomValue;
426
419
  }>;
427
- openMenu: "shape" | "canvas" | null;
428
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
420
+ openMenu: "canvas" | "shape" | null;
421
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
429
422
  openSidebar: {
430
423
  name: string;
431
424
  tab?: string | undefined;
@@ -434,7 +427,7 @@ export declare const actionAddToLibrary: {
434
427
  name: "imageExport" | "help" | "jsonExport";
435
428
  } | {
436
429
  name: "ttd";
437
- tab: "text-to-diagram" | "mermaid";
430
+ tab: "mermaid" | "text-to-diagram";
438
431
  } | {
439
432
  name: "commandPalette";
440
433
  } | {
@@ -506,9 +499,8 @@ export declare const actionAddToLibrary: {
506
499
  shown: true;
507
500
  data: import("../charts").Spreadsheet;
508
501
  };
509
- pendingImageElementId: string | null;
510
502
  showHyperlinkPopup: false | "editor" | "info";
511
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
503
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
512
504
  snapLines: readonly import("../snapping").SnapLine[];
513
505
  originSnapOffset: {
514
506
  x: number;
@@ -519,16 +511,15 @@ export declare const actionAddToLibrary: {
519
511
  followedBy: Set<import("../types").SocketId>;
520
512
  isCropping: boolean;
521
513
  croppingElementId: string | null;
522
- searchMatches: readonly {
523
- id: string;
524
- focus: boolean;
525
- matchedLines: {
526
- offsetX: number;
527
- offsetY: number;
528
- width: number;
529
- height: number;
530
- }[];
531
- }[];
514
+ searchMatches: Readonly<{
515
+ focusedId: string | null;
516
+ matches: readonly import("../types").SearchMatch[];
517
+ }> | null;
518
+ activeLockedId: string | null;
519
+ lockedMultiSelections: {
520
+ [groupId: string]: true;
521
+ };
522
+ stylesPanelMode: "compact" | "full";
532
523
  };
533
524
  };
534
525
  label: string;
@@ -40,7 +40,7 @@ export declare const actionBindText: {
40
40
  errorMessage: import("react").ReactNode;
41
41
  activeEmbeddable: {
42
42
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
43
- state: "hover" | "active";
43
+ state: "active" | "hover";
44
44
  } | null;
45
45
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
46
46
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -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;
@@ -97,8 +96,8 @@ export declare const actionBindText: {
97
96
  zoom: Readonly<{
98
97
  value: import("../types").NormalizedZoomValue;
99
98
  }>;
100
- openMenu: "shape" | "canvas" | null;
101
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
99
+ openMenu: "canvas" | "shape" | null;
100
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
102
101
  openSidebar: {
103
102
  name: string;
104
103
  tab?: string | undefined;
@@ -107,7 +106,7 @@ export declare const actionBindText: {
107
106
  name: "imageExport" | "help" | "jsonExport";
108
107
  } | {
109
108
  name: "ttd";
110
- tab: "text-to-diagram" | "mermaid";
109
+ tab: "mermaid" | "text-to-diagram";
111
110
  } | {
112
111
  name: "commandPalette";
113
112
  } | {
@@ -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;
@@ -189,16 +187,15 @@ export declare const actionBindText: {
189
187
  followedBy: Set<import("../types").SocketId>;
190
188
  isCropping: boolean;
191
189
  croppingElementId: string | null;
192
- searchMatches: readonly {
193
- id: string;
194
- focus: boolean;
195
- matchedLines: {
196
- offsetX: number;
197
- offsetY: number;
198
- width: number;
199
- height: number;
200
- }[];
201
- }[];
190
+ searchMatches: Readonly<{
191
+ focusedId: string | null;
192
+ matches: readonly import("../types").SearchMatch[];
193
+ }> | null;
194
+ activeLockedId: string | null;
195
+ lockedMultiSelections: {
196
+ [groupId: string]: true;
197
+ };
198
+ stylesPanelMode: "compact" | "full";
202
199
  };
203
200
  captureUpdate: "IMMEDIATELY";
204
201
  };
@@ -228,7 +225,7 @@ export declare const actionWrapTextInContainer: {
228
225
  errorMessage: import("react").ReactNode;
229
226
  activeEmbeddable: {
230
227
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
231
- state: "hover" | "active";
228
+ state: "active" | "hover";
232
229
  } | null;
233
230
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
234
231
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -236,7 +233,7 @@ export declare const actionWrapTextInContainer: {
236
233
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
237
234
  isBindingEnabled: boolean;
238
235
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
239
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
236
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
240
237
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
241
238
  frameRendering: {
242
239
  enabled: boolean;
@@ -247,7 +244,6 @@ export declare const actionWrapTextInContainer: {
247
244
  editingFrame: string | null;
248
245
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
249
246
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
250
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
251
247
  activeTool: {
252
248
  lastActiveTool: import("../types").ActiveTool | null;
253
249
  locked: boolean;
@@ -285,8 +281,8 @@ export declare const actionWrapTextInContainer: {
285
281
  zoom: Readonly<{
286
282
  value: import("../types").NormalizedZoomValue;
287
283
  }>;
288
- openMenu: "shape" | "canvas" | null;
289
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
284
+ openMenu: "canvas" | "shape" | null;
285
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
290
286
  openSidebar: {
291
287
  name: string;
292
288
  tab?: string | undefined;
@@ -295,7 +291,7 @@ export declare const actionWrapTextInContainer: {
295
291
  name: "imageExport" | "help" | "jsonExport";
296
292
  } | {
297
293
  name: "ttd";
298
- tab: "text-to-diagram" | "mermaid";
294
+ tab: "mermaid" | "text-to-diagram";
299
295
  } | {
300
296
  name: "commandPalette";
301
297
  } | {
@@ -364,9 +360,8 @@ export declare const actionWrapTextInContainer: {
364
360
  shown: true;
365
361
  data: import("../charts").Spreadsheet;
366
362
  };
367
- pendingImageElementId: string | null;
368
363
  showHyperlinkPopup: false | "editor" | "info";
369
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
364
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
370
365
  snapLines: readonly import("../snapping").SnapLine[];
371
366
  originSnapOffset: {
372
367
  x: number;
@@ -377,16 +372,15 @@ export declare const actionWrapTextInContainer: {
377
372
  followedBy: Set<import("../types").SocketId>;
378
373
  isCropping: boolean;
379
374
  croppingElementId: string | null;
380
- searchMatches: readonly {
381
- id: string;
382
- focus: boolean;
383
- matchedLines: {
384
- offsetX: number;
385
- offsetY: number;
386
- width: number;
387
- height: number;
388
- }[];
389
- }[];
375
+ searchMatches: Readonly<{
376
+ focusedId: string | null;
377
+ matches: readonly import("../types").SearchMatch[];
378
+ }> | null;
379
+ activeLockedId: string | null;
380
+ lockedMultiSelections: {
381
+ [groupId: string]: true;
382
+ };
383
+ stylesPanelMode: "compact" | "full";
390
384
  };
391
385
  captureUpdate: "IMMEDIATELY";
392
386
  };