@teselagen/ove 0.3.57 → 0.3.59
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/index.cjs.js +233 -1595
- package/index.es.js +233 -1595
- package/index.umd.js +122 -1441
- package/package.json +2 -3
- package/src/LinearView/SequenceName.js +1 -1
- package/src/LinearView/style.css +4 -1
- package/src/redux/panelsShown.js +10 -8
- package/style.css +6 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teselagen/ove",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.59",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@teselagen/sequence-utils": "0.3.13",
|
|
17
17
|
"@teselagen/range-utils": "0.3.7",
|
|
18
|
-
"@teselagen/ui": "0.3.
|
|
18
|
+
"@teselagen/ui": "0.3.50",
|
|
19
19
|
"@teselagen/file-utils": "0.3.11",
|
|
20
20
|
"@teselagen/bounce-loader": "0.3.11",
|
|
21
21
|
"@teselagen/bio-parsers": "0.4.7",
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
"@teselagen/react-list": "0.8.18",
|
|
29
29
|
"@teselagen/react-table": "6.10.16",
|
|
30
30
|
"@use-gesture/react": "^10.2.23",
|
|
31
|
-
"axios": "^0.21.1",
|
|
32
31
|
"bluebird": "3.7.2",
|
|
33
32
|
"bson-objectid": "2.0.4",
|
|
34
33
|
"buffer": "5.7.1",
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
|
|
3
3
|
export function SequenceName({ sequenceName, sequenceLength, isProtein }) {
|
|
4
4
|
return (
|
|
5
|
-
<div key="
|
|
5
|
+
<div key="sequenceNameText" className="sequenceNameText">
|
|
6
6
|
<span>{sequenceName} </span>
|
|
7
7
|
<br />
|
|
8
8
|
<span>
|
package/src/LinearView/style.css
CHANGED
package/src/redux/panelsShown.js
CHANGED
|
@@ -143,7 +143,9 @@ const reducer = createReducer(
|
|
|
143
143
|
const newPanels = removeItem(group, indexToClose);
|
|
144
144
|
let mostRecentIndex = 0;
|
|
145
145
|
newPanels.forEach(p => {
|
|
146
|
-
if (
|
|
146
|
+
if (
|
|
147
|
+
(p.lastActive || 0) > (newPanels[mostRecentIndex].lastActive || 0)
|
|
148
|
+
) {
|
|
147
149
|
mostRecentIndex = newPanels.indexOf(p);
|
|
148
150
|
}
|
|
149
151
|
});
|
|
@@ -191,8 +193,8 @@ const reducer = createReducer(
|
|
|
191
193
|
panelId === panel.id
|
|
192
194
|
? true
|
|
193
195
|
: isPanelInGroup
|
|
194
|
-
|
|
195
|
-
|
|
196
|
+
? false
|
|
197
|
+
: panel.active
|
|
196
198
|
};
|
|
197
199
|
});
|
|
198
200
|
});
|
|
@@ -209,14 +211,14 @@ const reducer = createReducer(
|
|
|
209
211
|
panelId === panel.id
|
|
210
212
|
? true
|
|
211
213
|
: isPanelInGroup
|
|
212
|
-
|
|
213
|
-
|
|
214
|
+
? false
|
|
215
|
+
: panel.active,
|
|
214
216
|
fullScreen:
|
|
215
217
|
panelId === panel.id
|
|
216
218
|
? !panel.fullScreen
|
|
217
219
|
: isPanelInGroup
|
|
218
|
-
|
|
219
|
-
|
|
220
|
+
? false
|
|
221
|
+
: panel.fullScreen
|
|
220
222
|
};
|
|
221
223
|
});
|
|
222
224
|
});
|
|
@@ -271,7 +273,7 @@ export default (state, action) => {
|
|
|
271
273
|
nextState.forEach(pg => {
|
|
272
274
|
pg.forEach(p => {
|
|
273
275
|
if (p.active) {
|
|
274
|
-
p.lastActive = Date.now()
|
|
276
|
+
p.lastActive = Date.now();
|
|
275
277
|
}
|
|
276
278
|
});
|
|
277
279
|
});
|
package/style.css
CHANGED
|
@@ -9246,9 +9246,9 @@ button:not(:disabled):active {
|
|
|
9246
9246
|
}
|
|
9247
9247
|
|
|
9248
9248
|
/* add margin bottom to last row so it does not get covered by scrollbar */
|
|
9249
|
-
.ReactTable .rt-tr-group:last-child {
|
|
9249
|
+
/* .ReactTable .rt-tr-group:last-child {
|
|
9250
9250
|
margin-bottom: 20px;
|
|
9251
|
-
}
|
|
9251
|
+
} */
|
|
9252
9252
|
|
|
9253
9253
|
.bp3-icon-standard.bp3-disabled {
|
|
9254
9254
|
cursor: not-allowed;
|
|
@@ -10958,7 +10958,10 @@ li.bp3-menu-divider:last-child {
|
|
|
10958
10958
|
.veLinearView.isLinViewZoomed .veRowItemWrapper {
|
|
10959
10959
|
overflow: auto;
|
|
10960
10960
|
}
|
|
10961
|
-
|
|
10961
|
+
.sequenceNameText {
|
|
10962
|
+
text-align: center;
|
|
10963
|
+
padding-top: 20px;
|
|
10964
|
+
}
|
|
10962
10965
|
/* .tg-pinch-helper {
|
|
10963
10966
|
touch-action: none;
|
|
10964
10967
|
-moz-user-select: none;
|