@hitachivantara/uikit-react-viz 5.9.0 → 5.9.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,15 +1,15 @@
1
1
  import { Arrayable } from '@hitachivantara/uikit-react-core';
2
- import type ColumnTable from 'arquero/dist/types/table/column-table';
3
2
  import { Context } from 'react';
4
3
  import { CSSInterpolation } from '@emotion/serialize';
5
- import type { EChartsType } from 'echarts';
4
+ import { default as default_2 } from 'arquero/dist/types/table/column-table';
5
+ import { default as default_3 } from 'echarts-for-react/lib/core';
6
+ import { EChartsType } from 'echarts';
6
7
  import { ExtractNames } from '@hitachivantara/uikit-react-core';
7
8
  import { ForwardRefExoticComponent } from 'react';
8
- import type { HvColorAny } from '@hitachivantara/uikit-react-core';
9
+ import { HvColorAny } from '@hitachivantara/uikit-react-core';
9
10
  import { HvExtraProps } from '@hitachivantara/uikit-react-core';
10
11
  import { HvTheme } from '@hitachivantara/uikit-react-core';
11
12
  import { JSX as JSX_2 } from '@emotion/react/jsx-runtime';
12
- import ReactECharts from 'echarts-for-react/lib/core';
13
13
  import { RefAttributes } from 'react';
14
14
 
15
15
  declare interface AxisMeasure {
@@ -84,7 +84,7 @@ declare interface HvAxisChartCommonProps {
84
84
  /**
85
85
  * A bar chart is a chart or graph that presents categorical data with rectangular bars.
86
86
  */
87
- export declare const HvBarChart: ForwardRefExoticComponent<HvBarChartProps & RefAttributes<ReactECharts>>;
87
+ export declare const HvBarChart: ForwardRefExoticComponent<HvBarChartProps & RefAttributes<default_3>>;
88
88
 
89
89
  export declare interface HvBarChartClasses extends HvChartTooltipClasses {
90
90
  }
@@ -180,7 +180,7 @@ declare interface HvChartCommonProps {
180
180
  }
181
181
 
182
182
  /** Chart data */
183
- export declare type HvChartData = Map<string | number, (string | number)[]> | Record<string | number, (string | number)[]> | Record<string | number, string | number>[] | ColumnTable;
183
+ export declare type HvChartData = Map<string | number, (string | number)[]> | Record<string | number, (string | number)[]> | Record<string | number, string | number>[] | default_2;
184
184
 
185
185
  export declare type HvChartEmptyCellMode = (typeof emptyCellMode)[number];
186
186
 
@@ -261,7 +261,7 @@ declare interface HvChartYAxis extends HvChartAxis {
261
261
  * Typically the columns show the predicted class and the rows the expected class.
262
262
  * The main diagonal counts the positive matches while the cells outside it count the mismatches between predicted and expected.
263
263
  */
264
- export declare const HvConfusionMatrix: ForwardRefExoticComponent<HvConfusionMatrixProps & RefAttributes<ReactECharts>>;
264
+ export declare const HvConfusionMatrix: ForwardRefExoticComponent<HvConfusionMatrixProps & RefAttributes<default_3>>;
265
265
 
266
266
  export declare type HvConfusionMatrixClasses = ExtractNames<typeof useClasses_2>;
267
267
 
@@ -327,7 +327,7 @@ export declare interface HvConfusionMatrixValuesProps {
327
327
  * Donut charts nicely convey the part-whole relationship and they have become
328
328
  * the most recognizable chart types for representing proportions in business and data statistics.
329
329
  */
330
- export declare const HvDonutChart: ForwardRefExoticComponent<HvDonutChartProps & RefAttributes<ReactECharts>>;
330
+ export declare const HvDonutChart: ForwardRefExoticComponent<HvDonutChartProps & RefAttributes<default_3>>;
331
331
 
332
332
  export declare interface HvDonutChartClasses extends HvChartTooltipClasses {
333
333
  }
@@ -351,7 +351,7 @@ declare type HvEChartsOption = Record<string, any>;
351
351
  * A line chart or line plot or line graph is a type of chart which displays information as a series of data points
352
352
  * connected by straight line segments. It is a basic type of chart common in many fields.
353
353
  */
354
- export declare const HvLineChart: ForwardRefExoticComponent<HvLineChartProps & RefAttributes<ReactECharts>>;
354
+ export declare const HvLineChart: ForwardRefExoticComponent<HvLineChartProps & RefAttributes<default_3>>;
355
355
 
356
356
  export declare interface HvLineChartClasses extends HvChartTooltipClasses {
357
357
  }
@@ -375,7 +375,7 @@ export declare interface HvLineChartProps extends HvAxisChartCommonProps, HvChar
375
375
  * A scatter plot is a type of chart which displays dots to represent two numeric variables.
376
376
  * This type of chart is used to determine the relationship between two variables.
377
377
  */
378
- export declare const HvScatterPlot: ForwardRefExoticComponent<HvScatterPlotProps & RefAttributes<ReactECharts>>;
378
+ export declare const HvScatterPlot: ForwardRefExoticComponent<HvScatterPlotProps & RefAttributes<default_3>>;
379
379
 
380
380
  export declare interface HvScatterPlotClasses extends HvChartTooltipClasses {
381
381
  }
@@ -392,7 +392,7 @@ export declare interface HvScatterPlotProps extends HvChartCommonProps, Omit<HvA
392
392
  /**
393
393
  * A tree map chart visually represents hierarchical data using nested rectangles, with each rectangle's size proportional to the value it represents.
394
394
  */
395
- export declare const HvTreemapChart: ForwardRefExoticComponent<HvTreemapChartProps & RefAttributes<ReactECharts>>;
395
+ export declare const HvTreemapChart: ForwardRefExoticComponent<HvTreemapChartProps & RefAttributes<default_3>>;
396
396
 
397
397
  export declare interface HvTreemapChartClasses extends HvChartTooltipClasses {
398
398
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/uikit-react-viz",
3
- "version": "5.9.0",
3
+ "version": "5.9.2",
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,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@emotion/css": "^11.11.0",
36
- "@hitachivantara/uikit-react-core": "^5.64.0"
36
+ "@hitachivantara/uikit-react-core": "^5.64.2"
37
37
  },
38
38
  "files": [
39
39
  "dist"
@@ -42,8 +42,7 @@
42
42
  "access": "public",
43
43
  "directory": "package"
44
44
  },
45
- "gitHead": "deb91297e6f26f90ba5e86e520ad96751fffb0ff",
46
- "main": "dist/cjs/index.cjs",
45
+ "gitHead": "0e08b9389eab092cbaecf55b54cc37406e81f797",
47
46
  "exports": {
48
47
  ".": {
49
48
  "require": "./dist/cjs/index.cjs",