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
|
*/
|
|
@@ -5224,9 +5224,15 @@
|
|
|
5224
5224
|
this._tabsList = document.createElement('div');
|
|
5225
5225
|
this._tabsList.className = 'dv-tabs-container dv-horizontal';
|
|
5226
5226
|
this.showTabsOverflowControl = options.showTabsOverflowControl;
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5227
|
+
if (accessor.options.scrollbars === 'native') {
|
|
5228
|
+
this._element = this._tabsList;
|
|
5229
|
+
}
|
|
5230
|
+
else {
|
|
5231
|
+
const scrollbar = new Scrollbar(this._tabsList);
|
|
5232
|
+
this._element = scrollbar.element;
|
|
5233
|
+
this.addDisposables(scrollbar);
|
|
5234
|
+
}
|
|
5235
|
+
this.addDisposables(this._onOverflowTabsChange, this._observerDisposable, this._onWillShowOverlay, this._onDrop, this._onTabDragStart, addDisposableListener(this.element, 'pointerdown', (event) => {
|
|
5230
5236
|
if (event.defaultPrevented) {
|
|
5231
5237
|
return;
|
|
5232
5238
|
}
|
|
@@ -5651,6 +5657,7 @@
|
|
|
5651
5657
|
dndEdges: undefined,
|
|
5652
5658
|
theme: undefined,
|
|
5653
5659
|
disableTabsOverflowList: undefined,
|
|
5660
|
+
scrollbars: undefined,
|
|
5654
5661
|
};
|
|
5655
5662
|
return Object.keys(properties);
|
|
5656
5663
|
})();
|