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

@nivo/legends

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nivo/legends - npm Package Compare versions

Comparing version 0.47.0 to 0.48.0

49

cjs/nivo-legends.js

@@ -593,3 +593,4 @@ 'use strict';

onMouseEnter = _props.onMouseEnter,
onMouseLeave = _props.onMouseLeave;
onMouseLeave = _props.onMouseLeave,
theme = _props.theme;
var style = this.state.style;

@@ -654,3 +655,3 @@

textAnchor: labelAnchor,
style: {
style: _extends({}, theme.legends.text, {
fill: style.itemTextColor || textColor,

@@ -660,3 +661,3 @@ alignmentBaseline: labelAlignment,

userSelect: 'none'
},
}),
x: labelX,

@@ -729,3 +730,4 @@ y: labelY

onMouseEnter = _ref.onMouseEnter,
onMouseLeave = _ref.onMouseLeave;
onMouseLeave = _ref.onMouseLeave,
theme = _ref.theme;

@@ -764,17 +766,15 @@ // eslint-disable-next-line no-unused-vars

justify: justify,
effects: effects
// item
, textColor: itemTextColor,
effects: effects,
textColor: itemTextColor,
background: itemBackground,
opacity: itemOpacity
// symbol
, symbolShape: symbolShape,
opacity: itemOpacity,
symbolShape: symbolShape,
symbolSize: symbolSize,
symbolSpacing: symbolSpacing,
symbolBorderWidth: symbolBorderWidth,
symbolBorderColor: symbolBorderColor
// interactivity
, onClick: onClick,
symbolBorderColor: symbolBorderColor,
onClick: onClick,
onMouseEnter: onMouseEnter,
onMouseLeave: onMouseLeave
onMouseLeave: onMouseLeave,
theme: theme
});

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

onMouseLeave = _ref.onMouseLeave,
effects = _ref.effects;
effects = _ref.effects,
theme = _ref.theme;

@@ -882,5 +883,4 @@ var _computeDimensions = computeDimensions({

justify: justify,
effects: effects
// item
, itemsSpacing: itemsSpacing,
effects: effects,
itemsSpacing: itemsSpacing,
itemWidth: itemWidth,

@@ -891,13 +891,12 @@ itemHeight: itemHeight,

itemBackground: itemBackground,
itemOpacity: itemOpacity
// symbol
, symbolShape: symbolShape,
itemOpacity: itemOpacity,
symbolShape: symbolShape,
symbolSize: symbolSize,
symbolSpacing: symbolSpacing,
symbolBorderWidth: symbolBorderWidth,
symbolBorderColor: symbolBorderColor
// interactivity
, onClick: onClick,
symbolBorderColor: symbolBorderColor,
onClick: onClick,
onMouseEnter: onMouseEnter,
onMouseLeave: onMouseLeave
onMouseLeave: onMouseLeave,
theme: theme
});

@@ -904,0 +903,0 @@ };

{
"name": "@nivo/legends",
"description": "legend components for nivo dataviz library",
"version": "0.47.0",
"version": "0.48.0",
"license": "MIT",

@@ -24,3 +24,3 @@ "main": "./index.js",

},
"gitHead": "8c41577a3b413d4b110622c3fdea7f977ca1452b"
"gitHead": "acf00e8f498cbcce7fc22b7c11106b870feac472"
}
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