@lunit/heatmap
Advanced tools
Comparing version 5.0.0-alpha.1 to 5.0.0-alpha.2
"use strict"; | ||
var __rest = (this && this.__rest) || function (s, e) { | ||
var t = {}; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) | ||
t[p] = s[p]; | ||
if (s != null && typeof Object.getOwnPropertySymbols === "function") | ||
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { | ||
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) | ||
t[p[i]] = s[p[i]]; | ||
} | ||
return t; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -12,3 +23,4 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
*/ | ||
function HeatmapScaleSVGImage({ threshold = 0, width, height, ...imageProps }) { | ||
function HeatmapScaleSVGImage(_a) { | ||
var { threshold = 0, width, height } = _a, imageProps = __rest(_a, ["threshold", "width", "height"]); | ||
const dataUri = useHeatmapScaleImageURI_1.useHeatmapScaleImageURI({ width, height, threshold }); | ||
@@ -15,0 +27,0 @@ return dataUri ? react_1.default.createElement("image", Object.assign({}, imageProps, { xlinkHref: dataUri, width: width, height: height })) : null; |
@@ -14,3 +14,3 @@ { | ||
"name": "@lunit/heatmap", | ||
"version": "5.0.0-alpha.1", | ||
"version": "5.0.0-alpha.2", | ||
"dependencies": { | ||
@@ -17,0 +17,0 @@ "react": "^16.13.1" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14926
214
0