@zsviczian/excalidraw 0.17.1-obsidian-49 → 0.17.1-obsidian-51

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 (44) hide show
  1. package/package.json +1 -1
  2. package/types/excalidraw/actions/actionAddToLibrary.d.ts +30 -0
  3. package/types/excalidraw/actions/actionBoundText.d.ts +20 -0
  4. package/types/excalidraw/actions/actionCanvas.d.ts +140 -0
  5. package/types/excalidraw/actions/actionClipboard.d.ts +70 -0
  6. package/types/excalidraw/actions/actionDeleteSelected.d.ts +30 -0
  7. package/types/excalidraw/actions/actionElementLock.d.ts +20 -0
  8. package/types/excalidraw/actions/actionExport.d.ts +90 -0
  9. package/types/excalidraw/actions/actionFinalize.d.ts +20 -0
  10. package/types/excalidraw/actions/actionFrame.d.ts +40 -0
  11. package/types/excalidraw/actions/actionGroup.d.ts +20 -0
  12. package/types/excalidraw/actions/actionLinearEditor.d.ts +10 -0
  13. package/types/excalidraw/actions/actionLink.d.ts +10 -0
  14. package/types/excalidraw/actions/actionMenu.d.ts +30 -0
  15. package/types/excalidraw/actions/actionNavigate.d.ts +20 -0
  16. package/types/excalidraw/actions/actionProperties.d.ts +150 -0
  17. package/types/excalidraw/actions/actionSelectAll.d.ts +10 -0
  18. package/types/excalidraw/actions/actionStyles.d.ts +10 -0
  19. package/types/excalidraw/actions/actionToggleGridMode.d.ts +10 -0
  20. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +10 -0
  21. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +406 -0
  22. package/types/excalidraw/actions/actionToggleStats.d.ts +10 -0
  23. package/types/excalidraw/actions/actionToggleViewMode.d.ts +10 -0
  24. package/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -0
  25. package/types/excalidraw/actions/index.d.ts +1 -0
  26. package/types/excalidraw/actions/shortcuts.d.ts +1 -1
  27. package/types/excalidraw/actions/types.d.ts +2 -2
  28. package/types/excalidraw/components/App.d.ts +12 -2
  29. package/types/excalidraw/components/DefaultSidebar.d.ts +1 -0
  30. package/types/excalidraw/components/SearchMenu.d.ts +5 -0
  31. package/types/excalidraw/components/SearchSidebar.d.ts +1 -0
  32. package/types/excalidraw/components/TextField.d.ts +2 -0
  33. package/types/excalidraw/components/icons.d.ts +1 -0
  34. package/types/excalidraw/components/main-menu/DefaultItems.d.ts +6 -0
  35. package/types/excalidraw/constants.d.ts +4 -0
  36. package/types/excalidraw/element/embeddable.d.ts +10 -0
  37. package/types/excalidraw/element/textElement.d.ts +1 -1
  38. package/types/excalidraw/fonts/ExcalidrawFont.d.ts +2 -2
  39. package/types/excalidraw/types.d.ts +15 -0
  40. package/dist/excalidraw.development.js +0 -6944
  41. package/dist/excalidraw.production.min.js +0 -2
  42. package/dist/excalidraw.production.min.js.LICENSE.txt +0 -121
  43. package/dist/styles.development.css +0 -6708
  44. package/dist/styles.production.css +0 -65
@@ -192,6 +192,16 @@ export declare const actionFinalize: {
192
192
  objectsSnapModeEnabled: boolean;
193
193
  userToFollow: import("../types").UserToFollow | null;
194
194
  followedBy: Set<import("../types").SocketId>;
195
+ searchMatches: readonly {
196
+ id: string;
197
+ focus: boolean;
198
+ matchedLines: {
199
+ offsetX: number;
200
+ offsetY: number;
201
+ width: number;
202
+ height: number;
203
+ }[];
204
+ }[];
195
205
  };
196
206
  storeAction: "capture";
