@hitachivantara/uikit-react-viz 5.4.4 → 5.4.6

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.
@@ -3,6 +3,7 @@ import type ColumnTable from 'arquero/dist/types/table/column-table';
3
3
  import type { Context } from 'react';
4
4
  import type { CSSInterpolation } from '@emotion/serialize';
5
5
  import { ExtractNames } from '@hitachivantara/uikit-react-core';
6
+ import type { HvColorAny } from '@hitachivantara/uikit-react-core';
6
7
  import type { JSX as JSX_2 } from '@emotion/react/jsx-runtime';
7
8
 
8
9
  declare interface AxisMeasures {
@@ -103,8 +104,8 @@ export declare interface HvChartAxis {
103
104
  location?: HvChartAxisNameLocation;
104
105
  /** Padding. */
105
106
  padding?: number | number[];
106
- /** Color. You can use either an HEX or color name from the palette. */
107
- color?: string;
107
+ /** Color. */
108
+ color?: HvColorAny;
108
109
  /** Font size. */
109
110
  fontSize?: number;
110
111
  /** Font style. */
@@ -241,8 +242,7 @@ export declare const HvConfusionMatrix: ({ legend, groupBy, measure, sortBy, spl
241
242
  export declare type HvConfusionMatrixClasses = ExtractNames<typeof useClasses_2>;
242
243
 
243
244
  export declare interface HvConfusionMatrixColorScale {
244
- /** You can use either an HEX or color name from the palette. */
245
- color: string;
245
+ color: HvColorAny;
246
246
  label: string;
247
247
  max?: number;
248
248
  min?: number;
@@ -289,8 +289,8 @@ export declare interface HvConfusionMatrixProps extends Omit<HvChartCommonProps,
289
289
  export declare interface HvConfusionMatrixValuesProps {
290
290
  /** Whether to show the prediction values inside the confusion matrix or not. Defaults to `true`. */
291
291
  show?: boolean;
292
- /** Prediction values label color. You can use either an HEX or color name from the palette. */
293
- color?: string;
292
+ /** Prediction values label color. */
293
+ color?: HvColorAny;
294
294
  /** Prediction values label font style. */
295
295
  fontStyle?: "normal" | "italic";
296
296
  /** Prediction values label font weight. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/uikit-react-viz",
3
- "version": "5.4.4",
3
+ "version": "5.4.6",
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.26.4"
36
+ "@hitachivantara/uikit-react-core": "^5.26.6"
37
37
  },
38
38
  "files": [
39
39
  "dist"
@@ -42,7 +42,7 @@
42
42
  "access": "public",
43
43
  "directory": "package"
44
44
  },
45
- "gitHead": "078d35e13686f4088af478967ec91e684cc4c918",
45
+ "gitHead": "d3772c032533d71cbb06453977bf406e941fb022",
46
46
  "main": "dist/cjs/index.cjs",
47
47
  "exports": {
48
48
  ".": {