@zsviczian/excalidraw 0.18.0-37 → 0.18.0-38

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/excalidraw.development.js +171 -149
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/styles.development.css +690 -499
  4. package/dist/styles.production.css +12 -12
  5. package/package.json +2 -2
  6. package/types/common/src/constants.d.ts +20 -4
  7. package/types/common/src/utils.d.ts +3 -0
  8. package/types/element/src/bounds.d.ts +1 -1
  9. package/types/element/src/delta.d.ts +0 -1
  10. package/types/element/src/index.d.ts +1 -0
  11. package/types/element/src/positionElementsOnGrid.d.ts +2 -0
  12. package/types/element/src/renderElement.d.ts +4 -1
  13. package/types/element/src/textElement.d.ts +1 -1
  14. package/types/excalidraw/actions/actionAddToLibrary.d.ts +6 -3
  15. package/types/excalidraw/actions/actionBoundText.d.ts +4 -2
  16. package/types/excalidraw/actions/actionCanvas.d.ts +63 -32
  17. package/types/excalidraw/actions/actionClipboard.d.ts +12 -6
  18. package/types/excalidraw/actions/actionCropEditor.d.ts +2 -1
  19. package/types/excalidraw/actions/actionDeleteSelected.d.ts +6 -3
  20. package/types/excalidraw/actions/actionElementLink.d.ts +2 -1
  21. package/types/excalidraw/actions/actionElementLock.d.ts +4 -2
  22. package/types/excalidraw/actions/actionEmbeddable.d.ts +2 -1
  23. package/types/excalidraw/actions/actionExport.d.ts +18 -9
  24. package/types/excalidraw/actions/actionFinalize.d.ts +6 -3
  25. package/types/excalidraw/actions/actionFrame.d.ts +8 -4
  26. package/types/excalidraw/actions/actionGroup.d.ts +4 -2
  27. package/types/excalidraw/actions/actionLinearEditor.d.ts +3 -2
  28. package/types/excalidraw/actions/actionLink.d.ts +2 -1
  29. package/types/excalidraw/actions/actionMenu.d.ts +6 -3
  30. package/types/excalidraw/actions/actionNavigate.d.ts +4 -2
  31. package/types/excalidraw/actions/actionProperties.d.ts +50 -25
  32. package/types/excalidraw/actions/actionSelectAll.d.ts +2 -1
  33. package/types/excalidraw/actions/actionStyles.d.ts +2 -1
  34. package/types/excalidraw/actions/actionToggleGridMode.d.ts +2 -1
  35. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +2 -1
  36. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +2 -1
  37. package/types/excalidraw/actions/actionToggleStats.d.ts +2 -1
  38. package/types/excalidraw/actions/actionToggleViewMode.d.ts +2 -1
  39. package/types/excalidraw/actions/actionToggleZenMode.d.ts +2 -1
  40. package/types/excalidraw/actions/index.d.ts +1 -1
  41. package/types/excalidraw/actions/types.d.ts +1 -1
  42. package/types/excalidraw/appState.d.ts +1 -0
  43. package/types/excalidraw/clipboard.d.ts +64 -1
  44. package/types/excalidraw/components/Actions.d.ts +8 -1
  45. package/types/excalidraw/components/App.d.ts +8 -6
  46. package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -1
  47. package/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
  48. package/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
  49. package/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
  50. package/types/excalidraw/components/InlineIcon.d.ts +3 -1
  51. package/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  52. package/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
  53. package/types/excalidraw/components/TextField.d.ts +1 -0
  54. package/types/excalidraw/components/icons.d.ts +6 -0
  55. package/types/excalidraw/components/shapes.d.ts +117 -1
  56. package/types/excalidraw/data/blob.d.ts +3 -7
  57. package/types/excalidraw/data/types.d.ts +4 -1
  58. package/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  59. package/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  60. package/types/excalidraw/types.d.ts +5 -1
  61. package/types/math/src/segment.d.ts +1 -0
@@ -82,7 +82,7 @@ export declare const actionDeleteSelected: {
82
82
  value: import("../types").NormalizedZoomValue;
83
83
  }>;
84
84
  openMenu: "canvas" | "shape" | null;
