victory-chart 18.2.0 → 19.1.1

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.
Files changed (80) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +9 -5
  3. package/dist/victory-chart.js +17058 -24378
  4. package/dist/victory-chart.min.js +13 -14
  5. package/lib/components/containers/brush-helpers.js +7 -4
  6. package/lib/components/containers/create-container.js +40 -32
  7. package/lib/components/containers/cursor-helpers.js +48 -0
  8. package/lib/components/containers/victory-brush-container.js +7 -3
  9. package/lib/components/containers/victory-cursor-container.js +145 -0
  10. package/lib/components/containers/victory-selection-container.js +5 -2
  11. package/lib/components/containers/victory-voronoi-container.js +40 -15
  12. package/lib/components/containers/victory-zoom-container.js +9 -2
  13. package/lib/components/containers/zoom-helpers.js +7 -2
  14. package/lib/components/victory-area/helper-methods.js +2 -1
  15. package/lib/components/victory-area/victory-area.js +9 -105
  16. package/lib/components/victory-axis/helper-methods.js +5 -2
  17. package/lib/components/victory-axis/victory-axis.js +11 -53
  18. package/lib/components/victory-bar/helper-methods.js +3 -1
  19. package/lib/components/victory-bar/victory-bar.js +8 -114
  20. package/lib/components/victory-candlestick/helper-methods.js +2 -1
  21. package/lib/components/victory-candlestick/victory-candlestick.js +10 -111
  22. package/lib/components/victory-chart/helper-methods.js +4 -3
  23. package/lib/components/victory-chart/victory-chart.js +12 -67
  24. package/lib/components/victory-errorbar/helper-methods.js +1 -1
  25. package/lib/components/victory-errorbar/victory-errorbar.js +8 -113
  26. package/lib/components/victory-group/victory-group.js +12 -86
  27. package/lib/components/victory-line/helper-methods.js +2 -1
  28. package/lib/components/victory-line/victory-line.js +9 -105
  29. package/lib/components/victory-scatter/helper-methods.js +1 -1
  30. package/lib/components/victory-scatter/victory-scatter.js +8 -111
  31. package/lib/components/victory-stack/victory-stack.js +11 -59
  32. package/lib/components/victory-voronoi/helper-methods.js +1 -1
  33. package/lib/components/victory-voronoi/victory-voronoi.js +7 -112
  34. package/lib/helpers/common-props.js +87 -0
  35. package/lib/helpers/wrapper.js +2 -1
  36. package/lib/index.js +9 -7
  37. package/package.json +14 -14
  38. package/src/components/containers/brush-helpers.js +37 -34
  39. package/src/components/containers/create-container.js +52 -43
  40. package/src/components/containers/cursor-helpers.js +49 -0
  41. package/src/components/containers/selection-helpers.js +13 -13
  42. package/src/components/containers/victory-brush-container.js +33 -29
  43. package/src/components/containers/victory-cursor-container.js +145 -0
  44. package/src/components/containers/victory-selection-container.js +14 -11
  45. package/src/components/containers/victory-voronoi-container.js +50 -25
  46. package/src/components/containers/victory-zoom-container.js +17 -10
  47. package/src/components/containers/voronoi-helpers.js +9 -9
  48. package/src/components/containers/zoom-helpers.js +18 -13
  49. package/src/components/victory-area/helper-methods.js +7 -6
  50. package/src/components/victory-area/victory-area.js +14 -110
  51. package/src/components/victory-axis/helper-methods.js +22 -19
  52. package/src/components/victory-axis/victory-axis.js +15 -57
  53. package/src/components/victory-bar/helper-methods.js +7 -5
  54. package/src/components/victory-bar/victory-bar.js +14 -120
  55. package/src/components/victory-candlestick/helper-methods.js +10 -9
  56. package/src/components/victory-candlestick/victory-candlestick.js +20 -121
  57. package/src/components/victory-chart/helper-methods.js +7 -6
  58. package/src/components/victory-chart/victory-chart.js +24 -79
  59. package/src/components/victory-errorbar/helper-methods.js +7 -7
  60. package/src/components/victory-errorbar/victory-errorbar.js +15 -120
  61. package/src/components/victory-group/victory-group.js +26 -100
  62. package/src/components/victory-line/helper-methods.js +5 -4
  63. package/src/components/victory-line/victory-line.js +16 -112
  64. package/src/components/victory-scatter/helper-methods.js +8 -8
  65. package/src/components/victory-scatter/victory-scatter.js +11 -114
  66. package/src/components/victory-stack/victory-stack.js +21 -69
  67. package/src/components/victory-voronoi/helper-methods.js +3 -3
  68. package/src/components/victory-voronoi/victory-voronoi.js +10 -115
  69. package/src/helpers/axis.js +6 -6
  70. package/src/helpers/common-props.js +89 -0
  71. package/src/helpers/wrapper.js +10 -9
  72. package/src/index.js +7 -5
  73. package/lib/components/victory-voronoi-tooltip/helper-methods.js +0 -100
  74. package/lib/components/victory-voronoi-tooltip/victory-voronoi-tooltip.js +0 -180
  75. package/lib/components/victory-zoom/helper-methods.js +0 -48
  76. package/lib/components/victory-zoom/victory-zoom.js +0 -221
  77. package/src/components/victory-voronoi-tooltip/helper-methods.js +0 -101
  78. package/src/components/victory-voronoi-tooltip/victory-voronoi-tooltip.js +0 -180
  79. package/src/components/victory-zoom/helper-methods.js +0 -49
  80. package/src/components/victory-zoom/victory-zoom.js +0 -221
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # VictoryChart Changelog
2
2
 
