Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@lumino/widgets

Package Overview
Dependencies
Maintainers
6
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lumino/widgets - npm Package Compare versions

Comparing version 1.31.0 to 1.31.1

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc