@uiw/react-heat-map
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,6 +0,6 @@ | ||
import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import React from 'react'; | ||
import SVG from './SVG'; | ||
import './style/index.less'; | ||
import "./style/index.css"; | ||
export * from './SVG'; | ||
@@ -18,2 +18,2 @@ export default function HeatMap(props) { | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJTVkciLCJIZWF0TWFwIiwicHJvcHMiLCJwcmVmaXhDbHMiLCJjbGFzc05hbWUiLCJvdGhlcnMiLCJjbHMiLCJmaWx0ZXIiLCJCb29sZWFuIiwiam9pbiJdLCJtYXBwaW5ncyI6Ijs7QUFBQSxPQUFPQSxLQUFQLE1BQWtCLE9BQWxCO0FBQ0EsT0FBT0MsR0FBUCxNQUE4QixPQUE5QjtBQUNBLE9BQU8sb0JBQVA7QUFFQSxjQUFjLE9BQWQ7QUFNQSxlQUFlLFNBQVNDLE9BQVQsQ0FBaUJDLEtBQWpCLEVBQXNDO0FBQ25ELHlCQUEwREEsS0FBMUQsQ0FBUUMsU0FBUjtBQUFBLE1BQVFBLFNBQVIsaUNBQW9CLFdBQXBCO0FBQUEsTUFBaUNDLFNBQWpDLEdBQTBERixLQUExRCxDQUFpQ0UsU0FBakM7QUFBQSxNQUErQ0MsTUFBL0MsNEJBQTBESCxLQUExRDs7QUFDQSxNQUFNSSxHQUFHLEdBQUcsQ0FBQ0YsU0FBRCxFQUFZRCxTQUFaLEVBQXVCSSxNQUF2QixDQUE4QkMsT0FBOUIsRUFBdUNDLElBQXZDLENBQTRDLEdBQTVDLENBQV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U9e2Nsc30gey4uLm90aGVyc30gLz47XG59XG4iXX0= |
@@ -1,2 +0,2 @@ | ||
import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
import React from 'react'; | ||
@@ -3,0 +3,0 @@ export var Rect = function Rect(props) { |
@@ -1,3 +0,3 @@ | ||
import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import React, { useMemo } from 'react'; | ||
@@ -4,0 +4,0 @@ import { Rect } from './Rect'; |
@@ -1,11 +0,6 @@ | ||
import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray"; | ||
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectSpread from "@babel/runtime/helpers/objectSpread2"; | ||
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray"; | ||
import _slicedToArray from "@babel/runtime/helpers/slicedToArray"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
import React, { useEffect, useMemo, useState } from 'react'; | ||
@@ -120,2 +115,2 @@ import { WeekLables } from './WeekLables'; | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9TVkcudHN4Il0sIm5hbWVzIjpbIlJlYWN0IiwidXNlRWZmZWN0IiwidXNlTWVtbyIsInVzZVN0YXRlIiwiV2Vla0xhYmxlcyIsIlJlY3REYXkiLCJmb3JtYXREYXRhIiwiZ2V0RGF0ZVRvU3RyaW5nIiwiZXhpc3RDb2xvciIsIm51bWJlclNvcnQiLCJvbmVEYXlUaW1lIiwiU1ZHIiwicHJvcHMiLCJyZWN0U2l6ZSIsInNwYWNlIiwic3RhcnREYXRlIiwiRGF0ZSIsImVuZERhdGUiLCJyZWN0UHJvcHMiLCJyZW5kZXJSZWN0IiwidmFsdWUiLCJ3ZWVrTGFibGVzIiwibW9udGhMYWJsZXMiLCJwYW5lbENvbG9ycyIsIm90aGVyIiwiZ3JpZE51bSIsInNldEdyaWROdW0iLCJsZWZ0UGFkIiwic2V0TGVmdFBhZCIsInN2Z1JlZiIsImNyZWF0ZVJlZiIsIm51bXMiLCJPYmplY3QiLCJrZXlzIiwibWFwIiwiaXRlbSIsInBhcnNlSW50IiwiZGF0YSIsImN1cnJlbnQiLCJ3aWR0aCIsImNsaWVudFdpZHRoIiwiTWF0aCIsImZsb29yIiwiQXJyYXkiLCJfIiwiaWR4IiwiY2lkeCIsImRheVByb3BzIiwia2V5Iiwicm93IiwiY29sdW1uIiwiZmlsbCIsImN1cnJlbnREYXRlIiwiZ2V0VGltZSIsImRhdGUiLCJsZW5ndGgiLCJjb3VudCIsImVsbSIsImlzVmFsaWRFbGVtZW50Il0sIm1hcHBpbmdzIjoiOzs7Oz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A6IDUpLCBbd2Vla0xhYmxlc10pO1xuICB1c2VFZmZlY3QoKCkgPT4ge1xuICAgIGlmIChzdmdSZWYuY3VycmVudCkge1xuICAgICAgY29uc3Qgd2lkdGggPSBzdmdSZWYuY3VycmVudC5jbGllbnRXaWR0aCAtIGxlZnRQYWQgfHwgMDtcbiAgICAgIHNldEdyaWROdW0oTWF0aC5mbG9vcih3aWR0aCAvIChyZWN0U2l6ZSArIHNwYWNlKSkgfHwgMCk7XG4gICAgfVxuICB9LCBbcmVjdFNpemUsIHN2Z1JlZiwgc3BhY2UsIGxlZnRQYWRdKTtcbiAgcmV0dXJuIChcbiAgICA8c3ZnIHJlZj17c3ZnUmVmfSB7Li4ub3RoZXJ9PlxuICAgICAgPFdlZWtMYWJsZXMgd2Vla0xhYmxlcz17d2Vla0xhYmxlc30gcmVjdFNpemU9e3JlY3RTaXplfSBzcGFjZT17c3BhY2V9IC8+XG4gICAgICA8ZyB0cmFuc2Zvcm09e2B0cmFuc2xhdGUoJHtsZWZ0UGFkfSwgMjApYH0+XG4gICAgICAgIHtbLi4uQXJyYXkoZ3JpZE51bSldLm1hcCgoXywgaWR4KSA9PiB7XG4gICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgIDxnIGtleT17aWR4fSBkYXRhLWNvbHVtbj17aWR4fT5cbiAgICAgICAgICAgICAge1suLi5BcnJheSg3KV0ubWFwKChfLCBjaWR4KSA9PiB7XG4gICAgICAgICAgICAgICAgY29uc3QgZGF5UHJvcHM6IFJlY3REYXlFbGVtZW50ID0ge1xuICAgICAgICAgICAgICAgICAgLi4ucmVjdFByb3BzLFxuICAgICAgICAgICAgICAgICAgcmVjdFNpemUsXG4gICAgICAgICAgICAgICAgICBzcGFjZSxcbiAgICAgICAgICAgICAgICAgIGtleTogY2lkeCxcbiAgICAgICAgICAgICAgICAgIHJvdzogY2lkeCxcbiAgICAgICAgICAgICAgICAgIGNvbHVtbjogaWR4LFxuICAgICAgICAgICAgICAgICAgZmlsbDogJyNFQkVERjAnLFxuICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICAgaWYgKHN0YXJ0RGF0ZSBpbnN0YW5jZW9mIERhdGUpIHtcbiAgICAgICAgICAgICAgICAgIGNvbnN0IGN1cnJlbnREYXRlID0gbmV3IERhdGUoc3RhcnREYXRlLmdldFRpbWUoKSArIG9uZURheVRpbWUgKiAoaWR4ICogNyArIGNpZHgpKTtcbiAgICAgICAgICAgICAgICAgIGRheVByb3BzLmRhdGUgPSBnZXREYXRlVG9TdHJpbmcoY3VycmVudERhdGUpO1xuICAgICAgICAgICAgICAgICAgaWYgKGVuZERhdGUgaW5zdGFuY2VvZiBEYXRlICYmIGN1cnJlbnREYXRlLmdldFRpbWUoKSA+IGVuZERhdGUuZ2V0VGltZSgpKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBpZiAoZGF5UHJvcHMuZGF0ZSAmJiBkYXRhW2RheVByb3BzLmRhdGVdICYmIHBhbmVsQ29sb3JzICYmIE9iamVjdC5rZXlzKHBhbmVsQ29sb3JzKS5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICBkYXlQcm9wcy5maWxsID0gZXhpc3RDb2xvcihkYXRhW2RheVByb3BzLmRhdGVdLmNvdW50IHx8IDAsIG51bXMsIHBhbmVsQ29sb3JzKTtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHBhbmVsQ29sb3JzICYmIHBhbmVsQ29sb3JzWzBdKSB7XG4gICAgICAgICAgICAgICAgICBkYXlQcm9wcy5maWxsID0gcGFuZWxDb2xvcnNbMF07XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGlmIChyZW5kZXJSZWN0ICYmIHR5cGVvZiByZW5kZXJSZWN0ID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICAgICAgICBjb25zdCBlbG0gPSByZW5kZXJSZWN0KGRheVByb3BzKTtcbiAgICAgICAgICAgICAgICAgIGlmIChlbG0gJiYgUmVhY3QuaXNWYWxpZEVsZW1lbnQoZWxtKSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gZWxtO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICByZXR1cm4gPFJlY3REYXkgey4uLmRheVByb3BzfSAvPjtcbiAgICAgICAgICAgICAgfSl9XG4gICAgICAgICAgICA8L2c+XG4gICAgICAgICAgKTtcbiAgICAgICAgfSl9XG4gICAgICA8L2c+XG4gICAgPC9zdmc+XG4gICk7XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9TVkcudHN4Il0sIm5hbWVzIjpbIlJlYWN0IiwidXNlRWZmZWN0IiwidXNlTWVtbyIsInVzZVN0YXRlIiwiV2Vla0xhYmxlcyIsIlJlY3REYXkiLCJmb3JtYXREYXRhIiwiZ2V0RGF0ZVRvU3RyaW5nIiwiZXhpc3RDb2xvciIsIm51bWJlclNvcnQiLCJvbmVEYXlUaW1lIiwiU1ZHIiwicHJvcHMiLCJyZWN0U2l6ZSIsInNwYWNlIiwic3RhcnREYXRlIiwiRGF0ZSIsImVuZERhdGUiLCJyZWN0UHJvcHMiLCJyZW5kZXJSZWN0IiwidmFsdWUiLCJ3ZWVrTGFibGVzIiwibW9udGhMYWJsZXMiLCJwYW5lbENvbG9ycyIsIm90aGVyIiwiZ3JpZE51bSIsInNldEdyaWROdW0iLCJsZWZ0UGFkIiwic2V0TGVmdFBhZCIsInN2Z1JlZiIsImNyZWF0ZVJlZiIsIm51bXMiLCJPYmplY3QiLCJrZXlzIiwibWFwIiwiaXRlbSIsInBhcnNlSW50IiwiZGF0YSIsImN1cnJlbnQiLCJ3aWR0aCIsImNsaWVudFdpZHRoIiwiTWF0aCIsImZsb29yIi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ICAgICAgICAgICAgICAgIHJlY3RTaXplLFxuICAgICAgICAgICAgICAgICAgc3BhY2UsXG4gICAgICAgICAgICAgICAgICBrZXk6IGNpZHgsXG4gICAgICAgICAgICAgICAgICByb3c6IGNpZHgsXG4gICAgICAgICAgICAgICAgICBjb2x1bW46IGlkeCxcbiAgICAgICAgICAgICAgICAgIGZpbGw6ICcjRUJFREYwJyxcbiAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgIGlmIChzdGFydERhdGUgaW5zdGFuY2VvZiBEYXRlKSB7XG4gICAgICAgICAgICAgICAgICBjb25zdCBjdXJyZW50RGF0ZSA9IG5ldyBEYXRlKHN0YXJ0RGF0ZS5nZXRUaW1lKCkgKyBvbmVEYXlUaW1lICogKGlkeCAqIDcgKyBjaWR4KSk7XG4gICAgICAgICAgICAgICAgICBkYXlQcm9wcy5kYXRlID0gZ2V0RGF0ZVRvU3RyaW5nKGN1cnJlbnREYXRlKTtcbiAgICAgICAgICAgICAgICAgIGlmIChlbmREYXRlIGluc3RhbmNlb2YgRGF0ZSAmJiBjdXJyZW50RGF0ZS5nZXRUaW1lKCkgPiBlbmREYXRlLmdldFRpbWUoKSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgaWYgKGRheVByb3BzLmRhdGUgJiYgZGF0YVtkYXlQcm9wcy5kYXRlXSAmJiBwYW5lbENvbG9ycyAmJiBPYmplY3Qua2V5cyhwYW5lbENvbG9ycykubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgICAgICAgZGF5UHJvcHMuZmlsbCA9IGV4aXN0Q29sb3IoZGF0YVtkYXlQcm9wcy5kYXRlXS5jb3VudCB8fCAwLCBudW1zLCBwYW5lbENvbG9ycyk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChwYW5lbENvbG9ycyAmJiBwYW5lbENvbG9yc1swXSkge1xuICAgICAgICAgICAgICAgICAgZGF5UHJvcHMuZmlsbCA9IHBhbmVsQ29sb3JzWzBdO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBpZiAocmVuZGVyUmVjdCAmJiB0eXBlb2YgcmVuZGVyUmVjdCA9PT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICAgICAgICAgICAgY29uc3QgZWxtID0gcmVuZGVyUmVjdChkYXlQcm9wcyk7XG4gICAgICAgICAgICAgICAgICBpZiAoZWxtICYmIFJlYWN0LmlzVmFsaWRFbGVtZW50KGVsbSkpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGVsbTtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIDxSZWN0RGF5IHsuLi5kYXlQcm9wc30gLz47XG4gICAgICAgICAgICAgIH0pfVxuICAgICAgICAgICAgPC9nPlxuICAgICAgICAgICk7XG4gICAgICAgIH0pfVxuICAgICAgPC9nPlxuICAgIDwvc3ZnPlxuICApO1xufVxuIl19 |
@@ -1,2 +0,2 @@ | ||
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray"; | ||
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray"; | ||
import React, { Fragment, useMemo } from 'react'; | ||
@@ -3,0 +3,0 @@ export var WeekLables = function WeekLables(_ref) { |
{ | ||
"name": "@uiw/react-heat-map", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "React component create calendar heatmap to visualize time series data, a la github contribution graph.", | ||
@@ -9,2 +9,3 @@ "homepage": "https://uiwjs.github.io/react-heat-map/", | ||
"scripts": { | ||
"prepare": "npm run build:lib", | ||
"doc": "kkt build --app-src ./website", | ||
@@ -49,2 +50,5 @@ "start": "kkt start --app-src ./website", | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"peerDependencies": { | ||
@@ -51,0 +55,0 @@ "@babel/runtime": ">=7.10.0", |
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
76638
32
654