From 29f6a14cbc600efa0827946c5033c76f29c7d25b Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sun, 25 Feb 2024 05:45:43 +0800 Subject: [PATCH] released v2.2.2 #128 --- core/package.json | 2 +- core/src/Legend.tsx | 1 + lerna.json | 2 +- www/package.json | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/core/package.json b/core/package.json index 0cde8b8b..d1d2c494 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "@uiw/react-heat-map", - "version": "2.2.1", + "version": "2.2.2", "description": "React component create calendar heatmap to visualize time series data, a la github contribution graph.", "homepage": "https://uiwjs.github.io/react-heat-map/", "funding": "https://jaywcjlove.github.io/#/sponsor", diff --git a/core/src/Legend.tsx b/core/src/Legend.tsx index 9a23dd3d..57529b7d 100644 --- a/core/src/Legend.tsx +++ b/core/src/Legend.tsx @@ -30,6 +30,7 @@ export default function Legend({ {Object.keys(panelColors || {}).map((num, key) => { const rectProps = { ...props, + key, x: (size + 1) * key + leftPad, y: rectY, // y: topPad + rectSize * 8 + 6, diff --git a/lerna.json b/lerna.json index 14fe7fd7..05f606a4 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.2.1", + "version": "2.2.2", "packages": [ "core", "www" diff --git a/www/package.json b/www/package.json index 4235349b..bbd351c9 100644 --- a/www/package.json +++ b/www/package.json @@ -1,7 +1,7 @@ { "name": "www", "private": true, - "version": "2.2.1", + "version": "2.2.2", "scripts": { "build": "kkt build", "start": "kkt start", @@ -20,7 +20,7 @@ "source-map-explorer": "^2.5.3" }, "dependencies": { - "@uiw/react-heat-map": "2.2.1", + "@uiw/react-heat-map": "2.2.2", "@uiw/react-markdown-preview-example": "^2.0.0", "@uiw/react-tooltip": "^4.21.11", "@uiw/reset.css": "^1.0.6",