dockview-react 4.1.0 → 4.2.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/dockview-react.amd.js +12 -5
- package/dist/dockview-react.amd.js.map +1 -1
- package/dist/dockview-react.amd.min.js +2 -2
- package/dist/dockview-react.amd.min.js.map +1 -1
- package/dist/dockview-react.amd.min.noStyle.js +2 -2
- package/dist/dockview-react.amd.min.noStyle.js.map +1 -1
- package/dist/dockview-react.amd.noStyle.js +11 -4
- package/dist/dockview-react.amd.noStyle.js.map +1 -1
- package/dist/dockview-react.cjs.js +12 -5
- package/dist/dockview-react.cjs.js.map +1 -1
- package/dist/dockview-react.esm.js +12 -5
- package/dist/dockview-react.esm.js.map +1 -1
- package/dist/dockview-react.esm.min.js +2 -2
- package/dist/dockview-react.esm.min.js.map +1 -1
- package/dist/dockview-react.js +12 -5
- package/dist/dockview-react.js.map +1 -1
- package/dist/dockview-react.min.js +2 -2
- package/dist/dockview-react.min.js.map +1 -1
- package/dist/dockview-react.min.noStyle.js +2 -2
- package/dist/dockview-react.min.noStyle.js.map +1 -1
- package/dist/dockview-react.noStyle.js +11 -4
- package/dist/dockview-react.noStyle.js.map +1 -1
- package/dist/styles/dockview.css +8 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* dockview-react
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.2.0
|
|
4
4
|
* @link https://github.com/mathuo/dockview
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -5220,9 +5220,15 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
|
|
|
5220
5220
|
this._tabsList = document.createElement('div');
|
|
5221
5221
|
this._tabsList.className = 'dv-tabs-container dv-horizontal';
|
|
5222
5222
|
this.showTabsOverflowControl = options.showTabsOverflowControl;
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5223
|
+
if (accessor.options.scrollbars === 'native') {
|
|
5224
|
+
this._element = this._tabsList;
|
|
5225
|
+
}
|
|
5226
|
+
else {
|
|
5227
|
+
const scrollbar = new Scrollbar(this._tabsList);
|
|
5228
|
+
this._element = scrollbar.element;
|
|
5229
|
+
this.addDisposables(scrollbar);
|
|
5230
|
+
}
|
|
5231
|
+
this.addDisposables(this._onOverflowTabsChange, this._observerDisposable, this._onWillShowOverlay, this._onDrop, this._onTabDragStart, addDisposableListener(this.element, 'pointerdown', (event) => {
|
|
5226
5232
|
if (event.defaultPrevented) {
|
|
5227
5233
|
return;
|
|
5228
5234
|
}
|
|
@@ -5647,6 +5653,7 @@ define(['exports', 'react', 'react-dom'], (function (exports, React, ReactDOM) {
|
|
|
5647
5653
|
dndEdges: undefined,
|
|
5648
5654
|
theme: undefined,
|
|
5649
5655
|
disableTabsOverflowList: undefined,
|
|
5656
|
+
scrollbars: undefined,
|
|
5650
5657
|
};
|
|
5651
5658
|
return Object.keys(properties);
|
|
5652
5659
|
})();
|