@zsviczian/excalidraw 0.15.2-obsidian-9 → 0.15.2-obsidian-11

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 (69) hide show
  1. package/dist/excalidraw.development.js +2147 -2146
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/excalidraw.production.min.js.LICENSE.txt +9 -0
  4. package/package.json +7 -2
  5. package/types/actions/actionAddToLibrary.d.ts +3 -4
  6. package/types/actions/actionAlign.d.ts +0 -1
  7. package/types/actions/actionBoundText.d.ts +2 -3
  8. package/types/actions/actionCanvas.d.ts +18 -19
  9. package/types/actions/actionClipboard.d.ts +5 -6
  10. package/types/actions/actionDeleteSelected.d.ts +3 -4
  11. package/types/actions/actionDistribute.d.ts +0 -1
  12. package/types/actions/actionDuplicateSelection.d.ts +0 -1
  13. package/types/actions/actionElementLock.d.ts +2 -3
  14. package/types/actions/actionExport.d.ts +16 -17
  15. package/types/actions/actionFinalize.d.ts +2 -3
  16. package/types/actions/actionFlip.d.ts +0 -1
  17. package/types/actions/actionFrame.d.ts +3 -4
  18. package/types/actions/actionGroup.d.ts +0 -1
  19. package/types/actions/actionLinearEditor.d.ts +1 -2
  20. package/types/actions/actionMenu.d.ts +3 -4
  21. package/types/actions/actionProperties.d.ts +13 -14
  22. package/types/actions/actionSelectAll.d.ts +0 -1
  23. package/types/actions/actionStyles.d.ts +1 -2
  24. package/types/actions/actionToggleGridMode.d.ts +1 -2
  25. package/types/actions/actionToggleStats.d.ts +1 -2
  26. package/types/actions/actionToggleViewMode.d.ts +1 -2
  27. package/types/actions/actionToggleZenMode.d.ts +1 -2
  28. package/types/appState.d.ts +1 -1
  29. package/types/colors.d.ts +9 -9
  30. package/types/components/App.d.ts +0 -3
  31. package/types/components/Button.d.ts +0 -1
  32. package/types/components/Card.d.ts +0 -1
  33. package/types/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
  34. package/types/components/DefaultSidebar.d.ts +0 -1
  35. package/types/components/EyeDropper.d.ts +0 -1
  36. package/types/components/LibraryMenuHeaderContent.d.ts +0 -1
  37. package/types/components/LibraryUnit.d.ts +0 -1
  38. package/types/components/LoadingMessage.d.ts +0 -1
  39. package/types/components/Section.d.ts +1 -1
  40. package/types/components/Sidebar/SidebarTab.d.ts +0 -1
  41. package/types/components/Sidebar/SidebarTabTrigger.d.ts +0 -1
  42. package/types/components/Sidebar/SidebarTabTriggers.d.ts +0 -1
  43. package/types/components/Sidebar/SidebarTabs.d.ts +0 -1
  44. package/types/components/Stack.d.ts +2 -2
  45. package/types/components/Trans.d.ts +2 -1
  46. package/types/components/dropdownMenu/DropdownMenuTrigger.d.ts +0 -1
  47. package/types/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -1
  48. package/types/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -1
  49. package/types/components/welcome-screen/WelcomeScreen.d.ts +0 -1
  50. package/types/constants.d.ts +4 -0
  51. package/types/element/Hyperlink.d.ts +0 -1
  52. package/types/element/embeddable.d.ts +1 -2
  53. package/types/element/linearElementEditor.d.ts +1 -2
  54. package/types/element/newElement.d.ts +1 -1
  55. package/types/element/textElement.d.ts +2 -6
  56. package/types/element/types.d.ts +5 -5
  57. package/types/hooks/useOutsideClick.d.ts +0 -1
  58. package/types/hooks/useScrollPosition.d.ts +0 -1
  59. package/types/i18n.d.ts +5 -2
  60. package/types/packages/excalidraw/dist/excalidraw.development.d.ts +2 -4
  61. package/types/packages/excalidraw/index.d.ts +1 -0
  62. package/types/packages/excalidraw/webpack.dev.config.d.ts +73 -62
  63. package/types/packages/excalidraw/webpack.prod.config.d.ts +88 -71
  64. package/types/packages/utils.d.ts +2 -1
  65. package/types/renderer/renderElement.d.ts +1 -1
  66. package/types/renderer/renderScene.d.ts +2 -1
  67. package/types/scene/export.d.ts +1 -0
  68. package/types/types.d.ts +2 -4
  69. package/types/utility-types.d.ts +1 -1
