{"_id":"@creaditor/minimal-pie-chart-editor-component","_rev":"2-633ce718d32f3d4034d7d76ee4701fda","name":"@creaditor/minimal-pie-chart-editor-component","dist-tags":{"latest":"1.0.45"},"versions":{"1.0.43":{"name":"@creaditor/minimal-pie-chart-editor-component","version":"1.0.43","description":"Made with create-react-library","author":{"name":"adi-L"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/adi-L/cdtr-blog.git"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.js","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress -f modern,cjs","start":"microbundle-crl watch --no-compress -f modern,cjs","prepare":"run-s build","test":"run-s test:unit test:lint test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && npm install && npm run build","deploy":"gh-pages -d example/build"},"peerDependencies":{"react":"^18.2.0"},"devDependencies":{"babel-eslint":"^10.0.3","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^4.0.0","microbundle-crl":"^0.13.11","npm-run-all":"^4.1.5","postcss-flexbugs-fixes":"^5.0.2","postcss-normalize":"^10.0.1","postcss-preset-env":"^7.8.3","prettier":"^2.0.4","react":"^18.2.0","react-dom":"^18.2.0","react-scripts":"^5.0.1"},"dependencies":{"react-minimal-pie-chart":"^8.4.0","recharts":"^2.5.0"},"gitHead":"6c930268aadf210d83845d3d8aaee6620013d20a","bugs":{"url":"https://github.com/adi-L/cdtr-blog/issues"},"homepage":"https://github.com/adi-L/cdtr-blog#readme","_id":"@creaditor/minimal-pie-chart-editor-component@1.0.43","_nodeVersion":"18.15.0","_npmVersion":"9.6.2","dist":{"integrity":"sha512-GZHiJxo5B37upY8wJJIH9iJI7k6CiUixBxoJ3jYeEqJsiNqwLqGBdKtpYjrCdU2sHwWgTv/qJwWAoHOnw6aqsQ==","shasum":"516a371ac13dbe8617392298875197c435695239","tarball":"https://registry.npmjs.org/@creaditor/minimal-pie-chart-editor-component/-/minimal-pie-chart-editor-component-1.0.43.tgz","fileCount":6,"unpackedSize":6676338,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGcDKwNjUs1CiUxSlJpWR8MMk1B1z0imUceqoxSZE56gIgXB6fr38uPNL3BCOTwVmn5fhBWx0WeynEREL7SxlqDIY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkT3i+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoC3w/+OwqwDZwVX03RcvL+/KjL8jXntESReiZX4gHyOuqcW7u8Vz3U\r\n/tngbVuS8/BFv1CbZQ7tj3PRwiw/yaaVIHSIUTEyDGuwBJJLGXe3TEkzrnbL\r\nhoXB9OwE1vop603nhObwVWcA+yPPLAWtE8PrOYB4z/Fbvv1SHxCO4f3Bue7M\r\nFqrGDBJpswEj1Za1hWPPd3eQWWLCulIexUrgC3mjjj3WGfr2Ci/RREr5nS0p\r\noK9M8eNHN2vGHqajEUGwpDY+BOfwVgbIHgi7uCZG6ftBeHVTN+irbsmZQR9i\r\nk5/31O4Ue73g7Sgt6RE0wKyx1cEkgaP2qDO6YHRW0biAOi3+MJJABIMkHF03\r\nbchMqq9Ydrpo3gy7liBDwFBlMaKHMgZ1zH7oQw1G2Zx+YB4DXFrLQhCBNUGu\r\neLKAq+c1JX2IQDUY5JUZGBc0+9QzvnjxNxCbublPYSh73hB/RrpxdZZ4T070\r\nH2sXAbVX7z66HAIMb1cBo3F6/xTVbivotPOLEuBDUa05GBGvzdjMK/pgsiUN\r\nHteuAXpTqRIYX0dKUi/IzRuITyRj0wQkOmPVXh6mHWgwt2vmpxmPkLmoLb9X\r\nn7H5h8lVTU6krz1m3DJo+42++4uvkydCbbz2Jvn3XtDEodsN7EsZzVE1sh1E\r\n0gqf/Zdyd5yfwGLv1KQXaNqt4WThF/mHHmE=\r\n=9zTY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"creaditor","email":"creaditor.system@gmail.com"},"directories":{},"maintainers":[{"name":"creaditor","email":"creaditor.system@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minimal-pie-chart-editor-component_1.0.43_1682929854227_0.842791266698129"},"_hasShrinkwrap":false},"1.0.44":{"name":"@creaditor/minimal-pie-chart-editor-component","version":"1.0.44","description":"Made with create-react-library","author":{"name":"adi-L"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/adi-L/minimal-pie-chart-editor-component.git"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.js","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress -f modern,cjs","start":"microbundle-crl watch --no-compress -f modern,cjs","prepare":"run-s build","test":"run-s test:unit test:lint test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && npm install && npm run build","deploy":"gh-pages -d example/build"},"peerDependencies":{"react":"^18.2.0"},"devDependencies":{"babel-eslint":"^10.0.3","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^4.0.0","microbundle-crl":"^0.13.11","npm-run-all":"^4.1.5","postcss-flexbugs-fixes":"^5.0.2","postcss-normalize":"^10.0.1","postcss-preset-env":"^7.8.3","prettier":"^2.0.4","react":"^18.2.0","react-dom":"^18.2.0","react-scripts":"^5.0.1"},"dependencies":{"react-minimal-pie-chart":"^8.4.0","recharts":"^2.5.0"},"gitHead":"6c930268aadf210d83845d3d8aaee6620013d20a","bugs":{"url":"https://github.com/adi-L/minimal-pie-chart-editor-component/issues"},"homepage":"https://github.com/adi-L/minimal-pie-chart-editor-component#readme","_id":"@creaditor/minimal-pie-chart-editor-component@1.0.44","_nodeVersion":"18.15.0","_npmVersion":"9.6.2","dist":{"integrity":"sha512-1KxpeMe935cHSuIZIo1N/0QQmfLAaPzP4/1GuClI/wuSJYPifbyKApd+1fnkBRcVIgDzkLk1huDNZppc9XEf5w==","shasum":"ef815626c7fb317fb80bb517e568cb5229d9984e","tarball":"https://registry.npmjs.org/@creaditor/minimal-pie-chart-editor-component/-/minimal-pie-chart-editor-component-1.0.44.tgz","fileCount":6,"unpackedSize":6677096,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDB8buMJgZ1mKWFE5MUAdx5BM2+ghhJ4Dwh1mIsy/AIHgIhAJ1RT8Jf9335NVb7ObYskAfbI5oyNr3DmbrD4zbPx9vi"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkT3ofACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmomLw/+JdKakrqGPcpiPi4QGjcpVWEzE68RyQZeGR37UdowiMLgzqKH\r\nMctP7awO6zsV3gLrje+O+EYEX2iPvPjQZcIGP96WK+QIlfHYAobyatrB909i\r\n1xNH6dcsXTQn94etaNpcTrYRr7iW5rT6adoc6o8iGVQLItgBJoY4CPqBsXwf\r\nslMoBaZjjmTfaWVLAKMyhGYuUPPJecw8XPcCWBo6JZqD+6UCn7pYWXqq/UeB\r\nSPWGpsT9+9xNbT/P8zNWwq6i18zeGR83OuggWOr7n1nECh2SZUYyJ2C3IFCx\r\nwU/dn/H4BxSQZT0tpSwiOMkZUPkUPl2q4wKcLFBA0fU3CUeY2s1ArWhsaW8t\r\nfluRb7WqMwj6J4fSdyTcTXKOCa/KNXDxPTv2yi0d7+8ZXA4sEk0yIbeW0jMo\r\nOzIO9z8MLjEC/OJWf22Ul2N3Sz+CqqHJ0hakDaHTmYOD3nO8fIoX42+Sydkz\r\n1WI7haFl2AKjvHcXCsbPGs8B5QZeMFcWn43Nt2mq+uztHW48JBGNnxYXFytC\r\neJwqgOJwIUhRQrZF3W8+cOu2X6OlNSu3kbmwblfU323SJSiJUQFqUXPTKiAQ\r\nBzCXDLe08dqiGbDoRMS/xL66dbThD2TAelu+i70UGkeE9r3iilDiyZfhjXnk\r\nf1gYGawTpsNh1NPyoP1+qzfwOY7zdBGiCkQ=\r\n=+RYl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"creaditor","email":"creaditor.system@gmail.com"},"directories":{},"maintainers":[{"name":"creaditor","email":"creaditor.system@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minimal-pie-chart-editor-component_1.0.44_1682930207171_0.49486516898228183"},"_hasShrinkwrap":false},"1.0.45":{"name":"@creaditor/minimal-pie-chart-editor-component","version":"1.0.45","description":"Made with create-react-library","author":{"name":"adi-L"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/adi-L/minimal-pie-chart-editor-component.git"},"main":"dist/index.js","module":"dist/index.modern.js","source":"src/index.js","engines":{"node":">=10"},"scripts":{"build":"microbundle-crl --no-compress -f modern,cjs","start":"microbundle-crl watch --no-compress -f modern,cjs","prepare":"run-s build","test":"run-s test:unit test:lint test:build","test:build":"run-s build","test:lint":"eslint .","test:unit":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","predeploy":"cd example && npm install && npm run build","deploy":"gh-pages -d example/build"},"peerDependencies":{"react":"^18.2.0"},"devDependencies":{"babel-eslint":"^10.0.3","cross-env":"^7.0.2","eslint":"^6.8.0","eslint-config-prettier":"^6.7.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-import":"^2.18.2","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.17.0","eslint-plugin-standard":"^4.0.1","gh-pages":"^4.0.0","microbundle-crl":"^0.13.11","npm-run-all":"^4.1.5","postcss-flexbugs-fixes":"^5.0.2","postcss-normalize":"^10.0.1","postcss-preset-env":"^7.8.3","prettier":"^2.0.4","react":"^18.2.0","react-dom":"^18.2.0","react-scripts":"^5.0.1"},"dependencies":{"react-minimal-pie-chart":"^8.4.0","recharts":"^2.5.0"},"gitHead":"6c930268aadf210d83845d3d8aaee6620013d20a","bugs":{"url":"https://github.com/adi-L/minimal-pie-chart-editor-component/issues"},"homepage":"https://github.com/adi-L/minimal-pie-chart-editor-component#readme","_id":"@creaditor/minimal-pie-chart-editor-component@1.0.45","_nodeVersion":"18.15.0","_npmVersion":"9.6.2","dist":{"integrity":"sha512-vNPQHWdRUa5OIWzQw9cL4xWklrlLgvUvqVdUX6vEo5lT+JG8dZEpP6GzNGx/XOhe6ideNeLgi3xywF8VO5duNQ==","shasum":"871dbe854b699dceecfd28515427305e367327f7","tarball":"https://registry.npmjs.org/@creaditor/minimal-pie-chart-editor-component/-/minimal-pie-chart-editor-component-1.0.45.tgz","fileCount":6,"unpackedSize":6678442,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7ptfF7LsJ+WZ7GmSXPriGVfRie5o/pr/rdYFEN/9kMAiEAzsYA8UPBhnCpE+hAE+z2oQBHeHRQ7LMUSNhWNsWx7Ok="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkUg0TACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRNw//a5Z8QQPfqpkSOdceDFJAIa8eDbJIPsmQrzpvAr01do3gaxPT\r\n4xMW3XQsmjJ5TAyvxbTpJjWQh7WrbiqcXM9TCTZheknX2H7pkmAnURCz5osR\r\nSrE/u5N/rs5pd8MXxhID3+kM3h3jkVhC06EMKVOKeW8YSPQ8huyQC1x48dR9\r\nAAOmgp4MWLkAHMLOKINvn3j3pZEEiAV+KyTwZrdHJvWN8u4WWt98FwIe1Y1K\r\nH/l5dV9HeNO8mDaHl880gHutbnB3273ONWVbhHU1gn1mAoZcNx5jj1vVS8Hv\r\nLgZkQby5Cp2kv0n9Fdl2joz0nKX3SgA2q3+fKXbP0U3PU6Z/7IqVkBmoyLdw\r\nKIX0W2a0vIGe72b33u+yxNWeLDIuaGMXsJI/zuAO0nx8BDKY9B5eOM+Gzpnx\r\nS9oH1Wx8o8CFD2asX8BDZgkZsEKL9hGRhEuVXLendV7IAAqk5JsrS36MeYn8\r\ni22nONnKEcbvcIvqsmcoPHbf7q2KfIOTjtIDB0HsyCums7X/cHQjNo7PdnES\r\nDWP4f+85BuSykecwcP+f50Phy2yD9cJ0FUJTFJmYF7RXpv9OMMntxVOFLI/+\r\nfC2bnFu/Vg+IFOP2AK+08mTwTY3BzO8R5eOAD8mufsCf6ALeUP9sqyQ2QHgd\r\neGW30yhdmWH5tN9bQGvSLI4n5qJy1RvLE4Q=\r\n=Zvxx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"creaditor","email":"creaditor.system@gmail.com"},"directories":{},"maintainers":[{"name":"creaditor","email":"creaditor.system@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/minimal-pie-chart-editor-component_1.0.45_1683098899658_0.8141291082177498"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-01T08:30:54.024Z","1.0.43":"2023-05-01T08:30:54.527Z","modified":"2023-05-03T07:28:20.057Z","1.0.44":"2023-05-01T08:36:47.406Z","1.0.45":"2023-05-03T07:28:19.921Z"},"maintainers":[{"name":"creaditor","email":"creaditor.system@gmail.com"}],"description":"Made with create-react-library","homepage":"https://github.com/adi-L/minimal-pie-chart-editor-component#readme","repository":{"type":"git","url":"git+https://github.com/adi-L/minimal-pie-chart-editor-component.git"},"author":{"name":"adi-L"},"bugs":{"url":"https://github.com/adi-L/minimal-pie-chart-editor-component/issues"},"license":"MIT","readme":"# minimal-pie-chart-editor-component\r\n\r\n> Made with create-react-library\r\n\r\n[![NPM](https://img.shields.io/npm/v/minimal-pie-chart-editor-component.svg)](https://www.npmjs.com/package/minimal-pie-chart-editor-component) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\r\n\r\n## Install\r\n\r\n```bash\r\nnpm install --save minimal-pie-chart-editor-component\r\n```\r\n\r\n## Usage\r\n\r\n```jsx\r\nimport * as React from 'react'\r\nimport { PieChart } from 'react-minimal-pie-chart'\r\n\r\nconst App = (props) => {\r\n  const linewWidth = props.lineWidth ? props.lineWidth : 60\r\n\r\n \r\n\r\n  return (\r\n    <PieChart\r\n      style={{ height: props.size || '200px' }}\r\n      data={props.data}\r\n      startAngle={props.startAngle}\r\n      lengthAngle={props.lengthAngle}\r\n      lineWidth={linewWidth}\r\n      viewBoxSize={props.viewBoxSize}\r\n      label={({ dataEntry }) => Math.round(dataEntry.percentage) + '%'}\r\n      labelPosition={100 - linewWidth / 2}\r\n      animate\r\n      segmentsStyle={{ transition: 'stroke .3s', cursor: 'pointer' }}\r\n      labelStyle={{\r\n        fill: '#fff',\r\n        opacity: 0.75,\r\n        pointerEvents: 'none',\r\n        fontSize: '.6rem',\r\n        fontFamily: 'arial'\r\n      }}\r\n    />\r\n  )\r\n}\r\n\r\nexport default App\r\n\r\n```\r\n\r\n## License\r\n\r\nMIT © [adi-L](https://github.com/adi-L)\r\n","readmeFilename":"README.md"}