3
+ ## 19.1.1 (2017-05-12)
4
+
5
+ - Export `CursorHelpers`
6
+
7
+ ## 19.1.0 (2017-05-12)
8
+
9
+ - [469](https://github.com/FormidableLabs/victory-chart/pull/469) Adds `VictoryCursorContainer`
10
+ - [victory-core/243](https://github.com/FormidableLabs/victory-core/pull/243) Impovements to `VictoryContainer`
11
+ - Automatic `overflow: "visible"` for elements rendered in `VictoryPortal` (tooltips)
12
+ - `VictoryContainer` no longer renders `g` tags (this was causing confusion with evented containers)
13
+ - Default responsive styles are now `width: "100%"` `height: "100%"` (fixes a bug in safari)
14
+ - Changes the merge order for responsive styles so that `width` and `height` attrs may be overridden
15
+ - [468](https://github.com/FormidableLabs/victory-chart/pull/468) Uses new `VictoryContainer` and adds
16
+ `renderInPortal` prop to the default label component rendered by continuous data types (`VictoryLine` and `VictoryArea`) so that labels are not clipped.
17
+
18
+ ## 19.0.0 (2017-05-02)
19
+
20
+ **BREAKING CHANGE**
21
+ - Updates to `react@^15.5.0`
22
+ - Uses separate `prop-types` package
23
+ - Projects using Victory must also depend on `prop-types`
24
+
25
+ ## 18.2.1 (2017-04-20)
26
+
27
+ - add `RawZoomHelpers` and `makeCreateContainerFunction`
28
+ - `combineContainerMixins` handles arbitrary number of mixins
29
+ - upgrade `victory-core` to get `getSVGEventCoordinates` native support
30
+
3
31
  ## 18.2.0 (2017-04-04)
4
32
 
5
33
  - Adds `createContainer` for creating containers with multiple behaviors (e.g. Zoom and Voronoi)
package/README.md CHANGED
@@ -19,8 +19,11 @@ VictoryChart includes:
19
19
  ## API Documentation
20
20
  Detailed documentation and interactive examples can be found at http://formidable.com/open-source/victory/docs/victory-chart
21
21
 
22
- ## Issues
23
- To make it easier to manage issues across all of Victory, we have disabled issued on this repo. [Please open issues in the main victory repo instead](https://github.com/FormidableLabs/victory/issues). You can track our progress on issues [here](https://github.com/FormidableLabs/victory/projects/1)
22
+ ## Requirements
23
+ Projects using Victory should also depend on [React][] and [prop-types][].
24
+
25
+ ## Issues
26
+ To make it easier to manage issues across all of Victory, we have disabled issues on this repo. [Please open issues in the main victory repo instead](https://github.com/FormidableLabs/victory/issues). You can track our progress on issues [here](https://github.com/FormidableLabs/victory/projects/1)
24
27
 
25
28
 
26
29
  ## Development
@@ -36,19 +39,20 @@ $ open http://localhost:3000
36
39
  $ npm test
37
40
  ```
38
41
 
39
- For more on the development environment, see [DEVELOPMENT](https://github.com/FormidableLabs/builder-victory-component/blob/master/dev/DEVELOPMENT.md) in the project builder archetype.
42
+ For more on the development environment, see [DEVELOPMENT](https://github.com/FormidableLabs/builder-victory-component-dev/blob/master/DEVELOPMENT.md) in the project builder archetype.
40
43
 
41
44
  ## Contributing
42
45
 
43
46
  Please review our [Code of Conduct](https://github.com/FormidableLabs/builder-victory-component/blob/master/CONTRIBUTING.md#contributor-covenant-code-of-conduct) before contributing.
44
47
 
45
- For a detailed contribution guide, please see [CONTRIBUTING](https://github.com/FormidableLabs/builder-victory-component/blob/master/dev/CONTRIBUTING.md) in the project builder archetype.
48
+ For a detailed contribution guide, please see [CONTRIBUTING](https://github.com/FormidableLabs/builder-victory-component-dev/blob/master/CONTRIBUTING.md) in the project builder archetype.
46
49
 
47
50
  **Caveats** git installs using npm 2 may fail in postinstall. If you are consuming Victory via git installs please use npm >=3.0.0
48
51
 
49
52
  ## _IMPORTANT_
50
53
 
51
54
  This project is in a pre-release state. We're hard at work fixing bugs and improving the API. Be prepared for breaking changes!
52
-
55
+ [React]: https://facebook.github.io/react/
56
+ [prop-types]: https://github.com/reactjs/prop-types
53
57
  [trav_img]: https://api.travis-ci.org/FormidableLabs/victory-chart.svg
54
58
  [trav_site]: https://travis-ci.org/FormidableLabs/victory-chart