@zsviczian/excalidraw 0.18.0-46 → 0.18.0-48

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 (55) hide show
  1. package/dist/excalidraw.development.js +191 -114
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/styles.development.css +39 -1
  4. package/dist/styles.production.css +2 -2
  5. package/package.json +2 -1
  6. package/types/common/src/constants.d.ts +0 -16
  7. package/types/common/src/editorInterface.d.ts +35 -0
  8. package/types/common/src/index.d.ts +1 -0
  9. package/types/common/src/utils.d.ts +0 -1
  10. package/types/element/src/resizeTest.d.ts +5 -4
  11. package/types/element/src/transformHandles.d.ts +5 -4
  12. package/types/excalidraw/actions/actionAddToLibrary.d.ts +3 -6
  13. package/types/excalidraw/actions/actionBoundText.d.ts +2 -4
  14. package/types/excalidraw/actions/actionCanvas.d.ts +30 -45
  15. package/types/excalidraw/actions/actionClipboard.d.ts +6 -12
  16. package/types/excalidraw/actions/actionCropEditor.d.ts +1 -2
  17. package/types/excalidraw/actions/actionDeleteSelected.d.ts +4 -7
  18. package/types/excalidraw/actions/actionDuplicateSelection.d.ts +1 -1
  19. package/types/excalidraw/actions/actionElementLink.d.ts +1 -2
  20. package/types/excalidraw/actions/actionElementLock.d.ts +2 -4
  21. package/types/excalidraw/actions/actionEmbeddable.d.ts +1 -2
  22. package/types/excalidraw/actions/actionExport.d.ts +9 -18
  23. package/types/excalidraw/actions/actionFinalize.d.ts +3 -6
  24. package/types/excalidraw/actions/actionFrame.d.ts +4 -8
  25. package/types/excalidraw/actions/actionGroup.d.ts +2 -4
  26. package/types/excalidraw/actions/actionLinearEditor.d.ts +1 -2
  27. package/types/excalidraw/actions/actionLink.d.ts +0 -1
  28. package/types/excalidraw/actions/actionMenu.d.ts +1 -2
  29. package/types/excalidraw/actions/actionNavigate.d.ts +2 -4
  30. package/types/excalidraw/actions/actionProperties.d.ts +16 -32
  31. package/types/excalidraw/actions/actionSelectAll.d.ts +1 -2
  32. package/types/excalidraw/actions/actionStyles.d.ts +1 -2
  33. package/types/excalidraw/actions/actionToggleGridMode.d.ts +1 -2
  34. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +1 -2
  35. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +1 -2
  36. package/types/excalidraw/actions/actionToggleStats.d.ts +1 -2
  37. package/types/excalidraw/actions/actionToggleViewMode.d.ts +1 -2
  38. package/types/excalidraw/actions/actionToggleZenMode.d.ts +2 -3
  39. package/types/excalidraw/actions/actionTrayMenu.d.ts +1 -2
  40. package/types/excalidraw/components/Actions.d.ts +4 -1
  41. package/types/excalidraw/components/App.d.ts +21 -18
  42. package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +0 -1
  43. package/types/excalidraw/components/HintViewer.d.ts +4 -3
  44. package/types/excalidraw/components/TrayMenu.d.ts +4 -3
  45. package/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +3 -2
  46. package/types/excalidraw/components/icons.d.ts +1 -0
  47. package/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +14 -1
  48. package/types/excalidraw/components/main-menu/MainMenu.d.ts +0 -3
  49. package/types/excalidraw/index.d.ts +2 -3
  50. package/types/excalidraw/obsidianUtils.d.ts +2 -2
  51. package/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
  52. package/types/excalidraw/scene/types.d.ts +3 -3
  53. package/types/excalidraw/types.d.ts +12 -18
  54. package/types/excalidraw/webpack.dev.config.d.ts +2 -0
  55. package/types/excalidraw/webpack.prod.config.d.ts +2 -0
@@ -45,7 +45,6 @@ export declare const actionClearCanvas: {
45
45
  shown: true;
46
46
  data: import("../charts").Spreadsheet;
47
47
  };
