@vitrosoftware/common-ui-ts 1.1.100 → 1.1.101

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/dist/index.js CHANGED
@@ -60428,9 +60428,9 @@ var Dialog = function Dialog(props) {
60428
60428
  var showFooter = !props.isHideFooter && (((_props$buttonList = props.buttonList) === null || _props$buttonList === void 0 ? void 0 : _props$buttonList.length) || props.onClose);
60429
60429
  React.useEffect(function () {
60430
60430
  updateIsMobileView();
60431
- window.document.addEventListener(exports.EVENT.CLICK, escFunction, false);
60431
+ window.document.addEventListener(exports.EVENT.KEYDOWN, escFunction, false);
60432
60432
  return function () {
60433
- window.document.removeEventListener(exports.EVENT.CLICK, escFunction, false);
60433
+ window.document.removeEventListener(exports.EVENT.KEYDOWN, escFunction, false);
60434
60434
  };
60435
60435
  }, []);
60436
60436
  React.useEffect(function () {
@@ -60463,7 +60463,7 @@ var Dialog = function Dialog(props) {
60463
60463
  };
60464
60464
  return React__default.createElement("div", {
60465
60465
  className: className,
60466
- onClick: onOutsideClick
60466
+ onMouseDown: onOutsideClick
60467
60467
  }, React__default.createElement(DialogComponent, {
60468
60468
  width: props.width,
60469
60469
  height: props.height,
@@ -61847,7 +61847,7 @@ var Viewer = function Viewer(props) {
61847
61847
  };
61848
61848
 
61849
61849
  var name = "@vitrosoftware/common-ui-ts";
61850
- var version$1 = "1.1.100";
61850
+ var version$1 = "1.1.101";
61851
61851
  var description = "vitro software common ui ts";
61852
61852
  var author = "";
61853
61853
  var license = "MIT";