@teselagen/ove 0.5.9 → 0.5.11

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.umd.js CHANGED
@@ -99802,9 +99802,18 @@ ${latestSubscriptionCallbackError.current.stack}
99802
99802
  const handleLinkClick = /* @__PURE__ */ __name((e2) => {
99803
99803
  e2.target.closest(`.${POPOVER_DISMISS}`).click();
99804
99804
  }, "handleLinkClick");
99805
- return /* @__PURE__ */ React$2.createElement("li", { className: POPOVER_DISMISS, onClick }, /* @__PURE__ */ React$2.createElement(Link, { onClick: handleLinkClick, to: navTo, className: classNames$1(MENU_ITEM, {
99806
- [ACTIVE]: active2
99807
- }) }, icon && /* @__PURE__ */ React$2.createElement(Icon, { icon }), /* @__PURE__ */ React$2.createElement("div", { className: "bp3-text-overflow-ellipsis bp3-fill" }, text2)));
99805
+ return /* @__PURE__ */ React$2.createElement("li", { className: POPOVER_DISMISS, onClick }, /* @__PURE__ */ React$2.createElement(
99806
+ Link,
99807
+ {
99808
+ onClick: handleLinkClick,
99809
+ to: navTo,
99810
+ className: classNames$1(MENU_ITEM, {
99811
+ [ACTIVE]: active2
99812
+ })
99813
+ },
99814
+ icon && /* @__PURE__ */ React$2.createElement(Icon, { icon }),
99815
+ /* @__PURE__ */ React$2.createElement("div", { className: "bp3-text-overflow-ellipsis bp3-fill" }, text2)
99816
+ ));
99808
99817
  }
99809
99818
  __name(MenuItemLink, "MenuItemLink");
99810
99819
  const EnhancedMenuItem = compose(
@@ -149276,7 +149285,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
149276
149285
  }
149277
149286
  __name(showFileDialog, "showFileDialog");
149278
149287
  const name = "@teselagen/ove";
149279
- const version = "0.5.8";
149288
+ const version = "0.5.10";
149280
149289
  const main = "./src/index.js";
149281
149290
  const type = "module";
149282
149291
  const exports$1 = {
@@ -168608,9 +168617,10 @@ ${seqDataToCopy}\r
168608
168617
  }
168609
168618
  __name(ToolBar, "ToolBar");
168610
168619
  const CloseFullscreenButton = /* @__PURE__ */ __name((props) => {
168611
- return /* @__PURE__ */ React$2.createElement(Tooltip, { content: "Close Fullscreen Mode" }, /* @__PURE__ */ React$2.createElement(
168620
+ return /* @__PURE__ */ React$2.createElement(
168612
168621
  Button,
168613
168622
  {
168623
+ "data-tip": "Close Fullscreen Mode",
168614
168624
  minimal: true,
168615
168625
  style: {
168616
168626
  marginTop: 2,
@@ -168620,7 +168630,7 @@ ${seqDataToCopy}\r
168620
168630
  className: "ve-close-fullscreen-button",
168621
168631
  icon: "minimize"
168622
168632
  }
168623
- ));
168633
+ );
168624
168634
  }, "CloseFullscreenButton");
168625
168635
  const defaultToolList = [
168626
168636
  "saveTool",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.5.9",
3
+ "version": "0.5.11",
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.24",
14
14
  "@teselagen/range-utils": "0.3.7",
15
- "@teselagen/ui": "0.4.6",
15
+ "@teselagen/ui": "0.4.7",
16
16
  "@teselagen/file-utils": "0.3.16",
17
17
  "@teselagen/bounce-loader": "0.3.11",
18
18
  "@teselagen/bio-parsers": "0.4.18",
@@ -198,8 +198,8 @@ export function ToolBar(props) {
198
198
  }
199
199
  const CloseFullscreenButton = props => {
200
200
  return (
201
- <Tooltip content="Close Fullscreen Mode">
202
201
  <Button
202
+ data-tip="Close Fullscreen Mode"
203
203
  minimal
204
204
  style={{
205
205
  marginTop: 2,
@@ -209,7 +209,6 @@ const CloseFullscreenButton = props => {
209
209
  className="ve-close-fullscreen-button"
210
210
  icon="minimize"
211
211
  />
212
- </Tooltip>
213
212
  );
214
213
  };
215
214
 
package/style.css CHANGED
@@ -9064,7 +9064,12 @@ button:not(:disabled):active {
9064
9064
  .bp3-dialog-header .bp3-heading {
9065
9065
  width: 10px; /* tnw: this is a hack to prevent the dialog title from causing the dialog width to expand larger than the dialog content*/
9066
9066
  }
9067
- .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,
9067
+
9068
+ /* to fix tooltip styling issue - https://github.com/palantir/blueprint/issues/3430 */
9069
+ .bp3-popover[style*="transform-origin"][style*="bottom"] .bp3-popover-arrow { transform: translate(0, -.5px); }
9070
+ .bp3-popover[style*="transform-origin"][style*="left"] .bp3-popover-arrow { transform: translate(.5px, 0); }
9071
+ .bp3-popover[style*="transform-origin"][style*="top"] .bp3-popover-arrow { transform: translate(0, .5px); }
9072
+ .bp3-popover[style*="transform-origin"][style*="right"] .bp3-popover-arrow { transform: translate(-.5px, 0); }.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,
9068
9073
  .rg-celleditor input {
9069
9074
  border: none;
9070
9075
  }