Socket
Socket
Sign inDemoInstall

react-easy-heatmap

Package Overview
Dependencies
111
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

dist/utils/debounce.d.ts

3

dist/color-ranger-slider/components/rc-slider/hooks/useOffset.d.ts

@@ -1,2 +0,1 @@

import type { InternalMarkObj } from '../Marks';
/** Format value align with step & marks */

@@ -9,3 +8,3 @@ declare type FormatValue = (value: number) => number;

};
export default function useOffset(min: number, max: number, step: number, markList: InternalMarkObj[], allowCross: boolean, pushable: false | number): [FormatValue, OffsetValues];
export default function useOffset(min: number, max: number, step: number, allowCross: boolean, pushable: false | number): [FormatValue, OffsetValues];
export {};
import * as React from 'react';
import type { HandlesProps } from './Handles';
import type { AriaValueFormat } from './interface';
import type { MarkObj } from './Marks';
import './index.less';
/**
* New:
* - click mark to update range value
* - handleRender

@@ -53,3 +51,2 @@ * - Fix handle with count not correct

activeDotStyle?: React.CSSProperties | ((dotValue: number) => React.CSSProperties);
marks?: Record<string | number, React.ReactNode | MarkObj>;
dots?: boolean;

@@ -56,0 +53,0 @@ handleRender?: HandlesProps['handleRender'];

import * as React from 'react';
import type { InternalMarkObj } from '../Marks';
export interface StepsProps {
prefixCls: string;
marks: InternalMarkObj[];
dots?: boolean;

@@ -7,0 +5,0 @@ style?: React.CSSProperties | ((dotValue: number) => React.CSSProperties);

{
"name": "react-easy-heatmap",
"version": "1.0.0",
"version": "1.0.1",
"description": "An easy heatmap component with React",

@@ -15,10 +15,5 @@ "author": "young.liu",

"scripts": {
"build": "microbundle-crl --no-compress --format modern,cjs --css-modules false && cp -r src/assets dist/",
"build": "microbundle-crl --no-sourcemap --compress --format modern,cjs --css-modules false && cp -r src/assets dist/",
"start": "microbundle-crl watch --no-compress --format modern,cjs --css-modules false",
"prepare": "run-s build",
"test": "run-s test:unit test:lint test:build",
"test:build": "run-s build",
"test:lint": "eslint .",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"predeploy": "cd example && npm install && npm run build",

@@ -31,6 +26,2 @@ "deploy": "gh-pages -d example/build"

"devDependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/jest": "^25.1.4",
"@types/node": "^12.12.38",

@@ -78,5 +69,5 @@ "@types/rc-slider": "^9.3.1",

"react",
"reactjs",
"reacts",
"react-component"
]
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc