@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
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { type SceneBounds } from "@excalidraw/element/bounds";
2
+ import { type SceneBounds } from "@excalidraw/element";
3
3
  import type { ExcalidrawElement } from "@excalidraw/element/types";
4
4
  import type { AppState, Offsets } from "../types";
5
5
  export declare const actionChangeViewBackgroundColor: {
@@ -11,7 +11,7 @@ export declare const actionChangeViewBackgroundColor: {
11
11
  appState: any;
12
12
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
13
13
  };
14
- PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
14
+ PanelComponent: ({ elements, appState, updateData, appProps, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
15
15
  } & {
16
16
  keyTest?: undefined;
17
17
  };
@@ -81,20 +81,18 @@ export declare const actionClearCanvas: {
81
81
  [id: string]: true;
82
82
  }>;
83
83
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
84
- pendingImageElementId: string | null;
85
84
  activeEmbeddable: {
86
85
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
87
86
  state: "active" | "hover";
88
87
  } | null;
89
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
90
88
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
91
89
  selectedGroupIds: {
92
90
  [groupId: string]: boolean;
93
91
  };
94
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
92
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
95
93
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
96
94
  isBindingEnabled: boolean;
97
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
95
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
98
96
  isRotating: boolean;
99
97
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
100
98
  collaborators: Map<import("../types").SocketId, Readonly<{
@@ -126,14 +124,7 @@ export declare const actionClearCanvas: {
126
124
  focusedId: string | null;
127
125
  matches: readonly import("../types").SearchMatch[];
128
126
  }> | null;
129
- objectsSnapModeEnabled: boolean;
130
- shouldCacheIgnoreZoom: boolean;
131
- exportScale: number;
132
- selectedElementsAreBeingDragged: boolean;
133
- currentHoveredFontFamily: number | null;
134
- hoveredElementIds: Readonly<{
135
- [id: string]: true;
136
- }>;
127
+ activeLockedId: string | null;
137
128
  contextMenu: {
138
129
  items: import("../components/ContextMenu").ContextMenuItems;
139
130
  top: number;
@@ -147,6 +138,7 @@ export declare const actionClearCanvas: {
147
138
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
148
139
  editingFrame: string | null;
149
140
  exportWithDarkMode: boolean;
141
+ exportScale: number;
150
142
  currentItemStrokeColor: string;
151
143
  currentItemBackgroundColor: string;
152
144
  currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
@@ -159,22 +151,28 @@ export declare const actionClearCanvas: {
159
151
  currentItemTextAlign: string;
160
152
  currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
161
153
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
154
+ currentHoveredFontFamily: number | null;
162
155
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
163
156
  currentItemArrowType: "round" | "sharp" | "elbow";
164
157
  cursorButton: "up" | "down";
165
158
  scrolledOutside: boolean;
166
159
  isResizing: boolean;
167
160
  openMenu: "canvas" | "shape" | null;
168
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
161
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
169
162
  openSidebar: {
170
163
  name: string;
171
164
  tab?: string | undefined;
172
165
  } | null;
173
166
  defaultSidebarDockedPreference: boolean;
174
167
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
168
+ hoveredElementIds: Readonly<{
169
+ [id: string]: true;
170
+ }>;
175
171
  previousSelectedElementIds: {
176
172
  [id: string]: true;
177
173
  };
174
+ selectedElementsAreBeingDragged: boolean;
175
+ shouldCacheIgnoreZoom: boolean;
178
176
  toast: {
179
177
  message: string;
180
178
  closable?: boolean | undefined;
@@ -187,8 +185,13 @@ export declare const actionClearCanvas: {
187
185
  x: number;
188
186
  y: number;
189
187
  } | null;
188
+ objectsSnapModeEnabled: boolean;
190
189
  userToFollow: import("../types").UserToFollow | null;
191
190
  followedBy: Set<import("../types").SocketId>;
191
+ lockedMultiSelections: {
192
+ [groupId: string]: true;
193
+ };
194
+ stylesPanelMode: "compact" | "full";
192
195
  };
193
196
  captureUpdate: "IMMEDIATELY";
194
197
  };
@@ -229,7 +232,7 @@ export declare const actionZoomIn: {
229
232
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
230
233
  isBindingEnabled: boolean;
231
234
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
232
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
235
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
233
236
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
234
237
  frameRendering: {
235
238
  enabled: boolean;
@@ -240,7 +243,6 @@ export declare const actionZoomIn: {
240
243
  editingFrame: string | null;
241
244
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
242
245
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
243
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
244
246
  activeTool: {
245
247
  lastActiveTool: import("../types").ActiveTool | null;
246
248
  locked: boolean;
@@ -274,7 +276,7 @@ export declare const actionZoomIn: {
274
276
  isResizing: boolean;
275
277
  isRotating: boolean;
276
278
  openMenu: "canvas" | "shape" | null;
277
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
279
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
278
280
  openSidebar: {
279
281
  name: string;
280
282
  tab?: string | undefined;
@@ -355,9 +357,8 @@ export declare const actionZoomIn: {
355
357
  shown: true;
356
358
  data: import("../charts").Spreadsheet;
357
359
  };
358
- pendingImageElementId: string | null;
359
360
  showHyperlinkPopup: false | "editor" | "info";
360
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
361
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
361
362
  snapLines: readonly import("../snapping").SnapLine[];
362
363
  originSnapOffset: {
363
364
  x: number;
@@ -371,13 +372,18 @@ export declare const actionZoomIn: {
371
372
  focusedId: string | null;
372
373
  matches: readonly import("../types").SearchMatch[];
373
374
  }> | null;
375
+ activeLockedId: string | null;
376
+ lockedMultiSelections: {
377
+ [groupId: string]: true;
378
+ };
379
+ stylesPanelMode: "compact" | "full";
374
380
  };
375
381
  captureUpdate: "EVENTUALLY";
376
382
  };
377
383
  PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
378
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
384
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
379
385
  } & {
380
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
386
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
381
387
  };
382
388
  export declare const actionZoomOut: {
383
389
  name: "zoomOut";
@@ -413,7 +419,7 @@ export declare const actionZoomOut: {
413
419
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
414
420
  isBindingEnabled: boolean;
415
421
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
416
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
422
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
417
423
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
418
424
  frameRendering: {
419
425
  enabled: boolean;
@@ -424,7 +430,6 @@ export declare const actionZoomOut: {
424
430
  editingFrame: string | null;
425
431
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
426
432
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
427
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
428
433
  activeTool: {
429
434
  lastActiveTool: import("../types").ActiveTool | null;
430
435
  locked: boolean;
@@ -458,7 +463,7 @@ export declare const actionZoomOut: {
458
463
  isResizing: boolean;
459
464
  isRotating: boolean;
460
465
  openMenu: "canvas" | "shape" | null;
461
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
466
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
462
467
  openSidebar: {
463
468
  name: string;
464
469
  tab?: string | undefined;
@@ -539,9 +544,8 @@ export declare const actionZoomOut: {
539
544
  shown: true;
540
545
  data: import("../charts").Spreadsheet;
541
546
  };
542
- pendingImageElementId: string | null;
543
547
  showHyperlinkPopup: false | "editor" | "info";
544
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
548
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
545
549
  snapLines: readonly import("../snapping").SnapLine[];
546
550
  originSnapOffset: {
547
551
  x: number;
@@ -555,13 +559,18 @@ export declare const actionZoomOut: {
555
559
  focusedId: string | null;
556
560
  matches: readonly import("../types").SearchMatch[];
557
561
  }> | null;
562
+ activeLockedId: string | null;
563
+ lockedMultiSelections: {
564
+ [groupId: string]: true;
565
+ };
566
+ stylesPanelMode: "compact" | "full";
558
567
  };
559
568
  captureUpdate: "EVENTUALLY";
560
569
  };
561
570
  PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
562
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
571
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
563
572
  } & {
564
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
573
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
565
574
  };
566
575
  export declare const actionResetZoom: {
567
576
  name: "resetZoom";
@@ -597,7 +606,7 @@ export declare const actionResetZoom: {
597
606
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
598
607
  isBindingEnabled: boolean;
599
608
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
600
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
609
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
601
610
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
602
611
  frameRendering: {
603
612
  enabled: boolean;
@@ -608,7 +617,6 @@ export declare const actionResetZoom: {
608
617
  editingFrame: string | null;
609
618
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
610
619
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
611
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
612
620
  activeTool: {
613
621
  lastActiveTool: import("../types").ActiveTool | null;
614
622
  locked: boolean;
@@ -642,7 +650,7 @@ export declare const actionResetZoom: {
642
650
  isResizing: boolean;
643
651
  isRotating: boolean;
644
652
  openMenu: "canvas" | "shape" | null;
645
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
653
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
646
654
  openSidebar: {
647
655
  name: string;
648
656
  tab?: string | undefined;
@@ -723,9 +731,8 @@ export declare const actionResetZoom: {
723
731
  shown: true;
724
732
  data: import("../charts").Spreadsheet;
725
733
  };
726
- pendingImageElementId: string | null;
727
734
  showHyperlinkPopup: false | "editor" | "info";
728
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
735
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
729
736
  snapLines: readonly import("../snapping").SnapLine[];
730
737
  originSnapOffset: {
731
738
  x: number;
@@ -739,13 +746,18 @@ export declare const actionResetZoom: {
739
746
  focusedId: string | null;
740
747
  matches: readonly import("../types").SearchMatch[];
741
748
  }> | null;
749
+ activeLockedId: string | null;
750
+ lockedMultiSelections: {
751
+ [groupId: string]: true;
752
+ };
753
+ stylesPanelMode: "compact" | "full";
742
754
  };
743
755
  captureUpdate: "EVENTUALLY";
744
756
  };
745
757
  PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
746
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
758
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
747
759
  } & {
748
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
760
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
749
761
  };
750
762
  export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToViewport, viewportZoomFactor, minZoom, maxZoom, }: {
751
763
  bounds: SceneBounds;
@@ -787,7 +799,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
787
799
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
788
800
  isBindingEnabled: boolean;
789
801
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
790
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
802
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
791
803
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
792
804
  frameRendering: {
793
805
  enabled: boolean;
@@ -798,7 +810,6 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
798
810
  editingFrame: string | null;
799
811
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
800
812
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
801
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
802
813
  activeTool: {
803
814
  lastActiveTool: import("../types").ActiveTool | null;
804
815
  locked: boolean;
@@ -832,7 +843,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
832
843
  isResizing: boolean;
833
844
  isRotating: boolean;
834
845
  openMenu: "canvas" | "shape" | null;
835
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
846
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
836
847
  openSidebar: {
837
848
  name: string;
838
849
  tab?: string | undefined;
@@ -913,9 +924,8 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
913
924
  shown: true;
914
925
  data: import("../charts").Spreadsheet;
915
926
  };
916
- pendingImageElementId: string | null;
917
927
  showHyperlinkPopup: false | "editor" | "info";
918
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
928
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
919
929
  snapLines: readonly import("../snapping").SnapLine[];
920
930
  originSnapOffset: {
921
931
  x: number;
@@ -930,6 +940,11 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
930
940
  focusedId: string | null;
931
941
  matches: readonly import("../types").SearchMatch[];
932
942
  }> | null;
943
+ activeLockedId: string | null;
944
+ lockedMultiSelections: {
945
+ [groupId: string]: true;
946
+ };
947
+ stylesPanelMode: "compact" | "full";
933
948
  };
934
949
  captureUpdate: "EVENTUALLY";
935
950
  };
@@ -973,7 +988,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
973
988
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
974
989
  isBindingEnabled: boolean;
975
990
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
976
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
991
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
977
992
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
978
993
  frameRendering: {
979
994
  enabled: boolean;
@@ -984,7 +999,6 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
984
999
  editingFrame: string | null;
985
1000
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
986
1001
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
987
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
988
1002
  activeTool: {
989
1003
  lastActiveTool: import("../types").ActiveTool | null;
990
1004
  locked: boolean;
@@ -1018,7 +1032,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1018
1032
  isResizing: boolean;
1019
1033
  isRotating: boolean;
1020
1034
  openMenu: "canvas" | "shape" | null;
1021
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1035
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1022
1036
  openSidebar: {
1023
1037
  name: string;
1024
1038
  tab?: string | undefined;
@@ -1099,9 +1113,8 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1099
1113
  shown: true;
1100
1114
  data: import("../charts").Spreadsheet;
1101
1115
  };
1102
- pendingImageElementId: string | null;
1103
1116
  showHyperlinkPopup: false | "editor" | "info";
1104
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1117
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1105
1118
  snapLines: readonly import("../snapping").SnapLine[];
1106
1119
  originSnapOffset: {
1107
1120
  x: number;
@@ -1116,6 +1129,11 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1116
1129
  focusedId: string | null;
1117
1130
  matches: readonly import("../types").SearchMatch[];
1118
1131
  }> | null;
1132
+ activeLockedId: string | null;
1133
+ lockedMultiSelections: {
1134
+ [groupId: string]: true;
1135
+ };
1136
+ stylesPanelMode: "compact" | "full";
1119
1137
  };
1120
1138
  captureUpdate: "EVENTUALLY";
1121
1139
  };
@@ -1151,7 +1169,7 @@ export declare const actionZoomToFitSelectionInViewport: {
1151
1169
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1152
1170
  isBindingEnabled: boolean;
1153
1171
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1154
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1172
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1155
1173
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1156
1174
  frameRendering: {
1157
1175
  enabled: boolean;
@@ -1162,7 +1180,6 @@ export declare const actionZoomToFitSelectionInViewport: {
1162
1180
  editingFrame: string | null;
1163
1181
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1164
1182
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1165
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1166
1183
  activeTool: {
1167
1184
  lastActiveTool: import("../types").ActiveTool | null;
1168
1185
  locked: boolean;
@@ -1196,7 +1213,7 @@ export declare const actionZoomToFitSelectionInViewport: {
1196
1213
  isResizing: boolean;
1197
1214
  isRotating: boolean;
1198
1215
  openMenu: "canvas" | "shape" | null;
1199
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1216
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1200
1217
  openSidebar: {
1201
1218
  name: string;
1202
1219
  tab?: string | undefined;
@@ -1277,9 +1294,8 @@ export declare const actionZoomToFitSelectionInViewport: {
1277
1294
  shown: true;
1278
1295
  data: import("../charts").Spreadsheet;
1279
1296
  };
1280
- pendingImageElementId: string | null;
1281
1297
  showHyperlinkPopup: false | "editor" | "info";
1282
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1298
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1283
1299
  snapLines: readonly import("../snapping").SnapLine[];
1284
1300
  originSnapOffset: {
1285
1301
  x: number;
@@ -1294,12 +1310,17 @@ export declare const actionZoomToFitSelectionInViewport: {
1294
1310
  focusedId: string | null;
1295
1311
  matches: readonly import("../types").SearchMatch[];
1296
1312
  }> | null;
1313
+ activeLockedId: string | null;
1314
+ lockedMultiSelections: {
1315
+ [groupId: string]: true;
1316
+ };
1317
+ stylesPanelMode: "compact" | "full";
1297
1318
  };
1298
1319
  captureUpdate: "EVENTUALLY";
1299
1320
  };
1300
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1321
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1301
1322
  } & {
1302
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1323
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1303
1324
  };
1304
1325
  export declare const actionZoomToFitSelection: {
1305
1326
  name: "zoomToFitSelection";
@@ -1333,7 +1354,7 @@ export declare const actionZoomToFitSelection: {
1333
1354
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1334
1355
  isBindingEnabled: boolean;
1335
1356
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1336
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1357
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1337
1358
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1338
1359
  frameRendering: {
1339
1360
  enabled: boolean;
@@ -1344,7 +1365,6 @@ export declare const actionZoomToFitSelection: {
1344
1365
  editingFrame: string | null;
1345
1366
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1346
1367
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1347
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1348
1368
  activeTool: {
1349
1369
  lastActiveTool: import("../types").ActiveTool | null;
1350
1370
  locked: boolean;
@@ -1378,7 +1398,7 @@ export declare const actionZoomToFitSelection: {
1378
1398
  isResizing: boolean;
1379
1399
  isRotating: boolean;
1380
1400
  openMenu: "canvas" | "shape" | null;
1381
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1401
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1382
1402
  openSidebar: {
1383
1403
  name: string;
1384
1404
  tab?: string | undefined;
@@ -1459,9 +1479,8 @@ export declare const actionZoomToFitSelection: {
1459
1479
  shown: true;
1460
1480
  data: import("../charts").Spreadsheet;
1461
1481
  };
1462
- pendingImageElementId: string | null;
1463
1482
  showHyperlinkPopup: false | "editor" | "info";
1464
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1483
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1465
1484
  snapLines: readonly import("../snapping").SnapLine[];
1466
1485
  originSnapOffset: {
1467
1486
  x: number;
@@ -1476,12 +1495,17 @@ export declare const actionZoomToFitSelection: {
1476
1495
  focusedId: string | null;
1477
1496
  matches: readonly import("../types").SearchMatch[];
1478
1497
  }> | null;
1498
+ activeLockedId: string | null;
1499
+ lockedMultiSelections: {
1500
+ [groupId: string]: true;
1501
+ };
1502
+ stylesPanelMode: "compact" | "full";
1479
1503
  };
1480
1504
  captureUpdate: "EVENTUALLY";
1481
1505
  };
1482
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1506
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1483
1507
  } & {
1484
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1508
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1485
1509
  };
1486
1510
  export declare const actionZoomToFit: {
1487
1511
  name: "zoomToFit";
@@ -1516,7 +1540,7 @@ export declare const actionZoomToFit: {
1516
1540
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1517
1541
  isBindingEnabled: boolean;
1518
1542
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1519
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1543
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1520
1544
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1521
1545
  frameRendering: {
1522
1546
  enabled: boolean;
@@ -1527,7 +1551,6 @@ export declare const actionZoomToFit: {
1527
1551
  editingFrame: string | null;
1528
1552
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1529
1553
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1530
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1531
1554
  activeTool: {
1532
1555
  lastActiveTool: import("../types").ActiveTool | null;
1533
1556
  locked: boolean;
@@ -1561,7 +1584,7 @@ export declare const actionZoomToFit: {
1561
1584
  isResizing: boolean;
1562
1585
  isRotating: boolean;
1563
1586
  openMenu: "canvas" | "shape" | null;
1564
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1587
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1565
1588
  openSidebar: {
1566
1589
  name: string;
1567
1590
  tab?: string | undefined;
@@ -1642,9 +1665,8 @@ export declare const actionZoomToFit: {
1642
1665
  shown: true;
1643
1666
  data: import("../charts").Spreadsheet;
1644
1667
  };
1645
- pendingImageElementId: string | null;
1646
1668
  showHyperlinkPopup: false | "editor" | "info";
1647
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1669
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1648
1670
  snapLines: readonly import("../snapping").SnapLine[];
1649
1671
  originSnapOffset: {
1650
1672
  x: number;
@@ -1659,12 +1681,17 @@ export declare const actionZoomToFit: {
1659
1681
  focusedId: string | null;
1660
1682
  matches: readonly import("../types").SearchMatch[];
1661
1683
  }> | null;
1684
+ activeLockedId: string | null;
1685
+ lockedMultiSelections: {
1686
+ [groupId: string]: true;
1687
+ };
1688
+ stylesPanelMode: "compact" | "full";
1662
1689
  };
1663
1690
  captureUpdate: "EVENTUALLY";
1664
1691
  };
1665
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1692
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1666
1693
  } & {
1667
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1694
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1668
1695
  };
1669
1696
  export declare const actionToggleTheme: {
1670
1697
  name: "toggleTheme";
@@ -1696,7 +1723,7 @@ export declare const actionToggleTheme: {
1696
1723
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1697
1724
  isBindingEnabled: boolean;
1698
1725
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1699
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1726
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1700
1727
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1701
1728
  frameRendering: {
1702
1729
  enabled: boolean;
@@ -1707,7 +1734,6 @@ export declare const actionToggleTheme: {
1707
1734
  editingFrame: string | null;
1708
1735
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1709
1736
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1710
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1711
1737
  activeTool: {
1712
1738
  lastActiveTool: import("../types").ActiveTool | null;
1713
1739
  locked: boolean;
@@ -1746,7 +1772,7 @@ export declare const actionToggleTheme: {
1746
1772
  value: import("../types").NormalizedZoomValue;
1747
1773
  }>;
1748
1774
  openMenu: "canvas" | "shape" | null;
1749
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1775
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1750
1776
  openSidebar: {
1751
1777
  name: string;
1752
1778
  tab?: string | undefined;
@@ -1826,9 +1852,8 @@ export declare const actionToggleTheme: {
1826
1852
  shown: true;
1827
1853
  data: import("../charts").Spreadsheet;
1828
1854
  };
1829
- pendingImageElementId: string | null;
1830
1855
  showHyperlinkPopup: false | "editor" | "info";
1831
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1856
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1832
1857
  snapLines: readonly import("../snapping").SnapLine[];
1833
1858
  originSnapOffset: {
1834
1859
  x: number;
@@ -1843,13 +1868,18 @@ export declare const actionToggleTheme: {
1843
1868
  focusedId: string | null;
1844
1869
  matches: readonly import("../types").SearchMatch[];
1845
1870
  }> | null;
1871
+ activeLockedId: string | null;
1872
+ lockedMultiSelections: {
1873
+ [groupId: string]: true;
1874
+ };
1875
+ stylesPanelMode: "compact" | "full";
1846
1876
  };
1847
1877
  captureUpdate: "EVENTUALLY";
1848
1878
  };
1849
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1879
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1850
1880
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
1851
1881
  } & {
1852
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1882
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1853
1883
  };
1854
1884
  export declare const actionToggleEraserTool: {
1855
1885
  name: "toggleEraserTool";
@@ -1857,7 +1887,7 @@ export declare const actionToggleEraserTool: {
1857
1887
  trackEvent: {
1858
1888
  category: "toolbar";
1859
1889
  };
1860
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
1890
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
1861
1891
  appState: {
1862
1892
  selectedElementIds: {};
1863
1893
  selectedGroupIds: {};
@@ -1881,7 +1911,7 @@ export declare const actionToggleEraserTool: {
1881
1911
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1882
1912
  isBindingEnabled: boolean;
1883
1913
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1884
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1914
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1885
1915
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1886
1916
  frameRendering: {
1887
1917
  enabled: boolean;
@@ -1892,7 +1922,6 @@ export declare const actionToggleEraserTool: {
1892
1922
  editingFrame: string | null;
1893
1923
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1894
1924
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1895
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
1896
1925
  penMode: boolean;
1897
1926
  penDetected: boolean;
1898
1927
  exportBackground: boolean;
@@ -1926,7 +1955,7 @@ export declare const actionToggleEraserTool: {
1926
1955
  value: import("../types").NormalizedZoomValue;
1927
1956
  }>;
1928
1957
  openMenu: "canvas" | "shape" | null;
1929
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1958
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1930
1959
  openSidebar: {
1931
1960
  name: string;
1932
1961
  tab?: string | undefined;
@@ -2001,9 +2030,8 @@ export declare const actionToggleEraserTool: {
2001
2030
  shown: true;
2002
2031
  data: import("../charts").Spreadsheet;
2003
2032
  };
2004
- pendingImageElementId: string | null;
2005
2033
  showHyperlinkPopup: false | "editor" | "info";
2006
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
2034
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2007
2035
  snapLines: readonly import("../snapping").SnapLine[];
2008
2036
  originSnapOffset: {
2009
2037
  x: number;
@@ -2018,12 +2046,17 @@ export declare const actionToggleEraserTool: {
2018
2046
  focusedId: string | null;
2019
2047
  matches: readonly import("../types").SearchMatch[];
2020
2048
  }> | null;
2049
+ activeLockedId: string | null;
2050
+ lockedMultiSelections: {
2051
+ [groupId: string]: true;
2052
+ };
2053
+ stylesPanelMode: "compact" | "full";
2021
2054
  };
2022
2055
  captureUpdate: "IMMEDIATELY";
2023
2056
  };
2024
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
2057
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
2025
2058
  } & {
2026
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
2059
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
2027
2060
  };
2028
2061
  export declare const actionToggleLassoTool: {
2029
2062
  name: "toggleLassoTool";
@@ -2032,6 +2065,7 @@ export declare const actionToggleLassoTool: {
2032
2065
  trackEvent: {
2033
2066
  category: "toolbar";
2034
2067
  };
2068
+ predicate: (elements: readonly ExcalidrawElement[], appState: AppState, props: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
2035
2069
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
2036
2070
  appState: {
2037
2071
  selectedElementIds: {};
@@ -2056,7 +2090,7 @@ export declare const actionToggleLassoTool: {
2056
2090
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2057
2091
  isBindingEnabled: boolean;
2058
2092
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2059
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2093
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2060
2094
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2061
2095
  frameRendering: {
2062
2096
  enabled: boolean;
@@ -2067,7 +2101,6 @@ export declare const actionToggleLassoTool: {
2067
2101
  editingFrame: string | null;
2068
2102
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2069
2103
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2070
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
2071
2104
  penMode: boolean;
2072
2105
  penDetected: boolean;
2073
2106
  exportBackground: boolean;
@@ -2101,7 +2134,7 @@ export declare const actionToggleLassoTool: {
2101
2134
  value: import("../types").NormalizedZoomValue;
2102
2135
  }>;
2103
2136
  openMenu: "canvas" | "shape" | null;
2104
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2137
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2105
2138
  openSidebar: {
2106
2139
  name: string;
2107
2140
  tab?: string | undefined;
@@ -2176,9 +2209,8 @@ export declare const actionToggleLassoTool: {
2176
2209
  shown: true;
2177
2210
  data: import("../charts").Spreadsheet;
2178
2211
  };
2179
- pendingImageElementId: string | null;
2180
2212
  showHyperlinkPopup: false | "editor" | "info";
2181
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
2213
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2182
2214
  snapLines: readonly import("../snapping").SnapLine[];
2183
2215
  originSnapOffset: {
2184
2216
  x: number;
@@ -2193,6 +2225,11 @@ export declare const actionToggleLassoTool: {
2193
2225
  focusedId: string | null;
2194
2226
  matches: readonly import("../types").SearchMatch[];
2195
2227
  }> | null;
2228
+ activeLockedId: string | null;
2229
+ lockedMultiSelections: {
2230
+ [groupId: string]: true;
2231
+ };
2232
+ stylesPanelMode: "compact" | "full";
2196
2233
  };
2197
2234
  captureUpdate: "NEVER";
2198
2235
  };
@@ -2231,7 +2268,7 @@ export declare const actionToggleHandTool: {
2231
2268
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2232
2269
  isBindingEnabled: boolean;
2233
2270
  startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
2234
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2271
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2235
2272
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2236
2273
  frameRendering: {
2237
2274
  enabled: boolean;
@@ -2242,7 +2279,6 @@ export declare const actionToggleHandTool: {
2242
2279
  editingFrame: string | null;
2243
2280
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2244
2281
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2245
- editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
2246
2282
  penMode: boolean;
2247
2283
  penDetected: boolean;
2248
2284
  exportBackground: boolean;
@@ -2276,7 +2312,7 @@ export declare const actionToggleHandTool: {
2276
2312
  value: import("../types").NormalizedZoomValue;
2277
2313
  }>;
2278
2314
  openMenu: "canvas" | "shape" | null;
2279
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2315
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2280
2316
  openSidebar: {
2281
2317
  name: string;
2282
2318
  tab?: string | undefined;
@@ -2351,9 +2387,8 @@ export declare const actionToggleHandTool: {
2351
2387
  shown: true;
2352
2388
  data: import("../charts").Spreadsheet;
2353
2389
  };
2354
- pendingImageElementId: string | null;
2355
2390
  showHyperlinkPopup: false | "editor" | "info";
2356
- selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
2391
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
2357
2392
  snapLines: readonly import("../snapping").SnapLine[];
2358
2393
  originSnapOffset: {
2359
2394
  x: number;
@@ -2368,10 +2403,15 @@ export declare const actionToggleHandTool: {
2368
2403
  focusedId: string | null;
2369
2404
  matches: readonly import("../types").SearchMatch[];
2370
2405
  }> | null;
2406
+ activeLockedId: string | null;
2407
+ lockedMultiSelections: {
2408
+ [groupId: string]: true;
2409
+ };
2410
+ stylesPanelMode: "compact" | "full";
2371
2411
  };
2372
2412
  captureUpdate: "IMMEDIATELY";
2373
2413
  };
2374
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
2414
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
2375
2415
  } & {
2376
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
2416
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
2377
2417
  };