@excalidraw/common 0.18.0-dda3affcb-8fc71066d → 0.18.0-ec07091

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 (61) hide show
  1. package/dist/dev/index.js +67 -6
  2. package/dist/dev/index.js.map +2 -2
  3. package/dist/prod/index.js +3 -3
  4. package/dist/types/common/src/constants.d.ts +20 -4
  5. package/dist/types/common/src/utils.d.ts +3 -0
  6. package/dist/types/element/src/bounds.d.ts +1 -1
  7. package/dist/types/element/src/delta.d.ts +4 -5
  8. package/dist/types/element/src/index.d.ts +1 -0
  9. package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
  10. package/dist/types/element/src/renderElement.d.ts +4 -1
  11. package/dist/types/element/src/store.d.ts +5 -0
  12. package/dist/types/element/src/textElement.d.ts +1 -1
  13. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +6 -3
  14. package/dist/types/excalidraw/actions/actionBoundText.d.ts +4 -2
  15. package/dist/types/excalidraw/actions/actionCanvas.d.ts +29 -15
  16. package/dist/types/excalidraw/actions/actionClipboard.d.ts +12 -6
  17. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +2 -1
  18. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +6 -3
  19. package/dist/types/excalidraw/actions/actionElementLink.d.ts +2 -1
  20. package/dist/types/excalidraw/actions/actionElementLock.d.ts +4 -2
  21. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +2 -1
  22. package/dist/types/excalidraw/actions/actionExport.d.ts +18 -9
  23. package/dist/types/excalidraw/actions/actionFinalize.d.ts +4 -2
  24. package/dist/types/excalidraw/actions/actionFrame.d.ts +8 -4
  25. package/dist/types/excalidraw/actions/actionGroup.d.ts +4 -2
  26. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +3 -2
  27. package/dist/types/excalidraw/actions/actionLink.d.ts +2 -1
  28. package/dist/types/excalidraw/actions/actionMenu.d.ts +6 -3
  29. package/dist/types/excalidraw/actions/actionNavigate.d.ts +4 -2
  30. package/dist/types/excalidraw/actions/actionProperties.d.ts +48 -24
  31. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +2 -1
  32. package/dist/types/excalidraw/actions/actionStyles.d.ts +2 -1
  33. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +2 -1
  34. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +2 -1
  35. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +2 -1
  36. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +2 -1
  37. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +2 -1
  38. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +2 -1
  39. package/dist/types/excalidraw/actions/index.d.ts +1 -1
  40. package/dist/types/excalidraw/actions/types.d.ts +1 -1
  41. package/dist/types/excalidraw/appState.d.ts +1 -0
  42. package/dist/types/excalidraw/clipboard.d.ts +64 -1
  43. package/dist/types/excalidraw/components/Actions.d.ts +8 -1
  44. package/dist/types/excalidraw/components/App.d.ts +13 -11
  45. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -1
  46. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
  47. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
  48. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
  49. package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
  50. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  51. package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
  52. package/dist/types/excalidraw/components/TextField.d.ts +1 -0
  53. package/dist/types/excalidraw/components/icons.d.ts +6 -0
  54. package/dist/types/excalidraw/components/shapes.d.ts +129 -1
  55. package/dist/types/excalidraw/data/blob.d.ts +3 -7
  56. package/dist/types/excalidraw/data/types.d.ts +4 -1
  57. package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  58. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  59. package/dist/types/excalidraw/types.d.ts +6 -3
  60. package/dist/types/math/src/segment.d.ts +1 -0
  61. package/package.json +1 -1
@@ -117,7 +117,7 @@ export declare const actionFinalize: {
117
117
  value: import("../types").NormalizedZoomValue;
118
118
  }>;
119
119
  openMenu: "canvas" | "shape" | null;
