@hitachivantara/uikit-react-viz 5.15.26 → 5.15.28
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/cjs/index.cjs +12 -10
- package/dist/esm/index.js +7 -5
- package/dist/types/index.d.ts +18 -3
- package/package.json +4 -4
package/dist/cjs/index.cjs
CHANGED
|
@@ -2,22 +2,24 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const Provider = require("./providers/Provider.cjs");
|
|
4
4
|
const index = require("./utils/index.cjs");
|
|
5
|
-
const
|
|
5
|
+
const BaseChart = require("./BaseChart/BaseChart.cjs");
|
|
6
6
|
const BarChart = require("./BarChart/BarChart.cjs");
|
|
7
|
-
const
|
|
8
|
-
const Treemap = require("./Treemap/Treemap.cjs");
|
|
7
|
+
const Boxplot = require("./Boxplot/Boxplot.cjs");
|
|
9
8
|
const ConfusionMatrix = require("./ConfusionMatrix/ConfusionMatrix.cjs");
|
|
10
|
-
const
|
|
9
|
+
const DonutChart = require("./DonutChart/DonutChart.cjs");
|
|
11
10
|
const Heatmap = require("./Heatmap/Heatmap.cjs");
|
|
12
|
-
const
|
|
11
|
+
const LineChart = require("./LineChart/LineChart.cjs");
|
|
12
|
+
const ScatterPlot = require("./ScatterPlot/ScatterPlot.cjs");
|
|
13
|
+
const Treemap = require("./Treemap/Treemap.cjs");
|
|
13
14
|
exports.HvVizContext = Provider.HvVizContext;
|
|
14
15
|
exports.HvVizProvider = Provider.HvVizProvider;
|
|
15
16
|
exports.getHvArqueroCombinedFilters = index.getHvArqueroCombinedFilters;
|
|
16
|
-
exports.
|
|
17
|
+
exports.HvBaseChart = BaseChart.HvBaseChart;
|
|
17
18
|
exports.HvBarChart = BarChart.HvBarChart;
|
|
18
|
-
exports.
|
|
19
|
-
exports.HvTreemapChart = Treemap.HvTreemapChart;
|
|
19
|
+
exports.HvBoxplot = Boxplot.HvBoxplot;
|
|
20
20
|
exports.HvConfusionMatrix = ConfusionMatrix.HvConfusionMatrix;
|
|
21
|
-
exports.
|
|
21
|
+
exports.HvDonutChart = DonutChart.HvDonutChart;
|
|
22
22
|
exports.HvHeatmap = Heatmap.HvHeatmap;
|
|
23
|
-
exports.
|
|
23
|
+
exports.HvLineChart = LineChart.HvLineChart;
|
|
24
|
+
exports.HvScatterPlot = ScatterPlot.HvScatterPlot;
|
|
25
|
+
exports.HvTreemapChart = Treemap.HvTreemapChart;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { HvVizContext, HvVizProvider } from "./providers/Provider.js";
|
|
2
2
|
import { getHvArqueroCombinedFilters } from "./utils/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { HvBaseChart } from "./BaseChart/BaseChart.js";
|
|
4
4
|
import { HvBarChart } from "./BarChart/BarChart.js";
|
|
5
|
-
import {
|
|
6
|
-
import { HvTreemapChart } from "./Treemap/Treemap.js";
|
|
5
|
+
import { HvBoxplot } from "./Boxplot/Boxplot.js";
|
|
7
6
|
import { HvConfusionMatrix } from "./ConfusionMatrix/ConfusionMatrix.js";
|
|
8
|
-
import {
|
|
7
|
+
import { HvDonutChart } from "./DonutChart/DonutChart.js";
|
|
9
8
|
import { HvHeatmap } from "./Heatmap/Heatmap.js";
|
|
10
|
-
import {
|
|
9
|
+
import { HvLineChart } from "./LineChart/LineChart.js";
|
|
10
|
+
import { HvScatterPlot } from "./ScatterPlot/ScatterPlot.js";
|
|
11
|
+
import { HvTreemapChart } from "./Treemap/Treemap.js";
|
|
11
12
|
export {
|
|
12
13
|
HvBarChart,
|
|
14
|
+
HvBaseChart,
|
|
13
15
|
HvBoxplot,
|
|
14
16
|
HvConfusionMatrix,
|
|
15
17
|
HvDonutChart,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Context } from 'react';
|
|
2
2
|
import { default as default_2 } from 'arquero/dist/types/table/column-table';
|
|
3
3
|
import { default as default_3 } from 'echarts-for-react/lib/core';
|
|
4
|
+
import * as echarts_2 from 'echarts/core';
|
|
4
5
|
import { EChartsType } from 'echarts';
|
|
5
6
|
import { ExtractNames } from '@hitachivantara/uikit-react-utils';
|
|
6
7
|
import { ForwardRefExoticComponent } from 'react';
|
|
@@ -108,12 +109,26 @@ export declare interface HvBarChartProps extends HvAxisChartCommonProps, HvChart
|
|
|
108
109
|
classes?: HvBarChartClasses;
|
|
109
110
|
}
|
|
110
111
|
|
|
112
|
+
/**
|
|
113
|
+
* Base chart.
|
|
114
|
+
*/
|
|
115
|
+
export declare const HvBaseChart: ForwardRefExoticComponent<HvBaseChartProps & RefAttributes<default_3>>;
|
|
116
|
+
|
|
117
|
+
export declare interface HvBaseChartProps extends Pick<HvChartCommonProps, "onEvents"> {
|
|
118
|
+
/** ECharts option. */
|
|
119
|
+
option: HvEChartsOption;
|
|
120
|
+
/** Charts width. */
|
|
121
|
+
width?: echarts_2.ResizeOpts["width"];
|
|
122
|
+
/** Charts height. */
|
|
123
|
+
height?: echarts_2.ResizeOpts["height"];
|
|
124
|
+
}
|
|
125
|
+
|
|
111
126
|
/**
|
|
112
127
|
* A Boxplot chart visually summarizes the distribution of a dataset by depicting key statistical measures such as the median, quartiles, and outliers.
|
|
113
128
|
*/
|
|
114
129
|
export declare const HvBoxplot: ForwardRefExoticComponent<HvBoxplotProps & RefAttributes<default_3>>;
|
|
115
130
|
|
|
116
|
-
export declare type HvBoxplotClasses = ExtractNames<typeof
|
|
131
|
+
export declare type HvBoxplotClasses = ExtractNames<typeof useClasses_2>;
|
|
117
132
|
|
|
118
133
|
export declare type HvBoxplotMeasure = string | BoxplotMeasure;
|
|
119
134
|
|
|
@@ -304,7 +319,7 @@ declare interface HvChartYAxis extends HvChartAxis {
|
|
|
304
319
|
*/
|
|
305
320
|
export declare const HvConfusionMatrix: ForwardRefExoticComponent<HvConfusionMatrixProps & RefAttributes<default_3>>;
|
|
306
321
|
|
|
307
|
-
export declare type HvConfusionMatrixClasses = ExtractNames<typeof
|
|
322
|
+
export declare type HvConfusionMatrixClasses = ExtractNames<typeof useClasses_3>;
|
|
308
323
|
|
|
309
324
|
export declare interface HvConfusionMatrixColorScale {
|
|
310
325
|
color: HvColorAny;
|
|
@@ -393,7 +408,7 @@ declare type HvEChartsOption = Record<string, any>;
|
|
|
393
408
|
*/
|
|
394
409
|
export declare const HvHeatmap: ForwardRefExoticComponent<HvHeatmapProps & RefAttributes<default_3>>;
|
|
395
410
|
|
|
396
|
-
export declare type HvHeatmapClasses = ExtractNames<typeof
|
|
411
|
+
export declare type HvHeatmapClasses = ExtractNames<typeof useClasses_4>;
|
|
397
412
|
|
|
398
413
|
export declare type HvHeatmapData = Array<HvHeatmapItem>;
|
|
399
414
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-viz",
|
|
3
|
-
"version": "5.15.
|
|
3
|
+
"version": "5.15.28",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Hitachi Vantara UI Kit Team",
|
|
6
6
|
"description": "Contributed React visualization components for the NEXT UI Kit.",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"react-dom": ">=17.0.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@hitachivantara/uikit-react-utils": "^0.2.
|
|
37
|
-
"@hitachivantara/uikit-styles": "^5.46.
|
|
36
|
+
"@hitachivantara/uikit-react-utils": "^0.2.35",
|
|
37
|
+
"@hitachivantara/uikit-styles": "^5.46.2"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
40
|
"dist"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"access": "public",
|
|
44
44
|
"directory": "package"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "9b7ed5b28906e4871b7f54b947e1a7a1d6f5f215",
|
|
47
47
|
"exports": {
|
|
48
48
|
".": {
|
|
49
49
|
"types": "./dist/types/index.d.ts",
|