victory-core 14.1.1 → 15.2.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/CHANGELOG.md +31 -1
- package/README.md +6 -1
- package/dist/victory-core.js +12641 -12203
- package/dist/victory-core.min.js +9 -9
- package/lib/index.js +27 -7
- package/lib/victory-animation/victory-animation.js +15 -13
- package/lib/victory-clip-container/victory-clip-container.js +7 -8
- package/lib/victory-container/victory-container.js +30 -31
- package/lib/victory-label/victory-label.js +59 -43
- package/lib/victory-legend/victory-legend.js +113 -63
- package/lib/victory-portal/portal.js +3 -2
- package/lib/victory-portal/victory-portal.js +4 -3
- package/lib/victory-primitives/area.js +26 -24
- package/lib/victory-primitives/bar.js +23 -16
- package/lib/victory-primitives/candle.js +16 -17
- package/lib/victory-primitives/clip-path.js +20 -14
- package/lib/victory-primitives/common-props.js +16 -0
- package/lib/victory-primitives/curve.js +22 -21
- package/lib/victory-primitives/error-bar.js +17 -19
- package/lib/victory-primitives/flyout.js +31 -16
- package/lib/victory-primitives/line.js +17 -19
- package/lib/victory-primitives/path-helpers.js +1 -0
- package/lib/victory-primitives/point.js +21 -17
- package/lib/victory-primitives/slice.js +18 -16
- package/lib/victory-primitives/voronoi.js +25 -21
- package/lib/victory-shared-events/victory-shared-events.js +25 -21
- package/lib/victory-tooltip/victory-tooltip.js +34 -28
- package/lib/victory-transition/victory-transition.js +27 -23
- package/lib/victory-util/add-events.js +54 -2
- package/lib/victory-util/collection.js +4 -0
- package/lib/victory-util/data.js +9 -8
- package/lib/victory-util/default-transitions.js +13 -12
- package/lib/victory-util/domain.js +1 -0
- package/lib/victory-util/events.js +3 -1
- package/lib/victory-util/helpers.js +4 -2
- package/lib/victory-util/prop-types.js +36 -49
- package/lib/victory-util/scale.js +1 -0
- package/lib/victory-util/textsize.js +1 -0
- package/lib/victory-util/transitions.js +137 -133
- package/package.json +16 -14
- package/src/index.js +26 -7
- package/src/victory-animation/victory-animation.js +27 -25
- package/src/victory-clip-container/victory-clip-container.js +18 -19
- package/src/victory-container/victory-container.js +43 -44
- package/src/victory-label/victory-label.js +72 -56
- package/src/victory-legend/victory-legend.js +116 -66
- package/src/victory-portal/portal.js +3 -2
- package/src/victory-portal/victory-portal.js +6 -5
- package/src/victory-primitives/area.js +22 -20
- package/src/victory-primitives/bar.js +28 -21
- package/src/victory-primitives/candle.js +23 -24
- package/src/victory-primitives/clip-path.js +13 -7
- package/src/victory-primitives/common-props.js +17 -0
- package/src/victory-primitives/curve.js +20 -19
- package/src/victory-primitives/error-bar.js +23 -25
- package/src/victory-primitives/flyout.js +34 -19
- package/src/victory-primitives/line.js +20 -22
- package/src/victory-primitives/path-helpers.js +7 -6
- package/src/victory-primitives/point.js +19 -15
- package/src/victory-primitives/slice.js +17 -15
- package/src/victory-primitives/voronoi.js +20 -16
- package/src/victory-shared-events/victory-shared-events.js +38 -34
- package/src/victory-tooltip/victory-tooltip.js +54 -48
- package/src/victory-transition/victory-transition.js +27 -23
- package/src/victory-util/add-events.js +56 -4
- package/src/victory-util/collection.js +4 -0
- package/src/victory-util/data.js +11 -10
- package/src/victory-util/default-transitions.js +33 -31
- package/src/victory-util/domain.js +2 -1
- package/src/victory-util/events.js +7 -5
- package/src/victory-util/helpers.js +6 -4
- package/src/victory-util/prop-types.js +40 -53
- package/src/victory-util/scale.js +6 -5
- package/src/victory-util/selection.js +7 -7
- package/src/victory-util/textsize.js +3 -2
- package/src/victory-util/transitions.js +11 -6
- package/lib/victory-primitives/index.js +0 -15
- package/lib/victory-util/index.js +0 -32
- package/src/victory-primitives/index.js +0 -16
- package/src/victory-util/index.js +0 -33
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
VictoryCore Changelog
|
|
2
2
|
=====================
|
|
3
3
|
|
|
4
|
+
## 15.2.0 (2017-05-22)
|
|
5
|
+
|
|
6
|
+
-[244](https://github.com/FormidableLabs/victory-core/pull/244) Passes missing `datum` and `index` props to `Flyout`
|
|
7
|
+
-[246](https://github.com/FormidableLabs/victory-core/pull/246) Adds an `itemsPerRow` prop to `VictoryLegend` to support automatic legend wrapping
|
|
8
|
+
-[249](https://github.com/FormidableLabs/victory-core/pull/249) Adds support for a y0 accessor so that users can have granular control over the baseline of components like `VictoryArea`
|
|
9
|
+
-[250](https://github.com/FormidableLabs/victory-core/pull/250) Audits `shouldComponentUpdate` logic for all primitive components so that changes to optional props like `className` will cause components to re-render.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## 15.1.0 (2017-05-12)
|
|
13
|
+
|
|
14
|
+
- [241](https://github.com/FormidableLabs/victory-core/pull/241) Adds optional `title` an `desc` props to `VictoryLabel`
|
|
15
|
+
- [243](https://github.com/FormidableLabs/victory-core/pull/243) Impovements to `VictoryContainer`
|
|
16
|
+
- Automatic `overflow: "visible"` for elements rendered in `VictoryPortal` (tooltips)
|
|
17
|
+
- `VictoryContainer` no longer renders `g` tags (this was causing confusion with evented containers)
|
|
18
|
+
- Default responsive styles are now `width: "100%"` `height: "100%"` (fixes a bug in safari)
|
|
19
|
+
- Changes the merge order for responsive styles so that `width` and `height` attrs may be overridden
|
|
20
|
+
- [244](https://github.com/FormidableLabs/victory-core/pull/244) adds missing `index` and `datum` props to `Flyout`
|
|
21
|
+
- [245](https://github.com/FormidableLabs/victory-core/pull/245) fixes `dy` calculation in `VictoryLabel`
|
|
22
|
+
|
|
23
|
+
## 15.0.0 (2017-05-02)
|
|
24
|
+
|
|
25
|
+
**BREAKING CHANGE**
|
|
26
|
+
- Updates to `react@^15.5.0`
|
|
27
|
+
- Uses separate `prop-types` package
|
|
28
|
+
- Projects using Victory must also depend on `prop-types`
|
|
29
|
+
|
|
30
|
+
## 14.1.1 (2017-04-20)
|
|
31
|
+
|
|
32
|
+
- Add `victory-native` support to getSVGEventCoordinates
|
|
33
|
+
|
|
4
34
|
## 14.1.0 (2017-04-04)
|
|
5
35
|
|
|
6
36
|
- Remove default container theme
|
|
@@ -9,7 +39,7 @@ VictoryCore Changelog
|
|
|
9
39
|
|
|
10
40
|
## 14.0.7 (2017-03-21)
|
|
11
41
|
|
|
12
|
-
- Fixes a bug in
|
|
42
|
+
- Fixes a bug in `shouldComponentUpdate` logic in `Candle`
|
|
13
43
|
- Adds static roles for `VictoryContainer`, `VictoryClipContainer`, and `VictoryLabel`
|
|
14
44
|
- Fixes a bug in `VictoryClipContainer`
|
|
15
45
|
- Prevents unknown prop `clipWidth` on `<g>` tags
|
package/README.md
CHANGED
|
@@ -6,7 +6,10 @@ VictoryCore
|
|
|
6
6
|
|
|
7
7
|
This package contains shared libraries and components for [Victory][].
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## Requirements
|
|
10
|
+
Projects using Victory should also depend on [React][] and [prop-types][].
|
|
11
|
+
|
|
12
|
+
## Issues
|
|
10
13
|
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)
|
|
11
14
|
|
|
12
15
|
|
|
@@ -29,6 +32,8 @@ For more on the development environment, see [DEVELOPMENT](https://github.com/Fo
|
|
|
29
32
|
Please see [CONTRIBUTING](https://github.com/FormidableLabs/builder-victory-component-dev/blob/master/CONTRIBUTING.md) in the project builder archetype.
|
|
30
33
|
|
|
31
34
|
[Victory]: https://github.com/FormidableLabs/victory
|
|
35
|
+
[React]: https://facebook.github.io/react/
|
|
36
|
+
[prop-types]: https://github.com/reactjs/prop-types
|
|
32
37
|
[trav_img]: https://api.travis-ci.org/FormidableLabs/victory-core.svg
|
|
33
38
|
[trav_site]: https://travis-ci.org/FormidableLabs/victory-core
|
|
34
39
|
|