@aveonline/ui-react 2.4.2 → 2.4.4

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.
@@ -14,6 +14,7 @@ export declare type ITooltipProps = {
14
14
  * Content children portal custom
15
15
  */
16
16
  content?: ReactNode;
17
+ withClick?: boolean;
17
18
  /**
18
19
  * 'asChild' allows the user to pass any element as the anchor = default false and elemente is button
19
20
  */
@@ -3,5 +3,5 @@ import { ITooltipProps } from './ITooltip';
3
3
  /**
4
4
  * Floating labels that briefly explain the function of a user interface element. They can be triggered when merchants hover.
5
5
  */
6
- declare function Tooltip({ placement, title, description, initialOpen, fullWidthContainer, classNameContainer, asChild, content, children }: ITooltipProps): JSX.Element;
6
+ declare function Tooltip({ placement, title, description, initialOpen, fullWidthContainer, classNameContainer, asChild, withClick, content, children }: ITooltipProps): JSX.Element;
7
7
  export default Tooltip;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { IPropsBar } from './IBar';
3
- export default function Bar<T>({ className, data, cells, paintLastCellForKey, width, height, margin }: IPropsBar<T>): JSX.Element;
3
+ export default function Bar<T>({ className, data, cells, paintLastCellForKey, width, height, margin, xAxis, yAxis, isLoading }: IPropsBar<T>): JSX.Element;
@@ -1,3 +1,4 @@
1
+ import { XAxisProps, YAxisProps } from 'recharts';
1
2
  export declare type ColorBar = 'blue' | 'cyan' | 'purple' | 'dark-purple' | 'violet' | 'pink';
2
3
  export interface CellBar {
3
4
  name: string;
@@ -13,9 +14,12 @@ export interface MarginBar {
13
14
  export interface IPropsBar<T> {
14
15
  data: T[];
15
16
  cells: CellBar[];
17
+ isLoading?: boolean;
16
18
  className?: string;
17
19
  paintLastCellForKey?: Record<string, ColorBar>;
18
20
  width?: number;
19
21
  height?: number;
20
22
  margin?: MarginBar;
23
+ xAxis?: XAxisProps;
24
+ yAxis?: YAxisProps;
21
25
  }