@hpcc-js/phosphor 2.17.0 → 2.18.1
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/index.es6.js +6 -5
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +4 -4
- package/src/DockPanel.ts +2 -2
- package/src/__package__.ts +2 -2
- package/types/DockPanel.d.ts +1 -1
- package/types/DockPanel.d.ts.map +1 -1
- package/types/__package__.d.ts +2 -2
- package/types-3.4/DockPanel.d.ts +1 -1
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.es6.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { select, Widget as Widget$1, HTMLWidget, Utility } from '@hpcc-js/common';
|
|
2
2
|
|
|
3
3
|
var PKG_NAME = "@hpcc-js/phosphor";
|
|
4
|
-
var PKG_VERSION = "2.
|
|
5
|
-
var BUILD_VERSION = "2.104.
|
|
4
|
+
var PKG_VERSION = "2.18.1";
|
|
5
|
+
var BUILD_VERSION = "2.104.37";
|
|
6
6
|
|
|
7
7
|
// Copyright (c) Jupyter Development Team.
|
|
8
8
|
// Distributed under the terms of the Modified BSD License.
|
|
@@ -26393,8 +26393,8 @@ var PRenderer = /** @class */ (function (_super) {
|
|
|
26393
26393
|
var PDockPanel = /** @class */ (function (_super) {
|
|
26394
26394
|
__extends(PDockPanel, _super);
|
|
26395
26395
|
function PDockPanel(options) {
|
|
26396
|
-
var _this = this;
|
|
26397
26396
|
if (options === void 0) { options = {}; }
|
|
26397
|
+
var _this = this;
|
|
26398
26398
|
options.renderer = options.renderer || new PRenderer();
|
|
26399
26399
|
_this = _super.call(this, options) || this;
|
|
26400
26400
|
if (_this["_renderer"] instanceof PRenderer) {
|
|
@@ -26509,12 +26509,13 @@ var DockPanel = /** @class */ (function (_super) {
|
|
|
26509
26509
|
});
|
|
26510
26510
|
return retVal;
|
|
26511
26511
|
};
|
|
26512
|
-
DockPanel.prototype.addWidget = function (widget, title, location, refWidget, closable) {
|
|
26512
|
+
DockPanel.prototype.addWidget = function (widget, title, location, refWidget, closable, padding) {
|
|
26513
26513
|
if (location === void 0) { location = "split-right"; }
|
|
26514
|
+
if (padding === void 0) { padding = 8; }
|
|
26514
26515
|
var addMode = { mode: location, ref: this.getWidgetAdapter(refWidget) };
|
|
26515
26516
|
var wa = new WidgetAdapter(this, widget, {}, closable);
|
|
26516
26517
|
wa.title.label = title;
|
|
26517
|
-
wa.padding =
|
|
26518
|
+
wa.padding = padding;
|
|
26518
26519
|
this._dock.addWidget(wa, addMode);
|
|
26519
26520
|
this._dock.appendContent(wa);
|
|
26520
26521
|
this._dock.tabsMovable = true;
|