@hpcc-js/codemirror 2.66.0 → 2.66.1

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.es6.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Palette, HTMLWidget } from '@hpcc-js/common';
2
2
 
3
3
  var PKG_NAME = "@hpcc-js/codemirror";
4
- var PKG_VERSION = "2.66.0";
5
- var BUILD_VERSION = "2.108.5";
4
+ var PKG_VERSION = "2.66.1";
5
+ var BUILD_VERSION = "2.108.6";
6
6
 
7
7
  /******************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -4492,7 +4492,7 @@ function requireCodemirror () {
4492
4492
  // The element in which the editor lives.
4493
4493
  d.wrapper = elt("div", [d.scrollbarFiller, d.gutterFiller, d.scroller], "CodeMirror");
4494
4494
  // See #6982. FIXME remove when this has been fixed for a while in Chrome
4495
- if (chrome && chrome_version >= 105) { d.wrapper.style.clipPath = "inset(0px)"; }
4495
+ if (chrome && chrome_version === 105) { d.wrapper.style.clipPath = "inset(0px)"; }
4496
4496
 
4497
4497
  // This attribute is respected by automatic translation systems such as Google Translate,
4498
4498
  // and may also be respected by tools used by human translators.
@@ -9943,7 +9943,7 @@ function requireCodemirror () {
9943
9943
 
9944
9944
  addLegacyProps(CodeMirror);
9945
9945
 
9946
- CodeMirror.version = "5.65.19";
9946
+ CodeMirror.version = "5.65.20";
9947
9947
 
9948
9948
  return CodeMirror;
9949
9949
 
@@ -17397,7 +17397,7 @@ function requireShowHint () {
17397
17397
  var height = box.bottom - box.top, spaceAbove = box.top - (pos.bottom - pos.top) - 2;
17398
17398
  if (winH - box.top < spaceAbove) { // More room at the top
17399
17399
  if (height > spaceAbove) hints.style.height = (height = spaceAbove) + "px";
17400
- hints.style.top = ((top = pos.top - height) + offsetTop) + "px";
17400
+ hints.style.top = ((top = pos.top - height) - offsetTop) + "px";
17401
17401
  below = false;
17402
17402
  } else {
17403
17403
  hints.style.height = (winH - box.top - 2) + "px";