48
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
49
48
  activeTool: {
50
49
  lastActiveTool: import("../types").ActiveTool | null;
51
50
  locked: boolean;
@@ -90,7 +89,7 @@ export declare const actionClearCanvas: {
90
89
  name: "help" | "imageExport" | "jsonExport";
91
90
  } | {
92
91
  name: "ttd";
93
- tab: "mermaid" | "text-to-diagram";
92
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
94
93
  } | {
95
94
  name: "commandPalette";
96
95
  } | {
@@ -215,7 +214,7 @@ export declare const actionClearCanvas: {
215
214
  } | null;
216
215
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
217
216
  currentChartType: import("@excalidraw/element/types").ChartType;
218
- showHyperlinkPopup: false | "editor" | "info";
217
+ showHyperlinkPopup: false | "info" | "editor";
219
218
  linkOpacity: number;
220
219
  currentStrokeOptions?: any;
221
220
  resetCustomPen?: any;
@@ -333,7 +332,7 @@ export declare const actionZoomIn: {
333
332
  name: "help" | "imageExport" | "jsonExport";
334
333
  } | {
335
334
  name: "ttd";
336
- tab: "mermaid" | "text-to-diagram";
335
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
337
336
  } | {
338
337
  name: "commandPalette";
339
338
  } | {
@@ -405,7 +404,7 @@ export declare const actionZoomIn: {
405
404
  shown: true;
406
405
  data: import("../charts").Spreadsheet;
407
406
  };
408
- showHyperlinkPopup: false | "editor" | "info";
407
+ showHyperlinkPopup: false | "info" | "editor";
409
408
  linkOpacity: number;
410
409
  colorPalette?: {
411
410
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -459,7 +458,6 @@ export declare const actionZoomIn: {
459
458
  lockedMultiSelections: {
460
459
  [groupId: string]: true;
461
460
  };
462
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
463
461
  };
464
462
  captureUpdate: "EVENTUALLY";
465
463
  };
@@ -562,7 +560,7 @@ export declare const actionZoomOut: {
562
560
  name: "help" | "imageExport" | "jsonExport";
563
561
  } | {
564
562
  name: "ttd";
565
- tab: "mermaid" | "text-to-diagram";
563
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
566
564
  } | {
567
565
  name: "commandPalette";
568
566
  } | {
@@ -634,7 +632,7 @@ export declare const actionZoomOut: {
634
632
  shown: true;
635
633
  data: import("../charts").Spreadsheet;
636
634
  };
637
- showHyperlinkPopup: false | "editor" | "info";
635
+ showHyperlinkPopup: false | "info" | "editor";
638
636
  linkOpacity: number;
639
637
  colorPalette?: {
640
638
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -688,7 +686,6 @@ export declare const actionZoomOut: {
688
686
  lockedMultiSelections: {
689
687
  [groupId: string]: true;
690
688
  };
691
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
692
689
  };
693
690
  captureUpdate: "EVENTUALLY";
694
691
  };
@@ -791,7 +788,7 @@ export declare const actionResetZoom: {
791
788
  name: "help" | "imageExport" | "jsonExport";
792
789
  } | {
793
790
  name: "ttd";
794
- tab: "mermaid" | "text-to-diagram";
791
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
795
792
  } | {
796
793
  name: "commandPalette";
797
794
  } | {
@@ -863,7 +860,7 @@ export declare const actionResetZoom: {
863
860
  shown: true;
864
861
  data: import("../charts").Spreadsheet;
865
862
  };
866
- showHyperlinkPopup: false | "editor" | "info";
863
+ showHyperlinkPopup: false | "info" | "editor";
867
864
  linkOpacity: number;
868
865
  colorPalette?: {
869
866
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -917,7 +914,6 @@ export declare const actionResetZoom: {
917
914
  lockedMultiSelections: {
918
915
  [groupId: string]: true;
919
916
  };
920
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
921
917
  };
922
918
  captureUpdate: "EVENTUALLY";
923
919
  };
@@ -1026,7 +1022,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
1026
1022
  name: "help" | "imageExport" | "jsonExport";
1027
1023
  } | {
1028
1024
  name: "ttd";
1029
- tab: "mermaid" | "text-to-diagram";
1025
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
1030
1026
  } | {
1031
1027
  name: "commandPalette";
1032
1028
  } | {
@@ -1098,7 +1094,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
1098
1094
  shown: true;
1099
1095
  data: import("../charts").Spreadsheet;
1100
1096
  };
1101
- showHyperlinkPopup: false | "editor" | "info";
1097
+ showHyperlinkPopup: false | "info" | "editor";
1102
1098
  linkOpacity: number;
1103
1099
  colorPalette?: {
1104
1100
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -1153,7 +1149,6 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
1153
1149
  lockedMultiSelections: {
1154
1150
  [groupId: string]: true;
1155
1151
  };
1156
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
1157
1152
  };
1158
1153
  captureUpdate: "EVENTUALLY";
1159
1154
  };
@@ -1257,7 +1252,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1257
1252
  name: "help" | "imageExport" | "jsonExport";
1258
1253
  } | {
1259
1254
  name: "ttd";
1260
- tab: "mermaid" | "text-to-diagram";
1255
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
1261
1256
  } | {
1262
1257
  name: "commandPalette";
1263
1258
  } | {
@@ -1329,7 +1324,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1329
1324
  shown: true;
1330
1325
  data: import("../charts").Spreadsheet;
1331
1326
  };
1332
- showHyperlinkPopup: false | "editor" | "info";
1327
+ showHyperlinkPopup: false | "info" | "editor";
1333
1328
  linkOpacity: number;
1334
1329
  colorPalette?: {
1335
1330
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -1384,7 +1379,6 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1384
1379
  lockedMultiSelections: {
1385
1380
  [groupId: string]: true;
1386
1381
  };
1387
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
1388
1382
  };
1389
1383
  captureUpdate: "EVENTUALLY";
1390
1384
  };
@@ -1480,7 +1474,7 @@ export declare const actionZoomToFitSelectionInViewport: {
1480
1474
  name: "help" | "imageExport" | "jsonExport";
1481
1475
  } | {
1482
1476
  name: "ttd";
1483
- tab: "mermaid" | "text-to-diagram";
1477
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
1484
1478
  } | {
1485
1479
  name: "commandPalette";
1486
1480
  } | {
@@ -1552,7 +1546,7 @@ export declare const actionZoomToFitSelectionInViewport: {
1552
1546
  shown: true;
1553
1547
  data: import("../charts").Spreadsheet;
1554
1548
  };
1555
- showHyperlinkPopup: false | "editor" | "info";
1549
+ showHyperlinkPopup: false | "info" | "editor";
1556
1550
  linkOpacity: number;
1557
1551
  colorPalette?: {
1558
1552
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -1607,7 +1601,6 @@ export declare const actionZoomToFitSelectionInViewport: {
1607
1601
  lockedMultiSelections: {
1608
1602
  [groupId: string]: true;
1609
1603
  };
1610
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
1611
1604
  };
1612
1605
  captureUpdate: "EVENTUALLY";
1613
1606
  };
@@ -1707,7 +1700,7 @@ export declare const actionZoomToFitSelection: {
1707
1700
  name: "help" | "imageExport" | "jsonExport";
1708
1701
  } | {
1709
1702
  name: "ttd";
1710
- tab: "mermaid" | "text-to-diagram";
1703
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
1711
1704
  } | {
1712
1705
  name: "commandPalette";
1713
1706
  } | {
@@ -1779,7 +1772,7 @@ export declare const actionZoomToFitSelection: {
1779
1772
  shown: true;
1780
1773
  data: import("../charts").Spreadsheet;
1781
1774
  };
1782
- showHyperlinkPopup: false | "editor" | "info";
1775
+ showHyperlinkPopup: false | "info" | "editor";
1783
1776
  linkOpacity: number;
1784
1777
  colorPalette?: {
1785
1778
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -1834,7 +1827,6 @@ export declare const actionZoomToFitSelection: {
1834
1827
  lockedMultiSelections: {
1835
1828
  [groupId: string]: true;
1836
1829
  };
1837
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
1838
1830
  };
1839
1831
  captureUpdate: "EVENTUALLY";
1840
1832
  };
@@ -1935,7 +1927,7 @@ export declare const actionZoomToFit: {
1935
1927
  name: "help" | "imageExport" | "jsonExport";
1936
1928
  } | {
1937
1929
  name: "ttd";
1938
- tab: "mermaid" | "text-to-diagram";
1930
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
1939
1931
  } | {
1940
1932
  name: "commandPalette";
1941
1933
  } | {
@@ -2007,7 +1999,7 @@ export declare const actionZoomToFit: {
2007
1999
  shown: true;
2008
2000
  data: import("../charts").Spreadsheet;
2009
2001
  };
2010
- showHyperlinkPopup: false | "editor" | "info";
2002
+ showHyperlinkPopup: false | "info" | "editor";
2011
2003
  linkOpacity: number;
2012
2004
  colorPalette?: {
2013
2005
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -2062,7 +2054,6 @@ export declare const actionZoomToFit: {
2062
2054
  lockedMultiSelections: {
2063
2055
  [groupId: string]: true;
2064
2056
  };
2065
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
2066
2057
  };
2067
2058
  captureUpdate: "EVENTUALLY";
2068
2059
  };
@@ -2165,7 +2156,7 @@ export declare const actionToggleTheme: {
2165
2156
  name: "help" | "imageExport" | "jsonExport";
2166
2157
  } | {
2167
2158
  name: "ttd";
2168
- tab: "mermaid" | "text-to-diagram";
2159
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
2169
2160
  } | {
2170
2161
  name: "commandPalette";
2171
2162
  } | {
@@ -2236,7 +2227,7 @@ export declare const actionToggleTheme: {
2236
2227
  shown: true;
2237
2228
  data: import("../charts").Spreadsheet;
2238
2229
  };
2239
- showHyperlinkPopup: false | "editor" | "info";
2230
+ showHyperlinkPopup: false | "info" | "editor";
2240
2231
  linkOpacity: number;
2241
2232
  colorPalette?: {
2242
2233
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -2291,7 +2282,6 @@ export declare const actionToggleTheme: {
2291
2282
  lockedMultiSelections: {
2292
2283
  [groupId: string]: true;
2293
2284
  };
2294
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
2295
2285
  };
2296
2286
  captureUpdate: "EVENTUALLY";
2297
2287
  };
@@ -2390,7 +2380,7 @@ export declare const actionToggleEraserTool: {
2390
2380
  name: "help" | "imageExport" | "jsonExport";
2391
2381
  } | {
2392
2382
  name: "ttd";
2393
- tab: "mermaid" | "text-to-diagram";
2383
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
2394
2384
  } | {
2395
2385
  name: "commandPalette";
2396
2386
  } | {
@@ -2456,7 +2446,7 @@ export declare const actionToggleEraserTool: {
2456
2446
  shown: true;
2457
2447
  data: import("../charts").Spreadsheet;
2458
2448
  };
2459
- showHyperlinkPopup: false | "editor" | "info";
2449
+ showHyperlinkPopup: false | "info" | "editor";
2460
2450
  linkOpacity: number;
2461
2451
  colorPalette?: {
2462
2452
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -2511,7 +2501,6 @@ export declare const actionToggleEraserTool: {
2511
2501
  lockedMultiSelections: {
2512
2502
  [groupId: string]: true;
2513
2503
  };
2514
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
2515
2504
  };
2516
2505
  captureUpdate: "IMMEDIATELY";
2517
2506
  };
@@ -2611,7 +2600,7 @@ export declare const actionToggleLassoTool: {
2611
2600
  name: "help" | "imageExport" | "jsonExport";
2612
2601
  } | {
2613
2602
  name: "ttd";
2614
- tab: "mermaid" | "text-to-diagram";
2603
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
2615
2604
  } | {
2616
2605
  name: "commandPalette";
2617
2606
  } | {
@@ -2677,7 +2666,7 @@ export declare const actionToggleLassoTool: {
2677
2666
  shown: true;
2678
2667
  data: import("../charts").Spreadsheet;
2679
2668
  };
2680
- showHyperlinkPopup: false | "editor" | "info";
2669
+ showHyperlinkPopup: false | "info" | "editor";
2681
2670
  linkOpacity: number;
2682
2671
  colorPalette?: {
2683
2672
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -2732,7 +2721,6 @@ export declare const actionToggleLassoTool: {
2732
2721
  lockedMultiSelections: {
2733
2722
  [groupId: string]: true;
2734
2723
  };
2735
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
2736
2724
  };
2737
2725
  captureUpdate: "NEVER";
2738
2726
  };
@@ -2831,7 +2819,7 @@ export declare const actionToggleHandTool: {
2831
2819
  name: "help" | "imageExport" | "jsonExport";
2832
2820
  } | {
2833
2821
  name: "ttd";
2834
- tab: "mermaid" | "text-to-diagram";
2822
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
2835
2823
  } | {
2836
2824
  name: "commandPalette";
2837
2825
  } | {
@@ -2897,7 +2885,7 @@ export declare const actionToggleHandTool: {
2897
2885
  shown: true;
2898
2886
  data: import("../charts").Spreadsheet;
2899
2887
  };
2900
- showHyperlinkPopup: false | "editor" | "info";
2888
+ showHyperlinkPopup: false | "info" | "editor";
2901
2889
  linkOpacity: number;
2902
2890
  colorPalette?: {
2903
2891
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -2952,7 +2940,6 @@ export declare const actionToggleHandTool: {
2952
2940
  lockedMultiSelections: {
2953
2941
  [groupId: string]: true;
2954
2942
  };
2955
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
2956
2943
  };
2957
2944
  captureUpdate: "IMMEDIATELY";
2958
2945
  };
@@ -3050,7 +3037,7 @@ export declare const actionToggleLaserPointer: {
3050
3037
  name: "help" | "imageExport" | "jsonExport";
3051
3038
  } | {
3052
3039
  name: "ttd";
3053
- tab: "mermaid" | "text-to-diagram";
3040
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
3054
3041
  } | {
3055
3042
  name: "commandPalette";
3056
3043
  } | {
@@ -3116,7 +3103,7 @@ export declare const actionToggleLaserPointer: {
3116
3103
  shown: true;
3117
3104
  data: import("../charts").Spreadsheet;
3118
3105
  };
3119
- showHyperlinkPopup: false | "editor" | "info";
3106
+ showHyperlinkPopup: false | "info" | "editor";
3120
3107
  linkOpacity: number;
3121
3108
  colorPalette?: {
3122
3109
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -3171,7 +3158,6 @@ export declare const actionToggleLaserPointer: {
3171
3158
  lockedMultiSelections: {
3172
3159
  [groupId: string]: true;
3173
3160
  };
3174
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
3175
3161
  };
3176
3162
  captureUpdate: "NEVER";
3177
3163
  };
@@ -3266,7 +3252,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
3266
3252
  name: "help" | "imageExport" | "jsonExport";
3267
3253
  } | {
3268
3254
  name: "ttd";
3269
- tab: "mermaid" | "text-to-diagram";
3255
+ tab: "mermaid" | "text-to-diagram"; /** zoom content to cover X of the viewport, when fitToViewport=true */
3270
3256
  } | {
3271
3257
  name: "commandPalette";
3272
3258
  } | {
@@ -3338,7 +3324,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
3338
3324
  shown: true;
3339
3325
  data: import("../charts").Spreadsheet;
3340
3326
  };
3341
- showHyperlinkPopup: false | "editor" | "info";
3327
+ showHyperlinkPopup: false | "info" | "editor";
3342
3328
  linkOpacity: number;
3343
3329
  colorPalette?: {
3344
3330
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -3393,7 +3379,6 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
3393
3379
  lockedMultiSelections: {
3394
3380
  [groupId: string]: true;
3395
3381
  };
3396
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
3397
3382
  };
3398
3383
  commitToHistory: boolean;
3399
3384
  };
@@ -163,7 +163,7 @@ export declare const actionCopy: {
163
163
  shown: true;
164
164
  data: import("../charts").Spreadsheet;
165
165
  };
166
- showHyperlinkPopup: false | "editor" | "info";
166
+ showHyperlinkPopup: false | "info" | "editor";
167
167
  linkOpacity: number;
168
168
  colorPalette?: {
169
169
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -218,7 +218,6 @@ export declare const actionCopy: {
218
218
  lockedMultiSelections: {
219
219
  [groupId: string]: true;
220
220
  };
221
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
222
221
  };
223
222
  } | {
224
223
  captureUpdate: "EVENTUALLY";
@@ -392,7 +391,7 @@ export declare const actionPaste: {
392
391
  shown: true;
393
392
  data: import("../charts").Spreadsheet;
394
393
  };
395
- showHyperlinkPopup: false | "editor" | "info";
394
+ showHyperlinkPopup: false | "info" | "editor";
396
395
  linkOpacity: number;
397
396
  colorPalette?: {
398
397
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -447,7 +446,6 @@ export declare const actionPaste: {
447
446
  lockedMultiSelections: {
448
447
  [groupId: string]: true;
449
448
  };
450
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
451
449
  };
452
450
  } | {
453
451
  captureUpdate: "EVENTUALLY";
@@ -623,7 +621,7 @@ export declare const actionCut: {
623
621
  shown: true;
624
622
  data: import("../charts").Spreadsheet;
625
623
  };
626
- showHyperlinkPopup: false | "editor" | "info";
624
+ showHyperlinkPopup: false | "info" | "editor";
627
625
  linkOpacity: number;
628
626
  colorPalette?: {
629
627
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -677,7 +675,6 @@ export declare const actionCut: {
677
675
  lockedMultiSelections: {
678
676
  [groupId: string]: true;
679
677
  };
680
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
681
678
  };
682
679
  captureUpdate: "IMMEDIATELY";
683
680
  } | {
@@ -871,7 +868,7 @@ export declare const actionCut: {
871
868
  shown: true;
872
869
  data: import("../charts").Spreadsheet;
873
870
  };
874
- showHyperlinkPopup: false | "editor" | "info";
871
+ showHyperlinkPopup: false | "info" | "editor";
875
872
  linkOpacity: number;
876
873
  colorPalette?: {
877
874
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -925,7 +922,6 @@ export declare const actionCut: {
925
922
  lockedMultiSelections: {
926
923
  [groupId: string]: true;
927
924
  };
928
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
929
925
  };
930
926
  captureUpdate: "IMMEDIATELY";
931
927
  } | {
@@ -1084,7 +1080,7 @@ export declare const actionCut: {
1084
1080
  shown: true;
1085
1081
  data: import("../charts").Spreadsheet;
1086
1082
  };
1087
- showHyperlinkPopup: false | "editor" | "info";
1083
+ showHyperlinkPopup: false | "info" | "editor";
1088
1084
  linkOpacity: number;
1089
1085
  colorPalette?: {
1090
1086
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -1138,7 +1134,6 @@ export declare const actionCut: {
1138
1134
  lockedMultiSelections: {
1139
1135
  [groupId: string]: true;
1140
1136
  };
1141
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
1142
1137
  };
1143
1138
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
1144
1139
  };
@@ -1343,7 +1338,7 @@ export declare const actionCopyAsPng: {
1343
1338
  shown: true;
1344
1339
  data: import("../charts").Spreadsheet;
1345
1340
  };
1346
- showHyperlinkPopup: false | "editor" | "info";
1341
+ showHyperlinkPopup: false | "info" | "editor";
1347
1342
  linkOpacity: number;
1348
1343
  colorPalette?: {
1349
1344
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -1398,7 +1393,6 @@ export declare const actionCopyAsPng: {
1398
1393
  lockedMultiSelections: {
1399
1394
  [groupId: string]: true;
1400
1395
  };
1401
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
1402
1396
  };
1403
1397
  captureUpdate: "EVENTUALLY";
1404
1398
  }>;
@@ -166,7 +166,7 @@ export declare const actionToggleCropEditor: {
166
166
  shown: true;
167
167
  data: import("../charts").Spreadsheet;
168
168
  };
169
- showHyperlinkPopup: false | "editor" | "info";
169
+ showHyperlinkPopup: false | "info" | "editor";
170
170
  linkOpacity: number;
171
171
  colorPalette?: {
172
172
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -219,7 +219,6 @@ export declare const actionToggleCropEditor: {
219
219
  lockedMultiSelections: {
220
220
  [groupId: string]: true;
221
221
  };
222
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
223
222
  };
224
223
  captureUpdate: "IMMEDIATELY";
225
224
  };
@@ -167,7 +167,7 @@ export declare const actionDeleteSelected: {
167
167
  shown: true;
168
168
  data: import("../charts").Spreadsheet;
169
169
  };
170
- showHyperlinkPopup: false | "editor" | "info";
170
+ showHyperlinkPopup: false | "info" | "editor";
171
171
  linkOpacity: number;
172
172
  colorPalette?: {
173
173
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -221,7 +221,6 @@ export declare const actionDeleteSelected: {
221
221
  lockedMultiSelections: {
222
222
  [groupId: string]: true;
223
223
  };
224
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
225
224
  };
226
225
  captureUpdate: "IMMEDIATELY";
227
226
  } | {
@@ -415,7 +414,7 @@ export declare const actionDeleteSelected: {
415
414
  shown: true;
416
415
  data: import("../charts").Spreadsheet;
417
416
  };
418
- showHyperlinkPopup: false | "editor" | "info";
417
+ showHyperlinkPopup: false | "info" | "editor";
419
418
  linkOpacity: number;
420
419
  colorPalette?: {
421
420
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -469,7 +468,6 @@ export declare const actionDeleteSelected: {
469
468
  lockedMultiSelections: {
470
469
  [groupId: string]: true;
471
470
  };
472
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
473
471
  };
474
472
  captureUpdate: "IMMEDIATELY";
475
473
  } | {
@@ -628,7 +626,7 @@ export declare const actionDeleteSelected: {
628
626
  shown: true;
629
627
  data: import("../charts").Spreadsheet;
630
628
  };
631
- showHyperlinkPopup: false | "editor" | "info";
629
+ showHyperlinkPopup: false | "info" | "editor";
632
630
  linkOpacity: number;
633
631
  colorPalette?: {
634
632
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -682,12 +680,11 @@ export declare const actionDeleteSelected: {
682
680
  lockedMultiSelections: {
683
681
  [groupId: string]: true;
684
682
  };
685
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
686
683
  };
687
684
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
688
685
  };
689
686
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean;
690
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
687
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
691
688
  } & {
692
689
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean) | undefined;
693
690
  };
@@ -11,7 +11,7 @@ export declare const actionDuplicateSelection: {
11
11
  captureUpdate: "IMMEDIATELY";
12
12
  };
13
13
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
14
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
14
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
15
15
  } & {
16
16
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
17
17
  };
@@ -184,7 +184,7 @@ export declare const actionLinkToElement: {
184
184
  shown: true;
185
185
  data: import("../charts").Spreadsheet;
186
186
  };
187
- showHyperlinkPopup: false | "editor" | "info";
187
+ showHyperlinkPopup: false | "info" | "editor";
188
188
  linkOpacity: number;
189
189
  colorPalette?: {
190
190
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -239,7 +239,6 @@ export declare const actionLinkToElement: {
239
239
  lockedMultiSelections: {
240
240
  [groupId: string]: true;
241
241
  };
242
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
243
242
  };
244
243
  captureUpdate: "IMMEDIATELY";
245
244
  elements?: undefined;
@@ -171,7 +171,7 @@ export declare const actionToggleElementLock: {
171
171
  shown: true;
172
172
  data: import("../charts").Spreadsheet;
173
173
  };
174
- showHyperlinkPopup: false | "editor" | "info";
174
+ showHyperlinkPopup: false | "info" | "editor";
175
175
  linkOpacity: number;
176
176
  colorPalette?: {
177
177
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -221,7 +221,6 @@ export declare const actionToggleElementLock: {
221
221
  focusedId: string | null;
222
222
  matches: readonly import("../types").SearchMatch[];
223
223
  }> | null;
224
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
225
224
  };
226
225
  captureUpdate: "IMMEDIATELY";
227
226
  };
@@ -397,7 +396,7 @@ export declare const actionUnlockAllElements: {
397
396
  shown: true;
398
397
  data: import("../charts").Spreadsheet;
399
398
  };
400
- showHyperlinkPopup: false | "editor" | "info";
399
+ showHyperlinkPopup: false | "info" | "editor";
401
400
  linkOpacity: number;
402
401
  colorPalette?: {
403
402
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -448,7 +447,6 @@ export declare const actionUnlockAllElements: {
448
447
  focusedId: string | null;
449
448
  matches: readonly import("../types").SearchMatch[];
450
449
  }> | null;
451
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
452
450
  };
453
451
  captureUpdate: "IMMEDIATELY";
454
452
  };
@@ -163,7 +163,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
163
163
  shown: true;
164
164
  data: import("../charts").Spreadsheet;
165
165
  };
166
- showHyperlinkPopup: false | "editor" | "info";
166
+ showHyperlinkPopup: false | "info" | "editor";
167
167
  linkOpacity: number;
168
168
  colorPalette?: {
169
169
  canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
@@ -218,7 +218,6 @@ export declare const actionSetEmbeddableAsActiveTool: {
218
218
  lockedMultiSelections: {
219
219
  [groupId: string]: true;
220
220
  };
221
- stylesPanelMode: "compact" | "full" | "mobile" | "tray";
222
221
  };
223
222
  captureUpdate: "EVENTUALLY";
224
223
  };