@zsviczian/excalidraw 0.18.0-22 → 0.18.0-24

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 (67) hide show
  1. package/dist/excalidraw.development.js +23 -23
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/package.json +1 -1
  4. package/types/common/src/constants.d.ts +1 -1
  5. package/types/common/src/points.d.ts +1 -1
  6. package/types/common/src/utils.d.ts +2 -2
  7. package/types/element/src/Scene.d.ts +1 -1
  8. package/types/element/src/binding.d.ts +4 -0
  9. package/types/element/src/bounds.d.ts +3 -1
  10. package/types/element/src/elbowArrow.d.ts +1 -1
  11. package/types/element/src/frame.d.ts +2 -2
  12. package/types/element/src/heading.d.ts +2 -2
  13. package/types/element/src/linearElementEditor.d.ts +1 -4
  14. package/types/element/src/resizeTest.d.ts +2 -2
  15. package/types/element/src/selection.d.ts +1 -1
  16. package/types/element/src/shape.d.ts +2 -2
  17. package/types/element/src/store.d.ts +1 -1
  18. package/types/element/src/transformHandles.d.ts +4 -4
  19. package/types/element/src/utils.d.ts +11 -5
  20. package/types/excalidraw/actions/actionAddToLibrary.d.ts +6 -6
  21. package/types/excalidraw/actions/actionAlign.d.ts +8 -8
  22. package/types/excalidraw/actions/actionBoundText.d.ts +4 -4
  23. package/types/excalidraw/actions/actionCanvas.d.ts +137 -137
  24. package/types/excalidraw/actions/actionClipboard.d.ts +17 -17
  25. package/types/excalidraw/actions/actionCropEditor.d.ts +2 -2
  26. package/types/excalidraw/actions/actionDeleteSelected.d.ts +9 -9
  27. package/types/excalidraw/actions/actionDistribute.d.ts +4 -4
  28. package/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  29. package/types/excalidraw/actions/actionElementLink.d.ts +2 -2
  30. package/types/excalidraw/actions/actionElementLock.d.ts +6 -6
  31. package/types/excalidraw/actions/actionEmbeddable.d.ts +2 -2
  32. package/types/excalidraw/actions/actionExport.d.ts +121 -121
  33. package/types/excalidraw/actions/actionFinalize.d.ts +8 -8
  34. package/types/excalidraw/actions/actionFlip.d.ts +4 -4
  35. package/types/excalidraw/actions/actionFrame.d.ts +61 -61
  36. package/types/excalidraw/actions/actionGroup.d.ts +10 -10
  37. package/types/excalidraw/actions/actionLinearEditor.d.ts +53 -53
  38. package/types/excalidraw/actions/actionLink.d.ts +3 -3
  39. package/types/excalidraw/actions/actionMenu.d.ts +8 -8
  40. package/types/excalidraw/actions/actionNavigate.d.ts +4 -4
  41. package/types/excalidraw/actions/actionProperties.d.ts +33 -33
  42. package/types/excalidraw/actions/actionSelectAll.d.ts +5 -5
  43. package/types/excalidraw/actions/actionStyles.d.ts +6 -6
  44. package/types/excalidraw/actions/actionToggleGridMode.d.ts +4 -4
  45. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +4 -4
  46. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +4 -4
  47. package/types/excalidraw/actions/actionToggleStats.d.ts +4 -4
  48. package/types/excalidraw/actions/actionToggleViewMode.d.ts +4 -4
  49. package/types/excalidraw/actions/actionToggleZenMode.d.ts +4 -4
  50. package/types/excalidraw/actions/actionZindex.d.ts +8 -8
  51. package/types/excalidraw/appState.d.ts +21 -21
  52. package/types/excalidraw/components/App.d.ts +8 -4
  53. package/types/excalidraw/components/Stats/DragInput.d.ts +11 -1
  54. package/types/excalidraw/components/dropdownMenu/common.d.ts +1 -1
  55. package/types/excalidraw/components/shapes.d.ts +1 -1
  56. package/types/excalidraw/data/blob.d.ts +1 -1
  57. package/types/excalidraw/data/library.d.ts +1 -1
  58. package/types/math/src/angle.d.ts +1 -1
  59. package/types/math/src/curve.d.ts +1 -1
  60. package/types/math/src/ellipse.d.ts +3 -3
  61. package/types/math/src/point.d.ts +2 -2
  62. package/types/math/src/polygon.d.ts +2 -2
  63. package/types/math/src/rectangle.d.ts +2 -0
  64. package/types/math/src/segment.d.ts +5 -5
  65. package/types/math/src/utils.d.ts +0 -2
  66. package/types/utils/src/shape.d.ts +12 -12
  67. package/types/excalidraw/visualdebug.d.ts +0 -41
