@lincle/react-native-base 0.4.0-next.7 → 0.4.0-next.8

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.
@@ -51,7 +51,7 @@ const Path = ({ center = true, edgeId, line, markerEnd: givenMarkerEnd, markerSt
51
51
  diagramId,
52
52
  givenMarkerStart
53
53
  ]);
54
- return ((0, jsx_runtime_1.jsxs)(react_native_svg_1.G, { children: [(0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { d: origins === null || origins === void 0 ? void 0 : origins.path, fill: 'transparent', id: diagramId + '1', opacity: 0, pointerEvents: 'auto', stroke: 'black', strokeWidth: 30 }), (0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { d: origins === null || origins === void 0 ? void 0 : origins.path, fill: 'transparent', id: diagramId + '2', markerEnd: markerEnd, markerStart: markerStart, stroke: 'black' })] }));
54
+ return ((0, jsx_runtime_1.jsxs)(react_native_svg_1.G, { children: [(0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { d: origins === null || origins === void 0 ? void 0 : origins.path, fill: 'transparent', id: diagramId + '1', opacity: 0, pointerEvents: 'box-none', stroke: 'black', strokeWidth: 30 }), (0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { d: origins === null || origins === void 0 ? void 0 : origins.path, fill: 'transparent', id: diagramId + '2', markerEnd: markerEnd, markerStart: markerStart, pointerEvents: 'box-none', stroke: 'black' })] }));
55
55
  };
56
56
  Path.displayName = 'LinclePath';
57
57
  exports.default = Path;
@@ -45,7 +45,8 @@ const styles = react_native_1.StyleSheet.create({
45
45
  },
46
46
  edges: {
47
47
  backfaceVisibility: 'hidden',
48
- overflow: 'visible'
48
+ overflow: 'visible',
49
+ pointerEvents: 'box-none'
49
50
  }
50
51
  });
51
52
  const Edges = ({ children, scale = 1, translate = {
@@ -57,7 +58,7 @@ const Edges = ({ children, scale = 1, translate = {
57
58
  const ty = translate.y;
58
59
  const tz = scale;
59
60
  return {
60
- style: Object.assign(Object.assign({}, styles.bridges), { transform: `translateX(${tx}px) translateY(${ty}px) scale(${tz})`, transformOrigin: 'top left' }),
61
+ style: Object.assign(Object.assign({}, styles.bridges), { pointerEvents: 'box-none', transform: `translateX(${tx}px) translateY(${ty}px) scale(${tz})`, transformOrigin: 'top left' }),
61
62
  transform: `translate(${tx}, ${ty}) scale(${tz})`
62
63
  };
63
64
  }, [
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@lincle/react-native-base",
3
3
  "title": "lincle react native base",
4
4
  "license": "LGPL-3.0-or-later",
5
- "version": "0.4.0-next.7",
5
+ "version": "0.4.0-next.8",
6
6
  "private": false,
7
7
  "description": "A 'reactive' React node and edge generator",
8
8
  "author": "wallzero @wallzeroblog (http://wallzero.com)",
@@ -67,7 +67,7 @@
67
67
  "rimraf": "^6.0.1"
68
68
  },
69
69
  "dependencies": {
70
- "@lincle/react-shared": "^0.4.0-next.7"
70
+ "@lincle/react-shared": "^0.4.0-next.8"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "react": "^16.0.0 || ^17.0.0 || ^18.0.0",
@@ -89,5 +89,5 @@
89
89
  "acyclical graph",
90
90
  "cyclical graph"
91
91
  ],
92
- "gitHead": "4457d7dd7df752f71d0559c5db389177a008252e"
92
+ "gitHead": "26dd11a8079cc36533e81ad662d9d304ec6c4478"
93
93
  }