197
207
  } | {
@@ -379,6 +389,16 @@ export declare const actionFinalize: {
379
389
  objectsSnapModeEnabled: boolean;
380
390
  userToFollow: import("../types").UserToFollow | null;
381
391
  followedBy: Set<import("../types").SocketId>;
392
+ searchMatches: readonly {
393
+ id: string;
394
+ focus: boolean;
395
+ matchedLines: {
396
+ offsetX: number;
397
+ offsetY: number;
398
+ width: number;
399
+ height: number;
400
+ }[];
401
+ }[];
382
402
  };
383
403
  storeAction: "capture";
384
404
  };
@@ -192,6 +192,16 @@ export declare const actionSelectAllElementsInFrame: {
192
192
  objectsSnapModeEnabled: boolean;
193
193
  userToFollow: import("../types").UserToFollow | null;
194
194
  followedBy: Set<import("../types").SocketId>;
195
+ searchMatches: readonly {
196
+ id: string;
197
+ focus: boolean;
198
+ matchedLines: {
199
+ offsetX: number;
200
+ offsetY: number;
201
+ width: number;
202
+ height: number;
203
+ }[];
204
+ }[];
195
205
  };
196
206
  storeAction: "capture";
197
207
  } | {
@@ -397,6 +407,16 @@ export declare const actionRemoveAllElementsFromFrame: {
397
407
  objectsSnapModeEnabled: boolean;
398
408
  userToFollow: import("../types").UserToFollow | null;
399
409
  followedBy: Set<import("../types").SocketId>;
410
+ searchMatches: readonly {
411
+ id: string;
412
+ focus: boolean;
413
+ matchedLines: {
414
+ offsetX: number;
415
+ offsetY: number;
416
+ width: number;
417
+ height: number;
418
+ }[];
419
+ }[];
400
420
  };
401
421
  storeAction: "capture";
402
422
  } | {
@@ -603,6 +623,16 @@ export declare const actionupdateFrameRendering: {
603
623
  objectsSnapModeEnabled: boolean;
604
624
  userToFollow: import("../types").UserToFollow | null;
605
625
  followedBy: Set<import("../types").SocketId>;
626
+ searchMatches: readonly {
627
+ id: string;
628
+ focus: boolean;
629
+ matchedLines: {
630
+ offsetX: number;
631
+ offsetY: number;
632
+ width: number;
633
+ height: number;
634
+ }[];
635
+ }[];
606
636
  };
607
637
  storeAction: "none";
608
638
  };
@@ -806,6 +836,16 @@ export declare const actionSetFrameAsActiveTool: {
806
836
  objectsSnapModeEnabled: boolean;
807
837
  userToFollow: import("../types").UserToFollow | null;
808
838
  followedBy: Set<import("../types").SocketId>;
839
+ searchMatches: readonly {
840
+ id: string;
841
+ focus: boolean;
842
+ matchedLines: {
843
+ offsetX: number;
844
+ offsetY: number;
845
+ width: number;
846
+ height: number;
847
+ }[];
848
+ }[];
809
849
  };
810
850
  storeAction: "none";
811
851
  };
@@ -198,6 +198,16 @@ export declare const actionGroup: {
198
198
  objectsSnapModeEnabled: boolean;
199
199
  userToFollow: import("../types").UserToFollow | null;
200
200
  followedBy: Set<import("../types").SocketId>;
201
+ searchMatches: readonly {
202
+ id: string;
203
+ focus: boolean;
204
+ matchedLines: {
205
+ offsetX: number;
206
+ offsetY: number;
207
+ width: number;
208
+ height: number;
209
+ }[];
210
+ }[];
201
211
  };
202
212
  elements: OrderedExcalidrawElement[];
203
213
  storeAction: "capture";
@@ -406,6 +416,16 @@ export declare const actionUngroup: {
406
416
  objectsSnapModeEnabled: boolean;
407
417
  userToFollow: import("../types").UserToFollow | null;
408
418
  followedBy: Set<import("../types").SocketId>;
419
+ searchMatches: readonly {
420
+ id: string;
421
+ focus: boolean;
422
+ matchedLines: {
423
+ offsetX: number;
424
+ offsetY: number;
425
+ width: number;
426
+ height: number;
427
+ }[];
428
+ }[];
409
429
  };
