Skip to content

Commit 7ddd884

Browse files
authored
Merge pull request #488 from FormidableLabs/export-container-events
export container helpers
2 parents d5dd147 + 354ca31 commit 7ddd884

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Victory Changelog
22

3+
## 0.16.1 (2017-02-03)
4+
5+
- [429](https://github.com/FormidableLabs/victory-chart/pull/429)
6+
- Throttles `onWheel` and `onMouseMove` events on Victory container components
7+
- Exports container event helpers
8+
39
## 0.16.0 (2017-01-30)
410

511
**This release includes major breaking changes related to `VictoryZoom`**

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"dependencies": {
3535
"builder": "^3.1.0",
3636
"builder-victory-component": "^3.1.0",
37-
"victory-chart": "^16.0.0",
37+
"victory-chart": "^16.1.0",
3838
"victory-core": "^13.0.0",
3939
"victory-pie": "^10.1.0"
4040
},

src/index.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ import {
3131
VictoryZoom,
3232
VictoryZoomContainer,
3333
VictorySelectionContainer,
34-
VictoryBrushContainer
34+
VictoryBrushContainer,
35+
ZoomHelpers,
36+
BrushHelpers,
37+
SelectionHelpers
3538
} from "victory-chart";
3639

3740
import { VictoryPie } from "victory-pie";
@@ -66,6 +69,7 @@ export {
6669
VictoryClipContainer,
6770
VictorySelectionContainer,
6871
VictoryBrushContainer,
72+
ZoomHelpers, BrushHelpers, SelectionHelpers,
6973
addEvents, Collection, Data, DefaultTransitions, Domain, Events, Helpers, Log,
7074
PropTypes, Scale, Style, TextSize, Transitions
7175
};

test/client/spec/components/victory.spec.js

+3
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,8 @@ describe("victory", () => {
5757
expect(Victory.VictoryZoomContainer).not.to.equal(undefined);
5858
expect(Victory.VictorySelectionContainer).not.to.equal(undefined);
5959
expect(Victory.VictoryBrushContainer).not.to.equal(undefined);
60+
expect(Victory.BrushHelpers).not.to.equal(undefined);
61+
expect(Victory.SelectionHelpers).not.to.equal(undefined);
62+
expect(Victory.ZoomHelpers).not.to.equal(undefined);
6063
});
6164
});

0 commit comments

Comments
 (0)