@zsviczian/excalidraw 0.16.1-obsidian-7 → 0.17.0-obsidian-1

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 (66) hide show
  1. package/dist/excalidraw.development.js +124 -80
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/excalidraw.production.min.js.LICENSE.txt +1 -1
  4. package/main.js +7 -1
  5. package/package.json +1 -1
  6. package/types/actions/actionAddToLibrary.d.ts +27 -6
  7. package/types/actions/actionBoundText.d.ts +18 -4
  8. package/types/actions/actionCanvas.d.ts +118 -27
  9. package/types/actions/actionClipboard.d.ts +362 -18
  10. package/types/actions/actionDeleteSelected.d.ts +27 -6
  11. package/types/actions/actionElementLock.d.ts +18 -4
  12. package/types/actions/actionExport.d.ts +81 -18
  13. package/types/actions/actionFinalize.d.ts +18 -4
  14. package/types/actions/actionFrame.d.ts +27 -6
  15. package/types/actions/actionGroup.d.ts +21 -7
  16. package/types/actions/actionLinearEditor.d.ts +9 -2
  17. package/types/actions/actionMenu.d.ts +26 -19
  18. package/types/actions/actionProperties.d.ts +117 -26
  19. package/types/actions/actionSelectAll.d.ts +9 -2
  20. package/types/actions/actionStyles.d.ts +9 -2
  21. package/types/actions/actionToggleGridMode.d.ts +9 -2
  22. package/types/actions/actionToggleObjectsSnapMode.d.ts +9 -2
  23. package/types/actions/actionToggleStats.d.ts +9 -2
  24. package/types/actions/actionToggleViewMode.d.ts +9 -2
  25. package/types/actions/actionToggleZenMode.d.ts +9 -2
  26. package/types/actions/actionZindex.d.ts +2 -2
  27. package/types/actions/index.d.ts +1 -1
  28. package/types/actions/manager.d.ts +1 -1
  29. package/types/appState.d.ts +1 -1
  30. package/types/clipboard.d.ts +21 -3
  31. package/types/components/Actions.d.ts +3 -2
  32. package/types/components/App.d.ts +20 -12
  33. package/types/components/ContextMenu.d.ts +2 -1
  34. package/types/components/ImageExportDialog.d.ts +1 -1
  35. package/types/components/LayerUI.d.ts +1 -1
  36. package/types/components/MermaidToExcalidraw.d.ts +1 -1
  37. package/types/components/MobileMenu.d.ts +4 -3
  38. package/types/components/Modal.d.ts +3 -1
  39. package/types/constants.d.ts +7 -1
  40. package/types/data/index.d.ts +10 -2
  41. package/types/data/transform.d.ts +7 -3
  42. package/types/element/Hyperlink.d.ts +10 -3
  43. package/types/element/bounds.d.ts +11 -5
  44. package/types/element/embeddable.d.ts +10 -3
  45. package/types/element/linearElementEditor.d.ts +11 -3
  46. package/types/element/newElement.d.ts +3 -1
  47. package/types/element/resizeTest.d.ts +2 -1
  48. package/types/element/transformHandles.d.ts +2 -1
  49. package/types/element/typeChecks.d.ts +1 -1
  50. package/types/element/types.d.ts +1 -0
  51. package/types/errors.d.ts +5 -0
  52. package/types/frame.d.ts +12 -1
  53. package/types/hooks/useCreatePortalContainer.d.ts +6 -4
  54. package/types/math.d.ts +1 -0
  55. package/types/packages/bbox.d.ts +11 -0
  56. package/types/packages/excalidraw/index.d.ts +4 -3
  57. package/types/packages/excalidraw/webpack.preact.config.d.ts +170 -0
  58. package/types/packages/utils.d.ts +6 -3
  59. package/types/packages/withinBounds.d.ts +19 -0
  60. package/types/renderer/renderElement.d.ts +6 -1
  61. package/types/renderer/renderScene.d.ts +10 -5
  62. package/types/scene/Scene.d.ts +7 -2
  63. package/types/scene/export.d.ts +6 -6
  64. package/types/types.d.ts +29 -18
  65. package/types/utils.d.ts +8 -1
  66. package/types/zindex.d.ts +4 -4
