@misenkashari/excalidraw-common 1.0.3 → 1.0.6

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.
Files changed (159) hide show
  1. package/dist/dev/index.js +5 -5
  2. package/dist/dev/index.js.map +1 -1
  3. package/dist/prod/index.js +3 -3
  4. package/dist/types/common/src/constants.d.ts +1 -1
  5. package/dist/types/common/src/font-metadata.d.ts +1 -1
  6. package/dist/types/common/src/points.d.ts +1 -1
  7. package/dist/types/common/src/utils.d.ts +1 -1
  8. package/dist/types/common/src/visualdebug.d.ts +3 -3
  9. package/dist/types/element/src/Scene.d.ts +4 -4
  10. package/dist/types/element/src/binding.d.ts +3 -3
  11. package/dist/types/element/src/bounds.d.ts +2 -2
  12. package/dist/types/element/src/collision.d.ts +1 -1
  13. package/dist/types/element/src/delta.d.ts +2 -2
  14. package/dist/types/element/src/distance.d.ts +1 -1
  15. package/dist/types/element/src/dragElements.d.ts +1 -1
  16. package/dist/types/element/src/duplicate.d.ts +1 -1
  17. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  18. package/dist/types/element/src/embeddable.d.ts +1 -1
  19. package/dist/types/element/src/frame.d.ts +1 -1
  20. package/dist/types/element/src/groups.d.ts +1 -1
  21. package/dist/types/element/src/heading.d.ts +2 -2
  22. package/dist/types/element/src/image.d.ts +1 -1
  23. package/dist/types/element/src/linearElementEditor.d.ts +3 -3
  24. package/dist/types/element/src/mutateElement.d.ts +1 -1
  25. package/dist/types/element/src/newElement.d.ts +1 -1
  26. package/dist/types/element/src/renderElement.d.ts +2 -2
  27. package/dist/types/element/src/resizeElements.d.ts +1 -1
  28. package/dist/types/element/src/resizeTest.d.ts +3 -3
  29. package/dist/types/element/src/shape.d.ts +3 -3
  30. package/dist/types/element/src/store.d.ts +2 -2
  31. package/dist/types/element/src/textElement.d.ts +2 -2
  32. package/dist/types/element/src/transform.d.ts +1 -1
  33. package/dist/types/element/src/transformHandles.d.ts +3 -3
  34. package/dist/types/element/src/typeChecks.d.ts +1 -1
  35. package/dist/types/element/src/types.d.ts +3 -3
  36. package/dist/types/element/src/utils.d.ts +2 -2
  37. package/dist/types/element/src/zindex.d.ts +1 -1
  38. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +82 -82
  39. package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
  40. package/dist/types/excalidraw/actions/actionBoundText.d.ts +50 -50
  41. package/dist/types/excalidraw/actions/actionCanvas.d.ts +275 -275
  42. package/dist/types/excalidraw/actions/actionClipboard.d.ts +63 -63
  43. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +28 -28
  44. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +69 -69
  45. package/dist/types/excalidraw/actions/actionDistribute.d.ts +3 -3
  46. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  47. package/dist/types/excalidraw/actions/actionElementLink.d.ts +32 -32
  48. package/dist/types/excalidraw/actions/actionElementLock.d.ts +49 -49
  49. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +29 -29
  50. package/dist/types/excalidraw/actions/actionExport.d.ts +116 -116
  51. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
  52. package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
  53. package/dist/types/excalidraw/actions/actionFrame.d.ts +242 -242
  54. package/dist/types/excalidraw/actions/actionGroup.d.ts +43 -43
  55. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +181 -181
  56. package/dist/types/excalidraw/actions/actionLink.d.ts +31 -31
  57. package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -27
  58. package/dist/types/excalidraw/actions/actionNavigate.d.ts +2 -2
  59. package/dist/types/excalidraw/actions/actionProperties.d.ts +39 -39
  60. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +23 -23
  61. package/dist/types/excalidraw/actions/actionStyles.d.ts +31 -31
  62. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
  63. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +29 -29
  64. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +29 -29
  65. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +28 -28
  66. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +2 -2
  67. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +28 -28
  68. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +29 -29
  69. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +29 -29
  70. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  71. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  72. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  73. package/dist/types/excalidraw/actions/types.d.ts +2 -2
  74. package/dist/types/excalidraw/appState.d.ts +10 -10
  75. package/dist/types/excalidraw/charts.d.ts +1 -1
  76. package/dist/types/excalidraw/clipboard.d.ts +4 -4
  77. package/dist/types/excalidraw/components/Actions.d.ts +1 -1
  78. package/dist/types/excalidraw/components/App.d.ts +9 -9
  79. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -2
  80. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -2
  81. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
  82. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
  83. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +2 -2
  84. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  85. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
  86. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  87. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  88. package/dist/types/excalidraw/components/ElementCanvasButtons.d.ts +1 -1
  89. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +2 -2
  90. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
  91. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
  92. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -2
  93. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
  94. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  95. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -1
  96. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +1 -1
  97. package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
  98. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
  99. package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
  100. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  101. package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
  102. package/dist/types/excalidraw/components/MobileMenu.d.ts +1 -1
  103. package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
  104. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  105. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
  106. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
  107. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +2 -2
  108. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
  109. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
  110. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +2 -2
  111. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
  112. package/dist/types/excalidraw/components/Stats/Position.d.ts +2 -2
  113. package/dist/types/excalidraw/components/Stats/index.d.ts +1 -1
  114. package/dist/types/excalidraw/components/Stats/utils.d.ts +2 -2
  115. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  116. package/dist/types/excalidraw/components/ToolButton.d.ts +1 -1
  117. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -2
  118. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -1
  119. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  120. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
  121. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
  122. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
  123. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +3 -3
  124. package/dist/types/excalidraw/components/icons.d.ts +1 -1
  125. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
  126. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
  127. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +2 -4
  128. package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
  129. package/dist/types/excalidraw/data/blob.d.ts +49 -49
  130. package/dist/types/excalidraw/data/filesystem.d.ts +1 -1
  131. package/dist/types/excalidraw/data/index.d.ts +1 -1
  132. package/dist/types/excalidraw/data/json.d.ts +24 -24
  133. package/dist/types/excalidraw/data/library.d.ts +2 -2
  134. package/dist/types/excalidraw/data/reconcile.d.ts +2 -2
  135. package/dist/types/excalidraw/data/resave.d.ts +1 -1
  136. package/dist/types/excalidraw/data/restore.d.ts +2 -2
  137. package/dist/types/excalidraw/data/types.d.ts +2 -2
  138. package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -3
  139. package/dist/types/excalidraw/history.d.ts +4 -4
  140. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  141. package/dist/types/excalidraw/i18n.d.ts +1 -1
  142. package/dist/types/excalidraw/index.d.ts +12 -12
  143. package/dist/types/excalidraw/lasso/utils.d.ts +2 -2
  144. package/dist/types/excalidraw/renderer/staticScene.d.ts +1 -1
  145. package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +1 -1
  146. package/dist/types/excalidraw/scene/Renderer.d.ts +2 -2
  147. package/dist/types/excalidraw/scene/export.d.ts +1 -1
  148. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  149. package/dist/types/excalidraw/scene/scroll.d.ts +1 -1
  150. package/dist/types/excalidraw/scene/types.d.ts +3 -3
  151. package/dist/types/excalidraw/snapping.d.ts +5 -5
  152. package/dist/types/excalidraw/types.d.ts +6 -6
  153. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +1 -1
  154. package/dist/types/utils/src/bbox.d.ts +2 -2
  155. package/dist/types/utils/src/export.d.ts +2 -2
  156. package/dist/types/utils/src/index.d.ts +1 -1
  157. package/dist/types/utils/src/shape.d.ts +4 -4
  158. package/dist/types/utils/src/withinBounds.d.ts +2 -2
  159. package/package.json +1 -1
