@connectif/ui-components 2.3.0 → 2.3.2

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.
@@ -1,4 +1,5 @@
1
- import { TopLevelFormatterParams } from 'echarts/types/dist/shared';
1
+ import * as React from 'react';
2
+ import { CallbackDataParams, TopLevelFormatterParams } from 'echarts/types/dist/shared';
2
3
  import { IconId } from '../components/icon/Icon';
3
4
  import { IncrementLabelType } from '../propTypes/IncrementLabel';
4
5
  export type ChartTooltipEntry = {
@@ -20,4 +21,4 @@ export type ChartTooltipEntryFormatter = (params: {
20
21
  incrementLabelType: IncrementLabelType;
21
22
  };
22
23
  }) => ChartTooltipEntry;
23
- export declare function useTooltipFormatter(chartTooltipEntryFormatter?: ChartTooltipEntryFormatter): (param: TopLevelFormatterParams) => HTMLElement;
24
+ export declare function useTooltipFormatter(chartTooltipEntryFormatter?: ChartTooltipEntryFormatter, getTooltip?: (param: CallbackDataParams) => React.ReactNode): (param: TopLevelFormatterParams) => HTMLElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectif/ui-components",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "A comprehensive UI component library for all Connectif projects.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",