85
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
85
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
86
86
  openSidebar: {
87
87
  name: string;
88
88
  tab?: string | undefined;
@@ -218,6 +218,7 @@ export declare const actionDeleteSelected: {
218
218
  lockedMultiSelections: {
219
219
  [groupId: string]: true;
220
220
  };
221
+ stylesPanelMode: "compact" | "full";
221
222
  };
222
223
  captureUpdate: "IMMEDIATELY";
223
224
  } | {
@@ -326,7 +327,7 @@ export declare const actionDeleteSelected: {
326
327
  value: import("../types").NormalizedZoomValue;
327
328
  }>;
328
329
  openMenu: "canvas" | "shape" | null;
329
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
330
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
330
331
  openSidebar: {
331
332
  name: string;
332
333
  tab?: string | undefined;
@@ -462,6 +463,7 @@ export declare const actionDeleteSelected: {
462
463
  lockedMultiSelections: {
463
464
  [groupId: string]: true;
464
465
  };
466
+ stylesPanelMode: "compact" | "full";
465
467
  };
466
468
  captureUpdate: "IMMEDIATELY";
467
469
  } | {
@@ -542,7 +544,7 @@ export declare const actionDeleteSelected: {
542
544
  value: import("../types").NormalizedZoomValue;
543
545
  }>;
544
546
  openMenu: "canvas" | "shape" | null;
545
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
547
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
546
548
  openSidebar: {
547
549
  name: string;
548
550
  tab?: string | undefined;
@@ -671,6 +673,7 @@ export declare const actionDeleteSelected: {
671
673
  lockedMultiSelections: {
672
674
  [groupId: string]: true;
673
675
  };
676
+ stylesPanelMode: "compact" | "full";
674
677
  };
675
678
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
676
679
  };
@@ -110,7 +110,7 @@ export declare const actionLinkToElement: {
110
110
  value: import("../types").NormalizedZoomValue;
111
111
  }>;
112
112
  openMenu: "canvas" | "shape" | null;
113
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
113
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
114
114
  openSidebar: {
115
115
  name: string;
116
116
  tab?: string | undefined;
@@ -236,6 +236,7 @@ export declare const actionLinkToElement: {
236
236
  lockedMultiSelections: {
237
237
  [groupId: string]: true;
238
238
  };
239
+ stylesPanelMode: "compact" | "full";
239
240
  };
240
241
  captureUpdate: "IMMEDIATELY";
241
242
  elements?: undefined;
@@ -92,7 +92,7 @@ export declare const actionToggleElementLock: {
92
92
  value: import("../types").NormalizedZoomValue;
93
93
  }>;
94
94
  openMenu: "canvas" | "shape" | null;
95
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
95
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
96
96
  openSidebar: {
97
97
  name: string;
98
98
  tab?: string | undefined;
@@ -218,6 +218,7 @@ export declare const actionToggleElementLock: {
218
218
  focusedId: string | null;
219
219
  matches: readonly import("../types").SearchMatch[];
220
220
  }> | null;
221
+ stylesPanelMode: "compact" | "full";
221
222
  };
222
223
  captureUpdate: "IMMEDIATELY";
223
224
  };
@@ -314,7 +315,7 @@ export declare const actionUnlockAllElements: {
314
315
  value: import("../types").NormalizedZoomValue;
315
316
  }>;
316
317
  openMenu: "canvas" | "shape" | null;
317
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
318
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
318
319
  openSidebar: {
319
320
  name: string;
320
321
  tab?: string | undefined;
@@ -441,6 +442,7 @@ export declare const actionUnlockAllElements: {
441
442
  focusedId: string | null;
442
443
  matches: readonly import("../types").SearchMatch[];
443
444
  }> | null;
445
+ stylesPanelMode: "compact" | "full";
444
446
  };
445
447
  captureUpdate: "IMMEDIATELY";
446
448
  };
@@ -78,7 +78,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
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;
@@ -215,6 +215,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
215
215
  lockedMultiSelections: {
216
216
  [groupId: string]: true;
217
217
  };
218
+ stylesPanelMode: "compact" | "full";
218
219
  };
219
220
  captureUpdate: "EVENTUALLY";
220
221
  };
@@ -76,7 +76,7 @@ export declare const actionChangeProjectName: {
76
76
  value: import("../types").NormalizedZoomValue;
77
77
  }>;
