@lincle/react-native-interactive 0.4.0-next.16 → 0.4.0-next.17

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.
@@ -6,11 +6,18 @@ import { StyleSheet } from 'react-native';
6
6
  import { Defs, G, Svg } from 'react-native-svg';
7
7
  const { svgStyle } = StyleSheet.create({
8
8
  svgStyle: {
9
+ height: '100%',
9
10
  overflow: 'visible',
10
11
  pointerEvents: 'box-none',
11
- position: 'absolute'
12
+ position: 'absolute',
13
+ width: '100%',
14
+ zIndex: 1
12
15
  }
13
16
  });
17
+ const isConnecting = {
18
+ x: 0,
19
+ y: 0
20
+ };
14
21
  const Connections = ({ scale = 1, translate = {
15
22
  x: 0,
16
23
  y: 0
@@ -19,7 +26,7 @@ const Connections = ({ scale = 1, translate = {
19
26
  const paths = useMemo(() => {
20
27
  return Object.keys(connections).map((sourceId) => {
21
28
  const { line, source, target } = connections[sourceId];
22
- return (_jsx(Path, { edgeId: sourceId + 'temp', line: line, source: source, target: target }, sourceId));
29
+ return (_jsx(Path, { edgeId: sourceId + 'temp', isConnecting: isConnecting, line: line, source: source, target: target }, sourceId));
23
30
  });
24
31
  }, [
25
32
  connections
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@lincle/react-native-interactive",
3
3
  "title": "lincle react native interactive",
4
4
  "license": "LGPL-3.0-or-later",
5
- "version": "0.4.0-next.16",
5
+ "version": "0.4.0-next.17",
6
6
  "private": false,
7
7
  "description": "A 'reactive' React node and edge generator",
8
8
  "author": "wallzero @wallzeroblog (http://wallzero.com)",
@@ -43,44 +43,46 @@
43
43
  "clean:dist": "rimraf dist"
44
44
  },
45
45
  "devDependencies": {
46
- "@digest/eslint-config-jest": "^4.14.3",
47
- "@digest/eslint-config-react": "^4.14.3",
48
- "@digest/eslint-config-typescript": "^4.14.3",
49
- "@digest/jest-junit": "^4.14.3",
50
- "@digest/jest-react": "^4.14.3",
51
- "@digest/jest-typescript": "^4.14.3",
52
- "@digest/typescript": "^4.14.3",
46
+ "@digest/eslint-config-jest": "^4.14.9",
47
+ "@digest/eslint-config-react": "^4.14.9",
48
+ "@digest/eslint-config-typescript": "^4.14.9",
49
+ "@digest/jest-junit": "^4.14.9",
50
+ "@digest/jest-react": "^4.14.9",
51
+ "@digest/jest-typescript": "^4.14.9",
52
+ "@digest/typescript": "^4.14.9",
53
53
  "@openspacelabs/react-native-zoomable-view": "^2.4.2",
54
- "@types/jest": "^29.5.14",
55
- "@types/node": "^22.15.18",
56
- "@types/react": "^19.1.4",
54
+ "@types/jest": "^30.0.0",
55
+ "@types/node": "^25.0.3",
56
+ "@types/react": "^19.2.7",
57
57
  "@types/react-native": "^0.73.0",
58
58
  "@types/react-test-renderer": "^19.1.0",
59
- "cross-env": "^7.0.3",
60
- "jest-environment-jsdom": "^29.7.0",
59
+ "cross-env": "^10.1.0",
60
+ "jest-environment-jsdom": "^30.2.0",
61
61
  "jest-environment-jsdom-global": "^4.0.0",
62
62
  "ncp": "^2.0.0",
63
63
  "npm-run-all": "^4.1.5",
64
- "react": "^19.1.0",
65
- "react-native": "^0.79.2",
64
+ "react": "^19.2.3",
65
+ "react-native": "^0.83.1",
66
66
  "react-native-draggable": "^3.3.0",
67
- "react-native-reanimated": "^3.17.5",
68
- "react-native-svg": "^15.12.0",
69
- "react-test-renderer": "^19.1.0",
70
- "rimraf": "^6.0.1"
67
+ "react-native-reanimated": "^4.2.1",
68
+ "react-native-svg": "^15.15.1",
69
+ "react-native-worklets": "^0.7.1",
70
+ "react-test-renderer": "^19.2.3",
71
+ "rimraf": "^6.1.2"
71
72
  },
72
73
  "dependencies": {
73
- "@lincle/react-interactive-shared": "^0.4.0-next.16",
74
- "@lincle/react-native-base": "^0.4.0-next.16",
75
- "@lincle/react-shared": "^0.4.0-next.16"
74
+ "@lincle/react-interactive-shared": "^0.4.0-next.17",
75
+ "@lincle/react-native-base": "^0.4.0-next.17",
76
+ "@lincle/react-shared": "^0.4.0-next.17"
76
77
  },
77
78
  "peerDependencies": {
78
79
  "@openspacelabs/react-native-zoomable-view": "^2.0.0",
79
80
  "react": "^18.0.0 || ^19.0.0",
80
- "react-native": "^0.79.0",
81
+ "react-native": "^0.83.0",
81
82
  "react-native-draggable": "^3.0.0",
82
- "react-native-reanimated": "^3.0.0",
83
- "react-native-svg": "^15.0.0"
83
+ "react-native-reanimated": "^4.0.0",
84
+ "react-native-svg": "^15.0.0",
85
+ "react-native-worklets": "^0.7.0"
84
86
  },
85
87
  "keywords": [
86
88
  "library",
@@ -101,5 +103,5 @@
101
103
  "dragndrop",
102
104
  "drag"
103
105
  ],
104
- "gitHead": "fbf9e67e3a145457c0f13ec5b65b1528e82aee99"
106
+ "gitHead": "25bbe98ceef3b13ee0ee23ea3b261d8a115c0771"
105
107
  }