@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,15 +1,15 @@
1
1
  /// <reference types="react" />
2
- import { LinearElementEditor } from "@excalidraw/element/linearElementEditor";
2
+ import { LinearElementEditor } from "@excalidraw/element";
3
3
  import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement } from "@excalidraw/element/types";
4
4
  import type { AppClassProperties, AppState, Primitive } from "../types";
5
5
  export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
6
- export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], appState: AppState, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
6
+ export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
7
7
  export declare const actionChangeStrokeColor: {
8
8
  name: "changeStrokeColor";
9
9
  label: string;
10
10
  trackEvent: false;
11
11
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
12
- PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
12
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
13
13
  } & {
14
14
  keyTest?: undefined;
15
15
  };
@@ -17,8 +17,16 @@ export declare const actionChangeBackgroundColor: {
17
17
  name: "changeBackgroundColor";
18
18
  label: string;
19
19
  trackEvent: false;
20
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
21
- PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
20
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
21
+ appState: any;
22
+ captureUpdate: "EVENTUALLY";
23
+ elements?: undefined;
24
+ } | {
25
+ elements: ExcalidrawElement[];
26
+ appState: any;
27
+ captureUpdate: "IMMEDIATELY";
28
+ };
29
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
22
30
  } & {
23
31
  keyTest?: undefined;
24
32
  };
