@teselagen/ove 0.7.31 → 0.7.32
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/constants.d.ts +1 -0
- package/index.cjs.js +4 -4
- package/index.es.js +4 -4
- package/index.umd.js +4 -4
- package/package.json +1 -1
- package/src/AlignmentView/index.js +2 -1
- package/src/Editor/index.js +1 -1
- package/src/ToolBar/index.js +2 -1
- package/src/constants.js +1 -0
package/constants.d.ts
CHANGED
package/index.cjs.js
CHANGED
|
@@ -124877,7 +124877,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
124877
124877
|
input.click();
|
|
124878
124878
|
}
|
|
124879
124879
|
__name(showFileDialog, "showFileDialog");
|
|
124880
|
-
const version = "0.7.
|
|
124880
|
+
const version = "0.7.31";
|
|
124881
124881
|
const packageJson = {
|
|
124882
124882
|
version
|
|
124883
124883
|
};
|
|
@@ -145937,6 +145937,7 @@ function coerceInitialValue({ initialValue, minCharWidth }) {
|
|
|
145937
145937
|
return zoomLvl;
|
|
145938
145938
|
}
|
|
145939
145939
|
__name(coerceInitialValue, "coerceInitialValue");
|
|
145940
|
+
const tabHeight = 34;
|
|
145940
145941
|
let charWidthInLinearViewDefault = 12;
|
|
145941
145942
|
try {
|
|
145942
145943
|
const newVal2 = JSON.parse(
|
|
@@ -145983,7 +145984,7 @@ const AlignmentView = /* @__PURE__ */ __name((props) => {
|
|
|
145983
145984
|
} = props;
|
|
145984
145985
|
let height = _height;
|
|
145985
145986
|
if (dimensions && dimensions.height) {
|
|
145986
|
-
height = dimensions.height;
|
|
145987
|
+
height = dimensions.height - tabHeight;
|
|
145987
145988
|
}
|
|
145988
145989
|
const _a2 = props, {
|
|
145989
145990
|
alignmentId,
|
|
@@ -150535,7 +150536,7 @@ function ToolBar(props) {
|
|
|
150535
150536
|
},
|
|
150536
150537
|
items
|
|
150537
150538
|
) : items
|
|
150538
|
-
), /* @__PURE__ */ React.createElement("div", { style: { height:
|
|
150539
|
+
), /* @__PURE__ */ React.createElement("div", { style: { height: tabHeight, display: "flex" } }, additionalTopRightToolbarButtons, closeFullscreen && /* @__PURE__ */ React.createElement(CloseFullscreenButton, { onClick: handleFullscreenClose })));
|
|
150539
150540
|
}
|
|
150540
150541
|
__name(ToolBar, "ToolBar");
|
|
150541
150542
|
const CloseFullscreenButton = /* @__PURE__ */ __name((props) => {
|
|
@@ -152732,7 +152733,6 @@ const reorder = /* @__PURE__ */ __name((list2, startIndex, endIndex) => {
|
|
|
152732
152733
|
result.splice(endIndex, 0, removed);
|
|
152733
152734
|
return result;
|
|
152734
152735
|
}, "reorder");
|
|
152735
|
-
const tabHeight = 34;
|
|
152736
152736
|
const getSplitScreenListStyle = /* @__PURE__ */ __name((isDraggingOver, isDragging2) => {
|
|
152737
152737
|
return __spreadProps(__spreadValues(__spreadValues({
|
|
152738
152738
|
position: "absolute",
|
package/index.es.js
CHANGED
|
@@ -124859,7 +124859,7 @@ function showFileDialog({ multiple = false, onSelect }) {
|
|
|
124859
124859
|
input.click();
|
|
124860
124860
|
}
|
|
124861
124861
|
__name(showFileDialog, "showFileDialog");
|
|
124862
|
-
const version = "0.7.
|
|
124862
|
+
const version = "0.7.31";
|
|
124863
124863
|
const packageJson = {
|
|
124864
124864
|
version
|
|
124865
124865
|
};
|
|
@@ -145919,6 +145919,7 @@ function coerceInitialValue({ initialValue, minCharWidth }) {
|
|
|
145919
145919
|
return zoomLvl;
|
|
145920
145920
|
}
|
|
145921
145921
|
__name(coerceInitialValue, "coerceInitialValue");
|
|
145922
|
+
const tabHeight = 34;
|
|
145922
145923
|
let charWidthInLinearViewDefault = 12;
|
|
145923
145924
|
try {
|
|
145924
145925
|
const newVal2 = JSON.parse(
|
|
@@ -145965,7 +145966,7 @@ const AlignmentView = /* @__PURE__ */ __name((props) => {
|
|
|
145965
145966
|
} = props;
|
|
145966
145967
|
let height = _height;
|
|
145967
145968
|
if (dimensions && dimensions.height) {
|
|
145968
|
-
height = dimensions.height;
|
|
145969
|
+
height = dimensions.height - tabHeight;
|
|
145969
145970
|
}
|
|
145970
145971
|
const _a2 = props, {
|
|
145971
145972
|
alignmentId,
|
|
@@ -150517,7 +150518,7 @@ function ToolBar(props) {
|
|
|
150517
150518
|
},
|
|
150518
150519
|
items
|
|
150519
150520
|
) : items
|
|
150520
|
-
), /* @__PURE__ */ React__default.createElement("div", { style: { height:
|
|
150521
|
+
), /* @__PURE__ */ React__default.createElement("div", { style: { height: tabHeight, display: "flex" } }, additionalTopRightToolbarButtons, closeFullscreen && /* @__PURE__ */ React__default.createElement(CloseFullscreenButton, { onClick: handleFullscreenClose })));
|
|
150521
150522
|
}
|
|
150522
150523
|
__name(ToolBar, "ToolBar");
|
|
150523
150524
|
const CloseFullscreenButton = /* @__PURE__ */ __name((props) => {
|
|
@@ -152714,7 +152715,6 @@ const reorder = /* @__PURE__ */ __name((list2, startIndex, endIndex) => {
|
|
|
152714
152715
|
result.splice(endIndex, 0, removed);
|
|
152715
152716
|
return result;
|
|
152716
152717
|
}, "reorder");
|
|
152717
|
-
const tabHeight = 34;
|
|
152718
152718
|
const getSplitScreenListStyle = /* @__PURE__ */ __name((isDraggingOver, isDragging2) => {
|
|
152719
152719
|
return __spreadProps(__spreadValues(__spreadValues({
|
|
152720
152720
|
position: "absolute",
|
package/index.umd.js
CHANGED
|
@@ -152975,7 +152975,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
152975
152975
|
input.click();
|
|
152976
152976
|
}
|
|
152977
152977
|
__name(showFileDialog, "showFileDialog");
|
|
152978
|
-
const version = "0.7.
|
|
152978
|
+
const version = "0.7.31";
|
|
152979
152979
|
const packageJson = {
|
|
152980
152980
|
version
|
|
152981
152981
|
};
|
|
@@ -172433,6 +172433,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
172433
172433
|
return zoomLvl;
|
|
172434
172434
|
}
|
|
172435
172435
|
__name(coerceInitialValue, "coerceInitialValue");
|
|
172436
|
+
const tabHeight = 34;
|
|
172436
172437
|
let charWidthInLinearViewDefault = 12;
|
|
172437
172438
|
try {
|
|
172438
172439
|
const newVal2 = JSON.parse(
|
|
@@ -172479,7 +172480,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
|
|
|
172479
172480
|
} = props;
|
|
172480
172481
|
let height = _height;
|
|
172481
172482
|
if (dimensions && dimensions.height) {
|
|
172482
|
-
height = dimensions.height;
|
|
172483
|
+
height = dimensions.height - tabHeight;
|
|
172483
172484
|
}
|
|
172484
172485
|
const _a2 = props, {
|
|
172485
172486
|
alignmentId,
|
|
@@ -177031,7 +177032,7 @@ ${seqDataToCopy}\r
|
|
|
177031
177032
|
},
|
|
177032
177033
|
items
|
|
177033
177034
|
) : items
|
|
177034
|
-
), /* @__PURE__ */ React.createElement("div", { style: { height:
|
|
177035
|
+
), /* @__PURE__ */ React.createElement("div", { style: { height: tabHeight, display: "flex" } }, additionalTopRightToolbarButtons, closeFullscreen && /* @__PURE__ */ React.createElement(CloseFullscreenButton, { onClick: handleFullscreenClose })));
|
|
177035
177036
|
}
|
|
177036
177037
|
__name(ToolBar, "ToolBar");
|
|
177037
177038
|
const CloseFullscreenButton = /* @__PURE__ */ __name((props) => {
|
|
@@ -179228,7 +179229,6 @@ ${seqDataToCopy}\r
|
|
|
179228
179229
|
result.splice(endIndex, 0, removed);
|
|
179229
179230
|
return result;
|
|
179230
179231
|
}, "reorder");
|
|
179231
|
-
const tabHeight = 34;
|
|
179232
179232
|
const getSplitScreenListStyle = /* @__PURE__ */ __name((isDraggingOver, isDragging2) => {
|
|
179233
179233
|
return __spreadProps(__spreadValues(__spreadValues({
|
|
179234
179234
|
position: "absolute",
|
package/package.json
CHANGED
|
@@ -71,6 +71,7 @@ import { updateTrackHelper } from "./updateTrackHelper";
|
|
|
71
71
|
import { isTargetWithinEl } from "./isTargetWithinEl";
|
|
72
72
|
import { EditTrackNameDialog } from "./EditTrackNameDialog";
|
|
73
73
|
import { coerceInitialValue } from "./coerceInitialValue";
|
|
74
|
+
import { tabHeight } from "../constants";
|
|
74
75
|
|
|
75
76
|
let charWidthInLinearViewDefault = 12;
|
|
76
77
|
try {
|
|
@@ -119,7 +120,7 @@ export const AlignmentView = props => {
|
|
|
119
120
|
} = props;
|
|
120
121
|
let height = _height;
|
|
121
122
|
if (dimensions && dimensions.height) {
|
|
122
|
-
height = dimensions.height;
|
|
123
|
+
height = dimensions.height - tabHeight; //subtract the height of the tab header
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
const {
|
package/src/Editor/index.js
CHANGED
|
@@ -54,6 +54,7 @@ import isMobile from "is-mobile";
|
|
|
54
54
|
import { getClientX, getClientY } from "../utils/editorUtils";
|
|
55
55
|
import PCRTool from "../PCRTool/PCRTool";
|
|
56
56
|
import classNames from "classnames";
|
|
57
|
+
import { tabHeight } from "../constants";
|
|
57
58
|
|
|
58
59
|
// if (process.env.NODE_ENV !== 'production') {
|
|
59
60
|
// const {whyDidYouUpdate} = require('why-did-you-update');
|
|
@@ -90,7 +91,6 @@ const reorder = (list, startIndex, endIndex) => {
|
|
|
90
91
|
|
|
91
92
|
return result;
|
|
92
93
|
};
|
|
93
|
-
const tabHeight = 34;
|
|
94
94
|
|
|
95
95
|
const getSplitScreenListStyle = (isDraggingOver, isDragging) => {
|
|
96
96
|
return {
|
package/src/ToolBar/index.js
CHANGED
|
@@ -23,6 +23,7 @@ import undoTool from "./undoTool";
|
|
|
23
23
|
import redoTool from "./redoTool";
|
|
24
24
|
import isMobile from "is-mobile";
|
|
25
25
|
import { useMemo } from "react";
|
|
26
|
+
import { tabHeight } from "../constants";
|
|
26
27
|
|
|
27
28
|
const allTools = {
|
|
28
29
|
downloadTool,
|
|
@@ -189,7 +190,7 @@ export function ToolBar(props) {
|
|
|
189
190
|
items
|
|
190
191
|
)}
|
|
191
192
|
</div>
|
|
192
|
-
<div style={{ height:
|
|
193
|
+
<div style={{ height: tabHeight, display: "flex" }}>
|
|
193
194
|
{additionalTopRightToolbarButtons}
|
|
194
195
|
{closeFullscreen && (
|
|
195
196
|
<CloseFullscreenButton onClick={handleFullscreenClose} />
|
package/src/constants.js
CHANGED