@@ -6,8 +6,8 @@ export declare const actionSendBackward: {
6
6
  trackEvent: {
7
7
  category: "element";
8
8
  };
9
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: unknown, app: import("../types").AppClassProperties) => {
10
- elements: readonly import("@excalidraw/element/types").ExcalidrawElement[];
9
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: unknown, app: import("../types").AppClassProperties) => {
10
+ elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[];
11
11
  appState: Readonly<import("../types").AppState>;
12
12
  captureUpdate: "IMMEDIATELY";
13
13
  };
@@ -25,8 +25,8 @@ export declare const actionBringForward: {
25
25
  trackEvent: {
26
26
  category: "element";
27
27
  };
28
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: unknown, app: import("../types").AppClassProperties) => {
29
- elements: readonly import("@excalidraw/element/types").ExcalidrawElement[];
28
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, value: unknown, app: import("../types").AppClassProperties) => {
29
+ elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[];
30
30
  appState: Readonly<import("../types").AppState>;
31
31
  captureUpdate: "IMMEDIATELY";
32
32
  };
@@ -44,8 +44,8 @@ export declare const actionSendToBack: {
44
44
  trackEvent: {
45
45
  category: "element";
46
46
  };
47
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
48
- elements: readonly import("@excalidraw/element/types").ExcalidrawElement[] | import("@excalidraw/element/types").ExcalidrawElement[];
47
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
48
+ elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[] | import("@misenkashari/excalidraw-element/types").ExcalidrawElement[];
49
49
  appState: Readonly<import("../types").AppState>;
50
50
  captureUpdate: "IMMEDIATELY";
51
51
  };
