@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,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface HotkeyLabelProps {
|
|
3
2
|
color: string;
|
|
4
3
|
keyLabel: string | number;
|
|
5
4
|
isCustomColor?: boolean;
|
|
6
5
|
isShade?: boolean;
|
|
7
6
|
}
|
|
8
|
-
declare const HotkeyLabel: ({ color, keyLabel, isCustomColor, isShade, }: HotkeyLabelProps) => JSX.Element;
|
|
7
|
+
declare const HotkeyLabel: ({ color, keyLabel, isCustomColor, isShade, }: HotkeyLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export default HotkeyLabel;
|
|
@@ -14,5 +14,5 @@ interface PickerProps {
|
|
|
14
14
|
onEyeDropperToggle: (force?: boolean) => void;
|
|
15
15
|
onEscape: (event: React.KeyboardEvent | KeyboardEvent) => void;
|
|
16
16
|
}
|
|
17
|
-
export declare const Picker: ({ color, onChange, label, type, elements, palette, updateData, children, onEyeDropperToggle, onEscape, }: PickerProps) => JSX.Element;
|
|
17
|
+
export declare const Picker: ({ color, onChange, label, type, elements, palette, updateData, children, onEyeDropperToggle, onEscape, }: PickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ColorPaletteCustom } from "../../colors";
|
|
3
2
|
interface PickerColorListProps {
|
|
4
3
|
palette: ColorPaletteCustom;
|
|
@@ -7,5 +6,5 @@ interface PickerColorListProps {
|
|
|
7
6
|
label: string;
|
|
8
7
|
activeShade: number;
|
|
9
8
|
}
|
|
10
|
-
declare const PickerColorList: ({ palette, color, onChange, label, activeShade, }: PickerColorListProps) => JSX.Element;
|
|
9
|
+
declare const PickerColorList: ({ palette, color, onChange, label, activeShade, }: PickerColorListProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export default PickerColorList;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ColorPaletteCustom } from "../../colors";
|
|
3
2
|
interface ShadeListProps {
|
|
4
3
|
hex: string;
|
|
5
4
|
onChange: (color: string) => void;
|
|
6
5
|
palette: ColorPaletteCustom;
|
|
7
6
|
}
|
|
8
|
-
export declare const ShadeList: ({ hex, onChange, palette }: ShadeListProps) => JSX.Element;
|
|
7
|
+
export declare const ShadeList: ({ hex, onChange, palette }: ShadeListProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ColorPickerType } from "./colorPickerUtils";
|
|
3
2
|
interface TopPicksProps {
|
|
4
3
|
onChange: (color: string) => void;
|
|
@@ -6,5 +5,5 @@ interface TopPicksProps {
|
|
|
6
5
|
activeColor: string;
|
|
7
6
|
topPicks?: readonly string[];
|
|
8
7
|
}
|
|
9
|
-
export declare const TopPicks: ({ onChange, type, activeColor, topPicks, }: TopPicksProps) => JSX.Element | null;
|
|
8
|
+
export declare const TopPicks: ({ onChange, type, activeColor, topPicks, }: TopPicksProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
9
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { CommandPaletteItem } from "./types";
|
|
3
2
|
import * as defaultItems from "./defaultCommandPaletteItems";
|
|
4
3
|
import "./CommandPalette.scss";
|
|
@@ -13,7 +12,7 @@ export declare const DEFAULT_CATEGORIES: {
|
|
|
13
12
|
type CommandPaletteProps = {
|
|
14
13
|
customCommandPaletteItems?: CommandPaletteItem[];
|
|
15
14
|
};
|
|
16
|
-
export declare const CommandPalette: ((props: CommandPaletteProps) => JSX.Element | null) & {
|
|
15
|
+
export declare const CommandPalette: ((props: CommandPaletteProps) => import("react/jsx-runtime").JSX.Element | null) & {
|
|
17
16
|
defaultItems: typeof defaultItems;
|
|
18
17
|
};
|
|
19
18
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { DialogProps } from "./Dialog";
|
|
3
2
|
import "./ConfirmDialog.scss";
|
|
4
3
|
interface Props extends Omit<DialogProps, "onCloseRequest"> {
|
|
@@ -7,5 +6,5 @@ interface Props extends Omit<DialogProps, "onCloseRequest"> {
|
|
|
7
6
|
confirmText?: string;
|
|
8
7
|
cancelText?: string;
|
|
9
8
|
}
|
|
10
|
-
declare const ConfirmDialog: (props: Props) => JSX.Element;
|
|
9
|
+
declare const ConfirmDialog: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export default ConfirmDialog;
|
|
@@ -12,5 +12,5 @@ type ContextMenuProps = {
|
|
|
12
12
|
onClose: (callback?: () => void) => void;
|
|
13
13
|
};
|
|
14
14
|
export declare const CONTEXT_MENU_SEPARATOR = "separator";
|
|
15
|
-
export declare const ContextMenu: React.MemoExoticComponent<({ actionManager, items, top, left, onClose }: ContextMenuProps) => JSX.Element>;
|
|
15
|
+
export declare const ContextMenu: React.MemoExoticComponent<({ actionManager, items, top, left, onClose }: ContextMenuProps) => import("react/jsx-runtime").JSX.Element>;
|
|
16
16
|
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import "./ToolIcon.scss";
|
|
3
2
|
import type { Theme } from "../element/types";
|
|
4
3
|
export declare const DarkModeToggle: (props: {
|
|
5
4
|
value: Theme;
|
|
6
5
|
onChange: (value: Theme) => void;
|
|
7
6
|
title?: string | undefined;
|
|
8
|
-
}) => JSX.Element;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,5 +6,5 @@ interface DialogActionButtonProps {
|
|
|
6
6
|
actionType?: "primary" | "danger";
|
|
7
7
|
isLoading?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const DialogActionButton: ({ label, onClick, className, children, actionType, type, isLoading, ...rest }: DialogActionButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>) => JSX.Element;
|
|
9
|
+
declare const DialogActionButton: ({ label, onClick, className, children, actionType, type, isLoading, ...rest }: DialogActionButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default DialogActionButton;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { AppProps, UIAppState } from "../types";
|
|
3
2
|
import type { ElementsMap, ExcalidrawElement } from "../element/types";
|
|
4
3
|
import "./ElementLinkDialog.scss";
|
|
@@ -8,5 +7,5 @@ declare const ElementLinkDialog: ({ sourceElementId, onClose, elementsMap, appSt
|
|
|
8
7
|
appState: UIAppState;
|
|
9
8
|
onClose?: (() => void) | undefined;
|
|
10
9
|
generateLinkForSelection: AppProps["generateLinkForSelection"];
|
|
11
|
-
}) => JSX.Element;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export default ElementLinkDialog;
|
|
@@ -12,5 +12,5 @@ interface LogoProps {
|
|
|
12
12
|
*/
|
|
13
13
|
isNotLink?: boolean;
|
|
14
14
|
}
|
|
15
|
-
export declare const ExcalidrawLogo: ({ style, size, withText, }: LogoProps) => JSX.Element;
|
|
15
|
+
export declare const ExcalidrawLogo: ({ style, size, withText, }: LogoProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -5,5 +5,5 @@ type FixedSideContainerProps = {
|
|
|
5
5
|
side: "top" | "left" | "right";
|
|
6
6
|
className?: string;
|
|
7
7
|
};
|
|
8
|
-
export declare const FixedSideContainer: ({ children, side, className, }: FixedSideContainerProps) => JSX.Element;
|
|
8
|
+
export declare const FixedSideContainer: ({ children, side, className, }: FixedSideContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { UserToFollow } from "../../types";
|
|
3
2
|
import "./FollowMode.scss";
|
|
4
3
|
interface FollowModeProps {
|
|
@@ -7,5 +6,5 @@ interface FollowModeProps {
|
|
|
7
6
|
userToFollow: UserToFollow;
|
|
8
7
|
onDisconnect: () => void;
|
|
9
8
|
}
|
|
10
|
-
declare const FollowMode: ({ height, width, userToFollow, onDisconnect, }: FollowModeProps) => JSX.Element;
|
|
9
|
+
declare const FollowMode: ({ height, width, userToFollow, onDisconnect, }: FollowModeProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export default FollowMode;
|
|
@@ -3,7 +3,7 @@ import type { FontFamilyValues } from "../../element/types";
|
|
|
3
3
|
import "./FontPicker.scss";
|
|
4
4
|
export declare const DEFAULT_FONTS: {
|
|
5
5
|
value: number;
|
|
6
|
-
icon: JSX.Element;
|
|
6
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
text: string;
|
|
8
8
|
testId: string;
|
|
9
9
|
}[];
|
|
@@ -17,5 +17,5 @@ interface FontPickerProps {
|
|
|
17
17
|
onLeave: () => void;
|
|
18
18
|
onPopupChange: (open: boolean) => void;
|
|
19
19
|
}
|
|
20
|
-
export declare const FontPicker: React.MemoExoticComponent<({ isOpened, selectedFontFamily, hoveredFontFamily, onSelect, onHover, onLeave, onPopupChange, }: FontPickerProps) => JSX.Element>;
|
|
20
|
+
export declare const FontPicker: React.MemoExoticComponent<({ isOpened, selectedFontFamily, hoveredFontFamily, onSelect, onHover, onLeave, onPopupChange, }: FontPickerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
21
21
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { JSX } from "react";
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { DropDownMenuItemBadgeType } from "../dropdownMenu/DropdownMenuItem";
|
|
3
4
|
import { type FontFamilyValues } from "../../element/types";
|
|
@@ -21,5 +22,5 @@ interface FontPickerListProps {
|
|
|
21
22
|
onOpen: () => void;
|
|
22
23
|
onClose: () => void;
|
|
23
24
|
}
|
|
24
|
-
export declare const FontPickerList: React.MemoExoticComponent<({ selectedFontFamily, hoveredFontFamily, onSelect, onHover, onLeave, onOpen, onClose, }: FontPickerListProps) => JSX.Element>;
|
|
25
|
+
export declare const FontPickerList: React.MemoExoticComponent<({ selectedFontFamily, hoveredFontFamily, onSelect, onHover, onLeave, onOpen, onClose, }: FontPickerListProps) => import("react/jsx-runtime").JSX.Element>;
|
|
25
26
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { FontFamilyValues } from "../../element/types";
|
|
3
2
|
interface FontPickerTriggerProps {
|
|
4
3
|
selectedFontFamily: FontFamilyValues | null;
|
|
5
4
|
}
|
|
6
|
-
export declare const FontPickerTrigger: ({ selectedFontFamily, }: FontPickerTriggerProps) => JSX.Element;
|
|
5
|
+
export declare const FontPickerTrigger: ({ selectedFontFamily, }: FontPickerTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -3,7 +3,7 @@ import type { Node } from "../../utils";
|
|
|
3
3
|
import { type FontDescriptor } from "./FontPickerList";
|
|
4
4
|
interface FontPickerKeyNavHandlerProps {
|
|
5
5
|
event: React.KeyboardEvent<HTMLDivElement>;
|
|
6
|
-
inputRef: React.RefObject<HTMLInputElement>;
|
|
6
|
+
inputRef: React.RefObject<HTMLInputElement | null>;
|
|
7
7
|
hoveredFont: Node<FontDescriptor> | undefined;
|
|
8
8
|
filteredFonts: Node<FontDescriptor>[];
|
|
9
9
|
onClose: () => void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import "./ToolIcon.scss";
|
|
3
2
|
type LockIconProps = {
|
|
4
3
|
title?: string;
|
|
@@ -7,5 +6,5 @@ type LockIconProps = {
|
|
|
7
6
|
onChange?(): void;
|
|
8
7
|
isMobile?: boolean;
|
|
9
8
|
};
|
|
10
|
-
export declare const HandButton: (props: LockIconProps) => JSX.Element;
|
|
9
|
+
export declare const HandButton: (props: LockIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
type HelpButtonProps = {
|
|
3
2
|
name?: string;
|
|
4
3
|
id?: string;
|
|
5
4
|
onClick?(): void;
|
|
6
5
|
};
|
|
7
|
-
export declare const HelpButton: (props: HelpButtonProps) => JSX.Element;
|
|
6
|
+
export declare const HelpButton: (props: HelpButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { AppClassProperties, Device, UIAppState } from "../types";
|
|
3
2
|
import "./HintViewer.scss";
|
|
4
3
|
interface HintViewerProps {
|
|
@@ -7,5 +6,5 @@ interface HintViewerProps {
|
|
|
7
6
|
device: Device;
|
|
8
7
|
app: AppClassProperties;
|
|
9
8
|
}
|
|
10
|
-
export declare const HintViewer: ({ appState, isMobile, device, app, }: HintViewerProps) => JSX.Element | null;
|
|
9
|
+
export declare const HintViewer: ({ appState, isMobile, device, app, }: HintViewerProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
10
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import type { JSX } from "react";
|
|
2
2
|
import "./IconPicker.scss";
|
|
3
3
|
export declare function IconPicker<T>({ value, label, options, onChange, group, numberOfOptionsToAlwaysShow, }: {
|
|
4
4
|
label: string;
|
|
@@ -12,4 +12,4 @@ export declare function IconPicker<T>({ value, label, options, onChange, group,
|
|
|
12
12
|
onChange: (value: T) => void;
|
|
13
13
|
numberOfOptionsToAlwaysShow?: number;
|
|
14
14
|
group?: string;
|
|
15
|
-
}): JSX.Element;
|
|
15
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ActionManager } from "../actions/manager";
|
|
3
2
|
import type { AppClassProperties, BinaryFiles, UIAppState } from "../types";
|
|
4
3
|
import type { NonDeletedExcalidrawElement } from "../element/types";
|
|
5
4
|
import "./ImageExportDialog.scss";
|
|
6
|
-
export declare const ErrorCanvasPreview: () => JSX.Element;
|
|
5
|
+
export declare const ErrorCanvasPreview: () => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export declare const ImageExportDialog: ({ elements, appState, files, actionManager, onExportImage, onCloseRequest, name, }: {
|
|
8
7
|
appState: UIAppState;
|
|
9
8
|
elements: readonly NonDeletedExcalidrawElement[];
|
|
@@ -12,4 +11,4 @@ export declare const ImageExportDialog: ({ elements, appState, files, actionMana
|
|
|
12
11
|
onExportImage: AppClassProperties["onExportImage"];
|
|
13
12
|
onCloseRequest: () => void;
|
|
14
13
|
name: string;
|
|
15
|
-
}) => JSX.Element;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,4 +12,4 @@ export declare const JSONExportDialog: ({ elements, appState, files, actionManag
|
|
|
12
12
|
exportOpts: ExportOpts;
|
|
13
13
|
canvas: HTMLCanvasElement;
|
|
14
14
|
setAppState: React.Component<any, UIAppState>["setState"];
|
|
15
|
-
}) => JSX.Element;
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import "./ToolIcon.scss";
|
|
3
2
|
type LaserPointerIconProps = {
|
|
4
3
|
title?: string;
|
|
@@ -7,5 +6,5 @@ type LaserPointerIconProps = {
|
|
|
7
6
|
onChange?(): void;
|
|
8
7
|
isMobile?: boolean;
|
|
9
8
|
};
|
|
10
|
-
export declare const LaserPointerButton: (props: LaserPointerIconProps) => JSX.Element;
|
|
9
|
+
export declare const LaserPointerButton: (props: LaserPointerIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -29,5 +29,5 @@ interface LayerUIProps {
|
|
|
29
29
|
generateLinkForSelection?: AppProps["generateLinkForSelection"];
|
|
30
30
|
uiDisabled: boolean;
|
|
31
31
|
}
|
|
32
|
-
declare const _default: React.MemoExoticComponent<({ actionManager, appState, files, setAppState, elements, canvas, onLockToggle, onHandToolToggle, onPenModeToggle, showExitZenModeBtn, renderTopRightUI, renderCustomStats, UIOptions, onExportImage, renderWelcomeScreen, onHomeButtonClick, children, app, isCollaborating, generateLinkForSelection, uiDisabled, }: LayerUIProps) => JSX.Element | null>;
|
|
32
|
+
declare const _default: React.MemoExoticComponent<({ actionManager, appState, files, setAppState, elements, canvas, onLockToggle, onHandToolToggle, onPenModeToggle, showExitZenModeBtn, renderTopRightUI, renderCustomStats, UIOptions, onExportImage, renderWelcomeScreen, onHomeButtonClick, children, app, isCollaborating, generateLinkForSelection, uiDisabled, }: LayerUIProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
33
33
|
export default _default;
|
|
@@ -7,4 +7,4 @@ export declare const isLibraryMenuOpenAtom: import("jotai/vanilla/atom").Primiti
|
|
|
7
7
|
* This component is meant to be rendered inside <Sidebar.Tab/> inside our
|
|
8
8
|
* <DefaultSidebar/> or host apps Sidebar components.
|
|
9
9
|
*/
|
|
10
|
-
export declare const LibraryMenu: React.MemoExoticComponent<() => JSX.Element>;
|
|
10
|
+
export declare const LibraryMenu: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawProps, UIAppState } from "../types";
|
|
3
2
|
declare const LibraryMenuBrowseButton: ({ theme, id, libraryReturnUrl, }: {
|
|
4
3
|
libraryReturnUrl: ExcalidrawProps["libraryReturnUrl"];
|
|
5
4
|
theme: UIAppState["theme"];
|
|
6
5
|
id: string;
|
|
7
|
-
}) => JSX.Element;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export default LibraryMenuBrowseButton;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawProps, UIAppState } from "../types";
|
|
3
2
|
export declare const LibraryMenuControlButtons: ({ libraryReturnUrl, theme, id, style, children, className, }: {
|
|
4
3
|
libraryReturnUrl: ExcalidrawProps["libraryReturnUrl"];
|
|
@@ -7,4 +6,4 @@ export declare const LibraryMenuControlButtons: ({ libraryReturnUrl, theme, id,
|
|
|
7
6
|
style: React.CSSProperties;
|
|
8
7
|
children?: React.ReactNode;
|
|
9
8
|
className?: string | undefined;
|
|
10
|
-
}) => JSX.Element;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,4 +15,4 @@ export declare const LibraryDropdownMenu: ({ selectedItems, onSelectItems, class
|
|
|
15
15
|
selectedItems: LibraryItem["id"][];
|
|
16
16
|
onSelectItems: (id: LibraryItem["id"][]) => void;
|
|
17
17
|
className?: string | undefined;
|
|
18
|
-
}) => JSX.Element;
|
|
18
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { ExcalidrawProps, LibraryItem, LibraryItems, UIAppState } from "../types";
|
|
3
2
|
import "./LibraryMenuItems.scss";
|
|
4
3
|
export default function LibraryMenuItems({ isLoading, libraryItems, onAddToLibrary, onInsertLibraryItems, pendingElements, theme, id, libraryReturnUrl, onSelectItems, selectedItems, }: {
|
|
@@ -12,4 +11,4 @@ export default function LibraryMenuItems({ isLoading, libraryItems, onAddToLibra
|
|
|
12
11
|
id: string;
|
|
13
12
|
selectedItems: LibraryItem["id"][];
|
|
14
13
|
onSelectItems: (id: LibraryItem["id"][]) => void;
|
|
15
|
-
}): JSX.Element;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -18,6 +18,6 @@ interface Props {
|
|
|
18
18
|
}
|
|
19
19
|
export declare const LibraryMenuSectionGrid: ({ children, }: {
|
|
20
20
|
children: ReactNode;
|
|
21
|
-
}) => JSX.Element;
|
|
22
|
-
export declare const LibraryMenuSection: React.MemoExoticComponent<({ items, onItemSelectToggle, onItemDrag, isItemSelected, onClick, svgCache, itemsRenderedPerBatch, }: Props) => JSX.Element>;
|
|
21
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const LibraryMenuSection: React.MemoExoticComponent<({ items, onItemSelectToggle, onItemDrag, isItemSelected, onClick, svgCache, itemsRenderedPerBatch, }: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
23
23
|
export {};
|
|
@@ -11,5 +11,5 @@ export declare const LibraryUnit: import("react").MemoExoticComponent<({ id, ele
|
|
|
11
11
|
onToggle: (id: string, event: React.MouseEvent) => void;
|
|
12
12
|
onDrag: (id: string, event: React.DragEvent) => void;
|
|
13
13
|
svgCache: SvgCache;
|
|
14
|
-
}) => JSX.Element>;
|
|
15
|
-
export declare const EmptyLibraryUnit: () => JSX.Element;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
15
|
+
export declare const EmptyLibraryUnit: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import "./ToolIcon.scss";
|
|
3
2
|
type LockIconProps = {
|
|
4
3
|
title?: string;
|
|
@@ -7,5 +6,5 @@ type LockIconProps = {
|
|
|
7
6
|
onChange?(): void;
|
|
8
7
|
isMobile?: boolean;
|
|
9
8
|
};
|
|
10
|
-
export declare const LockButton: (props: LockIconProps) => JSX.Element;
|
|
9
|
+
export declare const LockButton: (props: LockIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import type { JSX } from "react";
|
|
2
2
|
import "./ToolIcon.scss";
|
|
3
3
|
export declare const ElementCanvasButton: (props: {
|
|
4
4
|
title?: string;
|
|
@@ -7,4 +7,4 @@ export declare const ElementCanvasButton: (props: {
|
|
|
7
7
|
checked: boolean;
|
|
8
8
|
onChange?(): void;
|
|
9
9
|
isMobile?: boolean;
|
|
10
|
-
}) => JSX.Element;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { JSX } from "react";
|
|
1
2
|
import React from "react";
|
|
2
3
|
import type { AppClassProperties, AppProps, AppState, Device, ExcalidrawProps, UIAppState } from "../types";
|
|
3
4
|
import type { ActionManager } from "../actions/manager";
|
|
@@ -21,5 +22,5 @@ type MobileMenuProps = {
|
|
|
21
22
|
app: AppClassProperties;
|
|
22
23
|
onHomeButtonClick: () => void;
|
|
23
24
|
};
|
|
24
|
-
export declare const MobileMenu: ({ appState, elements, actionManager, setAppState, onLockToggle, onHandToolToggle, onPenModeToggle, renderTopRightUI, renderCustomStats, renderSidebars, device, renderWelcomeScreen, UIOptions, app, onHomeButtonClick, }: MobileMenuProps) => JSX.Element;
|
|
25
|
+
export declare const MobileMenu: ({ appState, elements, actionManager, setAppState, onLockToggle, onHandToolToggle, onPenModeToggle, renderTopRightUI, renderCustomStats, renderSidebars, device, renderWelcomeScreen, UIOptions, app, onHomeButtonClick, }: MobileMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
26
|
export {};
|
|
@@ -8,10 +8,10 @@ declare const OverwriteConfirmDialog: React.FC<OverwriteConfirmDialogProps & {
|
|
|
8
8
|
}> & {
|
|
9
9
|
Actions: (({ children }: {
|
|
10
10
|
children: React.ReactNode;
|
|
11
|
-
}) => JSX.Element) & {
|
|
12
|
-
ExportToImage: () => JSX.Element;
|
|
13
|
-
SaveToDisk: () => JSX.Element;
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
12
|
+
ExportToImage: () => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
SaveToDisk: () => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
};
|
|
15
|
-
Action: ({ title, children, actionLabel, onClick, }: import("./OverwriteConfirmActions").ActionProps) => JSX.Element;
|
|
15
|
+
Action: ({ title, children, actionLabel, onClick, }: import("./OverwriteConfirmActions").ActionProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
};
|
|
17
17
|
export { OverwriteConfirmDialog };
|
|
@@ -5,13 +5,13 @@ export type ActionProps = {
|
|
|
5
5
|
actionLabel: string;
|
|
6
6
|
onClick: () => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const Action: ({ title, children, actionLabel, onClick, }: ActionProps) => JSX.Element;
|
|
9
|
-
export declare const ExportToImage: () => JSX.Element;
|
|
10
|
-
export declare const SaveToDisk: () => JSX.Element;
|
|
8
|
+
export declare const Action: ({ title, children, actionLabel, onClick, }: ActionProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const ExportToImage: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const SaveToDisk: () => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
declare const Actions: (({ children }: {
|
|
12
12
|
children: React.ReactNode;
|
|
13
|
-
}) => JSX.Element) & {
|
|
14
|
-
ExportToImage: () => JSX.Element;
|
|
15
|
-
SaveToDisk: () => JSX.Element;
|
|
13
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
14
|
+
ExportToImage: () => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
SaveToDisk: () => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
};
|
|
17
17
|
export { Actions };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import "./ToolIcon.scss";
|
|
3
2
|
type PenModeIconProps = {
|
|
4
3
|
title?: string;
|
|
@@ -9,5 +8,5 @@ type PenModeIconProps = {
|
|
|
9
8
|
isMobile?: boolean;
|
|
10
9
|
penDetected: boolean;
|
|
11
10
|
};
|
|
12
|
-
export declare const PenModeButton: (props: PenModeIconProps) => JSX.Element | null;
|
|
11
|
+
export declare const PenModeButton: (props: PenModeIconProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
13
12
|
export {};
|
|
@@ -11,5 +11,5 @@ type Props = {
|
|
|
11
11
|
viewportWidth?: number;
|
|
12
12
|
viewportHeight?: number;
|
|
13
13
|
};
|
|
14
|
-
export declare const Popover: ({ children, left, top, onCloseRequest, fitInViewport, offsetLeft, offsetTop, viewportWidth, viewportHeight, }: Props) => JSX.Element;
|
|
14
|
+
export declare const Popover: ({ children, left, top, onCloseRequest, fitInViewport, offsetLeft, offsetTop, viewportWidth, viewportHeight, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import "./TextInput.scss";
|
|
3
2
|
import "./ProjectName.scss";
|
|
4
3
|
type Props = {
|
|
@@ -7,5 +6,5 @@ type Props = {
|
|
|
7
6
|
label: string;
|
|
8
7
|
ignoreFocus?: boolean;
|
|
9
8
|
};
|
|
10
|
-
export declare const ProjectName: (props: Props) => JSX.Element;
|
|
9
|
+
export declare const ProjectName: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { LibraryItems, UIAppState } from "../types";
|
|
3
2
|
import "./PublishLibrary.scss";
|
|
4
3
|
declare const PublishLibrary: ({ onClose, libraryItems, appState, onSuccess, onError, updateItemsInStorage, onRemove, }: {
|
|
@@ -13,5 +12,5 @@ declare const PublishLibrary: ({ onClose, libraryItems, appState, onSuccess, onE
|
|
|
13
12
|
onError: (error: Error) => void;
|
|
14
13
|
updateItemsInStorage: (items: LibraryItems) => void;
|
|
15
14
|
onRemove: (id: string) => void;
|
|
16
|
-
}) => JSX.Element;
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
17
16
|
export default PublishLibrary;
|
|
@@ -11,4 +11,4 @@ export type RadioGroupProps<T> = {
|
|
|
11
11
|
onChange: (value: T) => void;
|
|
12
12
|
name: string;
|
|
13
13
|
};
|
|
14
|
-
export declare const RadioGroup: <T>({ onChange, value, choices, name, }: RadioGroupProps<T>) => JSX.Element;
|
|
14
|
+
export declare const RadioGroup: <T>({ onChange, value, choices, name, }: RadioGroupProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import "./Range.scss";
|
|
3
2
|
export type RangeProps = {
|
|
4
3
|
updateData: (value: number) => void;
|
|
@@ -6,4 +5,4 @@ export type RangeProps = {
|
|
|
6
5
|
elements: any;
|
|
7
6
|
testId?: string;
|
|
8
7
|
};
|
|
9
|
-
export declare const Range: ({ updateData, appState, elements, testId, }: RangeProps) => JSX.Element;
|
|
8
|
+
export declare const Range: ({ updateData, appState, elements, testId, }: RangeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { Trail } from "../animated-trail";
|
|
3
2
|
import "./SVGLayer.scss";
|
|
4
3
|
type SVGLayerProps = {
|
|
5
4
|
trails: Trail[];
|
|
6
5
|
};
|
|
7
|
-
export declare const SVGLayer: ({ trails }: SVGLayerProps) => JSX.Element;
|
|
6
|
+
export declare const SVGLayer: ({ trails }: SVGLayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -5,5 +5,5 @@ interface ScrollableListProps {
|
|
|
5
5
|
placeholder: string;
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
}
|
|
8
|
-
export declare const ScrollableList: ({ className, placeholder, children, }: ScrollableListProps) => JSX.Element;
|
|
8
|
+
export declare const ScrollableList: ({ className, placeholder, children, }: ScrollableListProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import "./SearchMenu.scss";
|
|
3
2
|
export declare const searchItemInFocusAtom: import("jotai/vanilla/atom").PrimitiveAtom<number | null> & {
|
|
4
3
|
init: number | null;
|
|
5
4
|
};
|
|
6
|
-
export declare const SearchMenu: () => JSX.Element;
|
|
5
|
+
export declare const SearchMenu: () => import("react/jsx-runtime").JSX.Element;
|