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

@lumino/widgets

Package Overview
Dependencies
Maintainers
4
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.16.1 to 1.17.0

4

package.json
{
"name": "@lumino/widgets",
"version": "1.16.1",
"version": "1.17.0",
"description": "Lumino Widgets",

@@ -101,3 +101,3 @@ "homepage": "https://github.com/jupyterlab/lumino",

"jsdelivr": "dist/index.min.js",
"gitHead": "932c7357f96597118ad1b0c40ada9abb7bb66b0c"
"gitHead": "f9530a390c0ab5fa5afffc2135bd4da74b487bd8"
}

@@ -77,2 +77,5 @@ // Copyright (c) Jupyter Development Team.

}
if(options.tabsConstrained !== undefined){
this._tabsConstrained = options.tabsConstrained;
}

@@ -208,2 +211,3 @@ // Toggle the CSS mode attribute.

}

@@ -219,2 +223,16 @@ /**

/**
* Whether the tabs are constrained to their source dock panel
*/
get tabsConstrained(): boolean{
return this._tabsConstrained;
}
/**
* Constrain/Allow tabs to be dragged outside of this dock panel
*/
set tabsConstrained(value:boolean) {
this._tabsConstrained = value;
}
/**
* Whether the dock panel is empty.

@@ -522,3 +540,3 @@ */

// action based on the drop target zone under the mouse.
if (this._showOverlay(event.clientX, event.clientY) === 'invalid') {
if ((this._tabsConstrained && event.source !== this) || this._showOverlay(event.clientX, event.clientY) === 'invalid') {
event.dropAction = 'none';

@@ -977,2 +995,3 @@ } else {

supportedActions: 'move',
source: this
});

@@ -1004,2 +1023,3 @@

private _tabsMovable: boolean = true;
private _tabsConstrained: boolean = false;
private _pressData: Private.IPressData | null = null;

@@ -1044,3 +1064,3 @@ private _layoutModified = new Signal<this, void>(this);

*
* The deafult is `'multiple-document'`.
* The default is `'multiple-document'`.
*/

@@ -1061,2 +1081,9 @@ mode?: DockPanel.Mode;

tabsMovable?: boolean;
/**
* Constrain tabs to this dock panel
*
* The default is `'false'`.
*/
tabsConstrained?: boolean;
}

@@ -1063,0 +1090,0 @@

@@ -68,2 +68,9 @@ import { IIterator } from '@lumino/algorithm';

/**
* Whether the tabs are constrained to their source dock panel
*/
/**
* Constrain/Allow tabs to be dragged outside of this dock panel
*/
tabsConstrained: boolean;
/**
* Whether the dock panel is empty.

@@ -270,2 +277,3 @@ */

private _tabsMovable;
private _tabsConstrained;
private _pressData;

@@ -303,3 +311,3 @@ private _layoutModified;

*
* The deafult is `'multiple-document'`.
* The default is `'multiple-document'`.
*/

@@ -318,2 +326,8 @@ mode?: DockPanel.Mode;

tabsMovable?: boolean;
/**
* Constrain tabs to this dock panel
*
* The default is `'false'`.
*/
tabsConstrained?: boolean;
}

@@ -320,0 +334,0 @@ /**

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