@zsviczian/excalidraw 0.15.3-obsidian → 0.16.1-obsidian-1
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 +318 -87
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +0 -9
- package/package.json +3 -3
- package/types/actions/actionAddToLibrary.d.ts +24 -3
- package/types/actions/actionAlign.d.ts +6 -6
- package/types/actions/actionBoundText.d.ts +16 -2
- package/types/actions/actionCanvas.d.ts +100 -16
- package/types/actions/actionClipboard.d.ts +40 -5
- package/types/actions/actionDeleteSelected.d.ts +25 -4
- package/types/actions/actionDistribute.d.ts +2 -2
- package/types/actions/actionDuplicateSelection.d.ts +1 -1
- package/types/actions/actionElementLock.d.ts +16 -2
- package/types/actions/actionExport.d.ts +78 -15
- package/types/actions/actionFinalize.d.ts +17 -3
- package/types/actions/actionFrame.d.ts +24 -3
- package/types/actions/actionGroup.d.ts +18 -4
- package/types/actions/actionLinearEditor.d.ts +8 -1
- package/types/actions/actionMenu.d.ts +26 -5
- package/types/actions/actionNavigate.d.ts +1 -1
- package/types/actions/actionProperties.d.ts +119 -26
- package/types/actions/actionSelectAll.d.ts +8 -1
- package/types/actions/actionStyles.d.ts +8 -1
- package/types/actions/actionToggleGridMode.d.ts +8 -1
- package/types/actions/actionToggleObjectsSnapMode.d.ts +169 -0
- package/types/actions/actionToggleStats.d.ts +8 -1
- package/types/actions/actionToggleViewMode.d.ts +8 -1
- package/types/actions/actionToggleZenMode.d.ts +8 -1
- package/types/actions/actionZindex.d.ts +4 -4
- package/types/actions/index.d.ts +1 -0
- package/types/actions/manager.d.ts +1 -1
- package/types/actions/shortcuts.d.ts +1 -1
- package/types/actions/types.d.ts +1 -1
- package/types/appState.d.ts +2 -1
- package/types/components/Actions.d.ts +6 -6
- package/types/components/ActiveConfirmDialog.d.ts +1 -1
- package/types/components/App.d.ts +22 -4
- package/types/components/Avatar.d.ts +1 -1
- package/types/components/BraveMeasureTextError.d.ts +1 -1
- package/types/components/Button.d.ts +1 -1
- package/types/components/ButtonIconSelect.d.ts +1 -1
- package/types/components/ColorPicker/ColorInput.d.ts +3 -1
- package/types/components/ColorPicker/ColorPicker.d.ts +1 -1
- package/types/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/types/components/ColorPicker/HotkeyLabel.d.ts +1 -1
- package/types/components/ColorPicker/Picker.d.ts +1 -1
- package/types/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/types/components/ColorPicker/PickerHeading.d.ts +1 -1
- package/types/components/ColorPicker/ShadeList.d.ts +1 -1
- package/types/components/ColorPicker/TopPicks.d.ts +1 -1
- package/types/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/types/components/ConfirmDialog.d.ts +1 -1
- package/types/components/ContextMenu.d.ts +1 -1
- package/types/components/DarkModeToggle.d.ts +1 -1
- package/types/components/DefaultSidebar.d.ts +1 -1
- package/types/components/Dialog.d.ts +1 -1
- package/types/components/DialogActionButton.d.ts +1 -1
- package/types/components/ErrorDialog.d.ts +1 -1
- package/types/components/ExcalidrawLogo.d.ts +15 -0
- package/types/components/EyeDropper.d.ts +18 -7
- package/types/components/FixedSideContainer.d.ts +1 -1
- package/types/components/HandButton.d.ts +1 -1
- package/types/components/HelpButton.d.ts +1 -1
- package/types/components/HelpDialog.d.ts +1 -1
- package/types/components/HintViewer.d.ts +1 -1
- package/types/components/IconPicker.d.ts +1 -1
- package/types/components/ImageExportDialog.d.ts +2 -2
- package/types/components/InitializeApp.d.ts +1 -1
- package/types/components/JSONExportDialog.d.ts +1 -1
- package/types/components/LayerUI.d.ts +1 -1
- package/types/components/LibraryMenu.d.ts +2 -2
- package/types/components/LibraryMenuBrowseButton.d.ts +1 -1
- package/types/components/LibraryMenuControlButtons.d.ts +1 -1
- package/types/components/LibraryMenuHeaderContent.d.ts +1 -1
- package/types/components/LibraryMenuItems.d.ts +1 -1
- package/types/components/LibraryMenuSection.d.ts +2 -2
- package/types/components/LibraryUnit.d.ts +2 -2
- package/types/components/LockButton.d.ts +1 -1
- package/types/components/MermaidToExcalidraw.d.ts +12 -0
- package/types/components/MobileMenu.d.ts +1 -1
- package/types/components/OverwriteConfirm/OverwriteConfirm.d.ts +4 -4
- package/types/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +6 -6
- package/types/components/PasteChartDialog.d.ts +1 -1
- package/types/components/PenModeButton.d.ts +1 -1
- package/types/components/Popover.d.ts +1 -1
- package/types/components/ProjectName.d.ts +1 -1
- package/types/components/PublishLibrary.d.ts +1 -1
- package/types/components/RadioGroup.d.ts +1 -1
- package/types/components/Sidebar/Sidebar.d.ts +8 -8
- package/types/components/Sidebar/SidebarHeader.d.ts +1 -1
- package/types/components/Sidebar/SidebarTab.d.ts +1 -1
- package/types/components/Sidebar/SidebarTabTrigger.d.ts +1 -1
- package/types/components/Sidebar/SidebarTabTriggers.d.ts +1 -1
- package/types/components/Sidebar/SidebarTabs.d.ts +1 -1
- package/types/components/Sidebar/SidebarTrigger.d.ts +1 -1
- package/types/components/Spinner.d.ts +1 -1
- package/types/components/Stack.d.ts +2 -2
- package/types/components/Stats.d.ts +1 -1
- package/types/components/Switch.d.ts +1 -1
- package/types/components/Toast.d.ts +1 -1
- package/types/components/Tooltip.d.ts +1 -1
- package/types/components/canvases/InteractiveCanvas.d.ts +1 -1
- package/types/components/canvases/StaticCanvas.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenu.d.ts +8 -8
- package/types/components/dropdownMenu/DropdownMenuContent.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuGroup.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuItemContent.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuItemCustom.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuItemLink.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuSeparator.d.ts +1 -1
- package/types/components/dropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/types/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -2
- package/types/components/footer/Footer.d.ts +1 -1
- package/types/components/footer/FooterCenter.d.ts +1 -1
- package/types/components/icons.d.ts +128 -126
- package/types/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
- package/types/components/main-menu/DefaultItems.d.ts +10 -10
- package/types/components/main-menu/MainMenu.d.ts +6 -6
- package/types/components/welcome-screen/WelcomeScreen.Center.d.ts +9 -9
- package/types/components/welcome-screen/WelcomeScreen.Hints.d.ts +3 -3
- package/types/components/welcome-screen/WelcomeScreen.d.ts +13 -13
- package/types/constants.d.ts +5 -0
- package/types/data/transform.d.ts +3 -1
- package/types/element/Hyperlink.d.ts +10 -3
- package/types/element/bounds.d.ts +4 -5
- package/types/element/dragElements.d.ts +11 -2
- package/types/element/embeddable.d.ts +8 -1
- package/types/element/linearElementEditor.d.ts +9 -2
- package/types/element/resizeElements.d.ts +2 -2
- package/types/frame.d.ts +1 -1
- package/types/hooks/useStable.d.ts +1 -0
- package/types/keys.d.ts +1 -0
- package/types/math.d.ts +2 -0
- package/types/packages/excalidraw/example/App.d.ts +1 -1
- package/types/packages/excalidraw/example/CustomFooter.d.ts +1 -1
- package/types/packages/excalidraw/example/MobileFooter.d.ts +1 -1
- package/types/packages/excalidraw/example/sidebar/ExampleSidebar.d.ts +1 -1
- package/types/packages/excalidraw/index.d.ts +1 -1
- package/types/packages/excalidraw/webpack.dev.config.d.ts +11 -0
- package/types/packages/excalidraw/webpack.prod.config.d.ts +11 -0
- package/types/packages/utils.d.ts +1 -0
- package/types/renderer/renderSnaps.d.ts +2 -0
- package/types/scene/selection.d.ts +1 -0
- package/types/shapes.d.ts +10 -10
- package/types/snapping.d.ts +108 -0
- package/types/types.d.ts +26 -3
- package/types/utils.d.ts +1 -1
|
@@ -60,7 +60,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
60
60
|
lastActiveTool: import("../types").LastActiveTool;
|
|
61
61
|
locked: boolean;
|
|
62
62
|
} & ({
|
|
63
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
63
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
64
64
|
customType: null;
|
|
65
65
|
} | {
|
|
66
66
|
type: "custom";
|
|
@@ -162,10 +162,17 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
162
162
|
gridColor: {
|
|
163
163
|
Bold: string;
|
|
164
164
|
Regular: string;
|
|
165
|
+
MajorGridFrequency?: number | undefined;
|
|
165
166
|
};
|
|
166
167
|
dynamicStyle: string;
|
|
167
168
|
invertBindingBehaviour: boolean;
|
|
168
169
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
170
|
+
snapLines: import("../snapping").SnapLine[];
|
|
171
|
+
originSnapOffset: {
|
|
172
|
+
x: number;
|
|
173
|
+
y: number;
|
|
174
|
+
} | null;
|
|
175
|
+
objectsSnapModeEnabled: boolean;
|
|
169
176
|
};
|
|
170
177
|
commitToHistory: true;
|
|
171
178
|
} | {
|
|
@@ -221,7 +228,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
221
228
|
lastActiveTool: import("../types").LastActiveTool;
|
|
222
229
|
locked: boolean;
|
|
223
230
|
} & ({
|
|
224
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
231
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
225
232
|
customType: null;
|
|
226
233
|
} | {
|
|
227
234
|
type: "custom";
|
|
@@ -326,10 +333,17 @@ export declare const actionupdateFrameRendering: {
|
|
|
326
333
|
gridColor: {
|
|
327
334
|
Bold: string;
|
|
328
335
|
Regular: string;
|
|
336
|
+
MajorGridFrequency?: number | undefined;
|
|
329
337
|
};
|
|
330
338
|
dynamicStyle: string;
|
|
331
339
|
invertBindingBehaviour: boolean;
|
|
332
340
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
341
|
+
snapLines: import("../snapping").SnapLine[];
|
|
342
|
+
originSnapOffset: {
|
|
343
|
+
x: number;
|
|
344
|
+
y: number;
|
|
345
|
+
} | null;
|
|
346
|
+
objectsSnapModeEnabled: boolean;
|
|
333
347
|
};
|
|
334
348
|
commitToHistory: false;
|
|
335
349
|
};
|
|
@@ -350,7 +364,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
350
364
|
lastActiveTool: import("../types").LastActiveTool;
|
|
351
365
|
locked: boolean;
|
|
352
366
|
} & ({
|
|
353
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
367
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
354
368
|
customType: null;
|
|
355
369
|
} | {
|
|
356
370
|
type: "custom";
|
|
@@ -485,10 +499,17 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
485
499
|
gridColor: {
|
|
486
500
|
Bold: string;
|
|
487
501
|
Regular: string;
|
|
502
|
+
MajorGridFrequency?: number | undefined;
|
|
488
503
|
};
|
|
489
504
|
dynamicStyle: string;
|
|
490
505
|
invertBindingBehaviour: boolean;
|
|
491
506
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
507
|
+
snapLines: import("../snapping").SnapLine[];
|
|
508
|
+
originSnapOffset: {
|
|
509
|
+
x: number;
|
|
510
|
+
y: number;
|
|
511
|
+
} | null;
|
|
512
|
+
objectsSnapModeEnabled: boolean;
|
|
492
513
|
};
|
|
493
514
|
commitToHistory: false;
|
|
494
515
|
};
|
|
@@ -52,7 +52,7 @@ export declare const actionGroup: {
|
|
|
52
52
|
lastActiveTool: import("../types").LastActiveTool;
|
|
53
53
|
locked: boolean;
|
|
54
54
|
} & ({
|
|
55
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
55
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
56
56
|
customType: null;
|
|
57
57
|
} | {
|
|
58
58
|
type: "custom";
|
|
@@ -150,10 +150,17 @@ export declare const actionGroup: {
|
|
|
150
150
|
gridColor: {
|
|
151
151
|
Bold: string;
|
|
152
152
|
Regular: string;
|
|
153
|
+
MajorGridFrequency?: number | undefined;
|
|
153
154
|
};
|
|
154
155
|
dynamicStyle: string;
|
|
155
156
|
invertBindingBehaviour: boolean;
|
|
156
157
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
158
|
+
snapLines: import("../snapping").SnapLine[];
|
|
159
|
+
originSnapOffset: {
|
|
160
|
+
x: number;
|
|
161
|
+
y: number;
|
|
162
|
+
} | null;
|
|
163
|
+
objectsSnapModeEnabled: boolean;
|
|
157
164
|
};
|
|
158
165
|
elements: ExcalidrawElement[];
|
|
159
166
|
commitToHistory: true;
|
|
@@ -161,7 +168,7 @@ export declare const actionGroup: {
|
|
|
161
168
|
contextItemLabel: string;
|
|
162
169
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
163
170
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
164
|
-
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
|
|
171
|
+
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
165
172
|
} & {
|
|
166
173
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
167
174
|
};
|
|
@@ -217,7 +224,7 @@ export declare const actionUngroup: {
|
|
|
217
224
|
lastActiveTool: import("../types").LastActiveTool;
|
|
218
225
|
locked: boolean;
|
|
219
226
|
} & ({
|
|
220
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
227
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
221
228
|
customType: null;
|
|
222
229
|
} | {
|
|
223
230
|
type: "custom";
|
|
@@ -315,10 +322,17 @@ export declare const actionUngroup: {
|
|
|
315
322
|
gridColor: {
|
|
316
323
|
Bold: string;
|
|
317
324
|
Regular: string;
|
|
325
|
+
MajorGridFrequency?: number | undefined;
|
|
318
326
|
};
|
|
319
327
|
dynamicStyle: string;
|
|
320
328
|
invertBindingBehaviour: boolean;
|
|
321
329
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
330
|
+
snapLines: import("../snapping").SnapLine[];
|
|
331
|
+
originSnapOffset: {
|
|
332
|
+
x: number;
|
|
333
|
+
y: number;
|
|
334
|
+
} | null;
|
|
335
|
+
objectsSnapModeEnabled: boolean;
|
|
322
336
|
};
|
|
323
337
|
elements: ExcalidrawElement[];
|
|
324
338
|
commitToHistory: true;
|
|
@@ -326,7 +340,7 @@ export declare const actionUngroup: {
|
|
|
326
340
|
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
327
341
|
contextItemLabel: string;
|
|
328
342
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
|
|
329
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
343
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
330
344
|
} & {
|
|
331
345
|
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
332
346
|
};
|
|
@@ -42,7 +42,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
42
42
|
lastActiveTool: import("../types").LastActiveTool;
|
|
43
43
|
locked: boolean;
|
|
44
44
|
} & ({
|
|
45
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
45
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
46
46
|
customType: null;
|
|
47
47
|
} | {
|
|
48
48
|
type: "custom";
|
|
@@ -147,10 +147,17 @@ export declare const actionToggleLinearEditor: {
|
|
|
147
147
|
gridColor: {
|
|
148
148
|
Bold: string;
|
|
149
149
|
Regular: string;
|
|
150
|
+
MajorGridFrequency?: number | undefined;
|
|
150
151
|
};
|
|
151
152
|
dynamicStyle: string;
|
|
152
153
|
invertBindingBehaviour: boolean;
|
|
153
154
|
selectedLinearElement: LinearElementEditor | null;
|
|
155
|
+
snapLines: import("../snapping").SnapLine[];
|
|
156
|
+
originSnapOffset: {
|
|
157
|
+
x: number;
|
|
158
|
+
y: number;
|
|
159
|
+
} | null;
|
|
160
|
+
objectsSnapModeEnabled: boolean;
|
|
154
161
|
};
|
|
155
162
|
commitToHistory: false;
|
|
156
163
|
};
|
|
@@ -40,7 +40,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
40
40
|
lastActiveTool: import("../types").LastActiveTool;
|
|
41
41
|
locked: boolean;
|
|
42
42
|
} & ({
|
|
43
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
43
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
44
44
|
customType: null;
|
|
45
45
|
} | {
|
|
46
46
|
type: "custom";
|
|
@@ -144,14 +144,21 @@ export declare const actionToggleCanvasMenu: {
|
|
|
144
144
|
gridColor: {
|
|
145
145
|
Bold: string;
|
|
146
146
|
Regular: string;
|
|
147
|
+
MajorGridFrequency?: number | undefined;
|
|
147
148
|
};
|
|
148
149
|
dynamicStyle: string;
|
|
149
150
|
invertBindingBehaviour: boolean;
|
|
150
151
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
152
|
+
snapLines: import("../snapping").SnapLine[];
|
|
153
|
+
originSnapOffset: {
|
|
154
|
+
x: number;
|
|
155
|
+
y: number;
|
|
156
|
+
} | null;
|
|
157
|
+
objectsSnapModeEnabled: boolean;
|
|
151
158
|
};
|
|
152
159
|
commitToHistory: false;
|
|
153
160
|
};
|
|
154
|
-
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
161
|
+
PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
155
162
|
} & {
|
|
156
163
|
keyTest?: undefined;
|
|
157
164
|
};
|
|
@@ -197,7 +204,7 @@ export declare const actionToggleEditMenu: {
|
|
|
197
204
|
lastActiveTool: import("../types").LastActiveTool;
|
|
198
205
|
locked: boolean;
|
|
199
206
|
} & ({
|
|
200
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
207
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
201
208
|
customType: null;
|
|
202
209
|
} | {
|
|
203
210
|
type: "custom";
|
|
@@ -301,14 +308,21 @@ export declare const actionToggleEditMenu: {
|
|
|
301
308
|
gridColor: {
|
|
302
309
|
Bold: string;
|
|
303
310
|
Regular: string;
|
|
311
|
+
MajorGridFrequency?: number | undefined;
|
|
304
312
|
};
|
|
305
313
|
dynamicStyle: string;
|
|
306
314
|
invertBindingBehaviour: boolean;
|
|
307
315
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
316
|
+
snapLines: import("../snapping").SnapLine[];
|
|
317
|
+
originSnapOffset: {
|
|
318
|
+
x: number;
|
|
319
|
+
y: number;
|
|
320
|
+
} | null;
|
|
321
|
+
objectsSnapModeEnabled: boolean;
|
|
308
322
|
};
|
|
309
323
|
commitToHistory: false;
|
|
310
324
|
};
|
|
311
|
-
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
|
|
325
|
+
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
312
326
|
} & {
|
|
313
327
|
keyTest?: undefined;
|
|
314
328
|
};
|
|
@@ -370,7 +384,7 @@ export declare const actionShortcuts: {
|
|
|
370
384
|
lastActiveTool: import("../types").LastActiveTool;
|
|
371
385
|
locked: boolean;
|
|
372
386
|
} & ({
|
|
373
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
387
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand" | "mermaid";
|
|
374
388
|
customType: null;
|
|
375
389
|
} | {
|
|
376
390
|
type: "custom";
|
|
@@ -474,10 +488,17 @@ export declare const actionShortcuts: {
|
|
|
474
488
|
gridColor: {
|
|
475
489
|
Bold: string;
|
|
476
490
|
Regular: string;
|
|
491
|
+
MajorGridFrequency?: number | undefined;
|
|
477
492
|
};
|
|
478
493
|
dynamicStyle: string;
|
|
479
494
|
invertBindingBehaviour: boolean;
|
|
480
495
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
496
|
+
snapLines: import("../snapping").SnapLine[];
|
|
497
|
+
originSnapOffset: {
|
|
498
|
+
x: number;
|
|
499
|
+
y: number;
|
|
500
|
+
} | null;
|
|
501
|
+
objectsSnapModeEnabled: boolean;
|
|
481
502
|
};
|
|
482
503
|
commitToHistory: false;
|
|
483
504
|
};
|
|
@@ -8,7 +8,7 @@ export declare const actionGoToCollaborator: {
|
|
|
8
8
|
appState: Readonly<import("../types").AppState>;
|
|
9
9
|
commitToHistory: false;
|
|
10
10
|
};
|
|
11
|
-
PanelComponent: ({ updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
|
|
11
|
+
PanelComponent: ({ updateData, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
} & {
|
|
13
13
|
keyTest?: undefined;
|
|
14
14
|
};
|