@nous-excalidraw/math 0.18.0-cy.1 → 0.18.0
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 +4 -4
- package/dist/dev/index.js +1 -1
- package/dist/dev/index.js.map +1 -1
- package/dist/prod/index.js +1 -1
- package/dist/types/common/src/appEventBus.d.ts +1 -1
- package/dist/types/common/src/constants.d.ts +2 -4
- package/dist/types/common/src/emitter.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +1 -1
- package/dist/types/common/src/points.d.ts +2 -2
- package/dist/types/common/src/utils.d.ts +3 -3
- package/dist/types/element/src/Scene.d.ts +4 -4
- package/dist/types/element/src/align.d.ts +1 -1
- package/dist/types/element/src/arrows/focus.d.ts +2 -2
- package/dist/types/element/src/arrows/helpers.d.ts +1 -1
- package/dist/types/element/src/binding.d.ts +4 -4
- package/dist/types/element/src/bounds.d.ts +3 -3
- package/dist/types/element/src/collision.d.ts +2 -2
- package/dist/types/element/src/comparisons.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +3 -3
- package/dist/types/element/src/distance.d.ts +1 -1
- package/dist/types/element/src/distribute.d.ts +1 -1
- package/dist/types/element/src/dragElements.d.ts +2 -2
- package/dist/types/element/src/duplicate.d.ts +2 -2
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/elementLink.d.ts +1 -1
- package/dist/types/element/src/embeddable.d.ts +2 -2
- package/dist/types/element/src/flowchart.d.ts +1 -1
- package/dist/types/element/src/frame.d.ts +2 -2
- package/dist/types/element/src/groups.d.ts +2 -2
- package/dist/types/element/src/heading.d.ts +2 -2
- package/dist/types/element/src/image.d.ts +2 -2
- package/dist/types/element/src/linearElementEditor.d.ts +4 -4
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +1 -1
- package/dist/types/element/src/renderElement.d.ts +4 -4
- package/dist/types/element/src/resizeElements.d.ts +2 -2
- package/dist/types/element/src/resizeTest.d.ts +4 -4
- package/dist/types/element/src/selection.d.ts +1 -1
- package/dist/types/element/src/shape.d.ts +5 -5
- package/dist/types/element/src/showSelectedShapeActions.d.ts +1 -1
- package/dist/types/element/src/sizeHelpers.d.ts +1 -1
- package/dist/types/element/src/store.d.ts +4 -4
- package/dist/types/element/src/textElement.d.ts +3 -3
- package/dist/types/element/src/transform.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +4 -4
- package/dist/types/element/src/typeChecks.d.ts +2 -2
- package/dist/types/element/src/types.d.ts +3 -3
- package/dist/types/element/src/utils.d.ts +3 -3
- package/dist/types/element/src/zindex.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +82 -82
- package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +48 -48
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +275 -275
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +63 -63
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +28 -28
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +69 -69
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +24 -24
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +32 -32
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +49 -49
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionExport.d.ts +48 -48
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionFrame.d.ts +210 -210
- package/dist/types/excalidraw/actions/actionGroup.d.ts +41 -41
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +149 -149
- package/dist/types/excalidraw/actions/actionLink.d.ts +31 -31
- package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -27
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionProperties.d.ts +37 -37
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +23 -23
- package/dist/types/excalidraw/actions/actionStyles.d.ts +31 -31
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +28 -28
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +28 -28
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +28 -28
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +28 -28
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +29 -29
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/manager.d.ts +1 -1
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +2 -2
- package/dist/types/excalidraw/appState.d.ts +9 -9
- package/dist/types/excalidraw/charts/charts.constants.d.ts +1 -1
- package/dist/types/excalidraw/charts/charts.helpers.d.ts +3 -3
- package/dist/types/excalidraw/charts/charts.types.d.ts +1 -1
- package/dist/types/excalidraw/charts/index.d.ts +1 -1
- package/dist/types/excalidraw/clipboard.d.ts +4 -4
- package/dist/types/excalidraw/components/Actions.d.ts +1 -1
- package/dist/types/excalidraw/components/App.d.ts +10 -10
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
- package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
- package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
- package/dist/types/excalidraw/components/ElementCanvasButtons.d.ts +1 -1
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +2 -2
- package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -2
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/HintViewer.d.ts +1 -1
- package/dist/types/excalidraw/components/ImageExportDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
- package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/FontSize.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/Position.d.ts +2 -2
- package/dist/types/excalidraw/components/Stats/index.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/utils.d.ts +2 -2
- package/dist/types/excalidraw/components/TTDDialog/CodeMirrorEditor.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/hooks/useMermaidRenderer.d.ts +1 -1
- package/dist/types/excalidraw/components/TTDDialog/types.d.ts +2 -2
- package/dist/types/excalidraw/components/ToolButton.d.ts +1 -1
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +3 -3
- package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -1
- package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +3 -3
- package/dist/types/excalidraw/components/icons.d.ts +1 -1
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +1 -1
- package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +49 -49
- package/dist/types/excalidraw/data/filesystem.d.ts +1 -1
- package/dist/types/excalidraw/data/index.d.ts +1 -1
- package/dist/types/excalidraw/data/json.d.ts +24 -24
- package/dist/types/excalidraw/data/library.d.ts +2 -2
- package/dist/types/excalidraw/data/resave.d.ts +2 -2
- package/dist/types/excalidraw/data/restore.d.ts +2 -2
- package/dist/types/excalidraw/data/types.d.ts +2 -2
- package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -3
- package/dist/types/excalidraw/history.d.ts +4 -4
- package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/dist/types/excalidraw/i18n.d.ts +1 -1
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -2
- package/dist/types/excalidraw/renderer/staticScene.d.ts +1 -1
- package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +1 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +2 -2
- package/dist/types/excalidraw/scene/export.d.ts +1 -1
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/scene/scroll.d.ts +1 -1
- package/dist/types/excalidraw/scene/types.d.ts +3 -3
- package/dist/types/excalidraw/snapping.d.ts +5 -5
- package/dist/types/excalidraw/textAutoResizeHandle.d.ts +4 -4
- package/dist/types/excalidraw/types.d.ts +7 -7
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +1 -1
- package/dist/types/utils/src/bbox.d.ts +2 -2
- package/dist/types/utils/src/export.d.ts +3 -3
- package/dist/types/utils/src/index.d.ts +1 -1
- package/dist/types/utils/src/shape.d.ts +4 -4
- package/dist/types/utils/src/withinBounds.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MarkOptional } from "@excalidraw/common/utility-types";
|
|
1
|
+
import type { MarkOptional } from "@nous-excalidraw/common/utility-types";
|
|
2
2
|
import "../components/dropdownMenu/DropdownMenu.scss";
|
|
3
3
|
import type { SidebarProps, SidebarTriggerProps } from "./Sidebar/common";
|
|
4
4
|
export declare const DefaultSidebar: import("react").FC<Omit<MarkOptional<Omit<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ElementsMap, NonDeletedExcalidrawElement } from "@excalidraw/element/types";
|
|
1
|
+
import type { ElementsMap, NonDeletedExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
2
|
import "./ElementCanvasButtons.scss";
|
|
3
3
|
export declare const ElementCanvasButtons: ({ children, element, elementsMap, }: {
|
|
4
4
|
children: React.ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
2
|
-
import type { Scene } from "@excalidraw/element";
|
|
1
|
+
import type { ExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
|
+
import type { Scene } from "@nous-excalidraw/element";
|
|
3
3
|
import "./ElementLinkDialog.scss";
|
|
4
4
|
import type { AppProps, UIAppState } from "../types";
|
|
5
5
|
declare const ElementLinkDialog: ({ sourceElementId, onClose, appState, scene, generateLinkForSelection, }: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
1
|
+
import type { ExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
2
|
import "./EyeDropper.scss";
|
|
3
3
|
import type { ColorPickerType } from "./ColorPicker/colorPickerUtils";
|
|
4
4
|
export type EyeDropperProperties = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { type FontFamilyValues } from "@excalidraw/element/types";
|
|
3
|
-
import type { ValueOf } from "@excalidraw/common/utility-types";
|
|
2
|
+
import { type FontFamilyValues } from "@nous-excalidraw/element/types";
|
|
3
|
+
import type { ValueOf } from "@nous-excalidraw/common/utility-types";
|
|
4
4
|
import { DropDownMenuItemBadgeType } from "../dropdownMenu/DropdownMenuItem";
|
|
5
5
|
import type { JSX } from "react";
|
|
6
6
|
export interface FontDescriptor {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types";
|
|
1
|
+
import type { NonDeletedExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
2
|
import "./ImageExportDialog.scss";
|
|
3
3
|
import type { ActionManager } from "../actions/manager";
|
|
4
4
|
import type { AppClassProperties, BinaryFiles, UIAppState } from "../types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types";
|
|
2
|
+
import type { NonDeletedExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
3
3
|
import "./ExportDialog.scss";
|
|
4
4
|
import type { ActionManager } from "../actions/manager";
|
|
5
5
|
import type { ExportOpts, BinaryFiles, UIAppState } from "../types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types";
|
|
2
|
+
import type { NonDeletedExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
3
3
|
import "./LayerUI.scss";
|
|
4
4
|
import "./Toolbar.scss";
|
|
5
5
|
import type { ActionManager } from "../actions/manager";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { ExcalidrawElement, NonDeleted } from "@excalidraw/element/types";
|
|
2
|
+
import type { ExcalidrawElement, NonDeleted } from "@nous-excalidraw/element/types";
|
|
3
3
|
import type { SvgCache } from "../hooks/useLibraryItemSvg";
|
|
4
4
|
import type { LibraryItem } from "../types";
|
|
5
5
|
import type { ReactNode } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types";
|
|
2
|
+
import type { NonDeletedExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
3
3
|
import type { ActionManager } from "../actions/manager";
|
|
4
4
|
import type { AppClassProperties, AppProps, AppState, UIAppState } from "../types";
|
|
5
5
|
import type { JSX } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
2
|
-
import type { Scene } from "@excalidraw/element";
|
|
1
|
+
import type { ExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
|
+
import type { Scene } from "@nous-excalidraw/element";
|
|
3
3
|
import type { AppState } from "../../types";
|
|
4
4
|
interface AngleProps {
|
|
5
5
|
element: ExcalidrawElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
2
|
-
import type { Scene } from "@excalidraw/element";
|
|
1
|
+
import type { ExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
|
+
import type { Scene } from "@nous-excalidraw/element";
|
|
3
3
|
import type { AppState } from "../../types";
|
|
4
4
|
interface DimensionDragInputProps {
|
|
5
5
|
property: "width" | "height";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types";
|
|
2
|
-
import type { Scene } from "@excalidraw/element";
|
|
1
|
+
import type { ElementsMap, ExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
|
+
import type { Scene } from "@nous-excalidraw/element";
|
|
3
3
|
import { useApp, useExcalidrawSetAppState } from "../App";
|
|
4
4
|
import "./DragInput.scss";
|
|
5
5
|
import type { StatsInputProperty } from "./utils";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
2
|
-
import type { Scene } from "@excalidraw/element";
|
|
1
|
+
import type { ExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
|
+
import type { Scene } from "@nous-excalidraw/element";
|
|
3
3
|
import type { AppState } from "../../types";
|
|
4
4
|
interface FontSizeProps {
|
|
5
5
|
element: ExcalidrawElement;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ExcalidrawElement } from "@excalidraw/element/types";
|
|
2
|
-
import type { Scene } from "@excalidraw/element";
|
|
1
|
+
import type { ExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
|
+
import type { Scene } from "@nous-excalidraw/element";
|
|
3
3
|
import type { AppState } from "../../types";
|
|
4
4
|
interface MultiAngleProps {
|
|
5
5
|
elements: readonly ExcalidrawElement[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ExcalidrawElement, NonDeletedSceneElementsMap } from "@excalidraw/element/types";
|
|
2
|
-
import type { Scene } from "@excalidraw/element";
|
|
1
|
+
import type { ExcalidrawElement, NonDeletedSceneElementsMap } from "@nous-excalidraw/element/types";
|
|
2
|
+
import type { Scene } from "@nous-excalidraw/element";
|
|
3
3
|
import type { AtomicUnit } from "./utils";
|
|
4
4
|
import type { AppState } from "../../types";
|
|
5
5
|
interface MultiDimensionProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ExcalidrawElement, NonDeletedSceneElementsMap } from "@excalidraw/element/types";
|
|
2
|
-
import type { Scene } from "@excalidraw/element";
|
|
1
|
+
import type { ExcalidrawElement, NonDeletedSceneElementsMap } from "@nous-excalidraw/element/types";
|
|
2
|
+
import type { Scene } from "@nous-excalidraw/element";
|
|
3
3
|
import type { AppState } from "../../types";
|
|
4
4
|
interface MultiFontSizeProps {
|
|
5
5
|
elements: readonly ExcalidrawElement[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types";
|
|
2
|
-
import type { Scene } from "@excalidraw/element";
|
|
1
|
+
import type { ElementsMap, ExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
|
+
import type { Scene } from "@nous-excalidraw/element";
|
|
3
3
|
import type { AtomicUnit } from "./utils";
|
|
4
4
|
import type { AppState } from "../../types";
|
|
5
5
|
interface MultiPositionProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types";
|
|
2
|
-
import type { Scene } from "@excalidraw/element";
|
|
1
|
+
import type { ElementsMap, ExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
|
+
import type { Scene } from "@nous-excalidraw/element";
|
|
3
3
|
import type { AppState } from "../../types";
|
|
4
4
|
interface PositionProps {
|
|
5
5
|
property: "x" | "y";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types";
|
|
1
|
+
import type { NonDeletedExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
2
|
import "./Stats.scss";
|
|
3
3
|
import type { AppClassProperties, AppState, ExcalidrawProps } from "../../types";
|
|
4
4
|
interface StatsProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ElementsMap, ExcalidrawElement, NonDeletedExcalidrawElement } from "@excalidraw/element/types";
|
|
2
|
-
import type { Scene } from "@excalidraw/element";
|
|
1
|
+
import type { ElementsMap, ExcalidrawElement, NonDeletedExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
|
+
import type { Scene } from "@nous-excalidraw/element";
|
|
3
3
|
import type { AppState } from "../../types";
|
|
4
4
|
export type StatsInputProperty = "x" | "y" | "width" | "height" | "angle" | "fontSize" | "gridStep";
|
|
5
5
|
export declare const SMALLEST_DELTA = 0.01;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NonDeletedExcalidrawElement, Theme } from "@excalidraw/element/types";
|
|
1
|
+
import type { NonDeletedExcalidrawElement, Theme } from "@nous-excalidraw/element/types";
|
|
2
2
|
import type { MermaidToExcalidrawLibProps } from "./types";
|
|
3
3
|
import type { AppClassProperties, BinaryFiles } from "../../types";
|
|
4
4
|
export declare const resetPreview: ({ canvasRef, setError, }: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types";
|
|
1
|
+
import type { NonDeletedExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
2
2
|
import type { BinaryFiles } from "../../../types";
|
|
3
3
|
import type { MermaidToExcalidrawLibProps } from "../types";
|
|
4
4
|
interface UseMermaidRendererProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { RequestError } from "@excalidraw/excalidraw/errors";
|
|
2
|
-
import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types";
|
|
1
|
+
import type { RequestError } from "@nous-excalidraw/excalidraw/errors";
|
|
2
|
+
import type { NonDeletedExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
3
3
|
import type { MermaidConfig } from "@excalidraw/mermaid-to-excalidraw";
|
|
4
4
|
import type { MermaidToExcalidrawResult } from "@excalidraw/mermaid-to-excalidraw/dist/interfaces";
|
|
5
5
|
import type { BinaryFiles } from "../../types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { PointerType } from "@excalidraw/element/types";
|
|
2
|
+
import type { PointerType } from "@nous-excalidraw/element/types";
|
|
3
3
|
import "./ToolIcon.scss";
|
|
4
4
|
import type { CSSProperties } from "react";
|
|
5
5
|
export type ToolButtonSize = "small" | "medium";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { type EditorInterface } from "@excalidraw/common";
|
|
3
|
-
import type { RenderableElementsMap, RenderInteractiveSceneCallback } from "@excalidraw/excalidraw/scene/types";
|
|
4
|
-
import type { NonDeletedExcalidrawElement, NonDeletedSceneElementsMap } from "@excalidraw/element/types";
|
|
2
|
+
import { type EditorInterface } from "@nous-excalidraw/common";
|
|
3
|
+
import type { RenderableElementsMap, RenderInteractiveSceneCallback } from "@nous-excalidraw/excalidraw/scene/types";
|
|
4
|
+
import type { NonDeletedExcalidrawElement, NonDeletedSceneElementsMap } from "@nous-excalidraw/element/types";
|
|
5
5
|
import type { AppClassProperties, InteractiveCanvasAppState } from "../../types";
|
|
6
6
|
import type { DOMAttributes } from "react";
|
|
7
7
|
type InteractiveCanvasProps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NonDeletedSceneElementsMap } from "@excalidraw/element/types";
|
|
1
|
+
import type { NonDeletedSceneElementsMap } from "@nous-excalidraw/element/types";
|
|
2
2
|
import type { RenderableElementsMap, StaticCanvasRenderConfig } from "../../scene/types";
|
|
3
3
|
import type { AppState } from "../../types";
|
|
4
4
|
import type { RoughCanvas } from "roughjs/bin/canvas";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { NonDeletedExcalidrawElement, NonDeletedSceneElementsMap } from "@excalidraw/element/types";
|
|
2
|
+
import type { NonDeletedExcalidrawElement, NonDeletedSceneElementsMap } from "@nous-excalidraw/element/types";
|
|
3
3
|
import type { RenderableElementsMap, StaticCanvasRenderConfig } from "../../scene/types";
|
|
4
4
|
import type { StaticCanvasAppState } from "../../types";
|
|
5
5
|
import type { RoughCanvas } from "roughjs/bin/canvas";
|
|
@@ -31,7 +31,7 @@ declare const DropdownMenu: {
|
|
|
31
31
|
displayName: string;
|
|
32
32
|
Badge: {
|
|
33
33
|
({ type, children, }: {
|
|
34
|
-
type?: import("@excalidraw/common/utility-types").ValueOf<typeof import("./DropdownMenuItem").DropDownMenuItemBadgeType>;
|
|
34
|
+
type?: import("@nous-excalidraw/common/utility-types").ValueOf<typeof import("./DropdownMenuItem").DropDownMenuItemBadgeType>;
|
|
35
35
|
children: React.ReactNode;
|
|
36
36
|
}): import("react/jsx-runtime").JSX.Element;
|
|
37
37
|
displayName: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Scene } from "@excalidraw/element";
|
|
2
|
-
import type { ElementsMap, ExcalidrawEmbeddableElement, NonDeletedExcalidrawElement } from "@excalidraw/element/types";
|
|
1
|
+
import type { Scene } from "@nous-excalidraw/element";
|
|
2
|
+
import type { ElementsMap, ExcalidrawEmbeddableElement, NonDeletedExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
3
3
|
import "./Hyperlink.scss";
|
|
4
4
|
import type { AppState, ExcalidrawProps, UIAppState } from "../../types";
|
|
5
5
|
export declare const Hyperlink: ({ element, scene, setAppState, onLinkOpen, setToast, updateEmbedValidationStatus, }: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { GlobalPoint, Radians } from "@excalidraw/math";
|
|
2
|
-
import type { Bounds } from "@excalidraw/common";
|
|
3
|
-
import type { ElementsMap, NonDeletedExcalidrawElement } from "@excalidraw/element/types";
|
|
1
|
+
import type { GlobalPoint, Radians } from "@nous-excalidraw/math";
|
|
2
|
+
import type { Bounds } from "@nous-excalidraw/common";
|
|
3
|
+
import type { ElementsMap, NonDeletedExcalidrawElement } from "@nous-excalidraw/element/types";
|
|
4
4
|
import type { AppState, UIAppState } from "../../types";
|
|
5
5
|
export declare const DEFAULT_LINK_SIZE = 12;
|
|
6
6
|
export declare const EXTERNAL_LINK_IMG: HTMLImageElement;
|
|
@@ -23,7 +23,7 @@ declare const MainMenu: React.FC<{
|
|
|
23
23
|
displayName: string;
|
|
24
24
|
Badge: {
|
|
25
25
|
({ type, children, }: {
|
|
26
|
-
type?: import("@excalidraw/common/utility-types").ValueOf<typeof import("../dropdownMenu/DropdownMenuItem").DropDownMenuItemBadgeType>;
|
|
26
|
+
type?: import("@nous-excalidraw/common/utility-types").ValueOf<typeof import("../dropdownMenu/DropdownMenuItem").DropDownMenuItemBadgeType>;
|
|
27
27
|
children: React.ReactNode;
|
|
28
28
|
}): import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
displayName: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EDITOR_LS_KEYS } from "@excalidraw/common";
|
|
1
|
+
import type { EDITOR_LS_KEYS } from "@nous-excalidraw/common";
|
|
2
2
|
import type { JSONValue } from "../types";
|
|
3
3
|
export declare class EditorLocalStorage {
|
|
4
4
|
static has(key: typeof EDITOR_LS_KEYS[keyof typeof EDITOR_LS_KEYS]): boolean;
|