@dwelle/excalidraw 0.6.0-rc.1 → 0.6.0-rc.2
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 +3 -2
- package/dist/dev/{chunk-EFVS2MI5.js → chunk-LCPOPWNR.js} +2 -2
- package/dist/dev/{chunk-EFVS2MI5.js.map → chunk-LCPOPWNR.js.map} +1 -1
- package/dist/dev/chunk-NGUTX5QY.js +25914 -0
- package/dist/dev/chunk-NGUTX5QY.js.map +7 -0
- package/dist/dev/data/image-2IPPJHZ4.js +13 -0
- package/dist/dev/index.css.map +1 -1
- package/dist/dev/index.js +33216 -35
- 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-P7457GAF.js → chunk-BE2LY6VO.js} +1 -1
- package/dist/prod/chunk-R7OERAXD.js +46 -0
- package/dist/prod/data/image-DXJVNPGL.js +1 -0
- package/dist/prod/index.js +108 -1
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/excalidraw/actions/actionAlign.d.ts +12 -12
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +18 -18
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionExport.d.ts +19 -19
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionFrame.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionGroup.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionLink.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionMenu.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionProperties.d.ts +16 -16
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionStyles.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionZindex.d.ts +10 -10
- package/dist/types/excalidraw/actions/manager.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +9 -9
- package/dist/types/excalidraw/clipboard.d.ts +4 -4
- package/dist/types/excalidraw/components/Actions.d.ts +6 -7
- package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -2
- package/dist/types/excalidraw/components/App.d.ts +1 -1
- package/dist/types/excalidraw/components/Avatar.d.ts +1 -1
- package/dist/types/excalidraw/components/BraveMeasureTextError.d.ts +1 -2
- package/dist/types/excalidraw/components/Button.d.ts +1 -1
- package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -1
- package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +2 -2
- package/dist/types/excalidraw/components/ButtonIconSelect.d.ts +2 -2
- package/dist/types/excalidraw/components/ButtonSelect.d.ts +1 -2
- package/dist/types/excalidraw/components/ButtonSeparator.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/PickerHeading.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -2
- package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -2
- package/dist/types/excalidraw/components/ConfirmDialog.d.ts +1 -2
- package/dist/types/excalidraw/components/ContextMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -2
- package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
- package/dist/types/excalidraw/components/Dialog.d.ts +1 -1
- package/dist/types/excalidraw/components/DialogActionButton.d.ts +1 -1
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -2
- package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
- package/dist/types/excalidraw/components/FixedSideContainer.d.ts +1 -1
- package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +1 -2
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -2
- package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/HandButton.d.ts +1 -2
- package/dist/types/excalidraw/components/HelpButton.d.ts +1 -2
- package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -2
- package/dist/types/excalidraw/components/HintViewer.d.ts +1 -2
- package/dist/types/excalidraw/components/IconPicker.d.ts +2 -2
- package/dist/types/excalidraw/components/ImageExportDialog.d.ts +2 -3
- package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
- package/dist/types/excalidraw/components/InlineIcon.d.ts +1 -2
- package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/LaserPointerButton.d.ts +1 -2
- package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuBrowseButton.d.ts +1 -2
- package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -2
- package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuItems.d.ts +1 -2
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +2 -2
- package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -2
- package/dist/types/excalidraw/components/LockButton.d.ts +1 -2
- package/dist/types/excalidraw/components/MagicButton.d.ts +2 -2
- package/dist/types/excalidraw/components/MobileMenu.d.ts +2 -1
- package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +4 -4
- package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +6 -6
- package/dist/types/excalidraw/components/Paragraph.d.ts +1 -2
- package/dist/types/excalidraw/components/PasteChartDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/PenModeButton.d.ts +1 -2
- package/dist/types/excalidraw/components/Popover.d.ts +1 -1
- package/dist/types/excalidraw/components/ProjectName.d.ts +1 -2
- package/dist/types/excalidraw/components/PublishLibrary.d.ts +1 -2
- package/dist/types/excalidraw/components/RadioGroup.d.ts +1 -1
- package/dist/types/excalidraw/components/Range.d.ts +1 -2
- package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -2
- package/dist/types/excalidraw/components/ScrollableList.d.ts +1 -1
- package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -2
- package/dist/types/excalidraw/components/ShareableLinkDialog.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +6 -6
- package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -1
- package/dist/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/Sidebar/common.d.ts +1 -0
- package/dist/types/excalidraw/components/Spinner.d.ts +1 -2
- package/dist/types/excalidraw/components/Stack.d.ts +2 -3
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -2
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -2
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -2
- package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -2
- package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -2
- package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -2
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -2
- package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -2
- package/dist/types/excalidraw/components/Stats/index.d.ts +4 -4
- package/dist/types/excalidraw/components/Switch.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +2 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +1 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +2 -1
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
- package/dist/types/excalidraw/components/Toast.d.ts +1 -1
- package/dist/types/excalidraw/components/Tooltip.d.ts +1 -1
- package/dist/types/excalidraw/components/UserList.d.ts +1 -1
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -2
- package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -2
- package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +11 -11
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +4 -3
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +2 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +2 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSeparator.d.ts +1 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -2
- package/dist/types/excalidraw/components/footer/Footer.d.ts +1 -2
- package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +1 -2
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -2
- package/dist/types/excalidraw/components/icons.d.ts +178 -178
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +12 -13
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +9 -9
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +10 -10
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +3 -4
- package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -15
- package/dist/types/excalidraw/constants.d.ts +1 -0
- package/dist/types/excalidraw/data/blob.d.ts +1 -1
- package/dist/types/excalidraw/element/ElementCanvasButtons.d.ts +1 -2
- package/dist/types/excalidraw/element/binding.d.ts +1 -2
- package/dist/types/excalidraw/element/collision.d.ts +10 -1
- package/dist/types/excalidraw/element/distance.d.ts +3 -0
- package/dist/types/excalidraw/element/newElement.d.ts +1 -1
- package/dist/types/excalidraw/element/transformHandles.d.ts +2 -2
- package/dist/types/excalidraw/element/types.d.ts +1 -1
- package/dist/types/excalidraw/element/utils.d.ts +21 -0
- package/dist/types/excalidraw/fonts/FontMetadata.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -1
- package/dist/types/excalidraw/index.d.ts +1 -3
- package/dist/types/excalidraw/shapes.d.ts +11 -12
- package/dist/types/excalidraw/types.d.ts +1 -0
- package/dist/types/excalidraw/utils.d.ts +3 -3
- package/dist/types/excalidraw/visualdebug.d.ts +7 -8
- package/dist/types/excalidraw/zindex.d.ts +2 -2
- package/dist/types/math/curve.d.ts +22 -14
- package/dist/types/math/ellipse.d.ts +44 -0
- package/dist/types/math/index.d.ts +1 -1
- package/dist/types/math/line.d.ts +2 -30
- package/dist/types/math/point.d.ts +1 -29
- package/dist/types/math/rectangle.d.ts +3 -0
- package/dist/types/math/segment.d.ts +8 -1
- package/dist/types/math/types.d.ts +15 -6
- package/dist/types/math/vector.d.ts +0 -4
- package/dist/types/utils/export.d.ts +1 -1
- package/package.json +5 -5
- package/dist/dev/chunk-637CAVTS.js +0 -57639
- package/dist/dev/chunk-637CAVTS.js.map +0 -7
- package/dist/dev/data/image-N6Y7BWW6.css +0 -6753
- package/dist/dev/data/image-N6Y7BWW6.css.map +0 -7
- package/dist/dev/data/image-QMQX6YR5.js +0 -15
- package/dist/prod/chunk-PEDHHNBJ.js +0 -153
- package/dist/prod/data/image-IP6M4LZC.js +0 -1
- package/dist/prod/data/image-KGQIL6Y4.css +0 -1
- package/dist/types/math/arc.d.ts +0 -6
- package/dist/types/math/ga/ga.d.ts +0 -63
- package/dist/types/math/ga/gadirections.d.ts +0 -8
- package/dist/types/math/ga/galines.d.ts +0 -22
- package/dist/types/math/ga/gapoints.d.ts +0 -7
- package/dist/types/math/ga/gatransforms.d.ts +0 -10
- /package/dist/dev/data/{image-QMQX6YR5.js.map → image-2IPPJHZ4.js.map} +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import "./ShareableLinkDialog.scss";
|
|
3
2
|
export type ShareableLinkDialogProps = {
|
|
4
3
|
link: string;
|
|
5
4
|
onCloseRequest: () => void;
|
|
6
5
|
setErrorMessage: (error: string) => void;
|
|
7
6
|
};
|
|
8
|
-
export declare const ShareableLinkDialog: ({ link, onCloseRequest, setErrorMessage, }: ShareableLinkDialogProps) => JSX.Element;
|
|
7
|
+
export declare const ShareableLinkDialog: ({ link, onCloseRequest, setErrorMessage, }: ShareableLinkDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -39,13 +39,13 @@ export declare const Sidebar: React.ForwardRefExoticComponent<{
|
|
|
39
39
|
({ children, className, }: {
|
|
40
40
|
children?: React.ReactNode;
|
|
41
41
|
className?: string | undefined;
|
|
42
|
-
}): JSX.Element;
|
|
42
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
43
43
|
displayName: string;
|
|
44
44
|
};
|
|
45
45
|
TabTriggers: {
|
|
46
46
|
({ children, ...rest }: {
|
|
47
47
|
children: React.ReactNode;
|
|
48
|
-
} & Omit<React.RefAttributes<HTMLDivElement>, "onSelect">): JSX.Element;
|
|
48
|
+
} & Omit<React.RefAttributes<HTMLDivElement>, "onSelect">): import("react/jsx-runtime").JSX.Element;
|
|
49
49
|
displayName: string;
|
|
50
50
|
};
|
|
51
51
|
TabTrigger: {
|
|
@@ -53,24 +53,24 @@ export declare const Sidebar: React.ForwardRefExoticComponent<{
|
|
|
53
53
|
children: React.ReactNode;
|
|
54
54
|
tab: string;
|
|
55
55
|
onSelect?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
56
|
-
} & Omit<React.HTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
|
|
56
|
+
} & Omit<React.HTMLAttributes<HTMLButtonElement>, "onSelect">): import("react/jsx-runtime").JSX.Element;
|
|
57
57
|
displayName: string;
|
|
58
58
|
};
|
|
59
59
|
Tabs: {
|
|
60
60
|
({ children, ...rest }: {
|
|
61
61
|
children: React.ReactNode;
|
|
62
|
-
} & Omit<React.RefAttributes<HTMLDivElement>, "onSelect">): JSX.Element | null;
|
|
62
|
+
} & Omit<React.RefAttributes<HTMLDivElement>, "onSelect">): import("react/jsx-runtime").JSX.Element | null;
|
|
63
63
|
displayName: string;
|
|
64
64
|
};
|
|
65
65
|
Tab: {
|
|
66
66
|
({ tab, children, ...rest }: {
|
|
67
67
|
tab: string;
|
|
68
68
|
children: React.ReactNode;
|
|
69
|
-
} & React.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
69
|
+
} & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
70
70
|
displayName: string;
|
|
71
71
|
};
|
|
72
72
|
Trigger: {
|
|
73
|
-
({ name, tab, icon, title, children, onToggle, className, style, }: import("./common").SidebarTriggerProps): JSX.Element;
|
|
73
|
+
({ name, tab, icon, title, children, onToggle, className, style, }: import("./common").SidebarTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
74
74
|
displayName: string;
|
|
75
75
|
};
|
|
76
76
|
};
|
|
@@ -4,6 +4,6 @@ export declare const SidebarTab: {
|
|
|
4
4
|
({ tab, children, ...rest }: {
|
|
5
5
|
tab: SidebarTabName;
|
|
6
6
|
children: React.ReactNode;
|
|
7
|
-
} & import("react").HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
7
|
+
} & import("react").HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
@@ -5,6 +5,6 @@ export declare const SidebarTabTrigger: {
|
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
tab: SidebarTabName;
|
|
7
7
|
onSelect?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
8
|
-
} & Omit<import("react").HTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
|
|
8
|
+
} & Omit<import("react").HTMLAttributes<HTMLButtonElement>, "onSelect">): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
export declare const SidebarTabTriggers: {
|
|
3
3
|
({ children, ...rest }: {
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
-
} & Omit<import("react").RefAttributes<HTMLDivElement>, "onSelect">): JSX.Element;
|
|
5
|
+
} & Omit<import("react").RefAttributes<HTMLDivElement>, "onSelect">): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
export declare const SidebarTabs: {
|
|
3
3
|
({ children, ...rest }: {
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
-
} & Omit<import("react").RefAttributes<HTMLDivElement>, "onSelect">): JSX.Element | null;
|
|
5
|
+
} & Omit<import("react").RefAttributes<HTMLDivElement>, "onSelect">): import("react/jsx-runtime").JSX.Element | null;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { SidebarTriggerProps } from "./common";
|
|
3
2
|
import "./SidebarTrigger.scss";
|
|
4
3
|
export declare const SidebarTrigger: {
|
|
5
|
-
({ name, tab, icon, title, children, onToggle, className, style, }: SidebarTriggerProps): JSX.Element;
|
|
4
|
+
({ name, tab, icon, title, children, onToggle, className, style, }: SidebarTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
displayName: string;
|
|
7
6
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import "./Spinner.scss";
|
|
3
2
|
declare const Spinner: ({ size, circleWidth, synchronized, className, }: {
|
|
4
3
|
size?: string | number | undefined;
|
|
5
4
|
circleWidth?: number | undefined;
|
|
6
5
|
synchronized?: boolean | undefined;
|
|
7
6
|
className?: string | undefined;
|
|
8
|
-
}) => JSX.Element;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export default Spinner;
|
|
@@ -7,10 +7,9 @@ type StackProps = {
|
|
|
7
7
|
justifyContent?: "center" | "space-around" | "space-between";
|
|
8
8
|
className?: string | boolean;
|
|
9
9
|
style?: React.CSSProperties;
|
|
10
|
-
ref: React.RefObject<HTMLDivElement>;
|
|
11
10
|
};
|
|
12
11
|
declare const _default: {
|
|
13
|
-
Row: React.ForwardRefExoticComponent<
|
|
14
|
-
Col: React.ForwardRefExoticComponent<
|
|
12
|
+
Row: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
Col: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
14
|
};
|
|
16
15
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawElement } from "../../element/types";
|
|
3
2
|
import type Scene from "../../scene/Scene";
|
|
4
3
|
import type { AppState } from "../../types";
|
|
@@ -8,5 +7,5 @@ interface AngleProps {
|
|
|
8
7
|
appState: AppState;
|
|
9
8
|
property: "angle";
|
|
10
9
|
}
|
|
11
|
-
declare const Angle: ({ element, scene, appState, property }: AngleProps) => JSX.Element;
|
|
10
|
+
declare const Angle: ({ element, scene, appState, property }: AngleProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export default Angle;
|
|
@@ -7,5 +7,5 @@ interface PositionProps {
|
|
|
7
7
|
appState: AppState;
|
|
8
8
|
setAppState: React.Component<any, AppState>["setState"];
|
|
9
9
|
}
|
|
10
|
-
declare const CanvasGrid: ({ property, scene, appState, setAppState, }: PositionProps) => JSX.Element;
|
|
10
|
+
declare const CanvasGrid: ({ property, scene, appState, setAppState, }: PositionProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default CanvasGrid;
|
|
@@ -6,5 +6,5 @@ interface CollapsibleProps {
|
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
|
-
declare const Collapsible: ({ label, open, openTrigger, children, className, }: CollapsibleProps) => JSX.Element;
|
|
9
|
+
declare const Collapsible: ({ label, open, openTrigger, children, className, }: CollapsibleProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default Collapsible;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawElement } from "../../element/types";
|
|
3
2
|
import type Scene from "../../scene/Scene";
|
|
4
3
|
import type { AppState } from "../../types";
|
|
@@ -8,5 +7,5 @@ interface DimensionDragInputProps {
|
|
|
8
7
|
scene: Scene;
|
|
9
8
|
appState: AppState;
|
|
10
9
|
}
|
|
11
|
-
declare const DimensionDragInput: ({ property, element, scene, appState, }: DimensionDragInputProps) => JSX.Element;
|
|
10
|
+
declare const DimensionDragInput: ({ property, element, scene, appState, }: DimensionDragInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export default DimensionDragInput;
|
|
@@ -31,5 +31,5 @@ interface StatsDragInputProps<T extends StatsInputProperty, E = ExcalidrawElemen
|
|
|
31
31
|
/** how many px you need to drag to get 1 unit change */
|
|
32
32
|
sensitivity?: number;
|
|
33
33
|
}
|
|
34
|
-
declare const StatsDragInput: <T extends StatsInputProperty, E extends ExcalidrawElement = ExcalidrawElement>({ label, icon, dragInputCallback, value, elements, editable, shouldKeepAspectRatio, property, scene, appState, sensitivity, }: StatsDragInputProps<T, E>) => JSX.Element | null;
|
|
34
|
+
declare const StatsDragInput: <T extends StatsInputProperty, E extends ExcalidrawElement = ExcalidrawElement>({ label, icon, dragInputCallback, value, elements, editable, shouldKeepAspectRatio, property, scene, appState, sensitivity, }: StatsDragInputProps<T, E>) => import("react/jsx-runtime").JSX.Element | null;
|
|
35
35
|
export default StatsDragInput;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawElement } from "../../element/types";
|
|
3
2
|
import type Scene from "../../scene/Scene";
|
|
4
3
|
import type { AppState } from "../../types";
|
|
@@ -8,5 +7,5 @@ interface FontSizeProps {
|
|
|
8
7
|
appState: AppState;
|
|
9
8
|
property: "fontSize";
|
|
10
9
|
}
|
|
11
|
-
declare const FontSize: ({ element, scene, appState, property }: FontSizeProps) => JSX.Element | null;
|
|
10
|
+
declare const FontSize: ({ element, scene, appState, property }: FontSizeProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
11
|
export default FontSize;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawElement } from "../../element/types";
|
|
3
2
|
import type Scene from "../../scene/Scene";
|
|
4
3
|
import type { AppState } from "../../types";
|
|
@@ -8,5 +7,5 @@ interface MultiAngleProps {
|
|
|
8
7
|
appState: AppState;
|
|
9
8
|
property: "angle";
|
|
10
9
|
}
|
|
11
|
-
declare const MultiAngle: ({ elements, scene, appState, property, }: MultiAngleProps) => JSX.Element;
|
|
10
|
+
declare const MultiAngle: ({ elements, scene, appState, property, }: MultiAngleProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export default MultiAngle;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawElement, NonDeletedSceneElementsMap } from "../../element/types";
|
|
3
2
|
import type Scene from "../../scene/Scene";
|
|
4
3
|
import type { AppState } from "../../types";
|
|
@@ -11,5 +10,5 @@ interface MultiDimensionProps {
|
|
|
11
10
|
scene: Scene;
|
|
12
11
|
appState: AppState;
|
|
13
12
|
}
|
|
14
|
-
declare const MultiDimension: ({ property, elements, elementsMap, atomicUnits, scene, appState, }: MultiDimensionProps) => JSX.Element;
|
|
13
|
+
declare const MultiDimension: ({ property, elements, elementsMap, atomicUnits, scene, appState, }: MultiDimensionProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
export default MultiDimension;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawElement, NonDeletedSceneElementsMap } from "../../element/types";
|
|
3
2
|
import type Scene from "../../scene/Scene";
|
|
4
3
|
import type { AppState } from "../../types";
|
|
@@ -9,5 +8,5 @@ interface MultiFontSizeProps {
|
|
|
9
8
|
appState: AppState;
|
|
10
9
|
property: "fontSize";
|
|
11
10
|
}
|
|
12
|
-
declare const MultiFontSize: ({ elements, scene, appState, property, elementsMap, }: MultiFontSizeProps) => JSX.Element | null;
|
|
11
|
+
declare const MultiFontSize: ({ elements, scene, appState, property, elementsMap, }: MultiFontSizeProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
13
12
|
export default MultiFontSize;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ElementsMap, ExcalidrawElement } from "../../element/types";
|
|
3
2
|
import type Scene from "../../scene/Scene";
|
|
4
3
|
import type { AtomicUnit } from "./utils";
|
|
@@ -11,5 +10,5 @@ interface MultiPositionProps {
|
|
|
11
10
|
scene: Scene;
|
|
12
11
|
appState: AppState;
|
|
13
12
|
}
|
|
14
|
-
declare const MultiPosition: ({ property, elements, elementsMap, atomicUnits, scene, appState, }: MultiPositionProps) => JSX.Element;
|
|
13
|
+
declare const MultiPosition: ({ property, elements, elementsMap, atomicUnits, scene, appState, }: MultiPositionProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
export default MultiPosition;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ElementsMap, ExcalidrawElement } from "../../element/types";
|
|
3
2
|
import type Scene from "../../scene/Scene";
|
|
4
3
|
import type { AppState } from "../../types";
|
|
@@ -9,5 +8,5 @@ interface PositionProps {
|
|
|
9
8
|
scene: Scene;
|
|
10
9
|
appState: AppState;
|
|
11
10
|
}
|
|
12
|
-
declare const Position: ({ property, element, elementsMap, scene, appState, }: PositionProps) => JSX.Element;
|
|
11
|
+
declare const Position: ({ property, element, elementsMap, scene, appState, }: PositionProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export default Position;
|
|
@@ -8,14 +8,14 @@ interface StatsProps {
|
|
|
8
8
|
renderCustomStats: ExcalidrawProps["renderCustomStats"];
|
|
9
9
|
}
|
|
10
10
|
export declare const Stats: {
|
|
11
|
-
(props: StatsProps): JSX.Element;
|
|
11
|
+
(props: StatsProps): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
StatsRow: {
|
|
13
13
|
({ children, columns, heading, style, ...rest }: {
|
|
14
14
|
children: React.ReactNode;
|
|
15
15
|
columns?: number | undefined;
|
|
16
16
|
heading?: boolean | undefined;
|
|
17
17
|
style?: import("react").CSSProperties | undefined;
|
|
18
|
-
} & import("react").HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
18
|
+
} & import("react").HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
displayName: string;
|
|
20
20
|
};
|
|
21
21
|
StatsRows: {
|
|
@@ -23,7 +23,7 @@ export declare const Stats: {
|
|
|
23
23
|
children: React.ReactNode;
|
|
24
24
|
order?: number | undefined;
|
|
25
25
|
style?: import("react").CSSProperties | undefined;
|
|
26
|
-
} & import("react").HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
26
|
+
} & import("react").HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
displayName: string;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
@@ -32,5 +32,5 @@ export declare const StatsInner: import("react").MemoExoticComponent<({ app, onC
|
|
|
32
32
|
selectedElements: readonly NonDeletedExcalidrawElement[];
|
|
33
33
|
appState: AppState;
|
|
34
34
|
gridModeEnabled: boolean;
|
|
35
|
-
}) => JSX.Element>;
|
|
35
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
36
36
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import "./Switch.scss";
|
|
3
2
|
export type SwitchProps = {
|
|
4
3
|
name: string;
|
|
@@ -7,4 +6,4 @@ export type SwitchProps = {
|
|
|
7
6
|
onChange: (value: boolean) => void;
|
|
8
7
|
disabled?: boolean;
|
|
9
8
|
};
|
|
10
|
-
export declare const Switch: ({ title, name, checked, onChange, disabled, }: SwitchProps) => JSX.Element;
|
|
9
|
+
export declare const Switch: ({ title, name, checked, onChange, disabled, }: SwitchProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import "./MermaidToExcalidraw.scss";
|
|
3
2
|
import type { MermaidToExcalidrawLibProps } from "./common";
|
|
4
3
|
declare const MermaidToExcalidraw: ({ mermaidToExcalidrawLib, }: {
|
|
5
4
|
mermaidToExcalidrawLib: MermaidToExcalidrawLibProps;
|
|
6
|
-
}) => JSX.Element;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export default MermaidToExcalidraw;
|
|
@@ -14,7 +14,7 @@ export declare const TTDDialog: (props: {
|
|
|
14
14
|
onTextSubmit(value: string): Promise<OnTestSubmitRetValue>;
|
|
15
15
|
} | {
|
|
16
16
|
__fallback: true;
|
|
17
|
-
}) => JSX.Element | null;
|
|
17
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
18
18
|
/**
|
|
19
19
|
* Text to diagram (TTD) dialog
|
|
20
20
|
*/
|
|
@@ -5,5 +5,5 @@ interface TTDDialogInputProps {
|
|
|
5
5
|
onChange: ChangeEventHandler<HTMLTextAreaElement>;
|
|
6
6
|
onKeyboardSubmit?: () => void;
|
|
7
7
|
}
|
|
8
|
-
export declare const TTDDialogInput: ({ input, placeholder, onChange, onKeyboardSubmit, }: TTDDialogInputProps) => JSX.Element;
|
|
8
|
+
export declare const TTDDialogInput: ({ input, placeholder, onChange, onKeyboardSubmit, }: TTDDialogInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
interface TTDDialogOutputProps {
|
|
3
3
|
error: Error | null;
|
|
4
|
-
canvasRef: React.RefObject<HTMLDivElement>;
|
|
4
|
+
canvasRef: React.RefObject<HTMLDivElement | null>;
|
|
5
5
|
loaded: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const TTDDialogOutput: ({ error, canvasRef, loaded, }: TTDDialogOutputProps) => JSX.Element;
|
|
7
|
+
export declare const TTDDialogOutput: ({ error, canvasRef, loaded, }: TTDDialogOutputProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -13,5 +13,5 @@ interface TTDDialogPanelProps {
|
|
|
13
13
|
renderSubmitShortcut?: () => ReactNode;
|
|
14
14
|
renderBottomRight?: () => ReactNode;
|
|
15
15
|
}
|
|
16
|
-
export declare const TTDDialogPanel: ({ label, children, panelAction, panelActionDisabled, onTextSubmitInProgess, renderTopRight, renderSubmitShortcut, renderBottomRight, }: TTDDialogPanelProps) => JSX.Element;
|
|
16
|
+
export declare const TTDDialogPanel: ({ label, children, panelAction, panelActionDisabled, onTextSubmitInProgess, renderTopRight, renderSubmitShortcut, renderBottomRight, }: TTDDialogPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const TTDDialogSubmitShortcut: () => JSX.Element;
|
|
1
|
+
export declare const TTDDialogSubmitShortcut: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,6 +3,6 @@ export declare const TTDDialogTab: {
|
|
|
3
3
|
({ tab, children, ...rest }: {
|
|
4
4
|
tab: string;
|
|
5
5
|
children: React.ReactNode;
|
|
6
|
-
} & import("react").HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
6
|
+
} & import("react").HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
@@ -4,6 +4,6 @@ export declare const TTDDialogTabTrigger: {
|
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
tab: string;
|
|
6
6
|
onSelect?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
7
|
-
} & Omit<import("react").HTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
|
|
7
|
+
} & Omit<import("react").HTMLAttributes<HTMLButtonElement>, "onSelect">): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
export declare const TTDDialogTabTriggers: {
|
|
3
3
|
({ children, ...rest }: {
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
-
} & import("react").HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
5
|
+
} & import("react").HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { JSX } from "react";
|
|
1
2
|
import type { ReactNode } from "react";
|
|
2
3
|
export declare const TTDDialogTrigger: {
|
|
3
4
|
({ children, icon, }: {
|
|
4
5
|
children?: ReactNode;
|
|
5
6
|
icon?: JSX.Element | undefined;
|
|
6
|
-
}): JSX.Element;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
displayName: string;
|
|
8
9
|
};
|
|
@@ -10,7 +10,7 @@ export interface MermaidToExcalidrawLibProps {
|
|
|
10
10
|
}>;
|
|
11
11
|
}
|
|
12
12
|
interface ConvertMermaidToExcalidrawFormatProps {
|
|
13
|
-
canvasRef: React.RefObject<HTMLDivElement>;
|
|
13
|
+
canvasRef: React.RefObject<HTMLDivElement | null>;
|
|
14
14
|
mermaidToExcalidrawLib: MermaidToExcalidrawLibProps;
|
|
15
15
|
mermaidDefinition: string;
|
|
16
16
|
setError: (error: Error | null) => void;
|
|
@@ -14,5 +14,5 @@ type TooltipProps = {
|
|
|
14
14
|
style?: React.CSSProperties;
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
};
|
|
17
|
-
export declare const Tooltip: ({ children, label, long, style, disabled, }: TooltipProps) => JSX.Element | null;
|
|
17
|
+
export declare const Tooltip: ({ children, label, long, style, disabled, }: TooltipProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
18
18
|
export {};
|
|
@@ -14,5 +14,5 @@ type UserListProps = {
|
|
|
14
14
|
collaborators: Map<SocketId, UserListUserObject>;
|
|
15
15
|
userToFollow: SocketId | null;
|
|
16
16
|
};
|
|
17
|
-
export declare const UserList: React.MemoExoticComponent<({ className, mobile, collaborators, userToFollow }: UserListProps) => JSX.Element>;
|
|
17
|
+
export declare const UserList: React.MemoExoticComponent<({ className, mobile, collaborators, userToFollow }: UserListProps) => import("react/jsx-runtime").JSX.Element>;
|
|
18
18
|
export {};
|
|
@@ -4,7 +4,7 @@ import type { Device, InteractiveCanvasAppState } from "../../types";
|
|
|
4
4
|
import type { RenderableElementsMap, RenderInteractiveSceneCallback } from "../../scene/types";
|
|
5
5
|
import type { NonDeletedExcalidrawElement, NonDeletedSceneElementsMap } from "../../element/types";
|
|
6
6
|
type InteractiveCanvasProps = {
|
|
7
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
7
|
+
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
8
8
|
canvas: HTMLCanvasElement | null;
|
|
9
9
|
elementsMap: RenderableElementsMap;
|
|
10
10
|
visibleElements: readonly NonDeletedExcalidrawElement[];
|
|
@@ -25,5 +25,5 @@ type InteractiveCanvasProps = {
|
|
|
25
25
|
onPointerDown: Exclude<DOMAttributes<HTMLCanvasElement>["onPointerDown"], undefined>;
|
|
26
26
|
onDoubleClick: Exclude<DOMAttributes<HTMLCanvasElement>["onDoubleClick"], undefined>;
|
|
27
27
|
};
|
|
28
|
-
declare const _default: React.MemoExoticComponent<(props: InteractiveCanvasProps) => JSX.Element>;
|
|
28
|
+
declare const _default: React.MemoExoticComponent<(props: InteractiveCanvasProps) => import("react/jsx-runtime").JSX.Element>;
|
|
29
29
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { NonDeletedSceneElementsMap } from "../../element/types";
|
|
3
2
|
import type { AppState } from "../../types";
|
|
4
3
|
import type { RenderableElementsMap, StaticCanvasRenderConfig } from "../../scene/types";
|
|
@@ -11,5 +10,5 @@ interface NewElementCanvasProps {
|
|
|
11
10
|
rc: RoughCanvas;
|
|
12
11
|
renderConfig: StaticCanvasRenderConfig;
|
|
13
12
|
}
|
|
14
|
-
declare const NewElementCanvas: (props: NewElementCanvasProps) => JSX.Element;
|
|
13
|
+
declare const NewElementCanvas: (props: NewElementCanvasProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
export default NewElementCanvas;
|
|
@@ -15,5 +15,5 @@ type StaticCanvasProps = {
|
|
|
15
15
|
appState: StaticCanvasAppState;
|
|
16
16
|
renderConfig: StaticCanvasRenderConfig;
|
|
17
17
|
};
|
|
18
|
-
declare const _default: React.MemoExoticComponent<(props: StaticCanvasProps) => JSX.Element>;
|
|
18
|
+
declare const _default: React.MemoExoticComponent<(props: StaticCanvasProps) => import("react/jsx-runtime").JSX.Element>;
|
|
19
19
|
export default _default;
|
|
@@ -4,14 +4,14 @@ declare const DropdownMenu: {
|
|
|
4
4
|
({ children, open, }: {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
open: boolean;
|
|
7
|
-
}): JSX.Element;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
Trigger: {
|
|
9
9
|
({ className, children, onToggle, title, ...rest }: {
|
|
10
10
|
className?: string | undefined;
|
|
11
11
|
children: React.ReactNode;
|
|
12
12
|
onToggle: () => void;
|
|
13
13
|
title?: string | undefined;
|
|
14
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
|
|
14
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onSelect">): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
displayName: string;
|
|
16
16
|
};
|
|
17
17
|
Content: {
|
|
@@ -21,12 +21,12 @@ declare const DropdownMenu: {
|
|
|
21
21
|
className?: string | undefined;
|
|
22
22
|
onSelect?: ((event: Event) => void) | undefined;
|
|
23
23
|
style?: React.CSSProperties | undefined;
|
|
24
|
-
}): JSX.Element;
|
|
24
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
displayName: string;
|
|
26
26
|
};
|
|
27
27
|
Item: {
|
|
28
28
|
({ icon, value, order, children, shortcut, className, hovered, selected, textStyle, onSelect, onClick, ...rest }: {
|
|
29
|
-
icon?: JSX.Element | undefined;
|
|
29
|
+
icon?: React.JSX.Element | undefined;
|
|
30
30
|
value?: string | number | undefined;
|
|
31
31
|
order?: number | undefined;
|
|
32
32
|
onSelect?: ((event: Event) => void) | undefined;
|
|
@@ -36,7 +36,7 @@ declare const DropdownMenu: {
|
|
|
36
36
|
selected?: boolean | undefined;
|
|
37
37
|
textStyle?: React.CSSProperties | undefined;
|
|
38
38
|
className?: string | undefined;
|
|
39
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
|
|
39
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onSelect">): import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
displayName: string;
|
|
41
41
|
Badge: {
|
|
42
42
|
({ type, children, }: {
|
|
@@ -46,39 +46,39 @@ declare const DropdownMenu: {
|
|
|
46
46
|
readonly BLUE: "blue";
|
|
47
47
|
}> | undefined;
|
|
48
48
|
children: React.ReactNode;
|
|
49
|
-
}): JSX.Element;
|
|
49
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
50
50
|
displayName: string;
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
ItemLink: {
|
|
54
54
|
({ icon, shortcut, href, children, onSelect, className, selected, rel, ...rest }: {
|
|
55
55
|
href: string;
|
|
56
|
-
icon?: JSX.Element | undefined;
|
|
56
|
+
icon?: React.JSX.Element | undefined;
|
|
57
57
|
children: React.ReactNode;
|
|
58
58
|
shortcut?: string | undefined;
|
|
59
59
|
className?: string | undefined;
|
|
60
60
|
selected?: boolean | undefined;
|
|
61
61
|
onSelect?: ((event: Event) => void) | undefined;
|
|
62
62
|
rel?: string | undefined;
|
|
63
|
-
} & React.AnchorHTMLAttributes<HTMLAnchorElement>): JSX.Element;
|
|
63
|
+
} & React.AnchorHTMLAttributes<HTMLAnchorElement>): import("react/jsx-runtime").JSX.Element;
|
|
64
64
|
displayName: string;
|
|
65
65
|
};
|
|
66
66
|
ItemCustom: ({ children, className, selected, ...rest }: {
|
|
67
67
|
children: React.ReactNode;
|
|
68
68
|
className?: string | undefined;
|
|
69
69
|
selected?: boolean | undefined;
|
|
70
|
-
} & React.HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
70
|
+
} & React.HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
71
71
|
Group: {
|
|
72
72
|
({ children, className, style, title, }: {
|
|
73
73
|
children: React.ReactNode;
|
|
74
74
|
className?: string | undefined;
|
|
75
75
|
style?: React.CSSProperties | undefined;
|
|
76
76
|
title?: string | undefined;
|
|
77
|
-
}): JSX.Element;
|
|
77
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
78
78
|
displayName: string;
|
|
79
79
|
};
|
|
80
80
|
Separator: {
|
|
81
|
-
(): JSX.Element;
|
|
81
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
82
82
|
displayName: string;
|
|
83
83
|
};
|
|
84
84
|
displayName: string;
|