@zsviczian/excalidraw 0.18.0-23 → 0.18.0-25

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 (68) hide show
  1. package/dist/excalidraw.development.js +25 -25
  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/excalidraw/index.d.ts +1 -0
  59. package/types/math/src/angle.d.ts +1 -1
  60. package/types/math/src/curve.d.ts +1 -1
  61. package/types/math/src/ellipse.d.ts +3 -3
  62. package/types/math/src/point.d.ts +2 -2
  63. package/types/math/src/polygon.d.ts +2 -2
  64. package/types/math/src/rectangle.d.ts +2 -0
  65. package/types/math/src/segment.d.ts +5 -5
  66. package/types/math/src/utils.d.ts +0 -2
  67. package/types/utils/src/shape.d.ts +12 -12
  68. package/types/excalidraw/visualdebug.d.ts +0 -41
@@ -62,7 +62,7 @@ export declare const actionChangeProjectName: {
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 actionChangeProjectName: {
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 actionChangeExportScale: {
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;
@@ -376,7 +376,7 @@ export declare const actionChangeExportScale: {
376
376
  shown: true;
377
377
  data: import("../charts").Spreadsheet;
378
378
  };
379
- showHyperlinkPopup: false | "info" | "editor";
379
+ showHyperlinkPopup: false | "editor" | "info";
380
380
  linkOpacity: number;
381
381
  trayModeEnabled: boolean;
382
382
  colorPalette?: {
@@ -503,7 +503,7 @@ export declare const actionChangeExportBackground: {
503
503
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
504
504
  currentHoveredFontFamily: number | null;
505
505
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
506
- currentItemArrowType: "sharp" | "round" | "elbow";
506
+ currentItemArrowType: "round" | "sharp" | "elbow";
507
507
  viewBackgroundColor: string;
508
508
  scrollX: number;
509
509
  scrollY: number;
@@ -597,7 +597,7 @@ export declare const actionChangeExportBackground: {
597
597
  shown: true;
598
598
  data: import("../charts").Spreadsheet;
599
599
  };
600
- showHyperlinkPopup: false | "info" | "editor";
600
+ showHyperlinkPopup: false | "editor" | "info";
601
601
  linkOpacity: number;
602
602
  trayModeEnabled: boolean;
603
603
  colorPalette?: {
@@ -724,7 +724,7 @@ export declare const actionChangeExportEmbedScene: {
724
724
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
725
725
  currentHoveredFontFamily: number | null;
726
726
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
727
- currentItemArrowType: "sharp" | "round" | "elbow";
727
+ currentItemArrowType: "round" | "sharp" | "elbow";
728
728
  viewBackgroundColor: string;
729
729
  scrollX: number;
730
730
  scrollY: number;
@@ -818,7 +818,7 @@ export declare const actionChangeExportEmbedScene: {
818
818
  shown: true;
819
819
  data: import("../charts").Spreadsheet;
820
820
  };
821
- showHyperlinkPopup: false | "info" | "editor";
821
+ showHyperlinkPopup: false | "editor" | "info";
822
822
  linkOpacity: number;
823
823
  trayModeEnabled: boolean;
824
824
  colorPalette?: {
@@ -951,7 +951,7 @@ export declare const actionSaveToActiveFile: {
951
951
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
952
952
  currentHoveredFontFamily: number | null;
953
953
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
954
- currentItemArrowType: "sharp" | "round" | "elbow";
954
+ currentItemArrowType: "round" | "sharp" | "elbow";
955
955
  viewBackgroundColor: string;
956
956
  scrollX: number;
957
957
  scrollY: number;
@@ -1039,7 +1039,7 @@ export declare const actionSaveToActiveFile: {
1039
1039
  shown: true;
1040
1040
  data: import("../charts").Spreadsheet;
1041
1041
  };
1042
- showHyperlinkPopup: false | "info" | "editor";
1042
+ showHyperlinkPopup: false | "editor" | "info";
1043
1043
  linkOpacity: number;
1044
1044
  trayModeEnabled: boolean;
1045
1045
  colorPalette?: {
@@ -1100,9 +1100,9 @@ export declare const actionSaveToActiveFile: {
1100
1100
  captureUpdate: "EVENTUALLY";
1101
1101
  appState?: undefined;
1102
1102
  }>;
1103
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1103
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1104
1104
  } & {
1105
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1105
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1106
1106
  };
1107
1107
  export declare const actionSaveFileToDisk: {
1108
1108
  name: "saveFileToDisk";
@@ -1175,7 +1175,7 @@ export declare const actionSaveFileToDisk: {
1175
1175
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1176
1176
  currentHoveredFontFamily: number | null;
1177
1177
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1178
- currentItemArrowType: "sharp" | "round" | "elbow";
1178
+ currentItemArrowType: "round" | "sharp" | "elbow";
1179
1179
  viewBackgroundColor: string;
1180
1180
  scrollX: number;
1181
1181
  scrollY: number;
@@ -1252,7 +1252,7 @@ export declare const actionSaveFileToDisk: {
1252
1252
  shown: true;
1253
1253
  data: import("../charts").Spreadsheet;
1254
1254
  };
1255
- showHyperlinkPopup: false | "info" | "editor";
1255
+ showHyperlinkPopup: false | "editor" | "info";
1256
1256
  linkOpacity: number;
1257
1257
  trayModeEnabled: boolean;
1258
1258
  colorPalette?: {
@@ -1313,10 +1313,10 @@ export declare const actionSaveFileToDisk: {
1313
1313
  captureUpdate: "EVENTUALLY";
1314
1314
  appState?: undefined;
1315
1315
  }>;
1316
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1316
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1317
1317
  PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1318
1318
  } & {
1319
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1319
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1320
1320
  };
1321
1321
  export declare const actionLoadScene: {
1322
1322
  name: "loadScene";
@@ -1328,44 +1328,108 @@ export declare const actionLoadScene: {
1328
1328
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
1329
1329
  elements: import("@excalidraw/element/types").OrderedExcalidrawElement[];
1330
1330
  appState: {
1331
- contextMenu: {
1332
- items: import("../components/ContextMenu").ContextMenuItems;
1333
- top: number;
1334
- left: number;
1335
- } | null;
1336
- stats: {
1337
- open: boolean;
1338
- panels: number;
1331
+ viewBackgroundColor: string;
1332
+ frameRendering: {
1333
+ enabled: boolean;
1334
+ name: boolean;
1335
+ outline: boolean;
1336
+ clip: boolean;
1339
1337
  };
1340
- exportWithDarkMode: boolean;
1341
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1342
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1343
- cursorButton: "up" | "down";
1338
+ frameColor: {
1339
+ stroke: string;
1340
+ fill: string;
1341
+ nameColor: string;
1342
+ };
1343
+ name: string | null;
1344
+ zoom: Readonly<{
1345
+ value: import("../types").NormalizedZoomValue;
1346
+ }>;
1344
1347
  scrollX: number;
1345
1348
  scrollY: number;
1346
- showWelcomeScreen: boolean;
1347
- isLoading: boolean;
1348
- errorMessage: import("react").ReactNode;
1349
+ viewModeEnabled: boolean;
1350
+ openDialog: {
1351
+ name: "help" | "imageExport" | "jsonExport";
1352
+ } | {
1353
+ name: "ttd";
1354
+ tab: "mermaid" | "text-to-diagram";
1355
+ } | {
1356
+ name: "commandPalette";
1357
+ } | {
1358
+ name: "elementLinkSelector";
1359
+ sourceElementId: string;
1360
+ } | null;
1361
+ editingGroupId: string | null;
1362
+ selectedElementIds: Readonly<{
1363
+ [id: string]: true;
1364
+ }>;
1365
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1366
+ theme: Theme;
1349
1367
  activeEmbeddable: {
1350
1368
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1351
1369
  state: "active" | "hover";
1352
1370
  } | null;
1353
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1354
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1355
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1371
+ editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1356
1372
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1357
- isBindingEnabled: boolean;
1358
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1359
- frameRendering: {
1360
- enabled: boolean;
1361
- name: boolean;
1362
- outline: boolean;
1363
- clip: boolean;
1373
+ selectedGroupIds: {
1374
+ [groupId: string]: boolean;
1364
1375
  };
1365
- editingFrame: string | null;
1376
+ selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1377
+ multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
1378
+ isBindingEnabled: boolean;
1379
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1380
+ isRotating: boolean;
1366
1381
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
1382
+ collaborators: Map<import("../types").SocketId, Readonly<{
1383
+ pointer?: import("../types").CollaboratorPointer | undefined;
1384
+ button?: "up" | "down" | undefined;
1385
+ selectedElementIds?: Readonly<{
1386
+ [id: string]: true;
1387
+ }> | undefined;
1388
+ username?: string | null | undefined;
1389
+ userState?: import("@excalidraw/common").UserIdleState | undefined;
1390
+ color?: {
1391
+ background: string;
1392
+ stroke: string;
1393
+ } | undefined;
1394
+ avatarUrl?: string | undefined;
1395
+ id?: string | undefined;
1396
+ socketId?: import("../types").SocketId | undefined;
1397
+ isCurrentUser?: boolean | undefined;
1398
+ isInCall?: boolean | undefined;
1399
+ isSpeaking?: boolean | undefined;
1400
+ isMuted?: boolean | undefined;
1401
+ }>>;
1402
+ snapLines: readonly import("../snapping").SnapLine[];
1403
+ zenModeEnabled: boolean;
1367
1404
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1368
- editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1405
+ gridColor: {
1406
+ Bold: string;
1407
+ Regular: string;
1408
+ };
1409
+ gridDirection: {
1410
+ horizontal: boolean;
1411
+ vertical: boolean;
1412
+ };
1413
+ highlightSearchResult: boolean;
1414
+ isCropping: boolean;
1415
+ croppingElementId: string | null;
1416
+ searchMatches: Readonly<{
1417
+ focusedId: string | null;
1418
+ matches: readonly import("../types").SearchMatch[];
1419
+ }> | null;
1420
+ activeLockedId: string | null;
1421
+ contextMenu: {
1422
+ items: import("../components/ContextMenu").ContextMenuItems;
1423
+ top: number;
1424
+ left: number;
1425
+ } | null;
1426
+ showWelcomeScreen: boolean;
1427
+ isLoading: boolean;
1428
+ errorMessage: import("react").ReactNode;
1429
+ newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1430
+ resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1431
+ startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
1432
+ editingFrame: string | null;
1369
1433
  activeTool: {
1370
1434
  lastActiveTool: import("../types").ActiveTool | null;
1371
1435
  locked: boolean;
@@ -1375,6 +1439,7 @@ export declare const actionLoadScene: {
1375
1439
  penDetected: boolean;
1376
1440
  exportBackground: boolean;
1377
1441
  exportEmbedScene: boolean;
1442
+ exportWithDarkMode: boolean;
1378
1443
  exportScale: number;
1379
1444
  currentItemStrokeColor: string;
1380
1445
  currentItemBackgroundColor: string;
@@ -1390,37 +1455,18 @@ export declare const actionLoadScene: {
1390
1455
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1391
1456
  currentHoveredFontFamily: number | null;
1392
1457
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1393
- currentItemArrowType: "sharp" | "round" | "elbow";
1394
- viewBackgroundColor: string;
1458
+ currentItemArrowType: "round" | "sharp" | "elbow";
1459
+ cursorButton: "up" | "down";
1395
1460
  scrolledOutside: boolean;
1396
- name: string | null;
1397
1461
  isResizing: boolean;
1398
- isRotating: boolean;
1399
- zoom: Readonly<{
1400
- value: import("../types").NormalizedZoomValue;
1401
- }>;
1402
1462
  openMenu: "canvas" | "shape" | null;
1403
1463
  openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1404
1464
  openSidebar: {
1405
1465
  name: string;
1406
1466
  tab?: string | undefined;
1407
1467
  } | null;
1408
- openDialog: {
1409
- name: "help" | "imageExport" | "jsonExport";
1410
- } | {
1411
- name: "ttd";
1412
- tab: "mermaid" | "text-to-diagram";
1413
- } | {
1414
- name: "commandPalette";
1415
- } | {
1416
- name: "elementLinkSelector";
1417
- sourceElementId: string;
1418
- } | null;
1419
1468
  defaultSidebarDockedPreference: boolean;
1420
1469
  lastPointerDownWith: import("@excalidraw/element/types").PointerType;
1421
- selectedElementIds: Readonly<{
1422
- [id: string]: true;
1423
- }>;
1424
1470
  hoveredElementIds: Readonly<{
1425
1471
  [id: string]: true;
1426
1472
  }>;
@@ -1434,37 +1480,14 @@ export declare const actionLoadScene: {
1434
1480
  closable?: boolean | undefined;
1435
1481
  duration?: number | undefined;
1436
1482
  } | null;
1437
- zenModeEnabled: boolean;
1438
- theme: Theme;
1439
1483
  gridSize: number;
1440
1484
  gridStep: number;
1441
1485
  gridModeEnabled: boolean;
1442
- viewModeEnabled: boolean;
1443
- selectedGroupIds: {
1444
- [groupId: string]: boolean;
1445
- };
1446
- editingGroupId: string | null;
1447
1486
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
1448
- collaborators: Map<import("../types").SocketId, Readonly<{
1449
- pointer?: import("../types").CollaboratorPointer | undefined;
1450
- button?: "up" | "down" | undefined;
1451
- selectedElementIds?: Readonly<{
1452
- [id: string]: true;
1453
- }> | undefined;
1454
- username?: string | null | undefined;
1455
- userState?: import("@excalidraw/common").UserIdleState | undefined;
1456
- color?: {
1457
- background: string;
1458
- stroke: string;
1459
- } | undefined;
1460
- avatarUrl?: string | undefined;
1461
- id?: string | undefined;
1462
- socketId?: import("../types").SocketId | undefined;
1463
- isCurrentUser?: boolean | undefined;
1464
- isInCall?: boolean | undefined;
1465
- isSpeaking?: boolean | undefined;
1466
- isMuted?: boolean | undefined;
1467
- }>>;
1487
+ stats: {
1488
+ open: boolean;
1489
+ panels: number;
1490
+ };
1468
1491
  currentChartType: import("@excalidraw/element/types").ChartType;
1469
1492
  pasteDialog: {
1470
1493
  shown: false;
@@ -1473,7 +1496,7 @@ export declare const actionLoadScene: {
1473
1496
  shown: true;
1474
1497
  data: import("../charts").Spreadsheet;
1475
1498
  };
1476
- showHyperlinkPopup: false | "info" | "editor";
1499
+ showHyperlinkPopup: false | "editor" | "info";
1477
1500
  linkOpacity: number;
1478
1501
  trayModeEnabled: boolean;
1479
1502
  colorPalette?: {
@@ -1492,26 +1515,10 @@ export declare const actionLoadScene: {
1492
1515
  customPens?: any[] | undefined;
1493
1516
  currentStrokeOptions?: any;
1494
1517
  resetCustomPen?: any;
1495
- gridColor: {
1496
- Bold: string;
1497
- Regular: string;
1498
- };
1499
- gridDirection: {
1500
- horizontal: boolean;
1501
- vertical: boolean;
1502
- };
1503
- highlightSearchResult: boolean;
1504
1518
  dynamicStyle: {
1505
1519
  [x: string]: string;
1506
1520
  };
1507
- frameColor: {
1508
- stroke: string;
1509
- fill: string;
1510
- nameColor: string;
1511
- };
1512
1521
  invertBindingBehaviour: boolean;
1513
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
1514
- snapLines: readonly import("../snapping").SnapLine[];
1515
1522
  originSnapOffset: {
1516
1523
  x: number;
1517
1524
  y: number;
@@ -1519,13 +1526,6 @@ export declare const actionLoadScene: {
1519
1526
  objectsSnapModeEnabled: boolean;
1520
1527
  userToFollow: import("../types").UserToFollow | null;
1521
1528
  followedBy: Set<import("../types").SocketId>;
1522
- isCropping: boolean;
1523
- croppingElementId: string | null;
1524
- searchMatches: Readonly<{
1525
- focusedId: string | null;
1526
- matches: readonly import("../types").SearchMatch[];
1527
- }> | null;
1528
- activeLockedId: string | null;
1529
1529
  lockedMultiSelections: {
1530
1530
  [groupId: string]: true;
1531
1531
  };
@@ -1590,7 +1590,7 @@ export declare const actionLoadScene: {
1590
1590
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1591
1591
  currentHoveredFontFamily: number | null;
1592
1592
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1593
- currentItemArrowType: "sharp" | "round" | "elbow";
1593
+ currentItemArrowType: "round" | "sharp" | "elbow";
1594
1594
  viewBackgroundColor: string;
1595
1595
  scrollX: number;
1596
1596
  scrollY: number;
@@ -1684,7 +1684,7 @@ export declare const actionLoadScene: {
1684
1684
  shown: true;
1685
1685
  data: import("../charts").Spreadsheet;
1686
1686
  };
1687
- showHyperlinkPopup: false | "info" | "editor";
1687
+ showHyperlinkPopup: false | "editor" | "info";
1688
1688
  linkOpacity: number;
1689
1689
  trayModeEnabled: boolean;
1690
1690
  colorPalette?: {
@@ -1744,9 +1744,9 @@ export declare const actionLoadScene: {
1744
1744
  files: import("../types").BinaryFiles;
1745
1745
  captureUpdate: "EVENTUALLY";
1746
1746
  }>;
1747
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
1747
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1748
1748
  } & {
1749
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
1749
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1750
1750
  };
1751
1751
  export declare const actionExportWithDarkMode: {
1752
1752
  name: "exportWithDarkMode";
@@ -1812,7 +1812,7 @@ export declare const actionExportWithDarkMode: {
1812
1812
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
1813
1813
  currentHoveredFontFamily: number | null;
1814
1814
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
1815
- currentItemArrowType: "sharp" | "round" | "elbow";
1815
+ currentItemArrowType: "round" | "sharp" | "elbow";
1816
1816
  viewBackgroundColor: string;
1817
1817
  scrollX: number;
1818
1818
  scrollY: number;
@@ -1906,7 +1906,7 @@ export declare const actionExportWithDarkMode: {
1906
1906
  shown: true;
1907
1907
  data: import("../charts").Spreadsheet;
1908
1908
  };
1909
- showHyperlinkPopup: false | "info" | "editor";
1909
+ showHyperlinkPopup: false | "editor" | "info";
1910
1910
  linkOpacity: number;
1911
1911
  trayModeEnabled: boolean;
1912
1912
  colorPalette?: {
@@ -96,7 +96,7 @@ export declare const actionFinalize: {
96
96
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
97
97
  currentHoveredFontFamily: number | null;
98
98
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
99
- currentItemArrowType: "sharp" | "round" | "elbow";
99
+ currentItemArrowType: "round" | "sharp" | "elbow";
100
100
  viewBackgroundColor: string;
101
101
  scrollX: number;
102
102
  scrollY: number;
@@ -190,7 +190,7 @@ export declare const actionFinalize: {
190
190
  shown: true;
191
191
  data: import("../charts").Spreadsheet;
192
192
  };
193
- showHyperlinkPopup: false | "info" | "editor";
193
+ showHyperlinkPopup: false | "editor" | "info";
194
194
  linkOpacity: number;
195
195
  trayModeEnabled: boolean;
196
196
  colorPalette?: {
@@ -306,7 +306,7 @@ export declare const actionFinalize: {
306
306
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
307
307
  currentHoveredFontFamily: number | null;
308
308
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
309
- currentItemArrowType: "sharp" | "round" | "elbow";
309
+ currentItemArrowType: "round" | "sharp" | "elbow";
310
310
  viewBackgroundColor: string;
311
311
  scrollX: number;
312
312
  scrollY: number;
@@ -399,7 +399,7 @@ export declare const actionFinalize: {
399
399
  shown: true;
400
400
  data: import("../charts").Spreadsheet;
401
401
  };
402
- showHyperlinkPopup: false | "info" | "editor";
402
+ showHyperlinkPopup: false | "editor" | "info";
403
403
  linkOpacity: number;
404
404
  trayModeEnabled: boolean;
405
405
  colorPalette?: {
@@ -517,7 +517,7 @@ export declare const actionFinalize: {
517
517
  currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
518
518
  currentHoveredFontFamily: number | null;
519
519
  currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
520
- currentItemArrowType: "sharp" | "round" | "elbow";
520
+ currentItemArrowType: "round" | "sharp" | "elbow";
521
521
  viewBackgroundColor: string;
522
522
  scrollX: number;
523
523
  scrollY: number;
@@ -607,7 +607,7 @@ export declare const actionFinalize: {
607
607
  shown: true;
608
608
  data: import("../charts").Spreadsheet;
609
609
  };
610
- showHyperlinkPopup: false | "info" | "editor";
610
+ showHyperlinkPopup: false | "editor" | "info";
611
611
  linkOpacity: number;
612
612
  trayModeEnabled: boolean;
613
613
  colorPalette?: {
@@ -665,8 +665,8 @@ export declare const actionFinalize: {
665
665
  };
666
666
  captureUpdate: "IMMEDIATELY";
667
667
  };
668
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent, appState: AppState) => boolean;
668
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean;
669
669
  PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
670
670
  } & {
671
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent, appState: AppState) => boolean) | undefined;
671
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean) | undefined;
672
672
  };
@@ -12,9 +12,9 @@ export declare const actionFlipHorizontal: {
12
12
  appState: Readonly<AppState>;
13
13
  captureUpdate: "IMMEDIATELY";
14
14
  };
15
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
15
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
16
16
  } & {
17
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
17
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
18
18
  };
19
19
  export declare const actionFlipVertical: {
20
20
  name: "flipVertical";
@@ -28,7 +28,7 @@ export declare const actionFlipVertical: {
28
28
  appState: Readonly<AppState>;
29
29
  captureUpdate: "IMMEDIATELY";
30
30
  };
31
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
31
+ keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
32
32
  } & {
33
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
33
+ keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
34
34
  };