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
  */
@@ -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._actionContainer);
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._actionContainer, 'mousedown', (ev) => {
6118
+ this.addDisposables(addDisposableListener(this.action, 'mousedown', (ev) => {
6128
6119
  ev.preventDefault();
6129
6120
  }));
6130
6121
  this.render();