@mcf/lib-ui 2.4.31 → 2.4.32

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.
@@ -13,7 +13,7 @@ export declare enum DropdownVariant {
13
13
  Multiline = "MULTILINE",
14
14
  MultiSelect = "MULTISELECT"
15
15
  }
16
- export interface IDropdownProps extends Props<IOption, boolean, GroupBase<IOption>> {
16
+ export interface DropdownProps extends Props<IOption, boolean, GroupBase<IOption>> {
17
17
  width: string;
18
18
  primaryLabel?: string;
19
19
  secondaryLabel?: string;
@@ -26,5 +26,5 @@ export interface IDropdownProps extends Props<IOption, boolean, GroupBase<IOptio
26
26
  };
27
27
  errorMsg?: string;
28
28
  data: IOption[] | IMultilineOption[];
29
- variant: DropdownVariant;
29
+ variant?: DropdownVariant;
30
30
  }
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { IDropdownProps } from './DropdownNew.constants';
3
- declare const Dropdown: ({ width, isSearchable, isDisabled, primaryLabel, secondaryLabel, additionalInfo, errorMsg, placeholder, data, defaultValue, input, variant, }: IDropdownProps) => JSX.Element;
2
+ import { DropdownProps } from './DropdownNew.constants';
3
+ declare const Dropdown: ({ width, isSearchable, isDisabled, primaryLabel, secondaryLabel, additionalInfo, errorMsg, placeholder, data, defaultValue, input, variant, }: DropdownProps) => JSX.Element;
4
4
  export default Dropdown;
@@ -1 +1,2 @@
1
1
  export { default as DropdownNew } from './DropdownNew';
2
+ export * from './DropdownNew.constants';
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ButtonColor } from '../Button/ButtonConstants';
3
3
  interface ConfirmationModalProps {
4
+ open: boolean;
4
5
  title: string;
5
6
  contentSlot: React.ReactNode;
6
7
  confirmButtonLabel?: string;
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import Button from '../Button/Button';
3
3
  interface ModalProps {
4
4
  onClose?: () => void;
5
+ open: boolean;
5
6
  title: string;
6
7
  contentSlot: React.ReactNode;
7
8
  footerSlot?: React.ReactElement<typeof Button>[];
@@ -4,6 +4,7 @@ interface NotificationModalProps {
4
4
  contentSlot: React.ReactNode;
5
5
  onConfirm: () => void;
6
6
  buttonLabel?: string;
7
+ open: boolean;
7
8
  }
8
9
  declare const NotificationModal: React.FC<NotificationModalProps>;
9
10
  export default NotificationModal;