@hitachivantara/uikit-react-viz 5.16.4 → 5.16.5

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.
@@ -34,10 +34,7 @@ const useColorScale = ({
34
34
  (c) => typeof c === "string" ? colors?.[c] || c : c.color
35
35
  );
36
36
  return {
37
- colorScale: parsedColors || [
38
- colors?.base_light || "",
39
- colors?.cat3 || ""
40
- ],
37
+ colorScale: parsedColors || [colors?.textLight || "", colors?.cat3 || ""],
41
38
  max,
42
39
  min
43
40
  };
@@ -59,7 +56,7 @@ const useSeries = ({
59
56
  if (diagonal && value < 0 || !diagonal && value > 0) {
60
57
  return colors?.negative;
61
58
  }
62
- return colors?.base_light;
59
+ return colors?.textLight;
63
60
  },
64
61
  [colors]
65
62
  );
@@ -32,10 +32,7 @@ const useColorScale = ({
32
32
  (c) => typeof c === "string" ? colors?.[c] || c : c.color
33
33
  );
34
34
  return {
35
- colorScale: parsedColors || [
36
- colors?.base_light || "",
37
- colors?.cat3 || ""
38
- ],
35
+ colorScale: parsedColors || [colors?.textLight || "", colors?.cat3 || ""],
39
36
  max,
40
37
  min
41
38
  };
@@ -57,7 +54,7 @@ const useSeries = ({
57
54
  if (diagonal && value < 0 || !diagonal && value > 0) {
58
55
  return colors?.negative;
59
56
  }
60
- return colors?.base_light;
57
+ return colors?.textLight;
61
58
  },
62
59
  [colors]
63
60
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hitachivantara/uikit-react-viz",
3
- "version": "5.16.4",
3
+ "version": "5.16.5",
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.43",
37
- "@hitachivantara/uikit-styles": "^5.50.1"
36
+ "@hitachivantara/uikit-react-utils": "^0.2.44",
37
+ "@hitachivantara/uikit-styles": "^5.50.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": "8661e8a73c6ae39431fe12f6cc95e8eb282968e2",
46
+ "gitHead": "597165cf787bef63a0f77d391d7333f608269aca",
47
47
  "exports": {
48
48
  ".": {
49
49
  "types": "./dist/types/index.d.ts",