@monolith-forensics/monolith-ui 1.1.58 → 1.1.59
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,6 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { Size, Variant } from "../core";
|
|
3
|
-
|
|
3
|
+
export type Option = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: any;
|
|
6
|
+
group?: string;
|
|
7
|
+
data?: any;
|
|
8
|
+
};
|
|
9
|
+
export interface SelectBoxProps {
|
|
4
10
|
className?: string;
|
|
5
11
|
defaultValue?: Option | string;
|
|
6
12
|
value?: Option | string;
|
|
@@ -33,12 +39,6 @@ interface SelectBoxProps {
|
|
|
33
39
|
}>;
|
|
34
40
|
DropDownProps?: any;
|
|
35
41
|
}
|
|
36
|
-
type Option = {
|
|
37
|
-
label: string;
|
|
38
|
-
value: any;
|
|
39
|
-
group?: string;
|
|
40
|
-
data?: any;
|
|
41
|
-
};
|
|
42
42
|
export declare const StyledInputContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
43
43
|
width?: string | number | null;
|
|
44
44
|
}>> & string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { default as FormSection } from "./FormSection";
|
|
|
2
2
|
export { default as Grid } from "./Grid";
|
|
3
3
|
export { default as TextInput } from "./TextInput";
|
|
4
4
|
export { default as SelectBox } from "./SelectBox";
|
|
5
|
+
export type { SelectBoxProps, Option } from "./SelectBox";
|
|
5
6
|
export { default as Button } from "./Button";
|
|
6
7
|
export type { ButtonProps } from "./Button";
|
|
7
8
|
export { default as IconButton } from "./IconButton";
|