@excalidraw/excalidraw 0.18.0-a5d6939 → 0.18.0-a8acc82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/dist/dev/chunk-6MX365WZ.js +5666 -0
  2. package/dist/dev/chunk-6MX365WZ.js.map +7 -0
  3. package/dist/dev/chunk-CP5DND7P.js +7 -0
  4. package/dist/dev/chunk-CP5DND7P.js.map +7 -0
  5. package/dist/dev/{chunk-X3RYHLJU.js → chunk-QF5FRM6O.js} +15 -5
  6. package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
  7. package/dist/dev/data/{image-JN3Y4CVN.js → image-GQCFJKGM.js} +3 -3
  8. package/dist/dev/index.css +230 -23
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +10262 -10068
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-CKWC2GMK.js → en-SMAPCEOQ.js} +2 -2
  13. package/dist/dev/subset-shared.chunk.js +1 -1
  14. package/dist/dev/subset-worker.chunk.js +1 -1
  15. package/dist/prod/chunk-A66AFZZU.js +7 -0
  16. package/dist/prod/chunk-I4UNSFV6.js +12 -0
  17. package/dist/prod/chunk-R2M7VUMD.js +4 -0
  18. package/dist/prod/data/image-JWK7QZ22.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +25 -17
  21. package/dist/prod/locales/{en-SBO6ZHT2.js → en-TYY6KWIJ.js} +1 -1
  22. package/dist/prod/subset-shared.chunk.js +1 -1
  23. package/dist/prod/subset-worker.chunk.js +1 -1
  24. package/dist/types/common/src/constants.d.ts +40 -7
  25. package/dist/types/{excalidraw → common/src}/emitter.d.ts +1 -1
  26. package/dist/types/common/src/font-metadata.d.ts +4 -2
  27. package/dist/types/common/src/index.d.ts +1 -0
  28. package/dist/types/common/src/utility-types.d.ts +5 -0
  29. package/dist/types/common/src/utils.d.ts +18 -4
  30. package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +16 -15
  31. package/dist/types/element/src/align.d.ts +4 -3
  32. package/dist/types/element/src/binding.d.ts +25 -14
  33. package/dist/types/element/src/bounds.d.ts +14 -6
  34. package/dist/types/element/src/collision.d.ts +18 -12
  35. package/dist/types/element/src/cropElement.d.ts +1 -1
  36. package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +77 -40
  37. package/dist/types/element/src/distance.d.ts +2 -2
  38. package/dist/types/element/src/distribute.d.ts +2 -1
  39. package/dist/types/element/src/dragElements.d.ts +3 -2
  40. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  41. package/dist/types/element/src/flowchart.d.ts +3 -2
  42. package/dist/types/element/src/fractionalIndex.d.ts +9 -3
  43. package/dist/types/element/src/frame.d.ts +4 -3
  44. package/dist/types/element/src/groups.d.ts +1 -0
  45. package/dist/types/element/src/index.d.ts +44 -2
  46. package/dist/types/element/src/linearElementEditor.d.ts +23 -36
  47. package/dist/types/element/src/mutateElement.d.ts +11 -3
  48. package/dist/types/element/src/newElement.d.ts +4 -3
  49. package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
  50. package/dist/types/element/src/renderElement.d.ts +4 -1
  51. package/dist/types/element/src/resizeElements.d.ts +5 -4
  52. package/dist/types/element/src/selection.d.ts +0 -5
  53. package/dist/types/element/src/shape.d.ts +42 -0
  54. package/dist/types/element/src/sizeHelpers.d.ts +2 -2
  55. package/dist/types/element/src/store.d.ts +237 -0
  56. package/dist/types/element/src/textElement.d.ts +4 -3
  57. package/dist/types/element/src/typeChecks.d.ts +19 -1
  58. package/dist/types/element/src/types.d.ts +15 -2
  59. package/dist/types/element/src/utils.d.ts +16 -6
  60. package/dist/types/element/src/zindex.d.ts +1 -1
  61. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +45 -54
  62. package/dist/types/excalidraw/actions/actionBoundText.d.ts +30 -36
  63. package/dist/types/excalidraw/actions/actionCanvas.d.ts +204 -242
  64. package/dist/types/excalidraw/actions/actionClipboard.d.ts +90 -106
  65. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +15 -18
  66. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +45 -53
  67. package/dist/types/excalidraw/actions/actionElementLink.d.ts +14 -17
  68. package/dist/types/excalidraw/actions/actionElementLock.d.ts +45 -52
  69. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +15 -18
  70. package/dist/types/excalidraw/actions/actionExport.d.ts +145 -172
  71. package/dist/types/excalidraw/actions/actionFinalize.d.ts +77 -42
  72. package/dist/types/excalidraw/actions/actionFrame.d.ts +107 -119
  73. package/dist/types/excalidraw/actions/actionGroup.d.ts +30 -36
  74. package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
  75. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +541 -20
  76. package/dist/types/excalidraw/actions/actionLink.d.ts +14 -17
  77. package/dist/types/excalidraw/actions/actionMenu.d.ts +42 -51
  78. package/dist/types/excalidraw/actions/actionNavigate.d.ts +29 -35
  79. package/dist/types/excalidraw/actions/actionProperties.d.ts +246 -274
  80. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +15 -18
  81. package/dist/types/excalidraw/actions/actionStyles.d.ts +15 -18
  82. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +15 -18
  83. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +15 -18
  84. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +14 -190
  85. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  86. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +15 -18
  87. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +15 -18
  88. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +15 -18
  89. package/dist/types/excalidraw/actions/index.d.ts +1 -1
  90. package/dist/types/excalidraw/actions/types.d.ts +4 -3
  91. package/dist/types/excalidraw/appState.d.ts +20 -10
  92. package/dist/types/excalidraw/clipboard.d.ts +64 -1
  93. package/dist/types/excalidraw/components/Actions.d.ts +8 -5
  94. package/dist/types/excalidraw/components/App.d.ts +30 -30
  95. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
  96. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
  97. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +7 -2
  98. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
  99. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
  100. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
  101. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
  102. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
  103. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  104. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  105. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  106. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
  107. package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
  108. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
  109. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
  110. package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
  111. package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
  112. package/dist/types/excalidraw/components/Range.d.ts +3 -3
  113. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
  114. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  115. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
  116. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
  117. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +12 -2
  118. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
  119. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
  120. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
  121. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
  122. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
  123. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
  124. package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -11
  125. package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  126. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -0
  127. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
  128. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
  129. package/dist/types/excalidraw/components/icons.d.ts +9 -0
  130. package/dist/types/excalidraw/components/shapes.d.ts +129 -1
  131. package/dist/types/excalidraw/data/blob.d.ts +3 -7
  132. package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
  133. package/dist/types/excalidraw/data/restore.d.ts +6 -1
  134. package/dist/types/excalidraw/data/transform.d.ts +1 -1
  135. package/dist/types/excalidraw/data/types.d.ts +4 -1
  136. package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
  137. package/dist/types/excalidraw/eraser/index.d.ts +0 -2
  138. package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
  139. package/dist/types/excalidraw/history.d.ts +30 -22
  140. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  141. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  142. package/dist/types/excalidraw/index.d.ts +11 -10
  143. package/dist/types/excalidraw/lasso/index.d.ts +1 -0
  144. package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
  145. package/dist/types/excalidraw/renderer/helpers.d.ts +7 -2
  146. package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
  147. package/dist/types/excalidraw/scene/Renderer.d.ts +1 -2
  148. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  149. package/dist/types/excalidraw/scene/scrollbars.d.ts +2 -3
  150. package/dist/types/excalidraw/scene/types.d.ts +2 -0
  151. package/dist/types/excalidraw/snapping.d.ts +2 -2
  152. package/dist/types/excalidraw/types.d.ts +36 -15
  153. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
  154. package/dist/types/math/src/angle.d.ts +2 -0
  155. package/dist/types/math/src/constants.d.ts +3 -0
  156. package/dist/types/math/src/curve.d.ts +34 -0
  157. package/dist/types/math/src/index.d.ts +1 -0
  158. package/dist/types/math/src/point.d.ts +1 -1
  159. package/dist/types/math/src/rectangle.d.ts +2 -0
  160. package/dist/types/math/src/segment.d.ts +1 -0
  161. package/dist/types/math/src/vector.d.ts +8 -2
  162. package/dist/types/utils/src/bbox.d.ts +1 -1
  163. package/dist/types/utils/src/index.d.ts +1 -1
  164. package/dist/types/utils/src/withinBounds.d.ts +1 -1
  165. package/history.ts +146 -109
  166. package/package.json +13 -10
  167. package/dist/dev/chunk-GBJ7S76A.js +0 -18599
  168. package/dist/dev/chunk-GBJ7S76A.js.map +0 -7
  169. package/dist/dev/chunk-GIMGG4AT.js +0 -7
  170. package/dist/dev/chunk-GIMGG4AT.js.map +0 -7
  171. package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
  172. package/dist/prod/chunk-GKI4RZ6C.js +0 -7
  173. package/dist/prod/chunk-IUH5AXLB.js +0 -12
  174. package/dist/prod/chunk-TVF64BAY.js +0 -33
  175. package/dist/prod/data/image-CZ2OEVDB.js +0 -1
  176. package/dist/types/element/src/Shape.d.ts +0 -17
  177. package/dist/types/element/src/ShapeCache.d.ts +0 -25
  178. package/dist/types/element/src/shapes.d.ts +0 -23
  179. package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  180. package/dist/types/excalidraw/store.d.ts +0 -129
  181. package/dist/types/excalidraw/visualdebug.d.ts +0 -41
  182. package/dist/types/utils/src/collision.d.ts +0 -8
  183. /package/dist/dev/data/{image-JN3Y4CVN.js.map → image-GQCFJKGM.js.map} +0 -0
  184. /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-SMAPCEOQ.js.map} +0 -0
