@teselagen/ove 0.7.3-beta.1 → 0.7.3-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.7.3-beta.1",
3
+ "version": "0.7.3-beta.2",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@teselagen/sequence-utils": "0.3.27",
14
14
  "@teselagen/range-utils": "0.3.7",
15
- "@teselagen/ui": "0.7.3-beta.1",
15
+ "@teselagen/ui": "0.7.3-beta.2",
16
16
  "@teselagen/file-utils": "0.3.16",
17
17
  "@teselagen/bounce-loader": "0.3.11",
18
18
  "@teselagen/bio-parsers": "0.4.22",
@@ -72,7 +72,6 @@
72
72
  "react-dom": "^18.3.1",
73
73
  "react-draggable": "4.4.5",
74
74
  "react-dropzone": "^11.4.2",
75
- "react-markdown": "9.0.1",
76
75
  "react-measure": "^2.5.2",
77
76
  "react-redux": "^8.0.5",
78
77
  "react-rnd": "^10.2.4",
@@ -84,7 +83,6 @@
84
83
  "redux-act": "^1.8.0",
85
84
  "redux-form": "^8.3.10",
86
85
  "redux-thunk": "2.4.1",
87
- "remark-gfm": "^4.0.0",
88
86
  "reselect": "^4.1.7",
89
87
  "shortid": "^2.2.16",
90
88
  "tg-use-local-storage-state": "^16.0.3",
