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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-tooltip",
3
- "version": "36.9.2",
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": "^36.9.2"
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 ####": {},
@@ -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