@teselagen/ove 0.5.29 → 0.5.31

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 CHANGED
@@ -35860,7 +35860,7 @@ function getTagProps(vals) {
35860
35860
  }
35861
35861
  __name(getTagProps, "getTagProps");
35862
35862
  const popoverOverflowModifiers = {
35863
- preventOverflow: { enabled: false },
35863
+ preventOverflow: { boundariesElement: "viewport" },
35864
35864
  hide: {
35865
35865
  enabled: false
35866
35866
  },
@@ -122410,8 +122410,8 @@ function showFileDialog({ multiple = false, onSelect }) {
122410
122410
  }
122411
122411
  __name(showFileDialog, "showFileDialog");
122412
122412
  const name = "@teselagen/ove";
122413
- const version = "0.5.28";
122414
- const main = "./index.js";
122413
+ const version = "0.5.30";
122414
+ const main = "./src/index.js";
122415
122415
  const type = "module";
122416
122416
  const exports$1 = {
122417
122417
  ".": {
@@ -146829,6 +146829,8 @@ const _Editor = class _Editor extends React$2.Component {
146829
146829
  {
146830
146830
  icon: "small-cross",
146831
146831
  onClick: () => {
146832
+ if (this.props.onPanelTabClose && !this.props.onPanelTabClose(id2))
146833
+ return;
146832
146834
  closePanel2(id2);
146833
146835
  },
146834
146836
  style: { paddingLeft: 5 },
package/index.es.js CHANGED
@@ -35842,7 +35842,7 @@ function getTagProps(vals) {
35842
35842
  }
35843
35843
  __name(getTagProps, "getTagProps");
35844
35844
  const popoverOverflowModifiers = {
35845
- preventOverflow: { enabled: false },
35845
+ preventOverflow: { boundariesElement: "viewport" },
35846
35846
  hide: {
35847
35847
  enabled: false
35848
35848
  },
@@ -122392,8 +122392,8 @@ function showFileDialog({ multiple = false, onSelect }) {
122392
122392
  }
122393
122393
  __name(showFileDialog, "showFileDialog");
122394
122394
  const name = "@teselagen/ove";
122395
- const version = "0.5.28";
122396
- const main = "./index.js";
122395
+ const version = "0.5.30";
122396
+ const main = "./src/index.js";
122397
122397
  const type = "module";
122398
122398
  const exports$1 = {
122399
122399
  ".": {
@@ -146811,6 +146811,8 @@ const _Editor = class _Editor extends React__default$1.Component {
146811
146811
  {
146812
146812
  icon: "small-cross",
146813
146813
  onClick: () => {
146814
+ if (this.props.onPanelTabClose && !this.props.onPanelTabClose(id2))
146815
+ return;
146814
146816
  closePanel2(id2);
146815
146817
  },
146816
146818
  style: { paddingLeft: 5 },
package/index.umd.js CHANGED
@@ -62525,7 +62525,7 @@ ${latestSubscriptionCallbackError.current.stack}
62525
62525
  }
62526
62526
  __name(getTagProps, "getTagProps");
62527
62527
  const popoverOverflowModifiers = {
62528
- preventOverflow: { enabled: false },
62528
+ preventOverflow: { boundariesElement: "viewport" },
62529
62529
  hide: {
62530
62530
  enabled: false
62531
62531
  },
@@ -150832,8 +150832,8 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
150832
150832
  }
150833
150833
  __name(showFileDialog, "showFileDialog");
150834
150834
  const name = "@teselagen/ove";
150835
- const version = "0.5.28";
150836
- const main = "./index.js";
150835
+ const version = "0.5.30";
150836
+ const main = "./src/index.js";
150837
150837
  const type = "module";
150838
150838
  const exports$1 = {
150839
150839
  ".": {
@@ -173134,6 +173134,8 @@ ${seqDataToCopy}\r
173134
173134
  {
173135
173135
  icon: "small-cross",
173136
173136
  onClick: () => {
173137
+ if (this.props.onPanelTabClose && !this.props.onPanelTabClose(id2))
173138
+ return;
173137
173139
  closePanel2(id2);
173138
173140
  },
173139
173141
  style: { paddingLeft: 5 },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.5.29",
4
- "main": "./index.js",
3
+ "version": "0.5.31",
4
+ "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
7
7
  "import": "./index.es.js",
@@ -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.5.20",
15
+ "@teselagen/ui": "0.5.22",
16
16
  "@teselagen/file-utils": "0.3.16",
17
17
  "@teselagen/bounce-loader": "0.3.11",
18
18
  "@teselagen/bio-parsers": "0.4.22",
@@ -757,6 +757,11 @@ export class Editor extends React.Component {
757
757
  <Icon
758
758
  icon="small-cross"
759
759
  onClick={() => {
760
+ if (
761
+ this.props.onPanelTabClose &&
762
+ !this.props.onPanelTabClose(id)
763
+ )
764
+ return;
760
765
  closePanel(id);
761
766
  }}
762
767
  style={{ paddingLeft: 5 }}