@@ -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
  };
@@ -40,7 +48,7 @@ export declare const actionChangeFillStyle: {
40
48
  errorMessage: import("react").ReactNode;
41
49
  activeEmbeddable: {
42
50
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
43
- state: "hover" | "active";
51
+ state: "active" | "hover";
44
52
  } | null;
45
53
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
46
54
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -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;
@@ -96,8 +103,8 @@ export declare const actionChangeFillStyle: {
96
103
  zoom: Readonly<{
97
104
  value: import("../types").NormalizedZoomValue;
98
105
  }>;
99
- openMenu: "shape" | "canvas" | null;
100
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
106
+ openMenu: "canvas" | "shape" | null;
107
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
101
108
  openSidebar: {
102
109
  name: string;
103
110
  tab?: string | undefined;
@@ -106,7 +113,7 @@ export declare const actionChangeFillStyle: {
106
113
  name: "imageExport" | "help" | "jsonExport";
107
114
  } | {
108
115
  name: "ttd";
109
- tab: "text-to-diagram" | "mermaid";
116
+ tab: "mermaid" | "text-to-diagram";
110
117
  } | {
111
118
  name: "commandPalette";
112
119
  } | {
@@ -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[];
@@ -191,20 +197,19 @@ export declare const actionChangeFillStyle: {
191
197
  followedBy: Set<import("../types").SocketId>;
192
198
  isCropping: boolean;
193
199
  croppingElementId: string | null;
194
- searchMatches: readonly {
195
- id: string;
196
- focus: boolean;
197
- matchedLines: {
198
- offsetX: number;
199
- offsetY: number;
200
- width: number;
201
- height: number;
202
- }[];
203
- }[];
200
+ searchMatches: Readonly<{
201
+ focusedId: string | null;
202
+ matches: readonly import("../types").SearchMatch[];
203
+ }> | null;
204
+ activeLockedId: string | null;
205
+ lockedMultiSelections: {
206
+ [groupId: string]: true;
207
+ };
208
+ stylesPanelMode: "compact" | "full";
204
209
  };
205
210
  captureUpdate: "IMMEDIATELY";
206
211
  };
207
- 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;
208
213
  } & {
209
214
  keyTest?: undefined;
210
215
  };
@@ -226,7 +231,7 @@ export declare const actionChangeStrokeWidth: {
226
231
  errorMessage: import("react").ReactNode;
227
232
  activeEmbeddable: {
228
233
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
229
- state: "hover" | "active";
234
+ state: "active" | "hover";
230
235
  } | null;
231
236
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
232
237
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -234,7 +239,7 @@ export declare const actionChangeStrokeWidth: {
234
239
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
235
240
  isBindingEnabled: boolean;
236
241
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
237
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
242
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
238
243
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
239
244
  frameRendering: {
240
245
  enabled: boolean;
@@ -245,7 +250,6 @@ export declare const actionChangeStrokeWidth: {
245
250
  editingFrame: string | null;
246
251
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
247
252
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
248
- editingLinearElement: LinearElementEditor | null;
249
253
  activeTool: {
250
254
  lastActiveTool: import("../types").ActiveTool | null;
251
255
  locked: boolean;
@@ -282,8 +286,8 @@ export declare const actionChangeStrokeWidth: {
282
286
  zoom: Readonly<{
283
287
  value: import("../types").NormalizedZoomValue;
284
288
  }>;
285
- openMenu: "shape" | "canvas" | null;
286
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
289
+ openMenu: "canvas" | "shape" | null;
290
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
287
291
  openSidebar: {
288
292
  name: string;
289
293
  tab?: string | undefined;
@@ -292,7 +296,7 @@ export declare const actionChangeStrokeWidth: {
292
296
  name: "imageExport" | "help" | "jsonExport";
293
297
  } | {
294
298
  name: "ttd";
295
- tab: "text-to-diagram" | "mermaid";
299
+ tab: "mermaid" | "text-to-diagram";
296
300
  } | {
297
301
  name: "commandPalette";
298
302
  } | {
@@ -364,7 +368,6 @@ export declare const actionChangeStrokeWidth: {
364
368
  shown: true;
365
369
  data: import("../charts").Spreadsheet;
366
370
  };
367
- pendingImageElementId: string | null;
368
371
  showHyperlinkPopup: false | "editor" | "info";
369
372
  selectedLinearElement: LinearElementEditor | null;
370
373
  snapLines: readonly import("../snapping").SnapLine[];
@@ -377,20 +380,19 @@ export declare const actionChangeStrokeWidth: {
377
380
  followedBy: Set<import("../types").SocketId>;
378
381
  isCropping: boolean;
379
382
  croppingElementId: string | null;
380
- searchMatches: readonly {
381
- id: string;
382
- focus: boolean;
383
- matchedLines: {
384
- offsetX: number;
385
- offsetY: number;
386
- width: number;
387
- height: number;
388
- }[];
389
- }[];
383
+ searchMatches: Readonly<{
384
+ focusedId: string | null;
385
+ matches: readonly import("../types").SearchMatch[];
386
+ }> | null;
387
+ activeLockedId: string | null;
388
+ lockedMultiSelections: {
389
+ [groupId: string]: true;
390
+ };
391
+ stylesPanelMode: "compact" | "full";
390
392
  };
391
393
  captureUpdate: "IMMEDIATELY";
392
394
  };
393
- 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;
394
396
  } & {
395
397
  keyTest?: undefined;
396
398
  };
@@ -412,7 +414,7 @@ export declare const actionChangeSloppiness: {
412
414
  errorMessage: import("react").ReactNode;
413
415
  activeEmbeddable: {
414
416
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
415
- state: "hover" | "active";
417
+ state: "active" | "hover";
416
418
  } | null;
417
419
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
418
420
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -420,7 +422,7 @@ export declare const actionChangeSloppiness: {
420
422
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
421
423
  isBindingEnabled: boolean;
422
424
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
423
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
425
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
424
426
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
425
427
  frameRendering: {
426
428
  enabled: boolean;
@@ -431,7 +433,6 @@ export declare const actionChangeSloppiness: {
431
433
  editingFrame: string | null;
432
434
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
433
435
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
434
- editingLinearElement: LinearElementEditor | null;
435
436
  activeTool: {
436
437
  lastActiveTool: import("../types").ActiveTool | null;
437
438
  locked: boolean;
@@ -468,8 +469,8 @@ export declare const actionChangeSloppiness: {
468
469
  zoom: Readonly<{
469
470
  value: import("../types").NormalizedZoomValue;
470
471
  }>;
471
- openMenu: "shape" | "canvas" | null;
472
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
472
+ openMenu: "canvas" | "shape" | null;
473
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
473
474
  openSidebar: {
474
475
  name: string;
475
476
  tab?: string | undefined;
@@ -478,7 +479,7 @@ export declare const actionChangeSloppiness: {
478
479
  name: "imageExport" | "help" | "jsonExport";
479
480
  } | {
480
481
  name: "ttd";
481
- tab: "text-to-diagram" | "mermaid";
482
+ tab: "mermaid" | "text-to-diagram";
482
483
  } | {
483
484
  name: "commandPalette";
484
485
  } | {
@@ -550,7 +551,6 @@ export declare const actionChangeSloppiness: {
550
551
  shown: true;
551
552
  data: import("../charts").Spreadsheet;
552
553
  };
553
- pendingImageElementId: string | null;
554
554
  showHyperlinkPopup: false | "editor" | "info";
555
555
  selectedLinearElement: LinearElementEditor | null;
556
556
  snapLines: readonly import("../snapping").SnapLine[];
@@ -563,20 +563,19 @@ export declare const actionChangeSloppiness: {
563
563
  followedBy: Set<import("../types").SocketId>;
564
564
  isCropping: boolean;
565
565
  croppingElementId: string | null;
566
- searchMatches: readonly {
567
- id: string;
568
- focus: boolean;
569
- matchedLines: {
570
- offsetX: number;
571
- offsetY: number;
572
- width: number;
573
- height: number;
574
- }[];
575
- }[];
566
+ searchMatches: Readonly<{
567
+ focusedId: string | null;
568
+ matches: readonly import("../types").SearchMatch[];
569
+ }> | null;
570
+ activeLockedId: string | null;
571
+ lockedMultiSelections: {
572
+ [groupId: string]: true;
573
+ };
574
+ stylesPanelMode: "compact" | "full";
576
575
  };
577
576
  captureUpdate: "IMMEDIATELY";
578
577
  };
579
- 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;
580
579
  } & {
581
580
  keyTest?: undefined;
582
581
  };
@@ -598,7 +597,7 @@ export declare const actionChangeStrokeStyle: {
598
597
  errorMessage: import("react").ReactNode;
599
598
  activeEmbeddable: {
600
599
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
601
- state: "hover" | "active";
600
+ state: "active" | "hover";
602
601
  } | null;
603
602
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
604
603
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -606,7 +605,7 @@ export declare const actionChangeStrokeStyle: {
606
605
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
607
606
  isBindingEnabled: boolean;
608
607
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
609
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
608
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
610
609
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
611
610
  frameRendering: {
612
611
  enabled: boolean;
@@ -617,7 +616,6 @@ export declare const actionChangeStrokeStyle: {
617
616
  editingFrame: string | null;
618
617
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
619
618
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
620
- editingLinearElement: LinearElementEditor | null;
621
619
  activeTool: {
622
620
  lastActiveTool: import("../types").ActiveTool | null;
623
621
  locked: boolean;
@@ -654,8 +652,8 @@ export declare const actionChangeStrokeStyle: {
654
652
  zoom: Readonly<{
655
653
  value: import("../types").NormalizedZoomValue;
656
654
  }>;
657
- openMenu: "shape" | "canvas" | null;
658
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
655
+ openMenu: "canvas" | "shape" | null;
656
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
659
657
  openSidebar: {
660
658
  name: string;
661
659
  tab?: string | undefined;
@@ -664,7 +662,7 @@ export declare const actionChangeStrokeStyle: {
664
662
  name: "imageExport" | "help" | "jsonExport";
665
663
  } | {
666
664
  name: "ttd";
667
- tab: "text-to-diagram" | "mermaid";
665
+ tab: "mermaid" | "text-to-diagram";
668
666
  } | {
669
667
  name: "commandPalette";
670
668
  } | {
@@ -736,7 +734,6 @@ export declare const actionChangeStrokeStyle: {
736
734
  shown: true;
737
735
  data: import("../charts").Spreadsheet;
738
736
  };
739
- pendingImageElementId: string | null;
740
737
  showHyperlinkPopup: false | "editor" | "info";
741
738
  selectedLinearElement: LinearElementEditor | null;
742
739
  snapLines: readonly import("../snapping").SnapLine[];
@@ -749,20 +746,19 @@ export declare const actionChangeStrokeStyle: {
749
746
  followedBy: Set<import("../types").SocketId>;
750
747
  isCropping: boolean;
751
748
  croppingElementId: string | null;
752
- searchMatches: readonly {
753
- id: string;
754
- focus: boolean;
755
- matchedLines: {
756
- offsetX: number;
757
- offsetY: number;
758
- width: number;
759
- height: number;
760
- }[];
761
- }[];
749
+ searchMatches: Readonly<{
750
+ focusedId: string | null;
751
+ matches: readonly import("../types").SearchMatch[];
752
+ }> | null;
753
+ activeLockedId: string | null;
754
+ lockedMultiSelections: {
755
+ [groupId: string]: true;
756
+ };
757
+ stylesPanelMode: "compact" | "full";
762
758
  };
763
759
  captureUpdate: "IMMEDIATELY";
764
760
  };
765
- 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;
766
762
  } & {
767
763
  keyTest?: undefined;
768
764
  };
@@ -784,7 +780,7 @@ export declare const actionChangeOpacity: {
784
780
  errorMessage: import("react").ReactNode;
785
781
  activeEmbeddable: {
786
782
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
787
- state: "hover" | "active";
783
+ state: "active" | "hover";
788
784
  } | null;
789
785
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
790
786
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -792,7 +788,7 @@ export declare const actionChangeOpacity: {
792
788
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
793
789
  isBindingEnabled: boolean;
794
790
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
795
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
791
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
796
792
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
797
793
  frameRendering: {
798
794
  enabled: boolean;
@@ -803,7 +799,6 @@ export declare const actionChangeOpacity: {
803
799
  editingFrame: string | null;
804
800
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
805
801
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
806
- editingLinearElement: LinearElementEditor | null;
807
802
  activeTool: {
808
803
  lastActiveTool: import("../types").ActiveTool | null;
809
804
  locked: boolean;
@@ -840,8 +835,8 @@ export declare const actionChangeOpacity: {
840
835
  zoom: Readonly<{
841
836
  value: import("../types").NormalizedZoomValue;
842
837
  }>;
843
- openMenu: "shape" | "canvas" | null;
844
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
838
+ openMenu: "canvas" | "shape" | null;
839
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
845
840
  openSidebar: {
846
841
  name: string;
847
842
  tab?: string | undefined;
@@ -850,7 +845,7 @@ export declare const actionChangeOpacity: {
850
845
  name: "imageExport" | "help" | "jsonExport";
851
846
  } | {
852
847
  name: "ttd";
853
- tab: "text-to-diagram" | "mermaid";
848
+ tab: "mermaid" | "text-to-diagram";
854
849
  } | {
855
850
  name: "commandPalette";
856
851
  } | {
@@ -922,7 +917,6 @@ export declare const actionChangeOpacity: {
922
917
  shown: true;
923
918
  data: import("../charts").Spreadsheet;
924
919
  };
925
- pendingImageElementId: string | null;
926
920
  showHyperlinkPopup: false | "editor" | "info";
927
921
  selectedLinearElement: LinearElementEditor | null;
928
922
  snapLines: readonly import("../snapping").SnapLine[];
@@ -935,20 +929,19 @@ export declare const actionChangeOpacity: {
935
929
  followedBy: Set<import("../types").SocketId>;
936
930
  isCropping: boolean;
937
931
  croppingElementId: string | null;
938
- searchMatches: readonly {
939
- id: string;
940
- focus: boolean;
941
- matchedLines: {
942
- offsetX: number;
943
- offsetY: number;
944
- width: number;
945
- height: number;
946
- }[];
947
- }[];
932
+ searchMatches: Readonly<{
933
+ focusedId: string | null;
934
+ matches: readonly import("../types").SearchMatch[];
935
+ }> | null;
936
+ activeLockedId: string | null;
937
+ lockedMultiSelections: {
938
+ [groupId: string]: true;
939
+ };
940
+ stylesPanelMode: "compact" | "full";
948
941
  };
949
942
  captureUpdate: "IMMEDIATELY";
950
943
  };
951
- 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;
952
945
  } & {
953
946
  keyTest?: undefined;
954
947
  };
@@ -970,7 +963,7 @@ export declare const actionChangeFontSize: {
970
963
  errorMessage: import("react").ReactNode;
971
964
  activeEmbeddable: {
972
965
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
973
- state: "hover" | "active";
966
+ state: "active" | "hover";
974
967
  } | null;
975
968
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
976
969
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -978,7 +971,7 @@ export declare const actionChangeFontSize: {
978
971
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
979
972
  isBindingEnabled: boolean;
980
973
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
981
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
974
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
982
975
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
983
976
  frameRendering: {
984
977
  enabled: boolean;
@@ -989,7 +982,6 @@ export declare const actionChangeFontSize: {
989
982
  editingFrame: string | null;
990
983
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
991
984
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
992
- editingLinearElement: LinearElementEditor | null;
993
985
  activeTool: {
994
986
  lastActiveTool: import("../types").ActiveTool | null;
995
987
  locked: boolean;
@@ -1026,8 +1018,8 @@ export declare const actionChangeFontSize: {
1026
1018
  zoom: Readonly<{
1027
1019
  value: import("../types").NormalizedZoomValue;
1028
1020
  }>;
1029
- openMenu: "shape" | "canvas" | null;
1030
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1021
+ openMenu: "canvas" | "shape" | null;
1022
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1031
1023
  openSidebar: {
1032
1024
  name: string;
1033
1025
  tab?: string | undefined;
@@ -1036,7 +1028,7 @@ export declare const actionChangeFontSize: {
1036
1028
  name: "imageExport" | "help" | "jsonExport";
1037
1029
  } | {
1038
1030
  name: "ttd";
1039
- tab: "text-to-diagram" | "mermaid";
1031
+ tab: "mermaid" | "text-to-diagram";
1040
1032
  } | {
1041
1033
  name: "commandPalette";
1042
1034
  } | {
@@ -1108,7 +1100,6 @@ export declare const actionChangeFontSize: {
1108
1100
  shown: true;
1109
1101
  data: import("../charts").Spreadsheet;
1110
1102
  };
1111
- pendingImageElementId: string | null;
1112
1103
  showHyperlinkPopup: false | "editor" | "info";
1113
1104
  selectedLinearElement: LinearElementEditor | null;
1114
1105
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1121,20 +1112,19 @@ export declare const actionChangeFontSize: {
1121
1112
  followedBy: Set<import("../types").SocketId>;
1122
1113
  isCropping: boolean;
1123
1114
  croppingElementId: string | null;
1124
- searchMatches: readonly {
1125
- id: string;
1126
- focus: boolean;
1127
- matchedLines: {
1128
- offsetX: number;
1129
- offsetY: number;
1130
- width: number;
1131
- height: number;
1132
- }[];
1133
- }[];
1115
+ searchMatches: Readonly<{
1116
+ focusedId: string | null;
1117
+ matches: readonly import("../types").SearchMatch[];
1118
+ }> | null;
1119
+ activeLockedId: string | null;
1120
+ lockedMultiSelections: {
1121
+ [groupId: string]: true;
1122
+ };
1123
+ stylesPanelMode: "compact" | "full";
1134
1124
  };
1135
1125
  captureUpdate: "IMMEDIATELY";
1136
1126
  };
1137
- 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;
1138
1128
  } & {
1139
1129
  keyTest?: undefined;
1140
1130
  };
@@ -1157,7 +1147,7 @@ export declare const actionDecreaseFontSize: {
1157
1147
  errorMessage: import("react").ReactNode;
1158
1148
  activeEmbeddable: {
1159
1149
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1160
- state: "hover" | "active";
1150
+ state: "active" | "hover";
1161
1151
  } | null;
1162
1152
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1163
1153
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1165,7 +1155,7 @@ export declare const actionDecreaseFontSize: {
1165
1155
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1166
1156
  isBindingEnabled: boolean;
1167
1157
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1168
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1158
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1169
1159
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1170
1160
  frameRendering: {
1171
1161
  enabled: boolean;
@@ -1176,7 +1166,6 @@ export declare const actionDecreaseFontSize: {
1176
1166
  editingFrame: string | null;
1177
1167
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1178
1168
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1179
- editingLinearElement: LinearElementEditor | null;
1180
1169
  activeTool: {
1181
1170
  lastActiveTool: import("../types").ActiveTool | null;
1182
1171
  locked: boolean;
@@ -1213,8 +1202,8 @@ export declare const actionDecreaseFontSize: {
1213
1202
  zoom: Readonly<{
1214
1203
  value: import("../types").NormalizedZoomValue;
1215
1204
  }>;
1216
- openMenu: "shape" | "canvas" | null;
1217
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1205
+ openMenu: "canvas" | "shape" | null;
1206
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1218
1207
  openSidebar: {
1219
1208
  name: string;
1220
1209
  tab?: string | undefined;
@@ -1223,7 +1212,7 @@ export declare const actionDecreaseFontSize: {
1223
1212
  name: "imageExport" | "help" | "jsonExport";
1224
1213
  } | {
1225
1214
  name: "ttd";
1226
- tab: "text-to-diagram" | "mermaid";
1215
+ tab: "mermaid" | "text-to-diagram";
1227
1216
  } | {
1228
1217
  name: "commandPalette";
1229
1218
  } | {
@@ -1295,7 +1284,6 @@ export declare const actionDecreaseFontSize: {
1295
1284
  shown: true;
1296
1285
  data: import("../charts").Spreadsheet;
1297
1286
  };
1298
- pendingImageElementId: string | null;
1299
1287
  showHyperlinkPopup: false | "editor" | "info";
1300
1288
  selectedLinearElement: LinearElementEditor | null;
1301
1289
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1308,16 +1296,15 @@ export declare const actionDecreaseFontSize: {
1308
1296
  followedBy: Set<import("../types").SocketId>;
1309
1297
  isCropping: boolean;
1310
1298
  croppingElementId: string | null;
1311
- searchMatches: readonly {
1312
- id: string;
1313
- focus: boolean;
1314
- matchedLines: {
1315
- offsetX: number;
1316
- offsetY: number;
1317
- width: number;
1318
- height: number;
1319
- }[];
1320
- }[];
1299
+ searchMatches: Readonly<{
1300
+ focusedId: string | null;
1301
+ matches: readonly import("../types").SearchMatch[];
1302
+ }> | null;
1303
+ activeLockedId: string | null;
1304
+ lockedMultiSelections: {
1305
+ [groupId: string]: true;
1306
+ };
1307
+ stylesPanelMode: "compact" | "full";
1321
1308
  };
1322
1309
  captureUpdate: "IMMEDIATELY";
1323
1310
  };
@@ -1344,7 +1331,7 @@ export declare const actionIncreaseFontSize: {
1344
1331
  errorMessage: import("react").ReactNode;
1345
1332
  activeEmbeddable: {
1346
1333
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1347
- state: "hover" | "active";
1334
+ state: "active" | "hover";
1348
1335
  } | null;
1349
1336
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1350
1337
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1352,7 +1339,7 @@ export declare const actionIncreaseFontSize: {
1352
1339
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1353
1340
  isBindingEnabled: boolean;
1354
1341
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1355
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1342
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1356
1343
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1357
1344
  frameRendering: {
1358
1345
  enabled: boolean;
@@ -1363,7 +1350,6 @@ export declare const actionIncreaseFontSize: {
1363
1350
  editingFrame: string | null;
1364
1351
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1365
1352
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1366
- editingLinearElement: LinearElementEditor | null;
1367
1353
  activeTool: {
1368
1354
  lastActiveTool: import("../types").ActiveTool | null;
1369
1355
  locked: boolean;
@@ -1400,8 +1386,8 @@ export declare const actionIncreaseFontSize: {
1400
1386
  zoom: Readonly<{
1401
1387
  value: import("../types").NormalizedZoomValue;
1402
1388
  }>;
1403
- openMenu: "shape" | "canvas" | null;
1404
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1389
+ openMenu: "canvas" | "shape" | null;
1390
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1405
1391
  openSidebar: {
1406
1392
  name: string;
1407
1393
  tab?: string | undefined;
@@ -1410,7 +1396,7 @@ export declare const actionIncreaseFontSize: {
1410
1396
  name: "imageExport" | "help" | "jsonExport";
1411
1397
  } | {
1412
1398
  name: "ttd";
1413
- tab: "text-to-diagram" | "mermaid";
1399
+ tab: "mermaid" | "text-to-diagram";
1414
1400
  } | {
1415
1401
  name: "commandPalette";
1416
1402
  } | {
@@ -1482,7 +1468,6 @@ export declare const actionIncreaseFontSize: {
1482
1468
  shown: true;
1483
1469
  data: import("../charts").Spreadsheet;
1484
1470
  };
1485
- pendingImageElementId: string | null;
1486
1471
  showHyperlinkPopup: false | "editor" | "info";
1487
1472
  selectedLinearElement: LinearElementEditor | null;
1488
1473
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1495,16 +1480,15 @@ export declare const actionIncreaseFontSize: {
1495
1480
  followedBy: Set<import("../types").SocketId>;
1496
1481
  isCropping: boolean;
1497
1482
  croppingElementId: string | null;
1498
- searchMatches: readonly {
1499
- id: string;
1500
- focus: boolean;
1501
- matchedLines: {
1502
- offsetX: number;
1503
- offsetY: number;
1504
- width: number;
1505
- height: number;
1506
- }[];
1507
- }[];
1483
+ searchMatches: Readonly<{
1484
+ focusedId: string | null;
1485
+ matches: readonly import("../types").SearchMatch[];
1486
+ }> | null;
1487
+ activeLockedId: string | null;
1488
+ lockedMultiSelections: {
1489
+ [groupId: string]: true;
1490
+ };
1491
+ stylesPanelMode: "compact" | "full";
1508
1492
  };
1509
1493
  captureUpdate: "IMMEDIATELY";
1510
1494
  };
@@ -1518,9 +1502,9 @@ export declare const actionChangeFontFamily: {
1518
1502
  trackEvent: false;
1519
1503
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
1520
1504
  appState: {
1521
- currentHoveredFontFamily: number | null;
1522
1505
  currentItemFontFamily: number;
1523
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1506
+ currentHoveredFontFamily: number | null;
1507
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1524
1508
  contextMenu: {
1525
1509
  items: import("../components/ContextMenu").ContextMenuItems;
1526
1510
  top: number;
@@ -1531,7 +1515,7 @@ export declare const actionChangeFontFamily: {
1531
1515
  errorMessage: import("react").ReactNode;
1532
1516
  activeEmbeddable: {
1533
1517
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1534
- state: "hover" | "active";
1518
+ state: "active" | "hover";
1535
1519
  } | null;
1536
1520
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1537
1521
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1539,7 +1523,7 @@ export declare const actionChangeFontFamily: {
1539
1523
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1540
1524
  isBindingEnabled: boolean;
1541
1525
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1542
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1526
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1543
1527
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1544
1528
  frameRendering: {
1545
1529
  enabled: boolean;
@@ -1550,7 +1534,6 @@ export declare const actionChangeFontFamily: {
1550
1534
  editingFrame: string | null;
1551
1535
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1552
1536
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1553
- editingLinearElement: LinearElementEditor | null;
1554
1537
  activeTool: {
1555
1538
  lastActiveTool: import("../types").ActiveTool | null;
1556
1539
  locked: boolean;
@@ -1586,7 +1569,7 @@ export declare const actionChangeFontFamily: {
1586
1569
  zoom: Readonly<{
1587
1570
  value: import("../types").NormalizedZoomValue;
1588
1571
  }>;
1589
- openMenu: "shape" | "canvas" | null;
1572
+ openMenu: "canvas" | "shape" | null;
1590
1573
  openSidebar: {
1591
1574
  name: string;
1592
1575
  tab?: string | undefined;
@@ -1595,7 +1578,7 @@ export declare const actionChangeFontFamily: {
1595
1578
  name: "imageExport" | "help" | "jsonExport";
1596
1579
  } | {
1597
1580
  name: "ttd";
1598
- tab: "text-to-diagram" | "mermaid";
1581
+ tab: "mermaid" | "text-to-diagram";
1599
1582
  } | {
1600
1583
  name: "commandPalette";
1601
1584
  } | {
@@ -1667,7 +1650,6 @@ export declare const actionChangeFontFamily: {
1667
1650
  shown: true;
1668
1651
  data: import("../charts").Spreadsheet;
1669
1652
  };
1670
- pendingImageElementId: string | null;
1671
1653
  showHyperlinkPopup: false | "editor" | "info";
1672
1654
  selectedLinearElement: LinearElementEditor | null;
1673
1655
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1680,24 +1662,23 @@ export declare const actionChangeFontFamily: {
1680
1662
  followedBy: Set<import("../types").SocketId>;
1681
1663
  isCropping: boolean;
1682
1664
  croppingElementId: string | null;
1683
- searchMatches: readonly {
1684
- id: string;
1685
- focus: boolean;
1686
- matchedLines: {
1687
- offsetX: number;
1688
- offsetY: number;
1689
- width: number;
1690
- height: number;
1691
- }[];
1692
- }[];
1665
+ searchMatches: Readonly<{
1666
+ focusedId: string | null;
1667
+ matches: readonly import("../types").SearchMatch[];
1668
+ }> | null;
1669
+ activeLockedId: string | null;
1670
+ lockedMultiSelections: {
1671
+ [groupId: string]: true;
1672
+ };
1673
+ stylesPanelMode: "compact" | "full";
1693
1674
  };
1694
1675
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
1695
1676
  } | {
1696
1677
  elements: ExcalidrawElement[];
1697
1678
  appState: {
1698
- currentHoveredFontFamily: number | null;
1699
1679
  currentItemFontFamily: number;
1700
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1680
+ currentHoveredFontFamily: number | null;
1681
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1701
1682
  contextMenu: {
1702
1683
  items: import("../components/ContextMenu").ContextMenuItems;
1703
1684
  top: number;
@@ -1708,7 +1689,7 @@ export declare const actionChangeFontFamily: {
1708
1689
  errorMessage: import("react").ReactNode;
1709
1690
  activeEmbeddable: {
1710
1691
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1711
- state: "hover" | "active";
1692
+ state: "active" | "hover";
1712
1693
  } | null;
1713
1694
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1714
1695
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1716,7 +1697,7 @@ export declare const actionChangeFontFamily: {
1716
1697
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1717
1698
  isBindingEnabled: boolean;
1718
1699
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1719
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1700
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1720
1701
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1721
1702
  frameRendering: {
1722
1703
  enabled: boolean;
@@ -1727,7 +1708,6 @@ export declare const actionChangeFontFamily: {
1727
1708
  editingFrame: string | null;
1728
1709
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1729
1710
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1730
- editingLinearElement: LinearElementEditor | null;
1731
1711
  activeTool: {
1732
1712
  lastActiveTool: import("../types").ActiveTool | null;
1733
1713
  locked: boolean;
@@ -1763,7 +1743,7 @@ export declare const actionChangeFontFamily: {
1763
1743
  zoom: Readonly<{
1764
1744
  value: import("../types").NormalizedZoomValue;
1765
1745
  }>;
1766
- openMenu: "shape" | "canvas" | null;
1746
+ openMenu: "canvas" | "shape" | null;
1767
1747
  openSidebar: {
1768
1748
  name: string;
1769
1749
  tab?: string | undefined;
@@ -1772,7 +1752,7 @@ export declare const actionChangeFontFamily: {
1772
1752
  name: "imageExport" | "help" | "jsonExport";
1773
1753
  } | {
1774
1754
  name: "ttd";
1775
- tab: "text-to-diagram" | "mermaid";
1755
+ tab: "mermaid" | "text-to-diagram";
1776
1756
  } | {
1777
1757
  name: "commandPalette";
1778
1758
  } | {
@@ -1844,7 +1824,6 @@ export declare const actionChangeFontFamily: {
1844
1824
  shown: true;
1845
1825
  data: import("../charts").Spreadsheet;
1846
1826
  };
1847
- pendingImageElementId: string | null;
1848
1827
  showHyperlinkPopup: false | "editor" | "info";
1849
1828
  selectedLinearElement: LinearElementEditor | null;
1850
1829
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1857,20 +1836,19 @@ export declare const actionChangeFontFamily: {
1857
1836
  followedBy: Set<import("../types").SocketId>;
1858
1837
  isCropping: boolean;
1859
1838
  croppingElementId: string | null;
1860
- searchMatches: readonly {
1861
- id: string;
1862
- focus: boolean;
1863
- matchedLines: {
1864
- offsetX: number;
1865
- offsetY: number;
1866
- width: number;
1867
- height: number;
1868
- }[];
1869
- }[];
1839
+ searchMatches: Readonly<{
1840
+ focusedId: string | null;
1841
+ matches: readonly import("../types").SearchMatch[];
1842
+ }> | null;
1843
+ activeLockedId: string | null;
1844
+ lockedMultiSelections: {
1845
+ [groupId: string]: true;
1846
+ };
1847
+ stylesPanelMode: "compact" | "full";
1870
1848
  };
1871
1849
  captureUpdate: "NEVER";
1872
1850
  };
1873
- 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;
1874
1852
  } & {
1875
1853
  keyTest?: undefined;
1876
1854
  };
@@ -1892,7 +1870,7 @@ export declare const actionChangeTextAlign: {
1892
1870
  errorMessage: import("react").ReactNode;
1893
1871
  activeEmbeddable: {
1894
1872
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1895
- state: "hover" | "active";
1873
+ state: "active" | "hover";
1896
1874
  } | null;
1897
1875
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1898
1876
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1900,7 +1878,7 @@ export declare const actionChangeTextAlign: {
1900
1878
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1901
1879
  isBindingEnabled: boolean;
1902
1880
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1903
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1881
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1904
1882
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1905
1883
  frameRendering: {
1906
1884
  enabled: boolean;
@@ -1911,7 +1889,6 @@ export declare const actionChangeTextAlign: {
1911
1889
  editingFrame: string | null;
1912
1890
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1913
1891
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1914
- editingLinearElement: LinearElementEditor | null;
1915
1892
  activeTool: {
1916
1893
  lastActiveTool: import("../types").ActiveTool | null;
1917
1894
  locked: boolean;
@@ -1948,8 +1925,8 @@ export declare const actionChangeTextAlign: {
1948
1925
  zoom: Readonly<{
1949
1926
  value: import("../types").NormalizedZoomValue;
1950
1927
  }>;
1951
- openMenu: "shape" | "canvas" | null;
1952
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1928
+ openMenu: "canvas" | "shape" | null;
1929
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1953
1930
  openSidebar: {
1954
1931
  name: string;
1955
1932
  tab?: string | undefined;
@@ -1958,7 +1935,7 @@ export declare const actionChangeTextAlign: {
1958
1935
  name: "imageExport" | "help" | "jsonExport";
1959
1936
  } | {
1960
1937
  name: "ttd";
1961
- tab: "text-to-diagram" | "mermaid";
1938
+ tab: "mermaid" | "text-to-diagram";
1962
1939
  } | {
1963
1940
  name: "commandPalette";
1964
1941
  } | {
@@ -2030,7 +2007,6 @@ export declare const actionChangeTextAlign: {
2030
2007
  shown: true;
2031
2008
  data: import("../charts").Spreadsheet;
2032
2009
  };
2033
- pendingImageElementId: string | null;
2034
2010
  showHyperlinkPopup: false | "editor" | "info";
2035
2011
  selectedLinearElement: LinearElementEditor | null;
2036
2012
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2043,20 +2019,19 @@ export declare const actionChangeTextAlign: {
2043
2019
  followedBy: Set<import("../types").SocketId>;
2044
2020
  isCropping: boolean;
2045
2021
  croppingElementId: string | null;
2046
- searchMatches: readonly {
2047
- id: string;
2048
- focus: boolean;
2049
- matchedLines: {
2050
- offsetX: number;
2051
- offsetY: number;
2052
- width: number;
2053
- height: number;
2054
- }[];
2055
- }[];
2022
+ searchMatches: Readonly<{
2023
+ focusedId: string | null;
2024
+ matches: readonly import("../types").SearchMatch[];
2025
+ }> | null;
2026
+ activeLockedId: string | null;
2027
+ lockedMultiSelections: {
2028
+ [groupId: string]: true;
2029
+ };
2030
+ stylesPanelMode: "compact" | "full";
2056
2031
  };
2057
2032
  captureUpdate: "IMMEDIATELY";
2058
2033
  };
2059
- 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;
2060
2035
  } & {
2061
2036
  keyTest?: undefined;
2062
2037
  };
@@ -2079,7 +2054,7 @@ export declare const actionChangeVerticalAlign: {
2079
2054
  errorMessage: import("react").ReactNode;
2080
2055
  activeEmbeddable: {
2081
2056
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2082
- state: "hover" | "active";
2057
+ state: "active" | "hover";
2083
2058
  } | null;
2084
2059
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2085
2060
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2087,7 +2062,7 @@ export declare const actionChangeVerticalAlign: {
2087
2062
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2088
2063
  isBindingEnabled: boolean;
2089
2064
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2090
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2065
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2091
2066
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2092
2067
  frameRendering: {
2093
2068
  enabled: boolean;
@@ -2098,7 +2073,6 @@ export declare const actionChangeVerticalAlign: {
2098
2073
  editingFrame: string | null;
2099
2074
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2100
2075
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2101
- editingLinearElement: LinearElementEditor | null;
2102
2076
  activeTool: {
2103
2077
  lastActiveTool: import("../types").ActiveTool | null;
2104
2078
  locked: boolean;
@@ -2136,8 +2110,8 @@ export declare const actionChangeVerticalAlign: {
2136
2110
  zoom: Readonly<{
2137
2111
  value: import("../types").NormalizedZoomValue;
2138
2112
  }>;
2139
- openMenu: "shape" | "canvas" | null;
2140
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2113
+ openMenu: "canvas" | "shape" | null;
2114
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2141
2115
  openSidebar: {
2142
2116
  name: string;
2143
2117
  tab?: string | undefined;
@@ -2146,7 +2120,7 @@ export declare const actionChangeVerticalAlign: {
2146
2120
  name: "imageExport" | "help" | "jsonExport";
2147
2121
  } | {
2148
2122
  name: "ttd";
2149
- tab: "text-to-diagram" | "mermaid";
2123
+ tab: "mermaid" | "text-to-diagram";
2150
2124
  } | {
2151
2125
  name: "commandPalette";
2152
2126
  } | {
@@ -2218,7 +2192,6 @@ export declare const actionChangeVerticalAlign: {
2218
2192
  shown: true;
2219
2193
  data: import("../charts").Spreadsheet;
2220
2194
  };
2221
- pendingImageElementId: string | null;
2222
2195
  showHyperlinkPopup: false | "editor" | "info";
2223
2196
  selectedLinearElement: LinearElementEditor | null;
2224
2197
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2231,20 +2204,19 @@ export declare const actionChangeVerticalAlign: {
2231
2204
  followedBy: Set<import("../types").SocketId>;
2232
2205
  isCropping: boolean;
2233
2206
  croppingElementId: string | null;
2234
- searchMatches: readonly {
2235
- id: string;
2236
- focus: boolean;
2237
- matchedLines: {
2238
- offsetX: number;
2239
- offsetY: number;
2240
- width: number;
2241
- height: number;
2242
- }[];
2243
- }[];
2207
+ searchMatches: Readonly<{
2208
+ focusedId: string | null;
2209
+ matches: readonly import("../types").SearchMatch[];
2210
+ }> | null;
2211
+ activeLockedId: string | null;
2212
+ lockedMultiSelections: {
2213
+ [groupId: string]: true;
2214
+ };
2215
+ stylesPanelMode: "compact" | "full";
2244
2216
  };
2245
2217
  captureUpdate: "IMMEDIATELY";
2246
2218
  };
2247
- 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;
2248
2220
  } & {
2249
2221
  keyTest?: undefined;
2250
2222
  };
@@ -2266,7 +2238,7 @@ export declare const actionChangeRoundness: {
2266
2238
  errorMessage: import("react").ReactNode;
2267
2239
  activeEmbeddable: {
2268
2240
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2269
- state: "hover" | "active";
2241
+ state: "active" | "hover";
2270
2242
  } | null;
2271
2243
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2272
2244
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2274,7 +2246,7 @@ export declare const actionChangeRoundness: {
2274
2246
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2275
2247
  isBindingEnabled: boolean;
2276
2248
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2277
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2249
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2278
2250
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2279
2251
  frameRendering: {
2280
2252
  enabled: boolean;
@@ -2285,7 +2257,6 @@ export declare const actionChangeRoundness: {
2285
2257
  editingFrame: string | null;
2286
2258
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2287
2259
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2288
- editingLinearElement: LinearElementEditor | null;
2289
2260
  activeTool: {
2290
2261
  lastActiveTool: import("../types").ActiveTool | null;
2291
2262
  locked: boolean;
@@ -2322,8 +2293,8 @@ export declare const actionChangeRoundness: {
2322
2293
  zoom: Readonly<{
2323
2294
  value: import("../types").NormalizedZoomValue;
2324
2295
  }>;
2325
- openMenu: "shape" | "canvas" | null;
2326
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2296
+ openMenu: "canvas" | "shape" | null;
2297
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2327
2298
  openSidebar: {
2328
2299
  name: string;
2329
2300
  tab?: string | undefined;
@@ -2332,7 +2303,7 @@ export declare const actionChangeRoundness: {
2332
2303
  name: "imageExport" | "help" | "jsonExport";
2333
2304
  } | {
2334
2305
  name: "ttd";
2335
- tab: "text-to-diagram" | "mermaid";
2306
+ tab: "mermaid" | "text-to-diagram";
2336
2307
  } | {
2337
2308
  name: "commandPalette";
2338
2309
  } | {
@@ -2404,7 +2375,6 @@ export declare const actionChangeRoundness: {
2404
2375
  shown: true;
2405
2376
  data: import("../charts").Spreadsheet;
2406
2377
  };
2407
- pendingImageElementId: string | null;
2408
2378
  showHyperlinkPopup: false | "editor" | "info";
2409
2379
  selectedLinearElement: LinearElementEditor | null;
2410
2380
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2417,20 +2387,19 @@ export declare const actionChangeRoundness: {
2417
2387
  followedBy: Set<import("../types").SocketId>;
2418
2388
  isCropping: boolean;
2419
2389
  croppingElementId: string | null;
2420
- searchMatches: readonly {
2421
- id: string;
2422
- focus: boolean;
2423
- matchedLines: {
2424
- offsetX: number;
2425
- offsetY: number;
2426
- width: number;
2427
- height: number;
2428
- }[];
2429
- }[];
2390
+ searchMatches: Readonly<{
2391
+ focusedId: string | null;
2392
+ matches: readonly import("../types").SearchMatch[];
2393
+ }> | null;
2394
+ activeLockedId: string | null;
2395
+ lockedMultiSelections: {
2396
+ [groupId: string]: true;
2397
+ };
2398
+ stylesPanelMode: "compact" | "full";
2430
2399
  };
2431
2400
  captureUpdate: "IMMEDIATELY";
2432
2401
  };
2433
- 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;
2434
2403
  } & {
2435
2404
  keyTest?: undefined;
2436
2405
  };
@@ -2454,7 +2423,7 @@ export declare const actionChangeArrowhead: {
2454
2423
  errorMessage: import("react").ReactNode;
2455
2424
  activeEmbeddable: {
2456
2425
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2457
- state: "hover" | "active";
2426
+ state: "active" | "hover";
2458
2427
  } | null;
2459
2428
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2460
2429
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2462,7 +2431,7 @@ export declare const actionChangeArrowhead: {
2462
2431
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2463
2432
  isBindingEnabled: boolean;
2464
2433
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2465
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2434
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2466
2435
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2467
2436
  frameRendering: {
2468
2437
  enabled: boolean;
@@ -2473,7 +2442,6 @@ export declare const actionChangeArrowhead: {
2473
2442
  editingFrame: string | null;
2474
2443
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2475
2444
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2476
- editingLinearElement: LinearElementEditor | null;
2477
2445
  activeTool: {
2478
2446
  lastActiveTool: import("../types").ActiveTool | null;
2479
2447
  locked: boolean;
@@ -2511,8 +2479,8 @@ export declare const actionChangeArrowhead: {
2511
2479
  zoom: Readonly<{
2512
2480
  value: import("../types").NormalizedZoomValue;
2513
2481
  }>;
2514
- openMenu: "shape" | "canvas" | null;
2515
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2482
+ openMenu: "canvas" | "shape" | null;
2483
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2516
2484
  openSidebar: {
2517
2485
  name: string;
2518
2486
  tab?: string | undefined;
@@ -2521,7 +2489,7 @@ export declare const actionChangeArrowhead: {
2521
2489
  name: "imageExport" | "help" | "jsonExport";
2522
2490
  } | {
2523
2491
  name: "ttd";
2524
- tab: "text-to-diagram" | "mermaid";
2492
+ tab: "mermaid" | "text-to-diagram";
2525
2493
  } | {
2526
2494
  name: "commandPalette";
2527
2495
  } | {
@@ -2593,7 +2561,6 @@ export declare const actionChangeArrowhead: {
2593
2561
  shown: true;
2594
2562
  data: import("../charts").Spreadsheet;
2595
2563
  };
2596
- pendingImageElementId: string | null;
2597
2564
  showHyperlinkPopup: false | "editor" | "info";
2598
2565
  selectedLinearElement: LinearElementEditor | null;
2599
2566
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2606,20 +2573,28 @@ export declare const actionChangeArrowhead: {
2606
2573
  followedBy: Set<import("../types").SocketId>;
2607
2574
  isCropping: boolean;
2608
2575
  croppingElementId: string | null;
2609
- searchMatches: readonly {
2610
- id: string;
2611
- focus: boolean;
2612
- matchedLines: {
2613
- offsetX: number;
2614
- offsetY: number;
2615
- width: number;
2616
- height: number;
2617
- }[];
2618
- }[];
2576
+ searchMatches: Readonly<{
2577
+ focusedId: string | null;
2578
+ matches: readonly import("../types").SearchMatch[];
2579
+ }> | null;
2580
+ activeLockedId: string | null;
2581
+ lockedMultiSelections: {
2582
+ [groupId: string]: true;
2583
+ };
2584
+ stylesPanelMode: "compact" | "full";
2619
2585
  };
2620
2586
  captureUpdate: "IMMEDIATELY";
2621
2587
  };
2622
- 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;
2623
2598
  } & {
2624
2599
  keyTest?: undefined;
2625
2600
  };
@@ -2641,7 +2616,7 @@ export declare const actionChangeArrowType: {
2641
2616
  errorMessage: import("react").ReactNode;
2642
2617
  activeEmbeddable: {
2643
2618
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2644
- state: "hover" | "active";
2619
+ state: "active" | "hover";
2645
2620
  } | null;
2646
2621
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2647
2622
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2649,7 +2624,7 @@ export declare const actionChangeArrowType: {
2649
2624
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2650
2625
  isBindingEnabled: boolean;
2651
2626
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2652
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2627
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2653
2628
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2654
2629
  frameRendering: {
2655
2630
  enabled: boolean;
@@ -2660,7 +2635,6 @@ export declare const actionChangeArrowType: {
2660
2635
  editingFrame: string | null;
2661
2636
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2662
2637
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2663
- editingLinearElement: LinearElementEditor | null;
2664
2638
  activeTool: {
2665
2639
  lastActiveTool: import("../types").ActiveTool | null;
2666
2640
  locked: boolean;
@@ -2697,8 +2671,8 @@ export declare const actionChangeArrowType: {
2697
2671
  zoom: Readonly<{
2698
2672
  value: import("../types").NormalizedZoomValue;
2699
2673
  }>;
2700
- openMenu: "shape" | "canvas" | null;
2701
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2674
+ openMenu: "canvas" | "shape" | null;
2675
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2702
2676
  openSidebar: {
2703
2677
  name: string;
2704
2678
  tab?: string | undefined;
@@ -2707,7 +2681,7 @@ export declare const actionChangeArrowType: {
2707
2681
  name: "imageExport" | "help" | "jsonExport";
2708
2682
  } | {
2709
2683
  name: "ttd";
2710
- tab: "text-to-diagram" | "mermaid";
2684
+ tab: "mermaid" | "text-to-diagram";
2711
2685
  } | {
2712
2686
  name: "commandPalette";
2713
2687
  } | {
@@ -2779,7 +2753,6 @@ export declare const actionChangeArrowType: {
2779
2753
  shown: true;
2780
2754
  data: import("../charts").Spreadsheet;
2781
2755
  };
2782
- pendingImageElementId: string | null;
2783
2756
  showHyperlinkPopup: false | "editor" | "info";
2784
2757
  selectedLinearElement: LinearElementEditor | null;
2785
2758
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2792,20 +2765,19 @@ export declare const actionChangeArrowType: {
2792
2765
  followedBy: Set<import("../types").SocketId>;
2793
2766
  isCropping: boolean;
2794
2767
  croppingElementId: string | null;
2795
- searchMatches: readonly {
2796
- id: string;
2797
- focus: boolean;
2798
- matchedLines: {
2799
- offsetX: number;
2800
- offsetY: number;
2801
- width: number;
2802
- height: number;
2803
- }[];
2804
- }[];
2768
+ searchMatches: Readonly<{
2769
+ focusedId: string | null;
2770
+ matches: readonly import("../types").SearchMatch[];
2771
+ }> | null;
2772
+ activeLockedId: string | null;
2773
+ lockedMultiSelections: {
2774
+ [groupId: string]: true;
2775
+ };
2776
+ stylesPanelMode: "compact" | "full";
2805
2777
  };
2806
2778
  captureUpdate: "IMMEDIATELY";
2807
2779
  };
2808
- 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;
2809
2781
  } & {
2810
2782
  keyTest?: undefined;
2811
2783
  };