Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uiw/react-heat-map

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-heat-map - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

package.json
{
"name": "@uiw/react-heat-map",
"version": "1.0.1",
"version": "1.0.2",
"description": "React component create calendar heatmap to visualize time series data, a la github contribution graph.",

@@ -13,3 +13,3 @@ "homepage": "https://uiwjs.github.io/react-heat-map/",

"build": "npm run build:lib && npm run doc",
"build:lib": "npm run ts:build && npm run types:esm && npm run types:cjs && npm run css:build",
"build:lib": "npm run ts:build && npm run types:esm && npm run types:cjs && npm run css:build && npm run css:build:dist",
"watch": "npm run ts:watch & npm run types:watch & npm run css:watch",

@@ -22,2 +22,3 @@ "types:build": "tsbb types --sourceRoot src --target ESNEXT",

"css:watch": "compile-less -d src -o lib/esm --watch",
"css:build:dist": "compile-less -d src --combine dist/heat-map.css --rm-global",
"ts:watch": "tsbb watch --env-name esm:dev --env-name cjs --target react",

@@ -24,0 +25,0 @@ "ts:build": "tsbb build --target react",

3

README.md

@@ -10,2 +10,3 @@ HeatMap 日历热图

[![npm version](https://img.shields.io/npm/v/@uiw/react-heat-map.svg)](https://www.npmjs.com/package/@uiw/react-heat-map)
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/@uiw/react-heat-map)](https://bundlephobia.com/result?p=@uiw/react-heat-map)

@@ -58,3 +59,3 @@ React component create calendar heatmap to visualize time series data, a la github contribution graph.

| panelColors | Backgroud color of active colors | `Record<number, string>` | `{ 0: '#EBEDF0', 8: '#7BC96F', 4: '#C6E48B', 12: '#239A3B', 32: '#196127' }` | 
| renderRect | Single block re-render | `() => React.ReactNode` | - |
| renderRect | Single block re-render | `(SVGRectElement & RectDayDefaultProps & { fill?: string }) => React.ReactNode` | - |

@@ -61,0 +62,0 @@ ## Development

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc