@myoc/excalidraw 0.18.19 → 0.18.21
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/dev/{chunk-WD4YVUU4.js → chunk-DUURZLYX.js} +2 -2
- package/dist/dev/chunk-XJGMBAJT.js +5684 -0
- package/dist/dev/chunk-XJGMBAJT.js.map +7 -0
- package/dist/dev/data/{image-CW7TABKC.js → image-NCRXXRJW.js} +3 -3
- package/dist/dev/index.css +4 -0
- package/dist/dev/index.css.map +2 -2
- package/dist/dev/index.js +6055 -4020
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/{chunk-W655L563.js → chunk-4UANJTGP.js} +1 -1
- package/dist/prod/chunk-ESVIN3T7.js +4 -0
- package/dist/prod/data/image-7MUHAX25.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +24 -17
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/constants.d.ts +2 -1
- package/dist/types/common/src/points.d.ts +1 -1
- package/dist/types/common/src/utils.d.ts +2 -2
- package/dist/types/element/src/Scene.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +2 -1
- package/dist/types/element/src/binding.d.ts +4 -0
- package/dist/types/element/src/bounds.d.ts +3 -1
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +2 -2
- package/dist/types/element/src/groups.d.ts +1 -0
- package/dist/types/element/src/heading.d.ts +2 -2
- package/dist/types/element/src/linearElementEditor.d.ts +3 -5
- package/dist/types/element/src/resizeTest.d.ts +2 -2
- package/dist/types/element/src/selection.d.ts +1 -1
- package/dist/types/element/src/shape.d.ts +2 -2
- package/dist/types/element/src/shapes.d.ts +8 -8
- package/dist/types/element/src/store.d.ts +3 -2
- package/dist/types/element/src/utils.d.ts +11 -5
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +12 -15
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionArrange.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +8 -10
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +63 -75
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +31 -36
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +4 -5
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +17 -20
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +3 -4
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +10 -12
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +4 -5
- package/dist/types/excalidraw/actions/actionExport.d.ts +121 -130
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +11 -12
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +66 -70
- package/dist/types/excalidraw/actions/actionGroup.d.ts +14 -16
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +85 -55
- package/dist/types/excalidraw/actions/actionLink.d.ts +5 -6
- package/dist/types/excalidraw/actions/actionMenu.d.ts +13 -16
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +8 -10
- package/dist/types/excalidraw/actions/actionProperties.d.ts +63 -78
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionSmartZoom.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +8 -9
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +5 -6
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/appState.d.ts +21 -21
- package/dist/types/excalidraw/components/Actions.d.ts +0 -4
- package/dist/types/excalidraw/components/App.d.ts +12 -6
- package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +11 -1
- package/dist/types/excalidraw/components/shapes.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +1 -1
- package/dist/types/excalidraw/index.d.ts +1 -0
- package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
- package/dist/types/excalidraw/types.d.ts +2 -4
- package/dist/types/math/src/angle.d.ts +1 -1
- package/dist/types/math/src/curve.d.ts +1 -1
- package/dist/types/math/src/ellipse.d.ts +3 -3
- package/dist/types/math/src/point.d.ts +2 -2
- package/dist/types/math/src/polygon.d.ts +2 -2
- package/dist/types/math/src/rectangle.d.ts +2 -0
- package/dist/types/math/src/segment.d.ts +5 -5
- package/dist/types/math/src/utils.d.ts +0 -2
- package/dist/types/utils/src/shape.d.ts +12 -12
- package/package.json +7 -4
- package/dist/dev/chunk-HDRNCSTL.js +0 -23870
- package/dist/dev/chunk-HDRNCSTL.js.map +0 -7
- package/dist/prod/chunk-23G2JOF5.js +0 -33
- package/dist/prod/data/image-TLNQ4QKS.js +0 -1
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- /package/dist/dev/{chunk-WD4YVUU4.js.map → chunk-DUURZLYX.js.map} +0 -0
- /package/dist/dev/data/{image-CW7TABKC.js.map → image-NCRXXRJW.js.map} +0 -0
|
@@ -28,7 +28,7 @@ export declare const actionGoToCollaborator: {
|
|
|
28
28
|
errorMessage: import("react").ReactNode;
|
|
29
29
|
activeEmbeddable: {
|
|
30
30
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
31
|
-
state: "
|
|
31
|
+
state: "active" | "hover";
|
|
32
32
|
} | null;
|
|
33
33
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
34
34
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -47,7 +47,6 @@ export declare const actionGoToCollaborator: {
|
|
|
47
47
|
editingFrame: string | null;
|
|
48
48
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
49
49
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
50
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
51
50
|
activeTool: {
|
|
52
51
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
53
52
|
locked: boolean;
|
|
@@ -73,7 +72,7 @@ export declare const actionGoToCollaborator: {
|
|
|
73
72
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
74
73
|
currentHoveredFontFamily: number | null;
|
|
75
74
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
76
|
-
currentItemArrowType: "
|
|
75
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
77
76
|
viewBackgroundColor: string;
|
|
78
77
|
scrollX: number;
|
|
79
78
|
scrollY: number;
|
|
@@ -95,7 +94,7 @@ export declare const actionGoToCollaborator: {
|
|
|
95
94
|
name: "imageExport" | "help" | "jsonExport";
|
|
96
95
|
} | {
|
|
97
96
|
name: "ttd";
|
|
98
|
-
tab: "text-to-diagram"
|
|
97
|
+
tab: "mermaid" | "text-to-diagram";
|
|
99
98
|
} | {
|
|
100
99
|
name: "commandPalette";
|
|
101
100
|
} | {
|
|
@@ -167,7 +166,7 @@ export declare const actionGoToCollaborator: {
|
|
|
167
166
|
shown: true;
|
|
168
167
|
data: import("../charts").Spreadsheet;
|
|
169
168
|
};
|
|
170
|
-
showHyperlinkPopup: false | "
|
|
169
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
171
170
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
172
171
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
173
172
|
originSnapOffset: {
|
|
@@ -213,7 +212,7 @@ export declare const actionGoToCollaborator: {
|
|
|
213
212
|
errorMessage: import("react").ReactNode;
|
|
214
213
|
activeEmbeddable: {
|
|
215
214
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
216
|
-
state: "
|
|
215
|
+
state: "active" | "hover";
|
|
217
216
|
} | null;
|
|
218
217
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
219
218
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -232,7 +231,6 @@ export declare const actionGoToCollaborator: {
|
|
|
232
231
|
editingFrame: string | null;
|
|
233
232
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
234
233
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
235
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
236
234
|
activeTool: {
|
|
237
235
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
238
236
|
locked: boolean;
|
|
@@ -258,7 +256,7 @@ export declare const actionGoToCollaborator: {
|
|
|
258
256
|
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
259
257
|
currentHoveredFontFamily: number | null;
|
|
260
258
|
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
261
|
-
currentItemArrowType: "
|
|
259
|
+
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
262
260
|
viewBackgroundColor: string;
|
|
263
261
|
scrollX: number;
|
|
264
262
|
scrollY: number;
|
|
@@ -279,7 +277,7 @@ export declare const actionGoToCollaborator: {
|
|
|
279
277
|
name: "imageExport" | "help" | "jsonExport";
|
|
280
278
|
} | {
|
|
281
279
|
name: "ttd";
|
|
282
|
-
tab: "text-to-diagram"
|
|
280
|
+
tab: "mermaid" | "text-to-diagram";
|
|
283
281
|
} | {
|
|
284
282
|
name: "commandPalette";
|
|
285
283
|
} | {
|
|
@@ -351,7 +349,7 @@ export declare const actionGoToCollaborator: {
|
|
|
351
349
|
shown: true;
|
|
352
350
|
data: import("../charts").Spreadsheet;
|
|
353
351
|
};
|
|
354
|
-
showHyperlinkPopup: false | "
|
|
352
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
355
353
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
356
354
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
357
355
|
originSnapOffset: {
|