@jbrowse/plugin-arc 2.6.2 → 2.7.0
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.
|
@@ -9,7 +9,7 @@ const util_1 = require("@jbrowse/core/util");
|
|
|
9
9
|
const mobx_react_1 = require("mobx-react");
|
|
10
10
|
const react_svg_tooltip_1 = require("react-svg-tooltip");
|
|
11
11
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
12
|
-
|
|
12
|
+
const ArcRendering = (0, mobx_react_1.observer)(function (props) {
|
|
13
13
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
14
14
|
const onClick = (event, id) => {
|
|
15
15
|
const { onFeatureClick: handler } = props;
|
|
@@ -57,5 +57,5 @@ function ArcRendering(props) {
|
|
|
57
57
|
outline: 'none',
|
|
58
58
|
position: 'relative',
|
|
59
59
|
} }, arcsRendered));
|
|
60
|
-
}
|
|
61
|
-
exports.default =
|
|
60
|
+
});
|
|
61
|
+
exports.default = ArcRendering;
|
|
@@ -4,7 +4,7 @@ import { bpSpanPx, measureText } from '@jbrowse/core/util';
|
|
|
4
4
|
import { observer } from 'mobx-react';
|
|
5
5
|
import { Tooltip } from 'react-svg-tooltip';
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7
|
-
|
|
7
|
+
const ArcRendering = observer(function (props) {
|
|
8
8
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
9
9
|
const onClick = (event, id) => {
|
|
10
10
|
const { onFeatureClick: handler } = props;
|
|
@@ -52,5 +52,5 @@ function ArcRendering(props) {
|
|
|
52
52
|
outline: 'none',
|
|
53
53
|
position: 'relative',
|
|
54
54
|
} }, arcsRendered));
|
|
55
|
-
}
|
|
56
|
-
export default
|
|
55
|
+
});
|
|
56
|
+
export default ArcRendering;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-arc",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "JBrowse 2 arc adapters, tracks, etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@jbrowse/plugin-wiggle": "^2.0.0",
|
|
45
45
|
"@mui/material": "^5.0.0",
|
|
46
46
|
"mobx": "^6.0.0",
|
|
47
|
-
"mobx-react": "^
|
|
47
|
+
"mobx-react": "^9.0.0",
|
|
48
48
|
"mobx-state-tree": "^5.0.0",
|
|
49
49
|
"react": ">=16.8.0",
|
|
50
50
|
"react-dom": ">=16.8.0",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "dbe7fb1af01fc89f833d2744635eb44a17365b41"
|
|
60
60
|
}
|