@@ -43,4 +43,13 @@ https://github.com/nodeca/pica
43
43
  * LICENSE file in the root directory of this source tree.
44
44
  */
45
45
 
46
+ /** @license React v17.0.2
47
+ * react-jsx-runtime.production.min.js
48
+ *
49
+ * Copyright (c) Facebook, Inc. and its affiliates.
50
+ *
51
+ * This source code is licensed under the MIT license found in the
52
+ * LICENSE file in the root directory of this source tree.
53
+ */
54
+
46
55
  //!device.isMobile && //zsviczian
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zsviczian/excalidraw",
3
- "version": "0.15.2-obsidian-9",
3
+ "version": "0.15.2-obsidian-11",
4
4
  "main": "main.js",
5
5
  "types": "types/packages/excalidraw/index.d.ts",
6
6
  "files": [
@@ -52,15 +52,19 @@
52
52
  "@babel/preset-env": "7.18.6",
53
53
  "@babel/preset-react": "7.18.6",
54
54
  "@babel/preset-typescript": "7.18.6",
55
+ "@size-limit/preset-big-lib": "8.2.6",
55
56
  "autoprefixer": "10.4.7",
56
57
  "babel-loader": "8.2.5",
57
58
  "babel-plugin-transform-class-properties": "6.24.1",
58
59
  "cross-env": "7.0.3",
59
60
  "css-loader": "6.7.1",
60
61
  "dotenv": "16.0.1",
62
+ "import-meta-loader": "1.1.0",
61
63
  "mini-css-extract-plugin": "2.6.1",
62
64
  "postcss-loader": "7.0.1",
63
65
  "sass-loader": "13.0.2",
66
+ "size-limit": "8.2.4",
67
+ "style-loader": "3.3.3",
64
68
  "terser-webpack-plugin": "5.3.3",
65
69
  "ts-loader": "9.3.1",
66
70
  "typescript": "4.9.4",
@@ -79,6 +83,7 @@
79
83
  "pack": "yarn build:umd && yarn pack",
80
84
  "start": "webpack serve --config webpack.dev-server.config.js",
81
85
  "install:deps": "yarn install --frozen-lockfile && yarn --cwd ../../../",
82
- "build:example": "EXAMPLE=true webpack --config webpack.dev-server.config.js && yarn gen:types"
86
+ "build:example": "EXAMPLE=true webpack --config webpack.dev-server.config.js && yarn gen:types",
87
+ "size": "yarn build:umd && size-limit"
83
88
  }
