@mcf/lib-ui 2.4.80 → 2.4.84
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.
|
@@ -15,7 +15,7 @@ export declare enum DropdownVariant {
|
|
|
15
15
|
MultiSelect = "MULTISELECT"
|
|
16
16
|
}
|
|
17
17
|
export interface DropdownProps extends Props<IOption, boolean, GroupBase<IOption>> {
|
|
18
|
-
width
|
|
18
|
+
width?: string;
|
|
19
19
|
primaryLabel?: string;
|
|
20
20
|
secondaryLabel?: string;
|
|
21
21
|
additionalInfo?: string;
|
|
@@ -1,12 +1,26 @@
|
|
|
1
|
-
import React, { HTMLProps, CSSProperties } from 'react';
|
|
1
|
+
import React, { HTMLProps, CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export declare enum BORDER_POSITION {
|
|
3
|
+
TOP = "Top",
|
|
4
|
+
BOTTOM = "Bottom",
|
|
5
|
+
LEFT = "Left",
|
|
6
|
+
RIGHT = "Right"
|
|
7
|
+
}
|
|
2
8
|
interface IMessageBarProps extends HTMLProps<HTMLDivElement> {
|
|
3
9
|
backgroundColor: string;
|
|
4
10
|
textColor: string;
|
|
5
|
-
children?:
|
|
6
|
-
|
|
7
|
-
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
border?: {
|
|
13
|
+
show: boolean;
|
|
14
|
+
color?: string;
|
|
15
|
+
position?: BORDER_POSITION;
|
|
16
|
+
};
|
|
17
|
+
rightElement?: ReactNode;
|
|
18
|
+
closeIcon?: {
|
|
19
|
+
show: boolean;
|
|
20
|
+
color?: string;
|
|
21
|
+
handleClose?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
22
|
+
};
|
|
8
23
|
style?: CSSProperties;
|
|
9
|
-
handleClose?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
10
24
|
}
|
|
11
25
|
declare const MessageBar: React.FC<IMessageBarProps>;
|
|
12
26
|
export default MessageBar;
|
|
@@ -16,5 +16,6 @@ export interface ITabsProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElem
|
|
|
16
16
|
navClassName?: string;
|
|
17
17
|
segmentedButtonClass?: string;
|
|
18
18
|
isSegmentedControl?: boolean;
|
|
19
|
+
headerItems?: any;
|
|
19
20
|
}
|
|
20
21
|
export declare const Tabs: React.FunctionComponent<ITabsProps>;
|