victory-tooltip 36.9.2 → 37.0.1-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/victory-tooltip.js +1580 -1984
- package/dist/victory-tooltip.min.js +1 -1
- package/es/flyout.d.ts +30 -30
- package/es/flyout.js +90 -68
- package/es/index.d.ts +2 -2
- package/es/victory-tooltip.d.ts +137 -137
- package/es/victory-tooltip.js +471 -576
- package/lib/flyout.d.ts +30 -30
- package/lib/flyout.js +89 -80
- package/lib/index.d.ts +2 -2
- package/lib/index.js +0 -4
- package/lib/victory-tooltip.d.ts +137 -137
- package/lib/victory-tooltip.js +472 -606
- package/package.json +2 -5
- package/src/victory-tooltip.tsx +3 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-tooltip",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "37.0.1-next.0",
|
|
4
4
|
"description": "Tooltip Component for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -21,14 +21,11 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"lodash": "^4.17.19",
|
|
24
|
-
"victory-core": "^
|
|
24
|
+
"victory-core": "^37.0.1-next.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": ">=16.6.0"
|
|
28
28
|
},
|
|
29
|
-
"publishConfig": {
|
|
30
|
-
"provenance": true
|
|
31
|
-
},
|
|
32
29
|
"wireit": {
|
|
33
30
|
"### THESE WIREIT CONFIGS ARE GENERATED ####": {},
|
|
34
31
|
"### DO NOT MODIFY THESE MANUALLY ####": {},
|
package/src/victory-tooltip.tsx
CHANGED
|
@@ -106,12 +106,10 @@ export class VictoryTooltip extends React.Component<VictoryTooltipProps> {
|
|
|
106
106
|
groupComponent: <g />,
|
|
107
107
|
};
|
|
108
108
|
|
|
109
|
-
static defaultEvents
|
|
110
|
-
props: VictoryTooltipProps,
|
|
111
|
-
): {
|
|
109
|
+
static defaultEvents(props: VictoryTooltipProps): {
|
|
112
110
|
target: string;
|
|
113
111
|
eventHandlers: EventHandlers;
|
|
114
|
-
}[]
|
|
112
|
+
}[] {
|
|
115
113
|
const activate = props.activateData
|
|
116
114
|
? [
|
|
117
115
|
{ target: "labels", mutation: () => ({ active: true }) },
|
|
@@ -137,7 +135,7 @@ export class VictoryTooltip extends React.Component<VictoryTooltipProps> {
|
|
|
137
135
|
},
|
|
138
136
|
},
|
|
139
137
|
];
|
|
140
|
-
}
|
|
138
|
+
}
|
|
141
139
|
|
|
142
140
|
id: string | number;
|
|
143
141
|
|