diff --git a/js/package.json b/js/package.json index 5f549320..15c57b5d 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "nglview-js-widgets", - "version": "2.5.1", + "version": "2.5.2", "description": "nglview-js-widgets", "author": "Hai Nguyen , Alexander Rose ", "license": "MIT", @@ -47,7 +47,7 @@ "jquery-ui": "^1.12.1", "underscore": "^1.8.3", "ngl": "2.0.0-dev.36", - "@jupyter-widgets/base": "^1.0.0" + "@jupyter-widgets/base": "^1.1 || ^2" }, "jupyterlab": { "extension": "src/jupyterlab-plugin" diff --git a/nglview/static/index.js b/nglview/static/index.js index ab91f541..63c01e7e 100644 --- a/nglview/static/index.js +++ b/nglview/static/index.js @@ -18739,11 +18739,11 @@ define(["@jupyter-widgets/base"], function(__WEBPACK_EXTERNAL_MODULE_2__) { retu __webpack_require__(36), __webpack_require__(38), __webpack_require__(27), - __webpack_require__(41), - __webpack_require__(35), - __webpack_require__(33), __webpack_require__(39), + __webpack_require__(33), + __webpack_require__(34), __webpack_require__(40), + __webpack_require__(41), __webpack_require__(21), __webpack_require__(20) ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); @@ -21685,9 +21685,9 @@ define(["@jupyter-widgets/base"], function(__WEBPACK_EXTERNAL_MODULE_2__) { retu __webpack_require__(29), __webpack_require__(31), __webpack_require__(32), - __webpack_require__(35), __webpack_require__(33), __webpack_require__(34), + __webpack_require__(35), __webpack_require__(21), __webpack_require__(20) ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); @@ -23262,6 +23262,52 @@ define(["@jupyter-widgets/base"], function(__WEBPACK_EXTERNAL_MODULE_2__) { retu /***/ }), /* 33 */ +/***/ (function(module, exports, __webpack_require__) { + + var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;( function( factory ) { + if ( true ) { + + // AMD. Register as an anonymous module. + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(7), __webpack_require__(21) ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } else { + + // Browser globals + factory( jQuery ); + } + } ( function( $ ) { + return $.ui.safeActiveElement = function( document ) { + var activeElement; + + // Support: IE 9 only + // IE9 throws an "Unspecified error" accessing document.activeElement from an