78
78
  openMenu: "canvas" | "shape" | null;
79
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
79
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
80
80
  openSidebar: {
81
81
  name: string;
82
82
  tab?: string | undefined;
@@ -213,6 +213,7 @@ export declare const actionChangeProjectName: {
213
213
  lockedMultiSelections: {
214
214
  [groupId: string]: true;
215
215
  };
216
+ stylesPanelMode: "compact" | "full";
216
217
  };
217
218
  captureUpdate: "EVENTUALLY";
218
219
  };
@@ -299,7 +300,7 @@ export declare const actionChangeExportScale: {
299
300
  value: import("../types").NormalizedZoomValue;
300
301
  }>;
301
302
  openMenu: "canvas" | "shape" | null;
302
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
303
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
303
304
  openSidebar: {
304
305
  name: string;
305
306
  tab?: string | undefined;
@@ -436,6 +437,7 @@ export declare const actionChangeExportScale: {
436
437
  lockedMultiSelections: {
437
438
  [groupId: string]: true;
438
439
  };
440
+ stylesPanelMode: "compact" | "full";
439
441
  };
440
442
  captureUpdate: "EVENTUALLY";
441
443
  };
@@ -522,7 +524,7 @@ export declare const actionChangeExportBackground: {
522
524
  value: import("../types").NormalizedZoomValue;
523
525
  }>;
524
526
  openMenu: "canvas" | "shape" | null;
525
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
527
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
526
528
  openSidebar: {
527
529
  name: string;
528
530
  tab?: string | undefined;
@@ -659,6 +661,7 @@ export declare const actionChangeExportBackground: {
659
661
  lockedMultiSelections: {
660
662
  [groupId: string]: true;
661
663
  };
664
+ stylesPanelMode: "compact" | "full";
662
665
  };
663
666
  captureUpdate: "EVENTUALLY";
664
667
  };
@@ -745,7 +748,7 @@ export declare const actionChangeExportEmbedScene: {
745
748
  value: import("../types").NormalizedZoomValue;
746
749
  }>;
747
750
  openMenu: "canvas" | "shape" | null;
748
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
751
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
749
752
  openSidebar: {
750
753
  name: string;
751
754
  tab?: string | undefined;
@@ -882,6 +885,7 @@ export declare const actionChangeExportEmbedScene: {
882
885
  lockedMultiSelections: {
883
886
  [groupId: string]: true;
884
887
  };
888
+ stylesPanelMode: "compact" | "full";
885
889
  };
886
890
  captureUpdate: "EVENTUALLY";
887
891
  };
@@ -974,7 +978,7 @@ export declare const actionSaveToActiveFile: {
974
978
  value: import("../types").NormalizedZoomValue;
975
979
  }>;
976
980
  openMenu: "canvas" | "shape" | null;
