jderobot-ide-interface 0.1.21 → 0.1.23
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,7 +1,8 @@
|
|
|
1
1
|
export type ButtonVariant = "standard" | "colored" | "tab";
|
|
2
2
|
export type IconVariant = "fill" | "stroke";
|
|
3
|
-
declare const Button: ({ active, variant, iconType, title, id, onClick, children, }: {
|
|
3
|
+
declare const Button: ({ active, isLabel, variant, iconType, title, id, onClick, children, }: {
|
|
4
4
|
active: boolean;
|
|
5
|
+
isLabel: boolean;
|
|
5
6
|
variant: ButtonVariant;
|
|
6
7
|
iconType: IconVariant;
|
|
7
8
|
title: string;
|
|
@@ -22,3 +23,9 @@ export declare const MenuButtonStroke: ({ title, id, onClick, children, }: {
|
|
|
22
23
|
onClick: Function;
|
|
23
24
|
children: any;
|
|
24
25
|
}) => JSX.Element;
|
|
26
|
+
export declare const MenuButtonLabel: ({ title, id, onClick, children, }: {
|
|
27
|
+
title: string;
|
|
28
|
+
id: string;
|
|
29
|
+
onClick: Function;
|
|
30
|
+
children: any;
|
|
31
|
+
}) => JSX.Element;
|
|
@@ -6,6 +6,7 @@ interface StyledButtonProps {
|
|
|
6
6
|
variant: ButtonVariant;
|
|
7
7
|
iconType: IconVariant;
|
|
8
8
|
active: boolean;
|
|
9
|
+
isLabel: boolean;
|
|
9
10
|
}
|
|
10
11
|
export declare const StyledButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, StyledButtonProps>> & string;
|
|
11
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as Button, MenuButton, MenuButtonStroke } from "./Button";
|
|
1
|
+
export { default as Button, MenuButton, MenuButtonStroke, MenuButtonLabel } from "./Button";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IdeInterface } from "./components";
|
|
2
2
|
export default IdeInterface;
|
|
3
3
|
export { VncViewer } from "./components";
|
|
4
|
-
export { Button, MenuButton, MenuButtonStroke } from "./components";
|
|
4
|
+
export { Button, MenuButton, MenuButtonStroke, MenuButtonLabel } from "./components";
|
|
5
5
|
export { ThemeProvider, useTheme, OptionsProvider, useOptions, ErrorProvider, useError, } from "./utils";
|
|
6
6
|
export type { ExtraEditorProps, Layout, Entry, Options, Theme, ExplorerEntry, EditorsEntry, ViewersEntry, newFileData, ExtraApi, StatusBarComponents, } from "./types";
|