victory-tooltip
Advanced tools
Comparing version 34.1.3 to 34.2.0
@@ -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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1191698
8443
Updatedvictory-core@^34.2.0