977
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
981
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
978
982
  openSidebar: {
979
983
  name: string;
980
984
  tab?: string | undefined;
@@ -1105,6 +1109,7 @@ export declare const actionSaveToActiveFile: {
1105
1109
  lockedMultiSelections: {
1106
1110
  [groupId: string]: true;
1107
1111
  };
1112
+ stylesPanelMode: "compact" | "full";
1108
1113
  };
1109
1114
  } | {
1110
1115
  captureUpdate: "EVENTUALLY";
@@ -1200,7 +1205,7 @@ export declare const actionSaveFileToDisk: {
1200
1205
  value: import("../types").NormalizedZoomValue;
1201
1206
  }>;
1202
1207
  openMenu: "canvas" | "shape" | null;
1203
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1208
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1204
1209
  openSidebar: {
1205
1210
  name: string;
1206
1211
  tab?: string | undefined;
@@ -1320,6 +1325,7 @@ export declare const actionSaveFileToDisk: {
1320
1325
  lockedMultiSelections: {
1321
1326
  [groupId: string]: true;
1322
1327
  };
1328
+ stylesPanelMode: "compact" | "full";
1323
1329
  };
1324
1330
  } | {
1325
1331
  captureUpdate: "EVENTUALLY";
@@ -1474,7 +1480,7 @@ export declare const actionLoadScene: {
1474
1480
  scrolledOutside: boolean;
1475
1481
  isResizing: boolean;
1476
1482
  openMenu: "canvas" | "shape" | null;
1477
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1483
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1478
1484
  openSidebar: {
1479
1485
  name: string;
1480
1486
  tab?: string | undefined;
@@ -1543,6 +1549,7 @@ export declare const actionLoadScene: {
1543
1549
  lockedMultiSelections: {
1544
1550
  [groupId: string]: true;
1545
1551
  };
1552
+ stylesPanelMode: "compact" | "full";
1546
1553
  };
1547
1554
  files: import("../types").BinaryFiles;
1548
1555
  captureUpdate: "IMMEDIATELY";
@@ -1619,7 +1626,7 @@ export declare const actionLoadScene: {
1619
1626
  value: import("../types").NormalizedZoomValue;
1620
1627
  }>;
1621
1628
  openMenu: "canvas" | "shape" | null;
1622
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1629
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1623
1630
  openSidebar: {
1624
1631
  name: string;
1625
1632
  tab?: string | undefined;
@@ -1756,6 +1763,7 @@ export declare const actionLoadScene: {
1756
1763
  lockedMultiSelections: {
1757
1764
  [groupId: string]: true;
1758
1765
  };
1766
+ stylesPanelMode: "compact" | "full";
1759
1767
  };
1760
1768
  files: import("../types").BinaryFiles;
1761
1769
  captureUpdate: "EVENTUALLY";
@@ -1843,7 +1851,7 @@ export declare const actionExportWithDarkMode: {
1843
1851
  value: import("../types").NormalizedZoomValue;
1844
1852
  }>;
1845
1853
  openMenu: "canvas" | "shape" | null;
1846
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1854
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1847
1855
  openSidebar: {
1848
1856
  name: string;
1849
1857
  tab?: string | undefined;
@@ -1980,6 +1988,7 @@ export declare const actionExportWithDarkMode: {
1980
1988
  lockedMultiSelections: {
1981
1989
  [groupId: string]: true;
1982
1990
  };
1991
+ stylesPanelMode: "compact" | "full";
1983
1992
  };
1984
1993
  captureUpdate: "EVENTUALLY";
1985
1994
  };
@@ -112,7 +112,7 @@ export declare const actionFinalize: {
112
112
  value: import("../types").NormalizedZoomValue;
113
113
  }>;
114
114
  openMenu: "canvas" | "shape" | null;
115
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
115
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
116
116
  openSidebar: {
117
117
  name: string;
118
118
  tab?: string | undefined;
@@ -248,6 +248,7 @@ export declare const actionFinalize: {
248
248
  lockedMultiSelections: {
249
249
  [groupId: string]: true;
250
250
  };
251
+ stylesPanelMode: "compact" | "full";
251
252
  };
252
253
  captureUpdate: "IMMEDIATELY";
253
254
  } | {
@@ -324,7 +325,7 @@ export declare const actionFinalize: {
324
325
  value: import("../types").NormalizedZoomValue;
325
326
  }>;
326
327
  openMenu: "canvas" | "shape" | null;
327
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
328
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
328
329
  openSidebar: {
329
330
  name: string;
330
331
  tab?: string | undefined;
@@ -460,6 +461,7 @@ export declare const actionFinalize: {
460
461
  lockedMultiSelections: {
461
462
  [groupId: string]: true;
462
463
  };
464
+ stylesPanelMode: "compact" | "full";
463
465
  };
464
466
  captureUpdate: "IMMEDIATELY";
465
467
  } | {
@@ -536,7 +538,7 @@ export declare const actionFinalize: {
536
538
  value: import("../types").NormalizedZoomValue;
537
539
  }>;
538
540
  openMenu: "canvas" | "shape" | null;
539
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
541
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
540
542
  openSidebar: {
541
543
  name: string;
542
544
  tab?: string | undefined;
@@ -669,6 +671,7 @@ export declare const actionFinalize: {
669
671
  lockedMultiSelections: {
670
672
  [groupId: string]: true;
671
673
  };
674
+ stylesPanelMode: "compact" | "full";
672
675
  };
673
676
  captureUpdate: "IMMEDIATELY";
674
677
  };
@@ -80,7 +80,7 @@ export declare const actionSelectAllElementsInFrame: {
80
80
  value: import("../types").NormalizedZoomValue;
81
81
  }>;
82
82
  openMenu: "canvas" | "shape" | null;
83
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
83
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
84
84
  openSidebar: {
85
85
  name: string;
86
86
  tab?: string | undefined;
@@ -214,6 +214,7 @@ export declare const actionSelectAllElementsInFrame: {
214
214
  lockedMultiSelections: {
215
215
  [groupId: string]: true;
216
216
  };
217
+ stylesPanelMode: "compact" | "full";
217
218
  };
218
219
  captureUpdate: "IMMEDIATELY";
219
220
  } | {
@@ -307,7 +308,7 @@ export declare const actionRemoveAllElementsFromFrame: {
307
308
  value: import("../types").NormalizedZoomValue;
308
309
  }>;
309
310
  openMenu: "canvas" | "shape" | null;
310
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
311
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
311
312
  openSidebar: {
312
313
  name: string;
313
314
  tab?: string | undefined;
@@ -441,6 +442,7 @@ export declare const actionRemoveAllElementsFromFrame: {
441
442
  lockedMultiSelections: {
442
443
  [groupId: string]: true;
443
444
  };
445
+ stylesPanelMode: "compact" | "full";
444
446
  };
445
447
  captureUpdate: "IMMEDIATELY";
446
448
  } | {
@@ -532,7 +534,7 @@ export declare const actionupdateFrameRendering: {
532
534
  value: import("../types").NormalizedZoomValue;
533
535
  }>;
534
536
  openMenu: "canvas" | "shape" | null;
535
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
537
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
536
538
  openSidebar: {
537
539
  name: string;
538
540
  tab?: string | undefined;
@@ -669,6 +671,7 @@ export declare const actionupdateFrameRendering: {
669
671
  lockedMultiSelections: {
670
672
  [groupId: string]: true;
671
673
  };
674
+ stylesPanelMode: "compact" | "full";
672
675
  };
673
676
  captureUpdate: "EVENTUALLY";
674
677
  };
@@ -757,7 +760,7 @@ export declare const actionSetFrameAsActiveTool: {
757
760
  value: import("../types").NormalizedZoomValue;
758
761
  }>;
759
762
  openMenu: "canvas" | "shape" | null;
760
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
763
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
761
764
  openSidebar: {
762
765
  name: string;
763
766
  tab?: string | undefined;
@@ -894,6 +897,7 @@ export declare const actionSetFrameAsActiveTool: {
894
897
  lockedMultiSelections: {
895
898
  [groupId: string]: true;
896
899
  };
900
+ stylesPanelMode: "compact" | "full";
897
901
  };
898
902
  captureUpdate: "EVENTUALLY";
899
903
  };
@@ -90,7 +90,7 @@ export declare const actionGroup: {
90
90
  value: import("../types").NormalizedZoomValue;
91
91
  }>;
92
92
  openMenu: "canvas" | "shape" | null;
93
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
93
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
94
94
  openSidebar: {
95
95
  name: string;
96
96
  tab?: string | undefined;
@@ -220,6 +220,7 @@ export declare const actionGroup: {
220
220
  lockedMultiSelections: {
221
221
  [groupId: string]: true;
222
222
  };
223
+ stylesPanelMode: "compact" | "full";
223
224
  };
224
225
  elements: OrderedExcalidrawElement[];
225
226
  captureUpdate: "IMMEDIATELY";
@@ -320,7 +321,7 @@ export declare const actionUngroup: {
320
321
  value: import("../types").NormalizedZoomValue;
321
322
  }>;
322
323
  openMenu: "canvas" | "shape" | null;
323
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
324
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
324
325
  openSidebar: {
325
326
  name: string;
326
327
  tab?: string | undefined;
@@ -450,6 +451,7 @@ export declare const actionUngroup: {
450
451
  lockedMultiSelections: {
451
452
  [groupId: string]: true;
452
453
  };
454
+ stylesPanelMode: "compact" | "full";
453
455
  };
454
456
  elements: OrderedExcalidrawElement[];
455
457
  captureUpdate: "IMMEDIATELY";
@@ -113,7 +113,7 @@ export declare const actionToggleLinearEditor: {
113
113
  value: import("../types").NormalizedZoomValue;
114
114
  }>;
115
115
  openMenu: "canvas" | "shape" | null;
116
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
116
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
117
117
  openSidebar: {
118
118
  name: string;
119
119
  tab?: string | undefined;
@@ -249,10 +249,11 @@ export declare const actionToggleLinearEditor: {
249
249
  lockedMultiSelections: {
250
250
  [groupId: string]: true;
251
251
  };
252
+ stylesPanelMode: "compact" | "full";
252
253
  };
253
254
  captureUpdate: "IMMEDIATELY";
254
255
  };
255
- PanelComponent: ({ appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
256
+ PanelComponent: ({ appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element | null;
256
257
  } & {
257
258
  keyTest?: undefined;
258
259
  };
@@ -76,7 +76,7 @@ export declare const actionLink: {
76
76
  zoom: Readonly<{
77
77
  value: import("../types").NormalizedZoomValue;
78
78
  }>;
79
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
79
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
80
80
  openSidebar: {
81
81
  name: string;
82
82
  tab?: string | undefined;
@@ -212,6 +212,7 @@ export declare const actionLink: {
212
212
  lockedMultiSelections: {
213
213
  [groupId: string]: true;
214
214
  };
215
+ stylesPanelMode: "compact" | "full";
215
216
  };
216
217
  captureUpdate: "IMMEDIATELY";
217
218
  };
@@ -76,7 +76,7 @@ export declare const actionToggleCanvasMenu: {
76
76
  zoom: Readonly<{
77
77
  value: import("../types").NormalizedZoomValue;
78
78
  }>;
79
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
79
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
80
80
  openSidebar: {
81
81
  name: string;
82
82
  tab?: string | undefined;
@@ -213,6 +213,7 @@ export declare const actionToggleCanvasMenu: {
213
213
  lockedMultiSelections: {
214
214
  [groupId: string]: true;
215
215
  };
216
+ stylesPanelMode: "compact" | "full";
216
217
  };
217
218
  captureUpdate: "EVENTUALLY";
218
219
  };
@@ -298,7 +299,7 @@ export declare const actionToggleEditMenu: {
298
299
  zoom: Readonly<{
299
300
  value: import("../types").NormalizedZoomValue;
300
301
  }>;
301
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
302
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
302
303
  openSidebar: {
303
304
  name: string;
304
305
  tab?: string | undefined;
@@ -435,6 +436,7 @@ export declare const actionToggleEditMenu: {
435
436
  lockedMultiSelections: {
436
437
  [groupId: string]: true;
437
438
  };
439
+ stylesPanelMode: "compact" | "full";
438
440
  };
439
441
  captureUpdate: "EVENTUALLY";
440
442
  };
@@ -526,7 +528,7 @@ export declare const actionShortcuts: {
526
528
  value: import("../types").NormalizedZoomValue;
527
529
  }>;
528
530
  openMenu: "canvas" | "shape" | null;
529
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
531
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
530
532
  openSidebar: {
531
533
  name: string;
532
534
  tab?: string | undefined;
@@ -652,6 +654,7 @@ export declare const actionShortcuts: {
652
654
  lockedMultiSelections: {
653
655
  [groupId: string]: true;
654
656
  };
657
+ stylesPanelMode: "compact" | "full";
655
658
  };
656
659
  captureUpdate: "EVENTUALLY";
657
660
  };
@@ -79,7 +79,7 @@ export declare const actionGoToCollaborator: {
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;
@@ -215,6 +215,7 @@ export declare const actionGoToCollaborator: {
215
215
  lockedMultiSelections: {
216
216
  [groupId: string]: true;
217
217
  };
218
+ stylesPanelMode: "compact" | "full";
218
219
  };
219
220
  captureUpdate: "EVENTUALLY";
220
221
  } | {
@@ -293,7 +294,7 @@ export declare const actionGoToCollaborator: {
293
294
  zoom: Readonly<{
294
295
  value: import("../types").NormalizedZoomValue;
295
296
  }>;
296
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
297
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
297
298
  openSidebar: {
298
299
  name: string;
299
300
  tab?: string | undefined;
@@ -429,6 +430,7 @@ export declare const actionGoToCollaborator: {
429
430
  lockedMultiSelections: {
430
431
  [groupId: string]: true;
431
432
  };
433
+ stylesPanelMode: "compact" | "full";
432
434
  };
433
435
  captureUpdate: "EVENTUALLY";
434
436
  };