120
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
120
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
121
121
  openSidebar: {
122
122
  name: string;
123
123
  tab?: string | undefined;
@@ -217,6 +217,7 @@ export declare const actionFinalize: {
217
217
  lockedMultiSelections: {
218
218
  [groupId: string]: true;
219
219
  };
220
+ stylesPanelMode: "compact" | "full";
220
221
  };
221
222
  captureUpdate: "IMMEDIATELY";
222
223
  } | {
@@ -290,7 +291,7 @@ export declare const actionFinalize: {
290
291
  value: import("../types").NormalizedZoomValue;
291
292
  }>;
292
293
  openMenu: "canvas" | "shape" | null;
293
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
294
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
294
295
  openSidebar: {
295
296
  name: string;
296
297
  tab?: string | undefined;
@@ -387,6 +388,7 @@ export declare const actionFinalize: {
387
388
  lockedMultiSelections: {
388
389
  [groupId: string]: true;
389
390
  };
391
+ stylesPanelMode: "compact" | "full";
390
392
  };
391
393
  captureUpdate: "IMMEDIATELY";
392
394
  };
@@ -78,7 +78,7 @@ export declare const actionSelectAllElementsInFrame: {
78
78
  value: import("../types").NormalizedZoomValue;
79
79
  }>;
80
80
  openMenu: "canvas" | "shape" | null;
81
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
81
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
82
82
  openSidebar: {
83
83
  name: string;
84
84
  tab?: string | undefined;
@@ -176,6 +176,7 @@ export declare const actionSelectAllElementsInFrame: {
176
176
  lockedMultiSelections: {
177
177
  [groupId: string]: true;
178
178
  };
179
+ stylesPanelMode: "compact" | "full";
179
180
  };
180
181
  captureUpdate: "IMMEDIATELY";
181
182
  } | {
@@ -266,7 +267,7 @@ export declare const actionRemoveAllElementsFromFrame: {
266
267
  value: import("../types").NormalizedZoomValue;
267
268
  }>;
268
269
  openMenu: "canvas" | "shape" | null;
269
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
270
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
270
271
  openSidebar: {
271
272
  name: string;
272
273
  tab?: string | undefined;
@@ -364,6 +365,7 @@ export declare const actionRemoveAllElementsFromFrame: {
364
365
  lockedMultiSelections: {
365
366
  [groupId: string]: true;
366
367
  };
368
+ stylesPanelMode: "compact" | "full";
367
369
  };
368
370
  captureUpdate: "IMMEDIATELY";
369
371
  } | {
@@ -452,7 +454,7 @@ export declare const actionupdateFrameRendering: {
452
454
  value: import("../types").NormalizedZoomValue;
453
455
  }>;
454
456
  openMenu: "canvas" | "shape" | null;
455
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
457
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
456
458
  openSidebar: {
457
459
  name: string;
458
460
  tab?: string | undefined;
@@ -553,6 +555,7 @@ export declare const actionupdateFrameRendering: {
553
555
  lockedMultiSelections: {
554
556
  [groupId: string]: true;
555
557
  };
558
+ stylesPanelMode: "compact" | "full";
556
559
  };
557
560
  captureUpdate: "EVENTUALLY";
558
561
  };
@@ -638,7 +641,7 @@ export declare const actionSetFrameAsActiveTool: {
638
641
  value: import("../types").NormalizedZoomValue;
639
642
  }>;
640
643
  openMenu: "canvas" | "shape" | null;
641
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
644
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
642
645
  openSidebar: {
643
646
  name: string;
644
647
  tab?: string | undefined;
@@ -739,6 +742,7 @@ export declare const actionSetFrameAsActiveTool: {
739
742
  lockedMultiSelections: {
740
743
  [groupId: string]: true;
741
744
  };
745
+ stylesPanelMode: "compact" | "full";
742
746
  };
743
747
  captureUpdate: "EVENTUALLY";
744
748
  };
@@ -88,7 +88,7 @@ export declare const actionGroup: {
88
88
  value: import("../types").NormalizedZoomValue;
89
89
  }>;
90
90
  openMenu: "canvas" | "shape" | null;
91
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
91
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
92
92
  openSidebar: {
93
93
  name: string;
94
94
  tab?: string | undefined;
@@ -182,6 +182,7 @@ export declare const actionGroup: {
182
182
  lockedMultiSelections: {
183
183
  [groupId: string]: true;
184
184
  };
185
+ stylesPanelMode: "compact" | "full";
185
186
  };
186
187
  elements: OrderedExcalidrawElement[];
187
188
  captureUpdate: "IMMEDIATELY";
@@ -279,7 +280,7 @@ export declare const actionUngroup: {
279
280
  value: import("../types").NormalizedZoomValue;
280
281
  }>;
281
282
  openMenu: "canvas" | "shape" | null;
282
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
283
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
283
284
  openSidebar: {
284
285
  name: string;
285
286
  tab?: string | undefined;
@@ -373,6 +374,7 @@ export declare const actionUngroup: {
373
374
  lockedMultiSelections: {
374
375
  [groupId: string]: true;
375
376
  };
377
+ stylesPanelMode: "compact" | "full";
376
378
  };
377
379
  elements: OrderedExcalidrawElement[];
378
380
  captureUpdate: "IMMEDIATELY";
@@ -111,7 +111,7 @@ export declare const actionToggleLinearEditor: {
111
111
  value: import("../types").NormalizedZoomValue;
112
112
  }>;
113
113
  openMenu: "canvas" | "shape" | null;
114
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
114
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
115
115
  openSidebar: {
116
116
  name: string;
117
117
  tab?: string | undefined;
@@ -211,10 +211,11 @@ export declare const actionToggleLinearEditor: {
211
211
  lockedMultiSelections: {
212
212
  [groupId: string]: true;
213
213
  };
214
+ stylesPanelMode: "compact" | "full";
214
215
  };
215
216
  captureUpdate: "IMMEDIATELY";
216
217
  };
217
- PanelComponent: ({ appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
218
+ PanelComponent: ({ appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element | null;
218
219
  } & {
219
220
  keyTest?: undefined;
220
221
  };
@@ -74,7 +74,7 @@ export declare const actionLink: {
74
74
  zoom: Readonly<{
75
75
  value: import("../types").NormalizedZoomValue;
76
76
  }>;
77
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
77
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
78
78
  openSidebar: {
79
79
  name: string;
80
80
  tab?: string | undefined;
@@ -174,6 +174,7 @@ export declare const actionLink: {
174
174
  lockedMultiSelections: {
175
175
  [groupId: string]: true;
176
176
  };
177
+ stylesPanelMode: "compact" | "full";
177
178
  };
178
179
  captureUpdate: "IMMEDIATELY";
179
180
  };
@@ -74,7 +74,7 @@ export declare const actionToggleCanvasMenu: {
74
74
  zoom: Readonly<{
75
75
  value: import("../types").NormalizedZoomValue;
76
76
  }>;
77
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
77
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
78
78
  openSidebar: {
79
79
  name: string;
80
80
  tab?: string | undefined;
@@ -175,6 +175,7 @@ export declare const actionToggleCanvasMenu: {
175
175
  lockedMultiSelections: {
176
176
  [groupId: string]: true;
177
177
  };
178
+ stylesPanelMode: "compact" | "full";
178
179
  };
179
180
  captureUpdate: "EVENTUALLY";
180
181
  };
@@ -257,7 +258,7 @@ export declare const actionToggleEditMenu: {
257
258
  zoom: Readonly<{
258
259
  value: import("../types").NormalizedZoomValue;
259
260
  }>;
260
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
261
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
261
262
  openSidebar: {
262
263
  name: string;
263
264
  tab?: string | undefined;
@@ -358,6 +359,7 @@ export declare const actionToggleEditMenu: {
358
359
  lockedMultiSelections: {
359
360
  [groupId: string]: true;
360
361
  };
362
+ stylesPanelMode: "compact" | "full";
361
363
  };
362
364
  captureUpdate: "EVENTUALLY";
363
365
  };
@@ -446,7 +448,7 @@ export declare const actionShortcuts: {
446
448
  value: import("../types").NormalizedZoomValue;
447
449
  }>;
448
450
  openMenu: "canvas" | "shape" | null;
449
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
451
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
450
452
  openSidebar: {
451
453
  name: string;
452
454
  tab?: string | undefined;
@@ -536,6 +538,7 @@ export declare const actionShortcuts: {
536
538
  lockedMultiSelections: {
537
539
  [groupId: string]: true;
538
540
  };
541
+ stylesPanelMode: "compact" | "full";
539
542
  };
540
543
  captureUpdate: "EVENTUALLY";
541
544
  };
@@ -77,7 +77,7 @@ export declare const actionGoToCollaborator: {
77
77
  value: import("../types").NormalizedZoomValue;
78
78
  }>;
79
79
  openMenu: "canvas" | "shape" | null;
80
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
80
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
81
81
  openSidebar: {
82
82
  name: string;
83
83
  tab?: string | undefined;
@@ -177,6 +177,7 @@ export declare const actionGoToCollaborator: {
177
177
  lockedMultiSelections: {
178
178
  [groupId: string]: true;
179
179
  };
180
+ stylesPanelMode: "compact" | "full";
180
181
  };
181
182
  captureUpdate: "EVENTUALLY";
182
183
  } | {
@@ -252,7 +253,7 @@ export declare const actionGoToCollaborator: {
252
253
  zoom: Readonly<{
253
254
  value: import("../types").NormalizedZoomValue;
254
255
  }>;
255
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
256
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
256
257
  openSidebar: {
257
258
  name: string;
258
259
  tab?: string | undefined;
@@ -352,6 +353,7 @@ export declare const actionGoToCollaborator: {
352
353
  lockedMultiSelections: {
353
354
  [groupId: string]: true;
354
355
  };
356
+ stylesPanelMode: "compact" | "full";
355
357
  };
356
358
  captureUpdate: "EVENTUALLY";
357
359
  };
@@ -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
  };
@@ -26,7 +26,7 @@ export declare const actionChangeBackgroundColor: {
26
26
  appState: any;
27
27
  captureUpdate: "IMMEDIATELY";
28
28
  };
29
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
29
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
30
30
  } & {
31
31
  keyTest?: undefined;
32
32
  };
@@ -104,7 +104,7 @@ export declare const actionChangeFillStyle: {
104
104
  value: import("../types").NormalizedZoomValue;
105
105
  }>;
106
106
  openMenu: "canvas" | "shape" | null;
107
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
107
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
108
108
  openSidebar: {
109
109
  name: string;
110
110
  tab?: string | undefined;
@@ -205,6 +205,7 @@ export declare const actionChangeFillStyle: {
205
205
  lockedMultiSelections: {
206
206
  [groupId: string]: true;
207
207
  };
208
+ stylesPanelMode: "compact" | "full";
208
209
  };
209
210
  captureUpdate: "IMMEDIATELY";
210
211
  };
@@ -286,7 +287,7 @@ export declare const actionChangeStrokeWidth: {
286
287
  value: import("../types").NormalizedZoomValue;
287
288
  }>;
288
289
  openMenu: "canvas" | "shape" | null;
289
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
290
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
290
291
  openSidebar: {
291
292
  name: string;
292
293
  tab?: string | undefined;
@@ -387,10 +388,11 @@ export declare const actionChangeStrokeWidth: {
387
388
  lockedMultiSelections: {
388
389
  [groupId: string]: true;
389
390
  };
391
+ stylesPanelMode: "compact" | "full";
390
392
  };
391
393
  captureUpdate: "IMMEDIATELY";
392
394
  };
393
- 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;
394
396
  } & {
395
397
  keyTest?: undefined;
396
398
  };
@@ -468,7 +470,7 @@ export declare const actionChangeSloppiness: {
468
470
  value: import("../types").NormalizedZoomValue;
469
471
  }>;
470
472
  openMenu: "canvas" | "shape" | null;
471
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
473
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
472
474
  openSidebar: {
473
475
  name: string;
474
476
  tab?: string | undefined;
@@ -569,10 +571,11 @@ export declare const actionChangeSloppiness: {
569
571
  lockedMultiSelections: {
570
572
  [groupId: string]: true;
571
573
  };
574
+ stylesPanelMode: "compact" | "full";
572
575
  };
573
576
  captureUpdate: "IMMEDIATELY";
574
577
  };
575
- 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;
576
579
  } & {
577
580
  keyTest?: undefined;
578
581
  };
@@ -650,7 +653,7 @@ export declare const actionChangeStrokeStyle: {
650
653
  value: import("../types").NormalizedZoomValue;
651
654
  }>;
652
655
  openMenu: "canvas" | "shape" | null;
653
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
656
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
654
657
  openSidebar: {
655
658
  name: string;
656
659
  tab?: string | undefined;
@@ -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
  };
@@ -832,7 +836,7 @@ export declare const actionChangeOpacity: {
832
836
  value: import("../types").NormalizedZoomValue;
833
837
  }>;
834
838
  openMenu: "canvas" | "shape" | null;
835
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
839
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
836
840
  openSidebar: {
837
841
  name: string;
838
842
  tab?: string | undefined;
@@ -933,6 +937,7 @@ export declare const actionChangeOpacity: {
933
937
  lockedMultiSelections: {
934
938
  [groupId: string]: true;
935
939
  };
940
+ stylesPanelMode: "compact" | "full";
936
941
  };
937
942
  captureUpdate: "IMMEDIATELY";
938
943
  };
@@ -1014,7 +1019,7 @@ export declare const actionChangeFontSize: {
1014
1019
  value: import("../types").NormalizedZoomValue;
1015
1020
  }>;
1016
1021
  openMenu: "canvas" | "shape" | null;
1017
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1022
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1018
1023
  openSidebar: {
1019
1024
  name: string;
1020
1025
  tab?: string | undefined;
@@ -1115,10 +1120,11 @@ export declare const actionChangeFontSize: {
1115
1120
  lockedMultiSelections: {
1116
1121
  [groupId: string]: true;
1117
1122
  };
1123
+ stylesPanelMode: "compact" | "full";
1118
1124
  };
1119
1125
  captureUpdate: "IMMEDIATELY";
1120
1126
  };
1121
- 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;
1122
1128
  } & {
1123
1129
  keyTest?: undefined;
1124
1130
  };
@@ -1197,7 +1203,7 @@ export declare const actionDecreaseFontSize: {
1197
1203
  value: import("../types").NormalizedZoomValue;
1198
1204
  }>;
1199
1205
  openMenu: "canvas" | "shape" | null;
1200
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1206
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1201
1207
  openSidebar: {
1202
1208
  name: string;
1203
1209
  tab?: string | undefined;
@@ -1298,6 +1304,7 @@ export declare const actionDecreaseFontSize: {
1298
1304
  lockedMultiSelections: {
1299
1305
  [groupId: string]: true;
1300
1306
  };
1307
+ stylesPanelMode: "compact" | "full";
1301
1308
  };
1302
1309
  captureUpdate: "IMMEDIATELY";
1303
1310
  };
@@ -1380,7 +1387,7 @@ export declare const actionIncreaseFontSize: {
1380
1387
  value: import("../types").NormalizedZoomValue;
1381
1388
  }>;
1382
1389
  openMenu: "canvas" | "shape" | null;
1383
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1390
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1384
1391
  openSidebar: {
1385
1392
  name: string;
1386
1393
  tab?: string | undefined;
@@ -1481,6 +1488,7 @@ export declare const actionIncreaseFontSize: {
1481
1488
  lockedMultiSelections: {
1482
1489
  [groupId: string]: true;
1483
1490
  };
1491
+ stylesPanelMode: "compact" | "full";
1484
1492
  };
1485
1493
  captureUpdate: "IMMEDIATELY";
1486
1494
  };
@@ -1496,7 +1504,7 @@ export declare const actionChangeFontFamily: {
1496
1504
  appState: {
1497
1505
  currentItemFontFamily: number;
1498
1506
  currentHoveredFontFamily: number | null;
1499
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1507
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1500
1508
  contextMenu: {
1501
1509
  items: import("../components/ContextMenu").ContextMenuItems;
1502
1510
  top: number;
@@ -1662,6 +1670,7 @@ export declare const actionChangeFontFamily: {
1662
1670
  lockedMultiSelections: {
1663
1671
  [groupId: string]: true;
1664
1672
  };
1673
+ stylesPanelMode: "compact" | "full";
1665
1674
  };
1666
1675
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
1667
1676
  } | {
@@ -1669,7 +1678,7 @@ export declare const actionChangeFontFamily: {
1669
1678
  appState: {
1670
1679
  currentItemFontFamily: number;
1671
1680
  currentHoveredFontFamily: number | null;
1672
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1681
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1673
1682
  contextMenu: {
1674
1683
  items: import("../components/ContextMenu").ContextMenuItems;
1675
1684
  top: number;
@@ -1835,10 +1844,11 @@ export declare const actionChangeFontFamily: {
1835
1844
  lockedMultiSelections: {
1836
1845
  [groupId: string]: true;
1837
1846
  };
1847
+ stylesPanelMode: "compact" | "full";
1838
1848
  };
1839
1849
  captureUpdate: "NEVER";
1840
1850
  };
1841
- 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;
1842
1852
  } & {
1843
1853
  keyTest?: undefined;
1844
1854
  };
@@ -1916,7 +1926,7 @@ export declare const actionChangeTextAlign: {
1916
1926
  value: import("../types").NormalizedZoomValue;
1917
1927
  }>;
1918
1928
  openMenu: "canvas" | "shape" | null;
1919
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1929
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1920
1930
  openSidebar: {
1921
1931
  name: string;
1922
1932
  tab?: string | undefined;
@@ -2017,10 +2027,11 @@ export declare const actionChangeTextAlign: {
2017
2027
  lockedMultiSelections: {
2018
2028
  [groupId: string]: true;
2019
2029
  };
2030
+ stylesPanelMode: "compact" | "full";
2020
2031
  };
2021
2032
  captureUpdate: "IMMEDIATELY";
2022
2033
  };
2023
- 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;
2024
2035
  } & {
2025
2036
  keyTest?: undefined;
2026
2037
  };
@@ -2100,7 +2111,7 @@ export declare const actionChangeVerticalAlign: {
2100
2111
  value: import("../types").NormalizedZoomValue;
2101
2112
  }>;
2102
2113
  openMenu: "canvas" | "shape" | null;
2103
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2114
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2104
2115
  openSidebar: {
2105
2116
  name: string;
2106
2117
  tab?: string | undefined;
@@ -2201,10 +2212,11 @@ export declare const actionChangeVerticalAlign: {
2201
2212
  lockedMultiSelections: {
2202
2213
  [groupId: string]: true;
2203
2214
  };
2215
+ stylesPanelMode: "compact" | "full";
2204
2216
  };
2205
2217
  captureUpdate: "IMMEDIATELY";
2206
2218
  };
2207
- 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;
2208
2220
  } & {
2209
2221
  keyTest?: undefined;
2210
2222
  };
@@ -2282,7 +2294,7 @@ export declare const actionChangeRoundness: {
2282
2294
  value: import("../types").NormalizedZoomValue;
2283
2295
  }>;
2284
2296
  openMenu: "canvas" | "shape" | null;
2285
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2297
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2286
2298
  openSidebar: {
2287
2299
  name: string;
2288
2300
  tab?: string | undefined;
@@ -2383,6 +2395,7 @@ export declare const actionChangeRoundness: {
2383
2395
  lockedMultiSelections: {
2384
2396
  [groupId: string]: true;
2385
2397
  };
2398
+ stylesPanelMode: "compact" | "full";
2386
2399
  };
2387
2400
  captureUpdate: "IMMEDIATELY";
2388
2401
  };
@@ -2467,7 +2480,7 @@ export declare const actionChangeArrowhead: {
2467
2480
  value: import("../types").NormalizedZoomValue;
2468
2481
  }>;
2469
2482
  openMenu: "canvas" | "shape" | null;
2470
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2483
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2471
2484
  openSidebar: {
2472
2485
  name: string;
2473
2486
  tab?: string | undefined;
@@ -2568,6 +2581,7 @@ export declare const actionChangeArrowhead: {
2568
2581
  lockedMultiSelections: {
2569
2582
  [groupId: string]: true;
2570
2583
  };
2584
+ stylesPanelMode: "compact" | "full";
2571
2585
  };
2572
2586
  captureUpdate: "IMMEDIATELY";
2573
2587
  };
@@ -2575,6 +2589,15 @@ export declare const actionChangeArrowhead: {
2575
2589
  } & {
2576
2590
  keyTest?: undefined;
2577
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
+ };
2578
2601
  export declare const actionChangeArrowType: {
2579
2602
  name: "changeArrowType";
2580
2603
  label: string;
@@ -2649,7 +2672,7 @@ export declare const actionChangeArrowType: {
2649
2672
  value: import("../types").NormalizedZoomValue;
2650
2673
  }>;
2651
2674
  openMenu: "canvas" | "shape" | null;
2652
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2675
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2653
2676
  openSidebar: {
2654
2677
  name: string;
2655
2678
  tab?: string | undefined;
@@ -2750,6 +2773,7 @@ export declare const actionChangeArrowType: {
2750
2773
  lockedMultiSelections: {
2751
2774
  [groupId: string]: true;
2752
2775
  };
2776
+ stylesPanelMode: "compact" | "full";
2753
2777
  };
2754
2778
  captureUpdate: "IMMEDIATELY";
2755
2779
  };
@@ -86,7 +86,7 @@ export declare const actionSelectAll: {
86
86
  value: import("../types").NormalizedZoomValue;
87
87
  }>;
88
88
  openMenu: "canvas" | "shape" | null;
89
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
89
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
90
90
  openSidebar: {
91
91
  name: string;
92
92
  tab?: string | undefined;
@@ -179,6 +179,7 @@ export declare const actionSelectAll: {
179
179
  lockedMultiSelections: {
180
180
  [groupId: string]: true;
181
181
  };
182
+ stylesPanelMode: "compact" | "full";
182
183
  };
183
184
  captureUpdate: "IMMEDIATELY";
184
185
  };
@@ -79,7 +79,7 @@ export declare const actionCopyStyles: {
79
79
  value: import("../types").NormalizedZoomValue;
80
80
  }>;
81
81
  openMenu: "canvas" | "shape" | null;
82
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
82
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
83
83
  openSidebar: {
84
84
  name: string;
85
85
  tab?: string | undefined;
@@ -175,6 +175,7 @@ export declare const actionCopyStyles: {
175
175
  lockedMultiSelections: {
176
176
  [groupId: string]: true;
177
177
  };
178
+ stylesPanelMode: "compact" | "full";
178
179
  };
179
180
  captureUpdate: "EVENTUALLY";
180
181
  };
@@ -81,7 +81,7 @@ export declare const actionToggleGridMode: {
81
81
  value: import("../types").NormalizedZoomValue;
82
82
  }>;
83
83
  openMenu: "canvas" | "shape" | null;
84
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
84
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
85
85
  openSidebar: {
86
86
  name: string;
87
87
  tab?: string | undefined;
@@ -180,6 +180,7 @@ export declare const actionToggleGridMode: {
180
180
  lockedMultiSelections: {
181
181
  [groupId: string]: true;
182
182
  };
183
+ stylesPanelMode: "compact" | "full";
183
184
  };
184
185
  captureUpdate: "EVENTUALLY";
185
186
  };
@@ -79,7 +79,7 @@ export declare const actionToggleObjectsSnapMode: {
79
79
  value: import("../types").NormalizedZoomValue;
80
80
  }>;
81
81
  openMenu: "canvas" | "shape" | null;
82
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
82
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
83
83
  openSidebar: {
84
84
  name: string;
85
85
  tab?: string | undefined;
@@ -178,6 +178,7 @@ export declare const actionToggleObjectsSnapMode: {
178
178
  lockedMultiSelections: {
179
179
  [groupId: string]: true;
180
180
  };
181
+ stylesPanelMode: "compact" | "full";
181
182
  };
182
183
  captureUpdate: "EVENTUALLY";
183
184
  };