@zsviczian/excalidraw 0.16.1-obsidian-8 → 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 (51) hide show
  1. package/dist/excalidraw.development.js +66 -66
  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 +3 -0
  7. package/types/actions/actionBoundText.d.ts +2 -0
  8. package/types/actions/actionCanvas.d.ts +14 -1
  9. package/types/actions/actionClipboard.d.ts +7 -0
  10. package/types/actions/actionDeleteSelected.d.ts +3 -0
  11. package/types/actions/actionElementLock.d.ts +2 -0
  12. package/types/actions/actionExport.d.ts +10 -1
  13. package/types/actions/actionFinalize.d.ts +2 -0
  14. package/types/actions/actionFrame.d.ts +3 -0
  15. package/types/actions/actionGroup.d.ts +5 -3
  16. package/types/actions/actionLinearEditor.d.ts +1 -0
  17. package/types/actions/actionMenu.d.ts +3 -14
  18. package/types/actions/actionProperties.d.ts +13 -0
  19. package/types/actions/actionSelectAll.d.ts +1 -0
  20. package/types/actions/actionStyles.d.ts +1 -0
  21. package/types/actions/actionToggleGridMode.d.ts +1 -0
  22. package/types/actions/actionToggleObjectsSnapMode.d.ts +1 -0
  23. package/types/actions/actionToggleStats.d.ts +1 -0
  24. package/types/actions/actionToggleViewMode.d.ts +1 -0
  25. package/types/actions/actionToggleZenMode.d.ts +1 -0
  26. package/types/actions/index.d.ts +1 -1
  27. package/types/appState.d.ts +1 -1
  28. package/types/components/Actions.d.ts +3 -2
  29. package/types/components/App.d.ts +18 -9
  30. package/types/components/ImageExportDialog.d.ts +1 -1
  31. package/types/components/LayerUI.d.ts +1 -1
  32. package/types/components/MobileMenu.d.ts +4 -3
  33. package/types/constants.d.ts +6 -1
  34. package/types/data/index.d.ts +10 -2
  35. package/types/element/Hyperlink.d.ts +1 -0
  36. package/types/element/embeddable.d.ts +2 -1
  37. package/types/element/linearElementEditor.d.ts +1 -0
  38. package/types/element/typeChecks.d.ts +1 -1
  39. package/types/element/types.d.ts +1 -0
  40. package/types/errors.d.ts +5 -0
  41. package/types/frame.d.ts +11 -1
  42. package/types/packages/excalidraw/index.d.ts +3 -3
  43. package/types/packages/excalidraw/webpack.preact.config.d.ts +170 -0
  44. package/types/packages/utils.d.ts +4 -3
  45. package/types/packages/withinBounds.d.ts +2 -2
  46. package/types/renderer/renderElement.d.ts +6 -1
  47. package/types/renderer/renderScene.d.ts +10 -5
  48. package/types/scene/Scene.d.ts +7 -2
  49. package/types/scene/export.d.ts +6 -5
  50. package/types/types.d.ts +18 -15
  51. package/types/utils.d.ts +6 -1
@@ -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-8",
3
+ "version": "0.17.0-obsidian-1",
4
4
  "main": "main.js",
5
5
  "types": "types/packages/excalidraw/index.d.ts",
