@dwelle/excalidraw 0.5.0-8cb033d → 0.5.0-90f2d4e

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 (141) hide show
  1. package/dist/dev/{chunk-C6WW3IWU.js → chunk-BIYCCCC4.js} +14 -4
  2. package/dist/dev/chunk-BIYCCCC4.js.map +7 -0
  3. package/dist/dev/chunk-QW2KPMGE.js +7 -0
  4. package/dist/dev/chunk-QW2KPMGE.js.map +7 -0
  5. package/dist/dev/{chunk-2LNRWI74.js → chunk-VPDGV5DO.js} +9679 -8756
  6. package/dist/dev/chunk-VPDGV5DO.js.map +7 -0
  7. package/dist/dev/data/{image-7QZI7GM4.js → image-RC4Z3PZK.js} +3 -3
  8. package/dist/dev/index.css +695 -506
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +4223 -2821
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-VFJV7E2V.js → en-XLJO5VTH.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-DUG5AXRR.js +33 -0
  16. package/dist/prod/chunk-M2OFWNPH.js +7 -0
  17. package/dist/prod/{chunk-O65DDAOS.js → chunk-SPUFWQ3U.js} +4 -4
  18. package/dist/prod/data/image-W7J67QSB.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +20 -20
  21. package/dist/prod/locales/{en-UUHXMMMY.js → en-DMU2KFKH.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 -6
  25. package/dist/types/common/src/utils.d.ts +6 -5
  26. package/dist/types/element/src/Scene.d.ts +7 -3
  27. package/dist/types/element/src/align.d.ts +2 -1
  28. package/dist/types/element/src/binding.d.ts +10 -7
  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/fractionalIndex.d.ts +8 -2
  36. package/dist/types/element/src/frame.d.ts +2 -2
  37. package/dist/types/element/src/groups.d.ts +1 -0
  38. package/dist/types/element/src/index.d.ts +2 -3
  39. package/dist/types/element/src/linearElementEditor.d.ts +13 -15
  40. package/dist/types/element/src/mutateElement.d.ts +1 -1
  41. package/dist/types/element/src/newElement.d.ts +2 -1
  42. package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
  43. package/dist/types/element/src/renderElement.d.ts +4 -1
  44. package/dist/types/element/src/resizeElements.d.ts +1 -0
  45. package/dist/types/element/src/selection.d.ts +1 -1
  46. package/dist/types/element/src/shape.d.ts +42 -0
  47. package/dist/types/element/src/sizeHelpers.d.ts +2 -1
  48. package/dist/types/element/src/store.d.ts +19 -9
  49. package/dist/types/element/src/textElement.d.ts +1 -1
  50. package/dist/types/element/src/transformHandles.d.ts +4 -4
  51. package/dist/types/element/src/typeChecks.d.ts +15 -1
  52. package/dist/types/element/src/types.d.ts +8 -3
  53. package/dist/types/element/src/utils.d.ts +16 -6
  54. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +15 -18
  55. package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
  56. package/dist/types/excalidraw/actions/actionBoundText.d.ts +10 -12
  57. package/dist/types/excalidraw/actions/actionCanvas.d.ts +158 -170
  58. package/dist/types/excalidraw/actions/actionClipboard.d.ts +38 -42
  59. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +5 -6
  60. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +21 -23
  61. package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
  62. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  63. package/dist/types/excalidraw/actions/actionElementLink.d.ts +4 -5
  64. package/dist/types/excalidraw/actions/actionElementLock.d.ts +12 -14
  65. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +5 -6
  66. package/dist/types/excalidraw/actions/actionExport.d.ts +130 -139
  67. package/dist/types/excalidraw/actions/actionFinalize.d.ts +61 -22
  68. package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
  69. package/dist/types/excalidraw/actions/actionFrame.d.ts +70 -74
  70. package/dist/types/excalidraw/actions/actionGroup.d.ts +16 -18
  71. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +532 -9
  72. package/dist/types/excalidraw/actions/actionLink.d.ts +6 -7
  73. package/dist/types/excalidraw/actions/actionMenu.d.ts +16 -19
  74. package/dist/types/excalidraw/actions/actionNavigate.d.ts +10 -12
  75. package/dist/types/excalidraw/actions/actionProperties.d.ts +107 -105
  76. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +8 -9
  77. package/dist/types/excalidraw/actions/actionStyles.d.ts +9 -10
  78. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +7 -8
  79. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +7 -8
  80. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +6 -7
  81. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +7 -8
  82. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +7 -8
  83. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +7 -8
  84. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  85. package/dist/types/excalidraw/actions/index.d.ts +1 -1
  86. package/dist/types/excalidraw/actions/types.d.ts +2 -1
  87. package/dist/types/excalidraw/appState.d.ts +21 -20
  88. package/dist/types/excalidraw/clipboard.d.ts +64 -1
  89. package/dist/types/excalidraw/components/Actions.d.ts +8 -5
  90. package/dist/types/excalidraw/components/App.d.ts +21 -27
  91. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
  92. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -1
  93. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
  94. package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
  95. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
  96. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
  97. package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
  98. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  99. package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
  100. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +11 -1
  101. package/dist/types/excalidraw/components/TextField.d.ts +1 -0
  102. package/dist/types/excalidraw/components/icons.d.ts +7 -0
  103. package/dist/types/excalidraw/components/shapes.d.ts +129 -1
  104. package/dist/types/excalidraw/data/blob.d.ts +4 -8
  105. package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
  106. package/dist/types/excalidraw/data/restore.d.ts +6 -1
  107. package/dist/types/excalidraw/data/types.d.ts +4 -1
  108. package/dist/types/excalidraw/eraser/index.d.ts +0 -2
  109. package/dist/types/excalidraw/history.d.ts +21 -5
  110. package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  111. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  112. package/dist/types/excalidraw/index.d.ts +2 -1
  113. package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
  114. package/dist/types/excalidraw/renderer/helpers.d.ts +4 -4
  115. package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
  116. package/dist/types/excalidraw/scene/Renderer.d.ts +0 -1
  117. package/dist/types/excalidraw/types.d.ts +12 -9
  118. package/dist/types/math/src/angle.d.ts +2 -0
  119. package/dist/types/math/src/constants.d.ts +3 -0
  120. package/dist/types/math/src/curve.d.ts +32 -0
  121. package/dist/types/math/src/index.d.ts +1 -0
  122. package/dist/types/math/src/point.d.ts +1 -1
  123. package/dist/types/math/src/rectangle.d.ts +2 -0
  124. package/dist/types/math/src/segment.d.ts +1 -0
  125. package/dist/types/math/src/vector.d.ts +4 -2
  126. package/history.ts +107 -44
  127. package/package.json +9 -9
  128. package/dist/dev/chunk-2LNRWI74.js.map +0 -7
  129. package/dist/dev/chunk-C6WW3IWU.js.map +0 -7
  130. package/dist/dev/chunk-NR24AOHB.js +0 -7
  131. package/dist/dev/chunk-NR24AOHB.js.map +0 -7
  132. package/dist/prod/chunk-JUZ2P6ZK.js +0 -33
  133. package/dist/prod/chunk-ZSOIT5RG.js +0 -7
  134. package/dist/prod/data/image-RPTD4VCP.js +0 -1
  135. package/dist/types/element/src/Shape.d.ts +0 -17
  136. package/dist/types/element/src/ShapeCache.d.ts +0 -25
  137. package/dist/types/element/src/shapes.d.ts +0 -23
  138. package/dist/types/excalidraw/visualdebug.d.ts +0 -41
  139. package/dist/types/utils/src/collision.d.ts +0 -8
  140. /package/dist/dev/data/{image-7QZI7GM4.js.map → image-RC4Z3PZK.js.map} +0 -0
  141. /package/dist/dev/locales/{en-VFJV7E2V.js.map → en-XLJO5VTH.js.map} +0 -0
@@ -18,7 +18,7 @@ export declare const actionToggleCanvasMenu: {
18
18
  errorMessage: import("react").ReactNode;
19
19
  activeEmbeddable: {
20
20
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
21
- state: "hover" | "active";
21
+ state: "active" | "hover";
22
22
  } | null;
23
23
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
24
24
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -37,7 +37,6 @@ export declare const actionToggleCanvasMenu: {
37
37
  editingFrame: string | null;
38
38
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
39
39
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
40
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
41
40
  activeTool: {
42
41
  lastActiveTool: import("../types").ActiveTool | null;
43
42
  locked: boolean;
@@ -75,7 +74,7 @@ export declare const actionToggleCanvasMenu: {
75
74
  zoom: Readonly<{
76
75
  value: import("../types").NormalizedZoomValue;
77
76
  }>;
78
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
77
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
79
78
  openSidebar: {
80
79
  name: string;
81
80
  tab?: string | undefined;
@@ -84,7 +83,7 @@ export declare const actionToggleCanvasMenu: {
84
83
  name: "imageExport" | "help" | "jsonExport";
85
84
  } | {
86
85
  name: "ttd";
87
- tab: "text-to-diagram" | "mermaid";
86
+ tab: "mermaid" | "text-to-diagram";
88
87
  } | {
89
88
  name: "commandPalette";
90
89
  } | {
@@ -156,8 +155,7 @@ export declare const actionToggleCanvasMenu: {
156
155
  shown: true;
157
156
  data: import("../charts").Spreadsheet;
158
157
  };
159
- pendingImageElementId: string | null;
160
- showHyperlinkPopup: false | "info" | "editor";
158
+ showHyperlinkPopup: false | "editor" | "info";
161
159
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
162
160
  snapLines: readonly import("../snapping").SnapLine[];
163
161
  originSnapOffset: {
@@ -177,6 +175,7 @@ export declare const actionToggleCanvasMenu: {
177
175
  lockedMultiSelections: {
178
176
  [groupId: string]: true;
179
177
  };
178
+ stylesPanelMode: "compact" | "full";
180
179
  };
181
180
  captureUpdate: "EVENTUALLY";
182
181
  };
@@ -203,7 +202,7 @@ export declare const actionToggleEditMenu: {
203
202
  errorMessage: import("react").ReactNode;
204
203
  activeEmbeddable: {
205
204
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
206
- state: "hover" | "active";
205
+ state: "active" | "hover";
207
206
  } | null;
208
207
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
209
208
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -222,7 +221,6 @@ export declare const actionToggleEditMenu: {
222
221
  editingFrame: string | null;
223
222
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
224
223
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
225
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
226
224
  activeTool: {
227
225
  lastActiveTool: import("../types").ActiveTool | null;
228
226
  locked: boolean;
@@ -260,7 +258,7 @@ export declare const actionToggleEditMenu: {
260
258
  zoom: Readonly<{
261
259
  value: import("../types").NormalizedZoomValue;
262
260
  }>;
263
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
261
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
264
262
  openSidebar: {
265
263
  name: string;
266
264
  tab?: string | undefined;
@@ -269,7 +267,7 @@ export declare const actionToggleEditMenu: {
269
267
  name: "imageExport" | "help" | "jsonExport";
270
268
  } | {
271
269
  name: "ttd";
272
- tab: "text-to-diagram" | "mermaid";
270
+ tab: "mermaid" | "text-to-diagram";
273
271
  } | {
274
272
  name: "commandPalette";
275
273
  } | {
@@ -341,8 +339,7 @@ export declare const actionToggleEditMenu: {
341
339
  shown: true;
342
340
  data: import("../charts").Spreadsheet;
343
341
  };
344
- pendingImageElementId: string | null;
345
- showHyperlinkPopup: false | "info" | "editor";
342
+ showHyperlinkPopup: false | "editor" | "info";
346
343
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
347
344
  snapLines: readonly import("../snapping").SnapLine[];
348
345
  originSnapOffset: {
@@ -362,6 +359,7 @@ export declare const actionToggleEditMenu: {
362
359
  lockedMultiSelections: {
363
360
  [groupId: string]: true;
364
361
  };
362
+ stylesPanelMode: "compact" | "full";
365
363
  };
366
364
  captureUpdate: "EVENTUALLY";
367
365
  };
@@ -393,7 +391,7 @@ export declare const actionShortcuts: {
393
391
  errorMessage: import("react").ReactNode;
394
392
  activeEmbeddable: {
395
393
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
396
- state: "hover" | "active";
394
+ state: "active" | "hover";
397
395
  } | null;
398
396
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
399
397
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -412,7 +410,6 @@ export declare const actionShortcuts: {
412
410
  editingFrame: string | null;
413
411
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
414
412
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
415
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
416
413
  activeTool: {
417
414
  lastActiveTool: import("../types").ActiveTool | null;
418
415
  locked: boolean;
@@ -451,7 +448,7 @@ export declare const actionShortcuts: {
451
448
  value: import("../types").NormalizedZoomValue;
452
449
  }>;
453
450
  openMenu: "canvas" | "shape" | null;
454
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
451
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
455
452
  openSidebar: {
456
453
  name: string;
457
454
  tab?: string | undefined;
@@ -521,8 +518,7 @@ export declare const actionShortcuts: {
521
518
  shown: true;
522
519
  data: import("../charts").Spreadsheet;
523
520
  };
524
- pendingImageElementId: string | null;
525
- showHyperlinkPopup: false | "info" | "editor";
521
+ showHyperlinkPopup: false | "editor" | "info";
526
522
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
527
523
  snapLines: readonly import("../snapping").SnapLine[];
528
524
  originSnapOffset: {
@@ -542,10 +538,11 @@ export declare const actionShortcuts: {
542
538
  lockedMultiSelections: {
543
539
  [groupId: string]: true;
544
540
  };
541
+ stylesPanelMode: "compact" | "full";
545
542
  };
546
543
  captureUpdate: "EVENTUALLY";
547
544
  };
548
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
545
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
549
546
  } & {
550
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
547
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
551
548
  };
@@ -20,7 +20,7 @@ export declare const actionGoToCollaborator: {
20
20
  errorMessage: import("react").ReactNode;
21
21
  activeEmbeddable: {
22
22
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
23
- state: "hover" | "active";
23
+ state: "active" | "hover";
24
24
  } | null;
25
25
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
26
26
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -39,7 +39,6 @@ export declare const actionGoToCollaborator: {
39
39
  editingFrame: string | null;
40
40
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
41
41
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
42
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
43
42
  activeTool: {
44
43
  lastActiveTool: import("../types").ActiveTool | null;
45
44
  locked: boolean;
@@ -78,7 +77,7 @@ export declare const actionGoToCollaborator: {
78
77
  value: import("../types").NormalizedZoomValue;
79
78
  }>;
80
79
  openMenu: "canvas" | "shape" | null;
81
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
80
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
82
81
  openSidebar: {
83
82
  name: string;
84
83
  tab?: string | undefined;
@@ -87,7 +86,7 @@ export declare const actionGoToCollaborator: {
87
86
  name: "imageExport" | "help" | "jsonExport";
88
87
  } | {
89
88
  name: "ttd";
90
- tab: "text-to-diagram" | "mermaid";
89
+ tab: "mermaid" | "text-to-diagram";
91
90
  } | {
92
91
  name: "commandPalette";
93
92
  } | {
@@ -159,8 +158,7 @@ export declare const actionGoToCollaborator: {
159
158
  shown: true;
160
159
  data: import("../charts").Spreadsheet;
161
160
  };
162
- pendingImageElementId: string | null;
163
- showHyperlinkPopup: false | "info" | "editor";
161
+ showHyperlinkPopup: false | "editor" | "info";
164
162
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
165
163
  snapLines: readonly import("../snapping").SnapLine[];
166
164
  originSnapOffset: {
@@ -179,6 +177,7 @@ export declare const actionGoToCollaborator: {
179
177
  lockedMultiSelections: {
180
178
  [groupId: string]: true;
181
179
  };
180
+ stylesPanelMode: "compact" | "full";
182
181
  };
183
182
  captureUpdate: "EVENTUALLY";
184
183
  } | {
@@ -198,7 +197,7 @@ export declare const actionGoToCollaborator: {
198
197
  errorMessage: import("react").ReactNode;
199
198
  activeEmbeddable: {
200
199
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
201
- state: "hover" | "active";
200
+ state: "active" | "hover";
202
201
  } | null;
203
202
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
204
203
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -217,7 +216,6 @@ export declare const actionGoToCollaborator: {
217
216
  editingFrame: string | null;
218
217
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
219
218
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
220
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
221
219
  activeTool: {
222
220
  lastActiveTool: import("../types").ActiveTool | null;
223
221
  locked: boolean;
@@ -255,7 +253,7 @@ export declare const actionGoToCollaborator: {
255
253
  zoom: Readonly<{
256
254
  value: import("../types").NormalizedZoomValue;
257
255
  }>;
258
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
256
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
259
257
  openSidebar: {
260
258
  name: string;
261
259
  tab?: string | undefined;
@@ -264,7 +262,7 @@ export declare const actionGoToCollaborator: {
264
262
  name: "imageExport" | "help" | "jsonExport";
265
263
  } | {
266
264
  name: "ttd";
267
- tab: "text-to-diagram" | "mermaid";
265
+ tab: "mermaid" | "text-to-diagram";
268
266
  } | {
269
267
  name: "commandPalette";
270
268
  } | {
@@ -336,8 +334,7 @@ export declare const actionGoToCollaborator: {
336
334
  shown: true;
337
335
  data: import("../charts").Spreadsheet;
338
336
  };
339
- pendingImageElementId: string | null;
340
- showHyperlinkPopup: false | "info" | "editor";
337
+ showHyperlinkPopup: false | "editor" | "info";
341
338
  selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
342
339
  snapLines: readonly import("../snapping").SnapLine[];
343
340
  originSnapOffset: {
@@ -356,6 +353,7 @@ export declare const actionGoToCollaborator: {
356
353
  lockedMultiSelections: {
357
354
  [groupId: string]: true;
358
355
  };
356
+ stylesPanelMode: "compact" | "full";
359
357
  };
360
358
  captureUpdate: "EVENTUALLY";
361
359
  };