@@ -66,7 +66,7 @@ export declare const actionToggleLinearEditor: {
66
66
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
67
67
  currentHoveredFontFamily: number | null;
68
68
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
69
- currentItemArrowType: "sharp" | "round" | "elbow";
69
+ currentItemArrowType: "round" | "sharp" | "elbow";
70
70
  viewBackgroundColor: string;
71
71
  scrollX: number;
72
72
  scrollY: number;
@@ -160,7 +160,7 @@ export declare const actionToggleLinearEditor: {
160
160
  shown: true;
161
161
  data: import("../charts").Spreadsheet;
162
162
  };
163
- showHyperlinkPopup: false | "info" | "editor";
163
+ showHyperlinkPopup: false | "editor" | "info";
164
164
  linkOpacity: number;
165
165
  trayModeEnabled: boolean;
166
166
  colorPalette?: {
@@ -261,15 +261,21 @@ export declare const actionTogglePolygon: {
261
261
  frameId: string | null;
262
262
  boundElements: readonly Readonly<{
263
263
  id: string;
264
- type: "text" | "arrow";
264
+ type: "arrow" | "text";
265
265
  }>[] | null;
266
266
  updated: number;
267
267
  link: string | null;
268
268
  locked: boolean;
269
269
  customData?: Record<string, any> | undefined;
270
+ }> & Readonly<{
271
+ type: "line" | "arrow";
272
+ points: readonly import("@excalidraw/math").LocalPoint[];
273
+ lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
274
+ startBinding: import("@excalidraw/element/types").PointBinding | null;
275
+ endBinding: import("@excalidraw/element/types").PointBinding | null;
276
+ startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
277
+ endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
270
278
  }> & {
271
- type: "selection";
272
- } & {
273
279
  index: import("@excalidraw/element/types").FractionalIndex;
274
280
  }) | (Readonly<{
275
281
  id: string;
@@ -298,14 +304,14 @@ export declare const actionTogglePolygon: {
298
304
  frameId: string | null;
299
305
  boundElements: readonly Readonly<{
300
306
  id: string;
301
- type: "text" | "arrow";
307
+ type: "arrow" | "text";
302
308
  }>[] | null;
303
309
  updated: number;
304
310
  link: string | null;
305
311
  locked: boolean;
306
312
  customData?: Record<string, any> | undefined;
307
313
  }> & {
308
- type: "rectangle";
314
+ type: "selection";
309
315
  } & {
310
316
  index: import("@excalidraw/element/types").FractionalIndex;
311
317
  }) | (Readonly<{
@@ -335,14 +341,14 @@ export declare const actionTogglePolygon: {
335
341
  frameId: string | null;
336
342
  boundElements: readonly Readonly<{
337
343
  id: string;
338
- type: "text" | "arrow";
344
+ type: "arrow" | "text";
339
345
  }>[] | null;
340
346
  updated: number;
341
347
  link: string | null;
342
348
  locked: boolean;
343
349
  customData?: Record<string, any> | undefined;
344
350
  }> & {
345
- type: "diamond";
351
+ type: "rectangle";
346
352
  } & {
347
353
  index: import("@excalidraw/element/types").FractionalIndex;
348
354
  }) | (Readonly<{
@@ -372,14 +378,14 @@ export declare const actionTogglePolygon: {
372
378
  frameId: string | null;
373
379
  boundElements: readonly Readonly<{
374
380
  id: string;
375
- type: "text" | "arrow";
381
+ type: "arrow" | "text";
376
382
  }>[] | null;
377
383
  updated: number;
378
384
  link: string | null;
379
385
  locked: boolean;
380
386
  customData?: Record<string, any> | undefined;
381
387
  }> & {
382
- type: "ellipse";
388
+ type: "diamond";
383
389
  } & {
384
390
  index: import("@excalidraw/element/types").FractionalIndex;
385
391
  }) | (Readonly<{
@@ -409,27 +415,15 @@ export declare const actionTogglePolygon: {
409
415
  frameId: string | null;
410
416
  boundElements: readonly Readonly<{
411
417
  id: string;
412
- type: "text" | "arrow";
418
+ type: "arrow" | "text";
413
419
  }>[] | null;
414
420
  updated: number;
415
421
  link: string | null;
416
422
  locked: boolean;
417
423
  customData?: Record<string, any> | undefined;
418
- }> & Readonly<{
419
- type: "text";
420
- fontSize: number;
421
- fontFamily: number;
422
- text: string;
423
- rawText: string;
424
- textAlign: string;
425
- verticalAlign: string;
426
- containerId: string | null;
427
- originalText: string;
428
- autoResize: boolean;
429
- lineHeight: number & {
430
- _brand: "unitlessLineHeight";
431
- };
432
424
  }> & {
425
+ type: "ellipse";
426
+ } & {
433
427
  index: import("@excalidraw/element/types").FractionalIndex;
434
428
  }) | (Readonly<{
435
429
  id: string;
@@ -458,20 +452,15 @@ export declare const actionTogglePolygon: {
458
452
  frameId: string | null;
459
453
  boundElements: readonly Readonly<{
460
454
  id: string;
461
- type: "text" | "arrow";
455
+ type: "arrow" | "text";
462
456
  }>[] | null;
463
457
  updated: number;
464
458
  link: string | null;
465
459
  locked: boolean;
466
460
  customData?: Record<string, any> | undefined;
467
461
  }> & Readonly<{
468
- type: "line" | "arrow";
469
- points: readonly import("@excalidraw/math").LocalPoint[];
470
- lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
471
- startBinding: import("@excalidraw/element/types").PointBinding | null;
472
- endBinding: import("@excalidraw/element/types").PointBinding | null;
473
- startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
474
- endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
462
+ type: "embeddable";
463
+ scale: [number, number];
475
464
  }> & {
476
465
  index: import("@excalidraw/element/types").FractionalIndex;
477
466
  }) | (Readonly<{
@@ -501,18 +490,18 @@ export declare const actionTogglePolygon: {
501
490
  frameId: string | null;
502
491
  boundElements: readonly Readonly<{
503
492
  id: string;
504
- type: "text" | "arrow";
493
+ type: "arrow" | "text";
505
494
  }>[] | null;
506
495
  updated: number;
507
496
  link: string | null;
508
497
  locked: boolean;
509
498
  customData?: Record<string, any> | undefined;
510
499
  }> & Readonly<{
511
- type: "freedraw";
512
- points: readonly import("@excalidraw/math").LocalPoint[];
513
- pressures: readonly number[];
514
- simulatePressure: boolean;
515
- lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
500
+ type: "iframe";
501
+ customData?: {
502
+ generationData?: import("@excalidraw/element/types").MagicGenerationData | undefined;
503
+ } | undefined;
504
+ scale: [number, number];
516
505
  }> & {
517
506
  index: import("@excalidraw/element/types").FractionalIndex;
518
507
  }) | (Readonly<{
@@ -542,7 +531,7 @@ export declare const actionTogglePolygon: {
542
531
  frameId: string | null;
543
532
  boundElements: readonly Readonly<{
544
533
  id: string;
545
- type: "text" | "arrow";
534
+ type: "arrow" | "text";
546
535
  }>[] | null;
547
536
  updated: number;
548
537
  link: string | null;
@@ -551,7 +540,7 @@ export declare const actionTogglePolygon: {
551
540
  }> & Readonly<{
552
541
  type: "image";
553
542
  fileId: import("@excalidraw/element/types").FileId | null;
554
- status: "error" | "pending" | "saved";
543
+ status: "pending" | "error" | "saved";
555
544
  scale: [number, number];
556
545
  crop: import("@excalidraw/element/types").ImageCrop | null;
557
546
  }> & {
@@ -583,7 +572,7 @@ export declare const actionTogglePolygon: {
583
572
  frameId: string | null;
584
573
  boundElements: readonly Readonly<{
585
574
  id: string;
586
- type: "text" | "arrow";
575
+ type: "arrow" | "text";
587
576
  }>[] | null;
588
577
  updated: number;
589
578
  link: string | null;
@@ -621,7 +610,7 @@ export declare const actionTogglePolygon: {
621
610
  frameId: string | null;
622
611
  boundElements: readonly Readonly<{
623
612
  id: string;
624
- type: "text" | "arrow";
613
+ type: "arrow" | "text";
625
614
  }>[] | null;
626
615
  updated: number;
627
616
  link: string | null;
@@ -659,18 +648,26 @@ export declare const actionTogglePolygon: {
659
648
  frameId: string | null;
660
649
  boundElements: readonly Readonly<{
661
650
  id: string;
662
- type: "text" | "arrow";
651
+ type: "arrow" | "text";
663
652
  }>[] | null;
664
653
  updated: number;
665
654
  link: string | null;
666
655
  locked: boolean;
667
656
  customData?: Record<string, any> | undefined;
668
657
  }> & Readonly<{
669
- type: "iframe";
670
- customData?: {
671
- generationData?: import("@excalidraw/element/types").MagicGenerationData | undefined;
672
- } | undefined;
673
- scale: [number, number];
658
+ type: "text";
659
+ fontSize: number;
660
+ fontFamily: number;
661
+ text: string;
662
+ rawText: string;
663
+ textAlign: string;
664
+ verticalAlign: string;
665
+ containerId: string | null;
666
+ originalText: string;
667
+ autoResize: boolean;
668
+ lineHeight: number & {
669
+ _brand: "unitlessLineHeight";
670
+ };
674
671
  }> & {
675
672
  index: import("@excalidraw/element/types").FractionalIndex;
676
673
  }) | (Readonly<{
@@ -700,15 +697,18 @@ export declare const actionTogglePolygon: {
700
697
  frameId: string | null;
701
698
  boundElements: readonly Readonly<{
702
699
  id: string;
703
- type: "text" | "arrow";
700
+ type: "arrow" | "text";
704
701
  }>[] | null;
705
702
  updated: number;
706
703
  link: string | null;
707
704
  locked: boolean;
708
705
  customData?: Record<string, any> | undefined;
709
706
  }> & Readonly<{
710
- type: "embeddable";
711
- scale: [number, number];
707
+ type: "freedraw";
708
+ points: readonly import("@excalidraw/math").LocalPoint[];
709
+ pressures: readonly number[];
710
+ simulatePressure: boolean;
711
+ lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
712
712
  }> & {
713
713
  index: import("@excalidraw/element/types").FractionalIndex;
714
714
  }))[];
@@ -62,7 +62,7 @@ export declare const actionLink: {
62
62
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
63
63
  currentHoveredFontFamily: number | null;
64
64
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
65
- currentItemArrowType: "sharp" | "round" | "elbow";
65
+ currentItemArrowType: "round" | "sharp" | "elbow";
66
66
  viewBackgroundColor: string;
67
67
  scrollX: number;
68
68
  scrollY: number;
@@ -217,9 +217,9 @@ export declare const actionLink: {
217
217
  category: "hyperlink";
218
218
  action: string;
219
219
  };
220
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
220
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
221
221
  predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState) => boolean;
222
222
  PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
223
223
  } & {
224
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
224
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
225
225
  };
@@ -62,7 +62,7 @@ export declare const actionToggleCanvasMenu: {
62
62
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
63
63
  currentHoveredFontFamily: number | null;
64
64
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
65
- currentItemArrowType: "sharp" | "round" | "elbow";
65
+ currentItemArrowType: "round" | "sharp" | "elbow";
66
66
  viewBackgroundColor: string;
67
67
  scrollX: number;
68
68
  scrollY: number;
@@ -155,7 +155,7 @@ export declare const actionToggleCanvasMenu: {
155
155
  shown: true;
156
156
  data: import("../charts").Spreadsheet;
157
157
  };
158
- showHyperlinkPopup: false | "info" | "editor";
158
+ showHyperlinkPopup: false | "editor" | "info";
159
159
  linkOpacity: number;
160
160
  trayModeEnabled: boolean;
161
161
  colorPalette?: {
@@ -282,7 +282,7 @@ export declare const actionToggleEditMenu: {
282
282
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
283
283
  currentHoveredFontFamily: number | null;
284
284
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
285
- currentItemArrowType: "sharp" | "round" | "elbow";
285
+ currentItemArrowType: "round" | "sharp" | "elbow";
286
286
  viewBackgroundColor: string;
287
287
  scrollX: number;
288
288
  scrollY: number;
@@ -375,7 +375,7 @@ export declare const actionToggleEditMenu: {
375
375
  shown: true;
376
376
  data: import("../charts").Spreadsheet;
377
377
  };
378
- showHyperlinkPopup: false | "info" | "editor";
378
+ showHyperlinkPopup: false | "editor" | "info";
379
379
  linkOpacity: number;
380
380
  trayModeEnabled: boolean;
381
381
  colorPalette?: {
@@ -507,7 +507,7 @@ export declare const actionShortcuts: {
507
507
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
508
508
  currentHoveredFontFamily: number | null;
509
509
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
510
- currentItemArrowType: "sharp" | "round" | "elbow";
510
+ currentItemArrowType: "round" | "sharp" | "elbow";
511
511
  viewBackgroundColor: string;
512
512
  scrollX: number;
513
513
  scrollY: number;
@@ -590,7 +590,7 @@ export declare const actionShortcuts: {
590
590
  shown: true;
591
591
  data: import("../charts").Spreadsheet;
592
592
  };
593
- showHyperlinkPopup: false | "info" | "editor";
593
+ showHyperlinkPopup: false | "editor" | "info";
594
594
  linkOpacity: number;
595
595
  trayModeEnabled: boolean;
596
596
  colorPalette?: {
@@ -649,7 +649,7 @@ export declare const actionShortcuts: {
649
649
  };
650
650
  captureUpdate: "EVENTUALLY";
651
651
  };
652
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
652
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
653
653
  } & {
654
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
654
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
655
655
  };
@@ -64,7 +64,7 @@ export declare const actionGoToCollaborator: {
64
64
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
65
65
  currentHoveredFontFamily: number | null;
66
66
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
67
- currentItemArrowType: "sharp" | "round" | "elbow";
67
+ currentItemArrowType: "round" | "sharp" | "elbow";
68
68
  viewBackgroundColor: string;
69
69
  scrollX: number;
70
70
  scrollY: number;
@@ -158,7 +158,7 @@ export declare const actionGoToCollaborator: {
158
158
  shown: true;
159
159
  data: import("../charts").Spreadsheet;
160
160
  };
161
- showHyperlinkPopup: false | "info" | "editor";
161
+ showHyperlinkPopup: false | "editor" | "info";
162
162
  linkOpacity: number;
163
163
  trayModeEnabled: boolean;
164
164
  colorPalette?: {
@@ -277,7 +277,7 @@ export declare const actionGoToCollaborator: {
277
277
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
278
278
  currentHoveredFontFamily: number | null;
279
279
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
280
- currentItemArrowType: "sharp" | "round" | "elbow";
280
+ currentItemArrowType: "round" | "sharp" | "elbow";
281
281
  viewBackgroundColor: string;
282
282
  scrollX: number;
283
283
  scrollY: number;
@@ -370,7 +370,7 @@ export declare const actionGoToCollaborator: {
370
370
  shown: true;
371
371
  data: import("../charts").Spreadsheet;
372
372
  };
373
- showHyperlinkPopup: false | "info" | "editor";
373
+ showHyperlinkPopup: false | "editor" | "info";
374
374
  linkOpacity: number;
375
375
  trayModeEnabled: boolean;
376
376
  colorPalette?: {
@@ -91,7 +91,7 @@ export declare const actionChangeFillStyle: {
91
91
  currentItemEndArrowhead: Arrowhead | null;
92
92
  currentHoveredFontFamily: number | null;
93
93
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
94
- currentItemArrowType: "sharp" | "round" | "elbow";
94
+ currentItemArrowType: "round" | "sharp" | "elbow";
95
95
  viewBackgroundColor: string;
96
96
  scrollX: number;
97
97
  scrollY: number;
@@ -185,7 +185,7 @@ export declare const actionChangeFillStyle: {
185
185
  shown: true;
186
186
  data: import("../charts").Spreadsheet;
187
187
  };
188
- showHyperlinkPopup: false | "info" | "editor";
188
+ showHyperlinkPopup: false | "editor" | "info";
189
189
  linkOpacity: number;
190
190
  trayModeEnabled: boolean;
191
191
  colorPalette?: {
@@ -310,7 +310,7 @@ export declare const actionChangeStrokeWidth: {
310
310
  currentItemEndArrowhead: Arrowhead | null;
311
311
  currentHoveredFontFamily: number | null;
312
312
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
313
- currentItemArrowType: "sharp" | "round" | "elbow";
313
+ currentItemArrowType: "round" | "sharp" | "elbow";
314
314
  viewBackgroundColor: string;
315
315
  scrollX: number;
316
316
  scrollY: number;
@@ -404,7 +404,7 @@ export declare const actionChangeStrokeWidth: {
404
404
  shown: true;
405
405
  data: import("../charts").Spreadsheet;
406
406
  };
407
- showHyperlinkPopup: false | "info" | "editor";
407
+ showHyperlinkPopup: false | "editor" | "info";
408
408
  linkOpacity: number;
409
409
  trayModeEnabled: boolean;
410
410
  colorPalette?: {
@@ -529,7 +529,7 @@ export declare const actionChangeSloppiness: {
529
529
  currentItemEndArrowhead: Arrowhead | null;
530
530
  currentHoveredFontFamily: number | null;
531
531
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
532
- currentItemArrowType: "sharp" | "round" | "elbow";
532
+ currentItemArrowType: "round" | "sharp" | "elbow";
533
533
  viewBackgroundColor: string;
534
534
  scrollX: number;
535
535
  scrollY: number;
@@ -623,7 +623,7 @@ export declare const actionChangeSloppiness: {
623
623
  shown: true;
624
624
  data: import("../charts").Spreadsheet;
625
625
  };
626
- showHyperlinkPopup: false | "info" | "editor";
626
+ showHyperlinkPopup: false | "editor" | "info";
627
627
  linkOpacity: number;
628
628
  trayModeEnabled: boolean;
629
629
  colorPalette?: {
@@ -748,7 +748,7 @@ export declare const actionChangeStrokeStyle: {
748
748
  currentItemEndArrowhead: Arrowhead | null;
749
749
  currentHoveredFontFamily: number | null;
750
750
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
751
- currentItemArrowType: "sharp" | "round" | "elbow";
751
+ currentItemArrowType: "round" | "sharp" | "elbow";
752
752
  viewBackgroundColor: string;
753
753
  scrollX: number;
754
754
  scrollY: number;
@@ -842,7 +842,7 @@ export declare const actionChangeStrokeStyle: {
842
842
  shown: true;
843
843
  data: import("../charts").Spreadsheet;
844
844
  };
845
- showHyperlinkPopup: false | "info" | "editor";
845
+ showHyperlinkPopup: false | "editor" | "info";
846
846
  linkOpacity: number;
847
847
  trayModeEnabled: boolean;
848
848
  colorPalette?: {
@@ -967,7 +967,7 @@ export declare const actionChangeOpacity: {
967
967
  currentItemEndArrowhead: Arrowhead | null;
968
968
  currentHoveredFontFamily: number | null;
969
969
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
970
- currentItemArrowType: "sharp" | "round" | "elbow";
970
+ currentItemArrowType: "round" | "sharp" | "elbow";
971
971
  viewBackgroundColor: string;
972
972
  scrollX: number;
973
973
  scrollY: number;
@@ -1061,7 +1061,7 @@ export declare const actionChangeOpacity: {
1061
1061
  shown: true;
1062
1062
  data: import("../charts").Spreadsheet;
1063
1063
  };
1064
- showHyperlinkPopup: false | "info" | "editor";
1064
+ showHyperlinkPopup: false | "editor" | "info";
1065
1065
  linkOpacity: number;
1066
1066
  trayModeEnabled: boolean;
1067
1067
  colorPalette?: {
@@ -1187,7 +1187,7 @@ export declare const actionChangeFontSize: {
1187
1187
  currentItemEndArrowhead: Arrowhead | null;
1188
1188
  currentHoveredFontFamily: number | null;
1189
1189
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1190
- currentItemArrowType: "sharp" | "round" | "elbow";
1190
+ currentItemArrowType: "round" | "sharp" | "elbow";
1191
1191
  viewBackgroundColor: string;
1192
1192
  scrollX: number;
1193
1193
  scrollY: number;
@@ -1281,7 +1281,7 @@ export declare const actionChangeFontSize: {
1281
1281
  shown: true;
1282
1282
  data: import("../charts").Spreadsheet;
1283
1283
  };
1284
- showHyperlinkPopup: false | "info" | "editor";
1284
+ showHyperlinkPopup: false | "editor" | "info";
1285
1285
  linkOpacity: number;
1286
1286
  trayModeEnabled: boolean;
1287
1287
  colorPalette?: {
@@ -1407,7 +1407,7 @@ export declare const actionDecreaseFontSize: {
1407
1407
  currentItemEndArrowhead: Arrowhead | null;
1408
1408
  currentHoveredFontFamily: number | null;
1409
1409
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1410
- currentItemArrowType: "sharp" | "round" | "elbow";
1410
+ currentItemArrowType: "round" | "sharp" | "elbow";
1411
1411
  viewBackgroundColor: string;
1412
1412
  scrollX: number;
1413
1413
  scrollY: number;
@@ -1501,7 +1501,7 @@ export declare const actionDecreaseFontSize: {
1501
1501
  shown: true;
1502
1502
  data: import("../charts").Spreadsheet;
1503
1503
  };
1504
- showHyperlinkPopup: false | "info" | "editor";
1504
+ showHyperlinkPopup: false | "editor" | "info";
1505
1505
  linkOpacity: number;
1506
1506
  trayModeEnabled: boolean;
1507
1507
  colorPalette?: {
@@ -1560,9 +1560,9 @@ export declare const actionDecreaseFontSize: {
1560
1560
  };
1561
1561
  captureUpdate: "IMMEDIATELY";
1562
1562
  };
1563
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1563
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1564
1564
  } & {
1565
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1565
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1566
1566
  };
1567
1567
  export declare const actionIncreaseFontSize: {
1568
1568
  name: "increaseFontSize";
@@ -1627,7 +1627,7 @@ export declare const actionIncreaseFontSize: {
1627
1627
  currentItemEndArrowhead: Arrowhead | null;
1628
1628
  currentHoveredFontFamily: number | null;
1629
1629
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1630
- currentItemArrowType: "sharp" | "round" | "elbow";
1630
+ currentItemArrowType: "round" | "sharp" | "elbow";
1631
1631
  viewBackgroundColor: string;
1632
1632
  scrollX: number;
1633
1633
  scrollY: number;
@@ -1721,7 +1721,7 @@ export declare const actionIncreaseFontSize: {
1721
1721
  shown: true;
1722
1722
  data: import("../charts").Spreadsheet;
1723
1723
  };
1724
- showHyperlinkPopup: false | "info" | "editor";
1724
+ showHyperlinkPopup: false | "editor" | "info";
1725
1725
  linkOpacity: number;
1726
1726
  trayModeEnabled: boolean;
1727
1727
  colorPalette?: {
@@ -1780,9 +1780,9 @@ export declare const actionIncreaseFontSize: {
1780
1780
  };
1781
1781
  captureUpdate: "IMMEDIATELY";
1782
1782
  };
1783
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1783
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1784
1784
  } & {
1785
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1785
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1786
1786
  };
1787
1787
  export declare const actionChangeFontFamily: {
1788
1788
  name: "changeFontFamily";
@@ -1846,7 +1846,7 @@ export declare const actionChangeFontFamily: {
1846
1846
  currentItemStartArrowhead: Arrowhead | null;
1847
1847
  currentItemEndArrowhead: Arrowhead | null;
1848
1848
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1849
- currentItemArrowType: "sharp" | "round" | "elbow";
1849
+ currentItemArrowType: "round" | "sharp" | "elbow";
1850
1850
  viewBackgroundColor: string;
1851
1851
  scrollX: number;
1852
1852
  scrollY: number;
@@ -1939,7 +1939,7 @@ export declare const actionChangeFontFamily: {
1939
1939
  shown: true;
1940
1940
  data: import("../charts").Spreadsheet;
1941
1941
  };
1942
- showHyperlinkPopup: false | "info" | "editor";
1942
+ showHyperlinkPopup: false | "editor" | "info";
1943
1943
  linkOpacity: number;
1944
1944
  trayModeEnabled: boolean;
1945
1945
  colorPalette?: {
@@ -2056,7 +2056,7 @@ export declare const actionChangeFontFamily: {
2056
2056
  currentItemStartArrowhead: Arrowhead | null;
2057
2057
  currentItemEndArrowhead: Arrowhead | null;
2058
2058
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
2059
- currentItemArrowType: "sharp" | "round" | "elbow";
2059
+ currentItemArrowType: "round" | "sharp" | "elbow";
2060
2060
  viewBackgroundColor: string;
2061
2061
  scrollX: number;
2062
2062
  scrollY: number;
@@ -2149,7 +2149,7 @@ export declare const actionChangeFontFamily: {
2149
2149
  shown: true;
2150
2150
  data: import("../charts").Spreadsheet;
2151
2151
  };
2152
- showHyperlinkPopup: false | "info" | "editor";
2152
+ showHyperlinkPopup: false | "editor" | "info";
2153
2153
  linkOpacity: number;
2154
2154
  trayModeEnabled: boolean;
2155
2155
  colorPalette?: {
@@ -2274,7 +2274,7 @@ export declare const actionChangeTextAlign: {
2274
2274
  currentItemEndArrowhead: Arrowhead | null;
2275
2275
  currentHoveredFontFamily: number | null;
2276
2276
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
2277
- currentItemArrowType: "sharp" | "round" | "elbow";
2277
+ currentItemArrowType: "round" | "sharp" | "elbow";
2278
2278
  viewBackgroundColor: string;
2279
2279
  scrollX: number;
2280
2280
  scrollY: number;
@@ -2368,7 +2368,7 @@ export declare const actionChangeTextAlign: {
2368
2368
  shown: true;
2369
2369
  data: import("../charts").Spreadsheet;
2370
2370
  };
2371
- showHyperlinkPopup: false | "info" | "editor";
2371
+ showHyperlinkPopup: false | "editor" | "info";
2372
2372
  linkOpacity: number;
2373
2373
  trayModeEnabled: boolean;
2374
2374
  colorPalette?: {
@@ -2495,7 +2495,7 @@ export declare const actionChangeVerticalAlign: {
2495
2495
  currentItemEndArrowhead: Arrowhead | null;
2496
2496
  currentHoveredFontFamily: number | null;
2497
2497
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
2498
- currentItemArrowType: "sharp" | "round" | "elbow";
2498
+ currentItemArrowType: "round" | "sharp" | "elbow";
2499
2499
  viewBackgroundColor: string;
2500
2500
  scrollX: number;
2501
2501
  scrollY: number;
@@ -2589,7 +2589,7 @@ export declare const actionChangeVerticalAlign: {
2589
2589
  shown: true;
2590
2590
  data: import("../charts").Spreadsheet;
2591
2591
  };
2592
- showHyperlinkPopup: false | "info" | "editor";
2592
+ showHyperlinkPopup: false | "editor" | "info";
2593
2593
  linkOpacity: number;
2594
2594
  trayModeEnabled: boolean;
2595
2595
  colorPalette?: {
@@ -2714,7 +2714,7 @@ export declare const actionChangeRoundness: {
2714
2714
  currentItemStartArrowhead: Arrowhead | null;
2715
2715
  currentItemEndArrowhead: Arrowhead | null;
2716
2716
  currentHoveredFontFamily: number | null;
2717
- currentItemArrowType: "sharp" | "round" | "elbow";
2717
+ currentItemArrowType: "round" | "sharp" | "elbow";
2718
2718
  viewBackgroundColor: string;
2719
2719
  scrollX: number;
2720
2720
  scrollY: number;
@@ -2808,7 +2808,7 @@ export declare const actionChangeRoundness: {
2808
2808
  shown: true;
2809
2809
  data: import("../charts").Spreadsheet;
2810
2810
  };
2811
- showHyperlinkPopup: false | "info" | "editor";
2811
+ showHyperlinkPopup: false | "editor" | "info";
2812
2812
  linkOpacity: number;
2813
2813
  trayModeEnabled: boolean;
2814
2814
  colorPalette?: {
@@ -2936,7 +2936,7 @@ export declare const actionChangeArrowhead: {
2936
2936
  currentItemEndArrowhead: Arrowhead | null;
2937
2937
  currentHoveredFontFamily: number | null;
2938
2938
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
2939
- currentItemArrowType: "sharp" | "round" | "elbow";
2939
+ currentItemArrowType: "round" | "sharp" | "elbow";
2940
2940
  viewBackgroundColor: string;
2941
2941
  scrollX: number;
2942
2942
  scrollY: number;
@@ -3030,7 +3030,7 @@ export declare const actionChangeArrowhead: {
3030
3030
  shown: true;
3031
3031
  data: import("../charts").Spreadsheet;
3032
3032
  };
3033
- showHyperlinkPopup: false | "info" | "editor";
3033
+ showHyperlinkPopup: false | "editor" | "info";
3034
3034
  linkOpacity: number;
3035
3035
  trayModeEnabled: boolean;
3036
3036
  colorPalette?: {
@@ -3249,7 +3249,7 @@ export declare const actionChangeArrowType: {
3249
3249
  shown: true;
3250
3250
  data: import("../charts").Spreadsheet;
3251
3251
  };
3252
- showHyperlinkPopup: false | "info" | "editor";
3252
+ showHyperlinkPopup: false | "editor" | "info";
3253
3253
  linkOpacity: number;
3254
3254
  trayModeEnabled: boolean;
3255
3255
  colorPalette?: {