@octanejs/recharts 0.1.0 → 0.1.1
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 +20 -0
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# @octanejs/recharts
|
|
2
|
+
|
|
3
|
+
[Recharts](https://recharts.org) for the [octane](https://github.com/octanejs/octane) UI framework.
|
|
4
|
+
|
|
5
|
+
A port of recharts 3.9.2 that reuses the framework-agnostic modules (the
|
|
6
|
+
Redux/RTK chart state layer, reselect, d3) and reimplements the React layer on
|
|
7
|
+
octane's hooks. Currently **partial**: phases 0–1 of the port plan — the static
|
|
8
|
+
`BarChart`/`LineChart` pipeline end-to-end (`isAnimationActive={false}`),
|
|
9
|
+
byte-identical to upstream in the differential rig. The phased plan lives in
|
|
10
|
+
[`docs/recharts-port-plan.md`](../../docs/recharts-port-plan.md).
|
|
11
|
+
|
|
12
|
+
```tsx
|
|
13
|
+
import { BarChart, Bar, XAxis, YAxis } from '@octanejs/recharts';
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Status
|
|
17
|
+
|
|
18
|
+
Current scope, known divergences, and verification status are tracked in the
|
|
19
|
+
generated [bindings status table](../../docs/bindings-status.md), sourced from
|
|
20
|
+
this package's [`status.json`](./status.json).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/recharts",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Recharts for the octane renderer — reuses recharts' framework-agnostic core (Redux Toolkit state, reselect, d3 via victory-vendor) and swaps the React layer for octane's hooks.",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"reselect": "5.2.0",
|
|
37
37
|
"tiny-invariant": "^1.3.3",
|
|
38
38
|
"victory-vendor": "^37.0.2",
|
|
39
|
-
"@octanejs/redux": "0.1.
|
|
40
|
-
"octane": "0.1.
|
|
39
|
+
"@octanejs/redux": "0.1.1",
|
|
40
|
+
"octane": "0.1.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@tsrx/react": "^0.2.37",
|