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

victory-tooltip

Package Overview
Dependencies
Maintainers
2
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-tooltip - npm Package Compare versions

Comparing version 34.0.0 to 34.0.1

5

es/victory-tooltip.js

@@ -357,2 +357,3 @@ import _orderBy from "lodash/orderBy";

datum = props.datum,
activePoints = props.activePoints,
labelComponent = props.labelComponent,

@@ -371,2 +372,3 @@ index = props.index;

datum: datum,
activePoints: activePoints,
textAnchor: textAnchor,

@@ -417,2 +419,3 @@ dy: dy,

datum = props.datum,
activePoints = props.activePoints,
index = props.index,

@@ -431,2 +434,3 @@ pointerLength = props.pointerLength,

datum: datum,
activePoints: activePoints,
index: index,

@@ -495,2 +499,3 @@ pointerLength: pointerLength,

active: PropTypes.oneOfType([PropTypes.bool, PropTypes.func]),
activePoints: PropTypes.array,
angle: PropTypes.number,

@@ -497,0 +502,0 @@ center: PropTypes.shape({

@@ -383,2 +383,3 @@ "use strict";

datum = props.datum,
activePoints = props.activePoints,
labelComponent = props.labelComponent,

@@ -397,2 +398,3 @@ index = props.index;

datum: datum,
activePoints: activePoints,
textAnchor: textAnchor,

@@ -443,2 +445,3 @@ dy: dy,

datum = props.datum,
activePoints = props.activePoints,
index = props.index,

@@ -459,2 +462,3 @@ pointerLength = props.pointerLength,

datum: datum,
activePoints: activePoints,
index: index,

@@ -527,2 +531,3 @@ pointerLength: pointerLength,

active: _propTypes.default.oneOfType([_propTypes.default.bool, _propTypes.default.func]),
activePoints: _propTypes.default.array,
angle: _propTypes.default.number,

@@ -529,0 +534,0 @@ center: _propTypes.default.shape({

2

package.json
{
"name": "victory-tooltip",
"version": "34.0.0",
"version": "34.0.1",
"description": "Tooltip Component for Victory",

@@ -5,0 +5,0 @@ "keywords": [

@@ -27,2 +27,3 @@ import React from "react";

active: PropTypes.oneOfType([PropTypes.bool, PropTypes.func]),
activePoints: PropTypes.array,
angle: PropTypes.number,

@@ -408,3 +409,3 @@ center: PropTypes.shape({ x: CustomPropTypes.nonNegative, y: CustomPropTypes.nonNegative }),

const { flyoutCenter, style, labelSize, dy, dx } = calculatedValues;
const { text, datum, labelComponent, index } = props;
const { text, datum, activePoints, labelComponent, index } = props;
const textAnchor =

@@ -420,2 +421,3 @@ (Array.isArray(style) && style.length ? style[0].textAnchor : style.textAnchor) || "middle";

datum,
activePoints,
textAnchor,

@@ -458,2 +460,3 @@ dy,

datum,
activePoints,
index,

@@ -473,2 +476,3 @@ pointerLength,

datum,
activePoints,
index,

@@ -475,0 +479,0 @@ pointerLength,

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc