@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
@@ -9,7 +9,7 @@ export declare const actionChangeStrokeColor: {
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, app }: 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, app }: 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;
@@ -59,7 +67,6 @@ export declare const actionChangeFillStyle: {
59
67
  editingFrame: string | null;
60
68
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
61
69
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
62
- editingLinearElement: LinearElementEditor | null;
63
70
  activeTool: {
64
71
  lastActiveTool: import("../types").ActiveTool | null;
65
72
  locked: boolean;
@@ -97,7 +104,7 @@ export declare const actionChangeFillStyle: {
97
104
  value: import("../types").NormalizedZoomValue;
98
105
  }>;
99
106
  openMenu: "canvas" | "shape" | null;
100
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
107
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
101
108
  openSidebar: {
102
109
  name: string;
103
110
  tab?: string | undefined;
@@ -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,8 +185,7 @@ export declare const actionChangeFillStyle: {
178
185
  shown: true;
179
186
  data: import("../charts").Spreadsheet;
180
187
  };
181
- pendingImageElementId: string | null;
182
- showHyperlinkPopup: false | "info" | "editor";
188
+ showHyperlinkPopup: false | "editor" | "info";
183
189
  selectedLinearElement: LinearElementEditor | null;
184
190
  snapLines: readonly import("../snapping").SnapLine[];
185
191
  originSnapOffset: {
@@ -199,6 +205,7 @@ export declare const actionChangeFillStyle: {
199
205
  lockedMultiSelections: {
200
206
  [groupId: string]: true;
201
207
  };
208
+ stylesPanelMode: "compact" | "full";
202
209
  };
203
210
  captureUpdate: "IMMEDIATELY";
204
211
  };
@@ -224,7 +231,7 @@ export declare const actionChangeStrokeWidth: {
224
231
  errorMessage: import("react").ReactNode;
225
232
  activeEmbeddable: {
226
233
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
227
- state: "hover" | "active";
234
+ state: "active" | "hover";
228
235
  } | null;
229
236
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
230
237
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -243,7 +250,6 @@ export declare const actionChangeStrokeWidth: {
243
250
  editingFrame: string | null;
244
251
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
245
252
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
246
- editingLinearElement: LinearElementEditor | null;
247
253
  activeTool: {
248
254
  lastActiveTool: import("../types").ActiveTool | null;
249
255
  locked: boolean;
@@ -281,7 +287,7 @@ export declare const actionChangeStrokeWidth: {
281
287
  value: import("../types").NormalizedZoomValue;
282
288
  }>;
283
289
  openMenu: "canvas" | "shape" | null;
284
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
290
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
285
291
  openSidebar: {
286
292
  name: string;
287
293
  tab?: string | undefined;
@@ -290,7 +296,7 @@ export declare const actionChangeStrokeWidth: {
290
296
  name: "imageExport" | "help" | "jsonExport";
291
297
  } | {
292
298
  name: "ttd";
293
- tab: "text-to-diagram" | "mermaid";
299
+ tab: "mermaid" | "text-to-diagram";
294
300
  } | {
295
301
  name: "commandPalette";
296
302
  } | {
@@ -362,8 +368,7 @@ export declare const actionChangeStrokeWidth: {
362
368
  shown: true;
363
369
  data: import("../charts").Spreadsheet;
364
370
  };
365
- pendingImageElementId: string | null;
366
- showHyperlinkPopup: false | "info" | "editor";
371
+ showHyperlinkPopup: false | "editor" | "info";
367
372
  selectedLinearElement: LinearElementEditor | null;
368
373
  snapLines: readonly import("../snapping").SnapLine[];
369
374
  originSnapOffset: {
@@ -383,10 +388,11 @@ export declare const actionChangeStrokeWidth: {
383
388
  lockedMultiSelections: {
384
389
  [groupId: string]: true;
385
390
  };
391
+ stylesPanelMode: "compact" | "full";
386
392
  };
387
393
  captureUpdate: "IMMEDIATELY";
388
394
  };
389
- PanelComponent: ({ elements, appState, updateData, app }: 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;
390
396
  } & {
391
397
  keyTest?: undefined;
392
398
  };
@@ -408,7 +414,7 @@ export declare const actionChangeSloppiness: {
408
414
  errorMessage: import("react").ReactNode;
409
415
  activeEmbeddable: {
410
416
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
411
- state: "hover" | "active";
417
+ state: "active" | "hover";
412
418
  } | null;
413
419
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
414
420
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -427,7 +433,6 @@ export declare const actionChangeSloppiness: {
427
433
  editingFrame: string | null;
428
434
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
429
435
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
430
- editingLinearElement: LinearElementEditor | null;
431
436
  activeTool: {
432
437
  lastActiveTool: import("../types").ActiveTool | null;
433
438
  locked: boolean;
@@ -465,7 +470,7 @@ export declare const actionChangeSloppiness: {
465
470
  value: import("../types").NormalizedZoomValue;
466
471
  }>;
467
472
  openMenu: "canvas" | "shape" | null;
468
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
473
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
469
474
  openSidebar: {
470
475
  name: string;
471
476
  tab?: string | undefined;
@@ -474,7 +479,7 @@ export declare const actionChangeSloppiness: {
474
479
  name: "imageExport" | "help" | "jsonExport";
475
480
  } | {
476
481
  name: "ttd";
477
- tab: "text-to-diagram" | "mermaid";
482
+ tab: "mermaid" | "text-to-diagram";
478
483
  } | {
479
484
  name: "commandPalette";
480
485
  } | {
@@ -546,8 +551,7 @@ export declare const actionChangeSloppiness: {
546
551
  shown: true;
547
552
  data: import("../charts").Spreadsheet;
548
553
  };
549
- pendingImageElementId: string | null;
550
- showHyperlinkPopup: false | "info" | "editor";
554
+ showHyperlinkPopup: false | "editor" | "info";
551
555
  selectedLinearElement: LinearElementEditor | null;
552
556
  snapLines: readonly import("../snapping").SnapLine[];
553
557
  originSnapOffset: {
@@ -567,10 +571,11 @@ export declare const actionChangeSloppiness: {
567
571
  lockedMultiSelections: {
568
572
  [groupId: string]: true;
569
573
  };
574
+ stylesPanelMode: "compact" | "full";
570
575
  };
571
576
  captureUpdate: "IMMEDIATELY";
572
577
  };
573
- PanelComponent: ({ elements, appState, updateData, app }: 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;
574
579
  } & {
575
580
  keyTest?: undefined;
576
581
  };
@@ -592,7 +597,7 @@ export declare const actionChangeStrokeStyle: {
592
597
  errorMessage: import("react").ReactNode;
593
598
  activeEmbeddable: {
594
599
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
595
- state: "hover" | "active";
600
+ state: "active" | "hover";
596
601
  } | null;
597
602
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
598
603
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -611,7 +616,6 @@ export declare const actionChangeStrokeStyle: {
611
616
  editingFrame: string | null;
612
617
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
613
618
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
614
- editingLinearElement: LinearElementEditor | null;
615
619
  activeTool: {
616
620
  lastActiveTool: import("../types").ActiveTool | null;
617
621
  locked: boolean;
@@ -649,7 +653,7 @@ export declare const actionChangeStrokeStyle: {
649
653
  value: import("../types").NormalizedZoomValue;
650
654
  }>;
651
655
  openMenu: "canvas" | "shape" | null;
652
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
656
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
653
657
  openSidebar: {
654
658
  name: string;
655
659
  tab?: string | undefined;
@@ -658,7 +662,7 @@ export declare const actionChangeStrokeStyle: {
658
662
  name: "imageExport" | "help" | "jsonExport";
659
663
  } | {
660
664
  name: "ttd";
661
- tab: "text-to-diagram" | "mermaid";
665
+ tab: "mermaid" | "text-to-diagram";
662
666
  } | {
663
667
  name: "commandPalette";
664
668
  } | {
@@ -730,8 +734,7 @@ export declare const actionChangeStrokeStyle: {
730
734
  shown: true;
731
735
  data: import("../charts").Spreadsheet;
732
736
  };
733
- pendingImageElementId: string | null;
734
- showHyperlinkPopup: false | "info" | "editor";
737
+ showHyperlinkPopup: false | "editor" | "info";
735
738
  selectedLinearElement: LinearElementEditor | null;
736
739
  snapLines: readonly import("../snapping").SnapLine[];
737
740
  originSnapOffset: {
@@ -751,10 +754,11 @@ export declare const actionChangeStrokeStyle: {
751
754
  lockedMultiSelections: {
752
755
  [groupId: string]: true;
753
756
  };
757
+ stylesPanelMode: "compact" | "full";
754
758
  };
755
759
  captureUpdate: "IMMEDIATELY";
756
760
  };
757
- PanelComponent: ({ elements, appState, updateData, app }: 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;
758
762
  } & {
759
763
  keyTest?: undefined;
760
764
  };
@@ -776,7 +780,7 @@ export declare const actionChangeOpacity: {
776
780
  errorMessage: import("react").ReactNode;
777
781
  activeEmbeddable: {
778
782
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
779
- state: "hover" | "active";
783
+ state: "active" | "hover";
780
784
  } | null;
781
785
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
782
786
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -795,7 +799,6 @@ export declare const actionChangeOpacity: {
795
799
  editingFrame: string | null;
796
800
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
797
801
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
798
- editingLinearElement: LinearElementEditor | null;
799
802
  activeTool: {
800
803
  lastActiveTool: import("../types").ActiveTool | null;
801
804
  locked: boolean;
@@ -833,7 +836,7 @@ export declare const actionChangeOpacity: {
833
836
  value: import("../types").NormalizedZoomValue;
834
837
  }>;
835
838
  openMenu: "canvas" | "shape" | null;
836
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
839
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
837
840
  openSidebar: {
838
841
  name: string;
839
842
  tab?: string | undefined;
@@ -842,7 +845,7 @@ export declare const actionChangeOpacity: {
842
845
  name: "imageExport" | "help" | "jsonExport";
843
846
  } | {
844
847
  name: "ttd";
845
- tab: "text-to-diagram" | "mermaid";
848
+ tab: "mermaid" | "text-to-diagram";
846
849
  } | {
847
850
  name: "commandPalette";
848
851
  } | {
@@ -914,8 +917,7 @@ export declare const actionChangeOpacity: {
914
917
  shown: true;
915
918
  data: import("../charts").Spreadsheet;
916
919
  };
917
- pendingImageElementId: string | null;
918
- showHyperlinkPopup: false | "info" | "editor";
920
+ showHyperlinkPopup: false | "editor" | "info";
919
921
  selectedLinearElement: LinearElementEditor | null;
920
922
  snapLines: readonly import("../snapping").SnapLine[];
921
923
  originSnapOffset: {
@@ -935,6 +937,7 @@ export declare const actionChangeOpacity: {
935
937
  lockedMultiSelections: {
936
938
  [groupId: string]: true;
937
939
  };
940
+ stylesPanelMode: "compact" | "full";
938
941
  };
939
942
  captureUpdate: "IMMEDIATELY";
940
943
  };
@@ -960,7 +963,7 @@ export declare const actionChangeFontSize: {
960
963
  errorMessage: import("react").ReactNode;
961
964
  activeEmbeddable: {
962
965
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
963
- state: "hover" | "active";
966
+ state: "active" | "hover";
964
967
  } | null;
965
968
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
966
969
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -979,7 +982,6 @@ export declare const actionChangeFontSize: {
979
982
  editingFrame: string | null;
980
983
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
981
984
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
982
- editingLinearElement: LinearElementEditor | null;
983
985
  activeTool: {
984
986
  lastActiveTool: import("../types").ActiveTool | null;
985
987
  locked: boolean;
@@ -1017,7 +1019,7 @@ export declare const actionChangeFontSize: {
1017
1019
  value: import("../types").NormalizedZoomValue;
1018
1020
  }>;
1019
1021
  openMenu: "canvas" | "shape" | null;
1020
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1022
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1021
1023
  openSidebar: {
1022
1024
  name: string;
1023
1025
  tab?: string | undefined;
@@ -1026,7 +1028,7 @@ export declare const actionChangeFontSize: {
1026
1028
  name: "imageExport" | "help" | "jsonExport";
1027
1029
  } | {
1028
1030
  name: "ttd";
1029
- tab: "text-to-diagram" | "mermaid";
1031
+ tab: "mermaid" | "text-to-diagram";
1030
1032
  } | {
1031
1033
  name: "commandPalette";
1032
1034
  } | {
@@ -1098,8 +1100,7 @@ export declare const actionChangeFontSize: {
1098
1100
  shown: true;
1099
1101
  data: import("../charts").Spreadsheet;
1100
1102
  };
1101
- pendingImageElementId: string | null;
1102
- showHyperlinkPopup: false | "info" | "editor";
1103
+ showHyperlinkPopup: false | "editor" | "info";
1103
1104
  selectedLinearElement: LinearElementEditor | null;
1104
1105
  snapLines: readonly import("../snapping").SnapLine[];
1105
1106
  originSnapOffset: {
@@ -1119,10 +1120,11 @@ export declare const actionChangeFontSize: {
1119
1120
  lockedMultiSelections: {
1120
1121
  [groupId: string]: true;
1121
1122
  };
1123
+ stylesPanelMode: "compact" | "full";
1122
1124
  };
1123
1125
  captureUpdate: "IMMEDIATELY";
1124
1126
  };
1125
- 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;
1126
1128
  } & {
1127
1129
  keyTest?: undefined;
1128
1130
  };
@@ -1145,7 +1147,7 @@ export declare const actionDecreaseFontSize: {
1145
1147
  errorMessage: import("react").ReactNode;
1146
1148
  activeEmbeddable: {
1147
1149
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1148
- state: "hover" | "active";
1150
+ state: "active" | "hover";
1149
1151
  } | null;
1150
1152
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1151
1153
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1164,7 +1166,6 @@ export declare const actionDecreaseFontSize: {
1164
1166
  editingFrame: string | null;
1165
1167
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1166
1168
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1167
- editingLinearElement: LinearElementEditor | null;
1168
1169
  activeTool: {
1169
1170
  lastActiveTool: import("../types").ActiveTool | null;
1170
1171
  locked: boolean;
@@ -1202,7 +1203,7 @@ export declare const actionDecreaseFontSize: {
1202
1203
  value: import("../types").NormalizedZoomValue;
1203
1204
  }>;
1204
1205
  openMenu: "canvas" | "shape" | null;
1205
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1206
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1206
1207
  openSidebar: {
1207
1208
  name: string;
1208
1209
  tab?: string | undefined;
@@ -1211,7 +1212,7 @@ export declare const actionDecreaseFontSize: {
1211
1212
  name: "imageExport" | "help" | "jsonExport";
1212
1213
  } | {
1213
1214
  name: "ttd";
1214
- tab: "text-to-diagram" | "mermaid";
1215
+ tab: "mermaid" | "text-to-diagram";
1215
1216
  } | {
1216
1217
  name: "commandPalette";
1217
1218
  } | {
@@ -1283,8 +1284,7 @@ export declare const actionDecreaseFontSize: {
1283
1284
  shown: true;
1284
1285
  data: import("../charts").Spreadsheet;
1285
1286
  };
1286
- pendingImageElementId: string | null;
1287
- showHyperlinkPopup: false | "info" | "editor";
1287
+ showHyperlinkPopup: false | "editor" | "info";
1288
1288
  selectedLinearElement: LinearElementEditor | null;
1289
1289
  snapLines: readonly import("../snapping").SnapLine[];
1290
1290
  originSnapOffset: {
@@ -1304,12 +1304,13 @@ export declare const actionDecreaseFontSize: {
1304
1304
  lockedMultiSelections: {
1305
1305
  [groupId: string]: true;
1306
1306
  };
1307
+ stylesPanelMode: "compact" | "full";
1307
1308
  };
1308
1309
  captureUpdate: "IMMEDIATELY";
1309
1310
  };
1310
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1311
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1311
1312
  } & {
1312
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1313
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1313
1314
  };
1314
1315
  export declare const actionIncreaseFontSize: {
1315
1316
  name: "increaseFontSize";
@@ -1330,7 +1331,7 @@ export declare const actionIncreaseFontSize: {
1330
1331
  errorMessage: import("react").ReactNode;
1331
1332
  activeEmbeddable: {
1332
1333
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1333
- state: "hover" | "active";
1334
+ state: "active" | "hover";
1334
1335
  } | null;
1335
1336
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1336
1337
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1349,7 +1350,6 @@ export declare const actionIncreaseFontSize: {
1349
1350
  editingFrame: string | null;
1350
1351
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1351
1352
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1352
- editingLinearElement: LinearElementEditor | null;
1353
1353
  activeTool: {
1354
1354
  lastActiveTool: import("../types").ActiveTool | null;
1355
1355
  locked: boolean;
@@ -1387,7 +1387,7 @@ export declare const actionIncreaseFontSize: {
1387
1387
  value: import("../types").NormalizedZoomValue;
1388
1388
  }>;
1389
1389
  openMenu: "canvas" | "shape" | null;
1390
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1390
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1391
1391
  openSidebar: {
1392
1392
  name: string;
1393
1393
  tab?: string | undefined;
@@ -1396,7 +1396,7 @@ export declare const actionIncreaseFontSize: {
1396
1396
  name: "imageExport" | "help" | "jsonExport";
1397
1397
  } | {
1398
1398
  name: "ttd";
1399
- tab: "text-to-diagram" | "mermaid";
1399
+ tab: "mermaid" | "text-to-diagram";
1400
1400
  } | {
1401
1401
  name: "commandPalette";
1402
1402
  } | {
@@ -1468,8 +1468,7 @@ export declare const actionIncreaseFontSize: {
1468
1468
  shown: true;
1469
1469
  data: import("../charts").Spreadsheet;
1470
1470
  };
1471
- pendingImageElementId: string | null;
1472
- showHyperlinkPopup: false | "info" | "editor";
1471
+ showHyperlinkPopup: false | "editor" | "info";
1473
1472
  selectedLinearElement: LinearElementEditor | null;
1474
1473
  snapLines: readonly import("../snapping").SnapLine[];
1475
1474
  originSnapOffset: {
@@ -1489,12 +1488,13 @@ export declare const actionIncreaseFontSize: {
1489
1488
  lockedMultiSelections: {
1490
1489
  [groupId: string]: true;
1491
1490
  };
1491
+ stylesPanelMode: "compact" | "full";
1492
1492
  };
1493
1493
  captureUpdate: "IMMEDIATELY";
1494
1494
  };
1495
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1495
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1496
1496
  } & {
1497
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1497
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1498
1498
  };
1499
1499
  export declare const actionChangeFontFamily: {
1500
1500
  name: "changeFontFamily";
@@ -1504,7 +1504,7 @@ export declare const actionChangeFontFamily: {
1504
1504
  appState: {
1505
1505
  currentItemFontFamily: number;
1506
1506
  currentHoveredFontFamily: number | null;
1507
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1507
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1508
1508
  contextMenu: {
1509
1509
  items: import("../components/ContextMenu").ContextMenuItems;
1510
1510
  top: number;
@@ -1515,7 +1515,7 @@ export declare const actionChangeFontFamily: {
1515
1515
  errorMessage: import("react").ReactNode;
1516
1516
  activeEmbeddable: {
1517
1517
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1518
- state: "hover" | "active";
1518
+ state: "active" | "hover";
1519
1519
  } | null;
1520
1520
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1521
1521
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1534,7 +1534,6 @@ export declare const actionChangeFontFamily: {
1534
1534
  editingFrame: string | null;
1535
1535
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1536
1536
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1537
- editingLinearElement: LinearElementEditor | null;
1538
1537
  activeTool: {
1539
1538
  lastActiveTool: import("../types").ActiveTool | null;
1540
1539
  locked: boolean;
@@ -1579,7 +1578,7 @@ export declare const actionChangeFontFamily: {
1579
1578
  name: "imageExport" | "help" | "jsonExport";
1580
1579
  } | {
1581
1580
  name: "ttd";
1582
- tab: "text-to-diagram" | "mermaid";
1581
+ tab: "mermaid" | "text-to-diagram";
1583
1582
  } | {
1584
1583
  name: "commandPalette";
1585
1584
  } | {
@@ -1651,8 +1650,7 @@ export declare const actionChangeFontFamily: {
1651
1650
  shown: true;
1652
1651
  data: import("../charts").Spreadsheet;
1653
1652
  };
1654
- pendingImageElementId: string | null;
1655
- showHyperlinkPopup: false | "info" | "editor";
1653
+ showHyperlinkPopup: false | "editor" | "info";
1656
1654
  selectedLinearElement: LinearElementEditor | null;
1657
1655
  snapLines: readonly import("../snapping").SnapLine[];
1658
1656
  originSnapOffset: {
@@ -1672,6 +1670,7 @@ export declare const actionChangeFontFamily: {
1672
1670
  lockedMultiSelections: {
1673
1671
  [groupId: string]: true;
1674
1672
  };
1673
+ stylesPanelMode: "compact" | "full";
1675
1674
  };
1676
1675
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
1677
1676
  } | {
@@ -1679,7 +1678,7 @@ export declare const actionChangeFontFamily: {
1679
1678
  appState: {
1680
1679
  currentItemFontFamily: number;
1681
1680
  currentHoveredFontFamily: number | null;
1682
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1681
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1683
1682
  contextMenu: {
1684
1683
  items: import("../components/ContextMenu").ContextMenuItems;
1685
1684
  top: number;
@@ -1690,7 +1689,7 @@ export declare const actionChangeFontFamily: {
1690
1689
  errorMessage: import("react").ReactNode;
1691
1690
  activeEmbeddable: {
1692
1691
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1693
- state: "hover" | "active";
1692
+ state: "active" | "hover";
1694
1693
  } | null;
1695
1694
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1696
1695
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1709,7 +1708,6 @@ export declare const actionChangeFontFamily: {
1709
1708
  editingFrame: string | null;
1710
1709
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1711
1710
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1712
- editingLinearElement: LinearElementEditor | null;
1713
1711
  activeTool: {
1714
1712
  lastActiveTool: import("../types").ActiveTool | null;
1715
1713
  locked: boolean;
@@ -1754,7 +1752,7 @@ export declare const actionChangeFontFamily: {
1754
1752
  name: "imageExport" | "help" | "jsonExport";
1755
1753
  } | {
1756
1754
  name: "ttd";
1757
- tab: "text-to-diagram" | "mermaid";
1755
+ tab: "mermaid" | "text-to-diagram";
1758
1756
  } | {
1759
1757
  name: "commandPalette";
1760
1758
  } | {
@@ -1826,8 +1824,7 @@ export declare const actionChangeFontFamily: {
1826
1824
  shown: true;
1827
1825
  data: import("../charts").Spreadsheet;
1828
1826
  };
1829
- pendingImageElementId: string | null;
1830
- showHyperlinkPopup: false | "info" | "editor";
1827
+ showHyperlinkPopup: false | "editor" | "info";
1831
1828
  selectedLinearElement: LinearElementEditor | null;
1832
1829
  snapLines: readonly import("../snapping").SnapLine[];
1833
1830
  originSnapOffset: {
@@ -1847,10 +1844,11 @@ export declare const actionChangeFontFamily: {
1847
1844
  lockedMultiSelections: {
1848
1845
  [groupId: string]: true;
1849
1846
  };
1847
+ stylesPanelMode: "compact" | "full";
1850
1848
  };
1851
1849
  captureUpdate: "NEVER";
1852
1850
  };
1853
- 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;
1854
1852
  } & {
1855
1853
  keyTest?: undefined;
1856
1854
  };
@@ -1872,7 +1870,7 @@ export declare const actionChangeTextAlign: {
1872
1870
  errorMessage: import("react").ReactNode;
1873
1871
  activeEmbeddable: {
1874
1872
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1875
- state: "hover" | "active";
1873
+ state: "active" | "hover";
1876
1874
  } | null;
1877
1875
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1878
1876
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1891,7 +1889,6 @@ export declare const actionChangeTextAlign: {
1891
1889
  editingFrame: string | null;
1892
1890
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1893
1891
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1894
- editingLinearElement: LinearElementEditor | null;
1895
1892
  activeTool: {
1896
1893
  lastActiveTool: import("../types").ActiveTool | null;
1897
1894
  locked: boolean;
@@ -1929,7 +1926,7 @@ export declare const actionChangeTextAlign: {
1929
1926
  value: import("../types").NormalizedZoomValue;
1930
1927
  }>;
1931
1928
  openMenu: "canvas" | "shape" | null;
1932
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1929
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1933
1930
  openSidebar: {
1934
1931
  name: string;
1935
1932
  tab?: string | undefined;
@@ -1938,7 +1935,7 @@ export declare const actionChangeTextAlign: {
1938
1935
  name: "imageExport" | "help" | "jsonExport";
1939
1936
  } | {
1940
1937
  name: "ttd";
1941
- tab: "text-to-diagram" | "mermaid";
1938
+ tab: "mermaid" | "text-to-diagram";
1942
1939
  } | {
1943
1940
  name: "commandPalette";
1944
1941
  } | {
@@ -2010,8 +2007,7 @@ export declare const actionChangeTextAlign: {
2010
2007
  shown: true;
2011
2008
  data: import("../charts").Spreadsheet;
2012
2009
  };
2013
- pendingImageElementId: string | null;
2014
- showHyperlinkPopup: false | "info" | "editor";
2010
+ showHyperlinkPopup: false | "editor" | "info";
2015
2011
  selectedLinearElement: LinearElementEditor | null;
2016
2012
  snapLines: readonly import("../snapping").SnapLine[];
2017
2013
  originSnapOffset: {
@@ -2031,10 +2027,11 @@ export declare const actionChangeTextAlign: {
2031
2027
  lockedMultiSelections: {
2032
2028
  [groupId: string]: true;
2033
2029
  };
2030
+ stylesPanelMode: "compact" | "full";
2034
2031
  };
2035
2032
  captureUpdate: "IMMEDIATELY";
2036
2033
  };
2037
- 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;
2038
2035
  } & {
2039
2036
  keyTest?: undefined;
2040
2037
  };
@@ -2057,7 +2054,7 @@ export declare const actionChangeVerticalAlign: {
2057
2054
  errorMessage: import("react").ReactNode;
2058
2055
  activeEmbeddable: {
2059
2056
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2060
- state: "hover" | "active";
2057
+ state: "active" | "hover";
2061
2058
  } | null;
2062
2059
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2063
2060
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2076,7 +2073,6 @@ export declare const actionChangeVerticalAlign: {
2076
2073
  editingFrame: string | null;
2077
2074
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2078
2075
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2079
- editingLinearElement: LinearElementEditor | null;
2080
2076
  activeTool: {
2081
2077
  lastActiveTool: import("../types").ActiveTool | null;
2082
2078
  locked: boolean;
@@ -2115,7 +2111,7 @@ export declare const actionChangeVerticalAlign: {
2115
2111
  value: import("../types").NormalizedZoomValue;
2116
2112
  }>;
2117
2113
  openMenu: "canvas" | "shape" | null;
2118
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2114
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2119
2115
  openSidebar: {
2120
2116
  name: string;
2121
2117
  tab?: string | undefined;
@@ -2124,7 +2120,7 @@ export declare const actionChangeVerticalAlign: {
2124
2120
  name: "imageExport" | "help" | "jsonExport";
2125
2121
  } | {
2126
2122
  name: "ttd";
2127
- tab: "text-to-diagram" | "mermaid";
2123
+ tab: "mermaid" | "text-to-diagram";
2128
2124
  } | {
2129
2125
  name: "commandPalette";
2130
2126
  } | {
@@ -2196,8 +2192,7 @@ export declare const actionChangeVerticalAlign: {
2196
2192
  shown: true;
2197
2193
  data: import("../charts").Spreadsheet;
2198
2194
  };
2199
- pendingImageElementId: string | null;
2200
- showHyperlinkPopup: false | "info" | "editor";
2195
+ showHyperlinkPopup: false | "editor" | "info";
2201
2196
  selectedLinearElement: LinearElementEditor | null;
2202
2197
  snapLines: readonly import("../snapping").SnapLine[];
2203
2198
  originSnapOffset: {
@@ -2217,10 +2212,11 @@ export declare const actionChangeVerticalAlign: {
2217
2212
  lockedMultiSelections: {
2218
2213
  [groupId: string]: true;
2219
2214
  };
2215
+ stylesPanelMode: "compact" | "full";
2220
2216
  };
2221
2217
  captureUpdate: "IMMEDIATELY";
2222
2218
  };
2223
- 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;
2224
2220
  } & {
2225
2221
  keyTest?: undefined;
2226
2222
  };
@@ -2242,7 +2238,7 @@ export declare const actionChangeRoundness: {
2242
2238
  errorMessage: import("react").ReactNode;
2243
2239
  activeEmbeddable: {
2244
2240
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2245
- state: "hover" | "active";
2241
+ state: "active" | "hover";
2246
2242
  } | null;
2247
2243
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2248
2244
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2261,7 +2257,6 @@ export declare const actionChangeRoundness: {
2261
2257
  editingFrame: string | null;
2262
2258
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2263
2259
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2264
- editingLinearElement: LinearElementEditor | null;
2265
2260
  activeTool: {
2266
2261
  lastActiveTool: import("../types").ActiveTool | null;
2267
2262
  locked: boolean;
@@ -2299,7 +2294,7 @@ export declare const actionChangeRoundness: {
2299
2294
  value: import("../types").NormalizedZoomValue;
2300
2295
  }>;
2301
2296
  openMenu: "canvas" | "shape" | null;
2302
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2297
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2303
2298
  openSidebar: {
2304
2299
  name: string;
2305
2300
  tab?: string | undefined;
@@ -2308,7 +2303,7 @@ export declare const actionChangeRoundness: {
2308
2303
  name: "imageExport" | "help" | "jsonExport";
2309
2304
  } | {
2310
2305
  name: "ttd";
2311
- tab: "text-to-diagram" | "mermaid";
2306
+ tab: "mermaid" | "text-to-diagram";
2312
2307
  } | {
2313
2308
  name: "commandPalette";
2314
2309
  } | {
@@ -2380,8 +2375,7 @@ export declare const actionChangeRoundness: {
2380
2375
  shown: true;
2381
2376
  data: import("../charts").Spreadsheet;
2382
2377
  };
2383
- pendingImageElementId: string | null;
2384
- showHyperlinkPopup: false | "info" | "editor";
2378
+ showHyperlinkPopup: false | "editor" | "info";
2385
2379
  selectedLinearElement: LinearElementEditor | null;
2386
2380
  snapLines: readonly import("../snapping").SnapLine[];
2387
2381
  originSnapOffset: {
@@ -2401,10 +2395,11 @@ export declare const actionChangeRoundness: {
2401
2395
  lockedMultiSelections: {
2402
2396
  [groupId: string]: true;
2403
2397
  };
2398
+ stylesPanelMode: "compact" | "full";
2404
2399
  };
2405
2400
  captureUpdate: "IMMEDIATELY";
2406
2401
  };
2407
- PanelComponent: ({ elements, appState, updateData, app }: 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;
2408
2403
  } & {
2409
2404
  keyTest?: undefined;
2410
2405
  };
@@ -2428,7 +2423,7 @@ export declare const actionChangeArrowhead: {
2428
2423
  errorMessage: import("react").ReactNode;
2429
2424
  activeEmbeddable: {
2430
2425
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2431
- state: "hover" | "active";
2426
+ state: "active" | "hover";
2432
2427
  } | null;
2433
2428
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2434
2429
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2447,7 +2442,6 @@ export declare const actionChangeArrowhead: {
2447
2442
  editingFrame: string | null;
2448
2443
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2449
2444
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2450
- editingLinearElement: LinearElementEditor | null;
2451
2445
  activeTool: {
2452
2446
  lastActiveTool: import("../types").ActiveTool | null;
2453
2447
  locked: boolean;
@@ -2486,7 +2480,7 @@ export declare const actionChangeArrowhead: {
2486
2480
  value: import("../types").NormalizedZoomValue;
2487
2481
  }>;
2488
2482
  openMenu: "canvas" | "shape" | null;
2489
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2483
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2490
2484
  openSidebar: {
2491
2485
  name: string;
2492
2486
  tab?: string | undefined;
@@ -2495,7 +2489,7 @@ export declare const actionChangeArrowhead: {
2495
2489
  name: "imageExport" | "help" | "jsonExport";
2496
2490
  } | {
2497
2491
  name: "ttd";
2498
- tab: "text-to-diagram" | "mermaid";
2492
+ tab: "mermaid" | "text-to-diagram";
2499
2493
  } | {
2500
2494
  name: "commandPalette";
2501
2495
  } | {
@@ -2567,8 +2561,7 @@ export declare const actionChangeArrowhead: {
2567
2561
  shown: true;
2568
2562
  data: import("../charts").Spreadsheet;
2569
2563
  };
2570
- pendingImageElementId: string | null;
2571
- showHyperlinkPopup: false | "info" | "editor";
2564
+ showHyperlinkPopup: false | "editor" | "info";
2572
2565
  selectedLinearElement: LinearElementEditor | null;
2573
2566
  snapLines: readonly import("../snapping").SnapLine[];
2574
2567
  originSnapOffset: {
@@ -2588,6 +2581,7 @@ export declare const actionChangeArrowhead: {
2588
2581
  lockedMultiSelections: {
2589
2582
  [groupId: string]: true;
2590
2583
  };
2584
+ stylesPanelMode: "compact" | "full";
2591
2585
  };
2592
2586
  captureUpdate: "IMMEDIATELY";
2593
2587
  };
@@ -2595,6 +2589,15 @@ export declare const actionChangeArrowhead: {
2595
2589
  } & {
2596
2590
  keyTest?: undefined;
2597
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;
2598
+ } & {
2599
+ keyTest?: undefined;
2600
+ };
2598
2601
  export declare const actionChangeArrowType: {
2599
2602
  name: "changeArrowType";
2600
2603
  label: string;
@@ -2613,7 +2616,7 @@ export declare const actionChangeArrowType: {
2613
2616
  errorMessage: import("react").ReactNode;
2614
2617
  activeEmbeddable: {
2615
2618
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2616
- state: "hover" | "active";
2619
+ state: "active" | "hover";
2617
2620
  } | null;
2618
2621
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2619
2622
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2632,7 +2635,6 @@ export declare const actionChangeArrowType: {
2632
2635
  editingFrame: string | null;
2633
2636
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2634
2637
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2635
- editingLinearElement: LinearElementEditor | null;
2636
2638
  activeTool: {
2637
2639
  lastActiveTool: import("../types").ActiveTool | null;
2638
2640
  locked: boolean;
@@ -2670,7 +2672,7 @@ export declare const actionChangeArrowType: {
2670
2672
  value: import("../types").NormalizedZoomValue;
2671
2673
  }>;
2672
2674
  openMenu: "canvas" | "shape" | null;
2673
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2675
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2674
2676
  openSidebar: {
2675
2677
  name: string;
2676
2678
  tab?: string | undefined;
@@ -2679,7 +2681,7 @@ export declare const actionChangeArrowType: {
2679
2681
  name: "imageExport" | "help" | "jsonExport";
2680
2682
  } | {
2681
2683
  name: "ttd";
2682
- tab: "text-to-diagram" | "mermaid";
2684
+ tab: "mermaid" | "text-to-diagram";
2683
2685
  } | {
2684
2686
  name: "commandPalette";
2685
2687
  } | {
@@ -2751,8 +2753,7 @@ export declare const actionChangeArrowType: {
2751
2753
  shown: true;
2752
2754
  data: import("../charts").Spreadsheet;
2753
2755
  };
2754
- pendingImageElementId: string | null;
2755
- showHyperlinkPopup: false | "info" | "editor";
2756
+ showHyperlinkPopup: false | "editor" | "info";
2756
2757
  selectedLinearElement: LinearElementEditor | null;
2757
2758
  snapLines: readonly import("../snapping").SnapLine[];
2758
2759
  originSnapOffset: {
@@ -2772,6 +2773,7 @@ export declare const actionChangeArrowType: {
2772
2773
  lockedMultiSelections: {
2773
2774
  [groupId: string]: true;
2774
2775
  };
2776
+ stylesPanelMode: "compact" | "full";
2775
2777
  };
2776
2778
  captureUpdate: "IMMEDIATELY";
2777
2779
  };