freemium-ui 2.0.97 → 2.0.99

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.
package/lib/index.d.ts CHANGED
@@ -368,6 +368,13 @@ interface AutoCompleteProps<T extends DefaultAutoCompleteItem = DefaultAutoCompl
368
368
  */
369
369
  emptyItemsText?: string;
370
370
  processFetchData?: (data: any[]) => T[];
371
+ processDisplayData?: (props: {
372
+ searchParam: string;
373
+ defaultSelectedItem?: T | null;
374
+ cacheItems?: T[];
375
+ data?: T[];
376
+ itemIdentifier?: string;
377
+ }) => T[];
371
378
  itemComponent?: (item: T, props?: AutoCompleteInputItemProps) => React.ReactNode | string;
372
379
  headers?: AxiosRequestConfig['headers'];
373
380
  }
@@ -599,12 +606,13 @@ interface ConfirmationProps {
599
606
  * Styles for the footer
600
607
  */
601
608
  footerStyles?: React.CSSProperties;
609
+ customFooter?: React.ReactElement;
602
610
  }
603
611
 
604
612
  /**
605
613
  * Confirmation component is used to show a confirmation dialog to the user. It is used to confirm an action before it is executed.
606
614
  */
607
- declare const Confirmation: ({ isOpen, title, description, onConfirm, onDismiss, cancelButtonText, children, cancelButtonDisabled, confirmButtonDisabled, confirmButtonText, clickOutToClose, bodyStyles, contentStyles, footerStyles, width, }: ConfirmationProps) => react__default.JSX.Element;
615
+ declare const Confirmation: ({ isOpen, title, description, onConfirm, onDismiss, cancelButtonText, children, cancelButtonDisabled, confirmButtonDisabled, confirmButtonText, clickOutToClose, bodyStyles, contentStyles, footerStyles, customFooter, width, }: ConfirmationProps) => react__default.JSX.Element;
608
616
 
609
617
  type DrawerSizeType = 'default' | 'medium' | 'small' | 'large' | 'x-large';
610
618
  type DrawerPlacement = 'left' | 'right';