@teselagen/ove 0.8.2 → 0.8.3

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/ove.css CHANGED
@@ -9721,7 +9721,11 @@ body:not(.drag-active)
9721
9721
  user-select: none;
9722
9722
  background: #f7f7f7;
9723
9723
  }
9724
-
9724
+ /* disable the table header interactions while the table is loading */
9725
+ .ReactTable.loading .rt-thead {
9726
+ opacity: 0.7;
9727
+ pointer-events: none;
9728
+ }
9725
9729
  .ReactTable .rt-thead {
9726
9730
  box-shadow: none;
9727
9731
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
@@ -9889,10 +9893,6 @@ body:not(.drag-active)
9889
9893
  padding-left: 2px;
9890
9894
  }
9891
9895
 
9892
- .ReactTable .-loading.disabled {
9893
- cursor: not-allowed;
9894
- }
9895
-
9896
9896
  /* to get the height to resize based on its container: */
9897
9897
  .ReactTable {
9898
9898
  height: 100%;
@@ -10008,14 +10008,6 @@ body:not(.drag-active)
10008
10008
  color: inherit !important;
10009
10009
  }
10010
10010
 
10011
- .bp3-dark .ReactTable .-loading {
10012
- background: #30404d !important;
10013
- }
10014
-
10015
- .bp3-dark .ReactTable .-loading > div {
10016
- color: #f5f8fa !important;
10017
- }
10018
-
10019
10011
  .bp3-dark .ReactTable .rt-tr-group.selected {
10020
10012
  background: #26738cb0 !important;
10021
10013
  }
@@ -11793,6 +11785,9 @@ path.partWithSelectedTag {
11793
11785
  .bp3-dark .alignmentViewTrackContainer text {
11794
11786
  fill: #f5f8fa !important;
11795
11787
  }
11788
+ .bp3-dark [data-tick-mark] {
11789
+ fill: #f5f8fa !important;
11790
+ }
11796
11791
  /* .bp3-dark .veRowViewAxis text {
11797
11792
  stroke: #f5f8fa !important;
11798
11793
  } */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "main": "./src/index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -19,7 +19,7 @@
19
19
  "@teselagen/range-utils": "0.3.13",
20
20
  "@teselagen/react-list": "0.8.18",
21
21
  "@teselagen/sequence-utils": "0.3.32",
22
- "@teselagen/ui": "0.10.3",
22
+ "@teselagen/ui": "0.10.5",
23
23
  "@use-gesture/react": "10.3.0",
24
24
  "biomsa": "^0.2.4",
25
25
  "classnames": "^2.3.2",
@@ -61,6 +61,9 @@
61
61
  .bp3-dark .alignmentViewTrackContainer text {
62
62
  fill: #f5f8fa !important;
63
63
  }
64
+ .bp3-dark [data-tick-mark] {
65
+ fill: #f5f8fa !important;
66
+ }
64
67
 
65
68
  /* .bp3-dark .veRowViewAxis text {
66
69
  stroke: #f5f8fa !important;
@@ -221,6 +221,10 @@ export default function createSequenceInputPopup(props) {
221
221
  // function closeInput() {
222
222
  // sequenceInputBubble.remove();
223
223
  // }
224
+ if (document.getElementById("sequenceInputBubble")) {
225
+ // remove the old one if it exists
226
+ document.getElementById("sequenceInputBubble").outerHTML = "";
227
+ }
224
228
  div = document.createElement("div");
225
229
  div.style.zIndex = "400000";
226
230
  div.id = "sequenceInputBubble";
@@ -238,8 +238,12 @@ function VectorInteractionHOC(Component /* options */) {
238
238
  sequence: clipboardData.getData("text/plain") || e.target.value
239
239
  };
240
240
  }
241
- if (sequenceData.isProtein && !seqDataToInsert.proteinSequence) {
242
- seqDataToInsert.proteinSequence = seqDataToInsert.sequence;
241
+ if (sequenceData.isProtein) {
242
+ seqDataToInsert.isProtein = true;
243
+
244
+ if (!seqDataToInsert.proteinSequence) {
245
+ seqDataToInsert.proteinSequence = seqDataToInsert.sequence;
246
+ }
243
247
  }
244
248
 
245
249
  if (