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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * dockview-core
3
- * @version 1.10.2
3
+ * @version 1.11.0
4
4
  * @link https://github.com/mathuo/dockview
5
5
  * @license MIT
6
6
  */
@@ -6100,27 +6100,18 @@ define(['exports'], (function (exports) { 'use strict';
6100
6100
  //
6101
6101
  this.params = {};
6102
6102
  this._element = document.createElement('div');
6103
- this._element.className = 'default-tab';
6103
+ this._element.className = 'dv-default-tab';
6104
6104
  //
6105
6105
  this._content = document.createElement('div');
6106
- this._content.className = 'tab-content';
6107
- //
6108
- this._actionContainer = document.createElement('div');
6109
- this._actionContainer.className = 'action-container';
6110
- //
6111
- this._list = document.createElement('ul');
6112
- this._list.className = 'tab-list';
6113
- //
6106
+ this._content.className = 'dv-default-tab-content';
6114
6107
  this.action = document.createElement('div');
6115
- this.action.className = 'tab-action';
6108
+ this.action.className = 'dv-default-tab-action';
6116
6109
  this.action.appendChild(createCloseButton());
6117
6110
  //
6118
6111
  this._element.appendChild(this._content);
6119
- this._element.appendChild(this._actionContainer);
6120
- this._actionContainer.appendChild(this._list);
6121
- this._list.appendChild(this.action);
6112
+ this._element.appendChild(this.action);
6122
6113
  //
6123
- this.addDisposables(addDisposableListener(this._actionContainer, 'mousedown', (ev) => {
6114
+ this.addDisposables(addDisposableListener(this.action, 'mousedown', (ev) => {
6124
6115
  ev.preventDefault();
6125
6116
  }));
6126
6117
  this.render();