84
89
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const actionAddToLibrary: {
3
2
  name: "addToLibrary";
4
3
  trackEvent: {
@@ -122,7 +121,7 @@ export declare const actionAddToLibrary: {
122
121
  data: import("../charts").Spreadsheet;
123
122
  };
124
123
  pendingImageElementId: string | null;
125
- showHyperlinkPopup: false | "info" | "editor";
124
+ showHyperlinkPopup: false | "editor" | "info";
126
125
  linkOpacity: number;
127
126
  trayModeEnabled: boolean;
128
127
  colorPalette?: {
@@ -266,7 +265,7 @@ export declare const actionAddToLibrary: {
266
265
  data: import("../charts").Spreadsheet;
267
266
  };
268
267
  pendingImageElementId: string | null;
269
- showHyperlinkPopup: false | "info" | "editor";
268
+ showHyperlinkPopup: false | "editor" | "info";
270
269
  linkOpacity: number;
271
270
  trayModeEnabled: boolean;
272
271
  colorPalette?: {
@@ -410,7 +409,7 @@ export declare const actionAddToLibrary: {
410
409
  data: import("../charts").Spreadsheet;
411
410
  };
412
411
  pendingImageElementId: string | null;
413
- showHyperlinkPopup: false | "info" | "editor";
412
+ showHyperlinkPopup: false | "editor" | "info";
414
413
  linkOpacity: number;
415
414
  trayModeEnabled: boolean;
416
415
  colorPalette?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExcalidrawElement } from "../element/types";
3
2
  import { AppClassProperties, AppState } from "../types";
4
3
  export declare const actionAlignTop: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExcalidrawElement, ExcalidrawLinearElement } from "../element/types";
3
2
  import { AppState } from "../types";
4
3
  import { Mutable } from "../utility-types";
@@ -144,7 +143,7 @@ export declare const actionBindText: {
144
143
  data: import("../charts").Spreadsheet;
145
144
  };
146
145
  pendingImageElementId: string | null;
147
- showHyperlinkPopup: false | "info" | "editor";
146
+ showHyperlinkPopup: false | "editor" | "info";
148
147
  linkOpacity: number;
149
148
  trayModeEnabled: boolean;
150
149
  colorPalette?: {
@@ -300,7 +299,7 @@ export declare const actionWrapTextInContainer: {
300
299
  data: import("../charts").Spreadsheet;
301
300
  };
302
301
  pendingImageElementId: string | null;
303
- showHyperlinkPopup: false | "info" | "editor";
302
+ showHyperlinkPopup: false | "editor" | "info";
304
303
  linkOpacity: number;
305
304
  trayModeEnabled: boolean;
306
305
  colorPalette?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExcalidrawElement } from "../element/types";
3
2
  import { AppClassProperties, AppState, NormalizedZoomValue } from "../types";
4
3
  export declare const actionChangeViewBackgroundColor: {
@@ -63,6 +62,12 @@ export declare const actionClearCanvas: {
63
62
  pinnedScripts: string[] | undefined;
64
63
  customPens: any[] | undefined;
65
64
  name: string;
65
+ toast: {
66
+ message: string;
67
+ closable?: boolean | undefined;
68
+ duration?: number | undefined;
69
+ } | null;
70
+ collaborators: Map<string, import("../types").Collaborator>;
66
71
  contextMenu: {
67
72
  items: import("../components/ContextMenu").ContextMenuItems;
68
73
  top: number;
@@ -135,11 +140,6 @@ export declare const actionClearCanvas: {
135
140
  };
136
141
  selectedElementsAreBeingDragged: boolean;
137
142
  shouldCacheIgnoreZoom: boolean;
138
- toast: {
139
- message: string;
140
- closable?: boolean | undefined;
141
- duration?: number | undefined;
142
- } | null;
143
143
  zenModeEnabled: boolean;
144
144
  previousGridSize: number | null;
145
145
  viewModeEnabled: boolean;
@@ -148,10 +148,9 @@ export declare const actionClearCanvas: {
148
148
  };
149
149
  editingGroupId: string | null;
150
150
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
151
- collaborators: Map<string, import("../types").Collaborator>;
152
151
  currentChartType: import("../element/types").ChartType;
153
152
  pendingImageElementId: string | null;
154
- showHyperlinkPopup: false | "info" | "editor";
153
+ showHyperlinkPopup: false | "editor" | "info";
155
154
  linkOpacity: number;
156
155
  currentStrokeOptions?: any;
157
156
  resetCustomPen?: any;
@@ -290,7 +289,7 @@ export declare const actionZoomIn: {
290
289
  data: import("../charts").Spreadsheet;
291
290
  };
292
291
  pendingImageElementId: string | null;
293
- showHyperlinkPopup: false | "info" | "editor";
292
+ showHyperlinkPopup: false | "editor" | "info";
294
293
  linkOpacity: number;
295
294
  trayModeEnabled: boolean;
296
295
  colorPalette?: {
@@ -446,7 +445,7 @@ export declare const actionZoomOut: {
446
445
  data: import("../charts").Spreadsheet;
447
446
  };
448
447
  pendingImageElementId: string | null;
449
- showHyperlinkPopup: false | "info" | "editor";
448
+ showHyperlinkPopup: false | "editor" | "info";
450
449
  linkOpacity: number;
451
450
  trayModeEnabled: boolean;
452
451
  colorPalette?: {
@@ -602,7 +601,7 @@ export declare const actionResetZoom: {
602
601
  data: import("../charts").Spreadsheet;
603
602
  };
604
603
  pendingImageElementId: string | null;
605
- showHyperlinkPopup: false | "info" | "editor";
604
+ showHyperlinkPopup: false | "editor" | "info";
606
605
  linkOpacity: number;
607
606
  trayModeEnabled: boolean;
608
607
  colorPalette?: {
@@ -759,7 +758,7 @@ export declare const zoomToFit: ({ targetElements, appState, fitToViewport, view
759
758
  data: import("../charts").Spreadsheet;
760
759
  };
761
760
  pendingImageElementId: string | null;
762
- showHyperlinkPopup: false | "info" | "editor";
761
+ showHyperlinkPopup: false | "editor" | "info";
763
762
  linkOpacity: number;
764
763
  trayModeEnabled: boolean;
765
764
  colorPalette?: {
@@ -909,7 +908,7 @@ export declare const actionZoomToFitSelectionInViewport: {
909
908
  data: import("../charts").Spreadsheet;
910
909
  };
911
910
  pendingImageElementId: string | null;
912
- showHyperlinkPopup: false | "info" | "editor";
911
+ showHyperlinkPopup: false | "editor" | "info";
913
912
  linkOpacity: number;
914
913
  trayModeEnabled: boolean;
915
914
  colorPalette?: {
@@ -1063,7 +1062,7 @@ export declare const actionZoomToFitSelection: {
1063
1062
  data: import("../charts").Spreadsheet;
1064
1063
  };
1065
1064
  pendingImageElementId: string | null;
1066
- showHyperlinkPopup: false | "info" | "editor";
1065
+ showHyperlinkPopup: false | "editor" | "info";
1067
1066
  linkOpacity: number;
1068
1067
  trayModeEnabled: boolean;
1069
1068
  colorPalette?: {
@@ -1218,7 +1217,7 @@ export declare const actionZoomToFit: {
1218
1217
  data: import("../charts").Spreadsheet;
1219
1218
  };
1220
1219
  pendingImageElementId: string | null;
1221
- showHyperlinkPopup: false | "info" | "editor";
1220
+ showHyperlinkPopup: false | "editor" | "info";
1222
1221
  linkOpacity: number;
1223
1222
  trayModeEnabled: boolean;
1224
1223
  colorPalette?: {
@@ -1373,7 +1372,7 @@ export declare const actionToggleTheme: {
1373
1372
  data: import("../charts").Spreadsheet;
1374
1373
  };
1375
1374
  pendingImageElementId: string | null;
1376
- showHyperlinkPopup: false | "info" | "editor";
1375
+ showHyperlinkPopup: false | "editor" | "info";
1377
1376
  linkOpacity: number;
1378
1377
  trayModeEnabled: boolean;
1379
1378
  colorPalette?: {
@@ -1521,7 +1520,7 @@ export declare const actionToggleEraserTool: {
1521
1520
  data: import("../charts").Spreadsheet;
1522
1521
  };
1523
1522
  pendingImageElementId: string | null;
1524
- showHyperlinkPopup: false | "info" | "editor";
1523
+ showHyperlinkPopup: false | "editor" | "info";
1525
1524
  linkOpacity: number;
1526
1525
  trayModeEnabled: boolean;
1527
1526
  colorPalette?: {
@@ -1668,7 +1667,7 @@ export declare const actionToggleHandTool: {
1668
1667
  data: import("../charts").Spreadsheet;
1669
1668
  };
1670
1669
  pendingImageElementId: string | null;
1671
- showHyperlinkPopup: false | "info" | "editor";
1670
+ showHyperlinkPopup: false | "editor" | "info";
1672
1671
  linkOpacity: number;
1673
1672
  trayModeEnabled: boolean;
1674
1673
  colorPalette?: {
@@ -1817,7 +1816,7 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
1817
1816
  data: import("../charts").Spreadsheet;
1818
1817
  };
1819
1818
  pendingImageElementId: string | null;
1820
- showHyperlinkPopup: false | "info" | "editor";
1819
+ showHyperlinkPopup: false | "editor" | "info";
1821
1820
  linkOpacity: number;
1822
1821
  trayModeEnabled: boolean;
1823
1822
  colorPalette?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const actionCopy: {
3
2
  name: "copy";
4
3
  trackEvent: {
@@ -152,7 +151,7 @@ export declare const actionCut: {
152
151
  data: import("../charts").Spreadsheet;
153
152
  };
154
153
  pendingImageElementId: string | null;
155
- showHyperlinkPopup: false | "info" | "editor";
154
+ showHyperlinkPopup: false | "editor" | "info";
156
155
  linkOpacity: number;
157
156
  trayModeEnabled: boolean;
158
157
  colorPalette?: {
@@ -325,7 +324,7 @@ export declare const actionCut: {
325
324
  data: import("../charts").Spreadsheet;
326
325
  };
327
326
  pendingImageElementId: string | null;
328
- showHyperlinkPopup: false | "info" | "editor";
327
+ showHyperlinkPopup: false | "editor" | "info";
329
328
  linkOpacity: number;
330
329
  trayModeEnabled: boolean;
331
330
  colorPalette?: {
@@ -465,7 +464,7 @@ export declare const actionCut: {
465
464
  data: import("../charts").Spreadsheet;
466
465
  };
467
466
  pendingImageElementId: string | null;
468
- showHyperlinkPopup: false | "info" | "editor";
467
+ showHyperlinkPopup: false | "editor" | "info";
469
468
  linkOpacity: number;
470
469
  trayModeEnabled: boolean;
471
470
  colorPalette?: {
@@ -624,7 +623,7 @@ export declare const actionCopyAsSvg: {
624
623
  data: import("../charts").Spreadsheet;
625
624
  };
626
625
  pendingImageElementId: string | null;
627
- showHyperlinkPopup: false | "info" | "editor";
626
+ showHyperlinkPopup: false | "editor" | "info";
628
627
  linkOpacity: number;
629
628
  trayModeEnabled: boolean;
630
629
  colorPalette?: {
@@ -782,7 +781,7 @@ export declare const actionCopyAsPng: {
782
781
  data: import("../charts").Spreadsheet;
783
782
  };
784
783
  pendingImageElementId: string | null;
785
- showHyperlinkPopup: false | "info" | "editor";
784
+ showHyperlinkPopup: false | "editor" | "info";
786
785
  linkOpacity: number;
787
786
  trayModeEnabled: boolean;
788
787
  colorPalette?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExcalidrawElement } from "../element/types";
3
2
  import { AppState } from "../types";
4
3
  import { LinearElementEditor } from "../element/linearElementEditor";
@@ -128,7 +127,7 @@ export declare const actionDeleteSelected: {
128
127
  data: import("../charts").Spreadsheet;
129
128
  };
130
129
  pendingImageElementId: string | null;
131
- showHyperlinkPopup: false | "info" | "editor";
130
+ showHyperlinkPopup: false | "editor" | "info";
132
131
  linkOpacity: number;
133
132
  trayModeEnabled: boolean;
134
133
  colorPalette?: {
@@ -301,7 +300,7 @@ export declare const actionDeleteSelected: {
301
300
  data: import("../charts").Spreadsheet;
302
301
  };
303
302
  pendingImageElementId: string | null;
304
- showHyperlinkPopup: false | "info" | "editor";
303
+ showHyperlinkPopup: false | "editor" | "info";
305
304
  linkOpacity: number;
306
305
  trayModeEnabled: boolean;
307
306
  colorPalette?: {
@@ -441,7 +440,7 @@ export declare const actionDeleteSelected: {
441
440
  data: import("../charts").Spreadsheet;
442
441
  };
443
442
  pendingImageElementId: string | null;
444
- showHyperlinkPopup: false | "info" | "editor";
443
+ showHyperlinkPopup: false | "editor" | "info";
445
444
  linkOpacity: number;
446
445
  trayModeEnabled: boolean;
447
446
  colorPalette?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExcalidrawElement } from "../element/types";
3
2
  import { AppClassProperties, AppState } from "../types";
4
3
  export declare const distributeHorizontally: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExcalidrawElement } from "../element/types";
3
2
  import { AppState } from "../types";
4
3
  export declare const actionDuplicateSelection: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExcalidrawElement } from "../element/types";
3
2
  export declare const actionToggleElementLock: {
4
3
  name: "toggleElementLock";
@@ -127,7 +126,7 @@ export declare const actionToggleElementLock: {
127
126
  data: import("../charts").Spreadsheet;
128
127
  };
129
128
  pendingImageElementId: string | null;
130
- showHyperlinkPopup: false | "info" | "editor";
129
+ showHyperlinkPopup: false | "editor" | "info";
131
130
  linkOpacity: number;
132
131
  trayModeEnabled: boolean;
133
132
  colorPalette?: {
@@ -284,7 +283,7 @@ export declare const actionUnlockAllElements: {
284
283
  data: import("../charts").Spreadsheet;
285
284
  };
286
285
  pendingImageElementId: string | null;
287
- showHyperlinkPopup: false | "info" | "editor";
286
+ showHyperlinkPopup: false | "editor" | "info";
288
287
  linkOpacity: number;
289
288
  trayModeEnabled: boolean;
290
289
  colorPalette?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Theme } from "../element/types";
3
2
  import "../components/ToolIcon.scss";
4
3
  export declare const actionChangeProjectName: {
@@ -123,7 +122,7 @@ export declare const actionChangeProjectName: {
123
122
  data: import("../charts").Spreadsheet;
124
123
  };
125
124
  pendingImageElementId: string | null;
126
- showHyperlinkPopup: false | "info" | "editor";
125
+ showHyperlinkPopup: false | "editor" | "info";
127
126
  linkOpacity: number;
128
127
  trayModeEnabled: boolean;
129
128
  colorPalette?: {
@@ -278,7 +277,7 @@ export declare const actionChangeExportScale: {
278
277
  data: import("../charts").Spreadsheet;
279
278
  };
280
279
  pendingImageElementId: string | null;
281
- showHyperlinkPopup: false | "info" | "editor";
280
+ showHyperlinkPopup: false | "editor" | "info";
282
281
  linkOpacity: number;
283
282
  trayModeEnabled: boolean;
284
283
  colorPalette?: {
@@ -433,7 +432,7 @@ export declare const actionChangeExportBackground: {
433
432
  data: import("../charts").Spreadsheet;
434
433
  };
435
434
  pendingImageElementId: string | null;
436
- showHyperlinkPopup: false | "info" | "editor";
435
+ showHyperlinkPopup: false | "editor" | "info";
437
436
  linkOpacity: number;
438
437
  trayModeEnabled: boolean;
439
438
  colorPalette?: {
@@ -588,7 +587,7 @@ export declare const actionChangeExportEmbedScene: {
588
587
  data: import("../charts").Spreadsheet;
589
588
  };
590
589
  pendingImageElementId: string | null;
591
- showHyperlinkPopup: false | "info" | "editor";
590
+ showHyperlinkPopup: false | "editor" | "info";
592
591
  linkOpacity: number;
593
592
  trayModeEnabled: boolean;
594
593
  colorPalette?: {
@@ -742,7 +741,7 @@ export declare const actionSaveToActiveFile: {
742
741
  data: import("../charts").Spreadsheet;
743
742
  };
744
743
  pendingImageElementId: string | null;
745
- showHyperlinkPopup: false | "info" | "editor";
744
+ showHyperlinkPopup: false | "editor" | "info";
746
745
  linkOpacity: number;
747
746
  trayModeEnabled: boolean;
748
747
  colorPalette?: {
@@ -900,7 +899,7 @@ export declare const actionSaveFileToDisk: {
900
899
  data: import("../charts").Spreadsheet;
901
900
  };
902
901
  pendingImageElementId: string | null;
903
- showHyperlinkPopup: false | "info" | "editor";
902
+ showHyperlinkPopup: false | "editor" | "info";
904
903
  linkOpacity: number;
905
904
  trayModeEnabled: boolean;
906
905
  colorPalette?: {
@@ -954,6 +953,13 @@ export declare const actionLoadScene: {
954
953
  type: "custom";
955
954
  customType: string;
956
955
  });
956
+ toast: {
957
+ message: string;
958
+ closable?: boolean | undefined;
959
+ duration?: number | undefined;
960
+ } | null;
961
+ collaborators: Map<string, import("../types").Collaborator>;
962
+ penMode: boolean;
957
963
  contextMenu: {
958
964
  items: import("../components/ContextMenu").ContextMenuItems;
959
965
  top: number;
@@ -984,7 +990,6 @@ export declare const actionLoadScene: {
984
990
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
985
991
  editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
986
992
  editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
987
- penMode: boolean;
988
993
  penDetected: boolean;
989
994
  exportBackground: boolean;
990
995
  exportEmbedScene: boolean;
@@ -1030,11 +1035,6 @@ export declare const actionLoadScene: {
1030
1035
  };
1031
1036
  selectedElementsAreBeingDragged: boolean;
1032
1037
  shouldCacheIgnoreZoom: boolean;
1033
- toast: {
1034
- message: string;
1035
- closable?: boolean | undefined;
1036
- duration?: number | undefined;
1037
- } | null;
1038
1038
  zenModeEnabled: boolean;
1039
1039
  gridSize: number | null;
1040
1040
  previousGridSize: number | null;
@@ -1044,7 +1044,6 @@ export declare const actionLoadScene: {
1044
1044
  };
1045
1045
  editingGroupId: string | null;
1046
1046
  fileHandle: import("browser-fs-access").FileSystemHandle | null;
1047
- collaborators: Map<string, import("../types").Collaborator>;
1048
1047
  showStats: boolean;
1049
1048
  currentChartType: import("../element/types").ChartType;
1050
1049
  pasteDialog: {
@@ -1055,7 +1054,7 @@ export declare const actionLoadScene: {
1055
1054
  data: import("../charts").Spreadsheet;
1056
1055
  };
1057
1056
  pendingImageElementId: string | null;
1058
- showHyperlinkPopup: false | "info" | "editor";
1057
+ showHyperlinkPopup: false | "editor" | "info";
1059
1058
  linkOpacity: number;
1060
1059
  trayModeEnabled: boolean;
1061
1060
  colorPalette?: {
@@ -1201,7 +1200,7 @@ export declare const actionLoadScene: {
1201
1200
  data: import("../charts").Spreadsheet;
1202
1201
  };
1203
1202
  pendingImageElementId: string | null;
1204
- showHyperlinkPopup: false | "info" | "editor";
1203
+ showHyperlinkPopup: false | "editor" | "info";
1205
1204
  linkOpacity: number;
1206
1205
  trayModeEnabled: boolean;
1207
1206
  colorPalette?: {
@@ -1357,7 +1356,7 @@ export declare const actionExportWithDarkMode: {
1357
1356
  data: import("../charts").Spreadsheet;
1358
1357
  };
1359
1358
  pendingImageElementId: string | null;
1360
- showHyperlinkPopup: false | "info" | "editor";
1359
+ showHyperlinkPopup: false | "editor" | "info";
1361
1360
  linkOpacity: number;
1362
1361
  trayModeEnabled: boolean;
1363
1362
  colorPalette?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { LinearElementEditor } from "../element/linearElementEditor";
3
2
  import { AppState } from "../types";
4
3
  export declare const actionFinalize: {
@@ -124,7 +123,7 @@ export declare const actionFinalize: {
124
123
  data: import("../charts").Spreadsheet;
125
124
  };
126
125
  pendingImageElementId: string | null;
127
- showHyperlinkPopup: false | "info" | "editor";
126
+ showHyperlinkPopup: false | "editor" | "info";
128
127
  linkOpacity: number;
129
128
  trayModeEnabled: boolean;
130
129
  colorPalette?: {
@@ -267,7 +266,7 @@ export declare const actionFinalize: {
267
266
  shown: true;
268
267
  data: import("../charts").Spreadsheet;
269
268
  };
270
- showHyperlinkPopup: false | "info" | "editor";
269
+ showHyperlinkPopup: false | "editor" | "info";
271
270
  linkOpacity: number;
272
271
  trayModeEnabled: boolean;
273
272
  colorPalette?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExcalidrawElement } from "../element/types";
3
2
  import { AppState } from "../types";
4
3
  export declare const actionFlipHorizontal: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExcalidrawElement } from "../element/types";
3
2
  import { AppClassProperties, AppState } from "../types";
4
3
  export declare const actionSelectAllElementsInFrame: {
@@ -141,7 +140,7 @@ export declare const actionRemoveAllElementsFromFrame: {
141
140
  data: import("../charts").Spreadsheet;
142
141
  };
143
142
  pendingImageElementId: string | null;
144
- showHyperlinkPopup: false | "info" | "editor";
143
+ showHyperlinkPopup: false | "editor" | "info";
145
144
  linkOpacity: number;
146
145
  trayModeEnabled: boolean;
147
146
  colorPalette?: {
@@ -302,7 +301,7 @@ export declare const actionupdateFrameRendering: {
302
301
  data: import("../charts").Spreadsheet;
303
302
  };
304
303
  pendingImageElementId: string | null;
305
- showHyperlinkPopup: false | "info" | "editor";
304
+ showHyperlinkPopup: false | "editor" | "info";
306
305
  linkOpacity: number;
307
306
  trayModeEnabled: boolean;
308
307
  colorPalette?: {
@@ -458,7 +457,7 @@ export declare const actionSetFrameAsActiveTool: {
458
457
  data: import("../charts").Spreadsheet;
459
458
  };
460
459
  pendingImageElementId: string | null;
461
- showHyperlinkPopup: false | "info" | "editor";
460
+ showHyperlinkPopup: false | "editor" | "info";
462
461
  linkOpacity: number;
463
462
  trayModeEnabled: boolean;
464
463
  colorPalette?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExcalidrawElement } from "../element/types";
3
2
  import { AppClassProperties, AppState } from "../types";
4
3
  export declare const actionGroup: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { LinearElementEditor } from "../element/linearElementEditor";
3
2
  import { ExcalidrawLinearElement } from "../element/types";
4
3
  export declare const actionToggleLinearEditor: {
@@ -126,7 +125,7 @@ export declare const actionToggleLinearEditor: {
126
125
  data: import("../charts").Spreadsheet;
127
126
  };
128
127
  pendingImageElementId: string | null;
129
- showHyperlinkPopup: false | "info" | "editor";
128
+ showHyperlinkPopup: false | "editor" | "info";
130
129
  linkOpacity: number;
131
130
  trayModeEnabled: boolean;
132
131
  colorPalette?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const actionToggleCanvasMenu: {
3
2
  name: "toggleCanvasMenu";
4
3
  trackEvent: {
@@ -123,7 +122,7 @@ export declare const actionToggleCanvasMenu: {
123
122
  data: import("../charts").Spreadsheet;
124
123
  };
125
124
  pendingImageElementId: string | null;
126
- showHyperlinkPopup: false | "info" | "editor";
125
+ showHyperlinkPopup: false | "editor" | "info";
127
126
  linkOpacity: number;
128
127
  trayModeEnabled: boolean;
129
128
  colorPalette?: {
@@ -277,7 +276,7 @@ export declare const actionToggleEditMenu: {
277
276
  data: import("../charts").Spreadsheet;
278
277
  };
279
278
  pendingImageElementId: string | null;
280
- showHyperlinkPopup: false | "info" | "editor";
279
+ showHyperlinkPopup: false | "editor" | "info";
281
280
  linkOpacity: number;
282
281
  trayModeEnabled: boolean;
283
282
  colorPalette?: {
@@ -447,7 +446,7 @@ export declare const actionShortcuts: {
447
446
  data: import("../charts").Spreadsheet;
448
447
  };
449
448
  pendingImageElementId: string | null;
450
- showHyperlinkPopup: false | "info" | "editor";
449
+ showHyperlinkPopup: false | "editor" | "info";
451
450
  linkOpacity: number;
452
451
  trayModeEnabled: boolean;
453
452
  colorPalette?: {