jderobot-ide-interface 0.1.14
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 +1 -0
- package/dist/0896126134a9b188344fa6e4ad704b0d.svg +4 -0
- package/dist/094070de94411c40fa83db7cfbd274b0.svg +4 -0
- package/dist/0a933c3e6eeabc70f06c42942a14519a.svg +4 -0
- package/dist/0dbb251678b3c31813ac68b35701ae40.svg +27 -0
- package/dist/2e62728ae4c396b0a80d277259b378d1.svg +4 -0
- package/dist/32474416e5f4515085e53df0b4e21357.svg +4 -0
- package/dist/39d7dc6012dc2093fc281466cc28f6c7.svg +8 -0
- package/dist/3a6e3acd0b2afc8572ac399fd3d98456.svg +4 -0
- package/dist/4b4fa0fa1fe33beed86a9dde9e03ce33.svg +4 -0
- package/dist/4e8079ca6526a8ef2538faab426f1386.svg +17 -0
- package/dist/597d04d21f9ffffe44d4c1c7cee4a8a2.svg +4 -0
- package/dist/5d7a32e100f500c95ebc1be7495d48a0.svg +4 -0
- package/dist/5f9c8c3872ccef6b9e6ea1273c4fd544.svg +4 -0
- package/dist/7dd50ec0079c5fcfb4d02e852d14a2c9.svg +4 -0
- package/dist/a0d7f6744fa00f02309a98ebb3da5e48.svg +4 -0
- package/dist/a211ea02b722dc943b1c3890dd984348.svg +4 -0
- package/dist/assets/index.d.ts +20 -0
- package/dist/cc0581c9b68e8c05bdabf15be9f68268.svg +4 -0
- package/dist/components/Button/Button.d.ts +24 -0
- package/dist/components/Button/Button.stories.d.ts +8 -0
- package/dist/components/Button/Button.styles.d.ts +11 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/ButtonsContainer/ButtonsContainer.styles.d.ts +6 -0
- package/dist/components/ButtonsContainer/index.d.ts +1 -0
- package/dist/components/Dropdown/Dropdown.d.ts +19 -0
- package/dist/components/Dropdown/Dropdown.styles.d.ts +12 -0
- package/dist/components/Dropdown/index.d.ts +1 -0
- package/dist/components/Explorer/Explorer.d.ts +8 -0
- package/dist/components/Explorer/Explorer.styles.d.ts +7 -0
- package/dist/components/Explorer/file_explorer/FileExplorer.d.ts +16 -0
- package/dist/components/Explorer/file_explorer/FileExplorer.styles.d.ts +1 -0
- package/dist/components/Explorer/file_explorer/FileIcon.d.ts +7 -0
- package/dist/components/Explorer/file_explorer/MoreActionsMenu.d.ts +27 -0
- package/dist/components/Explorer/file_explorer/MoreActionsMenu.styles.d.ts +21 -0
- package/dist/components/Explorer/file_explorer/TreeNode.d.ts +11 -0
- package/dist/components/Explorer/file_explorer/TreeNode.styles.d.ts +34 -0
- package/dist/components/Explorer/index.d.ts +1 -0
- package/dist/components/FileEditor/FileEditor.d.ts +14 -0
- package/dist/components/FileEditor/FileEditor.styles.d.ts +9 -0
- package/dist/components/FileEditor/TextEditor.d.ts +10 -0
- package/dist/components/FileEditor/extras.d.ts +22 -0
- package/dist/components/FileEditor/index.d.ts +1 -0
- package/dist/components/FileEditor/snippets.d.ts +8 -0
- package/dist/components/IdeInterface/IdeInterface.d.ts +21 -0
- package/dist/components/IdeInterface/IdeInterface.stories.d.ts +6 -0
- package/dist/components/IdeInterface/IdeInterface.styles.d.ts +34 -0
- package/dist/components/IdeInterface/index.d.ts +1 -0
- package/dist/components/Modals/DeleteModal.d.ts +8 -0
- package/dist/components/Modals/ErrorModal.d.ts +3 -0
- package/dist/components/Modals/ErrorModal.styles.d.ts +66 -0
- package/dist/components/Modals/Modal.d.ts +24 -0
- package/dist/components/Modals/Modal.styles.d.ts +62 -0
- package/dist/components/Modals/NewFileModal.d.ts +9 -0
- package/dist/components/Modals/NewFileModal.stories.d.ts +6 -0
- package/dist/components/Modals/NewFileModal.styles.d.ts +11 -0
- package/dist/components/Modals/NewFolderModal.d.ts +14 -0
- package/dist/components/Modals/RenameModal.d.ts +9 -0
- package/dist/components/Modals/UploadModal.d.ts +9 -0
- package/dist/components/Modals/UploadModal.styles.d.ts +12 -0
- package/dist/components/Modals/index.d.ts +6 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +4 -0
- package/dist/components/ProgressBar/ProgressBar.style.d.ts +9 -0
- package/dist/components/ProgressBar/index.d.ts +1 -0
- package/dist/components/ResizableLayout/ResizableComponents.d.ts +44 -0
- package/dist/components/ResizableLayout/ResizableComponents.styles.d.ts +28 -0
- package/dist/components/ResizableLayout/index.d.ts +1 -0
- package/dist/components/StatusBar/StatusBar.d.ts +10 -0
- package/dist/components/StatusBar/StatusBar.style.d.ts +15 -0
- package/dist/components/StatusBar/index.d.ts +1 -0
- package/dist/components/VncViewer/VncViewer.d.ts +6 -0
- package/dist/components/VncViewer/VncViewer.stories.d.ts +6 -0
- package/dist/components/VncViewer/VncViewer.styles.d.ts +7 -0
- package/dist/components/VncViewer/index.d.ts +1 -0
- package/dist/components/index.d.ts +11 -0
- package/dist/d8a2b45df92c9ae68c85bf6ece9289ae.svg +4 -0
- package/dist/ec99f20bab9b2b9417dd202dcef39e6f.svg +4 -0
- package/dist/fca5588274453e3a7ffc9b828deeab14.svg +4 -0
- package/dist/index.d.ts +5 -0
- package/dist/main.js +3 -0
- package/dist/main.js.LICENSE.txt +30 -0
- package/dist/package.json +60 -0
- package/dist/types/error.d.ts +16 -0
- package/dist/types/events.d.ts +9 -0
- package/dist/types/fileTypes.d.ts +73 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/options.d.ts +5 -0
- package/dist/types/theme.d.ts +36 -0
- package/dist/utils/errorProvider.d.ts +5 -0
- package/dist/utils/events.d.ts +3 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/optionsProvider.d.ts +9 -0
- package/dist/utils/themeProvider.d.ts +9 -0
- package/package.json +60 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ErrorVariant } from "./ErrorModal";
|
|
2
|
+
interface StyledModalErrorRowProps {
|
|
3
|
+
roundness?: number;
|
|
4
|
+
variant: ErrorVariant;
|
|
5
|
+
errorButtonColor?: string;
|
|
6
|
+
errorHoverColor?: string;
|
|
7
|
+
errorTextColor?: string;
|
|
8
|
+
infoButtonColor?: string;
|
|
9
|
+
infoHoverColor?: string;
|
|
10
|
+
infoTextColor?: string;
|
|
11
|
+
warningButtonColor?: string;
|
|
12
|
+
warningHoverColor?: string;
|
|
13
|
+
warningTextColor?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const StyledModalErrorRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledModalErrorRowProps>> & string;
|
|
16
|
+
interface StyledModalErrorProps {
|
|
17
|
+
variant: ErrorVariant;
|
|
18
|
+
error?: string;
|
|
19
|
+
errorBorder?: string;
|
|
20
|
+
info?: string;
|
|
21
|
+
infoBorder?: string;
|
|
22
|
+
warning?: string;
|
|
23
|
+
warningBorder?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const StyledModalError: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<{
|
|
26
|
+
id: string;
|
|
27
|
+
isOpen: boolean;
|
|
28
|
+
hasCloseBtn: boolean;
|
|
29
|
+
onClose: Function;
|
|
30
|
+
children: any;
|
|
31
|
+
}, StyledModalErrorProps>> & string & Omit<({ id, isOpen, hasCloseBtn, onClose, children, }: {
|
|
32
|
+
id: string;
|
|
33
|
+
isOpen: boolean;
|
|
34
|
+
hasCloseBtn: boolean;
|
|
35
|
+
onClose: Function;
|
|
36
|
+
children: any;
|
|
37
|
+
}) => JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
38
|
+
interface StyledModalErrorTitlebarProps {
|
|
39
|
+
variant: ErrorVariant;
|
|
40
|
+
color?: string;
|
|
41
|
+
darkColor?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare const StyledModalErrorTitlebar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<{
|
|
44
|
+
title: string;
|
|
45
|
+
htmlFor: string;
|
|
46
|
+
hasClose: boolean;
|
|
47
|
+
hasBack: boolean;
|
|
48
|
+
handleClose: Function;
|
|
49
|
+
handleBack: Function;
|
|
50
|
+
}, StyledModalErrorTitlebarProps>> & string & Omit<{
|
|
51
|
+
({ title, htmlFor, hasClose, hasBack, handleClose, handleBack, }: {
|
|
52
|
+
title: string;
|
|
53
|
+
htmlFor: string;
|
|
54
|
+
hasClose: boolean;
|
|
55
|
+
hasBack: boolean;
|
|
56
|
+
handleClose: Function;
|
|
57
|
+
handleBack: Function;
|
|
58
|
+
}): JSX.Element;
|
|
59
|
+
defaultProps: {
|
|
60
|
+
hasClose: boolean;
|
|
61
|
+
hasBack: boolean;
|
|
62
|
+
handleClose: () => void;
|
|
63
|
+
handleBack: () => void;
|
|
64
|
+
};
|
|
65
|
+
}, keyof import("react").Component<any, {}, any>>;
|
|
66
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const Modal: ({ id, isOpen, hasCloseBtn, onClose, children, }: {
|
|
2
|
+
id: string;
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
hasCloseBtn: boolean;
|
|
5
|
+
onClose: Function;
|
|
6
|
+
children: any;
|
|
7
|
+
}) => JSX.Element;
|
|
8
|
+
export default Modal;
|
|
9
|
+
export declare const ModalTitlebar: {
|
|
10
|
+
({ title, htmlFor, hasClose, hasBack, handleClose, handleBack, }: {
|
|
11
|
+
title: string;
|
|
12
|
+
htmlFor: string;
|
|
13
|
+
hasClose: boolean;
|
|
14
|
+
hasBack: boolean;
|
|
15
|
+
handleClose: Function;
|
|
16
|
+
handleBack: Function;
|
|
17
|
+
}): JSX.Element;
|
|
18
|
+
defaultProps: {
|
|
19
|
+
hasClose: boolean;
|
|
20
|
+
hasBack: boolean;
|
|
21
|
+
handleClose: () => void;
|
|
22
|
+
handleBack: () => void;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
interface StyledModalProps {
|
|
2
|
+
bgColor?: string;
|
|
3
|
+
borderColor?: string;
|
|
4
|
+
roundness?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const StyledModal: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>, StyledModalProps>> & string;
|
|
7
|
+
export declare const StyledModalContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
+
interface StyledModalTitlebarProps {
|
|
9
|
+
color?: string;
|
|
10
|
+
hoverColor?: string;
|
|
11
|
+
roundness?: number;
|
|
12
|
+
}
|
|
13
|
+
export declare const StyledModalTitlebar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledModalTitlebarProps>> & string;
|
|
14
|
+
interface StyledModalCloseButtonProps {
|
|
15
|
+
color?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const StyledModalCloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").SVGProps<SVGSVGElement> & {
|
|
18
|
+
title?: string;
|
|
19
|
+
}, "ref"> & {
|
|
20
|
+
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
21
|
+
}, StyledModalCloseButtonProps>> & string & Omit<import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
22
|
+
title?: string;
|
|
23
|
+
}>, keyof import("react").Component<any, {}, any>>;
|
|
24
|
+
interface StyledModalBackButtonProps {
|
|
25
|
+
color?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare const StyledModalBackButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").SVGProps<SVGSVGElement> & {
|
|
28
|
+
title?: string;
|
|
29
|
+
}, "ref"> & {
|
|
30
|
+
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
31
|
+
}, StyledModalBackButtonProps>> & string & Omit<import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
|
|
32
|
+
title?: string;
|
|
33
|
+
}>, keyof import("react").Component<any, {}, any>>;
|
|
34
|
+
interface StyledModalRowProps {
|
|
35
|
+
color?: string;
|
|
36
|
+
buttonColor?: string;
|
|
37
|
+
roundness?: number;
|
|
38
|
+
}
|
|
39
|
+
export declare const StyledModalRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledModalRowProps>> & string;
|
|
40
|
+
interface StyledModalButtonRowProps {
|
|
41
|
+
color?: string;
|
|
42
|
+
buttonColor?: string;
|
|
43
|
+
roundness?: number;
|
|
44
|
+
}
|
|
45
|
+
export declare const StyledModalButtonRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledModalButtonRowProps>> & string;
|
|
46
|
+
interface StyledModalButtonDeleteProps {
|
|
47
|
+
bgColor?: string;
|
|
48
|
+
}
|
|
49
|
+
export declare const StyledModalButtonDelete: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, StyledModalButtonDeleteProps>> & string;
|
|
50
|
+
export declare const StyledModalInputRowContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
51
|
+
interface StyledModalInputProps {
|
|
52
|
+
color?: string;
|
|
53
|
+
placeholderColor?: string;
|
|
54
|
+
bgColor?: string;
|
|
55
|
+
borderColor?: string;
|
|
56
|
+
focusBorderColor?: string;
|
|
57
|
+
invalidBorderColor?: string;
|
|
58
|
+
roundness?: number;
|
|
59
|
+
valid?: boolean;
|
|
60
|
+
}
|
|
61
|
+
export declare const StyledModalInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledModalInputProps>> & string;
|
|
62
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Entry } from "Types";
|
|
2
|
+
declare const NewFileModal: ({ onSubmit, isOpen, onClose, fileList, location, }: {
|
|
3
|
+
onSubmit: Function;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: Function;
|
|
6
|
+
fileList: Entry[];
|
|
7
|
+
location: string;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
export default NewFileModal;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const StyledModalCardsTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
|
|
2
|
+
export declare const StyledModalCardsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
interface StyledModalCardsEntryProps {
|
|
4
|
+
hoverColor?: string;
|
|
5
|
+
selectedColor?: string;
|
|
6
|
+
color?: string;
|
|
7
|
+
roundness?: number;
|
|
8
|
+
active?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const StyledModalCardsEntry: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledModalCardsEntryProps>> & string;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface Entry {
|
|
2
|
+
name: string;
|
|
3
|
+
is_dir: boolean;
|
|
4
|
+
path: string;
|
|
5
|
+
files: Entry[];
|
|
6
|
+
}
|
|
7
|
+
declare const NewFolderModal: ({ onSubmit, isOpen, onClose, fileList, location, }: {
|
|
8
|
+
onSubmit: Function;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
onClose: Function;
|
|
11
|
+
fileList: Entry[];
|
|
12
|
+
location: string;
|
|
13
|
+
}) => JSX.Element;
|
|
14
|
+
export default NewFolderModal;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Entry } from "Types";
|
|
2
|
+
declare const RenameModal: ({ onSubmit, isOpen, onClose, fileList, selectedEntry, }: {
|
|
3
|
+
onSubmit: Function;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose: Function;
|
|
6
|
+
fileList: Entry[];
|
|
7
|
+
selectedEntry: Entry;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
export default RenameModal;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const UploadModal: ({ onSubmit, isOpen, onClose, upload, location, currentProject, }: {
|
|
2
|
+
onSubmit: () => void;
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: Function;
|
|
5
|
+
upload: Function;
|
|
6
|
+
location: string;
|
|
7
|
+
currentProject: string;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
export default UploadModal;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface StyledModelDropProps {
|
|
2
|
+
text?: string;
|
|
3
|
+
bgColor?: string;
|
|
4
|
+
hoverColor?: string;
|
|
5
|
+
buttonColor?: string;
|
|
6
|
+
borderColor?: string;
|
|
7
|
+
hoverBorderColor?: string;
|
|
8
|
+
roundness?: number;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const StyledModalDrop: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, StyledModelDropProps>> & string;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as Modal, ModalTitlebar } from "./Modal";
|
|
2
|
+
export { default as DeleteModal } from "./DeleteModal";
|
|
3
|
+
export { default as NewFileModal } from "./NewFileModal";
|
|
4
|
+
export { default as NewFolderModal } from "./NewFolderModal";
|
|
5
|
+
export { default as RenameModal } from "./RenameModal";
|
|
6
|
+
export { default as UploadModal } from "./UploadModal";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface StyledProgressBarProps {
|
|
2
|
+
text?: string;
|
|
3
|
+
color?: string;
|
|
4
|
+
bgColor?: string;
|
|
5
|
+
roundness?: number;
|
|
6
|
+
progress?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const StyledModalCardsEntry: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledProgressBarProps>> & string;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProgressBar } from "./ProgressBar";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const ResizableHoriz: {
|
|
2
|
+
({ width, min, max, snap, children, }: {
|
|
3
|
+
width: number;
|
|
4
|
+
min: number;
|
|
5
|
+
max: number;
|
|
6
|
+
snap: number[];
|
|
7
|
+
children: any;
|
|
8
|
+
}): JSX.Element;
|
|
9
|
+
defaultProps: {
|
|
10
|
+
min: number;
|
|
11
|
+
max: number;
|
|
12
|
+
snap: never[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const ResizableVert: {
|
|
16
|
+
({ height, min, max, snap, children, }: {
|
|
17
|
+
height: number;
|
|
18
|
+
min: number;
|
|
19
|
+
max: number;
|
|
20
|
+
snap: number[];
|
|
21
|
+
children: any;
|
|
22
|
+
}): JSX.Element;
|
|
23
|
+
defaultProps: {
|
|
24
|
+
min: number;
|
|
25
|
+
max: number;
|
|
26
|
+
snap: never[];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export declare const ResizableColumn: ({ children }: {
|
|
30
|
+
children: any[];
|
|
31
|
+
}) => JSX.Element;
|
|
32
|
+
export declare const ResizableRow: ({ baseWidth, maxWidth, showExplorer, layout, splashIcon, children, }: {
|
|
33
|
+
baseWidth: number[];
|
|
34
|
+
maxWidth: number[];
|
|
35
|
+
showExplorer: boolean;
|
|
36
|
+
layout: string;
|
|
37
|
+
splashIcon: JSX.Element;
|
|
38
|
+
children: any[];
|
|
39
|
+
}) => JSX.Element;
|
|
40
|
+
export declare const CollapsableResizableColumn: ({ state, splashIcon, children, }: {
|
|
41
|
+
state: boolean[];
|
|
42
|
+
splashIcon: JSX.Element;
|
|
43
|
+
children: any[];
|
|
44
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Resizable } from "re-resizable";
|
|
2
|
+
interface StyledResizableHorizProps {
|
|
3
|
+
color?: string;
|
|
4
|
+
hover?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const StyledResizableHoriz: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("re-resizable").ResizableProps & import("react").RefAttributes<Resizable>, StyledResizableHorizProps>> & string & Omit<typeof Resizable, keyof import("react").Component<any, {}, any>>;
|
|
7
|
+
interface StyledResizableVertProps {
|
|
8
|
+
color?: string;
|
|
9
|
+
hover?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const StyledResizableVert: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("re-resizable").ResizableProps & import("react").RefAttributes<Resizable>, StyledResizableVertProps>> & string & Omit<typeof Resizable, keyof import("react").Component<any, {}, any>>;
|
|
12
|
+
interface StyledHorizContinerProps {
|
|
13
|
+
bgColor?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const StyledHorizContiner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledHorizContinerProps>> & string;
|
|
16
|
+
interface StyledHorizFillerContinerProps {
|
|
17
|
+
bgColor?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const StyledHorizFillerContiner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledHorizFillerContinerProps>> & string;
|
|
20
|
+
interface StyledVertContinerProps {
|
|
21
|
+
bgColor?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const StyledVertContiner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledVertContinerProps>> & string;
|
|
24
|
+
interface StyledVertFillerContinerProps {
|
|
25
|
+
bgColor?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare const StyledVertFillerContiner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledVertFillerContinerProps>> & string;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CollapsableResizableColumn, ResizableColumn, ResizableRow, } from "./ResizableComponents";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CommsManager } from "jderobot-commsmanager";
|
|
2
|
+
import { StatusBarComponents, ExtraApi } from "Types";
|
|
3
|
+
declare const StatusBar: ({ project, commsManager, resetManager, api, extraComponents, }: {
|
|
4
|
+
project: string;
|
|
5
|
+
commsManager: CommsManager | null;
|
|
6
|
+
resetManager: Function;
|
|
7
|
+
api: ExtraApi;
|
|
8
|
+
extraComponents: StatusBarComponents;
|
|
9
|
+
}) => JSX.Element;
|
|
10
|
+
export default StatusBar;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface StyledStatusBarContainerProps {
|
|
2
|
+
bgColor?: string;
|
|
3
|
+
}
|
|
4
|
+
export declare const StyledStatusBarContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledStatusBarContainerProps>> & string;
|
|
5
|
+
interface StyledStatusBarEntryProps {
|
|
6
|
+
text?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const StyledStatusBarEntry: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledStatusBarEntryProps>> & string;
|
|
9
|
+
interface StyledStatusBarButtonProps {
|
|
10
|
+
text?: string;
|
|
11
|
+
bgColor?: string;
|
|
12
|
+
hoverColor?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const StyledStatusBarButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledStatusBarButtonProps>> & string;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as StatusBar } from "./StatusBar";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface StyledVNCViewerProps {
|
|
2
|
+
bgColor?: string;
|
|
3
|
+
}
|
|
4
|
+
export declare const StyledVNCViewer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledVNCViewerProps>> & string;
|
|
5
|
+
export declare const StyledVNCViewerLoader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
+
export declare const StyledVNCScreen: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>, never>> & string;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as VncViewer } from "./VncViewer";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./IdeInterface";
|
|
2
|
+
export * from "./VncViewer";
|
|
3
|
+
export * from "./StatusBar";
|
|
4
|
+
export * from "./Explorer";
|
|
5
|
+
export * from "./ResizableLayout";
|
|
6
|
+
export * from "./FileEditor";
|
|
7
|
+
export * from "./Modals";
|
|
8
|
+
export * from "./Button";
|
|
9
|
+
export * from "./ButtonsContainer";
|
|
10
|
+
export * from "./ProgressBar";
|
|
11
|
+
export * from "./Dropdown";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="20" height="20" fill="current" version="1.1" viewBox="0 0 6.4 6.4" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="m5.36 1.94v3.42a0.72 0.72 0 0 1-0.72 0.72h-2.88a0.72 0.72 0 0 1-0.72-0.72v-4.32a0.72 0.72 0 0 1 0.72-0.72h1.98zm-1.08 0a0.54 0.54 0 0 1-0.54-0.54v-0.72h-1.98a0.36 0.36 0 0 0-0.36 0.36v4.32a0.36 0.36 0 0 0 0.36 0.36h2.88a0.36 0.36 0 0 0 0.36-0.36v-3.42z" fill="current" stroke-width=".36"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="20" height="20" fill="current" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="m11.455 1h-5.9546a2.25 2.25 0 0 0-2.25 2.25v13.5a2.25 2.25 0 0 0 2.25 2.25h9a2.25 2.25 0 0 0 2.25-2.25v-10.455a1.125 1.125 0 0 0-0.32962-0.79538l-4.1704-4.1704a1.125 1.125 0 0 0-0.79538-0.32962m0.23288 3.9375v-2.25l3.375 3.375h-2.25a1.125 1.125 0 0 1-1.125-1.125m-3.2108 4.6642a0.56321 0.56321 0 1 1 0.7965 0.7965l-1.8529 1.8518 1.8529 1.8518a0.56321 0.56321 0 0 1-0.7965 0.7965l-2.25-2.25a0.5625 0.5625 0 0 1 0-0.7965zm3.0465 0 2.25 2.25a0.5625 0.5625 0 0 1 0 0.7965l-2.25 2.25a0.56321 0.56321 0 0 1-0.7965-0.7965l1.8529-1.8518-1.8529-1.8518a0.56321 0.56321 0 1 1 0.7965-0.7965"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="20" height="20" fill="current" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="m1 3.5a2 2 0 0 1 2-2h5.532a2 2 0 0 1 1.536 0.72l1.9 2.28h-10.968zm0 3v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-10z" clip-rule="evenodd" fill-rule="evenodd"/>
|
|
4
|
+
</svg>
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IdeInterface } from "./components";
|
|
2
|
+
export default IdeInterface;
|
|
3
|
+
export { VncViewer } from "./components";
|
|
4
|
+
export { ThemeProvider, useTheme, OptionsProvider, useOptions, ErrorProvider, useError, } from "./utils";
|
|
5
|
+
export type { ExtraEditorProps, Layout, Entry, Options, Theme, ExplorerEntry, EditorsEntry, ViewersEntry, newFileData, ExtraApi, StatusBarComponents, } from "./types";
|