Comparing version 32.1.0 to 32.2.0
{ | ||
"name": "victory", | ||
"version": "32.1.0", | ||
"version": "32.2.0", | ||
"description": "Data viz for React", | ||
@@ -22,27 +22,27 @@ "keywords": [ | ||
"dependencies": { | ||
"victory-area": "^32.1.0", | ||
"victory-axis": "^32.1.0", | ||
"victory-bar": "^32.1.0", | ||
"victory-box-plot": "^32.1.0", | ||
"victory-brush-container": "^32.1.0", | ||
"victory-brush-line": "^32.1.0", | ||
"victory-candlestick": "^32.1.0", | ||
"victory-chart": "^32.1.0", | ||
"victory-core": "^32.1.0", | ||
"victory-create-container": "^32.1.0", | ||
"victory-cursor-container": "^32.1.0", | ||
"victory-errorbar": "^32.1.0", | ||
"victory-group": "^32.1.0", | ||
"victory-legend": "^32.1.0", | ||
"victory-line": "^32.1.0", | ||
"victory-pie": "^32.1.0", | ||
"victory-polar-axis": "^32.1.0", | ||
"victory-scatter": "^32.1.0", | ||
"victory-selection-container": "^32.1.0", | ||
"victory-shared-events": "^32.1.0", | ||
"victory-stack": "^32.1.0", | ||
"victory-tooltip": "^32.1.0", | ||
"victory-voronoi": "^32.1.0", | ||
"victory-voronoi-container": "^32.1.0", | ||
"victory-zoom-container": "^32.1.0" | ||
"victory-area": "^32.2.0", | ||
"victory-axis": "^32.2.0", | ||
"victory-bar": "^32.2.0", | ||
"victory-box-plot": "^32.2.0", | ||
"victory-brush-container": "^32.2.0", | ||
"victory-brush-line": "^32.2.0", | ||
"victory-candlestick": "^32.2.0", | ||
"victory-chart": "^32.2.0", | ||
"victory-core": "^32.2.0", | ||
"victory-create-container": "^32.2.0", | ||
"victory-cursor-container": "^32.2.0", | ||
"victory-errorbar": "^32.2.0", | ||
"victory-group": "^32.2.0", | ||
"victory-legend": "^32.2.0", | ||
"victory-line": "^32.2.0", | ||
"victory-pie": "^32.2.0", | ||
"victory-polar-axis": "^32.2.0", | ||
"victory-scatter": "^32.2.0", | ||
"victory-selection-container": "^32.2.0", | ||
"victory-shared-events": "^32.2.0", | ||
"victory-stack": "^32.2.0", | ||
"victory-tooltip": "^32.2.0", | ||
"victory-voronoi": "^32.2.0", | ||
"victory-voronoi-container": "^32.2.0", | ||
"victory-zoom-container": "^32.2.0" | ||
}, | ||
@@ -49,0 +49,0 @@ "scripts": { |
@@ -33,2 +33,4 @@ ## [Victory Documentation](https://formidable.com/open-source/victory) | ||
For detailed documentation and examples please see [Victory Documentation](https://formidable.com/open-source/victory) | ||
## Requirements | ||
@@ -45,20 +47,3 @@ | ||
## Issues | ||
### Jest Snapshots | ||
If you want to use [Jest snapshot testing](https://github.com/storybooks/storybook/tree/master/addons/storyshots) | ||
with Victory, you may encounter a problem where the Jest snapshot changes every time, due to a randomly generated `clipId` | ||
being used for a `VictoryClipContainer` group component. | ||
The solution to this is to set a static `clipId` on your `VictoryClipContainer`. | ||
For example, when creating a `VictoryLine` component, you can pass a `groupComponent` prop: | ||
```js | ||
<VictoryLine groupComponent={<VictoryClipContainer clipId={1} />} /> | ||
``` | ||
Now the `clipId` attached to your `VictoryLine` component will always be the same, and your snapshot will not change with each test run. | ||
[react]: https://facebook.github.io/react/ | ||
[prop-types]: https://github.com/reactjs/prop-types |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
39573
2337958
48
Updatedvictory-area@^32.2.0
Updatedvictory-axis@^32.2.0
Updatedvictory-bar@^32.2.0
Updatedvictory-box-plot@^32.2.0
Updatedvictory-brush-line@^32.2.0
Updatedvictory-candlestick@^32.2.0
Updatedvictory-chart@^32.2.0
Updatedvictory-core@^32.2.0
Updatedvictory-errorbar@^32.2.0
Updatedvictory-group@^32.2.0
Updatedvictory-legend@^32.2.0
Updatedvictory-line@^32.2.0
Updatedvictory-pie@^32.2.0
Updatedvictory-polar-axis@^32.2.0
Updatedvictory-scatter@^32.2.0
Updatedvictory-stack@^32.2.0
Updatedvictory-tooltip@^32.2.0
Updatedvictory-voronoi@^32.2.0