jderobot-ide-interface 0.1.48 → 0.1.49
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/Button.stories.d.ts +1 -1
- package/dist/components/IdeInterface/IdeInterface.stories.d.ts +1 -1
- package/dist/components/Modals/DeleteModal.stories.d.ts +1 -1
- package/dist/components/Modals/ErrorModal.stories.d.ts +1 -1
- package/dist/components/Modals/Modal.d.ts +9 -1
- package/dist/components/Modals/Modal.stories.d.ts +1 -1
- package/dist/components/Modals/Modal.styles.d.ts +11 -0
- package/dist/components/Modals/NewFileModal.stories.d.ts +1 -1
- package/dist/components/Modals/UploadModal.stories.d.ts +1 -1
- package/dist/components/Modals/index.d.ts +1 -1
- package/dist/components/VncViewer/VncViewer.stories.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/main.js +2 -2
- package/dist/package.json +5 -6
- package/dist/types/fileTypes.d.ts +6 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/modal.d.ts +6 -0
- package/package.json +5 -6
- package/dist/components/Modals/NewFileModal.styles.d.ts +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import { ModelRowTypes } from "Types";
|
|
2
|
+
import { ModalInputSelectIconEntry, ModelRowTypes } from "Types";
|
|
3
3
|
declare const Modal: ({ id, isOpen, onClose, children, onSubmit, onReset, }: {
|
|
4
4
|
id: string;
|
|
5
5
|
isOpen: boolean;
|
|
@@ -62,3 +62,11 @@ interface ModalInputDropAreaProps extends React.InputHTMLAttributes<HTMLInputEle
|
|
|
62
62
|
onDrop: (event: any) => void;
|
|
63
63
|
}
|
|
64
64
|
export declare const ModalInputDropArea: ({ areaRef, inputRef, id, dropTitle, onChange, onDrop, ...props }: ModalInputDropAreaProps) => JSX.Element;
|
|
65
|
+
interface ModalInputSelectIconProps {
|
|
66
|
+
id: string;
|
|
67
|
+
title: string;
|
|
68
|
+
onChange: (event: any) => void;
|
|
69
|
+
selected: string;
|
|
70
|
+
entries: ModalInputSelectIconEntry[];
|
|
71
|
+
}
|
|
72
|
+
export declare const ModalInputSelectIcon: ({ title, id, onChange, selected, entries, }: ModalInputSelectIconProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react-webpack5";
|
|
2
2
|
import { ModalEditableList } from "./Modal";
|
|
3
3
|
type Story = StoryObj<typeof ModalEditableList>;
|
|
4
4
|
declare const meta: Meta<typeof ModalEditableList>;
|
|
@@ -84,4 +84,15 @@ interface StyledModelDropAreaProps {
|
|
|
84
84
|
active?: boolean;
|
|
85
85
|
}
|
|
86
86
|
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;
|
|
87
|
+
export declare const StyledModalInputSelectorTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
|
|
88
|
+
export declare const StyledModalInputSelector: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
89
|
+
interface StyledModalSelectIconProps {
|
|
90
|
+
hoverColor?: string;
|
|
91
|
+
selectedColor?: string;
|
|
92
|
+
color?: string;
|
|
93
|
+
roundness?: number;
|
|
94
|
+
icon: "fill" | "stroke";
|
|
95
|
+
active?: boolean;
|
|
96
|
+
}
|
|
97
|
+
export declare const StyledModalSelectIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledModalSelectIconProps>> & string;
|
|
87
98
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as Modal, ModalTitlebar, ModalInputBox, ModalRow, ModalInputDropdown, ModalEditableList, ModalInputDropArea, } from "./Modal";
|
|
1
|
+
export { default as Modal, ModalTitlebar, ModalInputBox, ModalRow, ModalInputDropdown, ModalEditableList, ModalInputDropArea, ModalInputSelectIcon, } 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, ModalInputDropArea, } from "./components";
|
|
7
|
+
export { Modal, ModalTitlebar, ModalRow, ModalInputBox, ModalInputDropdown, ModalEditableList, ModalInputDropArea, ModalInputSelectIcon } from "./components";
|
|
8
8
|
export { ThemeProvider, useTheme, OptionsProvider, useOptions, ErrorProvider, useError, } from "./utils";
|
|
9
|
-
export type { ExtraEditorProps, Layout, Entry, Options, Theme, ExplorerEntry, EditorsEntry, ViewersEntry, newFileData, ExtraApi, StatusBarComponents, ModelRowTypes, } from "./types";
|
|
9
|
+
export type { ExtraEditorProps, Layout, Entry, Options, Theme, ExplorerEntry, EditorsEntry, ViewersEntry, newFileData, ExtraApi, StatusBarComponents, ModelRowTypes, ModalInputSelectIconEntry } from "./types";
|