@excalidraw/excalidraw 0.14.1-6178-cc37e69 → 0.14.1-6178-2acbae3
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/package.json
CHANGED
|
@@ -6,7 +6,6 @@ import { AppProps, AppState, ExcalidrawProps, BinaryFiles } from "../types";
|
|
|
6
6
|
import Library from "../data/library";
|
|
7
7
|
import "./LayerUI.scss";
|
|
8
8
|
import "./Toolbar.scss";
|
|
9
|
-
import tunnel from "tunnel-rat";
|
|
10
9
|
interface LayerUIProps {
|
|
11
10
|
actionManager: ActionManager;
|
|
12
11
|
appState: AppState;
|
|
@@ -34,15 +33,5 @@ interface LayerUIProps {
|
|
|
34
33
|
renderWelcomeScreen: boolean;
|
|
35
34
|
children?: React.ReactNode;
|
|
36
35
|
}
|
|
37
|
-
declare type Tunnel = ReturnType<typeof tunnel>;
|
|
38
|
-
export declare const TunnelsContext: React.Context<{
|
|
39
|
-
mainMenuTunnel: Tunnel;
|
|
40
|
-
welcomeScreenMenuHintTunnel: Tunnel;
|
|
41
|
-
welcomeScreenToolbarHintTunnel: Tunnel;
|
|
42
|
-
welcomeScreenHelpHintTunnel: Tunnel;
|
|
43
|
-
welcomeScreenCenterTunnel: Tunnel;
|
|
44
|
-
footerCenterTunnel: Tunnel;
|
|
45
|
-
jotaiScope: symbol;
|
|
46
|
-
}>;
|
|
47
36
|
declare const _default: React.MemoExoticComponent<({ actionManager, appState, files, setAppState, elements, canvas, onLockToggle, onHandToolToggle, onPenModeToggle, onInsertElements, showExitZenModeBtn, renderTopRightUI, renderCustomStats, renderCustomSidebar, libraryReturnUrl, UIOptions, focusContainer, library, id, onImageAction, renderWelcomeScreen, children, }: LayerUIProps) => JSX.Element>;
|
|
48
37
|
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import tunnel from "@dwelle/tunnel-rat";
|
|
3
|
+
declare type Tunnel = ReturnType<typeof tunnel>;
|
|
4
|
+
declare type TunnelsContextValue = {
|
|
5
|
+
mainMenuTunnel: Tunnel;
|
|
6
|
+
welcomeScreenMenuHintTunnel: Tunnel;
|
|
7
|
+
welcomeScreenToolbarHintTunnel: Tunnel;
|
|
8
|
+
welcomeScreenHelpHintTunnel: Tunnel;
|
|
9
|
+
welcomeScreenCenterTunnel: Tunnel;
|
|
10
|
+
footerCenterTunnel: Tunnel;
|
|
11
|
+
jotaiScope: symbol;
|
|
12
|
+
};
|
|
13
|
+
export declare const TunnelsContext: React.Context<TunnelsContextValue>;
|
|
14
|
+
export declare const useTunnels: () => TunnelsContextValue;
|
|
15
|
+
export declare const useInitializeTunnels: () => TunnelsContextValue;
|
|
16
|
+
export {};
|