@zsviczian/excalidraw 0.18.0-1 → 0.18.0-10
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/README.md +1 -1
- package/dist/excalidraw.development.js +2231 -2418
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +0 -32
- package/dist/styles.development.css +2995 -3004
- package/dist/styles.production.css +28 -28
- package/package.json +14 -2
- package/types/{excalidraw/binaryheap.d.ts → common/src/binary-heap.d.ts} +1 -1
- package/types/{excalidraw → common/src}/colors.d.ts +1 -0
- package/types/{excalidraw → common/src}/constants.d.ts +10 -7
- package/types/{excalidraw/fonts/FontMetadata.d.ts → common/src/font-metadata.d.ts} +11 -3
- package/types/common/src/index.d.ts +11 -0
- package/types/{excalidraw → common/src}/points.d.ts +2 -0
- package/types/common/src/promise-pool.d.ts +6 -0
- package/types/{excalidraw → common/src}/utils.d.ts +13 -12
- package/types/{excalidraw/scene → element/src}/Shape.d.ts +2 -2
- package/types/{excalidraw/scene → element/src}/ShapeCache.d.ts +4 -4
- package/types/{excalidraw → element/src}/align.d.ts +2 -2
- package/types/{excalidraw/element → element/src}/binding.d.ts +8 -8
- package/types/{excalidraw/element → element/src}/bounds.d.ts +9 -4
- package/types/{excalidraw/element → element/src}/collision.d.ts +3 -3
- package/types/{excalidraw/scene → element/src}/comparisons.d.ts +1 -1
- package/types/{excalidraw → element/src}/distribute.d.ts +1 -1
- package/types/{excalidraw/element → element/src}/dragElements.d.ts +3 -3
- package/types/element/src/duplicate.d.ts +63 -0
- package/types/{excalidraw/element → element/src}/elbowArrow.d.ts +2 -2
- package/types/{excalidraw/element → element/src}/elementLink.d.ts +1 -1
- package/types/element/src/embeddable.d.ts +10 -0
- package/types/{excalidraw/element → element/src}/flowchart.d.ts +1 -1
- package/types/{excalidraw → element/src}/fractionalIndex.d.ts +4 -1
- package/types/{excalidraw → element/src}/frame.d.ts +7 -7
- package/types/{excalidraw → element/src}/groups.d.ts +5 -5
- package/types/{excalidraw/element → element/src}/heading.d.ts +1 -2
- package/types/{excalidraw/element → element/src}/image.d.ts +2 -2
- package/types/{excalidraw/element → element/src}/index.d.ts +0 -10
- package/types/{excalidraw/element → element/src}/linearElementEditor.d.ts +7 -7
- package/types/{excalidraw/element → element/src}/mutateElement.d.ts +1 -1
- package/types/{excalidraw/element → element/src}/newElement.d.ts +3 -43
- package/types/{excalidraw/renderer → element/src}/renderElement.d.ts +3 -3
- package/types/{excalidraw/element → element/src}/resizeElements.d.ts +4 -4
- package/types/{excalidraw/element → element/src}/resizeTest.d.ts +4 -4
- package/types/{excalidraw/scene → element/src}/selection.d.ts +13 -2
- package/types/element/src/shapes.d.ts +23 -0
- package/types/{excalidraw/element → element/src}/showSelectedShapeActions.d.ts +1 -1
- package/types/{excalidraw/element → element/src}/sizeHelpers.d.ts +1 -1
- package/types/{excalidraw/element → element/src}/textElement.d.ts +5 -5
- package/types/{excalidraw/element → element/src}/transformHandles.d.ts +7 -7
- package/types/{excalidraw/element → element/src}/typeChecks.d.ts +2 -2
- package/types/{excalidraw/element → element/src}/types.d.ts +2 -2
- package/types/{excalidraw/element → element/src}/utils.d.ts +1 -1
- package/types/{excalidraw → element/src}/zindex.d.ts +5 -4
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +94 -79
- package/types/excalidraw/actions/actionAlign.d.ts +7 -7
- package/types/excalidraw/actions/actionBoundText.d.ts +68 -58
- package/types/excalidraw/actions/actionCanvas.d.ts +738 -455
- package/types/excalidraw/actions/actionClipboard.d.ts +197 -167
- package/types/excalidraw/actions/actionCropEditor.d.ts +33 -28
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +94 -79
- package/types/excalidraw/actions/actionDistribute.d.ts +3 -3
- package/types/excalidraw/actions/actionDuplicateSelection.d.ts +3 -7
- package/types/excalidraw/actions/actionElementLink.d.ts +37 -32
- package/types/excalidraw/actions/actionElementLock.d.ts +67 -58
- package/types/excalidraw/{element/embeddable.d.ts → actions/actionEmbeddable.d.ts} +33 -38
- package/types/excalidraw/actions/actionExport.d.ts +374 -329
- package/types/excalidraw/actions/actionFinalize.d.ts +55 -45
- package/types/excalidraw/actions/actionFlip.d.ts +3 -3
- package/types/excalidraw/actions/actionFrame.d.ts +243 -223
- package/types/excalidraw/actions/actionGroup.d.ts +65 -55
- package/types/excalidraw/actions/actionHistory.d.ts +1 -1
- package/types/excalidraw/actions/actionLinearEditor.d.ts +34 -29
- package/types/excalidraw/actions/actionLink.d.ts +33 -28
- package/types/excalidraw/actions/actionMenu.d.ts +94 -79
- package/types/excalidraw/actions/actionNavigate.d.ts +62 -52
- package/types/excalidraw/actions/actionProperties.d.ts +422 -347
- package/types/excalidraw/actions/actionSelectAll.d.ts +33 -28
- package/types/excalidraw/actions/actionStyles.d.ts +35 -30
- package/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +33 -28
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +33 -28
- package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +64 -54
- package/types/excalidraw/actions/actionToggleStats.d.ts +32 -28
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +33 -29
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +33 -29
- package/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/types/excalidraw/actions/index.d.ts +1 -0
- package/types/excalidraw/actions/manager.d.ts +2 -2
- package/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/types/excalidraw/actions/types.d.ts +4 -4
- package/types/excalidraw/animated-trail.d.ts +7 -1
- package/types/excalidraw/appState.d.ts +32 -31
- package/types/excalidraw/change.d.ts +3 -3
- package/types/excalidraw/charts.d.ts +1 -1
- package/types/excalidraw/clipboard.d.ts +7 -7
- package/types/excalidraw/components/Actions.d.ts +3 -3
- package/types/excalidraw/components/App.d.ts +32 -32
- package/types/excalidraw/components/Avatar.d.ts +1 -1
- package/types/excalidraw/components/ButtonIcon.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +4 -4
- package/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +1 -2
- package/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -2
- package/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +3 -3
- package/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -1
- package/types/excalidraw/components/ConfirmDialog.d.ts +1 -1
- package/types/excalidraw/components/ContextMenu.d.ts +2 -2
- package/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
- package/types/excalidraw/components/DefaultSidebar.d.ts +2 -2
- package/types/excalidraw/components/DialogActionButton.d.ts +1 -1
- package/types/excalidraw/{element → components}/ElementCanvasButtons.d.ts +1 -1
- package/types/excalidraw/components/ElementLinkDialog.d.ts +2 -2
- package/types/excalidraw/components/EyeDropper.d.ts +1 -1
- package/types/excalidraw/components/FixedSideContainer.d.ts +1 -1
- package/types/excalidraw/components/FollowMode/FollowMode.d.ts +1 -1
- package/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
- package/types/excalidraw/components/FontPicker/FontPickerList.d.ts +3 -3
- package/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
- package/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
- package/types/excalidraw/components/HintViewer.d.ts +1 -1
- package/types/excalidraw/components/IconPicker.d.ts +1 -1
- package/types/excalidraw/components/ImageExportDialog.d.ts +2 -2
- package/types/excalidraw/components/InitializeApp.d.ts +1 -1
- package/types/excalidraw/components/Island.d.ts +1 -1
- package/types/excalidraw/components/JSONExportDialog.d.ts +2 -2
- package/types/excalidraw/components/LayerUI.d.ts +3 -3
- package/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -1
- package/types/excalidraw/components/LibraryMenuItems.d.ts +1 -1
- package/types/excalidraw/components/LibraryMenuSection.d.ts +3 -3
- package/types/excalidraw/components/LibraryUnit.d.ts +2 -2
- package/types/excalidraw/components/LoadingMessage.d.ts +1 -1
- package/types/excalidraw/components/MagicButton.d.ts +1 -1
- package/types/excalidraw/components/MobileMenu.d.ts +3 -3
- package/types/excalidraw/components/PasteChartDialog.d.ts +1 -1
- package/types/excalidraw/components/PropertiesPopover.d.ts +1 -1
- package/types/excalidraw/components/PublishLibrary.d.ts +1 -1
- package/types/excalidraw/components/SVGLayer.d.ts +1 -1
- package/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +1 -1
- package/types/excalidraw/components/Sidebar/common.d.ts +1 -1
- package/types/excalidraw/components/Stack.d.ts +1 -1
- package/types/excalidraw/components/Stats/Angle.d.ts +1 -1
- package/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
- package/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
- package/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
- package/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
- package/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
- package/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
- package/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
- package/types/excalidraw/components/Stats/Position.d.ts +1 -1
- package/types/excalidraw/components/Stats/index.d.ts +2 -2
- package/types/excalidraw/components/Stats/utils.d.ts +1 -1
- package/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +1 -1
- package/types/excalidraw/components/TTDDialog/MermaidToExcalidrawLib.d.ts +1 -1
- package/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -1
- package/types/excalidraw/components/TTDDialog/common.d.ts +3 -3
- package/types/excalidraw/components/TextField.d.ts +1 -1
- package/types/excalidraw/components/Toast.d.ts +1 -1
- package/types/excalidraw/components/ToolButton.d.ts +2 -2
- package/types/excalidraw/components/Tooltip.d.ts +1 -1
- package/types/excalidraw/components/UserList.d.ts +1 -1
- package/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +4 -3
- package/types/excalidraw/components/canvases/NewElementCanvas.d.ts +2 -2
- package/types/excalidraw/components/canvases/StaticCanvas.d.ts +3 -3
- package/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
- package/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +2 -2
- package/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +1 -1
- package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
- package/types/excalidraw/components/hyperlink/helpers.d.ts +2 -2
- package/types/excalidraw/components/icons.d.ts +2 -1
- package/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
- package/types/excalidraw/components/main-menu/MainMenu.d.ts +4 -1
- package/types/excalidraw/components/shapes.d.ts +62 -0
- package/types/excalidraw/context/tunnels.d.ts +1 -1
- package/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
- package/types/excalidraw/data/blob.d.ts +4 -4
- package/types/excalidraw/data/filesystem.d.ts +2 -2
- package/types/excalidraw/data/index.d.ts +2 -2
- package/types/excalidraw/data/json.d.ts +1 -1
- package/types/excalidraw/data/library.d.ts +3 -3
- package/types/excalidraw/data/reconcile.d.ts +2 -2
- package/types/excalidraw/data/resave.d.ts +1 -1
- package/types/excalidraw/data/restore.d.ts +1 -1
- package/types/excalidraw/data/transform.d.ts +4 -4
- package/types/excalidraw/data/types.d.ts +3 -3
- package/types/excalidraw/eraser/index.d.ts +14 -0
- package/types/excalidraw/errors.d.ts +0 -3
- package/types/excalidraw/fonts/Fonts.d.ts +2 -12
- package/types/excalidraw/history.d.ts +2 -2
- package/types/excalidraw/i18n.d.ts +1 -1
- package/types/excalidraw/index.d.ts +29 -35
- package/types/excalidraw/laser-trails.d.ts +1 -1
- package/types/excalidraw/lasso/index.d.ts +15 -0
- package/types/excalidraw/lasso/utils.d.ts +12 -0
- package/types/excalidraw/obsidianUtils.d.ts +3 -2
- package/types/excalidraw/renderer/helpers.d.ts +2 -2
- package/types/excalidraw/renderer/staticSvgScene.d.ts +2 -2
- package/types/excalidraw/scene/Renderer.d.ts +3 -3
- package/types/excalidraw/scene/Scene.d.ts +5 -5
- package/types/excalidraw/scene/export.d.ts +1 -1
- package/types/excalidraw/scene/index.d.ts +2 -2
- package/types/excalidraw/scene/scroll.d.ts +1 -1
- package/types/excalidraw/scene/scrollbars.d.ts +2 -3
- package/types/excalidraw/scene/types.d.ts +4 -4
- package/types/excalidraw/snapping.d.ts +5 -6
- package/types/excalidraw/store.d.ts +2 -2
- package/types/excalidraw/types.d.ts +26 -16
- package/types/excalidraw/visualdebug.d.ts +2 -2
- package/types/excalidraw/webpack.dev.config.d.ts +2 -0
- package/types/excalidraw/webpack.prod.config.d.ts +2 -0
- package/types/excalidraw/{element → wysiwyg}/textWysiwyg.d.ts +1 -1
- package/types/math/{point.d.ts → src/point.d.ts} +2 -2
- package/types/math/{polygon.d.ts → src/polygon.d.ts} +1 -0
- package/types/math/{segment.d.ts → src/segment.d.ts} +1 -1
- package/types/math/{types.d.ts → src/types.d.ts} +1 -0
- package/types/utils/{bbox.d.ts → src/bbox.d.ts} +1 -1
- package/types/utils/{collision.d.ts → src/collision.d.ts} +2 -3
- package/types/utils/{export.d.ts → src/export.d.ts} +2 -12
- package/types/utils/{index.d.ts → src/index.d.ts} +1 -1
- package/types/utils/{geometry → src}/shape.d.ts +2 -15
- package/types/utils/{withinBounds.d.ts → src/withinBounds.d.ts} +2 -2
- package/types/excalidraw/shapes.d.ts +0 -85
- /package/types/{excalidraw → common/src}/keys.d.ts +0 -0
- /package/types/{excalidraw → common/src}/queue.d.ts +0 -0
- /package/types/{excalidraw → common/src}/random.d.ts +0 -0
- /package/types/{excalidraw/data → common/src}/url.d.ts +0 -0
- /package/types/{excalidraw → common/src}/utility-types.d.ts +0 -0
- /package/types/{excalidraw/element → element/src}/containerCache.d.ts +0 -0
- /package/types/{excalidraw/element → element/src}/cropElement.d.ts +0 -0
- /package/types/{excalidraw/element → element/src}/distance.d.ts +0 -0
- /package/types/{excalidraw/renderer → element/src}/easingFunctions.d.ts +0 -0
- /package/types/{excalidraw/element → element/src}/sortElements.d.ts +0 -0
- /package/types/{excalidraw/element → element/src}/textMeasurements.d.ts +0 -0
- /package/types/{excalidraw/element → element/src}/textWrapping.d.ts +0 -0
- /package/types/math/{angle.d.ts → src/angle.d.ts} +0 -0
- /package/types/math/{curve.d.ts → src/curve.d.ts} +0 -0
- /package/types/math/{ellipse.d.ts → src/ellipse.d.ts} +0 -0
- /package/types/math/{index.d.ts → src/index.d.ts} +0 -0
- /package/types/math/{line.d.ts → src/line.d.ts} +0 -0
- /package/types/math/{range.d.ts → src/range.d.ts} +0 -0
- /package/types/math/{rectangle.d.ts → src/rectangle.d.ts} +0 -0
- /package/types/math/{triangle.d.ts → src/triangle.d.ts} +0 -0
- /package/types/math/{utils.d.ts → src/utils.d.ts} +0 -0
- /package/types/math/{vector.d.ts → src/vector.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExcalidrawElement, OrderedExcalidrawElement } from "
|
|
1
|
+
import type { ExcalidrawElement, OrderedExcalidrawElement } from "@excalidraw/element/types";
|
|
2
2
|
import type { AppClassProperties, AppState } from "../types";
|
|
3
3
|
export declare const actionGroup: {
|
|
4
4
|
name: "group";
|
|
@@ -13,13 +13,13 @@ export declare const actionGroup: {
|
|
|
13
13
|
captureUpdate: "EVENTUALLY";
|
|
14
14
|
} | {
|
|
15
15
|
appState: {
|
|
16
|
+
editingGroupId: string | null;
|
|
16
17
|
selectedElementIds: Readonly<{
|
|
17
18
|
[id: string]: true;
|
|
18
19
|
}>;
|
|
19
20
|
selectedGroupIds: {
|
|
20
21
|
[groupId: string]: boolean;
|
|
21
22
|
};
|
|
22
|
-
editingGroupId: string | null;
|
|
23
23
|
contextMenu: {
|
|
24
24
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
25
25
|
top: number;
|
|
@@ -29,17 +29,17 @@ export declare const actionGroup: {
|
|
|
29
29
|
isLoading: boolean;
|
|
30
30
|
errorMessage: import("react").ReactNode;
|
|
31
31
|
activeEmbeddable: {
|
|
32
|
-
element: import("
|
|
32
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
33
33
|
state: "active" | "hover";
|
|
34
34
|
} | null;
|
|
35
|
-
newElement: import("
|
|
36
|
-
resizingElement: import("
|
|
37
|
-
multiElement: import("
|
|
38
|
-
selectionElement: import("
|
|
35
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
36
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
37
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
38
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
39
39
|
isBindingEnabled: boolean;
|
|
40
|
-
startBoundElement: import("
|
|
41
|
-
suggestedBindings: import("
|
|
42
|
-
frameToHighlight: import("
|
|
40
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
41
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
42
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
43
43
|
frameRendering: {
|
|
44
44
|
enabled: boolean;
|
|
45
45
|
name: boolean;
|
|
@@ -47,12 +47,13 @@ export declare const actionGroup: {
|
|
|
47
47
|
clip: boolean;
|
|
48
48
|
};
|
|
49
49
|
editingFrame: string | null;
|
|
50
|
-
elementsToHighlight: import("
|
|
51
|
-
editingTextElement: import("
|
|
52
|
-
editingLinearElement: import("
|
|
50
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
51
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
52
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
53
53
|
activeTool: {
|
|
54
54
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
55
55
|
locked: boolean;
|
|
56
|
+
fromSelection: boolean;
|
|
56
57
|
} & import("../types").ActiveTool;
|
|
57
58
|
penMode: boolean;
|
|
58
59
|
penDetected: boolean;
|
|
@@ -62,18 +63,18 @@ export declare const actionGroup: {
|
|
|
62
63
|
exportScale: number;
|
|
63
64
|
currentItemStrokeColor: string;
|
|
64
65
|
currentItemBackgroundColor: string;
|
|
65
|
-
currentItemFillStyle: import("
|
|
66
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
66
67
|
currentItemStrokeWidth: number;
|
|
67
|
-
currentItemStrokeStyle: import("
|
|
68
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
68
69
|
currentItemRoughness: number;
|
|
69
70
|
currentItemOpacity: number;
|
|
70
71
|
currentItemFontFamily: number;
|
|
71
72
|
currentItemFontSize: number;
|
|
72
73
|
currentItemTextAlign: string;
|
|
73
|
-
currentItemStartArrowhead: import("
|
|
74
|
-
currentItemEndArrowhead: import("
|
|
74
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
75
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
75
76
|
currentHoveredFontFamily: number | null;
|
|
76
|
-
currentItemRoundness: import("
|
|
77
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
77
78
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
78
79
|
viewBackgroundColor: string;
|
|
79
80
|
scrollX: number;
|
|
@@ -86,7 +87,7 @@ export declare const actionGroup: {
|
|
|
86
87
|
zoom: Readonly<{
|
|
87
88
|
value: import("../types").NormalizedZoomValue;
|
|
88
89
|
}>;
|
|
89
|
-
openMenu: "
|
|
90
|
+
openMenu: "shape" | "canvas" | null;
|
|
90
91
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
91
92
|
openSidebar: {
|
|
92
93
|
name: string;
|
|
@@ -104,7 +105,7 @@ export declare const actionGroup: {
|
|
|
104
105
|
sourceElementId: string;
|
|
105
106
|
} | null;
|
|
106
107
|
defaultSidebarDockedPreference: boolean;
|
|
107
|
-
lastPointerDownWith: import("
|
|
108
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
108
109
|
hoveredElementIds: Readonly<{
|
|
109
110
|
[id: string]: true;
|
|
110
111
|
}>;
|
|
@@ -119,7 +120,7 @@ export declare const actionGroup: {
|
|
|
119
120
|
duration?: number | undefined;
|
|
120
121
|
} | null;
|
|
121
122
|
zenModeEnabled: boolean;
|
|
122
|
-
theme: import("
|
|
123
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
123
124
|
gridSize: number;
|
|
124
125
|
gridStep: number;
|
|
125
126
|
gridModeEnabled: boolean;
|
|
@@ -136,7 +137,7 @@ export declare const actionGroup: {
|
|
|
136
137
|
[id: string]: true;
|
|
137
138
|
}> | undefined;
|
|
138
139
|
username?: string | null | undefined;
|
|
139
|
-
userState?: import("
|
|
140
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
140
141
|
color?: {
|
|
141
142
|
background: string;
|
|
142
143
|
stroke: string;
|
|
@@ -153,7 +154,7 @@ export declare const actionGroup: {
|
|
|
153
154
|
open: boolean;
|
|
154
155
|
panels: number;
|
|
155
156
|
};
|
|
156
|
-
currentChartType: import("
|
|
157
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
157
158
|
pasteDialog: {
|
|
158
159
|
shown: false;
|
|
159
160
|
data: null;
|
|
@@ -162,13 +163,13 @@ export declare const actionGroup: {
|
|
|
162
163
|
data: import("../charts").Spreadsheet;
|
|
163
164
|
};
|
|
164
165
|
pendingImageElementId: string | null;
|
|
165
|
-
showHyperlinkPopup: false | "
|
|
166
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
166
167
|
linkOpacity: number;
|
|
167
168
|
trayModeEnabled: boolean;
|
|
168
169
|
colorPalette?: {
|
|
169
|
-
canvasBackground: import("
|
|
170
|
-
elementBackground: import("
|
|
171
|
-
elementStroke: import("
|
|
170
|
+
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
171
|
+
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
172
|
+
elementStroke: import("@excalidraw/common").ColorPaletteCustom;
|
|
172
173
|
topPicks: {
|
|
173
174
|
canvasBackground: [string, string, string, string, string];
|
|
174
175
|
elementStroke: [string, string, string, string, string];
|
|
@@ -185,6 +186,10 @@ export declare const actionGroup: {
|
|
|
185
186
|
Bold: string;
|
|
186
187
|
Regular: string;
|
|
187
188
|
};
|
|
189
|
+
gridDirection: {
|
|
190
|
+
horizontal: boolean;
|
|
191
|
+
vertical: boolean;
|
|
192
|
+
};
|
|
188
193
|
highlightSearchResult: boolean;
|
|
189
194
|
dynamicStyle: {
|
|
190
195
|
[x: string]: string;
|
|
@@ -195,7 +200,7 @@ export declare const actionGroup: {
|
|
|
195
200
|
nameColor: string;
|
|
196
201
|
};
|
|
197
202
|
invertBindingBehaviour: boolean;
|
|
198
|
-
selectedLinearElement: import("
|
|
203
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
199
204
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
200
205
|
originSnapOffset: {
|
|
201
206
|
x: number;
|
|
@@ -239,13 +244,13 @@ export declare const actionUngroup: {
|
|
|
239
244
|
captureUpdate: "EVENTUALLY";
|
|
240
245
|
} | {
|
|
241
246
|
appState: {
|
|
247
|
+
editingGroupId: string | null;
|
|
242
248
|
selectedElementIds: Readonly<{
|
|
243
249
|
[id: string]: true;
|
|
244
250
|
}>;
|
|
245
251
|
selectedGroupIds: {
|
|
246
252
|
[groupId: string]: boolean;
|
|
247
253
|
};
|
|
248
|
-
editingGroupId: string | null;
|
|
249
254
|
contextMenu: {
|
|
250
255
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
251
256
|
top: number;
|
|
@@ -255,17 +260,17 @@ export declare const actionUngroup: {
|
|
|
255
260
|
isLoading: boolean;
|
|
256
261
|
errorMessage: import("react").ReactNode;
|
|
257
262
|
activeEmbeddable: {
|
|
258
|
-
element: import("
|
|
263
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
259
264
|
state: "active" | "hover";
|
|
260
265
|
} | null;
|
|
261
|
-
newElement: import("
|
|
262
|
-
resizingElement: import("
|
|
263
|
-
multiElement: import("
|
|
264
|
-
selectionElement: import("
|
|
266
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
267
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
268
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
269
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
265
270
|
isBindingEnabled: boolean;
|
|
266
|
-
startBoundElement: import("
|
|
267
|
-
suggestedBindings: import("
|
|
268
|
-
frameToHighlight: import("
|
|
271
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
272
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
273
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
269
274
|
frameRendering: {
|
|
270
275
|
enabled: boolean;
|
|
271
276
|
name: boolean;
|
|
@@ -273,12 +278,13 @@ export declare const actionUngroup: {
|
|
|
273
278
|
clip: boolean;
|
|
274
279
|
};
|
|
275
280
|
editingFrame: string | null;
|
|
276
|
-
elementsToHighlight: import("
|
|
277
|
-
editingTextElement: import("
|
|
278
|
-
editingLinearElement: import("
|
|
281
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
282
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
283
|
+
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
279
284
|
activeTool: {
|
|
280
285
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
281
286
|
locked: boolean;
|
|
287
|
+
fromSelection: boolean;
|
|
282
288
|
} & import("../types").ActiveTool;
|
|
283
289
|
penMode: boolean;
|
|
284
290
|
penDetected: boolean;
|
|
@@ -288,18 +294,18 @@ export declare const actionUngroup: {
|
|
|
288
294
|
exportScale: number;
|
|
289
295
|
currentItemStrokeColor: string;
|
|
290
296
|
currentItemBackgroundColor: string;
|
|
291
|
-
currentItemFillStyle: import("
|
|
297
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
292
298
|
currentItemStrokeWidth: number;
|
|
293
|
-
currentItemStrokeStyle: import("
|
|
299
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
294
300
|
currentItemRoughness: number;
|
|
295
301
|
currentItemOpacity: number;
|
|
296
302
|
currentItemFontFamily: number;
|
|
297
303
|
currentItemFontSize: number;
|
|
298
304
|
currentItemTextAlign: string;
|
|
299
|
-
currentItemStartArrowhead: import("
|
|
300
|
-
currentItemEndArrowhead: import("
|
|
305
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
306
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
301
307
|
currentHoveredFontFamily: number | null;
|
|
302
|
-
currentItemRoundness: import("
|
|
308
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
303
309
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
304
310
|
viewBackgroundColor: string;
|
|
305
311
|
scrollX: number;
|
|
@@ -312,7 +318,7 @@ export declare const actionUngroup: {
|
|
|
312
318
|
zoom: Readonly<{
|
|
313
319
|
value: import("../types").NormalizedZoomValue;
|
|
314
320
|
}>;
|
|
315
|
-
openMenu: "
|
|
321
|
+
openMenu: "shape" | "canvas" | null;
|
|
316
322
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
317
323
|
openSidebar: {
|
|
318
324
|
name: string;
|
|
@@ -330,7 +336,7 @@ export declare const actionUngroup: {
|
|
|
330
336
|
sourceElementId: string;
|
|
331
337
|
} | null;
|
|
332
338
|
defaultSidebarDockedPreference: boolean;
|
|
333
|
-
lastPointerDownWith: import("
|
|
339
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
334
340
|
hoveredElementIds: Readonly<{
|
|
335
341
|
[id: string]: true;
|
|
336
342
|
}>;
|
|
@@ -345,7 +351,7 @@ export declare const actionUngroup: {
|
|
|
345
351
|
duration?: number | undefined;
|
|
346
352
|
} | null;
|
|
347
353
|
zenModeEnabled: boolean;
|
|
348
|
-
theme: import("
|
|
354
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
349
355
|
gridSize: number;
|
|
350
356
|
gridStep: number;
|
|
351
357
|
gridModeEnabled: boolean;
|
|
@@ -362,7 +368,7 @@ export declare const actionUngroup: {
|
|
|
362
368
|
[id: string]: true;
|
|
363
369
|
}> | undefined;
|
|
364
370
|
username?: string | null | undefined;
|
|
365
|
-
userState?: import("
|
|
371
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
366
372
|
color?: {
|
|
367
373
|
background: string;
|
|
368
374
|
stroke: string;
|
|
@@ -379,7 +385,7 @@ export declare const actionUngroup: {
|
|
|
379
385
|
open: boolean;
|
|
380
386
|
panels: number;
|
|
381
387
|
};
|
|
382
|
-
currentChartType: import("
|
|
388
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
383
389
|
pasteDialog: {
|
|
384
390
|
shown: false;
|
|
385
391
|
data: null;
|
|
@@ -388,13 +394,13 @@ export declare const actionUngroup: {
|
|
|
388
394
|
data: import("../charts").Spreadsheet;
|
|
389
395
|
};
|
|
390
396
|
pendingImageElementId: string | null;
|
|
391
|
-
showHyperlinkPopup: false | "
|
|
397
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
392
398
|
linkOpacity: number;
|
|
393
399
|
trayModeEnabled: boolean;
|
|
394
400
|
colorPalette?: {
|
|
395
|
-
canvasBackground: import("
|
|
396
|
-
elementBackground: import("
|
|
397
|
-
elementStroke: import("
|
|
401
|
+
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
402
|
+
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
403
|
+
elementStroke: import("@excalidraw/common").ColorPaletteCustom;
|
|
398
404
|
topPicks: {
|
|
399
405
|
canvasBackground: [string, string, string, string, string];
|
|
400
406
|
elementStroke: [string, string, string, string, string];
|
|
@@ -411,6 +417,10 @@ export declare const actionUngroup: {
|
|
|
411
417
|
Bold: string;
|
|
412
418
|
Regular: string;
|
|
413
419
|
};
|
|
420
|
+
gridDirection: {
|
|
421
|
+
horizontal: boolean;
|
|
422
|
+
vertical: boolean;
|
|
423
|
+
};
|
|
414
424
|
highlightSearchResult: boolean;
|
|
415
425
|
dynamicStyle: {
|
|
416
426
|
[x: string]: string;
|
|
@@ -421,7 +431,7 @@ export declare const actionUngroup: {
|
|
|
421
431
|
nameColor: string;
|
|
422
432
|
};
|
|
423
433
|
invertBindingBehaviour: boolean;
|
|
424
|
-
selectedLinearElement: import("
|
|
434
|
+
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
425
435
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
426
436
|
originSnapOffset: {
|
|
427
437
|
x: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Action } from "./types";
|
|
2
1
|
import type { History } from "../history";
|
|
3
2
|
import type { Store } from "../store";
|
|
3
|
+
import type { Action } from "./types";
|
|
4
4
|
type ActionCreator = (history: History, store: Store) => Action;
|
|
5
5
|
export declare const createUndoAction: ActionCreator;
|
|
6
6
|
export declare const createRedoAction: ActionCreator;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { LinearElementEditor } from "
|
|
2
|
-
import type { ExcalidrawLinearElement } from "
|
|
1
|
+
import { LinearElementEditor } from "@excalidraw/element/linearElementEditor";
|
|
2
|
+
import type { ExcalidrawLinearElement } from "@excalidraw/element/types";
|
|
3
3
|
export declare const actionToggleLinearEditor: {
|
|
4
4
|
name: "toggleLinearEditor";
|
|
5
5
|
category: string;
|
|
6
|
-
label: (elements: readonly import("
|
|
6
|
+
label: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, app: import("../types").AppClassProperties) => "labels.lineEditor.editArrow" | "labels.lineEditor.edit";
|
|
7
7
|
keywords: string[];
|
|
8
8
|
trackEvent: {
|
|
9
9
|
category: "element";
|
|
10
10
|
};
|
|
11
|
-
predicate: (elements: readonly import("
|
|
12
|
-
perform(elements: readonly import("
|
|
11
|
+
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
12
|
+
perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties): {
|
|
13
13
|
appState: {
|
|
14
14
|
editingLinearElement: LinearElementEditor | null;
|
|
15
15
|
contextMenu: {
|
|
@@ -21,17 +21,17 @@ export declare const actionToggleLinearEditor: {
|
|
|
21
21
|
isLoading: boolean;
|
|
22
22
|
errorMessage: import("react").ReactNode;
|
|
23
23
|
activeEmbeddable: {
|
|
24
|
-
element: import("
|
|
24
|
+
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
25
25
|
state: "active" | "hover";
|
|
26
26
|
} | null;
|
|
27
|
-
newElement: import("
|
|
28
|
-
resizingElement: import("
|
|
29
|
-
multiElement: import("
|
|
30
|
-
selectionElement: import("
|
|
27
|
+
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
28
|
+
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
29
|
+
multiElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
30
|
+
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
31
31
|
isBindingEnabled: boolean;
|
|
32
|
-
startBoundElement: import("
|
|
33
|
-
suggestedBindings: import("
|
|
34
|
-
frameToHighlight: import("
|
|
32
|
+
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
33
|
+
suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
|
|
34
|
+
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
35
35
|
frameRendering: {
|
|
36
36
|
enabled: boolean;
|
|
37
37
|
name: boolean;
|
|
@@ -39,11 +39,12 @@ export declare const actionToggleLinearEditor: {
|
|
|
39
39
|
clip: boolean;
|
|
40
40
|
};
|
|
41
41
|
editingFrame: string | null;
|
|
42
|
-
elementsToHighlight: import("
|
|
43
|
-
editingTextElement: import("
|
|
42
|
+
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
43
|
+
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
44
44
|
activeTool: {
|
|
45
45
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
46
46
|
locked: boolean;
|
|
47
|
+
fromSelection: boolean;
|
|
47
48
|
} & import("../types").ActiveTool;
|
|
48
49
|
penMode: boolean;
|
|
49
50
|
penDetected: boolean;
|
|
@@ -53,18 +54,18 @@ export declare const actionToggleLinearEditor: {
|
|
|
53
54
|
exportScale: number;
|
|
54
55
|
currentItemStrokeColor: string;
|
|
55
56
|
currentItemBackgroundColor: string;
|
|
56
|
-
currentItemFillStyle: import("
|
|
57
|
+
currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
|
|
57
58
|
currentItemStrokeWidth: number;
|
|
58
|
-
currentItemStrokeStyle: import("
|
|
59
|
+
currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
|
|
59
60
|
currentItemRoughness: number;
|
|
60
61
|
currentItemOpacity: number;
|
|
61
62
|
currentItemFontFamily: number;
|
|
62
63
|
currentItemFontSize: number;
|
|
63
64
|
currentItemTextAlign: string;
|
|
64
|
-
currentItemStartArrowhead: import("
|
|
65
|
-
currentItemEndArrowhead: import("
|
|
65
|
+
currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
66
|
+
currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
66
67
|
currentHoveredFontFamily: number | null;
|
|
67
|
-
currentItemRoundness: import("
|
|
68
|
+
currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
|
|
68
69
|
currentItemArrowType: "round" | "sharp" | "elbow";
|
|
69
70
|
viewBackgroundColor: string;
|
|
70
71
|
scrollX: number;
|
|
@@ -77,7 +78,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
77
78
|
zoom: Readonly<{
|
|
78
79
|
value: import("../types").NormalizedZoomValue;
|
|
79
80
|
}>;
|
|
80
|
-
openMenu: "
|
|
81
|
+
openMenu: "shape" | "canvas" | null;
|
|
81
82
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
82
83
|
openSidebar: {
|
|
83
84
|
name: string;
|
|
@@ -95,7 +96,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
95
96
|
sourceElementId: string;
|
|
96
97
|
} | null;
|
|
97
98
|
defaultSidebarDockedPreference: boolean;
|
|
98
|
-
lastPointerDownWith: import("
|
|
99
|
+
lastPointerDownWith: import("@excalidraw/element/types").PointerType;
|
|
99
100
|
selectedElementIds: Readonly<{
|
|
100
101
|
[id: string]: true;
|
|
101
102
|
}>;
|
|
@@ -113,7 +114,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
113
114
|
duration?: number | undefined;
|
|
114
115
|
} | null;
|
|
115
116
|
zenModeEnabled: boolean;
|
|
116
|
-
theme: import("
|
|
117
|
+
theme: import("@excalidraw/element/types").Theme;
|
|
117
118
|
gridSize: number;
|
|
118
119
|
gridStep: number;
|
|
119
120
|
gridModeEnabled: boolean;
|
|
@@ -134,7 +135,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
134
135
|
[id: string]: true;
|
|
135
136
|
}> | undefined;
|
|
136
137
|
username?: string | null | undefined;
|
|
137
|
-
userState?: import("
|
|
138
|
+
userState?: import("@excalidraw/common").UserIdleState | undefined;
|
|
138
139
|
color?: {
|
|
139
140
|
background: string;
|
|
140
141
|
stroke: string;
|
|
@@ -151,7 +152,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
151
152
|
open: boolean;
|
|
152
153
|
panels: number;
|
|
153
154
|
};
|
|
154
|
-
currentChartType: import("
|
|
155
|
+
currentChartType: import("@excalidraw/element/types").ChartType;
|
|
155
156
|
pasteDialog: {
|
|
156
157
|
shown: false;
|
|
157
158
|
data: null;
|
|
@@ -160,13 +161,13 @@ export declare const actionToggleLinearEditor: {
|
|
|
160
161
|
data: import("../charts").Spreadsheet;
|
|
161
162
|
};
|
|
162
163
|
pendingImageElementId: string | null;
|
|
163
|
-
showHyperlinkPopup: false | "
|
|
164
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
164
165
|
linkOpacity: number;
|
|
165
166
|
trayModeEnabled: boolean;
|
|
166
167
|
colorPalette?: {
|
|
167
|
-
canvasBackground: import("
|
|
168
|
-
elementBackground: import("
|
|
169
|
-
elementStroke: import("
|
|
168
|
+
canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
169
|
+
elementBackground: import("@excalidraw/common").ColorPaletteCustom;
|
|
170
|
+
elementStroke: import("@excalidraw/common").ColorPaletteCustom;
|
|
170
171
|
topPicks: {
|
|
171
172
|
canvasBackground: [string, string, string, string, string];
|
|
172
173
|
elementStroke: [string, string, string, string, string];
|
|
@@ -183,6 +184,10 @@ export declare const actionToggleLinearEditor: {
|
|
|
183
184
|
Bold: string;
|
|
184
185
|
Regular: string;
|
|
185
186
|
};
|
|
187
|
+
gridDirection: {
|
|
188
|
+
horizontal: boolean;
|
|
189
|
+
vertical: boolean;
|
|
190
|
+
};
|
|
186
191
|
highlightSearchResult: boolean;
|
|
187
192
|
dynamicStyle: {
|
|
188
193
|
[x: string]: string;
|