410
430
  elements: OrderedExcalidrawElement[];
411
431
  storeAction: "capture";
@@ -196,6 +196,16 @@ export declare const actionToggleLinearEditor: {
196
196
  objectsSnapModeEnabled: boolean;
197
197
  userToFollow: import("../types").UserToFollow | null;
198
198
  followedBy: Set<import("../types").SocketId>;
199
+ searchMatches: readonly {
200
+ id: string;
201
+ focus: boolean;
202
+ matchedLines: {
203
+ offsetX: number;
204
+ offsetY: number;
205
+ width: number;
206
+ height: number;
207
+ }[];
208
+ }[];
199
209
  };
200
210
  storeAction: "capture";
201
211
  };
@@ -190,6 +190,16 @@ export declare const actionLink: {
190
190
  objectsSnapModeEnabled: boolean;
191
191
  userToFollow: import("../types").UserToFollow | null;
192
192
  followedBy: Set<import("../types").SocketId>;
193
+ searchMatches: readonly {
194
+ id: string;
195
+ focus: boolean;
196
+ matchedLines: {
197
+ offsetX: number;
198
+ offsetY: number;
199
+ width: number;
200
+ height: number;
201
+ }[];
202
+ }[];
193
203
  };
194
204
  storeAction: "capture";
195
205
  };
@@ -191,6 +191,16 @@ export declare const actionToggleCanvasMenu: {
191
191
  objectsSnapModeEnabled: boolean;
192
192
  userToFollow: import("../types").UserToFollow | null;
193
193
  followedBy: Set<import("../types").SocketId>;
194
+ searchMatches: readonly {
195
+ id: string;
196
+ focus: boolean;
197
+ matchedLines: {
198
+ offsetX: number;
199
+ offsetY: number;
200
+ width: number;
201
+ height: number;
202
+ }[];
203
+ }[];
194
204
  };
195
205
  storeAction: "none";
196
206
  };
@@ -391,6 +401,16 @@ export declare const actionToggleEditMenu: {
391
401
  objectsSnapModeEnabled: boolean;
392
402
  userToFollow: import("../types").UserToFollow | null;
393
403
  followedBy: Set<import("../types").SocketId>;
404
+ searchMatches: readonly {
405
+ id: string;
406
+ focus: boolean;
407
+ matchedLines: {
408
+ offsetX: number;
409
+ offsetY: number;
410
+ width: number;
411
+ height: number;
412
+ }[];
413
+ }[];
394
414
  };
395
415
  storeAction: "none";
396
416
  };
@@ -589,6 +609,16 @@ export declare const actionShortcuts: {
589
609
  objectsSnapModeEnabled: boolean;
590
610
  userToFollow: import("../types").UserToFollow | null;
591
611
  followedBy: Set<import("../types").SocketId>;
612
+ searchMatches: readonly {
613
+ id: string;
614
+ focus: boolean;
615
+ matchedLines: {
616
+ offsetX: number;
617
+ offsetY: number;
618
+ width: number;
619
+ height: number;
620
+ }[];
621
+ }[];
592
622
  };
593
623
  storeAction: "none";
594
624
  };
@@ -193,6 +193,16 @@ export declare const actionGoToCollaborator: {
193
193
  } | null;
194
194
  objectsSnapModeEnabled: boolean;
195
195
  followedBy: Set<import("../types").SocketId>;
196
+ searchMatches: readonly {
197
+ id: string;
198
+ focus: boolean;
199
+ matchedLines: {
200
+ offsetX: number;
201
+ offsetY: number;
202
+ width: number;
203
+ height: number;
204
+ }[];
205
+ }[];
196
206
  };
197
207
  storeAction: "none";
198
208
  } | {
@@ -385,6 +395,16 @@ export declare const actionGoToCollaborator: {
385
395
  } | null;
386
396
  objectsSnapModeEnabled: boolean;
387
397
  followedBy: Set<import("../types").SocketId>;
398
+ searchMatches: readonly {
399
+ id: string;
400
+ focus: boolean;
401
+ matchedLines: {
402
+ offsetX: number;
403
+ offsetY: number;
404
+ width: number;
405
+ height: number;
406
+ }[];
407
+ }[];
388
408
  };
