react-minimal-pie-chart
Advanced tools
Comparing version 8.0.1 to 8.1.0
@@ -0,1 +1,5 @@ | ||
# 8.1.0 | ||
- Widen peerDependencies to include React 17 | ||
# 8.0.1 | ||
@@ -13,2 +17,3 @@ | ||
- Minimum `react` and `react-dom` peerDependency versions increased to `^16.8.0` | ||
- Minimum `typescript` version increased to `^3.8.0` (due to `import type`) | ||
- `label` prop works as [render prop](https://reactjs.org/docs/render-props.html); drop support for `boolean` and Element values | ||
@@ -39,2 +44,3 @@ - `segmentsShift` prop expressed as absolute `viewBox` units instead of radius' percentage | ||
- Make sure that installed `react` and `react-dom` version is >= `16.8.0` | ||
- In case `typescript` is used, ensure that installed version is >= `3.8` | ||
- Migrate `label` prop to provide a render function (see docs about labels) | ||
@@ -41,0 +47,0 @@ - Replace existing `rx` `ry` props with `center` |
{ | ||
"name": "react-minimal-pie-chart", | ||
"version": "8.0.1", | ||
"version": "8.1.0", | ||
"description": "Lightweight but versatile SVG pie/donut charts for React", | ||
@@ -57,32 +57,32 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"react": "^16.8.0", | ||
"react-dom": "^16.8.0" | ||
"react": "^16.8.0 || ^17.0.0", | ||
"react-dom": "^16.8.0 || ^17.0.0" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@babel/core": "^7.9.0", | ||
"@babel/plugin-transform-react-jsx": "^7.9.4", | ||
"@babel/preset-env": "^7.9.0", | ||
"@babel/preset-typescript": "^7.9.0", | ||
"@babel/core": "^7.12.3", | ||
"@babel/plugin-transform-react-jsx": "^7.12.1", | ||
"@babel/preset-env": "^7.12.1", | ||
"@babel/preset-typescript": "^7.12.1", | ||
"@schwingbat/relative-angle": "^1.0.0", | ||
"@size-limit/preset-small-lib": "^2.2.4", | ||
"@storybook/addon-actions": "^5.3.18", | ||
"@storybook/react": "^5.3.18", | ||
"@storybook/storybook-deployer": "^2.8.5", | ||
"@testing-library/jest-dom": "^5.5.0", | ||
"@testing-library/react": "^10.0.2", | ||
"@types/react": "^16.9.34", | ||
"all-contributors-cli": "^6.14.2", | ||
"@storybook/addon-actions": "^5.3.19", | ||
"@storybook/react": "^5.3.19", | ||
"@storybook/storybook-deployer": "^2.8.7", | ||
"@testing-library/jest-dom": "^5.11.4", | ||
"@testing-library/react": "^10.4.7", | ||
"@types/react": "^16.9.49", | ||
"all-contributors-cli": "^6.17.0", | ||
"babel-jest": "^24.9.0", | ||
"babel-loader": "^8.1.0", | ||
"coveralls": "^3.1.0", | ||
"es-check": "^5.0.0", | ||
"es-check": "^5.1.1", | ||
"husky": "^3.0.9", | ||
"jest": "^24.9.0", | ||
"lint-staged": "^10.1.1", | ||
"prettier": "^2.0.2", | ||
"lint-staged": "^10.2.11", | ||
"prettier": "^2.0.5", | ||
"prop-types": "^15.7.2", | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1", | ||
"react-tooltip": "^4.2.6", | ||
"react-tooltip": "^4.2.7", | ||
"rollup": "^1.27.14", | ||
@@ -89,0 +89,0 @@ "rollup-plugin-babel": "^4.3.3", |
@@ -52,2 +52,4 @@ # React minimal pie chart | ||
Minimum supported **Typescript** version: >= `3.8` | ||
## Usage | ||
@@ -211,2 +213,3 @@ | ||
- Provide a way to supply `svg` element with any extra prop | ||
- Consider removing `import type` declaration from generated type definition files (if possible) to ensure Typescript 3.0+ backward compatibility | ||
@@ -243,2 +246,5 @@ ## Contributors | ||
<td align="center"><a href="http://jamietalbot.com"><img src="https://avatars0.githubusercontent.com/u/425787?v=4" width="100px;" alt=""/><br /><sub><b>Jamie Talbot</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3Amajelbstoat" title="Bug reports">π</a></td> | ||
<td align="center"><a href="http://timeslikethese.ca"><img src="https://avatars1.githubusercontent.com/u/22269057?v=4" width="100px;" alt=""/><br /><sub><b>Oscar Yixuan Chen</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3Aairoscar" title="Bug reports">π</a></td> | ||
<td align="center"><a href="https://github.com/RuiRocha1991"><img src="https://avatars2.githubusercontent.com/u/29250466?v=4" width="100px;" alt=""/><br /><sub><b>RuiRocha1991</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3ARuiRocha1991" title="Bug reports">π</a></td> | ||
<td align="center"><a href="https://github.com/Romaboy"><img src="https://avatars0.githubusercontent.com/u/42248135?v=4" width="100px;" alt=""/><br /><sub><b>Roman Kushyn</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3ARomaboy" title="Bug reports">π</a></td> | ||
</tr> | ||
@@ -252,4 +258,4 @@ </table> | ||
[ci-badge]: https://travis-ci.org/toomuchdesign/react-minimal-pie-chart.svg?branch=master | ||
[ci]: https://travis-ci.org/toomuchdesign/react-minimal-pie-chart | ||
[ci-badge]: https://travis-ci.com/toomuchdesign/react-minimal-pie-chart.svg?branch=master | ||
[ci]: https://travis-ci.com/toomuchdesign/react-minimal-pie-chart | ||
[coveralls-badge]: https://coveralls.io/repos/github/toomuchdesign/react-minimal-pie-chart/badge.svg?branch=master | ||
@@ -256,0 +262,0 @@ [coveralls]: https://coveralls.io/github/toomuchdesign/react-minimal-pie-chart?branch=master |
165998
284