@@ -43,4 +43,4 @@ https://github.com/nodeca/pica
43
43
  * LICENSE file in the root directory of this source tree.
44
44
  */
45
45
 
46
- //!device.isMobile && //zsviczian
46
+ //!device.editor.isMobile && //zsviczian
package/main.js CHANGED
@@ -1,4 +1,10 @@
1
- if (process.env.NODE_ENV === "production") {
1
+ if (process.env.IS_PREACT === "true") {
2
+ if (process.env.NODE_ENV === "production") {
3
+ module.exports = require("./dist/excalidraw-with-preact.production.min.js");
4
+ } else {
5
+ module.exports = require("./dist/excalidraw-with-preact.development.js");
6
+ }
7
+ } else if (process.env.NODE_ENV === "production") {
2
8
  module.exports = require("./dist/excalidraw.production.min.js");
3
9
  } else {
4
10
  module.exports = require("./dist/excalidraw.development.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zsviczian/excalidraw",
3
- "version": "0.16.1-obsidian-7",
3
+ "version": "0.17.0-obsidian-1",
4
4
  "main": "main.js",
5
5
  "types": "types/packages/excalidraw/index.d.ts",
6
6
  "files": [
@@ -79,7 +79,7 @@ export declare const actionAddToLibrary: {
79
79
  name: string;
80
80
  tab?: string | undefined;
81
81
  } | null;
82
- openDialog: "imageExport" | "help" | "jsonExport" | null;
82
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
83
83
  defaultSidebarDockedPreference: boolean;
84
84
  lastPointerDownWith: import("../element/types").PointerType;
85
85
  selectedElementIds: Readonly<{
@@ -139,7 +139,14 @@ export declare const actionAddToLibrary: {
139
139
  Regular: string;
140
140
  MajorGridFrequency?: number | undefined;
141
141
  };
142
- dynamicStyle: string;
142
+ dynamicStyle: {
143
+ [x: string]: string;
144
+ };
145
+ frameColor: {
146
+ stroke: string;
147
+ fill: string;
148
+ nameColor: string;
149
+ };
143
150
  invertBindingBehaviour: boolean;
144
151
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
145
152
  snapLines: readonly import("../snapping").SnapLine[];
@@ -222,7 +229,7 @@ export declare const actionAddToLibrary: {
222
229
  name: string;
223
230
  tab?: string | undefined;
224
231
  } | null;
225
- openDialog: "imageExport" | "help" | "jsonExport" | null;
232
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
226
233
  defaultSidebarDockedPreference: boolean;
227
234
  lastPointerDownWith: import("../element/types").PointerType;
228
235
  selectedElementIds: Readonly<{
@@ -287,7 +294,14 @@ export declare const actionAddToLibrary: {
287
294
  Regular: string;
288
295
  MajorGridFrequency?: number | undefined;
289
296
  };
290
- dynamicStyle: string;
297
+ dynamicStyle: {
298
+ [x: string]: string;
299
+ };
300
+ frameColor: {
301
+ stroke: string;
302
+ fill: string;
303
+ nameColor: string;
304
+ };
291
305
  invertBindingBehaviour: boolean;
292
306
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
293
307
  snapLines: readonly import("../snapping").SnapLine[];
@@ -370,7 +384,7 @@ export declare const actionAddToLibrary: {
370
384
  name: string;
371
385
  tab?: string | undefined;
372
386
  } | null;
373
- openDialog: "imageExport" | "help" | "jsonExport" | null;
387
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
374
388
  defaultSidebarDockedPreference: boolean;
375
389
  lastPointerDownWith: import("../element/types").PointerType;
376
390
  selectedElementIds: Readonly<{
@@ -435,7 +449,14 @@ export declare const actionAddToLibrary: {
435
449
  Regular: string;
436
450
  MajorGridFrequency?: number | undefined;
437
451
  };
438
- dynamicStyle: string;
452
+ dynamicStyle: {
453
+ [x: string]: string;
454
+ };
455
+ frameColor: {
456
+ stroke: string;
457
+ fill: string;
458
+ nameColor: string;
459
+ };
439
460
  invertBindingBehaviour: boolean;
440
461
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
441
462
  snapLines: readonly import("../snapping").SnapLine[];
@@ -99,7 +99,7 @@ export declare const actionBindText: {
99
99
  name: string;
100
100
  tab?: string | undefined;
101
101
  } | null;
102
- openDialog: "imageExport" | "help" | "jsonExport" | null;
102
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
103
103
  defaultSidebarDockedPreference: boolean;
104
104
  lastPointerDownWith: import("../element/types").PointerType;
105
105
  previousSelectedElementIds: {
@@ -161,7 +161,14 @@ export declare const actionBindText: {
161
161
  Regular: string;
162
162
  MajorGridFrequency?: number | undefined;
163
163
  };
164
- dynamicStyle: string;
164
+ dynamicStyle: {
165
+ [x: string]: string;
166
+ };
167
+ frameColor: {
168
+ stroke: string;
169
+ fill: string;
170
+ nameColor: string;
171
+ };
165
172
  invertBindingBehaviour: boolean;
166
173
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
167
174
  snapLines: readonly import("../snapping").SnapLine[];
@@ -259,7 +266,7 @@ export declare const actionWrapTextInContainer: {
259
266
  name: string;
260
267
  tab?: string | undefined;
261
268
  } | null;
262
- openDialog: "imageExport" | "help" | "jsonExport" | null;
269
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
263
270
  defaultSidebarDockedPreference: boolean;
264
271
  lastPointerDownWith: import("../element/types").PointerType;
265
272
  previousSelectedElementIds: {
@@ -321,7 +328,14 @@ export declare const actionWrapTextInContainer: {
321
328
  Regular: string;
322
329
  MajorGridFrequency?: number | undefined;
323
330
  };
324
- dynamicStyle: string;
331
+ dynamicStyle: {
332
+ [x: string]: string;
333
+ };
334
+ frameColor: {
335
+ stroke: string;
336
+ fill: string;
337
+ nameColor: string;
338
+ };
325
339
  invertBindingBehaviour: boolean;
326
340
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
327
341
  snapLines: readonly import("../snapping").SnapLine[];
@@ -55,7 +55,6 @@ export declare const actionClearCanvas: {
55
55
  allowWheelZoom: boolean | undefined;
56
56
  pinnedScripts: string[] | undefined;
57
57
  customPens: any[] | undefined;
58
- name: string;
59
58
  contextMenu: {
60
59
  items: import("../components/ContextMenu").ContextMenuItems;
61
60
  top: number;
@@ -106,6 +105,7 @@ export declare const actionClearCanvas: {
106
105
  scrollY: number;
107
106
  cursorButton: "up" | "down";
108
107
  scrolledOutside: boolean;
108
+ name: string;
109
109
  isResizing: boolean;
110
110
  isRotating: boolean;
111
111
  zoom: Readonly<{
@@ -117,7 +117,7 @@ export declare const actionClearCanvas: {
117
117
  name: string;
118
118
  tab?: string | undefined;
119
119
  } | null;
120
- openDialog: "imageExport" | "help" | "jsonExport" | null;
120
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
121
121
  defaultSidebarDockedPreference: boolean;
122
122
  lastPointerDownWith: import("../element/types").PointerType;
123
123
  selectedElementIds: Readonly<{
@@ -153,7 +153,14 @@ export declare const actionClearCanvas: {
153
153
  Regular: string;
154
154
  MajorGridFrequency?: number | undefined;
155
155
  };
156
- dynamicStyle: string;
156
+ dynamicStyle: {
157
+ [x: string]: string;
158
+ };
159
+ frameColor: {
160
+ stroke: string;
161
+ fill: string;
162
+ nameColor: string;
163
+ };
157
164
  invertBindingBehaviour: boolean;
158
165
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
159
166
  snapLines: readonly import("../snapping").SnapLine[];
@@ -246,7 +253,7 @@ export declare const actionZoomIn: {
246
253
  name: string;
247
254
  tab?: string | undefined;
248
255
  } | null;
249
- openDialog: "imageExport" | "help" | "jsonExport" | null;
256
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
250
257
  defaultSidebarDockedPreference: boolean;
251
258
  lastPointerDownWith: import("../element/types").PointerType;
252
259
  selectedElementIds: Readonly<{
@@ -311,7 +318,14 @@ export declare const actionZoomIn: {
311
318
  Regular: string;
312
319
  MajorGridFrequency?: number | undefined;
313
320
  };
314
- dynamicStyle: string;
321
+ dynamicStyle: {
322
+ [x: string]: string;
323
+ };
324
+ frameColor: {
325
+ stroke: string;
326
+ fill: string;
327
+ nameColor: string;
328
+ };
315
329
  invertBindingBehaviour: boolean;
316
330
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
317
331
  snapLines: readonly import("../snapping").SnapLine[];
@@ -406,7 +420,7 @@ export declare const actionZoomOut: {
406
420
  name: string;
407
421
  tab?: string | undefined;
408
422
  } | null;
409
- openDialog: "imageExport" | "help" | "jsonExport" | null;
423
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
410
424
  defaultSidebarDockedPreference: boolean;
411
425
  lastPointerDownWith: import("../element/types").PointerType;
412
426
  selectedElementIds: Readonly<{
@@ -471,7 +485,14 @@ export declare const actionZoomOut: {
471
485
  Regular: string;
472
486
  MajorGridFrequency?: number | undefined;
473
487
  };
474
- dynamicStyle: string;
488
+ dynamicStyle: {
489
+ [x: string]: string;
490
+ };
491
+ frameColor: {
492
+ stroke: string;
493
+ fill: string;
494
+ nameColor: string;
495
+ };
475
496
  invertBindingBehaviour: boolean;
476
497
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
477
498
  snapLines: readonly import("../snapping").SnapLine[];
@@ -566,7 +587,7 @@ export declare const actionResetZoom: {
566
587
  name: string;
567
588
  tab?: string | undefined;
568
589
  } | null;
569
- openDialog: "imageExport" | "help" | "jsonExport" | null;
590
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
570
591
  defaultSidebarDockedPreference: boolean;
571
592
  lastPointerDownWith: import("../element/types").PointerType;
572
593
  selectedElementIds: Readonly<{
@@ -631,7 +652,14 @@ export declare const actionResetZoom: {
631
652
  Regular: string;
632
653
  MajorGridFrequency?: number | undefined;
633
654
  };
634
- dynamicStyle: string;
655
+ dynamicStyle: {
656
+ [x: string]: string;
657
+ };
658
+ frameColor: {
659
+ stroke: string;
660
+ fill: string;
661
+ nameColor: string;
662
+ };
635
663
  invertBindingBehaviour: boolean;
636
664
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
637
665
  snapLines: readonly import("../snapping").SnapLine[];
@@ -727,7 +755,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
727
755
  name: string;
728
756
  tab?: string | undefined;
729
757
  } | null;
730
- openDialog: "imageExport" | "help" | "jsonExport" | null;
758
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
731
759
  defaultSidebarDockedPreference: boolean;
732
760
  lastPointerDownWith: import("../element/types").PointerType;
733
761
  selectedElementIds: Readonly<{
@@ -792,7 +820,14 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
792
820
  Regular: string;
793
821
  MajorGridFrequency?: number | undefined;
794
822
  };
795
- dynamicStyle: string;
823
+ dynamicStyle: {
824
+ [x: string]: string;
825
+ };
826
+ frameColor: {
827
+ stroke: string;
828
+ fill: string;
829
+ nameColor: string;
830
+ };
796
831
  invertBindingBehaviour: boolean;
797
832
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
798
833
  snapLines: readonly import("../snapping").SnapLine[];
@@ -881,7 +916,7 @@ export declare const actionZoomToFitSelectionInViewport: {
881
916
  name: string;
882
917
  tab?: string | undefined;
883
918
  } | null;
884
- openDialog: "imageExport" | "help" | "jsonExport" | null;
919
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
885
920
  defaultSidebarDockedPreference: boolean;
886
921
  lastPointerDownWith: import("../element/types").PointerType;
887
922
  selectedElementIds: Readonly<{
@@ -946,7 +981,14 @@ export declare const actionZoomToFitSelectionInViewport: {
946
981
  Regular: string;
947
982
  MajorGridFrequency?: number | undefined;
948
983
  };
949
- dynamicStyle: string;
984
+ dynamicStyle: {
985
+ [x: string]: string;
986
+ };
987
+ frameColor: {
988
+ stroke: string;
989
+ fill: string;
990
+ nameColor: string;
991
+ };
950
992
  invertBindingBehaviour: boolean;
951
993
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
952
994
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1039,7 +1081,7 @@ export declare const actionZoomToFitSelection: {
1039
1081
  name: string;
1040
1082
  tab?: string | undefined;
1041
1083
  } | null;
1042
- openDialog: "imageExport" | "help" | "jsonExport" | null;
1084
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1043
1085
  defaultSidebarDockedPreference: boolean;
1044
1086
  lastPointerDownWith: import("../element/types").PointerType;
1045
1087
  selectedElementIds: Readonly<{
@@ -1104,7 +1146,14 @@ export declare const actionZoomToFitSelection: {
1104
1146
  Regular: string;
1105
1147
  MajorGridFrequency?: number | undefined;
1106
1148
  };
1107
- dynamicStyle: string;
1149
+ dynamicStyle: {
1150
+ [x: string]: string;
1151
+ };
1152
+ frameColor: {
1153
+ stroke: string;
1154
+ fill: string;
1155
+ nameColor: string;
1156
+ };
1108
1157
  invertBindingBehaviour: boolean;
1109
1158
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1110
1159
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1198,7 +1247,7 @@ export declare const actionZoomToFit: {
1198
1247
  name: string;
1199
1248
  tab?: string | undefined;
1200
1249
  } | null;
1201
- openDialog: "imageExport" | "help" | "jsonExport" | null;
1250
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1202
1251
  defaultSidebarDockedPreference: boolean;
1203
1252
  lastPointerDownWith: import("../element/types").PointerType;
1204
1253
  selectedElementIds: Readonly<{
@@ -1263,7 +1312,14 @@ export declare const actionZoomToFit: {
1263
1312
  Regular: string;
1264
1313
  MajorGridFrequency?: number | undefined;
1265
1314
  };
1266
- dynamicStyle: string;
1315
+ dynamicStyle: {
1316
+ [x: string]: string;
1317
+ };
1318
+ frameColor: {
1319
+ stroke: string;
1320
+ fill: string;
1321
+ nameColor: string;
1322
+ };
1267
1323
  invertBindingBehaviour: boolean;
1268
1324
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1269
1325
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1358,7 +1414,7 @@ export declare const actionToggleTheme: {
1358
1414
  name: string;
1359
1415
  tab?: string | undefined;
1360
1416
  } | null;
1361
- openDialog: "imageExport" | "help" | "jsonExport" | null;
1417
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1362
1418
  defaultSidebarDockedPreference: boolean;
1363
1419
  lastPointerDownWith: import("../element/types").PointerType;
1364
1420
  selectedElementIds: Readonly<{
@@ -1422,7 +1478,14 @@ export declare const actionToggleTheme: {
1422
1478
  Regular: string;
1423
1479
  MajorGridFrequency?: number | undefined;
1424
1480
  };
1425
- dynamicStyle: string;
1481
+ dynamicStyle: {
1482
+ [x: string]: string;
1483
+ };
1484
+ frameColor: {
1485
+ stroke: string;
1486
+ fill: string;
1487
+ nameColor: string;
1488
+ };
1426
1489
  invertBindingBehaviour: boolean;
1427
1490
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1428
1491
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1515,7 +1578,7 @@ export declare const actionToggleEraserTool: {
1515
1578
  name: string;
1516
1579
  tab?: string | undefined;
1517
1580
  } | null;
1518
- openDialog: "imageExport" | "help" | "jsonExport" | null;
1581
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1519
1582
  defaultSidebarDockedPreference: boolean;
1520
1583
  lastPointerDownWith: import("../element/types").PointerType;
1521
1584
  previousSelectedElementIds: {
@@ -1574,7 +1637,14 @@ export declare const actionToggleEraserTool: {
1574
1637
  Regular: string;
1575
1638
  MajorGridFrequency?: number | undefined;
1576
1639
  };
1577
- dynamicStyle: string;
1640
+ dynamicStyle: {
1641
+ [x: string]: string;
1642
+ };
1643
+ frameColor: {
1644
+ stroke: string;
1645
+ fill: string;
1646
+ nameColor: string;
1647
+ };
1578
1648
  invertBindingBehaviour: boolean;
1579
1649
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1580
1650
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1666,7 +1736,7 @@ export declare const actionToggleHandTool: {
1666
1736
  name: string;
1667
1737
  tab?: string | undefined;
1668
1738
  } | null;
1669
- openDialog: "imageExport" | "help" | "jsonExport" | null;
1739
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1670
1740
  defaultSidebarDockedPreference: boolean;
1671
1741
  lastPointerDownWith: import("../element/types").PointerType;
1672
1742
  previousSelectedElementIds: {
@@ -1725,7 +1795,14 @@ export declare const actionToggleHandTool: {
1725
1795
  Regular: string;
1726
1796
  MajorGridFrequency?: number | undefined;
1727
1797
  };
1728
- dynamicStyle: string;
1798
+ dynamicStyle: {
1799
+ [x: string]: string;
1800
+ };
1801
+ frameColor: {
1802
+ stroke: string;
1803
+ fill: string;
1804
+ nameColor: string;
1805
+ };
1729
1806
  invertBindingBehaviour: boolean;
1730
1807
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1731
1808
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1818,7 +1895,7 @@ export declare const actionToggleLaserPointer: {
1818
1895
  name: string;
1819
1896
  tab?: string | undefined;
1820
1897
  } | null;
1821
- openDialog: "imageExport" | "help" | "jsonExport" | null;
1898
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1822
1899
  defaultSidebarDockedPreference: boolean;
1823
1900
  lastPointerDownWith: import("../element/types").PointerType;
1824
1901
  previousSelectedElementIds: {
@@ -1877,7 +1954,14 @@ export declare const actionToggleLaserPointer: {
1877
1954
  Regular: string;
1878
1955
  MajorGridFrequency?: number | undefined;
1879
1956
  };
1880
- dynamicStyle: string;
1957
+ dynamicStyle: {
1958
+ [x: string]: string;
1959
+ };
1960
+ frameColor: {
1961
+ stroke: string;
1962
+ fill: string;
1963
+ nameColor: string;
1964
+ };
1881
1965
  invertBindingBehaviour: boolean;
1882
1966
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1883
1967
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1966,7 +2050,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
1966
2050
  name: string;
1967
2051
  tab?: string | undefined;
1968
2052
  } | null;
1969
- openDialog: "imageExport" | "help" | "jsonExport" | null;
2053
+ openDialog: "mermaid" | "imageExport" | "help" | "jsonExport" | null;
1970
2054
  defaultSidebarDockedPreference: boolean;
1971
2055
  lastPointerDownWith: import("../element/types").PointerType;
1972
2056
  selectedElementIds: Readonly<{
@@ -2031,7 +2115,14 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
2031
2115
  Regular: string;
2032
2116
  MajorGridFrequency?: number | undefined;
2033
2117
  };
2034
- dynamicStyle: string;
2118
+ dynamicStyle: {
2119
+ [x: string]: string;
2120
+ };
2121
+ frameColor: {
2122
+ stroke: string;
2123
+ fill: string;
2124
+ nameColor: string;
2125
+ };
2035
2126
  invertBindingBehaviour: boolean;
2036
2127
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
2037
2128
  snapLines: readonly import("../snapping").SnapLine[];