@hitachivantara/uikit-react-viz 3.2.0 → 3.2.1
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/dist/Chart/Chart.d.ts
CHANGED
|
@@ -3,6 +3,17 @@ import { HvPlotProps } from "./Plot";
|
|
|
3
3
|
|
|
4
4
|
export type HvChartClassKey = "root";
|
|
5
5
|
|
|
6
|
+
export type TooltipElementObject = {
|
|
7
|
+
color: string;
|
|
8
|
+
name: string;
|
|
9
|
+
value: number | string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export type TooltipDataObject = {
|
|
13
|
+
title: string;
|
|
14
|
+
elements: TooltipElementObject[];
|
|
15
|
+
};
|
|
16
|
+
|
|
6
17
|
export interface HvChartProps extends StandardProps<HvPlotProps, HvChartClassKey> {
|
|
7
18
|
/**
|
|
8
19
|
* An Id passed on to the component
|
|
@@ -15,7 +26,7 @@ export interface HvChartProps extends StandardProps<HvPlotProps, HvChartClassKey
|
|
|
15
26
|
/**
|
|
16
27
|
* Custom tooltip element to be displayed
|
|
17
28
|
*/
|
|
18
|
-
tooltip?:
|
|
29
|
+
tooltip?: (data: TooltipDataObject) => Element;
|
|
19
30
|
/**
|
|
20
31
|
* Defines the X axis title.
|
|
21
32
|
*/
|
|
@@ -3,6 +3,17 @@ import { HvPlotProps } from "./Plot";
|
|
|
3
3
|
|
|
4
4
|
export type HvChartClassKey = "root";
|
|
5
5
|
|
|
6
|
+
export type TooltipElementObject = {
|
|
7
|
+
color: string;
|
|
8
|
+
name: string;
|
|
9
|
+
value: number | string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export type TooltipDataObject = {
|
|
13
|
+
title: string;
|
|
14
|
+
elements: TooltipElementObject[];
|
|
15
|
+
};
|
|
16
|
+
|
|
6
17
|
export interface HvChartProps extends StandardProps<HvPlotProps, HvChartClassKey> {
|
|
7
18
|
/**
|
|
8
19
|
* An Id passed on to the component
|
|
@@ -15,7 +26,7 @@ export interface HvChartProps extends StandardProps<HvPlotProps, HvChartClassKey
|
|
|
15
26
|
/**
|
|
16
27
|
* Custom tooltip element to be displayed
|
|
17
28
|
*/
|
|
18
|
-
tooltip?:
|
|
29
|
+
tooltip?: (data: TooltipDataObject) => Element;
|
|
19
30
|
/**
|
|
20
31
|
* Defines the X axis title.
|
|
21
32
|
*/
|
|
@@ -3,6 +3,17 @@ import { HvPlotProps } from "./Plot";
|
|
|
3
3
|
|
|
4
4
|
export type HvChartClassKey = "root";
|
|
5
5
|
|
|
6
|
+
export type TooltipElementObject = {
|
|
7
|
+
color: string;
|
|
8
|
+
name: string;
|
|
9
|
+
value: number | string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export type TooltipDataObject = {
|
|
13
|
+
title: string;
|
|
14
|
+
elements: TooltipElementObject[];
|
|
15
|
+
};
|
|
16
|
+
|
|
6
17
|
export interface HvChartProps extends StandardProps<HvPlotProps, HvChartClassKey> {
|
|
7
18
|
/**
|
|
8
19
|
* An Id passed on to the component
|
|
@@ -15,7 +26,7 @@ export interface HvChartProps extends StandardProps<HvPlotProps, HvChartClassKey
|
|
|
15
26
|
/**
|
|
16
27
|
* Custom tooltip element to be displayed
|
|
17
28
|
*/
|
|
18
|
-
tooltip?:
|
|
29
|
+
tooltip?: (data: TooltipDataObject) => Element;
|
|
19
30
|
/**
|
|
20
31
|
* Defines the X axis title.
|
|
21
32
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-viz",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "A collection of React visualizations for the Hitachi Vantara's Design System.",
|
|
5
5
|
"homepage": "https://github.com/lumada-design/hv-uikit-react",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "973d5eadb8648e739d0f8b3b8e1e46491a5ad336"
|
|
63
63
|
}
|