jderobot-ide-interface 0.3.16 → 0.3.18
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/dist/a5a14e7d119e89dea736.wasm +0 -0
- package/dist/components/Explorer/file_explorer/TreeNode.styles.d.ts +1 -1
- package/dist/components/FileEditor/FileEditor.d.ts +2 -1
- package/dist/components/FileEditor/IdeInterface.stories.d.ts +5 -0
- package/dist/components/FileEditor/TextEditor.d.ts +2 -1
- package/dist/components/FileEditor/lsp-client.d.ts +1 -0
- package/dist/components/IdeInterface/IdeInterface.stories.d.ts +1 -1
- package/dist/components/IdeInterface/IdeInterface.styles.d.ts +176 -176
- package/dist/components/Modals/Modal.styles.d.ts +2 -2
- package/dist/d94e0a7c7ed2cbcaeba4.html +123 -0
- package/dist/main.js +42 -7
- package/dist/node_fs_promises.main.js +13 -0
- package/dist/node_modules_vscode_diff_dist_worker_js_esm.main.js +397 -0
- package/dist/package.json +1 -1
- package/dist/vendors-node_modules_jschardet_index_js.main.js +8224 -0
- package/dist/vendors-node_modules_vscode_diff_dist_index_js.main.js +626 -0
- package/dist/vendors-node_modules_vscode_diff_dist_wire_js.main.js +2233 -0
- package/dist/vendors-node_modules_vscode_iconv-lite-umd_lib_iconv-lite-umd_js.main.js +18 -0
- package/package.json +1 -1
|
Binary file
|
|
@@ -16,7 +16,7 @@ export declare const StyledExtraIcon: import("styled-components/dist/types").ISt
|
|
|
16
16
|
interface StyledExplorerAccentProps {
|
|
17
17
|
color?: string;
|
|
18
18
|
}
|
|
19
|
-
export declare const StyledExplorerAccent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("@mui/material/SvgIcon").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").SVGProps<SVGSVGElement>, "children" | "
|
|
19
|
+
export declare const StyledExplorerAccent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("@mui/material/SvgIcon").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").SVGProps<SVGSVGElement>, "children" | "color" | "className" | "style" | "classes" | "fontSize" | "htmlColor" | "inheritViewBox" | "shapeRendering" | "sx" | "titleAccess" | "viewBox">, "color"> & StyledExplorerAccentProps, never> & Partial<Pick<import("styled-components").FastOmit<import("@mui/material/SvgIcon").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").SVGProps<SVGSVGElement>, "children" | "color" | "className" | "style" | "classes" | "fontSize" | "htmlColor" | "inheritViewBox" | "shapeRendering" | "sx" | "titleAccess" | "viewBox">, "color"> & StyledExplorerAccentProps, never>>> & string & Omit<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
20
20
|
muiName: string;
|
|
21
21
|
}, keyof import("react").Component<any, {}, any>>;
|
|
22
22
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from "react";
|
|
2
2
|
import { CommsManager } from "jderobot-commsmanager";
|
|
3
3
|
import { Entry, EditorsEntry, Options, ExtraSnippets, ExtraApi, Layout } from "Types";
|
|
4
|
-
declare const FileEditor: ({ currentFile, changeCurrentFile, currentProjectname, autosave, manager, api, extraEditors, splashIcon, options, extraSnippets, layout, }: {
|
|
4
|
+
declare const FileEditor: ({ currentFile, changeCurrentFile, currentProjectname, autosave, manager, api, extraEditors, splashIcon, options, extraSnippets, layout, onCodeChange, }: {
|
|
5
5
|
currentFile?: Entry;
|
|
6
6
|
changeCurrentFile: Function;
|
|
7
7
|
currentProjectname: string;
|
|
@@ -13,5 +13,6 @@ declare const FileEditor: ({ currentFile, changeCurrentFile, currentProjectname,
|
|
|
13
13
|
options?: Options;
|
|
14
14
|
extraSnippets?: ExtraSnippets;
|
|
15
15
|
layout: Layout;
|
|
16
|
+
onCodeChange?: () => void;
|
|
16
17
|
}) => JSX.Element;
|
|
17
18
|
export default FileEditor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { CommsManager } from "jderobot-commsmanager";
|
|
3
3
|
import { ExtraSnippets } from "Types";
|
|
4
|
-
declare const FileEditor: ({ commsManager, fileContent, setFileContent, saveFile, language, zoomLevel, extraSnippets, }: {
|
|
4
|
+
declare const FileEditor: ({ commsManager, fileContent, setFileContent, saveFile, language, zoomLevel, extraSnippets, onCodeChange, }: {
|
|
5
5
|
commsManager: CommsManager | null;
|
|
6
6
|
fileContent: string;
|
|
7
7
|
setFileContent: Function;
|
|
@@ -9,5 +9,6 @@ declare const FileEditor: ({ commsManager, fileContent, setFileContent, saveFile
|
|
|
9
9
|
language: string;
|
|
10
10
|
zoomLevel: number;
|
|
11
11
|
extraSnippets?: ExtraSnippets;
|
|
12
|
+
onCodeChange?: () => void;
|
|
12
13
|
}) => React.JSX.Element;
|
|
13
14
|
export default FileEditor;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const initWebSocketAndStartClient: (url: string) => WebSocket;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from "@storybook/react-webpack5";
|
|
2
|
-
import { ExplorerEntry } from "Types";
|
|
3
2
|
import IdeInterface from "./IdeInterface";
|
|
3
|
+
import { ExplorerEntry } from "Types";
|
|
4
4
|
type Story = StoryObj<typeof IdeInterface>;
|
|
5
5
|
declare const meta: Meta<typeof IdeInterface>;
|
|
6
6
|
export default meta;
|