dockview-core 1.10.2 → 1.11.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/cjs/dockview/components/tab/defaultTab.d.ts +0 -2
- package/dist/cjs/dockview/components/tab/defaultTab.js +5 -14
- package/dist/dockview-core.amd.js +7 -16
- package/dist/dockview-core.amd.js.map +1 -1
- package/dist/dockview-core.amd.min.js +2 -2
- package/dist/dockview-core.amd.min.js.map +1 -1
- package/dist/dockview-core.amd.min.noStyle.js +2 -2
- package/dist/dockview-core.amd.min.noStyle.js.map +1 -1
- package/dist/dockview-core.amd.noStyle.js +6 -15
- package/dist/dockview-core.amd.noStyle.js.map +1 -1
- package/dist/dockview-core.cjs.js +7 -16
- package/dist/dockview-core.cjs.js.map +1 -1
- package/dist/dockview-core.esm.js +7 -16
- package/dist/dockview-core.esm.js.map +1 -1
- package/dist/dockview-core.esm.min.js +2 -2
- package/dist/dockview-core.esm.min.js.map +1 -1
- package/dist/dockview-core.js +7 -16
- package/dist/dockview-core.js.map +1 -1
- package/dist/dockview-core.min.js +2 -2
- package/dist/dockview-core.min.js.map +1 -1
- package/dist/dockview-core.min.noStyle.js +2 -2
- package/dist/dockview-core.min.noStyle.js.map +1 -1
- package/dist/dockview-core.noStyle.js +6 -15
- package/dist/dockview-core.noStyle.js.map +1 -1
- package/dist/esm/dockview/components/tab/defaultTab.d.ts +0 -2
- package/dist/esm/dockview/components/tab/defaultTab.js +5 -14
- package/dist/styles/dockview.css +8 -18
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* dockview-core
|
|
3
|
-
* @version 1.
|
|
3
|
+
* @version 1.11.0
|
|
4
4
|
* @link https://github.com/mathuo/dockview
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -6104,27 +6104,18 @@
|
|
|
6104
6104
|
//
|
|
6105
6105
|
this.params = {};
|
|
6106
6106
|
this._element = document.createElement('div');
|
|
6107
|
-
this._element.className = 'default-tab';
|
|
6107
|
+
this._element.className = 'dv-default-tab';
|
|
6108
6108
|
//
|
|
6109
6109
|
this._content = document.createElement('div');
|
|
6110
|
-
this._content.className = 'tab-content';
|
|
6111
|
-
//
|
|
6112
|
-
this._actionContainer = document.createElement('div');
|
|
6113
|
-
this._actionContainer.className = 'action-container';
|
|
6114
|
-
//
|
|
6115
|
-
this._list = document.createElement('ul');
|
|
6116
|
-
this._list.className = 'tab-list';
|
|
6117
|
-
//
|
|
6110
|
+
this._content.className = 'dv-default-tab-content';
|
|
6118
6111
|
this.action = document.createElement('div');
|
|
6119
|
-
this.action.className = 'tab-action';
|
|
6112
|
+
this.action.className = 'dv-default-tab-action';
|
|
6120
6113
|
this.action.appendChild(createCloseButton());
|
|
6121
6114
|
//
|
|
6122
6115
|
this._element.appendChild(this._content);
|
|
6123
|
-
this._element.appendChild(this.
|
|
6124
|
-
this._actionContainer.appendChild(this._list);
|
|
6125
|
-
this._list.appendChild(this.action);
|
|
6116
|
+
this._element.appendChild(this.action);
|
|
6126
6117
|
//
|
|
6127
|
-
this.addDisposables(addDisposableListener(this.
|
|
6118
|
+
this.addDisposables(addDisposableListener(this.action, 'mousedown', (ev) => {
|
|
6128
6119
|
ev.preventDefault();
|
|
6129
6120
|
}));
|
|
6130
6121
|
this.render();
|