Skip to content

Commit

Permalink
Merge pull request #488 from FormidableLabs/export-container-events
Browse files Browse the repository at this point in the history
export container helpers
  • Loading branch information
boygirl authored Feb 4, 2017
2 parents d5dd147 + 354ca31 commit 7ddd884
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Victory Changelog

## 0.16.1 (2017-02-03)

- [429](https://github.com/FormidableLabs/victory-chart/pull/429)
- Throttles `onWheel` and `onMouseMove` events on Victory container components
- Exports container event helpers

## 0.16.0 (2017-01-30)

**This release includes major breaking changes related to `VictoryZoom`**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"builder": "^3.1.0",
"builder-victory-component": "^3.1.0",
"victory-chart": "^16.0.0",
"victory-chart": "^16.1.0",
"victory-core": "^13.0.0",
"victory-pie": "^10.1.0"
},
Expand Down
6 changes: 5 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ import {
VictoryZoom,
VictoryZoomContainer,
VictorySelectionContainer,
VictoryBrushContainer
VictoryBrushContainer,
ZoomHelpers,
BrushHelpers,
SelectionHelpers
} from "victory-chart";

import { VictoryPie } from "victory-pie";
Expand Down Expand Up @@ -66,6 +69,7 @@ export {
VictoryClipContainer,
VictorySelectionContainer,
VictoryBrushContainer,
ZoomHelpers, BrushHelpers, SelectionHelpers,
addEvents, Collection, Data, DefaultTransitions, Domain, Events, Helpers, Log,
PropTypes, Scale, Style, TextSize, Transitions
};
3 changes: 3 additions & 0 deletions test/client/spec/components/victory.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,8 @@ describe("victory", () => {
expect(Victory.VictoryZoomContainer).not.to.equal(undefined);
expect(Victory.VictorySelectionContainer).not.to.equal(undefined);
expect(Victory.VictoryBrushContainer).not.to.equal(undefined);
expect(Victory.BrushHelpers).not.to.equal(undefined);
expect(Victory.SelectionHelpers).not.to.equal(undefined);
expect(Victory.ZoomHelpers).not.to.equal(undefined);
});
});

0 comments on commit 7ddd884

Please sign in to comment.