389
409
  storeAction: "none";
390
410
  };
@@ -213,6 +213,16 @@ export declare const actionChangeFillStyle: {
213
213
  objectsSnapModeEnabled: boolean;
214
214
  userToFollow: import("../types").UserToFollow | null;
215
215
  followedBy: Set<import("../types").SocketId>;
216
+ searchMatches: readonly {
217
+ id: string;
218
+ focus: boolean;
219
+ matchedLines: {
220
+ offsetX: number;
221
+ offsetY: number;
222
+ width: number;
223
+ height: number;
224
+ }[];
225
+ }[];
216
226
  };
217
227
  storeAction: "capture";
218
228
  };
@@ -412,6 +422,16 @@ export declare const actionChangeStrokeWidth: {
412
422
  objectsSnapModeEnabled: boolean;
413
423
  userToFollow: import("../types").UserToFollow | null;
414
424
  followedBy: Set<import("../types").SocketId>;
425
+ searchMatches: readonly {
426
+ id: string;
427
+ focus: boolean;
428
+ matchedLines: {
429
+ offsetX: number;
430
+ offsetY: number;
431
+ width: number;
432
+ height: number;
433
+ }[];
434
+ }[];
415
435
  };
416
436
  storeAction: "capture";
417
437
  };
@@ -611,6 +631,16 @@ export declare const actionChangeSloppiness: {
611
631
  objectsSnapModeEnabled: boolean;
612
632
  userToFollow: import("../types").UserToFollow | null;
613
633
  followedBy: Set<import("../types").SocketId>;
634
+ searchMatches: readonly {
635
+ id: string;
636
+ focus: boolean;
637
+ matchedLines: {
638
+ offsetX: number;
639
+ offsetY: number;
640
+ width: number;
641
+ height: number;
642
+ }[];
643
+ }[];
614
644
  };
615
645
  storeAction: "capture";
616
646
  };
@@ -810,6 +840,16 @@ export declare const actionChangeStrokeStyle: {
810
840
  objectsSnapModeEnabled: boolean;
811
841
  userToFollow: import("../types").UserToFollow | null;
812
842
  followedBy: Set<import("../types").SocketId>;
843
+ searchMatches: readonly {
844
+ id: string;
845
+ focus: boolean;
846
+ matchedLines: {
847
+ offsetX: number;
848
+ offsetY: number;
849
+ width: number;
850
+ height: number;
851
+ }[];
852
+ }[];
813
853
  };
814
854
  storeAction: "capture";
815
855
  };
@@ -1009,6 +1049,16 @@ export declare const actionChangeOpacity: {
1009
1049
  objectsSnapModeEnabled: boolean;
1010
1050
  userToFollow: import("../types").UserToFollow | null;
1011
1051
  followedBy: Set<import("../types").SocketId>;
1052
+ searchMatches: readonly {
1053
+ id: string;
1054
+ focus: boolean;
1055
+ matchedLines: {
1056
+ offsetX: number;
1057
+ offsetY: number;
1058
+ width: number;
1059
+ height: number;
1060
+ }[];
1061
+ }[];
1012
1062
  };
1013
1063
  storeAction: "capture";
1014
1064
  };
@@ -1209,6 +1259,16 @@ export declare const actionChangeFontSize: {
1209
1259
  objectsSnapModeEnabled: boolean;
1210
1260
  userToFollow: import("../types").UserToFollow | null;
1211
1261
  followedBy: Set<import("../types").SocketId>;
1262
+ searchMatches: readonly {
1263
+ id: string;
1264
+ focus: boolean;
1265
+ matchedLines: {
1266
+ offsetX: number;
1267
+ offsetY: number;
1268
+ width: number;
1269
+ height: number;
1270
+ }[];
1271
+ }[];
1212
1272
  };
1213
1273
  storeAction: "capture";
1214
1274
  };
