jderobot-ide-interface 0.1.34 → 0.1.35
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/components/Button/index.d.ts +1 -1
- package/dist/components/Modals/Modal.d.ts +11 -1
- package/dist/components/Modals/Modal.stories.d.ts +6 -0
- package/dist/components/Modals/Modal.styles.d.ts +10 -0
- package/dist/components/Modals/index.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/main.js +2 -2
- package/dist/package.json +1 -1
- package/dist/types/modal.d.ts +1 -1
- package/dist/types/theme.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as Button, MenuButton, MenuButtonStroke, MenuButtonLabel } from "./Button";
|
|
1
|
+
export { default as Button, MenuButton, MenuButtonStroke, MenuButtonLabel, } from "./Button";
|
|
@@ -37,8 +37,18 @@ export declare const ModalRow: {
|
|
|
37
37
|
interface ModalInputBoxProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
38
38
|
ref: React.RefObject<HTMLInputElement>;
|
|
39
39
|
id: string;
|
|
40
|
+
description?: string;
|
|
40
41
|
placeholder: string;
|
|
41
42
|
onChange: (event: any) => void;
|
|
42
43
|
isInputValid: boolean;
|
|
43
44
|
}
|
|
44
|
-
export declare const ModalInputBox: ({ ref, id, placeholder, onChange, isInputValid, ...props }: ModalInputBoxProps) => JSX.Element;
|
|
45
|
+
export declare const ModalInputBox: ({ ref, id, placeholder, onChange, isInputValid, description, ...props }: ModalInputBoxProps) => JSX.Element;
|
|
46
|
+
export declare const ModalEditableList: ({ list, onSelect, onDelete, }: {
|
|
47
|
+
list: string[];
|
|
48
|
+
onSelect: (event: any) => void;
|
|
49
|
+
onDelete: (event: any) => void;
|
|
50
|
+
}) => JSX.Element;
|
|
51
|
+
interface ModalInputDropdownProps extends ModalInputBoxProps {
|
|
52
|
+
entries?: string[];
|
|
53
|
+
}
|
|
54
|
+
export declare const ModalInputDropdown: ({ ref, id, placeholder, onChange, isInputValid, description, entries, ...props }: ModalInputDropdownProps) => JSX.Element;
|
|
@@ -59,4 +59,14 @@ interface StyledModalInputProps {
|
|
|
59
59
|
valid?: boolean;
|
|
60
60
|
}
|
|
61
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
|
+
interface StyledModalEditableListProps {
|
|
63
|
+
color?: string;
|
|
64
|
+
scrollBarColor?: string;
|
|
65
|
+
bgColor?: string;
|
|
66
|
+
entryColor?: string;
|
|
67
|
+
hoverColor?: string;
|
|
68
|
+
deleteColor?: string;
|
|
69
|
+
roundness?: number;
|
|
70
|
+
}
|
|
71
|
+
export declare const StyledModalEditableList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, StyledModalEditableListProps>> & string;
|
|
62
72
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as Modal, ModalTitlebar, ModalInputBox, ModalRow } from "./Modal";
|
|
1
|
+
export { default as Modal, ModalTitlebar, ModalInputBox, ModalRow, ModalInputDropdown, ModalEditableList, } from "./Modal";
|
|
2
2
|
export { default as DeleteModal } from "./DeleteModal";
|
|
3
3
|
export { default as NewFileModal } from "./NewFileModal";
|
|
4
4
|
export { default as NewFolderModal } from "./NewFolderModal";
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ export default IdeInterface;
|
|
|
3
3
|
export { VncViewer } from "./components";
|
|
4
4
|
export { ProgressBar } from "./components";
|
|
5
5
|
export { Button, MenuButton, MenuButtonStroke, MenuButtonLabel, } from "./components";
|
|
6
|
-
export { Modal, ModalTitlebar, ModalRow, ModalInputBox } from "./components";
|
|
6
|
+
export { Modal, ModalTitlebar, ModalRow, ModalInputBox, ModalInputDropdown, ModalEditableList, } from "./components";
|
|
7
7
|
export { ThemeProvider, useTheme, OptionsProvider, useOptions, ErrorProvider, useError, } from "./utils";
|
|
8
|
-
export type { ExtraEditorProps, Layout, Entry, Options, Theme, ExplorerEntry, EditorsEntry, ViewersEntry, newFileData, ExtraApi, StatusBarComponents, ModelRowTypes } from "./types";
|
|
8
|
+
export type { ExtraEditorProps, Layout, Entry, Options, Theme, ExplorerEntry, EditorsEntry, ViewersEntry, newFileData, ExtraApi, StatusBarComponents, ModelRowTypes, } from "./types";
|