@jbrowse/plugin-lollipop 2.13.1 → 2.14.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.
- package/dist/LinearLollipopDisplay/model.d.ts +1 -1
- package/dist/LollipopRenderer/components/Lollipop.js +0 -1
- package/dist/LollipopRenderer/components/LollipopRendering.js +1 -2
- package/esm/LinearLollipopDisplay/model.d.ts +1 -1
- package/esm/LollipopRenderer/components/Lollipop.js +0 -1
- package/esm/LollipopRenderer/components/LollipopRendering.js +1 -2
- package/package.json +3 -3
|
@@ -127,7 +127,7 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
127
127
|
error: unknown;
|
|
128
128
|
message: string | undefined;
|
|
129
129
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
130
|
-
onHorizontalScroll?:
|
|
130
|
+
onHorizontalScroll?: () => void;
|
|
131
131
|
blockState?: Record<string, any>;
|
|
132
132
|
}>;
|
|
133
133
|
readonly DisplayBlurb: import("react").FC<{
|
|
@@ -7,7 +7,6 @@ const react_1 = __importDefault(require("react"));
|
|
|
7
7
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
8
8
|
const mobx_react_1 = require("mobx-react");
|
|
9
9
|
const ScoreText_1 = __importDefault(require("./ScoreText"));
|
|
10
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
11
10
|
const Lollipop = (0, mobx_react_1.observer)(function Lollipop(props) {
|
|
12
11
|
const { feature, config, layoutRecord, selectedFeatureId } = props;
|
|
13
12
|
const { anchorLocation, y, data: { radiusPx }, } = layoutRecord;
|
|
@@ -25,7 +25,6 @@ function layoutFeat(args) {
|
|
|
25
25
|
score: (0, configuration_1.readConfObject)(args.config, 'score', { feature }),
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
29
28
|
const LollipopRendering = (0, mobx_react_1.observer)(function (props) {
|
|
30
29
|
const onMouseDown = (event) => {
|
|
31
30
|
const { onMouseDown: handler } = props;
|
|
@@ -57,7 +56,7 @@ const LollipopRendering = (0, mobx_react_1.observer)(function (props) {
|
|
|
57
56
|
};
|
|
58
57
|
const { regions, bpPerPx, layout, config, features = new Map(), displayModel = {}, } = props;
|
|
59
58
|
const { selectedFeatureId } = displayModel;
|
|
60
|
-
const
|
|
59
|
+
const region = regions[0];
|
|
61
60
|
for (const feature of features.values()) {
|
|
62
61
|
layoutFeat({
|
|
63
62
|
feature,
|
|
@@ -127,7 +127,7 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
127
127
|
error: unknown;
|
|
128
128
|
message: string | undefined;
|
|
129
129
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
130
|
-
onHorizontalScroll?:
|
|
130
|
+
onHorizontalScroll?: () => void;
|
|
131
131
|
blockState?: Record<string, any>;
|
|
132
132
|
}>;
|
|
133
133
|
readonly DisplayBlurb: import("react").FC<{
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { readConfObject } from '@jbrowse/core/configuration';
|
|
3
3
|
import { observer } from 'mobx-react';
|
|
4
4
|
import ScoreText from './ScoreText';
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6
5
|
const Lollipop = observer(function Lollipop(props) {
|
|
7
6
|
const { feature, config, layoutRecord, selectedFeatureId } = props;
|
|
8
7
|
const { anchorLocation, y, data: { radiusPx }, } = layoutRecord;
|
|
@@ -20,7 +20,6 @@ function layoutFeat(args) {
|
|
|
20
20
|
score: readConfObject(args.config, 'score', { feature }),
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
24
23
|
const LollipopRendering = observer(function (props) {
|
|
25
24
|
const onMouseDown = (event) => {
|
|
26
25
|
const { onMouseDown: handler } = props;
|
|
@@ -52,7 +51,7 @@ const LollipopRendering = observer(function (props) {
|
|
|
52
51
|
};
|
|
53
52
|
const { regions, bpPerPx, layout, config, features = new Map(), displayModel = {}, } = props;
|
|
54
53
|
const { selectedFeatureId } = displayModel;
|
|
55
|
-
const
|
|
54
|
+
const region = regions[0];
|
|
56
55
|
for (const feature of features.values()) {
|
|
57
56
|
layoutFeat({
|
|
58
57
|
feature,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-lollipop",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0",
|
|
4
4
|
"description": "JBrowse 2 plugin for lollipops",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
],
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "npm-run-all build:*",
|
|
27
|
-
"test": "cd ../..; jest plugins/lollipop",
|
|
27
|
+
"test": "cd ../..; jest --passWithNoTests plugins/lollipop",
|
|
28
28
|
"prepublishOnly": "yarn test",
|
|
29
29
|
"prepack": "yarn build && yarn useDist",
|
|
30
30
|
"postpack": "yarn useSrc",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "9fb8231d932db40adf0a283081765431756c66ff"
|
|
54
54
|
}
|