@zsviczian/excalidraw 0.18.0-49 → 0.18.0-50
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/dist/excalidraw.development.js +12 -12
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/styles.development.css +1 -1
- package/dist/styles.production.css +1 -1
- package/package.json +1 -1
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +3 -0
- package/types/excalidraw/actions/actionBoundText.d.ts +2 -0
- package/types/excalidraw/actions/actionCanvas.d.ts +30 -15
- package/types/excalidraw/actions/actionClipboard.d.ts +6 -0
- package/types/excalidraw/actions/actionCropEditor.d.ts +1 -0
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +3 -0
- package/types/excalidraw/actions/actionElementLink.d.ts +1 -0
- package/types/excalidraw/actions/actionElementLock.d.ts +2 -0
- package/types/excalidraw/actions/actionEmbeddable.d.ts +1 -0
- package/types/excalidraw/actions/actionExport.d.ts +9 -0
- package/types/excalidraw/actions/actionFinalize.d.ts +3 -0
- package/types/excalidraw/actions/actionFrame.d.ts +4 -0
- package/types/excalidraw/actions/actionGroup.d.ts +2 -0
- package/types/excalidraw/actions/actionLinearEditor.d.ts +1 -0
- package/types/excalidraw/actions/actionLink.d.ts +1 -0
- package/types/excalidraw/actions/actionMenu.d.ts +1 -0
- package/types/excalidraw/actions/actionNavigate.d.ts +2 -0
- package/types/excalidraw/actions/actionProperties.d.ts +16 -0
- package/types/excalidraw/actions/actionSelectAll.d.ts +1 -0
- package/types/excalidraw/actions/actionStyles.d.ts +1 -0
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +1 -0
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +1 -0
- package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +1 -0
- package/types/excalidraw/actions/actionToggleStats.d.ts +1 -0
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +1 -0
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +1 -0
- package/types/excalidraw/actions/actionTrayMenu.d.ts +1 -0
- package/types/excalidraw/components/MobileMenu.d.ts +1 -1
- package/types/excalidraw/types.d.ts +1 -0
|
@@ -211,6 +211,7 @@ export declare const actionFinalize: {
|
|
|
211
211
|
} | undefined;
|
|
212
212
|
allowWheelZoom?: boolean | undefined;
|
|
213
213
|
allowPinchZoom?: boolean | undefined;
|
|
214
|
+
disableContextMenu: boolean;
|
|
214
215
|
pinnedScripts?: string[] | undefined;
|
|
215
216
|
customPens?: any[] | undefined;
|
|
216
217
|
currentStrokeOptions?: any;
|
|
@@ -426,6 +427,7 @@ export declare const actionFinalize: {
|
|
|
426
427
|
} | undefined;
|
|
427
428
|
allowWheelZoom?: boolean | undefined;
|
|
428
429
|
allowPinchZoom?: boolean | undefined;
|
|
430
|
+
disableContextMenu: boolean;
|
|
429
431
|
pinnedScripts?: string[] | undefined;
|
|
430
432
|
customPens?: any[] | undefined;
|
|
431
433
|
currentStrokeOptions?: any;
|
|
@@ -638,6 +640,7 @@ export declare const actionFinalize: {
|
|
|
638
640
|
} | undefined;
|
|
639
641
|
allowWheelZoom?: boolean | undefined;
|
|
640
642
|
allowPinchZoom?: boolean | undefined;
|
|
643
|
+
disableContextMenu: boolean;
|
|
641
644
|
pinnedScripts?: string[] | undefined;
|
|
642
645
|
customPens?: any[] | undefined;
|
|
643
646
|
currentStrokeOptions?: any;
|
|
@@ -176,6 +176,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
176
176
|
} | undefined;
|
|
177
177
|
allowWheelZoom?: boolean | undefined;
|
|
178
178
|
allowPinchZoom?: boolean | undefined;
|
|
179
|
+
disableContextMenu: boolean;
|
|
179
180
|
pinnedScripts?: string[] | undefined;
|
|
180
181
|
customPens?: any[] | undefined;
|
|
181
182
|
currentStrokeOptions?: any;
|
|
@@ -406,6 +407,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
406
407
|
} | undefined;
|
|
407
408
|
allowWheelZoom?: boolean | undefined;
|
|
408
409
|
allowPinchZoom?: boolean | undefined;
|
|
410
|
+
disableContextMenu: boolean;
|
|
409
411
|
pinnedScripts?: string[] | undefined;
|
|
410
412
|
customPens?: any[] | undefined;
|
|
411
413
|
currentStrokeOptions?: any;
|
|
@@ -637,6 +639,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
637
639
|
} | undefined;
|
|
638
640
|
allowWheelZoom?: boolean | undefined;
|
|
639
641
|
allowPinchZoom?: boolean | undefined;
|
|
642
|
+
disableContextMenu: boolean;
|
|
640
643
|
pinnedScripts?: string[] | undefined;
|
|
641
644
|
customPens?: any[] | undefined;
|
|
642
645
|
currentStrokeOptions?: any;
|
|
@@ -865,6 +868,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
865
868
|
} | undefined;
|
|
866
869
|
allowWheelZoom?: boolean | undefined;
|
|
867
870
|
allowPinchZoom?: boolean | undefined;
|
|
871
|
+
disableContextMenu: boolean;
|
|
868
872
|
pinnedScripts?: string[] | undefined;
|
|
869
873
|
customPens?: any[] | undefined;
|
|
870
874
|
currentStrokeOptions?: any;
|
|
@@ -182,6 +182,7 @@ export declare const actionGroup: {
|
|
|
182
182
|
} | undefined;
|
|
183
183
|
allowWheelZoom?: boolean | undefined;
|
|
184
184
|
allowPinchZoom?: boolean | undefined;
|
|
185
|
+
disableContextMenu: boolean;
|
|
185
186
|
pinnedScripts?: string[] | undefined;
|
|
186
187
|
customPens?: any[] | undefined;
|
|
187
188
|
currentStrokeOptions?: any;
|
|
@@ -415,6 +416,7 @@ export declare const actionUngroup: {
|
|
|
415
416
|
} | undefined;
|
|
416
417
|
allowWheelZoom?: boolean | undefined;
|
|
417
418
|
allowPinchZoom?: boolean | undefined;
|
|
419
|
+
disableContextMenu: boolean;
|
|
418
420
|
pinnedScripts?: string[] | undefined;
|
|
419
421
|
customPens?: any[] | undefined;
|
|
420
422
|
currentStrokeOptions?: any;
|
|
@@ -212,6 +212,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
212
212
|
} | undefined;
|
|
213
213
|
allowWheelZoom?: boolean | undefined;
|
|
214
214
|
allowPinchZoom?: boolean | undefined;
|
|
215
|
+
disableContextMenu: boolean;
|
|
215
216
|
pinnedScripts?: string[] | undefined;
|
|
216
217
|
customPens?: any[] | undefined;
|
|
217
218
|
currentStrokeOptions?: any;
|
|
@@ -174,6 +174,7 @@ export declare const actionLink: {
|
|
|
174
174
|
} | undefined;
|
|
175
175
|
allowWheelZoom?: boolean | undefined;
|
|
176
176
|
allowPinchZoom?: boolean | undefined;
|
|
177
|
+
disableContextMenu: boolean;
|
|
177
178
|
pinnedScripts?: string[] | undefined;
|
|
178
179
|
customPens?: any[] | undefined;
|
|
179
180
|
currentStrokeOptions?: any;
|
|
@@ -170,6 +170,7 @@ export declare const actionShortcuts: {
|
|
|
170
170
|
} | undefined;
|
|
171
171
|
allowWheelZoom?: boolean | undefined;
|
|
172
172
|
allowPinchZoom?: boolean | undefined;
|
|
173
|
+
disableContextMenu: boolean;
|
|
173
174
|
pinnedScripts?: string[] | undefined;
|
|
174
175
|
customPens?: any[] | undefined;
|
|
175
176
|
currentStrokeOptions?: any;
|
|
@@ -178,6 +178,7 @@ export declare const actionGoToCollaborator: {
|
|
|
178
178
|
} | undefined;
|
|
179
179
|
allowWheelZoom?: boolean | undefined;
|
|
180
180
|
allowPinchZoom?: boolean | undefined;
|
|
181
|
+
disableContextMenu: boolean;
|
|
181
182
|
pinnedScripts?: string[] | undefined;
|
|
182
183
|
customPens?: any[] | undefined;
|
|
183
184
|
currentStrokeOptions?: any;
|
|
@@ -395,6 +396,7 @@ export declare const actionGoToCollaborator: {
|
|
|
395
396
|
} | undefined;
|
|
396
397
|
allowWheelZoom?: boolean | undefined;
|
|
397
398
|
allowPinchZoom?: boolean | undefined;
|
|
399
|
+
disableContextMenu: boolean;
|
|
398
400
|
pinnedScripts?: string[] | undefined;
|
|
399
401
|
customPens?: any[] | undefined;
|
|
400
402
|
currentStrokeOptions?: any;
|
|
@@ -205,6 +205,7 @@ export declare const actionChangeFillStyle: {
|
|
|
205
205
|
} | undefined;
|
|
206
206
|
allowWheelZoom?: boolean | undefined;
|
|
207
207
|
allowPinchZoom?: boolean | undefined;
|
|
208
|
+
disableContextMenu: boolean;
|
|
208
209
|
pinnedScripts?: string[] | undefined;
|
|
209
210
|
customPens?: any[] | undefined;
|
|
210
211
|
currentStrokeOptions?: any;
|
|
@@ -429,6 +430,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
429
430
|
} | undefined;
|
|
430
431
|
allowWheelZoom?: boolean | undefined;
|
|
431
432
|
allowPinchZoom?: boolean | undefined;
|
|
433
|
+
disableContextMenu: boolean;
|
|
432
434
|
pinnedScripts?: string[] | undefined;
|
|
433
435
|
customPens?: any[] | undefined;
|
|
434
436
|
currentStrokeOptions?: any;
|
|
@@ -653,6 +655,7 @@ export declare const actionChangeSloppiness: {
|
|
|
653
655
|
} | undefined;
|
|
654
656
|
allowWheelZoom?: boolean | undefined;
|
|
655
657
|
allowPinchZoom?: boolean | undefined;
|
|
658
|
+
disableContextMenu: boolean;
|
|
656
659
|
pinnedScripts?: string[] | undefined;
|
|
657
660
|
customPens?: any[] | undefined;
|
|
658
661
|
currentStrokeOptions?: any;
|
|
@@ -877,6 +880,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
877
880
|
} | undefined;
|
|
878
881
|
allowWheelZoom?: boolean | undefined;
|
|
879
882
|
allowPinchZoom?: boolean | undefined;
|
|
883
|
+
disableContextMenu: boolean;
|
|
880
884
|
pinnedScripts?: string[] | undefined;
|
|
881
885
|
customPens?: any[] | undefined;
|
|
882
886
|
currentStrokeOptions?: any;
|
|
@@ -1101,6 +1105,7 @@ export declare const actionChangeOpacity: {
|
|
|
1101
1105
|
} | undefined;
|
|
1102
1106
|
allowWheelZoom?: boolean | undefined;
|
|
1103
1107
|
allowPinchZoom?: boolean | undefined;
|
|
1108
|
+
disableContextMenu: boolean;
|
|
1104
1109
|
pinnedScripts?: string[] | undefined;
|
|
1105
1110
|
customPens?: any[] | undefined;
|
|
1106
1111
|
currentStrokeOptions?: any;
|
|
@@ -1326,6 +1331,7 @@ export declare const actionChangeFontSize: {
|
|
|
1326
1331
|
} | undefined;
|
|
1327
1332
|
allowWheelZoom?: boolean | undefined;
|
|
1328
1333
|
allowPinchZoom?: boolean | undefined;
|
|
1334
|
+
disableContextMenu: boolean;
|
|
1329
1335
|
pinnedScripts?: string[] | undefined;
|
|
1330
1336
|
customPens?: any[] | undefined;
|
|
1331
1337
|
currentStrokeOptions?: any;
|
|
@@ -1551,6 +1557,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1551
1557
|
} | undefined;
|
|
1552
1558
|
allowWheelZoom?: boolean | undefined;
|
|
1553
1559
|
allowPinchZoom?: boolean | undefined;
|
|
1560
|
+
disableContextMenu: boolean;
|
|
1554
1561
|
pinnedScripts?: string[] | undefined;
|
|
1555
1562
|
customPens?: any[] | undefined;
|
|
1556
1563
|
currentStrokeOptions?: any;
|
|
@@ -1776,6 +1783,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1776
1783
|
} | undefined;
|
|
1777
1784
|
allowWheelZoom?: boolean | undefined;
|
|
1778
1785
|
allowPinchZoom?: boolean | undefined;
|
|
1786
|
+
disableContextMenu: boolean;
|
|
1779
1787
|
pinnedScripts?: string[] | undefined;
|
|
1780
1788
|
customPens?: any[] | undefined;
|
|
1781
1789
|
currentStrokeOptions?: any;
|
|
@@ -1999,6 +2007,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1999
2007
|
} | undefined;
|
|
2000
2008
|
allowWheelZoom?: boolean | undefined;
|
|
2001
2009
|
allowPinchZoom?: boolean | undefined;
|
|
2010
|
+
disableContextMenu: boolean;
|
|
2002
2011
|
pinnedScripts?: string[] | undefined;
|
|
2003
2012
|
customPens?: any[] | undefined;
|
|
2004
2013
|
currentStrokeOptions?: any;
|
|
@@ -2214,6 +2223,7 @@ export declare const actionChangeFontFamily: {
|
|
|
2214
2223
|
} | undefined;
|
|
2215
2224
|
allowWheelZoom?: boolean | undefined;
|
|
2216
2225
|
allowPinchZoom?: boolean | undefined;
|
|
2226
|
+
disableContextMenu: boolean;
|
|
2217
2227
|
pinnedScripts?: string[] | undefined;
|
|
2218
2228
|
customPens?: any[] | undefined;
|
|
2219
2229
|
currentStrokeOptions?: any;
|
|
@@ -2438,6 +2448,7 @@ export declare const actionChangeTextAlign: {
|
|
|
2438
2448
|
} | undefined;
|
|
2439
2449
|
allowWheelZoom?: boolean | undefined;
|
|
2440
2450
|
allowPinchZoom?: boolean | undefined;
|
|
2451
|
+
disableContextMenu: boolean;
|
|
2441
2452
|
pinnedScripts?: string[] | undefined;
|
|
2442
2453
|
customPens?: any[] | undefined;
|
|
2443
2454
|
currentStrokeOptions?: any;
|
|
@@ -2664,6 +2675,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2664
2675
|
} | undefined;
|
|
2665
2676
|
allowWheelZoom?: boolean | undefined;
|
|
2666
2677
|
allowPinchZoom?: boolean | undefined;
|
|
2678
|
+
disableContextMenu: boolean;
|
|
2667
2679
|
pinnedScripts?: string[] | undefined;
|
|
2668
2680
|
customPens?: any[] | undefined;
|
|
2669
2681
|
currentStrokeOptions?: any;
|
|
@@ -2888,6 +2900,7 @@ export declare const actionChangeRoundness: {
|
|
|
2888
2900
|
} | undefined;
|
|
2889
2901
|
allowWheelZoom?: boolean | undefined;
|
|
2890
2902
|
allowPinchZoom?: boolean | undefined;
|
|
2903
|
+
disableContextMenu: boolean;
|
|
2891
2904
|
pinnedScripts?: string[] | undefined;
|
|
2892
2905
|
customPens?: any[] | undefined;
|
|
2893
2906
|
currentStrokeOptions?: any;
|
|
@@ -3115,6 +3128,7 @@ export declare const actionChangeArrowhead: {
|
|
|
3115
3128
|
} | undefined;
|
|
3116
3129
|
allowWheelZoom?: boolean | undefined;
|
|
3117
3130
|
allowPinchZoom?: boolean | undefined;
|
|
3131
|
+
disableContextMenu: boolean;
|
|
3118
3132
|
pinnedScripts?: string[] | undefined;
|
|
3119
3133
|
customPens?: any[] | undefined;
|
|
3120
3134
|
currentStrokeOptions?: any;
|
|
@@ -3348,6 +3362,7 @@ export declare const actionChangeArrowType: {
|
|
|
3348
3362
|
} | undefined;
|
|
3349
3363
|
allowWheelZoom?: boolean | undefined;
|
|
3350
3364
|
allowPinchZoom?: boolean | undefined;
|
|
3365
|
+
disableContextMenu: boolean;
|
|
3351
3366
|
pinnedScripts?: string[] | undefined;
|
|
3352
3367
|
customPens?: any[] | undefined;
|
|
3353
3368
|
currentStrokeOptions?: any;
|
|
@@ -3579,6 +3594,7 @@ export declare const actionToggleFrameRole: {
|
|
|
3579
3594
|
} | undefined;
|
|
3580
3595
|
allowWheelZoom?: boolean | undefined;
|
|
3581
3596
|
allowPinchZoom?: boolean | undefined;
|
|
3597
|
+
disableContextMenu: boolean;
|
|
3582
3598
|
pinnedScripts?: string[] | undefined;
|
|
3583
3599
|
customPens?: any[] | undefined;
|
|
3584
3600
|
currentStrokeOptions?: any;
|
|
@@ -180,6 +180,7 @@ export declare const actionSelectAll: {
|
|
|
180
180
|
} | undefined;
|
|
181
181
|
allowWheelZoom?: boolean | undefined;
|
|
182
182
|
allowPinchZoom?: boolean | undefined;
|
|
183
|
+
disableContextMenu: boolean;
|
|
183
184
|
pinnedScripts?: string[] | undefined;
|
|
184
185
|
customPens?: any[] | undefined;
|
|
185
186
|
currentStrokeOptions?: any;
|
|
@@ -175,6 +175,7 @@ export declare const actionCopyStyles: {
|
|
|
175
175
|
} | undefined;
|
|
176
176
|
allowWheelZoom?: boolean | undefined;
|
|
177
177
|
allowPinchZoom?: boolean | undefined;
|
|
178
|
+
disableContextMenu: boolean;
|
|
178
179
|
pinnedScripts?: string[] | undefined;
|
|
179
180
|
customPens?: any[] | undefined;
|
|
180
181
|
currentStrokeOptions?: any;
|
|
@@ -181,6 +181,7 @@ export declare const actionToggleGridMode: {
|
|
|
181
181
|
} | undefined;
|
|
182
182
|
allowWheelZoom?: boolean | undefined;
|
|
183
183
|
allowPinchZoom?: boolean | undefined;
|
|
184
|
+
disableContextMenu: boolean;
|
|
184
185
|
pinnedScripts?: string[] | undefined;
|
|
185
186
|
customPens?: any[] | undefined;
|
|
186
187
|
currentStrokeOptions?: any;
|
|
@@ -179,6 +179,7 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
179
179
|
} | undefined;
|
|
180
180
|
allowWheelZoom?: boolean | undefined;
|
|
181
181
|
allowPinchZoom?: boolean | undefined;
|
|
182
|
+
disableContextMenu: boolean;
|
|
182
183
|
pinnedScripts?: string[] | undefined;
|
|
183
184
|
customPens?: any[] | undefined;
|
|
184
185
|
currentStrokeOptions?: any;
|
|
@@ -171,6 +171,7 @@ export declare const actionToggleSearchMenu: {
|
|
|
171
171
|
} | undefined;
|
|
172
172
|
allowWheelZoom?: boolean | undefined;
|
|
173
173
|
allowPinchZoom?: boolean | undefined;
|
|
174
|
+
disableContextMenu: boolean;
|
|
174
175
|
pinnedScripts?: string[] | undefined;
|
|
175
176
|
customPens?: any[] | undefined;
|
|
176
177
|
currentStrokeOptions?: any;
|
|
@@ -178,6 +178,7 @@ export declare const actionToggleStats: {
|
|
|
178
178
|
} | undefined;
|
|
179
179
|
allowWheelZoom?: boolean | undefined;
|
|
180
180
|
allowPinchZoom?: boolean | undefined;
|
|
181
|
+
disableContextMenu: boolean;
|
|
181
182
|
pinnedScripts?: string[] | undefined;
|
|
182
183
|
customPens?: any[] | undefined;
|
|
183
184
|
currentStrokeOptions?: any;
|
|
@@ -178,6 +178,7 @@ export declare const actionToggleViewMode: {
|
|
|
178
178
|
} | undefined;
|
|
179
179
|
allowWheelZoom?: boolean | undefined;
|
|
180
180
|
allowPinchZoom?: boolean | undefined;
|
|
181
|
+
disableContextMenu: boolean;
|
|
181
182
|
pinnedScripts?: string[] | undefined;
|
|
182
183
|
customPens?: any[] | undefined;
|
|
183
184
|
currentStrokeOptions?: any;
|
|
@@ -178,6 +178,7 @@ export declare const actionToggleZenMode: {
|
|
|
178
178
|
} | undefined;
|
|
179
179
|
allowWheelZoom?: boolean | undefined;
|
|
180
180
|
allowPinchZoom?: boolean | undefined;
|
|
181
|
+
disableContextMenu: boolean;
|
|
181
182
|
pinnedScripts?: string[] | undefined;
|
|
182
183
|
customPens?: any[] | undefined;
|
|
183
184
|
currentStrokeOptions?: any;
|
|
@@ -175,6 +175,7 @@ export declare const actionToggleTrayEditMenu: {
|
|
|
175
175
|
} | undefined;
|
|
176
176
|
allowWheelZoom?: boolean | undefined;
|
|
177
177
|
allowPinchZoom?: boolean | undefined;
|
|
178
|
+
disableContextMenu: boolean;
|
|
178
179
|
pinnedScripts?: string[] | undefined;
|
|
179
180
|
customPens?: any[] | undefined;
|
|
180
181
|
currentStrokeOptions?: any;
|
|
@@ -20,5 +20,5 @@ type MobileMenuProps = {
|
|
|
20
20
|
app: AppClassProperties;
|
|
21
21
|
renderCustomStats?: ExcalidrawProps["renderCustomStats"];
|
|
22
22
|
};
|
|
23
|
-
export declare const MobileMenu: ({ appState, elements, actionManager, setAppState, onHandToolToggle, renderTopLeftUI, renderTopRightUI, renderSidebars, renderWelcomeScreen, UIOptions, app, renderCustomStats, }: MobileMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare const MobileMenu: ({ appState, elements, actionManager, setAppState, onHandToolToggle, renderTopLeftUI, renderTopRightUI, renderSidebars, renderWelcomeScreen, UIOptions, app, renderCustomStats, onPenModeToggle, }: MobileMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export {};
|