@@ -1409,6 +1469,16 @@ export declare const actionDecreaseFontSize: {
1409
1469
  objectsSnapModeEnabled: boolean;
1410
1470
  userToFollow: import("../types").UserToFollow | null;
1411
1471
  followedBy: Set<import("../types").SocketId>;
1472
+ searchMatches: readonly {
1473
+ id: string;
1474
+ focus: boolean;
1475
+ matchedLines: {
1476
+ offsetX: number;
1477
+ offsetY: number;
1478
+ width: number;
1479
+ height: number;
1480
+ }[];
1481
+ }[];
1412
1482
  };
1413
1483
  storeAction: "capture";
1414
1484
  };
@@ -1609,6 +1679,16 @@ export declare const actionIncreaseFontSize: {
1609
1679
  objectsSnapModeEnabled: boolean;
1610
1680
  userToFollow: import("../types").UserToFollow | null;
1611
1681
  followedBy: Set<import("../types").SocketId>;
1682
+ searchMatches: readonly {
1683
+ id: string;
1684
+ focus: boolean;
1685
+ matchedLines: {
1686
+ offsetX: number;
1687
+ offsetY: number;
1688
+ width: number;
1689
+ height: number;
1690
+ }[];
1691
+ }[];
1612
1692
  };
1613
1693
  storeAction: "capture";
1614
1694
  };
@@ -1807,6 +1887,16 @@ export declare const actionChangeFontFamily: {
1807
1887
  objectsSnapModeEnabled: boolean;
1808
1888
  userToFollow: import("../types").UserToFollow | null;
1809
1889
  followedBy: Set<import("../types").SocketId>;
1890
+ searchMatches: readonly {
1891
+ id: string;
1892
+ focus: boolean;
1893
+ matchedLines: {
1894
+ offsetX: number;
1895
+ offsetY: number;
1896
+ width: number;
1897
+ height: number;
1898
+ }[];
1899
+ }[];
1810
1900
  };
1811
1901
  storeAction: "none" | "capture";
1812
1902
  } | {
@@ -1997,6 +2087,16 @@ export declare const actionChangeFontFamily: {
1997
2087
  objectsSnapModeEnabled: boolean;
1998
2088
  userToFollow: import("../types").UserToFollow | null;
1999
2089
  followedBy: Set<import("../types").SocketId>;
2090
+ searchMatches: readonly {
2091
+ id: string;
2092
+ focus: boolean;
2093
+ matchedLines: {
2094
+ offsetX: number;
2095
+ offsetY: number;
2096
+ width: number;
2097
+ height: number;
2098
+ }[];
2099
+ }[];
2000
2100
  };
2001
2101
  storeAction: "update";
2002
2102
  };
@@ -2196,6 +2296,16 @@ export declare const actionChangeTextAlign: {
2196
2296
  objectsSnapModeEnabled: boolean;
2197
2297
  userToFollow: import("../types").UserToFollow | null;
2198
2298
  followedBy: Set<import("../types").SocketId>;
2299
+ searchMatches: readonly {
2300
+ id: string;
2301
+ focus: boolean;
2302
+ matchedLines: {
2303
+ offsetX: number;
2304
+ offsetY: number;
2305
+ width: number;
2306
+ height: number;
2307
+ }[];
2308
+ }[];
2199
2309
  };
2200
2310
  storeAction: "capture";
2201
2311
  };
@@ -2397,6 +2507,16 @@ export declare const actionChangeVerticalAlign: {
2397
2507
  objectsSnapModeEnabled: boolean;
2398
2508
  userToFollow: import("../types").UserToFollow | null;
2399
2509
  followedBy: Set<import("../types").SocketId>;
2510
+ searchMatches: readonly {
2511
+ id: string;
2512
+ focus: boolean;
2513
+ matchedLines: {
2514
+ offsetX: number;
2515
+ offsetY: number;
2516
+ width: number;
2517
+ height: number;
2518
+ }[];
2519
+ }[];
2400
2520
  };
2401
2521
  storeAction: "capture";
2402
2522
  };
