jderobot-ide-interface 0.1.44 → 0.1.46
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/Modals/Modal.d.ts +9 -0
- package/dist/components/Modals/Modal.styles.d.ts +11 -0
- package/dist/components/Modals/UploadModal.stories.d.ts +6 -0
- package/dist/components/Modals/index.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/main.js +2 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/components/Modals/UploadModal.styles.d.ts +0 -12
|
@@ -53,3 +53,12 @@ interface ModalInputDropdownProps extends ModalInputBoxProps {
|
|
|
53
53
|
entries?: string[];
|
|
54
54
|
}
|
|
55
55
|
export declare const ModalInputDropdown: ({ ref, id, placeholder, onChange, isInputValid, description, entries, ...props }: ModalInputDropdownProps) => JSX.Element;
|
|
56
|
+
interface ModalInputDropAreaProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
57
|
+
areaRef: React.RefObject<HTMLLabelElement>;
|
|
58
|
+
inputRef: React.RefObject<HTMLInputElement>;
|
|
59
|
+
id: string;
|
|
60
|
+
dropTitle: string;
|
|
61
|
+
onChange: (event: any) => void;
|
|
62
|
+
onDrop: (event: any) => void;
|
|
63
|
+
}
|
|
64
|
+
export declare const ModalInputDropArea: ({ areaRef, inputRef, id, dropTitle, onChange, onDrop, ...props }: ModalInputDropAreaProps) => JSX.Element;
|
|
@@ -69,4 +69,15 @@ interface StyledModalEditableListProps {
|
|
|
69
69
|
roundness?: number;
|
|
70
70
|
}
|
|
71
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;
|
|
72
|
+
interface StyledModelDropAreaProps {
|
|
73
|
+
text?: string;
|
|
74
|
+
bgColor?: string;
|
|
75
|
+
hoverColor?: string;
|
|
76
|
+
buttonColor?: string;
|
|
77
|
+
borderColor?: string;
|
|
78
|
+
hoverBorderColor?: string;
|
|
79
|
+
roundness?: number;
|
|
80
|
+
active?: boolean;
|
|
81
|
+
}
|
|
82
|
+
export declare const StyledModalDropArea: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, StyledModelDropAreaProps>> & string;
|
|
72
83
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as Modal, ModalTitlebar, ModalInputBox, ModalRow, ModalInputDropdown, ModalEditableList, } from "./Modal";
|
|
1
|
+
export { default as Modal, ModalTitlebar, ModalInputBox, ModalRow, ModalInputDropdown, ModalEditableList, ModalInputDropArea, } 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
|
@@ -4,6 +4,6 @@ export { VncViewer } from "./components";
|
|
|
4
4
|
export { StatusBarCustomUniverseSelector } from "./components";
|
|
5
5
|
export { ProgressBar } from "./components";
|
|
6
6
|
export { Button, MenuButton, MenuButtonStroke, MenuButtonLabel, } from "./components";
|
|
7
|
-
export { Modal, ModalTitlebar, ModalRow, ModalInputBox, ModalInputDropdown, ModalEditableList, } from "./components";
|
|
7
|
+
export { Modal, ModalTitlebar, ModalRow, ModalInputBox, ModalInputDropdown, ModalEditableList, ModalInputDropArea, } from "./components";
|
|
8
8
|
export { ThemeProvider, useTheme, OptionsProvider, useOptions, ErrorProvider, useError, } from "./utils";
|
|
9
9
|
export type { ExtraEditorProps, Layout, Entry, Options, Theme, ExplorerEntry, EditorsEntry, ViewersEntry, newFileData, ExtraApi, StatusBarComponents, ModelRowTypes, } from "./types";
|