react-minimal-pie-chart 9.1.1 β 9.1.2
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/README.md +33 -28
- package/dist/Label.d.ts +1 -1
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -147,7 +147,7 @@ type LabelRenderProps = {
|
|
|
147
147
|
y: number;
|
|
148
148
|
dx: number;
|
|
149
149
|
dy: number;
|
|
150
|
-
textAnchor:
|
|
150
|
+
textAnchor: 'start' | 'middle' | 'end' | 'inherit' | undefined;
|
|
151
151
|
dataEntry: {
|
|
152
152
|
...props.data[dataIndex]
|
|
153
153
|
// props.data entry relative to the label extended with:
|
|
@@ -223,33 +223,38 @@ Thanks to you all ([emoji key](https://github.com/kentcdodds/all-contributors#em
|
|
|
223
223
|
<!-- prettier-ignore-start -->
|
|
224
224
|
<!-- markdownlint-disable -->
|
|
225
225
|
<table>
|
|
226
|
-
<
|
|
227
|
-
<
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
<
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
<
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
226
|
+
<tbody>
|
|
227
|
+
<tr>
|
|
228
|
+
<td align="center" valign="top" width="14.28%"><a href="http://www.andreacarraro.it"><img src="https://avatars3.githubusercontent.com/u/4573549?v=4?s=100" width="100px;" alt="Andrea Carraro"/><br /><sub><b>Andrea Carraro</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/commits?author=toomuchdesign" title="Code">π»</a> <a href="https://github.com/toomuchdesign/react-minimal-pie-chart/commits?author=toomuchdesign" title="Documentation">π</a> <a href="#infra-toomuchdesign" title="Infrastructure (Hosting, Build-Tools, etc)">π</a> <a href="https://github.com/toomuchdesign/react-minimal-pie-chart/commits?author=toomuchdesign" title="Tests">β οΈ</a> <a href="https://github.com/toomuchdesign/react-minimal-pie-chart/pulls?q=is%3Apr+reviewed-by%3Atoomuchdesign" title="Reviewed Pull Requests">π</a></td>
|
|
229
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/rufman"><img src="https://avatars3.githubusercontent.com/u/1128559?v=4?s=100" width="100px;" alt="Stephane Rufer"/><br /><sub><b>Stephane Rufer</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3Arufman" title="Bug reports">π</a> <a href="https://github.com/toomuchdesign/react-minimal-pie-chart/commits?author=rufman" title="Code">π»</a></td>
|
|
230
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jaaberg"><img src="https://avatars3.githubusercontent.com/u/1413255?v=4?s=100" width="100px;" alt="JΓΈrgen Aaberg"/><br /><sub><b>JΓΈrgen Aaberg</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/commits?author=jaaberg" title="Code">π»</a></td>
|
|
231
|
+
<td align="center" valign="top" width="14.28%"><a href="http://www.tobiahrex.com"><img src="https://avatars3.githubusercontent.com/u/16377119?v=4?s=100" width="100px;" alt="Tobiah Rex"/><br /><sub><b>Tobiah Rex</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3ATobiahRex" title="Bug reports">π</a></td>
|
|
232
|
+
<td align="center" valign="top" width="14.28%"><a href="https://edwardxiao.com"><img src="https://avatars2.githubusercontent.com/u/11728228?v=4?s=100" width="100px;" alt="Edward Xiao"/><br /><sub><b>Edward Xiao</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3Aedwardfhsiao" title="Bug reports">π</a></td>
|
|
233
|
+
<td align="center" valign="top" width="14.28%"><a href="https://keybase.io/konsumer"><img src="https://avatars1.githubusercontent.com/u/83857?v=4?s=100" width="100px;" alt="David Konsumer"/><br /><sub><b>David Konsumer</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/commits?author=konsumer" title="Code">π»</a> <a href="https://github.com/toomuchdesign/react-minimal-pie-chart/commits?author=konsumer" title="Documentation">π</a> <a href="#example-konsumer" title="Examples">π‘</a> <a href="#ideas-konsumer" title="Ideas, Planning, & Feedback">π€</a></td>
|
|
234
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nehoraigold"><img src="https://avatars2.githubusercontent.com/u/44398222?v=4?s=100" width="100px;" alt="Ori"/><br /><sub><b>Ori</b></sub></a><br /><a href="#ideas-nehoraigold" title="Ideas, Planning, & Feedback">π€</a></td>
|
|
235
|
+
</tr>
|
|
236
|
+
<tr>
|
|
237
|
+
<td align="center" valign="top" width="14.28%"><a href="https://www.manos.im/"><img src="https://avatars3.githubusercontent.com/u/6333409?v=4?s=100" width="100px;" alt="Emmanouil Konstantinidis"/><br /><sub><b>Emmanouil Konstantinidis</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3Amanosim" title="Bug reports">π</a></td>
|
|
238
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/yuruc"><img src="https://avatars0.githubusercontent.com/u/5884342?v=4?s=100" width="100px;" alt="yuruc"/><br /><sub><b>yuruc</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/commits?author=yuruc" title="Code">π»</a></td>
|
|
239
|
+
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/luca-schiavone-7270a8138/"><img src="https://avatars1.githubusercontent.com/u/16616566?v=4?s=100" width="100px;" alt="luca-esse "/><br /><sub><b>luca-esse </b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3Aluca-esse" title="Bug reports">π</a></td>
|
|
240
|
+
<td align="center" valign="top" width="14.28%"><a href="http://twitter.com/Osuka42"><img src="https://avatars1.githubusercontent.com/u/5117006?v=4?s=100" width="100px;" alt="Oscar Mendoza"/><br /><sub><b>Oscar Mendoza</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3AOsuka42g" title="Bug reports">π</a> <a href="https://github.com/toomuchdesign/react-minimal-pie-chart/commits?author=Osuka42g" title="Code">π»</a></td>
|
|
241
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/damien-git"><img src="https://avatars0.githubusercontent.com/u/7503971?v=4?s=100" width="100px;" alt="damien-git"/><br /><sub><b>damien-git</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3Adamien-git" title="Bug reports">π</a> <a href="#ideas-damien-git" title="Ideas, Planning, & Feedback">π€</a></td>
|
|
242
|
+
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/vianneystroebel/"><img src="https://avatars0.githubusercontent.com/u/628818?v=4?s=100" width="100px;" alt="Vianney Stroebel"/><br /><sub><b>Vianney Stroebel</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3Avibl" title="Bug reports">π</a> <a href="#ideas-vibl" title="Ideas, Planning, & Feedback">π€</a></td>
|
|
243
|
+
<td align="center" valign="top" width="14.28%"><a href="http://xumi.fr"><img src="https://avatars0.githubusercontent.com/u/204001?v=4?s=100" width="100px;" alt="Maxime Zielony"/><br /><sub><b>Maxime Zielony</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3Axumi" title="Bug reports">π</a> <a href="https://github.com/toomuchdesign/react-minimal-pie-chart/commits?author=xumi" title="Code">π»</a></td>
|
|
244
|
+
</tr>
|
|
245
|
+
<tr>
|
|
246
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/razked"><img src="https://avatars0.githubusercontent.com/u/39411034?v=4?s=100" width="100px;" alt="Raz Kedem"/><br /><sub><b>Raz Kedem</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3Arazked" title="Bug reports">π</a></td>
|
|
247
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/slumbering"><img src="https://avatars2.githubusercontent.com/u/1186424?v=4?s=100" width="100px;" alt="Blocksmith"/><br /><sub><b>Blocksmith</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/issues?q=author%3Aslumbering" title="Bug reports">π</a></td>
|
|
248
|
+
<td align="center" valign="top" width="14.28%"><a href="http://jamietalbot.com"><img src="https://avatars0.githubusercontent.com/u/425787?v=4?s=100" width="100px;" alt="Jamie Talbot"/><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>
|
|
249
|
+
<td align="center" valign="top" width="14.28%"><a href="http://timeslikethese.ca"><img src="https://avatars1.githubusercontent.com/u/22269057?v=4?s=100" width="100px;" alt="Oscar Yixuan Chen"/><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>
|
|
250
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/RuiRocha1991"><img src="https://avatars2.githubusercontent.com/u/29250466?v=4?s=100" width="100px;" alt="RuiRocha1991"/><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>
|
|
251
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Romaboy"><img src="https://avatars0.githubusercontent.com/u/42248135?v=4?s=100" width="100px;" alt="Roman Kushyn"/><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>
|
|
252
|
+
<td align="center" valign="top" width="14.28%"><a href="https://bogas04.github.io/"><img src="https://avatars.githubusercontent.com/u/6177621?v=4?s=100" width="100px;" alt="Divjot Singh"/><br /><sub><b>Divjot Singh</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/commits?author=bogas04" title="Code">π»</a></td>
|
|
253
|
+
</tr>
|
|
254
|
+
<tr>
|
|
255
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/haagvivi"><img src="https://avatars.githubusercontent.com/u/5496792?v=4?s=100" width="100px;" alt="Vivien HAAG"/><br /><sub><b>Vivien HAAG</b></sub></a><br /><a href="https://github.com/toomuchdesign/react-minimal-pie-chart/commits?author=haagvivi" title="Code">π»</a></td>
|
|
256
|
+
</tr>
|
|
257
|
+
</tbody>
|
|
253
258
|
</table>
|
|
254
259
|
|
|
255
260
|
<!-- markdownlint-restore -->
|
package/dist/Label.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export type LabelRenderProps<DataEntry extends BaseDataEntry> = {
|
|
|
6
6
|
y: number;
|
|
7
7
|
dx: number;
|
|
8
8
|
dy: number;
|
|
9
|
-
textAnchor:
|
|
9
|
+
textAnchor: 'start' | 'middle' | 'end' | 'inherit' | undefined;
|
|
10
10
|
dataEntry: ExtendedData<DataEntry>[number];
|
|
11
11
|
dataIndex: number;
|
|
12
12
|
style?: CSSProperties;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-minimal-pie-chart",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.2",
|
|
4
4
|
"description": "Lightweight but versatile SVG pie/donut charts for React",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"preversion": "npm run prepare",
|
|
28
28
|
"version": "git add package.json",
|
|
29
29
|
"postversion": "git push && git push --tags",
|
|
30
|
-
"prepare": "npx simple-git-hooks && npm run test
|
|
30
|
+
"prepare": "npx simple-git-hooks && npm run test:source && npm run test -- --run && npm run build && npm run test:bundles",
|
|
31
|
+
"release": "npm run prepare && npx changeset publish",
|
|
31
32
|
"start": "storybook dev",
|
|
32
33
|
"storybook:build": "storybook build"
|
|
33
34
|
},
|
|
@@ -39,6 +40,9 @@
|
|
|
39
40
|
"chart",
|
|
40
41
|
"typescript"
|
|
41
42
|
],
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"access": "public"
|
|
45
|
+
},
|
|
42
46
|
"repository": {
|
|
43
47
|
"type": "git",
|
|
44
48
|
"url": "git+https://github.com/toomuchdesign/react-minimal-pie-chart.git"
|
|
@@ -50,6 +54,7 @@
|
|
|
50
54
|
"react-dom": "^16.8.0 || ^17 || ^18 || ^19"
|
|
51
55
|
},
|
|
52
56
|
"devDependencies": {
|
|
57
|
+
"@changesets/changelog-github": "^0.5.1",
|
|
53
58
|
"@changesets/cli": "^2.27.9",
|
|
54
59
|
"@rollup/plugin-typescript": "^12.1.1",
|
|
55
60
|
"@schwingbat/relative-angle": "^1.0.0",
|