freemium-ui 2.0.98 → 2.0.100

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
@@ -23,7 +23,7 @@ import { DraggableSyntheticListeners } from '@dnd-kit/core';
23
23
  import { CoreOptions, ColumnDef, Cell, RowSelectionState } from '@tanstack/react-table';
24
24
  import * as Tabs$1 from '@radix-ui/react-tabs';
25
25
  import { TabsProps as TabsProps$1 } from '@radix-ui/react-tabs';
26
- import { TooltipProviderProps, TooltipProps as TooltipProps$1, TooltipArrowProps } from '@radix-ui/react-tooltip';
26
+ import { TooltipProviderProps, TooltipPortalProps, TooltipProps as TooltipProps$1, TooltipArrowProps } from '@radix-ui/react-tooltip';
27
27
 
28
28
  interface AccordionItemProps {
29
29
  id: string;
@@ -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
  }
@@ -1760,6 +1767,7 @@ interface TooltipProps {
1760
1767
  tabIndex?: number;
1761
1768
  children?: React.ReactNode | string | null;
1762
1769
  providerProps?: TooltipProviderProps;
1770
+ portalProps?: TooltipPortalProps;
1763
1771
  rootProps?: TooltipProps$1;
1764
1772
  arrowProps?: TooltipArrowProps;
1765
1773
  }
@@ -1769,7 +1777,7 @@ interface TooltipProps {
1769
1777
  * It is used to show additional information or actions.
1770
1778
  * It can be used to show a hint, a warning, or any other content.
1771
1779
  */
1772
- declare const Tooltip: ({ position, label, html, style, children, className, disabled, delay, arrow, providerProps, rootProps, }: TooltipProps) => react__default.JSX.Element;
1780
+ declare const Tooltip: ({ position, label, html, style, children, className, disabled, delay, arrow, providerProps, portalProps, rootProps, }: TooltipProps) => react__default.JSX.Element;
1773
1781
 
1774
1782
  /**
1775
1783
  * Typography component is used to show text to the user. It can be used to show a heading, a paragraph, or any other text.