jderobot-ide-interface 0.1.47 → 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.
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" fill="none" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m15.514 10h-11.027" fill="none" stroke="current" stroke-linecap="round" stroke-width="2" style="paint-order:fill markers stroke"/>
4
+ </svg>
@@ -18,3 +18,5 @@ export { ReactComponent as ResetIcon } from "./reset.svg";
18
18
  export { ReactComponent as RenameIcon } from "./rename.svg";
19
19
  export { ReactComponent as SaveIcon } from "./save.svg";
20
20
  export { ReactComponent as SplashIcon } from "./logo_jderobot.svg";
21
+ export { ReactComponent as MinusIcon } from "./minus.svg";
22
+ export { ReactComponent as PlusIcon } from "./plus.svg";
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import Button from "./Button";
3
3
  type Story = StoryObj<typeof Button>;
4
4
  declare const meta: Meta<typeof Button>;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import IdeInterface from "./IdeInterface";
3
3
  type Story = StoryObj<typeof IdeInterface>;
4
4
  declare const meta: Meta<typeof IdeInterface>;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import DeleteModal from "./DeleteModal";
3
3
  type Story = StoryObj<typeof DeleteModal>;
4
4
  declare const meta: Meta<typeof DeleteModal>;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import ErrorModal from "./ErrorModal";
3
3
  type Story = StoryObj<typeof ErrorModal>;
4
4
  declare const meta: Meta<typeof ErrorModal>;
@@ -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>;
@@ -11,24 +11,28 @@ interface StyledModalTitlebarProps {
11
11
  roundness?: number;
12
12
  }
13
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 {
14
+ interface StyledModalButtonProps {
15
15
  color?: string;
16
16
  }
17
17
  export declare const StyledModalCloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").SVGProps<SVGSVGElement> & {
18
18
  title?: string;
19
19
  }, "ref"> & {
20
20
  ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
21
- }, StyledModalCloseButtonProps>> & string & Omit<import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
21
+ }, StyledModalButtonProps>> & string & Omit<import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
22
22
  title?: string;
23
23
  }>, keyof import("react").Component<any, {}, any>>;
24
- interface StyledModalBackButtonProps {
25
- color?: string;
26
- }
27
24
  export declare const StyledModalBackButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").SVGProps<SVGSVGElement> & {
28
25
  title?: string;
29
26
  }, "ref"> & {
30
27
  ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
31
- }, StyledModalBackButtonProps>> & string & Omit<import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
28
+ }, StyledModalButtonProps>> & string & Omit<import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
29
+ title?: string;
30
+ }>, keyof import("react").Component<any, {}, any>>;
31
+ export declare const StyledModalDeleteButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").SVGProps<SVGSVGElement> & {
32
+ title?: string;
33
+ }, "ref"> & {
34
+ ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
35
+ }, StyledModalButtonProps>> & string & Omit<import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
32
36
  title?: string;
33
37
  }>, keyof import("react").Component<any, {}, any>>;
34
38
  interface StyledModalRowProps {
@@ -80,4 +84,15 @@ interface StyledModelDropAreaProps {
80
84
  active?: boolean;
81
85
  }
82
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;
83
98
  export {};
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import NewFileModal from "./NewFileModal";
3
3
  type Story = StoryObj<typeof NewFileModal>;
4
4
  declare const meta: Meta<typeof NewFileModal>;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import UploadModal from "./UploadModal";
3
3
  type Story = StoryObj<typeof UploadModal>;
4
4
  declare const meta: Meta<typeof UploadModal>;
@@ -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";
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-webpack5";
2
2
  import VncViewer from "./VncViewer";
3
3
  type Story = StoryObj<typeof VncViewer>;
4
4
  declare const meta: Meta<typeof VncViewer>;
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="20" height="20" version="1.1" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m15.514 10h-11.027" fill="none" stroke="current" stroke-linecap="round" stroke-width="2" style="paint-order:fill markers stroke"/>
4
+ <path d="m10 15.514v-11.027" fill="none" stroke="current" stroke-linecap="round" stroke-width="2" style="paint-order:fill markers stroke"/>
5
+ </svg>
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";