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

react-gear-chart

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-gear-chart - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

storybook-static/static/preview.de66846b2525ccb5503d.bundle.js

7

dist/components/GearListChart.js

@@ -222,3 +222,3 @@ 'use strict';

offsetAngle: _this2.totalAnagle() * (clockwiseAnimate ? -1 : 1),
opacity: 0
opacity: 1
}

@@ -233,3 +233,3 @@ };

offsetAngle: (0, _reactMotion.spring)(0, motionConfig),
opacity: (0, _reactMotion.spring)(1)
opacity: 1
}

@@ -246,4 +246,5 @@ };

// before item's leave it stays in interpolated array, "i % items.length" to get correct position
i = i % items.length;
var _GearListChart$getToo = GearListChart.getToothParam(i % items.length, _perItemAngle, margin, _startAngle, clockwise),
var _GearListChart$getToo = GearListChart.getToothParam(i, _perItemAngle, margin, _startAngle, clockwise),
_GearListChart$getToo2 = (0, _slicedToArray3.default)(_GearListChart$getToo, 2),

@@ -250,0 +251,0 @@ start = _GearListChart$getToo2[0],

{
"name": "react-gear-chart",
"description": "",
"version": "0.0.5",
"version": "0.0.6",
"author": "nooooru@gmail.com",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -150,3 +150,3 @@ // @flow

offsetAngle: this.totalAnagle() * (clockwiseAnimate ? -1 : 1),
opacity: 0
opacity: 1
}

@@ -159,3 +159,3 @@ }))}

offsetAngle: spring(0, motionConfig),
opacity: spring(1)
opacity: 1
}

@@ -169,3 +169,4 @@ }))}

// before item's leave it stays in interpolated array, "i % items.length" to get correct position
let [ start, end ] = GearListChart.getToothParam(i % items.length, _perItemAngle , margin, _startAngle, clockwise)
i = i % items.length
let [ start, end ] = GearListChart.getToothParam(i, _perItemAngle , margin, _startAngle, clockwise)
return (

@@ -172,0 +173,0 @@ <g key={conf.key || i}>

Sorry, the diff of this file is not supported yet

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