@@ -48,7 +56,7 @@ export declare const actionChangeFillStyle: {
48
56
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
49
57
  isBindingEnabled: boolean;
50
58
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
51
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
59
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
52
60
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
53
61
  frameRendering: {
54
62
  enabled: boolean;
@@ -59,7 +67,6 @@ export declare const actionChangeFillStyle: {
59
67
  editingFrame: string | null;
60
68
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
61
69
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
62
- editingLinearElement: LinearElementEditor | null;
63
70
  activeTool: {
64
71
  lastActiveTool: import("../types").ActiveTool | null;
65
72
  locked: boolean;
@@ -97,7 +104,7 @@ export declare const actionChangeFillStyle: {
97
104
  value: import("../types").NormalizedZoomValue;
98
105
  }>;
99
106
  openMenu: "canvas" | "shape" | null;
100
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
107
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
101
108
  openSidebar: {
102
109
  name: string;
103
110
  tab?: string | undefined;
@@ -178,7 +185,6 @@ export declare const actionChangeFillStyle: {
178
185
  shown: true;
179
186
  data: import("../charts").Spreadsheet;
180
187
  };
181
- pendingImageElementId: string | null;
182
188
  showHyperlinkPopup: false | "editor" | "info";
183
189
  selectedLinearElement: LinearElementEditor | null;
184
190
  snapLines: readonly import("../snapping").SnapLine[];
@@ -195,10 +201,15 @@ export declare const actionChangeFillStyle: {
195
201
  focusedId: string | null;
196
202
  matches: readonly import("../types").SearchMatch[];
197
203
  }> | null;
204
+ activeLockedId: string | null;
205
+ lockedMultiSelections: {
206
+ [groupId: string]: true;
207
+ };
208
+ stylesPanelMode: "compact" | "full";
198
209
  };
199
210
  captureUpdate: "IMMEDIATELY";
200
211
  };
201
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
212
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
202
213
  } & {
203
214
  keyTest?: undefined;
204
215
  };
@@ -228,7 +239,7 @@ export declare const actionChangeStrokeWidth: {
228
239
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
229
240
  isBindingEnabled: boolean;
230
241
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
231
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
242
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
232
243
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
233
244
  frameRendering: {
234
245
  enabled: boolean;
@@ -239,7 +250,6 @@ export declare const actionChangeStrokeWidth: {
239
250
  editingFrame: string | null;
240
251
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
241
252
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
242
- editingLinearElement: LinearElementEditor | null;
243
253
  activeTool: {
244
254
  lastActiveTool: import("../types").ActiveTool | null;
245
255
  locked: boolean;
@@ -277,7 +287,7 @@ export declare const actionChangeStrokeWidth: {
277
287
  value: import("../types").NormalizedZoomValue;
278
288
  }>;
279
289
  openMenu: "canvas" | "shape" | null;
280
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
290
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
281
291
  openSidebar: {
282
292
  name: string;
283
293
  tab?: string | undefined;
@@ -358,7 +368,6 @@ export declare const actionChangeStrokeWidth: {
358
368
  shown: true;
359
369
  data: import("../charts").Spreadsheet;
360
370
  };
361
- pendingImageElementId: string | null;
362
371
  showHyperlinkPopup: false | "editor" | "info";
363
372
  selectedLinearElement: LinearElementEditor | null;
364
373
  snapLines: readonly import("../snapping").SnapLine[];
@@ -375,10 +384,15 @@ export declare const actionChangeStrokeWidth: {
375
384
  focusedId: string | null;
376
385
  matches: readonly import("../types").SearchMatch[];
377
386
  }> | null;
387
+ activeLockedId: string | null;
388
+ lockedMultiSelections: {
389
+ [groupId: string]: true;
390
+ };
391
+ stylesPanelMode: "compact" | "full";
378
392
  };
379
393
  captureUpdate: "IMMEDIATELY";
380
394
  };
381
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
395
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
382
396
  } & {
383
397
  keyTest?: undefined;
384
398
  };
@@ -408,7 +422,7 @@ export declare const actionChangeSloppiness: {
408
422
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
409
423
  isBindingEnabled: boolean;
410
424
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
411
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
425
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
412
426
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
413
427
  frameRendering: {
414
428
  enabled: boolean;
@@ -419,7 +433,6 @@ export declare const actionChangeSloppiness: {
419
433
  editingFrame: string | null;
420
434
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
421
435
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
422
- editingLinearElement: LinearElementEditor | null;
423
436
  activeTool: {
424
437
  lastActiveTool: import("../types").ActiveTool | null;
425
438
  locked: boolean;
@@ -457,7 +470,7 @@ export declare const actionChangeSloppiness: {
457
470
  value: import("../types").NormalizedZoomValue;
458
471
  }>;
459
472
  openMenu: "canvas" | "shape" | null;
460
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
473
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
461
474
  openSidebar: {
462
475
  name: string;
463
476
  tab?: string | undefined;
@@ -538,7 +551,6 @@ export declare const actionChangeSloppiness: {
538
551
  shown: true;
539
552
  data: import("../charts").Spreadsheet;
540
553
  };
541
- pendingImageElementId: string | null;
542
554
  showHyperlinkPopup: false | "editor" | "info";
543
555
  selectedLinearElement: LinearElementEditor | null;
544
556
  snapLines: readonly import("../snapping").SnapLine[];
@@ -555,10 +567,15 @@ export declare const actionChangeSloppiness: {
555
567
  focusedId: string | null;
556
568
  matches: readonly import("../types").SearchMatch[];
557
569
  }> | null;
570
+ activeLockedId: string | null;
571
+ lockedMultiSelections: {
572
+ [groupId: string]: true;
573
+ };
574
+ stylesPanelMode: "compact" | "full";
558
575
  };
559
576
  captureUpdate: "IMMEDIATELY";
560
577
  };
561
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
578
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
562
579
  } & {
563
580
  keyTest?: undefined;
564
581
  };
@@ -588,7 +605,7 @@ export declare const actionChangeStrokeStyle: {
588
605
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
589
606
  isBindingEnabled: boolean;
590
607
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
591
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
608
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
592
609
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
593
610
  frameRendering: {
594
611
  enabled: boolean;
@@ -599,7 +616,6 @@ export declare const actionChangeStrokeStyle: {
599
616
  editingFrame: string | null;
600
617
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
601
618
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
602
- editingLinearElement: LinearElementEditor | null;
603
619
  activeTool: {
604
620
  lastActiveTool: import("../types").ActiveTool | null;
605
621
  locked: boolean;
@@ -637,7 +653,7 @@ export declare const actionChangeStrokeStyle: {
637
653
  value: import("../types").NormalizedZoomValue;
638
654
  }>;
639
655
  openMenu: "canvas" | "shape" | null;
640
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
656
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
641
657
  openSidebar: {
642
658
  name: string;
643
659
  tab?: string | undefined;
@@ -718,7 +734,6 @@ export declare const actionChangeStrokeStyle: {
718
734
  shown: true;
719
735
  data: import("../charts").Spreadsheet;
720
736
  };
721
- pendingImageElementId: string | null;
722
737
  showHyperlinkPopup: false | "editor" | "info";
723
738
  selectedLinearElement: LinearElementEditor | null;
724
739
  snapLines: readonly import("../snapping").SnapLine[];
@@ -735,10 +750,15 @@ export declare const actionChangeStrokeStyle: {
735
750
  focusedId: string | null;
736
751
  matches: readonly import("../types").SearchMatch[];
737
752
  }> | null;
753
+ activeLockedId: string | null;
754
+ lockedMultiSelections: {
755
+ [groupId: string]: true;
756
+ };
757
+ stylesPanelMode: "compact" | "full";
738
758
  };
739
759
  captureUpdate: "IMMEDIATELY";
740
760
  };
741
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
761
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
742
762
  } & {
743
763
  keyTest?: undefined;
744
764
  };
@@ -768,7 +788,7 @@ export declare const actionChangeOpacity: {
768
788
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
769
789
  isBindingEnabled: boolean;
770
790
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
771
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
791
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
772
792
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
773
793
  frameRendering: {
774
794
  enabled: boolean;
@@ -779,7 +799,6 @@ export declare const actionChangeOpacity: {
779
799
  editingFrame: string | null;
780
800
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
781
801
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
782
- editingLinearElement: LinearElementEditor | null;
783
802
  activeTool: {
784
803
  lastActiveTool: import("../types").ActiveTool | null;
785
804
  locked: boolean;
@@ -817,7 +836,7 @@ export declare const actionChangeOpacity: {
817
836
  value: import("../types").NormalizedZoomValue;
818
837
  }>;
819
838
  openMenu: "canvas" | "shape" | null;
820
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
839
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
821
840
  openSidebar: {
822
841
  name: string;
823
842
  tab?: string | undefined;
@@ -898,7 +917,6 @@ export declare const actionChangeOpacity: {
898
917
  shown: true;
899
918
  data: import("../charts").Spreadsheet;
900
919
  };
901
- pendingImageElementId: string | null;
902
920
  showHyperlinkPopup: false | "editor" | "info";
903
921
  selectedLinearElement: LinearElementEditor | null;
904
922
  snapLines: readonly import("../snapping").SnapLine[];
@@ -915,10 +933,15 @@ export declare const actionChangeOpacity: {
915
933
  focusedId: string | null;
916
934
  matches: readonly import("../types").SearchMatch[];
917
935
  }> | null;
936
+ activeLockedId: string | null;
937
+ lockedMultiSelections: {
938
+ [groupId: string]: true;
939
+ };
940
+ stylesPanelMode: "compact" | "full";
918
941
  };
919
942
  captureUpdate: "IMMEDIATELY";
920
943
  };
921
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
944
+ PanelComponent: ({ app, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
922
945
  } & {
923
946
  keyTest?: undefined;
924
947
  };
@@ -948,7 +971,7 @@ export declare const actionChangeFontSize: {
948
971
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
949
972
  isBindingEnabled: boolean;
950
973
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
951
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
974
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
952
975
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
953
976
  frameRendering: {
954
977
  enabled: boolean;
@@ -959,7 +982,6 @@ export declare const actionChangeFontSize: {
959
982
  editingFrame: string | null;
960
983
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
961
984
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
962
- editingLinearElement: LinearElementEditor | null;
963
985
  activeTool: {
964
986
  lastActiveTool: import("../types").ActiveTool | null;
965
987
  locked: boolean;
@@ -997,7 +1019,7 @@ export declare const actionChangeFontSize: {
997
1019
  value: import("../types").NormalizedZoomValue;
998
1020
  }>;
999
1021
  openMenu: "canvas" | "shape" | null;
1000
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1022
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1001
1023
  openSidebar: {
1002
1024
  name: string;
1003
1025
  tab?: string | undefined;
@@ -1078,7 +1100,6 @@ export declare const actionChangeFontSize: {
1078
1100
  shown: true;
1079
1101
  data: import("../charts").Spreadsheet;
1080
1102
  };
1081
- pendingImageElementId: string | null;
1082
1103
  showHyperlinkPopup: false | "editor" | "info";
1083
1104
  selectedLinearElement: LinearElementEditor | null;
1084
1105
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1095,10 +1116,15 @@ export declare const actionChangeFontSize: {
1095
1116
  focusedId: string | null;
1096
1117
  matches: readonly import("../types").SearchMatch[];
1097
1118
  }> | null;
1119
+ activeLockedId: string | null;
1120
+ lockedMultiSelections: {
1121
+ [groupId: string]: true;
1122
+ };
1123
+ stylesPanelMode: "compact" | "full";
1098
1124
  };
1099
1125
  captureUpdate: "IMMEDIATELY";
1100
1126
  };
1101
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1127
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1102
1128
  } & {
1103
1129
  keyTest?: undefined;
1104
1130
  };
@@ -1129,7 +1155,7 @@ export declare const actionDecreaseFontSize: {
1129
1155
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1130
1156
  isBindingEnabled: boolean;
1131
1157
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1132
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1158
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1133
1159
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1134
1160
  frameRendering: {
1135
1161
  enabled: boolean;
@@ -1140,7 +1166,6 @@ export declare const actionDecreaseFontSize: {
1140
1166
  editingFrame: string | null;
1141
1167
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1142
1168
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1143
- editingLinearElement: LinearElementEditor | null;
1144
1169
  activeTool: {
1145
1170
  lastActiveTool: import("../types").ActiveTool | null;
1146
1171
  locked: boolean;
@@ -1178,7 +1203,7 @@ export declare const actionDecreaseFontSize: {
1178
1203
  value: import("../types").NormalizedZoomValue;
1179
1204
  }>;
1180
1205
  openMenu: "canvas" | "shape" | null;
1181
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1206
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1182
1207
  openSidebar: {
1183
1208
  name: string;
1184
1209
  tab?: string | undefined;
@@ -1259,7 +1284,6 @@ export declare const actionDecreaseFontSize: {
1259
1284
  shown: true;
1260
1285
  data: import("../charts").Spreadsheet;
1261
1286
  };
1262
- pendingImageElementId: string | null;
1263
1287
  showHyperlinkPopup: false | "editor" | "info";
1264
1288
  selectedLinearElement: LinearElementEditor | null;
1265
1289
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1276,12 +1300,17 @@ export declare const actionDecreaseFontSize: {
1276
1300
  focusedId: string | null;
1277
1301
  matches: readonly import("../types").SearchMatch[];
1278
1302
  }> | null;
1303
+ activeLockedId: string | null;
1304
+ lockedMultiSelections: {
1305
+ [groupId: string]: true;
1306
+ };
1307
+ stylesPanelMode: "compact" | "full";
1279
1308
  };
1280
1309
  captureUpdate: "IMMEDIATELY";
1281
1310
  };
1282
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1311
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1283
1312
  } & {
1284
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1313
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1285
1314
  };
1286
1315
  export declare const actionIncreaseFontSize: {
1287
1316
  name: "increaseFontSize";
@@ -1310,7 +1339,7 @@ export declare const actionIncreaseFontSize: {
1310
1339
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1311
1340
  isBindingEnabled: boolean;
1312
1341
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1313
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1342
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1314
1343
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1315
1344
  frameRendering: {
1316
1345
  enabled: boolean;
@@ -1321,7 +1350,6 @@ export declare const actionIncreaseFontSize: {
1321
1350
  editingFrame: string | null;
1322
1351
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1323
1352
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1324
- editingLinearElement: LinearElementEditor | null;
1325
1353
  activeTool: {
1326
1354
  lastActiveTool: import("../types").ActiveTool | null;
1327
1355
  locked: boolean;
@@ -1359,7 +1387,7 @@ export declare const actionIncreaseFontSize: {
1359
1387
  value: import("../types").NormalizedZoomValue;
1360
1388
  }>;
1361
1389
  openMenu: "canvas" | "shape" | null;
1362
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1390
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1363
1391
  openSidebar: {
1364
1392
  name: string;
1365
1393
  tab?: string | undefined;
@@ -1440,7 +1468,6 @@ export declare const actionIncreaseFontSize: {
1440
1468
  shown: true;
1441
1469
  data: import("../charts").Spreadsheet;
1442
1470
  };
1443
- pendingImageElementId: string | null;
1444
1471
  showHyperlinkPopup: false | "editor" | "info";
1445
1472
  selectedLinearElement: LinearElementEditor | null;
1446
1473
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1457,12 +1484,17 @@ export declare const actionIncreaseFontSize: {
1457
1484
  focusedId: string | null;
1458
1485
  matches: readonly import("../types").SearchMatch[];
1459
1486
  }> | null;
1487
+ activeLockedId: string | null;
1488
+ lockedMultiSelections: {
1489
+ [groupId: string]: true;
1490
+ };
1491
+ stylesPanelMode: "compact" | "full";
1460
1492
  };
1461
1493
  captureUpdate: "IMMEDIATELY";
1462
1494
  };
1463
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1495
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1464
1496
  } & {
1465
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1497
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1466
1498
  };
1467
1499
  export declare const actionChangeFontFamily: {
1468
1500
  name: "changeFontFamily";
@@ -1470,9 +1502,9 @@ export declare const actionChangeFontFamily: {
1470
1502
  trackEvent: false;
1471
1503
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
1472
1504
  appState: {
1473
- currentHoveredFontFamily: number | null;
1474
1505
  currentItemFontFamily: number;
1475
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1506
+ currentHoveredFontFamily: number | null;
1507
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1476
1508
  contextMenu: {
1477
1509
  items: import("../components/ContextMenu").ContextMenuItems;
1478
1510
  top: number;
@@ -1491,7 +1523,7 @@ export declare const actionChangeFontFamily: {
1491
1523
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1492
1524
  isBindingEnabled: boolean;
1493
1525
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1494
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1526
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1495
1527
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1496
1528
  frameRendering: {
1497
1529
  enabled: boolean;
@@ -1502,7 +1534,6 @@ export declare const actionChangeFontFamily: {
1502
1534
  editingFrame: string | null;
1503
1535
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1504
1536
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1505
- editingLinearElement: LinearElementEditor | null;
1506
1537
  activeTool: {
1507
1538
  lastActiveTool: import("../types").ActiveTool | null;
1508
1539
  locked: boolean;
@@ -1619,7 +1650,6 @@ export declare const actionChangeFontFamily: {
1619
1650
  shown: true;
1620
1651
  data: import("../charts").Spreadsheet;
1621
1652
  };
1622
- pendingImageElementId: string | null;
1623
1653
  showHyperlinkPopup: false | "editor" | "info";
1624
1654
  selectedLinearElement: LinearElementEditor | null;
1625
1655
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1636,14 +1666,19 @@ export declare const actionChangeFontFamily: {
1636
1666
  focusedId: string | null;
1637
1667
  matches: readonly import("../types").SearchMatch[];
1638
1668
  }> | null;
1669
+ activeLockedId: string | null;
1670
+ lockedMultiSelections: {
1671
+ [groupId: string]: true;
1672
+ };
1673
+ stylesPanelMode: "compact" | "full";
1639
1674
  };
1640
1675
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
1641
1676
  } | {
1642
1677
  elements: ExcalidrawElement[];
1643
1678
  appState: {
1644
- currentHoveredFontFamily: number | null;
1645
1679
  currentItemFontFamily: number;
1646
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1680
+ currentHoveredFontFamily: number | null;
1681
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1647
1682
  contextMenu: {
1648
1683
  items: import("../components/ContextMenu").ContextMenuItems;
1649
1684
  top: number;
@@ -1662,7 +1697,7 @@ export declare const actionChangeFontFamily: {
1662
1697
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1663
1698
  isBindingEnabled: boolean;
1664
1699
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1665
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1700
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1666
1701
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1667
1702
  frameRendering: {
1668
1703
  enabled: boolean;
@@ -1673,7 +1708,6 @@ export declare const actionChangeFontFamily: {
1673
1708
  editingFrame: string | null;
1674
1709
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1675
1710
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1676
- editingLinearElement: LinearElementEditor | null;
1677
1711
  activeTool: {
1678
1712
  lastActiveTool: import("../types").ActiveTool | null;
1679
1713
  locked: boolean;
@@ -1790,7 +1824,6 @@ export declare const actionChangeFontFamily: {
1790
1824
  shown: true;
1791
1825
  data: import("../charts").Spreadsheet;
1792
1826
  };
1793
- pendingImageElementId: string | null;
1794
1827
  showHyperlinkPopup: false | "editor" | "info";
1795
1828
  selectedLinearElement: LinearElementEditor | null;
1796
1829
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1807,10 +1840,15 @@ export declare const actionChangeFontFamily: {
1807
1840
  focusedId: string | null;
1808
1841
  matches: readonly import("../types").SearchMatch[];
1809
1842
  }> | null;
1843
+ activeLockedId: string | null;
1844
+ lockedMultiSelections: {
1845
+ [groupId: string]: true;
1846
+ };
1847
+ stylesPanelMode: "compact" | "full";
1810
1848
  };
1811
1849
  captureUpdate: "NEVER";
1812
1850
  };
1813
- PanelComponent: ({ elements, appState, app, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1851
+ PanelComponent: ({ elements, appState, app, updateData, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1814
1852
  } & {
1815
1853
  keyTest?: undefined;
1816
1854
  };
@@ -1840,7 +1878,7 @@ export declare const actionChangeTextAlign: {
1840
1878
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1841
1879
  isBindingEnabled: boolean;
1842
1880
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1843
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1881
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1844
1882
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1845
1883
  frameRendering: {
1846
1884
  enabled: boolean;
@@ -1851,7 +1889,6 @@ export declare const actionChangeTextAlign: {
1851
1889
  editingFrame: string | null;
1852
1890
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1853
1891
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1854
- editingLinearElement: LinearElementEditor | null;
1855
1892
  activeTool: {
1856
1893
  lastActiveTool: import("../types").ActiveTool | null;
1857
1894
  locked: boolean;
@@ -1889,7 +1926,7 @@ export declare const actionChangeTextAlign: {
1889
1926
  value: import("../types").NormalizedZoomValue;
1890
1927
  }>;
1891
1928
  openMenu: "canvas" | "shape" | null;
1892
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1929
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1893
1930
  openSidebar: {
1894
1931
  name: string;
1895
1932
  tab?: string | undefined;
@@ -1970,7 +2007,6 @@ export declare const actionChangeTextAlign: {
1970
2007
  shown: true;
1971
2008
  data: import("../charts").Spreadsheet;
1972
2009
  };
1973
- pendingImageElementId: string | null;
1974
2010
  showHyperlinkPopup: false | "editor" | "info";
1975
2011
  selectedLinearElement: LinearElementEditor | null;
1976
2012
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1987,10 +2023,15 @@ export declare const actionChangeTextAlign: {
1987
2023
  focusedId: string | null;
1988
2024
  matches: readonly import("../types").SearchMatch[];
1989
2025
  }> | null;
2026
+ activeLockedId: string | null;
2027
+ lockedMultiSelections: {
2028
+ [groupId: string]: true;
2029
+ };
2030
+ stylesPanelMode: "compact" | "full";
1990
2031
  };
1991
2032
  captureUpdate: "IMMEDIATELY";
1992
2033
  };
1993
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2034
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1994
2035
  } & {
1995
2036
  keyTest?: undefined;
1996
2037
  };
@@ -2021,7 +2062,7 @@ export declare const actionChangeVerticalAlign: {
2021
2062
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2022
2063
  isBindingEnabled: boolean;
2023
2064
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2024
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2065
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2025
2066
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2026
2067
  frameRendering: {
2027
2068
  enabled: boolean;
@@ -2032,7 +2073,6 @@ export declare const actionChangeVerticalAlign: {
2032
2073
  editingFrame: string | null;
2033
2074
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2034
2075
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2035
- editingLinearElement: LinearElementEditor | null;
2036
2076
  activeTool: {
2037
2077
  lastActiveTool: import("../types").ActiveTool | null;
2038
2078
  locked: boolean;
@@ -2071,7 +2111,7 @@ export declare const actionChangeVerticalAlign: {
2071
2111
  value: import("../types").NormalizedZoomValue;
2072
2112
  }>;
2073
2113
  openMenu: "canvas" | "shape" | null;
2074
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2114
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2075
2115
  openSidebar: {
2076
2116
  name: string;
2077
2117
  tab?: string | undefined;
@@ -2152,7 +2192,6 @@ export declare const actionChangeVerticalAlign: {
2152
2192
  shown: true;
2153
2193
  data: import("../charts").Spreadsheet;
2154
2194
  };
2155
- pendingImageElementId: string | null;
2156
2195
  showHyperlinkPopup: false | "editor" | "info";
2157
2196
  selectedLinearElement: LinearElementEditor | null;
2158
2197
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2169,10 +2208,15 @@ export declare const actionChangeVerticalAlign: {
2169
2208
  focusedId: string | null;
2170
2209
  matches: readonly import("../types").SearchMatch[];
2171
2210
  }> | null;
2211
+ activeLockedId: string | null;
2212
+ lockedMultiSelections: {
2213
+ [groupId: string]: true;
2214
+ };
2215
+ stylesPanelMode: "compact" | "full";
2172
2216
  };
2173
2217
  captureUpdate: "IMMEDIATELY";
2174
2218
  };
2175
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2219
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2176
2220
  } & {
2177
2221
  keyTest?: undefined;
2178
2222
  };
@@ -2202,7 +2246,7 @@ export declare const actionChangeRoundness: {
2202
2246
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2203
2247
  isBindingEnabled: boolean;
2204
2248
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2205
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2249
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2206
2250
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2207
2251
  frameRendering: {
2208
2252
  enabled: boolean;
@@ -2213,7 +2257,6 @@ export declare const actionChangeRoundness: {
2213
2257
  editingFrame: string | null;
2214
2258
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2215
2259
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2216
- editingLinearElement: LinearElementEditor | null;
2217
2260
  activeTool: {
2218
2261
  lastActiveTool: import("../types").ActiveTool | null;
2219
2262
  locked: boolean;
@@ -2251,7 +2294,7 @@ export declare const actionChangeRoundness: {
2251
2294
  value: import("../types").NormalizedZoomValue;
2252
2295
  }>;
2253
2296
  openMenu: "canvas" | "shape" | null;
2254
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2297
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2255
2298
  openSidebar: {
2256
2299
  name: string;
2257
2300
  tab?: string | undefined;
@@ -2332,7 +2375,6 @@ export declare const actionChangeRoundness: {
2332
2375
  shown: true;
2333
2376
  data: import("../charts").Spreadsheet;
2334
2377
  };
2335
- pendingImageElementId: string | null;
2336
2378
  showHyperlinkPopup: false | "editor" | "info";
2337
2379
  selectedLinearElement: LinearElementEditor | null;
2338
2380
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2349,10 +2391,15 @@ export declare const actionChangeRoundness: {
2349
2391
  focusedId: string | null;
2350
2392
  matches: readonly import("../types").SearchMatch[];
2351
2393
  }> | null;
2394
+ activeLockedId: string | null;
2395
+ lockedMultiSelections: {
2396
+ [groupId: string]: true;
2397
+ };
2398
+ stylesPanelMode: "compact" | "full";
2352
2399
  };
2353
2400
  captureUpdate: "IMMEDIATELY";
2354
2401
  };
2355
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2402
+ PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2356
2403
  } & {
2357
2404
  keyTest?: undefined;
2358
2405
  };
@@ -2384,7 +2431,7 @@ export declare const actionChangeArrowhead: {
2384
2431
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2385
2432
  isBindingEnabled: boolean;
2386
2433
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2387
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2434
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2388
2435
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2389
2436
  frameRendering: {
2390
2437
  enabled: boolean;
@@ -2395,7 +2442,6 @@ export declare const actionChangeArrowhead: {
2395
2442
  editingFrame: string | null;
2396
2443
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2397
2444
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2398
- editingLinearElement: LinearElementEditor | null;
2399
2445
  activeTool: {
2400
2446
  lastActiveTool: import("../types").ActiveTool | null;
2401
2447
  locked: boolean;
@@ -2434,7 +2480,7 @@ export declare const actionChangeArrowhead: {
2434
2480
  value: import("../types").NormalizedZoomValue;
2435
2481
  }>;
2436
2482
  openMenu: "canvas" | "shape" | null;
2437
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2483
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2438
2484
  openSidebar: {
2439
2485
  name: string;
2440
2486
  tab?: string | undefined;
@@ -2515,7 +2561,6 @@ export declare const actionChangeArrowhead: {
2515
2561
  shown: true;
2516
2562
  data: import("../charts").Spreadsheet;
2517
2563
  };
2518
- pendingImageElementId: string | null;
2519
2564
  showHyperlinkPopup: false | "editor" | "info";
2520
2565
  selectedLinearElement: LinearElementEditor | null;
2521
2566
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2532,10 +2577,24 @@ export declare const actionChangeArrowhead: {
2532
2577
  focusedId: string | null;
2533
2578
  matches: readonly import("../types").SearchMatch[];
2534
2579
  }> | null;
2580
+ activeLockedId: string | null;
2581
+ lockedMultiSelections: {
2582
+ [groupId: string]: true;
2583
+ };
2584
+ stylesPanelMode: "compact" | "full";
2535
2585
  };
2536
2586
  captureUpdate: "IMMEDIATELY";
2537
2587
  };
2538
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2588
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2589
+ } & {
2590
+ keyTest?: undefined;
2591
+ };
2592
+ export declare const actionChangeArrowProperties: {
2593
+ name: "changeArrowProperties";
2594
+ label: string;
2595
+ trackEvent: false;
2596
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => false;
2597
+ PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2539
2598
  } & {
2540
2599
  keyTest?: undefined;
2541
2600
  };
@@ -2565,7 +2624,7 @@ export declare const actionChangeArrowType: {
2565
2624
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2566
2625
  isBindingEnabled: boolean;
2567
2626
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2568
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2627
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2569
2628
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2570
2629
  frameRendering: {
2571
2630
  enabled: boolean;
@@ -2576,7 +2635,6 @@ export declare const actionChangeArrowType: {
2576
2635
  editingFrame: string | null;
2577
2636
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2578
2637
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2579
- editingLinearElement: LinearElementEditor | null;
2580
2638
  activeTool: {
2581
2639
  lastActiveTool: import("../types").ActiveTool | null;
2582
2640
  locked: boolean;
@@ -2614,7 +2672,7 @@ export declare const actionChangeArrowType: {
2614
2672
  value: import("../types").NormalizedZoomValue;
2615
2673
  }>;
2616
2674
  openMenu: "canvas" | "shape" | null;
2617
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2675
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2618
2676
  openSidebar: {
2619
2677
  name: string;
2620
2678
  tab?: string | undefined;
@@ -2695,7 +2753,6 @@ export declare const actionChangeArrowType: {
2695
2753
  shown: true;
2696
2754
  data: import("../charts").Spreadsheet;
2697
2755
  };
2698
- pendingImageElementId: string | null;
2699
2756
  showHyperlinkPopup: false | "editor" | "info";
2700
2757
  selectedLinearElement: LinearElementEditor | null;
2701
2758
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2712,10 +2769,15 @@ export declare const actionChangeArrowType: {
2712
2769
  focusedId: string | null;
2713
2770
  matches: readonly import("../types").SearchMatch[];
2714
2771
  }> | null;
2772
+ activeLockedId: string | null;
2773
+ lockedMultiSelections: {
2774
+ [groupId: string]: true;
2775
+ };
2776
+ stylesPanelMode: "compact" | "full";
2715
2777
  };
2716
2778
  captureUpdate: "IMMEDIATELY";
2717
2779
  };
2718
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2780
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2719
2781
  } & {
2720
2782
  keyTest?: undefined;
2721
2783
  };