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

victory-tooltip

Package Overview
Dependencies
Maintainers
3
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.1.3 to 34.2.0

40

es/index.d.ts

@@ -1,12 +0,1 @@

// Definitions by: Alexey Svetliakov <https://github.com/asvetliakov>
// snerks <https://github.com/snerks>
// Krzysztof Cebula <https://github.com/Havret>
// Vitaliy Polyanskiy <https://github.com/alreadyExisted>
// James Lismore <https://github.com/jlismore>
// Stack Builders <https://github.com/stackbuilders>
// Esteban Ibarra <https://github.com/ibarrae>
// Dominic Lee <https://github.com/dominictwlee>
// Dave Vedder <https://github.com/veddermatic>
// Alec Flett <https://github.com/alecf>
import * as React from "react";

@@ -18,2 +7,3 @@ import {

VictoryCommonProps,
VictoryLabelableProps,
VictoryNumberCallback,

@@ -24,9 +14,11 @@ VictoryThemeDefinition,

export interface VictoryTooltipProps {
export interface VictoryTooltipProps extends VictoryLabelableProps {
active?: boolean;
activateData?: boolean;
activePoints?: any[];
angle?: string | number;
center?: { x: number; y: number };
centerOffset?: {
x?: number | Function;
y?: number | Function;
x?: NumberOrCallback;
y?: NumberOrCallback;
};

@@ -37,5 +29,8 @@ constrainToVisibleArea?: boolean;

data?: any[];
dx?: StringOrNumberOrCallback;
dy?: StringOrNumberOrCallback;
events?: {};
dx?: NumberOrCallback;
dy?: NumberOrCallback;
groupComponent?: React.ReactElement;
height?: number;
horizontal?: boolean;
events?: { [key: string]: (event: React.SyntheticEvent<any>) => void };
flyoutHeight?: NumberOrCallback;

@@ -45,12 +40,9 @@ flyoutWidth?: NumberOrCallback;

flyoutComponent?: React.ReactElement;
groupComponent?: React.ReactElement;
height?: number;
horizontal?: boolean;
index?: number | string;
labelComponent?: React.ReactElement;
orientation?: OrientationTypes | VictoryNumberCallback;
pointerLength?: NumberOrCallback;
pointerOrientation?: OrientationTypes | ((...args: any[]) => OrientationTypes);
pointerWidth?: NumberOrCallback;
renderInPortal?: boolean;
style?: React.CSSProperties;
style?: React.CSSProperties | React.CSSProperties[];
text?: StringOrNumberOrCallback | string[] | number[];

@@ -79,8 +71,6 @@ theme?: VictoryThemeDefinition;

index?: number;
orientation?: "top" | "bottom" | "left" | "right";
origin?: object;
orientation?: OrientationTypes;
pathComponent?: React.ReactElement;
pointerLength?: number;
pointerWidth?: number;
polar?: boolean;
role?: string;

@@ -87,0 +77,0 @@ shapeRendering?: string;

@@ -1,12 +0,1 @@

// Definitions by: Alexey Svetliakov <https://github.com/asvetliakov>
// snerks <https://github.com/snerks>
// Krzysztof Cebula <https://github.com/Havret>
// Vitaliy Polyanskiy <https://github.com/alreadyExisted>
// James Lismore <https://github.com/jlismore>
// Stack Builders <https://github.com/stackbuilders>
// Esteban Ibarra <https://github.com/ibarrae>
// Dominic Lee <https://github.com/dominictwlee>
// Dave Vedder <https://github.com/veddermatic>
// Alec Flett <https://github.com/alecf>
import * as React from "react";

@@ -18,2 +7,3 @@ import {

VictoryCommonProps,
VictoryLabelableProps,
VictoryNumberCallback,

@@ -24,9 +14,11 @@ VictoryThemeDefinition,

export interface VictoryTooltipProps {
export interface VictoryTooltipProps extends VictoryLabelableProps {
active?: boolean;
activateData?: boolean;
activePoints?: any[];
angle?: string | number;
center?: { x: number; y: number };
centerOffset?: {
x?: number | Function;
y?: number | Function;
x?: NumberOrCallback;
y?: NumberOrCallback;
};

@@ -37,5 +29,8 @@ constrainToVisibleArea?: boolean;

data?: any[];
dx?: StringOrNumberOrCallback;
dy?: StringOrNumberOrCallback;
events?: {};
dx?: NumberOrCallback;
dy?: NumberOrCallback;
groupComponent?: React.ReactElement;
height?: number;
horizontal?: boolean;
events?: { [key: string]: (event: React.SyntheticEvent<any>) => void };
flyoutHeight?: NumberOrCallback;

@@ -45,12 +40,9 @@ flyoutWidth?: NumberOrCallback;

flyoutComponent?: React.ReactElement;
groupComponent?: React.ReactElement;
height?: number;
horizontal?: boolean;
index?: number | string;
labelComponent?: React.ReactElement;
orientation?: OrientationTypes | VictoryNumberCallback;
pointerLength?: NumberOrCallback;
pointerOrientation?: OrientationTypes | ((...args: any[]) => OrientationTypes);
pointerWidth?: NumberOrCallback;
renderInPortal?: boolean;
style?: React.CSSProperties;
style?: React.CSSProperties | React.CSSProperties[];
text?: StringOrNumberOrCallback | string[] | number[];

@@ -79,8 +71,6 @@ theme?: VictoryThemeDefinition;

index?: number;
orientation?: "top" | "bottom" | "left" | "right";
origin?: object;
orientation?: OrientationTypes;
pathComponent?: React.ReactElement;
pointerLength?: number;
pointerWidth?: number;
polar?: boolean;
role?: string;

@@ -87,0 +77,0 @@ shapeRendering?: string;

{
"name": "victory-tooltip",
"version": "34.1.3",
"version": "34.2.0",
"description": "Tooltip Component for Victory",

@@ -24,3 +24,3 @@ "keywords": [

"prop-types": "^15.5.8",
"victory-core": "^34.1.3"
"victory-core": "^34.2.0"
},

@@ -27,0 +27,0 @@ "scripts": {

@@ -1,12 +0,1 @@

// Definitions by: Alexey Svetliakov <https://github.com/asvetliakov>
// snerks <https://github.com/snerks>
// Krzysztof Cebula <https://github.com/Havret>
// Vitaliy Polyanskiy <https://github.com/alreadyExisted>
// James Lismore <https://github.com/jlismore>
// Stack Builders <https://github.com/stackbuilders>
// Esteban Ibarra <https://github.com/ibarrae>
// Dominic Lee <https://github.com/dominictwlee>
// Dave Vedder <https://github.com/veddermatic>
// Alec Flett <https://github.com/alecf>
import * as React from "react";

@@ -18,2 +7,3 @@ import {

VictoryCommonProps,
VictoryLabelableProps,
VictoryNumberCallback,

@@ -24,9 +14,11 @@ VictoryThemeDefinition,

export interface VictoryTooltipProps {
export interface VictoryTooltipProps extends VictoryLabelableProps {
active?: boolean;
activateData?: boolean;
activePoints?: any[];
angle?: string | number;
center?: { x: number; y: number };
centerOffset?: {
x?: number | Function;
y?: number | Function;
x?: NumberOrCallback;
y?: NumberOrCallback;
};

@@ -37,5 +29,8 @@ constrainToVisibleArea?: boolean;

data?: any[];
dx?: StringOrNumberOrCallback;
dy?: StringOrNumberOrCallback;
events?: {};
dx?: NumberOrCallback;
dy?: NumberOrCallback;
groupComponent?: React.ReactElement;
height?: number;
horizontal?: boolean;
events?: { [key: string]: (event: React.SyntheticEvent<any>) => void };
flyoutHeight?: NumberOrCallback;

@@ -45,12 +40,9 @@ flyoutWidth?: NumberOrCallback;

flyoutComponent?: React.ReactElement;
groupComponent?: React.ReactElement;
height?: number;
horizontal?: boolean;
index?: number | string;
labelComponent?: React.ReactElement;
orientation?: OrientationTypes | VictoryNumberCallback;
pointerLength?: NumberOrCallback;
pointerOrientation?: OrientationTypes | ((...args: any[]) => OrientationTypes);
pointerWidth?: NumberOrCallback;
renderInPortal?: boolean;
style?: React.CSSProperties;
style?: React.CSSProperties | React.CSSProperties[];
text?: StringOrNumberOrCallback | string[] | number[];

@@ -79,8 +71,6 @@ theme?: VictoryThemeDefinition;

index?: number;
orientation?: "top" | "bottom" | "left" | "right";
origin?: object;
orientation?: OrientationTypes;
pathComponent?: React.ReactElement;
pointerLength?: number;
pointerWidth?: number;
polar?: boolean;
role?: string;

@@ -87,0 +77,0 @@ shapeRendering?: string;

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