@octanejs/recharts 0.1.57 → 0.1.58
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/package.json +4 -4
- package/src/util/types.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/recharts",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.58",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"reselect": "5.2.0",
|
|
44
44
|
"tiny-invariant": "^1.3.3",
|
|
45
45
|
"victory-vendor": "^37.3.6",
|
|
46
|
-
"@octanejs/redux": "0.1.
|
|
46
|
+
"@octanejs/redux": "0.1.56"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"octane": "^0.
|
|
49
|
+
"octane": "^0.8.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@tsrx/react": "^0.3.7",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"react-dom": "19.2.7",
|
|
56
56
|
"recharts": "3.9.2",
|
|
57
57
|
"vitest": "^4.1.10",
|
|
58
|
-
"octane": "0.
|
|
58
|
+
"octane": "0.8.0"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"test": "vitest run"
|
package/src/util/types.ts
CHANGED
|
@@ -721,7 +721,7 @@ export type ViewBox = CartesianViewBoxRequired | PolarViewBoxRequired;
|
|
|
721
721
|
export function adaptEventHandlers(
|
|
722
722
|
props: unknown,
|
|
723
723
|
newHandler?: (e: Event) => void,
|
|
724
|
-
): Record<string, (e: Event) => void> | null {
|
|
724
|
+
): (Record<string, (e: Event) => void> & { ref?: undefined }) | null {
|
|
725
725
|
if (!props || typeof props === 'function' || typeof props === 'boolean') {
|
|
726
726
|
return null;
|
|
727
727
|
}
|