@opensumi/ide-components 3.2.2-next-1722848438.0 → 3.2.2-next-1722913990.0
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 +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -830,7 +830,7 @@ eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n})
|
|
|
830
830
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
831
831
|
|
|
832
832
|
"use strict";
|
|
833
|
-
eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = getScrollbarWidth;\n\nvar _domCss = __webpack_require__(/*! dom-css */ \"../../node_modules/dom-css/index.js\");\n\nvar _domCss2 = _interopRequireDefault(_domCss);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nvar scrollbarWidth = false;\n\nfunction getScrollbarWidth() {\n var cacheEnabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n if (cacheEnabled && scrollbarWidth !== false) return scrollbarWidth;\n /* istanbul ignore else */\n if (typeof document !== 'undefined') {\n var div = document.createElement('div');\n (0, _domCss2[\"default\"])(div, {\n width: 100,\n height: 100,\n position: 'absolute',\n top: -9999,\n overflow: 'scroll',\n MsOverflowStyle: 'scrollbar'\n });\n document.body.appendChild(div);\n scrollbarWidth = div.offsetWidth - div.clientWidth
|
|
833
|
+
eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = getScrollbarWidth;\n\nvar _domCss = __webpack_require__(/*! dom-css */ \"../../node_modules/dom-css/index.js\");\n\nvar _domCss2 = _interopRequireDefault(_domCss);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nvar scrollbarWidth = false;\n\nfunction getScrollbarWidth() {\n var cacheEnabled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n if (cacheEnabled && scrollbarWidth !== false) return scrollbarWidth;\n /* istanbul ignore else */\n if (typeof document !== 'undefined') {\n var div = document.createElement('div');\n (0, _domCss2[\"default\"])(div, {\n width: 100,\n height: 100,\n position: 'absolute',\n top: -9999,\n overflow: 'scroll',\n MsOverflowStyle: 'scrollbar'\n });\n document.body.appendChild(div);\n if (div.offsetWidth !== 0 && div.clientWidth !== 0) {\n scrollbarWidth = div.offsetWidth - div.clientWidth;\n } else {\n scrollbarWidth = false;\n }\n document.body.removeChild(div);\n } else {\n scrollbarWidth = 0;\n }\n return scrollbarWidth || 0;\n}\n\n//# sourceURL=webpack://@opensumi/ide-components/../../node_modules/@opensumi/react-custom-scrollbars-2/lib/utils/getScrollbarWidth.js?");
|
|
834
834
|
|
|
835
835
|
/***/ }),
|
|
836
836
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-components",
|
|
3
|
-
"version": "3.2.2-next-
|
|
3
|
+
"version": "3.2.2-next-1722913990.0",
|
|
4
4
|
"description": "@opensumi/ide-components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@ant-design/icons": "^4.6.4",
|
|
19
|
-
"@opensumi/ide-utils": "3.2.2-next-
|
|
20
|
-
"@opensumi/react-custom-scrollbars-2": "^4.3.
|
|
19
|
+
"@opensumi/ide-utils": "3.2.2-next-1722913990.0",
|
|
20
|
+
"@opensumi/react-custom-scrollbars-2": "^4.3.1",
|
|
21
21
|
"fuzzy": "^0.1.3",
|
|
22
22
|
"lodash": "^4.17.21",
|
|
23
23
|
"marked": "4.0.10",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"react-window": "^1.8.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@opensumi/ide-dev-tool": "3.2.2-next-
|
|
39
|
+
"@opensumi/ide-dev-tool": "3.2.2-next-1722913990.0",
|
|
40
40
|
"@types/marked": "^4.0.7",
|
|
41
41
|
"@types/react-window": "^1.8.5",
|
|
42
42
|
"prop-types": "^15.8.1"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "865d9bfa4d2b27ffffcb2f34ddea2c320bdf71c6"
|
|
45
45
|
}
|