@vitrosoftware/common-ui-ts 1.1.94 → 1.1.96

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.
@@ -1,9 +1,3 @@
1
- @import url('@vitrosoftware/common-ui-ts/css/third-party/jquery-ui/jquery-ui.min.css');
2
- @import url('@vitrosoftware/common-ui-ts/css/third-party/jquery-ui/jquery-ui.structure.css');
3
- @import url('@vitrosoftware/common-ui-ts/css/third-party/jquery-ui/jquery-ui.theme.min.css');
4
- @import url('@vitrosoftware/common-ui-ts/css/third-party/jquery-growl/jquery.growl.css');
5
- @import url('@vitrosoftware/common-ui-ts/css/third-party/uikit/uikit.css');
6
-
7
1
  .vitro-bim-viewer-issue-detail {
8
2
  position: absolute;
9
3
  bottom: 0px;
package/dist/index.js CHANGED
@@ -61708,7 +61708,7 @@ var Viewer = function Viewer(props) {
61708
61708
  };
61709
61709
 
61710
61710
  var name = "@vitrosoftware/common-ui-ts";
61711
- var version$1 = "1.1.94";
61711
+ var version$1 = "1.1.96";
61712
61712
  var description = "vitro software common ui ts";
61713
61713
  var author = "";
61714
61714
  var license = "MIT";
@@ -63430,12 +63430,18 @@ var LinkItem$1 = function LinkItem(props) {
63430
63430
  } else if (props.link) {
63431
63431
  var event = new CustomEvent(exports.EVENT.HISTORY_UPDATE, {
63432
63432
  detail: {
63433
- pathname: props.link
63433
+ pathname: props.link,
63434
+ newWindow: e && e.button === 1
63434
63435
  }
63435
63436
  });
63436
63437
  window.dispatchEvent(event);
63437
63438
  }
63438
63439
  };
63440
+ var onMouseDown = function onMouseDown(e) {
63441
+ if (e.button === 1) {
63442
+ onClick(e);
63443
+ }
63444
+ };
63439
63445
  return React__default.createElement("li", {
63440
63446
  style: {
63441
63447
  width: props.linkItemWidth ? props.linkItemWidth + UNIT.PX : WIDTH_AUTO
@@ -63455,6 +63461,7 @@ var LinkItem$1 = function LinkItem(props) {
63455
63461
  return setIsHover(false);
63456
63462
  },
63457
63463
  onClick: onClick,
63464
+ onMouseDown: onMouseDown,
63458
63465
  className: className
63459
63466
  }, React__default.createElement(Item$2, Object.assign({}, props, {
63460
63467
  isHover: isHover || isActive