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

@nivo/funnel

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nivo/funnel - npm Package Compare versions

Comparing version 0.63.0 to 0.63.1

8

dist/nivo-funnel.cjs.js

@@ -725,6 +725,6 @@ 'use strict';

motionConfig = _useMotionConfig.config;
var animatedAreaPath = core.useAnimatedPath(areaGenerator(part.areaPoints));
var animatedBorderPath = core.useAnimatedPath(borderGenerator(part.borderPoints));
var animatedProps = reactSpring.useSpring({
areaPath: areaGenerator(part.areaPoints),
areaColor: part.color,
borderPath: borderGenerator(part.borderPoints),
borderWidth: part.borderWidth,

@@ -736,3 +736,3 @@ borderColor: part.borderColor,

return React__default.createElement(React__default.Fragment, null, part.borderWidth > 0 && React__default.createElement(reactSpring.animated.path, {
d: animatedProps.borderPath,
d: animatedBorderPath,
stroke: animatedProps.borderColor,

@@ -743,3 +743,3 @@ strokeWidth: animatedProps.borderWidth,

}), React__default.createElement(reactSpring.animated.path, {
d: animatedProps.areaPath,
d: animatedAreaPath,
fill: animatedProps.areaColor,

@@ -746,0 +746,0 @@ fillOpacity: part.fillOpacity,

import React, { memo, useMemo, useState, Fragment } from 'react';
import { motionPropTypes, MotionConfigProvider, useTheme, useValueFormatter, useMotionConfig, withContainer, useDimensions, SvgWrapper, ResponsiveWrapper } from '@nivo/core';
import { motionPropTypes, MotionConfigProvider, useTheme, useValueFormatter, useMotionConfig, useAnimatedPath, withContainer, useDimensions, SvgWrapper, ResponsiveWrapper } from '@nivo/core';
import PropTypes from 'prop-types';

@@ -718,6 +718,6 @@ import { ordinalColorsPropType, inheritedColorPropType, useOrdinalColorScale, useInheritedColor } from '@nivo/colors';

motionConfig = _useMotionConfig.config;
var animatedAreaPath = useAnimatedPath(areaGenerator(part.areaPoints));
var animatedBorderPath = useAnimatedPath(borderGenerator(part.borderPoints));
var animatedProps = useSpring({
areaPath: areaGenerator(part.areaPoints),
areaColor: part.color,
borderPath: borderGenerator(part.borderPoints),
borderWidth: part.borderWidth,

@@ -729,3 +729,3 @@ borderColor: part.borderColor,

return React.createElement(React.Fragment, null, part.borderWidth > 0 && React.createElement(animated.path, {
d: animatedProps.borderPath,
d: animatedBorderPath,
stroke: animatedProps.borderColor,

@@ -736,3 +736,3 @@ strokeWidth: animatedProps.borderWidth,

}), React.createElement(animated.path, {
d: animatedProps.areaPath,
d: animatedAreaPath,
fill: animatedProps.areaColor,

@@ -739,0 +739,0 @@ fillOpacity: part.fillOpacity,

@@ -717,6 +717,6 @@ (function (global, factory) {

motionConfig = _useMotionConfig.config;
var animatedAreaPath = core.useAnimatedPath(areaGenerator(part.areaPoints));
var animatedBorderPath = core.useAnimatedPath(borderGenerator(part.borderPoints));
var animatedProps = reactSpring.useSpring({
areaPath: areaGenerator(part.areaPoints),
areaColor: part.color,
borderPath: borderGenerator(part.borderPoints),
borderWidth: part.borderWidth,

@@ -728,3 +728,3 @@ borderColor: part.borderColor,

return React__default.createElement(React__default.Fragment, null, part.borderWidth > 0 && React__default.createElement(reactSpring.animated.path, {
d: animatedProps.borderPath,
d: animatedBorderPath,
stroke: animatedProps.borderColor,

@@ -735,3 +735,3 @@ strokeWidth: animatedProps.borderWidth,

}), React__default.createElement(reactSpring.animated.path, {
d: animatedProps.areaPath,
d: animatedAreaPath,
fill: animatedProps.areaColor,

@@ -738,0 +738,0 @@ fillOpacity: part.fillOpacity,

{
"name": "@nivo/funnel",
"version": "0.63.0",
"version": "0.63.1",
"license": "MIT",

@@ -41,3 +41,3 @@ "author": {

},
"gitHead": "defc453433d8e6767ba3d612cce0d05c119ec5ed"
"gitHead": "dfa63783e79cb07c8bafbd3a4aea6cabbd0131c3"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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