victory-native
Advanced tools
Comparing version 0.16.4 to 0.16.5
# VictoryNative Changelog | ||
## 0.16.5 (2017-12-20) | ||
- [221](https://github.com/FormidableLabs/victory-native/pull/221) Fixes a bug with circular clipPaths | ||
## 0.16.4 (2017-12-19) | ||
@@ -4,0 +8,0 @@ |
@@ -25,10 +25,5 @@ import React from "react"; | ||
renderClipComponent(props, clipId) { | ||
const { clipPadding, translateX, translateY, clipHeight, clipWidth } = props; | ||
return ( | ||
<ClipPath | ||
clipPadding={clipPadding} | ||
translateX={translateX} | ||
translateY={translateY} | ||
clipWidth={clipWidth} | ||
clipHeight={clipHeight} | ||
{...props} | ||
clipId={clipId} | ||
@@ -35,0 +30,0 @@ /> |
{ | ||
"name": "victory-native", | ||
"version": "0.16.4", | ||
"version": "0.16.5", | ||
"description": "Shared libraries and components for Victory", | ||
@@ -22,3 +22,3 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"start": "./node_modules/react-native/scripts/packager.sh start --reset-cache --projectRoots `pwd`,`pwd`/demo", | ||
"start": "./node_modules/react-native/scripts/packager.sh start --reset-cache", | ||
"demo:ios": "react-native run-ios --project-path demo/ios", | ||
@@ -25,0 +25,0 @@ "lint": "eslint test/spec/**/*.js lib/**/*.js demo/**/*.js", |
@@ -16,19 +16,7 @@ [](https://waffle.io/FormidableLabs/victory-native) | ||
**Note:** `victory-native` requires the following peer dependencies: | ||
- `react-native-svg` | ||
- `react` | ||
- `react-native` | ||
**Note:** `react-native-svg` has strict version requirements for both `react` and `react-native`. Please match versions to those required by `react-native-svg`. See the up-to-date requirements on the [react-native-svg Readme][react-native-svg-readme]. | ||
We encourage you to use the latest version of `react-native-svg` possible for your project, as `victory-native` issues are frequently solved by `react-native-svg` bugfixes. | ||
**Version Requirements** | ||
`victory-native@~0.15.0` requires peer dependency `react-native-svg@^5.0.0` | ||
`victory-native@~0.16.0` requires peer dependency `react-native-svg@^6.0.0` | ||
Link react-native-svg: | ||
Link react-native: | ||
```sh | ||
$ react-native link react-native-svg | ||
``` | ||
**NOTE: Please read about [Peer Dependencies and Version Requirements](#peer-dependencies-and-version-requirements)** | ||
@@ -53,2 +41,19 @@ Import charts from `victory-native`. For example, | ||
### Peer Dependencies and Version Requirements | ||
**Note:** `victory-native` requires the following peer dependencies: | ||
- `react-native-svg` | ||
- `react` | ||
- `react-native` | ||
**Note:** `react-native-svg` has strict version requirements for both `react` and `react-native`. Please match versions to those required by `react-native-svg`. See the up-to-date requirements on the [react-native-svg Readme][react-native-svg-readme]. | ||
We encourage you to use the latest version of `react-native-svg` possible for your project, as `victory-native` issues are frequently solved by `react-native-svg` bugfixes. | ||
* `victory-native@~0.15.0` requires `react-native-svg@^5.0.0` | ||
* `victory-native@~0.16.0` requires `react-native-svg@6.0.0` | ||
* `victory-native@~0.16.2` requires `react-native-svg@6.0.1-rc.1` | ||
### Local Development and Demo | ||
@@ -55,0 +60,0 @@ |
54288
97
1201