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.
@@ -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>;
@@ -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
- 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>;
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";