@zsviczian/excalidraw 0.18.0-44 → 0.18.0-45
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 +119 -118
- package/dist/styles.production.css +2 -2
- package/package.json +1 -1
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +0 -3
- package/types/excalidraw/actions/actionBoundText.d.ts +0 -2
- package/types/excalidraw/actions/actionCanvas.d.ts +0 -15
- package/types/excalidraw/actions/actionClipboard.d.ts +0 -6
- package/types/excalidraw/actions/actionCropEditor.d.ts +0 -1
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +0 -3
- package/types/excalidraw/actions/actionElementLink.d.ts +0 -1
- package/types/excalidraw/actions/actionElementLock.d.ts +0 -2
- package/types/excalidraw/actions/actionEmbeddable.d.ts +0 -1
- package/types/excalidraw/actions/actionExport.d.ts +0 -9
- package/types/excalidraw/actions/actionFinalize.d.ts +0 -3
- package/types/excalidraw/actions/actionFrame.d.ts +0 -4
- package/types/excalidraw/actions/actionGroup.d.ts +0 -2
- package/types/excalidraw/actions/actionLinearEditor.d.ts +0 -1
- package/types/excalidraw/actions/actionLink.d.ts +0 -1
- package/types/excalidraw/actions/actionMenu.d.ts +0 -1
- package/types/excalidraw/actions/actionNavigate.d.ts +0 -2
- package/types/excalidraw/actions/actionProperties.d.ts +0 -16
- package/types/excalidraw/actions/actionSelectAll.d.ts +0 -1
- package/types/excalidraw/actions/actionStyles.d.ts +0 -1
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +0 -1
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +0 -1
- package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +0 -1
- package/types/excalidraw/actions/actionToggleStats.d.ts +0 -1
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +0 -1
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +0 -1
- package/types/excalidraw/actions/actionTrayMenu.d.ts +0 -1
- package/types/excalidraw/components/App.d.ts +3 -0
- package/types/excalidraw/components/MobileMenu.d.ts +3 -2
- package/types/excalidraw/types.d.ts +3 -1
|
@@ -163,7 +163,6 @@ export declare const actionChangeProjectName: {
|
|
|
163
163
|
};
|
|
164
164
|
showHyperlinkPopup: false | "editor" | "info";
|
|
165
165
|
linkOpacity: number;
|
|
166
|
-
trayModeEnabled: boolean;
|
|
167
166
|
colorPalette?: {
|
|
168
167
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
169
168
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -391,7 +390,6 @@ export declare const actionChangeExportScale: {
|
|
|
391
390
|
};
|
|
392
391
|
showHyperlinkPopup: false | "editor" | "info";
|
|
393
392
|
linkOpacity: number;
|
|
394
|
-
trayModeEnabled: boolean;
|
|
395
393
|
colorPalette?: {
|
|
396
394
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
397
395
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -619,7 +617,6 @@ export declare const actionChangeExportBackground: {
|
|
|
619
617
|
};
|
|
620
618
|
showHyperlinkPopup: false | "editor" | "info";
|
|
621
619
|
linkOpacity: number;
|
|
622
|
-
trayModeEnabled: boolean;
|
|
623
620
|
colorPalette?: {
|
|
624
621
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
625
622
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -847,7 +844,6 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
847
844
|
};
|
|
848
845
|
showHyperlinkPopup: false | "editor" | "info";
|
|
849
846
|
linkOpacity: number;
|
|
850
|
-
trayModeEnabled: boolean;
|
|
851
847
|
colorPalette?: {
|
|
852
848
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
853
849
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1075,7 +1071,6 @@ export declare const actionSaveToActiveFile: {
|
|
|
1075
1071
|
};
|
|
1076
1072
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1077
1073
|
linkOpacity: number;
|
|
1078
|
-
trayModeEnabled: boolean;
|
|
1079
1074
|
colorPalette?: {
|
|
1080
1075
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1081
1076
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1295,7 +1290,6 @@ export declare const actionSaveFileToDisk: {
|
|
|
1295
1290
|
};
|
|
1296
1291
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1297
1292
|
linkOpacity: number;
|
|
1298
|
-
trayModeEnabled: boolean;
|
|
1299
1293
|
colorPalette?: {
|
|
1300
1294
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1301
1295
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1546,7 +1540,6 @@ export declare const actionLoadScene: {
|
|
|
1546
1540
|
};
|
|
1547
1541
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1548
1542
|
linkOpacity: number;
|
|
1549
|
-
trayModeEnabled: boolean;
|
|
1550
1543
|
colorPalette?: {
|
|
1551
1544
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1552
1545
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1741,7 +1734,6 @@ export declare const actionLoadScene: {
|
|
|
1741
1734
|
};
|
|
1742
1735
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1743
1736
|
linkOpacity: number;
|
|
1744
|
-
trayModeEnabled: boolean;
|
|
1745
1737
|
colorPalette?: {
|
|
1746
1738
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1747
1739
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1970,7 +1962,6 @@ export declare const actionExportWithDarkMode: {
|
|
|
1970
1962
|
};
|
|
1971
1963
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1972
1964
|
linkOpacity: number;
|
|
1973
|
-
trayModeEnabled: boolean;
|
|
1974
1965
|
colorPalette?: {
|
|
1975
1966
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1976
1967
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -199,7 +199,6 @@ export declare const actionFinalize: {
|
|
|
199
199
|
};
|
|
200
200
|
showHyperlinkPopup: false | "editor" | "info";
|
|
201
201
|
linkOpacity: number;
|
|
202
|
-
trayModeEnabled: boolean;
|
|
203
202
|
colorPalette?: {
|
|
204
203
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
205
204
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -416,7 +415,6 @@ export declare const actionFinalize: {
|
|
|
416
415
|
};
|
|
417
416
|
showHyperlinkPopup: false | "editor" | "info";
|
|
418
417
|
linkOpacity: number;
|
|
419
|
-
trayModeEnabled: boolean;
|
|
420
418
|
colorPalette?: {
|
|
421
419
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
422
420
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -630,7 +628,6 @@ export declare const actionFinalize: {
|
|
|
630
628
|
};
|
|
631
629
|
showHyperlinkPopup: false | "editor" | "info";
|
|
632
630
|
linkOpacity: number;
|
|
633
|
-
trayModeEnabled: boolean;
|
|
634
631
|
colorPalette?: {
|
|
635
632
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
636
633
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -164,7 +164,6 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
164
164
|
};
|
|
165
165
|
showHyperlinkPopup: false | "editor" | "info";
|
|
166
166
|
linkOpacity: number;
|
|
167
|
-
trayModeEnabled: boolean;
|
|
168
167
|
colorPalette?: {
|
|
169
168
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
170
169
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -396,7 +395,6 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
396
395
|
};
|
|
397
396
|
showHyperlinkPopup: false | "editor" | "info";
|
|
398
397
|
linkOpacity: number;
|
|
399
|
-
trayModeEnabled: boolean;
|
|
400
398
|
colorPalette?: {
|
|
401
399
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
402
400
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -629,7 +627,6 @@ export declare const actionupdateFrameRendering: {
|
|
|
629
627
|
};
|
|
630
628
|
showHyperlinkPopup: false | "editor" | "info";
|
|
631
629
|
linkOpacity: number;
|
|
632
|
-
trayModeEnabled: boolean;
|
|
633
630
|
colorPalette?: {
|
|
634
631
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
635
632
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -859,7 +856,6 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
859
856
|
};
|
|
860
857
|
showHyperlinkPopup: false | "editor" | "info";
|
|
861
858
|
linkOpacity: number;
|
|
862
|
-
trayModeEnabled: boolean;
|
|
863
859
|
colorPalette?: {
|
|
864
860
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
865
861
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -170,7 +170,6 @@ export declare const actionGroup: {
|
|
|
170
170
|
};
|
|
171
171
|
showHyperlinkPopup: false | "editor" | "info";
|
|
172
172
|
linkOpacity: number;
|
|
173
|
-
trayModeEnabled: boolean;
|
|
174
173
|
colorPalette?: {
|
|
175
174
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
176
175
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -405,7 +404,6 @@ export declare const actionUngroup: {
|
|
|
405
404
|
};
|
|
406
405
|
showHyperlinkPopup: false | "editor" | "info";
|
|
407
406
|
linkOpacity: number;
|
|
408
|
-
trayModeEnabled: boolean;
|
|
409
407
|
colorPalette?: {
|
|
410
408
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
411
409
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -200,7 +200,6 @@ export declare const actionToggleLinearEditor: {
|
|
|
200
200
|
};
|
|
201
201
|
showHyperlinkPopup: false | "editor" | "info";
|
|
202
202
|
linkOpacity: number;
|
|
203
|
-
trayModeEnabled: boolean;
|
|
204
203
|
colorPalette?: {
|
|
205
204
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
206
205
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -162,7 +162,6 @@ export declare const actionLink: {
|
|
|
162
162
|
data: import("../charts").Spreadsheet;
|
|
163
163
|
};
|
|
164
164
|
linkOpacity: number;
|
|
165
|
-
trayModeEnabled: boolean;
|
|
166
165
|
colorPalette?: {
|
|
167
166
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
168
167
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -158,7 +158,6 @@ export declare const actionShortcuts: {
|
|
|
158
158
|
};
|
|
159
159
|
showHyperlinkPopup: false | "editor" | "info";
|
|
160
160
|
linkOpacity: number;
|
|
161
|
-
trayModeEnabled: boolean;
|
|
162
161
|
colorPalette?: {
|
|
163
162
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
164
163
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -166,7 +166,6 @@ export declare const actionGoToCollaborator: {
|
|
|
166
166
|
};
|
|
167
167
|
showHyperlinkPopup: false | "editor" | "info";
|
|
168
168
|
linkOpacity: number;
|
|
169
|
-
trayModeEnabled: boolean;
|
|
170
169
|
colorPalette?: {
|
|
171
170
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
172
171
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -385,7 +384,6 @@ export declare const actionGoToCollaborator: {
|
|
|
385
384
|
};
|
|
386
385
|
showHyperlinkPopup: false | "editor" | "info";
|
|
387
386
|
linkOpacity: number;
|
|
388
|
-
trayModeEnabled: boolean;
|
|
389
387
|
colorPalette?: {
|
|
390
388
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
391
389
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -193,7 +193,6 @@ export declare const actionChangeFillStyle: {
|
|
|
193
193
|
};
|
|
194
194
|
showHyperlinkPopup: false | "editor" | "info";
|
|
195
195
|
linkOpacity: number;
|
|
196
|
-
trayModeEnabled: boolean;
|
|
197
196
|
colorPalette?: {
|
|
198
197
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
199
198
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -419,7 +418,6 @@ export declare const actionChangeStrokeWidth: {
|
|
|
419
418
|
};
|
|
420
419
|
showHyperlinkPopup: false | "editor" | "info";
|
|
421
420
|
linkOpacity: number;
|
|
422
|
-
trayModeEnabled: boolean;
|
|
423
421
|
colorPalette?: {
|
|
424
422
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
425
423
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -645,7 +643,6 @@ export declare const actionChangeSloppiness: {
|
|
|
645
643
|
};
|
|
646
644
|
showHyperlinkPopup: false | "editor" | "info";
|
|
647
645
|
linkOpacity: number;
|
|
648
|
-
trayModeEnabled: boolean;
|
|
649
646
|
colorPalette?: {
|
|
650
647
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
651
648
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -871,7 +868,6 @@ export declare const actionChangeStrokeStyle: {
|
|
|
871
868
|
};
|
|
872
869
|
showHyperlinkPopup: false | "editor" | "info";
|
|
873
870
|
linkOpacity: number;
|
|
874
|
-
trayModeEnabled: boolean;
|
|
875
871
|
colorPalette?: {
|
|
876
872
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
877
873
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1097,7 +1093,6 @@ export declare const actionChangeOpacity: {
|
|
|
1097
1093
|
};
|
|
1098
1094
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1099
1095
|
linkOpacity: number;
|
|
1100
|
-
trayModeEnabled: boolean;
|
|
1101
1096
|
colorPalette?: {
|
|
1102
1097
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1103
1098
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1324,7 +1319,6 @@ export declare const actionChangeFontSize: {
|
|
|
1324
1319
|
};
|
|
1325
1320
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1326
1321
|
linkOpacity: number;
|
|
1327
|
-
trayModeEnabled: boolean;
|
|
1328
1322
|
colorPalette?: {
|
|
1329
1323
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1330
1324
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1551,7 +1545,6 @@ export declare const actionDecreaseFontSize: {
|
|
|
1551
1545
|
};
|
|
1552
1546
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1553
1547
|
linkOpacity: number;
|
|
1554
|
-
trayModeEnabled: boolean;
|
|
1555
1548
|
colorPalette?: {
|
|
1556
1549
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1557
1550
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -1778,7 +1771,6 @@ export declare const actionIncreaseFontSize: {
|
|
|
1778
1771
|
};
|
|
1779
1772
|
showHyperlinkPopup: false | "editor" | "info";
|
|
1780
1773
|
linkOpacity: number;
|
|
1781
|
-
trayModeEnabled: boolean;
|
|
1782
1774
|
colorPalette?: {
|
|
1783
1775
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
1784
1776
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -2003,7 +1995,6 @@ export declare const actionChangeFontFamily: {
|
|
|
2003
1995
|
};
|
|
2004
1996
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2005
1997
|
linkOpacity: number;
|
|
2006
|
-
trayModeEnabled: boolean;
|
|
2007
1998
|
colorPalette?: {
|
|
2008
1999
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
2009
2000
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -2220,7 +2211,6 @@ export declare const actionChangeFontFamily: {
|
|
|
2220
2211
|
};
|
|
2221
2212
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2222
2213
|
linkOpacity: number;
|
|
2223
|
-
trayModeEnabled: boolean;
|
|
2224
2214
|
colorPalette?: {
|
|
2225
2215
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
2226
2216
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -2446,7 +2436,6 @@ export declare const actionChangeTextAlign: {
|
|
|
2446
2436
|
};
|
|
2447
2437
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2448
2438
|
linkOpacity: number;
|
|
2449
|
-
trayModeEnabled: boolean;
|
|
2450
2439
|
colorPalette?: {
|
|
2451
2440
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
2452
2441
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -2674,7 +2663,6 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2674
2663
|
};
|
|
2675
2664
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2676
2665
|
linkOpacity: number;
|
|
2677
|
-
trayModeEnabled: boolean;
|
|
2678
2666
|
colorPalette?: {
|
|
2679
2667
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
2680
2668
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -2900,7 +2888,6 @@ export declare const actionChangeRoundness: {
|
|
|
2900
2888
|
};
|
|
2901
2889
|
showHyperlinkPopup: false | "editor" | "info";
|
|
2902
2890
|
linkOpacity: number;
|
|
2903
|
-
trayModeEnabled: boolean;
|
|
2904
2891
|
colorPalette?: {
|
|
2905
2892
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
2906
2893
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -3129,7 +3116,6 @@ export declare const actionChangeArrowhead: {
|
|
|
3129
3116
|
};
|
|
3130
3117
|
showHyperlinkPopup: false | "editor" | "info";
|
|
3131
3118
|
linkOpacity: number;
|
|
3132
|
-
trayModeEnabled: boolean;
|
|
3133
3119
|
colorPalette?: {
|
|
3134
3120
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
3135
3121
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -3364,7 +3350,6 @@ export declare const actionChangeArrowType: {
|
|
|
3364
3350
|
};
|
|
3365
3351
|
showHyperlinkPopup: false | "editor" | "info";
|
|
3366
3352
|
linkOpacity: number;
|
|
3367
|
-
trayModeEnabled: boolean;
|
|
3368
3353
|
colorPalette?: {
|
|
3369
3354
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
3370
3355
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -3597,7 +3582,6 @@ export declare const actionToggleFrameRole: {
|
|
|
3597
3582
|
};
|
|
3598
3583
|
showHyperlinkPopup: false | "editor" | "info";
|
|
3599
3584
|
linkOpacity: number;
|
|
3600
|
-
trayModeEnabled: boolean;
|
|
3601
3585
|
colorPalette?: {
|
|
3602
3586
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
3603
3587
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -168,7 +168,6 @@ export declare const actionSelectAll: {
|
|
|
168
168
|
};
|
|
169
169
|
showHyperlinkPopup: false | "editor" | "info";
|
|
170
170
|
linkOpacity: number;
|
|
171
|
-
trayModeEnabled: boolean;
|
|
172
171
|
colorPalette?: {
|
|
173
172
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
174
173
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -163,7 +163,6 @@ export declare const actionCopyStyles: {
|
|
|
163
163
|
};
|
|
164
164
|
showHyperlinkPopup: false | "editor" | "info";
|
|
165
165
|
linkOpacity: number;
|
|
166
|
-
trayModeEnabled: boolean;
|
|
167
166
|
colorPalette?: {
|
|
168
167
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
169
168
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -169,7 +169,6 @@ export declare const actionToggleGridMode: {
|
|
|
169
169
|
};
|
|
170
170
|
showHyperlinkPopup: false | "editor" | "info";
|
|
171
171
|
linkOpacity: number;
|
|
172
|
-
trayModeEnabled: boolean;
|
|
173
172
|
colorPalette?: {
|
|
174
173
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
175
174
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -167,7 +167,6 @@ export declare const actionToggleObjectsSnapMode: {
|
|
|
167
167
|
};
|
|
168
168
|
showHyperlinkPopup: false | "editor" | "info";
|
|
169
169
|
linkOpacity: number;
|
|
170
|
-
trayModeEnabled: boolean;
|
|
171
170
|
colorPalette?: {
|
|
172
171
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
173
172
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -159,7 +159,6 @@ export declare const actionToggleSearchMenu: {
|
|
|
159
159
|
};
|
|
160
160
|
showHyperlinkPopup: false | "editor" | "info";
|
|
161
161
|
linkOpacity: number;
|
|
162
|
-
trayModeEnabled: boolean;
|
|
163
162
|
colorPalette?: {
|
|
164
163
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
165
164
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -166,7 +166,6 @@ export declare const actionToggleStats: {
|
|
|
166
166
|
};
|
|
167
167
|
showHyperlinkPopup: false | "editor" | "info";
|
|
168
168
|
linkOpacity: number;
|
|
169
|
-
trayModeEnabled: boolean;
|
|
170
169
|
colorPalette?: {
|
|
171
170
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
172
171
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -166,7 +166,6 @@ export declare const actionToggleViewMode: {
|
|
|
166
166
|
};
|
|
167
167
|
showHyperlinkPopup: false | "editor" | "info";
|
|
168
168
|
linkOpacity: number;
|
|
169
|
-
trayModeEnabled: boolean;
|
|
170
169
|
colorPalette?: {
|
|
171
170
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
172
171
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -166,7 +166,6 @@ export declare const actionToggleZenMode: {
|
|
|
166
166
|
};
|
|
167
167
|
showHyperlinkPopup: false | "editor" | "info";
|
|
168
168
|
linkOpacity: number;
|
|
169
|
-
trayModeEnabled: boolean;
|
|
170
169
|
colorPalette?: {
|
|
171
170
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
172
171
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -163,7 +163,6 @@ export declare const actionToggleTrayEditMenu: {
|
|
|
163
163
|
};
|
|
164
164
|
showHyperlinkPopup: false | "editor" | "info";
|
|
165
165
|
linkOpacity: number;
|
|
166
|
-
trayModeEnabled: boolean;
|
|
167
166
|
colorPalette?: {
|
|
168
167
|
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
169
168
|
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
@@ -32,6 +32,7 @@ export declare const useDevice: () => Readonly<{
|
|
|
32
32
|
canFitSidebar: boolean;
|
|
33
33
|
};
|
|
34
34
|
isTouchScreen: boolean;
|
|
35
|
+
isTrayMode: boolean;
|
|
35
36
|
}>;
|
|
36
37
|
export declare const useExcalidrawContainer: () => {
|
|
37
38
|
container: HTMLDivElement | null;
|
|
@@ -304,6 +305,8 @@ declare class App extends React.Component<AppProps, AppState> {
|
|
|
304
305
|
private isTabletBreakpoint;
|
|
305
306
|
private refreshViewportBreakpoints;
|
|
306
307
|
private refreshEditorBreakpoints;
|
|
308
|
+
private setTrayModeEnabled;
|
|
309
|
+
isTrayModeEnabled: () => boolean;
|
|
307
310
|
private clearImageShapeCache;
|
|
308
311
|
componentDidMount(): Promise<void>;
|
|
309
312
|
componentWillUnmount(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types";
|
|
3
3
|
import type { ActionManager } from "../actions/manager";
|
|
4
|
-
import type { AppClassProperties, AppProps, AppState, UIAppState } from "../types";
|
|
4
|
+
import type { AppClassProperties, AppProps, AppState, ExcalidrawProps, UIAppState } from "../types";
|
|
5
5
|
import type { JSX } from "react";
|
|
6
6
|
type MobileMenuProps = {
|
|
7
7
|
appState: UIAppState;
|
|
@@ -18,6 +18,7 @@ type MobileMenuProps = {
|
|
|
18
18
|
renderWelcomeScreen: boolean;
|
|
19
19
|
UIOptions: AppProps["UIOptions"];
|
|
20
20
|
app: AppClassProperties;
|
|
21
|
+
renderCustomStats?: ExcalidrawProps["renderCustomStats"];
|
|
21
22
|
};
|
|
22
|
-
export declare const MobileMenu: ({ appState, elements, actionManager, setAppState, onHandToolToggle, renderTopLeftUI, renderTopRightUI, renderSidebars, renderWelcomeScreen, UIOptions, app, }: MobileMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
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
24
|
export {};
|
|
@@ -342,7 +342,6 @@ export interface AppState {
|
|
|
342
342
|
};
|
|
343
343
|
showHyperlinkPopup: false | "info" | "editor";
|
|
344
344
|
linkOpacity: number;
|
|
345
|
-
trayModeEnabled: boolean;
|
|
346
345
|
colorPalette?: {
|
|
347
346
|
canvasBackground: ColorPaletteCustom;
|
|
348
347
|
elementBackground: ColorPaletteCustom;
|
|
@@ -702,6 +701,8 @@ export interface ExcalidrawImperativeAPI {
|
|
|
702
701
|
setForceRenderAllEmbeddables: InstanceType<typeof App>["setForceRenderAllEmbeddables"];
|
|
703
702
|
zoomToFit: InstanceType<typeof App>["zoomToFit"];
|
|
704
703
|
refreshEditorBreakpoints: InstanceType<typeof App>["refreshEditorBreakpoints"];
|
|
704
|
+
setTrayModeEnabled: InstanceType<typeof App>["setTrayModeEnabled"];
|
|
705
|
+
isTrayModeEnabled: InstanceType<typeof App>["isTrayModeEnabled"];
|
|
705
706
|
getColorAtScenePoint: InstanceType<typeof App>["getColorAtScenePoint"];
|
|
706
707
|
startLineEditor: InstanceType<typeof App>["startLineEditor"];
|
|
707
708
|
getSceneElements: InstanceType<typeof App>["getSceneElements"];
|
|
@@ -749,6 +750,7 @@ export type Device = Readonly<{
|
|
|
749
750
|
canFitSidebar: boolean;
|
|
750
751
|
};
|
|
751
752
|
isTouchScreen: boolean;
|
|
753
|
+
isTrayMode: boolean;
|
|
752
754
|
}>;
|
|
753
755
|
export type FrameNameBounds = {
|
|
754
756
|
x: number;
|