@lumino/widgets
Advanced tools
Comparing version 1.31.0 to 1.31.1
{ | ||
"name": "@lumino/widgets", | ||
"version": "1.31.0", | ||
"version": "1.31.1", | ||
"description": "Lumino Widgets", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/jupyterlab/lumino", |
@@ -346,6 +346,10 @@ // Copyright (c) Jupyter Development Team. | ||
if (mainConfig) { | ||
this._root = Private.realizeAreaConfig(mainConfig, { | ||
createTabBar: () => this._createTabBar(), | ||
createHandle: () => this._createHandle() | ||
}); | ||
this._root = Private.realizeAreaConfig( | ||
mainConfig, | ||
{ | ||
createTabBar: () => this._createTabBar(), | ||
createHandle: () => this._createHandle() | ||
}, | ||
this._document | ||
); | ||
} else { | ||
@@ -1486,9 +1490,10 @@ this._root = null; | ||
config: DockLayout.AreaConfig, | ||
renderer: DockLayout.IRenderer | ||
renderer: DockLayout.IRenderer, | ||
document: Document | ShadowRoot | ||
): LayoutNode { | ||
let node: LayoutNode; | ||
if (config.type === 'tab-area') { | ||
node = realizeTabAreaConfig(config, renderer); | ||
node = realizeTabAreaConfig(config, renderer, document); | ||
} else { | ||
node = realizeSplitAreaConfig(config, renderer); | ||
node = realizeSplitAreaConfig(config, renderer, document); | ||
} | ||
@@ -2195,6 +2200,7 @@ return node; | ||
config: DockLayout.ITabAreaConfig, | ||
renderer: DockLayout.IRenderer | ||
renderer: DockLayout.IRenderer, | ||
document: Document | ShadowRoot | ||
): TabLayoutNode { | ||
// Create the tab bar for the layout node. | ||
let tabBar = renderer.createTabBar(this._document); | ||
let tabBar = renderer.createTabBar(document); | ||
@@ -2220,3 +2226,4 @@ // Hide each widget and add it to the tab bar. | ||
config: DockLayout.ISplitAreaConfig, | ||
renderer: DockLayout.IRenderer | ||
renderer: DockLayout.IRenderer, | ||
document: Document | ShadowRoot | ||
): SplitLayoutNode { | ||
@@ -2229,3 +2236,3 @@ // Create the split layout node. | ||
// Create the child data for the layout node. | ||
let childNode = realizeAreaConfig(child, renderer); | ||
let childNode = realizeAreaConfig(child, renderer, document); | ||
let sizer = createSizer(config.sizes[i]); | ||
@@ -2232,0 +2239,0 @@ let handle = renderer.createHandle(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4769670
58652