@@ -62,8 +62,8 @@ export declare const actionBringToFront: {
62
62
  trackEvent: {
63
63
  category: "element";
64
64
  };
65
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
66
- elements: readonly import("@excalidraw/element/types").ExcalidrawElement[] | import("@excalidraw/element/types").ExcalidrawElement[];
65
+ perform: (elements: readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
66
+ elements: readonly import("@misenkashari/excalidraw-element/types").ExcalidrawElement[] | import("@misenkashari/excalidraw-element/types").ExcalidrawElement[];
67
67
  appState: Readonly<import("../types").AppState>;
68
68
  captureUpdate: "IMMEDIATELY";
69
69
  };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { OrderedExcalidrawElement } from "@excalidraw/element/types";
2
+ import type { OrderedExcalidrawElement } from "@misenkashari/excalidraw-element/types";
3
3
  import type { AppClassProperties, AppState } from "../types";
4
4
  import type { Action, UpdaterFn, ActionName, ActionResult, PanelComponentProps, ActionSource } from "./types";
5
5
  export declare class ActionManager {
@@ -1,4 +1,4 @@
1
- import type { SubtypeOf } from "@excalidraw/common/utility-types";
1
+ import type { SubtypeOf } from "@misenkashari/excalidraw-common/utility-types";
2
2
  import type { ActionName } from "./types";
3
3
  export type ShortcutName = SubtypeOf<ActionName, "toggleTheme" | "loadScene" | "clearCanvas" | "cut" | "copy" | "paste" | "copyStyles" | "pasteStyles" | "selectAll" | "deleteSelectedElements" | "duplicateSelection" | "sendBackward" | "bringForward" | "sendToBack" | "bringToFront" | "copyAsPng" | "group" | "ungroup" | "gridMode" | "zenMode" | "objectsSnapMode" | "stats" | "addToLibrary" | "viewMode" | "flipHorizontal" | "flipVertical" | "hyperlink" | "toggleElementLock" | "resetZoom" | "zoomOut" | "zoomIn" | "zoomToFit" | "zoomToFitSelectionInViewport" | "zoomToFitSelection" | "toggleEraserTool" | "toggleHandTool" | "setFrameAsActiveTool" | "saveFileToDisk" | "saveToActiveFile" | "toggleShortcuts" | "wrapSelectionInFrame"> | "saveScene" | "imageExport" | "commandPalette" | "searchMenu";
4
4
  export declare const getShortcutFromShortcutName: (name: ShortcutName, idx?: number) => string;
@@ -1,5 +1,5 @@
1
- import type { ExcalidrawElement, OrderedExcalidrawElement } from "@excalidraw/element/types";
2
- import type { CaptureUpdateActionType } from "@excalidraw/element";
1
+ import type { ExcalidrawElement, OrderedExcalidrawElement } from "@misenkashari/excalidraw-element/types";
2
+ import type { CaptureUpdateActionType } from "@misenkashari/excalidraw-element";
3
3
  import type { AppClassProperties, AppState, ExcalidrawProps, BinaryFiles, UIAppState } from "../types";
4
4
  import type React from "react";
5
5
  export type ActionSource = "ui" | "keyboard" | "contextMenu" | "api" | "commandPalette";
@@ -2,7 +2,7 @@ import type { AppState, NormalizedZoomValue } from "./types";
2
2
  export declare const getDefaultAppState: () => Omit<AppState, "offsetTop" | "offsetLeft" | "width" | "height">;
3
3
  export declare const clearAppStateForLocalStorage: (appState: Partial<AppState>) => {
4
4
  viewBackgroundColor?: string | undefined;
5
- theme?: import("@excalidraw/element/types").Theme | undefined;
5
+ theme?: import("@misenkashari/excalidraw-element/types").Theme | undefined;
6
6
  name?: string | null | undefined;
7
7
  zoom?: Readonly<{
8
8
  value: NormalizedZoomValue;
@@ -16,11 +16,11 @@ export declare const clearAppStateForLocalStorage: (appState: Partial<AppState>)
16
16
  selectedGroupIds?: {
17
17
  [groupId: string]: boolean;
18
18
  } | undefined;
19
- selectedLinearElement?: import("@excalidraw/element").LinearElementEditor | null | undefined;
19
+ selectedLinearElement?: import("@misenkashari/excalidraw-element").LinearElementEditor | null | undefined;
20
20
  zenModeEnabled?: boolean | undefined;
21
21
  shouldCacheIgnoreZoom?: boolean | undefined;
22
22
  exportScale?: number | undefined;
23
- bindMode?: import("@excalidraw/element/types").BindMode | undefined;
23
+ bindMode?: import("@misenkashari/excalidraw-element/types").BindMode | undefined;
24
24
  gridSize?: number | undefined;
25
25
  showWelcomeScreen?: boolean | undefined;
26
26
  activeTool?: ({
@@ -39,17 +39,17 @@ export declare const clearAppStateForLocalStorage: (appState: Partial<AppState>)
39
39
  exportWithDarkMode?: boolean | undefined;
40
40
  currentItemStrokeColor?: string | undefined;
41
41
  currentItemBackgroundColor?: string | undefined;
42
- currentItemFillStyle?: import("@excalidraw/element/types").FillStyle | undefined;
42
+ currentItemFillStyle?: import("@misenkashari/excalidraw-element/types").FillStyle | undefined;
43
43
  currentItemStrokeWidth?: number | undefined;
44
- currentItemStrokeStyle?: import("@excalidraw/element/types").StrokeStyle | undefined;
44
+ currentItemStrokeStyle?: import("@misenkashari/excalidraw-element/types").StrokeStyle | undefined;
45
45
  currentItemRoughness?: number | undefined;
46
46
  currentItemOpacity?: number | undefined;
47
47
  currentItemFontFamily?: number | undefined;
48
48
  currentItemFontSize?: number | undefined;
49
49
  currentItemTextAlign?: string | undefined;
50
- currentItemStartArrowhead?: import("@excalidraw/element/types").Arrowhead | null | undefined;
51
- currentItemEndArrowhead?: import("@excalidraw/element/types").Arrowhead | null | undefined;
52
- currentItemRoundness?: import("@excalidraw/element/types").StrokeRoundness | undefined;
50
+ currentItemStartArrowhead?: import("@misenkashari/excalidraw-element/types").Arrowhead | null | undefined;
51
+ currentItemEndArrowhead?: import("@misenkashari/excalidraw-element/types").Arrowhead | null | undefined;
52
+ currentItemRoundness?: import("@misenkashari/excalidraw-element/types").StrokeRoundness | undefined;
53
53
  currentItemArrowType?: "round" | "sharp" | "elbow" | undefined;
54
54
  cursorButton?: "up" | "down" | undefined;
55
55
  scrolledOutside?: boolean | undefined;
@@ -59,7 +59,7 @@ export declare const clearAppStateForLocalStorage: (appState: Partial<AppState>)
59
59
  tab?: import("./types").SidebarTabName;
60
60
  } | null | undefined;
61
61
  defaultSidebarDockedPreference?: boolean | undefined;
62
- lastPointerDownWith?: import("@excalidraw/element/types").PointerType | undefined;
62
+ lastPointerDownWith?: import("@misenkashari/excalidraw-element/types").PointerType | undefined;
63
63
  previousSelectedElementIds?: {
64
64
  [id: string]: true;
65
65
  } | undefined;
@@ -69,7 +69,7 @@ export declare const clearAppStateForLocalStorage: (appState: Partial<AppState>)
69
69
  open: boolean;
70
70
  panels: number;
71
71
  } | undefined;
72
- currentChartType?: import("@excalidraw/element/types").ChartType | undefined;
72
+ currentChartType?: import("@misenkashari/excalidraw-element/types").ChartType | undefined;
73
73
  objectsSnapModeEnabled?: boolean | undefined;
74
74
  lockedMultiSelections?: {
75
75
  [groupId: string]: true;
@@ -1,4 +1,4 @@
1
- import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types";
1
+ import type { NonDeletedExcalidrawElement } from "@misenkashari/excalidraw-element/types";
2
2
  export type ChartElements = readonly NonDeletedExcalidrawElement[];
3
3
  export interface Spreadsheet {
4
4
  title: string | null;
@@ -1,7 +1,7 @@
1
- import { ALLOWED_PASTE_MIME_TYPES } from "@excalidraw/common";
2
- import type { ValueOf } from "@excalidraw/common/utility-types";
3
- import type { IMAGE_MIME_TYPES, STRING_MIME_TYPES } from "@excalidraw/common";
4
- import type { ExcalidrawElement, NonDeletedExcalidrawElement } from "@excalidraw/element/types";
1
+ import { ALLOWED_PASTE_MIME_TYPES } from "@misenkashari/excalidraw-common";
2
+ import type { ValueOf } from "@misenkashari/excalidraw-common/utility-types";
3
+ import type { IMAGE_MIME_TYPES, STRING_MIME_TYPES } from "@misenkashari/excalidraw-common";
4
+ import type { ExcalidrawElement, NonDeletedExcalidrawElement } from "@misenkashari/excalidraw-element/types";
5
5
  import type { FileSystemHandle } from "./data/filesystem";
6
6
  import type { Spreadsheet } from "./charts";
7
7
  import type { BinaryFiles } from "./types";
@@ -1,4 +1,4 @@
1
- import type { ExcalidrawElement, NonDeletedElementsMap, NonDeletedSceneElementsMap } from "@excalidraw/element/types";
1
+ import type { ExcalidrawElement, NonDeletedElementsMap, NonDeletedSceneElementsMap } from "@misenkashari/excalidraw-element/types";
2
2
  import "./Actions.scss";
3
3
  import type { AppClassProperties, AppProps, UIAppState, Zoom, AppState } from "../types";
4
4
  import type { ActionManager } from "../actions/manager";
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
- import { type EXPORT_IMAGE_TYPES, Emitter, type EditorInterface, type StylesPanelMode } from "@excalidraw/common";
3
- import { LinearElementEditor, FlowChartCreator, Scene, Store, type ElementUpdate, StoreDelta, type ApplyToOptions } from "@excalidraw/element";
4
- import type { ExcalidrawElement, NonDeleted, NonDeletedExcalidrawElement, ExcalidrawFrameLikeElement, ExcalidrawIframeElement, ExcalidrawEmbeddableElement, Ordered, SceneElementsMap } from "@excalidraw/element/types";
5
- import type { Mutable } from "@excalidraw/common/utility-types";
2
+ import { type EXPORT_IMAGE_TYPES, Emitter, type EditorInterface, type StylesPanelMode } from "@misenkashari/excalidraw-common";
3
+ import { LinearElementEditor, FlowChartCreator, Scene, Store, type ElementUpdate, StoreDelta, type ApplyToOptions } from "@misenkashari/excalidraw-element";
4
+ import type { ExcalidrawElement, NonDeleted, NonDeletedExcalidrawElement, ExcalidrawFrameLikeElement, ExcalidrawIframeElement, ExcalidrawEmbeddableElement, Ordered, SceneElementsMap } from "@misenkashari/excalidraw-element/types";
5
+ import type { Mutable } from "@misenkashari/excalidraw-common/utility-types";
6
6
  import { ActionManager } from "../actions/manager";
7
7
  import { AnimationFrameHandler } from "../animation-frame-handler";
8
8
  import { History } from "../history";
@@ -122,7 +122,7 @@ declare class App extends React.Component<AppProps, AppState> {
122
122
  };
123
123
  originalElements: Map<string, NonDeleted<ExcalidrawElement>>;
124
124
  resize: {
125
- handleType: import("@excalidraw/element").MaybeTransformHandleType;
125
+ handleType: import("@misenkashari/excalidraw-element").MaybeTransformHandleType;
126
126
  isResizing: boolean;
127
127
  offset: {
128
128
  x: number;
@@ -155,7 +155,7 @@ declare class App extends React.Component<AppProps, AppState> {
155
155
  blockDragging: boolean;
156
156
  };
157
157
  eventListeners: {
158
- onMove: null | ReturnType<typeof import("@excalidraw/common").throttleRAF>;
158
+ onMove: null | ReturnType<typeof import("@misenkashari/excalidraw-common").throttleRAF>;
159
159
  onUp: null | ((event: PointerEvent) => void);
160
160
  onKeyDown: null | ((event: KeyboardEvent) => void);
161
161
  onKeyUp: null | ((event: KeyboardEvent) => void);
@@ -184,7 +184,7 @@ declare class App extends React.Component<AppProps, AppState> {
184
184
  };
185
185
  originalElements: Map<string, NonDeleted<ExcalidrawElement>>;
186
186
  resize: {
187
- handleType: import("@excalidraw/element").MaybeTransformHandleType;
187
+ handleType: import("@misenkashari/excalidraw-element").MaybeTransformHandleType;
188
188
  isResizing: boolean;
189
189
  offset: {
190
190
  x: number;
@@ -217,7 +217,7 @@ declare class App extends React.Component<AppProps, AppState> {
217
217
  blockDragging: boolean;
218
218
  };
219
219
  eventListeners: {
220
- onMove: null | ReturnType<typeof import("@excalidraw/common").throttleRAF>;
220
+ onMove: null | ReturnType<typeof import("@misenkashari/excalidraw-common").throttleRAF>;
221
221
  onUp: null | ((event: PointerEvent) => void);
222
222
  onKeyDown: null | ((event: KeyboardEvent) => void);
223
223
  onKeyUp: null | ((event: KeyboardEvent) => void);
@@ -258,7 +258,7 @@ declare class App extends React.Component<AppProps, AppState> {
258
258
  private toggleOverscrollBehavior;
259
259
  render(): import("react/jsx-runtime").JSX.Element;
260
260
  focusContainer: AppClassProperties["focusContainer"];
261
- getSceneElementsIncludingDeleted: () => readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
261
+ getSceneElementsIncludingDeleted: () => readonly import("@misenkashari/excalidraw-element/types").OrderedExcalidrawElement[];
262
262
  getSceneElementsMapIncludingDeleted: () => SceneElementsMap;
263
263
  getSceneElements: () => readonly Ordered<NonDeletedExcalidrawElement>[];
264
264
  onInsertElements: (elements: readonly ExcalidrawElement[]) => void;
@@ -1,5 +1,5 @@
1
- import type { ColorTuple, ColorPaletteCustom } from "@excalidraw/common";
2
- import type { ExcalidrawElement } from "@excalidraw/element/types";
1
+ import type { ColorTuple, ColorPaletteCustom } from "@misenkashari/excalidraw-common";
2
+ import type { ExcalidrawElement } from "@misenkashari/excalidraw-element/types";
3
3
  import "./ColorPicker.scss";
4
4
  import type { ColorPickerType } from "./colorPickerUtils";
5
5
  import type { AppState } from "../../types";
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import type { ExcalidrawElement } from "@excalidraw/element/types";
3
- import type { ColorPaletteCustom } from "@excalidraw/common";
2
+ import type { ExcalidrawElement } from "@misenkashari/excalidraw-element/types";
3
+ import type { ColorPaletteCustom } from "@misenkashari/excalidraw-common";
4
4
  import type { ColorPickerType } from "./colorPickerUtils";
5
5
  interface PickerProps {
6
6
  color: string | null;
@@ -1,4 +1,4 @@
1
- import type { ColorPaletteCustom } from "@excalidraw/common";
1
+ import type { ColorPaletteCustom } from "@misenkashari/excalidraw-common";
2
2
  interface PickerColorListProps {
3
3
  palette: ColorPaletteCustom;
4
4
  color: string | null;
@@ -1,4 +1,4 @@
1
- import type { ColorPaletteCustom } from "@excalidraw/common";
1
+ import type { ColorPaletteCustom } from "@misenkashari/excalidraw-common";
2
2
  interface ShadeListProps {
3
3
  color: string | null;
4
4
  onChange: (color: string) => void;
@@ -1,5 +1,5 @@
1
- import type { ExcalidrawElement } from "@excalidraw/element/types";
2
- import type { ColorPickerColor, ColorPaletteCustom } from "@excalidraw/common";
1
+ import type { ExcalidrawElement } from "@misenkashari/excalidraw-element/types";
2
+ import type { ColorPickerColor, ColorPaletteCustom } from "@misenkashari/excalidraw-common";
3
3
  export declare const getColorNameAndShadeFromColor: ({ palette, color, }: {
4
4
  palette: ColorPaletteCustom;
5
5
  color: string | null;
@@ -1,4 +1,4 @@
1
- import type { ColorPaletteCustom } from "@excalidraw/common";
1
+ import type { ColorPaletteCustom } from "@misenkashari/excalidraw-common";
2
2
  import type { ActiveColorPickerSectionAtomType } from "./colorPickerUtils";
3
3
  interface ColorPickerKeyNavHandlerProps {
4
4
  event: React.KeyboardEvent;
@@ -1,5 +1,5 @@
1
- import type { ConvertibleTypes, ExcalidrawElement, ExcalidrawTextContainer, ExcalidrawTextElementWithContainer } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { ConvertibleTypes, ExcalidrawElement, ExcalidrawTextContainer, ExcalidrawTextElementWithContainer } from "@misenkashari/excalidraw-element/types";
2
+ import type { Scene } from "@misenkashari/excalidraw-element";
3
3
  import "./ConvertElementTypePopup.scss";
4
4
  import type App from "./App";
5
5
  export declare const convertElementTypePopupAtom: import("jotai/vanilla/atom").PrimitiveAtom<{
@@ -1,4 +1,4 @@
1
- import type { Theme } from "@excalidraw/element/types";
1
+ import type { Theme } from "@misenkashari/excalidraw-element/types";
2
2
  import "./ToolIcon.scss";
3
3
  export declare const DarkModeToggle: (props: {
4
4
  value: Theme;
@@ -1,4 +1,4 @@
1
- import type { MarkOptional } from "@excalidraw/common/utility-types";
1
+ import type { MarkOptional } from "@misenkashari/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 "@misenkashari/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 "@misenkashari/excalidraw-element/types";
2
+ import type { Scene } from "@misenkashari/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 "@misenkashari/excalidraw-element/types";
2
2
  import "./EyeDropper.scss";
3
3
  import type { ColorPickerType } from "./ColorPicker/colorPickerUtils";
4
4
  export type EyeDropperProperties = {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { FontFamilyValues } from "@excalidraw/element/types";
2
+ import type { FontFamilyValues } from "@misenkashari/excalidraw-element/types";
3
3
  import "./FontPicker.scss";
4
4
  export declare const DEFAULT_FONTS: {
5
5
  value: number;
@@ -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 "@misenkashari/excalidraw-element/types";
3
+ import type { ValueOf } from "@misenkashari/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 { FontFamilyValues } from "@excalidraw/element/types";
1
+ import type { FontFamilyValues } from "@misenkashari/excalidraw-element/types";
2
2
  interface FontPickerTriggerProps {
3
3
  selectedFontFamily: FontFamilyValues | null;
4
4
  isOpened?: boolean;
@@ -1,4 +1,4 @@
1
- import type { Node } from "@excalidraw/common";
1
+ import type { Node } from "@misenkashari/excalidraw-common";
2
2
  import { type FontDescriptor } from "./FontPickerList";
3
3
  interface FontPickerKeyNavHandlerProps {
4
4
  event: React.KeyboardEvent<HTMLDivElement>;
@@ -1,4 +1,4 @@
1
- import type { EditorInterface } from "@excalidraw/common";
1
+ import type { EditorInterface } from "@misenkashari/excalidraw-common";
2
2
  import "./HintViewer.scss";
3
3
  import type { AppClassProperties, UIAppState } from "../types";
4
4
  interface HintViewerProps {
@@ -1,4 +1,4 @@
1
- import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types";
1
+ import type { NonDeletedExcalidrawElement } from "@misenkashari/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 { Theme } from "@excalidraw/element/types";
2
+ import type { Theme } from "@misenkashari/excalidraw-element/types";
3
3
  import type { Language } from "../i18n";
4
4
  interface Props {
5
5
  langCode: Language["code"];
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types";
2
+ import type { NonDeletedExcalidrawElement } from "@misenkashari/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 "@misenkashari/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 "@misenkashari/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,4 +1,4 @@
1
- import type { Theme } from "@excalidraw/element/types";
1
+ import type { Theme } from "@misenkashari/excalidraw-element/types";
2
2
  export declare const LoadingMessage: React.FC<{
3
3
  delay?: number;
4
4
  theme?: Theme;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types";
2
+ import type { NonDeletedExcalidrawElement } from "@misenkashari/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 "@misenkashari/excalidraw-element/types";
2
+ import type { Scene } from "@misenkashari/excalidraw-element";
3
3
  import type { AppState } from "../../types";
4
4
  interface AngleProps {
5
5
  element: ExcalidrawElement;
@@ -1,4 +1,4 @@
1
- import type { Scene } from "@excalidraw/element";
1
+ import type { Scene } from "@misenkashari/excalidraw-element";
2
2
  import type { AppState } from "../../types";
3
3
  interface PositionProps {
4
4
  property: "gridStep";
@@ -1,5 +1,5 @@
1
- import type { ExcalidrawElement } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { ExcalidrawElement } from "@misenkashari/excalidraw-element/types";
2
+ import type { Scene } from "@misenkashari/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 "@misenkashari/excalidraw-element/types";
2
+ import type { Scene } from "@misenkashari/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 "@misenkashari/excalidraw-element/types";
2
+ import type { Scene } from "@misenkashari/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 "@misenkashari/excalidraw-element/types";
2
+ import type { Scene } from "@misenkashari/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 "@misenkashari/excalidraw-element/types";
2
+ import type { Scene } from "@misenkashari/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 "@misenkashari/excalidraw-element/types";
2
+ import type { Scene } from "@misenkashari/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 "@misenkashari/excalidraw-element/types";
2
+ import type { Scene } from "@misenkashari/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 "@misenkashari/excalidraw-element/types";
2
+ import type { Scene } from "@misenkashari/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 "@misenkashari/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 "@misenkashari/excalidraw-element/types";
2
+ import type { Scene } from "@misenkashari/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,6 +1,6 @@
1
1
  import type { MermaidConfig } from "@excalidraw/mermaid-to-excalidraw";
2
2
  import type { MermaidToExcalidrawResult } from "@excalidraw/mermaid-to-excalidraw/dist/interfaces";
3
- import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types";
3
+ import type { NonDeletedExcalidrawElement } from "@misenkashari/excalidraw-element/types";
4
4
  import type { AppClassProperties, BinaryFiles } from "../../types";
5
5
  export interface MermaidToExcalidrawLibProps {
6
6
  loaded: boolean;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { PointerType } from "@excalidraw/element/types";
2
+ import type { PointerType } from "@misenkashari/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";
2
+ import { type EditorInterface } from "@misenkashari/excalidraw-common";
3
3
  import type { RenderableElementsMap, RenderInteractiveSceneCallback } from "@excalidraw/excalidraw/scene/types";
4
- import type { NonDeletedExcalidrawElement, NonDeletedSceneElementsMap } from "@excalidraw/element/types";
4
+ import type { NonDeletedExcalidrawElement, NonDeletedSceneElementsMap } from "@misenkashari/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 "@misenkashari/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 "@misenkashari/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";
@@ -42,7 +42,7 @@ declare const DropdownMenu: {
42
42
  displayName: string;
43
43
  Badge: {
44
44
  ({ type, children, }: {
45
- type?: import("@excalidraw/common/utility-types").ValueOf<typeof import("./DropdownMenuItem").DropDownMenuItemBadgeType>;
45
+ type?: import("@misenkashari/excalidraw-common/utility-types").ValueOf<typeof import("./DropdownMenuItem").DropDownMenuItemBadgeType>;
46
46
  children: React.ReactNode;
47
47
  }): import("react/jsx-runtime").JSX.Element;
48
48
  displayName: string;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { ValueOf } from "@excalidraw/common/utility-types";
2
+ import type { ValueOf } from "@misenkashari/excalidraw-common/utility-types";
3
3
  import type { JSX } from "react";
4
4
  declare const DropdownMenuItem: {
5
5
  ({ icon, value, order, children, shortcut, className, hovered, selected, textStyle, onSelect, onClick, ...rest }: {