@zsviczian/excalidraw 0.15.3-obsidian → 0.15.3-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zsviczian/excalidraw",
3
- "version": "0.15.3-obsidian",
3
+ "version": "0.15.3-obsidian-1",
4
4
  "main": "main.js",
5
5
  "types": "types/packages/excalidraw/index.d.ts",
6
6
  "files": [
@@ -143,6 +143,7 @@ export declare const actionAddToLibrary: {
143
143
  gridColor: {
144
144
  Bold: string;
145
145
  Regular: string;
146
+ MajorGridFrequency?: number | undefined;
146
147
  };
147
148
  dynamicStyle: string;
148
149
  invertBindingBehaviour: boolean;
@@ -290,6 +291,7 @@ export declare const actionAddToLibrary: {
290
291
  gridColor: {
291
292
  Bold: string;
292
293
  Regular: string;
294
+ MajorGridFrequency?: number | undefined;
293
295
  };
294
296
  dynamicStyle: string;
295
297
  invertBindingBehaviour: boolean;
@@ -437,6 +439,7 @@ export declare const actionAddToLibrary: {
437
439
  gridColor: {
438
440
  Bold: string;
439
441
  Regular: string;
442
+ MajorGridFrequency?: number | undefined;
440
443
  };
441
444
  dynamicStyle: string;
442
445
  invertBindingBehaviour: boolean;
@@ -165,6 +165,7 @@ export declare const actionBindText: {
165
165
  gridColor: {
166
166
  Bold: string;
167
167
  Regular: string;
168
+ MajorGridFrequency?: number | undefined;
168
169
  };
169
170
  dynamicStyle: string;
170
171
  invertBindingBehaviour: boolean;
@@ -324,6 +325,7 @@ export declare const actionWrapTextInContainer: {
324
325
  gridColor: {
325
326
  Bold: string;
326
327
  Regular: string;
328
+ MajorGridFrequency?: number | undefined;
327
329
  };
328
330
  dynamicStyle: string;
329
331
  invertBindingBehaviour: boolean;
@@ -157,6 +157,7 @@ export declare const actionClearCanvas: {
157
157
  gridColor: {
158
158
  Bold: string;
159
159
  Regular: string;
160
+ MajorGridFrequency?: number | undefined;
160
161
  };
161
162
  dynamicStyle: string;
162
163
  invertBindingBehaviour: boolean;
@@ -314,6 +315,7 @@ export declare const actionZoomIn: {
314
315
  gridColor: {
315
316
  Bold: string;
316
317
  Regular: string;
318
+ MajorGridFrequency?: number | undefined;
317
319
  };
318
320
  dynamicStyle: string;
319
321
  invertBindingBehaviour: boolean;
@@ -473,6 +475,7 @@ export declare const actionZoomOut: {
473
475
  gridColor: {
474
476
  Bold: string;
475
477
  Regular: string;
478
+ MajorGridFrequency?: number | undefined;
476
479
  };
477
480
  dynamicStyle: string;
478
481
  invertBindingBehaviour: boolean;
@@ -632,6 +635,7 @@ export declare const actionResetZoom: {
632
635
  gridColor: {
633
636
  Bold: string;
634
637
  Regular: string;
638
+ MajorGridFrequency?: number | undefined;
635
639
  };
636
640
  dynamicStyle: string;
637
641
  invertBindingBehaviour: boolean;
@@ -792,6 +796,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
792
796
  gridColor: {
793
797
  Bold: string;
794
798
  Regular: string;
799
+ MajorGridFrequency?: number | undefined;
795
800
  };
796
801
  dynamicStyle: string;
797
802
  invertBindingBehaviour: boolean;
@@ -945,6 +950,7 @@ export declare const actionZoomToFitSelectionInViewport: {
945
950
  gridColor: {
946
951
  Bold: string;
947
952
  Regular: string;
953
+ MajorGridFrequency?: number | undefined;
948
954
  };
949
955
  dynamicStyle: string;
950
956
  invertBindingBehaviour: boolean;
@@ -1102,6 +1108,7 @@ export declare const actionZoomToFitSelection: {
1102
1108
  gridColor: {
1103
1109
  Bold: string;
1104
1110
  Regular: string;
1111
+ MajorGridFrequency?: number | undefined;
1105
1112
  };
1106
1113
  dynamicStyle: string;
1107
1114
  invertBindingBehaviour: boolean;
@@ -1260,6 +1267,7 @@ export declare const actionZoomToFit: {
1260
1267
  gridColor: {
1261
1268
  Bold: string;
1262
1269
  Regular: string;
1270
+ MajorGridFrequency?: number | undefined;
1263
1271
  };
1264
1272
  dynamicStyle: string;
1265
1273
  invertBindingBehaviour: boolean;
@@ -1418,6 +1426,7 @@ export declare const actionToggleTheme: {
1418
1426
  gridColor: {
1419
1427
  Bold: string;
1420
1428
  Regular: string;
1429
+ MajorGridFrequency?: number | undefined;
1421
1430
  };
1422
1431
  dynamicStyle: string;
1423
1432
  invertBindingBehaviour: boolean;
@@ -1569,6 +1578,7 @@ export declare const actionToggleEraserTool: {
1569
1578
  gridColor: {
1570
1579
  Bold: string;
1571
1580
  Regular: string;
1581
+ MajorGridFrequency?: number | undefined;
1572
1582
  };
1573
1583
  dynamicStyle: string;
1574
1584
  invertBindingBehaviour: boolean;
@@ -1719,6 +1729,7 @@ export declare const actionToggleHandTool: {
1719
1729
  gridColor: {
1720
1730
  Bold: string;
1721
1731
  Regular: string;
1732
+ MajorGridFrequency?: number | undefined;
1722
1733
  };
1723
1734
  dynamicStyle: string;
1724
1735
  invertBindingBehaviour: boolean;
@@ -1871,6 +1882,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
1871
1882
  gridColor: {
1872
1883
  Bold: string;
1873
1884
  Regular: string;
1885
+ MajorGridFrequency?: number | undefined;
1874
1886
  };
1875
1887
  dynamicStyle: string;
1876
1888
  invertBindingBehaviour: boolean;
@@ -173,6 +173,7 @@ export declare const actionCut: {
173
173
  gridColor: {
174
174
  Bold: string;
175
175
  Regular: string;
176
+ MajorGridFrequency?: number | undefined;
176
177
  };
177
178
  dynamicStyle: string;
178
179
  invertBindingBehaviour: boolean;
@@ -349,6 +350,7 @@ export declare const actionCut: {
349
350
  gridColor: {
350
351
  Bold: string;
351
352
  Regular: string;
353
+ MajorGridFrequency?: number | undefined;
352
354
  };
353
355
  dynamicStyle: string;
354
356
  invertBindingBehaviour: boolean;
@@ -492,6 +494,7 @@ export declare const actionCut: {
492
494
  gridColor: {
493
495
  Bold: string;
494
496
  Regular: string;
497
+ MajorGridFrequency?: number | undefined;
495
498
  };
496
499
  dynamicStyle: string;
497
500
  invertBindingBehaviour: boolean;
@@ -654,6 +657,7 @@ export declare const actionCopyAsSvg: {
654
657
  gridColor: {
655
658
  Bold: string;
656
659
  Regular: string;
660
+ MajorGridFrequency?: number | undefined;
657
661
  };
658
662
  dynamicStyle: string;
659
663
  invertBindingBehaviour: boolean;
@@ -815,6 +819,7 @@ export declare const actionCopyAsPng: {
815
819
  gridColor: {
816
820
  Bold: string;
817
821
  Regular: string;
822
+ MajorGridFrequency?: number | undefined;
818
823
  };
819
824
  dynamicStyle: string;
820
825
  invertBindingBehaviour: boolean;
@@ -149,6 +149,7 @@ export declare const actionDeleteSelected: {
149
149
  gridColor: {
150
150
  Bold: string;
151
151
  Regular: string;
152
+ MajorGridFrequency?: number | undefined;
152
153
  };
153
154
  dynamicStyle: string;
154
155
  invertBindingBehaviour: boolean;
@@ -325,6 +326,7 @@ export declare const actionDeleteSelected: {
325
326
  gridColor: {
326
327
  Bold: string;
327
328
  Regular: string;
329
+ MajorGridFrequency?: number | undefined;
328
330
  };
329
331
  dynamicStyle: string;
330
332
  invertBindingBehaviour: boolean;
@@ -468,6 +470,7 @@ export declare const actionDeleteSelected: {
468
470
  gridColor: {
469
471
  Bold: string;
470
472
  Regular: string;
473
+ MajorGridFrequency?: number | undefined;
471
474
  };
472
475
  dynamicStyle: string;
473
476
  invertBindingBehaviour: boolean;
@@ -148,6 +148,7 @@ export declare const actionToggleElementLock: {
148
148
  gridColor: {
149
149
  Bold: string;
150
150
  Regular: string;
151
+ MajorGridFrequency?: number | undefined;
151
152
  };
152
153
  dynamicStyle: string;
153
154
  invertBindingBehaviour: boolean;
@@ -308,6 +309,7 @@ export declare const actionUnlockAllElements: {
308
309
  gridColor: {
309
310
  Bold: string;
310
311
  Regular: string;
312
+ MajorGridFrequency?: number | undefined;
311
313
  };
312
314
  dynamicStyle: string;
313
315
  invertBindingBehaviour: boolean;
@@ -144,6 +144,7 @@ export declare const actionChangeProjectName: {
144
144
  gridColor: {
145
145
  Bold: string;
146
146
  Regular: string;
147
+ MajorGridFrequency?: number | undefined;
147
148
  };
148
149
  dynamicStyle: string;
149
150
  invertBindingBehaviour: boolean;
@@ -302,6 +303,7 @@ export declare const actionChangeExportScale: {
302
303
  gridColor: {
303
304
  Bold: string;
304
305
  Regular: string;
306
+ MajorGridFrequency?: number | undefined;
305
307
  };
306
308
  dynamicStyle: string;
307
309
  invertBindingBehaviour: boolean;
@@ -460,6 +462,7 @@ export declare const actionChangeExportBackground: {
460
462
  gridColor: {
461
463
  Bold: string;
462
464
  Regular: string;
465
+ MajorGridFrequency?: number | undefined;
463
466
  };
464
467
  dynamicStyle: string;
465
468
  invertBindingBehaviour: boolean;
@@ -618,6 +621,7 @@ export declare const actionChangeExportEmbedScene: {
618
621
  gridColor: {
619
622
  Bold: string;
620
623
  Regular: string;
624
+ MajorGridFrequency?: number | undefined;
621
625
  };
622
626
  dynamicStyle: string;
623
627
  invertBindingBehaviour: boolean;
@@ -775,6 +779,7 @@ export declare const actionSaveToActiveFile: {
775
779
  gridColor: {
776
780
  Bold: string;
777
781
  Regular: string;
782
+ MajorGridFrequency?: number | undefined;
778
783
  };
779
784
  dynamicStyle: string;
780
785
  invertBindingBehaviour: boolean;
@@ -936,6 +941,7 @@ export declare const actionSaveFileToDisk: {
936
941
  gridColor: {
937
942
  Bold: string;
938
943
  Regular: string;
944
+ MajorGridFrequency?: number | undefined;
939
945
  };
940
946
  dynamicStyle: string;
941
947
  invertBindingBehaviour: boolean;
@@ -1094,6 +1100,7 @@ export declare const actionLoadScene: {
1094
1100
  gridColor: {
1095
1101
  Bold: string;
1096
1102
  Regular: string;
1103
+ MajorGridFrequency?: number | undefined;
1097
1104
  };
1098
1105
  dynamicStyle: string;
1099
1106
  invertBindingBehaviour: boolean;
@@ -1243,6 +1250,7 @@ export declare const actionLoadScene: {
1243
1250
  gridColor: {
1244
1251
  Bold: string;
1245
1252
  Regular: string;
1253
+ MajorGridFrequency?: number | undefined;
1246
1254
  };
1247
1255
  dynamicStyle: string;
1248
1256
  invertBindingBehaviour: boolean;
@@ -1402,6 +1410,7 @@ export declare const actionExportWithDarkMode: {
1402
1410
  gridColor: {
1403
1411
  Bold: string;
1404
1412
  Regular: string;
1413
+ MajorGridFrequency?: number | undefined;
1405
1414
  };
1406
1415
  dynamicStyle: string;
1407
1416
  invertBindingBehaviour: boolean;
@@ -145,6 +145,7 @@ export declare const actionFinalize: {
145
145
  gridColor: {
146
146
  Bold: string;
147
147
  Regular: string;
148
+ MajorGridFrequency?: number | undefined;
148
149
  };
149
150
  dynamicStyle: string;
150
151
  invertBindingBehaviour: boolean;
@@ -291,6 +292,7 @@ export declare const actionFinalize: {
291
292
  gridColor: {
292
293
  Bold: string;
293
294
  Regular: string;
295
+ MajorGridFrequency?: number | undefined;
294
296
  };
295
297
  dynamicStyle: string;
296
298
  invertBindingBehaviour: boolean;
@@ -162,6 +162,7 @@ export declare const actionRemoveAllElementsFromFrame: {
162
162
  gridColor: {
163
163
  Bold: string;
164
164
  Regular: string;
165
+ MajorGridFrequency?: number | undefined;
165
166
  };
166
167
  dynamicStyle: string;
167
168
  invertBindingBehaviour: boolean;
@@ -326,6 +327,7 @@ export declare const actionupdateFrameRendering: {
326
327
  gridColor: {
327
328
  Bold: string;
328
329
  Regular: string;
330
+ MajorGridFrequency?: number | undefined;
329
331
  };
330
332
  dynamicStyle: string;
331
333
  invertBindingBehaviour: boolean;
@@ -485,6 +487,7 @@ export declare const actionSetFrameAsActiveTool: {
485
487
  gridColor: {
486
488
  Bold: string;
487
489
  Regular: string;
490
+ MajorGridFrequency?: number | undefined;
488
491
  };
489
492
  dynamicStyle: string;
490
493
  invertBindingBehaviour: boolean;
@@ -150,6 +150,7 @@ export declare const actionGroup: {
150
150
  gridColor: {
151
151
  Bold: string;
152
152
  Regular: string;
153
+ MajorGridFrequency?: number | undefined;
153
154
  };
154
155
  dynamicStyle: string;
155
156
  invertBindingBehaviour: boolean;
@@ -315,6 +316,7 @@ export declare const actionUngroup: {
315
316
  gridColor: {
316
317
  Bold: string;
317
318
  Regular: string;
319
+ MajorGridFrequency?: number | undefined;
318
320
  };
319
321
  dynamicStyle: string;
320
322
  invertBindingBehaviour: boolean;
@@ -147,6 +147,7 @@ export declare const actionToggleLinearEditor: {
147
147
  gridColor: {
148
148
  Bold: string;
149
149
  Regular: string;
150
+ MajorGridFrequency?: number | undefined;
150
151
  };
151
152
  dynamicStyle: string;
152
153
  invertBindingBehaviour: boolean;
@@ -144,6 +144,7 @@ export declare const actionToggleCanvasMenu: {
144
144
  gridColor: {
145
145
  Bold: string;
146
146
  Regular: string;
147
+ MajorGridFrequency?: number | undefined;
147
148
  };
148
149
  dynamicStyle: string;
149
150
  invertBindingBehaviour: boolean;
@@ -301,6 +302,7 @@ export declare const actionToggleEditMenu: {
301
302
  gridColor: {
302
303
  Bold: string;
303
304
  Regular: string;
305
+ MajorGridFrequency?: number | undefined;
304
306
  };
305
307
  dynamicStyle: string;
306
308
  invertBindingBehaviour: boolean;
@@ -474,6 +476,7 @@ export declare const actionShortcuts: {
474
476
  gridColor: {
475
477
  Bold: string;
476
478
  Regular: string;
479
+ MajorGridFrequency?: number | undefined;
477
480
  };
478
481
  dynamicStyle: string;
479
482
  invertBindingBehaviour: boolean;
@@ -161,6 +161,7 @@ export declare const actionChangeFillStyle: {
161
161
  gridColor: {
162
162
  Bold: string;
163
163
  Regular: string;
164
+ MajorGridFrequency?: number | undefined;
164
165
  };
165
166
  dynamicStyle: string;
166
167
  invertBindingBehaviour: boolean;
@@ -317,6 +318,7 @@ export declare const actionChangeStrokeWidth: {
317
318
  gridColor: {
318
319
  Bold: string;
319
320
  Regular: string;
321
+ MajorGridFrequency?: number | undefined;
320
322
  };
321
323
  dynamicStyle: string;
322
324
  invertBindingBehaviour: boolean;
@@ -473,6 +475,7 @@ export declare const actionChangeSloppiness: {
473
475
  gridColor: {
474
476
  Bold: string;
475
477
  Regular: string;
478
+ MajorGridFrequency?: number | undefined;
476
479
  };
477
480
  dynamicStyle: string;
478
481
  invertBindingBehaviour: boolean;
@@ -629,6 +632,7 @@ export declare const actionChangeStrokeStyle: {
629
632
  gridColor: {
630
633
  Bold: string;
631
634
  Regular: string;
635
+ MajorGridFrequency?: number | undefined;
632
636
  };
633
637
  dynamicStyle: string;
634
638
  invertBindingBehaviour: boolean;
@@ -785,6 +789,7 @@ export declare const actionChangeOpacity: {
785
789
  gridColor: {
786
790
  Bold: string;
787
791
  Regular: string;
792
+ MajorGridFrequency?: number | undefined;
788
793
  };
789
794
  dynamicStyle: string;
790
795
  invertBindingBehaviour: boolean;
@@ -941,6 +946,7 @@ export declare const actionChangeFontSize: {
941
946
  gridColor: {
942
947
  Bold: string;
943
948
  Regular: string;
949
+ MajorGridFrequency?: number | undefined;
944
950
  };
945
951
  dynamicStyle: string;
946
952
  invertBindingBehaviour: boolean;
@@ -1097,6 +1103,7 @@ export declare const actionDecreaseFontSize: {
1097
1103
  gridColor: {
1098
1104
  Bold: string;
1099
1105
  Regular: string;
1106
+ MajorGridFrequency?: number | undefined;
1100
1107
  };
1101
1108
  dynamicStyle: string;
1102
1109
  invertBindingBehaviour: boolean;
@@ -1253,6 +1260,7 @@ export declare const actionIncreaseFontSize: {
1253
1260
  gridColor: {
1254
1261
  Bold: string;
1255
1262
  Regular: string;
1263
+ MajorGridFrequency?: number | undefined;
1256
1264
  };
1257
1265
  dynamicStyle: string;
1258
1266
  invertBindingBehaviour: boolean;
@@ -1409,6 +1417,7 @@ export declare const actionChangeFontFamily: {
1409
1417
  gridColor: {
1410
1418
  Bold: string;
1411
1419
  Regular: string;
1420
+ MajorGridFrequency?: number | undefined;
1412
1421
  };
1413
1422
  dynamicStyle: string;
1414
1423
  invertBindingBehaviour: boolean;
@@ -1565,6 +1574,7 @@ export declare const actionChangeTextAlign: {
1565
1574
  gridColor: {
1566
1575
  Bold: string;
1567
1576
  Regular: string;
1577
+ MajorGridFrequency?: number | undefined;
1568
1578
  };
1569
1579
  dynamicStyle: string;
1570
1580
  invertBindingBehaviour: boolean;
@@ -1723,6 +1733,7 @@ export declare const actionChangeVerticalAlign: {
1723
1733
  gridColor: {
1724
1734
  Bold: string;
1725
1735
  Regular: string;
1736
+ MajorGridFrequency?: number | undefined;
1726
1737
  };
1727
1738
  dynamicStyle: string;
1728
1739
  invertBindingBehaviour: boolean;
@@ -1879,6 +1890,7 @@ export declare const actionChangeRoundness: {
1879
1890
  gridColor: {
1880
1891
  Bold: string;
1881
1892
  Regular: string;
1893
+ MajorGridFrequency?: number | undefined;
1882
1894
  };
1883
1895
  dynamicStyle: string;
1884
1896
  invertBindingBehaviour: boolean;
@@ -2038,6 +2050,7 @@ export declare const actionChangeArrowhead: {
2038
2050
  gridColor: {
2039
2051
  Bold: string;
2040
2052
  Regular: string;
2053
+ MajorGridFrequency?: number | undefined;
2041
2054
  };
2042
2055
  dynamicStyle: string;
2043
2056
  invertBindingBehaviour: boolean;
@@ -147,6 +147,7 @@ export declare const actionSelectAll: {
147
147
  gridColor: {
148
148
  Bold: string;
149
149
  Regular: string;
150
+ MajorGridFrequency?: number | undefined;
150
151
  };
151
152
  dynamicStyle: string;
152
153
  invertBindingBehaviour: boolean;
@@ -143,6 +143,7 @@ export declare const actionCopyStyles: {
143
143
  gridColor: {
144
144
  Bold: string;
145
145
  Regular: string;
146
+ MajorGridFrequency?: number | undefined;
146
147
  };
147
148
  dynamicStyle: string;
148
149
  invertBindingBehaviour: boolean;
@@ -147,6 +147,7 @@ export declare const actionToggleGridMode: {
147
147
  gridColor: {
148
148
  Bold: string;
149
149
  Regular: string;
150
+ MajorGridFrequency?: number | undefined;
150
151
  };
151
152
  dynamicStyle: string;
152
153
  invertBindingBehaviour: boolean;
@@ -145,6 +145,7 @@ export declare const actionToggleStats: {
145
145
  gridColor: {
146
146
  Bold: string;
147
147
  Regular: string;
148
+ MajorGridFrequency?: number | undefined;
148
149
  };
149
150
  dynamicStyle: string;
150
151
  invertBindingBehaviour: boolean;
@@ -146,6 +146,7 @@ export declare const actionToggleViewMode: {
146
146
  gridColor: {
147
147
  Bold: string;
148
148
  Regular: string;
149
+ MajorGridFrequency?: number | undefined;
149
150
  };
150
151
  dynamicStyle: string;
151
152
  invertBindingBehaviour: boolean;
@@ -146,6 +146,7 @@ export declare const actionToggleZenMode: {
146
146
  gridColor: {
147
147
  Bold: string;
148
148
  Regular: string;
149
+ MajorGridFrequency?: number | undefined;
149
150
  };
150
151
  dynamicStyle: string;
151
152
  invertBindingBehaviour: boolean;
@@ -157,6 +157,7 @@ export declare const actionLink: {
157
157
  gridColor: {
158
158
  Bold: string;
159
159
  Regular: string;
160
+ MajorGridFrequency?: number | undefined;
160
161
  };
161
162
  dynamicStyle: string;
162
163
  invertBindingBehaviour: boolean;
@@ -163,6 +163,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
163
163
  gridColor: {
164
164
  Bold: string;
165
165
  Regular: string;
166
+ MajorGridFrequency?: number | undefined;
166
167
  };
167
168
  dynamicStyle: string;
168
169
  invertBindingBehaviour: boolean;
@@ -260,6 +260,7 @@ export declare class LinearElementEditor {
260
260
  gridColor: {
261
261
  Bold: string;
262
262
  Regular: string;
263
+ MajorGridFrequency?: number | undefined;
263
264
  };
264
265
  dynamicStyle: string;
265
266
  invertBindingBehaviour: boolean;
package/types/types.d.ts CHANGED
@@ -260,6 +260,7 @@ export type AppState = {
260
260
  gridColor: {
261
261
  Bold: string;
262
262
  Regular: string;
263
+ MajorGridFrequency?: number;
263
264
  };
264
265
  dynamicStyle: string;
265
266
  invertBindingBehaviour: boolean;