6
6
  "files": [
@@ -145,6 +145,7 @@ export declare const actionAddToLibrary: {
145
145
  frameColor: {
146
146
  stroke: string;
147
147
  fill: string;
148
+ nameColor: string;
148
149
  };
149
150
  invertBindingBehaviour: boolean;
150
151
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -299,6 +300,7 @@ export declare const actionAddToLibrary: {
299
300
  frameColor: {
300
301
  stroke: string;
301
302
  fill: string;
303
+ nameColor: string;
302
304
  };
303
305
  invertBindingBehaviour: boolean;
304
306
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -453,6 +455,7 @@ export declare const actionAddToLibrary: {
453
455
  frameColor: {
454
456
  stroke: string;
455
457
  fill: string;
458
+ nameColor: string;
456
459
  };
457
460
  invertBindingBehaviour: boolean;
458
461
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -167,6 +167,7 @@ export declare const actionBindText: {
167
167
  frameColor: {
168
168
  stroke: string;
169
169
  fill: string;
170
+ nameColor: string;
170
171
  };
171
172
  invertBindingBehaviour: boolean;
172
173
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -333,6 +334,7 @@ export declare const actionWrapTextInContainer: {
333
334
  frameColor: {
334
335
  stroke: string;
335
336
  fill: string;
337
+ nameColor: string;
336
338
  };
337
339
  invertBindingBehaviour: boolean;
338
340
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -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<{
@@ -159,6 +159,7 @@ export declare const actionClearCanvas: {
159
159
  frameColor: {
160
160
  stroke: string;
161
161
  fill: string;
162
+ nameColor: string;
162
163
  };
163
164
  invertBindingBehaviour: boolean;
164
165
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -323,6 +324,7 @@ export declare const actionZoomIn: {
323
324
  frameColor: {
324
325
  stroke: string;
325
326
  fill: string;
327
+ nameColor: string;
326
328
  };
327
329
  invertBindingBehaviour: boolean;
328
330
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -489,6 +491,7 @@ export declare const actionZoomOut: {
489
491
  frameColor: {
490
492
  stroke: string;
491
493
  fill: string;
494
+ nameColor: string;
492
495
  };
493
496
  invertBindingBehaviour: boolean;
494
497
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -655,6 +658,7 @@ export declare const actionResetZoom: {
655
658
  frameColor: {
656
659
  stroke: string;
657
660
  fill: string;
661
+ nameColor: string;
658
662
  };
659
663
  invertBindingBehaviour: boolean;
660
664
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -822,6 +826,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
822
826
  frameColor: {
823
827
  stroke: string;
824
828
  fill: string;
829
+ nameColor: string;
825
830
  };
826
831
  invertBindingBehaviour: boolean;
827
832
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -982,6 +987,7 @@ export declare const actionZoomToFitSelectionInViewport: {
982
987
  frameColor: {
983
988
  stroke: string;
984
989
  fill: string;
990
+ nameColor: string;
985
991
  };
986
992
  invertBindingBehaviour: boolean;
987
993
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1146,6 +1152,7 @@ export declare const actionZoomToFitSelection: {
1146
1152
  frameColor: {
1147
1153
  stroke: string;
1148
1154
  fill: string;
1155
+ nameColor: string;
1149
1156
  };
1150
1157
  invertBindingBehaviour: boolean;
1151
1158
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1311,6 +1318,7 @@ export declare const actionZoomToFit: {
1311
1318
  frameColor: {
1312
1319
  stroke: string;
1313
1320
  fill: string;
1321
+ nameColor: string;
1314
1322
  };
1315
1323
  invertBindingBehaviour: boolean;
1316
1324
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1476,6 +1484,7 @@ export declare const actionToggleTheme: {
1476
1484
  frameColor: {
1477
1485
  stroke: string;
1478
1486
  fill: string;
1487
+ nameColor: string;
1479
1488
  };
1480
1489
  invertBindingBehaviour: boolean;
1481
1490
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1634,6 +1643,7 @@ export declare const actionToggleEraserTool: {
1634
1643
  frameColor: {
1635
1644
  stroke: string;
1636
1645
  fill: string;
1646
+ nameColor: string;
1637
1647
  };
1638
1648
  invertBindingBehaviour: boolean;
1639
1649
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1791,6 +1801,7 @@ export declare const actionToggleHandTool: {
1791
1801
  frameColor: {
1792
1802
  stroke: string;
1793
1803
  fill: string;
1804
+ nameColor: string;
1794
1805
  };
1795
1806
  invertBindingBehaviour: boolean;
1796
1807
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1949,6 +1960,7 @@ export declare const actionToggleLaserPointer: {
1949
1960
  frameColor: {
1950
1961
  stroke: string;
1951
1962
  fill: string;
1963
+ nameColor: string;
1952
1964
  };
1953
1965
  invertBindingBehaviour: boolean;
1954
1966
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -2109,6 +2121,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
2109
2121
  frameColor: {
2110
2122
  stroke: string;
2111
2123
  fill: string;
2124
+ nameColor: string;
2112
2125
  };
2113
2126
  invertBindingBehaviour: boolean;
2114
2127
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -147,6 +147,7 @@ export declare const actionCopy: {
147
147
  frameColor: {
148
148
  stroke: string;
149
149
  fill: string;
150
+ nameColor: string;
150
151
  };
151
152
  invertBindingBehaviour: boolean;
152
153
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -315,6 +316,7 @@ export declare const actionPaste: {
315
316
  frameColor: {
316
317
  stroke: string;
317
318
  fill: string;
319
+ nameColor: string;
318
320
  };
319
321
  invertBindingBehaviour: boolean;
320
322
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -483,6 +485,7 @@ export declare const actionCut: {
483
485
  frameColor: {
484
486
  stroke: string;
485
487
  fill: string;
488
+ nameColor: string;
486
489
  };
487
490
  invertBindingBehaviour: boolean;
488
491
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -666,6 +669,7 @@ export declare const actionCut: {
666
669
  frameColor: {
667
670
  stroke: string;
668
671
  fill: string;
672
+ nameColor: string;
669
673
  };
670
674
  invertBindingBehaviour: boolean;
671
675
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -814,6 +818,7 @@ export declare const actionCut: {
814
818
  frameColor: {
815
819
  stroke: string;
816
820
  fill: string;
821
+ nameColor: string;
817
822
  };
818
823
  invertBindingBehaviour: boolean;
819
824
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -982,6 +987,7 @@ export declare const actionCopyAsSvg: {
982
987
  frameColor: {
983
988
  stroke: string;
984
989
  fill: string;
990
+ nameColor: string;
985
991
  };
986
992
  invertBindingBehaviour: boolean;
987
993
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1150,6 +1156,7 @@ export declare const actionCopyAsPng: {
1150
1156
  frameColor: {
1151
1157
  stroke: string;
1152
1158
  fill: string;
1159
+ nameColor: string;
1153
1160
  };
1154
1161
  invertBindingBehaviour: boolean;
1155
1162
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -151,6 +151,7 @@ export declare const actionDeleteSelected: {
151
151
  frameColor: {
152
152
  stroke: string;
153
153
  fill: string;
154
+ nameColor: string;
154
155
  };
155
156
  invertBindingBehaviour: boolean;
156
157
  selectedLinearElement: LinearElementEditor | null;
@@ -334,6 +335,7 @@ export declare const actionDeleteSelected: {
334
335
  frameColor: {
335
336
  stroke: string;
336
337
  fill: string;
338
+ nameColor: string;
337
339
  };
338
340
  invertBindingBehaviour: boolean;
339
341
  selectedLinearElement: LinearElementEditor | null;
@@ -482,6 +484,7 @@ export declare const actionDeleteSelected: {
482
484
  frameColor: {
483
485
  stroke: string;
484
486
  fill: string;
487
+ nameColor: string;
485
488
  };
486
489
  invertBindingBehaviour: boolean;
487
490
  selectedLinearElement: LinearElementEditor | null;
@@ -150,6 +150,7 @@ export declare const actionToggleElementLock: {
150
150
  frameColor: {
151
151
  stroke: string;
152
152
  fill: string;
153
+ nameColor: string;
153
154
  };
154
155
  invertBindingBehaviour: boolean;
155
156
  snapLines: readonly import("../snapping").SnapLine[];
@@ -317,6 +318,7 @@ export declare const actionUnlockAllElements: {
317
318
  frameColor: {
318
319
  stroke: string;
319
320
  fill: string;
321
+ nameColor: string;
320
322
  };
321
323
  invertBindingBehaviour: boolean;
322
324
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -146,6 +146,7 @@ export declare const actionChangeProjectName: {
146
146
  frameColor: {
147
147
  stroke: string;
148
148
  fill: string;
149
+ nameColor: string;
149
150
  };
150
151
  invertBindingBehaviour: boolean;
151
152
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -311,6 +312,7 @@ export declare const actionChangeExportScale: {
311
312
  frameColor: {
312
313
  stroke: string;
313
314
  fill: string;
315
+ nameColor: string;
314
316
  };
315
317
  invertBindingBehaviour: boolean;
316
318
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -476,6 +478,7 @@ export declare const actionChangeExportBackground: {
476
478
  frameColor: {
477
479
  stroke: string;
478
480
  fill: string;
481
+ nameColor: string;
479
482
  };
480
483
  invertBindingBehaviour: boolean;
481
484
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -641,6 +644,7 @@ export declare const actionChangeExportEmbedScene: {
641
644
  frameColor: {
642
645
  stroke: string;
643
646
  fill: string;
647
+ nameColor: string;
644
648
  };
645
649
  invertBindingBehaviour: boolean;
646
650
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -805,6 +809,7 @@ export declare const actionSaveToActiveFile: {
805
809
  frameColor: {
806
810
  stroke: string;
807
811
  fill: string;
812
+ nameColor: string;
808
813
  };
809
814
  invertBindingBehaviour: boolean;
810
815
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -971,6 +976,7 @@ export declare const actionSaveFileToDisk: {
971
976
  frameColor: {
972
977
  stroke: string;
973
978
  fill: string;
979
+ nameColor: string;
974
980
  };
975
981
  invertBindingBehaviour: boolean;
976
982
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1003,7 +1009,6 @@ export declare const actionLoadScene: {
1003
1009
  lastActiveTool: import("../types").ActiveTool | null;
1004
1010
  locked: boolean;
1005
1011
  } & import("../types").ActiveTool;
1006
- name: string;
1007
1012
  contextMenu: {
1008
1013
  items: import("../components/ContextMenu").ContextMenuItems;
1009
1014
  top: number;
@@ -1058,6 +1063,7 @@ export declare const actionLoadScene: {
1058
1063
  scrollY: number;
1059
1064
  cursorButton: "up" | "down";
1060
1065
  scrolledOutside: boolean;
1066
+ name: string;
1061
1067
  isResizing: boolean;
1062
1068
  isRotating: boolean;
1063
1069
  zoom: Readonly<{
@@ -1136,6 +1142,7 @@ export declare const actionLoadScene: {
1136
1142
  frameColor: {
1137
1143
  stroke: string;
1138
1144
  fill: string;
1145
+ nameColor: string;
1139
1146
  };
1140
1147
  invertBindingBehaviour: boolean;
1141
1148
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1292,6 +1299,7 @@ export declare const actionLoadScene: {
1292
1299
  frameColor: {
1293
1300
  stroke: string;
1294
1301
  fill: string;
1302
+ nameColor: string;
1295
1303
  };
1296
1304
  invertBindingBehaviour: boolean;
1297
1305
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1458,6 +1466,7 @@ export declare const actionExportWithDarkMode: {
1458
1466
  frameColor: {
1459
1467
  stroke: string;
1460
1468
  fill: string;
1469
+ nameColor: string;
1461
1470
  };
1462
1471
  invertBindingBehaviour: boolean;
1463
1472
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -147,6 +147,7 @@ export declare const actionFinalize: {
147
147
  frameColor: {
148
148
  stroke: string;
149
149
  fill: string;
150
+ nameColor: string;
150
151
  };
151
152
  invertBindingBehaviour: boolean;
152
153
  selectedLinearElement: LinearElementEditor | null;
@@ -300,6 +301,7 @@ export declare const actionFinalize: {
300
301
  frameColor: {
301
302
  stroke: string;
302
303
  fill: string;
304
+ nameColor: string;
303
305
  };
304
306
  invertBindingBehaviour: boolean;
305
307
  snapLines: readonly import("../snapping").SnapLine[];
@@ -164,6 +164,7 @@ export declare const actionRemoveAllElementsFromFrame: {
164
164
  frameColor: {
165
165
  stroke: string;
166
166
  fill: string;
167
+ nameColor: string;
167
168
  };
168
169
  invertBindingBehaviour: boolean;
169
170
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -335,6 +336,7 @@ export declare const actionupdateFrameRendering: {
335
336
  frameColor: {
336
337
  stroke: string;
337
338
  fill: string;
339
+ nameColor: string;
338
340
  };
339
341
  invertBindingBehaviour: boolean;
340
342
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -501,6 +503,7 @@ export declare const actionSetFrameAsActiveTool: {
501
503
  frameColor: {
502
504
  stroke: string;
503
505
  fill: string;
506
+ nameColor: string;
504
507
  };
505
508
  invertBindingBehaviour: boolean;
506
509
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1,4 +1,4 @@
1
- import { ExcalidrawElement, ExcalidrawFrameElement } from "../element/types";
1
+ import { ExcalidrawElement } from "../element/types";
2
2
  import { AppClassProperties, AppState } from "../types";
3
3
  export declare const actionGroup: {
4
4
  name: "group";
@@ -37,7 +37,7 @@ export declare const actionGroup: {
37
37
  isBindingEnabled: boolean;
38
38
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
39
39
  suggestedBindings: import("../element/binding").SuggestedBinding[];
40
- frameToHighlight: import("../element/types").NonDeleted<ExcalidrawFrameElement> | null;
40
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
41
41
  frameRendering: {
42
42
  enabled: boolean;
43
43
  name: boolean;
@@ -152,6 +152,7 @@ export declare const actionGroup: {
152
152
  frameColor: {
153
153
  stroke: string;
154
154
  fill: string;
155
+ nameColor: string;
155
156
  };
156
157
  invertBindingBehaviour: boolean;
157
158
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -209,7 +210,7 @@ export declare const actionUngroup: {
209
210
  isBindingEnabled: boolean;
210
211
  startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
211
212
  suggestedBindings: import("../element/binding").SuggestedBinding[];
212
- frameToHighlight: import("../element/types").NonDeleted<ExcalidrawFrameElement> | null;
213
+ frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameElement> | null;
213
214
  frameRendering: {
214
215
  enabled: boolean;
215
216
  name: boolean;
@@ -324,6 +325,7 @@ export declare const actionUngroup: {
324
325
  frameColor: {
325
326
  stroke: string;
326
327
  fill: string;
328
+ nameColor: string;
327
329
  };
328
330
  invertBindingBehaviour: boolean;
329
331
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -149,6 +149,7 @@ export declare const actionToggleLinearEditor: {
149
149
  frameColor: {
150
150
  stroke: string;
151
151
  fill: string;
152
+ nameColor: string;
152
153
  };
153
154
  invertBindingBehaviour: boolean;
154
155
  selectedLinearElement: LinearElementEditor | null;
@@ -146,6 +146,7 @@ export declare const actionToggleCanvasMenu: {
146
146
  frameColor: {
147
147
  stroke: string;
148
148
  fill: string;
149
+ nameColor: string;
149
150
  };
150
151
  invertBindingBehaviour: boolean;
151
152
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -310,6 +311,7 @@ export declare const actionToggleEditMenu: {
310
311
  frameColor: {
311
312
  stroke: string;
312
313
  fill: string;
314
+ nameColor: string;
313
315
  };
314
316
  invertBindingBehaviour: boolean;
315
317
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -326,20 +328,6 @@ export declare const actionToggleEditMenu: {
326
328
  } & {
327
329
  keyTest?: undefined;
328
330
  };
329
- export declare const actionFullScreen: {
330
- name: "toggleFullScreen";
331
- viewMode: true;
332
- trackEvent: {
333
- category: "canvas";
334
- predicate: (appState: Readonly<import("../types").AppState>) => boolean;
335
- };
336
- perform: () => {
337
- commitToHistory: false;
338
- };
339
- keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => false;
340
- } & {
341
- keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => false) | undefined;
342
- };
343
331
  export declare const actionShortcuts: {
344
332
  name: "toggleShortcuts";
345
333
  viewMode: true;
@@ -490,6 +478,7 @@ export declare const actionShortcuts: {
490
478
  frameColor: {
491
479
  stroke: string;
492
480
  fill: string;
481
+ nameColor: string;
493
482
  };
494
483
  invertBindingBehaviour: boolean;
495
484
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -165,6 +165,7 @@ export declare const actionChangeFillStyle: {
165
165
  frameColor: {
166
166
  stroke: string;
167
167
  fill: string;
168
+ nameColor: string;
168
169
  };
169
170
  invertBindingBehaviour: boolean;
170
171
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -328,6 +329,7 @@ export declare const actionChangeStrokeWidth: {
328
329
  frameColor: {
329
330
  stroke: string;
330
331
  fill: string;
332
+ nameColor: string;
331
333
  };
332
334
  invertBindingBehaviour: boolean;
333
335
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -491,6 +493,7 @@ export declare const actionChangeSloppiness: {
491
493
  frameColor: {
492
494
  stroke: string;
493
495
  fill: string;
496
+ nameColor: string;
494
497
  };
495
498
  invertBindingBehaviour: boolean;
496
499
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -654,6 +657,7 @@ export declare const actionChangeStrokeStyle: {
654
657
  frameColor: {
655
658
  stroke: string;
656
659
  fill: string;
660
+ nameColor: string;
657
661
  };
658
662
  invertBindingBehaviour: boolean;
659
663
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -817,6 +821,7 @@ export declare const actionChangeOpacity: {
817
821
  frameColor: {
818
822
  stroke: string;
819
823
  fill: string;
824
+ nameColor: string;
820
825
  };
821
826
  invertBindingBehaviour: boolean;
822
827
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -980,6 +985,7 @@ export declare const actionChangeFontSize: {
980
985
  frameColor: {
981
986
  stroke: string;
982
987
  fill: string;
988
+ nameColor: string;
983
989
  };
984
990
  invertBindingBehaviour: boolean;
985
991
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1143,6 +1149,7 @@ export declare const actionDecreaseFontSize: {
1143
1149
  frameColor: {
1144
1150
  stroke: string;
1145
1151
  fill: string;
1152
+ nameColor: string;
1146
1153
  };
1147
1154
  invertBindingBehaviour: boolean;
1148
1155
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1306,6 +1313,7 @@ export declare const actionIncreaseFontSize: {
1306
1313
  frameColor: {
1307
1314
  stroke: string;
1308
1315
  fill: string;
1316
+ nameColor: string;
1309
1317
  };
1310
1318
  invertBindingBehaviour: boolean;
1311
1319
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1469,6 +1477,7 @@ export declare const actionChangeFontFamily: {
1469
1477
  frameColor: {
1470
1478
  stroke: string;
1471
1479
  fill: string;
1480
+ nameColor: string;
1472
1481
  };
1473
1482
  invertBindingBehaviour: boolean;
1474
1483
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1632,6 +1641,7 @@ export declare const actionChangeTextAlign: {
1632
1641
  frameColor: {
1633
1642
  stroke: string;
1634
1643
  fill: string;
1644
+ nameColor: string;
1635
1645
  };
1636
1646
  invertBindingBehaviour: boolean;
1637
1647
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1797,6 +1807,7 @@ export declare const actionChangeVerticalAlign: {
1797
1807
  frameColor: {
1798
1808
  stroke: string;
1799
1809
  fill: string;
1810
+ nameColor: string;
1800
1811
  };
1801
1812
  invertBindingBehaviour: boolean;
1802
1813
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -1960,6 +1971,7 @@ export declare const actionChangeRoundness: {
1960
1971
  frameColor: {
1961
1972
  stroke: string;
1962
1973
  fill: string;
1974
+ nameColor: string;
1963
1975
  };
1964
1976
  invertBindingBehaviour: boolean;
1965
1977
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -2126,6 +2138,7 @@ export declare const actionChangeArrowhead: {
2126
2138
  frameColor: {
2127
2139
  stroke: string;
2128
2140
  fill: string;
2141
+ nameColor: string;
2129
2142
  };
2130
2143
  invertBindingBehaviour: boolean;
2131
2144
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -149,6 +149,7 @@ export declare const actionSelectAll: {
149
149
  frameColor: {
150
150
  stroke: string;
151
151
  fill: string;
152
+ nameColor: string;
152
153
  };
153
154
  invertBindingBehaviour: boolean;
154
155
  snapLines: readonly import("../snapping").SnapLine[];
@@ -145,6 +145,7 @@ export declare const actionCopyStyles: {
145
145
  frameColor: {
146
146
  stroke: string;
147
147
  fill: string;
148
+ nameColor: string;
148
149
  };
149
150
  invertBindingBehaviour: boolean;
150
151
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -150,6 +150,7 @@ export declare const actionToggleGridMode: {
150
150
  frameColor: {
151
151
  stroke: string;
152
152
  fill: string;
153
+ nameColor: string;
153
154
  };
154
155
  invertBindingBehaviour: boolean;
155
156
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -149,6 +149,7 @@ export declare const actionToggleObjectsSnapMode: {
149
149
  frameColor: {
150
150
  stroke: string;
151
151
  fill: string;
152
+ nameColor: string;
152
153
  };
153
154
  invertBindingBehaviour: boolean;
154
155
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -147,6 +147,7 @@ export declare const actionToggleStats: {
147
147
  frameColor: {
148
148
  stroke: string;
149
149
  fill: string;
150
+ nameColor: string;
150
151
  };
151
152
  invertBindingBehaviour: boolean;
152
153
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -148,6 +148,7 @@ export declare const actionToggleViewMode: {
148
148
  frameColor: {
149
149
  stroke: string;
150
150
  fill: string;
151
+ nameColor: string;
151
152
  };
152
153
  invertBindingBehaviour: boolean;
153
154
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
@@ -148,6 +148,7 @@ export declare const actionToggleZenMode: {
148
148
  frameColor: {
149
149
  stroke: string;
150
150
  fill: string;
151
+ nameColor: string;
151
152
  };
152
153
  invertBindingBehaviour: boolean;
153
154
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;