@@ -257,6 +257,7 @@ FRT GAAGTTCCTATTCTCTAGAAAGTATAGGAACTTC misc_recomb orchid pink 0 0`,
257
257
  <div>
258
258
  <DataTable
259
259
  isInfinite
260
+ formName={"customAnnsTable"}
260
261
  schema={
261
262
  annotationType === "feature"
262
263
  ? customAnnsSchema
@@ -416,23 +416,9 @@ function LabelLine(pointArray, options) {
416
416
  });
417
417
  return (
418
418
  <React.Fragment key="labelLine">
419
- {/* <polyline
420
- {...{
421
- key: "polyline-short",
422
- points,
423
- stroke: "black",
424
- fill: "none",
425
- strokeWidth: 1,
426
- // style: {
427
- // opacity: 0.2
428
- // },
429
- className: "veLabelLine",
430
- ...options
431
- }}
432
- /> */}
433
419
  <polyline
420
+ key="polyline-long"
434
421
  {...{
435
- key: "polyline-long",
436
422
  points,
437
423
  stroke: "black",
438
424
  fill: "none",
@@ -597,12 +597,11 @@ export function CircularView(props) {
597
597
  ) {
598
598
  return (
599
599
  <SelectionLayer
600
- key={index}
600
+ key={"veCircularViewSelectionLayer" + index}
601
601
  {...{
602
602
  index,
603
603
  isDraggable: true,
604
604
  isProtein,
605
- key: "veCircularViewSelectionLayer" + index,
606
605
  selectionLayer,
607
606
  onRightClicked: selectionLayer.isSearchLayer
608
607
  ? searchLayerRightClicked
@@ -635,13 +634,13 @@ export function CircularView(props) {
635
634
  //only render if there is no selection layer
636
635
  return (
637
636
  <Caret
637
+ key="veCircularViewCaret"
638
638
  {...{
639
639
  caretPosition,
640
640
  sequenceLength,
641
641
  isProtein,
642
642
  innerRadius,
643
- outerRadius: radius,
644
- key: "veCircularViewCaret"
643
+ outerRadius: radius
645
644
  }}
646
645
  />
647
646
  );
@@ -34,19 +34,19 @@
34
34
  }
35
35
 
36
36
  .reflex-layout > .reflex-splitter {
37
- background-color: #f5f8fa;
37
+ background-color: #f1f1f1;
38
38
  z-index: 100;
39
39
  }
40
40
 
41
41
  .reflex-layout > .reflex-splitter.active,
42
42
  .reflex-layout > .reflex-splitter:hover {
43
- background-color: #f5f8fa;
43
+ background-color: #cccccc;
44
44
  transition: all 1s ease;
45
45
  }
46
46
 
47
47
  .reflex-layout.horizontal > .reflex-splitter {
48
- border-bottom: 1px solid #f5f8fa;
49
- border-top: 1px solid #f5f8fa;
48
+ border-bottom: 1px solid #f1f1f1;
49
+ border-top: 1px solid #f1f1f1;
50
50
  cursor: row-resize;
51
51
  width: 100%;
52
52
  height: 2px;
@@ -54,13 +54,13 @@
54
54
 
55
55
  .reflex-layout.horizontal > .reflex-splitter:hover,
56
56
  .reflex-layout.horizontal > .reflex-splitter.active {
57
- border-bottom: 1px solid #f5f8fa;
58
- border-top: 1px solid #f5f8fa;
57
+ border-bottom: 1px solid #cccccc;
58
+ border-top: 1px solid #cccccc;
59
59
  }
60
60
 
61
61
  .reflex-layout.vertical > .reflex-splitter {
62
- border-right: 1px solid #f5f8fa;
63
- border-left: 1px solid #f5f8fa;
62
+ border-right: 1px solid #f1f1f1;
63
+ border-left: 1px solid #f1f1f1;
64
64
  cursor: col-resize;
65
65
  height: 95%;
66
66
  width: 2px;
@@ -73,8 +73,8 @@
73
73
 
74
74
  .reflex-layout.vertical > .reflex-splitter:hover,
75
75
  .reflex-layout.vertical > .reflex-splitter.active {
76
- border-right: 1px solid #f5f8fa;
77
- border-left: 1px solid #f5f8fa;
76
+ border-right: 1px solid #cccccc;
77
+ border-left: 1px solid #cccccc;
78
78
  }
79
79
 
80
80
  .reflex-layout > .reflex-splitter.reflex-thin {
@@ -26,10 +26,10 @@ export const CutsiteSelectionLayers = connectToEditor(
26
26
  layer.start > -1 && (
27
27
  <SelectionLayer
28
28
  hideTitle
29
+ key={"restrictionSiteRange" + index}
29
30
  {...annotationCommonProps}
30
31
  {...{
31
32
  id: cutsite.id,
32
- key: "restrictionSiteRange" + index,
33
33
  height: showReverseSequence ? sequenceHeight * 2 : sequenceHeight,
34
34
  regions: [layer],
35
35
  row: alignmentData
@@ -105,6 +105,7 @@ function SelectionLayer(props) {
105
105
  caretSvgs = [
106
106
  overlap.start === start && (
107
107
  <Caret
108
+ key={key + "caret1"}
108
109
  {...{
109
110
  leftMargin,
110
111
  onClick: _onClick || preventDefaultStopPropagation,
@@ -115,7 +116,6 @@ function SelectionLayer(props) {
115
116
  getGaps,
116
117
  isDraggable,
117
118
  ignoreGaps,
118
- key: key + "caret1",
119
119
  sequenceLength,
120
120
  className:
121
121
  classNameToPass +
@@ -127,6 +127,7 @@ function SelectionLayer(props) {
127
127
  ),
128
128
  overlap.end === end && (
129
129
  <Caret
130
+ key={key + "caret2"}
130
131
  {...{
131
132
  leftMargin,
132
133
  onClick: _onClick || preventDefaultStopPropagation,
@@ -137,7 +138,6 @@ function SelectionLayer(props) {
137
138
  getGaps,
138
139
  style: selectionLayer.style,
139
140
  ignoreGaps,
140
- key: key + "caret2",
141
141
  sequenceLength,
142
142
  className:
143
143
  classNameToPass +
@@ -175,7 +175,6 @@ class Sequence extends React.Component {
175
175
  width,
176
176
  position: "absolute"
177
177
  }}
178
- ref="rowViewTextContainer"
179
178
  className="rowViewTextContainer"
180
179
  height={Math.max(0, Number(height))}
181
180
  >
@@ -69,6 +69,7 @@ class Translation extends React.Component {
69
69
  nextAaSliver = aminoAcidsForSubrange[index + 2];
70
70
  return (
71
71
  <rect
72
+ key={annotation.id + aminoAcidSliver.sequenceIndex}
72
73
  x={index * charWidth}
73
74
  y={height / 2 - height / 16}
74
75
  width={charWidth}
@@ -561,7 +561,6 @@ export default function RowItem(props) {
561
561
  height: sequenceHeight,
562
562
  position: "absolute"
563
563
  }}
564
- ref="rowViewTextContainer"
565
564
  onClick={function (event) {
566
565
  replacementLayerClicked({
567
566
  annotation: replacementLayer,
package/style.css CHANGED
@@ -9081,11 +9081,7 @@ button:not(:disabled):active {
9081
9081
  .bp3-popover[style*="transform-origin"][style*="right"] .bp3-popover-arrow {
9082
9082
  transform: translate(-0.5px, 0);
9083
9083
  }
9084
- .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.rg-celleditor-input,
9085
- .rg-celleditor input {
9086
- border: none;
9087
- }
9088
- .tg-flex-form-content .bp3-form-content {
9084
+ .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tg-flex-form-content .bp3-form-content {
9089
9085
  display: flex;
9090
9086
  }
9091
9087
 
@@ -9336,6 +9332,34 @@ button:not(:disabled):active {
9336
9332
  .bp3-dark .tg-color-picker-selector input {
9337
9333
  color: #222222;
9338
9334
  }
9335
+
9336
+ .form-separator {
9337
+ p {
9338
+ display: flex;
9339
+ align-items: center;
9340
+ width: 100%;
9341
+ }
9342
+ p::before {
9343
+ content: "";
9344
+ display: block;
9345
+ width: 100%;
9346
+ height: 1px;
9347
+ background-color: #e1e4e8;
9348
+ margin-right: 16px;
9349
+ }
9350
+ p::after {
9351
+ content: "";
9352
+ display: block;
9353
+ width: 100%;
9354
+ height: 1px;
9355
+ background-color: #e1e4e8;
9356
+ margin-left: 16px;
9357
+ }
9358
+ }
9359
+ .rg-celleditor-input,
9360
+ .rg-celleditor input {
9361
+ border: none;
9362
+ }
9339
9363
  .tg-select {
9340
9364
  width: 100%;
9341
9365
  min-width: 170px;
@@ -10557,19 +10581,19 @@ li.bp3-menu-divider:last-child {
10557
10581
  }
10558
10582
 
10559
10583
  .reflex-layout > .reflex-splitter {
10560
- background-color: #f5f8fa;
10584
+ background-color: #f1f1f1;
10561
10585
  z-index: 100;
10562
10586
  }
10563
10587
 
10564
10588
  .reflex-layout > .reflex-splitter.active,
10565
10589
  .reflex-layout > .reflex-splitter:hover {
10566
- background-color: #f5f8fa;
10590
+ background-color: #cccccc;
10567
10591
  transition: all 1s ease;
10568
10592
  }
10569
10593
 
10570
10594
  .reflex-layout.horizontal > .reflex-splitter {
10571
- border-bottom: 1px solid #f5f8fa;
10572
- border-top: 1px solid #f5f8fa;
10595
+ border-bottom: 1px solid #f1f1f1;
10596
+ border-top: 1px solid #f1f1f1;
10573
10597
  cursor: row-resize;
10574
10598
  width: 100%;
10575
10599
  height: 2px;
@@ -10577,13 +10601,13 @@ li.bp3-menu-divider:last-child {
10577
10601
 
10578
10602
  .reflex-layout.horizontal > .reflex-splitter:hover,
10579
10603
  .reflex-layout.horizontal > .reflex-splitter.active {
10580
- border-bottom: 1px solid #f5f8fa;
10581
- border-top: 1px solid #f5f8fa;
10604
+ border-bottom: 1px solid #cccccc;
10605
+ border-top: 1px solid #cccccc;
10582
10606
  }
10583
10607
 
10584
10608
  .reflex-layout.vertical > .reflex-splitter {
10585
- border-right: 1px solid #f5f8fa;
10586
- border-left: 1px solid #f5f8fa;
10609
+ border-right: 1px solid #f1f1f1;
10610
+ border-left: 1px solid #f1f1f1;
10587
10611
  cursor: col-resize;
10588
10612
  height: 95%;
10589
10613
  width: 2px;
@@ -10596,8 +10620,8 @@ li.bp3-menu-divider:last-child {
10596
10620
 
10597
10621
  .reflex-layout.vertical > .reflex-splitter:hover,
10598
10622
  .reflex-layout.vertical > .reflex-splitter.active {
10599
- border-right: 1px solid #f5f8fa;
10600
- border-left: 1px solid #f5f8fa;
10623
+ border-right: 1px solid #cccccc;
10624
+ border-left: 1px solid #cccccc;
10601
10625
  }
10602
10626
 
10603
10627
  .reflex-layout > .reflex-splitter.reflex-thin {