@@ -2596,6 +2716,16 @@ export declare const actionChangeRoundness: {
2596
2716
  objectsSnapModeEnabled: boolean;
2597
2717
  userToFollow: import("../types").UserToFollow | null;
2598
2718
  followedBy: Set<import("../types").SocketId>;
2719
+ searchMatches: readonly {
2720
+ id: string;
2721
+ focus: boolean;
2722
+ matchedLines: {
2723
+ offsetX: number;
2724
+ offsetY: number;
2725
+ width: number;
2726
+ height: number;
2727
+ }[];
2728
+ }[];
2599
2729
  };
2600
2730
  storeAction: "capture";
2601
2731
  };
@@ -2798,6 +2928,16 @@ export declare const actionChangeArrowhead: {
2798
2928
  objectsSnapModeEnabled: boolean;
2799
2929
  userToFollow: import("../types").UserToFollow | null;
2800
2930
  followedBy: Set<import("../types").SocketId>;
2931
+ searchMatches: readonly {
2932
+ id: string;
2933
+ focus: boolean;
2934
+ matchedLines: {
2935
+ offsetX: number;
2936
+ offsetY: number;
2937
+ width: number;
2938
+ height: number;
2939
+ }[];
2940
+ }[];
2801
2941
  };
2802
2942
  storeAction: "capture";
2803
2943
  };
@@ -2997,6 +3137,16 @@ export declare const actionChangeArrowType: {
2997
3137
  objectsSnapModeEnabled: boolean;
2998
3138
  userToFollow: import("../types").UserToFollow | null;
2999
3139
  followedBy: Set<import("../types").SocketId>;
3140
+ searchMatches: readonly {
3141
+ id: string;
3142
+ focus: boolean;
3143
+ matchedLines: {
3144
+ offsetX: number;
3145
+ offsetY: number;
3146
+ width: number;
3147
+ height: number;
3148
+ }[];
3149
+ }[];
3000
3150
  };
3001
3151
  storeAction: "capture";
3002
3152
  };
@@ -195,6 +195,16 @@ export declare const actionSelectAll: {
195
195
  objectsSnapModeEnabled: boolean;
196
196
  userToFollow: import("../types").UserToFollow | null;
197
197
  followedBy: Set<import("../types").SocketId>;
198
+ searchMatches: readonly {
199
+ id: string;
200
+ focus: boolean;
201
+ matchedLines: {
202
+ offsetX: number;
203
+ offsetY: number;
204
+ width: number;
205
+ height: number;
206
+ }[];
207
+ }[];
198
208
  };
199
209
  storeAction: "capture";
200
210
  };
@@ -191,6 +191,16 @@ export declare const actionCopyStyles: {
191
191
  objectsSnapModeEnabled: boolean;
192
192
  userToFollow: import("../types").UserToFollow | null;
193
193
  followedBy: Set<import("../types").SocketId>;
194
+ searchMatches: readonly {
195
+ id: string;
196
+ focus: boolean;
197
+ matchedLines: {
198
+ offsetX: number;
199
+ offsetY: number;
200
+ width: number;
201
+ height: number;
202
+ }[];
203
+ }[];
194
204
  };
195
205
  storeAction: "none";
196
206
  };
@@ -196,6 +196,16 @@ export declare const actionToggleGridMode: {
196
196
  } | null;
197
197
  userToFollow: import("../types").UserToFollow | null;
198
198
  followedBy: Set<import("../types").SocketId>;
199
+ searchMatches: readonly {
200
+ id: string;
201
+ focus: boolean;
202
+ matchedLines: {
203
+ offsetX: number;
204
+ offsetY: number;
205
+ width: number;
206
+ height: number;
207
+ }[];
208
+ }[];
199
209
  };
200
210
  storeAction: "none";
201
211
  };
@@ -194,6 +194,16 @@ export declare const actionToggleObjectsSnapMode: {
194
194
  } | null;
195
195
  userToFollow: import("../types").UserToFollow | null;
196
196
  followedBy: Set<import("../types").SocketId>;
197
+ searchMatches: readonly {
198
+ id: string;
199
+ focus: boolean;
200
+ matchedLines: {
201
+ offsetX: number;
202
+ offsetY: number;
203
+ width: number;
204
+ height: number;
205
+ }[];
206
+ }[];
197
207
  };
198
208
  storeAction: "none";
199
209
  };