@octanejs/xyflow 0.1.3 → 0.1.5
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 +9 -8
- package/src/react-shim.ts +2 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/xyflow",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -45,25 +45,26 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@xyflow/system": "0.0.79",
|
|
47
47
|
"classcat": "5.0.5",
|
|
48
|
-
"@octanejs/zustand": "0.1.
|
|
48
|
+
"@octanejs/zustand": "0.1.52"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"octane": "^0.1.51 || ^0.2.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@tsrx/react": "^0.
|
|
54
|
+
"@tsrx/react": "^0.3.0",
|
|
55
55
|
"@types/react": "^19.2.17",
|
|
56
56
|
"@types/react-dom": "^19.2.3",
|
|
57
57
|
"@xyflow/react": "12.11.2",
|
|
58
58
|
"esbuild": "^0.28.1",
|
|
59
|
-
"react": "
|
|
60
|
-
"react-dom": "
|
|
59
|
+
"react": "19.2.7",
|
|
60
|
+
"react-dom": "19.2.7",
|
|
61
61
|
"vitest": "^4.1.10",
|
|
62
|
-
"
|
|
63
|
-
"
|
|
62
|
+
"@octanejs/zustand": "0.1.52",
|
|
63
|
+
"octane": "0.2.12"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"test": "vitest run --root ../.. --project xyflow --project xyflow-differential",
|
|
67
|
-
"port:upstream": "node ./scripts/port-upstream.mjs"
|
|
67
|
+
"port:upstream": "node ./scripts/port-upstream.mjs",
|
|
68
|
+
"typecheck": "tsrx-tsc --noEmit -p tsconfig.json"
|
|
68
69
|
}
|
|
69
70
|
}
|
package/src/react-shim.ts
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import type { ComponentBody, OctaneNode } from 'octane';
|
|
1
|
+
import type { CSSProperties, ComponentBody, OctaneNode } from 'octane';
|
|
2
2
|
import type { Octane as OctaneJSXRuntime } from 'octane/jsx-runtime';
|
|
3
3
|
|
|
4
|
-
export type { OctaneNode as ReactNode, OctaneNode };
|
|
5
|
-
|
|
6
|
-
export type CSSProperties = Exclude<
|
|
7
|
-
OctaneJSXRuntime.JSX.IntrinsicElements['div']['style'],
|
|
8
|
-
string | undefined
|
|
9
|
-
>;
|
|
4
|
+
export type { CSSProperties, OctaneNode as ReactNode, OctaneNode };
|
|
10
5
|
|
|
11
6
|
export type RefObject<T> = { current: T | null };
|
|
12
7
|
export type Ref<T> = OctaneJSXRuntime.Ref<T>;
|